2019년 4월 11일 목요일

How to use Supersu on ODROID-N2[C4] Android PIE


https://forum.odroid.com/viewtopic.php?f=178&t=34063

Install Magisk Manager
Open browser and search "magisk apk"

https://magiskmanager.com/


Dump boot.img from partition.

Use ADB command or "Terminal Emulator" app.

$ adb shell
console:/ $ su
console:/ # cd /sdcard/Download/
console:/sdcard/Download # dd if=/dev/block/boot of=./boot.img
32768+0 records in
32768+0 records out
16777216 bytes transferred in 0.265 secs (63310249 bytes/sec)
console:/sdcard/Download #

Select Method -> Select and Patch a File





Write patched boot.img to partiton.

console:/sdcard/Download # dd if=./magisk_patched.img of=/dev/block/boot     
21540+0 records in
21540+0 records out
11028480 bytes transferred in 2.036 secs (5416738 bytes/sec)
console:/sdcard/Download #


Reboot Android.


Now enable supersu.