• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Fastboot unknown command

Odin89

Android Enthusiast
Dec 22, 2013
330
224
heart of tx
www.google.com
Hey all, iv done quite a bit of reading trying to fix this problem, thought I'd ask some people who knew more about it. I have an Alcatel one touch Conquest 7046t os 5.0.2. I have acquired root and am trying to see if the boot loader is locked, issuing commands through adb all work perfectly, but fast boot doesn't work properly. Alcatel uses a custom pid -i 0x1bbb, when issuing commands without the pid fastboot says waiting for device no matter what cmd I issue, using the pid I can see device listed but that is all. When trying boot or flash anything I am met with a failure, remote: unknown command. When simply trying to reboot to system fastboot -i 0x1bbb reboot, it replies rebooting....but the phone does nothing. I thought it mite be windows 10 so I ran a live CD of Linux, same responses. Can anyone help with this. Iv never ran into these problems of all the boost mobile devices iv rooted and flashed.
 
Hmm, @Odin89, a quick Google search reinforces what you're saying for some other Alcatel devices, too...:thinking:

So, fastboot devices by itself doesn't return anything but fastboot -i 0x1bbb devices does work?

How about fastboot -i 0x1bbb getvar all ?

It is possible that the bootloader won't respond to any useful commands--some devices just don't (blame the manufacturer for that :( ).

Also, are you using a USB 3.0 port? If so, try a USB 2.0 port and possibly another/different USB cable just to rule-out some other possible causes.

That's all I got at the moment...
 
  • Like
Reactions: Odin89
Upvote 0
Hmm, @Odin89, a quick Google search reinforces what you're saying for some other Alcatel devices, too...:thinking:

So, fastboot devices by itself doesn't return anything but fastboot -i 0x1bbb devices does work?

How about fastboot -i 0x1bbb getvar all ?

It is possible that the bootloader won't respond to any useful commands--some devices just don't (blame the manufacturer for that :( ).

Also, are you using a USB 3.0 port? If so, try a USB 2.0 port and possibly another/different USB cable just to rule-out some other possible causes.

That's all I got at the moment...

Ty for the reply! Yes its referenced on google, I had searched finding only other devices info or workarounds. The getvar all command was one I did not know thx! Brought this to the forums hoping to get any kind of progress or to just learn :) I had no idea some manufacturers would not include a boot loader functional with fastboot :eek:. Fastboot -i 0x1bbb getvar all command returned successful but says all: and is just blank, but no failed or unknown command error! If I can't use fastboot to flash zips and such I could use 3rd party apps, but how would I know if my boot loader is locked? Is there an app or an adb/shell or terminal command I could check? Or maybe a 1 time boot to custom recovery? (if it booted it would prove boot loader is unlocked, if not I could boot back to regular)

And yes fb devices returns waiting for device and stalls but fb -i 0x1bbb devices shows it detected. The device number is the same as the one detected by adb devices
 
  • Like
Reactions: scary alien
Upvote 0
Yeah, the bootloader might be locked-down and the lack of response from the fastboot commands may indeed indicate that your bootloader is locked. There's precious little information out there from what I can find in a Google search, so that may not necessarily be true, though :)dunno: :p).

I did find this interesting chain of pages:


that says that your device has a Qualcomm Snapdragon 410 MSM8916 processor.

A search of "Qualcomm Snapdragon 410 MSM8916 bootloader" provides this PDF document:


and that document reveals a few other fastboot commands that might be fruitful for you (all cautions apply, though--be careful about what you choose to try :)), but the "oemdevice-info" option does look like it might be helpful.
 
  • Like
Reactions: Odin89
Upvote 0
Yeah, the bootloader might be locked-down and the lack of response from the fastboot commands may indeed indicate that your bootloader is locked. There's precious little information out there from what I can find in a Google search, so that may not necessarily be true, though :)dunno: :p).

I did find this interesting chain of pages:


that says that your device has a Qualcomm Snapdragon 410 MSM8916 processor.

A search of "Qualcomm Snapdragon 410 MSM8916 bootloader" provides this PDF document:


and that document reveals a few other fastboot commands that might be fruitful for you (all cautions apply, though--be careful about what you choose to try :)), but the "oemdevice-info" option does look like it might be helpful.

WONDERFUL!! what an amazing find. I have minimal knowledge of adb and fastboot, I can tell from the PDF that fastboot commands are disabled by default on the lk kernel!! It says I need to move them to the usable cmds area, I am unsure the process. Would it be too much to ask that you view the commands and shoot me simple ones?! there are a lot of (*/ I'm unsure if their needed or of how to move these disabled commands to usable!! Thank you so much for helping Scary Alien! Great progress!
 
  • Like
Reactions: scary alien
Upvote 0
Unfortunately, you'll likely be unable to change the bootloader to enable those extra command since the bootloader is developed (compiled and burned into a chip on your phone) and locked by the manufacturer and not changeable by folks like us :(.

I was just hoping that some of the commands shown in there might be helpful and/or revealing to you.
 
  • Like
Reactions: Odin89
Upvote 0
Unfortunately, you'll likely be unable to change the bootloader to enable those extra command since the bootloader is developed (compiled and burned into a chip on your phone) and locked by the manufacturer and not changeable by folks like us :(.

I was just hoping that some of the commands shown in there might be helpful and/or revealing to you.

Ah I see. I'll keep trying :) ty
 
  • Like
Reactions: scary alien
Upvote 0
did you find solution i am noob and facing same issue on my mobile

Well, on the surface, as I indicated in my PM reply, without further information--same question would likely lead to the same replies. Please post that additional information here for all to see :).

Does your mobile allow the use of fastboot commands? I know some manufacturers block fastboot access.

Also, as EP alluded to, some manufacturers will also block certain fastboot commands, notable the unlock feature if that's what you're trying to do / getting at...
 
Upvote 0
Well, on the surface, as I indicated in my PM reply, without further information--same question would likely lead to the same replies. Please post that additional information here for all to see :).



Also, as EP alluded to, some manufacturers will also block certain fastboot commands, notable the unlock feature if that's what you're trying to do / getting at...
i am able to boot in fastboot, mobile detected as fastboot devices retured serial no . and also fastboot getvar-all returned, but rest command like boot, reboot,unlock all failed remote unknown command
@scary alien what additional information u need please tell i will try to proivide
i have attached schreenshot
 

Attachments

  • New Microsoft Word Document (3).doc
    188.1 KB · Views: 826
Upvote 0
Can't see your attachment as it's an MS/Word document...can you re-post as an image (.png, jpg, .gif, etc.), please?

That may not matter if it matches what you said above...many bootloaders are simply "locked" because the device-side that fastboot "talks to" simply will not implement or ignores things like the unlock commands, or disabling the key/button sequence to enter bootloader mode or flat-out disabling the USB driver when in bootloader mode. I.e., several ways to lock you out.

From https://www.codeaurora.org/blogs/little-kernel-based-android-bootloader:

Q2) How do I disable 'fastboot' for my commercial device?

A2) Personally, I would like to see commercial devices leave 'fastboot' enabled. It goes in the spirit of Android Open Source Project where end users and developers have access to the source code to allow them to modify it and upgrade their device over usb using 'fastboot'.
However, if OEMs or network providers want to lock down 'fastboot' it can be done by disabling the keypad and usb driver in bootloader. This can be customized in the following files:

lk/app/aboot/fastboot.c

lk/app/aboot/aboot.c

If fastboot otherwise works (i.e., fastboot devices and fastboot getvar all), then any error you get after that indicates a command sequences that's incorrect or not implemented.

There is one last/other thing to consider, on many devices--especially Nexus devices--there is a Settings -> Developer options -> OEM unlocking switch that must be enabled before you're allowed to unlock your bootloader. I'm not sure that's relevant in your case, but it certainly wouldn't hurt to check.
 
Upvote 0
please find the attached file of response of my fastboot command if you need any thing else, then say i will try to get this
i dont where the fastboot.c ane aboot.c file is located in my firmware so elobrate more because i am noob in this, also the firmware in.cpb format which i already extracted but not found any file like u mentioned .
please check my file and reply , thx
 

Attachments

  • fastboot2.jpg
    fastboot2.jpg
    74.8 KB · Views: 2,985
  • fastboot1.jpg
    fastboot1.jpg
    83.9 KB · Views: 2,357
Upvote 0
It looks like your bootloader is locked (note the "secure:yes" line from the getvar all output) and/or the fact that the commands to unlock / flash / boot all report "FAILED (remote: unknown command)".

Some devices simply do not allow unlocking the bootloader--not sure what else to tell you or to have you try...

Sorry :(.
you replied about editing the files aboot.c will this work so how i do this plese tell about this
 
Upvote 0
Not sure what you mean...I never posted anything about editing aboot.c--I posted a link that discussed/included information about methods for how some vendors / manufacturers might lock down their bootloaders.
well ok one more question i have complied twrp for this , but stuck because cant flash it , ygdp tool flash .cpb of it. and i am unable to replace stock recovery with custom on it , because the version supported is directly flashing it without decompressing so can you help on it
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones