[All-In-One] Xiaomi Redmi Note 5 (whyred): Unlock BL, Flash TWRP, Root, Flash ROM - Xiaomi Redmi Note 5 Pro Guides, News, & Discussion

Dear Redmi Note 5 user,
This guide is suitable for the international version: Redmi Note 5, and the Indian version: Redmi Note 5 Pro!
I'm not responsible if anything happens to your device. If you execute this procedure properly then you shouldn't face any problems. I tried this procedure on several Redmi Note 5 and every time it worked flawlessly. I used a computer with Windows 10.
Before you proceed please back up all your important data and make sure that your phone battery is charged >80%!!!
A. Prerequisites:
1. Disable driver signature enforcement in Windows
How to do this pls read here: http://en.miui.com/thread-237673-1-1.html
2. Install ADB and Fastboot tools with drivers on Windows
How to do this pls read here: https://forum.xda-developers.com/showthread.php?t=2588979
Restart your computer.
3. Enable "OEM unlocking" and "USB debugging" in your device
a. Enable Developer Options in: Settings/About Phone/MIUI version. Click on MIUI version seven times
b. Now go to: Settings/Additional Settings/Developer Options and check "OEM unlocking" and "USB debugging"
4. Check if your bootloader is locked
a. After successful installation of "ADB and Fastboot" enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable).
b. Go to the folder where you have put the "ADB and Fastboot" and open a command window inside that folder. To do that hold together "Shift + Right Click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here"
c. Enter the terminal command in command line: >>fastboot devices<<
If you don't see your device it means that the drivers weren't installed properly or the device wasn't connected properly. If this happens please reinstall your drivers from Point A. 2. or try these drivers here:
http://xiaomiadvices.com/download-xiaomi-usb-drivers/
d. If you see your device then enter the terminal command in command line: >>fastboot oem device-info<<
If your bootloader is locked, you'll get the following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.058s]
finished. total time: 0.063s
………………………………………………………………………
If your bootloader is unlocked, you'll get following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.053s]
finished. total time: 0.055s
………………………………………………………………………
5. Request Permission from Xiaomi to Unlock the Bootloader
a. Create a Mi Account: https://global.account.xiaomi.com/pass/register
b. Sign to Xiaomi and apply for unlocking http://en.miui.com/unlock
You have to give a reason for requesting to unlock the bootloader. I gave following reason on my request:
"I purchased my Xiomi Redmi Note 5 from the vendor xxx and they have installed a fake (custom) rom. I want to install an original rom from Xiaomi. So please approve my request to unlock the bootloader."
c. Wait for permission. I have 5 different accounts approved by Xiaomi and the longest I had to wait for the approval of each account was 1 day. Most of the users are reporting the same, however very few users are reporting a waiting time of up to 10 days . If your request is approved then you should receive a message with following content:
"You've been granted the permission to unlock your device (Mi Account xxxx). Donload Mi Unlock Tool At http://en.miui.com/unlock"
6. Connect your Mi Account to your Device
Go to: Settings/Additional Settings/Developer Options/Mi Unlock status and check "Add account and device"
In case you face "86006 Error" and you cannot connect your Mi Account to your device: There are several solutions offered at Mi Forum but the easiest way is to download the rom Developer Version for Xiaomi Redmi Note 5 (whyred) here http://en.miui.com/download-342.html or Redmi Note 5 Pro (whyred) here http://en.miui.com/download-341.html.
a. Put the downloaded rom into internal memory of the device
b. Go to: Settings/About phone/System update. On the upper right corner there are three points, click them, select "Choose update package", select "File Manager" and choose the Developer Version package you just downloaded on your internal memory and press OK.
B: Unlock the Bootloader
Attention: Unlocking the bootloader will erase all your data! So please back up your data before you unlock the bootloader!
1. You must enable "OEM unlocking" and "USB debugging" as per point A. 3.
2. You must connect your Mi Account with your device as per point A. 6.
3. Download Mi Unlock Tool here: http://en.miui.com/unlock
4. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable)
5. Start the Mi Unlock Tool
6. Enter your eMail and your password of your Mi Account
7. Connect you device to your computer and start the unlock procedure
8. Follow the unlock tool instructions until the unlock procedure is finished
9. Reboot your device
P.S.: In case you get the message, that the unlocking can be done after 360h or 720h then you have to wait for that time to pass.
C: Install the TWRP Recovery
1. Your bootloader must be unlocked
2. Download the latest "twrp-x.x.x-x-whyred.img" from here: https://twrp.me/xiaomi/xiaomiredminote5pro.html and put it into a dedicated folder in your computer.
3. Go to the folder where you have put the twrp-file. Now open a command window inside that folder. To do that hold together "Shift + Right click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here"
4. Enter fastboot mode by holding together "Volume Down + Power" and connect your device to your computer
5. Enter the terminal command in command line: >>fastboot flash recovery twrp-x.x.x-x-whyred.img<<. Attention: Do not restart your device otherwise Xiaomi's original recovery might overwrite the custom recovery TWRP!
6. Boot your device into recovery (3 possible methods)
+ by entering terminal command in command line: >>fastboot boot twrp-x.x.x-x-whyred.img<<, or
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
If you only want to root your smartphone, then please continue to point E.
If you want to install a custom rom, then please continue to point F.
E. Root Your Smartphone
+ Donwload latest Magisk from here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
+ Put Magisk into internal memory of your smartphone or into the micro sd-card or into on-the-go memory stick
+ Flash Magisk
+ Restart your smartpphone
F. Install A Custom Rom
1. Download the desired rom and put it into device's internal memory or into the micro sd-card or into on-the-go memory stick:
a. Lineage
https://download.lineageos.org/whyred
b. Resurrection Remix
https://get.resurrectionremix.com/?dir=whyred
c. AospExtended
https://downloads.aospextended.com/whyred
2. (in case you want to have root on your device) Download "addonsu-arm64-signed.zip" (for Lineage: https://download.lineageos.org/extras) or latest Magisk (from here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445) and put it into device's internal memory
3. Download Google Apps ARM64, Pico, Nano etc. at www.opengapps.org and put them into device's internal memory or computer or on-the-go memory stick or micro sd-card.
4. Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
5. Wipe: Dalvik / Art Cache; System; Data; Cache; (be careful, don't wipe internal storage!)
6. Go back to main TWRP screen and install the rom, install Google Apps, install "addonsu-arm64-signed.zip" (in case of Lineage) or the latest Magisk (in case of other roms).
7. Reboot. That's it, you are done.
If my guide helped you please click "thanks" and enjoy your phone. :fingers-crossed:

Frequently Asked Questions (FAQ):
Question:
My computer doesn't recognize my device. What can be the problem?
Answer:
1. Check your cable if it is the original one, and if not then use the original one.
2. Check you drivers if they are installed properly and if not, then re-install them.
3. If the problem is not with point 1 and 2 then please try another computer.
Question:
Can I bypass the waiting time to unlock the bootloader?
Answer:
No you can't. You have to wait for that time to pass.

Theres a separate download link for the note 5 pro too 9.2.6 . Also i dont think bootloader fot he indian can be unlocked even after flashing the note 5 dev rom

senerex said:
The link I posted is the correct one for WHYRED aka Redmi Note 5 (Global) aka Redmi Note 5 Pro (India).
Click to expand...
Click to collapse
I have been following MIUI forum for few days now due to this 86006 error and everyone is lamenting there for the lack of a global developer rom.
Edit - Link for RN5 Pro Stable Rom http://en.miui.com/getrom.php?r=341&m=yes&app=false

tech4rhm said:
Redmi 5 plus =Redmi note 5 india
Redmi note 5 pro is only for India(not global)
Correct link for Redmi note 5 pro-http://en.miui.com/download-341.html
Click to expand...
Click to collapse
If you open those links for Redmi Note 5 Global (http://en.miui.com/download-342.html) and Redmi Note 5 Pro (http://en.miui.com/download-341.html) and press the button to download the ROM, you will see that those are basically the same ROM. Or am I missing something?
Xiaomi is just confusing its customers with different names for different countries for the same smartphone(s).

so according to OP we can fix 86006 error by china rom ?

tech4rhm said:
Redmi note 5 global not released yet.
2nd link is for Redmi note 5 pro (whyred) for India.
1st link is for Redmi note 5 (Vince) for India which is globally released as Redmi 5 plus.
So both devices are not same.
And if you check China miui site you will find rom for Redmi note 5 , which is the global version of Redmi note 5.
Click to expand...
Click to collapse
Still confused. So link OP sent is wrong? Cuz u called it the vince link. :/

Deleted for peace

ShaanSubbaiahBC said:
Still confused. So link OP sent is wrong? Cuz u called it the vince link. :/
Click to expand...
Click to collapse
The links given by me in the guide above were/are the correct ones. Unfortunately @tech4rhm fails to see that there are two columns in the link (en. miui. com/download-342.html), the first one is for Redmi Note 5 Global (code name whyred) and the second one is for Redmi Note 5 India (which is in fact Redmi 5 Plus Global - code name vince). For the peace of mind of @tech4rhm and our friends in India I have added in point A. 6. the links for both Redmi Note 5 Global (code name whyred) and Redmi Note 5 Pro India (code name whyred), but if you download the firmware from both links then you will get the same file (currently following file: miui_WHYREDGlobal_V9.2.6.0.NEIMIEK_272c24d561_7.1).
To avoid confusions in the future here a list with code names of Xiaomi smartphones:
xiaomi. eu/community/threads/8-4-12.43922
@tech4rhm pls let's not overburden this thread with the same subject and cause confusion with other users. Have a nice day to you all.

senerex said:
The links given by me in the guide above were/are the correct ones. Unfortunately @tech4rhm fails to see that there are two columns in the link (en. miui. com/download-342.html), the first one is for Redmi Note 5 Global (code name whyred) and the second one is for Redmi Note 5 India (which is in fact Redmi 5 Plus Global - code name vince). For the peace of mind of @tech4rhm I have added in point A. 6. links for both Redmi Note 5 Global (code name whyred) and Redmi Note 5 Pro India (code name whyred), but if you download the firmware from both links then you will get the same file (currently following file: miui_WHYREDGlobal_V9.2.6.0.NEIMIEK_272c24d561_7.1).
Here a list with code names of Xiaomi smartphones:
xiaomi. eu/community/threads/8-4-12.43922
@tech4rhm pls let's not overburden this thread with the same subject and cause confusion with other users. Have a nice day to you all.
Click to expand...
Click to collapse
I really hope this 86006 error is fixed with any of the ota update or through developer rom soon. Its kind of frustrating that xiaomi users have to wait for days and months to get their bootloaders unlocked.

raza_maestro said:
I really hope this 86006 error is fixed with any of the ota update or through developer rom soon. Its kind of frustrating that xiaomi users have to wait for days and months to get their bootloaders unlocked.
Click to expand...
Click to collapse
It's probably error from server side. Doesn't require update to device. They need to make changes to their servers.

deathgame said:
It's probably error from server side. Doesn't require update to device. They need to make changes to their servers.
Click to expand...
Click to collapse
Well then lets just hope they solve their server issues soon. Atleast i cannot live without custom roms on my phone. So i feel afraid somtimes what if the issue is never fixed and my phone is stuck on miui.

senerex said:
The links given by me in the guide above were/are the correct ones. Unfortunately @tech4rhm fails to see that there are two columns in the link (en. miui. com/download-342.html), the first one is for Redmi Note 5 Global (code name whyred) and the second one is for Redmi Note 5 India (which is in fact Redmi 5 Plus Global - code name vince). For the peace of mind of @tech4rhm and our friends in India I have added in point A. 6. the links for both Redmi Note 5 Global (code name whyred) and Redmi Note 5 Pro India (code name whyred), but if you download the firmware from both links then you will get the same file (currently following file: miui_WHYREDGlobal_V9.2.6.0.NEIMIEK_272c24d561_7.1).
@tech4rhm pls let's not overburden this thread with the same subject and cause confusion with other users. Have a nice day to you all.
Click to expand...
Click to collapse
To my knowlegde, the only difference btw. Redmi Note 5 (international/Chinese version) and Redmi Note 5 Pro (Indian version) is the front camera 5MP vs. 20MP.

I did all the steps mentioned above. but when i reboot to recovery still stock recovery is there.pls help
PS C:\adb> fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (33644 KB)...
OKAY [ 0.784s]
writing 'recovery'...
OKAY [ 0.516s]
finished. total time: 1.318s
PS C:\adb> fastboot reboot
rebooting...
above is the powershell info

inchvbeam said:
I did all the steps mentioned above. but when i reboot to recovery still stock recovery is there.pls help
above is the powershell info
Click to expand...
Click to collapse
It seems to me that:
+ either you have not unlocked the bootloader and the flashing of twrp is not going through (check if your bootloader is unlocked: Point A.4.)
+ or you have not executed the point C.5. properly (See my remark: Attention: Do not restart your device otherwise Xiaomi's original recovery might overwrite the custom recovery twrp!).
Please follow my "All-In-One" step-by-step and you shouldn't face any problems.

inchvbeam said:
I did all the steps mentioned above. but when i reboot to recovery still stock recovery is there.pls help
PS C:\adb> fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (33644 KB)...
OKAY [ 0.784s]
writing 'recovery'...
OKAY [ 0.516s]
finished. total time: 1.318s
PS C:\adb> fastboot reboot
rebooting...
above is the powershell info
Click to expand...
Click to collapse
You need to do "fastboot reboot recovery" after flashing

Pat123 said:
You need to do "fastboot reboot recovery" after flashing
Click to expand...
Click to collapse
The exact command to be given or action to be taken for entering recovery mode after flashing the twrp is given in point C.6.

senerex said:
The exact command to be given or action to be taken for entering recovery mode after flashing the twrp is given in point C.6.
Click to expand...
Click to collapse
Thanks I tried the following but it doesn't work:
5. Enter the terminal command in command line: >>fastboot flash recovery twrp-3.2.1-0-whyred.img<<. Attention: Do not restart your device otherwise Xiaomi's original recovery might overwrite the custom recovery TWRP!
6. Boot your device into recovery (3 possible methods)
+ by entering terminal command in command line: >>fastboot boot twrp-3.2.1-0-whyred.img<<, or
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
What i did is to flash magisk into the china rom.. before rebooting to system and sumhow it works. Thanks everyone. Btw may I know whether I can transfer files from PC to my redmi note 5 even while in TWRP mode.

inchvbeam said:
Btw may I know whether I can transfer files from PC to my redmi note 5 even while in TWRP mode.
Click to expand...
Click to collapse
Yes, yoi can transfer the files in twrp. Just mount the storage in twrp.

So is there a way to lock the bootloader too? Is it the classic fastboot oem lock or something else? Also why doesn't fastboot oem unlock work on this phone. It worked on A1.

Related

[Guide][How-to] Unlock Bootloader, Install TWRP, GSI and Magisk

Code:
[B]DISCLAIMER[/B]
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
**All credits for this guide go to Denver Alfito Anggada and Realme 3 pro Indonesia Group. I am just sharing it here for the benefit of those people who are not on Telegram**
UNLOCK BOOTLOADER
1.Download the In depth test APK (see attachment)
2.Open the In Depth Test application
APK then tap In Query Application Status
Request Submission then
wait about 5 minutes
4. Tap the back button in the left corner
top then reopen
In Query Application status
5. When "Review Sucessful " appeared, tap
start in depth test.
6. The device will then
enter fastboot, then plug the
device to PC. Download and install
fastboot (https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/)
then move the folder named
"platform-tools" to the desktop
(recommended).
7. Open the platform-tools folder
then right-click +shift, then select
open command window here (Win
7) or Open Windows
Powershell (Windows 10)
8.a. For Windows 7, you must have
installed NET Framework
4.5. Type "fastboot flashing unlock "
b. For Windows 10, type
"./fastboot flashing unlock "
9. Then, press the volume button
to UNLOCK BOOTLOADER
10. CONGRATULATIONS! YOU HAVE
SUCCESSFULLY UNLOCKED YOUR
BOOTLOADER
HTML:
<iframe width="560" height="315" src="https://www.youtube.com/embed/mZMVohIuOYU" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
TWRP
**INTERNAL MEMORY WILL BE WIPED! BACKUP BEFORE PROCEEDING**
11. Turn off your device
12. Hold the volume key
-down + power to device
-go to fastboot
13. Plug the device into a PC / Laptop
14. Download recovery.img (https://drive.google.com/file/d/1z8Mv2IBstJchXlbsHpL-Xxup2Xr_O7gR/view)
Move the recovery file that you have downloaded into the folder platform-tools
15. Inside the folder, Shift + Right-click then select open command window here (Windows 7) or open Windows Powershell (10)
16.
a. type fastboot flash recovery.img (Windows 7)
b.
type ./fastboot flash recovery.img (Windows 10)
17. After getting OKAY written, Continue to install VBMETA (see attachment)
18. Move the vbmeta.img file into the platform-tools folder
19. Return to Windows Powershell /Command prompt then type fastboot - disabled-verity - vbmeta flash-verification-enabled vbmeta.img (Windows 7)
./fastboot - disabled-verity - vbmeta flash-verification-enabled vbmeta.img (Windows 10)
20. Press the volume button to Recovery then press power to confirm
21. After entering Recovery, make sure the device is still plugged in,the select wipe then FORMAT DATA, type yes, then tap back and reboot to recovery.
22. After returning to recovery, copy Charlie Decryption by Nitish (see attachment) to your device through computer
23. Flash fix and VOILA! you successfully installed TWRP on your device
INSTALL GSI
**ONLY FLASH A/B GSI**
24. To flash GSI, enter the GSI file on your device (make sure already in the img format, if not yet, try extracting first.
25. Then, in TWRP, press install, then open the file location you, if it doesn't appear, press install the image below right,then tap the file
26. Tap System Image and slide to flash
27. VOILA YOU HAVE SUCCESSFULLY FLASHED GSI ON YOUR DEVICE
Some GSI's you can try:
AOSIP: https://sourceforge.net/projects/il.../AOSiP-9.0-GSI-arm64_ab-20190604.img/download (or whichever is latest)
Bootleggers:https://androidfilehost.com/?fid=1395089523397961183 (or whichever is latest)
Havoc OS:https://androidfilehost.com/?fid=6006931924117888100
MAGISK
Download and extract patched image.tar (https://drive.google.com/file/d/1W1DYJJH6g7AgtT3SCCDdtag1u_F9TMX-/view?usp=drive_open)
Unlock bootloader (if you haven't)
Place all extracted images in ADB tool’s folder.
Then open a CMD window inside that folder. To do that, Shift + Right click on any empty white space inside the folder and then select Open command window here.
Connect your Android device to the PC. Type the following into the command window to boot your device into bootloader/fastboot mode:
adb reboot bootloader
If your device asks for permission to “Allow USB debugging”, tap OK.
Once your device boots into bootloader mode, type these into the command line.
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Reboot device into system
Done
if you boot on gsi you will get full mode magisk (able to use module )
if you boot on colorOS you will get core mode magisk (not able to use module )
if you boot GSI with magisk , install magisk module named SafetyPatch , this will give you safety net passed
*THE END*​
Wow. Thanks a lot bro. Anyway have you tried the gsi rom? What knid ofbugs on realme 3 pro? Some says fingerprint not work, etc.
matrix0807 said:
Wow. Thanks a lot bro. Anyway have you tried the gsi rom? What knid ofbugs on realme 3 pro? Some says fingerprint not work, etc.
Click to expand...
Click to collapse
Fingerprint/pin/pattern not working
Problems with making calls (you can make call but cannot end it) I think it is related to VoLTE
Bluetooth music (Potential fix: Go to Vendor/Overlay/BluetoothResCommon.apk delete this apk, then reboot...BT music works...) need confirmation
Bluetooth incall audio
Confirmation
Is this process working successfully?
Yes many people have followed this method
Hb20032003 said:
Fingerprint/pin/pattern not working
Problems with making calls (you can make call but cannot end it) I think it is related to VoLTE
Bluetooth music (Potential fix: Go to Vendor/Overlay/BluetoothResCommon.apk delete this apk, then reboot...BT music works...) need confirmation
Bluetooth incall audio
Click to expand...
Click to collapse
I hope I can add busybox or Xposed modules without bricking/bootlooping my phone ?
Failed fastboot commamd
I am getting failed (write to device failed (too many links)) when using fastboot command please help
How to relock bootloader
TWRP corrupted my device when I flashed now don't wanna take more risks. How to relock the bootloader please
failed (write to device failed (too many links))
Muktesharyan said:
I am getting failed (write to device failed (too many links)) when using fastboot command please help
Click to expand...
Click to collapse
I was facing the same issue on my Windows 10. To solve the issue run the same command in a windows 7 PC. It worked for me 100%. i wasted the entire day searching for the solution. but switching to good'ol windows 7 pc fixed it.
Can someone help me..I'm stuck after the following command..
./fastboot - disabled-verity - vbmeta flash-verification-enabled vbmeta.img
Command prompt says unknown command -
PS: I modified like this.. ./fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img everything went smooth, but rootchecker says no root access. What might be the problem?
PS: I run magisk app, now it's been rooted.
Edit: Magisk installation is lost after sometime. No root access anymore. Guide need update. Had to follow other method. Thanks to @4j17h for helping me.
Is it possibleto unlock the bootloader without the depth test apk part?
Okay I can enter TWRP after following the first part of the guide....
until I followed the Magisk guide, then I cant enter TWRP anymore...
Also, does anyone knows how to remove that irritating red flashing saying that you rooted your device?
Hb20032003 said:
Fingerprint/pin/pattern not working
Problems with making calls (you can make call but cannot end it) I think it is related to VoLTE
Bluetooth music (Potential fix: Go to Vendor/Overlay/BluetoothResCommon.apk delete this apk, then reboot...BT music works...) need confirmation
Bluetooth incall audio
Click to expand...
Click to collapse
Hi,
I am trying to delete BluetoothResCommon.apk , but it says file system is read only , Can someone help me out here.
Regards
Need help
Hi, everybody. Really need help.
There is a phone Realme X Lite. Write that it is Realme 3 Pro for the Chinese market, as well as firmware.
My version was: RMX1851_11_A.05
Tried to flash RMX1851EX_11_OTA_0150_all_2Zfcensdoezk.ozip, recovery gave an error, *_0140_* wrote that the current version is newer.
In depth test APK on the version out of the box wrote that this version of the phone is not supported, so the bootloader could not unlock.
But in the official website came across an offer to join the testing of Android Q
r1.realme.net/general/20190522/1558492614147.pdf
There are two files, the second for rollback.
I installed P2Q, everything went well, but the SnapDragon camera is used and it is terrible if there is not enough light. In depth test is not even installed, apparently not supported in the new version.
I decided to roll back, chose in Recovery Q2P archive, there were no errors, but after rebooting the phone hangs on the initial screen saver and after 10 minutes throws in the recovery with the error "Data error, select wipe data to recovery system". Wipe doesn't help. The same with other archives for Realme 3 Pro.
Also found RMX1851_11_A.12_190423_abecd1fa.ofp for firmware via MsmDownloadTool, but it requires authorization and support refuses to call login details.
Can who faced a similar problem on this or other phone.
Please help, pay for the time spent =)
do you have tutorial to remove bloatware/pre-installed in RM 3 Pro ?
No bootloader
Hi, I tried to unlock the bootloader of my Realme 3 Pro on latest version A15, but something went wrong after the Depth Test app.
When I try to boot the bootloader, it only shows me a monkey icon, with letters in chinese (I guess), with something like 6 10 written, then it reboot.
Tried to install stock A14, but nothing changed.
Would be glad if someone know a solution.
jayroulm953 said:
do you have tutorial to remove bloatware/pre-installed in RM 3 Pro ?
Click to expand...
Click to collapse
If you're rooted then no worries, just use TiBu to uninstall all those bloatwares.
Samdroid18 said:
If you're rooted then no worries, just use TiBu to uninstall all those bloatwares.
Click to expand...
Click to collapse
without root ? no chance ?
Hello...!!!! Do you know why the phone does not go into fastboot mode when you start the depth test? It restarts in system mode. Thank you.
Pasku21 said:
Hello...!!!! Do you know why the phone does not go into fastboot mode when you start the depth test? It restarts in system mode. Thank you.
Click to expand...
Click to collapse
I have exactly the same problem, I don't know what to do...

"device is corrupt" solution guide for Nubia Red Magic 3 / 3S

Sharing this guide seems quite late but since xda red magic threads taught me a lot about the rooting and corrupted stuffs, I think it would not hurt to return something back to this community.
This is my attempt to compile people's responses that helped other people here which are scattered around forums.
Myself included also tinkered a lot on this device and literally go back here on this guide to lessen headaches.
EDIT: Tested a lot of times with V5.08 and V5.09 Android R versions
REMINDER: Tested on Android 9, no clues yet on Android 10 and 11
WHEN TO USE?
Use this guide to restore your phone to boot in Android OS again normally without wiping data, retaining your apps, games intact
Requirements:
- Windows computer. NOTE: Done this using Windows 10, so I'm not exactly sure if latest ADB works the same on Windows 7.
- Nubia Red Magic 3 or 3S battery charge should be at 50% above at least.
- You need a USB cable to connect your phone to PC. XDA Users reported better with USB 2.0 port
NOTE: Can be used also on 3S. I just don't have 3S so I haven't tested it on actual 3S.
Download latest the ADB (Android Debug Bridge) from Android Developers site.
1.) Go to https://developer.android.com/studio/releases/platform-tools
2.) Click Download SDK Platform-Tools for Windows.
3.) Click the checkbox beside 'I have read and agree with the above terms and conditions'
and click DOWNLOAD ANDROID SDK PLATFORM-TOOLS FOR WINDOWS
*Current version as of December 12, 2020
platform-tools_r30.0.5-windows.zip
4.) Create a folder in C:\ Drive and name it ADB. Extract platform-tools_rxx.x.x-windows.zip inside ADB folder.
*NOTE: rxx.x.x on platform-tools_rxx.x.x-windows depends on the current version available on Android Developers site.
5.) On your Windows desktop, press the Window logo button on your keyboard, type 'cmd'. Right-click on Command Prompt and click Run as administrator.
7.) On command prompt, type 'cd c:\ADB' and press Enter. *type without quotes *DO NOT CLOSE Command prompt!
8.) Connect your Nubia Red Magic 3 or 3S to a USB 2.0 port.
9.) Wait for Windows to install drivers of your phone. If a CD Drive showed up on "This PC / My Computer", double-click on it and install the driver.
10.) Type 'adb reboot bootloader' and press Enter. *type without quotes
11.) Go back to your command prompt. Type 'fastboot devices'. It should show your phone's serial number and a 'fastboot' word. This means your PC can properly communicate with your Nubia Red Magic 3. *DO NOT CLOSE Command prompt!
12.) Get your ROM ready. Download from these official links if you haven't already.
IMPORTANT: Try to remember the specific version of ROM your Red Magic has.
Because for example if the currently installed is Android 11 (R) but you used the lower version say Android 10 or 9, flashing will proceed but it will not boot to Android OS
For Global, Europe and North America versions:
REDMAGIC 3 Global ROM flash instructions - REDMAGIC (Global)
Want to flash your REDMAGIC device? Here's how. NOTE: Please proceed with caution.
global.redmagic.gg
Chinese version:
Nubia Red Magic 3
http://ui.nubia.cn/rom/detail/62
Nubia Red Magic 3S
http://ui.nubia.cn/rom/detail/64
13.) Extract the zip file to any folder you want. Get inside it and copy the following:
* parameter.img
* boot.img
* recovery.img
* splash.img
* dtbo.img
* vbmeta.img
* NON-HLOS.bin
* dspso.bin
14.) Continuing from the step above, paste the files you copied to ADB folder you created from step 4.
15.) Go back to your command prompt. And type and press Enter the below commands one by one:
fastboot oem nubia_unlock NUBIA_NX629J
fastboot erase parameter
fastboot flash parameter parameter.img
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase splash
fastboot flash splash splash.img
fastboot erase dtbo
fastboot flash dtbo dtbo.img
fastboot erase vbmeta
fastboot flash vbmeta vbmeta.img
fastboot erase modem
fastboot flash modem NON-HLOS.bin
fastboot erase dsp
fastboot flash dsp dspso.bin
Recommended read:
Why erase is important: https://android.stackexchange.com/questions/161103/what-fastboot-erase-actually-does#161115
*Disconnect the USB-C cable from your NRM3/3S
16.) Your phone still on fastboot, press volume down to choose "Reboot to recovery mode" and press power button to confirm.
17.) Your phone should boot to recovery. On the recovery Main Menu, press volume down to choose 'Wipe Data', choose Wipe cache and also User partition.
18.) After the wipe is successful, copy the ROM zip file to your USB flash drive. Insert your USB Flash drive to your OTG USB-C adapter. Then finally insert it to your Nubia Red Magic 3/3S USB-C port.
19.) Your phone still on recovery, select "Choose Update Package" and specify the ROM zip file in your USB OTG device.
20.) Wait for the system installation to finish.
Alternatively, you can view the guide's pastebin. Plain and simple layout especially when you are just using data on your phone
Solution for Nubia Red Magic 3 / 3S "device is corrupt"
leipnacht said:
Sharing this guide seems quite late but since xda red magic threads taught me a lot about the rooting and corrupted stuffs, I think it would not hurt to return something back to this community.
This is my attempt to compile people's responses that helped other people here which are scattered around forums.
Myself included also tinkered a lot on this device and literally go back here on this guide to lessen headaches.
REMINDER: Tested on Android 9, no clues yet on Android 10 and 11
WHEN TO USE?
Use this guide to restore your phone to boot in Android 9 again normally without wiping data, retaining your apps, games intact
Requirements:
- Windows computer. NOTE: Done this using Windows 10, so I'm not exactly sure if latest ADB works the same on Windows 7.
- Nubia Red Magic 3 or 3S battery charge should be at 50% above at least.
- You need a USB cable to connect your phone to PC. XDA Users reported better with USB 2.0 port
NOTE: Can be used also on 3S. I just don't have 3S so I haven't tested it on actual 3S.
Download latest the ADB (Android Debug Bridge) from Android Developers site.
1.) Go to https://developer.android.com/studio/releases/platform-tools
2.) Click Download SDK Platform-Tools for Windows.
3.) Click the checkbox beside 'I have read and agree with the above terms and conditions'
and click DOWNLOAD ANDROID SDK PLATFORM-TOOLS FOR WINDOWS
*Current version as of December 12, 2020
platform-tools_r30.0.5-windows.zip
4.) Create a folder in C:\ Drive and name it ADB. Extract platform-tools_rxx.x.x-windows.zip inside ADB folder.
*NOTE: rxx.x.x on platform-tools_rxx.x.x-windows depends on the current version available on Android Developers site.
5.) On your Windows desktop, press the Window logo button on your keyboard, type 'cmd'. Right-click on Command Prompt and click Run as administrator.
7.) On command prompt, type 'cd c:\ADB' and press Enter. *type without quotes *DO NOT CLOSE Command prompt!
8.) Connect your Nubia Red Magic 3 or 3S to a USB 2.0 port.
9.) Wait for Windows to install drivers of your phone. If a CD Drive showed up on "This PC / My Computer", double-click on it and install the driver.
10.) Type 'adb reboot bootloader' and press Enter. *type without quotes
11.) Go back to your command prompt. Type 'fastboot devices'. It should show your phone's serial number and a 'fastboot' word. This means your PC can properly communicate with your Nubia Red Magic 3. *DO NOT CLOSE Command prompt!
12.) Get your ROM ready. Download from these official links if you haven't already.
For Global, Europe and North America versions:
REDMAGIC 3 Global ROM flash instructions - REDMAGIC (Global)
Want to flash your REDMAGIC device? Here's how. NOTE: Please proceed with caution.
global.redmagic.gg
Chinese version:
Nubia Red Magic 3
http://ui.nubia.cn/rom/detail/62
Nubia Red Magic 3S
http://ui.nubia.cn/rom/detail/64
13.) Extract the zip file to any folder you want. Get inside it and copy the following:
* parameter.img
* boot.img
* recovery.img
* splash.img
* dtbo.img
* vbmeta.img
* NON-HLOS.bin
* dspso.bin
14.) Continuing from the step above, paste the files you copied to ADB folder you created from step 4.
15.) Go back to your command prompt. And type and press Enter the below commands one by one:
fastboot oem nubia_unlock NUBIA_NX629J
fastboot erase parameter
fastboot flash parameter parameter.img
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase splash
fastboot flash splash splash.img
fastboot erase dtbo
fastboot flash dtbo dtbo.img
fastboot erase vbmeta
fastboot flash vbmeta vbmeta.img
fastboot erase modem
fastboot flash modem NON-HLOS.bin
fastboot erase dsp
fastboot flash dsp dspso.bin
Recommended read:
Why erase is important: https://android.stackexchange.com/questions/161103/what-fastboot-erase-actually-does#161115
*Disconnect the USB-C cable from your NRM3/3S
16.) Your phone still on fastboot, press volume down to choose "Reboot to recovery mode" and press power button to confirm.
17.) Your phone should boot to recovery. On the recovery Main Menu, press volume down to choose 'Wipe Data', choose Wipe cache and also User partition.
18.) After the wipe is successful, copy the ROM zip file to your USB flash drive. Insert your USB Flash drive to your OTG USB-C adapter. Then finally insert it to your Nubia Red Magic 3/3S USB-C port.
19.) Your phone still on recovery, select "Choose Update Package" and specify the ROM zip file in your USB OTG device.
20.) Wait for the system installation to finish.
Alternatively, you can view the guide's pastebin. Plain and simple layout especially when you are just using data on your phone
Solution for Nubia Red Magic 3 / 3S "device is corrupt"
Click to expand...
Click to collapse
Looks like you've been using another cell
leipnacht said:
Sharing this guide seems quite late but since xda red magic threads taught me a lot about the rooting and corrupted stuffs, I think it would not hurt to return something back to this community.
This is my attempt to compile people's responses that helped other people here which are scattered around forums.
Myself included also tinkered a lot on this device and literally go back here on this guide to lessen headaches.
EDIT: Tested a lot of times with V5.08 and V5.09 Android R versions
REMINDER: Tested on Android 9, no clues yet on Android 10 and 11
WHEN TO USE?
Use this guide to restore your phone to boot in Android OS again normally without wiping data, retaining your apps, games intact
Requirements:
- Windows computer. NOTE: Done this using Windows 10, so I'm not exactly sure if latest ADB works the same on Windows 7.
- Nubia Red Magic 3 or 3S battery charge should be at 50% above at least.
- You need a USB cable to connect your phone to PC. XDA Users reported better with USB 2.0 port
NOTE: Can be used also on 3S. I just don't have 3S so I haven't tested it on actual 3S.
Download latest the ADB (Android Debug Bridge) from Android Developers site.
1.) Go to https://developer.android.com/studio/releases/platform-tools
2.) Click Download SDK Platform-Tools for Windows.
3.) Click the checkbox beside 'I have read and agree with the above terms and conditions'
and click DOWNLOAD ANDROID SDK PLATFORM-TOOLS FOR WINDOWS
*Current version as of December 12, 2020
platform-tools_r30.0.5-windows.zip
4.) Create a folder in C:\ Drive and name it ADB. Extract platform-tools_rxx.x.x-windows.zip inside ADB folder.
*NOTE: rxx.x.x on platform-tools_rxx.x.x-windows depends on the current version available on Android Developers site.
5.) On your Windows desktop, press the Window logo button on your keyboard, type 'cmd'. Right-click on Command Prompt and click Run as administrator.
7.) On command prompt, type 'cd c:\ADB' and press Enter. *type without quotes *DO NOT CLOSE Command prompt!
8.) Connect your Nubia Red Magic 3 or 3S to a USB 2.0 port.
9.) Wait for Windows to install drivers of your phone. If a CD Drive showed up on "This PC / My Computer", double-click on it and install the driver.
10.) Type 'adb reboot bootloader' and press Enter. *type without quotes
11.) Go back to your command prompt. Type 'fastboot devices'. It should show your phone's serial number and a 'fastboot' word. This means your PC can properly communicate with your Nubia Red Magic 3. *DO NOT CLOSE Command prompt!
12.) Get your ROM ready. Download from these official links if you haven't already.
IMPORTANT: Try to remember the specific version of ROM your Red Magic has.
Because for example if the currently installed is Android 11 (R) but you used the lower version say Android 10 or 9, flashing will proceed but it will not boot to Android OS
For Global, Europe and North America versions:
REDMAGIC 3 Global ROM flash instructions - REDMAGIC (Global)
Want to flash your REDMAGIC device? Here's how. NOTE: Please proceed with caution.
global.redmagic.gg
Chinese version:
Nubia Red Magic 3
http://ui.nubia.cn/rom/detail/62
Nubia Red Magic 3S
http://ui.nubia.cn/rom/detail/64
13.) Extract the zip file to any folder you want. Get inside it and copy the following:
* parameter.img
* boot.img
* recovery.img
* splash.img
* dtbo.img
* vbmeta.img
* NON-HLOS.bin
* dspso.bin
14.) Continuing from the step above, paste the files you copied to ADB folder you created from step 4.
15.) Go back to your command prompt. And type and press Enter the below commands one by one:
fastboot oem nubia_unlock NUBIA_NX629J
fastboot erase parameter
fastboot flash parameter parameter.img
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase splash
fastboot flash splash splash.img
fastboot erase dtbo
fastboot flash dtbo dtbo.img
fastboot erase vbmeta
fastboot flash vbmeta vbmeta.img
fastboot erase modem
fastboot flash modem NON-HLOS.bin
fastboot erase dsp
fastboot flash dsp dspso.bin
Recommended read:
Why erase is important: https://android.stackexchange.com/questions/161103/what-fastboot-erase-actually-does#161115
*Disconnect the USB-C cable from your NRM3/3S
16.) Your phone still on fastboot, press volume down to choose "Reboot to recovery mode" and press power button to confirm.
17.) Your phone should boot to recovery. On the recovery Main Menu, press volume down to choose 'Wipe Data', choose Wipe cache and also User partition.
18.) After the wipe is successful, copy the ROM zip file to your USB flash drive. Insert your USB Flash drive to your OTG USB-C adapter. Then finally insert it to your Nubia Red Magic 3/3S USB-C port.
19.) Your phone still on recovery, select "Choose Update Package" and specify the ROM zip file in your USB OTG device.
20.) Wait for the system installation to finish.
Alternatively, you can view the guide's pastebin. Plain and simple layout especially when you are just using data on your phone
Solution for Nubia Red Magic 3 / 3S "device is corrupt"
Click to expand...
Click to collapse
hi and thank you for your hard work
last time I installed Red Magic 3 V5.11 (official version) chinese rom, then I thought I need google play store so i wanted to downgrade my rom with the help of nubia red magic 3 unbrick tool which was working fine before Red Magic 3 V5.11 (official version) but at this time when i try to downgrade then it shows your devices is corrupted and will not boot ..... since then i tried each and every possible way to recover it but I don't have any technical knowledge so i'm unable to solve the problem so its my humble request to you please help me sir ....... i don't know how to flash rom through pc please guide me and help me.
kalaan10 said:
hi and thank you for your hard work
last time I installed Red Magic 3 V5.11 (official version) chinese rom, then I thought I need google play store so i wanted to downgrade my rom with the help of nubia red magic 3 unbrick tool which was working fine before Red Magic 3 V5.11 (official version) but at this time when i try to downgrade then it shows your devices is corrupted and will not boot ..... since then i tried each and every possible way to recover it but I don't have any technical knowledge so i'm unable to solve the problem so its my humble request to you please help me sir ....... i don't know how to flash rom through pc please guide me and help me.
Click to expand...
Click to collapse
give me something i can contact with u in to help u
RZaR2001 said:
give me something i can contact with u in to help u
Click to expand...
Click to collapse
[email protected] u can contact me here sir
I need some help,
Last time i updated my phone to 5.09 cn rom after that when i got bugs i tried to downgrade to 3.34 and i bricked my phone , then i use unbrick tool and get back to asia version but now my phone doesnot have the charging animation in power off mode and also fastboot device is can't get the device in win7/win 10. I also tried 2-3 times by reflash the cn rom and again back to asian version.
Need help any guide please.
Thanx in advance..
I forgot to mention that adb is working, bootloader is unlocked, i can access bootloader by using keys and adb reboot-bootloader command, but can't get device in device manager in fastboot mode , i can also access 9008 mode and recovery mode. Everything working fine but i have that two issue now, also i have my device in 5.11cn rom now.
kalaan10 said:
hi and thank you for your hard work
last time I installed Red Magic 3 V5.11 (official version) chinese rom, then I thought I need google play store so i wanted to downgrade my rom with the help of nubia red magic 3 unbrick tool which was working fine before Red Magic 3 V5.11 (official version) but at this time when i try to downgrade then it shows your devices is corrupted and will not boot ..... since then i tried each and every possible way to recover it but I don't have any technical knowledge so i'm unable to solve the problem so its my humble request to you please help me sir ....... i don't know how to flash rom through pc please guide me and help me.
Click to expand...
Click to collapse
I think I encountered this problem also when going from Android 11 (V5.11) to Android 10 (V3.34). What worked for me is the tool posted on nubia bbs.
It's on chinese but I put some screenshots on this link to be able to use it.
Red Magic 3 - Mediafire
To use the tool, put your Red Magic 3 on fastboot mode.
How to boot on Fastboot
1.) Turn off your NRM3.
2.) HOLD Volume down and power
3.) Your NRM3 should boot on fastboot
And for google play store, I'm currently using 5.09 and successfully root it with g-apps. Flashing magisk and g-apps is working ong V3.34 and V5.09.
I had problem about less charger mA on 3 charger and cables so strange , so today i did buy another cable and same thing less mA like 100 should be 3000 , so i did use one charger adapter rampow for try , when i did put charger less again but the screen get blocked and reboot , when it restarted i did see that if i put to charger again also with orginal charger and cable will block screen and reboot so i did try to reset and install Europe & Asia: V212 , when did get 100% will show that " Device is corrupt. It can't be trusted and will not boot " ,this happen if you put one not original cable or charger i did discovery ,now the problem is if i put the cable on laptop for flash install roms windows will not detected the new hardware of red magic so how can i fix that now
cacaocaca said:
I had problem about less charger mA on 3 charger and cables so strange , so today i did buy another cable and same thing less mA like 100 should be 3000 , so i did use one charger adapter rampow for try , when i did put charger less again but the screen get blocked and reboot , when it restarted i did see that if i put to charger again also with orginal charger and cable will block screen and reboot so i did try to reset and install Europe & Asia: V212 , when did get 100% will show that " Device is corrupt. It can't be trusted and will not boot " ,this happen if you put one not original cable or charger i did discovery ,now the problem is if i put the cable on laptop for flash install roms windows will not detected the new hardware of red magic so how can i fix that now
Click to expand...
Click to collapse
Have you tried to on the developer options and turn on USB debugging on your Red Magic 3?
How can I activate the debug if just show me that
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I can just enter in recovery mode , emerg recovery mode and edload but I can t do nothing if windows will not detect the device, this it happen when I did use the charger not official, it just ridiculous, I did use the charger rampow for iPhone android without problem while in this phone did happen that just because Nubia want steal money for the assistance
Maybe it hardbrick
RZaR2001 said:
give me something i can contact with u in to help u
Click to expand...
Click to collapse
can u help me too pls
cacaocaca said:
How can I activate the debug if just show me that View attachment 5173669
I can just enter in recovery mode , emerg recovery mode and edload but I can t do nothing if windows will not detect the device, this it happen when I did use the charger not official, it just ridiculous, I did use the charger rampow for iPhone android without problem while in this phone did happen that just because Nubia want steal money for the assistance
Click to expand...
Click to collapse
I think you should try service centre once.
jhonangelo30 said:
can u help me too pls
Click to expand...
Click to collapse
Okay pm me
3
Sir i have the same thing. Im using rm3 when i bought this its already flash on global rom. So im curious because its box is Chinese text but it's global rom so i flash to china rom and its success but suddenly i figure it out that chinarom doesn't have google so i flash again to global rom then suddenly it corrupt after the flash. I tried those method like that unbrick tool non.eu i follow the steps very well but when it comes to the part that cmd will pop 'downloading port 4'
It says that faile and un identified and it says that please check your status or what. I'm humble asking for your help because this is my only phone and i need this for my online school
johnbrinan1 said:
3
Sir i have the same thing. Im using rm3 when i bought this its already flash on global rom. So im curious because its box is Chinese text but it's global rom so i flash to china rom and its success but suddenly i figure it out that chinarom doesn't have google so i flash again to global rom then suddenly it corrupt after the flash. I tried those method like that unbrick tool non.eu i follow the steps very well but when it comes to the part that cmd will pop 'downloading port 4'
It says that faile and un identified and it says that please check your status or what. I'm humble asking for your help because this is my only phone and i need this for my online school
Click to expand...
Click to collapse
don't worry it can be fixed
RoseRahman said:
I think you should try service centre once.
Click to expand...
Click to collapse
My phone was in assistance and now it come back and work fine , no more device corrupt and no more slow charger , they did exachange the motherboard on my phone , if you will not ear the sound while plug the device to windows this mean problem motherboard maybe like me
leipnacht said:
Sharing this guide seems quite late but since xda red magic threads taught me a lot about the rooting and corrupted stuffs, I think it would not hurt to return something back to this community.
This is my attempt to compile people's responses that helped other people here which are scattered around forums.
Myself included also tinkered a lot on this device and literally go back here on this guide to lessen headaches.
EDIT: Tested a lot of times with V5.08 and V5.09 Android R versions
REMINDER: Tested on Android 9, no clues yet on Android 10 and 11
WHEN TO USE?
Use this guide to restore your phone to boot in Android OS again normally without wiping data, retaining your apps, games intact
Requirements:
- Windows computer. NOTE: Done this using Windows 10, so I'm not exactly sure if latest ADB works the same on Windows 7.
- Nubia Red Magic 3 or 3S battery charge should be at 50% above at least.
- You need a USB cable to connect your phone to PC. XDA Users reported better with USB 2.0 port
NOTE: Can be used also on 3S. I just don't have 3S so I haven't tested it on actual 3S.
Download latest the ADB (Android Debug Bridge) from Android Developers site.
1.) Go to https://developer.android.com/studio/releases/platform-tools
2.) Click Download SDK Platform-Tools for Windows.
3.) Click the checkbox beside 'I have read and agree with the above terms and conditions'
and click DOWNLOAD ANDROID SDK PLATFORM-TOOLS FOR WINDOWS
*Current version as of December 12, 2020
platform-tools_r30.0.5-windows.zip
4.) Create a folder in C:\ Drive and name it ADB. Extract platform-tools_rxx.x.x-windows.zip inside ADB folder.
*NOTE: rxx.x.x on platform-tools_rxx.x.x-windows depends on the current version available on Android Developers site.
5.) On your Windows desktop, press the Window logo button on your keyboard, type 'cmd'. Right-click on Command Prompt and click Run as administrator.
7.) On command prompt, type 'cd c:\ADB' and press Enter. *type without quotes *DO NOT CLOSE Command prompt!
8.) Connect your Nubia Red Magic 3 or 3S to a USB 2.0 port.
9.) Wait for Windows to install drivers of your phone. If a CD Drive showed up on "This PC / My Computer", double-click on it and install the driver.
10.) Type 'adb reboot bootloader' and press Enter. *type without quotes
11.) Go back to your command prompt. Type 'fastboot devices'. It should show your phone's serial number and a 'fastboot' word. This means your PC can properly communicate with your Nubia Red Magic 3. *DO NOT CLOSE Command prompt!
12.) Get your ROM ready. Download from these official links if you haven't already.
IMPORTANT: Try to remember the specific version of ROM your Red Magic has.
Because for example if the currently installed is Android 11 (R) but you used the lower version say Android 10 or 9, flashing will proceed but it will not boot to Android OS
For Global, Europe and North America versions:
REDMAGIC 3 Global ROM flash instructions - REDMAGIC (Global)
Want to flash your REDMAGIC device? Here's how. NOTE: Please proceed with caution.
global.redmagic.gg
Chinese version:
Nubia Red Magic 3
http://ui.nubia.cn/rom/detail/62
Nubia Red Magic 3S
http://ui.nubia.cn/rom/detail/64
13.) Extract the zip file to any folder you want. Get inside it and copy the following:
* parameter.img
* boot.img
* recovery.img
* splash.img
* dtbo.img
* vbmeta.img
* NON-HLOS.bin
* dspso.bin
14.) Continuing from the step above, paste the files you copied to ADB folder you created from step 4.
15.) Go back to your command prompt. And type and press Enter the below commands one by one:
fastboot oem nubia_unlock NUBIA_NX629J
fastboot erase parameter
fastboot flash parameter parameter.img
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase splash
fastboot flash splash splash.img
fastboot erase dtbo
fastboot flash dtbo dtbo.img
fastboot erase vbmeta
fastboot flash vbmeta vbmeta.img
fastboot erase modem
fastboot flash modem NON-HLOS.bin
fastboot erase dsp
fastboot flash dsp dspso.bin
Recommended read:
Why erase is important: https://android.stackexchange.com/questions/161103/what-fastboot-erase-actually-does#161115
*Disconnect the USB-C cable from your NRM3/3S
16.) Your phone still on fastboot, press volume down to choose "Reboot to recovery mode" and press power button to confirm.
17.) Your phone should boot to recovery. On the recovery Main Menu, press volume down to choose 'Wipe Data', choose Wipe cache and also User partition.
18.) After the wipe is successful, copy the ROM zip file to your USB flash drive. Insert your USB Flash drive to your OTG USB-C adapter. Then finally insert it to your Nubia Red Magic 3/3S USB-C port.
19.) Your phone still on recovery, select "Choose Update Package" and specify the ROM zip file in your USB OTG device.
20.) Wait for the system installation to finish.
Alternatively, you can view the guide's pastebin. Plain and simple layout especially when you are just using data on your phone
Solution for Nubia Red Magic 3 / 3S "device is corrupt"
Click to expand...
Click to collapse
Hello, thanks for your contribution I practiced it 100 but it did not work, I hope you can help me, I have a global nubia rm3S, I had android 9 but I wanted to change to android 11 ch, when updating by OTG it worked without problems, but I did not open an application of my work so I had to try to return to android 9 global, but after the update reached% 100 it restarted and I stayed in DEVICE CORRUPT, now I don't know what to do, I already tried with your method and everything Apparently it is perfect, it does not make an error in anything and I have communication from the adb it gives me my serial number and the drivers are perfect, what can I do?
ZephyrOne said:
Hello, thanks for your contribution I practiced it 100 but it did not work, I hope you can help me, I have a global nubia rm3S, I had android 9 but I wanted to change to android 11 ch, when updating by OTG it worked without problems, but I did not open an application of my work so I had to try to return to android 9 global, but after the update reached% 100 it restarted and I stayed in DEVICE CORRUPT, now I don't know what to do, I already tried with your method and everything Apparently it is perfect, it does not make an error in anything and I have communication from the adb it gives me my serial number and the drivers are perfect, what can I do?
Click to expand...
Click to collapse
I see you upgraded to Android 11 CN then downgraded to Android 9 again. You need the TWRP from baidu guide regarding downgrading from A11.
Here's the link. Google Drive - TWRP from Baidu
DM me if you're having problems with TWRP.
leipnacht said:
I see you upgraded to Android 11 CN then downgraded to Android 9 again. You need the TWRP from baidu guide regarding downgrading from A11.
Here's the link. Google Drive - TWRP from Baidu
DM me if you're having problems with TWRP.
Click to expand...
Click to collapse
Hello thanks for your help, the problem is that I do not enable oem unlocking in the system. Do you know if twrp can be installed without that option?

[ROM] [TUTORIAL] HOW TO INSTALL LINEAGEOS 16 BETA 6 NO GAPPS ON HUAWEI DEVICES

[GUIDE/TUTORIAL]
HOW TO INSTALL
LINEAGEOS 16 BETA 6 NO GAPPS
ON HUAWEI DEVICES
17th December 2020​
Authored by: RK aka Klorofill_YUM aka Purrrturbed
Tested on the following devices:
Mate 10 Lite (Kirin 659 SoC)
SPECIAL NOTE #1: To unlock the bootloader the device must be on a firmware earlier than Android 8, thus Android 7, or Android 6, Android 5 will be fine, if using the DC-Unlocker method.
Additionally, the device must be with a security patch earlier than 1 June 2018. Make sure device is supported by DC-Unlocker, check here (See link: https://www.dc-unlocker.com/supported_models_1/huawei_phones)
SPECIAL CREDIT TO USER "Chaosdave34" *see comments: Unlocking the bootloader is possible on Android 8 using the PotatoNV method.
SPECIAL NOTE #2: To install LineageOS the device must be on EMUI 8, therefore on Android 8 with an unlocked bootloader. Additionally, the device must be a supported device - please check OpenKirin’s devices list. All of this considered: in order to satisfy these 2 special requirements this may result in the need for both downgrading and upgrading firmware throughout the following steps. Also, keep in mind: TWRP and other custom recoveries are not supported! Please ensure that the device’s stock recovery installed. Please do not use TWRP or any custom recovery, the following install method will work perfectly fine with only the stock recovery installed. Make sure device is supported by OpenKirin, check here (See link: 4.https://openkirin.net/devices/)
SPECIAL NOTE #3: It is required that the device being used in is supported by both DC-Unlocker and OpenKirin, if the device does not satisfy both of those requirements, this tutorial is not for that devices. Many files that are mentioned throughout this tutorial are included in the 'Packed by RK' folder. The method is this tutorial is not officially supported by OpenKirin. The Author has no affiliation with OpenKirin or DC-Unlocker. Try at your own risk, the author does not take responsibility for bricked devices.
On the Android device: Turn on "Enable OEM unlock" & "USB Debugging" options, they are turned on from developer options.
On the PC: Install HiSuite onto a PC via plugging in the Huawei phone to a PC - This will install all of the required drivers
Backup any device data to be kept. Installing an OpenKirin ROM for the first time requires a factory reset!
On the PC: Install ADB & Fastboot using 15 seconds ADB Installer v1.4.3 (see link: https://forum.xda-developers.com/showthread.php?t=2588979) Downloads: Version 1.4.3 (see link: https://forum.xda-developers.com/attachment.php?attachmentid=4623157&d=1540039037)
On the PC: Install process for adb: Run program (Require administrator privileges), then Press Y/Yes to install ADB and Fastboot or N/No to skip, then Press Y/Yes to install ADB system-wide or N/No for current user only, then Press Y/Yes to install Drivers or N/No to skip, and finally Continue Driver installation and 15 seconds passed - finished!
Notes about adb installation: System-wide: ADB and Fastboot are installed to %SystemDrive%\adb directory, and added system-wide path. And, current user only: ADB and Fastboot are installed to %UserProfile%\adb directory, and added path for current user. CMD can use ADB and Fastboot from any directory. Drivers are installed to system - no need to install them from directories.
Now that adb is installed, to continue, the Huawei device must have its bootloader unlocked. Do not skip this step. Do not attempt to load LineageOS ROM unless the bootloader is unlocked. In the follow steps, instructions will be provided for unlocking the bootloader. Please follow the next steps carefully
SPECIAL WARNING: If the device runs Android 8 or later with latest security patch then this DC-unlock service won't work! (See “Special Note #1” mentioned earlier) - It is important downgrade and restore an earlier firmware if the device is on Android 8.
With both the Android device and PC: It is strongly recommended to use HiSuite now to downgrade the Huawei phone to its earliest firmware. Plug in the Huawei Phone, open HiSuite > Updates > Other Versions > Earlier Version > Click Restore
On the PC: Download and then install DC-Unlock from the homepage: (See link: https://www.dc-unlocker.com/), or install DC-Unlock from the Packed by RK folder (See filename: dc-unlocker2client_1.00.1431.zip)
On the Android device: Connect phone to PC via USB. Then, enable "manufacturer mode" on the phone. This is done by entering the following code into the dial pad: code *#*#2846579#*#* (SPECIAL NOTE #4: On tablets without dial pad use in-built calculator in landscape mode to dial ()()2846579()()= )
On the Android device: Now, Select "Project Menu" > "Background settings" > "USB ports settings" > "Manufacture mode".
On the PC: Launch DC-unlocker software
On the PC: Detect device by selecting Huawei phones from the manufacturers drop down menu list, "Select model" leave on Auto detect (recommended), then read the info on software for how to correctly prepare phone for detection. After phone is prepared, connected to PC and it's drivers installed, click magnifying glass button. Now, wait till program detects it
On the PC: The information the software will display now will look like something more or less similar to the example below:
DC - Unlocker 2 Client 1.00.1431
Detecting phone :
selection :
manufacturer - Huawei phones
model - Huawei HiSilicon Kirin Android phone (new)
Selected Applications port COM6
Model : Huawei HiSilicon Kirin Android phone (new)
Serial NR. : 2VN5T17A29000000
Firmware : System 5.1.0.98(08SN)
On the PC: Open Server tab, enter your username and password that you received after credits purchase. To purchase credits, this is can be done via paypal. (Buy credits here, see link: www.dc-unlocker.com/buy). Now, click "Check login" button.
SPECIAL NOTE #5: Unfortunately there is no way to do this that doesn't require paying a company - this is not a shameless plug for DC-Unlocker. The author of this tutorial does not work for nor is paid buy DC-Unlocker. The unfortunate reality is that at the moment, this paid service is the easiest and fastest method that works for unlocking the bootloader. This does not require opening the device and using the testpoint. That being said, in the opinion off the author, this DC-Unlocker service is well worth the price. For more information on getting credit, username, and password with DC-Unlocker check this source. (See link: https://www.dc-unlocker.com/how-to-get-username-password) If a username and password exists, and this method is familiar, then just add credits to the existing account and login to DC-Unlocker program clicking the "Check login" button.
On the PC: Open Unlocking tab, click “READ BOOTLOADER CODE” button. Then, wait for code to be provided. Now there is a bootloader code. This is needed for unlocking the bootloader. Save the bootloader code, this is the UNLOCK KEY.
On the Android device: Return the phone now to its original mode by exiting manufacturing mode, otherwise it might not function properly.
On the Android device: Please double check that USB debugging is enabled. Then, plug the phone into the PC.
On the Android device: A popup will appear on the phone screen asking whether to allow the PC to access the phone. Authorize the request.
On the PC: Open ADB by going to the directory where adb was installed and saved and open CMD/Terminal (Shift+Right-click > open Power Shell or Command Line).
On the PC: In the command line: type the following command, only use what is written between the " " : "adb devices"
Your devices should be listed in the adb window, if it isn't, either you didnt install the adb driver properly, or your usb port has problem
On the PC: In the command line: the following code will reboot the phone to fastboot mode, now type the following command: "adb reboot bootloader"
SPECIAL NOTE #6: There is another method to enter fastboot mode manually: Follow the next steps:
On the PC: Keep ADB command prompt open
On the Android device: disconnect it from the PC, unplug the USB, Shut down the phone, Press and hold Volume Down button and then connect the USB cable to your phone. Phone should now be in fastboot mode.
On the PC: Once the phone is booted up to the fastboot mode screen, using the adb command line, now type the following command: "fastboot oem unlock [your UNLOCK KEY here]" - Enter this command without the brackets, for example like: fastboot oem unlock 12345678901234
On the Android device: Confirmation dialog should appear on the phone screen, and give warning about unlocking the bootloader. Follow the instructions on screen, select Yes to unlock. The device will now unlock, please be aware all data on the phone will be wiped with a factory reset. Once the unlocking process is finished, the phone will boot up to the initial set up. At the start of every bootup, a warning screen mentioning unlocked bootloader will be displayed.
On the Android device: Get past the initial setup. Set everything up through the initial setup, this doesn’t have to be a complete thorough set up. It is recommended to skip all the account settings, security settings, and other settings because later steps in this tutorial will require yet another factory reset again.
On the Android device: Please update to Android 8 now. It is sufficient to update upto the first earliest Android 8 update, it is unnecessary to update to the latest update available. Now that the bootloader is unlocked, the device must be running EMUI 8.0 in order to install LineageOS 16 Beta 6 by OpenKirin - If the phone was downgraded in order to unlock the bootloader, the phone must now be upgraded via OTA in the phone's settings menu. Please update to Android 8 now - Other versions are not supported and will likely brick the device.
On the Android device: Get past the initial setup again. Once finished with the initial setup, go to phone settings and re-enable USB Debugging option in developer options
With both the Android device and PC: Plug the phone into the computer via USB, and from your adb command line, now type the following command: "adb reboot bootloader"
On the PC: Go to the OpenKirin Downloads page and download the ROM to install. OpenKirin downloads can be found here: (see link: https://openkirin.net/download/) or alternatively, find LineageOS 16 Build 6 included in the 'Packed by RK' folder.
On the PC: If the ROM downloaded is compressed (file ends with extension .xz), extract the ROM .img file from the compressed file. On Windows PC: either WinRAR or 7-Zip can be used to extract the file.
On the PC: Once .img file is uncompressed , place the .img file in the same folder as the installed adb fastboot (credit: OpenKirin)
On the Android device: Power off the device. Then enter fastboot mode. (See step 20 and special note #6 which mentions how to enter fastboot mode earlier in this tutorial)
SPECIAL NOTE #7: The fastboot mode screen must show “PHONE Unlocked” and “FRP Unlock” - Do not continue if that is not shown.
With both the Android device and PC: Once on the fastboot screen, keep the device connected to your PC
On the PC: Open a command line terminal in the same directory as adb fastboot and the copied the ROM .img file. Then, in the command window, enter the following command: “fastboot flash system <name-of-rom-image-file>.” Press enter, and see the ROM flashed.
On the PC: Once it’s completed, type the following command: “fastboot reboot”
On the Android device: Unplug the phone now - The phone may reboot quickly and launch right into the new software ROM, but it is absolutely needed to turn off the device. Turn off the the device.
Before booting up and using the ROM, it is needed to perform a factory reset in the stock recovery. Do not continue without performing a factory reset.
On the Android device: Now that the device is off, to boot into recovery, hold down Power + VolUp at the same time, and keep them held until the Huawei/Honor logo appears on your screen. If done correctly, the recovery menu will be on screen.
On the Android device: In the recovery menu, press the “Wipe data/factory reset” button.
Reboot the device and begin enjoying the ROM!
Sources | Citations
https://www.dc-unlocker.com/how-to-read-huawei-bootloader-unlock-code
https://openkirin.net/user_guide/openkirin-rom-installation-instructions/
https://www.dc-unlocker.com/supported_models_1/huawei_phones
https://openkirin.net/devices/
**Planned testing on the following devices in the upcoming future:
P8 Lite 2017 (Kirin 655 SoC) - Test results: (so far) downgrade not possible. Further testing not possible at this time; no device.
Mate 10 (Kirin 970 SoC) - Test results: (so far) Not yet working, downgrade to Android 8 not possible. Further testing will be done in the future; device still on hand.
Purrrturbed said:
enter the following command: “fastboot flash system <name-of-rom-image-file>.”
Click to expand...
Click to collapse
Correct command is
"fastboot flash system <name-of-rom-image-file>.img "
I hope other sees this.
But otherwise i will need to reupload the zip file i put up because the docx file i have in the fold contains the same typing error.
Root tutorial please.
Zaptyp said:
Root tutorial please.
Click to expand...
Click to collapse
Root tutorial
Do you have tutorial to run xposed or Edxposed?
Hello Readers!
I hope you all are well, I finally got my hands on a Mate 10 and P8 Lite 2017 for testing.
I have to say I have to regretfully inform that I have come accross an unexpected roadblock.
I can say as of now, the method described in this tutorial does not work for the Mate 10 or the P8 Lite 2017.
I got stuck at step 8:
With both the Android device and PC: It is strongly recommended to use HiSuite now to downgrade the Huawei phone to its earliest firmware. Plug in the Huawei Phone, open HiSuite > Updates > Other Versions > Earlier Version > Click Restore​When I connected both of these phone models to HiSuite I discovered it was impossible for me to roll back and downgrade the phones. The Mate 10 on the latest EMUI 10 would only roll back to Android 9.0. The P8 Lite 2017 would only roll back to and early Android 8.0 and it would fail to download Android 7, every time i tried to load, with a warning message stating the install fails due to lack space.
I can use your help: if you can verify my findings on your end by replicating the steps that i wrote in my tutorial, that can help me prove for certian these steps do not work for the Mate 10 and P8 Lite 2017. All of the steps worked perfectly fine for my Mate 10 Lite but, as it seems now, it is impossible for me to downgrade the Mate 10 and P8 Lite 2017 to Android 7 at this time, therefore the DC-Unlocker bootloader unlocking cannot be performed.
Purrrturbed said:
The P8 Lite 2017 would only roll back to and early Android 8.0
Click to expand...
Click to collapse
1. If the rollback option is not available with your HiSuite ("switch to the older version", "Earlier version"...), you must downgrade to the lower Oreo build version number doing the dload method (flashing Service ROM for your model and REGION (Cxxx)! This process will erase all your data! You can also try chinese HiSuite (with an .exe extension instead of _OVE).
2. You should be able to use DCUnlocker (hcu-client) on Oreo, but you may need to downgrade first ( to a firmware version before July 2018). Downgrading can be done with the dload method , using Service ROM downloaded on androidhost.ru .
I have an unlocked Bootloader but Android 8 with newest Security Patch, does the Rom also work or need I downgrade to Oreo with security patch from Juli
Chaosdave34 said:
I have an unlocked Bootloader but Android 8 with newest Security Patch, does the Rom also work or need I downgrade to Oreo with security patch from Juli
Click to expand...
Click to collapse
Hello, please do kindly share how you were able to unlock the bootloader whilst still on Android 8.
With this tool https://github.com/mashed-potatoes/PotatoNV.
I'm asking because I tried to install twrp recovery, but it hangs on startup and I don't want to brick my device.
I have now downgraded my RNE-L21 to Security Patch Juli 2018. The bootloader is unlocked and stock recovery is flashed. Is it now possible to install Custom Rom?
Chaosdave34 said:
I have now downgraded my RNE-L21 to Security Patch Juli 2018. The bootloader is unlocked and stock recovery is flashed. Is it now possible to install Custom Rom?
Click to expand...
Click to collapse
Look here:
Support
Download
Only EMUI 8.1 is not supported.
Chaosdave34 said:
I have now downgraded my RNE-L21 to Security Patch Juli 2018. The bootloader is unlocked and stock recovery is flashed. Is it now possible to install Custom Rom?
Click to expand...
Click to collapse
Alf is a good editor! He spotted my error.
Yes if you have bootloader unlocker, stock recovery , and android 8, your device fits all of thr requirements to install LineageOS.
See: "It is sufficient to update upto the first earliest Android 8 update, it is unnecessary to update to the latest update available. Now that the bootloader is unlocked, the device must be running EMUI 8.0 in order to install LineageOS 16 Beta 6 by OpenKirin"
And see: SPECIAL NOTE #2: To install LineageOS the device must be on EMUI 8, therefore on Android 8 with an unlocked bootloader.
Purrrturbed said:
Would assume it not possible because "Additionally, the device must be with a security patch earlier than 1 June 2018."
Click to expand...
Click to collapse
Read carefully bro
Chaosdave34 said:
The bootloader is unlocked and stock recovery is flashed. Is it now possible to install Custom Rom?
Click to expand...
Click to collapse
-Alf- said:
Read carefully bro
Click to expand...
Click to collapse
You have a good eye, thank you so much for catching my error!
Thanks for the help. I already had downgraded to Security Patch 1. juli 2018 and installled Custom Rom. It works without any problems.
Chaosdave34 said:
Thanks for the help. I already had downgraded to Security Patch 1. juli 2018 and installled Custom Rom. It works without any problems.
Click to expand...
Click to collapse
Congrats, this serves as a testimonial that loading LineageOS 16 works, and that this tutorial is a sufficient guide.
Today I've rebooted my phone and after entering my unlockcode the screen went black and I'm back at login. Here is the logcat (I did it 3x to reproduce the Error):
Chaosdave34 said:
Today I've rebooted my phone and after entering my unlockcode the screen went black and I'm back at login. Here is the logcat (I did it 3x to reproduce the Error):
Click to expand...
Click to collapse
Did you get it to work. I have a Mate 10 lite with android 8 and emui 8.0 with August 1 security patch. Thinking of trying potatoNV and custom rom. But I won't risk briking my phone cz i have no replacement. Can you provide with the details you weny through? And i see that when u flashes twrp u got stuck. Then how did you manage to get the custom RoM running without twrp. And how did you get it to work after getting stuck.

How To Guide [MIUI12~13 A11~12.0/12.1][UNLOCK][ROOT] Picture guide unlock bootloader, flash custom ROMs & root Xiaomi Poco X3 Pro

Thanks for @urbanman2004 guide for Poco X3 Pro. Some sentences still needed, so keeping it similar.
This guide provides photos & screenshots.
Simulate all process and reduce misunderstanding.
Spoiler: Disclaimer
* May loose warranty after unlock according to Xiaomi policy of the country you bought phone from. Check it yourself.
* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected users.
Section 1: Unlock bootloader
(Works for most Xiaomi/Redmi/Poco phones)
Keep phone with more than 60% battery.
Spoiler: Click to show
1. Register Xiaomi account on PC or Phone doesn't matter. (Use same account in all steps)
Might ask SMS verification. Keep phone number for this Mi Account until all unlock process done and successfully booted into MIUI after step 21.
Click to expand...
Click to collapse
2. On phone, sign in your Mi Account from setting. (Use same account in all steps)
Spoiler
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Turn on Developer option:
Spoiler
Settings→ About Phone (My Device)→ tap on MIUI version (For POCO) until it says Developer options enabled at the bottom.
4. Turn ON "Find my device"
Spoiler
5. Back out to Settings, Additional Settings→ Developer options→ Mi Unlock status.
Spoiler
6. DON'T DO STEP 6 ANYMORE after done it ONCE. Will reset countdown timer if you do that.
DON'T DO STEP 6 ANYMORE after done it ONCE. Will reset countdown timer if you do that.
SIM card inside phone with mobile data doesn't need to be the one linked to Mi-account. Can put a different SIM card as long as it can use mobile data.
Only during step 6 you turn off WIFI and turn on mobile data.
Can do whatever you want to WIFI and mobile data anytime before and after step 6. There's no restriction other than step 6.
Can remove your SIM card once step 6 was done. But you still need the number linked to Mi-Account accessible to receive SMS if Mi-Account ask for verification.
7. Wait for 7 days (Day 1). DO NOT LOG OUT your Mi-Account on your phone.
Try not to use phone too much as later will do factory reset and loose all data.
Or backup manually. Not gonna write how to backup.
No need to connect internet (mobile data and WIFI) all the time.
Can use your phone
Can even power off phone in the meantime. (Thanks for @kamild_ answer)
Spoiler
8. Wait for 7 days (Day 2). DO NOT LOG OUT your Mi-Account on your phone.
9. Wait for 7 days (Day 3). DO NOT LOG OUT your Mi-Account on your phone.
10. Wait for 7 days (Day 4). DO NOT LOG OUT your Mi-Account on your phone.
11. Wait for 7 days (Day 5). DO NOT LOG OUT your Mi-Account on your phone.
12. Wait for 7 days (Day 6). DO NOT LOG OUT your Mi-Account on your phone.
13. Wait for 7 days (Day 7). DO NOT LOG OUT your Mi-Account on your phone.
14. Download Xiaomi Unlock tool for Windows PC.
Direct download link (English Version 5.5.224.55)
Spoiler
Spoiler: Linux and macOS users
XiaoMiTool (v2)
https://www.xiaomitool.com/
https://github.com/francescotescari/XiaoMiToolV2
15. Extract all files into short-named folder. Go into folder and double click on miflash_unlock.exe
Different versions, double click on batch_unlock.exe
Spoiler
16. Sign in your Mi Account. (Use same account in all steps)
Spoiler
17. Connect phone with official USB cable to PC. Check on PC if see device.
Turn OFF all locks (screen lock, face lock, fingerprint, pin, bluetooth lock.)
Turn ON "Find my device"
Logout Google
If not detected, do as in spoiler:
Spoiler
Double click on MiUsbDriver.exe
Should see your phone now.
Reboot your PC.
or Google's latest USB drivers for Windows if it else fails
NOTE: If Windows does not recognize the device due to it automatically installing the wrong "Kedacom Device Driver" then you will have to manually install the drivers for "Android ADB Interface/Android Bootloader Interface".
Backup your data from your phone now. You will loose ALL your data on your phone after step 20.
Click to expand...
Click to collapse
18. Shutdown/ Power off phone normally manually.
When screen turns all black for about 30 seconds, hold Vol down + Power button together to enter Fastboot mode.
(Picture from GSMarena)
Should see Fastboot on phone screen
Spoiler
19. Connect your phone with official USB cable to PC. Should see on PC a device listed. (Locked)
Spoiler
If not detected, do as in spoiler:
Spoiler
Double click on MiUsbDriver.exe
Connect phone to computer via official USB cable, and confirm your phone shows up recognized as "Android Bootloader Interface" (in Device Manager)
Reboot your PC.
or Google's latest USB drivers for Windows if it else fails
NOTE: If Windows does not recognize the device due to it automatically installing the wrong "Kedacom Device Driver" then you will have to manually install the drivers for "Android ADB Interface/Android Bootloader Interface".
WARNING !!! From the step later, you will loose ALL your data on your phone. Backup your data from your phone.
Click to expand...
Click to collapse
Take out microSD card from device in case something went wrong and destroy microSD card.
Click to expand...
Click to collapse
20. Press Unlock, Unlock, Unlock anyway, Unlock anyway. (If you are worried of what it's warning you, don't unlock and don't think of custom Roms or root.)
Spoiler
If see this or some hours left, wait for remaining countdown hours (count it yourself) and start from step 17 again.
The countdown is done on Xiaomi server. Can close the unlock program during the meantime.
Exit Fastboot mode:
Spoiler
Unplug phone from PC and hold power button until screen turns black. Will boot into MIUI.
21. Wait phone boot up, or press Reboot phone if it did not reboot itself.
If you see this after boot up, use Wifi or insert SIM card with mobile data access and enter your Mi Account password.
##End of Unlock Bootloader process
Donate if you find it helpful: paypal.me/pl1992aw
Updated to work with MIUI 12~13 or Android 11~12.0/12.1 custom ROMs
Unlock bootloader to do the followings.
Keep phone with more than 60% battery.
Section 2: Clean Flash custom ROMs
(Official Recovery ROMs can be flashed with same method)
Spoiler: Click to show
Make it simple using program mentioned in INDEX thread.
XiaomiADBFastbootTools (Java)
https://github.com/Szaki/XiaomiADBFastbootTools
If you don't trust the tools or link below,
upload files to Virus Total
or turn on Antivirus
or do manual way urbanman2004 written.
1. Download here:
https://androidfilehost.com/?fid=8889791610682940341
Original github source: (not maintained anymore)
https://github.com/Szaki/XiaomiADBFastbootTools/releases
Spoiler
2. For this program to work, install Oracle Java or OpenJDK (Mentioned in Readme)
Spoiler
Here use Windows to as demo.
Oracle Java download here or here (Choose either one to install)
Spoiler
Double click and install that on your Windows.
3. Keep PC connected to internet, find XiaomiADBFastbootTools.jar downloaded and double click on it.
Spoiler
4. Will automatically download SDK Platform Tools.
5. Turn ON USB debugging in Developer options (access mentioned in Unlock bootloader step 5)
Spoiler
Logout Mi Account, Google, all accounts.
Remove all fingerprint, PIN, password, picture password.
Turn OFF Find My Device function.
Backup your data from your phone.
Click to expand...
Click to collapse
6. Connect phone to PC, swipe down notification on phone and tap MTP/ File transfers
Spoiler
Or
If it's your first time doing this, should see this screen. Choose "Always allow from this computer" and press OK.
7. Confirm on PC to see information of your device.
8. Find custom ROM and read all reply and original thread of the Custom ROM. Sometimes firmware requirement and updated info is in replies.
(Step 8, 9 and 12 and links are POCO X3 pro specific)
Click to expand...
Click to collapse
ArrowOS as example: Download on PC Official ArrowOS -vayu ROM for POCO X3 Pro [direct link here].
Check the date and version as well.
Spoiler
If phone is not on MIUI version for required firmware, do additional as spoiler:
Spoiler
Download on PC official MIUI Recovery ROM or MIUI by Xiaomi.eu ROM ZIP (2~6 GB) of POCO x3 pro.
EEA is official ROM
Xiaomi.eu is custom ROM
Click to expand...
Click to collapse
9. Download recovery TWRP from here by Nebrassy for POCO x3 pro.
10. On PC, press "Device" -> "Reboot to" -> "Fastboot"
Should see Fastboot on phone
Spoiler
11. Program on PC should jump to Fastboot tab
If it did not jump to that tab,
Spoiler
click on Fastboot tab and choose "Option" -> "Reload device"
Warning !!! Look at the Anti version:
This is important for Xiaomi/Redmi/Poco phones.
Spoiler: About Anti version
Only Official MIUI ROMs may have ARB index.
Customs ROMs should not have ARB index.
If your device is Anti version: 2,
1) you can flash Rom with Anti Roll Back (ARB) index: 3, 4, 5, 6... etc. and the Anti version will become 3, 4, 5, 6... etc.
2) you can flash Rom with ARB index 2, and the Anti version will remain 2.
3) you CANNOT flash Rom with ARB index 1. Don't use that ROM in anyway, flashing through custom recovery will likely brick your phone.
4) If ARB index is 0, that means no ARB of that ROM. It will not check or change your device Anti version.
Make sure look at ARB index of MIUI ROM and Anti version of your phone. I don't have your phone. You decide to flash.
How to check ROM ARB index is written in the Source.
Source:
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
12. Assume confirm MIUI ROM safe from ARB, click
Choose
for Poco X3 pro.
Change next drop down menu to "recovery".
Do not choose wrong option, or may be in BIG trouble.
Press Flash Image (Some device cannot do this step, check at your device XDA tutorial)
Confirm at the Status " Writing 'recovery' Okay "
13. Boot to TWRP
Phone should boot into TWRP.
Spoiler
14. Copy or Drag MIUI and custom Rom zip into phone Download folder for easy finding.
If PC did not see any folders in your phone from "My Computer" or "This PC", use either options:
Spoiler: microSD card or USB OTG
Copy the ROM zip file in and [put microSD into / connect USB OTG to] your phone, then continue to step 15
Spoiler: ADB sideload
A)
B) Connect phone USB cable to PC.
C) On PC, navigate to folder C:\user\your user name\XiaomiADBFastbootTools\platform-tools\
D) Copy or drag the ROMs.zip files into the folder.
E) Hold keyboard Shift and mouse Right Click in the folder blank space, left click Open command window here
F) In the Command enter the following code in the command window:
adb sideload custom_ROM_name.zip
G) After it's done (shown on phone screen), skip to step 16
15. In TWRP on phone, tap Install
Spoiler
If Firmware did not meet needs of custom ROM, do additional in spoiler
Spoiler
Choose Download folder, or press Select Storage and choose microSD card or USB OTG where you put the ROM, then tap on MIUI ROM zip.
Swipe to confirm Flash
After it's done, press back.
In Download folder, or press Select Storage and choose microSD card or USB OTG where you put the ROM, tap on custom ROM zip.
Swipe to confirm Flash
Wait until it's done
16. Press back, back, until you see Wipe, tap it and then tap Format Data.
Type yes, press enter.
17. Press Reboot System. Wait for like 10~15 minutes until initialization setup shows.
## End of Clean Custom Rom flashing.
Dirty Flash / ROM update
Do this only when developer or users said it can.
Spoiler: Click to show
Spoiler: If using Magisk, do this as well
First disable all Magisk module and reboot to prevent issues.
α) Remove ALL fingerprint, PIN, password, picture password, ALL locks
β) Do Section 2 step 15 with the update custom ROM zip file in your phone storage.
If TWRP or OrangeFox cannot see any folders in your phone, use either options:
Spoiler: microSD card or USB OTG
Copy the ROM zip file in and [put microSD into / connect USB OTG to] your phone and do Section 2 step 15 with the update custom ROM zip file, then do step γ
Spoiler: ADB sideload
A)
B) Connect phone USB cable to PC.
C) On PC, navigate to folder C:\user\your user name\XiaomiADBFastbootTools\platform-tools\
D) Copy or drag the ROMs.zip files into the folder.
E) Hold keyboard Shift and mouse Right Click in the folder blank space, left click Open command window here
F) In the Command enter the following code in the command window:
adb sideload custom_ROM_name.zip
G) After it's done (shown on phone screen), continue step γ
γ) When done, do the following:
δ) Then Reboot System.
## End of Dirty flashing.
Donate if you find it helpful: paypal.me/pl1992aw
Unlock bootloader to do the followings.
Keep phone with more than 60% battery.
Section 3: Install Magisk (Root)
Install steps and methods were written by topjohnwu (Magisk author) here, but still putting picture guide for POCO X3 Pro.
Spoiler: Click to show
1. Download Magisk on you phone, click and install.
Spoiler
Or find this and tap it once
A) the Easy traditional custom recoveries way :
(PC/Computer is not needed)
Spoiler
2A. Rename the downloaded APK file extension to ZIP.
Magisk-vXX.X.apk
↓
Magisk-vXX.X.zip
Click to expand...
Click to collapse
3A. Reboot to custom recoveries (TWRP, OrangeFox, etc)
3A-α) manually
Spoiler
Power off your phone, wait until screen turns black,
press and hold Vol+ and Power button Together (most Xiaomi/Redmi/Poco phones) until screen turns on.
(Picture from GSMarena)
keep holding Vol+ button, release Power button until booted into recovery.
3A-β) or with PC program/command
Spoiler
4A. In custom recovery on phone, tap Install
Spoiler
5A. In Download folder, tap on Magisk-vXX.X.zip.
Swipe to confirm Flash
Wait until it's done
6A. Wipe cache/dalvik
Then Reboot System
B) the Pro Patch image way :
(PC/Computer used)
Spoiler
2B. Choose boot.img and extract from custom Rom/MIUI Rom on PC which match current phone OS.
Connect phone to PC and copy that boot.img into phone Download folder.
3B. In Magisk app, click Install. Select and Patch a file.
Spoiler
4B. Copy the patched file to PC somewhere easy to find.
5B. Open PC program XiaomiADBFastbootTools
1) Select image magisk_patched-*****_*****.img
2) confirm selecting the patched image file name
3) choose boot partition in next drop down menu
4) Flash Image into boot partition, Yes.
Wait for "Writing 'boot' OKAY"
6B. Reboot to system
7. Go into Magisk app and check if it's installed.
Spoiler
8. Voila... or can do something more (Didn't feel the difference, though it said Recommended)
9. Reboot. Voila! Enjoy Magisk
##End of Magisk (Root) installation.
Section 3.5: Update Magisk
For Poco X3 Pro, repeat Section 3.
Donate if you find it helpful: paypal.me/pl1992aw
Reserved... Maybe for troubleshoot
Q. Why not use Mi-Flash?
A. Because one may easily accidently Clean All and Lock with different region MIUI and brick the device.
Go Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 and see how many users brick their device using Mi-Flash.
Be sure to check ARB index of MIUI.
Q. Why flash MIUI with TWRP not Fastboot?
A. To check you actually had unlocked bootloader. Without unlocked bootloader, you shouldn't be able to boot into TWRP.
Q. Widevine issues?
A. Read threads in spoiler:
Spoiler
You can have Widevine L1 on custom Roms.
https://forum.xda-developers.com/t/4267263/page-2#post-84919939
You can lost Widevine L1 on official MIUI Roms even without unlocking or root.
https://forum.xda-developers.com/t/4281695/
Devices supporting Widevine L1 certificate renewal officially:
POCO X3 Pro (vayu) [Stable V12.5.1.0.RJUMIXM+]
* Cetain devices have been losing Widevine L1 certificate randomly. The reason is unknown to us.
* Certificate renewal is done via Settings -> Passwords & security -> Fingerprint unlock -> Fingerprint payments -> Widevine (L1)
https://xiaomi.eu/community/threads/info-widevine-l1-support.61064/
If your device haven't officially receive MIUI update to 12.5.1.0, try Xiaomi.eu
Read also:
https://xiaomi.eu/community/threads/info-widevine-l1-support.61064/#post-606155
Thanks for your efforts bro..
i just unlocked the bootloader of my poco x3 pro 6/128 global stable(VAYU) and tired to root it with Magisk method before that i found a patched file of boot image from a post and i just directly did the flashing now its stuck in the MIUI logo dont know what to do next anyone can help me out with this,,, and im going to attached the boot image aswell try to look at it if its fine and what should i do next.
Faysal_khan_070 said:
i just unlocked the bootloader of my poco x3 pro 6/128 global stable(VAYU) and tired to root it with Magisk method before that i found a patched file of boot image from a post and i just directly did the flashing now its stuck in the MIUI logo dont know what to do next anyone can help me out with this,,, and im going to attached the boot image aswell try to look at it if its fine and what should i do next.
Click to expand...
Click to collapse
Are you sure your phone is Global? Which country?
What version of MIUI?
How did you flash your boot image?
What partition did you flash the boot image into?
Were you using this one? If yes, flash the boot.img from here into your phone boot partition and see if your phone can boot up.
Boot your phone into Fastboot or TWRP. If you can, there's still hope. Do the step in above Unlock bootloader step 18.
pl1992aw said:
Are you sure your phone is Global? Which country?
What version of MIUI?
How did you flash your boot image?
What partition did you flash the boot image into?
Were you using this one? If yes, flash the boot.img from here into your phone boot partition and see if your phone can boot up.
Boot your phone into Fastboot or TWRP. If you can, there's still hope. Do the step in above Unlock bootloader step 18.
Click to expand...
Click to collapse
YES, im dam sure its GLOBAL and im from Pakistan.
it was the MIUI 12.0.4 BUT Before unlocking it i updated to MIUI 12.0.6
ok so i just followed the MAGISK method and i downloaded a patched file from a post now i don't know where to find that post but it was for the MIUI 12.0.6 so i started to flash it through fastboot mode with a PC and i was done with it but when i pass on the command to reboot my phone it took so much time and then i released that it was stuck there in the LOGO . now im downloading the full ROM of miui 12.0.6(fasboot) to see if i can patch the boot image from there and hope it work.
Faysal_khan_070 said:
YES, im dam sure its GLOBAL and im from Pakistan.
it was the MIUI 12.0.4 BUT Before unlocking it i updated to MIUI 12.0.6
ok so i just followed the MAGISK method and i downloaded a patched file from a post now i don't know where to find that post but it was for the MIUI 12.0.6 so i started to flash it through fastboot mode with a PC and i was done with it but when i pass on the command to reboot my phone it took so much time and then i released that it was stuck there in the LOGO . now im downloading the full ROM of miui 12.0.6(fasboot) to see if i can patch the boot image from there and hope it work.
Click to expand...
Click to collapse
How you going to patch boot image if you cannot get into MIUI and use Magisk to patch boot.img?
You will need another phone to do that though.
Safe way is to do a complete clean data format and flash MIUI Rom.
i have another phone to patch it but the problem is what version should be used for patching magisk 22 or the latest one? how to flash miui rom and can i now go back to miui 12.0.4?
pl1992aw said:
Are you sure your phone is Global? Which country?
What version of MIUI?
How did you flash your boot image?
What partition did you flash the boot image into?
Were you using this one? If yes, flash the boot.img from here into your phone boot partition and see if your phone can boot up.
Boot your phone into Fastboot or TWRP. If you can, there's still hope. Do the step in above Unlock bootloader step 18.
Click to expand...
Click to collapse
i flashed the boot image from this attachment and its still stuck in there.
Faysal_khan_070 said:
i have another phone to patch it but the problem is what version should be used for patching magisk 22 or the latest one? how to flash miui rom and can i now go back to miui 12.0.4?
Click to expand...
Click to collapse
Now my suggestion is to do a Clean complete Rom install. So all your data and files will be gone.
If you agree to clean all your data, follow above Clean Flash custom ROMs. Start from step 8. When you need to get into Fastboot, do it manually.
You don't need to download ArrowOS. Download MIUI 12.0.6.0 Recovery Rom and flash through TWRP.
Don't think of Magisk and MIUI 12.0.4.0 just yet. First get back to be able to see MIUI working.
Do I have to keep a SIM card in the phone throughout the entire unlock process? I would be taking it out of my actual daily driver phone so I'm just curious
spookykidmm said:
Do I have to keep a SIM card in the phone throughout the entire unlock process? I would be taking it out of my actual daily driver phone so I'm just curious
Click to expand...
Click to collapse
You don't have to keep that SIM card after you done Unlock bootloader step 6.
You can remove your SIM card once step 6 was done. But you still need to have the number accessible to receive SMS if Mi-Account ask for verification.
Did you lose anything by unlocking bootloader? Like Widevine or something. Also, any special partition or file one should backup before unlocking (Not counting user data)? In Sony phones user have to backup TA partition or they will lose some features.
Thanks in advance
Rapier- said:
Did you lose anything by unlocking bootloader? Like Widevine or something. Also, any special partition or file one should backup before unlocking (Not counting user data)? In Sony phones user have to backup TA partition or they will lose some features.
Thanks in advance
Click to expand...
Click to collapse
Loss from Unlocking bootloader is written in above tutorial.
Partition backup is generally not needed if you do things correctly. For now, even if you have full backup of qcn, maybe can't even restore.
Read here: https://forum.xda-developers.com/t/4276823/post-85014473
Widevine issue, Read both:
You can have Widevine L1 on custom Roms.
https://forum.xda-developers.com/t/4267263/page-2#post-84919939
You can lost Widevine L1 on official MIUI Roms even without unlocking or root.
https://forum.xda-developers.com/t/4281695/
How can I use the Xiaomi Unlock tool on GNU/Linux? I tried using Wine, but I cannot log in.
wertguygywe said:
How can I use the Xiaomi Unlock tool on GNU/Linux? I tried using Wine, but I cannot log in.
Click to expand...
Click to collapse
Third party unlock tools that claim works on Linux and Mac. Trust it or not is your decision, can't tell you about it since it's 3rd party. Didn't use it before.
[TOOL][WIN/LIN/MAC] MiUnlockTool - Unlock bootloader of xiaomi devices on mac & linux
[TOOL][WIN/LIN/MAC] MiUnlockTool - Unlock bootloader of xiaomi devices on mac & linux Ciao xda users, I'm here to introduce a new tool of mine, MiUnlockTool. MiUnlockTool is an unofficial tool used to unlock bootloader on Xiaomi devices. This...
forum.xda-developers.com
Or find a Windows PC.
Or find USB drive and make a Windows To Go bootable disk. With this, you can boot from USB that contains Windows inside while not removing your Linux and MacOS.
Xiaomi Unlock tool (provided by Xiaomi officially) had only designed for Windows.
I have the latest arrow os on poco x3 pro now. But magisk failed to be installed.
It rebooted fastboot mode repeatedly after flashing magisk_patched_[random_strings].img.
If I flash original boot.img, it can be rebooted to system.
Below are some error in magisk install log I think:
cp: can't preserve ownership of 'busybox': Operation not permitted
cp: can't preserve ownership of 'magisk32': Operation not permitted
cp: can't preserve ownership of 'magisk64': Operation not permitted
cp: can't preserve ownership of 'magiskboot': Operation not permitted
cp: can't preserve ownership of 'magiskinit': Operation not permitted
This does not work due to a bad Java dependency. @
pl1992aw​

How To Guide [All-in-One] Xiaomi 13 (fuxi): Unlock Bootloader, Root, Flash TWRP, Flash ROM

[All-in-One] Xiaomi 13 (fuxi): Unlock Bootloader, Root, Flash TWRP, Flash ROM
Dear Xiaomi 13 user,
I'm not responsible if anything happens to your device. If you execute these AiO procedures properly then you shouldn't face any problems. Before you proceed please back up all your important data and make sure that your phone battery is charged >80%!
A. Prerequisites:
1. Install ADB and Fastboot tools with drivers on Windows
How to do this please read here: https://forum.xda-developers.com/t/...vers-15-seconds-adb-installer-v1-4-3.2588979/
Restart your computer.
2. Enable "OEM unlocking" and "USB debugging" in your device
a. Enable Developer Options in: Settings/About Phone/MIUI version. Click on MIUI version 7 or 8 times
b. Now go to: Settings/Additional Settings/Developer Options and check "OEM unlocking" and "USB debugging"
3. Create a Mi Account
If you don’t have a Mi Account, then create one here: https://account.xiaomi.com
4. Connect your Mi Account to your device
Go to: Settings/Additional Settings/Developer Options/Mi Unlock status and check "Add account and device"
B: Unlock the Bootloader
Unlocking the bootloader will erase all your data! So please back up your data before you unlock the bootloader!
1. You must enable "OEM unlocking" and "USB debugging" as per point A.2.
2. You must connect your Mi Account with your device as per point A.4.
3. Download Mi Unlock Tool here: https://en.miui.com/unlock/index.html
4. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable)
5. Start the Mi Unlock Tool
6. Enter your eMail and your password of your Mi Account (the same account which you added to your device - Point A.4.)
7. Connect you device to your computer and start the unlock procedure
8. Follow the unlock tool instructions until the unlock procedure is finished
9. Reboot your device
C: Root Your MIUI ROM without TWRP
1. Your Bootloader must be unlocked (see Point B)
2. You must enable "OEM unlocking" and "USB debugging" as per point A.2.
3. Download the fastboot ROM (the same ROM currently installed in your device) from here: https://xiaomifirmwareupdater.com/miui/fuxi/ and unzip it.
4. Open the file and extract the "init_boot.img" on to your computer.
5. Transfer the “init_boot.img” from your computer on to your device
6. Download the latest Magisk manager App from here: https://github.com/topjohnwu/Magisk and install it on to your device.
7. Open Magisk App and click install, and then "select and patch a file" (of course you select “init_boot.img”)
8. Transfer the patched boot.img file from your device’s download folder on to the “ADB and Fastboot” folder in your computer. In the computer rename the patched file into: “patched_boot.img”
9. Switch off your device. Now enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer
10. Go to “ADB and Fastboot” folder in your computer and open a command window inside that folder.
Enter the terminal command in command line: >>fastboot boot patched_boot.img<< and hit enter. Now the device will restart.
Attention your device is now only temporary rooted, so don’t restart your device just yet. Find Magisk app in your device, open it, click “install” and then check “direct install”, then press “let’s go”. Magisk will now install and make the root permanent. Now click “reboot” and the device will restart.
If this procedure doesn't work with the file “init_boot.img”, then use the file “boot.img” instead and follow the same procedure.
D: Install A Xiaomi.eu ROM
1. Your Bootloader must be unlocked (see Point B)
2. You must enable "OEM unlocking" and "USB debugging" as per point A.2.
3. Download and put onto your computer the Xiaomi.eu ROM (please select fuxi) from here: https://sourceforge.net/projects/xi...files/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv14/ and unzip it.
4. Switch off your device. Now enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer.
5. In your computer (in the Xiaomi.eu ROM folder) please click the file: “windows_fastboot_first_install_with_data_firmat.bat" (if you’re using windows, or press the proper file if you’re using mac or linux) and computer will do the rest. The device will restart.
E: Root Your Xiaomi.eu ROM without TWRP
1. Your Bootloader must be unlocked (see Point B)
2. You must enable "OEM unlocking" and "USB debugging" as per point A.2.
3. Pls find in your computer the downloaded and unzipped hybrid Xiaomi.eu ROM from Point D.2.
4. Find the file “init_boot.img” and transfer it on to your device
5. Download the latest Magisk manager App from here: https://github.com/topjohnwu/Magisk and install it on to your device.
6. Open Magisk App and click install, and then "select and patch a file" (of course you select “init_boot.img”)
7. Transfer the patched “init_boot.img” file from your device’s download folder on to the “ADB and Fastboot” folder in your computer. In the computer rename the patched file into: “patched_boot.img”
8. Switch off your device. Now enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer
9. Go to “ADB and Fastboot” folder in your computer and open a command window inside that folder.
Enter the terminal command in command line: >>fastboot boot patched_boot.img<< and hit enter. Now the device will restart.
Attention your device is now only temporary rooted, so don’t restart your device just yet. Find Magisk app in your device, open it, click “install” and then check “direct install”, then click “let’s go”. Magisk will now install and make the root permanent. Now click “reboot” and the device will restart.
If this procedure doesn't work with the file “init_boot.img”, then use the file “boot.img” instead and follow the same procedure.
F: Install TWRP
To be updated once the official TWRP for this device is available.
G: Install A Custom ROM
To be updated once official custom ROMs (Lineage etc.) for this device are available.
H: Return To MIUI
1. Your Bootloader must be unlocked (see Point B)
2. You must enable "OEM unlocking" and "USB debugging" as per point A.2.
3. Download and put onto your computer the latest fastboot ROM from here: https://xiaomifirmwareupdater.com/miui/fuxi/ and unzip it.
4. Switch off your device. Now enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer.
5. In your computer (in the folder where you have put your ROM) please click the file:
a. “flash_all.bat" (if you want to make a clean install but keep the bootloader unlocked).
b. “flash_all_except_storage" (if you want to make a clean install but keep your data and maintain the bootloader unlocked).
c. “flash_all_lock" (if you want to make a clean install and lock the bootloader).
In all three cases (a., b., c.) when flashing is finished, restart your device.
If my guide helped you, please click "thanks" and enjoy your phone.
Frequently Asked Questions (FAQ):
1. Waiting time to unlock the bootloader
Q. If I receive the message: "unlocking can be done after 72h or 168h or 360h etc.". Is there a way to skip this waiting time?
A: Unfortunately you have to wait for that time to pass. There’s no way around it (that I know of). It seems like new and never used (to unlock bootloader) accounts receive a shorter waiting time.
2. Unlock procedure stops at 99%
Q: If my unlock procedure stops at 99%, what could be the problem?
A: Most problay you're using two different Xiaomi accounts. You have to use the same account that you have added into the device also in the unlock tool otherwise it will not work.
3. Recommended ad-blocker (for rooted devices)
Q: I want to block the advertisement in all apps, what app can you recommend?
A: If you decide to root your device, then you can install AdAway from here: https://adaway.org/. In order for AdAway to work properly please add in the Magisk App the Systemless Hosts (Magisk/Settings/Systemless Hosts).
4. Retaining the root after ROM update
Q: If I root my device as per point C, E of the AiO and I install a system update in my device, is the root still available?
A: Unfortunately root will be removed after the system update. So you have to repeat the procedure in point C, E.
I need to correct you, sorry. After manny tries, unlocking xiaomi 13 is:
you mod boot.img and init_boot.img with magisk
fastboot flash init_boot *init_boot_moded.img*
fastboot flash boot_ab *boot_moded.img*
fastboot reboot
Unfortunately root has no full access, no access to /system so android auto, even if moded to system app not working. build.prop also not editable by any way
I got stock builds from https://xiaomistockrom.com/xiaomi-13
tried on 14.0.4 and 14.0.9
At some point something went wrong and phone went in fastboot loop reboot. Susccesfully flashed using MiFlash20220218
me_Alex said:
I need to correct you, sorry. After manny tries, unlocking xiaomi 13 is:
you mod boot.img and init_boot.img with magisk
fastboot flash init_boot *init_bootmoded.img*
fastboot flash boot_ab *bootmoded.img*
fastboot reboot
Unfortunately root has no full access, no access to /system so android auto, even if moded to system app not working. build.prop also not editable by any way
Click to expand...
Click to collapse
With A13 the system remains in read only.
Twrp unofficial released
huntersun said:
Twrp unofficial released
Click to expand...
Click to collapse
Where?
NOSS8 said:
Where?
Click to expand...
Click to collapse
Xiaomi13-TWRP_3.7.0-A13.img
drive.google.com
NOSS8 said:
Where?
Click to expand...
Click to collapse
fastboot flash recovery_ab Xiaomi13-TWRP_3.7.0-A13.img
huntersun said:
fastboot flash recovery_ab Xiaomi13-TWRP_3.7.0-A13.img
Click to expand...
Click to collapse
If the link does not lead to the download and requires a subscription to TG, you must edit your post and delete the link. XDA rules.
But you can put it online via a cloud.
NOSS8 said:
If the link does not lead to the download and requires a subscription to TG, you must edit your post and delete the link. XDA rules.
But you can put it online via a cloud.
Click to expand...
Click to collapse
Already fixed
me_Alex said:
I need to correct you, sorry. After manny tries, unlocking xiaomi 13 is:
you mod boot.img and init_boot.img with magisk
fastboot flash init_boot *init_boot_moded.img*
fastboot flash boot_ab *boot_moded.img*
fastboot reboot
Unfortunately root has no full access, no access to /system so android auto, even if moded to system app not working. build.prop also not editable by any way
I got stock builds from https://xiaomistockrom.com/xiaomi-13
tried on 14.0.4 and 14.0.9
At some point something went wrong and phone went in fastboot loop reboot. Susccesfully flashed using MiFlash20220218
Click to expand...
Click to collapse
The reason behind the system partition being unreadable is that Xiaomi is using the new EROFS filesystem, instead of the old ext4. EROFS provides way faster reading and writing speeds, as well as saving space by compressing files dynamically. EROFS stands for Enhanced Read Only File System, so as the name suggests, there's no workaround to edit system files unless you have magisk.
More on EROFS:
EROFS - Wikipedia
en.wikipedia.org
huntersun said:
Twrp unofficial released
Click to expand...
Click to collapse
Do you have the device tree for TWRP? I want to build some ROMs for fuxi.
mnitpro said:
Do you have the device tree for TWRP? I want to build some ROMs for fuxi.
Click to expand...
Click to collapse
Please ask YuKongA, he have device tree, kernel,... But he was hide the gits.
YuKongA/kernel_xiaomi_fuxi
Contribute to YuKongA/kernel_xiaomi_fuxi development by creating an account on GitHub.
github.com
huntersun said:
Please ask YuKongA, he have device tree, kernel,... But he was hide the gits.
YuKongA/kernel_xiaomi_fuxi
Contribute to YuKongA/kernel_xiaomi_fuxi development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Thanks a lot for sharing. I'll reach out to him.
mnitpro said:
Do you have the device tree for TWRP? I want to build some ROMs for fuxi.
Click to expand...
Click to collapse
Hey bro, does your build plan include pixel experience? I would love to experience it on Mi 13.
TWRP for FUXI
https://forum.xda-developers.com/t/shared-twrp-by-skkk.4549573/
Whats Xiaomis current policy about root and warranty, i remember they used to be "friendly" about it.
Wish they shortened the unlock waiting time to couple of hours, i'd consider another Xiaomi again. Last one was Xiaomi 9, I had to wait 2 weeks while phone being unused (not rooted = insecure).
Dumb question:
If i unlocked bootloader, flashed another rom (like global or EU) , can i relock it ?
And later, if i want to unlock it again, do i have to wait another 7 days?
Dark Hunter said:
Dumb question:
If i unlocked bootloader, flashed another rom (like global or EU) , can i relock it ?
And later, if i want to unlock it again, do i have to wait another 7 days?
Click to expand...
Click to collapse
You can lock the bootloader only with stock roms.
Chinese model, locking possible only with a CN rom.
Global model, all roms except CN.
No 7 day waiting period if you use the same account.
senerex said:
[All-in-One] Xiaomi 13 (fuxi): Unlock Bootloader, Root, Flash TWRP, Flash ROM
...
E. Install A Custom ROM
To be updated once official custom ROMs (Lineage etc.) for this device are available.
Click to expand...
Click to collapse
I'm holding off on buying a global device for if/when AOSP custom ROMs come out.
Thanks for the thread!

Categories

Resources