FP4 Root Access is possible, maybe a bit risky

I have one, but I do not have a place to put it for download for everyone.

EDIT: Creating the image is rather simple:

  1. Boot into bootloader
    adb reboot bootloader
  2. Start fastboot with recovery image (i.e. Linageos 20 recovery)
    fastboot boot lineage-20231001-recovery-FP4.img
  3. get the boot image (for example from slot a)
    dd if=/dev/block/by-name/boot_a /tmp/boot_a.img
  4. Get boot image
    adb get /tmp/boot_a.img
  5. reboot and push boot image to download dir
    adb push boot_a.img /sdcard/Download/
  6. Install magisk into the image under /sdcard/Download/
  7. Check image file created by magisk install under /sdcard/Download/ and download it via adb
    adb pull /sdcard/Download/FILENAME_MAGISK.img
  8. Reboot into bootloader again and boot the rooted image
    fastboot boot FILENAME_MAGISK.img
  9. Install magisk again with the direct method
  10. Reboot and done :wink:
2 Likes