Factory reset rooted Galaxy Nexus - Samsung Galaxy Nexus

So my Galaxy Nexus has served me well, but I'll probably be getting a new phone in the coming months and I'll be giving my GNex to my little sister.
It's stock 4.3, rooted and got CWM. What I want to do is a simple factory reset to make setup simple when I give her the phone. I guess it's better to do it from CWM rather than pressing "Factory reset" in settings and screwing things up but I'm not sure about how to proceed. Can any of you help?
Ofc I'll first be undoing the system changes on the phone before I boot into recovery, like uninstalling xposed, removing Super SU, Avast Anti-Theft and Playstore Legacy from system partition etc. Also, I renamed recovery-from-boot.p to make sure CWM would stick, I guess I don't need to undo that, or do I?
Lastly I'd like to know, will root be removed with factory reset or do I need to remove it manually? I'm fine with the device being unlocked and CWM being installed, but I'd feel safer if root was gone since my little sister is only 13 and has no idea what it is and doesn't need it anyway.
Any help is appreciated :laugh:

Related

Factory Restore an Encrypted Galaxy S3

Model: Samsung Galaxy S3 AT&T i747
Hi!
I was forced to encrypt my galaxy s3 in order to receive corporate emails on my phone using the stock email app. However I never imagined that encrypting the phone would literally lock the memory and options to customize the phone.
I tried to root the phone to benefit from more flexibility and also debloat the phone. However during the rooting process, I could not mount /emmc/ when using ClockWorkRecovery in the startup menu. Based on what I found on the web, I figured it was due to the encryption.
I then tried to factory reset the phone to get rid of the encryption but I simply can't hard reset the phone from the OS or the startup menu. When doing the reset from the startup menu, the errors are "Can't mount /sdcard/". The reset continues but when the phone reboots, all my applications and personal data are there and the phone is still encrypted.
I read a lot about flashing a custom recovery via flashboot or ADB but I am reluctant to do it without guidance from the experts (you guys).
I deleted my corporate email account (It is my personal phone, I am not required to install exchange on it).
I tried to use an external sd card but as soon as the phone recoginizes it, I have to encrypt the card as well as a result from the corporate policies. I ejected the card and did not encrypt it.
I am new to android (long time iPhone user) and I would really appreciate your guidance on the methods to factory reset my phone or a different technique to get rid of the encryption because I am really stuck right now.
I have never encrypted an Android phone before. But maybe your response to these questions will serve as a "bump" to this thread.
1) What method did you use to encrypt the phone? Stock or 3rd party encryption?
2) Doesn't that same method also offer you the offer to unencrypt the phone?
3) If you used a stock method of encrypting the phone, then I'd assume your provider (AT&T?) tech support should be able to help you unencrypt it.
Eddie,
Thanks for your response.
1) I used stock method for encryption
2) Decrypt the phone is not possible apparently,only way is to factory restore the phone apparently
3) I went to the AT&T store and they were unable to factory restore (using the standard methods). They offered an exchange but since I purchase over the phone at a discounted price, I have to do the exchange using that method. Before shipping back the phone, I was wondering if I could fix it myself with the help of knowledgeable people.
CZ Eddie said:
I have never encrypted an Android phone before. But maybe your response to these questions will serve as a "bump" to this thread.
1) What method did you use to encrypt the phone? Stock or 3rd party encryption?
2) Doesn't that same method also offer you the offer to unencrypt the phone?
3) If you used a stock method of encrypting the phone, then I'd assume your provider (AT&T?) tech support should be able to help you unencrypt it.
Click to expand...
Click to collapse
I have never used the encryption but if the phone can turn on and is usable, cant you go into the encryption settings and turn encryption off? then you should be able to do anything (may be best to start with a factory restore first just so you have a fresh slate to work with)
1ofAKind said:
Model: Samsung Galaxy S3 AT&T i747
Hi!
I was forced to encrypt my galaxy s3 in order to receive corporate emails on my phone using the stock email app. However I never imagined that encrypting the phone would literally lock the memory and options to customize the phone.
I tried to root the phone to benefit from more flexibility and also debloat the phone. However during the rooting process, I could not mount /emmc/ when using ClockWorkRecovery in the startup menu. Based on what I found on the web, I figured it was due to the encryption.
I then tried to factory reset the phone to get rid of the encryption but I simply can't hard reset the phone from the OS or the startup menu. When doing the reset from the startup menu, the errors are "Can't mount /sdcard/". The reset continues but when the phone reboots, all my applications and personal data are there and the phone is still encrypted.
I read a lot about flashing a custom recovery via flashboot or ADB but I am reluctant to do it without guidance from the experts (you guys).
I deleted my corporate email account (It is my personal phone, I am not required to install exchange on it).
I tried to use an external sd card but as soon as the phone recoginizes it, I have to encrypt the card as well as a result from the corporate policies. I ejected the card and did not encrypt it.
I am new to android (long time iPhone user) and I would really appreciate your guidance on the methods to factory reset my phone or a different technique to get rid of the encryption because I am really stuck right now.
Click to expand...
Click to collapse
1ofaKind,
Had EXACTLY the same thing happen to me. Encrypted my S3 in order to access work exchange server. Tried CWM but cannot mount /emmc/ problem after booting into recovery. Have not tried to factory reset yet as I am wanting to learn more before I go that route. But basically I am in the same boat as you. The only difference is I was not required to encrypt an external SD card when I put it in my phone. Read about flashboot as well...maybe the only way to actually factory reset after encryption??
Sorry I cannot offer any solutions at the moment...but I will keep scouring the forums looking for a way.
If I learn something valuable, I will try to post it here to help ya out.
EDIT: Maybe you have read these threads, but there is some decent info in them. http://forum.xda-developers.com/showthread.php?t=1451655 & http://forum.xda-developers.com/showthread.php?t=1392037
good luck
Look into using Odin to restore a factory image.
Sent from my SAMSUNG-SGH-I747 using xda premium
I'm in the same boat here - had to encrypt my GS3 in order to receive corporate (Exchange Server) emails. Now can't update the OS on the phone which is more important to me than receiving corporate emails on the device.
Can someone tell me how to decrypt (UN-encrypt) the phone? Everything I've read says that a factory reset won't do it.
Please help!
CZ Eddie said:
Look into using Odin to restore a factory image.
Click to expand...
Click to collapse
Has anyone tried this? If so, did it work?
I clicked install rom from sd card in cwm selected f/w which i had copied into internal memory. Did factory reset in recovery.
Odin it back to stock.
This might be too late to help you guys, but here's what worked for me. I odined it back to stock. Then I went into recovery (volume down, power and home button) and selected wipe data/factory reset. This does of course erase all your data, so try to copy whatever you can onto a computer or something before doing this. You should end up with an unencrypted storage.
sid9102 said:
This might be too late to help you guys, but here's what worked for me. I odined it back to stock. Then I went into recovery (volume down, power and home button) and selected wipe data/factory reset. This does of course erase all your data, so try to copy whatever you can onto a computer or something before doing this. You should end up with an unencrypted storage.
Click to expand...
Click to collapse
ODIN will not recognize my phone when it is in download mode ...
tamon77 said:
ODIN will not recognize my phone when it is in download mode ...
Click to expand...
Click to collapse
After you hit start, unplug then replug the usb from the computer. I had some issues with it not recognizing it either to flash stock, but when i messed with the cord, it made the noise that i unplugged and it started working. Same thing with the root injected, only this time i fully unplugged it when the fiddling with it didnt work. Make sure you replace it into the same com port.
so, i seem to be having the same problem as all of you, only i encrypted to protect my data from agents. So, right now, i am *hopefully* :fingers-crossed: installing the root injected JB now. I had many issues. TWRP and CWM were no help, couldnt see phone to add new roms to it. ODIN was the only hope. I booted into recovery after going back to stock, did a new factory reset and am installing the stock with root. When i let it boot, it didnt go to encryption this time, but the first time i flashed the stock, it did. This is a mess to say the least.
EDIT: YEAH! done. No encryption and i got root. i used the image from here: http://forum.xda-developers.com/showthread.php?t=1968625 DLK3 worked for me. Good luck. i hope this helps. Ill be happy to explain more if you want.
tamon77 said:
ODIN will not recognize my phone when it is in download mode ...
Click to expand...
Click to collapse
ODIN (for me at least) wont see anything since im using Windows 8. On Windows 7, however, it works just fine.
Factory reset encrypted phone
hi,
I'm using CM11 as a rom.
I didn't want to reinstall stock rom, just to root it again later.
Installing updated version from external SD didn't work (updated the ROM but no decryption)
Tried to factory reset from recovery - didn't work, as the internal storage is encrypted it can't mount /sdcard/
however, from within settings menu, in backup&restore there's an option to do a factory reset - this is formatting internal memory altogether.
worked like a charm.
oxidase said:
After you hit start, unplug then replug the usb from the computer. I had some issues with it not recognizing it either to flash stock, but when i messed with the cord, it made the noise that i unplugged and it started working. Same thing with the root injected, only this time i fully unplugged it when the fiddling with it didnt work. Make sure you replace it into the same com port.
so, i seem to be having the same problem as all of you, only i encrypted to protect my data from agents. So, right now, i am *hopefully* :fingers-crossed: installing the root injected JB now. I had many issues. TWRP and CWM were no help, couldnt see phone to add new roms to it. ODIN was the only hope. I booted into recovery after going back to stock, did a new factory reset and am installing the stock with root. When i let it boot, it didnt go to encryption this time, but the first time i flashed the stock, it did. This is a mess to say the least.
EDIT: YEAH! done. No encryption and i got root. i used the image from here: http://forum.xda-developers.com/showthread.php?t=1968625 DLK3 worked for me. Good luck. i hope this helps. Ill be happy to explain more if you want.
Click to expand...
Click to collapse
I understand this is very old but I am going to make a note here in case anyone else gets into this problem. When you go back to stock, do the factory reset using the STOCK recovery. Don't install TWRP or anything else until you have cleared the encryption. At least, that's what worked for me.

Factory reset without unroot

My phone is getting a bit sluggish and clogged up so I was thinking of resetting it but I don't want to lose my root. What's the best way to do that? I don't mind everything being deleted etc. Just want it to be like it was when I bought it, just with root! If it's too much of a fuss obviously I'll reset and reroot, just wondering if there's a way to avoid it as it's a convoluted process.
Thanks in advance
This weekend I swapped my Z1C for a friends ZL. My phone was rooted (I think I had used the recent 'easyroot' method). Before giving him the phone, I did a wipe (including wiping the internal SD card) via Settings->Backup & Reset. After doing the initial setup, he still had root. When we swapped back, I wiped again (via settings again) and root stayed.
One thing I notice is that the SuperSU app is gone.. which is not a big deal.
Not to say that the answer is a definite "yes"... but I thought since my experience was so recent, I would share. Good luck! Rooting is pretty easy now anyway, if it doesn't work.

[Q] Really need your expert help guys! SM-T800

Alright, I'll lay out what happened. My end goal is to just have a rooted tab, but at this point, I'd be willing to just have it back to how it was. Preferably without losing everything on it.
-Looked around on how to root it, and found the following, and use the files it suggested.
- Seemed easy enough, and I had rooted/installed android on my old HP Touchpad, so I dl'd the files, and gave it a shot.
- Couldn't get CWM recovery on it, so I ran verify root and it said it wasn't rooted, even though I has SuperSU. It would even ask to grant apps permission, and I'd grant it.
- I opened SuperSU, and it'd say it needed to update the binaries, but would fail on normal, so I dl'd the newest zip, booted into recovery, and tried to load it like that, but 2 lines would come up red. I think they were just verifying signatures, so I ignored it and let it reboot.
- I opened SuperSU again, and it still said it needed the binaries updated, failed on normal attempt. I decided to try again from scratch, unrooting it and all. So, I went into the SuperSU settings and did it's thing, but it still had the version of SuperSU that initially was on it (it wouldn't let me past the "update binaries" prompt).
- I found that I needed to use Odin to flash a stock firmware back on it, and dl'd both version here.
- I tried the first one, and then it wouldn't get past the "Samsung" screen (the 2nd one with just the word Samsung, if it matters).
- I can still boot into Odin and Recovery, thankfully, so I tried the 2nd stock firmware. Same issue.
- Finally, I tried the rooting process again, hoping to get it to boot, same thing. So, I tried the 2nd stock firmware again, praying something good would happen, and still stuck on the Samsung screen.
I can still boot into Odin and recovery, but I have no idea where to go from here. I still want it rooted if possible, and I'd prefer not to lose all my games and such. I just found "[ROOT][RECOVERY] [ALL IN ONE] Cf-Autoroot-twrp-T800-T805-T-700-T705" thread here, but I didn't want to try it just yet.
It's a SM-T800. I had Lollipop on it. Don't know much else to add, but please help!
Thanks all.
Cypher5235 said:
Alright, I'll lay out what happened. My end goal is to just have a rooted tab, but at this point, I'd be willing to just have it back to how it was. Preferably without losing everything on it.
-Looked around on how to root it, and found the following, and use the files it suggested.
- Seemed easy enough, and I had rooted/installed android on my old HP Touchpad, so I dl'd the files, and gave it a shot.
- Couldn't get CWM recovery on it, so I ran verify root and it said it wasn't rooted, even though I has SuperSU. It would even ask to grant apps permission, and I'd grant it.
- I opened SuperSU, and it'd say it needed to update the binaries, but would fail on normal, so I dl'd the newest zip, booted into recovery, and tried to load it like that, but 2 lines would come up red. I think they were just verifying signatures, so I ignored it and let it reboot.
- I opened SuperSU again, and it still said it needed the binaries updated, failed on normal attempt. I decided to try again from scratch, unrooting it and all. So, I went into the SuperSU settings and did it's thing, but it still had the version of SuperSU that initially was on it (it wouldn't let me past the "update binaries" prompt).
- I found that I needed to use Odin to flash a stock firmware back on it, and dl'd both version here.
- I tried the first one, and then it wouldn't get past the "Samsung" screen (the 2nd one with just the word Samsung, if it matters).
- I can still boot into Odin and Recovery, thankfully, so I tried the 2nd stock firmware. Same issue.
- Finally, I tried the rooting process again, hoping to get it to boot, same thing. So, I tried the 2nd stock firmware again, praying something good would happen, and still stuck on the Samsung screen.
I can still boot into Odin and recovery, but I have no idea where to go from here. I still want it rooted if possible, and I'd prefer not to lose all my games and such. I just found "[ROOT][RECOVERY] [ALL IN ONE] Cf-Autoroot-twrp-T800-T805-T-700-T705" thread here, but I didn't want to try it just yet.
It's a SM-T800. I had Lollipop on it. Don't know much else to add, but please help!
Thanks all.
Click to expand...
Click to collapse
Well... you said you just updated to lollipop, but in order to not stay stuck at splash screen, you have to factory reset. I saw that you don't want to lose your games and such so you probably only have one option. That option is to flash twrp and make a nandroid of your data. Simply boot into download mode, download the twrp .tar http://twrp.me/devices/samsunggalaxytabs105.html
And now go into Odin, untick autoreboot, now hit the pda/AP button and pick the twrp tar. Hit start and let it do its thing. Now after its done flashing, your gonna have to force reboot. Simply hold power+volume up and down+home button all at the same time. Wait a bit and when the screen turns black, quickly press power+volume up+ home buttons all at the same time and it should boot into twrp.
Now in twrp, hit backup and hit backup data. Hopefully that should save your apps installed. Now after its done, go into wipe and silde factory reset. It should remove installed apps from Google play store and it won't remove pictures and such. It just removes the apps you installed. Then now reboot and wait....
Hopefully this helped
-DUHA
As said you will have to factory reset, this will wipe data and cache.
You can use the link you posted above to install TWRP and root.
http://forum.xda-developers.com/galaxy-tab-s/development/root-cf-autoroot-twrp-t800-t3079488
Lollipop changes the data partition so even if you back it up and then restore it with twrp In kitkat it likely won't boot afterwards.
All you can do is wipe it and take the hit.
Alright, I have TWRP running. The size of my "data" is just over 16 gig, and my space on the sdcard is 14.9 gig, so I've been trying to delete data to knock it down. I still have 1.3 gig to go. Everything I'm deleting, in the data folder, is barely making an impact.
I see what you're saying that I probably won't be able to restore it and have it work, but I still will try. I can always factory reset it again later. Once I wipe it, though, and update back to lollipop, couldn't I restore that data backup?
I gotta take a break and knock out some real work, lol, then I'll continue, and update here. If nothing else, maybe it'll help some other poor soul like me in the future!
Once I have it booting all the way again, do I just use TWRP to install SuperSU and it's rooted? Thanks again. I appreciate it!
Not sure what youre trying to do here. Just wipe the data partition with twrp,
Sent from my SM-T805 using XDA Free mobile app
Ashyx, I was just trying to save my game data, while ending up with a rooted tab. And you were right, of course! I tried to restore the back up to no avail, haha....well, I wiped it again, and it booted up just fine, and it is rooted to boot. I can't believe it was that easy with TWRP to root it.
I'm betting this isn't going to work out, but is there anyway to extract my game data from that backup I made, and transfer just that back to my tablet? If it is possible, it'll probably be beyond my ability, I bet, but I'm just curious.
One other question. With TWRP, can I get Lollipop back on it? Or do I need something else on it first?
Now, it's off to figure out how to get my Impulse Controller to work with it so I can play my games with it!
Thanks for helping me out, regardless. I truly thought I had bricked my $600 tablet. My wife would've killed me for wasting that much money, lol!
There is an app called nandroid manager that will allow you to extract data from nandroids, you could extract your game data with that.
The better way would be to make a system and data backup of your current system, reflash lollipop then restore your lollipop data backup. Then back up your game data with titanium backup.
Restore your kitkat backup then restore your game data with tb.

Some apps don't work after rooting issue

Hi all,
I ran into an issue while trying to root my Samsung Galaxy S III. I used a tutorial from Max Lee on Youtube (can't post link) to help me get through the process . There was a step that used Titanium Backup to check if you rooted your phone correctly. However when I downloaded Titanium Backup and tried to open it, I didn't see the superSU request window like it appeared in the tutorial. It was stuck on "asking for root rights..." I decided to reinstall Titanium Backup to see if it would help. After uninstalling it, I realized my Play Store would not load anything. I looked at some other apps and they wouldn't load either (Gmail, Hangouts, some games, etc). I tried logging out and back into my Google account but that didn't work either. A lot of my apps aren't working after attempting to root my phone and I'm not sure what the issue is.
I'm new to this sort of stuff and I couldn't really find an answer for my problem (at least not that I could find on Google). Sorry if this has been asked already! Could anyone tell me what I could do to get my phone back to it's original state at least? I'm kind of afraid to try and root again if I do get a fix for this. Also, factory reset is going to be my last option ;_;.
Samsung Galaxy S III SGH-T999 running Android version 4.1.2
Thanks!
If you can, back up your internal sdcard data. It's very likely you may have to do a factory reset which can erase it.
(BTW, when you get it going again, consider using the free unlock method in the General section. Once you update you can't do it free anymore)
OK, so first, only use what info you find in the T999 forums. Everything you need is here and it's hard to help fix things caused by info gained elsewhere.
Do you have a custom recovery installed? (Twrp or cwm) if so boot recovery and factory reset. This will wipe all apps and data (except internal sd...at least it shouldnt). With luck, this is all you need to do. Reboot and hopefully it'll be working so you can reinstall your stuff. If you have stock recovery, still do this, but it WILL wipe ALL user data).
If that doesn't work, the easiest and most reliable next step is to flash your current firmware build via Odin, and factory reset from settings or stock recovery. (wipes all data).
Then you can unlock and update if you so choose. You can find your firmware and instructions in my firmware thread stickied in the development section. (You'll probably want to use the root66 versions)
If you have any questions feel free to ask. Better safe than sorry. But keep in mind just about everything you could possibly need or want to know has been covered, so don't forget to search for your answers first.
If you still want root after all that, we have several extremely easy options.
Good luck!
Sent from my SAMSUNG-SGH-T999 using Tapatalk

Best Way to Reset Rooted Nexus 7 2013

I have a N7 2013 that I bought about 4 years ago and I would like to wipe it and start clean. I rooted it as soon as I got the tablet and I'm not sure if the root method matters but it was so long ago I have no idea how I rooted it. It's not modded in any other way, just rooted with stock android 4.4.4
Anyway, the tablet is starting to act funny, crashing certain apps, and I would like to just wipe it and start over. If it were completely stock and unrooted I would just go into recovery and factory reset that way, but I wasn't sure if I can do this with the rooted tablet or if there is a different way. There are so many threads on different websites with different ways to do this and I just want to make sure I'm using the proper method so I don't mess anything up. I don't have anything on it that I am worried about losing, so I can jump right in and start wiping.
What I'm wondering is if there is a way to reset it and keep root, or do I have to unroot first, or just wipe it and re-root? If someone can point me towards a good thread to use that would be great. Any help is appreciated.
If it matters, it also has TWRP v2.7.0.0 installed. I believe that was put in as part of the rooting process.
Try using the Nexus Root Toolkit by Wugfresh it does everything you require and more
https://forum.xda-developers.com/showthread.php?t=1766475

Categories

Resources