Serial bootloader commands - Hero, G2 Touch Android Development

The serial debug command set is slightly disappointing:
In fastboot mode with serial, it doesn't seem to accept any commands.
I can't see any difference between "RUU" mode and "fastboot" modes. You can enter RUU mode with the oem "rebootRUU" command. It says "RUU" on the menu instead of "FASTBOOT".
In "HBOOT", or bootloader mode, it only accepts the "oem" commands I've listed in this thread.
All the more advanced commands are still compiled into the ROM, its just that nothing ever calls them.
Interestingly, I found out that if you hold down VOLUMEUP on powerup, you enter the ARM9/radio bootloader. It accepts commands over serial only, but has responded with "invalid command" with the few things I tried.

Related

[Q] Please help me unlock my HTC desire 816w bootloader

Hello Guys..
A few days ago I have bought a Chinese HTC desire 816w, it comes with sense 5.5 so I decided to flash a new rom for it, but I'm stuck in unlocking the bootloader, I'm following the steps provided in htcdev.com and everything was fine till I reached the command "fastboot oem get_identifier_token" and when I write this command and press enter only this message appears ... (the three dots are the response from CMD) and after that nothing happens and cmd doesn't allow me to write anything more, please help, me I can't live with a locked bootloader.
Note: I have installed all the correct drivers and I have Google SDK and i use windows 8.1 (and tried once on windows 7) so I guess everything seem to be fine I don't know what's the problem
Note 2: when I try to go to Hboot (volume down+power) I get a totally different screen from the one supposed to appear and it is written in Chinese.
Guys Please hep me I have spent the last 2 days trying to figure this out.
Thank you so much
Danny.solon said:
Hello Guys..
A few days ago I have bought a Chinese HTC desire 816w, it comes with sense 5.5 so I decided to flash a new rom for it, but I'm stuck in unlocking the bootloader, I'm following the steps provided in htcdev.com and everything was fine till I reached the command "fastboot oem get_identifier_token" and when I write this command and press enter only this message appears ... (the three dots are the response from CMD) and after that nothing happens and cmd doesn't allow me to write anything more, please help, me I can't live with a locked bootloader.
Note: I have installed all the correct drivers and I have Google SDK and i use windows 8.1 (and tried once on windows 7) so I guess everything seem to be fine I don't know what's the problem
Note 2: when I try to go to Hboot (volume down+power) I get a totally different screen from the one supposed to appear and it is written in Chinese.
Guys Please hep me I have spent the last 2 days trying to figure this out.
Thank you so much
Click to expand...
Click to collapse
When on XDA I assume you selected "HTC One" as the model? Also, you have the fastboot command line open but when you go to the bootloader are you presented with two options that the volume keys can move on or are there more than two with each selection a different color?
When you enter the bootloader;
- your in hboot mode
- pressing the power button once will enter fastboot
- then you run the get token command
- get the code
- send it to htcdev
- get the file from email
- drop it in the adb folder " platform-tools "
- run the command to flash it then type " adb reboot fastboot " or press volume down 3 times and press power button.
If the bootloader has two options only on the main screen it should be either "fastboot / recovery" listed or "yes / no".
This should work, let me know how it goes.
If possible take a picture of your bootloader screen.
Also, if it says " Uboot"; its a fake HTC device.
Sent from my 710C using XDA Free mobile app
The thing is, that when I'm trying to get into the bootloader by the official way (Power + vol down) I get a different screen from the "supoosed to be" Hboot screen it's written in chinese in other words, it's not the Hboot screen I saw on many tutorials, I have translated what is written on the chinese "hboot screen" and it appears to be a page to test if the components of the device are working properly and this is the only page I get from pressing vol down+ power,so I couldn't do anything but to enter the fastboot mode by the ADB command "ADB reboot bootloader" and only after that i get into the fastboot mode, but I got the same error while trying to get the identifier token..
I have attached a photo for the "chinese hboot" screen that appears when I press (vol down+power) and a photo for the error I get when I try to get the identifier token
I guess my device is either fake (hope not) or modified.. if it is modified is there anyway to install the HTC Hboot on it?
Thank you
Danny.solon said:
The thing is, that when I'm trying to get into the bootloader by the official way (Power + vol down) I get a different screen from the "supoosed to be" Hboot screen it's written in chinese in other words, it's not the Hboot screen I saw on many tutorials, I have translated what is written on the chinese "hboot screen" and it appears to be a page to test if the components of the device are working properly and this is the only page I get from pressing vol down+ power,so I couldn't do anything but to enter the fastboot mode by the ADB command "ADB reboot bootloader" and only after that i get into the fastboot mode, but I got the same error while trying to get the identifier token..
I have attached a photo for the "chinese hboot" screen that appears when I press (vol down+power) and a photo for the error I get when I try to get the identifier token
I guess my device is either fake (hope not) or modified.. if it is modified is there anyway to install the HTC Hboot on it?
Thank you
Click to expand...
Click to collapse
The only thing I can recommend to you is that you try adb reboot fastboot and to make sure that fastboot is unchecked in the options of the device. If you cannot access the code after these options then I'm afraid to say your device is fake. Not only that but due to current limitations on this specific device, there is no way to flash a completely different bootloader. Besides; as for HTC - all are the same/similar in layout, just language modified.
You could try to click each one of those options and hopefully you'll come across the bootloader. You never know maybe that's just an extra menu; although, I highly doubt it.
Sorry
Sent from my 710C using XDA Free mobile app
Did you solve the problem? I just bought a htc 816w and have the same problem now.
From looking at that second screen shot, it looks like the recovery, not fastboot. Fastboot should have a white background(at least it does on mine), while recovery has the dark background. Also, fastboot should have some info at the top of the screen and commands close to the middle, while recovery only at the top of the screen. Try the advice given above, go to settings-power and make sure Fast Boot is unchecked. Go to About in Settings, then Software Information, select More and tap on Build number until Devloper Options are enabled. In Developer Options, check the USB Debugging option. Now plug it into your PC and try the command
adb reboot bootloader
That should get you into fastboot. Then you can contnue with unlock commands.
riggerman0421 said:
From looking at that second screen shot, it looks like the recovery, not fastboot. Fastboot should have a white background(at least it does on mine), while recovery has the dark background. Also, fastboot should have some info at the top of the screen and commands close to the middle, while recovery only at the top of the screen. Try the advice given above, go to settings-power and make sure Fast Boot is unchecked. Go to About in Settings, then Software Information, select More and tap on Build number until Devloper Options are enabled. In Developer Options, check the USB Debugging option. Now plug it into your PC and try the command
adb reboot bootloader
That should get you into fastboot. Then you can contnue with unlock commands.
Click to expand...
Click to collapse
i dont see any Power option on my device so i cant fastboot unchecked... my device is 816w a5_TL .
when i go to fasboot,,, i see white screen with 3 android icon :/
The command adb reboot botloader takes the device to fastboot. But the command fastboot oem get_identifier_token just shows ... (three dots), no code appears
Any one helps?
hi did you resovle it
hi
Please did you resolve this because i am facing the same sitution
did you resolve it
hi
hi
Please did you resolve this because i am facing the same sitution..
phammduc said:
The command adb reboot botloader takes the device to fastboot. But the command fastboot oem get_identifier_token just shows ... (three dots), no code appears
Any one helps?
Click to expand...
Click to collapse

[Q] How do you access fastboot?

Hey everyone, so about a week ago I decided to flash the wrong rom (not intentionally) on my phone. I used the LGflashtool. Now I cannot access download mode at all and when i turn it on all it does is stay on the LG logo. When I turn on the phone and i hold up the volume up button it starts up fastboot and looks like this
[40690] Fastboot Mode Started
[40780]---reset--
[40780]---portcharge---
[40990] fastboot: processing commands
but when i try to run the command "adb devices" in the command prompt (C:\Users\chris\AppData\Local\Android\sdk\platform-tools (folder path)) it does not show my device at all. Also when i try to run the command "adb reboot" it says "Error: device not found"
Is there a way for my computer to see my device?
Thanks in advance

How can I unlock bootloader on my HTC Desire 526 G dual sim? Help

I tried four times to unlock bootloader on this device with pc, but all times I FAILED.
I tried change USB port.
I tried this:
Open cmd with admin permission
" CD AppData\Local\Android\android-sdk\platform-tools"
"adb devices" (Now pc recognize me)
"adb reboot bootloader" (My phone reboot in bootloader mode showing the message "=> FASTBOOT Mode"
now I Type "fastboot devices" and my device isn't showed
HELP ME PLEASE!!!!
Hey There,
You should have fastboot devices on ur PC then put your device into fastboot mode , open command prompt from fastboot folder (after you have installed fastboot) and type this command
fastboot devices
(ABCDEFGHI fastboot) you should see your phone
then type
fastboot oem unlock#
a option will come on your phone use the volume keys
after typing this command it shows vol up for unlock bootloader and vol down for do not unlock bootloader . but when i press vol up key it shows unlock failed (((
I am having a hard time getting the he bootloader to unlock are there any chance there is a website that has a simple software one click any were
Leonardo.Silvagni said:
I tried four times to unlock bootloader on this device with pc, but all times I FAILED.
I tried change USB port.
I tried this:
Open cmd with admin permission
" CD AppData\Local\Android\android-sdk\platform-tools"
"adb devices" (Now pc recognize me)
"adb reboot bootloader" (My phone reboot in bootloader mode showing the message "=> FASTBOOT Mode"
now I Type "fastboot devices" and my device isn't showed
HELP ME PLEASE!!!!
Click to expand...
Click to collapse
Here you can find unlocking tools and steps for htc 526g dual sim
http://4pda.ru/forum/index.php?showtopic=699986&st=140#entry47210746
Dont forget to press thanks:good:

Does ADB work with locked bootloader?

I have a LG G7 (LM-G710EM) with locked bootloader (stock version: V10h). I can easily enter fastboot mode. When I send the command "fastboot devices" (from a command window running ADB) it returns a list with the serial number of my device. So, it seems to work. But if I run the command "ADB devices" then I receive an empty list.
I don't want to unlock the bootloader. I just want to send specific commands required by some app to work properly without the need to be root. For example BetterBatteryStats requires the ADB command "adb -d shell pm grant com.asksven.betterbatterystats android.permission.DUMP".
I did already in my Moto G5+ with stock 7.0 (locked bootloader) and it worked. Is it possible to do the same in my LG G7 without unlocking the bootloader?
I just ran into a similar issue when giving BBS permissions. The solution that worked for me on my Verizon G7 was to select the USB connection notification then go to Photo Transfer mode. Right after that I got the authorization request on the phone to grant debugging permission to my computer. After that adb devices showed the phone. Hopefully that same tip helps.
ADB doesn't work in fastboot mode.
LameMonster82 said:
ADB doesn't work in fastboot mode.
Click to expand...
Click to collapse
at the end I discovered what was wrong. to enter ADB commands there is no need to enter fastboot mode, just connect the phone (already switched on) to the PC and accept the connection from that PC. Then opening a CMD window, it's enough to type the command "adb devices" and the serial number of the phone appears, telling that the phone is ready to accept adb commands. uhff!!
LG G7 ThinQ ADB devices - nothing appears, no matter what I try (all of the above and some other stuff!) I can only assume that Sprint have had this thing so locked up, even ADB can't help! Any ideas?

In fastboot mode, message "OTG NOT MOUNTED, File NOT FOUND"

I have used the SDK tools trying to root my M9.
Activated developper mode, OEM unlocking end usb debugging.
In bootloader mode I can use the command line "adb devices" and it list in terminal a number for the device.
If I do the same in fastboot mode ("adb devices" at command line) then it doesn't show any device number and keeps searching.
When in fastboot mode I got the following message:
SD MOUNTED
OTG NOT MOUNTED
File NOT FOUND
Can somebody help me to solve this issue pls!!
mgbeek68 said:
I have used the SDK tools trying to root my M9.
Activated developper mode, OEM unlocking end usb debugging.
In bootloader mode I can use the command line "adb devices" and it list in terminal a number for the device.
If I do the same in fastboot mode ("adb devices" at command line) then it doesn't show any device number and keeps searching.
When in fastboot mode I got the following message:
SD MOUNTED
OTG NOT MOUNTED
File NOT FOUND
Can somebody help me to solve this issue pls!!
Click to expand...
Click to collapse
Why don't you just install twrp using fastboot then flash magisk?

Categories

Resources