Professional Documents
Culture Documents
Device Will Be Wiped If Your Bootloader Isn't Already Unlocked
Device Will Be Wiped If Your Bootloader Isn't Already Unlocked
# Redmi Note 8 Pro # 5G # Galaxy Note 10 # Samsung # Pixel 4 # Huawei Developers # OnePlus 7T Pro # Huawei # Xiaomi # Snapdragon # Android 11 # Honor 9X #G
xda-developers Xiaomi Mi A1 Xiaomi Mi A1 Guides, News, & Discussion [GUIDE] Rooting Mi A1 without TWRP by michkost858
Device will be wiped if your bootloader isn't already unlocked. Xiaomi Mi A1 Themes, Apps, and Mods
Obviously, before doing this, you should enable OEM unlocking and ADB debugging in Developer Options. Also you [More]
should have ADB and Fastboot on your system (meaning they work on any directory). I use this version, just accept the
installation of both the ADB/Fastboot drivers and the Google Device Drivers and you should be good to go.
Below you can nd the untouched boot.img for the version you are on (or you can extract them yourselves, guide at MOST THANKED
the bottom of the thread): ALL-TIME
2018:
March (V9.5.9.0.ODHMIFA) (OTA
(OTA)) 4 Mi A1 August 2019 boot patched 10.0.12.0
August 2019 boot …
April (V9.5.10.0.ODHMIFA) (OTA
(OTA))
May (V9.5.11.0.ODHMIFA) (OTA) paolocorpo 2019-Aug-17 7:35
https://forum.xda-developers.com/mi-a1/how-to/guide-rooting-mi-a1-twrp-wiping-post-t3824550 1/7
6/29/2020 [GUIDE] Rooting Mi A1 without TWRP | Xiaomi Mi A1
2. Connect the device to your computer and open a Command Prompt Kirisakura custom kernel for the OnePlus 8 Pro
3. Check that ADB works with: enables Control Flow Integrity (CFI) for better
security
Code:
June 28, 2020
adb devices
AniWeather is a beautiful new weather app for
Android focused on animations and simplicity
Should say: June 27, 2020
Code:
Paranoid Android releases beta builds for the
XXXXXXXXXXXX device OnePlus 8 and OnePlus 8 Pro
June 25, 2020
where the X's are a unique ID. UBports GSI brings Ubuntu Touch to any Project
Treble-supported Android device
4. Boot into fastboot mode with:
June 22, 2020
Code:
adb reboot bootloader Here are Android 11’s new emojis that you can
install right now [Root]
June 22, 2020
(Yes you can obviously boot into bootloader by using Volume Down+Power Button etc) How to enable hidden Pixel themes on Sony
5. You should be in fastboot mode. Check that it works properly: Xperia phones running Android 10
Code: June 21, 2020
fastboot devices Modded Google Chrome browser brings
Developer Tools to mobile
June 18, 2020
Should say:
Code:
XXXXXXXXXXXX fastboot
The phone should boot normally and shouldn't take too long. For me it was the same boot time as always.
2. Now open Magisk Manager and press Install
3. When prompted tap onto Install and then choose "Direct Install (Recommended)"
Let it do its thing and then choose Reboot.
You should now have a rooted phone with Magisk without using TWRP.
Do not relock your bootloader or your device probably won't boot because you are rooted.
PAYLOAD DUMPING
Requirements: python3, protobuf (do python -m pip install protobuf after having installed python3)
1. Download the desired OTA (full OTA needed, not incremental ones, should probably be 1GB+)
2. Download the zip of the python script on github
3. Extract the script (both .py's) and inside the folder extract the payload.bin from the OTA archive
4. Now run:
Code:
python payload_dumper.py payload.bin
Wait for it to be done and you should have all the images in the same directory. With those, you can either just use the
boot.img or even create a fastboot ashable OTA with a script.
https://forum.xda-developers.com/mi-a1/how-to/guide-rooting-mi-a1-twrp-wiping-post-t3824550 2/7
6/29/2020 [GUIDE] Rooting Mi A1 without TWRP | Xiaomi Mi A1
Cheers!
The
The Following
Following 25
25 Users
Users Say
Say Thank
Thank You
You to
to michkost858
michkost858 For
For This
This Useful
Useful Post:
Post: [[ View
View ]] Gift
Gift michkost858
michkost858 Ad-Free
Ad-Free
clau1996
Thanks:
Thanks: 3
Junior Member
sipollo
Thanks:
Thanks: 458
Senior Member
clau1996
Thanks:
Thanks: 3
Junior Member
----------
---------- Post
Post added
added at
at 05:22
05:22 AM
AM ----------
---------- Previous
Previous post
post was
was at
at 05:21
05:21 AM
AM ----------
----------
Quote:
Originally Posted by sipollo
The only downside is that the rst time the phone will go to recovery mode (stock or custom recovery) will be
formatted and encrypted (data AND internal storage).
There shouldn't be a problem, by pressing down the Volume Down key you can bypass the wipes. I did it minutes ago,
successfully.
----------
---------- Post
Post added
added at
at 05:23
05:23 AM
AM ----------
---------- Previous
Previous post
post was
was at
at 05:22
05:22 AM
AM ----------
----------
Quote:
Originally Posted by sipollo
The only downside is that the rst time the phone will go to recovery mode (stock or custom recovery) will be
formatted and encrypted (data AND internal storage).
https://forum.xda-developers.com/mi-a1/how-to/guide-rooting-mi-a1-twrp-wiping-post-t3824550 3/7
6/29/2020 [GUIDE] Rooting Mi A1 without TWRP | Xiaomi Mi A1
There shouldn't be a problem, by pressing down the Volume Down key you can bypass the wipes. I did it minutes ago,
successfully.
sipollo
Thanks:
Thanks: 458
Senior Member
There shouldn't be a problem, by pressing down the Volume Down key you can bypass the wipes. I did it
minutes ago, successfully.
With vol- trick wipes are only postponed. Don't boot in recovery mode and you'll be ne. If you boot pressing power
and vol+ phone will be wiped.
If you boot temporary twrp phone will be wiped.
The
The Following
Following User
User Says
Says Thank
Thank You
You to
to sipollo
sipollo For
For This
This Useful
Useful Post:
Post: [[ View
View ]] Gift
Gift sipollo
sipollo Ad-Free
Ad-Free
sgloki77
Thanks:
Thanks: 197
Senior Member
With vol- trick wipes are only postponed. Don't boot in recovery mode and you'll be ne. If you boot pressing
power and vol+ phone will be wiped.
If you boot temporary twrp phone will be wiped.
s if you want root just BOOT into custom recovery via fastboot and then ash/install the beta magisk zip 16.7 in said
custom recovery, that's it
The
The Following
Following User
User Says
Says Thank
Thank You
You to
to sgloki77
sgloki77 For
For This
This Useful
Useful Post:
Post: [[ View
View ]] Gift
Gift sgloki77
sgloki77 Ad-Free
Ad-Free
michkost858
Thanks:
Thanks: 117
OP
OP Senior Member
Quote:
Originally Posted by sgloki77
s if you want root just BOOT into custom recovery via fastboot and then ash/install the beta magisk zip 16.7 in
said custom recovery, that's it
https://forum.xda-developers.com/mi-a1/how-to/guide-rooting-mi-a1-twrp-wiping-post-t3824550 4/7
6/29/2020 [GUIDE] Rooting Mi A1 without TWRP | Xiaomi Mi A1
I guess if someone wants to start o with a new install it's better and faster to just boot into TWRP and ash Magisk as
you just said.
Guide is mainly targetted to people who don't want to wipe for whatever reason (whether that is data or anything).
michkost858
Thanks:
Thanks: 117
OP
OP Senior Member
Thank you very much, I just got my hands on the phone and wanted to root without wiping. Unfortunately
when I try to patch the boot.img the resulting image is a zip le that cannot be used.
The resulting image should actually be a .img (or a .img.tar if you choose so in the settings) 🤔
Maybe you didn't look in the correct directory for the image (?)
Double check, because I did this procedure twice on my device and it worked that way.
Thanks for using the guide btw!
EDIT: whoops, should have merged with the other reply..
fernoct
Thanks:
Thanks: 131
Senior Member
michkost858
Thanks:
Thanks: 117
OP
OP Senior Member
Thanks for the guide. Is it possible to update via OTA once we have the new update monthly and repeat the
same process for rooting?
I suppose it should be possible but I guess I will have to test it on the next OTA we get just to be sure.
lord bim
Thanks:
Thanks: 1
Junior Member
https://forum.xda-developers.com/mi-a1/how-to/guide-rooting-mi-a1-twrp-wiping-post-t3824550 5/7
6/29/2020 [GUIDE] Rooting Mi A1 without TWRP | Xiaomi Mi A1
Message:
Wear OS General
How to use HUAWEI Nearby Service to Develop a Business Card Exchange Function for APP 22nd June 2020
Huawei Developers
HISuite Proxy ( Huawei Phones' Updater & Soft-Brick Fixer ) 14th April 2020
[APP 5.0+] AOD+ Always On Display for rooted/non rooted devices with unique features 15th April 2020
[APP] XiaoAi Lite Multi Language (English for now) 28th December 2019
xda-developers Xiaomi Mi A1 Xiaomi Mi A1 Guides, News, & Discussion [GUIDE] Rooting Mi A1 without TWRP by michkost858
We're Social
XDA Developers was founded by developers, for developers. It is now a
valuable resource for people who want to make the most of their mobile
devices, from customizing the look and feel to adding new functionality.
Are you a developer? | Terms of Service
More info
Contact Advertise Careers Rules Suggest Content Security Privacy Policy XDA App Remove ads on XDA
Useful Links
Redmi Note 8 Pro Software Update Download Links Root Any Device How To Guides XDA's Best
https://forum.xda-developers.com/mi-a1/how-to/guide-rooting-mi-a1-twrp-wiping-post-t3824550 6/7
6/29/2020 [GUIDE] Rooting Mi A1 without TWRP | Xiaomi Mi A1
https://forum.xda-developers.com/mi-a1/how-to/guide-rooting-mi-a1-twrp-wiping-post-t3824550 7/7