Is it still possible to clear Wipe Cache Partition for U12+ after software update? And is it necessary?
No longer needed, as Treble A/B devices don't have /cache partition any more. You may be wanting to read up on how treble works and how it affects partitions and partition layouts.
Related
i got virtuous unity 2.37 and want to install 2.39. its suggested i do a ext4 wipe before nstalling 2.39. i want to make sure i'm doing this right.
so, to do a full ext4 wipe, i must boot into recovery and then wipe all data, cache, then go to advance and wipe dalvik? is this correct?
Maybe you must go in Wipe / Format menu,then format sd-ext.
Go to mount and storage, click format sd-ext and click yes. Your ext4 partition is now wiped.
itachi1706 said:
Go to mount and storage, click format sd-ext and click yes. Your ext4 partition is now wiped.
Click to expand...
Click to collapse
hi itachi.. does your advice regard wiping the sd card?
also, someone suggested that an ext4 wipe involves going to Wipe/Format and selecting wipe data/factory reset, wipe dalvik cache, format system, format data, format cache and format boot. is this true?
trapzz said:
hi itachi.. does your advice regard wiping the sd card?
also, someone suggested that an ext4 wipe involves going to Wipe/Format and selecting wipe data/factory reset, wipe dalvik cache, format system, format data, format cache and format boot. is this true?
Click to expand...
Click to collapse
It does not affect the FAT partition of the SD card. Only the Ext partition. And by wiping data, dalvik, formating system, data, cache and boot, you are literally doing a full wipe of the phone which people normally do when they change from 1 Rom to another.
itachi1706 said:
It does not affect the FAT partition of the SD card. Only the Ext partition. And by wiping data, dalvik, formating system, data, cache and boot, you are literally doing a full wipe of the phone which people normally do when they change from 1 Rom to another.
Click to expand...
Click to collapse
thats exactly why im doing a full wipe.. to upgrade my rom to a higher version. but your way of wiping data seems like it involves wiping data from the sd card, which is risky and unnecessary when installing/upgrading a rom. and it can wipe out the rom on the sd card that you want to install anyway. so then whats the point'?
trapzz said:
thats exactly why im doing a full wipe.. to upgrade my rom to a higher version. but your way of wiping data seems like it involves wiping data from the sd card, which is risky and unnecessary when installing/upgrading a rom. and it can wipe out the rom on the sd card that you want to install anyway. so then whats the point'?
Click to expand...
Click to collapse
I don't mean changing to a higher version, I mean changing Rom (like from cyanogen to miui) . If you are upgrading to a higher version you do not need to wipe data. All you need to do is just wipe cache and dalvik, boot and system too if you want. This way you will get updated to the latest version while still retaining your application data.
And yes, technically you do wipe the sdcard, but only the EXT partition, which is where your apps are placed in if you use A2SD+. Your FAT partition, which is the one recognised by the computer and where you put all your data in, is not affected. Hence it will not wipe out the Rom you are trying to install on the sdcard.
Sent from my HTC Original Desire using Tapatalk
Hello, I'm just trying to gather as much information as I can and be clear about everything before I install a custom ROM. I have already rooted the nexus s.
The ROM I'm interested in is this CyanogenMod 7.
In their installation instructions it says
- Format the system, data & cache partitions of your device.
- Perform a factory reset.
From another guide (AddictiveTips) they just tell us to do the following
- Select wipe factory/data reset.
- Now, wipe cache and dalvick cache.
The xda thread tells us to format system, data, and cache partitions. But the AddictiveTips guide only seem to tell us to format the data & cache partitions.
So my question is, does the system partition automatically get formatted while installing the new ROM, or do you have to manually format it by going to mounts and storage > format system before installing the ROM?
Also, do you guys recommend to format all the required partitions by going to mounts and storage or by selecting wipe factory/data reset and wipe cache from the main menu? Thanks in advance.
...anyone?
Wipe factory/data reset (this will obviously also wipe the caches)
Install zip from SDCard (ROM)
Reboot.
Greetz
On CM Recovery 5.0.2.0. Trying to figure out definitively which wipes/formats to perform before new ROM/kernel... there are several options, some of which seem to be redundant.
Main Menu (these are the only two I've done in the past I think):
wipe data/factory reset
wipe cache partition
Mounts and Storage Menu:
format /sdcard
format /system
format /cache
format /data
format /boot
format /wimax
Advanced Menu:
wipe Dalvik cache
Most instructions I've seen say to "wipe" system/data/cache/dalvik/boot 3x each. The 3x seems funny to me, but whatever, it doesn't really take much longer. So I'm guessing I want to do just about every option above, minus my SDcard obviously. What about the /wimax option though? I never have heard that one mentioned...
Thanks!
The111 said:
On CM Recovery 5.0.2.0. Trying to figure out definitively which wipes/formats to perform before new ROM/kernel... there are several options, some of which seem to be redundant.
Main Menu (these are the only two I've done in the past I think):
wipe data/factory reset
wipe cache partition
Mounts and Storage Menu:
format /sdcard
format /system
format /cache
format /data
format /boot
format /wimax
Advanced Menu:
wipe Dalvik cache
Most instructions I've seen say to "wipe" system/data/cache/dalvik/boot 3x each. The 3x seems funny to me, but whatever, it doesn't really take much longer. So I'm guessing I want to do just about every option above, minus my SDcard obviously. What about the /wimax option though? I never have heard that one mentioned...
Thanks!
Click to expand...
Click to collapse
Wipe data/factory reset, flash morfic dalvik-wiper.zip.
No need to do 3 times or silly things like that.
The111 said:
On CM Recovery 5.0.2.0. Trying to figure out definitively which wipes/formats to perform before new ROM/kernel... there are several options, some of which seem to be redundant.
Main Menu (these are the only two I've done in the past I think):
wipe data/factory reset
wipe cache partition
Mounts and Storage Menu:
format /sdcard
format /system
format /cache
format /data
format /boot
format /wimax
Advanced Menu:
wipe Dalvik cache
Most instructions I've seen say to "wipe" system/data/cache/dalvik/boot 3x each. The 3x seems funny to me, but whatever, it doesn't really take much longer. So I'm guessing I want to do just about every option above, minus my SDcard obviously. What about the /wimax option though? I never have heard that one mentioned...
Thanks!
Click to expand...
Click to collapse
When installing a new custom rom & not just updating it to a newer version it's advisable to, 1: Advanced menu: wipe dalvik cache. 2: Mount & Storage menu: format system,cache,data & boot! You're riight about the minus sdcard wipe obviously, & usually in my experiance if you're just updating to a newer version of your existing custom rom, usually just wiping your dalvik cache & a reboot will surfice! No idea about the wimax part so don't bother, but I've never seen a dev instruct anyone to go through the process of wipng 3x???
So, this has been a question/subject of much mystery. Does wiping /cache also 'wipe' the Dalvik? A bunch of us know that the Dalvik is located within /cache so, it's assumed that wiping /cache will also wipe the Dalvik, but most have gone the route of being careful, just in case. Which is fine.
In getting a CWM log from someone to port my Nullifier and something I caught a glimpse of but was too busy to go back and check on, we now have objective proof that wiping /cache will also wipe your Dalvik:
Code:
-- Wiping cache...
Formatting /cache...
I:Formatting unknown device.
I:Formatting ext3 device.
tune2fs 1.41.6 (30-May-2009)
Setting current mount count to 1
e2fsck 1.41.6 (30-May-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p2: 11/16384 files (0.0% non-contiguous), 7478/65536 blocks
Cache wipe complete.
E:unknown volume for path [/sd-ext]
rm: can't remove '/cache/dalvik-cache': No such file or directory
rm: can't remove '/sd-ext/dalvik-cache': No such file or directory
Dalvik Cache wiped.
And if this isn't enough, go format your cache, then wipe your dalvik and then check the log at advanced>show log.
Was actually wondering about that last night when I ran the nullifier... thanks for the peice of mind!
Pin it to Win it.
Not a problem, I'll likely post a link to this thread in the Nullifier Q&A, I'm sure it'll get asked at some point.
One less step for crackflashers to do. Yes 5 secs more is a lot of time especially when a new rom comes out
Sent from my LG-P999 using xda premium
Remember, the Nullifier will now format /cache for you, so it's a great AIO. And there's also a second one for just one wipe.
Волк said:
Remember, the Nullifier will now format /cache for you, so it's a great AIO. And there's also a second one for just one wipe.
Click to expand...
Click to collapse
Yeah its a great tool. Thanks
Sent from my LG-P999 using xda premium
np. Also decided to make on just for /cache. Will likely make it and put it up tomorrow night.
That's awesome.
Edit: off topic sorry.
Sent from my LG-P999 using xda premium
PM me and we can discuss it. I don't want to get off topic.
it will wipe cache unless this line is in your build.prop
dalvik.vm.dexopt-data-only=1
in that case dalvik cache is stored on the data partition
like in CM9 because stock partition size is a bit to small
you can resize it using NVFLASH and store the dalvik back on the cache partition
ohh and by the way cleaning dalvik cache is not needed...
arcee said he never did it, i never did it and i never had any troubles caused by dalvik cache
android checks the dalvik cache and if there is a mismatch it will just throw away the dalvik cache and re create it
As we discussed yesterday in the Nullifier thread, dalvik is not cleared by a /cache wipe unless a ROM specifically places it there (which I have not seen on the G2x)... I have only seen it contained in /data on these devices.
Simple proof.
Do a /cache wipe.
Does dalvik rebuild upon reboot?
No.
overground said:
As we discussed yesterday in the Nullifier thread, dalvik is not cleared by a /cache wipe unless a ROM specifically places it there (which I have not seen on the G2x)... I have only seen it contained in /data on these devices.
Simple proof.
Do a /cache wipe.
Does dalvik rebuild upon reboot?
No.
Click to expand...
Click to collapse
just like i said
if the ROM has this line defined
dalvik.vm.dexopt-data-only=1
dalvik cache will be stored on the data partition
in that case a cache wipe will not wipe the dalvik
you can place this line in the build.prop
dalvik.vm.dexopt-data-only=0
and delete dalvik cache you will see it will be rebuild on the cache partition
but this is not smart the cache partition is really small on this device
you can resize it with NVFLASH to check but just believe us
clearing cache will only clear the dalvik if the dalvik is on the cache partition otherwise not
it is like formatting your D: partition and losing your windows that is installed on the C: partition it just make no sense!
Hi, I'm new to flashing custom rom. I've accidentally change the file system of my Dalvik Cache to FAT, (the default is ext4). I want to revert it back to ext4 but when I select it, it says invalid partition selection. I haven't flashed a custom rom yet. What should I do next?
gianski said:
Hi, I'm new to flashing custom rom. I've accidentally change the file system of my Dalvik Cache to FAT, (the default is ext4). I want to revert it back to ext4 but when I select it, it says invalid partition selection. I haven't flashed a custom rom yet. What should I do next?
Click to expand...
Click to collapse
AFAIK, dalvik-cache is just a directory present inside /data partition, which is EXT4 formatted (or even F2FS)..
How did you even do that??
There's no separate partition for dalvik-cache.
Maybe you would have changed the file system of /cache partition..
And, to make it clear, /cache partition doesn't hold dalvik-cache.
GokulNC said:
AFAIK, dalvik-cache is just a directory present inside /data partition, which is EXT4 formatted (or even F2FS)..
How did you even do that??
There's no separate partition for dalvik-cache.
Maybe you would have changed the file system of /cache partition..
And, to make it clear, /cache partition doesn't hold dalvik-cache.
Click to expand...
Click to collapse
In TWRP, there's a Wipe option and then I selected Dalvik-cache and mistakenly change the File System to FAT. Now I can't mount it.