Hello guys. I unlocked the bootloader via adb (fastboot oem unlock) and flashed the cyanogenmod Recovery and after that i flashed Cyanogemod 13 (the official nightly).
Then I relocked the bootloader (fastboot oem lock)
Until here everything is fine. The problem is: After that I use my phone with CM13 normally, but I wanted to go back to stock, so I turn on developer options then i turned on the OEM unlocking thing, and usb debuging. And when i entered in fastboot mode to unlock the bootloader again i wrote via adb fastboot oem unlock the phone rebbot and now i am stucked on cyanogenmode recovery with the bootloader locked.
Another thing: if i flash the cyanogen 13 again the phone will allways reboot to recovery.
ateresabelo said:
Hello guys. I unlocked the bootloader via adb (fastboot oem unlock) and flashed the cyanogenmod Recovery and after that i flashed Cyanogemod 13 (the official nightly).
Then I relocked the bootloader (fastboot oem lock)
Until here everything is fine. The problem is: After that I use my phone with CM13 normally, but I wanted to go back to stock, so I turn on developer options then i turned on the OEM unlocking thing, and usb debuging. And when i entered in fastboot mode to unlock the bootloader again i wrote via adb fastboot oem unlock the phone rebbot and now i am stucked on cyanogenmode recovery with the bootloader locked.
Another thing: if i flash the cyanogen 13 again the phone will allways reboot to recovery.
Click to expand...
Click to collapse
Never lock bootloader unless you are on stock ROM (oos). Now you need to unlock bootloader.For that you need stock ROM and stock recovery. Are you able to boot to any ROM,cm 13?
@ateresabelo maybe you have to flash stock Rom. Hopefully then it will allow you to unlock bootloader. Best of luck mate.
saurabh40629 said:
Never lock bootloader unless you are on stock ROM (oos). Now you need to unlock bootloader.For that you need stock ROM and stock recovery. Are you able to boot to any ROM,cm 13?
Click to expand...
Click to collapse
Thanks for the reply.
I can flash CM 13 ROM with cyanogenmod Recovery, but when the flash finish, when I reboot, the phone boot into recovery mode, and not boot into the ROM. So it flash the ROM without errors but boot into the Recovery again.
ateresabelo said:
Thanks for the reply.
I can flash CM 13 ROM with cyanogenmod Recovery, but when the flash finish, when I reboot, the phone boot into recovery mode, and not boot into the ROM. So it flash the ROM without errors but boot into the Recovery again.
Click to expand...
Click to collapse
Flash stock ROM. Download it from oneplus website. And use TWRP recovery instead. Cwm is kind of obsolete and i m not sure if it works perfectly.
saurabh40629 said:
Flash stock ROM. Download it from oneplus website. And use TWRP recovery instead. Cwm is kind of obsolete and i m not sure if it works perfectly.
Click to expand...
Click to collapse
I cant do that. Because when I try to flash TWRP I recive the message that the bootloader is locked.
ateresabelo said:
I cant do that. Because when I try to flash TWRP I recive the message that the bootloader is locked.
Click to expand...
Click to collapse
Download zip file and flash from cwm, not from fastboot.
saurabh40629 said:
Download zip file and flash from cwm, not from fastboot.
Click to expand...
Click to collapse
The thing is the recovery that i have is not CWM is the cyanogenmod Recovery (with oem locked). I only can boot into CM 13 ROM if i go to the fastboot mode and then type: fastboot continue. If I do that I can use the phone with CM 13.
But when I reboot my phone from the ROM it come back to the cyanogen Recovery and not boot to the CM 13 ROM. And I have to repeat the process: Go to fastboot and type fastboot continue in order to boot on my ROM.
So is any way to unlock the bootloader, like fastboot oem unlock (with the cyanogenmod Recovery instaled) in order to flash the OPX stock recovery or the TWRP recovery?
ateresabelo said:
The thing is the recovery that i have is not CWM is the cyanogenmod Recovery (with oem locked). I only can boot into CM 13 ROM if i go to the fastboot mode and then type: fastboot continue. If I do that I can use the phone with CM 13.
But when I reboot my phone from the ROM it come back to the cyanogen Recovery and not boot to the CM 13 ROM. And I have to repeat the process: Go to fastboot and type fastboot continue in order to boot on my ROM.
So is any way to unlock the bootloader, like fastboot oem unlock (with the cyanogenmod Recovery instaled) in order to flash the OPX stock recovery or the TWRP recovery?
Click to expand...
Click to collapse
Ok, do one thing. Download flashify app and flash stock oxygen recovery through it. Remember this is an app. After that when you go to recovery, you should have stock oxygen recover. Flash oxygen os after that from stock recover. Try and let me know.
saurabh40629 said:
Ok, do one thing. Download flashify app and flash stock oxygen recovery through it. Remember this is an app. After that when you go to recovery, you should have stock oxygen recover. Flash oxygen os after that from stock recover. Try and let me know.
Click to expand...
Click to collapse
Thanks, mate. When I arrive at home I will try it and I will let you know.
saurabh40629 said:
Ok, do one thing. Download flashify app and flash stock oxygen recovery through it. Remember this is an app. After that when you go to recovery, you should have stock oxygen recover. Flash oxygen os after that from stock recover. Try and let me know.
Click to expand...
Click to collapse
Just another question: for that task (flash the OPX stock recovery do I need root access?) I am asking this because I do not have the SUperSu installed. So maybe I need to use the cyanogenmod Recovery to flash the SuperSU and hope it works and then use flashify, right?
ateresabelo said:
Just another question: for that task (flash the OPX stock recovery do I need root access?) I am asking this because I do not have the SUperSu installed. So maybe I need to use the cyanogenmod Recovery to flash the SuperSU and hope it works and then use flashify, right?
Click to expand...
Click to collapse
Yes, it does. You can enable inbuilt root access in developer settings in cm13.
saurabh40629 said:
Yes, it does. You can enable inbuilt root access in developer settings in cm13.
Click to expand...
Click to collapse
Thanks a lot. So, I am ready to do that. I have the stock Recovery for the OPX from OnePlus website and now I am ready to flash it via Flashify.
Just the last question, If I flash the stock recovery with the bootloader locked, does it will hardbrick or softbrick my phone? I just ask that, not because I dont trust you, because I trust, but because I read that is not a good ideia flash recoverys or roms with the bootloader locked.
Thanks again in advance, mate.
saurabh40629 said:
Yes, it does. You can enable inbuilt root access in developer settings in cm13.
Click to expand...
Click to collapse
It worked, mate! Thanks a lot. Now I have the Stock OPX Recovery and the OxygenOS. Amazing! SO I can assume that I can now securly unlock the bootloader, flash TWRP and NEVER relock the bootloader again, right? (Unless if I have the stock Recovery and the stock ROM.)
Thanks a lot, again!!!
ateresabelo said:
It worked, mate! Thanks a lot. Now I have the Stock OPX Recovery and the OxygenOS. Amazing! SO I can assume that I can now securly unlock the bootloader, flash TWRP and NEVER relock the bootloader again, right? (Unless if I have the stock Recovery and the stock ROM.)
Thanks a lot, again!!!
Click to expand...
Click to collapse
Glad u solved it. U got it, Just don't lock the bootloader again. There are some very good ROMs apart from cm13, try them. Happy flashing.
saurabh40629 said:
Glad u solved it. U got it, Just don't lock the bootloader again. There are some very good ROMs apart from cm13, try them. Happy flashing.
Click to expand...
Click to collapse
Thanks a lot. I only used CM 13 (nigtly and Paranoid 6.0.1). What do you suggest?
ateresabelo said:
Thanks a lot. I only used CM 13 (nigtly and Paranoid 6.0.1). What do you suggest?
Click to expand...
Click to collapse
Just look at ROM section and decide, Its raining ROMs for oneplus x. ROMs( like zephyr, orion, ownROM etc) compiled with UBER toolchain are smoother, so you may wanna try them to get awed.
saurabh40629 said:
Just look at ROM section and decide, Its raining ROMs for oneplus x. ROMs( like zephyr, orion, ownROM etc) compiled with UBER toolchain are smoother, so you may wanna try them to get awed.
Click to expand...
Click to collapse
I will and thanks again. :good:
Hey Guys
I recently flashed the dev rom from here http://en.miui.com/download-301.html
Now I want to go back to the global stable rom which is also on the same site.. I tried downloading it and flashing it through the updater app but it says "Couldn't verify package". I tried using the MiFlash guide from here http://en.miui.com/forum.php?mod=viewthread&tid=235865 but it gives an error saying "Cast is not valid".. How do I go back to global stable?
Thanks in advance
If you have unlocked bootloader than you can download the fastboot rom and flash in custom recovery.
else flashing the fastboot rom with miflash tool is the only way.
sonudhillon said:
If you have unlocked bootloader than you can download the fastboot rom and flash in custom recovery.
else flashing the fastboot rom with miflash tool is the only way.
Click to expand...
Click to collapse
Thanks for your reply
How do I resolve this invalid cast error?
sonudhillon said:
If you have unlocked bootloader than you can download the fastboot rom and flash in custom recovery.
else flashing the fastboot rom with miflash tool is the only way.
Click to expand...
Click to collapse
If i understand you ... if my bootloader is locked i can update with fastboot rom the new Miui 8 from the beta version (6.8.18) . No need to unlock ????
Yes, but only with Mi flash tool.
Hi, frendz pls help me
I have unlocked my bootloader unofficial way without permission from xiaomi, with emmc_appsboot.mbn file replacing in fastboot ROM, now my question is, if i mistakenly flash official xiaomi fastboot ROM without removing emmc_apsboot.mbn file from ROM folder what will happen, will my redmi note 3 brick by this.
Flashing fastboot rom won't brick but flashing miui recovery roms without removing emmc_apsboot.mbn will brick your phone.
dweh said:
Flashing fastboot rom won't brick but flashing miui recovery roms without removing emmc_apsboot.mbn will brick your phone.
Click to expand...
Click to collapse
Thanks bro, but if my bootloader is unlocked by unofficial way and I flash fastboot ROM in fastboot mode, so will my device still unlocked?
himfa71 said:
Thanks bro, but if my bootloader is unlocked by unofficial way and I flash fastboot ROM in fastboot mode, so will my device still unlocked?
Click to expand...
Click to collapse
No it will get locked.
Tried flashing via miFlash but reboot to edl doesn't work and since it has a relocked bootloader, cannot use it..
How can I go back? I am trying to sell my phone.
flash ur phone in edl mode
peeyaj said:
Tried flashing via miFlash but reboot to edl doesn't work and since it has a relocked bootloader, cannot use it..
How can I go back? I am trying to sell my phone.
Click to expand...
Click to collapse
U can flash ROM in edl. Even if bootloader is locked.
Hello friends,
I was using the latest MIUI 9 (9.5.6.0 I think). Yesterday I got an update to 10.1.1.0 OTA.
I had unlocked bootloader, rooted device using Magisk and custom recovery(PitchBlack).
When I downloaded the update and clicked to reboot, it went to recovery and when it completed some process I clicked to reboot to system and I am now stuck with only MI.com logo with nothing else.
I read this thread - https://en.miui.com/thread-274589-1-1.html but I'm confused now since many threads are regarding with locked bootloader. I'm unsure if my bootloader is locked again or is still unlocked. I am afraid of anti-rollback feature if it has anything to do with my device because I don't want to hard brick it.
Also can someone link from where I can download the latest fastboot ROM, since from this link - http://en.miui.com/a-234.html I cannot download and also what is the extension of fastboot ROM (zip/tar)?
Can anyone please help me with a simple guide ?
EDIT : Got the fastboot ROM - https://in.c.mi.com/thread-1703429-1-0.html
T3h said:
Hello friends,
I was using the latest MIUI 9 (9.5.6.0 I think). Yesterday I got an update to 10.1.1.0 OTA.
I had unlocked bootloader, rooted device using Magisk and custom recovery(PitchBlack).
When I downloaded the update and clicked to reboot, it went to recovery and when it completed some process I clicked to reboot to system and I am now stuck with only MI.com logo with nothing else.
I read this thread - https://en.miui.com/thread-274589-1-1.html but I'm confused now since many threads are regarding with locked bootloader. I'm unsure if my bootloader is locked again or is still unlocked. I am afraid of anti-rollback feature if it has anything to do with my device because I don't want to hard brick it.
Also can someone link from where I can download the latest fastboot ROM, since from this link - http://en.miui.com/a-234.html I cannot download and also what is the extension of fastboot ROM (zip/tar)?
Can anyone please help me with a simple guide ?
EDIT : Got the fastboot ROM - https://in.c.mi.com/thread-1703429-1-0.html
Click to expand...
Click to collapse
Dont flash miui global using twrp.
Ur bootloader is relocked.
Download fastboot tgz extension rom. Extract the folder. And flash it in EDL mode using miflash.
How to put in edl mode. Follow this thread.
https://forum.xda-developers.com/re...oot-to-edl-mode-fastboot-test-t3398718/page21
Black_Stark said:
Dont flash miui global using twrp.
Ur bootloader is relocked.
Download fastboot tgz extension rom. Extract the folder. And flash it in EDL mode using miflash.
How to put in edl mode. Follow this thread.
https://forum.xda-developers.com/re...oot-to-edl-mode-fastboot-test-t3398718/page21
Click to expand...
Click to collapse
Thanks for clarifying that bootloader is relocked.
Can I follow this procedure to flash in MiFlash - https://en.miui.com/a-234.html ?
Also can I choose "save user data" radio button instead of "clean all" to save my apps and data ?
T3h said:
Thanks for clarifying that bootloader is relocked.
Can I follow this procedure to flash in MiFlash - https://en.miui.com/a-234.html ?
Also can I choose "save user data" radio button instead of "clean all" to save my apps and data ?
Click to expand...
Click to collapse
Did u officially unlocked ur bootloader?
If u officially unlocked ur phone then check bootloader status using below fastboot command using pc.
fastboot oem device-info
If Unlock = false then its relocked.
Yes u can use userdata save option. But if device doesnt boot after mi flash then u must use clean all option.
Black_Stark said:
Did u officially unlocked ur bootloader?
If u officially unlocked ur phone then check bootloader status using below fastboot command using pc.
fastboot oem device-info
If Unlock = false then its relocked.
Yes u can use userdata save option. But if device doesnt boot after mi flash then u must use clean all option.
Click to expand...
Click to collapse
Yes I unlocked it officially.
Alright, will check first with saving data, if it doesn't boot I'll clean all.
T3h said:
Yes I unlocked it officially.
Alright, will check first with saving data, if it doesn't boot I'll clean all.
Click to expand...
Click to collapse
Since u r officially unlock Check bootloader status.
If unlock = true then u can use fastboot mode to flash.
If unlock = false then u must use EDL mode to flash.
Black_Stark said:
Since u r officially unlock Check bootloader status.
If unlock = true then u can use fastboot mode to flash.
If unlock = false then u must use EDL mode to flash.
Click to expand...
Click to collapse
It's still unlocked.
Code:
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY [ 0.058s]
finished. total time: 0.060s
Can you help me further how I can proceed with fastboot mode.
T3h said:
It's still unlocked.
Can you help me further how I can proceed with fastboot mode.
Click to expand...
Click to collapse
Unlock = true . phone is safe. Its not relocked.
So dont need EDLmode.
Just put ur phone in fastboot mode.( Vol down+ power)
And run miflash
Black_Stark said:
Unlock = true . phone is safe. Its not relocked.
So dont need EDLmode.
Just put ur phone in fastboot mode.( Vol down+ power)
And run miflash
Click to expand...
Click to collapse
Alright. So without EDL mode, I should follow this guide https://en.miui.com/a-234.html
Also which recovery do you use to have MIUI OTA updates ?
Do you recommend RedWolf or any other since zcx recovery is too old.
T3h said:
Alright. So without EDL mode, I should follow this guide https://en.miui.com/a-234.html
Also which recovery do you use to have MIUI OTA updates ?
Do you recommend RedWolf or any other since zcx recovery is too old.
Click to expand...
Click to collapse
Thats correct. U can download fastboot tgz rom and follow those instruction fron official site.
If u want to stay on miui global rom then why u want twrp? U can update miui OTA using miui updater.
TWRP are for flashing custom roms. If u use twrp for flashing miui ota then u might put phone in bootloop again.
Black_Stark said:
Thats correct. U can download fastboot tgz rom and follow those instruction fron official site.
If u want to stay on miui global rom then why u want twrp? U can update miui OTA using miui updater.
TWRP are for flashing custom roms. If u use twrp for flashing miui ota then u might put phone in bootloop again.
Click to expand...
Click to collapse
Oh but I want to root my device again. That will break OTA no?
T3h said:
Oh but I want to root my device again. That will break OTA no?
Click to expand...
Click to collapse
If u like miui and twrp both . then flash miui Eu ( europe) rom.
It is custom rom version of miui.
It is best and lightest. No unnecessary heavy bloated gapps. Only playstore.
Its certified by xiaomi. It is battery optimised and kernel tweaks and performance.
U can flash it using latest twrp 3.2.3. No relock of bootloader.
But first u recover ur device.
https://sourceforge.net/projects/xi...files/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv10/
https://dl.twrp.me/kenzo/
Black_Stark said:
If u like miui and twrp both . then flash miui Eu ( europe) rom.
It is custom rom version of miui.
It is best and lightest. No unnecessary heavy bloated gapps. Only playstore.
Its certified by xiaomi. It is battery optimised and kernel tweaks and performance.
U can flash it using latest twrp 3.2.3. No relock of bootloader.
But first u recover ur device.
https://sourceforge.net/projects/xi...files/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv10/
https://dl.twrp.me/kenzo/
Click to expand...
Click to collapse
Great. Will checkout that ROM :good:
EDIT : Recovered my device from Fastboot using MiFlash.
Thank you.