Hey guys, i'm running CWM recovery v6.0.4.7. In the recovery, i see many partitions under 'Mounts and storage' like:-
/boot
/system
/cache
/data
/persist
/firmware
/sns
/data and /data/media (/sd card)
Would someone care to explain what's inside these partitions and what are the risks if i format them ? Also can someone explain which all partitions are changed when i flash a ROM/kernel etc ?? Thankyou :good:
Hi there,
This thread here ( [REF] CWM - Clockworkmode menu options & Partitions– GENERAL KNOWLEDGE) gives you a lot of the information you are looking for. Though this is in the S2 section the principles are all the same so you can ask questions in that thread.
NO hope there
That thread was last updated in May. And i only want to know about /persist, /firmware, /sns more importantly, which i searched everywhere but could'nt find. Any help would be appreciated
SpaceMonkeyK9 said:
That thread was last updated in May. And i only want to know about /persist, /firmware, /sns more importantly, which i searched everywhere but could'nt find. Any help would be appreciated
Click to expand...
Click to collapse
I would suggest asking in the thread linked above.
Also asking here may be useful: Android Q&A, Help & Troubleshooting
Please keep in mind also that the partitions you are talking about are extremely important to the device, messing with these areas could lead to irreversible damage.
Yes i do understand that these partitions are vital for the proper functioning of my phone. But i would love to know which all partitions are changed when i flash a ROM. For eg: I formatted /boot partition once, but flashing a custom ROM immediately restored the necessary files and i was up and running again. Only later did i discover while reading a post that /boot partition consisted of the kernel and the RAMDISK, which is included in every ROM zip file.
Thank you and thread closed!
Hi! I have a bricked MXQ, unable to mount /data /cache /system, internal storage is 0 bytes , if someone knows to fix it thanks, I have TWPR in a SD as recovery.img, I think something went wrong when I flashed again the ROM, how can i fix the mxq because this cant be connected to a pc, no micro usb port, thanks
Hi,
Thanks for using XDA Assist Kindly post here Android Q&A, Help & Troubleshooting
Good Luck!
Thread Closed.
Hi folks. As described in the title, can you post here any guide on how to root our device with /data and /cache formatted as F2FS? I tried rooting my device using magisk since chainfire's supersu dont work, but both of them are not working. Can you please show me the exact way? Thanks!
https://forum.xda-developers.com/showpost.php?p=73369722&postcount=3650
I own a Motorola DROID TURBO (XT1254) with unlocked bootloader and the Stock ROM /data and /cache partitions are in f2fs filesystem and /system is in ext4 filesystem and I have some doubts and questions:
1. Some Custom ROM's like LineageOS on this device can be installed with /data and /cache partitions formatted in ext4 and f2fs, In your daily Stock or Custom ROM in which filesystem are formated the /data, /cache and /system partitions?
2. I read that the f2fs filesystem are used by Motorola on Stock ROM's due to notable higher write speeds (this helped to the Nexus 7 2012 owners, because has eMMC bug) but has more chances of data corruption (in some devices exists the garbage collection problem), and ext4 is more reliable for data and has higher read speeds. What are you experience with ex4 and f2fs filesystems on Android? and in Moto Maxx/DROID TURBO, which is better for you?
3. Apart for Motorola, Samsung create the f2fs filesystem but not use it in their devices, Huawei uses f2fs filesystem since Android 7.0 Nougat/EMUI 5.0, OnePlus tried it on OnePlus 3/3T, but in OnePlus 5/5T switched back to ext4. Google says "F2FS isn’t supported for the internal storage as it doesn’t support inline hardware encryption", and Android 7.0 Nougat and higher supports Direct Boot and file-based encryption but only in ext4 filesystem. A website says that the Motorola Moto Z (an other Motorola device) are faster than Google Pixel (XL?), because the Moto Z uses f2fs filesystem.
4. It would be good to share the used filesystem in your phone and in which ROM uses this filesystem.
Note: Can you check partitions filesystem with Diskinfo app or TWRP in Wipe> Choose partition> Repair or change filesystem
This information and questions apply for all Moto Maxx/DROID TURBO owners (XT1225, XT1250, XT1254)
I like to know your opinions about the ext4 and f2fs filesystems for Moto Maxx/DROID TURBO
In case of necessity, I post it also in DROID TURBO sub-forum
No one replied here?
lat94084 said:
No one replied here?
Click to expand...
Click to collapse
This was very hotly debated three years ago, in late 2014 and early 2015 -- mostly dealing with the XT1225. You can probably dig up old threads over in the Droid Turbo forum where it was discussed. (We were all in one forum back then. It was the "All Quark" forum.) The forums were split in September 2015, but some of the threads never got moved. Droid Turbo finally got bootloader unlock in November 2015, thanks to Sunshine, but by then the topic was no longer being discussed.
There was some reason why the topic was dropped and everyone just went with the default system. Maybe didn't work well with TWRP backups or something about encrypting? Also, there was false low storage warnings. I don't remember. I just remember it was too much hassle so everyone didn't bother.
ChazzMatt said:
This was very hotly debated three years ago, in late 2014 and early 2015 -- mostly dealing with the XT1225. You can probably dig up old threads over in the Droid Turbo forum where it was discussed. (We were all in one forum back then. It was the "All Quark" forum.) The forums were split in September 2015, but some of the threads never got moved. Droid Turbo finally got bootloader unlock in November 2015, thanks to Sunshine, but by then the topic was no longer being discussed.
There was some reason why the topic was dropped and everyone just went with the default system. Maybe didn't work well with TWRP backups or something about encrypting? Also, there was false low storage warnings. I don't remember. I just remember it was too much hassle so everyone didn't bother.
Click to expand...
Click to collapse
The DROID TURBO I own have unlocked bootloader thanks to Sunshine (is a little expensive, but is worth it), I asking about ext4 or f2fs as filesystem for /data partition, the DROID TURBO Stock ROM is the /data partition formatted as f2fs, but the majority of Android devices the /data partition is formatted as ext4 and some questions and comparation between both filesystems for /data partition
Three questions: ¿The /data partition of your phone is formatted now as ext4 or f2fs?, ¿The encryption is working on both filesystems or only one (ext4 or f2fs)? and ¿Your phone is in the Stock ROM formatted the /data partition as ext4 or f2fs?
I published this in DROID TURBO forum, but no one replied here.
lat94084 said:
The DROID TURBO I own have unlocked bootloader thanks to Sunshine (is a little expensive, but is worth it), I asking about ext4 or f2fs as filesystem for /data partition, the DROID TURBO Stock ROM is the /data partition formatted as f2fs, but the majority of Android devices the /data partition is formatted as ext4 and some questions and comparation between both filesystems for /data partition
Three questions: ¿The /data partition of your phone is formatted now as ext4 or f2fs?, ¿The encryption is working on both filesystems or only one (ext4 or f2fs)? and ¿Your phone is in the Stock ROM formatted the /data partition as ext4 or f2fs?
I published this in DROID TURBO forum, but no one replied here.
Click to expand...
Click to collapse
I don't use encryption on mine or my wife's phone. My phone is formatted however TWRP formatted it. @bhb27 our official TWRP dev and who maintains two popular ROMs recommends f2fs.
[RECOVERY][OFFICIAL TWRP 3.1.1][For all Quark][Moto Maxx/Turbo and Droid Turbo]
https://forum.xda-developers.com/showpost.php?p=62363432&postcount=2
[QUOTE @bhb27]The format of data partition is different, in 4.4.4 is ext4 and 5.x.x is f2fs.
I have restore more then 100 times in my test, in some i end-up in a "bad/bug ROM" and it happens when flash 4.4.4 over 5.0.2 or vice versa, in the most bad one the device lost response of the touch screen even in the recovery, the bug was simply resolved by restoring to stock via fastboot using files from a stock XML rom. In others bug's android boot after boot i try to unlock to use and it reset, and stay in that loop, boot try to unlock reset, i try to wipe everything but system and did not work, in all those case partition format of data was wrong.
TWRP will backup the partition exactly how it is, If the backup is EXT4 and the Data partition of the device is f2fs TWRP will restore the data and will not change the format.
That may cause a problem, so when restoring to a different OS version advanced wipe the partition and change the format.
To do that click Wipe>advanced Wipe> select Data> click on Repair or change File System>change File System>
For Kitkat android 4.4.4 choose EXT4
For lollipop android 5.x.x choose F2FS
____________
This will not affect custom ROM, but i recommend to use f2fs.[/QUOTE]
In conclusion /data formatted as f2fs is better for Moto Maxx/DROID TURBO than ext4. I asking because only some Android devices use /data partition as f2fs because the majority is formatted as ext4. In Nougat custom ROM'S is f2fs better? And ChazzMatt your phone is formatted the /data partition as f2fs or ext4?
Hello guys.
I have a problem with my tecno y4
firstly, i flashed a baseband zip and it success but not. after it i got a problem /system /data /cache can't be mounted or wiped.. 0 storage
i tried all ways but only system is mounted after changed the format of it to ext2 then ext4 again but the /data and /cache still the same can't be wiped or anything....
i don't have any backup
I also tried to format data and i couldn't
i have the stock rom but i have another problem with my phone it's not connected to pc i guess there's a broken ic or chip in phone because it's only charging and pc can't detect it even in device manager for manual driver installation.. all i have now is twrp 2.8.2.0 and no os installed,
i'm stuck..
should i throw my phone??
please help me i don't have phone now and I'm not able to buy i new one i really need it...