Hi
I'm on jb 4.2.1 build 3 by rashed and a biiiig problem is that the /data is getting full (at least 50% without installing any app) so I am asking for a method to move dalvik cache back to /cache partition or to /sd-ext (I'm using link2sd so I want to keep using it with dalvik cache in sd ext)
Related
hello DEVELOPERS !
SO I need help with: -Format-signed.zip folder- when you flash it from recovery on Nexus One is DELETE everything (format /data /system /cache and /sd-ext) INSTEAD WIPE, unfortunately this FORMAT.zip doesn't working with Nexus S
Can some one rebuild this ? so it's gonna work for us?
YOU CAN SAY: I can go into CWR and select Mounts and manually format /data /system /cache and /sd-ext
TRY TO FORMAT and restart the phone....u phone gonna boot...+(sd-ext always gives error when u wipe, or format it)
after "my" format you phone gonna stack on boot loader....because it's nothing there !
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!
I have been using SlimICS from some months now, opting to wait to update to SlimBean to allow the pros to work out the kinks. I have now decided to upgrade but having an issue. I wiped data/factory reset, wiped cache partition, wiped dalvik cache, formated and mounted system, mounted data. How ever when i try to flash Slim-i897-2.7.0-OFFICIAL i get error 0 and message to "format and mount system, mount data"
What am i not doing correctly?
Am currently on Crombi KK, looking to try out the Lollipop 5.0.2 Zombi-Pop Beta. I know just enough to be dangerous. Installed Crombi-KK to internal, then reinstalled to run ROM2sd a while back, SDcard set up in GParted. Have TWRP 2.8.4.0, just want some clarification on how and what to wipe. ROM thread states to do a full wipe, but I've never been totally sure on what constitutes a full wipe from recovery. From Wipe option in TWRP, there is Advanced Wipe and Format Data. Do I chose one or another or both? In Advanced Wipe, there are 6 partitions:
Dalvik Cache
System
Cache
Data
Internal Storage
Micro SDcard
What one(s) do I select? Since I'm running ROM2sd, do I need to run ROM2sd zip first?
TIA
OneFore9 said:
Am currently on Crombi KK, looking to try out the Lollipop 5.0.2 Zombi-Pop Beta. I know just enough to be dangerous. Installed Crombi-KK to internal, then reinstalled to run ROM2sd a while back, SDcard set up in GParted. Have TWRP 2.8.4.0, just want some clarification on how and what to wipe. ROM thread states to do a full wipe, but I've never been totally sure on what constitutes a full wipe from recovery. From Wipe option in TWRP, there is Advanced Wipe and Format Data. Do I chose one or another or both? In Advanced Wipe, there are 6 partitions:
Dalvik Cache
System
Cache
Data
Internal Storage
Micro SDcard
What one(s) do I select? Since I'm running ROM2sd, do I need to run ROM2sd zip first?
TIA
Click to expand...
Click to collapse
A full wipe is a wipe of data, cache and Dalvik. In most cases that is sufficient moving to a different rom base and the default in TWRP under the Wipe menu.
If you encounter weird problems, format /data/ (and don't interrupt it. Takes 90 minutes or so!)
There are only very specific scenarios where wiping /system would make sense. /system gets formatted anyway during rom installation - no need to wipe it.
Internal storage - if you want to get rid of everything but do not want to format /data/. Wiping data wipes everything except /data/media/ in TWRP (that's where your personal files live). Wiping Internal Storage wipes everything including /data/media/
Micro SD - wipes your microSD or - in the case of data2sd/rom2sd - the fat32 partition thereof.
If you want to wipe/format your rom2sd /data or /system partitions, yes - you have to flash rom2sd1.zip first
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.