Cannot flash TWRP on Lineage OS recovery using fastboot - OnePlus 2 Q&A, Help & Troubleshooting

Hi,
I have previously flashed many roms and changed my recovery from TWRP to Lineage OS. Now I'm trying to go back to TWRP and for some reason whenever I try to flash the img file in fastboot mode there's the following error; "FAILED (remote: 'device is locked. Cannot flash images')"
I have OEM unlocking enabled. USB debugging is enabled. I tried locking and unlocking the bootloader. Nothing seems to help. Any help will be appreciated.
Thank you.

I am having the exact same issue! Did you ever found a solution to this issue?

Try to update to the latest ota ROM (Android 6.0), I solved the same issue by this way

RafaelDeJongh said:
I am having the exact same issue! Did you ever found a solution to this issue?
Click to expand...
Click to collapse
Try to update to the latest OTA ROM(Android 6.0)

Related

ZE550KL Bootloader Problem

Need Help..
I Am trying to Unlock my Bootloader in my ZE550KL:
- I was on Marshmellow stock Rom.
- Flashed 1.17 but was not able to unlock my bootloader.
- Then Flashed to 1.16.40.763 But still unable to lock my bootloader.
I am running Asus official Bootloader unlock tool(Unlock Device Tool) it is running without any issues but when i check the phone status in fastboot mode.
fastboot oem device-info
But bootloader status is false..
Please can someone help me how to unlock my bootloader..
Same problem here. Help us out
same problem here
Me too! I got the same problem with you guys
Same Problem
Same prblm..no idea to unlock boot loader
Unlocked mine by using this
http://forum.xda-developers.com/zen...ock-bootloader-asus-unlock-app-t3405850/page1
If you want I can help you. I have unlocked mine using a unique way....
Akash Karthik said:
If you want I can help you. I have unlocked mine using a unique way....
Click to expand...
Click to collapse
Yeah. It would be really great if you help me out with
it.
What is that
If you want to flash a custom rom, you don't need to unlock bootloader for it.
You can flash custom recovery using fastboot mode, after which you can install custom roms.
Ashish8017 said:
If you want to flash a custom rom, you don't need to unlock bootloader for it.
You can flash custom recovery using fastboot mode, after which you can install custom roms.
Click to expand...
Click to collapse
I did the same method as you are telling. I was able to install twrp through fastboot successfully(without unlock the bootloader) and installed custom rom and gapps successfully too. But when I reboot my device after installation I stuck in boot logo every time. I waited more than 30mins but nothing happened. No matter which rom I tried but I had to face the same problem ?. I don't know how to get rid of this issue.
And also my twrp showing an error which is -failed to mount/factory (invalid argument).
I think this is the reason why I'm facing bootloop.
---------- Post added at 09:56 AM ---------- Previous post was at 09:41 AM ----------
-Zeus- said:
Unlocked mine by using this
http://forum.xda-developers.com/zen...ock-bootloader-asus-unlock-app-t3405850/page1
Click to expand...
Click to collapse
I also unlocked mine using the same method that you have used. And successfully unlocked my bootloader. Then I installed twrp using fastboot. But my twrp showing an error which is -failed to mount/factory (invalid argument).
Then I successfully installed custom rom and gapps ( I wiped cache after installation) but when I reboot my phone I stuck in boot logo. I waited more than 30mins but nothing happened.
I tried so many roms but had to face same problem.
Is the twrp errors the reason of my bootloop issue??
foysal04 said:
I did the same method as you are telling. I was able to install twrp through fastboot successfully(without unlock the bootloader) and installed custom rom and gapps successfully too. But when I reboot my device after installation I stuck in boot logo every time. I waited more than 30mins but nothing happened. No matter which rom I tried but I had to face the same problem ?. I don't know how to get rid of this issue.
And also my twrp showing an error which is -failed to mount/factory (invalid argument).
I think this is the reason why I'm facing bootloop.
Click to expand...
Click to collapse
https://www.asus.com/zentalk/in/thread-128115-1-1.html
Refer to this asus zentalk link.
flash twrp again and make sure to keep your volume down button pressed before entering the "FASTBOOT REBOOT" command.
Clear ur data after flashing twrp, flash trustzone fix also if you're getting error 7, install ur desired custom rom. It should work!!
I did the same a couple of days ago, it worked for me.
Ashish8017 said:
If you want to flash a custom rom, you don't need to unlock bootloader for it.
You can flash custom recovery using fastboot mode, after which you can install custom roms.
Click to expand...
Click to collapse
To install ROM you need a unlocked bootloader , screw twrp for now.

Can't boot to custom rom

I'm currently on lollipop stock firmware with phone rooted and bootloader unlocked. I have also flashed latest Twrp recovey.
But here is the problem, i downloaded Resurrection remix latest version and tried to flash it, but error 7 came up. I bypassed this error by editing the updater script ( i followed a tutorial ). Now when i flashed the rom it says its sucessful but when I select boot to system it goes to fastboot mode. Im a noob so please dont be harsh to me.
PLEASE HELP ME FAST
THANKS
You still need to upgrade to stock MM before flashing RR M.
24imelqui said:
You still need to upgrade to stock MM before flashing RR M.
Click to expand...
Click to collapse
WIll I have to unlock my bootloader again when i go to stock MM.
abhishek_los said:
WIll I have to unlock my bootloader again when i go to stock MM.
Click to expand...
Click to collapse
No, but to be sure go to fastboot the type:
fastboot oem device-info
if you see this -->> (bootloader)Device unlocked: true
then you are still unlocked.
24imelqui said:
No, but to be sure go to fastboot the type:
fastboot oem device-info
if you see this -->> (bootloader)Device unlocked: true
then you are still unlocked.
Click to expand...
Click to collapse
Thanks man it worked and i am able to flash Resurection remix.
Thanks a lot again
Glad I was able to help. Warning, flashing can be addictive! And make sure to have a nandroid back-up.
WRT the original post, I tried the same procedure but after having errors i flashed the twrp with adb through cmd:fastboot flash boot boot.img . And now it is showing no OS available and shows that it is not rooted in the twrp recovery. Now it is still not flashing the rom and showing error and now i have no idea what to do. So, please give me instructions on how to repair my asus zenfone 2 laser ze550kl. I did all this on MM.
If you have TWRP 3025 then you can flash any custom ROM. Try to redownload the ROM, maybe it's just a bad download. What error did you see?

VS995-12A stuck on bootloop

Hello Team
i am stuck on Boot Loop after flashing V12A Rom using LGUP(with Patched DLL)
Last working rom was VS995-17A (non-rooted)
I successfully flashed V13A and V17A rom but no profit
tried UPDATE & PARTION DL modes
I tried US996 10F rom with LGUP - rom boots up but force closes in 10 seconds with errors com.android FC
My bootloader is locked - (checkd with fastboot getvar command)
I still have a working download mode
uccfar said:
Hello Team
i am stuck on Boot Loop after flashing V12A Rom using LGUP(with Patched DLL)
Last working rom was VS995-17A (non-rooted)
I successfully flashed V13A and V17A rom but no profit
tried UPDATE & PARTION DL modes
I tried US996 10F rom with LGUP - rom boots up but force closes in 10 seconds with errors com.android FC
My bootloader is locked - (checkd with fastboot getvar command)
I still have a working download mode
Click to expand...
Click to collapse
so your bootloader was looked when you tried to "update" rom?
if so thats your issue. you can try to connect to pc and put phone in fastboot mode and unlock bootloader.
cbissa18 said:
so your bootloader was looked when you tried to "update" rom?
if so thats your issue. you can try to connect to pc and put phone in fastboot mode and unlock bootloader.
Click to expand...
Click to collapse
No they cant. Fastboot oem unlock only works with the T-mobile variant (unlock works without a key but is missing flash commands) and the us unlocked us996 can unlock by flashing a key from lg but can actually flash roms.
@uccfar is using the term rom when meaning stock firmware, and if this didnt happen when rooted or trying to root it could easily be a hardware issue.
Phoenix591 said:
No they cant. Fastboot oem unlock only works with the T-mobile variant (unlock works without a key but is missing flash commands) and the us unlocked us996 can unlock by flashing a key from lg but can actually flash roms.
@uccfar is using the term rom when meaning stock firmware, and if this didnt happen when rooted or trying to root it could easily be a hardware issue.
Click to expand...
Click to collapse
I fixed my problems and my V20 VS995 is up and running .
Thanks goes to all the members who have posted their problems and a subsequent solution for each and every issue
uccfar said:
I fixed my problems and my V20 VS995 is up and running .
Thanks goes to all the members who have posted their problems and a subsequent solution for each and every issue
Click to expand...
Click to collapse
Just wondering, how did you fix your issue?
Thank you.

[SOLVED] A2017G bootloader relock.

Has anyone successfully relocked the bootloader on a A2017G? I've tried flashing various versions of Nougat and now with the new official Oreo and every time I try booting to bootloader (fastboot) the phone just boots into system. I'm on full stock system with stock recovery. I flashed a B12 EDL from LOS 15.1 to then update to the new Oreo.
Everything else works fine, the drivers are correct I simply just cannot access the bootloader, no matter which rom I flash.
Hi, on A2017G I succeeded with Axon 7 toolkit, option "bootloader lock"
pudil said:
Hi, on A2017G I succeeded with Axon 7 toolkit, option "bootloader lock"
Click to expand...
Click to collapse
Hi. I tried that but no luck. It just reboots the phone back to system
Problem solved, I've managed to lock the bootloader.
Victor13f said:
Problem solved, I've managed to lock the bootloader.
Click to expand...
Click to collapse
Can You tell us how? I am on Stock Nougat , but I unlocked propabaly on Marshmallow and then updated for Nougat. I cannnot boot to fastboot mode, my phone just reboots to system, as your before.
Filozof71 said:
Can You tell us how? I am on Stock Nougat , but I unlocked propabaly on Marshmallow and then updated for Nougat. I cannnot boot to fastboot mode, my phone just reboots to system, as your before.
Click to expand...
Click to collapse
I flashed a fastboot EDL unlock that I found here on XDA and then I managed to lock the bootloader with OEM lock. However, I bricked my phone and couldn't boot into OS but it wasn't a big issue since I just flashed a B12 EDL afterwards and from there got an OTA update to Oreo with the bootloader locked.

Bootloop, stock Pie fastboot image needed.

Hi there, let me explain...
I f*ckup re-installing the latest Oreo stock fastboot image onto my Lineage 16 December firmware, and guess what, without paying attention I choose "Flash all and lock".
So now I am bootlooping, I cannot flash anything (twrp/rom or other) through fastboot.
I can EDL flash, but since December Pie beta brought us rollback protection, flashing the latest stock Oreo fastboot with EDL image won't fix my problem.
I guess my one and only solution is to flash a Pie Fastboot image through edl. I tried with this one (https://www.theandroidsoul.com/how-to-download-mi-a1-android-pie-update/) but unfortunately mi flash tool gives my this error: "programmer file not found", I looked into the " flash_all.bat provided" and everything look fine...
So I am seeking you help. And maybe someone over here might be able to provide me a stock pie fastboot image?
Thanks in advance, cheers
I also faced this problem bro!!!
I enterd in fastboot mode and boot into twrp recovery then flashed only linegeOs 15.1 that means 8.1 then my mobile boots into system ?
i was also searching for pie fastboot image,,, but right now its not availabe,, so can you try this.. i am also using this pie https://forum.xda-developers.com/mi-a1/development/twrp-stock-8-1-0-t3856328
@Manojyaligar @taran181
Thanks for replying, my problem is I cannot flash anything through Fastboot as my phone's bootloader is actually locked.
So the only way I have to flash anything is through EDL, and I don't think that you can boot into TWRP from EDL.
Unipo said:
@[email protected]
Thanks for replying, my problem is I cannot flash anything through Fastboot as my phone's bootloader is actually locked.
So the only way I have to flash anything is through EDL, and I don't think that you can boot into TWRP from EDL.
Click to expand...
Click to collapse
You can try flashing a nougat fastboot image. That might allow you to boot up and enable unlocking the bootloader.
Unipo said:
@Manojyaligar @taran181
Thanks for replying, my problem is I cannot flash anything through Fastboot as my phone's bootloader is actually locked.
So the only way I have to flash anything is through EDL, and I don't think that you can boot into TWRP from EDL.
Click to expand...
Click to collapse
just flash oreo 8.1.1.0 version january patch 2018... you will be able to boot ... there is a chance you will loose imei,, but then flash pie through twrp you will get imei back and phone will be normal
@taran181
Will I be able to flash this ROM despite the anti-rollback protection?
Anyway I am going to give it a shot tomorrow, thank you.
Wow that was something
So tried to follow the guide on "Guides, news and discutions". But end up loosing my imei, and nothing worked I flashed nougat January and Oreo march and november, unable to recover imei.
I had to downgrade to nougat, and write back imei on nvram.
But it's all sorted now :victory:

Categories

Resources