F2FS on stock - RAZR HD Q&A, Help & Troubleshooting

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!

Related

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

[Q] Partitions resizing

I have the latest stock Gingerbread ROM, AmonRA, ROQ kernel and I'm unsing link2SD.
I'm getting short of space on my data partition and I would like to recover some space from my cache partition (that is now 64Mb big).
Is there anyway to move some Mb from /cache to /data?
Possibly recovering a whole NAND backup.
I saw scripts for "Cusotm MTD Partitions" but they all looked for different phones.
Thank you very much
pdario said:
I have the latest stock Gingerbread ROM, AmonRA, ROQ kernel and I'm unsing link2SD.
I'm getting short of space on my data partition and I would like to recover some space from my cache partition (that is now 64Mb big).
Is there anyway to move some Mb from /cache to /data?
Possibly recovering a whole NAND backup.
I saw scripts for "Cusotm MTD Partitions" but they all looked for different phones.
Thank you very much
Click to expand...
Click to collapse
u can't change internal partitions in p500. but u can change the size of SD-ext partition that link2sd uses to store apps. U can do that with the help of ur recovery. But remember that changing size of sd-ext partition will format ur whole sd crd. so make the necessary backups
Souron29 said:
u can't change internal partitions in p500. but u can change the size of SD-ext partition that link2sd uses to store apps. U can do that with the help of ur recovery. But remember that changing size of sd-ext partition will format ur whole sd crd. so make the necessary backups
Click to expand...
Click to collapse
I'm running out of space in /data partition, /sd-ext is ok.
I see I can nandroid backup all partitions: can't I edit them somehow and then recovery them back?
BTW: I would use a Windows partition resizing software on the SD mounted in my PC to do what you meant, that should not lose any data
pdario said:
I'm running out of space in /data partition, /sd-ext is ok.
I see I can nandroid backup all partitions: can't I edit them somehow and then recovery them back?
BTW: I would use a Windows partition resizing software on the SD mounted in my PC to do what you meant, that should not lose any data
Click to expand...
Click to collapse
when u backup ur partitions it just means u r backing up the content of ur partitions as a whole. So editing them won't do any good.
instead flash an app2sd script which moves dalvik cache to sd too. like this one. http://forum.xda-developers.com/showthread.php?t=1668247
My dalvik cache is already on SD, using LInk2SD; the problem is the /data content; it would be great to move the data to SD too
I also used link2sd till recently and switched to S2E (simple2ext) from the market but I think it only works for cm7 and cm7 based roms.
If you use a lot of apps including games I would suggest making the ext partition 1gb when using set script.
Backup your apps with titanium backup, wipe the phone clean, flash the rom.
Install S2E, open it.
Press menu key and go to Settings, and enable “Mount as ext4″ (mandatory).
Close and reboot.
Open S2E again and select the folders you want to move to SD card. I recommend selecting Applications, Application Data and Dalvik cache. Leave Private apps and Download cache unselected.
Reboot and changes will take effect. (This reboot will be slower than usual as your dalvik cache will be rebuilt.)
Done.
Now you can restore from the titanium backup and you shouldn't have any more problems with space.
p.s.: don't backup or restore link2sd, it will mess with s2e
You mean it will move the /data folders too, in contrary to Link2SD?
pdario said:
You mean it will move the /data folders too, in contrary to Link2SD?
Click to expand...
Click to collapse
Yes
Sent from my LG-P500 using xda premium
Is it correct that, in the steps you listed, the old sd-ext partition is not needed? S2E won't read it, right?
pdario said:
Is it correct that, in the steps you listed, the old sd-ext partition is not needed? S2E won't read it, right?
Click to expand...
Click to collapse
The sd-ext partition is very needed. that's where all your apps and data and dalvik cache will go. S2E works basically like Link2SD only it moves data as well, to the same place.
When I said wipe the phone, I meant formating the system, internal and ext partitions + dalvik cache so you have a clean slate and bug free installation.
Souron29 said:
when u backup ur partitions it just means u r backing up the content of ur partitions as a whole. So editing them won't do any good.
instead flash an app2sd script which moves dalvik cache to sd too. like this one. http://forum.xda-developers.com/showthread.php?t=1668247
Click to expand...
Click to collapse
Use the script mentioned here. it moves ur \data partition to ext. it will give u ample amount of storage. and remember that u should increase the size of ext partition only if u have class 6 sdcards or else ur phone will suffer serious lag
Sorry, I meant the content of the sd-ext partition before this upgrade: I have to reinstall all apps, I don't need the old installations in the sd-ext, right?
Thank you!

[Q] Sdcard became a file

my sdcard in root explorer became read only and a file and is now legacy. this first started when i tried to boot into TWRP 2.8 and did not boot so i tried to fastboot erase cache and that is when i had problems. I also don't have an IMEI number but i have a backup. TWRP can read the sdcard though
Try fastboot flashing the cache.img.
Wakamatsu said:
Try fastboot flashing the cache.img.
Click to expand...
Click to collapse
Fixed becasue i had a back up and just restored the cache and efs from another ROM
is the sdcard mounted in cache or something?
dirtbikerr450 said:
is the sdcard mounted in cache or something?
Click to expand...
Click to collapse
No but you mentioned that you erased the cache in fastboot. Normally, the cache should reformat. If it doesn't, you lose your cache file system. The phone is still useable but may exhibit odd behavior.

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.

twrp

Does Format Data in twrp wipe the system partition or will I be fine to format data from twrp? I'm wanting to do this because I've read that doing this will remove encryption
Newrooter22 said:
Does Format Data in twrp wipe the system partition or will I be fine to format data from twrp? I'm wanting to do this because I've read that doing this will remove encryption
Click to expand...
Click to collapse
It only wipes /data.
Though, if you use TWRP by Pretoriano80 there's no point as that has decryption.
If you still want to continue you need to Format Data, 'reboot recovery', then remove fileencryption flag in /vendor/etc/fstab.hi3660. (you can pull this file using adb, edit on computer then push it back using adb.).
If you don't edit fstab your phone will re-encrypt on next boot to system.
You will also have to flash Public and HW zip for your firmware as these will be gone (system update ability and themes are stuff that will be gone if you don't flash these.)

Categories

Resources