[Q] Is possible to start phone with USB signal? - Android Q&A, Help & Troubleshooting

hi there,
just wondering if an App or ROM editing can allow you to start a phone (besides charging) like if you pressed 'ON' button.
thanks in advance
Currently, there is an App (wakey droid) that requires a PC and console commands to do it, but thats is not the case; I mean by any electric USB signal

Related

[Q] HTC will not connect to my computer

My phone will charge only, the computer will not make a sound as if its connected. I have used usb view and device manager the computer just doesn't see it. I also can't see it under the command prompt (adb Devices). Rebooted it many times tried the connect pc changing that making sure its on always ask, I reset it back to default. I am using the factory usb as well as tried a few others along with using multiple computers to rule out a computer and usb problem.
Can anyone help
Make sure you are not paying so much attention to your computer and more to the phone. Depending on what ROM you are running if you connect it to the computer the phone will show a USB connected but you have to press a button to finish the connection (on the phone) it is usually a swipe down from task bar look for it, that is how it is on the ROM I am running A05PTH3ORY. Make sure to thank me if this help you.
This may not apply if the PC doesn't see it at all, but you can give it a shot.
Put your phone into Internet Pass Through mode. After 30 seconds (or more, not less), put it back into Disk Drive mode.
Sent from my ADR6400L using XDA App

[Q] Adb.exe - how to connect?

Hi everyone.
I need help with adb.
The problem is, that i don't know how to make "auto connect" with device.
I need connect with cell phone without touch on the screen.
Is ny way to this?
Or, if it is impossible. How to force pop up with connection type menu on the phone screen. I known, that this pop windowe is showing after plug cable, but after five second is hide. How to maintain this pop menu while user choose type connection?
Rest regards.

[Stock] [Lolipop] [Z2] HELP! Want to enable usb debugging. Broken screen

I have searched on how to enable usb debugging in the forums for a broken screen but most if not all of them are for other devices and require flashing a custom rom (although i have no idea how to do that). Is it possible to enable us debugging for a sony Z2 Device under these conditions?
1. Broken Screen (touch screen irresponsive)
2. Stock Rom, No recovery menu (tried power on and volume button and also tried flashtool with volume button hold and only black screen came out but i have no idea what i am doing actually)
3. NO usb debugging.
Another method i actually seen other people using is to use an usb mouse to connect to the phone. Will the phone automatically register the mouse or must there be some 3rd party enabled on it (which in this case seems useless already)
Any help will be deeply appreciated and thank you for your help in advance. Repairing will cost quite alot of money (enough to get a new decent phone) so i wanted to extract the data out of the phone before i get a new phone.
Side note: (Probably never gonna buy sony products ever again)
@deionize
Yes usb mouse / keyb should work straight away. You can also use an MHL adapter to connect your phone via hdmi to a screen
I use a samsung mhl adapter with my z2, works perfectly :good:

How to access internal memory - Sony Xperia Z3, broken screen

Hello everyone.
I have searched and tried different things for hours in the end but nothing I found worked. Let me describe the problem a little closer.
My Xperia Z3 took a hard hit. Screen is shattered, unresponsive, black (nothing can be seen). I can't access the internal memory because after connecting the phone to the computer a pop-up asks to select the USB mode (MTP, Charge Only, etc.).
I am able to get past the lock screen by connecting a keyboard and typing in the password.
USB Debugging is enabled, however I cannot use it with ADB because upon connecting I must select the appropriate mode (same problem as above when trying to access internal memory from windows file level).
I thought about connecting the phone to a TV and using a mouse to set the default USB connection mode to MTP, that way I could just plug it in and back up the data using SONY PC Companion but the only device I found that would support a HDMI cable and a USB device (like a PC mouse) is a 5in1 device that is built for Samsung (it has an 11 pin USB micro connector that plugs into the phone).
I tried mirroring the screen on PC using different software but in the end all of them require USB debugging (or selecting the appropriate mode after connecting the phone to the pc) so that didn't work.
A possible solution I thought of is to make a DIY 11 pin to 5 pin micro USB converter (or just cut off the 11 pin plug and wire the cables to a 5 pin one which fits the Xperia Z3 port). The problem here is I can't find the 11 pin to 5 pin converter, however there is a converter that does a 5 -> 11 pin conversion. Which makes me think it must be possible to do it the other way around but so far after quite a long time of searching I failed to find a wiring diagram that would help me do it manually.
My questions:
1. Does anyone know how to manually wire an 11 pin to 5 pin micro USB converter?
2. Is it possible to write a script/executable that I could place on an external SD card, which would auto-execute upon inserting and edit phone config files to change default USB mode to MTP or USB debugging?
3. Does anyone know whether it's possible to use Kali linux to access internal memory via USB cable without selecting any mode after connection? (simply speaking how do I hack into it)
4. Is it possible to write a script/executable that would copy files from certain locations on the internal memory to a location in the external memory? (like photos, videos, etc.)
The 4 questions relate to the theoretical solutions that I thought of to solve my problem but I failed to find information on how to actually do it (if possible at all). I hope someone here will be able to point me in the right direction or give some suggestions.
One other thing I've read somewhere is that someone had reset the phones lock (as in screen lock) by disconnecting some pins/connectors on the phones motherboard for a few seconds which apparently set the phone in some sort of default mode without affecting the memory. Perhaps this would be something worth a try or thinking about if possible in this phone.
I welcome any solutions and ideas. I have some skills in programming and I'm not afraid to take things apart if it comes to that so any solution from easy ones to complicated are welcome.
Some info about the device:
Sony Xperia Z3 - D6603
Android Version: 5.0.1+ (definitely 5+, not 100% sure of the exact version)
If you require more information please ask.
Thanks a lot for taking the time to look at this post
T.

Pixel 2 non-functioning screen, options for using ADB?

Greetings fellow techno-wizards! Got a big problem that I'm hoping you can help me with.
Long story short, my trusty Pixel 2 had one too many drops, now the screen won't turn on and won't respond to touch. The logic board is operating, and I haven't rebooted since then, so I can unlock with the fingerprint sensor.
I plan on getting an Pixel 5 when it releases, and have an LTE Tablet to limp along until then.
My biggest problem is authenticators on my phone that I may or maynot have the backup QR code for, as well as many other things I'd like to get off the phone before I retire it.
I have the following things at my disposal:
Pixel 2, with USB Debugging turned on, and recently trusted the PC. No screen, no touchscreen.
WearOS watch paired to phone (can get notifications and texts)
Bluetooth Mouse
Wired mouse with USB to USB C adapter
Chromecast
Win PC with Scrcpy installed, already tried to use it to show the screen on the PC, I'm guessing its been too long and I have to press a notification to trust the PC.
The Goal:
To cast the screen to a chromecast and pair a bluetooth mouse, and/or get Scrcpy working by accepting the dialog that I can't see. This would allow me to use the migrate tool to the new phone I will eventually get.
I tried long ago to use a USB C to HDMI adapter, that doesn't work. Google wants you to use a Chromecast for such things (Thanks a ton Google )
The thing I need to figure out next is how to use ADB to force the phone to start casting to a Chromecast, or to remotely accept the dialog. The wired mouse with adapter should work to control the phone instead of the touchscreen, but without any video out, I'm clicking blindly. The microphones are working, but I've never tried to command the assistant to start casting before.
Can anyone suggest the next step I should try?
Just had a thought, there are accessibility features for blind people that would let them use the screen without seeing it. Is there any ADB command to enable these features? If I plug in a keyboard, is there a keystroke combination to turn them on?
TheGeek007 said:
Just had a thought, there are accessibility features for blind people that would let them use the screen without seeing it. Is there any ADB command to enable these features? If I plug in a keyboard, is there a keystroke combination to turn them on?
Click to expand...
Click to collapse
Since you say ADB is enabled on the phone you should be able to pull out by means of ADB-driver the data in mind to your Windows computer.

Categories

Resources