Receiving the following error code when running “flash_fp4_factory,command” to reinstall FP4 OS. Why am I receiving this error, and how do I get around it? All I have done so far is unlock USB debugging (Phone already unlocked) and run the flash_fp4_factory.command.
INFO: flashing partitions…
Sending ‘abl_a’ (148 KB) OKAY [ 0.006s]
Writing ‘abl_a’ FAILED (remote: 'Flashing is not allowed for Critical Partitions
fastboot: error: Command failed
ERROR: Could not flash the abl_a partition on device cf6d1af5.
You might relock the critical partitions (it won’t brick the device, this may only happen by locking the bootloader in case you’ve now installed an older security patch level than before and OEM unlock is disabled) but in case get_unlock_ability is 0 (OEM unlock is disabled) you won’t be able to unlock critical partitions again until you do OEM unlock. But this will probably be greyed out in developer options until you lock the bootloader.
So in that case relocking critical partitions would still be risky.
I haven’t relocked them and installed iodé OS without any problems. Do you want to relock your bootloader with iodé?
My phone has get_unlock_ability set to 0 and OEM unlocking is disabled. But in iodé OS, the option isn’t read-only (it was when I flashed stock again before). So it should probably be okay.
Nevertheless, I didn’t even risk touching the OEM unlocking switch and will propably keep my bootloader unlocked until the problem is solved and locking with the stock ROM works flawless. Then I will reflash stock once, lock critical and return to my custom ROM of favor. So in case of problems, I have the stock ROM installed.