Guide to permaroot, s=off AND s=on!!!!!

Search This thread

Towle

Retired Forum Moderator
Oct 26, 2010
3,473
1,978
The Wild
So should I get a different one ? I wasnt aware it could b the actual phone.

Sent from my HTC Glacier using XDA App

I would. But I am just a better safe than sorry type of guy. You may find a way to get the one you have now rooted, but with the problems you have been having already, and with the failing emmc chips around, I would ditch it and get a different one.


Sent from my Royal Ginger powered Glacier
 

Phateless

Senior Member
Aug 22, 2010
4,773
448
Oakland
www.llinkedin.com
I would. But I am just a better safe than sorry type of guy. You may find a way to get the one you have now rooted, but with the problems you have been having already, and with the failing emmc chips around, I would ditch it and get a different one.


Sent from my Royal Ginger powered Glacier

I agree. So far the statistics indicate that if you can't root with visionary then you might have the bad chip.

Sent from my HTC Glacier using XDA Premium App
 

Chicago T

Senior Member
May 9, 2011
54
0
First of all, unforgiven512 deserves most of the credit for coming up with the initial tutorial for perm root and s=off for the new HTC devices. Also, thanks to adwinp for the instructions on hexeditting the kernel module to make it work with the MT4G.

This was a collaborative #g2root effort, primarily involving scotty2, tmzt, IntuitiveNipple but also many others!

Ok, so the usual disclaimers go here:

I am not responsible for your bricked phone or the ignorance that may or may not have caused it based on the fact that you CHOSE to follow these steps. Read through the forums and LEARN before you attempt to flash any device. You have been warned.

This method only works for those devices who have already received their OTA update!!!

Now that that is out of the way here we go:

First make sure you have visionary installed!

Root.rar (all files plus a script to make things a little easier. :D)
http://www.mediafire.com/?flit79p2y069bb3
md5sum: 46361b0cc8652d88688c0ab66d44950b

1. Download the root.rar file and unzip it to /sdcard on your device.

2. Run VISIONary to gain temp root.

Now I am going to run two different sets of instructions (you'll understand why in a minute):


Terminal Emulator Method
3a. Start terminal emulator up on your device.(I prefer this method b/c you can see the output.)

a. type "su" + enter to gain root privileges.

b. Type "cd /sdcard/root" + enter.

c. Type "sh root.sh" + enter.

d. Follow the on screen prompts.


File Explorer Method
3b. Start up root explorer, sufbs, or some other type of file browser with root privileges.

a. Navigate to /sdcard/root on your device.

b. Click on root.sh and allow it to run. Some file browsers ask you if you want to or not.

c. Now wait about 18 to 20 seconds and restart your device into the bootloader to check if S=off is displayed.

4. Start the device back up.

5. Run visionary again and reboot again. This will make root stick.

You can now uninstall visionary and enjoy permaroot. :D

Alternative Root Process

First, uninstall visionary and superuser and restart your device to wipe out temp root.

Second, download MT4G Modperm.zip and unzip its contents to your sdk tools directory.

MT4G Modperm.zip: http://www.mediafire.com/?eaw0q0zjc7rrrwh
MD5Sum: 3ea4a7a6ddee711d12f7350ce60fae33

Then:

Windows Users:
1a. Using Explorer navigate to the root of your sdk. Hold shift and right mouse click on the tools folder. Select "Open command window here".

2a. Type "adbbat" + enter. Wait till the batch file finishes.

Linux Users:
1b. Using file browser of your choice (or terminal) navigate to the tools folder of your sdk and double click on adbbat.sh (type sh adbbat.sh if you are using terminal). Credit for adbbat.sh goes to slhpss.

2. Disconnect your phone from the PC.

3. Open terminal emulator on the phone and type "/data/local/rage" + enter. Wait for "Forked XXXXXXXX children" to appear and then close the terminal.

4. Start terminal back up. It should force close.

5. Start terminal back up, again. This time it should stay open and you should have a "#" prompt instead of a "$" prompt. Then type "/data/local/temp.sh.

6. When the script finishes run /data/local/rage again and sit tight. The phone should start acting weird and do a soft reboot. Then right after everything loads it should do a hard reboot. After the hard reboot reboot and check S.(If it doesn't do the two reboots just reboot into hboot yourself after rage finishes with the "forked xxxxxxxx children" message.

7. Enjoy root!

If you still have problems getting su to work after this uninstall visionary, shutdown, pull battery, and restart. Should work after that. Props to PolishDude for figuring that one out.

If you have tried EVERYTHING and still cannot get it to work for through the process and wait 30 minutes to an hour. The driver might have a cache delay write and you may need to give it some time to allow the sync command to work. This has worked for one other person (mfouco). BTW, this was figured out by coachmai. Props man!

If su doesn't stick, flash again! You can't overroot it! :D

Process for turning S back on

Download this file and unzip it to /sdcard on your device.

unroot.rar
http://www.mediafire.com/?12oi5elu7v2y8og
md5sum: aad4e64126cf8d92d7e8b5abb48fdadd

Terminal Emulator Method
1. Open up terminal editor on your device.(I prefer this method b/c you can see the output.)

a. Type "su" + enter to gain root privileges.

b. Type "cd /sdcard/unroot" + enter.

c. Type "sh unroot.sh" + enter.

d. Follow the onscreen prompts.



File Explorer Method
2. Open root explorer, sufbs, or some other file browser with root access.

a. Navigate to /sdcard/unroot.

b. Click on unroot.sh and allow it to run. Some file browsers ask permission before they execute scripts.

c. Wait 18 to 20 seconds and reboot your phone into the bootloader to check if S=on.

You now have S=ON again.

Since we opened up the nand to writes you should still retain persistent root privileges.

Hope this makes it all easier for you.
Cheers --grankin01 :D

For everyone that is have trouble writing to the protected areas of the system after following the rooting procedures.

Reboot into Clockwork recovery and choose the mounts and storage option. From there choose mount system (or whichever protected directory you want access to) and click the trackpad. When unmount system shows you have rw access to the /system directory and all of its subs.


Stupid question, but I'm getting stuck at 3B, b. using root explorer to "open" ROOT.SH. When I tap it, I get a menu asking me to select a program to run the file with?????? Help!
 

celeox

Senior Member
May 26, 2011
314
30
Lombard, IL
I have my phone rooted through this method but it doesn't give me a sim unlock. Tried putting stock rom and rooting through gfree but that didn't work. anyways i can unlock my sim?
 

bochocinco23

Senior Member
Mar 5, 2011
170
29
You dont need to go back to stock to use gfree. Just run the commands in the gfree section to set simlock to off

Sent from my Acer Iconia Tab A500 using XDA Premium App
 

The Archangel

Senior Member
Sep 2, 2010
6,189
3,715
Virginia beach
Keeps saying can't open root.sh

Edit. Used a different app to unzip the rar file, an it worked perfectly.

Sent from my HTC Glacier using XDA Premium App
 
Last edited:
Dec 5, 2010
46
5
El Paso, TX
I had the mytouch for a few days bear with me.

I tried to root my device but I keep getting an error on the emulator. I am using visionay 11. It does grant me root access but when I run the commands on the emulator it says a file not found.

I extrated the root folder to the root of my sd card. Now under the download link their is something that says sum5 ect. Am I supposed to add this somewhere? Plz help.
 

A23E

Member
Dec 18, 2010
44
1
I used this method to root the new MT4G. The perm root works when reboot, but I could not reboot into recorvery, so I could backup the current rom for load others rom. It keep give me the red triangle. I have to pull batery. Please help!
 

A23E

Member
Dec 18, 2010
44
1
I tried 2 ways. 1. From booted into Hboot by pressed the volume down and power, after into Hboot the choose recovery. 2. From Rom manager and choose reboot into recovery. Both ways gave me the red triangle after the screen MT4G appeared. I tried to flash the latest recovery, but won't work:mad:. Are there other way to fix this? Thank you!

ok, go into rom manager and tell it to flash the latest recovery, that SHOULD fix it. Also, how are you trying to get into recovery?
 

Phateless

Senior Member
Aug 22, 2010
4,773
448
Oakland
www.llinkedin.com
I tried 2 ways. 1. From booted into Hboot by pressed the volume down and power, after into Hboot the choose recovery. 2. From Rom manager and choose reboot into recovery. Both ways gave me the red triangle after the screen MT4G appeared. I tried to flash the latest recovery, but won't work:mad:. Are there other way to fix this? Thank you!

Go back and read the directions again. Do you have s off in hboot?

Get s off.
Temp root then perm root again using visionary.
Flash recovery.

Sent from my SGH-T959 using XDA Premium App
 
V

vegetajin8

Guest
Your not alone I have the same problem and was wondering the same thing

Edit: my phone didn't reply correctly the problem I'm having is with unlocking sim lock through gfree and terminal.

Sent from my HTC Glacier using XDA Premium App
 
Last edited:

A23E

Member
Dec 18, 2010
44
1
I go back, read instruction and used the File Explorer method carefully and tried numbers of time and still s-on. So I go back again, read instruction and this time I used Terminal Emulator method and s-off:D :). Everything works. Thanks!

Go back and read the directions again. Do you have s off in hboot?

Get s off.
Temp root then perm root again using visionary.
Flash recovery.

Sent from my SGH-T959 using XDA Premium App
 

themoebius

Senior Member
Mar 9, 2009
51
9
Sadly the Visionary root.sh method does not appear to be working for me. I have the "good" SEM04G chip, but after multiple attempts and carefully following these instructions, I still have s=on after every reboot. Was about to just throw caution to the wind and use gfree... Ideas?
 

TricH

Inactive Recognized Developer
Nov 9, 2010
795
930
St. Paul
I really need help. I have the "bad" chip apperantly and this method is not working for me at all. Everytime i reboot it is still on. Can somebody please tell me why it is not working and the advantages of this "bad" chip. The chip starts with m4g which i no is the bad one
 

purple1

Senior Member
Oct 28, 2010
556
36
Dallas, Tx
I tried 2 ways. 1. From booted into Hboot by pressed the volume down and power, after into Hboot the choose recovery. 2. From Rom manager and choose reboot into recovery. Both ways gave me the red triangle after the screen MT4G appeared. I tried to flash the latest recovery, but won't work:mad:. Are there other way to fix this? Thank you!


CYANOGEN WIKI. Should show how to flash recovery try that

Sent from my HTC Glacier using XDA App
 

azngurl108

Member
Jan 28, 2010
6
0
Hi, I tried reversing it back to s-on and it still show s-off. i followed all the steps and it still show s-off. can someone help me fix this?
 

skidooman

Member
Dec 4, 2010
9
0
I would like to try out the OTA that will be sent out soon for this phone.

I follow the instructions to turn S=on and had no trouble. My "S" is back on.

My question is I still have a superuser app in my app drawer, and have superuser capabilities. Am I still rooted or not. With the superuser app in the app draw will I be able to receive the OTA or do I have to do something else to the phone to receive it. Thanks
 

Phateless

Senior Member
Aug 22, 2010
4,773
448
Oakland
www.llinkedin.com
I would like to try out the OTA that will be sent out soon for this phone.

I follow the instructions to turn S=on and had no trouble. My "S" is back on.

My question is I still have a superuser app in my app drawer, and have superuser capabilities. Am I still rooted or not. With the superuser app in the app draw will I be able to receive the OTA or do I have to do something else to the phone to receive it. Thanks

You shouldn't even need s on, you just need stock Rom with all bloatware included.

If you want to restore to stock, use pd15img.zip, posted by Football.

Sent from my HTC Glacier using XDA Premium App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    First of all, unforgiven512 deserves most of the credit for coming up with the initial tutorial for perm root and s=off for the new HTC devices. Also, thanks to adwinp for the instructions on hexeditting the kernel module to make it work with the MT4G.

    This was a collaborative #g2root effort, primarily involving scotty2, tmzt, IntuitiveNipple but also many others!

    Ok, so the usual disclaimers go here:

    I am not responsible for your bricked phone or the ignorance that may or may not have caused it based on the fact that you CHOSE to follow these steps. Read through the forums and LEARN before you attempt to flash any device. You have been warned.

    This method only works for those devices who have already received their OTA update!!!

    Now that that is out of the way here we go:

    First make sure you have visionary installed!

    Root.rar (all files plus a script to make things a little easier. :D)
    http://www.mediafire.com/?flit79p2y069bb3
    md5sum: 46361b0cc8652d88688c0ab66d44950b

    1. Download the root.rar file and unzip it to /sdcard on your device.

    2. Run VISIONary to gain temp root.

    Now I am going to run two different sets of instructions (you'll understand why in a minute):


    Terminal Emulator Method
    3a. Start terminal emulator up on your device.(I prefer this method b/c you can see the output.)

    a. type "su" + enter to gain root privileges.

    b. Type "cd /sdcard/root" + enter.

    c. Type "sh root.sh" + enter.

    d. Follow the on screen prompts.


    File Explorer Method
    3b. Start up root explorer, sufbs, or some other type of file browser with root privileges.

    a. Navigate to /sdcard/root on your device.

    b. Click on root.sh and allow it to run. Some file browsers ask you if you want to or not.

    c. Now wait about 18 to 20 seconds and restart your device into the bootloader to check if S=off is displayed.

    4. Start the device back up.

    5. Run visionary again and reboot again. This will make root stick.

    You can now uninstall visionary and enjoy permaroot. :D

    Alternative Root Process

    First, uninstall visionary and superuser and restart your device to wipe out temp root.

    Second, download MT4G Modperm.zip and unzip its contents to your sdk tools directory.

    MT4G Modperm.zip: http://www.mediafire.com/?eaw0q0zjc7rrrwh
    MD5Sum: 3ea4a7a6ddee711d12f7350ce60fae33

    Then:

    Windows Users:
    1a. Using Explorer navigate to the root of your sdk. Hold shift and right mouse click on the tools folder. Select "Open command window here".

    2a. Type "adbbat" + enter. Wait till the batch file finishes.

    Linux Users:
    1b. Using file browser of your choice (or terminal) navigate to the tools folder of your sdk and double click on adbbat.sh (type sh adbbat.sh if you are using terminal). Credit for adbbat.sh goes to slhpss.

    2. Disconnect your phone from the PC.

    3. Open terminal emulator on the phone and type "/data/local/rage" + enter. Wait for "Forked XXXXXXXX children" to appear and then close the terminal.

    4. Start terminal back up. It should force close.

    5. Start terminal back up, again. This time it should stay open and you should have a "#" prompt instead of a "$" prompt. Then type "/data/local/temp.sh.

    6. When the script finishes run /data/local/rage again and sit tight. The phone should start acting weird and do a soft reboot. Then right after everything loads it should do a hard reboot. After the hard reboot reboot and check S.(If it doesn't do the two reboots just reboot into hboot yourself after rage finishes with the "forked xxxxxxxx children" message.

    7. Enjoy root!

    If you still have problems getting su to work after this uninstall visionary, shutdown, pull battery, and restart. Should work after that. Props to PolishDude for figuring that one out.

    If you have tried EVERYTHING and still cannot get it to work for through the process and wait 30 minutes to an hour. The driver might have a cache delay write and you may need to give it some time to allow the sync command to work. This has worked for one other person (mfouco). BTW, this was figured out by coachmai. Props man!

    If su doesn't stick, flash again! You can't overroot it! :D

    Process for turning S back on

    Download this file and unzip it to /sdcard on your device.

    unroot.rar
    http://www.mediafire.com/?12oi5elu7v2y8og
    md5sum: aad4e64126cf8d92d7e8b5abb48fdadd

    Terminal Emulator Method
    1. Open up terminal editor on your device.(I prefer this method b/c you can see the output.)

    a. Type "su" + enter to gain root privileges.

    b. Type "cd /sdcard/unroot" + enter.

    c. Type "sh unroot.sh" + enter.

    d. Follow the onscreen prompts.



    File Explorer Method
    2. Open root explorer, sufbs, or some other file browser with root access.

    a. Navigate to /sdcard/unroot.

    b. Click on unroot.sh and allow it to run. Some file browsers ask permission before they execute scripts.

    c. Wait 18 to 20 seconds and reboot your phone into the bootloader to check if S=on.

    You now have S=ON again.

    Since we opened up the nand to writes you should still retain persistent root privileges.

    Hope this makes it all easier for you.
    Cheers --grankin01 :D

    For everyone that is have trouble writing to the protected areas of the system after following the rooting procedures.

    Reboot into Clockwork recovery and choose the mounts and storage option. From there choose mount system (or whichever protected directory you want access to) and click the trackpad. When unmount system shows you have rw access to the /system directory and all of its subs.
    4
    This is so frustrating... I can't get an installable version of the visionary r11, I've tried Modaco's site and several links from members in this thread and all of them are not installable through Astro. And through Linda file manager, it gives me parsing errors. I'v checked if it has a .zip on the ending but it doesn't. All of them are .apk files but yet aren't installing. I'm dumbfounded....

    Any help would be greatly appreciated. :)

    Here is three versions of visionary. One is run-on-boot, one is not and one is the plus version. Enjoy :D.
    2
    I dont know what i'm doing wrong but it wont let me flash pd15img.zip with clockwork its saying abort bad file or something other....urrr what am I doing wrong?

    Sorry, reboot into hboot and it will check the package and ask you if you want to apply the update.
    1
    Great I just saw this on PaulObrians twitter so this is great news.

    Mackster248 Macky Evangelista
    @PaulOBrien will your visionary app tomorrow be able to root the mytouch 4g as well? Since it roots the desire hd.

    Pual's answer:

    PaulOBrien Paul O'Brien
    @
    @Mackster248 Possibly...

    Question, Did you recompile the kernel for the MT4G yourself? A big thanks to everyone. We all need to dig in out pockets to these developers and not forget them.
    1
    Guys might be a stupid question but how do you get into the hboot on mytouch 4g. I thought it was the power button and camera but that doesn't seem to work.

    Turn off "Fast Boot" under Applications then power on holding Power + Vol Down