How To: Unroot the T-Mobile MyTouch 4G

I. Before You Begin

1. This is how to unroot your MyTouch 4G if you used our How To Temp Root then Perm Root procedures.

2. If you did the “true perm root/cid/radio s-off” procedure as well then do this but add the steps it says to add.

II. (THIS IS ONLY FOR PEOPLE WHO DID THE GFREE PROCEDURE, IF YOU DIDN’T SKIP TO SECTION III). Undo GFree

1. Copy your “part7backup-whatevernuberitscalled.bin” that was created when you originally did the GFree procedure to root to the root of your sdcard

2. Open a command prompt and navigate to your sdk tools folder

3. Type “adb push gfree /data/local” and hit enter

4. Open up terminal emulator or adb shell and type “su” press enter to get root privileges.

5. Type “cd /data/local” and hit enter

6. Now type “chmod 777 gfree” and hit enter to make the program executable

7. Type “cd /data/local” and hit enter.

8. Now type “./gfree” + enter to run gfree again. It will disable wp on the emmc and remove the brq filter in the kernel. (as well as make another backup, which you can delete if you wish)

9. Now run the “dd if=/sdcard/part7backup-whatevernumberitscalled.bin of=/dev/block/mmcblk0p7” and it should show the output:

10. Run “sync” and then reboot.

Thanks to JJJackson56 from XDA for this section!

III.  Unroot

1. Download the PD15IMG file and save it to your computer.

PD15IMG

2. Plug your phone in via USB cable and copy the PD15IMG.zip file onto the root of your SD card (NOT in any folder, just on the sd card itself. Do NOT extract it, leave it as a .zip).

3. Turn off the phone and unplug it from the computer.

4. Turn the phone on by holding down Volume Down and Power until you get into bootloader mode.

5. It should automatically find the PD15IMG file on the sd card and ask you to procedure. Say yes and wait for it to update.

6. Once it is done, it’ll ask you to reboot. Say yes and wait for it to reboot. Once it does, your all set!

Thanks to Football @ XDA for the new PD15IMG file and procedure!
Thanks to Phateless @ XDA for sending this in!

52 thoughts on “How To: Unroot the T-Mobile MyTouch 4G”

  1. Question-I make it to part 3, once I download terminal emulator and I type in the su comman it says permission denied. Could you tell me what’s wrong

  2. Question-I make it to part 3, once I download terminal emulator and I type in the su comman it says permission denied. Could you tell me what’s wrong

  3. when I use the back up file it says permission denied when i type in su…and when i use my own original back up su will work but the next step flashing the recovery image always says flash_image not found and i put it on the root of my sd card..please help! is there a video for this?

  4. Just a heads up… If you’re never created a backup through Clockwork, there won’t be a “Backups” folder. If you’re creating this folder yourself, it actually needs to be named “backup”. Case sensitive and without the quotes.

  5. Makewavesnotwar

    Alright, so I figured I would just post a general comment as a lot of you seem to be having the same problems. I am no expert and these are just the solutions that worked for me so this is “Try at your own risk” stuff, and I take no responsibility if you brick your phone. Anyway…

    To anyone having the su – permission denied problem in the terminal emulator. Go on to the market and download a program called “Superuser” by ChainsDD and once you get that up and running, the superuser permission prompt should come back when you type su in the terminal.

    Next for the people having issue with the recovery image, though I’m sure TheUnlockr’s recovery file works, I just used Clockworkmod’s Rom Manager to flash the recovery image. So assuming you have Rom Manager, after you restore to the old back up, open up Rom Manager from the droid OS (not the recovery program at boot) and run “Flash Clockwork Recovery” and reboot. If the phone tells you permission denied, refer to the step above.

    Lastly, as far as I can tell, TheUnlockr’s unroot file works like a charm as it unrooted my phone with one run but I would also recommend going back into clockwork recovery at boot after you have confirmed you have unrooted your phone (boot screen says S-ON) and use clockwork recovery to wipe all data and caches a couple more times and restore the factory defaults as doing this never hurts though I may just be overly paranoid.

    Hope this helps you all and to the kind people at TheUnlockr, if this solution is wrong for setting the system back to its defaults for warranty coverage, please post a comment as such as this is how I unrooted my phone and I’d like to know if I didn’t restore it properly. Thanks everyone. Cheers!

  6. If you’re having “permission denied” problems double check that superuser.apk is installed and if it is just re-install it. Still no dice then gain temporary root using SuperOneClick or Z4Root.

  7. I believe we have a bigger problem here. It’s finding the shell script flash_image. It knows the file is there it just doesn’t know what the hell to do with because flash_image isn’t a recognized command.

  8. i’m stuck trying to complete step 6: Click on ROM Manager on your phone and click Reboot
    Recovery and wait for it to boot into recovery mode.”
    i downloaded rom manager from market and when i try to reboot into recovery i get error saying that i’m phone is not rooted… help please

  9. i’m stuck trying to complete step 6: Click on ROM Manager on your phone and click Reboot
    Recovery and wait for it to boot into recovery mode.”
    i downloaded rom manager from market and when i try to reboot into recovery i get error saying that i’m phone is not rooted… help please

  10. i’m stuck trying to complete step 6: Click on ROM Manager on your phone and click Reboot
    Recovery and wait for it to boot into recovery mode.”
    i downloaded rom manager from market and when i try to reboot into recovery i get error saying that i’m phone is not rooted… help please

  11. i’m stuck trying to complete step 6: Click on ROM Manager on your phone and click Reboot
    Recovery and wait for it to boot into recovery mode.”
    i downloaded rom manager from market and when i try to reboot into recovery i get error saying that i’m phone is not rooted… help please

  12. i installed iced glacier rom and i really need to know how to revert back to stock … Im not sure if this procedure achieves that or not.

  13. I really need to revert back to t-mobiles stock rom…please help because im not sure how to do it and i have iced glacier 1.1.6. Does unrooting automatically achieve this?

  14. hi i get up to 9. Now run the “dd if=/sdcard/part7backup-whatevernumberitscalled.bin of=/dev/block/mmcblk0p7″ and it should show the output:
     and then it says that its not found and yes i put the number notwhatevernumberitscalled :-p
    but it says its not found and then i tried pd15img and it says yes and it tries to update but they all say fail-pu and then bypasses {8} Tp and then freezes at {9}radio_v2 as updating

    what do i do??
     
    and also i just want to return it to stock but it keeps saying that i cant do anything with the cache it keeps saying it cant mount it and i tried formatting as well.

    is there anyway to fix this?

  15. sup guys!!! rooted mytouch4g and did s-off. all the staff like flashin new roms worked fine, but couldnt get simunlock still.
    i did use gfree_02 way:

    gfree -f

    –secu_flag off set

    –cid set. CID will be changed to: 11111111

    –sim_unlock. SIMLOCK will be removed

    Section header entry size: 40

    Number of section headers: 44

    Total section header table size: 1760

    Section header file offset: 0x000138b4 (80052)

    Section index for section name string table: 41

    String table offset: 0x000136fb (79611)

    Searching for .modinfo section…

    – Section[16]: .modinfo

    — offset: 0x00000a14 (2580)

    — size: 0x000000cc (204)

    Kernel release: 2.6.29-6fb59e13

    New .modinfo section size: 200

    Attempting to power cycle eMMC… Failed.

    Module failed to load: Exec format error

    last 2 rows sayin that some things went wrong.

    after i found advise from forum to downgrade ROM and Radio to Stock to make root and unlock from  Stock ROM usin gfree method.

    that post work well for me:

     http://forum.xda-developers.com/showthread.php?t=832642

    just downgraded. lost my root, cwm recovery, got my s-on back.

    Now i have such a SOFTWARE INFORMATION u can find on the  phone:

     
    Android version
    2.2

    Baseband  version
    12.28.60.140eU_26.03.00.04_M2

    Kernel version
    2.6.32.21-g52a2a81
    htc-kernel@u18000:twitter -Build-149 #1
    fri oct 1 21:10:23 CST 2010

    Build number
    1.14.531.1 CL265542 release-keys

    Software number
    1.14.531.1

    Browser version
    WebKit 3.1

    hope it will help smdy who got same or similar issues w their phones.
    gud luck!

  16. How do I know if I did the GFree method or not?? Sorry Im a newbie to android. My phone has CyanogenMod 7, I was rooted by someone else for me when I first got the phone.

    1. If you dont know if you did the GFEE method then there very very high chance you didnt use it so you can go right to step 3 and it should work easy 

  17. I am looking to start the temp root procedure from this site for my HTC Glacier. I just received the 2.3.4 OTA update and need to bring it back to 2.2.1 in order for VISIONary to work.

    My question is this: can I flash the PD15IMG listed above using the stock recovery on the phone only do I have to use ADB? 

  18. my phonw went through

    HBOOT came up, then sat and thought about things about 15-20 seconds, then the portion of the screen under the HBOOT label cleared and HBOOT reported the following:SD Checking…Loading…[PB31DIAG.ZIP]No image!Loading…[PB31DIAG.NBH]No image or wrong image!Loading…[PB31IMG.ZIP]BUT IT STPPOED AT..

    Parsing…[SD ZIP]
    [1] BOOTLOADER
    [2] BOOT
    [3] RECOVERY
    [4] SYSTEM
    [5] USERDATA
    [6] SPLASH1
    [7] TP
    [8] TP
    [9] RADIO_V2
    [10] RADIO_CUST

    THERE WAS NOTHING ELSE FROM HERE. I thought somthing like “Do you want to start update?Yes or No” BUT IT DIDN”T

    WHAT HAPPENED?

  19. I think i bricked my phone im not sure but i really need help everytime i put the “stock rom” on my SD card it loads up and it says cant find img like 4 times in a row  .. PLEASE HELP !!

  20. Seriously… I need this file BAD, and the link is broken or the site is down or somehow, somewhere it just wont open that damn page…

    Is there another way to get this damn file???

  21. After having a very difficult time unrooting (ended up following several guides before getting results), my phone tells me it “does not appear to be rooted”, but my “S=OFF”. How do I change this back to “S=ON”? My phone is flashed back to factory, but something is not right. My Hboot is as follows:

    GLACIER PVT SHIP S-OFF
    HBOOT-0.86.0000
    MICROP-0429
    RADIO-26.03.02.26_M
    eMMc-boot
    Sep 27 2010, 11:12:59

  22. what i did is i used clockwork recovery to restore my stock rom. I then put this PD15IMG.zip file on the root worked perfect .what i noticed is if you go to bootloder screen it checks for that file automatically and will ask you to update again and again after you have already.can i remove this file once i used it or do i have to leave it on the sd

    1. I also want to add that i DID NOT use terminal emulator at all my S is now back on and everything is stock as far as i can tell

  23. everytime i go to the bootloader it will try to update but onces it gets to the part that says checking md5..it sits for about a minute…then it says main version is older update failed 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.