Sounds to me like you have 2 Magisk apps installed at the same time. I’d uninstall the newer one, unhide the old one, update it and see if that improves things.
So it works
Are you booting the image you patched yourself? Mine should be on 26.1
You can absolutely try that.
Once you get bored figuring this out, Magisk app → Uninstall Magisk → Complete Uninstall.
Then fastboot flash boot_a the …
If the stock boot.img doesn’t work, I suspect something else might be broken.
You can try intalling the …
… from the recovery in slot b, to see if you can get the OTA update going again, personally I’d consider reflashing the system to factory images at this point.
Hey everyone, I follow this guide to root my fairphone4,
but the device does not boot when I want to relock the bootloader.
(I do a manual install with fastboot to reinstall fairphone os and it work again.)
So is it possible to lock bootloader after install magisk?
Unless you build your own ROM and can sign the patched boot.img yourself you won’t be able to lock your bootloader on a rooted phone.
This has nothing to do with Google changing a policy, but everything with how Android Verified Boot works.
Locking the bootloader enables AVB, so the system checks your /boot partition (and others) against a known list of partitions. When you patch the image with Magisk it doesn’t match that expectation any more and the system doesn’t boot.
If you had a phone before that let you lock the bootloader regardless, it’s very likely AVB wasn’t active, which severely undermines the whole security concept …
Anyways, if you insist on trying this again (not that it would change the outcome), always check fastboot flashing get_unlock_ability and never lock it if it returns 0.
It’s quite easy to brick the FP4 when locking the bootloader, consider yourself lucky.
can i ask where youre getting these boot images? since you said the ones on the official site are outdated, where do we actually find them? im curious since i cant get ota updates to work with magisk alpha
im running into a weird issue, i completely unrooted my phone from magisk alpha through the in app uninstall and rebooted. now even after unrooting i am running into the issue where my ota updates fail with the message “Installation problem” anyone know why this could be?
edit: oh boy i think theres more issues, when i try to boot an other patched image from fastboot with “fastboot boot boot.img” i get “FAILED (remote: ‘Unrecognized command boot’)”
Sounds like the usual fastboot USB issue, try different ports / cables until it shows up. It’s a bit anoying to get it working sometimes.
To solve your overall problem, check which slot you are in adb shell 'getprop | grep slot', download the right boot.img (Settings → About phone → Android-Version) from here, and use fastboot flash boot_{your slot} boot.img.
That should hopefully get your OTA to work. If it doesn’t, one of the other partitions has been altered and we would need to have a look at the logs in that case.
tried all of my cables and ports for over 30 minutes now with no success. im pretty sure i have the correct drivers installed with the google usb driver
Did you reboot the phone before installing the OTA, did it boot properly then?
This issue is still completely baffling to me, it has to be one of the modules, but I can’t figure out why…
Could you boot your phone into Safe Mode next time before the OTA. That will disable all modules at once and should at least tell us if those are really the issue.
I just did the update for my family member, again absolutely no issues, this is infuriating