FORUMS
Remove All Ads from XDA

[GUIDE] Root Android Pie With Magisk

4 posts
Thanks Meter: 4
 
By NourHazem I, Junior Member on 10th December 2018, 08:42 PM
Post Reply Email Thread
Frist You Must Unlock BootLoader

Second You Must Have Pc With Android platform tools (They Exist Also For MacOS And Linux)

BOOTLOADER UNLOCK

First thing to do: unlock the bootloader (if you didn't already do this, obviously). Smartphones with Android One are much easier to unlock compared to other Xiaomi phones with MIUI (where you have to ask for authorization and wait for weeks).
CAUTION: when you unlock the bootloader, the phone will reset, erasing all your saved data. Backup your data before unlocking.
1. Go to Settings > System > About phone > and tap many times on "Build number" until you unlock "Developer options".
2. Go back to the previous page, where you can find now "Developer options". Go there and enable the "OEM unlocking" option (and it's better to never disable this).
3. Now you can shutdown your phone, then turn it on while holding the "Volume down" button pressed. Release it when you see the Fastboot screen.
4. Now connect the phone with your PC via USB cable, open an administrative command prompt, move to the directory where the Android platform tools are placed and unlock the bootloader with the following command:
Code:
Code:
fastboot oem unlock
The phone will reboot, erasing all the data.
Now you unlocked your phone's bootloader and can continue to the next section

Download This https://mega.nz/#!3aZ3AICJ!YAHEVP5dQ...qT_9HfqGWvVzCE

open an administrative command prompt, move to the Android platform tools directory and then write the following command:
Code:
Fastboot boot boot_rooted.img
If everything works the phone should boot normally. Open Magisk Manager and it should ask to install Magisk, if not you must tap on the "Install" button. Then choose "Install" > "Direct Install (Recommended)" to install Magisk on the phone, and reboot when finished.

HOW TO APPLY OTA UPDATES

IMPORTANT: OTA updates will work only if all the partitions on the smartphone are untouched. Magisk Manager can restore the original boot.img following this section of the guide, but if you tampered directly with the system partition (e.g. manually editing build.prop) or other partitions, OTA will refuse to install.
You can try to fix OTA updates without the need to flash the whole original fastboot ROM, by flashing only the tampered partitions (usually only "system") with the corresponding img file found inside the fastboot ROM zip. Check the "Troubleshooting" section of this guide for details.
12. When you know that a new OTA update is available and you want to install it, open Magisk Manager, and tap on "Uninstall" > "Restore Images" but very important: absolutely don't reboot the phone now!
Important note: Magisk Manager will restore the boot.img that was found on the phone while installing Magisk. If the boot.img was already non-vanilla (for example you flashed the boot.img with TWRP before installing Magisk), Magisk Manager will backup that modified version of boot.img, and when restored the OTA will not work, as that's not a vanilla boot.img.
13. Close Magisk Manager and go to "Settings" > "System" > "System update" and install the OTA update. After the update is downloaded, a two-stages update will begin.
14. When both stages of the update process completed, it will ask to restart: DON'T DO IT!. Open Magisk Manager again and tap on "Install" > "Install" > "Install to Inactive Slot (After OTA)" and after that you can tap on "Reboot".
After the reboot you will have the updated Android version with Magisk already working.

I'm 12 Years Old Don't Worry I Test It On My Mi A2 Lite Thanks

I Take Some Things From https://forum.xda-developers.com/mi-...t-ota-t3836952
The Following 4 Users Say Thank You to NourHazem I For This Useful Post: [ View ] Gift NourHazem I Ad-Free
 
 
13th December 2018, 07:50 AM |#2  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by NourHazem I

Frist You Must Unlock BootLoader

Second You Must Have Pc With Android platform tools (They Exist Also For MacOS And Linux)

BOOTLOADER UNLOCK

First thing to do: unlock the bootloader (if you didn't already do this, obviously). Smartphones with Android One are much easier to unlock compared to other Xiaomi phones with MIUI (where you have to ask for authorization and wait for weeks).
CAUTION: when you unlock the bootloader, the phone will reset, erasing all your saved data. Backup your data before unlocking.
1. Go to Settings > System > About phone > and tap many times on "Build number" until you unlock "Developer options".
2. Go back to the previous page, where you can find now "Developer options". Go there and enable the "OEM unlocking" option (and it's better to never disable this).
3. Now you can shutdown your phone, then turn it on while holding the "Volume down" button pressed. Release it when you see the Fastboot screen.
4. Now connect the phone with your PC via USB cable, open an administrative command prompt, move to the directory where the Android platform tools are placed and unlock the bootloader with the following command:
Code:

The phone will reboot, erasing all the data.
Now you unlocked your phone's bootloader and can continue to the next section

Download This https://mega.nz/#!3aZ3AICJ!YAHEVP5dQ...qT_9HfqGWvVzCE

open an administrative command prompt, move to the Android platform tools directory and then write the following command:


If everything works the phone should boot normally. Open Magisk Manager and it should ask to install Magisk, if not you must tap on the "Install" button. Then choose "Install" > "Direct Install (Recommended)" to install Magisk on the phone, and reboot when finished.

HOW TO APPLY OTA UPDATES

IMPORTANT: OTA updates will work only if all the partitions on the smartphone are untouched. Magisk Manager can restore the original boot.img following this section of the guide, but if you tampered directly with the system partition (e.g. manually editing build.prop) or other partitions, OTA will refuse to install.
You can try to fix OTA updates without the need to flash the whole original fastboot ROM, by flashing only the tampered partitions (usually only "system") with the corresponding img file found inside the fastboot ROM zip. Check the "Troubleshooting" section of this guide for details.
12. When you know that a new OTA update is available and you want to install it, open Magisk Manager, and tap on "Uninstall" > "Restore Images" but very important: absolutely don't reboot the phone now!
Important note: Magisk Manager will restore the boot.img that was found on the phone while installing Magisk. If the boot.img was already non-vanilla (for example you flashed the boot.img with TWRP before installing Magisk), Magisk Manager will backup that modified version of boot.img, and when restored the OTA will not work, as that's not a vanilla boot.img.
13. Close Magisk Manager and go to "Settings" > "System" > "System update" and install the OTA update. After the update is downloaded, a two-stages update will begin.
14. When both stages of the update process completed, it will ask to restart: DON'T DO IT!. Open Magisk Manager again and tap on "Install" > "Install" > "Install to Inactive Slot (After OTA)" and after that you can tap on "Reboot".
After the reboot you will have the updated Android version with Magisk already working.

I'm 12 Years Old Don't Worry I Test It On My Mi A2 Lite Thanks

I Take Some Things From https://forum.xda-developers.com/mi-...t-ota-t3836952

May i use this method on my a2 lite running android pie
13th December 2018, 10:34 AM |#3  
Senior Member
Flag Germany
Thanks Meter: 193
 
More
Quote:
Originally Posted by ashikalone

May i use this method on my a2 lite running android pie

Instead of doing a full quote, you should have read it.
13th December 2018, 04:47 PM |#4  
Member
Thanks Meter: 9
 
More
Also if you are only 12, you didn't take "some things" from bubuxp's thread, but almost the whole story. I would prefer if mod could close this thread.
13th December 2018, 07:20 PM |#5  
hossman's Avatar
Senior Member
Thanks Meter: 516
 
More
Quote:
Originally Posted by harvey

Also if you are only 12, you didn't take "some things" from bubuxp's thread, but almost the whole story. I would prefer if mod could close this thread.

Starting to think there is no mod in this forum... At least for this device
19th December 2018, 10:24 AM |#6  
OP Junior Member
Thanks Meter: 4
 
More
Any one try this
19th December 2018, 05:59 PM |#7  
Senior Member
Flag Germany
Thanks Meter: 193
 
More
Why do we need a separated Pie root guide, when the only difference for Pie is a newer patched boot image which you can make yourself with Magisk and the fitting OTA/Fastboot files?

We really need a mod for our A2 Lite forum, there are too many "useless" posts and threads inside. Feels like MIUI forum and not XDA.
The Following 2 Users Say Thank You to thorin0815 For This Useful Post: [ View ] Gift thorin0815 Ad-Free
22nd December 2018, 05:37 PM |#8  
Member
Thanks Meter: 1
 
More
OTA
Quote:
Originally Posted by NourHazem I

Frist You Must Unlock BootLoader

Second You Must Have Pc With Android platform tools (They Exist Also For MacOS And Linux)

BOOTLOADER UNLOCK

First thing to do: unlock the bootloader (if you didn't already do this, obviously). Smartphones with Android One are much easier to unlock compared to other Xiaomi phones with MIUI (where you have to ask for authorization and wait for weeks).
CAUTION: when you unlock the bootloader, the phone will reset, erasing all your saved data. Backup your data before unlocking.
1. Go to Settings > System > About phone > and tap many times on "Build number" until you unlock "Developer options".
2. Go back to the previous page, where you can find now "Developer options". Go there and enable the "OEM unlocking" option (and it's better to never disable this).
3. Now you can shutdown your phone, then turn it on while holding the "Volume down" button pressed. Release it when you see the Fastboot screen.
4. Now connect the phone with your PC via USB cable, open an administrative command prompt, move to the directory where the Android platform tools are placed and unlock the bootloader with the following command:
Code:

Code:
fastboot oem unlock
The phone will reboot, erasing all the data.
Now you unlocked your phone's bootloader and can continue to the next section

Download This https://mega.nz/#!3aZ3AICJ!YAHEVP5dQ...qT_9HfqGWvVzCE

open an administrative command prompt, move to the Android platform tools directory and then write the following command:
Code:
Fastboot boot boot_rooted.img
If everything works the phone should boot normally. Open Magisk Manager and it should ask to install Magisk, if not you must tap on the "Install" button. Then choose "Install" > "Direct Install (Recommended)" to install Magisk on the phone, and reboot when finished.

HOW TO APPLY OTA UPDATES

IMPORTANT: OTA updates will work only if all the partitions on the smartphone are untouched. Magisk Manager can restore the original boot.img following this section of the guide, but if you tampered directly with the system partition (e.g. manually editing build.prop) or other partitions, OTA will refuse to install.
You can try to fix OTA updates without the need to flash the whole original fastboot ROM, by flashing only the tampered partitions (usually only "system") with the corresponding img file found inside the fastboot ROM zip. Check the "Troubleshooting" section of this guide for details.
12. When you know that a new OTA update is available and you want to install it, open Magisk Manager, and tap on "Uninstall" > "Restore Images" but very important: absolutely don't reboot the phone now!
Important note: Magisk Manager will restore the boot.img that was found on the phone while installing Magisk. If the boot.img was already non-vanilla (for example you flashed the boot.img with TWRP before installing Magisk), Magisk Manager will backup that modified version of boot.img, and when restored the OTA will not work, as that's not a vanilla boot.img.
13. Close Magisk Manager and go to "Settings" > "System" > "System update" and install the OTA update. After the update is downloaded, a two-stages update will begin.
14. When both stages of the update process completed, it will ask to restart: DON'T DO IT!. Open Magisk Manager again and tap on "Install" > "Install" > "Install to Inactive Slot (After OTA)" and after that you can tap on "Reboot".
After the reboot you will have the updated Android version with Magisk already working.

I'm 12 Years Old Don't Worry I Test It On My Mi A2 Lite Thanks

I Take Some Things From https://forum.xda-developers.com/mi-...t-ota-t3836952




Waiting I do not understand if I'm running my phone and installing a magician please update will not work?

---------- Post added at 06:37 PM ---------- Previous post was at 05:54 PM ----------

Quote:
Originally Posted by alenaki123

Waiting I do not understand if I'm running my phone and installing a magician please update will not work?


f i unlock bootloader, root and install magisk ota update i will not work ???
22nd December 2018, 06:10 PM |#9  
OP Junior Member
Thanks Meter: 4
 
More
Read the guide
22nd December 2018, 06:15 PM |#10  
OP Junior Member
Thanks Meter: 4
 
More
Updates will work if you install it if you got ota go to magisk manager

Click uninstall>restore images>go install ota do not reboot>go magisk manager and click install select>inactive slot (after ota)
26th December 2018, 08:16 AM |#11  
Junior Member
Thanks Meter: 1
 
More
Bootloop! Not working


V10.0.2 Working https://www.the***********.com/root-...id-pie-magisk/
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes