Advanced) Via ADB (Only support v13.6+):How does one do that.
I'm willing to unlock the bootloader for that.
You don't need a custom recovery and no root is needed, but you will need a stock boot image backup/dump beforehand
Unzip your downloaded Magisk zip
Enter the folder you've just extracted (let's call it*zip folder), copy your stock boot image here and rename it to*boot.img
Rename the folder with the name of your device's CPU architecture to*magisk_inject.
If you don't know your device's architecture, try running*adb shell getprop ro.product.cpu.abi*to check it out
Double check if the*zip folder*contains the following files or folders:*META-INF, boot.img, common, magisk_inject
Open terminal, change the directory to the*zip folder, and run the following command one line by a time (you might want to copy them since they are pretty long)
Code:
adb shell "rm -rf /data/local/tmp/*" adb push META-INF/com/google/android/update-binary common magisk_inject boot.img /data/local/tmp adb shell "cd /data/local/tmp/magisk_inject; mv ../common/* .; chmod 755 *; sh ../update-binary indep boot_patch.sh ../boot.img; mv ../bin/busybox busybox" adb pull /data/local/tmp/magisk_inject/new-boot.img adb shell "cd /data/local/tmp; rm -rf *.img magisk_inject/*.img update-binary bin common"
You shall now see a file*new-boot.img*in the*zip folder. This is the magisk-patched boot image. You can now flash the image via fastboot.
Reboot and check whether Magisk Manager is installed and the version matches the latest one in the OP
If for some reason Magisk Manager isn't installed/upgraded automatically, please install it manually
https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Sent from my Nexus 6 using Tapatalk