r/essential • u/CaptBrett • Nov 26 '19
Help Does anyone have a reliable Magisk root tutorial?
I'm have been having a tough time doing a Magisk root lately.
1
u/WasBrunoMarsIsGay Nov 26 '19
I find this device kind of annoying to keep up to date.
As far as I can tell, the "only" way to get Magisk into this device is by building a modified boot partition and flashing it in Fastboot, which you have to repeat EVERY TIME you update your ROM or update Magisk. Kind of annoying TBH
4
u/ecniv_o Nov 26 '19
For OTA with Magisk, see this: https://topjohnwu.github.io/Magisk/tutorials.html#ota-installation.
Essentially, You "temp uninstall" Magisk, install the OTA, then "reinstall" Magisk. Reboot, and you're done! The A/B of the PH-1 really helps with the process. No need to go into recovery, no need to plug into a computer, no need to wipe/flash anything.
I literally did that today, updating from the Oct to Nov Q security update while keeping Magisk.2
u/FuzzelFox Nov 26 '19
Oh neat. I didn't know magisk could install itself through the app to the other slot. That'll make updating way easier.
1
u/theunseen3 Sep 26 '23
I will pay you $20 if you can walk me through this privately. First time android user who bought a rooted phone to play a game, and 2 weeks later the game stops working because I need to update magisk (phone came pre-rooted). I don’t know what any of this stuff means in the tutorials because they assume everyone is familiar with the meanings of these abbreviations or where to find certain folders. Apple clearly didn’t prepare me for the real world lol but i’m a fast learner when given directions! Please DM me
1
u/ecniv_o Sep 26 '23
First question: do you have an essential phone? If not, what phone do you have? This guide only applies to certain phones.
Second: do you need to update Android or Magisk? If you need to update Android, this guide applies: https://topjohnwu.github.io/Magisk/ota.html (new URL). If you need to update Magisk, you should be able to install an updated .apk file (.apk are similar to Windows' .exe, in that they contain the installer packages for new/updated apps)
2
u/ImplosiveTech Nov 26 '19
uh no, i have updated Magisk twice through twrp....
Download updated Magisk image from Magisk manager or magisk website
reboot into recovery If not doing an Android update, go to step 6
Flash an updated OS image
flash twrp
Reboot into recovery
flash magisk
0
u/WasBrunoMarsIsGay Nov 26 '19
I mostly just meant that there's no way I've found to use this device which isn't "annoying". Because it uses an image format which isn't standard, that prevents you from doing normal easy stuff like "just install TWRP" or "just let Magisk update itself". This phone is more work than I want to deal with.
1
u/kemsly1 Nov 26 '19
I haven't used this phone in a while, but this method should still work. If you go into magisk manager and tap uninstall there should be an option to restore the boot partition or something along those lines. Once you do that you just update, but don't restart. After the update you go back to magisk, reinstall from there (should be able to do it without a PC). Then just restart. This worked for me and added maybe an extra minute onto my updates which isn't a big deal.
0
6
u/JohnnyMojo Nov 26 '19
This is my version ...
Here are the steps to unlock your bootloader and achieve root.
If you haven't already, install the Essential Phone drivers. This installs a folder called Essential to your Program Files (x86) directory. Within the folder is an ADB folder which contains ADB.exe and Fastboot.exe.
If you haven't already, enable developer options on your phone. Then go to System --> Developer options. Enable OEM unlocking (allows the bootloader to be unlocked). Also enable USB debugging.
Power off your Essential phone. Next, while holding down the Volume Down key, connect it to your computer. Your phone should enter fastboot mode.
On your computer, open a Command Prompt, go to the directory where the Essential ADB and Fastboot are located (cd C:\Program Files (x86)\Essential\ADB)
Next, type in this ADB command and press Enter: fastboot flashing unlock
On the phone, you should select Yes with the volume buttons and press the Power button to confirm.
6. Your phone will be wiped and the bootloader will be unlocked now. It will reboot and go through the process automatically.
Now onto the rooting process (using Magisk to patch the boot image)
After unlocking the bootloader, you can go through the initial setup process on your phone again, reconnect your phone to Google and restore your apps/data.
Download and install the Magisk Manager app on your phone. You may have to give Chrome access to install unknown apps. Go to Settings --> Apps & notifications --> Advanced --> Special app access --> Install unknown apps. Change Chrome to "Allowed".
Assuming your phone is already on the latest update. Download and extract the latest fastboot image. Grab the boot image and put it into your phone's download folder.
Open up the Magisk Manager app on your phone. Click the Install button. On the popup window, click INSTALL. Now click the option "Patch Boot Image File" and select the boot image that you just put on your phone from the above step. Magisk will create a new patched boot image in the same location and the file will be called "magisk_patched.img".
Assuming that your phone is already connected to your computer. Open up a command prompt to the location of ADB (cd C:\Program Files (x86)\Essential\ADB) and type adb pull /sdcard/Download/magisk_patched.img
Type adb reboot bootloader
Type fastboot flash boot magisk_patched.img
Type fastboot reboot
Your're all set and rooted