BACKGROUND INFO: I am trying to install color os rom using twrp recovery and it gives me "failed" when i flash it. I have heard that if you use CWM recovery it will work. i have installed TWRP recovery using toolbox that i downloaded from XDA. when i went back to toolbox to install CWM recovery it told me to boot into fastboot mode and I did. i also clicked attached devices under adb options and it gives my device number in CMD. when i select CWM recovery in toolbox and i hit flash it says make sure your device is in fastboot mode and i clicked ok. then it said within a few seconds your device will boot selected recovery and CMD pops up and it says FAILED. DEVICE NOT UNLOCKED CANNOT FLASH OR ERASE. i think this is because bootloader is locked but when i hit unlock boot loader in toolbox it says make sure your device is in fastboot mode and when i click ok, CMD pops for a second, then it closes and my device reboots immediately to TWRP recovery. also my device is ROOTED. i am able to install other ROMS such as mahdi and rom from OP. someone said that if i flash philz recovery.zip using TWRP recovery i will be able to install color os but still the same error. now i am stuck with philz recovery and i am unable to flash other recoveries. someone said that it is the oem lock and i went to CMD and typed fastoot oem unlock while my device was in fastboot mode and it said OK in cmd and the device booted right into philz recovery and still i am not able to flash another recovery. i went to CMD and typed fastboot oem device-info and it said device tempered- true, bootloader unlocked- false, charger screen enabled- false. I DONT KNOW IF ITS LOCKED BOOTLOADER, THAT I AM NOT ABLE TO UNLOCK, OR OEM LOCK, WHICH I TRIED TO UNLOCK AND IT SAID OK IN CMD, THAT IS NOT ENABLING ME TO FLASH BACK TO TWRP OR STOCK RECOVERY BECAUSE I HAVE MY ROM BACKUPS IN TWRP. PLEASE HELP ME TO GO BACK TO TWRP RECOVERY OR ANY RECOVERY.
Firstly, use paragraphs. Secondly, ditch the toolbox. Issue this fastboot command:
Code:
fastboot oem device-info
What's the output?
Transmitted via Bacon
timmaaa said:
Firstly, use paragraphs. Secondly, ditch the toolbox. Issue this fastboot command:
Code:
fastboot oem device-info
What's the output?
Transmitted via Bacon
Click to expand...
Click to collapse
device tempered- true, bootloader unlocked- false, charger screen enabled- false
Your bootloader is indeed locked. You can unlock it:
Code:
fastboot oem unlock
This will erase all user data on the device.
Transmitted via Bacon
timmaaa said:
Firstly, use paragraphs. Secondly, ditch the toolbox. Issue this fastboot command:
Code:
fastboot oem device-info
What's the output?
Transmitted via Bacon
Click to expand...
Click to collapse
Agreed with the paragraphs. OP did post the output of device-info in his OP post.
Calm down op, no need to use caps lock. Okay so anyways,
Do what timmaaa said, if that doesn't work try the following,
Do you have a copy of TWRP on your computer in the fastboot.exe folder? http://techerrata.com/browse/twrp2/bacon download 2.7.1.1
Go into fastboot mode, type in fastboot boot openrecovery-twrp-2.7.1.1-bacon.img
http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
adb sideload that, then unlock your bootloader (fastboot oem unlock) in fastboot mode. then your phone will probably reboot, get into bootloader mode again then type fastboot flash recovery openrecovery-twrp-2.7.1.1-bacon.img and you will permanently flash twrp
timmaaa said:
Your bootloader is indeed locked. You can unlock it:
Code:
fastboot oem unlock
This will erase all user data on the device.
Transmitted via Bacon
Click to expand...
Click to collapse
i tried it nothing happens. the phone reboots into recovery and nothing erases. read my issue first. i already mentioned this. NOTHING HAPPENS WHEN I TYPE FASTBOOT OEM UNLOCK. IT SAYS OK. THEN THE PHONE BOOTS INTO RECOVERY AND NOTHING IS DELETED.
zephiK said:
Agreed with the paragraphs. OP did post the output of device-info in his OP post.
Calm down op, no need to use caps lock. Okay so anyways,
Do what timmaaa said, if that doesn't work try the following,
Do you have a copy of TWRP on your computer in the fastboot.exe folder? http://techerrata.com/browse/twrp2/bacon download 2.7.1.1
Go into fastboot mode, type in fastboot boot openrecovery-twrp-2.7.1.1-bacon.img
http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
adb sideload that, then unlock your bootloader (fastboot oem unlock) in fastboot mode. then your phone will probably reboot, get into bootloader mode again then type fastboot flash recovery openrecovery-twrp-2.7.1.1-bacon.img and you will permanently flash twrp
Click to expand...
Click to collapse
when i flashed fastboot boot openrecovery-twrp-2.7.1.1-bacon.img it said ok in cmd and the device is still in fastboot mode and the logo of fastboot got more brighter. also what timaaaa said did not work. it said ok when i typed fastboot oem unlock in cmd and the device booted right to philz recovery and nothing got deleted.
zephiK said:
Agreed with the paragraphs. OP did post the output of device-info in his OP post.
Calm down op, no need to use caps lock. Okay so anyways,
Do what timmaaa said, if that doesn't work try the following,
Do you have a copy of TWRP on your computer in the fastboot.exe folder? http://techerrata.com/browse/twrp2/bacon download 2.7.1.1
Go into fastboot mode, type in fastboot boot openrecovery-twrp-2.7.1.1-bacon.img
http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
adb sideload that, then unlock your bootloader (fastboot oem unlock) in fastboot mode. then your phone will probably reboot, get into bootloader mode again then type fastboot flash recovery openrecovery-twrp-2.7.1.1-bacon.img and you will permanently flash twrp
Click to expand...
Click to collapse
can you please explain me the steps in details. i downloaded 3 zip files that were in the link that you gave me. what should i do next? i found the steps confusing in the link.
My output is: device tempered- true, bootloader unlocked- true, charger screen enabled- false. Is it right? Thank you
MAX 94 said:
My output is: device tempered- true, bootloader unlocked- true, charger screen enabled- false. Is it right? Thank you
Click to expand...
Click to collapse
Yes. You are lucky dude. I can't unlock my bootloader.
So, I am the "lucky" one too
I did facktory reset and full wipe as I wanted to install back the CM11s, but I ended up in the "bricked" One :crying:
(bootloader) Device tampered: true
(bootloader) Device unlocked: false
The command: fastboot oem unlock
Reset One to the TWRP, but it does not unlock it
Any falstboot command ends up with: Device not unlocked cannot flash or erase
I already playing with it over 20 hours, but I didnt find how to fix it
I had the same issue that could not unlock bootloader neither flash any room after brick. I used the computer downloaded color os and pushed it to my oneplus SD memory with cmd. But before that I installed twrp 2.7.1 in order to be able to flash os. The only rom was color os that I had success to install. Still bootloader not unlocked but color os rom has root privileged. But at least I have working phone. I installed twrp temporarily with toolkit from xda.
I succeeded to install the latest CyanogenMod 4.4.4. It is pain in the ass. But did it. Most implant is to unlock boot loader with flashing files from twrp. Then used toolkit and installed the rom and Chinese fastboot is gone.
[email protected] said:
I succeeded to install the latest CyanogenMod 4.4.4. It is pain in the ass. But did it. Most implant is to unlock boot loader with flashing files from twrp. Then used toolkit and installed the rom and Chinese fastboot is gone.
Click to expand...
Click to collapse
I have same problem as OP.
Code:
(bootloader) Device tampered: true
(bootloader) Device unlocked: false
(bootloader) Charger screen enabled: false
OKAY [ 0.019s]
finished. total time: 0.019s
When i do "fastboot oem unlock" when my phone is in fastboot mode, the CMD tells me
Code:
E:\adt-bundle-windows\sdk\platform-tools>fastboot oem unlock
...
OKAY [ 0.005s]
finished. total time: 0.006s
E:\adt-bundle-windows\sdk\platform-tools>
Than he auto reboots into TWRP. I don't do anything there. I boot to android. I shut down. And I Boot to fastboot again. Than when i try to do a fastboot flash or boot he tells me "DEVICE NOT UNLOCKED cannot BOOT"
So every time i unlock it, he puts it immediatly in lock.
What to do?
Search for my post on the OnePlus.net forum...
And welcome to my 28 hours nightmare
djha53k said:
Search for my post on the OnePlus.net forum...
And welcome to my 28 hours nightmare
Click to expand...
Click to collapse
That's incredibly vague. If you really want to help you should provide a link.
Transmitted via Bacon
Sorry... the search for my nick on OnePlus forum gives you 5 results: https://forums.oneplus.net/search/2437238/?q=djha53k&o=relevance&c[node]=26
anyway here we go: https://forums.oneplus.net/threads/recovery.82350/page-8#post-6054985
edit: I wrote that post from bed at 12:55 AM on Tapatalk... and OnePlus forum is not there...
ever figured out how to fix this problem?
djha53k said:
So, I am the "lucky" one too
I did facktory reset and full wipe as I wanted to install back the CM11s, but I ended up in the "bricked" One :crying:
(bootloader) Device tampered: true
(bootloader) Device unlocked: false
The command: fastboot oem unlock
Reset One to the TWRP, but it does not unlock it
Any falstboot command ends up with: Device not unlocked cannot flash or erase
I already playing with it over 20 hours, but I didnt find how to fix it
Click to expand...
Click to collapse
quackoman said:
ever figured out how to fix this problem?
Click to expand...
Click to collapse
Yes, long long loooooooooooooooooooooong time ago...
Suddenly the engl version of my post was already removed :crying:
I have only the czech version now
http://androidforum.cz/jak-opravit-chybu-device-not-unlocked-cannot-flash-or-erase-t59365.html
use google translator then :angel:
I fixed it by :starting up twrp... then I went to install and searched for the recovery (for me i had to go up a lvl and go to sdcard and it was the stock recovery.img)i wanted to flash but you have to chanege to images at the bottom left then I flashed it as recovery .. it failed then i flashed it as boot and then again as recovery and it worked then i reboted it i was promted with the normal recovery .. wiped data and applyd the oneplus ota update .. now it works grat and is fully unlocked IDK IF THAT WILL WORK FOR U OR EVEN HELP.... not responsible..
Hey, so I went to install Android 6.0 on my OPO, but there seemed to be some driver issue with the Wifi.
So I wanted to go back to my original OS, that I had backuped. I had the same Problems on this one too - as soon as I would enable WiFi, It would just crash and reboot after a few seconds.
Then I thought, perhaps with a updated Recovery it would work. So i tried to install a newer version of TWRP.
This is what happens:http://forum.xda-developers.com/attachment.php?attachmentid=3627932&stc=1&d=1454171784
Any help would be much appreciated - thanks!
Check to see if ur bootloader is still unlocked
Bradl79 said:
Check to see if ur bootloader is still unlocked
Click to expand...
Click to collapse
How exactly do you mean that?
I issued the command "fastboot oem unlock" prior to trying to flash.
LennartFuchs said:
How exactly do you mean that?
I issued the command "fastboot oem unlock" prior to trying to flash.
Click to expand...
Click to collapse
Try this: fastboot oem device-info, and show us what it says.
fastboot flash recovery xxxx.img
Don't need to erase recovery it will overwrite existing recovery
deziguy420 said:
fastboot flash recovery xxxx.img
Don't need to erase recovery it will overwrite existing recovery
Click to expand...
Click to collapse
He can't, his OPO doesn't seem to be unlocked. Look in the screenshot please...
fastboot oem device-info
Post ur screenshot here
how do I get my unlock code to relock bootloader?
rubai.rana said:
how do I get my unlock code to relock bootloader?
Click to expand...
Click to collapse
You don't need your unlock code to do this. Enter fastboot and issue the fallowing commands:
Fastboot oem lock
Or
Fastboot oem relock
Or
Fastboot flashing lock
Don't need to do all of these. Start with the first one.
Hey everyone. I recently managed to unlock bootloader to flash OpenKirin but now I when I try to flash the rom via fastboot or try to erase a partition or to relock the bootloader , I get an error message."FAILED.Command not allowed"
any suggestions why is this happening.?
Thanks in advance
Bootloader and frp unlocked?
yeah they are unlocked. I tried to relock and then unlock the bootloader but I get the same error
makiscfu said:
Hey everyone. I recently managed to unlock bootloader to flash OpenKirin but now I when I try to flash the rom via fastboot or try to erase a partition or to relock the bootloader , I get an error message."FAILED.Command not allowed"
any suggestions why is this happening.?
Thanks in advance
Click to expand...
Click to collapse
If using windows, make sure you are using command prompt in administrator mode. If using linux, use sudo fastboot ******
Just a thought
makiscfu said:
Hey everyone. I recently managed to unlock bootloader to flash OpenKirin but now I when I try to flash the rom via fastboot or try to erase a partition or to relock the bootloader , I get an error message."FAILED.Command not allowed"
any suggestions why is this happening.?
Thanks in advance
Click to expand...
Click to collapse
I would say either you're trying to reboot to bootloader (adb reboot bootloader) with the phone on and not in storage mode and without debug on...
Or you're in bootloader and it's already locked.
Other than that, I'm clueless.
Hello
I just unlocked my Legion L79031 Bootloader and rooted
Then i flashed again with QPST rom
and i want to relock the bootloader
i tried
Fastboot flashing lock
and its replay
FAILED (remote: ' Don't allow to lock')
fastboot: error: Command failed
any way please
brsteej said:
Hello
I just unlocked my Legion L79031 Bootloader and rooted
Then i flashed again with QPST rom
and i want to relock the bootloader
i tried
Fastboot flashing lock
and its replay
FAILED (remote: ' Don't allow to lock')
fastboot: error: Command failed
any way please
Click to expand...
Click to collapse
try flashing other ROMs then do the lock again in fastboot.
fastboot oem lock-go
I did : fastboot oem lock-go
Faild command : (
i will try another rom and check again
Thank you <3
brsteej said:
I did : fastboot oem lock-go
Faild command : (
i will try another rom and check again
Thank you <3
Click to expand...
Click to collapse
Hi. Did you managed to relock bootloader? If yes please post how you did it. Thanks
Write command in adb
LeshaRB said:
Write command in adb
Click to expand...
Click to collapse
With command is for this phone?
rackis18 said:
With command is for this phone?
Click to expand...
Click to collapse
fastboot flashing lock
fastboot oem lock
fastboot oem lock-go
brsteej said:
Hello
I just unlocked my Legion L79031 Bootloader and rooted
Then i flashed again with QPST rom
and i want to relock the bootloader
i tried
Fastboot flashing lock
and its replay
FAILED (remote: ' Don't allow to lock')
fastboot: error: Command failed
any way please
Click to expand...
Click to collapse
Did it relocked?
rackis18 said:
With command is for this phone?
Click to expand...
Click to collapse
Did it relocked?
Waseem.Noor007 said:
Did it relocked?
Click to expand...
Click to collapse
Yes