[Solved] Root lost after factory reset - HTC Inspire 4G

Hi all,
My phone is 2.3.5 stock with sense 3.0
I have followed the easy root kit to successfully updated hboot, unlocked bootloader, installed CWM and rooted with superuser working just fine.
However, I did a factory reset from the Settings afterwards, and superuser started to misbehave:
1. it either won't load with a complete white screen.
2. Or it would load successfully but won't be notified when other apps trying to request root access.
I have booted the phone into recovery and flashed the su.zip couple times, but nothing has changed for the better.
I am wondering if I have to
1. rerun the root kit one more time to unlock BT, flash CWM and install SU.
2. or have to go back to the original state by rerunning the RUUxx.exe file downloaded from HTC, then run root kit.
2.1 Will rerun RUU clean up all the CWM and SU stuff and go back to the original state?
Any advice will be greatly appreciated.
Thanks

ktan.us said:
Hi all,
My phone is 2.3.5 stock with sense 3.0
I have followed the easy root kit to successfully updated hboot, unlocked bootloader, installed CWM and rooted with superuser working just fine.
However, I did a factory reset from the Settings afterwards, and superuser started to misbehave:
1. it either won't load with a complete white screen.
2. Or it would load successfully but won't be notified when other apps trying to request root access.
I have booted the phone into recovery and flashed the su.zip couple times, but nothing has changed for the better.
I am wondering if I have to
1. rerun the root kit one more time to unlock BT, flash CWM and install SU.
2. or have to go back to the original state by rerunning the RUUxx.exe file downloaded from HTC, then run root kit.
2.1 Will rerun RUU clean up all the CWM and SU stuff and go back to the original state?
Any advice will be greatly appreciated.
Thanks
Click to expand...
Click to collapse
Try reflashing SU in CWM or flash superSU...you don't need to run the tool or a RUU.

glevitan said:
Try reflashing SU in CWM or flash superSU...you don't need to run the tool or a RUU.
Click to expand...
Click to collapse
Thanks for your advice.
I did flash SU several times to no avail. I can see the SuperUser in the app drawer, it just won't work as before.
So I can flash superSU in the same way in CWM?
Would that override SuperUser or they would just co-exist?
Thanks

Flashing SuperSU did the trick!!!
Much to my pleasant surprise, SuperUser is automatically removed! At least I don't see it in the app drawer anymore.
It is rooted again now!
Thanks a lot

Glevitan rocks!
Sent from my Desire HD using xda app-developers app

Related

[Q] should I update to 2.3.2 and reroot?

I recently just rooted my sns and got a notification for 2.3.2 and was wondering if I should install the update and see if the root sticks or
Unroot then install the update then root my sns
Sent from my Nexus S using XDA App
I'm assuming you're on stock rom.
Go ahead and update; some people are reporting they don't even lose root. I lost root privileges when I updated on stock rom but the files were still there, they had just had their executable permissions changed by the update. They're easy enough to get back.
I made some steps to follow using Clockwork Recovery that ensure you update and keep your root without needing a computer or any reboots. They're here" http://forum.xda-developers.com/showpost.php?p=10811723&postcount=29
If you have stock recovery and don't want to use Clockwork, go to the first post in that thread, and there's a link for stock recovery updates.
Edit, if you've got the OTA notification, you can just let it do its thing, and if you do lose root, just use fastboot to flash clockwork and then re-run the su zip file from it. You're back to full root.

unroot confirmation

hey all, currently have a g2x rooted with cm7, and i've been looking to unroot;
just to make sure i dont do anything stupid, i wanna run this through with you guys:
first i would flash the stock 2.3.3 ota rom for g2x
then use the http://forum.xda-developers.com/showthread.php?t=1056847 (one click nv flasher) to get back to lg stock recovery by clicking 'flash stock recovery' (do i need to dl anything extra for this?)
then im done, correct? if i boot up, ill get all the stock rom and apps and bloatware and etc back right?
thanks!
edit: how do i know which version of clockwork mod i have installed? im not sure if i did the external sd support or not...
You've gone back to a stock ROM, you've gone back to the stock recovery, but you haven't actually unrooted.
Whichever method you used to root, you should be able to use that same method to unroot.
UPDATE:
I was originally under the assumption that your 2.3.3. ROM was rooted. If it is stock you should be fine.
sorry for bump, but i read in tga_gunmans post that ppl should flash a rooted 2.3.3 rom and use superoneclick to unroot...would my method work too?
No your way would not work because the stock OTA by xboarder is rooted. Do what tga_gunman said. Flash the rom, use my unroot zip in CWM (deletes root files) and then flash the stock recovery. Busybox will still be on the phone but nobody should be looking for that.
Unroot zip: http://www.mediafire.com/?2vr7cmgg7qcdn14
Easiest way to confirm if your not rooted would be to install Superuser from the market. It'll tell you if the phone's not rooted.
There is an app on the market called Root Checker which is free. It will tell you if you are rooted or not.
A little extra help for me?
jboxer said:
No your way would not work because the stock OTA by xboarder is rooted. Do what tga_gunman said. Flash the rom, use my unroot zip in CWM (deletes root files) and then flash the stock recovery. Busybox will still be on the phone but nobody should be looking for that.
Unroot zip:
Click to expand...
Click to collapse
Thanks for your help jboxer. Forgive my noob-like understanding of rooting/unrooting terminology. Hopefully you'll be able to understand what I did.
Last night I went ahead with the unrooting process on my G2X which was running Gingerbread & CM7 following this youtube video (can't post link due to noobiness: watch?v=ryGIv8KQVIE), the order that this guy goes in is:
1. Wiping all cache/user data/formatting in CWM recovery
2. Restore to a barebones stock data in CWM recovery
3. Flash to go back to Stock using OneClickRecovery
4. SuperOneClick to unroot phone
What I ended up doing was restoring my phone to the backup that I created on my sd card when first rooting my phone rather than download that zip file in the video description which is a completely fresh start.
However, whenever I flashed to go back to stock using OneClickRecovery, it gave me that total barebones fresh start where I had to completely set up my Android from the first start screen and I lost my backup. Also, when I go to unroot the phone with that zip file, I don't know how to 'install from zip' after I've lost CWM Recovery menu. So, I flashed back to CWM so I could recover my backup from my SD Card again and install the 'unroot.zip' that you linked and it ran alright and I restarted, but I still had 'SuperUser' in my App drawer telling me that I was still rooted.
I ended up calling it good last night after spending two hours on it. I left my phone rooted, with CWM recovery still on my phone, but I at least I had my backup Gingerbread image with no CM7 mod. So, my phone is functional, but I would like to complete this process of unrooting completely.
Could you perhaps give a little guidance and clarity to what I'm missing or not understanding? I'd love to unroot/flash back to stock recovery/remove all evidence of rooting AND keep my recovered backup that I have before I even started rooting my phone.
Thank you so much for all your help, everybody.

Downgraded, ROM Mangager installed, CWM Flashed, Hanging at HTC

so, as the title implies, i was successfully downgraded to 2.2, used z4root to temp root and used ROM Manager to flash CWM recovery.
i am able to boot into android just fine, but when i try to boot to recovery, it hangs at the HTC screen.
i've tried flashing recovery twice within ROM Manager with the same result.
any ideas?
strra said:
so, as the title implies, i was successfully downgraded to 2.2, used z4root to temp root and used ROM Manager to flash CWM recovery.
i am able to boot into android just fine, but when i try to boot to recovery, it hangs at the HTC screen.
i've tried flashing recovery twice within ROM Manager with the same result.
any ideas?
Click to expand...
Click to collapse
Don't use z4root. Use Visionary.
all in 1 speedy zip:
http://forum.xda-developers.com/showthread.php?p=21749668
root guide:
http://forum.xda-developers.com/showthread.php?t=1357157
strra said:
so, as the title implies, i was successfully downgraded to 2.2, used z4root to temp root and used ROM Manager to flash CWM recovery.
i am able to boot into android just fine, but when i try to boot to recovery, it hangs at the HTC screen.
i've tried flashing recovery twice within ROM Manager with the same result.
any ideas?
Click to expand...
Click to collapse
Can you boot into Bootloader? What does it say? Does it say S-Off? Are you certain you rooted properly? You can use [Win32 Tool]GUI Root with Check and Recovery, otherwise know as ShiftRRv1.0 . It will check and confirm if your rooted. It will also root your device if you so want, and install recovery. Have used it several with Zero issues . Just connect your device via USB, and follow the prompts.
prboy1969 said:
Can you boot into Bootloader? What does it say? Does it say S-Off? Are you certain you rooted properly? You can use [Win32 Tool]GUI Root with Check and Recovery, otherwise know as ShiftRRv1.0 . It will check and confirm if your rooted. It will also root your device if you so want, and install recovery. Have used it several with Zero issues . Just connect your device via USB, and follow the prompts.
Click to expand...
Click to collapse
Definitely does not have s-off. He needs to do the misc.img trick and hold volume down button with PG06IMG.zip on the card. This has happened to me a bunch of times. He flashed CWM with temproot. z4root doesn't work on shift.

Odd Situational Question about Rooting

First of all, I apologize if this is the wrong area to ask this question. I've been to two other forums with my question and have been told to sod-off without help because I posted in the wrong section
Okay, so I bought my first android phone the other day (HTC Inspire!) and I must say, I am never going back to an iPhone ever again.
However, I am a complete and total noob to rooting (as you will find out)
I successfully rooted my phone upon receiving it (with ACE Advanced Hack Kit) and upon trying to install a custom ROM, received an error (to which I cannot seem to remember specifically what it was). I called a friend who told me to re-run the hack kit, which was a bad idea. It ended up freezing on the radio downgrading and put my phone into a bootloop.
I got it out of bootloop after a few hours of research and reset the phone back to its original settings.
Now, my question is: My phone, in HBOOT, still shows that it is "S-OFF." Would it be okay for me to run it through Ace Advanced Hack Kit again to install CWM? I tried using ROM Manager to flash it over, but rom manager is saying my phone isn't rooted at all, which confuses me. I keep getting the error "An error occurred while attempting to run privileged commands!"
Any help or advice you guys can shed would be wonderful.
Once you are s off never run the hack kit again unless you are going to reverse to s on. Your friend gave you some bad advice. Rooted and s off are not the same thing. S off allows flashing of pd98img and custom recovery. Root is an ability within the Rom you use. From your phone install superuser from the market. That will give you root and will let you install a custom recovery through Rom manager. Only install recovery with Rom manager. Don't let Rom manager install a Rom as it is buggy at best. Or you can use 4ext recovery. Once you have a custom recovery do a backup so you can restore if things go wrong. Download whatever Rom you want to use then you want to always select (within recovery) wipe data/factory reset and then wipe dalvik. This should leave you with an empty data, cache and dalvik and also erases android.secure on sd card. Once there you can install a Rom. Never use the factory reset from Rom or hboot with s off as it will really screw things up. Also almost every custom Rom has superuser and busybox installed already so you shouldn't need to install superuser again.
Gizmoe said:
Once you are s off never run the hack kit again unless you are going to reverse to s on. Your friend gave you some bad advice. Rooted and s off are not the same thing. S off allows flashing of pd98img and custom recovery. Root is an ability within the Rom you use. From your phone install superuser from the market. That will give you root and will let you install a custom recovery through Rom manager. Only install recovery with Rom manager. Don't let Rom manager install a Rom as it is buggy at best. Or you can use 4ext recovery. Once you have a custom recovery do a backup so you can restore if things go wrong. Download whatever Rom you want to use then you want to always select (within recovery) wipe data/factory reset and then wipe dalvik. This should leave you with an empty data, cache and dalvik and also erases android.secure on sd card. Once there you can install a Rom. Never use the factory reset from Rom or hboot with s off as it will really screw things up. Also almost every custom Rom has superuser and busybox installed already so you shouldn't need to install superuser again.
Click to expand...
Click to collapse
I've installed SU from the play store, but when I go into ROM Manager, it is still saying superuser isn't installed, or I'm not rooted.
Actually you can use the hack kit again BUT you have to go into the optional menu and not use the main option of root.
In the optional screen their is an option to install cwr.
Or alternatively you can install cwr via a pd98img.
phyzorz said:
I've installed SU from the play store, but when I go into ROM Manager, it is still saying superuser isn't installed, or I'm not rooted.
Click to expand...
Click to collapse
If you are S-OFF but flashed a RUU then you are not rooted anymore. You can do as Mardsta says and flash SU in CWM or if you are willing to flash a custom rom, just make sure that CWM recovery is installed and flash a rooted rom. The important thing is that you already are S-OFF.
Never run a non stock device....if you are already S-OFF there is no reason to re run the Hack Kit.
marsdta said:
Actually you can use the hack kit again BUT you have to go into the optional menu and not use the main option of root.
In the optional screen their is an option to install cwr.
Or alternatively you can install cwr via a pd98img.
Click to expand...
Click to collapse
Ahh yes the optional menu. Been so long since I've used the hack kit I totally spaced the extra options. I rooted back when we still had to make our own gold card.
glevitan said:
If you are S-OFF but flashed a RUU then you are not rooted anymore. You can do as Mardsta says and flash SU in CWM or if you are willing to flash a custom rom, just make sure that CWM recovery is installed and flash a rooted rom. The important thing is that you already are S-OFF.
Never run a non stock device....if you are already S-OFF there is no reason to re run the Hack Kit.
Click to expand...
Click to collapse
That's the thing though. I don't have CWM installed (going to recovery in HBOOT simply yields the red error symbol). I have SU installed, but because I am not rooted, it isn't being recognized by Rom manager. I apologize for my ignorance, but how exactly do I get CWM on my phone then? Is there a program that can root and flash it without messing with the S setting?
phyzorz said:
That's the thing though. I don't have CWM installed (going to recovery in HBOOT simply yields the red error symbol). I have SU installed, but because I am not rooted, it isn't being recognized by Rom manager. I apologize for my ignorance, but how exactly do I get CWM on my phone then? Is there a program that can root and flash it without messing with the S setting?
Click to expand...
Click to collapse
As marsdta said you can use the hack kits optional menu to flash cwm. You may have to put your phone into fastboot though to get it to recognize it. I'm not 100% on that though because I have never done it that way myself. Or you can use a pd98img.
phyzorz said:
That's the thing though. I don't have CWM installed (going to recovery in HBOOT simply yields the red error symbol). I have SU installed, but because I am not rooted, it isn't being recognized by Rom manager. I apologize for my ignorance, but how exactly do I get CWM on my phone then? Is there a program that can root and flash it without messing with the S setting?
Click to expand...
Click to collapse
Gizmoe said:
As marsdta said you can use the hack kits optional menu to flash cwm. You may have to put your phone into fastboot though to get it to recognize it. I'm not 100% on that though because I have never done it that way myself. Or you can use a pd98img.
Click to expand...
Click to collapse
THAT ^^^^^^
Go to Google Play store and download 4ext recovery control. I like it much better than the cwm given by ace. All you need then is a rom dev'd for inspire or dhd. If it's for dhd then you need to also flash inspiremod so the gps and branding reflect north america and inspire 4g.

[Q] Did I root correctly?

So I got my 300T a few nights ago.
It's already got Asus's JB on it.
Wanted to root to use the SwitchMe app for multiple profiles.
I was able to get the system to see fastboot, and ran all of the commands. Was able to boot to CWM and install root-signed. When I was trying to reboot, it said root was possibly lost, asked me to fix it, i said yes.
When I open up the SwitchMe app, it just keeps trying to open a SuperUser window about 7 times, and then does nothing else.
Have I done something wrong?
SuperUser just says No Apps in List.
edit: tried to update SuperUser. It says "gaining root access.....fail!". Guess I'll try to install root-signed again. Not sure how I could've messed it up the first time.
edit 2: wiped cache and dalvik, installed root-signed again, same problem. SwitchMe says I haven't granted superuser permissions. SuperUser shows no apps, is set to auto-allow root access, and fails getting root access when running binary updater.
im pretty sure you have to unlock the bootloader
and go through some crazy process before you can root with JB
My tablet was running JB when I bought it. I unlocked and still could not get my tablet to root using CWM. On top of that, CWM would not make a proper backup. I highly recommend you switching to TWRP. I did, flashed a rooted custom ROM and haven't had anymore issues.
Many people are having issues with CWM. TWRP is definitely the way to go. :good:
1 wrong section
2 root checker app(s)
Well, what I did to root my stock using TWRP was to flash the root-signed in the CWM thread, but as this didn't really got me full root, I flashed the flashable zip from here, downloaded SuperSU from market, there then chose "update binary" and then I had root
I'm pretty sure flashing the root-signed of the CWM thread wasn't needed, but if you do this steps (need to be unlocked to flash a recovery, strangely recommend TWRP 2.3.1 or 2.2.2 for 4.1 ROMs and 2.3.3 for 4.2 ROMs (as 4.2 has this sdcard/0 directions because of Multiusers, 2.3.3 uses this directories too))
So what should work:
1. unlock bootloader
2. flash CWM / TWRP / MobileODIN installable ZIP: CWM-SuperSU-v0.99.zip from here
3. download SuperSU from market and there update binary (don't know how it's called exactly)
4. enjoy!
if you decide to use a Custom ROM, you just need to flash the ROM in TWRP and should get Root too with the ROM (as all of them include Root afaik)

Categories

Resources