Question [problem] Xiaomi 11 Ultra not boot and Bricked. - Xiaomi Mi 11 Ultra

I tried to perform the boot root, without first releasing the option to release this option (Development Menu). Now I am without the option to unlock the initialization and without being able to perform the boot. When trying to run fastboot to restore the factory version, the following errors appear (attached image).
Has some mode to remove this state, to try to execute restore: 'Erase is not allowed in Lock State'

Since the bootloader is locked, you cannot root or install a Twrp. Tried to delete your data(wipe data) from recovery or Miassistant or use this tool (not 100% guaranteed).

Related

P9+ in bootloop, keeps restarting, can't flash

Hi!
I've a problem with a P9+, it doesn't boot and keeps restarting everytime (stock phone, never change anything with this). I tried flashing stock rom with DC Phoenix but is unable to finish before the phone restarts.
Until now i was able to flash boot.img and recovery.img (by separate) but nothing changed, i couldn't flash system.img with success yet.
Details:
- the battery is dead, the phone only turns when connect to PC/AC.
- already tried the force upgrade method (with rom in sd/dload) but the phone restarts before it ends
- the BL is locked so fastboot commands doesn't work (and i can't unlock it despite having the official code because of the "OEM unlock" option not enabled on Android).
- DC Phoneix can bypass the locked BL but can't finish writing the .img on time
- i've already tried the eRecovery option too (fails) and wiping cache / reseting system
After 2 days "fighting" I'm almost out of options, any idea is welcome!
Thanks!

Huawei P8 Lite 2017 PRA-LX1 Single SIM to Dual SIM Conversion Tutorial

After searching in many places for a clear tutorial to convert a Single SIM Huawei P8 Lite 2017 and having to resort to Non-English Forums trying to make heads and tails of the google translation, bricking my device in process and eventually (with sheer determination) successfully enabling Dual SIM, I feel this tutorial will be of use to many who are not programmers and have little knowledge in customisations. You will need to obtain the Bootloader Unlock code from Huawei website before commencing. There are many tutorials available hence I have not included this procedure in this tutorial. Unlocked bootloader is a pre-requisite although Root is not.
Note: My device was Sim Free (not network locked). Whether this works on a locked phone, I have no idea. If anyone does try on a network locked device, please leave a comment.
Disclaimer: You use this guide at your own risk. I take no responsibility for any damage caused to your device or bricking your device while following this tutorial.
1./ Download and use these files and insert an SD Card into the device.
2/. Enable USB Debugging (safer) and OEM Unlock (for FRP) from settings, developer options
3/. Power off device
4/ Put device in fastboot mode by holding Volume Down Key and plug in USB Cable
5/. Unlock bootloader using ADB:
fastboot oem unlock (whatever your unlock code is without brackets)​On the device, highlight yes using volume up key and select with power key. Unlocking the bootloader allows installation of custom recovery. (The device may do an automatic factory reset).
6/. With device off, put the device back in fastboot mode as per step 4
7/. Install TWRP using ADB:
fastboot flash recovery twrp.img​Disconnect USB cable (important). Hold volume up key and power button simultaneously to get out of fastboot and into TWRP Recover (you will see a ‘this device has been unlocked and can’t be trusted” message). Keep holding those two keys until you are in TWRP Recovery. Custom recovery will allow installations of the necessary files required for this procedure.
Note: Do not at any point relock the bootloader whilst custom recovery is installed. Relocking bootloader with non-stock recovery will brick your device. I learnt this the hard way.
8/. In TWRP make a backup. This will also make directories on the SD card for where we will put the back up files off the dual sim firmware PRA-LX1C432B100. If backup fails, it should not be an issue as we always have the back up from the dual sim device in worst case scenario.
9/. Unzip the contents of PRA-LX1C432B100.zip to the directory of where the backup folder on the SD Card was made by TWRP in the previous step. The folder where to unzip should look something like this:
ROOT/TWRP/BACKUPS/57U7N19247022751 (or whatever your device’s serial number is)​10/. In TWRP, Restore the B100 Backup (previously unzipped) by selecting Storage, MicroSD card as backup file location.
11/. Recovering the PRA-LX1C432B100 backup interferes with bootloader. With device switched off, repeat step 4 and enter fastboot again. It will show that bootloader is unlocked however this is not the case. Repeat step 5 and unlock the bootloader again.
12/. Get into fastboot (step 4) and Install Stock recovery using ADB:
fastboot flash recovery recovery.img​13/. With USB cable disconnected (important), hold down volume up key and power button simultaneously to enter stock recovery. Wipe cache partition and data/factory reset.
14/. Once Factory reset is complete, start and setup device. Update through settings, updater to the latest firmware version. It may first update B110 Firmware before it installs the latest Firmware. For this reason, you may have to update your device twice.
15/. Once update is complete, Restart device back into fastboot (step 4) and using ADB:
fastboot oem relock (whatever your unlock code is)​This will relock your bootloader and reset the device once again. You should now have Stock Dual SIM Firmware version PRA-LX1C432B1XX. Your device will have your original IMEI and another IMEI with zeros. It is important to note that calls will not come through one sim if the other sim is on a call. Neither will you know about it as there will be no miss call logs.
Note: During the procedure, if you did somehow manage to brick your device or fastboot, then allow the battery to run totally flat. Could take all day if the battery was fully charged. Once drained, charge it up a little and the hold volume down key and plug in the USB cable. This should then allow you to boot back into fastboot mode. Unlock bootloader again and do what you have to do. This may take more than one try.
APP TWIN
To enable APP Twin, root your device (files included) and change the following lines in build.prop using JRummy Root Browser Classic (or any other root browsers). You will also need busybox installed.
fw.max_users=1 to 2
fw.show_multiuserui=0 to 1
ro.config.hw_support_clone_app=false to true​Note: App twin will only work as long as boot.img is not reverted back to stock after rooting. I observed flashing stock recovery afterwards still keeps App Twin.
File: PRA-LX1_Dual_SIM.rar
Hello,
tried that on my side, thanks very much for the tutorial it worked almost perfectly,
I have the dual sim option, i can insert 2 sim and have the dual sim option, but I can’t use both at the same time: if I’m on sim 1 i can text and call with it but cannot do it with the second sim. same thing if I switch to SIM2 i cant text or call with sim 1.
any similar cases?

Xiaomi MI A2 can't boot, only fastboot

Hi guys, it's my first post. I have my MI A2 bricked after the last update. It's stuck at android logo and I can access only fastboot, no adb. Via fastboot I tried to wipe the phone, install TWRP, unlock the bootloader, but the answer is always I cant flash or do anything with a locked phone. What can I do? Is it possible to save data?
With locked bootloader and critical all your attempts to flash anything via fastboot could not succed, unless .you have previously got developer rights and checked "OEM unlock" option. With this option ON, and using USB 2.x port, you could unlock bootloader and critical via fastboot, but have no ways to save data (which is erased with unlocking as with factory reset).
Try to reboot many times with external power off and on, phone is supposed to boot into now inactive A/B slot (which was active prior to OTA) sooner or later, then you can save data and unlock.
If nothing helps, you'll have to open case, connect "[email protected] (or EDL) pins and then flash stock ROM with MiFlash, and then unlock and reflash with fastboot.

Xiaomi MI A2, is stuck in bootloop

Hi Guys,
My MI-A2 is stuck in bootloop ( When I turn on my phone it shows its Android One logo and then it shutdown itself ).
In my phone, I didn't turn on any USB Debugging or and OEM unlocking. and now it is possible as the phone is not starting.
I am able to access fastboot and recovery options
I tried to do factoryReset the device from the recovery option but it is just wiping the data.
here are the following things which I have tried with fastboot.
- I tried to unlock the fastboot with MiFlashUnlock but it stops at 99% and gives me the error of unable to verify the device,
- flashing the Stock ROM isn't working with MiFlashTool. giving random errors.
- tried changing the drive partition. it gives error to unlock the device first.
- tried tried to flash TWRP but it also gives me the error of unlocking the device first.
Almost every command of Fastboot is giving me some kind of error
But I am able to access the ADB Sideload from the recovery option.
- I tried to load the April OTA update from ADB Sidelode. The update is Successfully installed. But the device is still in bootloop.
Saving User data is not my priority. I just want the device to be working anyhow. As per my assumption, Fastboot is not an option for me unless it unlocked. I think something from the ADB sideload can be done.
Any help will be appreciated.
Is it a Guide?
Oh, now, its a Great News!
Please delete this post from this forum.
As I have already wrote to you, questions should go to "Questions and Answers" forum.
And as I have already wrote to you, Search works here, and if you've used it, you'd get answers (in mentioned above forum):
1. MiA2 having A/B slots architecture, - is supposed to recover to the other slot X when OTA corrupts ROM is slot Y, - after numerous boot attempts.
2. In case you have tampered phone with try-and-see operations without knowing what you were doing - the only way to recover phone is: TEST Point / EDL. Search these keywords in this forum for appropriate Guide.
try the "fastboot continue" command
dillu12 said:
Hi Guys,
My MI-A2 is stuck in bootloop ( When I turn on my phone it shows its Android One logo and then it shutdown itself ).
In my phone, I didn't turn on any USB Debugging or and OEM unlocking. and now it is possible as the phone is not starting.
I am able to access fastboot and recovery options
I tried to do factoryReset the device from the recovery option but it is just wiping the data.
here are the following things which I have tried with fastboot.
- I tried to unlock the fastboot with MiFlashUnlock but it stops at 99% and gives me the error of unable to verify the device,
- flashing the Stock ROM isn't working with MiFlashTool. giving random errors.
- tried changing the drive partition. it gives error to unlock the device first.
- tried tried to flash TWRP but it also gives me the error of unlocking the device first.
Almost every command of Fastboot is giving me some kind of error
But I am able to access the ADB Sideload from the recovery option.
- I tried to load the April OTA update from ADB Sidelode. The update is Successfully installed. But the device is still in bootloop.
Saving User data is not my priority. I just want the device to be working anyhow. As per my assumption, Fastboot is not an option for me unless it unlocked. I think something from the ADB sideload can be done.
Any help will be appreciated.
Click to expand...
Click to collapse
you need to flash the phone in edl mode
**just be careful there is a timeout ..when you put it into edl you need miflash and rom.loaded
*** download a stock fastboot stable pie for jasmine
**** unzip amd select revelant xml from within miflash
*****on phone manually boot to fastboot mode with buttons
****** run command "fastboot oem.edl"
*******device will boot to black screen ... immediately go to miflash and press the button to start flashing
___BE CAREFUL__ select clear all tick box at bottom of miflash screen
this should be enough to rescue your device regardless of what you've done or whether you unlocked bootloader or not

[GUIDE] Install Magisk on stock ROM

My phone is A2020G, so the ROM version of the following instructions is for G only, but you can still try on A2020U (just notice the Android version).
I once flashed Magisk through TWRP on stock Pie ROM but caused freeze at the boot screen, even the same while patching the boot image. However, now I found that if you are at stock Q and R version, you can now successfully install Magisk by patching boot images.
The only problem is that there is no TWRP for the two versions of stock ROM (since the recovery was made into boot image), so be careful while installing modules.
My method is to use Axon 10 EDL Tool. Fastboot mode is unavailable for stock Pie and Q Bootloader, while R can but this fastboot cannot flash images. So we need to use the patched bootloader of EDL Tool to access the fastboot and flash the patched boot images, then recover to the original bootloader so it can boot the system (The patched bootloader of EDL Tool can only boot stock Pie ROM).
Before proceeding:
Make sure you have updated to at least stock Q version and unlocked bootloader.
If you have not unlocked at Q or R, you can still proceed unlocking. The program will auto backup your current bootloader, however the patched bootloader cannot boot stock Q and R. So following these instructions:
1.Turn on the Developer Options and turn on OEM unlocking, remove your Google Account and lock screen passwords cause it will ask you to login after wiping because of FRP.
2.Boot into EDL Mode (If the phone is off, hold on pressing Vol+ and Vol- and then connect the cable; If the phone is on, connect the cable, then hold on pressing two Volume buttons and then press the power button for about 10 sec and the phone will automatically reboot)
3.Execute the EDL Tool with administrator rights.
4.Choose Unlock-Unlock bootloader
5.Follow the instructions, when the program has flashed (not backup) patched bootloader (Display "DONE", ask you to press any key), hit enter, and your phone will reboot immediately. When your phone vibrates, press both of the Vol+ and Vol- button immediately to boot into fastboot. (If you press in advance you will boot into EDL mode)
6.Open Command Prompt, use the fastboot.exe of the EDL Tool to proceed this command line:
Code:
fastboot flashing unlock
or just drag the program into CMD, like this:
Code:
D:\Axon10Pro_EDL_Tool\tools\fastboot.exe flashing unlock
7.Your phone will display the unlock warning, use volume button to select Yes and press power button to confirm.
8.After pressing power button (keep the cable connecting), press the two volume button immediately to boot into EDL mode, open the EDL Tool again and Restore bootloader from backup.
9.While restoring completed, reboot and hold on pressing Vol+ button to boot into recovery, the phone will automatically erase data and unlocking is done.
After unlocked:
1.Use djkuz's Axon 10 EDL Tool
2.Backup your boot image.
3.Copy your boot image to your phone and install Magisk Application.
4.Patch the two boot images (a/b), and remember the filename of the patched a and b boot.
5.Copy the patched boot images to your computer.
6.Use the EDL Tool to proceed unlocking, follow step 5 above to boot into fastboot.
7.Use the fastboot.exe of EDL Tool to flash patched boot images:
Code:
fastboot flash boot_a pta.img
fastboot flash boot_b ptb.img
(pta, ptb is the filename of your patched boot image)
8.Use volume button to select the green "START" and hit power button to reboot.
9.Follow step 8 above to recover bootloader, and you are done.
Problems:
Cannot use the default "Files" application to install local modules in stock R ROM cause it will possibly crash, so you have to install a third-party file manager application (like Root Explorer) to select modules. (When it open "Files" app, click the menu icon of the left side and select your installed file manager, then select modules to install)
Notes:
I can't find a way of checking which slot(A/B) of the phone has been on without using recovery, so I have to patch the two bootloaders. If you know, then you can patch and flash only that one.
I don't know if you can update to stock Q while unlocked at Pie when I saw this thread, but you can still upgrade to stock R while unlocked and installed Magisk at Q (V2.8). Just remember not to reboot immediately after you installed the upgrade, use the Magisk Application to install to another slot and then reboot.
Hope you enjoy~
Thanks to djkuz for developing the EDL Tool
willwongprd said:
My phone is A2020G, so the ROM version of the following instructions is for G only, but you can still try on A2020U (just notice the Android version).
I once flashed Magisk through TWRP on stock Pie ROM but caused freeze at the boot screen, even the same while patching the boot image. However, now I found that if you are at stock Q and R version, you can now successfully install Magisk by patching boot images.
The only problem is that there is no TWRP for the two versions of stock ROM (since the recovery was made into boot image), so be careful while installing modules.
My method is to use Axon 10 EDL Tool. Fastboot mode is unavailable for stock Pie and Q Bootloader, while R can but this fastboot cannot flash images. So we need to use the patched bootloader of EDL Tool to access the fastboot and flash the patched boot images, then recover to the original bootloader so it can boot the system (The patched bootloader of EDL Tool can only boot stock Pie ROM).
Before proceeding:
Make sure you have updated to at least stock Q version and unlocked bootloader.
If you have not unlocked at Q or R, you can still proceed unlocking. The program will auto backup your current bootloader, however the patched bootloader cannot boot stock Q and R. So following these instructions:
1.Turn on the Developer Options and turn on OEM unlocking, remove your Google Account and lock screen passwords cause it will ask you to login after wiping because of FRP.
2.Boot into EDL Mode (If the phone is off, hold on pressing Vol+ and Vol- and then connect the cable; If the phone is on, connect the cable, then hold on pressing two Volume buttons and then press the power button for about 10 sec and the phone will automatically reboot)
3.Execute the EDL Tool with administrator rights.
4.Choose Unlock-Unlock bootloader
5.Follow the instructions, when the program has flashed (not backup) patched bootloader (Display "DONE", ask you to press any key), hit enter, and your phone will reboot immediately. When your phone vibrates, press both of the Vol+ and Vol- button immediately to boot into fastboot. (If you press in advance you will boot into EDL mode)
6.Open Command Prompt, use the fastboot.exe of the EDL Tool to proceed this command line:
Code:
fastboot flashing unlock
or just drag the program into CMD, like this:
Code:
D:\Axon10Pro_EDL_Tool\tools\fastboot.exe flashing unlock
7.Your phone will display the unlock warning, use volume button to select Yes and press power button to confirm.
8.After pressing power button (keep the cable connecting), press the two volume button immediately to boot into EDL mode, open the EDL Tool again and Restore bootloader from backup.
9.While restoring completed, reboot and hold on pressing Vol+ button to boot into recovery, the phone will automatically erase data and unlocking is done.
After unlocked:
1.Use djkuz's Axon 10 EDL Tool
2.Backup your boot image.
3.Copy your boot image to your phone and install Magisk Application.
4.Patch the two boot images (a/b), and remember the filename of the patched a and b boot.
5.Copy the patched boot images to your computer.
6.Use the EDL Tool to proceed unlocking, follow step 5 above to boot into fastboot.
7.Use the fastboot.exe of EDL Tool to flash patched boot images:
Code:
fastboot flash boot_a pta.img
fastboot flash boot_b ptb.img
(pta, ptb is the filename of your patched boot image)
8.Use volume button to select the green "START" and hit power button to reboot.
9.Follow step 8 above to recover bootloader, and you are done.
Problems:
Cannot use the default "Files" application to install local modules in stock R ROM cause it will possibly crash, so you have to install a third-party file manager application (like Root Explorer) to select modules. (When it open "Files" app, click the menu icon of the left side and select your installed file manager, then select modules to install)
Notes:
I can't find a way of checking which slot(A/B) of the phone has been on without using recovery, so I have to patch the two bootloaders. If you know, then you can patch and flash only that one.
I don't know if you can update to stock Q while unlocked at Pie when I saw this thread, but you can still upgrade to stock R while unlocked and installed Magisk at Q (V2.8). Just remember not to reboot immediately after you installed the upgrade, use the Magisk Application to install to another slot and then reboot.
Hope you enjoy~
Thanks to djkuz for developing the EDL Tool
Click to expand...
Click to collapse
Thanks for the guide, My phone is A2020G and bootloader is unlocked. Is there an easy way to boot into fastboot mode easily? I do not want to unlock again, because the data in the phone is reset after bootloader unlocking process.
erturkmen said:
Thanks for the guide, My phone is A2020G and bootloader is unlocked. Is there an easy way to boot into fastboot mode easily? I do not want to unlock again, because the data in the phone is reset after bootloader unlocking process.
Click to expand...
Click to collapse
There is no way other than using the EDL Tool because ZTE didn't make fastboot accessible while it is on stock Bootloader. However it's safe to flash the modified bootloader using EDL Tool's unlock option because the original bootloader will be backuped. Since you have already unlocked, the fastboot application won't unlock it again, neither will it erase your data. But the modified bootloader can't boot stock system above Android 9 normally, so use it only when you want to flash a image.
I managed to apply Magisk on both Android 10 and 11.
Method. Backup boot.img from Android 10 / 11. Use Magisk app to patch the boot.img and flash it via EDL.
Here is my Android 11 + Magisk boot.img - Backup your own first before you flash this one and do it on your own risk. When I find time, I will create full EDL files with Android 10 and 11 featuring Magisk.
Sorry, but I have same questions here:
Hi, I had already tried to root my device according to the instructions from flymetothemoon, which unfortunately I haven't been able to do so far.
I already unlocked my bootloader under version 1.8, i.e. Android 9. Another unlock is no longer possible. I get the error message from fastboot:
FAILED (remote: ' Device already : unlocked!')
fastboot: error: Command failed.
The EDL tool still created the backups of the boot images. I wanted to copy this images into the system, but unfortunately the device got stuck in a bootloop after the restart.
I found a way to patch the boot images on the PC with Magisk. I used the latest version of Magisk for this. I was also able to flash the patched boot images via fastboot and then restore the backed up boot images in the EDL.
After the restart, however, the device goes back into the bootloop.
To be honest, the last step is not entirely clear to me. The patched images are flashed and then I restore the original boot images. Am I misunderstanding something?
And I got my A10Pro to charge again, so this is fantastic news! Miss root more than anything else out there.

Categories

Resources