CWM doubt - Nexus 4 Q&A, Help & Troubleshooting

Hey Guys, I have a Nexus 4 running on stock 4.3 rooted.
I copied the CM 11 M Snapshot files and using CWM wiped everything. as it turns out it also wiped my sd ext. Thankfully I had a backup and got all my data back. Is there a way so that it doesnt wipe the Sd ext? I had a Nexus S before this and it didn't get wiped everytime I flash :crying:

Anybody?
Sent from my Nexus 4 using Tapatalk

until you learn to post sensible comments no one can help you. what you have written may be the biggest load of nonsense i've ever read. do you even know what you are asking?

crozbomb said:
until you learn to post sensible comments no one can help you. what you have written may be the biggest load of nonsense i've ever read. do you even know what you are asking?
Click to expand...
Click to collapse
I understand his question just fine...
There is no "sd ext" on the current Nexus devices. It is simply called sdcard. The sdcard shouldn't be erased unless you format /data, because /sdcard is located at /data/media. In the future, just use factory reset in recovery and the sdcard won't be wiped.
Sent from my Nexus 7 using Tapatalk

I did the factory reset. But my entire media also got wiped. Although it doesn't happen with twrp. I guess I'll stick with twrp then. Thanks anyhow.
Sent from my Nexus 4 using Tapatalk

crozbomb said:
until you learn to post sensible comments no one can help you. what you have written may be the biggest load of nonsense i've ever read. do you even know what you are asking?
Click to expand...
Click to collapse
Just because you don't understand, doesn't mean nobody else did. My words make perfect sense to anyone who can read English and knows a thing or two about android development.
Sent from my Nexus 4 using Tapatalk

kkricardokaka95 said:
I did the factory reset. But my entire media also got wiped. Although it doesn't happen with twrp. I guess I'll stick with twrp then. Thanks anyhow.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Impossible, wipe data/factory reset doesn't format sdcard. Under mounts/storage (if i remember right) you can just delete media files.

gt-kingz said:
Impossible, wipe data/factory reset doesn't format sdcard. Under mounts/storage (if i remember right) you can just delete media files.
Click to expand...
Click to collapse
It seemed odd to me too. I guess its a problem with CWM Touch? I'll try to get screenshots if I can
Sent from my Nexus 4 using Tapatalk

Related

Wipe all data

Simple question, I have pictures videos and back ups that don't want deleted when I do a factory reset, do I need to back it up on my PC or????
Sent from my Nexus 7 using xda premium
Depends on what you are talking about if you mean while in a custom recovery then no you don't but if you are unlocking your boot loader or you are using a stock in rooted ROM and are just pressing factory reset from settings then yes you should back up
Sent from my Nexus 7 using Tapatalk 2
dislplin01 said:
Depends on what you are talking about if you mean while in a custom recovery then no you don't but if you are unlocking your boot loader or you are using a stock in rooted ROM and are just pressing factory reset from settings then yes you should back up
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I'm on stock ROM with cwm recovery the latest, so no I shouldn't?
Sent from my Nexus 7 using xda premium
I would actually LIKE to delete everything when I install a new rom. I have used all the wipe data setting i could find in recovery and I always end up with a bunch of stuff left from the previous rom. Downloads etc.
Is there something I am missing?
droidgenius said:
I'm on stock ROM with cwm recovery the latest, so no I shouldn't?
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Are you talking about the factory reset within Jelly Bean? If so, then that wipes everything as far as I know.
jarayn said:
I would actually LIKE to delete everything when I install a new rom. I have used all the wipe data setting i could find in recovery and I always end up with a bunch of stuff left from the previous rom. Downloads etc.
Is there something I am missing?
Click to expand...
Click to collapse
Most (all?) custom recoveries should have some type of option to format sdcard.
In CWM, the wipe data/factory reset option will *not* wipe your virtual sdcard.
You can do a wipe in recovery, and the /sdcard partition will remain intact. I was worried about this before unlocking my bootloader too
However when you unlock your bootloader *all* of your user data will be wiped from your tablet
This includes your apps, setup, homescreens, sdcard, photos. It will be like having a brand new tablet
The downloads folder is on your sdcard. You may be able to edit the updater script or something to wipe the virtual sdcard directory when you flash a rom
markj338 said:
In CWM, the wipe data/factory reset option will *not* wipe your virtual sdcard.
You can do a wipe in recovery, and the /sdcard partition will remain intact. I was worried about this before unlocking my bootloader too
However when you unlock your bootloader *all* of your user data will be wiped from your tablet
This includes your apps, setup, homescreens, sdcard, photos. It will be like having a brand new tablet
The downloads folder is on your sdcard. You may be able to edit the updater script or something to wipe the virtual sdcard directory when you flash a rom
Click to expand...
Click to collapse
Ok cool thanks guys, and I am doing a factory reset in CWM, sorry prob should of thought that threw in the original post. Thanks!
Sent from my Nexus 7 using xda premium
Thanks from me also.
I did wonder why there was always stuff left over. I guess in some ways its handy. It just feels like doing an in place upgrade of windows rather than a clean install when theres old data still there.
if u wipe all.u got another 25$ from play store?
swisstourist said:
if u wipe all.u got another 25$ from play store?
Click to expand...
Click to collapse
LOL no, otherwise it would be too easy
You also cannot have the $25 credit twice, as in if you bought 2 N7's using the same google account
I had 2 because one was faulty and I only got 1 gift card
Wiping your tablet will not lose your $25 though, thats stored on your google account. You ca use it with any android device hooked up to the same google account.
Back again.
I know this is sort of the reverse of the OP but at least its related.
If the rom zip is on the sd card then how can you format it?
Or do you just do regular wipe, install then format sd?
I have Clockwork Mod Recovery 6
Is this written out somewhere else?
Yes, just do the regular wipes first, install the ROM, and then format the sdcard.
swisstourist said:
if u wipe all.u got another 25$ from play store?
Click to expand...
Click to collapse
I wish
Sent from my Nexus 7 using xda premium
markj338 said:
LOL no, otherwise it would be too easy
You also cannot have the $25 credit twice, as in if you bought 2 N7's using the same google account
I had 2 because one was faulty and I only got 1 gift card
Wiping your tablet will not lose your $25 though, thats stored on your google account. You ca use it with any android device hooked up to the same google account.
Click to expand...
Click to collapse
Hey I'm gonna replace my nexus 7 tablet (warenty) anyway to get a second 25$ ?
Sent from my Nexus 7 using xda premium
jamesst20 said:
Hey I'm gonna replace my nexus 7 tablet (warenty) anyway to get a second 25$ ?
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
You would need to do the initial sign in with an account that hasn't already received the credit.
Thanks! I will!
Sent from my Nexus 7 using xda premium

[Help] Just formated everything

As the title says... i just formated my ****ing whole system
wanted to change roms and used this crazy complete cleanup script
didnt know that it would format EVERYTHING
so now im standing here with a phone with only a twrp recovery... no system no backups ... nothing
i somehow need to push a rom to my device and install it
problem is im totally blank when it comes to these adb shell things
could someone give me an advice how to get a file to my phone?
nexus toolkit doesnt work
So, assuming you can mount to your computer, download a ROM. Try the chemistry ROM? Or the stock rooted one. Whichever. Got to recovery, find the ROM and install it.
This is assuming you can mount with twrp. (Its in mounts)
In front of a live studio audience
If it won't mount, use adb to push the zip(s) to your internal storage.
it does not mount... and i somehow cant get adb to work
Try adb side load in twrp
Edit: its in the advanced menu.
Sent from my Nexus 4 using xda premium
ok did it
extracted system and user data from factory image and pushed it
managed to reebot
MoooN said:
ok did it
extracted system and user data from factory image and pushed it
managed to reebot
Click to expand...
Click to collapse
How did you get it to mount?
Sent from my Nexus 4 using xda premium
Don't use a wipe script next time...
Even better, don't wipe at all. Just do a proper backup and dirtyflash.
Sent from my Nexus 4 using XDA Premium HD app
HerrKuk said:
Don't use a wipe script next time...
Even better, don't wipe at all. Just do a proper backup and dirtyflash.
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
Wow. Worst advice ever.
Next time, do a factory reset and wipe system. That'll do you and keep you from having those little issues that are caused by doing dirty flashes. Sometimes they work just fine. Others, they give you hell. It's one thing if you're upgrading between builds of the same ROM. Even then, though, it's a risk.
estallings15 said:
Wow. Worst advice ever.
Next time, do a factory reset and wipe system. That'll do you and keep you from having those little issues that are caused by doing dirty flashes. Sometimes they work just fine. Others, they give you hell. It's one thing if you're upgrading between builds of the same ROM. Even then, though, it's a risk.
Click to expand...
Click to collapse
Yeah, wiping solved OPs problem...
Oh... Wait a second..
Sent from my Nexus 4 using XDA Premium HD app
HerrKuk said:
Yeah, wiping solved OPs problem...
Oh... Wait a second..
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
That's like saying never ever drive because if you steer into a pole, it's bad. Don't steer into things and it's fine. If the OP learns to correctly wipe, this won't be an issue ever again.
Don't wipe system....
Factory Reset/Cache/Dalvik -> Flash ROM.
Sent from my Trinity powered Nexus 4
I wipe cache, dalvik, factory reset, then wipe system every time I change Roms. I've done this for years on every android I've had and never had a problem. Don't wipe internal storage though.
Sent from my Nexus 4 using xda premium
309041291a said:
Don't wipe system....
Factory Reset/Cache/Dalvik -> Flash ROM.
Sent from my Trinity powered Nexus 4
Click to expand...
Click to collapse
Always wipe system. That's where the most often overlooked errors come from.
Originally Posted by 309041291a<br />
Don't wipe system....<br />
<br />
Factory Reset/Cache/Dalvik -> Flash ROM.<br />
<br />
Sent from my Trinity powered Nexus 4
Click to expand...
Click to collapse
<br />
<br />
Always wipe system. That's where the most often overlooked errors come from.
Click to expand...
Click to collapse
K well I've wiped system twice and I've lost everything on my SD.....
Sent from my Trinity powered Nexus 4
309041291a said:
K well I've wiped system twice and I've lost everything on my SD.....
Sent from my Trinity powered Nexus 4
Click to expand...
Click to collapse
On what? If I wipe data on TWRP I lose everything on SD. Wiping system wipes the system partition. There are many reasons I don't use CWM, poor backup locations and inefficient menu layouts are among them. If wiping system wipes the SD, I'll add that to the list.
TWRP all the way! Way better than CWM in my opinion.
Sent from my Nexus 4 using xda premium
lyall29 said:
TWRP all the way! Way better than CWM in my opinion.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Agreed. I would sacrifice an infant to get 4EXT Recovery Touch on thus baby. It has a "Format all partitions (except SD card)" option that is amazeballs.
ive done this before. to fix it you need to download the stock google nexus 4 image. google has taken it down from its webste but there are people here in the forums who have uploaded it to help and have other people download it.
now download and install the nexus 4 root tool kit
to fix your phone your are going to put your phone into fastboot mode and connect it to your pc.
then open up the nexus 4 root tool kit program.
next find the google nexus 4 toolkit folder and go into it. (mine saved in my local disk C)
go into the "put google factory image here" folder and drop the google factory image in there.
once thats done go back into the nexus 4 root toolkit program and press number 9 (download, Extract + flash Facotry image"
since you already downloaded it and put it in the factory image folder you're going to click option number 2 (flash google image)
then type yes and let it do its thing
make sure that the factory image that you download is in a .tgz or .tar file or else it wont work
I hope that helps!!!!

Recovery of family pic after factory reset

Hi, I am very sad bcos I lost my niece pics after factory reset my Motorola XOOM 3g. Please help me, now I am realizing what I did!
Did you factory reset rooted with a custom recovery? Or stock through settings? If stock through settings you might be screwed, get a file management app and look for a file that says DCIM
Why did you factory reset?
Sent from my DROID RAZR using xda app-developers app
This might work for the Xoom too since it has a similar partitioning scheme.
http://forum.xda-developers.com/showthread.php?t=2123999
Sent from my SGH-I747 using xda premium
Draxin said:
Did you factory reset rooted with a custom recovery? Or stock through settings? If stock through settings you might be screwed, get a file management app and look for a file that says DCIM
Why did you factory reset?
Sent from my DROID RAZR using xda app-developers app
Click to expand...
Click to collapse
i am green horn in using my Motorola xoom although I own it for last 1 year but I do not know anything about it's working so I am not aware about the terms root, rom etc. What I did, I gone to settings> Privacy > Factory data reset . Now please suggest me which software should I use? I did factory reset because my Bluetooth was not working.
Thanks for reply.
jatin1990 said:
i am green horn in using my Motorola xoom although I own it for last 1 year but I do not know anything about it's working so I am not aware about the terms root, rom etc. What I did, I gone to settings> Privacy > Factory data reset . Now please suggest me which software should I use? I did factory reset because my Bluetooth was not working.
Thanks for reply.
Click to expand...
Click to collapse
Uhh, look up. That's the best you will get.
Sent from my SGH-I747 using xda premium
if it wiped your internal storage, you're SOL
d3athsd00r said:
Uhh, look up. That's the best you will get.
Sent from my SGH-I747 using xda premium
Click to expand...
Click to collapse
I did not understand.
alex94kumar said:
if it wiped your internal storage, you're SOL
Click to expand...
Click to collapse
I did not got you?
jatin1990 said:
I did not got you?
Click to expand...
Click to collapse
Deathsdoor is saying the link he gave you is your best possible shot.
alex is saying that if your internal storage was wiped during the factory reset, you aren't getting the pictures back.
Since you are not rooted, then your internal storage was almost definitely wiped. And since rooting (which is Part of the directions in deathsdoor link) will involve you unlocking the bootloader, your tablet would have to be wiped again.
If you can't find them, then their gone.
Android doesn't work like Windows or Mac.
SOL=sh*t outta luck
Agree with above, don't think you'll be getting them back.
For future protection one simple rule - backup.
Hold pictures on a sd card instead of internal memory, as factory reset does wipe that, and also use an auto backup app (Dropbox and Google + both do well as automatically backing up photos and videos).
Anything digital that is important should be backed up on a regular basis.
Sent from my MZ604 using xda app-developers app

[Q] Switching ROMs

I have a quick question. When switching ROMs should I also in addition to factory reset, also perform a system/wipe to wipe the already installed custom ROM? Thanks.
It is generally unnecessary, but not a bad idea to do so. Most devs have their updater script format /system, but you'll find the occasional one that omits that one line.
Sent from my Nexus 7 using Tapatalk HD
Alright. So I shouldn't worry about performing system wipe?
Sent from my Nexus 7 using xda app-developers app
tsmith9191 said:
Alright. So I shouldn't worry about performing system wipe?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I think it's better to wipe the system. As I've faced many kind of froblem because of a dirty flash. And I've seen many bug reports on several ROM thread and it just came out that it's not the ROM but the dirty flash is causing the problem. It will probably take 1-2hr to get back to the previous position so what's the big didfference??
____________________________________________
Please press the thanks button if you find this helpful.
ashik992 said:
I think it's better to wipe the system. As I've faced many kind of froblem because of a dirty flash. And I've seen many bug reports on several ROM thread and it just came out that it's not the ROM but the dirty flash is causing the problem. It will probably take 1-2hr to get back to the previous position so what's the big didfference??
____________________________________________
Please press the thanks button if you find this helpful.
Click to expand...
Click to collapse
OK. So when switching ROMs I should perform factory restore, wipe all caches, as well as system/wipe to erase the ROM currently installed. I have done it that way before but I always get nervous when I wipe system, cause now it has no ROM installed at all and I don't want anything to happen in that case. But thanks for the quick reply
Sent from my Nexus 7 using xda app-developers app
tsmith9191 said:
OK. So when switching ROMs I should perform factory restore, wipe all caches, as well as system/wipe to erase the ROM currently installed. I have done it that way before but I always get nervous when I wipe system, cause now it has no ROM installed at all and I don't want anything to happen in that case. But thanks for the quick reply
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
What could happen?? Hardbrick?? A little chance..... Here's what I think when I do something risky. Just Think like I don't have any device if I can get this device back it's bonus for me.
You can always flash a rom whatever it has one or not untill your device can be booted into fastboot. So don't be afraid if something bad(!?) happens and you can boot into fastboot mode. Once I even had no boot just the fastboot it took less than 5 min to get a system on it.
And dirty flash is always an option. I myself had and seen many people having problems with it.
_________________________________________
Don't just say thank, there is a button for thnking.
Clean is always the best! But always make a backup before the wipe process!
Wipe:
/system
/userdata
/.android-secure
/dalvik-cache
/cache

[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

Categories

Resources