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..
Related
I have a serious problem: my device's partitions are all erased and formatted and the boot loader is locked which is why I can't install a recovery or anything else. fastboot oem unlock doesn't work for any reason. It just boots and does nothing. After entering fastboot again it says it's locked.
The alternative method with adb doesn't work as I don't have a recovery nor do I have a system.img on the device. I can only enter fastboot now and flash the radio. How can I flash stock CM11S now? I need to unlock the bootloader and fastboot won't let me!
h**p://forum.xda-developers.com/showpost.php?p=55952004&postcount=457
Guy with a similar problem, who found a solution... Give it a try!
How on earth did you manage to erase all the partitions?
Transmitted via Bacon
I'm trying to install TWRP, but I'm having troubles. This isn't my first time rooting, flashing, etc.; this is, however, the first time when typing in fastboot oem unlock has not wiped my device, causing me to think that the device hasn't actually been bootloader-unlocked (despite the command line saying it was a success.)
When I try flashing recovery.img, of course it claims it went through, but then I reboot to recovery and it's still CM recovery.
I'm running most updated version of stock ROM. That's CM 12.0-YNG1TAS17L. Stock kernel, unrooted (of course). Any ideas?
First check your bootloader status by giving this command:
Code:
fastboot oem device-info
Then read my guide in regards to flashing the recovery:
http://forum.xda-developers.com/showthread.php?t=2839471
Heisenberg said:
First check your bootloader status by giving this command:
Code:
fastboot oem device-info
Then read my guide in regards to flashing the recovery:
http://forum.xda-developers.com/showthread.php?t=2839471
Click to expand...
Click to collapse
Thanks for the tip on oem device-info. Turns out my mistake was not booting directly into recovery due to CM12's stubbornness in letting me use custom recovery. Thanks Heisenberg!
No problemo.
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
hello,
I am trying to repair my friends phone he had CM13 rom installed but the phone frozen during update,so he made factory reset.
I copy the ROM again to the phone flash the CM13 but when i turn on the phone normaly, he goes to the fasboot mode.
I already try install firmware again, stock rom but he keep boot the fastboot mode.
Any idea how to repair?
Is the bootloader unlocked? I heard someone's bootloader getting relocked after some op. fastboot oem device-info for that or fastboot getvar all
Transmitted via BACON
MZO said:
Is the bootloader unlocked? I heard someone's bootloader getting relocked after some op. fastboot oem device-info for that or fastboot getvar all
Transmitted via BACON
Click to expand...
Click to collapse
Thank you for your answer.
The bootloader is unlock.
Reflash http://blazingphoenix.in/mzo/ONE/COS12.1/cm12.1-YOG7DAS2K1-bed37f2e18.tar.gz and before you flash the sprcific partition make sure you type fastboot wipe <specific partition>
Transmitted via BACON
Or the distributed boot / system / data (rom) for restoration?
I figured to HTCDEV unlock to allow fastboot to write to recovery
and then fastboot boot twrp to backup whats there before overlaying it.
why not try it?
https://forum.xda-developers.com/showthread.php?t=2798853
fuzzynco said:
Or the distributed boot / system / data (rom) for restoration?
I figured to HTCDEV unlock to allow fastboot to write to recovery
and then fastboot boot twrp to backup whats there before overlaying it.
Click to expand...
Click to collapse
Yes.
Captain_Throwback said:
One thing to note is that you CAN fastboot boot TWRP on this device, so if you don't want to overwrite stock recovery, you don't have to
Click to expand...
Click to collapse
Just make sure to do that from the bootloader menu, not the download mode. Download didn't work for me, command line in Windows was stuck on booting and the download mode said finished flashing, that's it. Once rebooted to the bootloader menu everything was fine. That's how I backed my original recovery as well. You'll probably need to unlock the bootloader on htcdev first though, at least that's what I did.
BolecDST said:
Just make sure to do that from the bootloader menu, not the download mode. Download didn't work for me, command line in Windows was stuck on booting and the download mode said finished flashing, that's it. Once rebooted to the bootloader menu everything was fine. That's how I backed my original recovery as well. You'll probably need to unlock the bootloader on htcdev first though, at least that's what I did.
Click to expand...
Click to collapse
Yes, I figured that, (htcdev.com bootloader unlock).
Thanks for the pointer, I really don't know which mode is for what ...
I think bootloader mode is for direct fastboot flashing
fastboot flash <partition> <file>
or fastboot boot <file>
and download mode & RUU mode is for things packaged
like an RUU. fastboot flash zip <file>
fastboot oem <--->
fuzzynco said:
Yes, I figured that, (htcdev.com bootloader unlock).
Thanks for the pointer, I really don't know which mode is for what ...
I think bootloader mode is for direct fastboot flashing
fastboot flash <partition> <file>
or fastboot boot <file>
and download mode & RUU mode is for things packaged
like an RUU. fastboot flash zip <file>
fastboot oem <--->
Click to expand...
Click to collapse
Recovery is to be flashed in download mode as has been on the HTC 10 the case. In fact download mode can be viewed at as fastboot mode of the phone.
Sent from my htc_pmeuhl using XDA Labs
Left a note here.
My first-batch U11 can be booted to twrp with "fastboot boot twrp-blahblah.img" under bootloader menu (I wish I didn't remember it wrong)
But it can't be done after it came back from repair (no power issue with unknown reason), which motherboard had been replaced and updated to Oreo already.
Anyway, it seems that stock-recovery backup is not required since there's reliable source of stock-recovery which inside the OTA file.