Brick after to block oem with "TOOL ALL IN ONE" - Xiaomi Mi A2 / 6X Guides, News, & Discussion

Hi,
Hello
My phone is a xiaomi mi a2 of 64
The problem is:
After blocking the OEM with the "tool all in one", my phone issues a warning "your device has loaded into a different operating system" and then shows "the software device can be checked for corruption, please block the bootloader"
Is there any way it works normally?

You locked the bootloader with an uncertified/modified version of Android.
Unlock your bootloader (oem unlock, flashing unlock, flashing critical unlock), flash the stock ROM and then you can lock it again.

Flashing unlock is no allowed
Yepi69 said:
You locked the bootloader with an uncertified/modified version of Android.
Unlock your bootloader (oem unlock, flashing unlock, flashing critical unlock), flash the stock ROM and then you can lock it again.
Click to expand...
Click to collapse
When I try to do that I get "flashing unlock is not allowed" try the various tools that are on the platform and writing them manually, I get the same.
How could I unlock it?

Lryas said:
When I try to do that I get "flashing unlock is not allowed" try the various tools that are on the platform and writing them manually, I get the same.
How could I unlock it?
Click to expand...
Click to collapse
Boot into EDL mode and flash stock android with MI FLASH

Dicvigarista said:
Boot into EDL mode and flash stock android with MI FLASH
Click to expand...
Click to collapse
Well, that was the only solution, thanks for all the help.

Related

[Q] bootloader issues

So a while ago I rooted my phone but messed it up because I uninstalled a few too many system apps. I just dealt with it for a few months since I could still make calls (but not much else). I finally bit the bullet to look into flashing the stock rom again, but to do so it looked like I had to install a custom recovery, but to do that, unlock the bootloader. So I first unlocked the bootloader using motopocalypse (batch file didn't work but apk did), and got the expected BOOTLOADER UNLOCKED message at bootup, with fastboot saying unlocked, code 3. I then tried flashing CWM recovery via Rom Manager, and it seemed successful, but I was unable to boot to it either from the UI of ROM manager or from holding the buttons during bootup, it would just hang for a few more minutes than normal at the BOOTLOADER UNLOCKED screen, then boot up like normal. So I kept reading, found RSDlite, and was able to flash the stock rom, which I downloaded from the internet and the phone boots up fine, but now fastboot says locked, status code 2, and motopocalypse does not unlock it again (either the batch file or the apk), but I still get the BOOTLOADER UNLOCKED message at bootup. So I'm not sure if my bootloader is unlocked or not and if I can proceed with installing CWM recovery again, so i can make a full backup in case I mess something up again.
So how do I reunlock the bootloader, or verify if it's locked or not?
First, CWM and TWRP aren't official for this phone, so you can't use their apps to flash. You'll need to use fastboot, Flashify, or Rashr. Second, you're still unlocked, we've seen this error come from bad flashes. What is the complete text on your FB screen. You should be able to clear this by re-flashing with RSD. What firmware did you attempt to flash?
Sent from my HTC6525LVW using Tapatalk
RikRong said:
First, CWM and TWRP aren't official for this phone, so you can't use their apps to flash. You'll need to use fastboot, Flashify, or Rashr. Second, you're still unlocked, we've seen this error come from bad flashes. What is the complete text on your FB screen. You should be able to clear this by re-flashing with RSD. What firmware did you attempt to flash?
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
FB screen:
Code:
AP Fastboot Flash Mode (S)
10.9B(*) (sha-61146a2, 2014-05-02 00:54:39)
eMMC Info: Size 8GB
Device is LOCKED. Status code: 2
Battery OK
Transfer Mode:
USB connected
Fastboot reason: Reboot to bootloader
usb connected
I've tried reflashing with RSD previously but no change. I could try it once more if you want.
Not entirely sure what you're asking for with the firmware version, but the image I used was for android 4.4.2, version 183.46.10.XT907Verizon.en.US.
modemman11 said:
Device is LOCKED. Status code: 2
Click to expand...
Click to collapse
I think your boot loader is still LOCKED. Mine is showing UNLOCKED. Status code: 3. You cannot flash a custom recovery on a phone with a locked BL. You need to motocalypse again!
To trace the issue from the ground up, if you're just trying to reinstall stock ROM, you should be relying on RSD instead of trying to mess with custom recoveries and BL unlocking. Just flash .10 (not .15) via RSD, root via Towelroot and you can start fresh.
Unlocking your BL is still highly recommended, though, 'cuz it's now or never.
Sent from Google Nexus 4 @ CM11
[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
Code 3 as well.
Sent from my XT907 using XDA Free mobile app
rahimali said:
I think your boot loader is still LOCKED. Mine is showing UNLOCKED. Status code: 3. You cannot flash a custom recovery on a phone with a locked BL. You need to motocalypse again!
Click to expand...
Click to collapse
Yes, that's why I'm asking. So I've got one vote for unlocked, one for locked. As I said though, motopocalypse isn't working a 2nd time.
AndyYan said:
To trace the issue from the ground up, if you're just trying to reinstall stock ROM, you should be relying on RSD instead of trying to mess with custom recoveries and BL unlocking. Just flash .10 (not .15) via RSD, root via Towelroot and you can start fresh.
Unlocking your BL is still highly recommended, though, 'cuz it's now or never.
Click to expand...
Click to collapse
I would like to flash custom ROMs later down the road, but for now I just want to get the stock stuff going.
On a side note, the version of the image I downloaded was 183.x.x, but my mother, who has the same phone, purchased at the same time, and has never rooted it or anything, has version 182.something, and that is also the version I had before I started messing with the bootloader/recovery stuff. The two versions were released at the same time, but I don't know what determines which version you got if you just did OTA updates, or if it even matters. Speaking of OTA updates, the version I downloaded is prompting me to do an OTA update now to another 183.x.x version. I wonder if I'd be able to grab the 182.x.x ROM from my mom's phone without rooting it via fastboot or something.
The 182/183 does not matter regarding root/boot loader unlock its the .10/.15 that matters do not take the .15 without unlocking your boot loader....
We cannot teach people anything; we can only help them discover it within themselves.
So no other thoughts? What would happen if I flashed a custom rom/recovery with a locked bootloader? I tried flashing the ROM again and fb still says locked, code 2, and motopocalypse still doesn't do anything like it did the first time.
modemman11 said:
What would happen if I flashed a custom rom/recovery with a locked bootloader?
Click to expand...
Click to collapse
It won't let you flash a custom recovery. This is the difference between locked and unlocked.
modemman11 said:
So how do I reunlock the bootloader, or verify if it's locked or not?
Click to expand...
Click to collapse
If your bootloader is relocked for some reasons, try unlocking it again with
Code:
fastboot oem unlock
lem22 said:
It won't let you flash a custom recovery. This is the difference between locked and unlocked.
Click to expand...
Click to collapse
I guess what I'm asking is, will it let me flash it but then the phone won't work or will give an error on boot, or perhaps brick my phone? Or will it just not flash in the first place? Because if it's the latter, then I can just try to flash a custom ROM/recovery and if it works then I know it's unlocked.
If your bootloader is relocked for some reasons, try unlocking it again with
Code:
fastboot oem unlock
Click to expand...
Click to collapse
Code:
D:\adt-bundle-windows-x86-20140702\sdk\platform-tools>fastboot oem unlock
...
(bootloader) fastboot oem unlock [ unlock code ]
OKAY [ 0.031s]
finished. total time: 0.031s
Still locked code 2 though. Looks like it wants an unlock code from Motorola's website, I tried following the steps to get the code but it says I'm not eligible for bootloader unlock. So unless there's another way to get the unlock code...
modemman11 said:
I guess what I'm asking is, will it let me flash it but then the phone won't work or will give an error on boot, or perhaps brick my phone? Or will it just not flash in the first place? Because if it's the latter, then I can just try to flash a custom ROM/recovery and if it works then I know it's unlocked.
Click to expand...
Click to collapse
A "Code 0" locked device would refuse flashing an unofficial or older recovery. I have no idea about Code 2 though.
From what I was able to locate status code 2 indicates that the bootloader has been unlocked and relocked like by doing the whole "fastboot oem unlock unlock code" then the "fastboot oem lock" ... I'll look more into it but from what little I read it looks like it can not be unlocked again with out the Motorola unlock code...
We cannot teach people anything; we can only help them discover it within themselves.
ezknives said:
From what I was able to locate status code 2 indicates that the bootloader has been unlocked and relocked like by doing the whole "fastboot oem unlock unlock code" then the "fastboot oem lock" ... I'll look more into it but from what little I read it looks like it can not be unlocked again with out the Motorola unlock code...
We cannot teach people anything; we can only help them discover it within themselves.
Click to expand...
Click to collapse
Same here, I can see what it means but cannot find any way to get back to code 3 other than using the unlock code from Motorola, which I am unable to obtain because it says I am not eligible. Surprising that someone hasn't cracked the unlock code yet or made a keygen, people are so eager to do it with pirated computer software before the software is even released.
I've read of someone getting locked status code 2 b4 from flashing an older gpt with rsd (if I remember correctly) I think all that was required to fix it and get unlocked again was to flash the latest gpt. Very important..... Are you sure when you were unlocked you didn't ota update to .15? Because flashing .10 gpt while on .15 may be what caused your false relock
Nope, no OTA update to .15. The ZIP I have of the rom does include the gpt.bin file with the same timestamp as all the other files. I suppose I could try reflashing the whole rom once again later...
Hmm strange, I went to find the old thread I read about the gpt relock issue but it's not exactly the same as your situation.
http://forum.xda-developers.com/showthread.php?p=51436123
Until now I didn't think relock was possible due to the way unlocking works. It's a physical change, a qfuse was blown when the motopocalypse apk was run the first time. It can't be unblown lol. Wish I knew what went wrong here.

how to lock bootloader? warranty

Hello Guys
I have a question how to look bootloader?
Because maybe if i want to sell this phone or send to service i must have locked bootloader because they are checking if the bootloader is locked or not...
i think you need a locking code, have to ask huawei for that
then use the adb command to lock bootloader
+1
if find please post!
i found something
type this "fastboot oem relock YOUR CODE"
where YOUR CODE its the unlocking code provided by huawei
try and comment
anyways, the phone will say "relocked" not "locked" as factory locked.
Confusion?
jabonloco said:
i found something
type this "fastboot oem relock YOUR CODE"
where YOUR CODE its the unlocking code provided by huawei
try and comment
anyways, the phone will say "relocked" not "locked" as factory locked.
Click to expand...
Click to collapse
Assuming you already have your code...
adb reboot bootloader
then when it's at the bootloader and it mentions "phone unlocked"
fastboot oem lock
The lock and relock confusion ... was this ever tested with the relock command? Is there a difference?
I tried to lock back the phone with the following command:
Code:
fastboot oem lock
Phone got restarted into bootloader directly, without locking it. I read about this around the net, and found that the system may have to be unrooted in order to get the above command working.
I think, when you unlock your bootloader you never can how back.
once unlocked, always unlocked.
that is why they say you lose all warranty when you unlock your phone.
By the way, I tried to do the relocking with the TWRP Recovery installed. Maybe after reflashing a stock ROM, and flashing the stock recovery back, it'll work.
Does this work for anyone? Really need to lock my bootloader again and it's not working.
Bomn said:
Assuming you already have your code...
adb reboot bootloader
then when it's at the bootloader and it mentions "phone unlocked"
fastboot oem lock
The lock and relock confusion ... was this ever tested with the relock command? Is there a difference?
Click to expand...
Click to collapse
I think if you install a update.app of your stock firmware the bootloader will be locked..This may be work though I didn't check it yet.
Rifat Nurr said:
I think if you install a update.app of your stock firmware the bootloader will be locked..This may be work though I didn't check it yet.
Click to expand...
Click to collapse
Sadly not. Then bootloader is still unlocked.
As far as I know there's no way to relock the bootloader after unlocking it. By default it should allow such an operation, but looks like our fastboot framework was modified in this way.
works
http://huaweip8lite.blogspot.hu/2016/01/tutorial-how-to-lockrelock-bootloader.html
For unlock your bootloader
The command is :
"Fastboot oem unlock *********"
For relock it
The command is
"fastboot oem relock **********"
The stars was your unlock/lock code from Huawei.
It's the only way, other's command was wrong.
Install update don't relock your bootloader and you can update with your bootloader unlock.
It's only necessary to relock it in case of warranty.
Having his bootloader unlock is a great help when you have bad trouble like brick or softbrick.
Also you have to know exactly what you are making on your device's. And you are the only one to blame for the modifications you make on your device's
Lock the bootloader with DCUnlocker... it'll lock the bootloader without the 'relocked' on the screen.
Rifat Nurr said:
I think if you install a update.app of your stock firmware the bootloader will be locked..This may be work though I didn't check it yet.
Click to expand...
Click to collapse
No...Not Will Be Locked
For relock it, you have to use your unlock code too.
In fastboot type
fastboot oem relock ************
(the stars is your unlock code)
And now your bootloader become green and locked.
Sent from my ALE-L21 using XDA-Developers mobile app
And now your bootloader (maybe, i don't know for sure) become green and RE-locked.
If you use DC-unlocker it only reads "locked"
Lähetetty minun ALE-L21 laitteesta Tapatalkilla
Bazilli said:
If you use DC-unlocker it only reads "locked"
Lähetetty minun ALE-L21 laitteesta Tapatalkilla
Click to expand...
Click to collapse
We are talking about warranty, i think that huawei doesn't use DC-unlocker!

Cannot boot Mi A1 after locking bootloader

Hi could I ask because i lock my bootloader on Mi A1 but unfortunately the device didn't boot up.
Now, I am trying to unlock bootloader to fix my device and it won't unlock FAILED (remote: oem unlock is not allowed).
I am on May latest security patch build. Please help me.
Did you try reflashing ROM with Mi Flash tool? Use "Save user data" option there.
hulicow said:
Hi could I ask because i lock my bootloader on Mi A1 but unfortunately the device didn't boot up.
Now, I am trying to unlock bootloader to fix my device and it won't unlock FAILED (remote: oem unlock is not allowed).
I am on May latest security patch build. Please help me.
Click to expand...
Click to collapse
I think you tried to lock your phone after rooting your device. You'll have to try to switch to fastboot mode by volume down + power after vibration. Then use flash using Mi flash tool
I cannot do that, the bootloader is locked and I am on May security patched. Those fastbook oem unlock and fastboot flashing unlock methods won't work. I believe only testpoint is the solution to my problem.
Stuck with the exact same problem....did u find the solution
hulicow said:
I cannot do that, the bootloader is locked and I am on May security patched. Those fastbook oem unlock and fastboot flashing unlock methods won't work. I believe only testpoint is the solution to my problem.
Click to expand...
Click to collapse
Reboot to fastboot power+volume down then reboot to edl mode by typing "fastboot oem edl" in your adb your phone will turn black. Open miflash and click "refresh" if you see "com#X" it means its connected then flash the fasboot file you downloaded in mi forums after finish press and hold power until it restarts.

How to unlock Bootloader for China Version (SKW-A0)

Anyone has idea about how to unlock the bootloader for China Version. Do I have to use Mi Unlock tool?
abhijitgiri123 said:
Anyone has idea about how to unlock the bootloader for China Version. Do I have to use Mi Unlock tool?
Click to expand...
Click to collapse
make the developer settings available, within it you will have oem bootloader authorization, you need to turn it on and theoretically ready
GáborHuN said:
make the developer settings available, within it you will have oem bootloader authorization, you need to turn it on and theoretically ready
Click to expand...
Click to collapse
I reboot into bootloader and tried both "fastboot flashing unlock" and "fastboot oem unlock". None of them seems to be working. Do I have to use Mi Unlock tool?
abhijitgiri123 said:
I reboot into bootloader and tried both "fastboot flashing unlock" and "fastboot oem unlock". None of them seems to be working. Do I have to use Mi Unlock tool?
Click to expand...
Click to collapse
this is a very good question! if I remember well, I read in another forum that you don't need Miunlock to just open the open bootloader in the developer settings, and then you can root it, and you just need to flash the ROM from the TWRP. to do this I think I need an OTG cable and a flash drive that you can flash, because you don't have a memory card slot
I have the same issue with the global version. I tried both "fastboot flashing unlock" and "fastboot oem unlock". I even tried Mi Unlock tool without any success. Also, they don't answer support tickets regarding unlocking the bootloader at blackshark site.
Any ideas?
Any one help me to unlock bootloader of black Shark 2 Chinese version?
Any one help me to unlock bootloader of black Shark 2 Chinese version?
black shark 2 global version
Any success unlocking bootloader of SKW-H0??
alaa929 said:
Any success unlocking bootloader of SKW-H0??
Click to expand...
Click to collapse
Just one Chinese developer who does not want to share this publicly for free.
Edit: Oh yea, I didn't notice I missed the most important word :< Thanks!
xshunin said:
Just one Chinese developer who does want to share this publicly for free.
Click to expand...
Click to collapse
*Does NOT want
I have a bootloader unlocked device. I can help you, we can extract the way to get the bootloader unlocked. Anyone who has an idea post a reply.
I need beta testers for root and bl unlock
How could I do it Ronith128?

I can't manually install any ota update after locking the bootloader on 12.0.9

I don't want to unlock the bootloader again and i don't like this update because it doesn't have google discover.. what can i do?
You can just stay on current version.
Or just install via fastboot and fastboot ROM
yaro666 said:
You can just stay on current version.
Or just install via fastboot and fastboot ROM
Click to expand...
Click to collapse
Without unlocking the bootloader? How?
Ok, so you stated that bootloader is locked, I thought you are considering locking it again.
In that case you have no option, but unlocking bootloader to flash different miui ROM
yaro666 said:
Ok, so you stated that bootloader is locked, I thought you are considering locking it again.
In that case you have no option, but unlocking bootloader to flash different miui ROM
Click to expand...
Click to collapse
I did exactly that. Thank you.

Categories

Resources