Xperia S & ADB reboot to recovery? - Sony Xperia P, U, Sola, Go

Hey people,
I'm the owner of OTAUpdateCenter.pro, and want to make it compatible with the Xperia devices.
Could you tell me how you boot into recovery on your device to recovery using adb?
I've seen: adb reboot recovery does not work.
Thanks in advance.

Related

[Q][SK17i][Locked BL] How to go in recovery with terminal?

What is the terminal/adb command to go in the recovery directly ?
Code:
reboot recovery
doesnt seem to work ...
I am using pvypart's recovery ...
http://forum.xda-developers.com/showthread.php?t=1437840
pvyparts app and serjar's system UI allow you to go to recovery directly so I believe there must be a terminal command too .
karandpr said:
What is the terminal/adb command to go in the recovery directly ?
Code:
reboot recovery
doesnt seem to work ...
I am using pvypart's recovery ...
http://forum.xda-developers.com/showthread.php?t=1437840
pvyparts app and serjar's system UI allow you to go to recovery directly so I believe there must be a terminal command too .
Click to expand...
Click to collapse
From the pc you can type
Code:
adb reboot recovery
This won't work on phone, because it would start an adb server on phone, so I don't know about the command on phone
Hmm
Doesnt seem to work
adb reboot recovery just reboots the phone ..
Hi
Did you previously install a recovery??
If not, try X-parts.
Hi
I can boot into recovery if I repeatedly press volume down at boot
Or I can access the recovery using x-parts or server's framework...
I need the terminal or adb command.
Sent from my SK17i using Tapatalk 2
karandpr said:
Hi
I can boot into recovery if I repeatedly press volume down at boot
Or I can access the recovery using x-parts or server's framework...
I need the terminal or adb command.
Sent from my SK17i using Tapatalk 2
Click to expand...
Click to collapse
You mean you can't boot in it or you can? By pressing volume down again and again? Reinstall the recovery, it must work. On which software version are you?
mihahn said:
You mean you can't boot in it or you can? By pressing volume down again and again? Reinstall the recovery, it must work. On which software version are you?
Click to expand...
Click to collapse
The recovery works...
I am on ics 587
I want to write a batch script so I can directly boot in recovery when my phone is connected to to windows ...
That's why I need the terminal command.
Sent from my SK17i using Tapatalk 2
karandpr said:
The recovery works...
I am on ics 587
I want to write a batch script so I can directly boot in recovery when my phone is connected to to windows ...
That's why I need the terminal command.
Sent from my SK17i using Tapatalk 2
Click to expand...
Click to collapse
15 Useful Android Terminal (ADB Shell) Commands
Wechy77 said:
15 Useful Android Terminal (ADB Shell) Commands
Click to expand...
Click to collapse
...
Didnt I mention it in the OP that
Code:
reboot recovery
normal reboots the phone
on top of that
Code:
adb shell reboot recovery
is useless without insecure shell
karandpr said:
...
Didnt I mention it in the OP that
Code:
reboot recovery
normal reboots the phone
on top of that
Code:
adb shell reboot recovery
is useless without insecure shell
Click to expand...
Click to collapse
Can you reboot into recovery from your hardware with out hitting the vol rocker? So on my hardware (ST18i) I can long press power select reboot and then I have the option for reboot or recovery. When this is set up correctly, selecting recovery will automatically reboot the device into recovery with out having to hit vol dwn...when it is not set up correctly it will reboot normally...so if you want recovery you have to hit vol dwn. Mine is currently not set up correctly...and when I try adb reboot recovery it behaves exactly like yours....just reboots with out going to recovery.
AFAIK the problem for the reboot to recovery from the hardware is in the ramdisk (not sure about from adb) so maybe try another kernel.....
My phone is locked ...
I tried both recoveries available with x-parts ...
The phone boots the recovery woth the modified framework(Hold the power button)
But I wanted the adb commands for a batch script ..
Anyway Thanks for your replies

[Q] [Xperia Ray] Cannot boot into Recovery

Hey Guys,
i can't get my phone to boot into cwm.
BL is unlocked, Phone is rooted.
Installed CWM with Recoveryx - can't boot into recovery (via Boot Manager)
Installed CWM with X-Parts - can't boot into recovery (via X-Parts)
I can't boot via Volume Down button.
Whats wrong? It's driving me crazy.
Try using adb. Download the sdk or just adb and using command prompt go to the location where
adb is and use this command-
adb reboot recovery
Abhinav2 said:
Try using adb. Download the sdk or just adb and using command prompt go to the location where
adb is and use this command-
adb reboot recovery
Click to expand...
Click to collapse
Didn't work either. I finally managed it. Don't know how. I flashed cwm a couple of times. After the 10th time it booted. Thanks
Sent from my Nexus 4 using xda app-developers app

can someone explain how to adb sideload?

I've got bootloop and have deleted the rom zip to just re flash over. can someone explain how to adb sideload or if it's possible?
on Xperia U?
Sent from my AOSP 4.3 Xperia S via Tapatalk
Just boot to recovery and connect your phone to PC. In recovery, choose install zip -> install from sideload. Then make sure you have SDK or adb, then place your rom with the adb and open cmd where the rom is placed and finally type:
Code:
adb sideload nameoftherom.zip
Rest will be done. :good:
Cheers,
AJ

Xperia Z2 install Recovery fails

Hi all,
i am trying to install TWRP recovery to my Sony Xperia Z2 but ADB only tells me after fastboot "waiting for device...". I am very sure that this is because i don't have a stock recovery installed. My Nexus 5 has stock recovery, i tried to find a stock recovery for Xperia Z2 but there seems to not be any stock recovery for it. Could somebody tell me how to install stock recovery so i can install TWRP?
Thanks,
Chris
automatischa said:
I am very sure that this is because i don't have a stock recovery installed.
Click to expand...
Click to collapse
There is no stock recovery. You either haven't installed the drivers or can't access them. Ensure the drivers are installed. If they are, try sudo or run as administrator.
Sent from my D6503 using Tapatalk
su in a dos prompt with adb... strange i'll check it out later...

Need Help With Custom Recovery

Hey guys I have an LG Stylo 3 Plus that i rooted in the past with help from my phone and installed Resurrection Remix I would like to do it again I flashed TWRP once again but anything and everything i do i cannot access TWRP to be able to wipe, flash etc etc. when I use fastboot to reboot into recovery I get the android robot sleeping with "No command" I'm new to rooting so please dont judge me or anything for asking for help thank you ?
@WrathTheGod
You use ADB to boot into device's Recovery and NOT Fastboot
Code:
adb devices
adb reboot recovery
jwoegerbauer said:
@WrathTheGod
You use ADB to boot into device's Recovery and NOT Fastboot
Code:
adb devices
adb reboot recovery
Click to expand...
Click to collapse
So don't use fastboot reboot recovery?
WrathTheGod said:
So don't use fastboot reboot recovery?
Click to expand...
Click to collapse
Just use buttons, and read the instructions...
[Recovery][OFFICIAL] TWRP V3 For LG STYLO 3 PLUS
https://forum.xda-developers.com/android/development/recovery-twrp-v3-lg-stylo-3-plus-t3649621

Categories

Resources