No ADB function in recovery mode? - Legend General

I need to pull, edit and push back /data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_preferences.xml which is not accessible through 'normal' adb so I tried booting the phone into recovery mode but I couldn't connect adb, basically when I go to devices and printers>android phone>hardware, there's no ADB listed as in normal mode. Any ideas?
PS the USB debugging option is on.

Anyone?

Related

[Q] I can't get into bootloader/fastboot mode

I can't get into the bootloader/fastboot mode, is there something wrong?
Note I am now on stock 4.4 (including stock recovery/kernel etc.) but previously i had custom recovery and same error.
- tried rebooting into bootloader from recovery when I had philz and/or TWRP - would just boot into the OS
- tried power + button up (i.e. reverse of booting into recovery) - same, boots into OS
- tried quick boot root app - same, boots into OS
WTF
Not hugely concerned since I could get into recovery lol but why is it I can't get into bootloader/fastboot mode? What if the OS is broken and I need to ADB something?
Note I rooted/TWRP/PHilzed and went custom for awhile, then I made my own zip using below thread and a full kdz and flashed back to stock including recovery/kernel/baseband (I wanted to go back to 100% stock).
http://forum.xda-developers.com/showthread.php?p=52207783#post52207783
Thanks
Isn't the bootloader locked on the G2? Coming from a Nexus phone, I was also looking for the option but read it wasn't currently possible to unlock it.
I know we're BL locked, I meant fastboot or download mode or whatever the mode is where you can use adb commands and/or fastboot flash recovery recovery.img if I never need to manually fix recovery for example.
wintermute000 said:
I know we're BL locked, I meant fastboot or download mode or whatever the mode is where you can use adb commands and/or fastboot flash recovery recovery.img if I never need to manually fix recovery for example.
Click to expand...
Click to collapse
You can use ADB by enabling USB debugging in developer options.
Download mode can be enabled by turning the phone off, pushing power+Volume Up and then plugging in your phone to your PC with a USB cable - I've used this twice already to recover from experimenting with recoveries and ROMs (by going back to stock following instructions here: http://www.droidviews.com/how-to-restore-lg-g2-to-stock-firmware/)
GenghisKhan67 said:
You can use ADB by enabling USB debugging in developer options.
Download mode can be enabled by turning the phone off, pushing power+Volume Up and then plugging in your phone to your PC with a USB cable - I've used this twice already to recover from experimenting with recoveries and ROMs (by going back to stock following instructions here: http://www.droidviews.com/how-to-restore-lg-g2-to-stock-firmware/)
Click to expand...
Click to collapse
also i've found the phone won't boot in to recovery if it's on mains charge (via button combo not adb/in rom apps or APM)
GenghisKhan67 said:
You can use ADB by enabling USB debugging in developer options.
Download mode can be enabled by turning the phone off, pushing power+Volume Up and then plugging in your phone to your PC with a USB cable - I've used this twice already to recover from experimenting with recoveries and ROMs (by going back to stock following instructions here: http://www.droidviews.com/how-to-restore-lg-g2-to-stock-firmware/)
Click to expand...
Click to collapse
Thanks, the plugging in USB cable is probably the bit I'm missing!
I know I can use ADB with USB debugging, I'm asking the question if I need to recover from softbrick and can't get into OS

[Q] how to enable usb debugging - screen broken

My s4 display is broken, so, there's nothing that I can do with the phone. When I connect phone via usb, I'm able to browse through folders on my s4, but in adb, on "adb devices" command, none of devices is listed.
Phone is rooted with CM11 ROM installed.
When I connect phone in recovery mode on bootup, and open adb, all commands are working, and device is recognised.
Is there any way to enable usb debugging from recovery mod, so device would be recognised in adb when it boot up normally?
You could try this:
Run an ADB shell in ClockworkMod
Remount /system in readwrite mode.
Add this to /system/build.prop: persist.service.adb.enable=1
Save the file.
Warning: Some people reported that this causes their device to not boot anymore.
hi... i have sme problems...
adc say me that phone is "unauthorized"
can you say exactly tha command that i must use with adb?

Push adb rsa key via sideloading zip file to authorize USB debugging mode?

I figured it makes sense to break this out into it's own thread. Dealing with a dead screen/digitizer situation. Phone is rooted with safetrap, usb debugging is enabled but unauthorized. I'm not able to boot into recovery (no screen, not sure whats happening), closest thing I get to is booting into sideload mode and adb recognizes my phone.
Not sure if that means anything, is it possible to write some script, that executes pushing the new key, zip it and sideload it via adb? Will it autorun somehow?

Screen/Touch not working, trying to recover data

Hey, I have an XT1563 with an SD card integrated into internal storage (which I'm regretting deeply now). Never unlocked bootloader.
Long story short, the screen fried and now won't turn on. Now I'm on a long journey trying to recover the data from it.
I'm also a noob at all of this, here's what I've done so far:
I have the Motorola drivers installed, and just the SDK platform-tools installed.
I can't remember if I kept USB debugging enabled or not, but I figured if I could get it into recovery mode I could enable it through that.
But I can't enter recovery mode. The only thing I'm successfully able to do is enter fastboot mode. I tried doing a flash recovery but of course since bootloader is locked it failed.
So from fastboot, since I can't see the screen, I can only guess at which buttons lead to recovery mode. From images, recovery mode is second on the list, right?
I've tried Vol Down + Vol Up. Didn't work. Also tried Vol Down + Pwr. Also didn't work. Fastboot still says it's in fastboot mode and adb doesn't recognise anything.
The only way my laptop is recognizing the phone is through fastboot. When I plug it in normally it doesn't connect (guessing it jumps into charging mode, but adb still doesn't recognise it)
Can somebody help me here? IIRC Moto X Play does have a built-in recovery mode, right? Is there a way to enter recovery mode through CMD/fastboot functions, or can anyone help me with the hardware buttons to reach it?
Bump
svxyl said:
Bump
Click to expand...
Click to collapse
I'm not sure what is possible. My idea would be:
1. Enter fastboot
2. Fastboot boot twrp
3. Use integrated adb of twrp to access data and shell as well as adb backup. Transfer data using data exchange for Android should also be possible.

[SM-T590] adb reboot sideload leads to death

Hey guys,
im currently stuck. i once bootet directly into sideload mode and that worked. Awfully no PC and Cable Combination connects to TAB in Sideload Mode.
When i rebboot manually it only boots into sideload again. So i cant try other things...
Has somebody had a same issue and was able to solve it?
regards
Daniel
Becksta0815 said:
Hey guys,
im currently stuck. i once bootet directly into sideload mode and that worked. Awfully no PC and Cable Combination connects to TAB in Sideload Mode.
When i rebboot manually it only boots into sideload again. So i cant try other things...
Has somebody had a same issue and was able to solve it?
regards
Daniel
Click to expand...
Click to collapse
What do you mean by "sideload mode"? The only way to enter sideload mode is either commanding it via ADB, or selecting the option in recovery.
Hey,
i used "adb reboot sideload". Everytime i Boot now, it starts in sideload Mode. But none of my devices is connecting to it. so i cant flash something new, or send commends to leave sideload Mode.
Becksta0815 said:
Hey,
i used "adb reboot sideload". Everytime i Boot now, it starts in sideload Mode. But none of my devices is connecting to it. so i cant flash something new, or send commends to leave sideload Mode.
Click to expand...
Click to collapse
You should be able to use adb reboot to reboot normally. You can also use adb reboot download for download mode, or adb reboot recovery for recovery.

Resources