How to wipe all data from the Galaxy Nexus? - Nexus 4 Q&A, Help & Troubleshooting

Hi, all. I will be selling my Galaxy Nexus in a few days and I want to wipe all data prior to selling it. I know about factory reset but I want to know if they are any additional steps or things I should do to make sure none of my data remains on it. It has never been rooted and is running the latest stock software. Thanks.
Sent from my Nexus 4 using xda app-developers app

Just realized I posted in the wrong forum. Sorry.
Sent from my Nexus 4 using xda app-developers app

yea wrong forum but regardless... just go to the settings and then storage... over there should be an option to format SD card... and if there isnt... then by default when you wipe, it will format the sd card...
or alternatively you can format the sd card from the recovery menu...

Related

[Q] Factory Reset Question

Will doing a Factory Reset on the N7 wipe ALL my data including my sd storage for example...the 'Downloads" folder. Will it wipe that too, or just the apps and OS
I played with a brand new unit for a week and will be giving the device to the owner after reviewing it. When I did the factory reset it wiped everything including the internal sdcard.
It still has recovery on it (TWRP) but nothing else. Would have to push superuser to it again.
Via my HTC Rezound
Yes it wipes everything. If you're in clockwork mod you can do a factory reset and keep your sd card files.
Sent from my LG-P999 using xda app-developers app
redmonke255 said:
Yes it wipes everything. If you're in clockwork mod you can do a factory reset and keep your sd card files.
Sent from my LG-P999 using xda app-developers app
Click to expand...
Click to collapse
Oh so flashing from recovery is fine. OK thanks
Sent from my Nexus 7 using XDA Premium HD app

[Solved]Factory Data Reset.

Here's the deal. I want to factory reset my nexus so I can remove the unlock pin. Question is I can't seem to really get an answer. If I do the factory data reset from the menu will I lose my data from the emulated SD card. According to the picture. I will, but I looked this up and according to some website and other xda members. I won't. Since I've only had this phone for about a month now and this is the first phone that I've had with a SD slot. I honestly don't know what will happen if I hit that reset button.
Sent from my Nexus 4 using xda premium
Back up your storage to a computer and see what happens. They only way I've been able to erase my data was formatting in recovery or locking then unlocking the bootloader.
Sent from a neXus device
FeintDoxx said:
Here's the deal. I want to factory reset my nexus so I can remove the unlock pin. Question is I can't seem to really get an answer. If I do the factory data reset from the menu will I lose my data from the emulated SD card. According to the picture. I will, but I looked this up and according to some website and other xda members. I won't. Since I've only had this phone for about a month now and this is the first phone that I've had with a SD slot. I honestly don't know what will happen if I hit that reset button.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Yes a factory reset will wipe all user data on the phone if done from settings/backup and restore/reset device. Backup files first.
The nexus 4 doesn't have an SD card slot. You will lose all data unless you've made a backup in recovery or on your computer. And yes, it will wipe the /sdcard folder.
Holcomb227 said:
The nexus 4 doesn't have an SD card slot. You will lose all data unless you've made a backup in recovery or on your computer. And yes, it will wipe the /sdcard folder.
Click to expand...
Click to collapse
I know sorry meant without just didn't notice it and yeah I figured so. Guess I'll have to wait a bit before I do a reset then.
Sent from my Nexus 4 using xda premium
But you know, i have done factory resets, wiped dalvic nd cache and unlocking bootloader but evrytime i so that, the files in my internal sd card were all still there and never was deleted.
So im quite confused as well..
Sent from my Nexus 4 using xda premium
vinz_bangiz said:
But you know, i have done factory resets, wiped dalvic nd cache and unlocking bootloader but evrytime i so that, the files in my internal sd card were all still there and never was deleted.
So im quite confused as well..
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
If you factory reset in stock recovery it wipes the lot
vinz_bangiz said:
But you know, i have done factory resets, wiped dalvic nd cache and unlocking bootloader but evrytime i so that, the files in my internal sd card were all still there and never was deleted.
So im quite confused as well..
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Yeah this is what I mean. I keep on getting different answers.
But I'll just back things up on a PC and then attempt to factory reset.
EddyOS said:
If you factory reset in stock recovery it wipes the lot
Click to expand...
Click to collapse
Sent from my Nexus 4 using xda premium
Doing a factory reset in stock recovery will wipe everything
Doing a factory reset in custom recovery will not wipe SD context
Unlocking the bootloader and rebooting will wipe everything
Unlocking the bootloader and flashing a custom recovery then wipe cache and reboot will not wipe SD context
Sent from my Nexus 4
spaceman860 said:
Doing a factory reset in stock recovery will wipe everything
Doing a factory reset in custom recovery will not wipe SD context
Unlocking the bootloader and rebooting will wipe everything
Unlocking the bootloader and flashing a custom recovery then wipe cache and reboot will not wipe SD context
Sent from my Nexus 4
Click to expand...
Click to collapse
Thanks. Although.not really sure which one of these I can use to reset my unlock pin.
Sent from my Nexus 4 using xda premium
Just go to security settings and choose a different lock style !!! Unless you have forgot your pin ??
What recovery are you using ?
I have no issues doing.........
Go to settings and backup and reset option, choose the factory data reset.
Now this will wipe your user data and reset your ROM to how it was originally. This does NOT touch your emulated sdcard partition. Basically it resets the ROM and removes all user apps etc.
You can always use TB to back up all user apps 1st then just restore again after. ( obviously you will have to install TB again before you can restore but all data will remain on your " sdcard".
Hope this helps.
Mmmmm actually I am using twrp so maybe I got mistaken as I don't know how it handles on a stock recovery as it does boot into twrp briefly when I do this.
I've done this many times and never lost my sdcard files though.
Sent from my Nexus 4 using Tapatalk 4 Beta
Do you have an exchange account connected to your phone? Like an outlook email from work or something? A pw is required if you have that connected.
Sent from my Nexus 4 using xda app-developers app
Teo032 said:
Do you have an exchange account connected to your phone? Like an outlook email from work or something? A pw is required if you have that connected.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I have my other gmail synced on the stock email app. Uhm I'll try to delete my accounts but as you see in the last page. The picture I posted. "No Pin" is greyed out. Its odd. Never had this happen to me.
Sent from my Nexus 4 using xda premium
slymobi said:
Just go to security settings and choose a different lock style !!! Unless you have forgot your pin ??
What recovery are you using ?
I have no issues doing.........
Go to settings and backup and reset option, choose the factory data reset.
Now this will wipe your user data and reset your ROM to how it was originally. This does NOT touch your emulated sdcard partition. Basically it resets the ROM and removes all user apps etc.
You can always use TB to back up all user apps 1st then just restore again after. ( obviously you will have to install TB again before you can restore but all data will remain on your " sdcard".
Hope this helps.
Mmmmm actually I am using twrp so maybe I got mistaken as I don't know how it handles on a stock recovery as it does boot into twrp briefly when I do this.
I've done this many times and never lost my sdcard files though.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I have CWM Touch Recovery. Never tried TWRP.
Sent from my Nexus 4 using xda premium
Well I'm not sure how the system handles a factory data reset with cwm but I know for sure that using the factory data reset from phone settings does not wipe your internal "SD card" when using twrp. Now be aware I'm not referring to any wipes from recovery,its the wipe from the phone settings in backup and reset.
Sent from my Nexus 4 using Tapatalk 4 Beta
slymobi said:
Well I'm not sure how the system handles a factory data reset with cwm but I know for sure that using the factory data reset from phone settings does not wipe your internal "SD card" when using twrp. Now be aware I'm not referring to any wipes from recovery,its the wipe from the phone settings in backup and reset.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Okay thanks guys for all the help! I think this thread is done. I flashed TWRP recovery and I Factory Reset in there and it wiped everything that I needed. I got rid of the lock screen and I also found out that TWRP is a pretty amazing recovery. In the end I kept all my data. Just restored apps by Titanium BackUp. Thanks!:thumbup:
Sent from my Nexus 4 using xda premium

16GB phone suddenly only recognizes 8GB??

I accidentally wiped my internal storage and ROM completely from my device.
It was empty. I had to flash images available on the developer site. After managing to transfer files back onto my phone I flashed cm10.1 again.
Now I notice I have only 8GB storage.
Anyone else experience such an issue?
Sent from my Nexus 4 using Tapatalk 4 Beta
shockem said:
I accidentally wiped my internal storage and ROM completely from my device.
It was empty. I had to flash images available on the developer site. After managing to transfer files back onto my phone I flashed cm10.1 again.
Now I notice I have only 8GB storage.
Anyone else experience such an issue?
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
In stock recovery you have to wipe cache and dalvik, if that doesn't fix it do a factory rest to fix it. It may erase even your SD Card so back it up on cloud or pc first to be safe
If you were not lazy or stressed of what happened you could have always referred to our good friend Google. And it took me exactly I second to find the right answer for you. Also I've had the same issue when rooting and installing stock 4.2.2 but it took me also few second to repair the problem. So next time dont be shy and use search or Google
http://forum.xda-developers.com/showthread.php?t=2033692
Sent from my Nexus 4 using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=2033692
[HOW-TO] Fix internal storage if 16GB now shows 8GB
U just need to 'fastboot flash data data.img' from the stock files
Sent from my Nexus 4 using xda app-developers app
Thank you all for your help and suggestions I will follow them. I did search Google to be honest but I believe the search I did was shallow because I was being extremely panicky as I had already lost everything on my internal storage. Thank you for understanding and helping.
Sent from my Nexus 4 using Tapatalk 4 Beta

Internal memory

I'm not sure if I'm just looking at this wrong but it shows I should have 13 GB of memory. Now what's confusing to me is that I barely used 5 gigs and now its saying I have less than three gigs of memory left. I did buy the 16 gig version. Can someone explain to me how come it showing this and if there is something wrong. Thanks
Sent from my Nexus 7 using xda app-developers app
Here is a much better pic sorry...
Sent from my Nexus 7 using xda app-developers app
Reformatting your internal will correct it.
Username invalid said:
Reformatting your internal will correct it.
Click to expand...
Click to collapse
I believe I tried that... I used an app lagfix and it didn't help... Is there a better app?
Sent from my HTC One XL using xda app-developers app
Reformatting through recovery.
OK thanks
Sent from my HTC One XL using xda app-developers app

			
				
cables2590 said:
OK thanks
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
Did you do a backup via recovery? Mine was the same as yours until I deleted the backup (after 4.3 was installed and running).
Sent via my Nexus 7, Amiga 3000 or HTC EVO 3D
Sent from my HTC One XL using xda app-developers app
phillip1953 said:
Did you do a backup via recovery? Mine was the same as yours until I deleted the backup (after 4.3 was installed and running).
Sent via my Nexus 7, Amiga 3000 or HTC EVO 3D
Click to expand...
Click to collapse
I'm not sure but I did format my data and it worked for me...
Sent from my HTC One XL using xda app-developers app
Is there a tutorial on doing this?
Sent from my Nexus 7 using Tapatalk 4
RodMyers said:
Is there a tutorial on doing this?
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
http://www.addictivetips.com/android/what-is-twrp-how-to-install-use-it-on-android-devices-guide/
Username invalid said:
http://www.addictivetips.com/android/what-is-twrp-how-to-install-use-it-on-android-devices-guide/
Click to expand...
Click to collapse
Not really.! I have TWRP installed. Not sure which selection or steps to do.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Go into TWRP Recovery choose "Wipe" -> "Format Data" -> then type in "yes" -> "go"
After reset is finished restart the phone normally. That's it.
Lost Storage
I had the same problem. Tried several different methods to try to recover my storage. I too performed a format from TWRP and gained my storage back.
Guys, I have this problem.
My wife has a N7 32GB. Some months ago, after flashing some roms, I discovered that the N7 only had 16GB instead of 32GB. But in the meantime I never had the chance to "reformat" data partition or flash a factory image. Wife didn't want me to fomat it!!!
Today, I was finally going to do that, flash a factory image, but discovered that the usb connector is broken!!! The tablet charges ok but when I connect it to my pc, it starts to constantly connecting/disconnecting to it. I tried 3 different usb cables and the same with the 3. I even open the tablet and tighten the usb port, because it was very loose, but even then it still does the same. So, I don't have any chance to flash or send commands via my pc. (can I send them via wifi?! )
Can I just go into recovery and format/wipe data?!
By the way, from all the stories that I've seen from this problem, on bootloader, mine says Flo 32G and not 16GB like most of them. Can a simple wipe data do the job?!v Hope so...
When I installed 5.0.1 on my 2012 N7, about 10GB of my internal storage mysteriously vanished (I was getting disk full errors with only 2-3GB of stuff showing up in disk usage) and wiping the userdata partition fixed that.
I really do not like how half the fixes for Android issues tend to involve having to wipe devices, especially considering how there is no simple built-in method to do complete and timely selective backups and restore. To get anything resembling that functionality, you need to unlock the bootloader, root the device, install SU and a third-party backup tool. (Doing backups with TWRP might be easy but it is not selective and editing the tarball afterward can get messy.)

Help.confuse? 8gb or 16gb

My friend gave me his nexus 4 and never told me that the fone was rooted and its capacity..so now im confused, i check the custom recovery installed by pressing power+vol down and some sort of lying android logo shows and ask me what to do and at the bottom of the screen shows 'mako' thing..so now i check the unit how much memory does this phone has after restoring it thru recovery mode..i wipe cache aswell..so now i go straight to the settings and check it but it only shows 5.67gb total internl storage and 2.65gb free of space which is not normal to atleast 8gb nexus 4 has around 6gb less than 7gb internal and 5gb less than 6gb useable space.so the question is, how can i determine whether my fone is 16gb or 8gb even that i already had rooted it and i think he also put a custom rom aswell. i already search it and shows that some other nexus users getting the same problem or error as mine.btw im at kitkat 4.4 update
Here are my about phone screenies:
Sent from my Nexus 4 using xda app-developers app
Sent from my Nexus 4 using xda app-developers app
Only way I know to make sure is to format the data partition.. Can do this in custom recovery or fastboot OEM lock/unlock...warning you will lose all data, so backup.
Sometimes 16GB GB n4's get formatted incorrectly when upgrading os.
16GB should have @12GB free space and 8GB ones @5.7GB.
meangreenie said:
Only way in know to make sure is to format the data partition.. Can do this in custom recovery or fastboot OEM lock/unlock...warning you will lose all data, so backup.
Sometimes 16GB GB n4's get formatted incorrectly when upgrading os.
16GB should have @12GB free space and 8GB ones @5.7GB.
Click to expand...
Click to collapse
Ill try that one..that 5.7gb shows only in total internal memory and not the free space.and i notice also that theres alot of junks that when i did restore it thru recovery they were still there thats why they keep on eating up my space so i just did manually deleted form their folder using file manager..
When you boot into the bootloader using volume down+power you'll find a couple of informations at the bottom. One line tells you whether its the 8 or 16gb model.
Also some files on your storage (eg backups from recovery) may lead to faulty numbers in the storage section of the phones settings.
Sent from my Nexus 4 using xda app-developers app
Get an app that dispays all this info. Antutu will
Sent by reversed alian technology.
Is it possible to flash a wrong bootloader or rom mismatch to what my storage device is??i actually convinced that i have 8gb nexus like what u said is true..i saw in 'mako' at the bottom screen shows 8gb..
Sent from my Nexus 4 using xda app-developers app
Oxious119 said:
When you boot into the bootloader using volume down+power you'll find a couple of informations at the bottom. One line tells you whether its the 8 or 16gb model.
Also some files on your storage (eg backups from recovery) may lead to faulty numbers in the storage section of the phones settings.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Is it possible to flash a wrong bootloader or rom mismatch to what my storage device is??i actually convinced that i have 8gb nexus like what u said is true..i saw in 'mako' at the bottom screen shows 8gb..
Sent from my Nexus 4 using xda app-developers
Sent from my Nexus 4 using xda app-developers app
No. Software and hardware is the same, they just differ in the capacity of the storage.
Remember that your 8gb get reduced by the space needed for the system. 8gb doesn't mean you have 8gb free for usage. It means you have 8gb minus the OS, cache partitions, data partition. About 5gb should remain for generic storage such as pictures, music, video etc if I'm not mistaken.
Sent from my Nexus 4 using xda app-developers app
Heres what i found..got some screenies with what my bootloader is..anyone can explain what do i have here..im sorry from being noob..i know how to root and put some other custom rom but for this,i dont have any idea..i ask my friend how he rooted this and ask him every details he did but he dont even know how was that, maybe some friend of friends actually do it.im planning reverting back my nexus to stock rom/bootlaoder and like everything good as new..i dont feel the real nexus 4 here and got alot of problems too thats why..
sent from my N9005 using xda app-developers app
Now worst thing happen..im stuck at google logo now.. im not supposed to that format everything.. what im goin to do now.so any work solutions with this?flashing what files?need what?gggrrrr?thats why i hate rooted device.now my nexus seems to be useless now..
sent from my samsung E1200 lol!
Its hard to tell what the problem is. Did you do anything before the phone got stuck on the bootlogo?
In any case, if you're getting a used phone from someone else you're always better of wiping it completely and setting it up from scratch.
Sent from my Nexus 4 using xda app-developers app
amzkyz said:
Now worst thing happen..im stuck at google logo now.. im not supposed to that format everything.. what im goin to do now.so any work solutions with this?flashing what files?need what?gggrrrr?thats why i hate rooted device.now my nexus seems to be useless now..
sent from my samsung E1200 lol!
Click to expand...
Click to collapse
Lol damn dude you formatted everything? You really need to read the stickied posts. They are prerequisite reading.
Anyway, your first screen shot says 8GB.
When you format everything (I assume you formatted each partition), you lose everything stored on it. Everything. The OS is gone.
But all you have to do is install a factory ROM from adb or something similar. Let me go do a quick search and I'll be back.
Also, know that this isn't the phone or OS's fault. You went rogue and started doing stuff you didn't understand the consequences of. It happens, but it's nothing that can't be fixed.
EDIT: Here you go. Read through this guide. I can't reiterate this enough: read carefully and read to understand. This isn't literature class. You need to know what every sentence is telling you to do.
Basic summary: download 4.4.1 ROM for Nexus 4 and make damn sure you download the one for the Nexus 4 (mako). Install Android SDK. Boot into recovery. Specifics on these steps are located in that article. You will need to follow the link on how to sideload. Don't worry if you don't know what these words mean. The link is love. The link is life. It's written such that a young child could do it without assistance from an adult.
amzkyz said:
gggrrrr?thats why i hate rooted device.now my nexus seems to be useless now..
Click to expand...
Click to collapse
This is definitely assigning fault to the wrong party. Root isn't why you reformatted your storage and lost everything. It's because you didn't use Google to search for any of these answers. You could have solved your original problem by simply searching "How to tell nexus 4 8GB or 16GB."
It's possible that the internal storage was improperly formatted during a ROM flash, but it wasn't. I still can't understand what the hell your original post says, but I'm pretty sure you just misinterpreted how much space would be free.
The solution to this is to FIRST acquire the ROM you want and know where it's located in your phone's storage. THEN format the offending partitions or flash a zip or whatever you need to do to fix the problem (I don't know specifics since I've not needed it, but I'm sure I could find it with Google). THEN you flash your 4.4.1 ROM and if you go, never to return.
So in case you run into any problems with your car, I highly recommend against trying to fix it yourself. It doesn't sound like you'd be very successful. If you do, you'll probably end up with a hunk of scrap metal or a far more expensive repair job.
So i was planning to start all over form scratch..like everyone else is suggesting.so i have a little question..
From 4.4 kitakat and im planning to flash a stock rom 4.2.2 downloaded from google,is it possible?or do i need to stick to 4.4 like what i already had before this things happen..?
I was actually reffering only to this thread http://forum.xda-developers.com/showthread.php?t=2010312,maybe i think the most easy way to flash stock.
sent from my samsung E1200 lol!
https://developers.google.com/android/nexus/images?hl=ja#occam
Get the 4.4 factory image, flash that. Either get the 4.4.1 update ota or download the ota and flash it.
Sent from my Nexus 4 using Tapatalk
For those people that help me out at my critical state lol..,I must say thank you so much..now my nexus 4 bring back to life,without u guys,I think I can't do it alone.thnkx to xda for bringing u up here.must end this thread now..like what my thread originally is I know now what my nexus real capacity.tnx
Sent from my Nexus 4 using xda app-developers app
amzkyz said:
For those people that help me out at my critical state lol..,I must say thank you so much..now my nexus 4 bring back to life,without u guys,I think I can't do it alone.thnkx to xda for bringing u up here.must end this thread now..like what my thread originally is I know now what my nexus real capacity.tnx
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
For those people asking what i did was, i use adb flashing tool and required .img file for nexus 4 kitkat 4.4 and voila..anyhows i use this thread the complete guide flashing stock rom and if u want there is also root option tutorials here http://forum.xda-developers.com/showthread.php?t=2010312 ..thanks efrant from that wonderful step by step guide..
learning from ur mistake is not a bad idea.
Sent from my Nexus 4 using xda app-developers app
8gb or 16gb???
I'm also a bit confused on what Nexus 4 variant I have. In AnTuTu, I have the following info:
Storage-Internal SD Card; 5503.5/5803.1 MB (5.37/5.66 GB)
In Fastboot Mode, I have the following info:
Product Name- MAKO
Variant- MAKO 16GB
I've tried different "fixes" and my internal storage always ends up with 5.67GBs. So, what am I to believe my phone should have?
I heard there's a bug in nexus kikat update about shrinking storage issues.u better stick to what fastboot details has. U may want to try do a data format and clearing cache to resolve the issue.
Sent from my Nexus 4 using xda app-developers app
clenceo said:
I'm also a bit confused on what Nexus 4 variant I have. In AnTuTu, I have the following info:
Storage-Internal SD Card; 5503.5/5803.1 MB (5.37/5.66 GB)
In Fastboot Mode, I have the following info:
Product Name- MAKO
Variant- MAKO 16GB
I've tried different "fixes" and my internal storage always ends up with 5.67GBs. So, what am I to believe my phone should have?
Click to expand...
Click to collapse
reboot bootloader
fastboot format cache
reboot back to system
ps:dont look anntut
just go to the apps tab in config. it will show used-free (space)

Resources