Is there any possible way to unlock the OEM? - One (M9) Q&A, Help & Troubleshooting

Is there any possible way to unlock OEM without going to developers option? Why i ask that? because I factory reset my HTC One M9 and im stuck on Google account login and I forgot what gmail i used to it. So i dont have access to my phone's settings to go to developer's setting and unlock the OEM there. And now i tried to unlock my bootloader with the help of Htcdev i follow all the steps until step 5 when I try to put the fastboot oem get_identifier_token i got this message appeared on my cmd
C:\adb>fastboot oem get_identifier_token ...
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
and i tried this commands fastboot erase userdata and fastboot erase frp and this is the result
erasing 'userdata'...
FAILED (remote: Partition userdata erase not supported)
finished. total time: 0.031s
So is there a possible way to unlock oem without going to developer's settings/option? I's still hoping there's a way to fix my phone. btw im S-ON

Related

HTC one m9 wont boot into OS, and cannot boot into recovery (please help)

A while ago i rooted my android Phone as per this guide: "http://forum.xda-developers.com/one-m9/general/guide-root-install-twrp-htc-one-m9-t3061133".
Now when trying to revert to stock as per this guide: "http://www.androidswiki.com/restore-htc-one-m9-to-stock-easy-guide-and-download-links/" i got locked out of my Phone.
As soon as i locked the bootloader as per the instructions the Phone wont boot into Android OS and i cannot transfer the RUU file to the SDcard as i get the error: "error: device not found".
when trying to unlock the device via the command: fastboot flash unlocktoken Unlock_code.bin
i get:
sending 'unlocktoken' (0 KB)...
OKAY [ 1.008s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.019s]
finished. total time: 1.027s.
the only things i can boot in atm are the download mode and the bootloader mode.
Please advice as how to proceed.

Help with HTC D728H

Hi guys,
My friend's HTC Desire D728H is stuck in a boot loop. I tried the following without success:
- Downloaded the Stock Flash for it (2PQ8IMG_A50CMG_DWG_L51_DESIRE_SENSE70_HTC_Europe_1.09.401.2_Radio_NA_release_482339_signed_2_4.zip) and tried to update from SD card from Download menu, didn't work. Tried flashing it with RB Soft, it gets to just before the end of the progress bar and then the phone reboots into the same boot loop.
There is no fastboot mode in the recovery menu. So I started the phone in download mode. From the command prompt on my Windows PC, typed Fastboot Devices and the PC detects it as LC5C3Z703897.
I cannot enable OEM Unlocking cos the phone won't boot.
I have HTC drivers installed.
adb in command prompt does not detect the phone.
I can boot it in RUU mode.
if I try to get the Token to unlock bootloader, it returns the following error:
(bootloader) [KillSwitch] : /dev/block/platform/mtk-msdc.0/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.006s]
finished. total time: 0.007s
As far as I know the phone has a stock rom, bootloader locked with S-ON.
How can I flash this phone and get it working again? I don't have lots of experience with HTC phones, so please provide me with details.
Thank you All in advance.
No one?

Restoring to stock *LOCKED*

ok i have tried searching but im a bit dumbfounded i restored my phone back to stock via a ruu , then i set s-on back via command fastboot oem writesecureflag 3 now i need to set it back to locked , would really appreciated being pointed in right direction if possible please ?
** edit tried C:\Android\com>htc_fastboot oem lock
...
FAILED (remote: unknown command)
finished. total time: 0.021s
htc_fastboot finished. total time: 0.179s
C:\Android\com>
C:\Android\com>fastboot oem lock
...
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.015s]
finished. total time: 0.016s
C:\Android\com>
tonnytech said:
ok i have tried searching but im a bit dumbfounded i restored my phone back to stock via a ruu , then i set s-on back via command fastboot oem writesecureflag 3 now i need to set it back to locked , would really appreciated being pointed in right direction if possible please ?
** edit tried C:\Android\com>htc_fastboot oem lock
...
FAILED (remote: unknown command)
finished. total time: 0.021s
htc_fastboot finished. total time: 0.179s
C:\Android\com>
C:\Android\com>fastboot oem lock
...
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.015s]
finished. total time: 0.016s
C:\Android\com>
Click to expand...
Click to collapse
Use SunShine again and choose S-OFF/Locked. Afterwards go S-ON again, just like you did before.
You need to have flashed an RUU intended for your original model, not just stock.
errikosd said:
Use SunShine again and choose S-OFF/Locked. Afterwards go S-ON again, just like you did before.
You need to have flashed an RUU intended for your original model, not just stock.
Click to expand...
Click to collapse
thanks for the reply i sorted it as you suggested already appreciate reply thou

HTC 10 stuck in download mode

Hey,
After a series of mess ups on my HTC-10, i am now stuck in bootloader mode, S-on with relocked. When i try to unlock my bootloader using flash unlocktoken, i get this:
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
I cant boot into the system so cant toggle oem unlocking. I was running LOS (9.0). any solutions?
Edit: if i try to flash anything from download mode, i get: "9 RU_Security_Fail zip from usb command in download mode"
Khizar Amin said:
Hey,
After a series of mess ups on my HTC-10, i am now stuck in bootloader mode, S-on with relocked. When i try to unlock my bootloader using flash unlocktoken, i get this:
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
I cant boot into the system so cant toggle oem unlocking. I was running LOS (9.0). any solutions?
Edit: if i try to flash anything from download mode, i get: "9 RU_Security_Fail zip from usb command in download mode"
Click to expand...
Click to collapse
Why didn't you answer me here
https://forum.xda-developers.com/ht...atch-error-t3894789/post78787393#post78787393
I tried to help you there but instead you wandered off and got yourself in a really bad situation. S-on and relocked......for heaven's sake why did you relock it, that's the dumbest thing ever and a 100% not needed for anything !!!
Maybe you can put your device back to stock if you find a ruu.exe that matches your original OS and firmware, but since you didn't followed my directions i have no clue where to start and frankly i am afraid you can't fix this anymore.

Question error unlocking bootloader "failed to get unlock data"

Hello, I am trying to unlock the bootloader of my moto g60 but I have a problem to get the bootloader data with the fastboot oem get_unlock_data command, every time I try it returns the following error
c:\platform-tools>fastboot oem get_unlock_data (bootloader) Failed to get unlock data. OK [0.008s] Finished. Total time: 0.008s
I have tried to restore the firmware with RSA, but it is still the same no matter how many times I try, I always get the same error, if anyone knows of a solution, or has had the same problem and has solved it, please explain to me what I can do.

Categories

Resources