Pinephone Glodroid (root)
Android Based OS
1. Enable developer options
Go to settings/about phone
Tap build number 7 times
Go to settings/system/developer options
Enable usb debugging
Enable rooted debugging
2. Connect phone to computer
Run adb commands on pc:
adb root
adb shell
3. view all partitions (adb shell):
ls -al /dev/block/platform/soc/1c11000.mmc/by-name
boot_a -> /dev/block/mmcblk2p4
boot_b -> /dev/block/mmcblk2p5
4. view current active slot (adb shell):
getprop ro.boot.slot_suffix
5. Backup boot.img (adb shell):
dd if=/dev/block/mmcblk2p4 of=/sdcard/boot.img
6.patch boot.img in latest magisk app
7.install patched boot.img slot a (adb shell):
dd if=/sdcard/Download/magisk_patched.img of=/dev/block/mmcblk2p4
8.reboot pinephone & open magisk app
will reboot again to finish magisk setup
Android Based OS
1. Enable developer options
Go to settings/about phone
Tap build number 7 times
Go to settings/system/developer options
Enable usb debugging
Enable rooted debugging
2. Connect phone to computer
Run adb commands on pc:
adb root
adb shell
3. view all partitions (adb shell):
ls -al /dev/block/platform/soc/1c11000.mmc/by-name
boot_a -> /dev/block/mmcblk2p4
boot_b -> /dev/block/mmcblk2p5
4. view current active slot (adb shell):
getprop ro.boot.slot_suffix
5. Backup boot.img (adb shell):
dd if=/dev/block/mmcblk2p4 of=/sdcard/boot.img
6.patch boot.img in latest magisk app
7.install patched boot.img slot a (adb shell):
dd if=/sdcard/Download/magisk_patched.img of=/dev/block/mmcblk2p4
8.reboot pinephone & open magisk app
will reboot again to finish magisk setup