This guide will show you how to downgrade your MyTouch 4G from the recently released OTA to the stock build.
This WILL wipe your device! I am not responsible for any damages!
NOTICE: A lot of people have reported -including me- that using this method to downgrade your firmware will cause your MT4G to not receive the OTA that was released right after the phone was.
What You Need:
Hex Editor such as Bliss
Temp-rooted MyTouch 4G
ADB
This ROM - Stock ROM
1. Download the ROM and rename to PD15IMG.zip
2. Place PD15IMG.zip on the root of your SD card
3. Un-mount SD Card
4. adb shell
5. su
6. Now, run this command:
Code:
dd if=/dev/block/mmcblk0p17 of=/sdcard/misc.img
7. Mount your SD card
8. Copy misc.img from your SD card to your computer
9. Now open the misc.img on your computer in your Hex Editor
10. You should see something like:
Code:
1.17.531.2
11. Change that to:
Code:
1.14.531.1
12. Now save as miscnew.img
13. Unmount your SD Card now
14. Now in adb shell run this command:
Code:
dd if=/sdcard/miscnew.img of=/dev/block/mmcblk0p17
15. Power off your device
16. Now boot into Hboot by holding down "volume down + power"
17. The phone will scan for PD15IMG.zip and will ask you to flash it
18. Select Yes [DUH!]
You should now be downgraded from the 2.2.1 OTA back to stock 2.2!
I would like to note that this downgrades the HBoot/Bootloader, radio, system, data, amongst other partitions of your phone.
Also, since I downgraded, I have not received any notifications for the OTA as of 11/8/10.
This guide is a derivative of Apache14's OTA and Radio downgrade guide for the T-Mobile G2: Here
Cool
What are the advantages of downgrading?
cdw9800 said:
What are the advantages of downgrading?
Click to expand...
Click to collapse
At the moment, probably nothing.
If an exploit for root were ever found in the original stock build, but was patched in the OTA, then this would be useful.
I am getting..
cannot open for write: Read-only file system
That is after following everything to the letter....
travisjames said:
This guide will show you how to downgrade your MyTouch 4G from the recently released OTA to the stock build.
This WILL wipe your device! I am not responsible for any damages!
What You Need:
Hex Editor such as Bliss
Temp-rooted MyTouch 4G
ADB
This ROM - Stock ROM
1. Download the ROM and rename to PD15IMG.zip
2. Place PD15IMG.zip on the root of your SD card
3. Un-mount SD Card
4. adb shell
5. su
6. Now, run this command:
Code:
dd if=/dev/block/mmcblk0p17 of=/sdcard/misc.img
7. Mount your SD card
8. Copy misc.img from your SD card to your computer
9. Now open the misc.img on your computer in your Hex Editor
10. You should see something like:
Code:
1.17.531.2
11. Change that to:
Code:
1.14.531.1
12. Now save as miscnew.img
13. Unmount your SD Card now
14. Now in adb shell run this command:
Code:
dd if=/sdcard/miscnew.img of=/dev/block/mmcblk0p17
15. Power off your device
16. Now boot into Hboot by holding down "volume down + power"
17. The phone will scan for PD15IMG.zip and will ask you to flash it
18. Select Yes [DUH!]
You should now be downgraded from the 2.2.1 OTA back to stock 2.2!
This guide is a derivative of Apache14's OTA and Radio downgrade guide for the T-Mobile G2: Here
Click to expand...
Click to collapse
NM, sdcard has to be mounted....
Mr Bill Florida said:
NM, sdcard has to be mounted....
Click to expand...
Click to collapse
At which part does the sdcard have to be mounted?
During this part?:
Code:
dd if=/dev/block/mmcblk0p17 of=/sdcard/misc.img
I guess that would make sense, but I didn't have to have my SD Card mounted during this part which makes me wonder.
travisjames said:
At which part does the sdcard have to be mounted?
During this part?:
Code:
dd if=/dev/block/mmcblk0p17 of=/sdcard/misc.img
I guess that would make sense, but I didn't have to have my SD Card mounted during this part which makes me wonder.
Click to expand...
Click to collapse
travisjames said:
1. Download the ROM and rename to PD15IMG.zip
2. Place PD15IMG.zip on the root of your SD card
3. Un-mount SD Card
4. adb shell
5. su
etc......
Click to expand...
Click to collapse
step 3 ignore
travisjames said:
12. Now save as miscnew.img
13. Unmount your SD Card now
14. Now in adb shell run this command:
etc......
Click to expand...
Click to collapse
step 13 ignore
travisjames said:
I would like to note that this downgrades the HBoot/Bootloader, radio, system, data, amongst other partitions of your phone.
Also, since I downgraded, I have not received any notifications for the OTA as of 11/8/10.
Click to expand...
Click to collapse
When I received my update to 2.2.1 it was over 5 hours after I activated the phone. Might take as long or longer depending on the network.
travisjames said:
This guide will show you how to downgrade your MyTouch 4G from the recently released OTA to the stock build.
This WILL wipe your device! I am not responsible for any damages!
What You Need:
Hex Editor such as Bliss
Temp-rooted MyTouch 4G
ADB
This ROM - Stock ROM
1. Download the ROM and rename to PD15IMG.zip
2. Place PD15IMG.zip on the root of your SD card
3. Un-mount SD Card
4. adb shell
5. su
6. Now, run this command:
Code:
dd if=/dev/block/mmcblk0p17 of=/sdcard/misc.img
7. Mount your SD card
8. Copy misc.img from your SD card to your computer
9. Now open the misc.img on your computer in your Hex Editor
10. You should see something like:
Code:
1.17.531.2
11. Change that to:
Code:
1.14.531.1
12. Now save as miscnew.img
13. Unmount your SD Card now
14. Now in adb shell run this command:
Code:
dd if=/sdcard/miscnew.img of=/dev/block/mmcblk0p17
15. Power off your device
16. Now boot into Hboot by holding down "volume down + power"
17. The phone will scan for PD15IMG.zip and will ask you to flash it
18. Select Yes [DUH!]
You should now be downgraded from the 2.2.1 OTA back to stock 2.2!
I would like to note that this downgrades the HBoot/Bootloader, radio, system, data, amongst other partitions of your phone.
Also, since I downgraded, I have not received any notifications for the OTA as of 11/8/10.
This guide is a derivative of Apache14's OTA and Radio downgrade guide for the T-Mobile G2: Here
Click to expand...
Click to collapse
Nice work!
cdw9800 said:
What are the advantages of downgrading?
Click to expand...
Click to collapse
This will probably be the first step to rooting when the devs finally figure it out. :thumbup:
Oh ok I figured that good with ill keep it in mind
travisjames said:
At the moment, probably nothing.
If an exploit for root were ever found in the original stock build, but was patched in the OTA, then this would be useful.
Click to expand...
Click to collapse
Sent from my HTC Glacier using XDA App
So basically HTC is not validating the signature... This is incredibly good news - hex-editing the firmware image causes the signature to change.
This points to the possibility of a fully customized ROM some time in the not-so-distant future.
HamNCheese said:
So basically HTC is not validating the signature... This is incredibly good news - hex-editing the firmware image causes the signature to change.
This points to the possibility of a fully customized ROM some time in the not-so-distant future.
Click to expand...
Click to collapse
No, the file is still validated in HBoot, but to be able to flash older firmware images, it has to think that the phone is either on that firmware or an older firmware than the one you are flashing.
just recieved MT4s via ups yesterday , download link just came to the phone a tmobile update so i take it i shouldnt download it???
geech_ said:
just recieved MT4s via ups yesterday , download link just came to the phone a tmobile update so i take it i shouldnt download it???
Click to expand...
Click to collapse
No you can apply it and it will upgrade you from 2.2 to 2.2.1. This thread only gives instructions to downgrade to the original release since this is sometimes required to gain root (At least for the MTSLIDE you had to downgrade to the ENG build to gain perm root). Travis was just giving the process to downgrade the MT4G since no one else had taken the time to figure it out and provide instructions.
I am on 2.2.1 and VISIONary still works for temp root and I am able to "freeze" apps which is the only way to really "remove" the bloatware so it does not come back on each reboot without having full root.
I could be wrong but applying the update has caused me no issues. What is the harm in updating if there is a process to undo the update if need be.
Worked exactly how you said it. I just did it. Thank you so so much. Now I can root properly after making my own back ups. Thank you again.
timbo1083 said:
Worked exactly how you said it. I just did it. Thank you so so much. Now I can root properly after making my own back ups. Thank you again.
Click to expand...
Click to collapse
Actually, when you're on the stock MT4G build, you can't root the MT4G....sorry to tell you.
This worked like a champ to re-flash my existing 2.2, just did not need to edit the img file (placed zip on sdcard and flashed). All my bloatware came back merrily
geech_ said:
just recieved MT4s via ups yesterday , download link just came to the phone a tmobile update so i take it i shouldnt download it???
Click to expand...
Click to collapse
Update! Not getting the ota will prevent you from rooting! Also, shouldn't this guide be taken down? Downgrading at this point does more harm than good.
I rooted my mytouch4g and turned SOFF however I am having to send the phone back due to a defect on the actual hardware. I followed the instructions in the rooting thread to turn the S back to SON. Now should I also do this setup? Or will I be fine sending it back with the SON and they won't know a thing? Just making sure before I send it back Tuesday.
Plus I need to do more research on this method cause I'm not sure what a hex editor is (noob) but thanks for the post!
cl2eep said:
Update! Not getting the ota will prevent you from rooting! Also, shouldn't this guide be taken down? Downgrading at this point does more harm than good.
Click to expand...
Click to collapse
So true. That's why I went back today and exchanged for a new phone. Hoping to get update on that much quicker then the one I just turned back in.
Sent from my HTC Glacier using Tapatalk
Related
I'M NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR PHONE
Infos
Why Should I root my phone?
Read Here
What can I do with recovery?
With recovery you can principally flash cooked roms, but also other things like make nandroid backups (Internal memory backups), partition your sdcard, fix problems etc...
If you want root there are 2 methods:
First Method
Is very simple, just download and install InstantRoot.apk (attached)
To install this from sdcard you need a file explorer like ASTRO
After the install a notify that says root access gained should appear, if not try second method
Second Method
This will install also recovery
1. Enable Debug USB from Settings->Applications
2. Download flashrec and install it with file manager like ASTRO
3. Download Amon_RA's recovery and put it in your sdcard
4. Run flashrec and tap Backup Recovery
5. Tap in the textbox and write this path:
Code:
/sdcard/recovery-RA-hero-vx.x.x.img
At moment of writing last version is 1.5.2, so the path should be
Code:
/sdcard/recovery-RA-hero-v1.5.2.img
6. Tap Download then flash recoery
7. If you get an error retry from step 3, else continue
8. Turn off your phone and reboot it keeping pressed Home button, recovery should start
9. Connect your phone via usb
10. Download Android SDK and extract all in the same folder
11. Download this and extract it in your sdk/tools folder
12. Open cmd (if you are on windows, if you are on a mac or on linux open terminal) and move to sdk/tools folder using this command
Code:
cd path
13. Give this commands in order
On windows:
Code:
adb shell mount /system
adb push su /system/bin/
adb shell chmod 4755 /system/bin/su
adb push Superuser.apk /system/app/
adb shell umount /system
adb shell reboot
On linux/mac
Code:
./adb shell mount /system
./adb push su /system/bin/
./adb shell chmod 4755 /system/bin/su
./adb push Superuser.apk /system/app/
./adb shell umount /system
./adb shell reboot
14. Now you have root access on your phone
If you want recovery:
Just follow root's second method to the step 7
Flashing Custom roms using recovery:
Custom roms are in Zip format, to flash it is really easy once you have recovery.
Once downloaded a rom put it in your sdcard root, then reboot into recovery (Keep home button pressed while turning on your phone)
Now make a wipe going to Wipe->Wipe data, then come back to main menu and go to Flash zip from sd card, select your zip and you're done
Thanks for the guide How does Nandroid backup fit into this?
maybe you need to tell how to downgrade(or a link to a guide )
nice guide, only i have already rooted my phone(2 months ago or something xD)
@Culturelol
nandroid backup is recommeded when you install a new rom, so you can always back to your original/past rom
So i root with this guide, then nandroid and then i can flash the new rom?
One more small question Is there anything special i should know about flashing the radio?
culturelol said:
So i root with this guide, then nandroid and then i can flash the new rom?
Click to expand...
Click to collapse
Yep
culturelol said:
One more small question Is there anything special i should know about flashing the radio?
Click to expand...
Click to collapse
No, only that you can't flash a GSM radio on a CDMA phone and back, if you do this you'll brick your phone
Exit93 said:
Yep
No, only that you can't flash a GSM radio on a CDMA phone and back, if you do this you'll brick your phone
Click to expand...
Click to collapse
Is that done the same way? Boot to recovery and then flash the radio? And is this done before or after wipe / install of the new rom?
culturelol said:
Is that done the same way? Boot to recovery and then flash the radio? And is this done before or after wipe / install of the new rom?
Click to expand...
Click to collapse
You can install radio whenever you want, it's flashed in another nand partition
nice rom - but the Home button doesnt work - is that normal?
krueck83 said:
nice rom - but the Home button doesnt work - is that normal?
Click to expand...
Click to collapse
Wrong discussion...
If you refer to CKDroid you need to flash googlebits to get home button working...
Exit93 said:
You can install radio whenever you want, it's flashed in another nand partition
Click to expand...
Click to collapse
But it is flashed through the recovery screen?
culturelol said:
But it is flashed through the recovery screen?
Click to expand...
Click to collapse
Yes, it is
Thank you - it works.
Thanks for the instructions.
1-Do you need to follow step 8-12 to get root and flash rom`s or is the android sdk and superuser only if you want to develope yourself?
2- If ypu do this and after want back to stock rom . As far as i`ve read it`s as easy as just flashing from HTC website and you`re back ? Won`t recovery still be left on your phone?
Thanks
Rui-Cruz said:
Thanks for the instructions.
1-Do you need to follow step 8-12 to get root and flash rom`s or is the android sdk and superuser only if you want to develope yourself?
2- If ypu do this and after want back to stock rom . As far as i`ve read it`s as easy as just flashing from HTC website and you`re back ? Won`t recovery still be left on your phone?
Thanks
Click to expand...
Click to collapse
1. Steps from 8 to 12 are only to get root access on stock rom, if you want to change rom you don't need to make those steps
2. To get back to stock rom just flash official update, as far as i know recovery will be deleted
Thanks
Thanks for the guide.
Was being anal and following the guide to the letter (not wanting a brick!) and it just rebooted to stock recovery
Code:
4. Run flashrec and tap Backup Recovery
5. Tap in the textbox and write this path: /sdcard/recovery-RA-hero-v1.5.2.img
6. If you get an error retry from step 3, else continue
Should we be tapping the download button once we entered the img location?
Ne0
alfie196 said:
Thanks for the guide.
Was being anal and following the guide to the letter (not wanting a brick!) and it just rebooted to stock recovery
Code:
4. Run flashrec and tap Backup Recovery
5. Tap in the textbox and write this path: /sdcard/recovery-RA-hero-v1.5.2.img
6. If you get an error retry from step 3, else continue
Should we be tapping the download button once we entered the img location?
Ne0
Click to expand...
Click to collapse
Yes, sorry it's my fault, correcting...
Sorry silly question
Please could someone tell me, if using the first method the InstantRoot.apk. Will this wipe the current ROM/data/apps etc from the phone or will it just enable Root privilages and leave everything else the same?
Many thanks
Jeremy
It just roots your phone and leaves everything in tact, just did it now.
The guide is not clear on how to flash the rom though. Because it says "If you want recovery" I don't want recovery I just want to flash. I have root now what's next? In simple steps, no recovery required just want CKDroid.
hatski said:
It just roots your phone and leaves everything in tact, just did it now.
The guide is not clear on how to flash the rom though. Because it says "If you want recovery" I don't want recovery I just want to flash. I have root now what's next? In simple steps, no recovery required just want CKDroid.
Click to expand...
Click to collapse
You need recovery to flash roms, it's written on the start of the first post
Hello guys.
Once again I need your help.
Following my last thread:
http://forum.xda-developers.com/showthread.php?t=847320
(AKA "Help! no SD recognition, USB link doesn't work and no signal!")
After taking martijn_bakker's and ianmufc's advice regarding how to issue the correct command from fastboot:
- My phone regained sd functionality.
- My phone had proper signal again.
- BUT I still have USB issues, AND more:
I am currently running Cyanogenmod 6.1.1 for HTC Desire, and I have the following issues:
- When I try to go back to the stock Froyo, or anything that resembles it really (LeeDroid for example), my signal goes bananas: When I try to call anyone, it rings the person, then "ends" the call, only to bring it back again after a few seconds and then disconnect again.
I've also tried different radios (including the one LeeDroid recommended) to no avail.
So basically I cannot make calls with the original ROM.
- USB: When I connect my phone to my PC it charges it, BUT my PC doesn't recognize it, and I cannot transfer files between the SD card and the PC, or sync etc.
- I've got no Bluetooth! (Not sure if this is a Cyanogenmod issue or not though)
- Phone turns off when released from electricity charging (Doesn't happen with PC USB charging though).
The thing is I really didn't mind the original Froyo 2.2 ROM, infact I like it very much. I really like the HTC Sense features and the weather+clock widget with the animations.
The only reason I ever rooted my phone was to get apps2sd on it, so I don't keep running out of space when installing new apps. But I never even got that to work...
My question to you guys is how can I fix my current problems and have a properly working HTC Desire with a stock/custom Froyo ROM (that can make phone calls ) with apps2sd on it?
Thanks in advance!
Liran
First how have you been getting stock on your phone? Have you tried the ruu? If you are zip flashing have you wiped everything? Go to recovery wipe data/factory reset, wipe cache, advanced then wipe dalvik cache, back button, mounts then wipe everything except sd-card. Make sure you wipe sdext. Then try to flash.
Sent from my HTC Desire using Tapatalk
Well as you still don't have usb-connectivity, it sounds like you need to continue on the usb-brick fix. You have issued the command, which let you use the sd-card again. Now you just need to write a new misc partition as described here:
http://forum.xda-developers.com/showthread.php?t=691639
Doing this should make your phone work like it used to, as this is the only thing that is not fixable by flashing another rom if you need some help on it, i might be able to help, but in short terms, you need to flash a misc image, which have the right values, as the one on your phone have been changed in some way. The image is provided in the thread.
edit: and for god's sake do not try to run a ruu, as flashing the misc image might require root, and you may not be able to regain root without usb-connectivity. Also an ruu does not overwrite the misc partition, so it won't help your problem.
edit2: also you should try flashing a new radio that is known to work like 5.09.05.30_2 just to make sure this isn't also causing problems. It should be possible from a zip file using recovery.
_Dennis_ said:
First how have you been getting stock on your phone? Have you tried the ruu? If you are zip flashing have you wiped everything? Go to recovery wipe data/factory reset, wipe cache, advanced then wipe dalvik cache, back button, mounts then wipe everything except sd-card. Make sure you wipe sdext. Then try to flash.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
TBH I don't exactly know what RUU is. I've heard it before but I'm not sure exactly what it means.
When I said I flashed the stock Froyo I meant this: Official_FroYo_2.10.405.2
and I also tried LeeDrOiD_v2.2f_A2SD.
Regarding the wipes I've done everything you wrote above to no avail.
mortenmhp said:
Well as you still don't have usb-connectivity, it sounds like you need to continue on the usb-brick fix. You have issued the command, which let you use the sd-card again. Now you just need to write a new misc partition as described here:
http://forum.xda-developers.com/showthread.php?t=691639
Doing this should make your phone work like it used to, as this is the only thing that is not fixable by flashing another rom if you need some help on it, i might be able to help, but in short terms, you need to flash a misc image, which have the right values, as the one on your phone have been changed in some way. The image is provided in the thread.
edit: and for god's sake do not try to run a ruu, as flashing the misc image might require root, and you may not be able to regain root without usb-connectivity. Also an ruu does not overwrite the misc partition, so it won't help your problem.
Click to expand...
Click to collapse
Thanks mate I will try that.
One thing I forgot to mention though - My phone is S-ON.
I'm not sure if it used to be S-OFF or not though.
Does that make any difference or does it not matter?
Hum. I appologize I never had a USB brick (knock in wood) so I assumed his problem would be in the rom possibly something he did while fixing the USB brick.
Sent from my HTC Desire using Tapatalk
It does make a difference yes, but you doesn't need s-off for this. It would just make it a whole lot easier. But just get your CID like described in the thread and change the misc image to this. Then flash it like described
edit:
dennis: np something else is wrong as well, but fixing the usb is very urgent, and the other problem should be fixable by running a ruu or simply flashing a new radio+rom afterwards.
mortenmhp said:
It does make a difference yes, but you doesn't need s-off for this. It would just make it a whole lot easier. But just get your CID like described in the thread and change the misc image to this. Then flash it like described
Click to expand...
Click to collapse
Will do!
I'll update when I'm done
liranh said:
Will do!
I'll update when I'm done
Click to expand...
Click to collapse
A bit stuck... Here is what I've done:
1. Got the CID.
2. Got a hex editor. wrote the new CID instead of the one in the img file. Saved it.
3. I put the new img file and flash_image.zip in the /data on my sd card.
I Put the card in my phone, started my phone, opened Terminal Emulator and typed in "/data/flash_image misc /data/mtd0.img" (without the quotes of course). the phone said: "/data/flash_image: not found".
What am I doing wrong?
Well you should not have a /data folder on your sd card it is a partition on the phone. In order to put it there, save the 2 files in the root of the sd-card and issue those commands in a terminal emulator:
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
As written in the thread, you might have to do 'chmod u+x /data/flash_image' before you run the commands (or chmod 755 /data/flash_image) but try to do it without those
Then you should be able to run the command you specified in the previous post
Edit: and the reason you got the error before was of course, that your files was in /sdcard/data and not in /data
liranh said:
A bit stuck... Here is what I've done:
1. Got the CID.
2. Got a hex editor. wrote the new CID instead of the one in the img file. Saved it.
3. I put the new img file and flash_image.zip in the /data on my sd card.
I Put the card in my phone, started my phone, opened Terminal Emulator and typed in "/data/flash_image misc /data/mtd0.img" (without the quotes of course). the phone said: "/data/flash_image: not found".
What am I doing wrong?
Click to expand...
Click to collapse
Actually, should it not be like this:
su
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
chmod 755 /data/flash_image
/data/flash_image misc /data/mtd0.img
Reboot.
Masdroid: Yes exactly apart from that he apparently didn't have the files on the sdcard root
MasDroid said:
Actually, should it not be like this:
su
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
chmod 755 /data/flash_image
/data/flash_image misc /data/mtd0.img
Reboot.
Click to expand...
Click to collapse
mortenmhp said:
Well you should not have a /data folder on your sd card it is a partition on the phone. In order to put it there, save the 2 files in the root of the sd-card and issue those commands in a terminal emulator:
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
As written in the thread, you might have to do 'chmod u+x /data/flash_image' before you run the commands (or chmod 755 /data/flash_image) but try to do it without those
Then you should be able to run the command you specified in the previous post
Edit: and the reason you got the error before was of course, that your files was in /sdcard/data and not in /data
Click to expand...
Click to collapse
Using a file manager on my phone, I put both files on the root of my SD card.
I then issued the following commands using Terminal Emulator:
su
(granted)
cat /sdcard/flash_image > /data/flash_image
Phone says: /sdcard/flash_image: No such file or directory
I should mention that I took out the card and connected it to my PC again to confirm the files have actually gone onto the root of the SD card (and they have), put the SD card back in my phone, issued the same commands in Terminal Emulator and got the same message...
Any ideas?
Sounds strange, just to make sure. You have unzipped the flash_image, so that it is not the flash_image.zip you have on you sd-card.
Also run "ls /sdcard" in terminal emulator to see a list of the files in the root and check, that it's there, and do not have a file extension. If it's there and the name is "flash_image" then it should work.
mortenmhp said:
Sounds strange, just to make sure. You have unzipped the flash_image, so that it is not the flash_image.zip you have on you sd-card.
Also run "ls /sdcard" in terminal emulator to see a list of the files in the root and check, that it's there, and do not have a file extension. If it's there and the name is "flash_image" then it should work.
Click to expand...
Click to collapse
Mate you are spot on with your first sentence. Give me a minute
Haha nice one thought i could've made the same mistake
mortenmhp said:
Haha nice one thought i could've made the same mistake
Click to expand...
Click to collapse
Yeah cause you know how when you put files on your phone to flash them you usually keep them in their zip format - that's what tricked me...
Haha yea let us know if you get it sorted
mortenmhp said:
Haha nice one thought i could've made the same mistake
Click to expand...
Click to collapse
Well spotted
mortenmhp and MasDroid thank you both so much!
Everything is working perfectly now!
I thought I would never get my phone to work properly again!
If any of you is ever in London - drinks are on me!
This guide is now obsolete. Please use this guide instead.
For Gingerbread Phones, Please use this guide.
Hey guys, this is probably the easiest guide to follow for rooting a branded desire Z. The reason why this can sometimes be hard is cause it uses a unique identifier (INFOCID) and the companies that brand the phones ONLY want roms from their company on them. This stops us from using a WWE rom like every else to downgrade and then root.
But ultimately, the reason I'm making this is because every other guide I've read constantly links you to other guides or other pages and it sorta annoyed me. So after I figured it all out I posted one concise guide that doesn't redirect you 50 times.
Now I’m gonna run you through EVERYTHING so you won’t get stuck anywhere.
This guide will work with:
Device: Desire Z or G2
Firmware Version: Any Firmware version will be fine (All you need to do is downgrade using step 1)
Android Version: Froyo or any previous variation of Android (Absolutely no gingerbread device will root with this method)
Btw, I take no responsibility for any damage taken by using these procedures. Sorry =P
Also if you don't have ADB and Fastboot set up then go ahead and follow the guides on the first two posts here. -Thanks nephron
g4b4g3 said:
If your INFOCID is NOT one of these you need to make a goldcard to downgrade!
HTC__001
HTC__032
HTC__E11
HTC__203
HTC__Y13
HTC__102
HTC__405
HTC__304
HTC__A07
HTC__N34
HTC__J15
Which can be checked by typing the following two commands:
adb reboot bootloader
fastboot oem boot
Click to expand...
Click to collapse
If your CID matches one of the CID's above then you can skip Step 1.
1. Creating a Goldcard:
Prerequisites:
ADB Set up and running fine (to check if it is working just connect your phone and have USB debugging enabled. Then type adb devices in your CMD Prompt)
HxD Hex Editor (see attachments of post 1)
USB Debugging enabled on your phone
1.Firstly we need to mount the memory card on a windows PC.
2. Format the memory card as FAT32 using all the default options.
3. Mount the memory card on your Phone. Then give it a couple of seconds.
4. Remount the memory card on your PC.
5. Find your CID by using the follow command in your cmd prompt (YOU NEED ADB)
Code:
adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid
6. Use the excel sheet provided to reverse the CID (see Attachments)
7. Goto this website and send yourself a goldcard.img
http://psas.revskills.de/?q=goldcard
8. Run HxD hex editor AS AN ADMINISTRATOR! (I can’t stress how important having admin rights is)
9. Go to Extras > Open Disk Image. Then select your goldcard.img
10. Go to Extras > Open Disk. IMPORTANT: Select your memory card UNDER the Physical Drives category. DO NOT open the logical drive.
11. Switch to your goldcard.img tab. Go to Edit > Select All. Then Edit > Copy.
12. Go to the physical drive tab and select the lines 00000000 until you get to the one with 00000170.
13. Go To Edit > Paste Write.
14. You should have a huge block of red characters now. This is good btw.
15. Mount your SD card on your Phone and let it detect it. If it comes up with a corrupt SD card error you have done it wrong and you may have to start over.
16. You are done with the goldcard.
2. Downgrading and Debranding
Before you start this please do the following:
1a. Download the RUU I’ve linked (it should be a ~300mb exe file) -Thanks g4rb4g3
ii. If you are a BELL User. Please download this RUU instead.
1b. Run the setup until you get to the screen with the tick boxes (Some Users may have to run this as an Administrator)
1c. Leave the setup running and go to C:\Users\<your account name>\AppData\local\temp ( Or Try %AppData%\Local\Temp\ ). Then right click and Sort By Date Modified. Look for the most recently created folder which should look like {xxxxxxx-xxxxxx-xxxxxxxx}. Then navigate into it and its then into its one folder. Look for rom.zip and copy that to your goldcard/memory card.
1d. Rename the rom.zip on your memory card to PC10IMG.zip (Make sure it is exactly the same as the way I've typed it there)
1e. Mount your sd card back onto your phone.
2. Download the attachments (misc_version & psneuters) and extract them in a folder like C:\RootVision\
Now you are ready to begin:
1. Open a CMD prompt window
2. Navigate your way to the folder with psneuter & misc_version IN CMD PROMPT. (So the cmd prompt window should be something like this C:\RootVision> )
3. Now we will use the following 5 commands one after the other
Code:
adb push psneuter /data/local/tmp
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell chmod 777 /data/local/tmp/misc_version
adb shell /data/local/tmp/psneuter
adb shell
4. After the last command you should have a # and a flashing line for you to enter text. This is good. (If you get a $ you have done it wrong and should try typing the commands out again)
5. Now you have the # type the following command in: (This will spoof the radio version)
Code:
/data/local/tmp/misc_version –s 1.33.405.5
Then go ahead and type:
Code:
exit
6. Type this command into your cmd prompt (btw you should be back with the normal C:\RootVision>)
Code:
adb reboot bootloader
7. Once on your white screen with colourful text you can go ahead and press the power button ONCE
8. Now just wait for the rom to install and verify. If you get INCORRECT CID your gold card doesn’t work or your CID doesn't match and you'll need a goldcard. (Go to Step 1. and make a goldcard for your phone)
9. Go ahead and install the rom when it asks you.
10. You are done downgrading and can now begin the Rooting process.
See Post 2 For Rooting
Assuming all as gone well and you now have a rom without superuser but you have a baseband version that is 1.34xxxx.
Alright, let’s begin.
Prerequisites:
Download psneuter
Download gfree 0.5
Download root_psn
Download flash_image
Download the Desire Z hboot
Download Clockwork Recovery
ALL of these are in the attachments section
They all should be extracted into the same folder. Use something simple like C:\RootVision\Root
3. Root your Desire Z!
Before you start:
Enable USB Debugging and Allow Unknown Market Installations again.
Also delete the PC10IMG.zip on your phone if you downgraded.
Okay lets go:
1. Now Assuming you succeeded at the last part you should have a stock-ish rom without superuser. What we want to do is start by pushing all the files across with the following adb commands (use in cmd prompt the same way you pushed files in 2.)
Code:
adb push psneuter /data/local/tmp/
adb push gfree /data/local/tmp/
adb push busybox /data/local/tmp/
adb push root_psn /data/local/tmp/
adb push flash_image /data/local/tmp/
adb push su /sdcard/
adb push hboot-eng.img /data/local/tmp/
adb push Superuser.apk /sdcard/
adb shell chmod 755 /data/local/tmp/*
2. Alright now we have all the files we need to root the phone. Input the following command. This is just putting our clockwork recovery in a convenient place with an easy name.
Code:
adb push recovery-clockwork-3.0.2.4-vision.img /data/local/tmp/recovery.img
3. Now we’re gonna temp root again by typing in the following:
Code:
adb shell /data/local/tmp/psneuter
adb shell
4. This should leave us with another #. Now enter the following commands:
Code:
cd /data/local/tmp
./gfree -f -b hboot-eng.img
./flash_image recovery recovery.img
./root_psn
sync
5. Type in: (thanks for the correction john_d1974)
Code:
reboot
6. You should have a rooted phone with superuser after the reboot. Also it will have clockworkmod, SuperCID, secu-flag off & an Unlocked HBOOT-ENG.
If gfree 0.5 doesnt work for you then this section is for you:
Prerequisites:
Download psneuter
Download gfree 0.2
Download root_psn
Download flash_image
Download the Desire Z hboot
Download Clockwork Recovery
ALL of these are in the attachments section
They all should be extracted into the same folder. Use something simple like C:\RootVision\Root
1. Now Assuming you succeeded at the last part you should have a stock-ish rom without superuser. What we want to do is start by pushing all the files across with the following adb commands (use in cmd prompt the same way you pushed files in 2.)
Code:
adb push psneuter /data/local/tmp/
adb push gfree /data/local/tmp/
adb push busybox /data/local/tmp/
adb push root_psn /data/local/tmp/
adb push flash_image /data/local/tmp/
adb push su /sdcard/
adb push hboot-eng.img /data/local/tmp/
adb push Superuser.apk /sdcard/
adb shell chmod 755 /data/local/tmp/*
2. Alright now we have all the files we need to root the phone. Input the following command. This is just putting our clockwork recovery in a convenient place with an easy name.
Code:
adb push recovery-clockwork-3.0.2.4-vision.img /data/local/tmp/recovery.img
3. Now we’re gonna temp root again by typing in the following:
Code:
adb shell /data/local/tmp/psneuter
adb shell
4. This should leave us with another #. Now enter the following commands:
Code:
cd /data/local/tmp
./gfree -f
./flash_image recovery recovery.img
./root_psn
sync
5. Type in: (thanks for the correction john_d1974)
Code:
reboot
6. You should have a rooted phone with superuser after the reboot. Also it will have clockworkmod, SuperCID and secu-flag off.
4. Installing your own custom ROM
This section is just in case you don't know how to install a custom ROM.
Note: Always make sure the ROM you are installing is FOR YOUR PHONE! If you install a ROM meant for another phone you could potentially damage it or brick the phone itself.
1. Download the ROM you want and copy it to your SD Card. (Try to keep it in a folder that is easy to get to)
2. Turn off your phone.
3. Hold down the volume down button and then press the Power Button. This should take you to a white screen with lots of colourful text. One of which says FASTBOOT or FASTBOOT_USB.
4. Press the power button ONCE when BOOTLOADER is selected(BLUE)
5. Navigate using the volume buttons until you get to RECOVERY and then press the Power Button again.
6. The HTC Logo will come up then you will get a black screen with text.
7. From here you should Always do a NANDROID Backup so you can restore a working ROM if something fails.
NANDROID Backup
7a. Navigate to 'backup and restore' and then select it by pressing the trackpad button.
7b. Select 'Backup' and then let it finish. Once done you have a backup of your android.
8. Now you want to do these before you start installing:
a. 'wipe data/factory reset
b. 'wipe cache partition'
c. Go into 'advanced' and select 'Wipe Dalvik Cache'
9. Now you can install the ROM itself. This is done by selecting 'install zip from sdcard' in the main menu. Now you can select 'choose zip from sdcard' and just go ahead and select the ROM you copid to your sd card earlier.
9a. If the phone says verification failed then just toggle the signature verification option.
FAQ - For Anyone with any issues.
1. My version is 1.7xxxx or higher. Can I use this method?
Yes you can. This method will downgrade your phone to 1.34 so your radio is no longer locked thereby allowing you remove the secu-flag, add superCID and allow you to install a custom recovery (like ClockWorkMod)
2. My CID is XXXXXXXX and isn't on that list, will this method still work?
Yes it will. The reason why it will work is because a goldcard is essentially a manufacturers way of bypassing the CID checks used by ROMs. Therefore, by creating our own unique goldcards we can also bypass the CID check.
3. My CID is on the list that you mentioned. Do I need this goldcard?
No, you can skip the 1st step because when the ROM checks your phones CID it will match up perfectly and the phone will install the older radio without issue.
4. What Benefits does rooting a phone grant you?
Simply, it allows you to install any ROM of your choosing onto the phone as well as use custom kernels and certain applications that access locked functions on the phone. This can ultimately lead to; a longer battery life; more stable roms and more frequently updated roms; and finally an overall faster Android experience.
5. What is root access?
Root access essentially gives you access anything locked by the manufacturer on the phone. This most importantly means that you can read and write to any system partitions on the phone that would normally be locked.
6. Whats psneuter?
psneuter is an application used to grant temporary root access. This is done through an exploit in the android system and will give us a window to further exploit the system and ultimately grant us Permanent Root Access.
7. How do I find my CID?
To find your CID you run two commands. Firstly, in your CMD prompt you type 'adb reboot bootloader' when your phone is connected and USB debugging is active. This will restart your phone into its bootloader. Then once you see the words FASTBOOT_USB you type 'fastboot oem boot'. Then look for the words CID and then just read the 8 character CID.
Also there is a post with a screenshot here.
8. My phone will not find PC10IMG.zip
You will need to double check that the PC10IMG.zip is the correct ZIP file from the RUU that has been linked. It should be roughly 250mb in size and should be placed in the root folder of your SD Card. Also your SD Card must be compatible with your device (able to be read/written to). If you cannot access your SD Card from your Desire Z or G2 then there is probably something wrong with your SD Card. It should probably be reformatted.
9. Can I use this on the Desire Z/G2 running Gingerbread?
So far no one has been able to root the gingerbread version of android on the Desire Z/G2. Unfortunately, this guide still cannot root gingerbread desire Zs or G2s.
If there are any more, feel free to post them and I'll add them
10.I'm Missing my AdbWinApi.dll? What now?
espentan[U said:
][/U]
I don't know if you've figured this one out yet, but here's the solution to a potential cause.
You need to add the directory containing the "AdbWinApi.dll" to Windows' path under Environment Variables, so Windows know where to look for the necessary files when you enter commands in the shell.
For this exercise I'm going to assume that you have installed the Android SDK in the directory called "android-sdk-windows" on your C: hard drive. If you have it installed somewhere else, change the path I'm mentioning below accordingly.
Go to the Windows "Control Panel".
Click on "System and Security".
Click on "System".
Click on "Advanced system settings" in the left column of the window you're in.
Find the button called "Environment Variables" in the window that opens (it's at the bottom on the first tab).
Scroll down in the "System variables" box until you find "Path".
Select "Path" and click the "Edit" button.
At the very beginning of the input field called "Variable value" enter the following:
"C:\android-sdk-windows\platform-tools;" (without the quotes).
Do not remove any of the other paths, and make sure you have a semi colon at the end of the new path you're adding.
Reboot.
Now the windows command shell knows where to find the necessary DLL's and whatnot.
Click to expand...
Click to collapse
will this work if i have 1.84.666.2?
anyone? thought?
Should work fine as long as you've got a Desire Z or G2 lol.
hi, manageage to root the DZ sucessfully, however on step 5 you say
"5. Type in:
Code:
Reboot"
i got an Reboot: error not found
i retried with with "reboot" and was sucessful
Hi, im sure this has been covered before in other posts, but, could someone tell me, if i were to use the above method to downgrade and root etc, would this prevent me from doing an official upgrade, to, say gingerbread in the near future? Also is there any real benefits to going to gingerbread? I ask as im sure ive read somewhere its only possible to flash to cooked roms, not official ones (once downgraded and rooted etc).. this would concern me as ive moved over from win mo to android, and in my experiance, EVERY cooked unoficial rom i ever flashed (xperia x1) was simply rubbish, and i tried alot of them. (Even though people would say the roms would be fine, bugs smoothed out etc), i went back to stock in the end after constant dissapointment.
Sorry for the rant, just need to know where i stand.. thanks people..
jmpcrx said:
Hi, im sure this has been covered before in other posts, but, could someone tell me, if i were to use the above method to downgrade and root etc, would this prevent me from doing an official upgrade, to, say gingerbread in the near future? Also is there any real benefits to going to gingerbread? I ask as im sure ive read somewhere its only possible to flash to cooked roms, not official ones (once downgraded and rooted etc).. this would concern me as ive moved over from win mo to android, and in my experiance, EVERY cooked unoficial rom i ever flashed (xperia x1) was simply rubbish, and i tried alot of them. (Even though people would say the roms would be fine, bugs smoothed out etc), i went back to stock in the end after constant dissapointment.
Sorry for the rant, just need to know where i stand.. thanks people..
Click to expand...
Click to collapse
It is pretty difficult to go back to stock updates from your carrier for example Vodafone. This is because of the unique CIDs used and the fact that it is extremely hard to find a stock ROM since no one can give you a NANDROID backup.
Anyways, there are numerous benefits to rooting your phone included with most ROMs. These benefits include longer battery life, faster ROMs & various other things depending on each chef.
Ok, thanks, but are the roms buggy at all, will some of the hardware not work properly, or will i have freezing probs etc, as i found this always to be the case with win mo roms?.. have you personally found a rom that works perfectly that includes htc sense? As i do like the UI..
My goal is to have all security off, full perm root, with a perfecly working sense rom that i can then overclock to a speed that works well with my particular phone, and to underclock when idle etc..
Thanks..
I need to verify that my Tmobile G2's INFOCID is compatible.
I typed in the two commands:
adb reboot bootloader
fastboot oem boot
The first one worked. The second command is not recognized once I'm in the bootloader. Can someone suggest a solution?
Newbie question,
how to unroot if i rooting the phone using this metode?
and how to go back to original rom?
Vader™ said:
Newbie question,
how to unroot if i rooting the phone using this metode?
and how to go back to original rom?
Click to expand...
Click to collapse
Firstly, to root the phone just follow the steps and once you've finished them all you will be done.
Second, it should technically be possible once you've rooted the phone to simply do a NANDROID backup via ClockWorkMod Recovery before you start flashing new ROMs. If you have backed it up and later decide you want to unroot then all you would need to do from there is restore your nandroid backup and unroot the phone through this method.
forceOnature said:
I need to verify that my Tmobile G2's INFOCID is compatible.
I typed in the two commands:
adb reboot bootloader
fastboot oem boot
The first one worked. The second command is not recognized once I'm in the bootloader. Can someone suggest a solution?
Click to expand...
Click to collapse
Using this method you don't have to worry about your CID. If you make a goldcard it will completely bypass the need for one of the CID's listed in the first post. So to put it simply, you don't need to worry about your unique CID if you create and use a goldcard to downgrade.
Aegishua said:
It should technically be possible once you've rooted the phone to simply do a NANDROID backup via ClockWorkMod Recovery before you start flashing new ROMs. If you have backed it up and later decide you want to unroot then all you would need to do from there is restore your nandroid backup and unroot the phone through this method.
Click to expand...
Click to collapse
okay, but we need to root the device first right? before ClockWorkMod Recovery can run, the problem is, if I root the device first, the device must be downgrade to build 1.34.405.5, and now my Desire Z using build 1.82.xxx.x
is it if we backup via ClockWorkMod, the ROM that we backup is 1.34.405.5? not my current build?
please help bro, really confused here
Hi forceonature, im no expert, but when i was having a look myself, i found out it was simply my enviroment variables wernt set up for the directory fastboot was located.. an easy way round this was just to enter the directory fastboot was in (program files, 'some directory'.. do a quick search) within your command prompt, and type the second command from there.. hope that helps..
Everything goes fine until
mmap() failed. Operation not permitted
when I put in
adb shell /data/local/tmp/psneuter
Any help?
Also I can only put su and Superuser.apk on my sdcard if I manually transfer them.
Hi forceonature, im no expert, but when i was having a look myself, i found out it was simply my enviroment variables wernt set up for the directory fastboot was located.. an easy way round this was just to enter the directory fastboot was in (program files, 'some directory'.. do a quick search) within your command prompt, and type the second command from there.. hope that helps..
Click to expand...
Click to collapse
I need to verify that my Tmobile G2's INFOCID is compatible.
I typed in the two commands:
adb reboot bootloader
fastboot oem boot
The first one worked. The second command is not recognized once I'm in the bootloader. Can someone suggest a solution?
Click to expand...
Click to collapse
I tried the same thing to get my DZ phones CID and the first one worked and the second didn't. If I don't have to make a gold card all the better. How can I find out for sure if my CID is on the list or not? Also if I have to make a gold card do I need to have a micro SD card to make the gold card?
Thanks,
Chevy
chevy2410 said:
I tried the same thing to get my DZ phones CID and the first one worked and the second didn't. If I don't have to make a gold card all the better. How can I find out for sure if my CID is on the list or not? Also if I have to make a gold card do I need to have a micro SD card to make the gold card?
Thanks,
Chevy
Click to expand...
Click to collapse
You should get a line that says INFOt.cid=XXXXXXXX or any of the lines that say your 8 Digit CID. However, as you can see there are multiple lines that say it and they should all be the same.
If your CID does match one on that list then you will not need a goldcard.
I've attached a screenshot to make things easier.
forceOnature said:
okay, but we need to root the device first right? before ClockWorkMod Recovery can run, the problem is, if I root the device first, the device must be downgrade to build 1.34.405.5, and now my Desire Z using build 1.82.xxx.x
is it if we backup via ClockWorkMod, the ROM that we backup is 1.34.405.5? not my current build?
please help bro, really confused here
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Yeah, you can only have a NANDroid backup of 1.34.xxx because there is no way to get clockwork onto a 1.72+ rom.
Hi, I'm new to rooting the G2. Iv'e been trying to follow this tutorial, but I'm having some trouble. After renaming Rom.zip to PC10IMG.zip I booted into the bootloader and it says 'no image found' or something like that. What am I doing wrong? Am I not supposed to put the zip file on the root of the SD card? Is it possible to just use the RUU to downgrade?
And regarding the downgrade, the build number on my G2 shows 1.22 . Isn't that lower than 1.34?
Any help is appreciated!
I followed the instructions twice and both times I get to
"/data/local/tmp/misc_version –s 1.33.405.5"
I get
/
Patching and backing up partition 17
Error opening backup file.
#
The first time around I iqnored it and went through hboot, the rom PC10IMG.zip was checked and verified and finally failed prompting "the main version is older"
what am I missing?
EDIT: checked SD card, unmount and remounted phone/sdcard no avail.
Will try 1.33 Bell rom next.
EDIT2: Patching and backing up sucessful, problem was I couldn't get my phone to stay in debugged mode without being in DISK DRIVE, had to start HTC Sync to mount the phone in that way to relieve the sd card, allowing adb to patch the file. Now running through PC10IMG.zip with fingers crossed.
EDIT3: Everything went smooth after that! Thanks. Now I will attempt to update to 2.3 and Sense 3.0
EDIT4: Now running on 2.3.3 and Sense 3.0 Virtuous port. Testing...probably going back to more stable gingerbread and sense 2.1
Hi there.
I have a unbranded DHD on 2.3- 2.36.405.8. It's the official leaked version.
I'd like to root & install leeDroids new Rom based upon the official leaked one.
Could you guys possibly help me out?
I don't want to do anything major, but would like to make my phone better now as I can't see much happening after the gingerbread update. Thanks people.
Sent from my Desire HD using XDA App
Had you rooted previously before you installed the update?
Suggest you google gingerbreak to root your phone, then downgrade your phone to an earlier version so you can S-Off and you can then install custom ROMs.
Guide to downgrade http://forum.xda-developers.com/showthread.php?t=905003
Hi guys. Thanks for your response. It means a lot.
I've never actually rooted any device before, never really had the b*lls lol.
I'll check these threads out & give it a shot.
Thank you very much.
There's not much to get your berries shaking, it's just the radio replacement you should be careful with.
First thing you should do is backup your device with either Titanium or ClockworkMod, though you probably need to root in order to do this, and then anything you might do, you can always revert back to what you had.
When you get to replacing the radio version, read instructions extra careful and be sure to do everything by the book (guide) and to check the checksum on the downloaded files. This could brick your device so no extra precaution is unnecessary..
Happy flashing
Hi guys. Cheers for getting back to me.
Before I start could you tell me whether the following procedures that im going to take will or will not be the right ones please?
1st obtain gingerbreak apk and install on my phone using the downgrade guide on xda
once ive done that use file (http://xdafil.es/DesireHD/RUU/RUU_Ac...032_signed.zip) and put on my sd card..... do I rename this file?
2. Once ive downgraded to this, must i perform a ROOT again to be able to flash a new rom?
3. I want to use this ROM - [ROM&KERNEL] LeeDrOiD HD V3.0.2 GB >EPIC!< |5th May | Official GB Sense 2.1 | TV Anim
4. on the 1.32xxx version do I root and use cwm 2 or 3 and just flash the above rom?
5. When exactly do i use the easy radio off tool please? EasyS-OFF_05.zip (747.4 KB, 20804 views)
Sorry for all the questions, but would be very grateful if someone could help
Edit* also after I write this in cmd
adb push misc_version /data/local/tmp adb shell chmod 777 /data/local/tmp/misc_versi adb shell su
Do I write it exactly as it is? Or does misc_version get replaced with the name of the file?
Cheers.
ok.........
so installed and did gingerbreak, it said didnt work, but asked if i would allow super user permissions to which i said yes.
I opened up a cmd and went to downgrade folder ie; c:\users\ajay\desktop\downgrade
this is where the .zip for 1.36.405.6 is kept.
typed in that code adb etc.... and it said unrecognised command batch etc...
Could someone help us out alittle?
Im pretty dumb at this sort of stuff so my apologies guys.
Hope I manage to install a custom rom, but if i cant then thats cool too.
cheers
Here is my guide i have made and compiled together, follow that and you are done.
---------------------------------------------------------------------------------
HOWTO FLASH CUSTOM ROM ONTO GB DEVICE
Downgrade First!
You might need to format your SD card first before installing Gingerbreak, make a backup of your SD card by copying the files to a safe
place on your PC and then goto Settings - SD and Phone Storage - Click Umount SD card - Click Erase SD card - Click Mount SD card after erasing and formating the card has been
completed.
Gingerbreak help thread for problems:
http://forum.xda-developers.com/showthread.php?t=1044765
1. Download Gingerbreak from http://forum.xda-developers.com/attachment.php?attachmentid=578771&d=1303829207 and install it. Then tap root button.
2. You might get force close errors, just click the force close button and let Gingerbreak do it's job
3. Gingerbreak will in the end, usually say that something went wrong that you need to reboot etc, don't reboot! Just leave it open in your phone, and connect your phone to a PC. Charge only, USB Debugging enabled!
4. Download Android Terminal from the Market and after you installed it you can check if you are rooted, by typing su in the terminal, accept the Superuser request if it shows up and Press "Allow", if you get a "#" you are rooted and the Gingerbreak hack worked.
5. Now open up a terminal window(cmd) on your PC and go to the Downgrade folder on your PC where you downloaded the ADB files from at http://forum.xda-developers.com/attachment.php?attachmentid=483902&d=1294492245 , execute the following commands:
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell
su
!Now allow SuperUser in phone when dialog comes up!
If you got "#" in the result, you have temporary root! Proceed with commands:
Now type in terminal:
cd /data/local/tmp
./misc_version -s 1.31.405.6
1. Close the terminal window on your PC and set USB connection to disk drive in your phone and download PD98IMG.zip from http://www.multiupload.com/BTJ8KY0KH9 and place it on your SD card, don't extract the zip file!! Do not put the file into a folder of any kind on your SD card.
PLEASE NOTE!! If you can't set USB connection to disk drive you have to reboot the DHD, now you will be able to set USB connection to disk drive and transfer PD98IMG.zip file to SD from your PC.
2. Reboot while holding volume down, it will go to the Bootloader
3. Follow the instructions and Press "Yes" when it asks you if you want to flash PD98IMG.zip (start the update)
4. Done and reboot.
5. Proceed below with the two S-OFF methods and remove the PD98IMG.zip from your SD.
RADIO S-OFF
1. Install and download latest Visionary r14 from http://www.mediafire.com/?xhwc5m7f273l7b2
2. Open Visionary and tap temproot, then attempt permroot now. Your device will reboot.
3. Connect your phone to a computer (make sure you have USB Debugging enabled, Connect charge only!
4. Extract the Radio S-OFF zip file you dowloaded into a folder on your computer from http://forum.xda-developers.com/showthread.php?t=857537
5. Open my "Desire HD easy radio tool.exe" (Windows 7, right click & run as Administrator).
Choose the first option (RADIO S-OFF, Super-CID and Sim Unlock)
Click "Do it". There may be a SuperUser request on your phone, allow it.
6. Done.
ENG S-OFF(You need this enabled to be able to flash RADIO.IMG later)
1. Download and Extract the eng s-off zip file into a folder on your computer from http://forum.xda-developers.com/showthread.php?t=855403
2. Connect the phone to your computer in "Charge only" mode
3. Run "Desire HD easy s-off.exe" from the extracted folder
4. Click "I have RADIO S-OFF" (as you already done RADIO S-OFF earlier), IMPORTANT!
5. Click in "S-OFF" it
6. Your phone is now ENG S-OFF
7. Done
Flashing your ROM
1. Connect your phone using "Disk drive" to the computer.
2. Copy both your full-wipe-1-3.zip from http://dl.dropbox.com/u/15057375/mero01-xda/Wipe/FULL-WIPE-1.3.zip and your CUSTOM ROM zip file to your SD Card
3. Check again that both files are on your SD card because once you full wipe, you won't have a ROM anymore.
4. Disconnect your phone from your computer
5. Install and open Rom Manager from the market
6. Tap on Flash ClockworkMod Recovery and download version 3.0.2.6
7. Wait for it to download (You need a wi-fi or data connection)
8. After it is done press "Reboot into recovery"
9. If you get an icon with a phone and an exclamation mark in a triangle, remove the battery from your phone, reboot and then flash the clockworkmod recovery again
10. Once you are in the clockwork mod recovery, you may use the volume keys as directional keys (up and down) and the power button may be used as Enter.
11. I recommend you do a nandroid back-up. You must have at least 1 gb of free space.
12. Goto Backup and Restore and make a backup of current ROM if something would fail during flash.
13. Select "Install Zip from sdcard"
14. Select "Choose zip from sdcard"
15. Select full-wipe-1-3.zip (It's right under those folders)
16. Confirm by selecting the Yes option in between those "NO"s
17. Wait for it to finish
18. DO NOT REBOOT!!! In case you were not aware, you now have no rom installed
19. Once again select "Install Zip from sdcard"
20. Select "Choose zip from sdcard"
21. Select your rom zip file
22. Confirm your selection (just like with the wipe)
23. Wait for it to finish
24. Please reboot from the recovery menu and flash nothing else before you have rebooted.
Flash recommended Radio for your custom ROM:
1. Download "Radio Flash.zip" from http://www.mediafire.com/?b172o4ftj1mcpn1 and extract it contents on your PC.
2. Put the radio.img file you downloaded for your custom ROM and put it in the same folder as you extracted the "Radio flash.zip" file to.
3. Make sure USB debugging is enabled in your Desire HD before proceeding.
4. Connect your DHD to your PC with the USB cable and make sure you select USB Charge Only!
5. Now goto the Radio flash folder on your PC and execute "Start here.exe"
6. In the terminal window that comes up you will type:
adb reboot bootloader
Your DHD now goes into Bootloader state, when it is in bootloader state you will type:
fastboot flash radio radio.img
When the terminal says that the process is done you will type:
fastboot reboot
7. Now the DHD reboots and everything is done.
!!GOOD TO KNOW!!
TESTING BEFORE FLASHING ANYTHING
Testing Root
1. Download Android Terminal Emulator from the Market
2. Run it and type in "su"
3. Accept the Superuser request if it comes
4. A "#" should appear if nothing is wrong with your root!
Testing Eng S-off and Radio S-OFF
1. Power Down Your Device
2. Go to Bootloader
3. If it says Ace PVT ENG S-OFF your phone is ENG S-OFF.
4. use Volume down to get to system info and tap power button to select
5. check CID for CID-11111111 (if you have this all is done 100%)
6. Reboot
Checking the device state:
1. Go to the bootloader (turn fastboot off, turn off phone, hold vol- and power)
2. If it says ACE PVT SHIP S-OFF in the first line, your device is Radio S-OFF
3. If it says ACE PVT ENG S-OFF, you have ENG S-OFF, go to System info
4. If system info CID is 11111111, your device is SuperCID5.
5. And if you can verify either Radio S-OFF or SuperCID (and you did both), it worked fine and you have both of them
6. You can check your original CID by going to radio tool folder with cmd and typing: "adb shell getprop ro.cid"
To go back to RADIO S-ON:(If you want to go back to RUU stock ROM again)
1. Flash stock ROM (RUU)
2. Temproot using Visionary
3. Use my tool, do Stock CID and S-ON (enter brand CID if you had a branded device, see second post)
4. Enjoy your factory-state phone
Prodelin said:
Here is my guide i have made and compiled together, follow that and you are done.
---------------------------------------------------------------------------------
HOWTO FLASH CUSTOM ROM ONTO GB DEVICE
Downgrade First!
Install Gingerbreak v1.2 apk which is latest, you might need to format your SD card first before installing Gingerbreak, make a backup of your SD card by copying the files to a safe
place on your PC and then goto Settings - SD and Phone Storage - Click Umount SD card - Click Erase SD card - Click Mount SD card after erasing and formating the card has been
completed.
http://forum.xda-developers.com/show....php?t=1044765
Click to expand...
Click to collapse
THIS LINK IS BROKEN.. can you check it please?
Hi thanks very much
Ill follow this guide now, and hopefully be sorted.
just quickly, where do i get recommended radio? and during...
4. Open up a cmd and go to Downgrade folder, execute commands:
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell
su
do i press enter after each line of text?
ajay83 said:
Hi thanks very much
Ill follow this guide now, and hopefully be sorted.
just quickly, where do i get recommended radio? and during...
4. Open up a cmd and go to Downgrade folder, execute commands:
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell
su
do i press enter after each line of text?
Click to expand...
Click to collapse
Yes enter after each line
For recommended Radio look into the thread of the custom ROM you will flash, it will say what radio they recommend to their ROM
Hi there.
1st thank you for being so patient with me mate, I appeciate it.
after i typed the 1st line of those commands it wouldnt have any of it. It said....
'adb' is not recognised as an internal or external command, operable program or batch file.
I think I should just leave it. Ill have all the guys on here pulling their hair out coz i cant do the simplest thing lol.
Thanks for your time anyway bud.
Revised my guide to make it easier to read and understand.
ajay83 said:
Hi there.
'adb' is not recognised as an internal or external command, operable program or batch file.
Thanks for your time anyway bud.
Click to expand...
Click to collapse
You need to type adb in the folder you have adb.
If you have adb.exe in folder c:\Downgrade you must go to that folder first and the type adb.
ahh ok.
Thank you very much bud. Legend =)
and where could i get Radio_12.54.60.25_26.09.04.11_M2 please? I read the forum and it seems to be a good recommended one.
I'll give it ago tonight or tomorrow morning and let you know how i got on.
Thanks for all your help and for being patient bud.
ajay83 said:
and where could i get Radio_12.54.60.25_26.09.04.11_M2 please? I read the forum and it seems to be a good recommended one.
Click to expand...
Click to collapse
From the Radio's thread in the development forum.
[EDIT] @Andy: Sorry, not today.
ajay83 said:
ahh ok.
Thank you very much bud. Legend =)
and where could i get Radio_12.54.60.25_26.09.04.11_M2 please? I read the forum and it seems to be a good recommended one.
I'll give it ago tonight or tomorrow morning and let you know how i got on.
Thanks for all your help and for being patient bud.
Click to expand...
Click to collapse
You can get that particular radio from:
http://tinyurl.com/6ynbecn
Mr_JMM said:
From the Radio's thread in the development forum.
[EDIT] @Andy: Sorry, not today.
Click to expand...
Click to collapse
Don't worry you have to be nice all the time. Sometimes It hurts my head being nice. I would of answered the same TBH. Its not like it isn't in a sticky.
Hi there.
gingerbreak worked!
Followed the codes and got superuser access.
I had formatted my sd card prior to doing this btw
I closed the terminal and went to change usb from charge to disk drive and the option had gone. took it out and reinserted and still it wouldnt find it for me to put .zip file on???
It would not show my sd card was there until i re booted?
Its a shame we cant just temproot it with gingerbreak and flash the rooted GB 2.3 leedroid, but then i guess this is where all this -s off stuff comes in right?
I havent got a clue now let alone to begin with lol.
Lads I think i give up =( . Thanks for all the help and advise and patience but your dealing with abit of a numpty here and we could be here a very very long time.
I appreciate all the help & Ill keep my eyes open if a way comes out to permroot 2.3 without downgrading etc...
ajay83 said:
Hi there.
I closed the terminal and went to change usb from charge to disk drive and the option had gone. took it out and reinserted and still it wouldnt find it for me to put .zip file on???
It would not show my sd card was there until i re booted?
Click to expand...
Click to collapse
Same thing happened me, i had to reboot to make SD card show up again, but that is no problem as you have already changed misc_version with adb, you can now just put the PD98 file to the SD card and reboot and flash from bootloader.
Easy.
You have come along way now, just do as i said earlier, the rest is easy, don't give up now
Yes, finally, for us A101 owners out there, a rooting method has finally been found!
Firstly, it's important to point out that I DID NOT DISCOVER this rooting method. All credit for that goes to ZeroNull and can be found in his original post here. All I have done is to essentially translate it to more native English and hopefully explain it a little better. I've been a bit more long winded than ZeroNull was, but it's kinda necessary to make things clear.
Finally, and most importantly:
DO THIS AT YOUR OWN RISK! NEITHER I NOR ZERONULL ARE TO BLAME IF YOU MESS UP YOUR TAB!
You will need a few things:
1. The A10x_Rooting.zip file attached at the bottom of this thread. This contains ADB and SU.
2. An A100 ROM. It's probably best to go for as early a verion as you can but any should probably work. Get one from vache's thread here.
3. An A101 ROM. Any version will do, again you can get one from vache's thread above. Note there are some updated ROMs on about page 13 or so of that thread.
4. The ability to follow instructions CAREFULLY. Seriously, I can't stress this enough. One typo can make the process fail, so copy/paste the commands, OK?
5. Basic knowledge of how to open a cmd shell in Windows (I'm not a Linux person, but most of this guide will probably apply).
Right, on to the instructions!
Part One
1. Download all needed file as above and extract into a directory somewhere.
2. Connect your A101 to USB, make sure USB debugging is turned on, and open a command window in the same folder you extracted A10x_Rooting.zip in to.
3. Copy the A100's update.zip to the root of your external SD card on the tablet.
4. Reboot into recovery (hold power and left side of the vol rocker until you see the text).
5. Wait for the A100 ROM to install. This is the slightly scary bit as you just emasculated your tab! :O
Part Two
6. Once your tab has booted, make sure USB debugging is on and go to your command window. Type:
Code:
adb devices
If all is well, you'll get your UID in response. You don't need this for rooting, but it's a damn good idea to write this down somewhere safe.
7. Assuming 6 was OK, then proceed. If it wasn't, you'll need to sort that out yourselves
Enter the following commands.
Code:
adb shell
/system/bin/cmdclient ec_micswitch '`echo 'ro.kernel.qemu=1' > /data/local.prop`'
Nothing will echo back to you, and trying to ls that folder will give you a permission denied. Don't worry, it should have worked.
8. Type exit at the $ prompt to exit ADB shell.
9. Copy the A101 update.zip to the root of the external SD card, reboot to recovery and flash it.
Part Three
10. Once booted back up, go back to your command window and enter the following:
Code:
adb remount
adb push su /system/xbin/
adb shell "chmod 06755 /system/xbin/su"
11. Now you need to undo the qemu command. Enter the following in the command window.
Code:
adb shell "echo '#' >/data/local.prop"
Your root should now be 95% complete, but we're not quite finished yet.
12. Load the market and download BusyBox, SuperUser, and if you want it, Titanium Backup. Install all of these but DO NOT RUN THEM YET.
13. Reboot the device. Another scary part!
14. Once booted, run SuperUser then drop back to the desktop.
15. Run BusyBox and go through the install steps. During this SU should ask permission to give BB root access, if it does, it worked!
By the way, for me at least, SU moaned about being out of date whilst installing BB. Let BB install, then afterward, let SU update itself.
Important Note
After doing this once, if you install a newer ROM, you will NOT need to go back to the A100 to re-root, that part only has to be done one time. The local.prop file will now persist between ROM's so all you'll need to do is to go back to step 7 and proceed from there.
How does one figure out which version they have?
Sent from my Acer Iconia using xda premium
Mordak said:
How does one figure out which version they have?
Sent from my Acer Iconia using xda premium
Click to expand...
Click to collapse
You mean a100 or a101? A100 is the wifi only version that most of us have. The A101 has a spot for a phone SIMM card.
Mordak said:
How does one figure out which version they have?
Sent from my Acer Iconia using xda premium
Click to expand...
Click to collapse
It's under Settings -> About
Though I'm kinda puzzled as to how come you don't know which model you bought...
Thanks
Been waiting for ages till i searched it in google today.
Is there any chance we can install recovery like CWM?
Not at this time. Devs are working hard trying to bypass the locked bootloader on the A100. I'm assuming the bootloader on the A101 is similar enough that whatever method eventually gets worked out would work on both. I may be wrong. Wouldn't surprise me if I was lol
Sent from my Inspire 4G using Tapatalk
Hope you're right
Uh, and i think you should bold this:
3. Copy the A100's update.zip to the root of your external SD card on the tablet.
Since i've missed the "external" sd card and just copied it right to the internal sd, the rom was'nt detected by then. My bad, but there may be people like me hahaha
icefish1412 said:
Hope you're right
Uh, and i think you should bold this:
3. Copy the A100's update.zip to the root of your external SD card on the tablet.
Since i've missed the "external" sd card and just copied it right to the internal sd, the rom was'nt detected by then. My bad, but there may be people like me hahaha
Click to expand...
Click to collapse
Point 4 of the "things you will need" covers that.
4. The ability to follow instructions CAREFULLY. Seriously, I can't stress this enough. One typo can make the process fail, so copy/paste the commands, OK?
Click to expand...
Click to collapse
FloatingFatMan said:
It's under Settings -> About
Though I'm kinda puzzled as to how come you don't know which model you bought...
Click to expand...
Click to collapse
I never saw a 3G version in any of the stores near me. I did see the spot where a sim could go but I had no idea this was the differentiating factor. Thanks for the info.
Will this rooting method work on the A100?
The A100 has its own rooting method, but there's no reason why it shouldn't. In fact, someone posted a slightly modded version of this method for that model, in the A100 rooting thread.
sorry but i can't apply
adb shell
/system/bin/cmdclient ec_micswitch '`echo 'ro.kernel.qemu=1' > /data/local.prop`'
what can i do?
^ Defining "I can't apply" would help...
Seriously, that's about as much help to debugging the problem as a chocolate teapot.
ok,
when i submit the command
/system/bin/cmdclient ec_micswitch '`echo 'ro.kernel.qemu=1' > /data/local.prop`'
i get this from the console
/system/bin/cmdclient ec_micswitch '`echo 'ro.kernel.qemu=1' > /data/local.prop`'
and when i follow the next steps
i cant remount
What ROM are you running on?