![]() Copy the extracted AP tar file to your device.Recovery Key Combo → Splash screen → Keep pressing volume up: To access the stock recovery mode.Recovery Key Combo → Splash screen → Release all buttons: The system should boot with Magisk and full root access.Power up normally: You’ll end up with no Magisk, i.e.For most devices, reboot into Fastboot mode and flash with the following command: fastboot flash recovery /path/to/magisk_patched.imgĪt this stage, there are three possible scenarios: Flash the patched recovery image to your device.Choose “Select and Patch a File” in method, and select the stock recovery image.Press the Install button on the Magisk card.Copy the recovery image to your device (or a secondary device with the Magisk app installed).This is because Magisk needs to be installed in the recovery partition, which means you will have to reboot to the recovery mode every time you want root access. In this case, you need to locate the recovery.img file from the factory image of your device instead of boot.img file. If it isn’t installed automatically, manually install the APK.Ĭase II: The value of the “Ramdisk” parameter is “No” Check whether the Magisk app is installed.Note that the le file of modules may be stored in the cache partition, so don’t clear it.Flash the ZIP file just like any other ordinary flashable ZIP.Having said that, if you have an old phone and want to stick with the custom recovery route, the steps are as follows: Keep in mind that it is possible to patch the boot image on the fly on legacy devices having boot ramdisk through a custom recovery like TWRP, but the method is no longer recommended on modern devices. For most devices, reboot into Fastboot mode and flash with the following command: fastboot flash boot /path/to/magisk_patched.img Flash the patched boot image to your device.Copy the patched image to your PC with ADB: adb pull /sdcard/Download/magisk_patched_.img.The Magisk app will patch the image to /Download/magisk_patched_.img.Choose Select and Patch a File in Method, and select the stock boot image.Press the Install button in the Magisk card.In fact, you can patch it on a different Android device than the target one, but you need to install the Magisk app on the secondary device as well. Since the APK of Magisk is hosted outside of the Google Play Store, you may need to allow sideloading apps from unknown sources first and then manually install the downloaded package.Ĭase I: The value of the “Ramdisk” parameter is “Yes” Step 1: Identifying the type of the boot imageĭownload the latest version of the Magisk app from the project’s GitHub repository. For Samsung devices, unlocking the bootloader will trip KNOX.The bootloader of the target Android device is unlocked.You have access to a PC/Mac with adb and fastboot installed.This is why it’s referred to as a “systemless” root method.īefore getting started with Magisk, make sure that: Nowadays, Magisk is the de-facto rooting solution that lets you have root access by leaving the system partition untouched and modifying the boot partition. You can also follow the generic rooting guide from this tutorial. You should be able to find similar fine-tuned guides for your device under the device sub-forums. For other Mi, Redmi, and POCO branded devices, kindly check out the Xiaomi section of our forums.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |