[Q's] USB Debugging wont stay on ... - Huawei P10 Plus Questions & Answers

Hey everyone,
Ive recently had a problem trying to use a few root apps with my phone that require USB debugging and to my surprise found out it turns itself off after I leave the options screen.
Is this a normal security feature? Is there a way to keep it on?
Obviously it stays on when activated and connected to USB on a PC, but that does not help me when an app needs it. I have never seen this behavior before yet everything in USB debugging sticks (except some options after re-boot like DPI)
And thats another question,
How do we keep DPI changes in developer mode to stick after reboot.
Maybe there is a config XML somewhere in the system as normal DPI changes to the sparse Build.prop do not work since dpi is controlled via rom level.
Any help or input would be appreciated if this usb debugging thing is not normal for everyone.
If anyone knows about the DPI thing that would ne also helpful

Related

[Q] Rooted... Now Can't Mount to PC

Hey all! I'm new here and I just rooted my Vibrant as per justadude's instructions. Worked great! But now I'm having an issue with my USB connection to a PC. I when connected the USB notification icon sometimes doesn't appear, and when it does it doesn't give me the option to mount my device. I searched the forum and found a solution by setting up USB debugging, but is there any way to fix this without that on? Any advise would be greatly appreciated!
try to change your USB settings.
Sorry, but what should my settings be?

Where are my file.?please help...

I played with carbon. But now when I plug the tablet on my computer I can see only the files for picture.
I remember I changed a parameter like tpi to tpe(????)
Now I would like to revert back so I can access my download file.
Your help is welcome....
swisstourist said:
I played with carbon. But now when I plug the tablet on my computer I can see only the files for picture.
I remember I changed a parameter like tpi to tpe(????)
Now I would like to revert back so I can access my download file.
Your help is welcome....
Click to expand...
Click to collapse
For file system access you need to be connected as an MTP device. The PTP is only for media. Also, you need usb debugging turned on in developer options.
On 4.2.1 stock the MTP/PTP toggle control is not in a completely obvious place
Settings -> Storage -> Menu -> USB Computer Connection
Both MTP and PTP leave much to be desired.

Recover with dead screen

Hey guys,I hope that all the awesome people here can help me to solve a huge Problem.
My GF had a Galaxy S5 Neo,she thought it would be a great idea to drop it directly on the screen so it broke and won't show anything anymore.
No we need to backup some important files from that device.
Gladly I was able to remove the lockscreen protection with her Samsung Account,but still not able to do more.
The device is on the latest official update,not rooted and no USB debugging enabled.
So I tried to get in recovery and use adb,witch will work every now and than,but I found out that the adb in stock recovery is limited,so now way to do anything there.
If I had enabled USB debugging,I could easily use visor to controll the device.
If I connect it via USB to my PC,it shows up,but as an empty device.
And I can't change the USB mode,because screen is completely dead.
Can I change the USB mode without the screen?
Can I enable USB debugging without the screen?
If I could change at least the USB mode,that could help out at least a little.
Long story short,I need an way to backup file from that thing.
If there is a solution for this,you guys would really help me out.
K-Town Rules said:
Hey guys,I hope that all the awesome people here can help me to solve a huge Problem.
My GF had a Galaxy S5 Neo,she thought it would be a great idea to drop it directly on the screen so it broke and won't show anything anymore.
No we need to backup some important files from that device.
Gladly I was able to remove the lockscreen protection with her Samsung Account,but still not able to do more.
The device is on the latest official update,not rooted and no USB debugging enabled.
So I tried to get in recovery and use adb,witch will work every now and than,but I found out that the adb in stock recovery is limited,so now way to do anything there.
If I had enabled USB debugging,I could easily use visor to controll the device.
If I connect it via USB to my PC,it shows up,but as an empty device.
And I can't change the USB mode,because screen is completely dead.
Can I change the USB mode without the screen?
Can I enable USB debugging without the screen?
If I could change at least the USB mode,that could help out at least a little.
Long story short,I need an way to backup file from that thing.
If there is a solution for this,you guys would really help me out.
Click to expand...
Click to collapse
Hey, i have similar problem, i cant unlock the phone so i have empty device at computer, i was wondering if you have any news on it
You Need OTG
Assuming
- you have stock 6.0.1 and
- you have enabled Developer options,
Here is an easy way:
1. Wait for boot to complete.
2. Once you feel like you're at the Touchwiz home screen, attach a keyboard to your S5 Neo.
3. On your keyboard, press Windows + N (Quick Settings tray).
4. Press Tab twice and Enter (Settings).
5. Keep on pressing Down Arrow for 5 sec.
6. Up Arrow one time and Enter (Developer options).
*** You can now (A) enable USB debugging and/or (B) change USB configuaration to MTP ***
7(A). Down Arrow * 7 times and Enter (USB debugging).
7(B). Down Arrow * 22 and Enter (USB configuration).
8(A). Right Arrow and Enter to allow USB debugging (OK).
8(B). Press Down Arrow and Enter (MTP)
9(A). Connect your phone to your PC *** You MUST keep your keyboard connected ***
9(B). Connect your phone to your PC.
10(A). On your computer, run "cmd" and type "adb devices" to authorize. *** You will see "unauthorized" from your cmd window ****
10(B). On your computer, you will see your device connected.
11(A). On your keyboard, press Tab * 3 and Enter (OK).
12(A). On your computer, type "adb devices" again to see if USB debugging works properly.
Note that this may or may not work for you depending on your firmware/settings.

ADB/USB Debugging Problem?

OK, this is driving me nuts! The phone has been restored to stock (Android Version 8.0.0) and has nothing on it from the Play Store, just the stock Samsung apps - trying to get ADB to work without any joy, as want Fluid NG on it........
It did once offer the options (weird?), but I got the Allow USB Debugging popup with the RSA Key, but also the error 'Because an app is obscuring a permission request, Settings can't verify your response' error - Went to the 'Apps that can appear on top' section (assume this is the same as 'Draw over other apps?), and disabled everything in the list - still the same error!
Now the only options I get when connecting are:
Transfer Files
Transfer Images
MIDI Device
Charge this Phone
So far I've.......
Enabled Dev mode
Enabled USB debugging
Disabled Verify Apps via USB
Installed Samsung Drivers
Installed ADB Fastboot
Disabled all 'Draw over other apps' apps in the Apps list.
Tried another laptop
Tried another USB cable
It shouldn't be this difficult, I know!!

Sideloading apps on naked phone

Hey there!
I have been absent from android for some time now mostly because of my old job. Now, as Karma git me I started a new job where we erase used Devices and resell them.
We want to automate the process a bit, mostly activating usb debugging and sideloading apps. The Standard way of doing this via settings > tap 7x > activate takes too long to be viable. Imagine repeating this with like 500 Phones. The few seconds add up very fast.
So my question is:
Is there a reliable way to activate usb debugging on a wiped device? I cant use root.
The workflow should be something like this:
Connect phone > start enabler script > erase phone
We already tried using miradore (mdm) but it only activates dev options, usb debugging is manual still. Upon erasing the software we use shows that mdm is enable and that the device couldnt be erase fully.
Any help here is super appreciated.
Thanks in advance.

Categories

Resources