π» => the device running adb
(usually a PC)
π± => the device where Magisk is going to be installed (usually a Phone or Tablet)
- π± Install Magisk App
- π» Download Magisk
- π» Rename .apk to .zip
- π» Reboot device in Sideload mode
- π» Sideload Magisk
- π± Complete the Magisk installation (if needed)
The app can be found on F-Droid:
- π± if an older version is installed, update it directly from the Magisk app
Download the latest Magisk .apk
from the official GitHub repo:
mv Magisk.VERSION-NR.apk Magisk.VERSION-NR.apk.zip
sudo adb reboot sideload
- π± USB debugging mode must be active (under Settings > Developer Options)
- π± the device running
adb
(π») must be approved on the receiving device (π±), else no actions will be taken - π» in case something goes wrong, kill the running server and start over
sudo adb kill-server
sudo adb sideload /path/to/Magisk.VERSION-NR.apk.zip
- π± signature verification might fail, I bypass it to install Magisk anyway
- π»
adb
might show something likeTotal xfer: 0.90x
, this is fine - π± reboot to system once done
Magisk might need to be re-installed "internally".
This can be done directly from the app.
- π± a popup will appear
- π± re-install Magisk using the recommended option
- π± once done a reboot option will be shown, reboot
Yes, to install Magisk, you generally need to unlock the bootloader of your device. Unlocking the bootloader is usually the first step in the process of gaining root access or installing custom recovery and software like Magisk. Here are the typical steps involved:
Unlock the Bootloader: This step is crucial as it allows you to make modifications to the system partition of your device. The process involves enabling developer options, finding the OEM unlocking option, and using specific commands or tools provided by the device manufacturer.
Install a Custom Recovery: While not always necessary, installing a custom recovery like TWRP can simplify the process of installing Magisk.
Flash Magisk: Once the bootloader is unlocked (and optionally, a custom recovery is installed), you can flash the Magisk zip file to gain root access and start managing root permissions on your device.