I'm using mi 6x (wayne)with havoc rom.I'm wanna flash miui latest beta rom from custom twrp.Can my phone brick. I'm afraid anti roll back.
I'd suggest this; unlock the bootloader (if not already unlocked), in fastboot type; 'fastboot getvar anti'.
If that returns a number, then I *think* that means ARP is enabled on that phone. If it returns nothing, supposedly that means it's not enabled.
Related
Hi,
I desperately need help. I have a Xiaomi Mi5. My problem is the following. I have previously unlocked the bootloader using the code sent by Miui and have installed Lineage OS on my phone, which worked perfectly. The other day I had an idea that locking the bootloader would allow me to use Android Pay apps (currently not allowed with an unlocked bootloader) so I used the commands:
fastboot oem lock,
fastboot flashing lock,
fastboot oem relock,
As a result, my device is now locked but it won't start. I do realise that I need to reflash the ROM but I cannot unlock the phone. As I cannot start the phone I also cannot access the developer setttings in the phone and therefore I cannot put it in debugging mode.
The device is recognised when it's in fastboot mode and when I use adb command: fastboot oem unlock, I get the response "token verification failed". I have also tried to flahs the TWRP.img but I get the same message that the phone is locked. I have tried to use the Miflash unlock tool again but when I try to sign in I get "network error". I have seen somewhere in the forum that it's because the MI account no longer recognises my phone (as it now only has Lineage installed).
Can anyone help?
With miflash try to flash a china developer, then unlock bootloader, and finally flash twrp
Inviato dal mio MI 5 utilizzando Tapatalk
Laverick74 said:
With miflash try to flash a china developer, then unlock bootloader, and finally flash twrp
Inviato dal mio MI 5 utilizzando Tapatalk
Click to expand...
Click to collapse
Thanks, I tried this but I get the same response: FAILED (the device is locked)
Try updating via Mi Suit.
http://en.miui.com/thread-279195-1-1.html
Warning: Pls don't attempt to lock your bootloaders with TWRP or any custom recovery's installed. It might just result in an unrecovereable hard brick. Bootloaders should always be locked with stock recoveries.
SwedieK said:
Hi,
I desperately need help. I have a Xiaomi Mi5. My problem is the following. I have previously unlocked the bootloader using the code sent by Miui and have installed Lineage OS on my phone, which worked perfectly. The other day I had an idea that locking the bootloader would allow me to use Android Pay apps (currently not allowed with an unlocked bootloader) so I used the commands:
fastboot oem lock,
fastboot flashing lock,
fastboot oem relock,
As a result, my device is now locked but it won't start. I do realise that I need to reflash the ROM but I cannot unlock the phone. As I cannot start the phone I also cannot access the developer setttings in the phone and therefore I cannot put it in debugging mode.
The device is recognised when it's in fastboot mode and when I use adb command: fastboot oem unlock, I get the response "token verification failed". I have also tried to flahs the TWRP.img but I get the same message that the phone is locked. I have tried to use the Miflash unlock tool again but when I try to sign in I get "network error". I have seen somewhere in the forum that it's because the MI account no longer recognises my phone (as it now only has Lineage installed).
Can anyone help?
Click to expand...
Click to collapse
This might help you. http://en.miui.com/thread-299790-1-1.html
Good luck.
I was trying to install Camera2 on it. Unlocked it with developer options ->Unlock OEM
After try some things I reset factory the cellphone and decide to forget camera2 things...
So I went to developer options and LOCKED OEM.
After that I reboot in fastboot mode and did fastboot oem lock
Now the cellphone is locked in a bootloop saying that my deveice loaded a differente operational system and a screen to visit miui.com/unlock.
The unlock aplication doesn't work. Says that I can't unlock the device.
So that means I lost my crazy brand new phone? THere's any solution? The Test Point solution will work? Is that the only solution???
Thiank you for any response.
foxdanger said:
I was trying to install Camera2 on it. Unlocked it with developer options ->Unlock OEM
After try some things I reset factory the cellphone and decide to forget camera2 things...
So I went to developer options and LOCKED OEM.
After that I reboot in fastboot mode and did fastboot oem lock
Now the cellphone is locked in a bootloop saying that my deveice loaded a differente operational system and a screen to visit miui.com/unlock.
The unlock aplication doesn't work. Says that I can't unlock the device.
So that means I lost my crazy brand new phone? THere's any solution? The Test Point solution will work? Is that the only solution???
Thiank you for any response.
Click to expand...
Click to collapse
"So I went to developer option and LOCKED OEM" can you be a little more clear. Because unlocking the bootloader locks the OEM unlock option in the developer settings.
Possible cause of your bootloop is the change in your build.prop file.
I did a similar mistake as well. My phone was stuck in a bootloop. My mistake was that I installed Magisk and forgot to uninstall it through the Magisk manager before locking the bootloader and so the system were not in their stock state.
What I did was, I just booted my phone into fastboot.
Unlocked the bootloader again by using "fastboot OEM unlock". Went into fastboot again. Checked the current active slot by "fastboot getvar current-slot" and flashed the stock boot image from the stock pie rom found on Mi website.
Njaiker said:
"So I went to developer option and LOCKED OEM" can you be a little more clear. Because unlocking the bootloader locks the OEM unlock option in the developer settings.
Possible cause of your bootloop is the change in your build.prop file.
I did a similar mistake as well. My phone was stuck in a bootloop. My mistake was that I installed Magisk and forgot to uninstall it through the Magisk manager before locking the bootloader and so the system were not in their stock state.
What I did was, I just booted my phone into fastboot.
Unlocked the bootloader again by using "fastboot OEM unlock". Went into fastboot again. Checked the current active slot by "fastboot getvar current-slot" and flashed the stock boot image from the stock pie rom found on Mi website.
Click to expand...
Click to collapse
What I did was with the phone working I entered on configuration, developer, and turned of the oem lock option.
Than I reboot in fastboot and did fastboot oem lock.
This made the cellphone unbootable. Bootloop saying that I'm trying to start a different operational system.
And I can't make fastboot unlock because I turned off the option in the system, so I can't send fastboot commands like oem edl, unlock, unlock-critical and etc...
I can't do nothing :/
I don't know how the option was working, but was... I know it should be locked, but this time wasn't. Was after I factory reset the cellphone
Your fault that you locked bootloader on a modified system. Do a research next time
I've been an android developers for years and years now and even have made my own ROMs, but this phone....this phone is testing me. I unlocked it months ago to install an original Android 11 ROM, but it was awful and lacked support for even the most basic functionality, so I flashed the stock image back. That alone was a nightmare and I don't remember how I managed it. That being said, the Asus Android 11 update is rolling out OTA and can be downloaded directly from their site. I downloaded it and put it in the root directory, where it is found on start-up, but when I tell it to install, it fails after a few seconds and doesn't give me any explanation for it. I thought it may be that the bootloader is unlocked, so I've been trying to re-lock it for weeks with no success. I managed to get the damn fastbootd mode recognised by my computer and it sees the phone, but when I give it any relock command I receive this error:
"FAILED (remote: Command not supported in default implementation)"I have no clue what to make of that or what it even means. My only guess is that the commands I'm using aren't supported in the latest version of the tools. I've tried the following commands:
fastrboot oem asus-lock
fastboot oem lock
fastboot oem asus_csk_lk
fastboot flashing lock
fastboot oem relock (I don't think that's a real command, but I was irritated and figured it was worth a shot)
I'm at a total loss. All I want is to get Android 11 to the damn thing and the OTA isn't coming through to my phone. The phone itself is an international model I bought from China back before it was released in the US. IDK if that's causing a problem, but at this point I'm out of ideas. I'd also note that normal fastboot, found by going to the bootloader instead of "adb reboot fastboot" doesn't even allow the computer to recognise the phone and when I try to install the fastboot driver via device manager, it outright refuses to install it. There's no apparent way to get it to install the driver anyway. I AM able to get it to install the driver and see the phone while in fastbootd mode.
Anyone got any ideas?
fastrboot oem asus-lock
This worked for me on tencent phone converted to ww firmware. I had no troubles with updating to 11 from 10 as well. I had also no troubles to flash raw firmware with bootloader unlocked.
Waiting now for new ww firmware as CN has been already released couple days ago.. If they didn't fix thing I'm annoyed with I going back to 10!
Try different cable. Had guy from reddit with same problem like yours and simple new cable sorted everything
fastboot oem asus_csk_lk should do it.
I think you may be in the wrong fastboot mode You need to be in the bootloader. Try powering off and boot with Vol UP + Power until you land on the bootloader page (don't navigate to Fastboot from the bootloader menu, just stay on the bootloader menu. Doing 'fastboot reboot bootloader' should also do the trick but suggest trying with the physical buttons.
I just received my 6 pro and want to prepare my 4xl to sell. I flashed the latest software and the phone is 100% stock now and the bootloader will not lock. In fastboot I get a serial number when I run "fastboot devices". My platform tools are up to date, usb debugging is on. When I run "fastboot flashing lock" I get a string of fastboot command options. Any iseads? I've never had this happen.
Thanks for anything
Figured it out. Sdk must have been outdated
After successfully installing MIUI EU and using it just fine, I then attempted to lock the bootloader as the phone is going back tomorrow for a screen repair. Upon using the command fastboot oem lock in fastboot mode, the bootloader was locked, but I am now in a bootloop returning me to the fastboot screen no matter what I try. WIth my bootloader locked adb does nothing and same with most fastboot commands. Whenever I try to reboot my device regularly or while using any combination of volume buttons, it shows the MIUI boot screen then straight back to fastboot and repeat.
Any help appreciated, thanks.
10TICKTERROR said:
After successfully installing MIUI EU and using it just fine, I then attempted to lock the bootloader as the phone is going back tomorrow for a screen repair. Upon using the command fastboot oem lock in fastboot mode, the bootloader was locked, but I am now in a bootloop returning me to the fastboot screen no matter what I try. WIth my bootloader locked adb does nothing and same with most fastboot commands. Whenever I try to reboot my device regularly or while using any combination of volume buttons, it shows the MIUI boot screen then straight back to fastboot and repeat.
Any help appreciated, thanks.
Click to expand...
Click to collapse
Strange idea to want lock bootloader for repair a screen. Even if you must send to Xiaomi warrantly center / agreed shop, unlock bootloader do not cancel the warrantly. Only desimlock is forbidden.
You must lock your bootloader only from your native official/legit ROM (EEA or Global or CN, etc), but never from a custom MIUI or AOSP because these roms have need to have bootloader unlocked for working.
For now you must
1- using Mi Unlock and Unlock again your device, like the first time (from waiting unlock period) but you will lose all your data, data partition (internal) is wiped.
2- using MiFlash for flash the lastest MIUI fastboot legit rom from your device (EEA ? Global ? CN ?) and be careful , by default (on the bottom right) app install / erase and lock bootloader, choose install / no lock.
I managed to fix it by using Mi Unlock with my sim in another phone for verification, I was just worried I would be faced with the wait again. Thanks.
10TICKTERROR said:
I managed to fix it by using Mi Unlock with my sim in another phone for verification, I was just worried I would be faced with the wait again. Thanks.
Click to expand...
Click to collapse
No problem, as soon as you have unlock with success your bootloader the first time, you do not have period unlock anymore