reboot G1 into recovery mode using command line?? - G1 Android Development

Hi,
I was wondering what the code was to reboot into recovery mode and bootloader. (I know that adb shell reboot was for a regular reboot). Thanks in advance.

adb shell reboot recovery
adb shell reboot bootloader

thank you very much

samir5421 said:
thank you very much
Click to expand...
Click to collapse
you are welcome

adb shell reboot -p will power off your phone as well

Related

[Q] How To Unbrick? Only in APX Mode

My Asus TF300TG is bricked. I want to make a format to all. When I push the button > Factory Reset. It's closed and open to TWRP recovery. Only thing is working APX. My Version JB. How can I unbrick this.
My Asus TF300TG is bricked
Did TWRP able to mount system, data and oter partitions? If yes You may format mmcblk0p4 and mmcblk0p3 to get acces to reboot into installed android. TWRP should have adb interface, so You can use it to reboot into bootloader and flash rom through fastboot.
To format mmcblk0p4 and mmcblk0p3 use in twrp terminal
Code:
dd if=/dev/zero of=/dev/block/mmcblk0p4 bs=100 count=1
dd if=/dev/zero of=/dev/block/mmcblk0p3 bs=16 count=1
Graiden05 said:
Did TWRP able to mount system, data and oter partitions? If yes You may format mmcblk0p4 and mmcblk0p3 to get acces to reboot into installed android. TWRP should have adb interface, so You can use it to reboot into bootloader and flash rom through fastboot.
To format mmcblk0p4 and mmcblk0p3 use in twrp terminal
Code:
dd if=/dev/zero of=/dev/block/mmcblk0p4 bs=100 count=1
dd if=/dev/zero of=/dev/block/mmcblk0p3 bs=16 count=1
Click to expand...
Click to collapse
No I cant reach sd or system. TWRP says "Cant Mount".
Sorry For Bad English.
sirreddot said:
No I cant reach sd or system. TWRP says "Cant Mount".
Sorry For Bad English.
Click to expand...
Click to collapse
Are you saying that you are automatically booting into TWRP and can't get to the bootloader?
If you can still get into TWRP then type.
adb reboot bootloader
To get you to the bootloader menu and then try following the next link.
http://forum.xda-developers.com/showpost.php?p=44244313&postcount=12
flumpster said:
Are you saying that you are automatically booting into TWRP and can't get to the bootloader?
If you can still get into TWRP then type.
adb reboot bootloader
To get you to the bootloader menu and then try following the next link.
http://forum.xda-developers.com/showpost.php?p=44244313&postcount=12
Click to expand...
Click to collapse
Yes. It's automatically booting into TWRP. But nothing is work. SD EXT.SD, Mounts. Terminal Nothing. I will upload a video clip in youtube
sirreddot said:
Yes. It's automatically booting into TWRP. But nothing is work. SD EXT.SD, Mounts. Terminal Nothing. I will upload a video clip in youtube
Click to expand...
Click to collapse
You need to install adb drivers on your computer and connect it when in TWRP.
Then bring up a command window on PC and type.
adb reboot bootloader
to put you in the bootloader menu.
flumpster said:
You need to install adb drivers on your computer and connect it when in TWRP.
Then bring up a command window on PC and type.
adb reboot bootloader
to put you in the bootloader menu.
Click to expand...
Click to collapse
It isnt found tablet.
sirreddot said:
It isnt found tablet.
Click to expand...
Click to collapse
You can still access adb while in TWRP. Do you have any devices in device manager that do not have drivers installed?
Either that or try it on another PC as you should have adb access.
flumpster said:
You can still access adb while in TWRP. Do you have any devices in device manager that do not have drivers installed?
Either that or try it on another PC as you should have adb access.
Click to expand...
Click to collapse
Look. I am only reach apx mode and TWRP. But in twrp adb cant reach laptop.

Moto G Freezes on startup logo and recovery logo screen

Hi guys,
I have a rooted Device with CM and TWRP installed, but someting happenend using the device and my Moto G got stuck on startup logo and Recovery TWRP logo, with adb I have acess to adb shell but everything else like adb reboot bootloader etc doesn't seems to work, with adb shell I have realized that the TWRP wasn't running 'cause when I use the interface on shell I get this message
$twrp wipe cache
"TWRP does not appear to be running. Waiting for TWRP to start"
Is there any way to install a new recovery via adb shell or reinstall a new rom, factory reset or something like that to make my cellphone work again?
Thanks,
If you are okay to wipe internal storage, the following fastboot command will probably make TWRP load again:
fastboot erase userdata​
fastboot flash recovery newrecovery.img - is a way to reflash recovery, however the above command may still be required.
The problem is that with fastboot the device is not recognized, only when I open the recovery mode...
The logo freezes but the device is reconigzed with adb devices...
gconsentini said:
The problem is that with fastboot the device is not recognized, only when I open the recovery mode...
The logo freezes but the device is reconigzed with adb devices...
Click to expand...
Click to collapse
What OS are you using? Maybe try the ADB commands:
adb shell
wipe data​
lost101 said:
What OS are you using? Maybe try the ADB commands:
adb shell
wipe data​
Click to expand...
Click to collapse
It's the latest CM
I'll try, but the last time I got this message.
"TWRP does not appear to be running. Waiting for TWRP to start . . .
Press CTRL + C to quit."
EDIT
using
adb shell
twrp wipe data
happened the same above
gconsentini said:
It's the latest CM
I'll try, but the last time I got this message.
"TWRP does not appear to be running. Waiting for TWRP to start . . .
Press CTRL + C to quit."
EDIT
using
adb shell
twrp wipe data
happened the same above
Click to expand...
Click to collapse
I meant what OS on PC are you using. Stop adding the phrase 'twrp' - type the command as I wrote it.
lost101 said:
I meant what OS on PC are you using. Stop adding the phrase 'twrp' - type the command as I wrote it.
Click to expand...
Click to collapse
Sorry, I'm using Windows 10, if I use only wipe data, the command wipe is not reconigzed.
Can you enter fastboot mode by holding vol down and powering phone on?
lost101 said:
Can you enter fastboot mode by holding vol down and powering phone on?
Click to expand...
Click to collapse
yes, but when I connect the phone usb and use fastboot devices
it has no devices on the list
gconsentini said:
yes, but when I connect the phone usb and use fastboot devices
it has no devices on the list
Click to expand...
Click to collapse
There are many threads on Win10 and usb driver issues. If you don't want to try to fix fastboot on Windows, you could boot into a Ubuntu Linux LiveCD and install fastboot there.
lost101 said:
There are many threads on Win10 and usb driver issues. If you don't want to try to fix fastboot on Windows, you could boot into a Ubuntu Linux LiveCD and install fastboot there.
Click to expand...
Click to collapse
Yes, I thought about that too =x
SOLVED
Guys the problem was that I've not installed the drivers before, after doing this, I just installed the stock rom from motorola.
Thanks
gconsentini said:
SOLVED
Guys the problem was that I've not installed the drivers before, after doing this, I just installed the stock rom from motorola.
Thanks
Click to expand...
Click to collapse
Hey i'm having the same issue, would you mind telling me how you re-flashed the Motorola rom, Thanks
thomasswan5547 said:
Hey i'm having the same issue, would you mind telling me how you re-flashed the Motorola rom, Thanks
Click to expand...
Click to collapse
Install the Minimal Fastboot & ADB package and the Motorola USB drivers, use the mfastboot package and install the stock ROM as per the instructions provided, but ignore the disassembly part, unless you have your phone does not respond to keypresses.
https://forum.xda-developers.com/showpost.php?p=71328823&postcount=915

Device not found TWRP mode

hey guy, sorry for my english. i take the phone to recovery mode. I want to insert the zip file with the adb sideload command. but adb devcies, The adb command can not detect the phone. fastboot command and when the phone is switched on working adb command and fastboot mode. but twrp mode not see my phone. please help, thanks a lot.

i need install firware amazon on fast boot mode adb hd8 (dont work system recovery)

I'm root my tablet amazon hd8 and brick, I need reinstall the firmware of the pc with ADB mode. any help me i would be eternally grateful.
If the tablet is accessible by means of ADB then you can try to re-flash tablets's Stock ROM:
Code:
adb devices
adb reboot sideload
adb sideload <LOCATION-OF-STOCK-ROM-ZIP-FILE-ON-PC-HERE>
jwoegerbauer said:
If the tablet is accessible by means of ADB then you can try to re-flash tablets's Stock ROM:
Code:
adb devices
adb reboot sideload
adb sideload <LOCATION-OF-STOCK-ROM-ZIP-FILE-ON-PC-HERE>
Click to expand...
Click to collapse
thanks.. but the problems is other, tablet does not power up correctly and is inaccessible to use the system recovery (menu)., shutdown just when pressing
any idea for make the flash without used the menu recovery
Because tablet doesn't power on - as you said - take it to authorized service center and let them fix it.

help with adb reboot bootloader

i type in "adb reboot bootloader" but i just get put back to the system (i have access to recovery mode but there is nothing usefull [reboot system wipe data factory reset power off])
try "adb reboot fastboot" instead
hxudsh said:
try "adb reboot fastboot" instead
Click to expand...
Click to collapse
it doesn't do anything the phone is just a cheap alcatel anyway i think they just forgot at this point to put in a fastboot it's on a ancient version of android anyway i can just use root exploits

Categories

Resources