Removing carrier customizations - LG Spirit Questions & Answers

Is it possible to remove them by formatting /cust partition?

Related

[Suggestion] mkfs.ext4 format instead of delete_recursive("/system") ?

Hey guys,
On some ROMs update scripts, I've been noticing that the ROMs delete from the system partition using a delete_recursive("/system") command instead of just bombing the system partition with a format. I was just suggesting that wouldn't it be a better idea to run a ext4 format on the /system partition, therefore you have a "clean slate" instead of deleting stuff from /system and leaving stuff behind in the ext4 journal?
The reason I say this is that if any blocks are actually bad, a delete won't reveal them. If you format the system partition using mkfs.ext4, it allows the system to do a quick scan for bad blocks and mark them before formatting, and finally copying files to the system partition.
One would just have to do something like this in their update-script:
Code:
run_program("/sbin/busybox","mkfs.ext4 -L system -m 0 <mtdblock of system partition>");
Again, this is only a suggestion. Feel free to argue!

Moving on to F2FS

My Idea is to change the Filesystem on my d802.
Via adb I pulled the whole /data/media partion so that I can Push it back later.
I am not really Sure how this will work with the System partition.
I believe that flashing a cloudy G3 rom will Format the System partition back to ext4 (i think it's in the install Script).
So Would it be possible that I remove that "formating System" line to keep f2fs. Any other thoughts on this?

Is it possible to expand system partition for redmi2?

Is it possible to expand system partition for redmi2? If it is possible , how can I do?

[Q] Will Resizing Partitions Break Safetynet?

Good morning, I was wondering if I start resizing my 6T's partitions with TWRP, will it break safetynet? I know that generally modifying the filesystem or the files on the /system partition will break it, but wanted to know if resizing the partition as a whole would as well. I'm currently on the latest OxygenOS. Thanks!

DATA partition is on F2FS by default?

I've unlocked my new MI9T to install xiaomi.eu rom.
First of all, after unlock, i've installed the official TWRP and i've formatted (not wiped) the DATA partition.
I've noticed that TWRP logged that it was formatting the DATA partition with mkfs.f2fs ...... really strange...
So, i've rebooted to TWRP and changed the DATA partition type to EXT4 and formatted it... after a reboot i've tried to format it again and it was formatted again in F2FS (like F2FS was the default selection).
So i've tried to switch to OrangeFox recovery (i suspected a bug in TWRP)... but the same behaviour...seems that F2FS is the default partition type for my DATA partition.
I've installed the xiaomi.eu (the kernel in this rom is the official one, and i dont think that it supports F2FS) and the rom boot ok, without problems.
I've tried also to force ext4 on DATA, but with this partition type the rom never boot (it remains on the android bootanimation).
So right now, i see a f2fs partition type on my data partition, with original kernel.
I've tried also to change the cache partition to f2fs (by default this partition is formatted in ext4) but in this way, the rom boots, but i can't see the cache partition, seems that effectively the kernel can't mount the cache partition.
so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
Code:
/dev/block/bootdevice/by-name/userdata /data [B]f2fs [/B]noatime,nosuid,nodev,nodiscard,fsync_mode=nobarrier,reserve_root=32768,resgid=1065 wait,check,fileencryption=ice,wrappedkey,quota,reservedsize=128M,latemount
So, this phone uses by default a F2FS partition type for DATA????
gulp79 said:
...so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
So, this phone uses by default a F2FS partition type for DATA????
Click to expand...
Click to collapse
Yes - stock QFJEUXM 11.0.4, never formatted (or wiped) Data, see screenshot from /vendor/etc/fstab.qcom

Categories

Resources