Device state locked. - General Questions and Answers

This post is more like an explanation.
So my phone got bricked today, stuck at logo. I managed to access recovery and format data, but its stuck at formating data for more than 6 hour.
The only choice left is to unlock bootloader and flash firmware. Now here's the bull**** part.
When i try press fastboot oem unlock it says failed, device state locked. Device state can be set to unlock only through one method, by booting>going into settings>developer options>turning on oem unlocking. Doing this set your device in unlocked device state and thus allow it to unlock bootloader through fastboot. But, if your device got bricked and can't get into phone and your oem unlocking was off (average person will not set it to on) then you're ****ed, cuz without it you cannot unlock bootloader, thus you cannot install twrp or flash firmware.
This is so dumb, not even adb can set the device state to unlock. Read the last paragraph - (https://source.android.com/devices/bootloader/locking_unlocking)
There are so many post like these but no answer. so this post is for those guyz.
guess, i'll use feature phone for rest of my life

That an Android device's bootloader is locked by default isn't dumb, it has good reasons.
BTW: Flashing device's Stock ROM doesn't require device's bootloader got unlocked before.

tried flashing stock rom using adb sideload and fastboot. both failed. adb states that it cannot as it is a downgrade. fastboot says that device state is locked.
Yes, im aware that it is present for a good reason, but someone who's phone doesnt boot up has no way to unlock bootloader or do anything.

I'm not sure that I have the same problem but I have Samsung sm-t500 on the download mode says : device state lock and Im searching for FRP software but I think it won't happen because I tried too to connect via ADB and still can't connect.. But mine is still not bricked.. I will be very happy if you can give me some advice

Related

Oneplus 3 stuck in fastboot mode with locked bootloader and no working recovery

Hi all android gurus, I have a little problem to which I wonder if there is a solution or not
I was given a oneplus 3 that I can keep if I can get it to work.
The guy had installed twrp and CM14.1
and then he doesn't know how but it's stuck in fastboot mode with locked bootloader.
trying to unlock via adb say it can't be done remotely.
All commands I tried say it's "not allowed remotely"
Windows device manager say it is an "android device"
Trying to boot to recovery or os doesn't work
both these options just give lines of text saying what don't work.
What do all you experts say, is there a way out of this, or should I throw the phone away?
He already bought a new phone so I guess it's mine to either fix or trash.
meonit said:
Hi all android gurus, I have a little problem to which I wonder if there is a solution or not
I was given a oneplus 3 that I can keep if I can get it to work.
The guy had installed twrp and CM14.1
and then he doesn't know how but it's stuck in fastboot mode with locked bootloader.
trying to unlock via adb say it can't be done remotely.
All commands I tried say it's "not allowed remotely"
Windows device manager say it is an "android device"
Trying to boot to recovery or os doesn't work
both these options just give lines of text saying what don't work.
What do all you experts say, is there a way out of this, or should I throw the phone away?
He already bought a new phone so I guess it's mine to either fix or trash.
Click to expand...
Click to collapse
If its stuck in Fastboot, you can fastboot flash the stock firmware for your device.
I DO NOT GIVE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Don't worry dude, There is always a way.
meonit said:
Hi all android gurus, I have a little problem to which I wonder if there is a solution or not
I was given a oneplus 3 that I can keep if I can get it to work.
The guy had installed twrp and CM14.1
and then he doesn't know how but it's stuck in fastboot mode with locked bootloader.
trying to unlock via adb say it can't be done remotely.
All commands I tried say it's "not allowed remotely"
Windows device manager say it is an "android device"
Trying to boot to recovery or os doesn't work
both these options just give lines of text saying what don't work.
What do all you experts say, is there a way out of this, or should I throw the phone away?
He already bought a new phone so I guess it's mine to either fix or trash.
Click to expand...
Click to collapse
Try flashing a new recovery of your choice in Fastboot mode, but for flashing it first you have to unlock your Bootloader, which you can do it with the help of an Android-SDK package for your pc.
sanjeevikrishna said:
Try flashing a new recovery of your choice in Fastboot mode, but for flashing it first you have to unlock your Bootloader, which you can do it with the help of an Android-SDK package for your pc.
Click to expand...
Click to collapse
when I try to unlock bootloader i am getting:
FAILED (remote: oem unlock is not allowed)
meonit said:
when I try to unlock bootloader i am getting:
FAILED (remote: oem unlock is not allowed)
Click to expand...
Click to collapse
Not all bootloader can be unlocked, and the ones that can be unlocked can't all unlock via Fastboot.
I DO NOT GIVE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Can't unlock bootloader :/

Hello, i'm doing everything to unlock bootloader, in the and flashtool says that bootloader unlocked successful. But when I'm checking status in xzp it says - bootloader unlock allowed - Yes, but how i know, if bootloader is unlocked there must be written - bootloader unlocked - Yes!
Can someone help me?
Reboot your phone and if the start up screen says "Your device cannot be trusted" then success! You've done it!
I have been trying with no luck. it is unlockable, I think the only lock on my phone is just for carrier. I have tried for hours and the closest I got was yesterday, it finally connected to my phone with the right driver and when entering the user lock code got the familiar "command not allowed" on device.
Would rolling back the OS make a difference

Help - Bricked (accidentally locked bootloader with TWRP installed)

It was late and I was cleaning up my old OP5T, getting it ready to sell. I thought I had plugged in my OP5T, but I still had my OP6 plugged in when I ran "fastboot oem lock". Now it won't boot and I can't unlock it (I'm assuming because I can't get into the OS and "enable OEM unlocking" anymore).
Is there anything I can do?
try using search next time because its already been talked abput here https://forum.xda-developers.com/oneplus-6/help/relock-bootloader-t3798135
Actually, I DID read that. I didn't just roll off the cabbage truck. If you have time to post snippy replies (I also searched YOUR post history), then maybe you can point out where in that thread the answer to my question is. I could see if there was a thread where this specifically happened, or if it had been talked about over and over, but I couldn't find one. You do know this is a fairly new device, right? TBH, you're just being rude. To count on someone to hit the right search terms for a single thread where the info exists is just asinine.
1) I have not seen anyone with this situation on the OP6 yet
2) The OP5T had an unbrick tool
3) Most phones have a way to restore the OS to factory
If it can't be restored without calling OnePlus, then why not just say so? I'll answer for you, it's because you actually enjoy replying in such a manner. Grow up.
Have you tried the mega unbrick guide?
https://forum.xda-developers.com/oneplus-6/how-to/guide-mega-unbrick-guide-hard-bricked-t3796051
Flapjack said:
It was late and I was cleaning up my old OP5T, getting it ready to sell. I thought I had plugged in my OP5T, but I still had my OP6 plugged in when I ran "fastboot oem lock". Now it won't boot and I can't unlock it (I'm assuming because I can't get into the OS and "enable OEM unlocking" anymore).
Is there anything I can do?
Click to expand...
Click to collapse
I don't think relocking your bootloader will disable the "enable OEM unlock" toggle in the OS. You may just be able to unlock your bootloader as normal again. You should be able to use the fastboot recovery method to restore your OS.
[email protected] said:
Have you tried the mega unbrick guide?
https://forum.xda-developers.com/oneplus-6/how-to/guide-mega-unbrick-guide-hard-bricked-t3796051
Click to expand...
Click to collapse
I did, but I got the "software image does not exist" error. Does it matter whether I downloaded the 5.13 or 5.15 vesion?
mikex8593 said:
I don't think relocking your bootloader will disable the "enable OEM unlock" toggle in the OS. You may just be able to unlock your bootloader as normal again. You should be able to use the fastboot recovery method to restore your OS.
Click to expand...
Click to collapse
I tried several times. It throws the following error, which when searched for, always seemed to be someone forgetting to enable OEM unlocking in settings:
Code:
FAILED (remote: oem unlock is not allowed)
Success! I was able to get it to work with the drivers from this post. No other drivers worked. I also forced the COM port to the first available (in my case, COM1) vs the one it popped up on. Until I did that, I would just get a huge list of ports that had no device attached. Once I had it on COM1, it was the only device that showed up in the list. The first time after that, I got a "Sahara Communication Failed" error, but it went away after rebooting the phone back into EDL mode again.
Thanks for the help!
Flapjack said:
Success! I was able to get it to work with the drivers from this post. No other drivers worked. I also forced the COM port to the first available (in my case, COM1) vs the one it popped up on. Until I did that, I would just get a huge list of ports that had no device attached. Once I had it on COM1, it was the only device that showed up in the list. The first time after that, I got a "Sahara Communication Failed" error, but it went away after rebooting the phone back into EDL mode again.
Thanks for the help!
Click to expand...
Click to collapse
Hi buddy,
I tired to relock the bootloader and success in that but the phone stuck at fastboot mode, neither restarting to system nor to anything. Kindly help me if i can flash the stock rom in locked bootloader is so how.
THanks in adv
Did you try msm download tool ?
My OnePlus was bricked and it's bootloader is locked too, I have tried most of the steps like msm and those Bat files etc. But error is coming
"Remote : Flashing is not allowed in locked state"
Even tried that all in one tool that also can't unlock my bootloader
Now plz someone show me steps it will be a great help

EMUI update bricked phone

A while ago my phone wanted to do an EMUI update and halfway through it something failed and now my phone is stuck in a bootloop where it gets to the carrier logo screen then restarts and displays Huawei eRecovery (which does not work). I am aware that there are plenty of threads about this issue but none of them have really helped me. My phone was running completely stock software and the default development settings are active (OEM locked etc.) except maybe USB debugging. I've tried to send it back to my carrier but because it has a broken screen they won't take it under any warranty, I have also tried Huawei but their online help is awful and the closest service centre is over 10 hours away. I have no intentions of replacing the screen because for the price of it I may as well just buy a new phone.
As far as the model goes it is a MHA-L09 from Australia (bought via Optus), I have a bootloader code and my IMEI number.
I've tried to access the phone through bootloader and adb. adb doesn't recognise the phone whatsoever but bootloader does (using adb devices and bootloader devices respectively in cmd) but other bootloader commands have no effect as the OEM is locked.
I was just wondering whether I'm able to flash a new rom onto it given the circumstances or whether I should just buy a new phone altogether.
EmeraldStar82 said:
A while ago my phone wanted to do an EMUI update and halfway through it something failed and now my phone is stuck in a bootloop where it gets to the carrier logo screen then restarts and displays Huawei eRecovery (which does not work). I am aware that there are plenty of threads about this issue but none of them have really helped me. My phone was running completely stock software and the default development settings are active (OEM locked etc.) except maybe USB debugging. I've tried to send it back to my carrier but because it has a broken screen they won't take it under any warranty, I have also tried Huawei but their online help is awful and the closest service centre is over 10 hours away. I have no intentions of replacing the screen because for the price of it I may as well just buy a new phone.
As far as the model goes it is a MHA-L09 from Australia (bought via Optus), I have a bootloader code and my IMEI number.
I've tried to access the phone through bootloader and adb. adb doesn't recognise the phone whatsoever but bootloader does (using adb devices and bootloader devices respectively in cmd) but other bootloader commands have no effect as the OEM is locked.
I was just wondering whether I'm able to flash a new rom onto it given the circumstances or whether I should just buy a new phone altogether.
Click to expand...
Click to collapse
You can use DC-Phoenix to flash firmware.
There are tutorials on how to use it on their website (DC-Unlocker)
Ah, you have bootloader code. Then you might be able to fix this for free.
PM me on telegram, link in my signature

U316AT wiko life 3 assurance wireless phone

Wiko life 3
Tryed
fastboot OEM unlock , fastboot OEM-unlock ,
fastboot OEM_unlock , fastboot oem unlock ,
fastboot oem-unlock , fastboot oem_unlock ,
fastboot flashing unlock .
fastboot Flashing get_unlock_ability
returns;
0 not unlockable.
When I began I was able to get it into an energy down load mode but, have not been able to again
1) So how is this phone flashed
2) Is there a recovery that can be used on it
3) How is it rooted
You ever figure this out? Got the same phone and wanted to play with it properly.
Edit: I'm not seeing the OEM Unlock switch under device settings/developer settings. Completely missing for me.
Not sure if you have ran across any method yet but this will probably do it for you. I just got this phone but I have not looked to see if it has an mtk processor that is compatible with the program. I have used it to root a couple of other wikos but not the bootloader. Anyways here is the link to the program. https://github.com/bkerler/mtkclient
I personally could not get it to work in windows because of the USB drivers the site says to use gave me a bsod. If you search on here for rooting the wiko u307as I posted about my experience with the software. I wish I knew about this program years ago.
hey guys mtkclient will unlock the bootloader but make sure to back up the original firmware with mtkclient before you change anything, i got ahead of myself, i forgot to make a backup, i tried to flash gsi, now im stuck in bootloop without the stock firmware to fix it.
Does anyone know how to get a Wiko Life3 to connect to a PC windows 7 USB drivers not available and cant even get it to connect to any tools.

Categories

Resources