USB debugging keeps disabling - ZenFone 2 Q&A, Help & Troubleshooting

So i just updated my Zenfone 2 ze551ml and wanted to root the phone. But everytime I enable the USB debugging, it gets enabled for 5 seconds and gets disabled immediately. Doesn't matter if I am connected via USB or not, just keeps getting disabled for no reason.
Twice it has rebooted while enabling the USB debugging, so something is amiss.
Any suggestions on what should be done? I cannot root my phone/install custom rom/recovery without it. This problem started with the last major update, and the new 24mb update did not solve it.

Related

[Q] USB Data Connection Issue

I used to be able to plug my phone into my PC and slide down the notifications to enable a USB connection but I'm unable to anymore.
I checked that debug is on. I've even tried via the Wifi Settings USB Connection method. The phone will charge but is not seen by the PC. I've tried other PCs and other cables. It doesn;t show up in Device manager and I've also tried the windows drivers for the phone.
The only thing that has changed in the past month or so is that I replaced my Clockwork Recovery module with the stock recovery module and my phone is no longer rooted. Any ideas anyone?
ingrouille said:
I used to be able to plug my phone into my PC and slide down the notifications to enable a USB connection but I'm unable to anymore.
I checked that debug is on. I've even tried via the Wifi Settings USB Connection method. The phone will charge but is not seen by the PC. I've tried other PCs and other cables. It doesn;t show up in Device manager and I've also tried the windows drivers for the phone.
The only thing that has changed in the past month or so is that I replaced my Clockwork Recovery module with the stock recovery module and my phone is no longer rooted. Any ideas anyone?
Click to expand...
Click to collapse
Just enable USB storage before plugging in
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Like I said I tried the Mass Storage connection method via the menu in Wifi Settings. The onscreen instructions say to enable then to plug in. Still get nothing.
Try reinstalling the driver that might do the trick. I am having the same issue but I am running the unofficial cm9.. good luck to us both and is it the same cable u always been using cause I bought 2$ cable off eBay it only charges no USB connection
Sent From Galaxy Bigger Than Yours.
I tried to re-install drivers and I'm using a known working cable - the one that came with the phone.
It really is strange. The only thing that has happened recently is my phone was rooted with Clockwork Recovery and then I reverted back to stock.
I'll see what happens after the ICS update comes from Telus next month, I guess.
Not a big deal as I can use AirDroid to transfer stuff over wifi.
Since rebooted a couple times now everything is working. I also had a problem with the lock screen rotating and phone defaulting to speakerphone. everything is back to normal now but i wish i knew what caused it.

[Solved] Disable MTP For Security

Hi,
I'd like to disable USB everything (MTP, ADB, whatever the camera mode is) on my phone for security reasons. Currently if I plug my phone into a computer (even with the screen locked), I can download data via gMTP. I read here: http://www.nimdae.com/?p=851 that encrypting my phone won't solve this problem.
I still want to encrypt my phone, but if I can't disable MTP, then I'm not that interested.
How can I disable USB stuff completely? I know how to turn off ADB, and the phone lets me select betwene MTP and camera mode under settings->storage->USB Connection Settings, but it won't let me select neither option, only one or the other.
In older versions of Android, when I connect a phone to a computer, I get a message on screen telling me that it's connected and that I can enable mass storage if I like. I get that the reason they had that message was because they _needed_ it because mass storage had to unmount the SD card for it to work. However, how can I get something like that back for MTP?
If there's not a GUI way to disable this stuff, is there a setting for "persist.sys.usb.config" that would disable it instead?
I just don't want to waste the effort of dealing with phone encryption if plugging it into a computer completely avoids the issue.
Edit: I'm on a VZW LTE/CDMA gNex on JB Sourcery 2.3, but I'd be willing to migrate ROMs if necessary.
kbitz said:
Hi,
I'd like to disable USB everything (MTP, ADB, whatever the camera mode is) on my phone for security reasons. Currently if I plug my phone into a computer (even with the screen locked), I can download data via gMTP. I read here: http://www.nimdae.com/?p=851 that encrypting my phone won't solve this problem.
I still want to encrypt my phone, but if I can't disable MTP, then I'm not that interested.
How can I disable USB stuff completely? I know how to turn off ADB, and the phone lets me select betwene MTP and camera mode under settings->storage->USB Connection Settings, but it won't let me select neither option, only one or the other.
In older versions of Android, when I connect a phone to a computer, I get a message on screen telling me that it's connected and that I can enable mass storage if I like. I get that the reason they had that message was because they _needed_ it because mass storage had to unmount the SD card for it to work. However, how can I get something like that back for MTP?
If there's not a GUI way to disable this stuff, is there a setting for "persist.sys.usb.config" that would disable it instead?
I just don't want to waste the effort of dealing with phone encryption if plugging it into a computer completely avoids the issue.
Edit: I'm on a VZW LTE/CDMA gNex on JB Sourcery 2.3, but I'd be willing to migrate ROMs if necessary.
Click to expand...
Click to collapse
Stock Jelly Bean won't enable MTP/PTP until you have unlocked your lockscreen. The same goes for CM10 by the way. It seems that JB Sourcery modified this behavior.
You could try enabling USB fast charge mod using a custom kernel (when enabled, phone see computer as an ac charging source, disabling USB data connection PC and only charges, but at a higher rate).
Other than that, I'm not sure.
Also, encryption only works really at boot time and shutdown time. When you shut down, everything is "locked" and upon booting up, it requires the key to "in lock" everything. But once it's" unlocked" it stays that way until you reboot.
Sent from my Galaxy Nexus using Tapatalk 2
geoffcorey said:
You could try enabling USB fast charge mod using a custom kernel (when enabled, phone see computer as an ac charging source, disabling USB data connection PC and only charges, but at a higher rate).
Click to expand...
Click to collapse
Thanks.
Also, encryption only works really at boot time and shutdown time. When you shut down, everything is "locked" and upon booting up, it requires the key to "in lock" everything. But once it's" unlocked" it stays that way until you reboot.
Click to expand...
Click to collapse
Yes, this is the reason why I'd like to be able to disable MTP. My point was that it's not worth the hassle of encrypting the data at rest if all anybody would have to do to get the data off was plug it into a computer. Like most people, my cell phone is running all the time. We can force action after a bunch of failed passwords, but if the attacker doesn't have to interact with the unlock screen at all, then there's no protection there.
Petrovski80 said:
Stock Jelly Bean won't enable MTP/PTP until you have unlocked your lockscreen. The same goes for CM10 by the way. It seems that JB Sourcery modified this behavior
Click to expand...
Click to collapse
Thanks! This was the ticket. Here's what I failed to notice: Once I've unlocked the screen while it's plugged in, I have MTP for the entirety of the time it's plugged in, even if the phone is locked again before the connection is started. If, however, I plug it in locked and don't unlock it before starting the connection, I get nothing.
I'm marking this solved.
Thanks so much to both of you.
Disable MTP in Samsung Tab A
Hello,
I have a samsung Tab A 2016 (SM-T580) & in developer options i put the USB configuration into charging mode, & turn the developer options off. But whenever i plug it into a PC it turns into MTP automatically & I want to disable this. Any help please?

[Q] Forcing usb debugging

So my screen is broken and i am trying to use [email protected] but i can't enable the usb debugging. Is there any way to enable it on the computer?
I don't want to flash a rom because i want to keep the data.
I have the same problem, screen on my wifes E4GT is broke but phone seems to work. When I connect via USB it shows the two devices but no drives show up. Tried kies and it says to enable debugging mode, which I thought I did but I don't remember.

ADB Debugging No Longer Connecting to PC

I'm stumped with this one. My HTC 10 no longer will connect to my computer at home or at work when I have USB debugging enabled. I don't get any entry in device manager. I'm running the 2.28.617.8 firmware w/ Viper 4.3.1. I utilize the universal adb driver. When debugging is enabled, the phone message says I'm connected to a slow charger. I have verified the ports on both computers are functional by attaching other devices. I have the connection settings for MTP enabled. I also tried revoking the debugging authorizations in the hope it would reset everything. The only way I can find around it, is to turn off usb debugging. Then, when I connect the phone it will mount properly and I can transfer files. This is ok for the short term, but is not ideal. Does anyone know what I might be missing?
I had this same issue after restoring a TWRP backup on a replacement 2.28.617.8 phone. RUU and restore all my settings mostly by hand fixed it.
Do you have HTC Sync installed? Try installing that, connect the phone and on the phone grant HTC Sync permission.

Question Bootloop, USB Debugging Disabled

As the title says, I'm stuck in a bootloop with USB Debugging disabled. I know close to nothing about coding and stuff (sorry if I use the wrong terminology), but I started the first steps to fix my phone without losing my data (hopefully). My only barrier now is that I can't use ADB to reset my phone because of the USB Debugging part. Any advice on how to enable it?

Categories

Resources