[Q] S=off but can't root - myTouch 4G Q&A, Help & Troubleshooting

Please help, I'm trying to root so I can run netflix on mt4g, almost there (i think)
Tysvm2: the folks that wrote: the true root article @
http://forum.xda-developers.com/showthread.php?t=858996
I am trying to flash a custom recovery and rom (hoping to do: panache or CM7 and twrp recovery
(PG86IMG.zip) My end goal is to run netflix app on htc glacier)
I have succeeded in setting up ADB/SDK drivers, etc.
On hboot i see: S=off
I am having a PROBLEM with TRUE ROOT gfree method
At step 12. It says:
"If this is the first time you have rooted your device you will need to run visionary again (temproot w/set system r/w after root checked and then attempt permroot) to make root privileges permanent and then reboot again. Now "su" should work properly for you."
I've run into a problem :
I restarted in hboot and I see s=off but when I try to open terminal:
It reads:
$ export PATH=/data/local/bin:$PATH
$su
PERMISSION DENIED
I tried to run temproot and permroot on visionary + R14 to "seal the deal" & move onto install of the engineering bootloader
It appears I am stuck in between temproot and perm root won't stick for some reason ...
FYI: all sorts of apps force closed immediately after reboot after I ran the reboot it says s=off and has bootloader version 0.86.0000
I just did:
1. a factory reset from hboot
2. Reinstalled visionary + R14
3. And ... astro file manager, terminal emulator app and easy installer, etc
4. i have all the files that the TRUE ROOT thread reccomended but terminal emulator says permission denied when I type: su
PERMISSION DENIED
It looks to me like visionary Is not properly establishing temp root or perm root after s=off.
Suggestions please.
thank you,
CP
HTC GLACIER
s=off
bootloader version 0.86.0000
also: HTC DREAM aka Tmobile g1 rooted with cyanogen old school
Ps: I'm new to the forum culture and I want to be sure to be respectful and post properly; if this is not a proper place for this kind of question please redirect me patiently

Try the older verson of Visionary. R11 I believe. This has come up before and it has worked for other people.

If you have already received the OTA, use Gingerbreak or fre3vo method for temp root instead of Visionary.
I suggest to flash engineering bootloader ASAP, it'll save you the question next time, by allowing to flash custom recovery (thus enabling root by flashing any su.zip package) at any time, independent of the ROM.

I got a replacement phone, and this is what I had to do...
1. Install Visionary r14 and Terminal Emulator
2. Download gfree file and move to phone
3. Temproot (with r/w switched on), then su on TE, then run gfree*
4. Reboot and validate S=OFF
5. Temproot again (with r/w switched on), then click on Permroot

Hi Thank you for your reply, I tried visionary r11 but when I installed it would not run (perhaps i installed the wrong one) my easy install app read it as visionary 1.0 is that the same as R11?

Thank you for your reply but i tried this:
http://forum.xda-developers.com/showthread.php?t=1030119
from Shaddy-Z.(10th April 2011, 01:35 PM) <- thank you Shaddy
"
http://forum.xda-developers.com/show...&postcount=899
It's the last download link."
But my easy install app calls it visionary 1.0 (is that the same as R11?) And it did not work ... it won't even open up, can you tell me do you have any experience with:
Jack R_1's suggestion: "If you have already received the OTA, use Gingerbreak or fre3vo method for temp root instead of Visionary."
What are benefits of gingerbreak vs. fre3vo? I just want to be sure to be careful so as to not brick my baby.

If you already have Radio S-OFF, have you tried flashing custom recovery via fastboot flash recovery? Or does your bootloader version not allow that?
Also try this post:
http://forum.xda-developers.com/showpost.php?p=15943010&postcount=6

I only know about gingerbreak not the other one, it will use a new exploit to gain perm root under gingerbread. But if you have the new OTA that's gingerbread 2.3.4 I think it won't work. Others have upgraded to the new OTA and can't root again, why? Since a new Radio and I think SPL are in this new OTA. And HTC has used a new security method to prevent such things as rooting.
Check this thread
http://forum.xda-developers.com/showthread.php?t=1174344

Flash the .85 engineering bootloader with adb and then clockworkmod from fastboot. You then can use the rooted nandroid backup in rom Bible (if you want to stay stock). Once you do that happy flashing. If you need any help pm me
Sent from my Google Nexus 12! yup I'm from the future

mark manning said:
Flash the .85 engineering bootloader with adb and then clockworkmod from fastboot. You then can use the rooted nandroid backup in rom Bible (if you want to stay stock). Once you do that happy flashing. If you need any help pm me
Sent from my Google Nexus 12! yup I'm from the future
Click to expand...
Click to collapse
Are you sure this holds true for users with newest OTA?

Ace42 said:
Are you sure this holds true for users with newest OTA?
Click to expand...
Click to collapse
As long as he has s-off it will.
Sent from my Google Nexus 12! yup I'm from the future

Ace42 said:
Are you sure this holds true for users with newest OTA?
Click to expand...
Click to collapse
Wait, he can't gain even temp root huh. NM your sol until a dev figures out how to root the gingerbread rom.
Its kind of a long shot. Since you have s-off you can try using the PD15IMG.ZIP from hboot and root the froyo rom. Not sure if that will work or not
Sent from my Google Nexus 12! yup I'm from the future

mark manning said:
Wait, he can't gain even temp root huh. NM your sol until a dev figures out how to root the gingerbread rom.
Its kind of a long shot. Since you have s-off you can try using the PD15IMG.ZIP from hboot and root the froyo rom. Not sure if that will work or not
Sent from my Google Nexus 12! yup I'm from the future
Click to expand...
Click to collapse
I'm using MIUI, I was asking cause I have a friend who's stuck on the new OTA since they accidentally flashed the non-rooted version of the OTA, probably since all of them had the same title and he didn't read...

Okay let me ask this: What about packing an unsigned PD15IMG.zip with ENG HBOOT and/or ClockworkMod Recovery and nothing else inside it? If you have Radio S-OFF, this image should be accepted by the bootloader and give you a route back to root.
I don't know if such a .zip has been made yet for the MT4G but it's not impossible. It's been done for the S-OFF Sensation:
http://forum.xda-developers.com/showthread.php?t=1122053
See "ENG Hboot" - there is a PG58IMG.zip file there, and there is another under "Here is the download link to recovery".
Again this thread has nothing to do with the MT4G but it's the same principle.
So... if there is anyone out there who knows how to pack a PD15IMG.zip for a Radio S-OFF device, please speak up and help out the OP!

Interesting, I think all you need to do is replace the file inside of zip but not totally sure.
Sent from my Google Nexus 12! yup I'm from the future

What I don't know is if the zip has to be constructed in some particular way to be accepted as valid, even with S-OFF. But yeah, there should be a way to flash CWM to the S-OFF bootloader.
Sent from my Nexus One using Tapatalk

Thank you but I don't know what that is exactly.
Ru suggesting I restart holding down on volume and select recovery from hboot?
Sent from my HTC Glacier using XDA App

crouchingpossum said:
Thank you but I don't know what that is exactly.
Ru suggesting I restart holding down on volume and select recovery from hboot?
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
No not yet, gonna try to figure something out for you tomorrow. Be patient please
Sent from my Google Nexus 12! yup I'm from the future

Are you on 2.2.1 or are you on 2.3.?

Okay I'm just poking around blindly in the dark here... I'm not a developer, just a script tinkerer... but if you're brave enough...
I grabbed one of the PD15IMG.zip radio files from the Dev section just to obtain the proper android-info.txt file. Then I created a new zip containing only:
- android-info.txt
- CWM version 3.0.2.4 for Glacier, in .img format, renamed to recovery.img
I've attached it here. Rename it to PD15IMG.zip, put it on the root of your SD, and try booting into HBOOT and see if it prompts you to install the zip. If so, does it succeed?
If yes, then try booting into recovery. Do you get Clockwork?
If it does not succeed, please report any error messages.
I highly doubt this can damage your phone because your ROM is still bootable and your bootloader still works, so the worst you could get is a bad recovery that you have to fix up. But I hold no liability for anything that gets borked

Related

[DISCUSSION] Visionary R14 "with r/w" is out

Paul released Visionary R14 "with r/w"
I used it on a fresh S-ON stock ROM and it roots OK, I tick "mount r/w" and seems OK
Then I boot to bootloader and I see "S-ON", BUT I CAN enter Clockwork and flash my nandroid back
Has somebody else tested it ??
With r/w achieved, seems S-OFF will not be necessary anymore ??
This will save many noobs from bricking their phones
OOpen for discussion
gtrab said:
Paul released Visionary R14 "with r/w"
I used it on a fresh S-ON stock ROM and it roots OK, I tick "mount r/w" and seems OK
Then I boot to bootloader and I see "S-ON", BUT I CAN enter Clockwork and flash my nandroid back
Has somebody else tested it ??
With r/w achieved, seems S-OFF will not be necessary anymore ??
This will save many noobs from bricking their phones
OOpen for discussion
Click to expand...
Click to collapse
Weird.
I'd prefer S-OFF though. Dunno why, just an engineering hboot seems better to me. Like the splash screens. And stuff.
so I can use visionary now instead of S-OFF and install roms and all is that the case?
Problem is you need S-OFF to flash clockwork,
so as long as the ROM you flash doesn't contain a recovery...
That's why this thread is up for discussion, I'd like to hear comments and experiences.
I'd stick to S-OFF in the mean time.
gtrab said:
Problem is you need S-OFF to flash clockwork,
Click to expand...
Click to collapse
...but when you first install the ENG HBOOT you flash it at this point (via dd) - so is the recovery partition not writable but the HBOOT is?
I just do not get the difference between temp root, and then enabling temproot on boot, and permanent root.
I mean if you temp root and then enable temproot on boot, the device will be root every time, so why should you perm root?
Can anyone answer me?
Thanks in advance
buzmay said:
I just do not get the difference between temp root, and then enabling temproot on boot, and permanent root.
I mean if you temp root and then enable temproot on boot, the device will be root every time, so why should you perm root?
Can anyone answer me?
Click to expand...
Click to collapse
I'm sure someone else will have a better answer, but from my own point of view, with the temp root, you haven't properly rooted it really. The phone effectively hasn't been rooted, but you're rooting it specifically every time you boot up, because any writes to the system aren't being saved in permanent storage, only in cache memory (lost when shut down). What if something goes wrong with that process ?
Seems to me it's much better to have the rooting actually written to the phone's permanent storage (NAND).
steviewevie said:
I'm sure someone else will have a better answer, but from my own point of view, with the temp root, you haven't properly rooted it really. The phone effectively hasn't been rooted, but you're rooting it specifically every time you boot up, because any writes to the system aren't being saved in permanent storage, only in cache memory (lost when shut down). What if something goes wrong with that process ?
Seems to me it's much better to have the rooting actually written to the phone's permanent storage (NAND).
Click to expand...
Click to collapse
Thanks for the answer, what if something goes wrong? isn't this method currently the safest?
I was just wonder, because I would like to root my desire z but seems to be quite unstable still with the methods availble, and until there is no ROM that supports A2SD then I do not see a reason for either perm root or S-Off.
So that is why I was wondering.
Gtrab, I've updated to version Visionary r14 and then enabled the new option for R/W, restarted and I still have S-OFF and the ClockWorkMod.
I use root explorer to make changes to the /system partition, it allows to mount it r/w so I think I'm going to disable this on boot option for security...
Have you flashed the stock hboot earlier or did some changes/testing prior the update of this program?
EDIT: here's the link of the Visionary app thread with the description, maybe it can answer some questions.
http://android.modaco.com/content/h...m/322658/19-nov-r14-visionary-one-click-root/
zuachs said:
Gtrab, I've updated to version Visionary r14 and then enabled the new option for R/W, restarted and I still have S-OFF and the ClockWorkMod.
I use root explorer to make changes to the /system partition, it allows to mount it r/w so I think I'm going to disable this on boot option for security...
Have you flashed the stock hboot earlier or did some changes/testing prior the update of this program?
EDIT: here's the link of the Visionary app thread with the description, maybe it can answer some questions.
http://android.modaco.com/content/h...m/322658/19-nov-r14-visionary-one-click-root/
Click to expand...
Click to collapse
I've tested tons of combinations, but yes I did as you say:
Flahsed a fresh untouched ROM from my version's RUU, this turned S-ON and lost root.
Then used Visionary 14 to temp root-> perm root with r/w ticked.
After reboot, I had root and was able to mount r/w on demand, but was unable to install ClockworkMod (CWM) from the ROM Manager app because I was S-ON (obviously because visionary r14 doesn't have engineering hboot).
I think CWM is priceless, so I installed the eng hboot again to go S-OFF.
If you check koush's (ROM Manager) thread, he states CWM requires S-OFF
http://forum.xda-developers.com/showthread.php?t=834731
gtrab said:
I've tested tons of combinations, but yes I did as you say:
Flahsed a fresh untouched ROM from my version's RUU, this turned S-ON and lost root.
Then used Visionary 14 to temp root-> perm root with r/w ticked.
After reboot, I had root and was able to mount r/w on demand, but was unable to install ClockworkMod (CWM) from the ROM Manager app because I was S-ON (obviously because visionary r14 doesn't have engineering hboot).
I think CWM is priceless, so I installed the eng hboot again to go S-OFF.
If you check koush's (ROM Manager) thread, he states CWM requires S-OFF
http://forum.xda-developers.com/showthread.php?t=834731
Click to expand...
Click to collapse
Yes it was the problem, I'm glad it's working for you! I agree with you regarding the CWM
gtrab said:
I've tested tons of combinations, but yes I did as you say:
Flahsed a fresh untouched ROM from my version's RUU, this turned S-ON and lost root.
Then used Visionary 14 to temp root-> perm root with r/w ticked.
After reboot, I had root and was able to mount r/w on demand, but was unable to install ClockworkMod (CWM) from the ROM Manager app because I was S-ON (obviously because visionary r14 doesn't have engineering hboot).
I think CWM is priceless, so I installed the eng hboot again to go S-OFF.
If you check koush's (ROM Manager) thread, he states CWM requires S-OFF
http://forum.xda-developers.com/showthread.php?t=834731
Click to expand...
Click to collapse
Since your guides are so amazing Do you think you can make a dummy one for how to loose root and S-Off, more specifically where to get the stock RUUs and how to flash them?
Do you get them from shipped-roms.com or where?
I just want to be sure in case of having to return back the device.
Thanks in advance
gtrab said:
If you check koush's (ROM Manager) thread, he states CWM requires S-OFF
http://forum.xda-developers.com/showthread.php?t=834731
Click to expand...
Click to collapse
I don't understand why though - if you can flash to the HBOOT partition why can't you flash to the recovery partition?
You can. You'd need to use the wpthis thing before using clockwork. Think I'd prefer S-OFF though.
Sent from a Pulse. Yes, a Pulse.
DanWilson said:
You can. You'd need to use the wpthis thing before using clockwork. Think I'd prefer S-OFF though.
Click to expand...
Click to collapse
OK so Visionary will temproot and then insmod wpthis... So theoretically you could then (without rebooting) run Rom Manager and it could flash ClockworkRecovery, which itself has been modified to include wpthis so you wouldn't need to flash HBOOT?
I know some would prefer to have S-OFF in the HBOOT, but if you're not fussed or don't want to take the risk then the above could be an option... if my understanding's right!?
DanWilson said:
You can. You'd need to use the wpthis thing before using clockwork. Think I'd prefer S-OFF though.
Sent from a Pulse. Yes, a Pulse.
Click to expand...
Click to collapse
What is wpthis??
buzmay said:
What is wpthis??
Click to expand...
Click to collapse
The module that turns off the write protection on the internal NAND storage. See the sticky threads on rooting for more details.
mamoulian666 said:
OK so Visionary will temproot and then insmod wpthis... So theoretically you could then (without rebooting) run Rom Manager and it could flash ClockworkRecovery, which itself has been modified to include wpthis so you wouldn't need to flash HBOOT?
I know some would prefer to have S-OFF in the HBOOT, but if you're not fussed or don't want to take the risk then the above could be an option... if my understanding's right!?
Click to expand...
Click to collapse
the wpthis ("write protect this") effect is temporary since a reboot will delete it and restore stock values
theoretically speaking, you could insmod wpthis and then tell ROM Manager to install CWM
buzmay said:
Since your guides are so amazing Do you think you can make a dummy one for how to loose root and S-Off, more specifically where to get the stock RUUs and how to flash them?
Do you get them from shipped-roms.com or where?
I just want to be sure in case of having to return back the device.
Thanks in advance
Click to expand...
Click to collapse
I've been updating the FAQs day after day,
I think all of your requirements are already there (flashing from RUU, getting the RUUs, how to go back from root and S-OFF, etc. It's all in the FAQ.
Where do I get 'em ?? The Desire Z Android Development forum has several RUUs listed, these are the only ones I am aware of.
A specific link to a specific RUU ?? Not a good idea:
I could link them on the tutorial, but newer ones will always pop up and links will get obsolete, people will get confused.
Thats why I btter state "check the forum for currnt / latest available RUUs".
gtrab said:
I've been updating the FAQs day after day,
I think all of your requirements are already there (flashing from RUU, getting the RUUs, how to go back from root and S-OFF, etc. It's all in the FAQ.
Where do I get 'em ?? The Desire Z Android Development forum has several RUUs listed, these are the only ones I am aware of.
A specific link to a specific RUU ?? Not a good idea:
I could link them on the tutorial, but newer ones will always pop up and links will get obsolete, people will get confused.
Thats why I btter state "check the forum for currnt / latest available RUUs".
Click to expand...
Click to collapse
Could you having s-off and of course perm root, to come back to stock rom could you copy the PC10img to the root of the sdcard and enter into bootloader? will that work?
Thanks a lot in advance

Rooted Phone...but Superuser access is dennied

SO i rooted my mytouch 4g today. I was trying to install Cyogen mod7.
But i have a problem. I am Already rooted ( i know for sure) but when i go into termal emulator and type "Su" it keeps giving me permission denied. Now my question is can i continue to go into rom manager--> And flash CM7 from zip?
Will it work and would eerything work once om on Cm7?
Are you compleatly sure? Go to hboot and check that you have s=off just in-case. Sorry if im not much of a help, im not exactly a pro.
TallestSpoon said:
SO i rooted my mytouch 4g today. I was trying to install Cyogen mod7.
But i have a problem. I am Already rooted ( i know for sure) but when i go into termal emulator and type "Su" it keeps giving me permission denied. Now my question is can i continue to go into rom manager--> And flash CM7 from zip?
Will it work and would eerything work once om on Cm7?
Click to expand...
Click to collapse
If terminal gives you that message then you are not fully rooted.
darksulfur5 said:
Are you compleatly sure? Go to recovery and check that you have s=off just in-case. Sorry if im not much of a help, im not exactly a pro.
Click to expand...
Click to collapse
The recovery will not tell you if s= off. The engineering scree will however.
Tallestspoon how do you "know" you are rooted.
Sent from my HTC Glacier using Tapatalk
neidlinger said:
The recovery will not tell you if s= off. The engineering scree will however.
Tallestspoon how do you "know" you are rooted.
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
Sorry, I meant h boot. Edited and corrected.
Sent from my HTC Glacier using XDA Premium App
Look up MT4GROOT, and download it, it's the easiest way to root the MT4G
This is what I used and it was my first time ever doing anything on a smart phone. Plus it unlocks everything.
http://forum.xda-developers.com/showthread.php?t=834225
Sent from MyTouch 4G: CM7 RC2 using XDA App
Just getting s=off is not enough. S=off will allow you to full root by allowing non official recovery versions to be flashed. Basically s=off means you have disabled the security system that checks the software you are installing is official versions. It does not mean the ROM itself has root. There are specific files and functionality that must be installed to have root access. The SU app can be installed but not functional without these essential files and functions.
Basically there are two kinds of root. Root on a stock device, which inserts the SU functionality into the existing software, the other is root with custom software. The second option requires s=off. (or at least an exploit that gets around it) Temp root is a process in which the system files are copied into a temp location and the software is tricked into using the copied files instead of the real files. That means that rebooting erases the temp files and the software uses the originals again. This is useful in that with these files copied and root enabled through them, they can be used to trick the software to allow the real files to be altered.
After you do get s=off, you must run visionary to temp root again, and before you do, check the box to ensure that system is R/W after temp root completes. This is where you trick the software to allow you to change the real system files.
Remember, if you reboot at any time before perm root is achieved, you will loose root and SU functions.
After temp root you should run visionary again to perm root. I had issues with the app not wanting to start the process for perm root. I just ran the temp root with R/W enabled, downloaded ROM manager from the market, then used ROM manager to flash clockwork recovery. Then I put a ROM zip on my SD and rebooted into recovery and flashed the zip and BAM running on a rooted custom ROM.
Make sure you pick a clockwork version that will work for your intended ROM. You must pick the "all clockwork recoveries" option to select the correct version, as the default version installed is 3.0.0.5
If you want CM7 use 3.0.0.5 if you want any froyo based ROM get the one ending in .12 (as the version .14 never flashes properly, for me at least and that is on 3 different MT4G I have rooted) Now that you have a custom recovery, you can install any ROM you want. (keeping in mind the froyo/gingerbread recovery compatibility)
Remember that just installing a custom recovery is not root either, you must install a new ROM or use visionary to gain perm root.
I am rooted, and s-off. I actually have some restores/ and backups that will take my phone back to unrooted through ROM manager. I can always go back to another backup though, and I am rooted again. Strange but it works somehow. I am using Royal Ginger and love it now, but I could still go back to s-off, unrooted through Clockwork, so I don't understand that.

Root Obtained **EASY!**: T-Mobile G2 2.3.4 official OTA manual update

For those of you wondering why the S-OFF feature was worth your extra time to update, this is a prime example of why S-OFF kicks royal behind.
So here is the situation I was having. Friday morning, T-Mo showed me some love and sent me the Gingerbread update. I didn't have my morning coffee so I wasn't thinking strait and authorized the update. I forgot that it would probably interfere with good ol' ClockworkMod Recovery. Sure enough, it did. So, after the OTA failed due to the recovery, I haven't been able to get T-Mo to show me some OTA love again.
However, I had previously invoked the S-OFF feature when it was discovered how to.
After following the guide at http://forum.xda-developers.com/showthread.php?t=1202060 I found myself with a G2 using stock recovery and bone stock Gingerbread (S-OFF still invoked).
After some thought, I decided to do the following:
Flash ClockworkMod via the bootloader screen, and flash SU via the ClockworkMod screen.
Note: You can only do this if you have S-OFF! And since my guide writing skills are not so pristine, I'm assuming you have some sort of working adb/bootloader/recovery knowledge.
Save the attached files (PC10IMG.zip & su.zip) to your sdcard. Reboot into the bootloader either by using the adb command adb reboot bootloader or by powering off, and then holding Vol-Down+Power.
The bootloader will scan for PC10IMG.zip and then ask you if you want to flash the recovery. Yes! You do!
After this, reboot the phone. Reboot into recovery by using the adb command adb reboot recovery, or booting back into the bootloader and navigating to the Recovery console (if you didn't delete the PC10IMG.zip, bootloader will scan it, but don't let it update again, this is redundant).
Once you are in ClockworkMod, navigate to "install zip from sdcard", then to "choose zip from zip card". Select the su.zip file from the list, and authorize the recovery console to flash the zip. Reboot the phone.
Now, you will see the coveted SuperUser app in your drawer. I figured this was wayyyy to easy to have worked, so I tested some root dependent apps, they work flawlessly. I also used the adb command adb shell followed by su once in the shell. SuperUser requested my permission and after granting it, I am able to remove the bloatware that was replaced during the downgrade, also, rebooting the phone as normal and from a removed battery does not remove this root. So I'll say it's a permaroot.
I compiled the attached files specifically for this. The ClockworkMod Recovery version is 3.0.2.4, SuperUser version is 2.3.6.1.
Thanks!
It sounds like you started where I am: Clockwork Mod, S-OFF and stock Froyo 2.2.
Q. How did you follow the steps in the thread to get onto Gingerbread? Did you remove ClockworkMod? If yes, how did you revert to stock recovery? This is the step that I'm caught on, and can't find a thread regarding. Thanks!
Edit to add:
Did you unroot the phone using these steps?
If so, were you at all scared about the warning regarding PC10IMG.zip?
I ended up using the entire stock 2.2 PC10IMG which wiped clockwork off the phone to stock recovery. I didn't do anything to unroot, since the stock rom replaced recovery, system etc but left s-offf in tact.
ETA: I also didn't read either of those articles and wasn't aware of the bricking issue, I've done the phone flashing, modding and unbricking for about 2 years now and just used experience as a guide..
Sent from my T-Mobile G2 using Tapatalk
rdmerck said:
I ended up using the entire stock 2.2 PC10IMG which wiped clockwork off the phone to stock recovery. I didn't do anything to unroot, since the stock rom replaced recovery, system etc but left s-offf in tact.
ETA: I also didn't read either of those articles and wasn't aware of the bricking issue, I've done the phone flashing, modding and unbricking for about 2 years now and just used experience as a guide..
Sent from my T-Mobile G2 using Tapatalk
Click to expand...
Click to collapse
Okay, so just to verify, you flashed CWM recovery while running the GB update? When you adb shell you open a # prompt? I've been gfree s-off'd since I got my phone so even with the leak or otherwise I've been able to just reflash the stock 1.19/1.22OTA and reroot it but I didn't think to try flashing cwm while it's stock gb'd....so tempted.
I compiled the attached files specifically for this. The ClockworkMod Recovery version is 3.0.2.4, SuperUser version is 2.3.6.1.
Click to expand...
Click to collapse
So I sit down to write up a quick guide this morning and what do I find? Nicely done. Couple of points I wanted to add to why this works -
This method fixes the things that the OTA breaks for root: New stock hboot and stock recovery are flashed and on the rom side it wipes /system/xbin which breaks the su symlink.
Flashing the PC10IMG above fixes the recovery.
Flashing the superuser package reinstalls Superuser.apk, the su binary and fixes the symlink to xbin.
But, still not hboot-eng so your fastboot options are limited.
When I did this I had replaced the DZ engineering hboot.img in rmk's package with the G2 engineering hboot.img and edited android.txt for the new G2 build. This allows you to take care of both in once flash.
Hope this is useful to someone and thank you for saving me from writing a guide!
8/27/2011 Edit:
Realized ro.secure=0 so I repacked the stock boot.img from the 2.3.4 PC10IMG.zip with the below changes to default.prop. This allows use of the "adb remount" so files can be pushed to system folders without needing to go into terminal and mounting rw.
Code:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.service.adb.enable=1
Modified installation instructions for full root:
Flash the PC10IMG.zip with the G2 engineering bootloader in this post
Flash the superuser update.zip in the OP
Extract the attached boot.img to the platform-tools directory
Remove the PC10IMG from your sdcard and reboot into bootloader
Select fastboot
Enter the following command in terminal or cmd:
Code:
fastboot flash boot boot.img
fastboot reboot
Kind Regards,
Kevin
zkid2010 said:
Okay, so just to verify, you flashed CWM recovery while running the GB update?
Click to expand...
Click to collapse
Yes. Just flash the PC10IMG and you have clockwork recovery again. However, you absolutely need SuperCID set while in froyo or this does not work.
Kind Regards,
Kevin
Confirm Here that it works...
Root and S-OFF
Gingerbread OTA 2.3.4
Thanks Guys for your help!
Flawless!
This worked flawlessly!!
I admire you so much for figuring this out!!
Thank you so much!
HELP!
sort of noobie here..
so i just updated my g2 to 2.3.4 following http://forum.xda-developers.com/showthread.php?t=1202060
and now i want to perm root my phone and overclock it but im having troubles.
1. how do i get clockworkmod installed? i know you can install this from rom manager but it requires root. right?
cause you said.. "Just flash the PC10IMG and you have clockwork recovery again"..
i tried flashing the PC10IMG.zip but got an error and says aborted.
any help please?
thanks in advance
If you are already on 2.3.4 and had not previously rooted then this thread will be of no use to you since your G2 does not have SuperCID (again, read the wiki.)
You will need to downgrade back to froyo (other threads on this and links in the wiki.) Once rooted, then install one of the rooted stock roms in this forum or follow this guide to reinstall the recovery and superuser (hboot optional.)
Hope that gets you going in the right direction.
Kind Regards,
Kevin
Sent from my T-Mobile G2 using Tapatalk
G2 Problems??
Hi, how can i get S-OFF on my g2 since it seems i can not generate a beta key from the revolutionary website cause g2 it's not in the drop down list, don't know what to pick and i want to be able to have my g2 rooted with android 2.3.. can somebody help me please?
Thanks.
Revolutionary is not available for the Desire Z/G2. Have you flashed the leaked 2.3.3 and trying to root? PM please.
Hey I notice most of the people in this thread are Americans - would this method work for the DZ or is it just for the G2?
Sorry if this is a noobish question.
Not a noob question, this one is new for me too. Fundementals are the same, process would be the same. I don't know if there is any issue using a PC10IMG with the info for a G2 (contained in the file called android-info) so may need rebuild one modified with DZ information.
Proceed with caution and do not do anything you are not 100% sure about.
Sent from my T-Mobile G2 using Tapatalk
I'll hold off on confirming the update in that case! I'm still on stock firmware, didn't apply the update from March either. When I've read enough to be confident on how to perma-root the current firmware I might risk following the method in this thread. Then I'll post back to let you know if it works on the DZ.
My DZ came with 1.34 firmware, I rooted it on this firmware. I accidentally upgraded it and am now on the OTA gingerbread ROM. Is this method suitable in this situation or do I require to flash a rooted stock ROM for this method to work.
Accidentally manually applied the OTA? Should work, you have a G2 now!
Sent from my HTC ThunderBolt using Tapatalk
Is there any newbie guide for how to do this? From getting Clockwork on there to getting this rooted 2.3.4 on. I have a rooted 2.2 with S-OFF right now, stock. Just don't really know what to do from this point on.
How to is in the OTA thread (which needs a helping of Iron Fist.) Come back here when ready to re-root.
Sent from my T-Mobile G2 using Tapatalk
rdmerck said:
Save the attached files (PC10IMG.zip & su.zip) to your sdcard. Reboot into the bootloader either by using the adb command adb reboot bootloader or by powering off, and then holding Vol-Down+Power.
The bootloader will scan for PC10IMG.zip and then ask you if you want to flash the recovery. Yes! You do!
After this, reboot the phone. Reboot into recovery by using the adb command adb reboot recovery, or booting back into the bootloader and navigating to the Recovery console (if you didn't delete the PC10IMG.zip, bootloader will scan it, but don't let it update again, this is redundant).
Once you are in ClockworkMod, navigate to "install zip from sdcard", then to "choose zip from zip card". Select the su.zip file from the list, and authorize the recovery console to flash the zip. Reboot the phone.
Now, you will see the coveted SuperUser app in your drawer. I figured this was wayyyy to easy to have worked, so I tested some root dependent apps, they work flawlessly. I also used the adb command adb shell followed by su once in the shell. SuperUser requested my permission and after granting it, I am able to remove the bloatware that was replaced during the downgrade, also, rebooting the phone as normal and from a removed battery does not remove this root. So I'll say it's a permaroot.
I compiled the attached files specifically for this. The ClockworkMod Recovery version is 3.0.2.4, SuperUser version is 2.3.6.1.
Click to expand...
Click to collapse
**** Im at the step above finally lol this is my first root and I had to downgrade, man Ive been doing this for hours and hours. My brain is fried LMAO **** I currently have my G2 with S-OFF and a stock Gingerbread 2.3.4. I have the PC10IMG.zip and su.zip in the root or directly in my sdcard. In no folders im trying to say... I reboot into the bootloader. The bootloader will scan for PC10IMG.zip and then ask you if you want to flash the recovery. Yes! You do!
Well when I do it it doesnt ask me to "flash the recovery" it says "Parsing....(SD ZIP)
(1) RECOVERY
Do you want to start the update?
<VOL UP> YES
<VOL DOWN> NO
I accept the update by pressing vol. up. It comes back and says Update comeplete... - OK
Press Power to Reboot
I reboot and get into clockworkmod it says click "install zip from sdcard" I click it and a little hat appears but it doesnt do anything from there. I let it set a couple of min but still nothing... I have to pull battery out to get it to reboot. help pls....
Sean...

Can I regain root access after using RUU

Hello all,
I just ran RUU 2.2 to my wildfire, and used some command prompt actions to flash a new 1.0.0001 hboot to regain S-on. (Used Instructions Here: http://forum.xda-developers.com/showthread.php?t=1160251 )
Then I tried to run revolutianary tool to regain root access, but I only gain S-on and after the tool goes not responding (although i choose yes when it asks me to download clockwordrecovery and install it)..... tried to run unrevoked after that (since i goot s-off but no root) but no luck,it gives the too new firmware error..
So, since I couldn't root, I reused the command prompt to regain S-On... I did all that from the very beginning just to get root access but on stock froyo, coz I didn't like CM...
Sent from my HTC Wildfire using XDA App
There is a lot of confusion in your post.
Alyzembawy said:
Tried to run revolutianary tool to regain root access, but I only gain S-on
Click to expand...
Click to collapse
Revolutionary doesnt give you S-ON. It gives S-OFF. It doesn't give you root access either. Superuser binary does, which has to be flashed after you get S-OFF and Clockworkmod
Alyzembawy said:
So, since I couldn't root, I reused the command prompt to regain S-On... I did all that from the very beginning just to get root access but on stock froyo, coz I didn't like CM...
Click to expand...
Click to collapse
You never got S-OFF as per your post. How did you S-ON a S-ON phone?
Anyway, from what I get, you have Stock Froyo, and you have S-ON, and you simply want root access? In that case, there are 2 ways
1) Gain S-OFF again using Revolutionary . Then install Custom Recovery (Seperately, if Revolutionary is not working / giving you an error), and simply flash the Superuser Binary in Clockworkmod
Or
2) Gain S-OFF using Revolutionary, then gain S-ON again using the same command prompt tools. But, instead of flashing HBoot 1.01.0001, flash HBoot 0.80.x. This will allow you to root using Unrevoked, as was the case earlier
3xeno said:
There is a lot of confusion in your post.
Revolutionary doesnt give you S-ON. It gives S-OFF. It doesn't give you root access either. Superuser binary does, which has to be flashed after you get S-OFF and Clockworkmod
You never got S-OFF as per your post. How did you S-ON a S-ON phone?
Click to expand...
Click to collapse
Yeah sorry i meant that i got s-off after running revolutionary tool
Alyzembawy said:
Yeah sorry i meant that i got s-off after running revolutionary tool
Click to expand...
Click to collapse
I checked your Edited post. Well, just follow one of the 2 methods I listed below, either of them will work.
3xeno said:
Anyway, from what I get, you have Stock Froyo, and you have S-ON, and you simply want root access? In that case, there are 2 ways
1) Gain S-OFF again using Revolutionary . Then install Custom Recovery (Seperately, if Revolutionary is not working / giving you an error), and simply flash the Superuser Binary in Clockworkmod
Or
2) Gain S-OFF using Revolutionary, then gain S-ON again using the same command prompt tools. But, instead of flashing HBoot 1.01.0001, flash HBoot 0.80.x. This will allow you to root using Unrevoked, as was the case earlier
Click to expand...
Click to collapse
Can you please link me instructions to do these two steps, and which do you think is safer and easier ?!
And thanks btw
Alyzembawy said:
Can you please link me instructions to do these two steps, and which do you think is safer and easier ?!
And thanks btw
Click to expand...
Click to collapse
Depends, but the first should be easier, since you have already performed it yourself. The procedure remains exactly the same, just that you do not flash the CM7 ROM File, but simply flash the Superuser Binary file to gain root.
- Run Revolutionary
- Gain S-OFF
- When it asks to install a Custom Recovery, Select Y, and if it installs, well and good.
- If it doesn't, follow this guide to install Clockworkmod - http://forum.xda-developers.com/showthread.php?t=1130044
- Once Clockworkmod is installed, download Superuser Binary here: http://bit.ly/su2361ef and place it on your SDCard
- Reboot into Clockworkmod Recovery and flash it. (Install Zip from SDCard > Select the zip file you just placed)
3xeno said:
Depends, but the first should be easier, since you have already performed it yourself. The procedure remains exactly the same, just that you do not flash the CM7 ROM File, but simply flash the Superuser Binary file to gain root.
- Run Revolutionary
- Gain S-OFF
- When it asks to install a Custom Recovery, Select Y, and if it installs, well and good.
- If it doesn't, follow this guide to install Clockworkmod - http://forum.xda-developers.com/showthread.php?t=1130044
- Once Clockworkmod is installed, download Superuser Binary here: http://bit.ly/su2361ef and place it on your SDCard
- Reboot into Clockworkmod Recovery and flash it. (Install Zip from SDCard > Select the zip file you just placed)
Click to expand...
Click to collapse
Well that's funny, this time revolutionary tool just worked, and it reported "SUCCESS" about flashing CWM... So now am I fully rooted, or I still have to flash the binary super user app ?!
Alyzembawy said:
Well that's funny, this time revolutionary tool just worked, and it reported "SUCCESS" about flashing CWM... So now am I fully rooted, or I still have to flash the binary super user app ?!
Click to expand...
Click to collapse
You'll still have to flash Superuser to gain root access. The correct terminology is that it is a ROM which is rooted. A phone is never rooted.
Also, since you are keeping S-OFF, don't forget the Sense Fix here:
http://forum.xda-developers.com/showthread.php?t=1156713
3xeno said:
You'll still have to flash Superuser to gain root access. The correct terminology is that it is a ROM which is rooted. A phone is never rooted.
Also, since you are keeping S-OFF, don't forget the Sense Fix here:
http://forum.xda-developers.com/showthread.php?t=1156713
Click to expand...
Click to collapse
Ok, so now I will flash superuser to gain root acces, then flash the Sense Fix... Do I have to hard reset after all this ?!
Alyzembawy said:
Ok, so now I will flash superuser to gain root acces, then flash the Sense Fix... Do I have to hard reset after all this ?!
Click to expand...
Click to collapse
Not necessary, (Flashing both, Superuser and the sense fix doesn't touch your data) but, remember to take a Nandroid Backup though, in Clockworkmod, just in case.
3xeno said:
Not necessary, (Flashing both, Superuser and the sense fix doesn't touch your data) but, remember to take a Nandroid Backup though, in Clockworkmod, just in case.
Click to expand...
Click to collapse
Uhm, When I go to CWM and select Installl ZIP from SD Card, it goes to a black screen with the logo "REVOLUTIONARY" on... and the nothing...
Edit. Ah sorry, I was using the power button to select
Nvm

[Q] Help?

Ok so i recently just updated froyo to gingerbread beacause i was tired of it and i was perm rooted and now im not im version 2.3.4 and i have still have s-off anyone please help me get rooted without downgrading?!
how did you "upgrade"?
What's so damn urgent? The world will end (again...) if you won't be rooted?
And if it's so damn urgent - how about spending 5 min on Google-searching to discover the answer without even opening a thread? Hint - there's "root for s-off" thread, more than one.
To root you have to downgrade.... Did you use pd15.
This is NOT urgent. Damn people
Sent from my HTC Glacier using xda app-developers app
rockstarar said:
To root you have to downgrade..
Click to expand...
Click to collapse
No he doesn't - if he used gfree when rooted originally (and stayed S-OFF as a result), he can root at any given moment without any complications.
Jack_R1 said:
No he doesn't - if he used gfree when rooted originally (and stayed S-OFF as a result), he can root at any given moment without any complications.
Click to expand...
Click to collapse
Yep. He all he has to do is use fastboot to flash a recovery and flash a rooted ROM.
fastboot to flash a recovery and flash a rooted ROM.
Can someone help me fastboot recovery (what does that mean) and can someone give me a working android 2.3.4 mytouch 4g rooted rom many thanks!
-xXCyberSpiderXX
xXCyberSpiderXx said:
Can someone help me fastboot recovery (what does that mean) and can someone give me a working android 2.3.4 mytouch 4g rooted rom many thanks!
-xXCyberSpiderXX
Click to expand...
Click to collapse
You need to learn to use Google. You got yourself into a situation you don't know how to get yourself out of because you decided not to do your research. Now you are refusing to research again. I will give you a link to a 5 minute adb/fastboot install, but you get to use Google to figure out how to use it.
http://forum.xda-developers.com/showthread.php?t=928370
Just one additional clarification:
fastboot won't help him, since he's on stock HBOOT that will refuse fastboot.
What he can do, is to look for "root for s-off" thread, that has the required PD15IMG and instructions to get ONLY the engineering HBOOT and custom recovery in place.
If he won't find it - means he doesn't need to be rooted in first place.
From the custom recovery he'll need to find and install Superuser/SuperSU ZIP. And it's described in the thread.
Jack_R1 said:
Just one additional clarification:
fastboot won't help him, since he's on stock HBOOT that will refuse fastboot.
What he can do, is to look for "root for s-off" thread, that has the required PD15IMG and instructions to get ONLY the engineering HBOOT and custom recovery in place.
If he won't find it - means he doesn't need to be rooted in first place.
From the custom recovery he'll need to find and install Superuser/SuperSU ZIP. And it's described in the thread.
Click to expand...
Click to collapse
I hadn't been on the stock HBOOT in so long I had forgotten. Thanks, Jack. You're as helpful as ever.
Thank you estallings15 for all your hard work i was looking it up and then i decided to fastboot back to 2.2.1 and i did perma root on it and then when i downgraded i didnt lose s-off which is weird so im going to install this custom 2.3.4 rooted rom many thanks!
link to rooted rom if anybody wants http://forum.xda-developers.com/showthread.php?t=1264704
-xXCyberSpiderXx
Plus i forgot im going to flash the rom through clockworkmod recovery
You must have gotten S-Off with gfree. A PD15IMG.zip flash won't turn the security flag on when you use gfree.
Also, Jack_R1 was very helpful as well. He simply wants people to do their research and know how to solve a problem before they run into it, as do I.
Hopefully, now you know what happened, why, and how to fix it in the future if you or another person get into the same situation or a similar one. Good luck, and enjoy your phone!
i did use gfree but i just updated through hboot im going to see if i have root now,
xXCyberSpiderXx said:
i did use gfree but i just updated through hboot im going to see if i have root now,
Click to expand...
Click to collapse
Through HBOOT or recovery?
I was gonna get in earlier because i had this same issue but since jack and estallings were helping you, i didn't. Here is what you do.
-Go to the downgrade guide, download fr3vo
-Use the guide to achieve temp root, no need to downgrade android version or anything, just get temproot
-The above step should give you permaroot
-Get Rom Manager and flash clockwork
-There ya go
ok so i was going to flash the rooted rom through recovery but it didnt work so i had no choice but to do hboot im so lost and it didnt even root me please help. ive been researching for 12 hours straight
THEindian said:
I was gonna get in earlier because i had this same issue but since jack and estallings were helping you, i didn't. Here is what you do.
-Go to the downgrade guide, download fr3vo
-Use the guide to achieve temp root, no need to downgrade android version or anything, just get temproot
-The above step should give you permaroot
-Get Rom Manager and flash clockwork
-There ya go
Click to expand...
Click to collapse
ok thanks and all but after i flash clockwork recovery then what.... and if ur saying then flash the rooted rom i cant because it says you NEED perma root but all i have is s-off (through gfree method) ok ok so once i temproot it should give me perm root?
but if i have perm root what would i need to flash clockwork (what im saying is why would i need to flash a rooted 2.3.4 rom)
xXCyberSpiderXx said:
ok thanks and all but after i flash clockwork recovery then what.... and if ur saying then flash the rooted rom i cant because it says you NEED perma root but all i have is s-off (through gfree method) ok ok so once i temproot it should give me perm root?
but if i have perm root what would i need to flash clockwork (what im saying is why would i need to flash a rooted 2.3.4 rom)
Click to expand...
Click to collapse
What i told you should give you permaroot.
OK so I just temp rooted on the downgrading page I followed all the steps to temp root I got temp root but no perm root help??
Sent from my HTC Glacier using xda app-developers app

Categories

Resources