# Install Magisk via Sideload 💻 => the device running `adb` (usually a PC) 📱 => the device where Magisk is going to be installed (usually a Phone or Tablet) - [📱 Install Magisk App](#-install-magisk-app) - [💻 Download Magisk](#-download-magisk) - [💻 Rename .apk to .zip](#-rename-apk-to-zip) - [💻 Reboot device in Sideload mode](#-reboot-device-in-sideload-mode) - [💻 Sideload Magisk](#-sideload-magisk) - [📱 Complete the Magisk installation (if needed)](#-complete-the-magisk-installation-if-needed) ## 📱 Install Magisk App The app can be found on F-Droid: - https://f-droid.org/en/packages/com.topjohnwu.magisk ### Notes - 📱 if an older version is installed, update it directly from the Magisk app ## 💻 Download Magisk Download the latest Magisk `.apk` from the official GitHub repo: - https://github.com/topjohnwu/Magisk ## 💻 Rename .apk to .zip ```bash mv Magisk.VERSION-NR.apk Magisk.VERSION-NR.apk.zip ``` ## 💻 Reboot device in Sideload mode ```bash sudo adb reboot sideload ``` ### Notes - 📱 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 ```bash sudo adb kill-server ``` ## 💻 Sideload Magisk ```bash sudo adb sideload /path/to/Magisk.VERSION-NR.apk.zip ``` ### Notes - 📱 signature verification might fail, I bypass it to install Magisk anyway - 💻 `adb` might show something like `Total xfer: 0.90x`, this is fine - 📱 reboot to system once done ## 📱 Complete Magisk installation (if needed) Magisk might need to be re-installed "internally". This can be done directly from the app. ### Notes - 📱 a popup will appear - 📱 re-install Magisk using the recommended option - 📱 once done a reboot option will be shown, reboot