My setup used to work
Windows 7
CM11S
MTP work just fine. Can browse OPO /sdcard from windows 7
adb device work just fine. I can run all adb commands without problem: devices, shell, push, pull, etc
Now that I have upgraded to CM12S
MTP still work. I can browse OPO /sdcard from windows 7
adb device does not work.
adb devices report nothing. No error, just nothing. As if the phone is not plugged into the computer [see attached screenshot].
But I already installed usb driver, both google's latest and koush's universal adb driver, and tried ADB Interface and ADB Composite Interface
Currently, phone is setup as follow
Setting -> Storage -> USB Computer Connection : MTP
Setting -> Developer Option -> Android Debugging : on
With Android Debugging on, adb device won't show my phone serial when USB Computer Connection is MTP or PTP
When USB Computer Connection is set to charge only, Android Debugging is disabled
With Android Debugging off, I can browse the whole /sdcard when USB Computer Connection is set to MTP
With Android Debugging off, I can browse only DCIM and Pictures from /sdcard when USB Computer Connection is set to PTP
Back in CM11S
When USB Computer Connection is set to MTP, and Android Debugging off, I can browse the whole /sdcard from PC
When USB Computer Connection has NOTHING selected (no MTP, no PTP), and Android Debugging is on, I can use adb.exe on command line: devices, shell, push, pull, etc all work just fine
On CM12S, one of these options MUST be selected in USB Computer Connection: MTP, PTP, Charge Only. This is changed from CM11S
Does anyone have any success with adb.exe on command line on Windows 7 and CM12S (stock kernel)?
If yes, what is your phone setup for adb.exe to work, and which usb driver you installed on your winodws 7?
Thanks!
EDIT: fastboot work just fine
When you're on CM12S you can't have MTP enabled if you want to use adb. Disable MTP temporarily and adb should work.
Transmitted via Bacon
timmaaa said:
When you're on CM12S you can't have MTP enabled if you want to use adb. Disable MTP temporarily and adb should work.
Transmitted via Bacon
Click to expand...
Click to collapse
timmaaa, this is what i could figure out
my only problem is: how do I disable MTP on CM12S?
On CM11S, I can
On CM12S, I must choose one of the options: MTP, PTP, Charge Only
If I am on MTP, and I press it again, the screen just grey out
and then I push back button to go back to main storage screen
and now I choose USB Computer Connection again, and MTP is still selected/enabled
Have you tried to do adb devices on windows on CM12S?
If you can, did you ever enable MTP or PTP?
Thanks
animefans said:
timmaaa, this is what i could figure out
my only problem is: how do I disable MTP on CM12S?
On CM11S, I can
On CM12S, I must choose one of the options: MTP, PTP, Charge Only
If I am on MTP, and I press it again, the screen just grey out
and then I push back button to go back to main storage screen
and now I choose USB Computer Connection again, and MTP is still selected/enabled
Have you tried to do adb devices on windows on CM12S?
If you can, did you ever enable MTP or PTP?
Thanks
Click to expand...
Click to collapse
Instead of pressing MTP again, select PTP.
Transmitted via Bacon
timmaaa said:
Instead of pressing MTP again, select PTP.
Transmitted via Bacon
Click to expand...
Click to collapse
I will try to reconfirm, but I believe I tried that already
regardless of MTP or PTP, adb devices does not find my phone
EDIT: yup, regardless of MTP or PTP, when adb debug is on in developer tools, adb device does not show serial number, so can't connect to phone via adb shell
Same exact problem here, adb worked fine until I turned on MTP now I can't turn it back off and thus adb not working.
No matter what I select or disable I always end up with MTP back on and no ADB working. Someone else who just got their OPO yesterday having same issue and what caused me to mess with MTP setting breaking my ability to ADB :/
Also another new behavior to me is that I cannot access "USB Computer Connection" screen unless I am plugged into PC. When not connected to PC it just rescans internal storage and go's nowhere.
Quick dirty screencast showing how MTP can't be turned off (sorry rushed and kid in background)
https://drive.google.com/file/d/0Bwwwt8cZbp9rYXRGa0Y1dFBfY1k/view?usp=sharing
Good to hear, in a way...
Good is that it's not just me
Bad is that this problem exist
BTW, created this problem in jira
https://jira.cyanogenmod.org/browse/BACON-3358
Hopefully this is a bug in the setting app where USB Computer Connection option is not required. Right now options are required
PS: and yes, I notice the same thing where USB Computer Connection is not even available until you plugged it into PC
PPS: I wonder what is the behavior of USB Computer Connection under OxygenOS and Stock Android (ie Nexus 5/6/etc). Having this data point can narrow down if issue is cyanogenmod OS specific issue, or it's a general Lollipop AOSP issue
is this can be problem why I couldn't install custom recovery?? I try install TWRP, device have unlocked bootloader
if running adb devices on your PC can not see the phone (ie phone serial), then yes you can't install TWRP this way
However, I believe there are other ways to install custom recovery onto your phone without PC
Try TWRP Manager on play store
I used this to update my TWRP recently in order to update to CM12S without going through OTA
Yeah I have the same issue as well and now i don't have Twerp or root . and i can confirm i never had the issue on my nexus 4 with stock LP and Dirty unicorns so it looks like a CM bug to me my phone feels incomplete without root
Solodude said:
Yeah I have the same issue as well and now i don't have Twerp or root . and i can confirm i never had the issue on my nexus 4 with stock LP and Dirty unicorns so it looks like a CM bug to me my phone feels incomplete without root
Click to expand...
Click to collapse
Thank you for the data Solodude!
Quick update on my current situation on this issue
http://forum.xda-developers.com/showpost.php?p=61975450&postcount=4
hello guys. need help here. my device not detect on any pc (windows 7). already try all usb port with high quality microusb cable. i want to fix missing usb option on my pc, i turn on usb debugging mode but nothing happen on my pc screen. any solution? try to update all version of update.app, but always failed. please help me guys.
steviedhadi said:
hello guys. need help here. my device not detect on any pc (windows 7). already try all usb port with high quality microusb cable. i want to fix missing usb option on my pc, i turn on usb debugging mode but nothing happen on my pc screen. any solution? try to update all version of update.app, but always failed. please help me guys.
Click to expand...
Click to collapse
Windows 10 installs latest drivers automatically. I don't know if Windows 7 will do the same.
It's not uncommon for the problem to be on the PC side.
Try to uninstall and the drivers, update OS and clean your windows system. Then connect the phone and let Windows install the drivers.
For ADB connection you need either Huawei or Google drivers. Depends on Huawei model.
steviedhadi said:
hello guys. need help here. my device not detect on any pc (windows 7). already try all usb port with high quality microusb cable. i want to fix missing usb option on my pc, i turn on usb debugging mode but nothing happen on my pc screen. any solution? try to update all version of update.app, but always failed. please help me guys.
Click to expand...
Click to collapse
I have this problem on my windows 10 but not on my windows 8 laptop. The fix is to manually update the installed device driver software. That is assuming you've previously installed all drivers or windows installed them for you.
If you connect your phone to PC and put it on file transfer mode. But nothing comes up do this
Connect phone to PC.
Right click start menu
Click device manager
Expand portable devices
Under portable devices you will see mtp device or
You should see your device eg H60-L04
Right click. Update driver software
Browse my computer for driver
Click Let me pick from a list of drivers
It should show you a couple of drivers. Like MTP / MTP USB device. Just pick another from the list and click next.
Hopefully this works for you
In this post I will describe a simple method that I followed to recover the option of choose MTP connection when using a usb cable to the PC.
After root with SuperSU I noticed that when I plugged my phone to the PC using the usb cable, I did not have the option to "mount" as MTP anymore.
Therefore I could not transfer files from my PC to the phone in a easy way. If you want to continue with latest SuperSU you have to do that:
1. Edit your build.prop file adding those 2 lines at the end:
persist.service.adb.enable=1
persist.sys.usb.config=mtp,adb
Click to expand...
Click to collapse
2. Close and save it
3. Enable USB debugging in developer options
4. Select MTP in USB Configuration
5. Profit
All the information got from the MIUI Official Forum
Hi,
After flashing a custom ROM, my GT-N8010 device is not recognised by my laptop. I think it was after I used Advanced Wipe in TWRP while my device was connected to my computer. Ever since then, I've been getting the "The last USB device you connected to this computer malfunctioned" error. Flashing custom ROMs with a Micro SD card works fine, but the device is still not recognised.
I've tried:
1. Selecting File Transfer as the default USB protocol
2. Enabling/Disabling the USB debugging function
3. Using the Mount option in TWRP
4. Connecting the device to multiple laptops
5. Reinstalling the Samsung USB driver for mobile phones
I thought flashing the stock ROM would be the best option, but I couldn't use Odin because my device is not recognised.
Also, the USB cable is an official cable, and charging works (through both the charger and the PC).
Would anyone happen to know how this could possibly be fixed? Or is there any other way to flash the stock ROM without a USB cable?
Thank you!
Use USbDev view on PC to delete hardware settings from USB port .
freeware utilities: password recovery, system utilities, desktop utilities - For Windows
Unique collection of freeware desktop utilities, system utilities, password recovery tools, and more
www.nirsoft.net
JJEgan said:
Use USbDev view on PC to delete hardware settings from USB port .
freeware utilities: password recovery, system utilities, desktop utilities - For Windows
Unique collection of freeware desktop utilities, system utilities, password recovery tools, and more
www.nirsoft.net
Click to expand...
Click to collapse
I removed the device and reconnected it, but it still doesn't work.
Need another PC/ Laptop .
JJEgan said:
Need another PC/ Laptop .
Click to expand...
Click to collapse
Tried it on a completely different PC, but the results are the same. I think there's a problem with the GT-N8010 device; I've tried changing the PC/laptop multiple times already.
Usual is USB cable then no Samsung USB Drivers .
Hey guys,
As the title suggests I've updated my 8T from OO11 to OO13 and now my phone isn't recognised in my computer at all
Nothing comes up in device manager when I plug the phone into the computer
I've tried
- 3 different usb ports
- 2 different usb a to c cables
- USB debugging is enabled
- Installed oneplus drivers
- Installed google usb drivers
- Switching default USB configuration to MTP
- Using MTP, PTP, No data transfer
Still nothing is showing up in device manager
The phone charges when connects to the computer, it doesn't prompt me to allow USB debugging on my phone, despite revoking old usb debugging authorizations
I need to use adb commands to enable volte using the Shizuku method but I can't do that as the phone isn't recognised at all
If anyone could help that'd be great, otherwise I'll have to rollback to OO11 and use the pdc method
Thanks in advanced!