Xiaomi MI A2 totally hard bricked - Xiaomi Mi A2 / 6X Questions & Answers

Hello, I installed Havoc OS on my MI A2, but then an update was requested, I did the update, but when I rebooted the device, it did not start, I went into fastboot mode and I reinstalled the havoc. "androidOne" screen and nothing happens, now I have to enter fastboot mode with the command "fastboot boot twrp.img" and the error "failed to load / authentication boot image" appears, I tried flashing the rom stock using the MiFlash, and the cell phone persists with the same error, now my cell phone is with the bootloader locked and I do not know what to do

gmoura5010 said:
Hello, I installed Havoc OS on my MI A2, but then an update was requested, I did the update, but when I rebooted the device, it did not start, I went into fastboot mode and I reinstalled the havoc. "androidOne" screen and nothing happens, now I have to enter fastboot mode with the command "fastboot boot twrp.img" and the error "failed to load / authentication boot image" appears, I tried flashing the rom stock using the MiFlash, and the cell phone persists with the same error, now my cell phone is with the bootloader locked and I do not know what to do
Click to expand...
Click to collapse
Hi
Enter to fastboot and try this:
open a cmd
fastboot devices
fastboot -w
fastboot getvar current-slot ( you can see it a or b)
fasboot set_active b
Then
Try boot into twrp etc
Have luck pal !!

rodrimx4 said:
Hi
Enter to fastboot and try this:
open a cmd
fastboot devices
fastboot -w
fastboot getvar current-slot ( you can see it a or b)
fasboot set_active b
Then
Try boot into twrp etc
Have luck pal !!
Click to expand...
Click to collapse
Thanks, I was able to repair after unlocking the bootloader again and then unlocking the critical parts, so I flashed a stock rom from August 2018, however didn't block the bootloader again.

Related

[TUT] How to use fastboot on our device

As you can see in the title, i decided to write a small fastboot tut, especially for our p880 and its "own" commands and tricks
I am, as always, not responsible for what you do with your device. Do it on your own risk.
I will however not explain on how to set up fastboot on your PC. There are tons of tuts out there on xda, just search for it
NOTICE: You need an unlocked bootloader for this
Screenshots will be added later, 'cause my lappy is compiling right now and i thought i could use the time to write this so just wait a bit
Now, lets begin with the fun, shall we?
General
Fastboot is usually quite easy to use. But if you went searching for a tut on the web, you might have noticed that it doesn't work the way it should on your device.
That's because LG messed something up in the bootloader, but let's don't worry about that now, it does work nontheless
Fastboot is "a part" of the bootloader. This means, neither the kernel (boot), nor the recovery gets booted.
That gives you the ability to flash, but also boot kernels/recoveries. And yes, i meant booting, without really flashing it
Now we need to get into fastboot mode:
And this is (one of) the point(s) where LG messed up. The usual command is "adb reboot bootloader". But this command does not work on your device the way it should.
It gets you into a kind of fastboot mode, but you can't flash anything, because it says the bootloader would be locked, even tho it isn't.
The working command is
Code:
adb reboot oem-unlock
i guess this command sounds familliar, doesn't it? and don't worry, it will not lead you to a menu that deletes your data.
It will lead you to the working fastboot mode
now we're in the working fastboot mode. To check if you've set up fastboot correctly, type
Code:
fastboot devices
this should list your phone and its serial number.
It is recognized? good. so now we might want to check the status of our device (BL unlock state, serial number,...).
Therefore type
Code:
fastboot getvar all
now you can check whether it's really unlocked or not.
If everything's fine, you might want to...
Flash something
In order to flash something, you need the appropriate image. For kernels it's mostly "boot.img"
The command to flash something via fastboot is in general
Code:
fastboot flash <partition> <filename>
Example: You want to flash a kernel (named test_boot.img) and you have downloaded the kernel to the folder where your fastboot.exe is.
So you type
Code:
fastboot flash boot test_boot.img
This will copy the kernel to your device and then flash it to the LNX (boot) partition.
Of course you can flash other partitions, too, like system, data, cache, recovery...
After a flash, it is wise to clear the cache, or even your /data partition...
Deleting a partition
You don't need a recovery to wipe a partition, just use fastboot
The general command is
Code:
fastboot erase <partition>
For our example it's enough to wipe the cache. You can do this using this command:
Code:
fastboot erase cache
Also here you can wipe all partitions, like system, data, cache, boot, recovery...
So now we've flashed what we wanted to, wiped the needed partitions, but how do i..
Get out of fastboot
This is as easy as getting in just type
Code:
fastboot reboot
to reboot the device (Here's another thing, where LG messed up.... it reboots, but stays at the LG spash screen.
So press the power button for at least 10 secs. Now your device will reboot into recovery (!?)
then just tap reboot system now and be happy )
or
Code:
fastboot continue
this one will not reboot the device, but continue the boot procedure. I, for one, would suggest you to use the first command
now your device will boot up normally (except your kernel/system.... has a bug of course )
for more help, just type
Code:
fastboot help
and the last point is...
Bricking the device
nah, just kidding ​
Reserved
Thanks for this usefull post!
Sent from my LG-P880 using xda app-developers app
thanks, it's very useful for me.:good:
Thanks,
it's so easy
fastboot boot <kernel> <ramdisk> -c "androidboot.mode=normal"
Click to expand...
Click to collapse
<kernel> is the kernel zImage
<ramdisk> can be a .img, .cpio, .cpio.gz
-c "androidboot.mode=normal” is needed the get the kernel booted for the p880 with the correct commandline
Gesendet von meinem LG-P880 mit Tapatalk 4 Beta
So, to get into fastboot mode, I have to turn on my phone, plug it to my computer and in cmd I type adb reboot oem-unlock, right? Is there any possibility to access it in case of a bootloop or something?
boot into recovery system by holding power+vol-down till it vibrates, then use either adb to issue the command or when using twrp as recovery system: Reboot --> Fastboot
Gesendet von meinem LG-P880 mit Tapatalk 4 Beta
A little update from LG...
I wrote them that they have messed up our bootloader, and told them the bugs/problems/... well, see yourself:
1) "adb reboot bootloader" doesn't bring me into bootloader. Well it does, but even though i have unlocked the bootloader, it still says it would be locked.
instead i need to use "adb reboot oem-unlock" to get into bootloader.
- P880 does not support "adb reboot bootloader" to go into bootloader. P880 only works "adb reboot oem-unlock" instead of "adb reboot bootloader" to go into bootloader. and then you can use the fastboot command mode after accept unlock bootloader.
2) "fastboot reboot" partly reboots the device, but then it keeps stuck at the first LG splash screen. pressing power button for 10 seconds brings me into recovery then, instead of into the ROM.
- P880 supports "fastboot reboot", before flashing the customize image, "fastboot reboot" reboot normally.
3) "fastboot flash system [path/to/system.img]" gives me "fatal error: unknown partition"
- P880 can only flash boot, recovery. Ex> fastboot flash boot/recovery boot.img/recovery.img
4) "fastboot boot [...]" doesn't work at all.
- P880 does not support "fastboot boot [...]" command
- P880 supports only flash, erase, reboot as you already seen in bootloader unlock warning message.
5) I have found no way to boot into fastboot/bootloader without a booting phone. Maybe you could try to add the possibility to boot directly into fastboot.
- You can only go into fastboot mode using "adb reboot oem-unlock"
Click to expand...
Click to collapse
lg is retarded, but hey atleast they had the decency to answer
Yeh, you need to kdz flash if you mess up both system and recovery.
Keep an suid busybox in /data so you can root and re-flash CWM/TWRP in the backup+restore mode without having to clear data so the stock ROM can boot.
Can't seem to get his wokring properly, think it's the drivers.
I connect my phone to the pc, run cmd and I reboot it to to the bootloader. From there, I can't do anything. I i Write "fastboot devices" I get nothing, can't flash anything either. Have tried the official drivers from lg, but it doesn't work.
That's the same way of using fastboot like it is on Sony devices, you should mention it so more people would use this guide.
The only difference is that on sony devices if you want to unlock your bootloader you need to get the key from this site and then fastboot 0x0fce oem unlock 0xKEY
hi dudes , if phone (4x hd) is in s/w update mode , can I use fastboot command?
ppl, i beg for help:
when I use adb reboot oem-unlock or adb reboot bootloader, my phone only resets itself and boots back into normal working mode. I've tried to boot it into bootloader with holding volume up and power button and it boots into some kind of mode wheres only picture with symbols of mobile with symbols of data cable and power cable being plugged into phone with red symbol over cables that they shouldn't be unplugged. I've also tried eboot oem-unlock and reboot bootloader commands in that mode and it only resets the phone back into normal working mode while command fastboot flash recovery twrp.img only gave me "waiting for the device" and nothing happening...
also I've entered into hidden menu with 3845#*880# command bit there's no "BL status" or "Bootloader Unlock Check" or anything that has any connection to Bootloader
help?
@gesaugen: Works only with firmware 20A and higher.
GoodSoul said:
@gesaugen: Works only with firmware 20A and higher.
Click to expand...
Click to collapse
GoodSoul, thanks for info!
So I only need to upgrade firmware and it should work then...
I tried this method and for fastboot devices
i get no permissions fastboot
pls help
edit: i just did it with sudo fastboot devices
but i have another error:
fastboot flash zimage zImage
sending 'zimage' (4913 KB)...
OKAY [ 1.216s]
writing 'zimage'...
FAILED (remote: Invalid Partition Name.)
InterrtuptoR said:
but i have another error:
fastboot flash zimage zImage
sending 'zimage' (4913 KB)...
OKAY [ 1.216s]
writing 'zimage'...
FAILED (remote: Invalid Partition Name.)
Click to expand...
Click to collapse
Only "boot" and "recovery" are supported for fastboot flash command. Boot is the kernel and takes boot.img. Unfortunately, "system" is not supported, otherwise developing on this phone would have been similar to Nexus devices.

Bricked A2 only fastboot

Hi guys, i need some help, i wanted to convert my A2 in 6X, and i need to enter edl mode to do this. Because i couldn't enter edl via fastboot or adb (i had unlocked bootloader ad twrp recovery installed) i tried to relock bootloader (maybe this was the error), now i'm stuck at message that says that system is corrupt and devices wouldn't boot, i can only access fastboot, tried to boot twrp via fastboot but didn't work, fastboot getvar unlocked return no, now i'm trying to follow the guide to unbrick from ARB but phone should be in edl mine is in fastboot, please help me, any suggestion is accepted! Thanks
https://forum.xda-developers.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585
use option 5 then select the second option
it will boot the device into edl mode.
if you have issues with it not letting you enter it with this then try to unlock the bootloader again.
Daha3ker said:
https://forum.xda-developers.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585
use option 5 then select the second option
it will boot the device into edl mode.
if you have issues with it not letting you enter it with this then try to unlock the bootloader again.
Click to expand...
Click to collapse
already did it, didn't work, unlocking bootloader gave me error: oem unlock is not allowed.
i menage to enter edl mode using test point method, after that i flashed latest rom, and phone booted up, but i turned off to reassable it, and when i tried to reboot it it went to edl mode and i cannot exit edl mode, my pc see it like QUALCOMM9008 and if i try to flash with miflash it does the flash but i can't bot it after flashing success. i'm trying now to download an older fastboot rom

phone corrupt and cant be trusted

i tried rooting my device but something went wrong after flashing the boot.img
now the device is stuck and i can only access fastboot.
i tried accessing the recovery but i get the same error msg.
i tried flashing every recovery img that exist for the red magic 3 but with no success
Flashing Unlock
Hey, make sure that you have first unlocked the bootloader with the fastboot command: "fastboot flashing unlock". Try it. It will erase all your data and do a reset factory and then you should be able to reboot your device normally. Also, it will let you flash the boot.img for root your device.
Perseo99 said:
Hey, make sure that you have first unlocked the bootloader with the fastboot command: "fastboot flashing unlock". Try it. It will erase all your data and do a reset factory and then you should be able to reboot your device normally. Also, it will let you flash the boot.img for root your device.
Click to expand...
Click to collapse
when i type "fastboot flashing unlock" in cmd it shows nothing .. just showing what commands i can do with fastboot
mashkalny said:
when i type "fastboot flashing unlock" in cmd it shows nothing .. just showing what commands i can do with fastboot
Click to expand...
Click to collapse
Did you let unlock bootloader and permitted the USB debbugin on the developers option before flash the boot.img?
Make sure you are using a USB 2.0 to connect your device to the PC. See if you PC recognizes the device into the fastboot menu with "fastboot devices", if doesn't, try reboot another phone with "adb rebbot bootloader", then enter "fastboot devices", your device should be listed into de the devices attached. Then try again entering "fastboot flashing unlock".
Perseo99 said:
Did you let unlock bootloader and permitted the USB debbugin on the developers option before flash the boot.img?
Make sure you are using a USB 2.0 to connect your device to the PC. See if you PC recognizes the device into the fastboot menu with "fastboot devices", if doesn't, try reboot another phone with "adb rebbot bootloader", then enter "fastboot devices", your device should be listed into de the devices attached. Then try again entering "fastboot flashing unlock".
Click to expand...
Click to collapse
i believe i forgot to unlock the bootloader when i tried to root. now i cant access anything in the fastboot mode.
mashkalny said:
i believe i forgot to unlock the bootloader when i tried to root. now i cant access anything in the fastboot mode.
Click to expand...
Click to collapse
Oh, that could be a problem. Try to use this tool. I hope you can get your phone working again. If this doesn't works, try to flash the original boot.img of your firmware version.
https://forum.xda-developers.com/re.../tool-nubia-red-magic-3-unbirck-tool-t3965044

stuck at fastboot mode

i was trying to install twrp in my rog 2 but while installing twrp from fastboot and adb i got stuck in fastboot mode and cannot boot into main OS PLEASE HELP ME
Check current slot and then switch to other slot and boot.
First try
fastboot devices (make sure your device is listed)
if it boots to fastboot again
fastboot getvar current-slot
fastboot --set-active=a or fastboot --set-active=b
fastboot reboot
rabunz1105 said:
Check current slot and then switch to other slot and boot.
First try
fastboot devices (make sure your device is listed)
if it boots to fastboot again
fastboot getvar current-slot
fastboot --set-active=a or fastboot --set-active=b
fastboot reboot
Click to expand...
Click to collapse
Have the same problem. Did all that you say but keeps restarting.
ED_STUFF said:
Have the same problem. Did all that you say but keeps restarting.
Click to expand...
Click to collapse
I had this problem, and I had to download the RAW firmware files and run the "flashall.bat" file through fastboot.
ED_STUFF said:
Have the same problem. Did all that you say but keeps restarting.
Click to expand...
Click to collapse
Did you manage to solve this issue? I have the same problem.
rabunz1105 said:
Check current slot and then switch to other slot and boot.
First try
fastboot devices (make sure your device is listed)
if it boots to fastboot again
fastboot getvar current-slot
fastboot --set-active=a or fastboot --set-active=b
fastboot reboot
Click to expand...
Click to collapse
I was in csc fastboot mode then i mistakenly did some fastboot adb commands from github rog phone 2(am having rog 3, works same) try those and you will get into fast boot mode from csc fastboot mode after than try above for any query contaact me on my mail [email protected]
Thanks xda love you
rabunz1105 said:
Check current slot and then switch to other slot and boot.
First try
fastboot devices (make sure your device is listed)
if it boots to fastboot again
fastboot getvar current-slot
fastboot --set-active=a or fastboot --set-active=b
fastboot reboot
Click to expand...
Click to collapse
Flash fastboot Raw firmware
My phone is stuck in a bootloop. Original firmware, rom, everything, not rooted, bootloader locked. It just restarted by itself randomly and has been stuck in a bootloop ever since. I've flashed raw firmware but it didn't help. Help please
shinnsan said:
My phone is stuck in a bootloop. Original firmware, rom, everything, not rooted, bootloader locked. It just restarted by itself randomly and has been stuck in a bootloop ever since. I've flashed raw firmware but it didn't help. Help please
Click to expand...
Click to collapse
Have you fixed your issue? if not, have you tried flashing both slots, _a and _b, using the same raw rom? use fastboot cmd's to set either slot_a or slot_b to active so you know you're flashing each slot

Help bootloop and can't boot into bootloader and recovery

I've tried to boot into fastboot with command.
Fastboot reboot fastboot
To install GSI but
My phone stuck like in photo
Any help?
if you are not in fastboot how can you even tell it to reboot to fastboot? Your only way is to enter edl mode just google it

Categories

Resources