[ROM] [TUTORIAL] HOW TO INSTALL LINEAGEOS 16 BETA 6 NO GAPPS ON HUAWEI DEVICES - Huawei Nova 2i (Mate 10 Lite / Honor 9i) ROMs, Ker

[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.

Related

[GUIDE] How to flash MIUI 10 build on your phone

NOTE:
This guide is meant for this thread: https://forum.xda-developers.com/nokia-7-plus/development/9-0-miui-10-nokia-fihgsisdm66064-t3900312
This guide may unusable on newer builds in the future.
In case you want to restore back to stock, firmware can be downloaded from https://fih-firmware.hikaricalyx.com/index_en.html and you can flash it with either patched OST LA or NOST.
It's tested on following models:
PL2 Nokia 6.1 TA-1054
DRG Nokia X6 TA-1099
C1N Nokia 7 TA-1041
B2N Nokia 7 Plus TA-1062
Flash it at your own risk if your type is not listed above.
To Chinese users:
请点击下面的链接阅读中文版教程。
如需转载请通过 Coolapk 私聊联系我。
Please read Chinese guide from here: https://www.coolapk.com/feed/103010...id=1121588&shareFrom=com.coolapk.market_9.0.1
Click to expand...
Click to collapse
Let me introduce you how to flash MIUI build.
In this guide, we will take "Nokia-miui10-2019-02-13.img.xz" build for example.
Part 1: Bootloader Unlock
I won't introduce you how to unlock the bootloader for your phones here.
Part 2: Install latest Android Pie build
I'm not sure about latest Android Pie build for Global Android One Devices, but AFAIK the Chinese builds we've tested are all [fih_codename]-347C-0-00CN-B04, January 2019 Update.
Make sure you have installed this build.
For your convenience, you can download following full OTA that we tested:
B2N-347C-0-00CN-B04: https://ota-filesite.c2dms.com/SWImage/500002276
Part 3: Flash the system itself
Download packages from ROM topic, and make sure you have extracted the img.xz file.
You must use Platform Tools provided by Google: https://developer.android.com/studio/releases/platform-tools
I'm not sure if Minimal ADB and Fastboot package is usable.
Boot your phone to Fastboot / Download mode, then execute this command:
Code:
.\fastboot flash system D:\Nokia-miui10-2019-02-13.img
To flash the system image to your current slot, no matter if it's slot A or B.
Format the userdata partition and reboot bootloader again to prevent temporarily boot failure:
Code:
.\fastboot -w reboot-bootloader
Part 4: Install permission patches to patch vendor, and root it
Boot into TWRP temporarily, but it depends on you if you want to install TWRP permanently:
Code:
https://forum.xda-developers.com/nokia-7-plus/development/recovery-twrp-3-2-3-0-t3892644
In this example we do not install TWRP permanently.
Swipe the button to allow system modification, and connect your phone to PC, copy FBE_Disabler.zip, Magisk-v18.1.zip, Permissiver_v2.zip and vendor-2019-02-16.zip you downloaded to internal storage of your phone.
In case you want to ask, Magisk can be downloaded from https://github.com/topjohnwu/Magisk/releases
Click to expand...
Click to collapse
Tap "Mount" on your phone and check both "vendor" and "system" partition to mount them.
Click back, Tap "Install", and install these 4 zip packages in character order.
After installed, please reboot your phone and ignore the TWRP Official App installation prompt.
Please wait at least 3 minutes for booting.
After your phone boots, you'll find the default language is Simplified Chinese. Here's how to to change the language to non-Chinese:
- Open "设置" (Settings)
- Tap "更多设置" (More Settings)
- Tap "语言和输入法" (Languages and Input)
- Tap "语言" (Language)
- Choose your own language
Hope you can find it lol.
Then, please download and install Magisk Manager on your phone and reboot your phone.
Part 5: Fix Xiaomi Account issue, and GMS feature
Copy "MIUI_Account_Fix.zip" to Download directory of internal storage, and add this as Magisk Module under Magisk Manager, then reboot.
If it's too difficult for you to enter your phone to MTP mode, here's the trick:
- Connect your phone to PC when screen UNLOCKED
- When the phone prompts "USB is connected", tap the prompt
- Tap "Data Transfer (MTP)"
- You may need to drag the notification center and choose again
- Copy required files
Click to expand...
Click to collapse
Copy gms.apk to your phone and install it on your phone directly. Install it may take few minutes and please wait patiently. After installation completed, you can login both Xiaomi Account and Google Account properly.
I needn't to mention how to replace the camera, it's pretty easy.
That wraps up the whole guide.
Done a nice work mate ...
Wondering if this could run on the Aquos S3 6/128 .. it's basically the same hardware
henri_p said:
Wondering if this could run on the Aquos S3 6/128 .. it's basically the same hardware
Click to expand...
Click to collapse
No you can't, as I've tested it on Sharp Aquos S2 SS2 and SAT.
FIH already abandoned both S2 and S3 and they even don't release Android 9.0 for them unlike Japanese Sharp Android One devices.
Pretty much sucks, I have an S3 6/128 with locked bootloader, seems it sadly going to stay at Oreo with that silly UI on top of it :crying: ... too bad, the device looks great and is of a good quality built
can i flash at without bootunlocked i have nokia 7
Faisal kacho said:
can i flash at without bootunlocked i have nokia 7
Click to expand...
Click to collapse
No
k3dar7 said:
No
Click to expand...
Click to collapse
Thankz If i use ost tOol then
In my nokia 6.1 plus it couldn't install .. when i try to flashing system img file its eror volume full ..
Can anyone fixed this problem?
can i install this gsi on my nokia 7 plus global version?
Hr bro, I get the same error as u mentioned above. Please reply back if u have succeeded.
---------- Post added at 09:49 AM ---------- Previous post was at 09:47 AM ----------
rahul387 said:
In my nokia 6.1 plus it couldn't install .. when i try to flashing system img file its eror volume full ..
Can anyone fixed this problem?
Click to expand...
Click to collapse
Hi bro, I get the same error as mentioned above reply back if u have succeeded.
how to
@hikari_calyx
how to flash [fih_codename]-347C-0-00CN-B04, January 2019 Update. ? i try OST6.2.8 but not flash finish
my device DRG Nokia X6 TA-1099 (00CN_2_21F) bootloader unlock
help my how can i flash 347C-0-00CN-B04
today i download DRG-347C-0-00CN-B04.full.Zip and trying but failed
how can i installed MIUI help me
hikari_calyx said:
NOTE:
This guide is meant for this thread: https://forum.xda-developers.com/nokia-7-plus/development/9-0-miui-10-nokia-fihgsisdm66064-t3900312
This guide may unusable on newer builds in the future.
In case you want to restore back to stock, firmware can be downloaded from https://fih-firmware.hikaricalyx.com/index_en.html and you can flash it with either patched OST LA or NOST.
It's tested on following models:
PL2 Nokia 6.1 TA-1054
DRG Nokia X6 TA-1099
C1N Nokia 7 TA-1041
B2N Nokia 7 Plus TA-1062
Flash it at your own risk if your type is not listed above.
Let me introduce you how to flash MIUI build.
In this guide, we will take "Nokia-miui10-2019-02-13.img.xz" build for example.
Part 1: Bootloader Unlock
I won't introduce you how to unlock the bootloader for your phones here.
Part 2: Install latest Android Pie build
I'm not sure about latest Android Pie build for Global Android One Devices, but AFAIK the Chinese builds we've tested are all [fih_codename]-347C-0-00CN-B04, January 2019 Update.
Make sure you have installed this build.
For your convenience, you can download following full OTA that we tested:
B2N-347C-0-00CN-B04: https://ota-filesite.c2dms.com/SWImage/500002276
Part 3: Flash the system itself
Download packages from ROM topic, and make sure you have extracted the img.xz file.
You must use Platform Tools provided by Google: https://developer.android.com/studio/releases/platform-tools
I'm not sure if Minimal ADB and Fastboot package is usable.
Boot your phone to Fastboot / Download mode, then execute this command:
Code:
.\fastboot flash system D:\Nokia-miui10-2019-02-13.img
To flash the system image to your current slot, no matter if it's slot A or B.
Format the userdata partition and reboot bootloader again to prevent temporarily boot failure:
Code:
.\fastboot -w reboot-bootloader
Part 4: Install permission patches to patch vendor, and root it
Boot into TWRP temporarily, but it depends on you if you want to install TWRP permanently:
Code:
https://forum.xda-developers.com/nokia-7-plus/development/recovery-twrp-3-2-3-0-t3892644
In this example we do not install TWRP permanently.
Swipe the button to allow system modification, and connect your phone to PC, copy FBE_Disabler.zip, Magisk-v18.1.zip, Permissiver_v2.zip and vendor-2019-02-16.zip you downloaded to internal storage of your phone.
Tap "Mount" on your phone and check both "vendor" and "system" partition to mount them.
Click back, Tap "Install", and install these 4 zip packages in character order.
After installed, please reboot your phone and ignore the TWRP Official App installation prompt.
Please wait at least 3 minutes for booting.
After your phone boots, you'll find the default language is Simplified Chinese. Here's how to to change the language to non-Chinese:
- Open "设置" (Settings)
- Tap "更多设置" (More Settings)
- Tap "语言和输入法" (Languages and Input)
- Tap "语言" (Language)
- Choose your own language
Hope you can find it lol.
Then, please download and install Magisk Manager on your phone and reboot your phone.
Part 5: Fix Xiaomi Account issue, and GMS feature
Copy "MIUI_Account_Fix.zip" to Download directory of internal storage, and add this as Magisk Module under Magisk Manager, then reboot.
Copy gms.apk to your phone and install it on your phone directly. Install it may take few minutes and please wait patiently. After installation completed, you can login both Xiaomi Account and Google Account properly.
I needn't to mention how to replace the camera, it's pretty easy.
That wraps up the whole guide.
Click to expand...
Click to collapse

[PE-TL10] [BOOTLOADER] Alternative procedure to unlock bootloader

Hello!
For all of PE-TL10 Honor 6 Plus people, this is a procedure I tried to unlock the bootloader.
As you know, you cannot anymore ask Huawei for the unlock code. If you like me are in this condition, try this procedure.
It is the same procedure you can find here: https://forum.xda-developers.com/p8lite/general/alternative-method-unlocking-bootloader-t3799294
with just a little edit for this device. So full credits must go to @@NayeBunny. Well done mate!
CAUTION: YOU WILL LOSE ALL OF DATA. DO A BACKUP FIRST!!!!
STEP 1 - Rollback
You need to be on Lollipop 5.1.1., EMUI 3.1. I tried this procedure in firmware B332.
If you are already on Marshmallow, EMUI 4.0, then do the following:
- go to https://www.hihonor.com/my/support/phones/honor6plus/
click on the choice menu "HONOR 6 Plus Dual SIM 3GB+32GB (PE-TL10)"
You will find 2 options which are equal. Choose the second one (will return more firmwares to download)
Click on Firmware Download
Download BOTH HONOR 6+ RollBack Package Android Marshmallow to Android Lollipop and HONOR 6 Plus Firmware (PE-TL10, Android 5.1.1, EMUI 3.1, C900B332, South Pacific, Channel-Others)
You will find instructions anyway the procedure is this:
- unpack the Rollback package and extract the UPDATE.APP file into a "dload" folder which must be in the root of your INTERNAL STORAGE (I have read various posts about putting it in the sdcard*, I put this in internal storage and worked)
* maybe because it is intended /sdcard/ , anyway not the external storage.
- turn off phone
- press vol+ vol- and power togheter (you can release power button when the Honor logo appears, but keep the volume buttons pressed until you get the EMUI update screen
When it's done, unpack the UPDATE.APP of the other package and put in the dload folder of the phone (of course delete the previous one!)
Do the force update procedure as before.
STEP 2: Root
We need to be rooted.
I used Kingroot for it: https://forum.xda-developers.com/devdb/project/dl/?id=29834
You can find instruction here: https://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
STEP 3: the magic code
Now we are all set up, you need to activate USB Debug first (or download a ADB package as in the first link I provided).
Just go to Settings - Phone info and click repeatedly on Series Number (the second line, below model number) until you get developer options turned on.
Go back, open Developer Options and turn USB Debug on. Authorize your computer when you connect the USB cable.
Now, do this:
Code:
adb shell
Then
Code:
su -c "grep -m1 -aoE 'WVLOCK.{14}[0-9]{16}' /dev/block/mmcblk0p6 |grep -aoE '[0-9]{16}'"
(here is the difference, the code info is in mmcblk0p6 in this phone)
If all goes well it will be returned a quite long number. Copy it.
Exit the shell (typing "exit", pressing CTRL+D...) and then
Code:
adb reboot bootloader
And finally
Code:
fastboot oem unlock ****************
in place of the stars paste the number you got.
I did this procedure and I unlocked my bootloader. Let me know if it works for you!
I hope this can help people to develop good ROMs for this great device!
Sorry for the necro.. but does this method works on Honor 6A Pro for unlocking the bootloader ?
shah22 said:
Sorry for the necro.. but does this method works on Honor 6A Pro for unlocking the bootloader ?
Click to expand...
Click to collapse
Hi,
no idea... just have a try!
As per original post, the procedure to unlock bootloader should be equal for the P8 and for other Huawei devices (like the PE-TL10): maybe just the location of the code info could be different (mmcblk0p6)
can some one provide the links for same device please?
PE-TL10 area c185​I couldn't find no where!
osd_daedalus said:
Hello!
For all of PE-TL10 Honor 6 Plus people, this is a procedure I tried to unlock the bootloader.
As you know, you cannot anymore ask Huawei for the unlock code. If you like me are in this condition, try this procedure.
It is the same procedure you can find here: https://forum.xda-developers.com/p8lite/general/alternative-method-unlocking-bootloader-t3799294
with just a little edit for this device. So full credits must go to @@NayeBunny. Well done mate!
CAUTION: YOU WILL LOSE ALL OF DATA. DO A BACKUP FIRST!!!!
STEP 1 - Rollback
You need to be on Lollipop 5.1.1., EMUI 3.1. I tried this procedure in firmware B332.
If you are already on Marshmallow, EMUI 4.0, then do the following:
- go to https://www.hihonor.com/my/support/phones/honor6plus/
click on the choice menu "HONOR 6 Plus Dual SIM 3GB+32GB (PE-TL10)"
You will find 2 options which are equal. Choose the second one (will return more firmwares to download)
Click on Firmware Download
Download BOTH HONOR 6+ RollBack Package Android Marshmallow to Android Lollipop and HONOR 6 Plus Firmware (PE-TL10, Android 5.1.1, EMUI 3.1, C900B332, South Pacific, Channel-Others)
You will find instructions anyway the procedure is this:
- unpack the Rollback package and extract the UPDATE.APP file into a "dload" folder which must be in the root of your INTERNAL STORAGE (I have read various posts about putting it in the sdcard*, I put this in internal storage and worked)
* maybe because it is intended /sdcard/ , anyway not the external storage.
- turn off phone
- press vol+ vol- and power togheter (you can release power button when the Honor logo appears, but keep the volume buttons pressed until you get the EMUI update screen
When it's done, unpack the UPDATE.APP of the other package and put in the dload folder of the phone (of course delete the previous one!)
Do the force update procedure as before.
STEP 2: Root
We need to be rooted.
I used Kingroot for it: https://forum.xda-developers.com/devdb/project/dl/?id=29834
You can find instruction here: https://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
STEP 3: the magic code
Now we are all set up, you need to activate USB Debug first (or download a ADB package as in the first link I provided).
Just go to Settings - Phone info and click repeatedly on Series Number (the second line, below model number) until you get developer options turned on.
Go back, open Developer Options and turn USB Debug on. Authorize your computer when you connect the USB cable.
Now, do this:
Code:
adb shell
Then
Code:
su -c "grep -m1 -aoE 'WVLOCK.{14}[0-9]{16}' /dev/block/mmcblk0p6 |grep -aoE '[0-9]{16}'"
(here is the difference, the code info is in mmcblk0p6 in this phone)
If all goes well it will be returned a quite long number. Copy it.
Exit the shell (typing "exit", pressing CTRL+D...) and then
Code:
adb reboot bootloader
And finally
Code:
fastboot oem unlock ****************
in place of the stars paste the number you got.
I did this procedure and I unlocked my bootloader. Let me know if it works for you!
I hope this can help people to develop good ROMs for this great device!
Click to expand...
Click to collapse
It seems not working links anymore!
Hmmm...
Yes, I checked and those inks are linking elsewhere. Moreover, I can't find a mirror or another place hosting these files.
Sadly, I don't own amymore this phone and I deleted all of PE-TL10 files from my computer.
The only solution would be someone who downloaded these files, when they were available, to upload them somewhere.
My bad

Root (almost) every device with Magisk + Fastboot

ROOT (ALMOST) EVERY DEVICE WITH MAGISK + FASTBOOT
As an Android user, I understand how frustrating it will be when you desperately look for an exact rooting tutorial for your device but end up finding nothing, all one-click root tools do not work, or no custom recovery made for yours.
So, this tutorial shows you how to root a wide range of Android devices (not all, because there will be exceptions, I guess) with Magisk. First, we should take a look at the pros and cons, so that you can generally acknowledge this method.
---------------------------------------------------------------------------
PROS
- No custom recovery (TWRP, ClockworkMod,etc.) needed
- Easy to find prerequisites
- Successful root attempt CONFIRMED on my 10 devices (including popular devices, rare devices, and devices with OS based on Android)
- Support recent Android versions, including Android 10 (tested on Google Pixel XL).
CONS
- Phone brick might occur
- You might not find your device's firmware in .zip format, which will stop you from using this method.
- Not being able to unlock the bootloader (only on some device) will stop you from using this method, too.
That's about the pros and cons. I hope you guys all understand these points before going to read my tutorial and start your attempt.
---------------------------------------------------------------------------
REQUIREMENTS & STEPS
I. REQUIREMENTS
- Your device's Android version is 5.0 or up. If it's below 5.0, then you can root your device easily with any one-click tool.
- A computer & USB cable.
On your phone
- Download & install Magisk
- Download the exact firmware version (in .zip format) of your device and only extract the boot.img to any directory.
On your computer
- Download & install Fastboot, extract the folder to "Downloads" directory
- Download & install Android USB driver for Windows
(I am not sure if XDA allows inserting links in threads or not, so please search for these prerequisites on the internet, it is easy)
II. STEPS
1. Unlocking your phone's bootloader
- Open Settings > About phone > Tap on Build number about 7 times till you see a notification "You are now a developer"
- Now in the About phone tab, you can see the "Developer option". Tap on it and make sure:
+ the OEM unlocking is turned ON
+ The USB Debugging is turned On
- Plug your phone on your computer (with Fastboot & driver fully installed). Allow the USB Debugging notification on your phone
- Open Command Prompt on your computer. Enter commands below steps by steps:
cd Downloads
cd fastboot
adb reboot bootloader
(press Enter after each line to proceed)
- Your phone will reset to the bootloader menu after these commands. Next, enter this:
fastboot oem unlock
- A message asking you to make sure you want to unlock the bootloader. Use the volume and power button to choose "Yes". Your phone will reset data and reboot right after.
*Note: This method works on many Android devices, but doesn't on many devices. You might have to google a method for your own phone
2. Patching the boot.img file
After you extracted the boot.img from your device, use the Magisk app installed on your device to patch it up.
- Click the "Install" button on the first line
- Click "Select and Patch a file"
- Choose the boot.img file extracted. The patching progress will start right after.
- You will receive a file named "magisk_patched.img" after finished.
3. Flashing the "magisk_patched.img"
- Copy the "magisk_patched.img" into the Fastboot folder
- Reboot your phone to Bootloader mode by powering off and then hold Power + Volume down button simultaneously
- Open Command Prompt again, and type:
cd Downloads
cd fastboot
fastboot flash boot magisk_patched.img
- The flashing progress will begin. Wait until it finishes, and type the last command:
fastboot reboot
- Your phone will restart once again, and of course, with root access gained
---------------------------------------------------------------------------
UNROOT DEVICE
- If you want to unroot your device, you just have to flash the original boot.img file, with the same steps with flashing the magisk_patched.img!
---------------------------------------------------------------------------
This instruction is not truly detailed, so maybe you might encounter some difficulties at some point. If any, please feel free to leave your question below.
It is also the first time I create an instruction post, therefore I appreciate all of your comments. Thanks a lot <3
richarshub said:
ROOT (ALMOST) EVERY DEVICE WITH MAGISK + FASTBOOT
As an Android user, I understand how frustrating it will be when you desperately look for an exact rooting tutorial for your device but end up finding nothing, all one-click root tools do not work, or no custom recovery made for yours.
So, this tutorial shows you how to root a wide range of Android devices (not all, because there will be exceptions, I guess) with Magisk. First, we should take a look at the pros and cons, so that you can generally acknowledge this method.
---------------------------------------------------------------------------
PROS
- No custom recovery (TWRP, ClockworkMod,etc.) needed
- Easy to find prerequisites
- Successful root attempt CONFIRMED on my 10 devices (including popular devices, rare devices, and devices with OS based on Android)
- Support recent Android versions, including Android 10 (tested on Google Pixel XL).
CONS
- Phone brick might occur
- You might not find your device's firmware in .zip format, which will stop you from using this method.
- Not being able to unlock the bootloader (only on some device) will stop you from using this method, too.
That's about the pros and cons. I hope you guys all understand these points before going to read my tutorial and start your attempt.
---------------------------------------------------------------------------
REQUIREMENTS & STEPS
I. REQUIREMENTS
- Your device's Android version is 5.0 or up. If it's below 5.0, then you can root your device easily with any one-click tool.
- A computer & USB cable.
On your phone
- Download & install Magisk
- Download the exact firmware version (in .zip format) of your device and only extract the boot.img to any directory.
On your computer
- Download & install Fastboot, extract the folder to "Downloads" directory
- Download & install Android USB driver for Windows
(I am not sure if XDA allows inserting links in threads or not, so please search for these prerequisites on the internet, it is easy)
II. STEPS
1. Unlocking your phone's bootloader
- Open Settings > About phone > Tap on Build number about 7 times till you see a notification "You are now a developer"
- Now in the About phone tab, you can see the "Developer option". Tap on it and make sure:
+ the OEM unlocking is turned ON
+ The USB Debugging is turned On
- Plug your phone on your computer (with Fastboot & driver fully installed). Allow the USB Debugging notification on your phone
- Open Command Prompt on your computer. Enter commands below steps by steps:
cd Downloads
cd fastboot
adb reboot bootloader
(press Enter after each line to proceed)
- Your phone will reset to the bootloader menu after these commands. Next, enter this:
fastboot oem unlock
- A message asking you to make sure you want to unlock the bootloader. Use the volume and power button to choose "Yes". Your phone will reset data and reboot right after.
*Note: This method works on many Android devices, but doesn't on many devices. You might have to google a method for your own phone
2. Patching the boot.img file
After you extracted the boot.img from your device, use the Magisk app installed on your device to patch it up.
- Click the "Install" button on the first line
- Click "Select and Patch a file"
- Choose the boot.img file extracted. The patching progress will start right after.
- You will receive a file named "magisk_patched.img" after finished.
3. Flashing the "magisk_patched.img"
- Copy the "magisk_patched.img" into the Fastboot folder
- Reboot your phone to Bootloader mode by powering off and then hold Power + Volume down button simultaneously
- Open Command Prompt again, and type:
cd Downloads
cd fastboot
fastboot flash boot magisk_patched.img
- The flashing progress will begin. Wait until it finishes, and type the last command:
fastboot reboot
- Your phone will restart once again, and of course, with root access gained
---------------------------------------------------------------------------
UNROOT DEVICE
- If you want to unroot your device, you just have to flash the original boot.img file, with the same steps with flashing the magisk_patched.img!
---------------------------------------------------------------------------
This instruction is not truly detailed, so maybe you might encounter some difficulties at some point. If any, please feel free to leave your question below.
It is also the first time I create an instruction post, therefore I appreciate all of your comments. Thanks a lot <3
Click to expand...
Click to collapse
It's different for a/b devices where root has to be accessed by booting into the phone from recovery to boot with root
([emoji3590]09-09-18[emoji3590])
PoochyX said:
It's different for a/b devices where root has to be accessed by booting into the phone from recovery to boot with root
([emoji3590]09-09-18[emoji3590])
Click to expand...
Click to collapse
Hi PoochyX,
Thanks for your reply, could you be more specific, please? Does it mean that this method cannot work on a/b devices?
I will edit my instruction again if needed.
Thanks for your suggestions!

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