usb host / otg work with d800 and CM 10.2? - G2 Q&A, Help & Troubleshooting

hi, I have a lg g2 d800 (att) with CM 10.2. I'm thinking of buying a otg micro usb cable: http://www.amazon.com/gp/product/B00KILQLKE/ref=gno_cart_title_0?ie=UTF8&psc=1&smid=ATVPDKIKX0DER
does anyone know if it will work? i'll be connecting a garmin edge 500 to get files off of.
edit: I installed a app called usb host check. it says:
android.hardware.usb.host.xml
Not found
handheld_core_hardware.xml
USB host not enabled
tablet_core_hardware.xml
Not found
it says "usb host support is not enabled. a fix attempt can be performed."
EDIT2: just a update. it works. I got the cable I linked from amazon. and I didn't use usb host check to perform a fix.

Related

[Q] USB OTG Functionality - for porting to Optimus One

Hello,
Can anyone help me with a description of the USB OTG functionality on the ZTE Blade ?
I am interested in:
What drivers are installed (USB Host, USB Gadget, USB Storage, etc.) that are related to USB OTG functionality.
How the phone recognizes if it should be in USB Host or USB Gadget mode (sense pin or software switch?)
How the automount works.
What kinds of devices can be connected to the phone.
Any other things that could help implementing USB Host into another phone (Optimus One)
I am trying to help get USB host working in the LG Optimus One, which has similar hardware, but OTG is not working at the moment.
Any help would be appreciated.
The thread (at it's beginning, at thr moment is here), for direct input.

[Q] how can we use a usb host?

Hello,
I have do a usb cable with external power alimentation, can we use it on android?
It works on Windows and on ubuntu!
I have put the kernel with a driver for the usb host. If we search the program used in samsung s2?
Bumping, as I am looking too for a way to run this. There is no clear info about USB host support on this forum.
And USB Host IS POSSIBLE in HD2 as hardware supports it, probably with OTG mode. We need a working kernel, or just some info how to run it.

[Q] Galaxy S4 USB OTG Ethernet?

Hi all,
Can anyone with a USB to Ethernet adapter please test if this works with the Galaxy S4 using an OTG USB cable? I have read it works with the Nexus 7 but would love to know if it works with the Galaxy S4. Would be quite handy to hook up the galaxy directly to my 100mb internet.
Thank you.
S4 tested with two USB Ethernet modules. unsuccessfully
delucz said:
Hi all,
Can anyone with a USB to Ethernet adapter please test if this works with the Galaxy S4 using an OTG USB cable? I have read it works with the Nexus 7 but would love to know if it works with the Galaxy S4. Would be quite handy to hook up the galaxy directly to my 100mb internet.
Thank you.
Click to expand...
Click to collapse
I tried with some generic USB - 10/100 Ethernet (its working with Android 4.0.1 in Point of View TV Stick) and Delock Gigabit USB (not testetd with Android previously) but not working with S4. I check OTG cable connecting USB flash drive and it works with S4, same with USB mouse and USB keyboard. This Ethernet 10/100 USB module after connecting to S4 lights up so its powered but S4 does not looks like recognize it. i have to small knowledge or S4 hasn.t some drivers.
RMPL said:
I tried with some generic USB - 10/100 Ethernet (its working with Android 4.0.1 in Point of View TV Stick) and Delock Gigabit USB (not testetd with Android previously) but not working with S4. I check OTG cable connecting USB flash drive and it works with S4, same with USB mouse and USB keyboard. This Ethernet 10/100 USB module after connecting to S4 lights up so its powered but S4 does not looks like recognize it. i have to small knowledge or S4 hasn.t some drivers.
Click to expand...
Click to collapse
Thanks for trying! A few people have tried with no luck unfortunately. Hopefully someone can create a loadable module that contains ethernet drivers for the S4!
Cheers
RMPL said:
I tried with some generic USB - 10/100 Ethernet (its working with Android 4.0.1 in Point of View TV Stick) and Delock Gigabit USB (not testetd with Android previously) but not working with S4. I check OTG cable connecting USB flash drive and it works with S4, same with USB mouse and USB keyboard. This Ethernet 10/100 USB module after connecting to S4 lights up so its powered but S4 does not looks like recognize it. i have to small knowledge or S4 hasn.t some drivers.
Click to expand...
Click to collapse
Have you tried this with a powered USB hub?
Just tested - negative result.
NZtechfreak said:
Have you tried this with a powered USB hub?
Click to expand...
Click to collapse
S4 connected via OTG to extrenally powered USB HUB. Ethernet USB adapter connected to Hub. Nothing happens on S4.
To verify connect USB Flash drive to USB hub and its sucessfully detected and browsed on S4 (so hub itself working).
Tested USB Ethernets:
USB Ethernet 10/100 "JP1081B"
USB Ethernet 10/100/1000 "Delock 61730"
RMPL said:
S4 connected via OTG to extrenally powered USB HUB. Ethernet USB adapter connected to Hub. Nothing happens on S4.
To verify connect USB Flash drive to USB hub and its sucessfully detected and browsed on S4 (so hub itself working).
Tested USB Ethernets:
USB Ethernet 10/100 "JP1081B"
USB Ethernet 10/100/1000 "Delock 61730"
Click to expand...
Click to collapse
I thought that would likely be the result, but always worth checking non-working USB OTG stuff with a powered hub.
I have a couple of different ethernet adapters, driverless ones that are confirmed working with the few Android devices (tablets) that have been reported to work with ethernet connections, will post results when I get them (I expect them not to work).
NZtechfreak said:
I thought that would likely be the result, but always worth checking non-working USB OTG stuff with a powered hub.
I have a couple of different ethernet adapters, driverless ones that are confirmed working with the few Android devices (tablets) that have been reported to work with ethernet connections, will post results when I get them (I expect them not to work).
Click to expand...
Click to collapse
Fingers crossed but I have my doubts too unfortunately.
Any updates to this interesting thread?
I too would like to get this going with my new Samsung S4, mine is via Sprint, if that matters.
I have tried to OTG cable w/ a USB and StickMount Pro, that works.
BTW, my S4 is rooted via the CF Auto Root method.
has anyone actually found a driver for this?
Possible???
Is this in any way possible?? I am planning to buy one adapter for my s4. Is it worth buying??
I would be interested. The device recognizes it but does not work with this program Ethernet Google Play.
Forgive my language I'm using Google Translator Spanish to English.
I saw a post to introduce myself.
Thank you
Thank you All. Following is how I got LAN Ethernet to work on my Galaxy S4. Some of these steps are very risky and may wipe out all your phone data or make your phone unusable. So I am not recommending you to try it. I am only sharing what I did in my phone to make it work with OTG Ethernet. Also the procedures are very device and version specific. Even same model phones with different Build version and Android version may give different results.
My Devices:
Samsung Galaxy S4 Model Number: SGH-I337M
Android version: 5.0.1 (Lollipop) SDK 21
CPU Architecture: ARMv7
Build Fingerprint: jfltevl/jfltecan
BobJGear OTG Ethernet
ASIX AX88772A Chipset
Following is the Summary of the key steps and troubleshooting. You can search online to find the APKs and Installers or to know more details.
Install Droid Info App to get details of the phone CPU
Install Kingo ROOT App on the Phone and Root the Galaxy S4
Install Odin3 v3.13.1 on Windows 10 PC
Use Odin3 to install “Team Win Recovery Project” (TWRP) on the phone. TWRP was necessary to install XPOSED Framework. The specific version of TWRK that I could install is TWRP 3.1.1.0. I installed it using the file with following file name:
“twrp-3.1.1-0-jfltecan.img.tar”.
The other newer version of TWRP did not work. It kept going back to default recovery menu. Also uncheck “Auto Reboot” in the Odin Options and manually reboot phone to Recovery mode after installing TWRP from Odin.
If you get following message when trying to start TWRP in Recovery mode, Just wait few minutes and TWRP will start.
RECOVERY IS NOT SEANDROID ENFORING
SET WARRANT BIT RECOVERY
During TWRP initial setup Swipe to “allow modification” to System partition
Install XPOSED Installer using apk with following file name. This is an App used to install XPOSED Framework.
"Xposed-Installer-3.0-Alpha-4-2016.10.16.apk"
After installing it, it showed warning that it is not compatible with my phone and android version. Leave the XPOSED Installer installed. Use alternate method to install XPOSED Framework using TWRP.
Install XPOSED Framework using TWRP. I installed the XPOSED Framework version 87.1. That is the only version that worked. I used zip file with following file name
“xposed-v87.1-samsung-5.0.x-sdk21-by-dkcldark-arm.zip”
The other versions of XPOSED Framework was giving following errors.
The installed firmware is not deodexed!
This version of Xposed requires deodexed firmware!
After installing XPOSED Framework, open XPOSED Installer and install Hack Connectivity Service
Install Terminal Emulator.
Sometimes after reboot, the Terminal Emulator shows blank screen. Wait for a minute or so and it should show the usual prompt where you can enter the commands.
Install SuperSU Free v2.79
I installed Ethernet Droid apk, but it did not work.
I installed Busybox but it was not necessary to be used
Usual Steps
Once everything is installed, following are the usual steps to connect to Ethernet.
Connect the Ethernet OTG to Smartphone.
Disable Wifi
Enable Wifi Hack in “Hack Connectivity Service”
Start Terminal Emulator and run following commands. This needs to be done every time we switch from Wifi to Ethernet.
Code:
su
netcfg eth0 dhcp
ip rule add from all lookup main pref 99
ndc resolver setnetdns eth0 "" 8.8.8.8 8.8.4.4
exit
If I don't use the above "ip rule" command, I can only ping to router using Superuser and Internet does not work.
Also previously it was not recognizing website names while pinging. the "ndc resolver" command resolved that issue.
Once above commands are executed, I can use LAN Internet on my Galaxy S4.
Update on Nov 19, 2019:
For the Usual Steps, the Terminal Emulator Commands after "su" line can be saved in a file in the local storage of the phone with name such as "lan.sh" then following commands can be used to execute the file.
su
cd sdcard
sh lan.sh
Video Demonstration
The demonstration of my final results is in my following video. It also has an example of Simultaneous Charging while using OTG Adapter.
https://youtu.be/RtLV6qpMm6o

[Q] Usb bluetooth on Inteso 724 (has usb host)??

hello guys. i really need to add a USB bluetooth dongle on my device... if i run USB host daignostics, it says all is ok. but when i connect my usb dongle( VIA OTG) , nothing really happens... is there any way to install drivers??? or does anyone know a good tutorial, to activate bluetooth support??
for the record, the "USB host veiwer" app, finds my bluetooth device...
the USB host controller app says "s3c USB host driver not found"

[Q] RT2800 USB vs Monitor Mode

Hi,
I have just picked up a Note 3 on Three UK.
Am I right in assuming that the wireless chipset BCM4339 which is the same as on the Nexus 5 is still not able to use bcmon mode to allow us to enable monitor mode?
Would a specific ROM be necessary to allow a TP-Link WN722n (RT2800usb) to work on OTG cable?
I have tried both bcmon on my note 3 and also my TP-Link via USB OTG cable and neither have had any results.
Thanks
Toby
I've installed USB Host Check to confirm that USB host support is enabled on my note 3.
(android.hardware.usb.host.xml OK)
(handheld_core_hardware.xml OK)
I then installed USB Host Controller.
Both devices recognised but obviously not working. (Atheros USB 2.0 WLAN for TP-WN772n) and (ASIX Elec Corp AX88x72A) for USB ethernet.
When I run USB Host Controller I get the following error message:
"s3c usb host driver not found".
Another member on XDA posted a link to the Halaszk Kernel on the N9000 apparantly having OTG USB host support for S3C
(Original post http://forum.xda-developers.com/showthread.php?t=2599045)
Halaszk Kernel for the N9000
http://forum.xda-developers.com/showthread.php?t=2590320
Toby
I'm still hitting a brick wall on this one search wise.
Would stil love to be able to use my WN722N on my Note 3.
Has anyone any experience in modifying the Kernel Module to allow the ath9k to work on Note 3?
Getting a wireless adapter to work on Ubuntu or any form of Linux can be difficult if the manufacturer doesn't provide direct driver support or at the very least a "Tar" which would allow an end user (with sufficient skill) to compile the drivers them self. My understanding of this is limited but from what I can remember Android is JavaScript VM running on a Linux kernel. So you need the Linux source code for the driver which usually comes in a "Tar". Feel free to correct me if I am wrong.

Categories

Resources