Does a hard reset unroot the phone? - Nexus One Q&A, Help & Troubleshooting

If the phone is running stock rom and recovery, does a hard reset return the phone and the system folder to their unroot state?

What?
Stock ≠ root.

NexusDro said:
If the phone is running stock rom and recovery, does a hard reset return the phone and the system folder to their unroot state?
Click to expand...
Click to collapse
Hard reset doesnt get the phone back to unrooted state.

so to unroot I have to flash the original rom?

Once you unlock your boot loader your phone is unlocked forever. If yet load stock ROM that does not have root then of course you won't have root access. But you just load back a ROM with root access and you have super user again. Root just depends on what ROM you are running.

I think there's something I misunderstood, so correct me if I am wrong. Isn't there a recovery partition where the original ROM is stored so that if you factory reset, the phone will be restored to whatever the original ROM is? If I root my phone and keep the stock unrooted ROM, wouldn't factory reset return my phone to the unrooted state?

NexusDro said:
I think there's something I misunderstood, so correct me if I am wrong. Isn't there a recovery partition where the original ROM is stored so that if you factory reset, the phone will be restored to whatever the original ROM is? If I root my phone and keep the stock unrooted ROM, wouldn't factory reset return my phone to the unrooted state?
Click to expand...
Click to collapse
As long as you haven't changed the recovery, this should be true. The phone should be unrooted when you recover it, but the bootloader will still be unlocked.

Thanks for the clarification. I understand the unlocked bootloader part. BTW, I think I read somewhere that you can root the phone without unlocking the bootloader.

NexusDro said:
I think there's something I misunderstood, so correct me if I am wrong. Isn't there a recovery partition where the original ROM is stored so that if you factory reset, the phone will be restored to whatever the original ROM is? If I root my phone and keep the stock unrooted ROM, wouldn't factory reset return my phone to the unrooted state?
Click to expand...
Click to collapse
not really. if you load cyanogen ROM on your phone, then you do a factory reset, i believe it just loads the cyanogen ROM fresh. you would have to flash a stock ROM to go back to factory.

NexusDro said:
I think there's something I misunderstood, so correct me if I am wrong. Isn't there a recovery partition where the original ROM is stored so that if you factory reset, the phone will be restored to whatever the original ROM is? If I root my phone and keep the stock unrooted ROM, wouldn't factory reset return my phone to the unrooted state?
Click to expand...
Click to collapse
There is no recovery partition, and there is no "original ROM". There is System partition and Data partition, System being read-only for non-root users, and Data being R/W (but some folders invisible in file managers). System is what contains the "ROM" as you know it.
SU and Superuser.apk get installed into System.
Factory reset wipes Data and Cache. It doesn't touch System.
So, if you sum it up - you get that even if you do a factory reset, you won't get unrooted.

Thanks. It makes sense now.

Hmmm yeah it looks like I misunderstood that, then. Sorry.

Better idea! someone try it and find out.. and there are now ways to root n1 without unlocking bootloader.. as i would think it would actually do unroot if you do a factory reset from a stock recovery.. am i willing to try... NOooo...
But from previous post ahead it does make more sense.. that it wouldnt.. but still good idea to give it a try

ilostchild said:
Better idea! someone try it and find you.. and there are now ways to root n1 without unlocking bootloader.. as i would think it would actually do unroot if you do a factory reset from a stock recovery.. am i willing to try... NOooo...
Click to expand...
Click to collapse
I've done this and it worked well. Running the latest CM6 nightly.
Not too sure about unrooting - i did have an issue (caused by me i'd say), and i downloaded EPE7x stock room, renamed it to PASSIMG, and the bootloader recovered it for me, and i was back to stock.
Not sure if it was the correct way, but it worked... As opposed to when i tried to flash the recovery, boot, etc, i received an error about verification failure.

frankyyy02 said:
I've done this and it worked well. Running the latest CM6 nightly.
Not too sure about unrooting - i did have an issue (caused by me i'd say), and i downloaded EPE7x stock room, renamed it to PASSIMG, and the bootloader recovered it for me, and i was back to stock.
Not sure if it was the correct way, but it worked... As opposed to when i tried to flash the recovery, boot, etc, i received an error about verification failure.
Click to expand...
Click to collapse
Yea... We are talking bout being on Stock Everything, but having ROOT, you have full mod from recovery to ROM(having CM6)
questioin was if have fully stock FRF91 with only root, if going to recovery and doing a factory reset/wipe would it take off root, at least thats what i read or remeber reading if this is the right thread

So can someone tell me how to get back to stock from rooting? I believe I used french Toast.

ilostchild said:
Yea... We are talking bout being on Stock Everything, but having ROOT, you have full mod from recovery to ROM(having CM6)
questioin was if have fully stock FRF91 with only root, if going to recovery and doing a factory reset/wipe would it take off root, at least thats what i read or remeber reading if this is the right thread
Click to expand...
Click to collapse
Yeah i sort of miss read... oh well.
I think i did try to factory restore to unroot, but don't think it worked from memory, that's why i used the PASSIMG.

vegeta_one said:
So can someone tell me how to get back to stock from rooting? I believe I used french Toast.
Click to expand...
Click to collapse
I want breakfast now.. But by no means at all not trying to sound like a **** head here, but there is a thread in the Dev section on how to get back to stock .. its one of the stickies in the dev section.. or i think it is

Related

Safestrap Help - Stock ROM needed

OK, so I am admittedly new to this Safestrap stuff. I know how to use it and all that, but I installed the blurry ROM on slot 1, and I guess I forgot to backup the stock ROM before wiping everything. Although, I'm almost positive I did. Anyways, when I try to go back to the stock ROM, it says "No OS installed". How do I get the stock ROM back so I can switch between the two?
Anyone?
Fxz will fix it.
Sent from my Xoom using Tapatalk HD
Care to elaborate? How do I fix it with that?
Sorry, but, not sure what to elaborate? You blew away your stock install and need to fix it. An FXZ restores the phone to factory defaults. Once the FXZ is done you'll need to re-root, reinstall the SS recovery, and then you're back in business. Never, ever touch the stock slot in SS. It's a hard lesson to learn.
I suppose if someone has a stock system image that's flashable by SS that might work but that's not something I can help with. If you can find one, you basically flash that to your stock slot and it should restore everything to working order. In theory.
SamuriHL said:
Sorry, but, not sure what to elaborate?
Click to expand...
Click to collapse
This.
SamuriHL said:
You blew away your stock install and need to fix it. An FXZ restores the phone to factory defaults. Once the FXZ is done you'll need to re-root, reinstall the SS recovery, and then you're back in business.
Click to expand...
Click to collapse
Thank you. :thumbup:

[Q] Stuck, in many ways

Hi,
I have the non-Taiwan Butterfly S. I unlocked it via HTC Dev, and installed Clockwork Recovery.
This week, the 4.2 update was released for Singapore. It seems to have been in two parts, one which was a minor upgrade (235MB), and after that was applied, I got the option of the larger, 4.3, 700MB, OTA.
Applying the OTA seems to have left me, at boot time, with a blank screen (there is some backlight visible, after the HTC splash). I read tonight that OTA should not be used with custom recoveries, so I have (using fastboot) been able to flash the stock recovery.
I can now go into Fastboot, HBoot, and even Recovery. But I think I may no longer have an actual "system".
How can I flash either a custom ROM, or investigate the situation?
And also, after I see the Recovery screen (the battery icon), what can I do there?
Thanks,
ghane0 said:
Hi,
I have the non-Taiwan Butterfly S. I unlocked it via HTC Dev, and installed Clockwork Recovery.
This week, the 4.2 update was released for Singapore. It seems to have been in two parts, one which was a minor upgrade (235MB), and after that was applied, I got the option of the larger, 4.3, 700MB, OTA.
Applying the OTA seems to have left me, at boot time, with a blank screen (there is some backlight visible, after the HTC splash). I read tonight that OTA should not be used with custom recoveries, so I have (using fastboot) been able to flash the stock recovery.
I can now go into Fastboot, HBoot, and even Recovery. But I think I may no longer have an actual "system".
How can I flash either a custom ROM, or investigate the situation?
And also, after I see the Recovery screen (the battery icon), what can I do there?
Thanks,
Click to expand...
Click to collapse
What I would do is get TWRP Recovery (Just a matter of personal preference you can get clockwormod too) do a full wipe, clear the cache, dalvik cache and install a custom ROM hope I helped somehow
Do you still have the OTA zipfile on your device? It should be possible to force the stock recovery to install it, I just don't know how exactly. If you manage to achieve that, it should fix any corrupted files or inconsistent state, unless something went completely wrong.
Also, did the CWM recovery actually succeed to install the smaller OTA? I find that somewhat weird, but then again, I haven't tried to install OTAs using CWM, only TWRP and that did fail early.
If it was a 901S, I'd suggest installing the stock ROM from scratch, but since your phone is 901E (as far as I understand) and my stock ZIPs are for 901S, that's not guaranteed to work. Still, you might try to do that, but make sure to make a backup of the current state first, just in case it only gets worse. If it does work, it's probably going to be the easiest way out.
Another option would be to get someone else with the 901E to post a backup of their /system, I could turn that into a ZIP, which would solve your problem.
koniiiik said:
Do you still have the OTA zipfile on your device? It should be possible to force the stock recovery to install it, I just don't know how exactly. If you manage to achieve that, it should fix any corrupted files or inconsistent state, unless something went completely wrong.
Also, did the CWM recovery actually succeed to install the smaller OTA? I find that somewhat weird, but then again, I haven't tried to install OTAs using CWM, only TWRP and that did fail early.
If it was a 901S, I'd suggest installing the stock ROM from scratch, but since your phone is 901E (as far as I understand) and my stock ZIPs are for 901S, that's not guaranteed to work. Still, you might try to do that, but make sure to make a backup of the current state first, just in case it only gets worse. If it does work, it's probably going to be the easiest way out.
Another option would be to get someone else with the 901E to post a backup of their /system, I could turn that into a ZIP, which would solve your problem.
Click to expand...
Click to collapse
It is a 901s he said non Taiwan
Sent from my HTC Butterfly s using XDA Premium 4 mobile app
seyidaga said:
What I would do is get TWRP Recovery (Just a matter of personal preference you can get clockwormod too) do a full wipe, clear the cache, dalvik cache and install a custom ROM hope I helped somehow
Click to expand...
Click to collapse
I have downloaded the Maximus ROM. I am open to doing this, but I cannot figure out how to use the stock recovery (there seem to be no controls).
koniiiik said:
Do you still have the OTA zipfile on your device? It should be possible to force the stock recovery to install it, I just don't know how exactly. If you manage to achieve that, it should fix any corrupted files or inconsistent state, unless something went completely wrong.
Click to expand...
Click to collapse
I think so, too, but at this stage, I am willing to go clean-slate and restart with a stock, factory, look.
koniiiik said:
If it was a 901S, I'd suggest installing the stock ROM from scratch
Click to expand...
Click to collapse
I have downloaded the stock zip from your website. How do i flash that in stock recovery?
I have access to fastboot from my laptop, I can see the device.
Thanks,
daorderdillon said:
It is a 901s he said non Taiwan
Click to expand...
Click to collapse
Oh, okay, I think I'm getting lost in which area has which version of the phone. Never mind then and thanks for the correction.
ghane0 said:
I think so, too, but at this stage, I am willing to go clean-slate and restart with a stock, factory, look.
I have downloaded the stock zip from your website. How do i flash that in stock recovery?
I have access to fastboot from my laptop, I can see the device.
Thanks,
Click to expand...
Click to collapse
Well, to install custom ROMs, you'll have to use either TWRP or CWM, I don't know about a way to do that using stock recovery.
Ok, I did this:
Installed CWM Recovery
Flashed the Stock zip from koniiiik's archive
Rebooted successfully. Lots and lots of force closes, Everything from android.core to ...
Used Rom Manager to restore a backup made a month ago
Rebooted. All OK now
Flashed Stock Recovery (again, thanks koniiiik)
Booted. Checked OTA. Got a small update (1.x)
Applied. Rebooted, Checked OTA again
Got the 4.3 package. Applied.
All is well
Between Step #3 and #4, I got my entire backlog of SMS delivered, which I lost in the next step. But that is a small price to pay.
Thanks to all of you helped,
ghane0 said:
Used Rom Manager to restore a backup made a month ago
Click to expand...
Click to collapse
Would you mind uploading somewhere the /system part of that backup? I'd be interested in comparing it to the builds I have at hand.
Backup of /system, nearly stock
I say nearly stock, because it was taken after HTC Unlock, Clockwork Recovery was installed, and root flashed
koniiiik said:
Would you mind uploading somewhere the /system part of that backup? I'd be interested in comparing it to the builds I have at hand.
Click to expand...
Click to collapse
I have three files in the directory:
system.ext4.tar (0B)
system.ext4.tar.a (954MB)
system.ext4.tar.b (500MB)
Is the split to avoid files greater than 1GB?
Will upload starting a few hours. Dropbox will do?
ghane0 said:
I say nearly stock, because it was taken after HTC Unlock, Clockwork Recovery was installed, and root flashed
Click to expand...
Click to collapse
Don't worry about that, of these three, only root affects /system and it should be not too difficult to revert.
ghane0 said:
Is the split to avoid files greater than 1GB?
Click to expand...
Click to collapse
Most likely – FAT filesystems, depending on inode size and other factors, only support file sizes up to a certain limit. Sometimes it's 2 GB, sometimes 4 GB, sometimes probably as little as 1 GB.
ghane0 said:
Will upload starting a few hours. Dropbox will do?
Click to expand...
Click to collapse
That would be most helpful. Thanks.
Dropbox is back up, I have sent you a link.
Thanks

No OS on XT1053

Hello, My brother have a XT1053 that he was trying to install CM 12 on it, but accidentally he wiped up his entire phone ( including system ). Now when he turns his phone on it stays on the Bootloader Unlocked screen forever. Im not an android user so i dont have any idea of what to do. my brother does not speak english so he cant search for a solution. Is there anything that could be done to "save" the phone?
Kurinn said:
Hello, My brother have a XT1053 that he was trying to install CM 12 on it, but accidentally he wiped up his entire phone ( including system ). Now when he turns his phone on it stays on the Bootloader Unlocked screen forever. Im not an android user so i dont have any idea of what to do. my brother does not speak english so he cant search for a solution. Is there anything that could be done to "save" the phone?
Click to expand...
Click to collapse
Restore the phone using RSD. Very simple. Simple search will give you the answer. Just a reminder. You should always have a backup before flashing any ROMs. ESPECIALLY stock, that way if something like what you said happens. You can easily recover. Hence the custom recovery Wiping it clean on accident is also difficult. Not sure how one does that. Hope you're using TWRP.
kcuffel said:
Restore the phone using RSD. Very simple. Simple search will give you the answer. Just a reminder. You should always have a backup before flashing any ROMs. ESPECIALLY stock, that way if something like what you said happens. You can easily recover. Hence the custom recovery Wiping it clean on accident is also difficult. Not sure how one does that. Hope you're using TWRP.
Click to expand...
Click to collapse
Ok, i already downloaded RSD but i cant find the stock firmware for the phone. Yes im using TWRP, and you asked how he wiped it up, he was selecting the items to wipe and misclicked on system.
Another Method
Install ClockWorkMod Recovery. (Phil's touch CWM). This has the option to mount storage as USB drive. use this to copy the ROM you want to install in the phone. Then disconnect phone and flash the ROM. :good:
TWRP does not have this option. or atleast i have not been able to find it. I know CWM has it because i screwed up once like this with my old phone, and did this to get back to normal.
Kurinn said:
Ok, i already downloaded RSD but i cant find the stock firmware for the phone. Yes im using TWRP, and you asked how he wiped it up, he was selecting the items to wipe and misclicked on system.
Click to expand...
Click to collapse
Sites with STOCK Moto roms for the X are listed in this thread -> http://forum.xda-developers.com/moto-x/general/info-tip-web-sites-official-leaked-roms-t2923347
Or download the correct sbf, extract, flash in bootloader.

[Q] Phone wiped after Unroot

Hi everbody, I have a rooted phone which I wanted to unroot to be able to install the 5.1.1 update. But when I unrooted the phone without even doing a factory reset or cleaning the cache or all of those wiping the phone procedures, the phone got totally wiped and also the memory got completely wiped with all folders and whatever gone. Pictures are backed up to Google Drive and numbers are in Google Contacts but there are some folders and backed up apps that I wanted to have.
Is there any way this can be restored? I'm guessing there is not, but I still wanted to put the question out there if anybody knows a way?
Sia_ said:
Hi everbody, I have a rooted phone which I wanted to unroot to be able to install the 5.1.1 update. But when I unrooted the phone without even doing a factory reset or cleaning the cache or all of those wiping the phone procedures, the phone got totally wiped and also the memory got completely wiped with all folders and whatever gone. Pictures are backed up to Google Drive and numbers are in Google Contacts but there are some folders and backed up apps that I wanted to have.
Is there any way this can be restored? I'm guessing there is not, but I still wanted to put the question out there if anybody knows a way?
Click to expand...
Click to collapse
Always back up before starting. They are gone. Lesson learned.
Sia_ said:
Hi everbody, I have a rooted phone which I wanted to unroot to be able to install the 5.1.1 update. But when I unrooted the phone without even doing a factory reset or cleaning the cache or all of those wiping the phone procedures, the phone got totally wiped and also the memory got completely wiped with all folders and whatever gone. Pictures are backed up to Google Drive and numbers are in Google Contacts but there are some folders and backed up apps that I wanted to have.
Is there any way this can be restored? I'm guessing there is not, but I still wanted to put the question out there if anybody knows a way?
Click to expand...
Click to collapse
1) Not sure why your device got wiped...
2) Only way to restore is if you had a backup stored off line...
3) There is no reason to "unroot" if you intend to fastboot flash the factory image.
4) Using the "unroot" feature is NOT sufficient if you want to flash the OTA update. It still leaves a few modified files around, and the updater script will not install the OTA. You will need to fastboot flash the factory system.img. If you are going to do that, then just fastboot flash 5.1.1 and be done with it.
cam30era said:
1) Not sure why your device got wiped...
2) Only way to restore is if you had a backup stored off line...
3) There is no reason to "unroot" if you intend to fastboot flash the factory image.
4) Using the "unroot" feature is NOT sufficient if you want to flash the OTA update. It still leaves a few modified files around, and the updated will not install the OTA. You will need to fastboot flash the factory system.img. If you are going to do that, then just fastboot flash 5.1.1 and be done with it.
Click to expand...
Click to collapse
it will wipe your storage when you fastboot lock your bootloader
simms22 said:
it will wipe your storage when you fastboot lock your bootloader
Click to expand...
Click to collapse
Right. OP didn't say he relocked (and hopefully he didn't).
cam30era said:
Right. OP didn't say he relocked (and hopefully he didn't).
Click to expand...
Click to collapse
lol, i assumed he did, as thats what i would consider part od "unrooting". if he did, then thats why its wiped. if he didnt, then im clueless :angel:
simms22 said:
lol, i assumed he did, as thats what i would consider part od "unrooting". if he did, then thats why its wiped. if he didnt, then im clueless :angel:
Click to expand...
Click to collapse
We are definitely in the same camp on that.
simms22 said:
lol, i assumed he did, as thats what i would consider part od "unrooting". if he did, then thats why its wiped. if he didnt, then im clueless :angel:
Click to expand...
Click to collapse
Op what "method" or steps did you take to "un-root"?
Manually, or some toolkit? Did you re-lock your bootloader, or check or forget to un-check some sort of reset my phone to factory settings setting?

Factory reset from settings to remove personal info

I'm gonna sell this phone as rooted, so yes I DO KNOW the factory resets keeps the root and recovery and all that. But can I SAFELY do a factory reset from the Settings, just to remove my personal info. The phone has stock rom, but is rooted and has TWRP installed. Thanks.
uRager said:
I'm gonna sell this phone as rooted, so yes I DO KNOW the factory resets keeps the root and recovery and all that. But can I SAFELY do a factory reset from the Settings, just to remove my personal info. The phone has stock rom, but is rooted and has TWRP installed. Thanks.
Click to expand...
Click to collapse
I'd use a Rom Update Utility (RUU) on it before selling it... You can always just flash the recovery after, the same way you did it before. Because that will definitely get rid of anything you have on it, and I would put a different SD card in it to!
MrMike2182 said:
I'd use a Rom Update Utility (RUU) on it before selling it... You can always just flash the recovery after, the same way you did it before. Because that will definitely get rid of anything you have on it, and I would put a different SD card in it to!
Click to expand...
Click to collapse
Ah gotcha! Thanks
Just out of interest, if I just did a plain reset in settings, would it like, screw up my phone? I assume not, since the rooting/recovery is stored in different partitions, and factory resets only /data (user data)?
uRager said:
Ah gotcha! Thanks
Just out of interest, if I just did a plain reset in settings, would it like, screw up my phone? I assume not, since the rooting/recovery is stored in different partitions, and factory resets only /data (user data)?
Click to expand...
Click to collapse
No it won't screw up the phone but the thing is your personal information could still be on there just overwritten and someone who's smart enough could still get the information restored and do whatever with it so if you've done banking and stuff on it I'd advise you to use the RUU and completely wipe the SD card or put another one in there because you can still restore overwritten information..

Categories

Resources