[Q] Adb.exe - how to connect? - Android Q&A, Help & Troubleshooting

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.

Related

[Q] Hiding phone window on bluetooth connection

Hi everybody,
i'm using my phone as gps navigation system in car and further im using it, while it's connected over bluetooth, to receive and do phone calls. Everything works fine. The only thing that bothers me is, that every time i get a call the phone window pops up over the navigation software and remains visible as long as im using the phone. Does anybody know a trick/software to prevent poping up that phone window while a special bluetooth connection is established?
I don't need the phone window, because the board computer of my shows all necessary informations about the phone(call).
Thanks for any help.
Chris

[Q] Is possible to start phone with USB signal?

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

Help Authorizing ADB w/ A Broken Screen

Hey xda--
Here's the story: my friend's phone has a broken screen, as in, the screen works, but touch doesn't. So I can see everything fine, but I can't tap on anything.
The ultimate goal is to get a screenshot of a certain thread of SMS messages. It's the only thing she cares about at the moment. I was thinking ADB would be perfect since I can just simulate screen taps, but my PC isn't authorized on her phone for ADB. USB Debugging is enabled, and her phone is actually rooted. But it was rooted by her brother and he lives in a different country.
We can get into her recovery (clockworkmod), but obviously there's no way from there to view SMS messages. Is there any way to simulate screen presses aside from using ADB? Or, is there any way at all to authorize ADB without being able to tap the screen? I can see the prompt come up to authorize my PC, but I just can't tap "Accept".

USB Settings

I have my USB Config set to MTP and USB Debugging ON under Developer Options. However, whenever I connect a USB device, it always resets itself to Charge only and I have to switch it back to File or Photo transfer in order to connect to PC, AA, etc.
Any ideas on how to make the USB setting 'stick' with what I set in DO?
Is there an ADB command? Other setting I should be looking for? Any help is appreciated.
bilottag said:
I have my USB Config set to MTP and USB Debugging ON under Developer Options. However, whenever I connect a USB device, it always resets itself to Charge only and I have to switch it back to File or Photo transfer in order to connect to PC, AA, etc.
Any ideas on how to make the USB setting 'stick' with what I set in DO?
Is there an ADB command? Other setting I should be looking for? Any help is appreciated.
Click to expand...
Click to collapse
Strange, I *know* that mine 'used to' stay at whatever setting it was left at before. I just tried it now, and it still stays on whatever it was last set to, BUT... It automatically toggles the 'allow debugging over USB' to OFF every time I plug my phone into my computer. Now I know it didn't do this before, I wonder if it has something to do with 'always trust this connection' being set? Also, it really seems like this stuff is behaving just a wee bit different since I unlocked my bootloader. Hmm, could it be they have set a flag where USB debugging always turns off when the device is connected to something, IF the bootloader is unlocked?
bilottag said:
I have my USB Config set to MTP and USB Debugging ON under Developer Options. However, whenever I connect a USB device, it always resets itself to Charge only and I have to switch it back to File or Photo transfer in order to connect to PC, AA, etc.
Any ideas on how to make the USB setting 'stick' with what I set in DO?
Is there an ADB command? Other setting I should be looking for? Any help is appreciated.
Click to expand...
Click to collapse
I can confirm that this happens on mine too, really annoying, but I think this is not something a lot of people are facing, as there are literally NO other references to this that I can find. The reason why I think this is a very specific issue is that I recently got a Mate 20 X, which is essentially the same phone, and noticed that when I plug in the USB to a PC, I get a dialog pop up at the bottom of the screen asking if I want to transfer photos, files or to charge only. I NEVER saw this on the Mate 20 Pro, but that might be because I messed something up. I did do a lot of fiddling over ADB when the phone was new (mostly disabling apps) and giving permissions to apps like lightning launcher and System UI tuner and I'm wondering if this what has caused the issue.
Obviously even before I did this, I necessarily must have connected to the thing via USB, but strangely, I don't remember seeing this dialog... Having to go into developer mode to change this setting can't be how it's set up normally, as then basically no-one will be able to get connected via MTP (I suspect everyone on XDA knows about this setting, but suspect none of the average Joes even knows the option exists).
So the question is, what did we do wrong and how do we get this diaglog back because I have found that Developer mode is not accessible for other Users set up on the phone so I can't access the phone at all via USB now when the other user is using it...
I'm hoping we can work together to find out what we did wrong!
PS: I find like kaibosh99 that the USB debugging also toggles back to off. I am not rooted or bootloader unlocked
After a lot of faffing and looking into it some more, I don't get the pop-up dialog but have discovered that it is in the notification menu where it shows
USB icon . Charging via USB
Expanding that notification and tapping on it, gives the option to choose file transfer and a load of other stuff. It's a pity that a pop-up dialog doesn't open like on the Mate 20 X, you can see what I mean here
https://uk.community.huawei.com/mat...tried-usb-debugging-and-all-that-already-6786
Much easier than having to go into the notification menu!

Urgent: need backup of A80 with broken/black screen for upcoming court case.

Thread Closed Per OP Request
I'm helping a friend who needs backup of her broken phone for an upcoming court case.
I need to extract all photos (camera, snapchat etc) and text messages (sms/mms).
The phone seems to be working other than the screen and touch controls.
Replacing/repairing the screen isn't an option as we both have minimal funds, and my friend has a new phone already)
i have "access" to the phone, but neither USB Debughing nor MTP is enabled so i cannot access any files.
I'm able to unlock it with a keyboard connected (i hear the little unlock click after entering the pin, and the "turn off screen" click when i press the power button.) But i have to navigate blindly, and any guide i find seems arbitrary how to get to settings, it says to press win+n (same as pulling down the quick settings menu from home) and press tab an arbitrary number of times to get to the settings gear in the corner. i tried doing this on my own working note 10 plus with the external keyboard, but i see it scrolls through every notification, so unless you know the number of notifications, hitting the gear is just pure luck.
I have also tried hooking up a usb-c to hdmi dongle (which works and starts dex on my n10+) but it says no signal on the A80, so external monitor seems out of the question.
Is there a consistent way to enter settings, or any way to enable the following settings:
* enable voice assistant (accessibility settings so i can hear where i am and navigate using voice/sound)
* enable USB MTP (or similar so i atleast can access files from a computer)
* enable USB debugging (to use ADB to screenmirror and/or etc)
* alternatively clear notifications so entering settings should become consistant with number of keypresses
I have tried some apps like dr fone but it doesnt support backup from this model, and any other settings wants to wipe the phone.
I have tried holding both volume buttons to enable google voice assist, but also unsure if this ever worked
The phone is not on wifi and i am not 100% sure if wifi is enabled at the moment, nor if it has the current wifi password my friend uses, but i can try do do things from there if internet access will help.
I dont think google now nor bixby (if this phone has that) is enabled as i dont get any reply or voice ding while pressing the win key (home button normally on working android)
I think i can enter recovery and download modes, i got COM5 on odin, but I'm unsure if i ever get into recovery menu.. but even then, is there any custom recovery firmware that will enable usb mtp access at all for this device?
Also, I'm not able to have a computer connected at the same time as a keyboard as I'm using a wired keyboard with OTG adapter.
Tl;dr:
Have:
* A80 with broken unresponsive screen.
* Have access blindly through otg keyboard
Need:
* Need to enable mtp and/or usb debug (alt. Voice assist)
* Need consistent way to access settings
Both MUST be done using only wired otg keyboard.
Tried:
* Hdmi out (no signal)
* computer recovery software (no dice)
* having computer and keyboard connected simultaneously (keyboard works, pc doesnt recognize, could be dongle)
Hope someone can help me (us) fast.
Could anyone with an A80 and external keyboard please try this to enter settings from keyboard only:
0) [ESC] & ([WIN]+[Enter] to make sure to be on home
1) [WIN]+[Q] "quicklaunch buttons" pulldown menu appears
2) [TAB] (no change)
3) [Down arrow] (magnifying glass gets highlighted)
4) [Right arrow] X2 (gear is highlighted)
5) [Enter] should now be in settings
If this works, could you please count how many times you press down and enter to enter accessability settings and enable talkback, which should make navigating to usb settings etc much easier
Mods: please delete thi post.. its a A8 2018 mot A80, sorry about that

Categories

Resources