[Q] How to root Gratia with stock Froyo 2.2 hboot 1.02 - revolutionary or unrevoked?

Dark_Horse

Senior Member
Apr 16, 2008
119
30
0
London
Looking to permanently root my HTC Gratia running stock Froyo 2.2 and HBoot 1.02 but can't figure out what I need to do. I don't want to install any custom recoveries or ROM's just yet so does that mean I don't need to S-Off?

Should I root using http://unrevoked.com/recovery/ in this thread:
http://forum.xda-developers.com/showthread.php?t=788737

Or should I root using revolutionary in this thread which also does S-Off:
http://forum.xda-developers.com/htc-aria/help/root-gratia-aria-2014-confused-t2863923

Do the two links work for the HTC Gratia as well as the Aria as there is a difference in the baseband and I don't want to lose 3G on my Gratia (the Aria has a different frequency for 3G and some have lost their 3G after flashing/rooting).

Also, it seems the CWM custom recovery installed in the two links above may have a bug that causes the display to show the recovery screen when charging (see http://forum.xda-developers.com/showthread.php?t=2474662 and
http://forum.xda-developers.com/showthread.php?t=1159237). Does anyone know which version of CWM is installed by unrevoked and revolutionary and is there a version that doesn't have this bug so you can charge properly off-line?

One last thing, on the HTCDev website, it says the bootloader can be unlocked which also roots the phone. However, if I restart the phone, I think root is lost so this is not permanent. See http://forum.xda-developers.com/showpost.php?p=24831976&postcount=8 and also taken from the HTCDev.com site with relevant section highlighted in red:

"You do not need to turn security off to accomplish the basic installation of a custom rom which even includes providing root access and remounting your system to be writable. Note: you shouldn’t really need to keep the system files writable across reboots as this is primarily useful only while developing.".

If I do unlock the bootloader, does this root the phone or do I have to do something else?

All very confusing so if anyone could advise, that would be great. All I want is root for my stock Gratia Froyo 2.2 without custom recovery (if possible) or firmware or any charging bugs when the mobile is switched off! Thanks in advance.
 
Last edited:

WinSuk

Senior Member
Jan 18, 2011
512
873
0
winsuk.net
First off, ignore anything about unrevoked - it's an exploit for the old bootloader, and doesn't work on the newer one (1.02).
Revolutionary is probably the best way to go... I don't know of a way to get permanent root with the S-ON system protection.
This guide you already linked is the best IMO, and I think should be stickied...
Newer Revolutionary automatically installs its own recovery, so you can skip that part of the guide.
Just unlocking the bootloader doesn't add the required stuff for root (unless it's a script or something that does both).. So you'll need to install the SU zip linked at the bottom of that guide, then you should have root :p

Off-mode charging doesn't work with some recoveries because it's a part of the same recovery image, just telling it to boot differently - so if a recovery doesn't support off-mode charging, it just boots normally :)
I dug back a few pages and found this one: http://forum.xda-developers.com/showthread.php?t=1025704
I think I used it a long time ago, but I don't really remember much about it :p
Should be able to just install the zip from your current recovery. If not, extract recovery.img from it and boot the phone into fastboot, then run "fastboot flash recovery recovery.img" from your PC.

Sorry if I'm too late, there's hardly any activity here anymore so I don't check threads I'm not subscribed to very often :p
 
Last edited:
  • Like
Reactions: Dark_Horse

Dark_Horse

Senior Member
Apr 16, 2008
119
30
0
London
First off, ignore anything about unrevoked - it's an exploit for the old bootloader, and doesn't work on the newer one (1.02).
Revolutionary is probably the best way to go... I don't know of a way to get permanent root with the S-ON system protection.
This guide you already linked is the best IMO, and I think should be stickied...
Newer Revolutionary automatically installs its own recovery, so you can skip that part of the guide.
Just unlocking the bootloader doesn't add the required stuff for root (unless it's a script or something that does both).. So you'll need to install the SU zip linked at the bottom of that guide, then you should have root :p

Off-mode charging doesn't work with some recoveries because it's a part of the same recovery image, just telling it to boot differently - so if a recovery doesn't support off-mode charging, it just boots normally :)
I dug back a few pages and found this one: http://forum.xda-developers.com/showthread.php?t=1025704
I think I used it a long time ago, but I don't really remember much about it :p
Should be able to just install the zip from your current recovery. If not, extract recovery.img from it and boot the phone into fastboot, then run "fastboot flash recovery recovery.img" from your PC.

Sorry if I'm too late, there's hardly any activity here anymore so I don't check threads I'm not subscribed to very often :p
Thanks so much Winsuk for taking the time to reply.

You mentioned that unlocking the bootloader doesn't add anything for rooting but is it possible to install the SU zip using the stock recovery? I've read this guide and that guide for other HTC phones that seems to suggest that you can only do this by temporary flashing a custom recovery to install the SU zip. Is it not possible to install a zip using the stock recovery? I really want to do as little as possible and not touch the stock ROM or recovery if at all.

Also, I dont mind if the root is temp and is lost when restarting as I guess I would be able to install Titanium Backup and remove the factory apps I don't want (like FaceBook, Twitter,). Also, if I need to update the hosts file, once updated, if it is re locked by losing root after a restart then that's ok too.

Sorry if all these are too many questions, I'm not really a noob when it comes to rooting but for this little Gratia, there's not much info available and everything seems to be for the Aria which has a different baseband so very wary of flashing anything.
 

WinSuk

Senior Member
Jan 18, 2011
512
873
0
winsuk.net
No, the stock recovery only accepts packages signed by HTC.
You can flash it back on after if you extract it from the RUU though. RUU downloads here if you don't already have one: http://www.androidruu.com/?developer=Liberty
Leave the phone unplugged (just in case) and run the RUU.. Once it appears, open task manager and go to processes/details (depending on what Windows you have), right click ARUWizard.exe, and click open file location (or something similar).
In that folder will be rom.zip (copy it out for later use if you want) - open it and inside will be recovery.img :) (and everything else that could ever be on the phone pretty much)
If you don't have access to a Windows PC, let me know which RUU matches your phone and I can extract it for you. If there isn't one exactly matching your phone, any of them will probably work - I don't think the recovery image differs much, if at all...
 
Last edited:
  • Like
Reactions: Dark_Horse

Dark_Horse

Senior Member
Apr 16, 2008
119
30
0
London
Thanks again Winsuk, much appreciated.

My current stock build is 47.54.35.20U_7.13.35.13 and the build is 2.37.405.10 so those RUU's you linked are very old. I've found a slightly newer Gratia Froyo RUU at 2.37.405.11 so that should work and it;s the WWE version rather than Asia WWE.

I'm thinking the best way to do this might be to unlock the bootloader and temporarily install a custom recovery to flash SU.zip. On reboot, the temporary custom recovery is lost but I think the root is also lost too. Seems that S-Off is the only way to achieve permanent root but even that doesn't seem to work cleanly. Revolutionary says that if Titanium doesn't recognise a rooted device then install Busy Box.

Might just leave it unrooted as is :(

My Lenovo P780 was a piece of cake to root compared to HTC.