I recently bought a used Nexus 6 in mint condition, but I noticed after a factory reset in TWRP that I still see old install folders and even some of the previous owner pics and docs.
How do I do a proper wipe without missing something up like the rom itself? What settings in TWRP should I use without killing the rom.
Thanks in advance
rsalas187 said:
I recently bought a used Nexus 6 in mint condition, but I noticed after a factory reset in TWRP that I still see old install folders and even some of the previous owner pics and docs.
How do I do a proper wipe without missing something up like the rom itself? What settings in TWRP should I use without killing the rom.
Thanks in advance
Click to expand...
Click to collapse
Do a data factory reset in /settings/backup and restore/factory reset/. Backup first off course, this will wipe the device.
gee2012 said:
Do a data factory reset in /settings/backup and restore/factory reset/. Backup first off course, this will wipe the device.
Click to expand...
Click to collapse
So don't even use the TWRP factory reset?
Format Data
Factory reset in twrp doesn't wipe sdcard. Also factory reset in settings uses recovery default which if twrp also, doesn't wipe sdcard.
In twrp go to wipe > advanced wipe > internal storage
rsalas187 said:
So don't even use the TWRP factory reset?
Click to expand...
Click to collapse
If you prefer that you can:
Wipe cache and dalvik cache, data factory reset and reboot. Also backup apps and files/pics etc first. Do not wipe system or sdcard!
gee2012 said:
If you prefer that you can:
Wipe cache and dalvik cache, data factory reset and reboot. Also backup apps and files/pics etc first. Do not wipe system or sdcard!
Click to expand...
Click to collapse
He wants to wipe sdcard...
rootSU said:
He wants to wipe sdcard...
Click to expand...
Click to collapse
Don't think so if I read the op right, at least don't hope so ?
Verstuurd vanaf mijn Nexus 6 met Tapatalk
gee2012 said:
Don't think so if I read the op right, at least don't hope so ?
Verstuurd vanaf mijn Nexus 6 met Tapatalk
Click to expand...
Click to collapse
Yeah he does. He wants to wipe all the pictures from previous owner on sdcard but can't because twrp doesn't do that unless he follows my instructions s
rootSU said:
Yeah he does. He wants to wipe all the pictures from previous owner on sdcard but can't because twrp doesn't do that unless he follows my instructions s
Click to expand...
Click to collapse
Oké, doesn't do data factory reset in settings do the same? Wipe user data.
Verstuurd vanaf mijn Nexus 6 met Tapatalk
gee2012 said:
Oké, doesn't do data factory reset in settings do the same? Wipe user data.
Verstuurd vanaf mijn Nexus 6 met Tapatalk
Click to expand...
Click to collapse
Twrp does not wipe sdcard. This is done on purpose to save sdcard for ROM flashers. It is no good wiping a device before flashing a ROM if the ROM you want to flash is wiped from sdcard.
Only stock ROM wipes sdcard with factory reset
Reset from settings uses recovery. So of stock recovery installed, using setting wipes sdcard. If twrp installed, using settings does not wipe sdcard.
rootSU said:
Twrp does not wipe sdcard. This is done on purpose to save sdcard for ROM flashers. It is no good wiping a device before flashing a ROM if the ROM you want to flash is wiped from sdcard.
Only stock ROM wipes sdcard with factory reset
Reset from settings uses recovery. So of stock recovery installed, using setting wipes sdcard. If twrp installed, using settings does not wipe sdcard.
Click to expand...
Click to collapse
Oké got it bro.
Verstuurd vanaf mijn Nexus 6 met Tapatalk
you can always wipe the sd storage with twrp, but you have to specificly choose your storage to be wiped.
Failure of Factory Reset
I bought a Nexus 6 today, and listen to the "father" tell me that his "son" placed TWRP for recovery and installed PureNexus ROM on the device. Of course, I figured that this wasn't and issue, and the first thing that I did was do a factory reset. I issued the reset and once I was in TWRP, I immediately received a fail. I did a fastboot to a newer version of TWRP, but still no joy.
I have tried advance wipe and still nothing. Is there any pointers on where I might find the answer to being able to do a factory reset.
kcallis said:
I bought a Nexus 6 today, and listen to the "father" tell me that his "son" placed TWRP for recovery and installed PureNexus ROM on the device. Of course, I figured that this wasn't and issue, and the first thing that I did was do a factory reset. I issued the reset and once I was in TWRP, I immediately received a fail. I did a fastboot to a newer version of TWRP, but still no joy.
I have tried advance wipe and still nothing. Is there any pointers on where I might find the answer to being able to do a factory reset.
Click to expand...
Click to collapse
Need some details here... First and foremost, what kind of fail are you talking about? Is there an error message?
(It's also interesting to know what kind of factory reset you did. The "normal" way in settings or in TWRP?)
Didgeridoohan said:
Need some details here... First and foremost, what kind of fail are you talking about? Is there an error message?
(It's also interesting to know what kind of factory reset you did. The "normal" way in settings or in TWRP?)
Click to expand...
Click to collapse
The first time I did a Factory Reset was via the Setting --> Backup & reset --> Factory data reset. At which time, TWRP kicked in and attempted the automatic Factory reset.
Code:
Updating partition details..
... done
Full SELinux support is present.
Simulating actions...
At the top was the following:
Code:
OpenRecoveryScript Complete
Failed
So I thought there might be an issue with the version I was running so I followed up with going into the bootloader and then:
Code:
fastboot flash recovery openrecovery-twrp-2.8.5.0-shamu.img
I even tried to fastboot oem unlock:
Code:
[email protected]:~/Downloads/Nexus 6$ fastboot oem unlock
...
(bootloader) Device state transition will erase userdata.
(bootloader) Are you sure you want to continue this transition?
(bootloader)
(bootloader) Press POWER key to continue.
(bootloader) Press VOL UP or VOL DOWN key to cancel state transition.
(bootloader) State transition confirmed!
(bootloader) Please select 'YES' on screen if you want to continue...
(bootloader) Unlocking bootloader...
(bootloader) Not supported command in current status!
FAILED (remote failure)
finished. total time: 38.915s
I booted back into recovery and then tried to do a wipe. That one failed! I tried other partitions and still failed. So while the ROM seems to be working fine, I have not been able to do the factory reset and as such have not been able to first time boot where I could start the 1st time start so I could get the google cloud stuff downloaded to the device. I guess I could just go into Play and download stuff, but I would like to truly make this into my own device.
Sounds like the bootloader is locked. Go to settings in the ROM and tap on the build number seven times to expose Developer Options. Go to Developer Options and make sure "Enable OEM Unlock" is checked. Then try unlocking the bootloaded.
If you're successful, you can then replace TWRP with an updated version and go from there to customize the Nexus. This includes using TWRP to wipe the Nexus.
Didgeridoohan said:
Need some details here... First and foremost, what kind of fail are you talking about? Is there an error message?
(It's also interesting to know what kind of factory reset you did. The "normal" way in settings or in TWRP?)
Click to expand...
Click to collapse
Strephon Alkhalikoi said:
Sounds like the bootloader is locked. Go to settings in the ROM and tap on the build number seven times to expose Developer Options. Go to Developer Options and make sure "Enable OEM Unlock" is checked. Then try unlocking the bootloaded.
If you're successful, you can then replace TWRP with an updated version and go from there to customize the Nexus. This includes using TWRP to wipe the Nexus.
Click to expand...
Click to collapse
It is already in Developer Mode and the OEM is unlocked. One of the first things that I checked...
kcallis said:
It is already in Developer Mode and the OEM is unlocked. One of the first things that I checked...
Click to expand...
Click to collapse
Try instead to flash a factory image. Might work and your device will be nice and clean.
And TWRP 2.8.5.0 is ancient (sort of). Latest is 3.0.2-0.
Didgeridoohan said:
Try instead to flash a factory image. Might work and your device will be nice and clean.
And TWRP 2.8.5.0 is ancient (sort of). Latest is 3.0.2-0.
Click to expand...
Click to collapse
That was the trick... 3.0.2 made the factory reset a breeze
Related
Hey all,
Strange happenings, I was only stock ROM rooted and decrypted boot image. Attempted update to 5.0.1 using factory image and flashed a boot image that somebody else created for the 5.0.1 to keep it decrypted. Factory reset and all that now device showing 23.03GB free on the 64GB version of the device. I have flashed back to stock using factory images numerous times. Attempted fastboot format cache and userdata as well and then flashed factory images to no avail. I remember at one point (I forget when) that there was a userdata_64G in the factory images that needed to be flashed on this device to get it showing 64GB, but that is not part of either factory image downloaded from Google. Please help I am not sure where to go next.
Boot into recovery, perform an FDR. This has always fixed this issue for me on my N4 and N5.
I've just made an FDR my final step after I flash a factory image...helps avoid this problem all together.
vbman213 said:
Boot into recovery, perform an FDR. This has always fixed this issue for me on my N4 and N5.
I've just made an FDR my final step after I flash a factory image...helps avoid this problem all together.
Click to expand...
Click to collapse
FDR is that factory reset? Or something else?
Yeah factory data reset. Issue with the user data file causes this issue only fix is to factory data reset.
Jnewell05 said:
Yeah factory data reset. Issue with the user data file causes this issue only fix is to factory data reset.
Click to expand...
Click to collapse
Is there a special way of doing this that will do it or just the normal way?
I just noticed my 64gb is the same, but I don't feel like wiping again just yet
Can't good get their factory images working correctly? Frigging flash all broken. And borked storage spaces from factory images.
U can try to adb erase userdata but I'm sure this erases your device. Safe bet is factory data reset through stock recovery
Jnewell05 said:
U can try to adb erase userdata but I'm sure this erases your device. Safe bet is factory data reset through stock recovery
Click to expand...
Click to collapse
this. recovery-->factory data reset fixes it no problem. short term pain, long term solution
I have just completed the decryption process on my Nexus 6 64gb, and now it shows up as a 32gb device... No matter how many times I do a Factory Data Reset on it, it never changes or fixes itself back to the proper space of 64gb. Any help is greatly appreciated.
This is what finally worked for me:
http://forum.xda-developers.com/showpost.php?p=58201783&postcount=106
Reboot into the bootloader and type this:
fastboot format userdata
fastboot format cache
fastboot reboot
That will obviously wipe all your data again, but it should return back to 64GB
linebacker71 said:
I have just completed the decryption process on my Nexus 6 64gb, and now it shows up as a 32gb device... No matter how many times I do a Factory Data Reset on it, it never changes or fixes itself back to the proper space of 64gb. Any help is greatly appreciated.
This is what finally worked for me:
http://forum.xda-developers.com/showpost.php?p=58201783&postcount=106
Reboot into the bootloader and type this:
fastboot format userdata
fastboot format cache
fastboot reboot
That will obviously wipe all your data again, but it should return back to 64GB
Click to expand...
Click to collapse
Yes, you need to format Data....thats the only way.
If I have a 32gb nexus and it only shows 23 GB is the same thing wrong? Or is it just like a hit or miss on the exact GB?
linebacker71 said:
I have just completed the decryption process on my Nexus 6 64gb, and now it shows up as a 32gb device... No matter how many times I do a Factory Data Reset on it, it never changes or fixes itself back to the proper space of 64gb. Any help is greatly appreciated.
This is what finally worked for me:
http://forum.xda-developers.com/showpost.php?p=58201783&postcount=106
Reboot into the bootloader and type this:
fastboot format userdata
fastboot format cache
fastboot reboot
That will obviously wipe all your data again, but it should return back to 64GB
Click to expand...
Click to collapse
Seconding this, found these instructions when I had this issue on my 64gb and they worked for me.
Yes! Thank you! This worked perfectly didn't have to root(again) thanks again!
Ironjim4102 said:
Yes! Thank you! This worked perfectly didn't have to root(again) thanks again!
Click to expand...
Click to collapse
Just a boot into recovery and factory reset done the job for me and wiped catch.
To avoid ever having this issue, do NOT flash the userdata.img file contained in the factory image. It is not meant for a 64GB device. And it is never needed anyway. If you want to start with a clean slate, always replace "fastboot flash userdata userdata.img" with "fastboot format userdata", and you will avoid the issue altogether.
Glad I found this - thought my 64GB N6 was "fake" or something for a minute!
efrant said:
To avoid ever having this issue, do NOT flash the userdata.img file contained in the factory image. It is not meant for a 64GB device. And it is never needed anyway. If you want to start with a clean slate, always replace "fastboot flash userdata userdata.img" with "fastboot format userdata", and you will avoid the issue altogether.
Click to expand...
Click to collapse
New Nexus 6 owner here -- Glad I found this thread -- was kind of freaking out after updating OTA, bricking due to some random error, reflashing and just discovering my lovely 23GB free... Live and learn -- always some new "twist" with a new device. Titanium backup to the rescue again, huh?
I had to factory reset from stock recovery to fix mine...fastboot nor twrp data reset would work.
droidstyle said:
I had to factory reset from stock recovery to fix mine...fastboot nor twrp data reset would work.
Click to expand...
Click to collapse
TWRP wouldn't work because a factory reset there will only use the rm (remove) command for /data/data and /data/app. You actually need to format the entire /data partition because the incorrect size problem is a file system issue.
That said, there is absolutely no reason that fastboot format userdata shouldn't fix it. I've never seen it fail for this.
well it failed for me...I tried it several times. I could only get the right partition size from a factory reset via stock recovery. Also in TWRP I wiped data/ factory reset and formatted internal...still nothing.
No issues here w/ fastboot format userdata
FWIW and for the record, I was on rooted 5.1.1 (cf auto root), build LMY48M, and stock recovery. I backed up all apps and app data with Titanium Backup, then I used:
adb reboot-bootloader
fastboot format userdata
fastboot format cache
fastboot reboot
...and all was well with the "/sdcard" storage.
I restored all my apps and data with Titanium backup, and I'm just re-configuring my launcher again (Nova Launcher Prime). I installed TWRP earlier (I've missed it!), and I'm a happy camper (for now, heh).
Now, back to the "shadows" from whence I came.
I am on 5.0.1 nexus 6 AT&T version. I previously rooted and removed the At&t ring tones and boot music. I also swapped the file allowing for double tap to wake. Then because my work requires non rooted phones I un-rooted and locked the boot loader. Now that the up date is out using the factory reset in the OS I reset the phone to factory. But I still get the following error
"Emmc:/dev/block/platform/msn_sdcc.1/by-name/modem:68063232:df489009750ae8b9b1bbc88ab880f9210163E:error in @/cache/block/recovery/block.map
(Status 7)
I cleared the cache but that did not help.
I also tried flashing the factory image again with fastboot.
Previously I had successfully updated to 5.1
Thanks Berkeley
Can you "fastboot format cache"? What version are you trying to get to?
rootSU said:
Can you "fastboot format cache"? What version are you trying to get to?
Click to expand...
Click to collapse
Updating to 5.2 I did clear cash from the recovery i have not tried using fastboot.
Is factory reset from recovery different than from inside android?
Berk8520 said:
Updating to 5.2 I did clear cash from the recovery i have not tried using fastboot.
Is factory reset from recovery different than from inside android?
Click to expand...
Click to collapse
There is no 5.2. There is 5.0.1, 5.1 and 5.1.1 - though that's not what I meant. I meant the actual build number of what you want to go to.
Factory reset from Android uses recovery, ergo is the same.
rootSU said:
There is no 5.2. There is 5.0.1, 5.1 and 5.1.1 - though that's not what I meant. I meant the actual build number of what you want to go to.
Factory reset from Android uses recovery, ergo is the same.
Click to expand...
Click to collapse
Sorry typo on my part: Android 5.1 LMY47M
Berk8520 said:
Sorry typo on my part: Android 5.1 LMY47M
Click to expand...
Click to collapse
Ah OK and that can only upgrade from latest 5.0.1.
I would recommend fastboot flashing each of the factory images manually whilst also formatting those partitions. In particular system, boot and cache.
rootSU said:
Ah OK and that can only upgrade from latest 5.0.1.
I would recommend fastboot flashing each of the factory images manually whilst also formatting those partitions. In particular system, boot and cache.
Click to expand...
Click to collapse
I will give that a try.
Trying to sell my Nexus 6 I believe I bricked it. After rooting the device I used Chainfire 3d program and it made me stuck on google sign. I tried literally everything. I can boot into teamwin TWR recovery. I tried factory resetting wiping cache and delvic. Problem is my bootloader is coming up locked. Tried using fastboot many times to flash everything back keep getting remote failure. Need help, is it possible im just screwed at this point. Ive used about everything it is just stuck saying Google. PLEASE HELP!!!!
chainfires 3d program hasnt worked on a nexus in years. and you do need to boot back up to enable unlocking the bootloader in the developer options. have you tried wiping data in twrp recovery?
zacrivera24 said:
Trying to sell my Nexus 6 I believe I bricked it. After rooting the device I used Chainfire 3d program and it made me stuck on google sign. I tried literally everything. I can boot into teamwin TWR recovery. I tried factory resetting wiping cache and delvic. Problem is my bootloader is coming up locked. Tried using fastboot many times to flash everything back keep getting remote failure. Need help, is it possible im just screwed at this point. Ive used about everything it is just stuck saying Google. PLEASE HELP!!!!
Click to expand...
Click to collapse
Relax, deep breath. You need to use fastboot from bootloader. Issue these commands:
fastboot format cache
fastboot format userdata
That should get you into TWRP and from there you can transfer a ROM to internal, flash it and go from there.
Evolution_Freak said:
Relax, deep breath. You need to use fastboot from bootloader. Issue these commands:
fastboot format cache
fastboot format userdata
That should get you into TWRP and from there you can transfer a ROM to internal, flash it and go from there.
Click to expand...
Click to collapse
well, he wrote that he can boot into twrp recovery already. wiping data should fix his use of chainfires app. but flashing a new rom would do the same
simms22 said:
well, he wrote that he can boot into twrp recovery already. wiping data should fix his use of chainfires app. but flashing a new rom would do the same
Click to expand...
Click to collapse
Yeah, guess I missed that part.
Evolution_Freak said:
Yeah, guess I missed that part.
Click to expand...
Click to collapse
thinking about it now.. with the bootloader locked, would twrp let you flash anything?
simms22 said:
thinking about it now.. with the bootloader locked, would twrp let you flash anything?
Click to expand...
Click to collapse
Yes, it has been done to fix the soft brick I thought we were dealing with here. Only if TWRP is installed though.
Doesn't chainfire 3d modify system? I though it did. May need to flash a rom zip after a factory reset.
rootSU said:
Doesn't chainfire 3d modify system? I though it did. May need to flash a rom zip after a factory reset.
Click to expand...
Click to collapse
honestly, i dont remember. its been about 3-4 years since last thinking of that app. if it does, a rom flash would be needed.
Hi,
I've maybe bricked my phone. I've to enter the encryption key after reboot, but the phone tells me that I have to make a factory reset even the password is correct. I tried to wipe it with TWRP (twrp-3.0.2-0-nemo.img) but it failed because /data cannot be mounted.
How can I wipe the phone? Help please!
honor5c said:
Hi,
I've maybe bricked my phone. I've to enter the encryption key after reboot, but the phone tells me that I have to make a factory reset even the password is correct. I tried to wipe it with TWRP (twrp-3.0.2-0-nemo.img) but it failed because /data cannot be mounted.
How can I wipe the phone? Help please!
Click to expand...
Click to collapse
Solved: I've extracted the recovery image from the stock rom and flashed it via fastboot.
honor5c said:
Solved: I've extracted the recovery image from the stock rom and flashed it via fastboot.
Click to expand...
Click to collapse
I was about to tell you that
honor5c said:
Hi,
I've maybe bricked my phone. I've to enter the encryption key after reboot, but the phone tells me that I have to make a factory reset even the password is correct. I tried to wipe it with TWRP (twrp-3.0.2-0-nemo.img) but it failed because /data cannot be mounted.
How can I wipe the phone? Help please!
Click to expand...
Click to collapse
How did you encrypt the phone? I can't see any option on NEM-L51
Pou-chi said:
How did you encrypt the phone? I can't see any option on NEM-L51
Click to expand...
Click to collapse
Go to settings--> security
honor5c said:
Solved: I've extracted the recovery image from the stock rom and flashed it via fastboot.
Click to expand...
Click to collapse
Glad that you fixed it
Hey there!
I am opening this thread because my phone cannot turn on. It tries to turn, it shows the screen cannot be trusted and the it goes to erecovery. I have not done anything recently, but I noticed a few days ago that there was an update to a Huawei's app and probably that one was the cause.
I can access to TWRP recovery, my phone and FRP is unlocked. How can I bring again the phone to work (without deleting anything if possible)?
Thank you!
xNoFantasy said:
Hey there!
I am opening this thread because my phone cannot turn on. It tries to turn, it shows the screen cannot be trusted and the it goes to erecovery. I have not done anything recently, but I noticed a few days ago that there was an update to a Huawei's app and probably that one was the cause.
I can access to TWRP recovery, my phone and FRP is unlocked. How can I bring again the phone to work (without deleting anything if possible)?
Thank you!
Click to expand...
Click to collapse
Hi, try this way out... In TWRP > Wipe > Advanced wipe > mark Dalvik/ART Cache and Cache > swipe to wipe. Reboot system.
-Alf- said:
Hi, try this way out... In TWRP > Wipe > Advanced wipe > mark Dalvik/ART Cache and Cache > swipe to wipe. Reboot system.
Click to expand...
Click to collapse
Just tried, unfortunalety no results.
xNoFantasy said:
Just tried, unfortunalety no results.
Click to expand...
Click to collapse
Then flash stock Recovery and do Wipe cache partition.
xNoFantasy said:
without deleting anything if possible
Click to expand...
Click to collapse
...you don't have many options
-Alf- said:
Then flash stock Recovery and do Wipe cache partition.
...you don't have many options
Click to expand...
Click to collapse
Where can I find the stock recovery? You have a link?
I hoped but I guess it is the only way.
xNoFantasy said:
Where can I find the stock recovery? You have a link?
I hoped but I guess it is the only way.
Click to expand...
Click to collapse
what is your phone model and what is the EMUI version?
Btw, the Recovery.img you can extract from fullOTA-MF firmware - first extract UPDATE.APP , then use "Huawei update extractor".