Hello everyone,
I'm new here so i couldn't post on the development section and i'm forced to post this here!
So i'm following the guide for changing the CID here: http://forum.xda-developers.com/showthread.php?t=1674202
But now i'm stuck!
Ragazzi aiuto sono bloccato!
So, after editing the mmcblk0p4 file with an hex editor, i went back to the cmd and wrote this:
adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD
but then i get this error: adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD cannot stat mmcblk0p4MOD : No such file or directory .
What can i do? The only thing i noticed is that when i "create" the mmcblk0p4 file i left the usb in debug mode eand charge only otherwise i couldn't run anything, then to edit mmcblk0p4 i was forced to switch the usb to hard disk. Then i switched again to "charger" mode but i get the error above and i don't know what to do.
Please help me with some suggestions! Thanks in advance!
Good thing that you couldn't post in development since this is the correct forum for this type of question
Can't stat means it can't find the source file when you try to copy it back to the sdcard. Check that you're in the correct directory when trying to do this and also I don't think you can rename the partition that way (adding "MOD")
Nevermind my comment about renaming it to MOD, I just checked the guide and I see now why it's done.
frdd said:
Good thing that you couldn't post in development since this is the correct forum for this type of question
Can't stat means it can't find the source file when you try to copy it back to the sdcard. Check that you're in the correct directory when trying to do this and also I don't think you can rename the partition that way (adding "MOD")
Click to expand...
Click to collapse
Thanks for the reply frdd, i'm just following the guide strictly! It isn't that well written and maybe that's why i'm having problems. How can i check if i'm in the right directory? I left the files in the root of the sdcard.
Here is a screenshot of what i did:
ht tp://i50.tinypic.c om/nz0wzo.png
addsfsds said:
Thanks for the reply frdd, i'm just following the guide strictly! It isn't that well written and maybe that's why i'm having problems. How can i check if i'm in the right directory? I left the files in the root of the sdcard.
Here is a screenshot of what i did:
ht tp://i50.tinypic.c om/nz0wzo.png
Click to expand...
Click to collapse
Did you really save your file in hexeditor as mmcblk0p4MOD? Maybe you forgot and the file is still named mmcblk0p4. You can check what is in your directory with the command dir in cmd.
Your phone is in Disk-drive change to Charge only when you adb push back
Mr Troop said:
Your phone is in Disk-drive change to Charge only when you adb push back
Click to expand...
Click to collapse
Thanks, but that doesn't work either already tried 3 times!
It did take me about 3 attempts keep trying
frdd said:
Did you really save your file in hexeditor as mmcblk0p4MOD? Maybe you forgot and the file is still named mmcblk0p4. You can check what is in your directory with the command dir in cmd.
Click to expand...
Click to collapse
Double checked that too! Still blocked
Follow the whole process even if (No such file or directory)is shown
Or mount as usb storage and check for the MOD file, if it's not there drag and drop the file to sdcard, then continue with the guide. Also make sure if you do this that the file is alright and not 0 in size or something.
One thought, what's up with the first time you used dd in the screenshot? What did you do to fix it? Maybe adb push can't write to the sdcard for some reason.
Mr Troop said:
Follow the whole process even if (No such file or directory)is shown
Click to expand...
Click to collapse
Hell yes!!! It worked!! Just tested the readcid command and it shows the HTC__001 one! I think the guide should be updated now!
Now i test to update the RUU
HTC__001 is Generic unbranded not superCID
SuperCID is 11111111
Mr Troop said:
HTC__001 is Generic unbranded not superCID
SuperCID is 11111111
Click to expand...
Click to collapse
You're absolutely right, sorry! I just needed the generic unbrand to get the latest RUU as wifi and radio problems were unsustainable!
The command, for some weird reasons, wasn't working but continuing as Mr Troop suggested fixed the whole thing.
Thanks for everyone who helped!!
Related
Does anyone know how to remove revolutionary and revert back to stock. Im running a HTC Senation xe? I get error code error 155 unknown error. Using the RUU
You mean the hboot? I would try to zip
Code:
hboot_8x60_1.18.0000_20110802_signedbyaa.nb0
android-info.txt
from
Code:
RUU_Pyramid_LE_HTC_Europe_1.73.401.4_Radio_10.58.9035.00U_10.15.9035.02_2_release_220036_signed
Rename the package to
Code:
PG58IMG.zip
and copy it into your storagecard root. Enter the bootloader. Follow the on screen instructions.
In case this won't work, change your CID to SuperCID or edit android-info.txt to allow your CID (but I guess you're on XE so CID shouldn't be a problem)
So what your saying is if the RUU.exe file doesnt work. rename it to PG58IMG.zip and put it on the sd card?
Ach, no, no. You need to extract the exe file.
The easiest method to do this is to run the exe and don't click "next" or whatever the installer is saying. Just keep the installer open and search your C:\ drive for rom.zip.
Extract the file as you would do with a normal archive.
Now you need to zip only this two files:
Code:
hboot_8x60_1.18.0000_20110802_signedbyaa.nb0
android-info.txt
Name the archive PG58IMG.zip
I cant seem to figure out how to do the first bit. Extracting the RUU from the exe archive?
I'll try to be a little more detailed
So when you start the installation RUU the program itself creates temporary files on your computer. One of those files is rom.zip. The problem is that the directory is generated randomly.
It's something like that:
Code:
C:\Users\localhost\AppData\Local\Temp\{88F1C5DF-C107-4939-9651-18615BAD254B}\{50F2F878-636A-496F-A7CB-544C067E0C4B}\rom.zip
(for Windows 7 and user name "localhost")
The problem is that the installation app removes those temporary files if you successfully flash the firmware, cancel the update or terminate the process. So I suggest that you run the exe and search the whole C:\ drive for a file called rom.zip. It contains the files you need to extract. It's not possible to extract the exe in any other method as far as I know.
maybe Im doing something wrong but I cant find the rom.zip file. Im running windows vista.
Try this:
Start the RUU exe file. When the Update program appears click on "View ReadMe".
If you got Office installed Word should popup.
Click on "File -> Save As" (or something similar on your PC). Check the directory on top. Please find attached the screenshot with shows where to find the path to rom.zip.
blountish said:
maybe Im doing something wrong but I cant find the rom.zip file. Im running windows visya.
Click to expand...
Click to collapse
just go here and follow the guide for s-on
http://forum.xda-developers.com/showthread.php?t=1192300
for you rom http://forum.xda-developers.com/showthread.php?t=1074559
only supercid if you want to unbrand the device. an xe doesnt need it
you can check your cid and chose your correct rom. (in terminal use fastboot getvar cid command).
Hello look for a link works for PG88IMG_based_on_RUU_Saga_HTC_Europe_1.28.401.1.zi p
Anyone can help me.
i find this but link not work
loveboatcaptain said:
and here it is...
based on the RUU_Saga_HTC_Europe_1.28.401.1_Radio_20.28b.30.080 5U_38.03.02.11_M_release
downloadlink: PG88IMG_based_on_RUU_Saga_HTC_Europe_1.28.401.1.zip
just rename it to "RG88IMG.zip" and put it on the root of your sd card.
then reboot into fastboot mode (bootloader) and the rest will be done automaticly.
you can extract that zip file to modify the system image to get root e.g.
search the forums to get it out how.
kind regards
Click to expand...
Click to collapse
Maybe try this. Not sure if it'll work
http://forum.xda-developers.com/showthread.php?t=1488672
Just scroll down a bit
Edit: forget to mention, maybe your zip-file already contains the pg88.. Thing you need
Sent from my Desire S using XDA App
Thanks for the reply but that's only radio and I need ROM a full install from sdcard And also does not need to do s-off
OP says you need pg88img.
That's not a ROM
Which ROM do you need? didn't searching the forum solve you're problem?
You have to state clearly what you want or need
Edit: Maybe that's what you need
http://forum.xda-developers.com/showthread.php?t=1002506
Sent from my Desire S using XDA App
Whatever may be the reason that you need this (?) here is how to get it yourself:
Download RUU_Saga_HTC_Europe_1.28.401.1_Radio_20.28b.30.080 5U_38.03.02.11_M_release from the sticky Stock ROMs thread.
Run the RUU on your PC.
On the first screen (do not press anything when it starts) open your Windows Explorer, browse to the C: drive and in the search field type rom.zip.
Wait for the search to complete and copy the rom.zip file to another loacation.
Close the RUU setup.
Rename the rom.zip (this is exactly what are you looking for) to PG88IMG.zip and copy to SDCard.
Yeah you are thinking about the rom.zip of the RUU which is renamed to that. So follow what amidabuddha said!
Thank you very much this is exactly what i look for.
thanks for all
Howdy!
Did someone know what is causing that error when we try to use Dalvik Debug Monitor Server (ddms.bat) in tools folder of SDK?
Code:
03:51:10 E/adb: Failed to get the adb version: Cannot run program "C:\ANDROI~1\platform-tools\adb":
CreateProcess error=2, No such file
Also in recovery mode, if I try to take screenshot the image is always distorted? (see attachment)
Is adb located in your <sdk>/tools directory? If no, then copy it from <sdk>/platform_tools to <sdk>/tools and retry. DDMS is working fine for me.
Yep! It's there, have a look at the attachment.
Lucky Thirteen said:
Howdy!
Code:
03:51:10 E/adb: Failed to get the adb version: Cannot run program "C:\ANDROI~1\platform-tools\adb":
CreateProcess error=2, No such file
Click to expand...
Click to collapse
Ok, how about <sdk>/platform-tools? Looking at your error, ddms is searching for adb in it's new location which is in <sdk>/platform-tools...
I know adb no longer comes in the /tools directory, so I'm assuming you either cut or copied it. If you moved it to /platform-tools then just make a copy and put it back there. Sorry, I didn't look close at your error before. As far as the recovery screen shot goes, contact madmaxx82 with a bug report...
Off the topic... Looking at your signature, and wondering why you're running hboot 1.23 with ICS??
GROGG88 said:
Ok, how about <sdk>/platform-tools? Looking at your error, ddms is searching for adb in it's new location which is in <sdk>/platform-tools...
I know adb no longer comes in the /tools directory, so I'm assuming you either cut or copied it. If you moved it to /platform-tools then just make a copy and put it back there. Sorry, I didn't look close at your error before. As far as the recovery screen shot goes, contact madmaxx82 with a bug report...
Click to expand...
Click to collapse
OK! adb has to be in the platform-tools. Some Wikis need to be updated...
Thanks!
GROGG88 said:
Off the topic... Looking at your signature, and wondering why you're running hboot 1.23 with ICS??
Click to expand...
Click to collapse
...because everything is perfect this way.
I'd like to remove root and go back to stock. I have a rogers one x and I've tried using the rogers RUU PJ83IMG.... to flash back to stock, but I can't use fastboot since my phone is bootloader locked, and I can't run the RUU because it is a .zip file and not a .exe. Renaming it to an .exe and running it does nothing.
Any help is appreciated!
Try un-zipping the file and run the exe in the folder created. Also, since we do not have s-off yet, we are able to remove tampered banner, but it will say re-locked. No estimated arrival of s-off at this point.
Sent from my HTC One X using XDA
shortyboy said:
Try un-zipping the file and run the exe in the folder created.
Click to expand...
Click to collapse
This. The RUU file is not meant to be run as-is. Unzip the contents onto your PC (such as into a folder on your PC desktop), then run the .exe that is inside the extracted contents.
And where did you get the idea of changing the extension from .zip to .exe? That's probably a bad idea in almost all circumstances. You can't just change the type of file by renaming it.
shortyboy said:
Also, since we do not have s-off yet, we are able to remove tampered banner, but it will say re-locked. No estimated arrival of s-off at this point.
Click to expand...
Click to collapse
The "tampered" flag will be removed after RUU. Tampered flag is for root, not BL unlock. And the OP said he is still BL locked.
redpoint73 said:
This. The RUU file is not meant to be run as-is. Unzip the contents onto your PC (such as into a folder on your PC desktop), then run the .exe that is inside the extracted contents.
And where did you get the idea of changing the extension from .zip to .exe? That's probably a bad idea in almost all circumstances. You can't just change the type of file by renaming it.
The "tampered" flag will be removed after RUU. Tampered flag is for root, not BL unlock. And the OP said he is still BL locked.
Click to expand...
Click to collapse
Thanks for your replies. Unfortunately there is no .exe in the RUU. I have googled extensively but cannot find one with an executable. Would either of you be able to link me? I need Rogers 1.73. Thanks for your help
Edit: I discovered this and tried it: http://forum.xda-developers.com/showthread.php?t=1658929 however i get an IMAGE UPDATING ERROR: This ROm update utility cannot update your device.
if you go to setting about/software information what does it say under software version?
also if your bootloader is unlocked relock it in fastboot with the command "fastboot oem lock"
gunnyman said:
if you go to setting about/software information what does it say under software version?
also if your bootloader is unlocked relock it in fastboot with the command "fastboot oem lock"
Click to expand...
Click to collapse
Software version 1.73.631.1
Just to clarify, I have not unlocked my phone, only root.
toastyy said:
Software version 1.73.631.1
Just to clarify, I have not unlocked my phone, only root.
Click to expand...
Click to collapse
when you flashed it did you get an error 155 or an error 140?
also THIS is the RUU you need http://www.filefactory.com/file/9qe....09.06_10.81.32.14L_release_254934_signed.zip
And you didn't mess with the CID ever? If not, I don't see any reason why the correct (Rogers) RUU would not work. Make sure HTC Sync is installed (maybe re-install, just to be safe), reboot the computer and try again. Perhaps try to download the RUU again, just to make sure the download isn't corrupt.
redpoint73 said:
And you didn't mess with the CID ever? If not, I don't see any reason why the correct (Rogers) RUU would not work. Make sure HTC Sync is installed (maybe re-install, just to be safe), reboot the computer and try again. Perhaps try to download the RUU again, just to make sure the download isn't corrupt.
Click to expand...
Click to collapse
Ohh, you're right! I changed the Cid to 1111111.. For supercid. How do I change that back?
As for the ruu, I can't run them because I have no exercise file to run. Changing the zip to an exercise gives me an error about my computer not being able to run it. I will download the above ruu and try it when I get home in an hr.
Thanks for your help!
You should be able to run the Rogers RUU with SuperCID. That's what SuperCID is, it lets you install firmware regardless of the CID that its intended for.
Not sure how to change the CID back to Rogers. Look on the SuperCID thread (not the one-click method, but the original "longer" method) and see if there is discussion on changing it back.
And to reiterate, you can't magically change a file from one type to another, just by changing the file extension from .zip to .exe. The RUU package should have ARUWIzard.exe inside once you unzip it. Are you sure you are unzipping it properly?
redpoint73 said:
You should be able to run the Rogers RUU with SuperCID. That's what SuperCID is, it lets you install firmware regardless of the CID that its intended for.
Not sure how to change the CID back to Rogers. Look on the SuperCID thread (not the one-click method, but the original "longer" method) and see if there is discussion on changing it back.
And to reiterate, you can't magically change a file from one type to another, just by changing the file extension from .zip to .exe. The RUU package should have ARUWIzard.exe inside once you unzip it. Are you sure you are unzipping it properly?
Click to expand...
Click to collapse
The problem is the rogers file isn't an EXE it's a zip file. There's a post somewhere around here explainng how to install it.
gunnyman said:
The problem is the rogers file isn't an EXE it's a zip file. There's a post somewhere around here explainng how to install it.
Click to expand...
Click to collapse
Ahh, I see the problem. The Rogers files is not a true RUU package, just the zip file usually contained in the "larger" RUU zip file. Is that right? The OP still can't change the file extension to .exe and make it run that way. Sounds like from the thread the OP linked in post 4 above, he needs to have a folder with the "other" RUU contents (including ARUWizard.exe), drop the file you linked (from Filefactory), then run the ARUWizard. Its not completely clear, but this seems to be the way?
He could also I thing just put that pdimg. Zip file on the SD card and boots into recovery and it should flash right?
gunnyman said:
He could also I thing just put that pdimg. Zip file on the SD card and boots into recovery and it should flash right?
Click to expand...
Click to collapse
Not sure. I've never in my life flashed anything from stock recovery
But it seems logical. I think normally the ARUWizard says its pushing the file to the phone, so it would make sense it just flashes from stock recovery.
I understand that I can't change the filetype like that . I just saw peterhtc mention having to do that in another thread. I am sure i have unzipped it properly. I'll try again with the other ruu linked above.
toastyy said:
I understand that I can't change the filetype like that . I just saw peterhtc mention having to do that in another thread. I am sure i have unzipped it properly. I'll try again with the other ruu linked above.
Click to expand...
Click to collapse
if you unzip it and see a zip file that starts with pd and some number I THINK it's 83 put that file on the root of your SD card space and reboot to bootloader. Then choose recovery. If all goes well it will detect that file and allow you to flash it. It should work fine because it's a signed zip from HTC.
---------- Post added at 03:59 PM ---------- Previous post was at 03:54 PM ----------
I just realized we're helping you return the most awesome phone in the world ™
Jumping ship?
gunnyman said:
if you unzip it and see a zip file that starts with pd and some number I THINK it's 83 put that file on the root of your SD card space and reboot to bootloader. Then choose recovery. If all goes well it will detect that file and allow you to flash it. It should work fine because it's a signed zip from HTC.
---------- Post added at 03:59 PM ---------- Previous post was at 03:54 PM ----------
I just realized we're helping you return the most awesome phone in the world ™
Jumping ship?
Click to expand...
Click to collapse
Haha well no not exactly. I have been dealing with rogers for 2 months trying to return the phone I bought outright in order to get a new one on a plan. I originally wanted to see how the SG3 was so I could still return the onex in time to pick that up, but I think i'll be sticking with the HTC (the sg3 is SO ugly). I assure you I am not jumping ship
gunnyman said:
He could also I thing just put that pdimg. Zip file on the SD card and boots into recovery and it should flash right?
Click to expand...
Click to collapse
So I tried to place the full zip file onto the phone in the main directory, both as the full file name and then just as the P83..etc name, rebooted into recovery, but I just got a pic of the phone with a red triangle+ exclamation mark. Currently I am extracting the whole zip onto the main directory and will try flashing recovery like this. Is that safe? I assume the phone will be able to tell which .img it needs. There is no file that begins with P83 in the actual zip
toastyy said:
So I tried to place the full zip file onto the phone in the main directory, both as the full file name and then just as the P83..etc name, rebooted into recovery, but I just got a pic of the phone with a red triangle+ exclamation mark. Currently I am extracting the whole zip onto the main directory and will try flashing recovery like this. Is that safe? I assume the phone will be able to tell which .img it needs. There is no file that begins with P83 in the actual zip
Click to expand...
Click to collapse
I'm curious about the contents of that zip I'll download it and check it out.
holy crap file factory is slow.
gunnyman said:
I'm curious about the contents of that zip I'll download it and check it out.
Click to expand...
Click to collapse
The download is quite slow - here are the contents
http://puu.sh/BU6B
I ran 'unlock.su' and an unlock code came up about a page wide.
Is this correct? Seems a bit long to me.
How and when is the unlock code entered?
dlw
Read this post.
http://forum.xda-developers.com/showthread.php?p=15810793
Sent from my SGH-I997 using xda premium
Thank you for replying.
I do not have Windows. I have Ubuntu 12.10.
That's a problem I'm having. Everything seems to be for Windows.
I do have a hex editor. Will see what I can find out with it.
The problem now is adb can't find device.
Turn phone off then back on.
Debugging mode is on.
Enter 'adb devices',
List of devices attached
0123456789ABCDEF device
Enter './unlock.sh',
Raging Against The Cage...
error: device not found
Been searching for hours.
dlw
dlw1146 said:
Thank you for replying.
I do not have Windows. I have Ubuntu 12.10.
That's a problem I'm having. Everything seems to be for Windows.
I do have a hex editor. Will see what I can find out with it.
The problem now is adb can't find device.
Turn phone off then back on.
Debugging mode is on.
Enter 'adb devices',
List of devices attached
0123456789ABCDEF device
Enter './unlock.sh',
Raging Against The Cage...
error: device not found
Been searching for hours.
dlw
Click to expand...
Click to collapse
make sure you're rooted.
follow the link psal gave you. follow the op direction
google for hex 10 editor
once you have the bml3 on your sdcard, upload to cloud, email yourself a copy etc..just get a copy to your pc...adb is not needed.
follow the rest of op direction to get ur code
I do not have Windows. I have Ubuntu 12.10.
Did not find a '010 hex editor' for Linux.
I have 'ghex' which is a Linux hex editor.
I do not have a /dev/block/bml3, there is a /dev/block/bml12.
Opened bml12 in ghex editor.
searched for 'FFFFFFFFFF0100000000'.
It is not there.
Posted the above at the unlock site at 9:00 am, no word back yet.
I've been at this for hours.
My apologies if the post is wrong in any way.
dlw
dlw1146 said:
I do not have Windows. I have Ubuntu 12.10.
Did not find a '010 hex editor' for Linux.
I have 'ghex' which is a Linux hex editor.
I do not have a /dev/block/bml3, there is a /dev/block/bml12.
Opened bml12 in ghex editor.
searched for 'FFFFFFFFFF0100000000'.
It is not there.
Posted the above at the unlock site at 9:00 am, no word back yet.
I've been at this for hours.
My apologies if the post is wrong in any way.
dlw
Click to expand...
Click to collapse
the code is in /dev/block/bml3
I must be dumb as a box of rocks.
There is not a /dev/block/bml3
There is /dev/block/platform, /dev/block/vold.
A lot of *loop*,*mmcblk*,*ram* files and one bml12 file.
I am looking at the /dev/block/ directory now in 'rootbrowser'.
What am I doing wrong?
dlw1146 said:
I must be dumb as a box of rocks.
There is not a /dev/block/bml3
There is /dev/block/platform, /dev/block/vold.
A lot of *loop*,*mmcblk*,*ram* files and one bml12 file.
I am looking at the /dev/block/ directory now in 'rootbrowser'.
What am I doing wrong?
Click to expand...
Click to collapse
can't see like that.
download terminal emulator (TE)
run TE
type "su"
type" dd if=/dev/block/bml3 of=/sdcard/bml3.bak
look for it on the sdcard
Entered this 3 times:
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
Get this error:
/dev/block/bml3: cannot open for read: No such file or directory.
dlw1146 said:
Entered this 3 times:
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
Get this error:
/dev/block/bml3: cannot open for read: No such file or directory.
Click to expand...
Click to collapse
i just did it and got the bml3.bak file
make sure you are rooted..and on froyo, gb or ics stock samsung partitions..not jb
My rom is JB -Slim3.0.0
No idea about partitions.
dlw1146 said:
My rom is JB -Slim3.0.0
No idea about partitions.
Click to expand...
Click to collapse
if you really need the code, you will need to go back to 2.2.1 or 2.3.6 with root and try again.
you can also try to find the infuse jb's bml3 partition location.
i don't run jb so i can't help u there.
gl
Yes, I need the code. AT&T's reception is not good here. A new tower just went up last week close by but its Verizon.
Thank you so much for your efforts. You have helped me learn a lot.
Thanks again,
dlw
try this...
i had trouble using the unlock post also. try using this post ---> http://forum.xda-developers.com/showpost.php?p=14887023&postcount=166
It was WAYYYYY easier for me and the code was in plain sight.