Help on k30 data and cache default mounted file system - Xiaomi Poco X2 Questions & Answers

It happen I wipe my data and cache then accidentally changed the mounted file system for the data and cache.
may i check it to your default mount filesystem? Here attached pics are from my k30. can i copy same to your settings?
Hoping for your help!

Related

[Q] How to wipe Dalvik Cache?

What is the proper way to wipe the Dalvik Cache on the SamChg?
I removed a system app, and I read that I should wipe the DC to truly clean out the system app.
¿GotJazz? said:
What is the proper way to wipe the Dalvik Cache on the SamChg?
I removed a system app, and I read that I should wipe the DC to truly clean out the system app.
Click to expand...
Click to collapse
Couple of ways to do it.
Easiest is use CWR and select the option to wipe dalvik under advanced.
You can manually delete the contents of the /data/dalvik-cache folder via the rm command (google for proper syntax) from the terminal, adb, or with something like root explorer (make sure to mount r/w).
A reboot will rebuild the cache, which will cause your reboot to take considerably longer than normal.

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!

Change file system of dalvik cache

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.

format data

Hey guys, my friend accidently formated my phone data in twrp in the wipe section.
In the wipe section, instead of giving factory reset, my friend clicked on the 'format data' . The problem now is my os has been wiped and while trying to install a new os, its showing can't mount cache, system and data. (invalid argument)
I am using TWRP 3.0.0-0
I tried mounting them in the partitions to mount, but its not getting selected.
SYSTEM, CACHE & DATA
Any solutions guys??

Question Data type doesn't change to ext4 permanently in TWRP

I use Arrow OS on my Poco X3 Pro and whenever I get updates, my phone does not automatically update, but I have to manually do so.
But when I try wiping my cache and dalvik, I get the error "unable to mount data".
My data type originally is f2f2.
I saw a fix on the XDA thread: How to fix unable to mount data internal storage 0mb in twrp permanently
But even after following all the steps, my phone does not boot into system until and unless I change data type back into f2f2.
Is there no permanent way to keep my data type ext4, so that it is easier for me to wipe my dalvik and cache, without going through all these methods?
Shashwat Deep said:
I use Arrow OS on my Poco X3 Pro and whenever I get updates, my phone does not automatically update, but I have to manually do so.
But when I try wiping my cache and dalvik, I get the error "unable to mount data".
My data type originally is f2f2.
I saw a fix on the XDA thread: How to fix unable to mount data internal storage 0mb in twrp permanently
But even after following all the steps, my phone does not boot into system until and unless I change data type back into f2f2.
Is there no permanent way to keep my data type ext4, so that it is easier for me to wipe my dalvik and cache, without going through all these methods?
Click to expand...
Click to collapse
ArrowOS 12 ?
All custom recoveries at the moment cannot decrypt data in Android 12.
Official custom recoveries can decrypt in Android 11, so if you are using ArrowOS 11, it will be able to read data partition.
Shashwat Deep said:
I use Arrow OS on my Poco X3 Pro and whenever I get updates, my phone does not automatically update, but I have to manually do so.
But when I try wiping my cache and dalvik, I get the error "unable to mount data".
My data type originally is f2f2.
I saw a fix on the XDA thread: How to fix unable to mount data internal storage 0mb in twrp permanently
But even after following all the steps, my phone does not boot into system until and unless I change data type back into f2f2.
Is there no permanent way to keep my data type ext4, so that it is easier for me to wipe my dalvik and cache, without going through all these methods?
Click to expand...
Click to collapse
As far as I understand, the format of the data partition in the Poco X3 Pro is f2fs by default, according to what I read, they did it that way, since that format is a little better than the traditional ext4, that is why if you change the f2fs format, it will not start. the device

Categories

Resources