[Q] ICS with USB OTG - Desire Q&A, Help & Troubleshooting

Google provides USB OTG support in ICS, if the ROM developers choose to include it.
OTG should let you plug in a mass storage device USB memory/camera etc and read the contents.
Do any of the current ICS ROMs have this enabled or are there some fundamental technical issues that prevent this?
I've been impressed with the ICS BCM RC2.1U0 but haven't got a cable to try this functionality yet.
Andy

Correct me if I am wrong, but isn't it that a (or at least one of the) OTG device must be able to power the bus and the desire cannot without external HW tweaks.

Thanks,
I'll be working with a powered device OR via a powered hub.
There are examples for doing this on the Desire, using custom ROMs but the ROMs only supported one direction or the other, so required a reflash to change mode.
Andy

Related

ICS FAQ

I've seen many people asking the same questions over and over again, so thought I would make a FAQ (and continually update it) so people can just post here, instead of cluttering all the leak threads! Please let me know if there are other things to add!
Please note I take ZERO credit for all this, just copying/pasting from what others have said on this. This is due to all the hard work of the other XDA'ers here! I am just trying to consolidate it into one thread. If someone has already done this (and I didn't see it), please delete this thread! I have also tried to give credit to the peolpe from where I found this from. If that is incorrect, please let me know and I'll change it!
This isn't very much right now, but I'm hoping to make a 1 stop shop for everyone. Please let me know what else I need to add in general!
USB STORAGE ICS
What happened to USB Storage in ICS, how do I get the old GB behavior back?
You may have noticed that ICS ROMs by default will configure the USB port for MTP (Media Transfer Protocol) mode. MTP mode may be more convenient for some people as it can coexist with USB debugging better, but the transfers are much slower and if you don't have the OS driver support (Mac/Linux) the USB drives may not show up.
Most people prefer to have the behavior from GB ROMs where you could drag the notification bar, click on the USB symbol, and manually enable USB Mass Storage mode.
With earlier versions of ICS, you could do this less conveniently using the menu->settings->more->USB Utilities configuration page.
Starting with ICS release FC22, the USB Utilities configuration page is no longer present. This presents the user with a problem as they cannot enable USB Mass Storage using the UI.
The Auto Root package has a solution for you. Under "Extra Options" of the main menu, there are 2 choices that affect ICS mass storage:
1) Enable ICS USB Mass Storage Mode
2) Enable ICS USB MTP Mode
These are mutually exclusive options. If you enable one, you disable the other.
To get GB USB Mass Storage behavior, choose the first option (USB Mass Storage Mode). This option once chosen, will be persistent through reboots and is stored in your Android User Data. It will only get reset if you reset your Android User Data or manually choose a different mode.
(thanks to Sfhub)
Wifi Tether on ICS
Just wanted to let you guys know that if you want to wireless tether with any ICS rom just install wireless tether beta 11. Go into settings and change device profile to "Samsung Galaxy Nexus CDMA" and voila you have infrastructure tether with 4g!
I would attach the apk but I can't seem to do it from my Prime so here is the link!
http://code.google.com/p/android-wif...1.apk&can=2&q=
(thanks to Smoothone)
Sprint TV
How to install -
1. backup your current Sprint TV App
2. Uninstall current Sprint TV and install with attached
(or just replace /data/app/com.mobitv.client.sprinttvng-1.apk with attached apk)
permission 644.
--attached is Sprint TV apk.
(Thanks to kobridge)
Notification Bug
Gone since FD24.
Want to go back to GB?
Use Sfhub's one-click Odin EL29, then install the recovery again. It's going to be the safest way. Then you can restore a nanodroid if you want to from there!
Install a recovery on ICS
Use the autorooter tool again, and you can use the older leaks version-ie-FB17, etc. Just install the recovery, that's all you need!

[Q] USB Drive With OTG?

I just wanted to know if it was possible to use a flash drive on a Kindle Fire with an OTG cable. I don't see why not considering we can use things like keyboards and controllers. Any answer would be greatly appreciated! I just want some form of expandable memory other than cloud storage.
http://forum.xda-developers.com/showpost.php?p=25877151&postcount=41
Check this out. This Q comes up a lot, some people find transferring files from an ICS equipped phone via wifi adequate for their needs, but if you want to use a USB drive the above solution is a good starting point.
My kindle not working Pc after up rom ICS 4.0.4 I tried in various ways
minhquang92 said:
My kindle not working Pc after up rom ICS 4.0.4 I tried in various ways
Click to expand...
Click to collapse
Why would you post that here? Make a new topic!

[Q] Cannot Get USB Host Working... Telus Note II (i317)

Hello,
I cannot get my USB Host Mode to work on my Note II... I have tried various ROM's/Kernel combo's, and the apps you can get in the play store. (USB Host Controller). I've also tried lots of devices, and provided the external power when it was needed. When I got this phone I wanted the stock ROM of it, and didn't even try the USB Host mode. All the ROM I've tested have been stock based, that shouldn't be the issue.
I know the USB-OTG adapter works because I've tried it on other phones, with the same devices I can't get to work on my own phone.
My Rom is CleanROM Ace 4.9, which is latest. Kernel is SaberKernel_23, also latest.
Anyone have any suggestions?
Thanks
Maniac
Not much experience with it but I use 'stickmount' and can see USB storage with my dongle.
I'm with Telus and also using cleanrom 4.9 the below app worked for me
https://play.google.com/store/apps/details?id=com.mohammadag.samsungusbmassstorageenabler
kingofkings11 said:
I'm with Telus and also using cleanrom 4.9 the below app worked for me
https://play.google.com/store/apps/details?id=com.mohammadag.samsungusbmassstorageenabler
Click to expand...
Click to collapse
I just found this app yesterday, but, this is not the usb I'm looking for. This app allows you to mount the extsd as a USB device on pc. I want to use USB devices with my phone. Mount flash drives, mouse, xbox 360 controller, etc..
Maniac
MrManiacNF said:
I just found this app yesterday, but, this is not the usb I'm looking for. This app allows you to mount the extsd as a USB device on pc. I want to use USB devices with my phone. Mount flash drives, mouse, xbox 360 controller, etc..
Maniac
Click to expand...
Click to collapse
What kernel are you running? USB-OTG functionality must be enabled in the kernel. I'm running Adam.Kernel v2.5 (for N7105/I317) and when I connect my flash drive to phone (via USB-OTG cable) you should see two messages in the top notification area: "USB connector connected" then "USB mass storage connected". Then open your favorite file manager and you should see another storage device "UsbDriveA" (the other two of course are "sdcard0" (internal) and "extSdCard" (external). When you click on "UsbDriveA" you should see the files on your flash drive. Two things to check: does your kernel support USB-OTG? (I'm pretty sure when I was on the CleanROM v4.9 (N7105XXDMC3) kernel, it also worked. Second thing to check is the cable... I see you mentioned it works on other devices, but I had same problem. Bought another USB-OTG approved cable (less than 6 bucks) and it worked flawlessly on the Note2.
By the way, there is a bug in the 4.1.2 firmware when you disconnect the cable from phone (even using the drop down notification and selecting "USB mass storage.. Select to remove...." your phone won't deep-sleep again unless you reboot (leaves a partial wakelock called "USB Unmounter" (something like that). However, when ready to disconnect cable, do it this way "Menu--> System Settings --> Storage --> and scroll down to "USB OTG storage"... then select "Unmount USB OTG storage". This will safely unmount usb cable storage and allow phone to deep-sleep again without rebooting. Hope this helps.
DoctorQMM said:
Second thing to check is the cable... I see you mentioned it works on other devices, but I had same problem. Bought another USB-OTG approved cable (less than 6 bucks) and it worked flawlessly on the Note2.
Click to expand...
Click to collapse
Same here.
Sent from my SGH-I317M using xda premium
Got it working. It was my USB OTG Cable... Got a new one, now its perfect...
Thanks to all that replied
-Maniac

[Q] OTG support on BETA 4?

dear paranoid android users and developers,
I've made a fresh (and clean) install of newest BETA 4 on my Nexus 5 and Nexus 7 2013 (Wi-Fi) and encountered a small problem... I cannot seem to get StickMount to work... none of my pendrives that worked on previous versions (the ones before SuperSU was switched to Superuser) seem to show up in any file explorers...
also, when I ran the USB Host Diagnostics, I got a result in the Root API section: N/A... therefore, I'm thinking something is not right on the Superuser side...
I would be oh so thankful if someone could help with coming up with a solution! :fingers-crossed:
P.S. I'm posting a screenshot of the USB Host Diagnostics as attachment. the same result shows up on Nexus 5.
try USB OTG Helper
I don't know if it will work but its what I used when I was on a different ROM, I'll check later and see if it still works.
hmm, will look into it and see if anything changes...
LittleJakub said:
hmm, will look into it and see if anything changes...
Click to expand...
Click to collapse
I just tested it. OTG works Perfectly on PA beta 4. If you are using an external HDD make sure its getting powered.
tjhooker73 said:
I just tested it. OTG works Perfectly on PA beta 4. If you are using an external HDD make sure its getting powered.
Click to expand...
Click to collapse
On which device did You manage to do it? And with help of 3rd party apps, or just with the system in its own?
Also... Stock kernel or custom one?
Cheers!
Htc one x. Custom kernel but the kernel doesn't do anything for otg. And only used USB OtG Helper. Just plug the OTG cable and the USB device in and then open otg helper then plug the otg cable into the phone and wait a few seconds and then mount.
Sent from my iPad using Tapatalk
on GNexus, with PA Beta4, stock kernel: it works from the start, without 3-party apps.
the only thing it doesn't work is when I unmount (from "settings>storage": is there any other way to do it?) it keeps a permanent notification saying "Removed USB storage. Insert new media" that won't go away. Eventually it does, don't know how, why and when.
cheers
Nexus 5, PA Beta 4, stock kernel.
OTG works flawlessy, from the settings I can mount and unmount it.

[Q] Can't Connect To PC or Transfer Files?

Hi there!
I've downloaded and installed the latest Cyanogen Mod 11 Snapshot (M9) for my HTC One X (endevouru). The phone works internally fine but I can't connect Micro USB to Micro SD Card OTG, Micro USB to USB OTG or transfer files on (any) computer. The only way to transfer files for me is to upload to Google Drive/Dropbox and download to my phone. Yes, I have enabled USB Debugging, file transfers, etc, ntohing.
Is anyone able to assist in fixing by either on the phone itself or a link to original stock img/rom/whatever or a ROM that everything works on? As well as a ROM that works 100% (file transfers etc) that is based on AOSP/CM11 that has a theme chooser?
Thanks.
AppleMANNNN said:
Hi there!
I've downloaded and installed the latest Cyanogen Mod 11 Snapshot (M9) for my HTC One X (endevouru). The phone works internally fine but I can't connect Micro USB to Micro SD Card OTG, Micro USB to USB OTG or transfer files on (any) computer. The only way to transfer files for me is to upload to Google Drive/Dropbox and download to my phone. Yes, I have enabled USB Debugging, file transfers, etc, ntohing.
Is anyone able to assist in fixing by either on the phone itself or a link to original stock img/rom/whatever or a ROM that everything works on? As well as a ROM that works 100% (file transfers etc) that is based on AOSP/CM11 that has a theme chooser?
Thanks.
Click to expand...
Click to collapse
This I had the same happened for my HTC One X phone, but I didn't have Cyanongen Mod nor Backup.
Bump
Bump.
Yeah I have a similar problem. Windows (8.1) doesn't recognize the phone as a mass storage device but as a cd-rom drive. What I have tried: Device manager-> uninstall driver -> reboot -> reconnect phone -> No change.
Download latest htc sync manager to get the latestes drivers-> Install works fine -> Sync manager can't connect to phone, needs latest drivers -> Can't connect to phone and nothing gets installed.
So I'm stuck. Can' t access my phone to to, well, do anything.
I can connect my phone to my girlfriends laptop so the cable is working fine and it's probably a windows issue and I do have some problems generally with usb devices disconnecting, but that doesn't help me much since I can't find a working solution to that either.
I'm on ARHD 31.3 (I can't update to the latest version since I can't access my phone, arrghhh!!)
Any Ideas?

Categories

Resources