[Q] USB OTG on CM12 - ONE Q&A, Help & Troubleshooting

I am using Oneplus one smartphone and flashed CM12 a couple of days ago. I cant use the USB OTG option properly. Updated to 31st Jan build and still go the issue. I am rooted and hence used a couple of softwares like Stickmount, USB OTG Helper and all and none of them solved my issue.
The exact problem is like this.
1. Can mount a USB but wont show in setting->Storage
2. Can access with a file manager.
3. Wont thus be able to unmount as there is no option at all like there was in 4.4.4 kitkat.
4. Even if you unplug it will give a message saying usb was not removed properly kinda.
5. After an instance this wont detect any usb and to do that you have to restart the phone.
HELP PLEASE!!!

Vijesh_V said:
I am using Oneplus one smartphone and flashed CM12 a couple of days ago. I cant use the USB OTG option properly. Updated to 31st Jan build and still go the issue. I am rooted and hence used a couple of softwares like Stickmount, USB OTG Helper and all and none of them solved my issue.
The exact problem is like this.
1. Can mount a USB but wont show in setting->Storage
2. Can access with a file manager.
3. Wont thus be able to unmount as there is no option at all like there was in 4.4.4 kitkat.
4. Even if you unplug it will give a message saying usb was not removed properly kinda.
5. After an instance this wont detect any usb and to do that you have to restart the phone.
HELP PLEASE!!!
Click to expand...
Click to collapse
USB otg helper has an unmount option, so once you're finished just open that app and hit unmount. The fact that it doesn't show up properly in Settings/Storage shouldn't really matter as long as you can access it with a file manager.
Transmitted via Bacon

timmaaa said:
USB otg helper has an unmount option, so once you're finished just open that app and hit unmount. The fact that it doesn't show up properly in Settings/Storage shouldn't really matter as long as you can access it with a file manager.
Transmitted via Bacon
Click to expand...
Click to collapse
But USB otg helper keeps on crashing for both mounting and unmounting. Without a proper unmount the device won't recognise another instance in this case.

Vijesh_V said:
But USB otg helper keeps on crashing for both mounting and unmounting. Without a proper unmount the device won't recognise another instance in this case.
Click to expand...
Click to collapse
What recovery are you using TWRP whats the build number. For me I had to toggle to otg then toggle to inrwenal the toggle otg to get it to show.

timmaaa said:
USB otg helper has an unmount option, so once you're finished just open that app and hit unmount. The fact that it doesn't show up properly in Settings/Storage shouldn't really matter as long as you can access it with a file manager.
Transmitted via Bacon
Click to expand...
Click to collapse
MrMarkEdward said:
What recovery are you using TWRP whats the build number. For me I had to toggle to otg then toggle to inrwenal the toggle otg to get it to show.
Click to expand...
Click to collapse
I'm on twrp 2.8.4.1.

Vijesh_V said:
I'm on twrp 2.8.4.1.
Click to expand...
Click to collapse
Try to switch like I said that I did.

MrMarkEdward said:
Try to switch like I said that I did.
Click to expand...
Click to collapse
Can u please help me how to make the switch. Because in one of my devices I messed it up and twrp never ever detected otg.

Vijesh_V said:
Can u please help me how to make the switch. Because in one of my devices I messed it up and twrp never ever detected otg.
Click to expand...
Click to collapse
When your on the install window at bottom should have select storage.

Related

i9023 - HELP! "No Boot or Recovery IMG & can't connect via USB

Hi guys,
I just have received a i9023 from a friend to repair. I put fastboot on and the device is unlocked, then I copied over Matr1x kernel via USB to the SD card and flashed CMW to recovery.
From here things went bad.
When trying to update the kernel to Matr1x, it showed that the file wasn't on the SD card anymore, so I tried to mount the SD card to copy it back, but it my computer wouldn't see it. Since then I tried many things to get the USB working - updating drivers etc... after awhile I decided to format SD card, which didn't help, so I formatted all the partitions on the phone.
Now, every time the phone comes on, it boots straight to fastboot, but also the PC will still not recognise the phone via USB.
I've tried getting into Download mode and using ODIN to flash a new kernel & ROM, but this wont work without USB working.
Can anyone help?
PS. I have read many other guides and posts, but nothing has helped.
Many thanks.
*Bump*
Are you running Ubuntu or similar? You need to be root to use fastboot and edit the right config files
wait, did you go to the mount menu in cwm? You can mount as usb storage in that menu... Are you saying it doesn't show up on your computer? Are you running windows?
I've a friend in the same situation.
We managed to make the phone recognizable using pda.net driver for nexus S, but weren't abel to find a single tar file to use on Odin.
Seems that all stocks rom were deleted from any storage.
bedalus said:
Are you running Ubuntu or similar? You need to be root to use fastboot and edit the right config files
wait, did you go to the mount menu in cwm? You can mount as usb storage in that menu... Are you saying it doesn't show up on your computer? Are you running windows?
Click to expand...
Click to collapse
Yes, I tried to mount as USB Storage in the Recovery Menu - didn't work, but now, I've only got fastboot - Booting up the phone normally jumps straight to fastboot, trying to boot into recovery doesn't work (just the fallen over Android pic with the red "!" on his chest).
I'm using Windows 7 and computer will not recognise the phone at all (it was working before this & the MicroUSB port is not damaged).
My GT-i9100 works perfectly via USB.
Piemo said:
I've a friend in the same situation.
We managed to make the phone recognizable using pda.net driver for nexus S, but weren't abel to find a single tar file to use on Odin.
Seems that all stocks rom were deleted from any storage.
Click to expand...
Click to collapse
If I can get it to connect to my PC so I can throw a stock ROM on there via ODIN I should be right (Pretty sure SAMFIRMWARE has some).
I've found often that the sdcard only gets mounted when you "choose zip from sdcard" in recovery. I panicked once with a galaxy s when I had forgot to put any rom on the sdcard and couldn't mount it subsequently. Ended up using heimdall with success. Also make sure you have latest version of fastboot, from platform tools 4.0.3.
Yeah, try Odin
If you can download sdk with the google drivers and install the drivers through device manager, you should be able to get your usb to connect again to fastboot. There is a bootloader driver inside the kit!
twadda218 said:
If you can download sdk with the google drivers and install the drivers through device manager, you should be able to get your usb to connect again to fastboot. There is a bootloader driver inside the kit!
Click to expand...
Click to collapse
Yeah, it is definitely not connecting via fastboot. Windows 7 just comes up with UNKNOWN DEVICE., as does my WinPX machine. It's very strange.
Can you try Ubuntu? Any luck with Odin?
KLoNe1 said:
Yeah, it is definitely not connecting via fastboot. Windows 7 just comes up with UNKNOWN DEVICE., as does my WinPX machine. It's very strange.
Click to expand...
Click to collapse
Does it say unknown device in device manager?
Sent from my ice cream powered Nexus S
I don't have a machine with Ubuntu on it unfortunately.
Yes, Unknown Device in Device Manager - it won't accept it when I point the new driver to the modified Google USB .inf file
KLoNe1 said:
I don't have a machine with Ubuntu on it unfortunately.
Yes, Unknown Device in Device Manager - it won't accept it when I point the new driver to the modified Google USB .inf file
Click to expand...
Click to collapse
Did you click the "Have disk" option, point it at the file then click one of the options? That's what I had to do
Sent from my ice cream powered Nexus S
DarkhShadow said:
Did you click the "Have disk" option, point it at the file then click one of the options? That's what I had to do
Sent from my ice cream powered Nexus S
Click to expand...
Click to collapse
Yes, I did - it said that this inf (driver) doesn't contain information about the device in question.
I think I came across a USB driver problem once that was rectified by deleting the relevant keys from the registry. Could be worth looking into.
EDIT: Found it!
Open regedit and navigate to
HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Enum > USBSTOR
and look for any devices that could be your nexus s.
I think they might be these:
Disk&Ven_Android&Prod_UMS_Composite&Rev_0001
Disk&Ven_Google&Prod_File-CD_Gadget&Rev_0000
You should be able to delete them (if not, change the permissions).
Then reboot and hopefully next time you plug in your phone, the drivers will reload.
Many thanks for all your help everyone; unfortunately I still have yet to figure out how to get this working. Please keep throwing out your ideas
bedalus said:
I think I came across a USB driver problem once that was rectified by deleting the relevant keys from the registry. Could be worth looking into.
EDIT: Found it!
Open regedit and navigate to
HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Enum > USBSTOR
and look for any devices that could be your nexus s.
I think they might be these:
Disk&Ven_Android&Prod_UMS_Composite&Rev_0001
Disk&Ven_Google&Prod_File-CD_Gadget&Rev_0000
You should be able to delete them (if not, change the permissions).
Then reboot and hopefully next time you plug in your phone, the drivers will reload.
Click to expand...
Click to collapse
I gave this a go as it sounded like a great idea, but unfortunately it still isn't working.
I ended up deleting the drivers it was installing which wouldn't work & now it will only show up as 2x Unknown device under 'Portable Devices' heading.
I think you should try installing ubuntu, and the android sdk so you have access to fastboot again.

[Q] [HELP] Usb problems

Hey guys, i'm having USB issues, i connect the phone to my computer, it does not connect, in windows it says failed to install drivers, and my nexus appears as it would be properly connected with the button saying to dismount usb storage in orange colour(you know what i mean) but it doesn't show on my computer and in device manager it shows with a yellow triangle i think this started when i flashed cm-10.1-20130503-Nightly in may, but it's totally weird.
I'm running now Cyanogenmod 10.1.2 Android 4.2.2 (11/7)
before ask:
i have tried different usb cables
i have tried different computers (XP and 7)
i have tried usb debug and all that stuff
i have tried the manual driver install (http://forum.xda-developers.com/showthread.php?t=1901617) but windows doens't even let me install it it says "your drivers are up to date" and only a close button.
please guys i'm dying without USB storage, what should i do? i really really need usb storage work, just can't figure how....
Could be drivers on phone or windows?
Please help guys a huge THANKS in advance!
does it mount on recovery ???
have you tried changing your kernel ???
have you tried mtp? ( maybe in CM is not supported )
the strange thing is that apparently it works on your device ...
if you need to transfer file you can use airdroid or scatter while u fix this
kriout said:
does it mount on recovery ???
have you tried changing your kernel ???
have you tried mtp? ( maybe in CM is not supported )
the strange thing is that apparently it works on your device ...
if you need to transfer file you can use airdroid or scatter while u fix this
Click to expand...
Click to collapse
i havent tried mount on recovery, is it "mount USB storage" ? i'm going to try...
havent tried changing kernel too, i'm using stock cm kernels atm..
thanks! i'm going to try

Can't access on pc

Hi i can't access my files on my pc (it is unlocked) not even sync for music
also it appears as a audio device in devices and drives
Have you set USB settings to MTP? Otherwise this might help: http://www.howtogeek.com/195607/how...evice-to-show-up-in-file-explorer-if-it-isnt/
The correct drivers are installed? Tried with different USB cables? Tried all USB ports on the computer?
audit13 said:
The correct drivers are installed? Tried with different USB cables? Tried all USB ports on the computer?
Click to expand...
Click to collapse
yes to all :/
The phone used to work with the same computer and USB cable?
If ur rooted install multirom and install cm13 as secondary os.. then connect to ur pc while ur in cm13 it will detect the driver after that unstall cm 13 and connect as u do normally
like if worked
hey i found away around it thx though!
How did you fix the problem?
"hey i found away around it thx though!"
But why in the name of all that's holy would you ask the question and then not share the answer for others who regularly have the same problem? Keeping info to yourself is the best way of maintaining your "zero thanks" status...
oh sorry for not sharing what i did to solve the problem! here is what i did!
1. connect phone to pc
2. unlock
3. swipe down and touch the notification that says "usb for charging touch for more options"
4. select the option you want
easy

How do I Unmount from Cyanogenmod 12?

just installed Cyanogenmod 12 on my Galaxy Nexus GSM. I have given my Filemanager Superuser Access. I can now connect a USB Drive using a USB OTG Cable, and I can see it mounted under /mnt/media_rw/usbdisk.
Is there anyway I can unmount this USB Drive after I have finished working with it? (Obviously other than shutting down the phone?)
Thank you,
O. O.
o.o. said:
just installed Cyanogenmod 12 on my Galaxy Nexus GSM. I have given my Filemanager Superuser Access. I can now connect a USB Drive using a USB OTG Cable, and I can see it mounted under /mnt/media_rw/usbdisk.
Is there anyway I can unmount this USB Drive after I have finished working with it? (Obviously other than shutting down the phone?)
Thank you,
O. O.
Click to expand...
Click to collapse
If the device requires unmounting it, there will a setting to unmount it in system settings>storage somewhere. If it doesn't have that then it might have a notification in status bar that you pull down that has USB options. If you don't see one of these options then just disconnect it.
DO NOT CONTACT ME VIA PM TO RECEIVE HELP, YOU WILL BE IGNORED. KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
If the device requires unmounting it, there will a setting to unmount it in system settings>storage somewhere. If it doesn't have that then it might have a notification in status bar that you pull down that has USB options. If you don't see one of these options then just disconnect it.
DO NOT CONTACT ME VIA PM TO RECEIVE HELP, YOU WILL BE IGNORED. KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
Thank you. Before I go ahead, I would like to point out that I'm using Cyanogenmod 12 i.e. Android 5.
Just after I plug in my USB drive, I get a notification of a USB connection at the top, but it goes away before I can click on it. My drive functions fine. There is nothing under system settings>storage other than a table of the disk usage i.e. no place to unmount it. If I just disconnect it, I get a warning triangle at the top with the note: USB Storage unexpetedly removed Unmount USB storage before removing to ...
Is there somewhere I can go to force the unmount?
o.o. said:
Thank you. Before I go ahead, I would like to point out that I'm using Cyanogenmod 12 i.e. Android 5.
Just after I plug in my USB drive, I get a notification of a USB connection at the top, but it goes away before I can click on it. My drive functions fine. There is nothing under system settings>storage other than a table of the disk usage i.e. no place to unmount it. If I just disconnect it, I get a warning triangle at the top with the note: USB Storage unexpetedly removed Unmount USB storage before removing to ...
Is there somewhere I can go to force the unmount?
Click to expand...
Click to collapse
Lollipop should have the pull down USB options or Mass Storage options.
You can also power the device off then disconnect.
You can also install the StickMount app by Chainfire, it has a mount/unmount feature.
Or you can get technical and use Terminal Emulator commands.
@O.O did you see what I added to this post?
DO NOT CONTACT ME VIA PM TO RECEIVE HELP, YOU WILL BE IGNORED. KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
Lollipop should have the pull down USB options or Mass Storage options.
You can also power the device off then disconnect.
You can also install the StickMount app by Chainfire, it has a mount/unmount feature.
Or you can get technical and use Terminal Emulator commands.
@O.O did you see what I added to this post?
DO NOT CONTACT ME VIA PM TO RECEIVE HELP, YOU WILL BE IGNORED. KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
Shutting down the device is what I do. StickMount (free version) does not seem to work (I allowed it to install the downloads that it wanted) and I restarted my phone. I do not get my drive in the mounted devices, and when I click UnMount, I get "The mount service is busy - try again in a few seconds"
I'm not sure if I can get the Terminal Emulator to work.
o.o. said:
Shutting down the device is what I do. StickMount (free version) does not seem to work //(I allowed it to install the downloads that it wanted)// and I restarted my phone. I do not get my drive in the mounted devices, and when I click UnMount, I get "The mount service is busy - try again in a few seconds"
I'm not sure if I can get the Terminal Emulator to work.
Click to expand...
Click to collapse
When you use Stickmount, have you given it superuser permission and are you using it to mount the OTG? It probably has to be the one to control mount and unmount, you can't let android system mount then unmount with StickMount. This is probably why you are getting the "service is busy" message.
http://www.greenbot.com/article/2155300/how-to-hook-up-a-usb-flash-drive-to-your-android-device.html
DO NOT CONTACT ME VIA PM TO RECEIVE HELP, YOU WILL BE IGNORED. KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
When you use Stickmount, have you given it superuser permission and are you using it to mount the OTG? It probably has to be the one to control mount and unmount, you can't let android system mount then unmount with StickMount. This is probably why you are getting the "service is busy" message.
http://www.greenbot.com/article/2155300/how-to-hook-up-a-usb-flash-drive-to-your-android-device.html
DO NOT CONTACT ME VIA PM TO RECEIVE HELP, YOU WILL BE IGNORED. KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
Thank you.
I have used Stickmount before, so I understand how it works. I also understand that I need to let it control the mount and unmount, which right now is controlled by the OS. However, this question is about the OS, not about StickMount. If there is no way on the OS level, which does the mount automatically, I think I would have to settle with powering down my device.
o.o. said:
Thank you.
I have used Stickmount before, so I understand how it works. I also understand that I need to let it control the mount and unmount, which right now is controlled by the OS. However, this question is about the OS, not about StickMount. If there is no way on the OS level, which does the mount automatically, I think I would have to settle with powering down my device.
Click to expand...
Click to collapse
I've looked around and I don't see anything as a workaround as far as the OS goes.
DO NOT CONTACT ME VIA PM TO RECEIVE HELP, YOU WILL BE IGNORED. KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
I've looked around and I don't see anything as a workaround as far as the OS goes.
DO NOT CONTACT ME VIA PM TO RECEIVE HELP, YOU WILL BE IGNORED. KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
Thank you very much.

USB Connection Issues

I just rooted my s8+ with partcyborg's samfail and everything is working great except the usb isn't being recognized. I can see my phone on my computer and I can move files to my desktop but on my phone I get this message - "The connected device is unable to access data on this device. Reconnect the USB cable and try again." I have USB debugging enabled in settings. I'm using windows 10. ADB is up to date. I installed the samsung USB drivers. The device isn't recognized in kies or smart switch.
I'm at a total loss here. Any ideas? Could this be related to the 80% battery bug I was seeing? It's been at 80% for a while now.
Apologies if this is an obvious fix. I haven't rooted a phone since kitkat I looked around but the other threads weren't helpful.
chikichiken said:
I just rooted my s8+ with partcyborg's samfail and everything is working great except the usb isn't being recognized. I can see my phone on my computer and I can move files to my desktop but on my phone I get this message - "The connected device is unable to access data on this device. Reconnect the USB cable and try again." I have USB debugging enabled in settings. I'm using windows 10. ADB is up to date. I installed the samsung USB drivers. The device isn't recognized in kies or smart switch.
I'm at a total loss here. Any ideas? Could this be related to the 80% battery bug I was seeing? It's been at 80% for a while now.
Apologies if this is an obvious fix. I haven't rooted a phone since kitkat I looked around but the other threads weren't helpful.
Click to expand...
Click to collapse
So what do you wanna do with your USB connection? Just MTP (e.g. transfer files like you would when connecting a USB-Stick to PC) or you wanna do some ADB operations?
If you just want to transfer files, there's no need to have USB-Debugging enabled (in fact this is kind of a security risk when you connect to an unknown pc)
jaannnis said:
So what do you wanna do with your USB connection? Just MTP (e.g. transfer files like you would when connecting a USB-Stick to PC) or you wanna do some ADB operations?
If you just want to transfer files, there's no need to have USB-Debugging enabled (in fact this is kind of a security risk when you connect to an unknown pc)
Click to expand...
Click to collapse
I'm trying to use the phone as a bootable drive because my USB stick was stolen. I want to put a linux distro on my laptop.
chikichiken said:
I'm trying to use the phone as a bootable drive because my USB stick was stolen. I want to put a linux distro on my laptop.
Click to expand...
Click to collapse
In the past I used an app on play store call drive droid to boot linux.....
I have the same issue on mine and have not found a fix been looking for a while i kinda just gave up
TheMadScientist said:
In the past I used an app on play store call drive droid to boot linux.....
I have the same issue on mine and have not found a fix been looking for a while i kinda just gave up
Click to expand...
Click to collapse
Yeah I've been trying to use drivedroid but it says there are issues with the mass storage. I'm going to send the dev a message with the ROM and see if there's anything he can do. For now just gonna flash back to stock
chikichiken said:
Yeah I've been trying to use drivedroid but it says there are issues with the mass storage. I'm going to send the dev a message with the ROM and see if there's anything he can do. For now just gonna flash back to stock
Click to expand...
Click to collapse
I'm sure he has looked into it. I talk to him quite a bit now that I think about it I have not heard nothing about it

Categories

Resources