Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,588 Members 47,272 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Factory reset question

Tip us?
 
Jaggions
Old
#1  
Member - OP
Thanks Meter 4
Posts: 56
Join Date: Nov 2013
Location: Bergamo

 
DONATE TO ME
Default [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.
About me: theiphonewiki.com/wiki/User:Jaggions
 
jd1639
Old
#2  
jd1639's Avatar
Recognized Contributor
Thanks Meter 3173
Posts: 9,376
Join Date: Sep 2012
Location: Minnetonka, MN
You can not do it from twrp. I'd recommend flashing the factory image and then rerooting.

Sent from my Nexus 5
The Following User Says Thank You to jd1639 For This Useful Post: [ Click to Expand ]
 
Jaggions
Old
#3  
Member - OP
Thanks Meter 4
Posts: 56
Join Date: Nov 2013
Location: Bergamo

 
DONATE TO ME
Quote:
Originally Posted by jd1639 View Post
You can not do it from twrp. I'd recommend flashing the factory image and then rerooting.

Sent from my Nexus 5
Ok, thank you.
About me: theiphonewiki.com/wiki/User:Jaggions
 
Aerowinder
Old
#4  
Recognized Contributor
Thanks Meter 1207
Posts: 3,069
Join Date: Aug 2012
Quote:
Originally Posted by jd1639 View Post
You can not do it from twrp. I'd recommend flashing the factory image and then rerooting.

Sent from my Nexus 5
Maybe I can't read, but why won't factory reset + intsd wipe in TWRP do what he needs?
 

Google Firmware: Google
USB Drivers: Google | Mirror
ADB+ADB Drivers: 19.0.2 (4.4.4) + Koush Universal ADB Drivers

TWRP Official: hammerhead | flo
TWRP Holofied: hammerhead | flo

Gapps: BaNkS

Superuser: Chainfire | Mirror
 
t1.8matt
Old
#5  
Senior Member
Thanks Meter 395
Posts: 1,742
Join Date: Jan 2012
Location: Pittsburgh, PA.
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?
Google Nexus 5

Moto X DE

Nexus 7 1G
 
Pain-N-Panic
Old
#6  
Pain-N-Panic's Avatar
Senior Member
Thanks Meter 196
Posts: 826
Join Date: Mar 2013
Location: Droid
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.
 
t1.8matt
Old
#7  
Senior Member
Thanks Meter 395
Posts: 1,742
Join Date: Jan 2012
Location: Pittsburgh, PA.
Quote:
Originally Posted by Pain-N-Panic View Post
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.
Right, but if you want to retain root and recovery like TWRP, can't you just format your storage through recovery?
Google Nexus 5

Moto X DE

Nexus 7 1G
 
rootSU
Old
#8  
rootSU's Avatar
Senior Member
Thanks Meter 10675
Posts: 21,813
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Quote:
Originally Posted by Aerowinder View Post
Maybe I can't read, but why won't factory reset + intsd wipe in TWRP do what he needs?
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
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
 
t1.8matt
Old
#9  
Senior Member
Thanks Meter 395
Posts: 1,742
Join Date: Jan 2012
Location: Pittsburgh, PA.
Quote:
Originally Posted by rootSU View Post
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
It seems he want's to go completely back to stock while keeping TWRP.
Google Nexus 5

Moto X DE

Nexus 7 1G
 
rootSU
Old
#10  
rootSU's Avatar
Senior Member
Thanks Meter 10675
Posts: 21,813
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Quote:
Originally Posted by t1.8matt View Post
It seems he want's to go completely back to stock while keeping TWRP.
Yes. That's how it reads to me

Sent from my Nexus 5 using Tapatalk
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes