[Q] Phone wiped after Unroot - Nexus 6 Q&A, Help & Troubleshooting

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?

Related

Does a hard reset unroot the phone?

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

[Q] Backup before unlocking / S-OFFing

Hi,
After having looked at tons of theads and many searches, perhaps you can help, please?
I'd like to unlock via HTCdev and go S-OFF.
As I have many apps with their individual settings, an extensive calendar and > 1500 contacts,
I wonder how to backup all that stuff as unlocking wipe everything.
Thank you very much in advance
V
v said:
Hi,
After having looked at tons of theads and many searches, perhaps you can help, please?
I'd like to unlock via HTCdev and go S-OFF.
As I have many apps with their individual settings, an extensive calendar and > 1500 contacts,
I wonder how to backup all that stuff as unlocking wipe everything.
Thank you very much in advance
V
Click to expand...
Click to collapse
you might want to have a look at an app called Helium by koush, download it from playstore, its able to backup without root, don't forget though, unlocking your bootloader will also erase your sdcard, so be sure to copy the backup off your phone once its complete to your computer.
This will however only backup apps and data etc, I use my google account to backup my contacts, as for the rom itself, you will have to create a backup manually after unlocking the bootloader with a custom recovery like twrp.
You may also be interested in doing an adb backup, as this is something you can do on a fully stock unrooted device. Here is a link to a guide here on XDA:
http://forum.xda-developers.com/nexus-4/general/guide-making-backups-adb-t2411965
and you can also just google "adb backup" for a wealth of info on this option.
Seanie280672 said:
...Helium...
Click to expand...
Click to collapse
Thanks! I'll try that.
dougeedug said:
...adb backup...
Click to expand...
Click to collapse
Thanks for the suggestion. I remember to have tried backing up my HTC One S with adb a couple of years ago. At that time it would not restore the backup. However, I'll do the backup just in case...
Just a thought:
I understand it's possible to gain temporary root.
Isn't there a way to pull an image of the whole system and restore exactly that later?
v said:
Just a thought:
I understand it's possible to gain temporary root.
Isn't there a way to pull an image of the whole system and restore exactly that later?
Click to expand...
Click to collapse
You can actually boot cwm recovery from the fastboot folder on your computer, with your phone in the bootloader to do a full system. Data, sdcard backup including the stock recovery to your computer without actually installing the custom recovery, but I'm really sorry, I can't remember how to do it, it's been years since I've done it that way, a bit of googling and you may be able to find it, not to sure either if your bootloader needs to be already unlocked to do it.
Seanie280672 said:
You can actually boot cwm recovery from the fastboot folder on your computer, with your phone in the bootloader to do a full system. Data, sdcard backup including the stock recovery to your computer without actually installing the custom recovery, but I'm really sorry, I can't remember how to do it, it's been years since I've done it that way, a bit of googling and you may be able to find it, not to sure either if your bootloader needs to be already unlocked to do it.
Click to expand...
Click to collapse
it's "fastboot boot <name of recovery>.img"
however, this only works on hboot 1.44, after that (hboot 1.54+ it will just freeze, and not enter recovery)
and I think you need an unlocked bootloader for that anyway
Seanie280672 said:
you might want to have a look at an app called Helium by koush
Click to expand...
Click to collapse
I agree with this too. I've heard about people having trouble applying an adb backup.ab, so it would definitely be a good idea to use helium too. Just make sure to set it to save the .apks too so you wont have to hit the playstore for those. Also, do remember to move whatever backup you make off of the device and as far as contacts, make sure they are set to be backed up to your gmail account. They probably already are judging by the fact that you already have so many, unless you collected them all since you got the phone. I mean, 1500 contacts would mean you have added 5 unique contacts per day since the release of this particular phone which is unlikely.
dougeedug said:
...1500 contacts would mean you have added 5 unique contacts per day...unlikely...
Click to expand...
Click to collapse
You are right.
But I saved my first contacts in an HP-41CX and have migrated data since then.
Some of these phone numbers are still in use.
Since 1984.
Sorry for this off-topic post.

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] Recovering Data from Soft-Bricked Moto G?

For some reason, my phone suddenly bricked itself after about a year of use. Most of my important information (photos, Evernote, etc.) has already been backed up in the cloud. However, I do have some crucial texts (SMS) and WhatsApp messages that are still inside. I am assuming that those files will be deleted if I were to perform a factory reset (?) So is there any way to save my data?
Do you have access to adb in custom recovery?
Do you have bootloader unlocked?
How did it brick
I'm sorry, but I have very little knowledge about anything other than typical Android OS use. However, I do have a developer friend who is much more well-versed in the Android environment. It was he who directed me here.
fburgos said:
Do you have access to adb in custom recovery?
Do you have bootloader unlocked?
Click to expand...
Click to collapse
I have not fiddled with anything beneath the surface since I acquired the phone, so I am guessing the answer is "no" to both.
fburgos said:
How did it brick
Click to expand...
Click to collapse
I honestly can't remember. It *might* have had something to do with Sleep as Android as I started using it very often only recently.
I think the screen just went blank as I was doing something, and then it got stuck in a boot loop.
I just realized that I should have posted in the (2013) Moto G subforum. So mods, please move if necessary.
mmmaak said:
I just realized that I should have posted in the (2013) Moto G subforum. So mods, please move if necessary.
Click to expand...
Click to collapse
Ooo i see,
So your phone is untouched, well if you can boot in stock recovery start wiping cache, if don't work do a factory reset your whatsapp messages won't be lost if they are prior 3 or 4am backup
fburgos said:
So your phone is untouched, well if you can boot in stock recovery start wiping cache, if don't work do a factory reset your whatsapp messages won't be lost if they are prior 3 or 4am backup
Click to expand...
Click to collapse
I'll try that, thanks
Will wiping the cache have any irreversible effect on the data I'm trying to retrieve?
fburgos said:
...if don't work do a factory reset your whatsapp messages won't be lost if they are prior 3 or 4am backup
Click to expand...
Click to collapse
Sorry, I'm not quite sure what you mean by "prior 3 or 4am backup"?
Doesn't a factory reset return a phone to it blank state?
-----

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