Effects of Factory Reset - Nexus 5 Q&A, Help & Troubleshooting

Hi everyone!
Nexus battery's become pretty sloppy out of nowhere, I've tried all the techniques to get my battery back up, but nothing... I want to reset my nexus back to factory because I've put a load of rubbish on here that I really don't need that showed it down. What o want to know is what will happen if I factory reset? And how do I do it through TWRP? I wanna completely clean my phone back to scratch, except from my ROM, Kernel and TWRP... I know how to back up my app data so that's not a problem... Will it delete my internal storage because that's one thing I don't want to happen... Any help is appreciated thanks!
Sent from my Nexus 5 using Tapatalk

Only stock /recovery wipes /sdcard. Custom recovery leaves it alone. So just choose the wipe data / factory reset option in your recovery
Sent from my Nexus 5 using Tapatalk

rootSU said:
Only stock /recovery wipes /sdcard. Custom recovery leaves it alone. So just choose the wipe data / factory reset option in your recovery
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Will this delete my custom ROM/Kernel/TWRP?
Sent from my Nexus 5 using Tapatalk

ProVickers said:
Will this delete my custom ROM/Kernel/TWRP?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No of course not! Wipe data / factory reset only wipes /data.
This is all pretty basic. Perhaps read the root sticky thread at the top of this forum for a greater understanding.
Sent from my Nexus 5 using Tapatalk

Related

Cant mount /data, seems corrupted

Okay, I've looked everywhere but I haven't found any solutions. I was running PA and everything was fine. Flashed purity, booted, and phone was FC. Went back to twrp (latest version) to restore backup. It requested a password. I have never set one. I hit cancel, clicked restore, and my entire sdcard partition is gone. Tried cwm, same thing. Error mounting /data. I'd really appreciate some help here. I'm an experienced ROM flasher. Been doing it a while. Is there anything I can do to fix it, short of flashing factory image?
Sent from my Nexus 7 using Tapatalk
Try wipe cache first
Sent from my Nexus 5 using Tapatalk
rootSU said:
Try wipe cache first
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I just kept trying to format data and it finally worked. Weird. I'm adb side loading PA right now so hopefully that'll work.
Edit: just finished sideloading. It booted, but on the setup screen, I have a reoccurring "unfortunately, phone has stopped" message. Recovery still says unable to mount storage when trying to wipe anything.
Sent from my Nexus 7 using Tapatalk
Flash stock images and reroot to fix
sent from my HAMMERHEAD neXus
CRIME INC. said:
Flash stock images and reroot to fix
sent from my HAMMERHEAD neXus
Click to expand...
Click to collapse
Yeah I figured I'd have to do that. I just didn't want to. Haha
Sent from my Nexus 7 using Tapatalk
CRIME INC. said:
Flash stock images and reroot to fix
sent from my HAMMERHEAD neXus
Click to expand...
Click to collapse
Completely unnecessary.
The ROM has a backup script that saves your Google apps as well as the dialer if you flashed that. That conflicts with a fresh install.
All you need to do is, factory reset, wipe system so that the script has nothing to backup, them flash ROM and gapps. That's it.
Sent from my Nexus 5
Pirateghost said:
Completely unnecessary.
The ROM has a backup script that saves your Google apps as well as the dialer if you flashed that. That conflicts with a fresh install.
All you need to do is, factory reset, wipe system so that the script has nothing to backup, them flash ROM and gapps. That's it.
Sent from my Nexus 5
Click to expand...
Click to collapse
Good to know.:thumbup:
sent from my HAMMERHEAD neXus

[Q] Factory reset question

Hi. I have a rooted Nexus 5 with stock ROM & kernel, Xposed installed and TWRP recovery. I'd like to do a factory reset, and by "factory reset" I mean I'd like to have it as if it was brand new. No apps, no media, etc. I think I can keep TWRP, but nothing else. I'd like to have it as it was the first time I powered it on. Can I do that from TWRP? Because I know that when you do a factory reset from recovery, usually, the /data/media directory isn't wiped.
You can not do it from twrp. I'd recommend flashing the factory image and then rerooting.
Sent from my Nexus 5
jd1639 said:
You can not do it from twrp. I'd recommend flashing the factory image and then rerooting.
Sent from my Nexus 5
Click to expand...
Click to collapse
Ok, thank you.
jd1639 said:
You can not do it from twrp. I'd recommend flashing the factory image and then rerooting.
Sent from my Nexus 5
Click to expand...
Click to collapse
Maybe I can't read, but why won't factory reset + intsd wipe in TWRP do what he needs?
I'm looking at TWRP right now and I'm not sure which option you would use, there's format data on the main wipe screen, and when you go into advanced there's internal storage. I'm thinking you want to wipe internal storage, but someone else with knowledge of this should chime in first before you do it. I've never factory restored a phone through recovery so I'm not sure. Wouldn't locking and unlocking your bootloader with ADB accomplish the same thing?
There is literally a sticky in one of the Nexus forums that explains how to go back to bone stock. check it out, should be everything you need.
Pain-N-Panic said:
There is literally a sticky in one of the Nexus forums that explains how to go back to bone stock. check it out, should be everything you need.
Click to expand...
Click to collapse
Right, but if you want to retain root and recovery like TWRP, can't you just format your storage through recovery?
Aerowinder said:
Maybe I can't read, but why won't factory reset + intsd wipe in TWRP do what he needs?
Click to expand...
Click to collapse
OP was not explicit. Asked for it to be like first time powered on which I suspect was not with a custom rom or kernel. Think OP needs to elaborate on what is desired but no recovery can replace rom and kernel with the "factory reset" option
Sent from my Nexus 5 using Tapatalk
rootSU said:
OP was not explicit. Asked for it to be like first time powered on which I suspect was not with a custom rom or kernel. Think OP needs to elaborate on what is desired but no recovery can replace rom and kernel with the "factory reset" option
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
It seems he want's to go completely back to stock while keeping TWRP.
t1.8matt said:
It seems he want's to go completely back to stock while keeping TWRP.
Click to expand...
Click to collapse
Yes. That's how it reads to me
Sent from my Nexus 5 using Tapatalk

Factory reset

Doing factory reset erases all data on phone including music, pics or just the apps and contacts?
Sent from my Nexus 5 using xda app-developers app
-Harsh- said:
Doing factory reset erases all data on phone including music, pics or just the apps and contacts?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
It erases everything, putting the phone into its initial state, of when you took it out of the box for the first time. Therefore the name, "factory reset".
Like said above factory reset resets all user data..It's like performing a wipe of /data/ partition.
It does not however restore the system directory. Any changes made there remain the same even after a factory reset. So if you removed bloat and perform a factory reset that bloat Will still be gone when you setup the phone again.
Sent from my Nexus 5 using Tapatalk
Except in custom recovery it does not wipe your sdcard
Sent from my Nexus 5
Pirateghost said:
Except in custom recovery it does not wipe your sdcard
Sent from my Nexus 5
Click to expand...
Click to collapse
This ^^^^
In recovery the ONLY way you'll wipe your internal SD..pic, music, downloads...etc...is checking off internal SD in the wipes.
KJ said:
This ^^^^
In custom recovery the ONLY way you'll wipe your internal SD..pic, music, downloads...etc...is checking off internal SD in the wipes.
Click to expand...
Click to collapse
FIFY just on Case it's taken out of context
Sent from my Nexus 5 using Tapatalk

4.4.3 Released, I'm on a 4.4.2 ROM. (Noob Question)

Hey folks, here's a really nooby question for you. I apologise in advance, this is my first android phone, and I'm a little confused and paranoid about updating my ROM with a new version of android.
I want to get Paranoid Android on 4.4.3 on my phone, I'm currently using Slimkat on 4.4.2. How would I go about installing PA on 4.4.3 on my phone? Is it as simple as a quick flash of the PA ROM, or is it more difficult then that?
What I'm trying to ask is, how would I go about installing Paranoid Android that is built for KitKat 4.4.3 on my phone which is currently running SlimKat built for KitKat 4.4.2.
Thank you in advance for all answers
Sent from my Nexus 5 using Tapatalk
Just wipe and flash. After a backup of course.
sent from my Paranoid HAMMERHEAD
CRIME INC. said:
Just wipe and flash. After a backup of course.
sent from my Paranoid HAMMERHEAD
Click to expand...
Click to collapse
Really? Thought it would be harder then that. Cheers, can anyone confirm?
Sent from my Nexus 5 using Tapatalk
@ProVickers
Wipe everything (cache, dalvic, data), format /system and then flash the PA.zip followed by the gapps.
Yes sir.
sent from my Paranoid HAMMERHEAD
vin4yak said:
@ProVickers
Wipe everything (cache, dalvic, data), format /system and then flash the PA.zip followed by the gapps.
Click to expand...
Click to collapse
Not too keen on wiping data. Any better way then that? Cheers.
Sent from my Nexus 5 using Tapatalk
Would it work if I flashed the PA 4.4.2 version on my phone, then used the built in PA OTA thing to get the 4.4.3 update for me? I don't know. Just an idea
Sent from my Nexus 5 using Tapatalk
ProVickers said:
Not too keen on wiping data. Any better way then that? Cheers.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Backup your apps with app like Rom toolbox or titanium backup and wipe data. If you don't, there will most certainly be errors and crashes all over the rom.
And don't confuse data with internal storage. You can keep your storage, but it is also recommended to format it when switching roms.
So yeah...backup, throw on PC, flash. It's the most safe and fast way, otherwise you may be wasting time flashing again and again while cleaning of any mistakes.
Sent from my Nexus 5 using Tapatalk
Dawnut said:
Backup your apps with app like Rom toolbox or titanium backup and wipe data. If you don't, there will most certainly be errors and crashes all over the rom.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thinking about it now it sounds a little better. Use TiBu to backup my apps and make a backup of my internal storage on my computer to drag and drop back later. This wouldn't break root or re-lock bootloader will it?
Sent from my Nexus 5 using Tapatalk
ProVickers said:
Not too keen on wiping data. Any better way then that? Cheers.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Factoring reset/data reset from a custom recovery won't touch /sdcard. All your personal files will be fine.
ProVickers said:
Would it work if I flashed the PA 4.4.2 version on my phone, then used the built in PA OTA thing to get the 4.4.3 update for me? I don't know. Just an idea
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Why do you want to lengthen the process?? Wipe, format system, flash PA, gapps. Done!
ProVickers said:
Thinking about it now it sounds a little better. Use TiBu to backup my apps and make a backup of my internal storage on my computer to drag and drop back later. This wouldn't break root or re-lock bootloader will it?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No, when done flashing the rom, if the rom comes rooted, I recommend installing SuperSU from the play store. It is a standart root app and pretty good one too. Otherwise, it won't affect neither your root or bootloader.
Sent from my Nexus 5 using Tapatalk
ProVickers said:
Thinking about it now it sounds a little better. Use TiBu to backup my apps and make a backup of my internal storage on my computer to drag and drop back later. This wouldn't break root or re-lock bootloader will it?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No Sir, it won't!
Edit: Ugh.. Getting ninja'd a lot of times recently
vin4yak said:
Factoring reset/data reset from a custom recovery won't touch /sdcard. All your personal files will be fine.
Why do you want to lengthen the process?? Wipe, format system, flash PA, gapps. Done!
Click to expand...
Click to collapse
oh, really? Awesome! What do you mean by format system? I've never came across this. Cheers
Sent from my Nexus 5 using Tapatalk
ProVickers said:
oh, really? Awesome! What do you mean by format system? I've never came across this. Cheers
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Boot into recovery > Wipe > Format system. The path should be something like this. It wipes EVERYTHING, including internal storage. So backup!
Sent from my Nexus 5 using Tapatalk
ProVickers said:
oh, really? Awesome! What do you mean by format system? I've never came across this. Cheers
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
If you're using Philz, Go to mounts and storage and format system from there. It won't wipe your sdcard.
Dawnut said:
Boot into recovery > Wipe > Format system. The path should be something like this. It wipes EVERYTHING, including internal storage. So backup!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Formatting /system doesn't wipe internal storage. It just formats the /system partition.
vin4yak said:
Formatting /system doesn't wipe internal storage. It just formats the /system partition.
Click to expand...
Click to collapse
Um, sorry about that, got a little carried away [emoji28] Thanks for noticing.
Dawnut said:
Um, sorry about that, got a little carried away [emoji28] Thanks for noticing.
Click to expand...
Click to collapse
Hah, happens! I see everybody's loving the new SwiftKey app! ?
- Sent from an IceCold Hammerhead!
vin4yak said:
Hah, happens! I see everybody's loving the new SwiftKey app! ?
- Sent from an IceCold Hammerhead!
Click to expand...
Click to collapse
I am using the integrated swype thing in the AOSP keyboard, but guess it's the same
The PA zip will actually format /system before it install the new ROM over your system. I'm old school and still format system manually through recovery but if you don't know where that is in the recovery version I wouldn't sweat it. If you have problems after boot you may need to go in and figure out how to do it yourself but like I said most ROMs on the forum format /system before installing new system.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Beamer9408 said:
The PA zip will actually format /system before it install the new ROM over your system. I'm old school and still format system manually through recovery but if you don't know where that is in the recovery version I wouldn't sweat it. If you have problems after boot you may need to go in and figure out how to do it yourself but like I said most ROMs on the forum format /system before installing new system.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes it formats system but if there is anything in addon.d directory it will bring over some undesirables at times. Best to manually wipe system to keep it clean.
#stayparanoid

Wiped cache, turned off frozen phone, now I'm having all sorts of issues.

Looks like I might have corrupted the cache. How do I go about fixing this?
Fastboot flash the stock cache image
Sent from my Nexus 5 using Tapatalk
rootSU said:
Fastboot flash the stock cache image
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
My device is locked. Is there a way to do it without losing data?
Never mind. It somehow fixed itself.

Categories

Resources