I got error when unlocking bootloader with flashtool (0.9.20.0)
FAILED (remote: Command not allowed)
I also tried with fastboot on commant prompt and got the same error.
And created a folder with my device's serial and put ulcode in it (folder is at flashtool/custom/mydevices) and got the error bootloader cannot be unlocked offically.
Rooting status in my device's service mode says unlock bootloader allowed:yes
My device is E6803
Is there anyone to help?
Any help?
Do you have OEM unlocking on in developer options?
Yeah man, I have. And that was the problem. Thanks for your help
first of i apologise if i have bad english
ok so i had this device for some time and decited to root it (my first time rooting a phone). And i need to unlock bootloader to flash stuff and i have all necessary things on my pc (platform tools,drivers,) everything seems to be working but as soon as i get into bootloader the only command that works is "fastboot devices" Any other commands dont work. I tried everything online and this is my only other thing left to do. I've been researching for 2 days at this point and i am almost certain that the commands are disabled by the company itself (like huawei) did anybody else ever root/unlock bootloader for this device because i didnt find any actual root guide for the particular device (besides from the auto generated ones like https://rootguia.com/how-to-flash-caterpillar-cat-s31/ https://mobilewithdrivers.com/unlock-bootloader/cat-s31-16gb-2gb-ram )
The exact error is:
FAILED (remote: 'unknown command')
fastboot: error: Command failed
(and this error is for every single command that uses fastboot besides from fastboot devices. Adb works just fine)
I tried:
reinstalling drivers
installing drivers that are "prepared" for the cat s31
changing cable
changing port to usb 2.0
reinstalling platform tools (from official google site)
checking device manager for the device (it shows up as android bootloader interface)
trying alternative oem unlock commands (fastboot oem unlock, fastboot flashing unlock and 2 other commands that i cant remember rn)
having oem unlocking and usb debugging enabled from the developer options
in my opinion the only explanation is the commands being disabled by default and even if it was it wouldnt be known if it was since most people dont root or purchase this device
please help me out here
fastboot flashing unlock
FAILED (remote: 'unknown command')
fastboot: error: Command failed
or
command finished but unlocking not allowed?
you can try to dump ROM, maybe it's possible to unlock bootloader on devinfo partition
https://github.com/bkerler/edl
aIecxs said:
fastboot flashing unlock
FAILED (remote: 'unknown command')
fastboot: error: Command failed
or
command finished but unlocking not allowed?
you can try to dump ROM, maybe it's possible to unlock bootloader on devinfo partition
https://github.com/bkerler/edl
Click to expand...
Click to collapse
sorry i forgot to mention im running android 8.1 oreo on this device and devinfo partition method will not work according to what i read
Never mind. anyway, if you dump phone in edl mode (or download stock ROM somewhere else) you can search aboot for device specific fastboot oem commands
How to Discover Hidden Fastboot Commands
There are many hidden fastboot commands on your device. In order to find them, we will need to dump the bootloader and examine the contents!
www.xda-developers.com
aIecxs said:
Never mind. anyway, if you dump phone in edl mode (or download stock ROM somewhere else) you can search aboot for device specific fastboot oem commands
How to Discover Hidden Fastboot Commands
There are many hidden fastboot commands on your device. In order to find them, we will need to dump the bootloader and examine the contents!
www.xda-developers.com
Click to expand...
Click to collapse
what do you mean by dump phone into edl mode do i download one of these https://ministryofsolutions.com/2022/01/cat-s31-edl-firmware-android-8-1-official-rom.html and install it from recovery mode and try to get it in edl mode and will it not work if i dont dump
just extract that ROM you found
aIecxs said:
just extract that ROM you found
Click to expand...
Click to collapse
and do what. im new to the rooting stuff
find the file aboot.mbn (or similar) and analyze for fastboot commands
aIecxs said:
find the file aboot.mbn (or similar) and analyze for fastboot command
Click to expand...
Click to collapse
so i downloaded the file and these are the things in the firmware file (attachement)
i cant find a file that looks or resambles aboot.mbn
it's emmc_appsboot.mbn so download strings for windows (see link post #4) and try to find fastboot commands, maybe you are lucky and find the proper command to unlock bootloader.
edit: not sure about Windows 10/11 comes with strings binary (powershell?)
aIecxs said:
it's emmc_appsboot.mbn so download strings for windows (see link post #4) and try to find fastboot commands, maybe you are lucky and find the proper command to unlock bootloader.
edit: not sure about Windows 10/11 comes with strings binary (powershell?)
Click to expand...
Click to collapse
sooo turns out win11 strings commands are kinda different or broken (probably not im just dumb) i just used notepad with ctrl+f and couldnt find anything besides the text that says are you sure you want to unlock bootloader but that is probably not related since i didnt find any commands or anything. So im actually going to attach the emmc_appsboot.mbn i know it looks sketchy you dont have to download it its totally understandable but if you do please do give it a check and respond. I want to get this done one way or another its 1 am i want to sleep ;(
could it be true that they made a truly un unlockable unrootable device
I had a look but there are no fastboot commands in it. However "oem unlock" is mentioned, so the usual fastboot oem unlock should work.
maybe there is more in secondary bootloader sbl1.mbn
aIecxs said:
I had a look but there are no fastboot commands in it. However "oem unlock" is mentioned, so the usual fastboot oem unlock should work.
Click to expand...
Click to collapse
trust me i have tried many many many many times and only got a
FAILED (remote: 'unknown command')
fastboot: error: Command failed
edit: the only place oem unlock is mentioned is a text that says oem unlock not allowed which might be default text by android or whatever but cat devs somehow messed it up somehow??
aIecxs said:
I had a look but there are no fastboot commands in it. However "oem unlock" is mentioned, so the usual fastboot oem unlock should work.
maybe there is more in secondary bootloader sbl1.mbn
Click to expand...
Click to collapse
just saw the edit i will check now
nope nothing related no oem unlock no fastboot no flashing no flash nothing is mentioned ill attach it if you want to look
oem unlock not allowed is standard text if one forgot to enable oem unlocking in developer options in android settings.
maybe flash this ROM maybe it is unlockable?
aIecxs said:
oem unlock not allowed is standard text if one forgot to enable oem unlocking in developer options in android settings.
maybe flash this ROM maybe it is unlockable?
Click to expand...
Click to collapse
from recovery using the flash firmware with adb option??
edit: i meant apply update from adb
edit2: what if i hard reset from recovery would that reset the firmware?
edl firmware cannot flashed from recovery. power off phone, press both volume keys and plug in usb-cable. check VID/PID from windows device manager. if you see device ID (05c6:9008) the phone is in EDL mode. you can now use EDL tool (post #2) and backup current ROM. then you can flash other ROM.
aIecxs said:
It's edl firmware cannot flashed from recovery
Click to expand...
Click to collapse
so what do i download that can be flashed from recovery
ok so i for the life of me cannot figure out what im doing wrong when attempting to unlock bootloader. I have my unlock_code.bin from oneplus, i have my usb debugging and OEM unlock enabled. I adb reboot bootloader, fastboot flash cust-unlock unlock_code.bin and everything seems to work fine. when i fastboot oem unlock though i get FAILED (remote:unknown command) what am i doing wrong? please help me.
I forgot to add my phones info
Nevermind yalll I figured it out. I switched to a linux box and used up to date adb and fastboot after fastboot flash cust-unlock unlock_code.bin the next command was fastboot flashing unlock NOT fastoott oem unlock.
I had a hell of a time figuring out how to unlock bootloader on this phone. Hope this helps someone else out there.
Hi, I tried unlock oem to root my devies but when run command fastboot.exe oem unlock-go i get "FAILED (remote: 'oem unlock is not allowed')". The WeChat post tell that only way to unlock in newest ZUI is downgrade. Anyone success downgrade from 13.5.870 and unlock the bootloader ?
abbytan3108 said:
Hi, I tried unlock oem to root my devies but when run command fastboot.exe oem unlock-go i get "FAILED (remote: 'oem unlock is not allowed')". The WeChat post tell that only way to unlock in newest ZUI is downgrade. Anyone success downgrade from 13.5.870 and unlock the bootloader
Click to expand...
Click to collapse
Hi there,
The response itself says that you have not allowed your oem to be unlocked. Turn on the Developer option, then enable oem unlocking and try again.
Hello,
I have a OnePlus 7T Pro (codename "hotdog") that is currently in a non-working state. My goal flash my magisk boot.img which I created, however I accidentally locked the bootloader. Unfortunately, I'm currently stuck and unable to progress.
Here is what I've tried:
I attempted to unlock the bootloader via fastboot with fastboot oem unlock, but received a FAILED (remote: Flashing Unlock is not allowed) message. I understand this usually means the OEM Unlocking option in the Developer Options isn't enabled.
The problem is that I can't access the Android OS on the device to enable OEM Unlocking. The device boots directly into Fastboot Mode and I can't navigate anywhere else.
I tried to flash the stock firmware, but I received an error message stating FAILED (remote: Flashing is not allowed in Lock State). This indicates that I can't flash files to the device while the bootloader is locked.
In short, I can't unlock the bootloader because I can't enable OEM Unlocking, and I can't flash the stock firmware because the bootloader is locked. I'm stuck in a loop and unsure how to proceed.
Any help with this issue would be greatly appreciated! I'm open to all suggestions and willing to provide additional details if necessary. Thank you in advance for your assistance.
Best regards,
The only thing I have is that my device is shown as connected in cmd and the command list available, other than, the ability to flash