cant flash twrp - Xiaomi Mi 5s Questions & Answers

Hi, i've downgraded from 8.2.1.0 to 8.0.3.0. After that i cant flash twrp, ive tried every method out there, but no success. With miflashunlock and stuck at 50%. Somebody please help me

Install Global Dev, after that enable unlock in developer options. After that unlock will be succesful.

BlackJetCat said:
Install Global Dev, after that enable unlock in developer options. After that unlock will be succesful.
Click to expand...
Click to collapse
then i can flash 8.0.3.0 back?

Chaninoza said:
then i can flash 8.0.3.0 back?
Click to expand...
Click to collapse
Yes. But you really want to stay on 8.0.3.0?

BlackJetCat said:
Yes. But you really want to stay on 8.0.3.0?
Click to expand...
Click to collapse
im gonna try global dev for a while

im having this error while flashing "error: Flash xbl error", anyone knows what it means?
Edit: i've checked via fastboot and its says that my device is locked, again?
EDIT 2: nevermind, i managed to flash global dev via updater app. thanks!

Related

Relock bootloader of rooted A2 Lite (Stock Rom)

Hey guys,
i just want to ask if there is a tested method to relock the bootloader of a rooted A2 Lite.
I use the stock rom, just unlocked and rooted it.
I've read something about the MiFlashTool and the Clean and Lock Option.
But I'm not sure about that, because the MiFlashTool is for Miui.
So what are the steps to relock the bootloader?
Thank you for your help
Mansil234 said:
Hey guys,
i just want to ask if there is a tested method to relock the bootloader of a rooted A2 Lite.
I use the stock rom, just unlocked and rooted it.
I've read something about the MiFlashTool and the Clean and Lock Option.
But I'm not sure about that, because the MiFlashTool is for Miui.
So what are the steps to relock the bootloader?
Thank you for your help
Click to expand...
Click to collapse
The MiFlashTool is also for the Stock Rom of the Mi A2 Lite (Not only MIUI!)
Download the Stock Rom and you can flash it via MiFlash. If you choose the option, you can relock the Bootloader when you do this.
Woah there buddy, if you try to lock a rooted phone you will have a hard brick. Don't try to lock the bootloader of a phone that is rooted or have system/boot etc. modifications.
marstonpear said:
Woah there buddy, if you try to lock a rooted phone you will have a hard brick. Don't try to lock the bootloader of a phone that is rooted or have system/boot etc. modifications.
Click to expand...
Click to collapse
And If i First delete the root-rights?
Mansil234 said:
And If i First delete the root-rights?
Click to expand...
Click to collapse
Not sure if it would work, the cleanest way would be to download official fastboot ROM, flash it via MiFlash (select clean and lock option). This will erase all your data and turn your phone to stock ROM. I'm saying this is the cleanest way because you may have issues by unrooting and locking the phone. Maybe it would work. Unsure.
marstonpear said:
Not sure if it would work, the cleanest way would be to download official fastboot ROM, flash it via MiFlash (select clean and lock option). This will erase all your data and turn your phone to stock ROM. I'm saying this is the cleanest way because you may have issues by unrooting and locking the phone. Maybe it would work. Unsure.
Click to expand...
Click to collapse
But you said that this would brick my device?
Mansil234 said:
But you said that this would brick my device?
Click to expand...
Click to collapse
He meant: If you have root acces with magisk first of all uninstall root and relock bootloader
Kineceleran said:
He meant: If you have root acces with magisk first of all uninstall root and relock bootloader
Click to expand...
Click to collapse
Ok, this was a misunderstanding
If you lock your bl at a modified system, you will get the message "your system got destroyed", I once had this. But I was lucky being able to unlock again... So no hardbrick... But doing all that leads to nothing. Btw. it's always useful to have an open bl... For example, if you mess up with a magik module and stuck @boot... Just ignore the stupid message of xiaomi!
Voodoojonny said:
If you lock your bl at a modified system, you will get the message "your system got destroyed", I once had this. But I was lucky being able to unlock again... So no hardbrick... But doing all that leads to nothing. Btw. it's always useful to have an open bl... For example, if you mess up with a magik module and stuck @boot... Just ignore the stupid message of xiaomi!
Click to expand...
Click to collapse
To prevent this, i want to remove the root access in the first place.
That i have a clean stock rom.
I tried it with no-data-loss method and it says, system is destroyed, i have it to unlock it.
With root, you can relock it, but it's useless.
Mansil234 said:
To prevent this, i want to remove the root access in the first place.
That i have a clean stock rom.
Click to expand...
Click to collapse
Backup up everything first
Download MiFlash and the correct ROM (not OTA version)
Then you can flash the Stock ROM which will remove everything
You can also choose to leave unlocked or lock the bootloader (re-lock is selected by default)
As this is a somewhat new device I wouldn't tick the option to save your data.
capajga said:
Backup up everything first
Download MiFlash and the correct ROM (not OTA version)
Then you can flash the Stock ROM which will remove everything
You can also choose to leave unlocked or lock the bootloader (re-lock is selected by default)
As this is a somewhat new device I wouldn't tick the option to save your data.
Click to expand...
Click to collapse
What is the correct rom if not the OTA-Version?
Mansil234 said:
What is the correct rom if not the OTA-Version?
Click to expand...
Click to collapse
Take a look at this thread:
https://forum.xda-developers.com/mi-a2-lite/how-to/ota-v9-6-4-0-odlmiff-t3823913
you can find pretty much all ota's and fastboot rom links.
All full ROMs end with .tgz extension
like this one:
http://bigota.d.miui.com/V9.6.4.0.O...0.ODLMIFF_20180724.0000.00_8.1_4afd3431a2.tgz
you have to extract it to be able to use it with MiFlash but I'm sure you'll find all the answers in the thread above
capajga said:
Take a look at this thread:
https://forum.xda-developers.com/mi-a2-lite/how-to/ota-v9-6-4-0-odlmiff-t3823913
you can find pretty much all ota's and fastboot rom links.
All full ROMs end with .tgz extension
like this one:
http://bigota.d.miui.com/V9.6.4.0.O...0.ODLMIFF_20180724.0000.00_8.1_4afd3431a2.tgz
you have to extract it to be able to use it with MiFlash but I'm sure you'll find all the answers in the thread above
Click to expand...
Click to collapse
Thanks! Everything went fine!
Mansil234 said:
Thanks! Everything went fine!
Click to expand...
Click to collapse
Glad to hear it :laugh:

Cant find OEM Unlock

Hi,
I restored my Zuk Z2 to stock, as I bricked it, so just wanted to start fresh.
Now I'm back with a fresh stock OS and want to hack it again and put on AOSiP 9.0 ROM.
However, once I go into Developer Options, there is no option for "OEM Unlock".
Has that option been moved? Do I need to flash another stock ROM? Can someone help me?
I used this guide to revert to stock, and I am using the ROMs they linked:
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/guide-lock-bootloader-avail-warranty-t3694883
Thanks.
eoinzy said:
Hi,
I restored my Zuk Z2 to stock, as I bricked it, so just wanted to start fresh.
Now I'm back with a fresh stock OS and want to hack it again and put on AOSiP 9.0 ROM.
However, once I go into Developer Options, there is no option for "OEM Unlock".
Has that option been moved? Do I need to flash another stock ROM? Can someone help me?
I used this guide to revert to stock, and I am using the ROMs they linked:
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/guide-lock-bootloader-avail-warranty-t3694883
Thanks.
Click to expand...
Click to collapse
If your bootloader has been locked, then you need to unlock it again with a PC ?
I believe the process to unlock the bootloader begins by going into Developer Options and enabling "OEM Unlock". Then you do the rest with a PC.
Is this correct?
eoinzy said:
I believe the process to unlock the bootloader begins by going into Developer Options and enabling "OEM Unlock". Then you do the rest with a PC.
Is this correct?
Click to expand...
Click to collapse
There is no such option in developer settings, you get the unlock key from lenovo via email
OH ok, my mistake.
BTW, I'm on official FW ZUI 2.0.133 ST. Is that the latest? Or does it matter if I'll be switching to AOSiP?
Read this:
https://forum.xda-developers.com/showpost.php?p=78224941&postcount=2
It says I need to flash 3.5 first, but those two firmware give me an error in MiFlash saying they're invalid format. They flash in QFIL but give me a brick, hence my original issue.
Thanks.
eoinzy said:
OH ok, my mistake.
BTW, I'm on official FW ZUI 2.0.133 ST. Is that the latest? Or does it matter if I'll be switching to AOSiP?
Read this:
https://forum.xda-developers.com/showpost.php?p=78224941&postcount=2
It says I need to flash 3.5 first, but those two firmware give me an error in MiFlash saying they're invalid format. They flash in QFIL but give me a brick, hence my original issue.
Thanks.
Click to expand...
Click to collapse
1) now you have unlock bootloader?
2) ZUI 2.0.133 its not the latest its ZUI 4.0xxx
Flash with qfil the ZUI v1.9 CN and after that use OTA to go in the last ZUI after that unlock bootloader flash twrp and your are ready to flash any ROM you want.
Yes actually I have flashed again and used OTA to get to 4.x but it's still the same issue.
I am also currently trying to flash a ROM on another phone and I was told I can't use the latest TWRP (3.3.0.0) as it uses "Toybox", so I have to use the previous version of TWRP (3.2.3.0).
I am starting to think it is the same issue here, so I will try downgrade TWRP and try again.
eoinzy said:
Yes actually I have flashed again and used OTA to get to 4.x but it's still the same issue.
I am also currently trying to flash a ROM on another phone and I was told I can't use the latest TWRP (3.3.0.0) as it uses "Toybox", so I have to use the previous version of TWRP (3.2.3.0).
I am starting to think it is the same issue here, so I will try downgrade TWRP and try again.
Click to expand...
Click to collapse
I use TWRP 3.2.3.1 from here with no problem.
Can you boot on TWRP?
https://forum.xda-developers.com/le...-official-teamwin-recovery-project-3-t3899166

[SOLVED] chinese variant to Global NEED HELP!!!

Hi!
i installed the global rom via TWRP recovery
now when i try to set up new device all i get is chinese region
Then i hit next and started looping for some reason and message showing "Find Device Automatically Closed"
After multiple loops it restarts and the TWRP is gone
i tried multiple Roms all the same
if anyone has a clue please help
The solution : use MiFlash not TWRP and careful just flash not flash and lock you might get into a bootloop if you made that mistake just like i did don't panic use Mi Unlock
After it reboots setup your device say goodbye to Chinese bloatware.
Thx @nhtnokia
Flash cust.img or use MiFlash to flash stock ROM.
nhtnokia said:
Flash cust.img or use MiFlash to flash stock ROM.
Click to expand...
Click to collapse
I cant find firmware .img i only found Tgz file type
i have done a backup before flashing i get file types .win001.sha2
faroukxda said:
I cant find firmware .img i only found Tgz file type
i have done a backup before flashing i get file types .win001.sha2
Click to expand...
Click to collapse
I think you should use MiFlash to change from CHINA to the GLOBAL version.
nhtnokia said:
Flash cust.img or use MiFlash to flash stock ROM.
Click to expand...
Click to collapse
nhtnokia said:
I think you should use MiFlash to change from CHINA to the GLOBAL version.
Click to expand...
Click to collapse
i think i screwed up very bad. i flashed and locked with miflash now it goes directly to recovery
saying miui vesion isn't supported
is there any way that i can reflash a locked device to stock firmware " Hard Reset" ?
faroukxda said:
i think i screwed up very bad. i flashed and locked with miflash now it goes directly to recovery
saying miui vesion isn't supported
is there any way that i can reflash a locked device to stock firmware " Hard Reset" ?
Click to expand...
Click to collapse
If your bootloader is still unlocked. I can help you. Let's inbox me.
nhtnokia said:
If your bootloader is still unlocked. I can help you. Let's inbox me.
Click to expand...
Click to collapse
check DM

Anti-rollback Help!

Hello everybody,
yesterday I installed the ROM V.11.0.7 but it doesn't make any changes. It seems official. It's terrible! Today I tried to put the V. 11.0.5 but it does not even let me install the TWPR 3.4.1B I probably made a mess.
It doesn't allow me to downgrade.
Can you help me please?
Thanks a lot!
Did you unlocked your Bootloader?
phil2sat said:
Did you unlocked your Bootloader?
Click to expand...
Click to collapse
It unlocked.
Thank you so much but I have already solved it
ares3010 said:
It unlocked.
Thank you so much but I have already solved it
Click to expand...
Click to collapse
how u solved? i want flash miui 12 and i come from aosp and doesnt let me flash....
dantk said:
how u solved? i want flash miui 12 and i come from aosp and doesnt let me flash....
Click to expand...
Click to collapse
To come back to miui from AOSP you must use miflash tool to flash an official fastboot version of miui. It's necessary because miflash restores some partitions that are altered by flashing AOSP roms. Just remember not to relock the bootloader because miflash can do that.
twistyplain said:
To come back to miui from AOSP you must use miflash tool to flash an official fastboot version of miui. It's necessary because miflash restores some partitions that are altered by flashing AOSP roms. Just remember not to relock the bootloader because miflash can do that.
Click to expand...
Click to collapse
Hey it will ask for autorization from miui?
Genkimaru said:
Hey it will ask for autorization from miui?
Click to expand...
Click to collapse
You must bind your mi flash to your account to be able to use it to flash a rom on your phone. Note that mi flash will recognize your phone even if you had flashed a different rom on it.
Read this
https://c.mi.com/thread-2173190-1-0.html
twistyplain said:
You must bind your mi flash to your account to be able to use it to flash a rom on your phone. Note that mi flash will recognize your phone even if you had flashed a different rom on it.
Read this
https://c.mi.com/thread-2173190-1-0.html
Click to expand...
Click to collapse
Thumps up , thank you so much

Mi Mix 2 MIUI12 rollback

Hi guys,
I need a bit of help. I updated my phone to Global Stable 12.0.1 via OTA. I'm not quite happy with it (auto dimming feature is quite bad, searching through settings takes ages etc..). I wanted to go back to MIUI 10. Is it possibile? My phone is completley stock.
Tnx for the help.
You need to unlock bootloader(7 days) and flash old tom in TWRP, no other possibilities.
If you can unlock bootloader, why not flash custom roms
jjgvv said:
You need to unlock bootloader(7 days) and flash old tom in TWRP, no other possibilities.
If you can unlock bootloader, why not flash custom roms
Click to expand...
Click to collapse
So If I unlock the bootloader, I can't flash miui10 global stable with MiFlash tool? I'm seeing conflicting info all over the internet and i'm confused.
Jura_ZG said:
So If I unlock the bootloader, I can't flash miui10 global stable with MiFlash tool? I'm seeing conflicting info all over the internet and i'm confused.
Click to expand...
Click to collapse
yes fastboot rom
jjgvv said:
yes fastboot rom
Click to expand...
Click to collapse
Sorry, i didn't understand. I can or I can't flash fastboot rom?
Probably yes, idk​
Jura_ZG said:
Sorry, i didn't understand. I can or I can't flash fastboot rom?
Click to expand...
Click to collapse
Just unlock the bootloader and flash old rom (fastboot) via Miflash

Categories

Resources