Flashing on N4 - Nexus 4 Q&A, Help & Troubleshooting

Ok, maybe this is n00bish but Ive never had a nexus device.
On my gs1, tf700 and such everything is flashed from the microsd card. If this device doesnt have one, how do you flash without loosing data?
Ive always learned, 1 wipe data, cache etc. 2. Flash rom/kernel (sometimes 3 wipe again)
Wont this clear your phones storage? This is a HUGE selling factor for me.
Im due for a upgrade outa pocket and I cant decide from GS3, Nexus 4, Note 2 or holding out for rumored gs4
Thanks guys
Sent from my OC'd CM9 Epic 4g. (Thats right, the Galaxy S (1)! Haha)

Clear Data does not wipe internal storage, just apps+data. If you were doing that, first back up using Titanium Backup, flash new ROM, restore from TiBU, PROFIT!!!
For backing up text messages, theres an app, though I can't remember the name.

Isnt there also an option that wipes everything? Factory reset or whatever. It cleans the rom and all I thought. Thats how we avoid bugs from rom hopping? Like I said Im n00b in nexusville but vanilla jellybeans sound delicious
Sent from my SPH-D700 using xda app-developers app

There's separate partitions on the phone. Part for the system, part for your data, and then basically an internal SD Card. You would wipe the same way you would on any other phone: Wipe data/factory reset, format boot, system, cache, data, dalvik cache, etc, then flash your ROM. Your "internal" SD card will be untouched.
At least that's how I assume it would work...
Tapatalk² from my Optimus V

kcls said:
There's separate partitions on the phone. Part for the system, part for your data, and then basically an internal SD Card. You would wipe the same way you would on any other phone: Wipe data/factory reset, format boot, system, cache, data, dalvik cache, etc, then flash your ROM. Your "internal" SD card will be untouched.
At least that's how I assume it would work...
Tapatalk² from my Optimus V
Click to expand...
Click to collapse
Yup thats how it works. 'SD Card' partition is untouched during a wipe (though the bootloader unlock command will wipe absolutely everything, you just use that once when you first get the phone and its all good).

anirudh412 said:
Clear Data does not wipe internal storage, just apps+data. If you were doing that, first back up using Titanium Backup, flash new ROM, restore from TiBU, PROFIT!!!
For backing up text messages, theres an app, though I can't remember the name.
Click to expand...
Click to collapse
SMS Backup and restore
Sent from my SGH-T989 using xda app-developers app

Lord Syrics Jr. said:
Isnt there also an option that wipes everything? Factory reset or whatever. It cleans the rom and all I thought. Thats how we avoid bugs from rom hopping? Like I said Im n00b in nexusville but vanilla jellybeans sound delicious
Sent from my SPH-D700 using xda app-developers app
Click to expand...
Click to collapse
You are correct. But factory reset/ clear data even though wipes the phone clean, the 'internal SD card partition' isn't wiped. Meaning you would still have your pictures, videos and such. And also backup files. So once you do that and boot into the new rom, install TiBU from the market and restore your backup.
For a complete and 'true' wipe, as someone already mentioned, you could use ODIN/ Toolkit. Someone correct me if I am wrong.

Using TWRP. You can wipe: cache, dalvik, factory reset, system. You can wipe all of those and your internal store will not be wiped. Now with TWRP you can also wipe internal and external storage, do that and you will be SOL.

Related

wiping data?

i wanna download some cool roms and it ask me to wipe data, cache and dalvick. when i do this.... will it erase all of my music, vids, and pics off my sd card? i have the phone plugged in boot mode... all i have to do is cleck yes to wipe data. i hope this doesnt make me lose everything
I'm no expert but have flashed a few roms. You shouldn't lose what's on your SD. I wipe cache and dalvik all the time even when not flashing a ROM. I've never lost anything. You would if you were partitioning your SD.
Hope it helps, good luck and have fun.
Sent from my SHOOTER juiced EVO using xda premium
No when you wipe dalvick cache and cache you won't lose anything on your SD card just make sure you fully understand how to flash a rom first time I did it I messed my phone up do a lot of research first lol and good luck
Sent from my PC36100 using Tapatalk
MPH33 said:
i wanna download some cool roms and it ask me to wipe data, cache and dalvick. when i do this.... will it erase all of my music, vids, and pics off my sd card? i have the phone plugged in boot mode... all i have to do is cleck yes to wipe data. i hope this doesnt make me lose everything
Click to expand...
Click to collapse
Before you start wiping and what not make sure to do a backup. Also use Titanium Backup to back all your apps you downloaded the paid ones's or all the ones you downloaded. For contacts make sure to export them to your sdcard just in case. what recovery do you have? Should use Amon RA the best one for the EVO
Now when you're installing a new rom This for the Amon ra recovery but its almost the same for clockworkmod.
Wipe all user data/system
Wipe cache
wipe Dalvik cache
Wipe android secure (optional)
Wipe system
Wipe data
Wipe boot
Wipe rotate settings
BUT DO NOT WIPE SDCARD goodluck with your new root
Have a question here that's semi-related. I have been playing around with some different ROM's here the past few days. I noticed some of them are utilizing my SD card. When I do my usual wipe, it's leaving a few Widgets, etc in place. I know it's the SD card, because when I repartition the SD card, I finally got rid of everything that wouldn't wipe. What wipe/clear was I missing here, or is the only way to clear these apps/widges from the previous ROM is to do a SD card repartition each time?
Edit :
Just to be clear on the wipes/clears I've been doing :
wipe data/factory reset (Doesn't this cover most everything?)
wipe cache
wipe Dalvik cache
I also tried Clear Storage from hboot, but that didn't seem to help either...
jreed012 said:
Have a question here that's semi-related. I have been playing around with some different ROM's here the past few days. I noticed some of them are utilizing my SD card. When I do my usual wipe, it's leaving a few Widgets, etc in place. I know it's the SD card, because when I repartition the SD card, I finally got rid of everything that wouldn't wipe. What wipe/clear was I missing here, or is the only way to clear these apps/widges from the previous ROM is to do a SD card repartition each time?
Edit :
Just to be clear on the wipes/clears I've been doing :
wipe data/factory reset (Doesn't this cover most everything?)
wipe cache
wipe Dalvik cache
I also tried Clear Storage from hboot, but that didn't seem to help either...
Click to expand...
Click to collapse
Wipe in this order and I can assure things will work for you
Factory wipe(data-cache),wipe dalvik, wipe boot, and wipe system
Sent from my PC36100 using xda premium
...So, what ROM are we developing here? ...I'm not good at flaming...
@MPH33, you want to make sure and post questions in the Q&A section in the future.
My two cents here, is:
I always wipe my sdcard as well as what the others have said. I know you don't want to "lose" all your stuff on there, but really all you have to do is create a folder on your computer with the important stuff, like pics, music, backups. I use recovery to partition the sdcard, much faster than formatting on the PC.
The phone creates other temp folders on the sdcard that I am not sure what impact they will have on another ROM but I like to get rid of them.
jreed012 said:
Have a question here that's semi-related. I have been playing around with some different ROM's here the past few days. I noticed some of them are utilizing my SD card. When I do my usual wipe, it's leaving a few Widgets, etc in place. I know it's the SD card, because when I repartition the SD card, I finally got rid of everything that wouldn't wipe. What wipe/clear was I missing here, or is the only way to clear these apps/widges from the previous ROM is to do a SD card repartition each time?
Edit :
Just to be clear on the wipes/clears I've been doing :
wipe data/factory reset (Doesn't this cover most everything?)
wipe cache
wipe Dalvik cache
I also tried Clear Storage from hboot, but that didn't seem to help either...
Click to expand...
Click to collapse
the fact that you say you get rid of the left over bits when you repartition tells me that it's an apps2sd issue. Some roms use the sd-ext and some don't. In both CWM and Amon-ra you will find options to wipe the sd-ext. Add that into what you're already wiping and you shouldn't be troubled with leftover bits anymore. (and just to be sure, also add in .android-secure to the list of what gets wiped)
Wiping data/factory reset will wipe android secure and sd extension. So id just do what jaredthegreat said and run vr_superwipe script also.
It works same way as when your done using the toilet.
Sent from my PC36100 using XDA App

How is this device with dirty flashing?

I usually clean flash everything but in order to do it on this device you wipe the system data, cache, delvik cache. does that wipe the internal storage as well so i would end up with nothing on my tablet to flash? im only asking due to if im not home near a computer to use that wipe and flash rom program and i thought i remember reading somewhere if you wipe system data the tablet is completely empty.
If it does wipe it completely from doing that in the recovery system, can i at least dirty flash to different roms without severe issues?
Sent from my Nexus 7 using xda premium
kyhassen said:
I usually clean flash everything but in order to do it on this device you wipe the system data, cache, delvik cache. does that wipe the internal storage as well so i would end up with nothing on my tablet to flash? im only asking due to if im not home near a computer to use that wipe and flash rom program and i thought i remember reading somewhere if you wipe system data the tablet is completely empty.
If it does wipe it completely from doing that in the recovery system, can i at least dirty flash to different roms without severe issues?
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Do not wipe internal storage. Just do a factory reset, wipe cache, wipe dalvik.
thank you. i wasnt sure. when i started rooting this. i thought i saw somewhere that said if you do system data or factory reset wipe, it wipes the internal storage. i was try the the prime rom. im on smoothrom and its awesome but i want something new.
Sent from my Nexus 7 using xda premium

Casuals recovery

I rooted with casual and have the recovery installed. My question is I supposedly full wiped and flashed Goldeneye. My issue is it didnt full wipe because when I go into internal memory all the crap that should be gone, its folders are still there taking memory so I have to manually delete. Am I doing something wrong ?
When I had my htc a full wipe meant a full wipe Everything gone. Dont understand why its not happening on my s4.
Sent from my SAMSUNG-SGH-I337 using xda premium
go into recovery and do a factory reset, it will clear it.
Thanks
That dont work all the folders are still there even though the apps are not installed.
Sent from my SAMSUNG-SGH-I337 using xda premium
most recoverys are set up to format data without touching the internal storage. this is a feature, not a bug. if you want to wipe internal, go to format, then format internal. easy peasy
Reinaldo33897 said:
I rooted with casual and have the recovery installed. My question is I supposedly full wiped and flashed Goldeneye. My issue is it didnt full wipe because when I go into internal memory all the crap that should be gone, its folders are still there taking memory so I have to manually delete. Am I doing something wrong ?
When I had my htc a full wipe meant a full wipe Everything gone. Dont understand why its not happening on my s4.
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
Here is what I do when I flash a ROM. I am a bit OCD for flashing cleanly.
1) Boot into Recovery
2) Wipe Data (Factory reset)
3) Wipe Cache
4) Wipe Dalvik Cache
5) Format /System
6) Format /sdcard
Then I flash my ROM. Those steps will definitely clean everything out before you flash. Especially formatting /system and /sdcard.
chocodough said:
Here is what I do when I flash a ROM. I am a bit OCD for flashing cleanly.
1) Boot into Recovery
2) Wipe Data (Factory reset)
3) Wipe Cache
4) Wipe Dalvik Cache
5) Format /System
6) Format /sdcard
Then I flash my ROM. Those steps will definitely clean everything out before you flash. Especially formatting /system and /sdcard.
Click to expand...
Click to collapse
just make sure you don't have anything you care about, like Roms or nandroids, in /sdcard.
fwiw this isn't a CASUAL issue, its a TWRP issue.
Awesome was looking for the correct way to do a Total Full Wipe in recovery.
Sent from my SAMSUNG-SGH-I337 using xda premium
chocodough said:
Here is what I do when I flash a ROM. I am a bit OCD for flashing cleanly.
1) Boot into Recovery
2) Wipe Data (Factory reset)
3) Wipe Cache
4) Wipe Dalvik Cache
5) Format /System
6) Format /sdcard
Then I flash my ROM. Those steps will definitely clean everything out before you flash. Especially formatting /system and /sdcard.
Click to expand...
Click to collapse
It's a little over kill. Just need to wipe the caches and data. If you wipe system, just make sure you do it before you flash a rom. And make sure you flash a rom before you boot. Wiping system and then rebooting is detrimental to your phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
It's a little over kill. Just need to wipe the caches and data. If you wipe system, just make sure you do it before you flash a rom. And make sure you flash a rom before you boot. Wiping system and then rebooting is detrimental to your phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Ya it might be a little bit overkill, but atleast this way you know everything is cleaned and wiped before you flash your ROM. I hate dirty flashing ROMS, so I prefer to be really thorough.
jd1639 said:
It's a little over kill. Just need to wipe the caches and data. If you wipe system, just make sure you do it before you flash a rom. And make sure you flash a rom before you boot. Wiping system and then rebooting is detrimental to your phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
It might be overkill but I like to make sure its a complete wipe even if I have to overkill it. Thanks all for the replies.
EDIT: DO NOT FORMAT INTERNAL if you have twrp the part where you have to type in yes. You will have serious issues and will end up ODIN back to stock to repair. If you format internal in twrp phone will not boot up. You can enter recover but if you power off phone will not boot up again.

Wiping internal memory...?

Hello,
I plan on selling my device and I've left a completely new unused ROM toI restore then sell it.
Can I wipe the internal memory and then restore from SD card without having any issues? I've reset the device but folders and files still remain.
Any advice?
Thanks
Sent from my SGH-I337M using xda app-developers app
yes, you can perform a full wipe in cwm (factory reset, cache, dalvik, /data, /system) and then flash whatever rom from your micro sd.
Does the same work for twrp? Haven't clean flashed since I got this and would like to 'clean up' abit
mikew29 said:
Does the same work for twrp? Haven't clean flashed since I got this and would like to 'clean up' abit
Click to expand...
Click to collapse
technically it should but i've seen users on various versions of twrp having issues after wiping data. i dont use twrp so i'm not familiar with version is running smoothest. the older ones seem to work best.
here's 2.5.0.2: http://www.mediafire.com/?4519q4rgg34f77g
and 2.5.0.3: http://www.mediafire.com/?41mdflr1e6u3051

Full wipe / clean install problems

Hey guys. I have TWRP 2.8.7.2 installed. I've been using Pure Nexus + Elemental X exclusively since December. This never seemed to be a problem before, but my last few flashes have resulted in sticky data. I go into TWRP, advanced wipe and wipe: DALVIK, System, data, Cache. Then, I delete Android from the internal storage and any other app directories that linger. Then I install the ROM, GApps, and kernel. Then, when I first boot my email shows up in the Google account setup. I thought "maybe it's saved on the sim card." But then I notice that when I reinstall apps, that they retain their data and my user data (for example, I don't even need to log into Runkeeper).
So somehow, despite performing a full wipe and clean install my user data is being saved. I know it's not part of internal storage so wiping that would only result in me having to copy my ROM files, music, photos, etc back over. So, where is this user data being saved and why isn't it being wiped?
Any help would be appreciated.
jserio said:
Hey guys. I have TWRP 2.8.7.2 installed. I've been using Pure Nexus + Elemental X exclusively since December. This never seemed to be a problem before, but my last few flashes have resulted in sticky data. I go into TWRP, advanced wipe and wipe: DALVIK, System, data, Cache. Then, I delete Android from the internal storage and any other app directories that linger. Then I install the ROM, GApps, and kernel. Then, when I first boot my email shows up in the Google account setup. I thought "maybe it's saved on the sim card." But then I notice that when I reinstall apps, that they retain their data and my user data (for example, I don't even need to log into Runkeeper).
So somehow, despite performing a full wipe and clean install my user data is being saved. I know it's not part of internal storage so wiping that would only result in me having to copy my ROM files, music, photos, etc back over. So, where is this user data being saved and why isn't it being wiped?
Any help would be appreciated.
Click to expand...
Click to collapse
I'm not sure why this is happening, it's definitely word. But is there a reason you're wiping like this when updating the ROM? You really don't need to, you can just dirty flash the ROM zip when updating.
Heisenberg said:
I'm not sure why this is happening, it's definitely word. But is there a reason you're wiping like this when updating the ROM? You really don't need to, you can just dirty flash the ROM zip when updating.
Click to expand...
Click to collapse
I don't like to dirty wipe. I guess it's the OCD in me that likes to start clean every time. I wonder if it's a bug in TWRP or something.
jserio said:
I don't like to dirty wipe. I guess it's the OCD in me that likes to start clean every time. I wonder if it's a bug in TWRP or something.
Click to expand...
Click to collapse
I used to do the same thing, until I realised I was just wasting time for no benefit. I don't think it's a TWRP issue, I was using that same build for ages with no problems. You could try updating to the latest TWRP though.
Try with "rm - fr" instead of regular wipe in options, maybe this works.
Are you doing a Factory Reset in TWRP to actually wipe the rom away? You list system, cache, and data (internal storage) but not Factory Reset.
Alternatively, are your apps reinstalling after signing into your account at Setup Wizard?
Sent from my Nexus 5X using Tapatalk
Try wiping system 2x. I had to do this on my S6. After wiping the first time and going back to the advance menu, System would then show up as 2 different partitions, System Read and System Write. I had to wipe the 2 in order to do a clean install. Although this is not the case for the 6P, I have made it a habit to do so. If that fails, you will need to adb the factory image.
Sent from my Nexus 6P using Tapatalk
SlimSnoopOS said:
Are you doing a Factory Reset in TWRP to actually wipe the rom away? You list system, cache, and data (internal storage) but not Factory Reset.
Alternatively, are your apps reinstalling after signing into your account at Setup Wizard?
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
He's already performing a factory reset by wiping the partitions individually.
Heisenberg said:
He's already performing a factory reset by wiping the partitions individually.
Click to expand...
Click to collapse
That's what you would think, but why is this happening?
FWIW, I always TWRP factory reset, then wipe all the partitions he mentioned again by itself and have never seen this behavior on any version of TWRP.
farfromovin said:
That's what you would think, but why is this happening?
FWIW, I always TWRP factory reset, then wipe all the partitions he mentioned again by itself and have never seen this behavior on any version of TWRP.
Click to expand...
Click to collapse
I have no explanation for what's happening, I really don't know. I only ever use the advanced wipe menu, it's pointless performing the factory reset too.

Categories

Resources