F2FS / EXT4 on /DATA partition - Google Pixel 3 XL Guides, News, & Discussion

Im sure most of us now know /data is formatted as F2FS
i am trying to format /data as EXT4 for testing purposes however i cant get it to boot
i have added a line in the fstab for ext4 on the /data partition
once i format /data as ext4 in twrp i get a error saying that the device is corrupt and that i need to format/wipe my device
anyone have any ideas on how i can get this working please

ok no longer get 'device is corrupt' message
just stuck on the google icon with the bar loading - still no boot.

Related

[Q] Reformat data partition as ext4

Rather than making a loopback filesystem, I've been trying to reformat the data partition as ext4, but haven't been able get past the galaxy "S" screen yet (the big S on boot). Here's what I did
* Compile a kernel with ext4 and modified init.rc to mount /data as ext4.
* Reboot into recovery and format /dev/block/mmcblk0p2 as ext4.
* Reboot into download and flash the custom kernel.
It was stuck at "S" for a while, then the screen went dark, and the only thing I could do was to pull out the battery. Then I went into recovery mode and found the partition was trashed, i.e. I couldn't mount it as ext4 again. I had to format it back to rfs and restore the stock kernel to get it to boot. I have to believe that there's something other than init.rc that assumes data partition to be in a certain format. Has anyone had success on a similar task?
BTW, the same process DID work for /dbdata, but I see no visible improvement in Quadrant score...
I has a similar thing occur on my first attempt with nilfs2. Did you remove anything that would attempt to mount as rfs? I think the rfs driver will claim pretty much anything that might be rfs, so if your format left the backup FAT intact, that might be your problem. By the way, the nilfs2+user_init kernel I posted in the mimocan fix thread does support ext4 as well, and allows you to customize the mount without rebuilding your kernel.
Sent from my SAMSUNG-SGH-I897 using XDA App

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 !

[Q] help with sd-ext partition

I've tried a few different roms on my SK4g, ODIN'd it twice in the process of trying roms.. I decided I'd try the 0bloat rom and saw it supports the sd-ext..
I created a 2048mb sd-ext partition in the RED clockwork recovery partition SD card under advanced.
should it not show up under mounts and storage? I just have:
unmount /cache
mount /data
mount /sdcard
unmount /system
format /cache
format /data
format /sdcard
format /system
mount USB storage
Under the instructions for "Stock 0 bloat KJ2" it says it supports the sd-ext partition. However I don't see it and it doesn't seem to be recognized by the phone.. I took my sdcard out and plugged it into a computer and the sd-ext partition mounts fine and it's listed as ext3.
any suggestions would be appreciated.
G
uh..
so nobody else does this? no suggestions?
it wont show up under mounts and storage, and isnt even mounted on the phone yet. download an app from the market called LINK2SD. when you first start the app, it will ask what type of partition you have (ext2, ext3, ext4, or FAT32). pick whichever one you have. after a moment, it will say something about mount script created and tell you to restart your device to mount the partition. reboot and the partition should be mounted. you can then install apps to that partition.
sidekick_fanatic said:
it wont show up under mounts and storage, and isnt even mounted on the phone yet. download an app from the market called LINK2SD. when you first start the app, it will ask what type of partition you have (ext2, ext3, ext4, or FAT32). pick whichever one you have. after a moment, it will say something about mount script created and tell you to restart your device to mount the partition. reboot and the partition should be mounted. you can then install apps to that partition.
Click to expand...
Click to collapse
Works! Thanks for the great information.
Greg

/System wont flash

Get an error:detected filesystem ext4 for /dev/block/platform
Seems to be that /system is corrupt, i need help to fix this.
Tried formatting in recovery but it doesn't work

The /data partition can not be mounted cause the phone doesn't load.

I tried to install a custom rom, somehow the stuck in boot up screen. I got in TWRP and found that the /data partition can not be mount. How can I get /data partition back?
Try formatting

Categories

Resources