[Q] Change rom using TWRP recovery - Nexus 4 Q&A, Help & Troubleshooting

Hi, I'm on PA 3.99 rom and I'd like to install Purity Rom, but it's required a full wipe. My recovery is TWRP, so for a full wipe I need to wipe cache, dalvink cache, system and factory, right? Internal and External card isn't necessary, right? Because It will erase the Purity zip in my memory and I won't be able to installed. If possible I'd like a clear response, so I'd finally understand what to do exactly with no more worries.

Matteo Mazzu said:
Hi, I'm on PA 3.99 rom and I'd like to install Purity Rom, but it's required a full wipe. My recovery is TWRP, so for a full wipe I need to wipe cache, dalvink cache, system and factory, right? Internal and External card isn't necessary, right? Because It will erase the Purity zip in my memory and I won't be able to installed. If possible I'd like a clear response, so I'd finally understand what to do exactly with no more worries.
Click to expand...
Click to collapse
That's correct, cache, dalvik cache, data and system. Your external sd and internal sd should be untouched.
☞Sent from here☜

A factory reset in recovery wipes /cache and /data ... the dalvik cache resides on the data partition and is thusly wiped also.
You could wipe /system to be "thorough" ... but the Rom zip.should have a format /system line in the updater script.
I only ever do a factory reset between roms.

Thank you very much, it's what I wanted to hear! (Never understood if wipe factory was even wipe data ahah XD)

studacris said:
A factory reset in recovery wipes /cache and /data ... the dalvik cache resides on the data partition and is thusly wiped also.
You could wipe /system to be "thorough" ... but the Rom zip.should have a format /system line in the updater script.
I only ever do a factory reset between roms.
Click to expand...
Click to collapse
Oh ok!! Now I get it! Really appreciate everyone answer! (Sorry for my English, lately I haven't been using it very much!)

Related

Steps When Flashing Question

So I was reading the Royal Ginger Rom thread, and his instructions on the 3rd page I believe say to:
"Make sure when you wipe you wipe both on the main page of recovery. Then go to advance and wipe dalvik then go to mount and format boot, system and format sdcard. Then flash."
Have I been missing something here with all the ROM's I've been flashing? With all the ROM's I've flashed, I've only done "full data wipe", "wipe cache", and "wipe dalvik"
I've never done a format boot, system and fotmat sdcard.
And doesn't formatting a sd card wipe everything off it? Or am I thinking of something else
bballcat03 said:
So I was reading the Royal Ginger Rom thread, and his instructions on the 3rd page I believe say to:
"Make sure when you wipe you wipe both on the main page of recovery. Then go to advance and wipe dalvik then go to mount and format boot, system and format sdcard. Then flash."
Have I been missing something here with all the ROM's I've been flashing? With all the ROM's I've flashed, I've only done "full data wipe", "wipe cache", and "wipe dalvik"
I've never done a format boot, system and fotmat sdcard.
And doesn't formatting a sd card wipe everything off it? Or am I thinking of something else
Click to expand...
Click to collapse
When you do full wipe /system is untouched so you should go format the /system, /boot, do full wipe. You can manually remount it but this is done auto when reflashing and reconstructing the image. Far as the format sdcard goes I take it that it access /sd-ext part which you should leave it alone if you don't understand.
BlackSHELF said:
When you do full wipe /system is untouched so you should go format the /system, /boot, do full wipe. You can manually remount it but this is done auto when reflashing and reconstructing the image. Far as the format sdcard goes I take it that it access /sd-ext part which you should leave it alone if you don't understand.
Click to expand...
Click to collapse
So I should always do a FULL wipe then with whatever rom I flash? Could explain some "oddities" I've been getting at times lol
And just leave the format sdcard alone?
bballcat03 said:
So I should always do a FULL wipe then with whatever rom I flash? Could explain some "oddities" I've been getting at times lol
And just leave the format sdcard alone?
Click to expand...
Click to collapse
1) Keep your battery 100% (trust me saves you alot of time recalibrating)
2) Format /system, /boot from Recovery
3) Wipe dalvik, full wipe
4) Flash whatever via SDCard
BlackSHELF said:
1) Keep your battery 100% (trust me saves you alot of time recalibrating)
2) Format /system, /boot from Recovery
3) Wipe dalvik, full wipe
4) Flash whatever via SDCard
Click to expand...
Click to collapse
Ah ok, I was totally unaware of step 2. I've just done "wipe data/factory reset" and the two cache's.
Interesting what I'll get from here on out now. What do you mean by "recalibrating" when you said to keep the battery at 100%?
bballcat03 said:
Ah ok, I was totally unaware of step 2. I've just done "wipe data/factory reset" and the two cache's.
Interesting what I'll get from here on out now.
Click to expand...
Click to collapse
Thats why we are here. Normally most leave it alone and only time we recommend it is when user is doing major upgrade for example switching roms or having some issue that none else can replicate. You are now good to go
BlackSHELF said:
Thats why we are here. Normally most leave it alone and only time we recommend it is when user is doing major upgrade for example switching roms or having some issue that none else can replicate. You are now good to go
Click to expand...
Click to collapse
thats sorta interesting
ive not once seen it mentioned in any of the rom threads or just around xda to wipe both boot and system until seeing it in the royalginger thread
not saying its wrong...but it should be maybe conveyed that only wiping date/factory reset, cache and dalvik isnt always sufficient
Freek91 said:
thats sorta interesting
ive not once seen it mentioned in any of the rom threads or just around xda to wipe both boot and system until seeing it in the royalginger thread
not saying its wrong...but it should be maybe conveyed that only wiping date/factory reset, cache and dalvik isnt always sufficient
Click to expand...
Click to collapse
Well normally people just do full wipe (/data, /cache, /sd-ext, /sdcard/.android_secure) and wipe dalvik but if you want to properly do it then you can format /system manually or do it via adb fastboot erase system -w. This is more clean way to do it as you get rid of the /system which is not normally covered with wipe.
A point of clarification. As I understand it, the Dalvik cache (used by Mobile Java apps) is a structure within the /data partition. A "full wipe / factory reset" formats /data, so a wipe of the Dalvik cache in addition wouldn't actually do anything.
Wiping the Dalvik cache along with /cache is usually recommended for ROM "upgrade" flashes, when /data is left intact.

[Q] About installing CM7 Nightly builds

Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
It will wipe everything and it will be a fresh install.
Sent from my LG Optimus V using Tapatalk
If you update, just wipe cache
It wipes the /data partition but doesn't wipe /sdcard /sd-ext or /met/emmc.
Sent from my MB860 using xda premium
EGM92 said:
Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
Click to expand...
Click to collapse
Just wipe Davlik.
if boot is longer than normal after wipe, it's normal!
votinh said:
If you update, just wipe cache
Click to expand...
Click to collapse
patruns said:
Just wipe Davlik.
Click to expand...
Click to collapse
So... just wipe Davlik Cache is what you guys are saying?
Good question helped out a newb here
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Correct
Sent from my LG Optimus V using Tapatalk
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Note: wipe cache and wipe Dalvik cache are 2 different things.
+ wipe cache is a quick way to clean the current running ROM
+ wipe Dalvik is a completely clean.
After wipe Dalvik, next time it boots, it will take a lot longer time due to the device has to re-compile the whole thing before ROM start running and booting.
I think I need to drop a few lines about wipe cache/Dalvik.
As I posted above, I said it wiped clean.
Apparently, I am NOT 100% correct.
I just updated to nb198, wiped cache (formatting /cache) then wipe Dalvik cache.
After done updating ROM, booting up, I expected everything clean, completely fresh.
It's not the case, I went to Market and all old search history were still shown. Not only with Market but other apps too.
So
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Okay, I did a quick read of the FAQ for CWR, and came across these:
Wipe cache partition
Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
Wipe Dalvik Cache
Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.
So, I'm taking this guide on board and will wiping Cache AND Davlik. So that's two steps prior to installing a new CM7 nightly build.
votinh said:
I think I need to drop a few lines about wipe cache/Dalvik. *snip*
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Click to expand...
Click to collapse
You didn't happen to store them in uSD card? Or perhaps app data/cache are separate from system data/cache...
Will look into it further...

System Partition size !(Stuck)

I changed system partition size on my gt540 to 220mb to use ICS. But when I restore my backed-up ROM(CM7) it sticks on boot logo or restarts over and over.. changed my system partition back to 150mb still same problem and ICS still work . (system partition didn't change)so I cant change my partition anymore?!
Did you wipe cach and dalvik cach after restore?
Sent using Tt.
cache wiped but what is dalvik cache and how to wipe it?
justsayin' said:
cache wiped but what is dalvik cache and how to wipe it?
Click to expand...
Click to collapse
Recovery , advanced , wipe dalvik cache
Sent from my Optimus
gonna give it a try
EDIT: worked thank you very much

[Q] How do I FULLY wipe my device?

Might be a stupid question, but anyone know how to do this? I want to only keep PSX And neo with no other data on it (Such as games that require downloaded data, apps and etc). Wiping data on CWM doesn't wipe everything (Yes I did cache and dalvik as well), would wiping the sdcard wipe everything and leave the ROM? Hopefully someone can help, thanks
Also, if the only way of wiping brings me back to stock/unrooted, would I still have CWM installed to install custom ROMs and such still?
These are the wipes you are looking for:
1. wipe data/factory reset
2. wipe cache partition
3. mounts and storage > format sdcard
4. advanced > wipe dalvik cache
That should leave you with a empty/clean internal sd card, no data (apps, settings, etc.), and your current rom and kernel.
if you want to completely wipe everything and go back to stock Android, just use one of the toolkit and flash stock image. it will wipe everything in the phone.
Or just fast boot the images including the userdata file it'll erase the entire phone memory. Toolkits are convenient but you should know how to use fastboot too it saved me when my recovery wouldn't boot and there was no ROM on the phone.
Sent from my Nexus 4 using xda app-developers app

[Q] how to flash roms without losing data n files?

Alright guys I feel very nooby asking this but this is my first device that doesn't have a sd slot. Is there a way to flash a Rom without deleting the download and titanium folders?
My steps prior to flashing are
Wipe data, cache, n dalvik
Flash Rom
Then wipe cache n dalvik again
But if I wipe data then the Rom zip would be deleted before I can flash it?
Please help me on this thanks!
Sent from my LG-D801 using Tapatalk
Hi,
Make only wipe data/factory reset, wipe cache partition and wipe dalvik cache, tat's all then flash your rom and reboot.
Don't wipe anything related to sd card/ext sd card or internal storage so you keep all your files in your "sd card" intact.
lilviet93 said:
Alright guys I feel very nooby asking this but this is my first device that doesn't have a sd slot. Is there a way to flash a Rom without deleting the download and titanium folders?
My steps prior to flashing are
Wipe data, cache, n dalvik
Flash Rom
Then wipe cache n dalvik again
But if I wipe data then the Rom zip would be deleted before I can flash it?
Please help me on this thanks!
Click to expand...
Click to collapse
This won't happen on your LG G2. Even when using CWM you can see it is looking for an external SD card in the command line when doing a Factory Reset. You're internal SD card is never touched.
When you flash a ROM just:
Factory Reset
Flash Rom
Obviously make a backup first if you're worried, and you may need to flash Gapps depending on the ROM you flash.
understood, thanks guys

Categories

Resources