Change file system of dalvik cache - General Questions and Answers

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.

Related

I need help with:

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 !

4EXT/Partitioning Help!

Hello there! if I just want 1gb partition for games,apps, and I got a 8gb card, whats the correct way to do this on 4EXT recovery?
Also one of the things says....
Warning sd-ext2 is not formatted!
how do i format sd-ext2???
how do I go about clearing everything and starting again? there is a option in the wipe/format menu, called Wipe all Partitions (DANGEROUS!), does this clear everything? I dont want to do it without checking with experienced forum members first, so if you can help, please leave below....
You've got one solution
Make a backup from your sdcard on your PC, and format partition and increasing the size of three of them ( system, data, cache, sd_ext and ext2) with your recovery on EXT4.
Like this:
- system => Ext4
- data => Ext4
- Cache => Ext4
- SD-ext => Ext4
- SD-ext2 => EXt4 or Ext3
- sdcard => fat32
then, restore your files on your sdcard.
biggary said:
Hello there! if I just want 1gb partition for games,apps, and I got a 8gb card, whats the correct way to do this on 4EXT recovery?
Also one of the things says....
Warning sd-ext2 is not formatted!
Click to expand...
Click to collapse
Use the EXT4 recovery as suggested, although are you sure that you'll need this space as the DS had over 1GB of internal user storage available to you by default. Mine has over 700mb free with all my applications installed.
The un formatted message relates simply to the non existence of the partition and isn't anything to worry about.
To wipe everything, the easiest way is to simply perform a factory reset, either from bootloader or from settings
The wipe all isn't what you are after as this is used by ROM cooks and wipes all partitions, which should only be used when installing new roms
Swyped from HTC Desire S using XDA Premium

How Do I Do an EXT4 Wipe?

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

[Q] ummu i no what it is, just 1 small question

idk why im confused. can someone please verify. want to flash erikmm rom
ummu - unmount system, mount cache, mount emmc, unmount sdcard?
is this what we want to see and leave everything else the same?
if we did have to flash stock rom. do we mess with these again?
Yep to your first question. And if restoring a backup you don't need to worry about them. Otherwise I'm not sure? Sorry.
Sent from my SGH-T769
trevor7428 said:
idk why im confused. can someone please verify. want to flash erikmm rom
ummu - unmount system, mount cache, mount emmc, unmount sdcard?
is this what we want to see and leave everything else the same?
if we did have to flash stock rom. do we mess with these again?
Click to expand...
Click to collapse
Hey, I can answer your question
In erikmm's thread, he said:
erikmm said:
Installation Instructions:
1. Must have efs backup on desktop * just in case *
2. Nand Backup
3. Format System
4. Set Mounts to UMMU. *unmount cache, mount data, mount sdcard, unmount system*
5. Wipe Data/Factory Reset
6. Flash Rom
7. Reboot
8. Let the phone sit for 10 minutes then enjoy.
Click to expand...
Click to collapse
First, you want to flash this ROM. You should odin back to stock, and odin recovery ( for a full wipe )
Make sure Battery is full charged before odin these things
Second. Go to recovery. Volume up + Down + Power.
1.Backup ( of course )
2. After that, format system, try to format 3 times.
3. Go to Mounts & USB Storage
You'll see a lot of things. Make sure you check in this
unmount cache
mount data
mount emmc
unmount system
is correct.
If you see one of these option is different than erikmm said, you'll try to correct them. Ex: You see in CWM "unmount data", you can correct by press Power button to changed it to " mountd data "
And the same as another options
4. Make sure you correct right things in CWM. After that, do an wipe data/fatory resets ( 3 times, I think ) and flash erikmm's ROM in your SDcard
5. Reboot, wait for 10 minutes, and enjoy
Maybe the confusion is this... inside the "Mounts and Storage Menu" lists as follows...
mount /efs
unmount /data
unmount /cache
unmount /emmc
mount /sdcard
mount sd-ext
format /data
format /system
format /cache
format /emmc
format /sdcard
format /sd-ext
mount USB storage
+++++Go Back+++++
thus the UMMU stated is not in that order and what about the others?
Be safe and have fun.
You no longer need to mess with the mounts when installing erikmm's ROMs.

F2FS on stock

i wanted to know if it is possible to format our system partition as f2fs and have it work our data partition on kitkat is already f2fs so are we able to do it to system? in twrp i attempted this by fro matting to f2fs but when restoring system it reformats system as ext 4 is there away around this? on twrps website there is a command to keep a the file system it is "tw_rm_rf – uses rm –rf instead of formatting system and data partitions, this option is used to prevent changes to the file system settings such as file system type, " i found it here http://www.teamw.in/twrp2-reference-guide would this help to do this? i don't know where to put this command in though
Edit: on a sidenote i formatted cache as f2fs and it booted
Edit 2: i looked at it again and cache was reformatted back to ext4
billycar11 said:
i wanted to know if it is possible to format our system partition as f2fs and have it work our data partition on kitkat is already f2fs so are we able to do it to system? in twrp i attempted this by fro matting to f2fs but when restoring system it reformats system as ext 4 is there away around this? on twrps website there is a command to keep a the file system it is "tw_rm_rf – uses rm –rf instead of formatting system and data partitions, this option is used to prevent changes to the file system settings such as file system type, " i found it here http://www.teamw.in/twrp2-reference-guide would this help to do this? i don't know where to put this command in though
Edit: on a sidenote i formatted cache as f2fs and it booted
Edit 2: i looked at it again and cache was reformatted back to ext4
Click to expand...
Click to collapse
Did you ever succeed in getting stock "DATA" partition to F2FS? I couldn't restore my backup and phone wouldn't boot anymore.. so went back to EXT4..
Maybe @djvita knows something, I think he has been experimenting a bit with F2FS..
StefanGA said:
Did you ever succeed in getting stock "DATA" partition to F2FS? I couldn't restore my backup and phone wouldn't boot anymore.. so went back to EXT4..
Maybe @djvita knows something, I think he has been experimenting a bit with F2FS..
Click to expand...
Click to collapse
yes i was able to get only the data partition to f2fs no other partition will stay another format once it boots it reformats or when restoring system in twrp it will restore the system partition as ext 4
billycar11 said:
yes i was able to get only the data partition to f2fs no other partition will stay another format once it boots it reformats or when restoring system in twrp it will restore the system partition as ext 4
Click to expand...
Click to collapse
interesting.. how did you do it? I did it in TWRP 2.8.1.0 via advanced wipe and after that got stuck on the motorola bootlogo..
That is the same thing I did but after whipeing I restored my data partition. I think the reason you got stuck in a bootloop is because you did not clear dalvic and cache or you do not have the kit Kat boot loader
billycar11 said:
That is the same thing I did but after whipeing I restored my data partition. I think the reason you got stuck in a bootloop is because you did not clear dalvic and cache or you do not have the kit Kat boot loader
Click to expand...
Click to collapse
I tried it again.. this time it worked.. I rebooted after format directly back into recovery and was then able to restore my data from ext4 to f2fs.. not sure, why it didn't work the first time around, but thanks for checking back!

Categories

Resources