Is there anyway to use that internet stick with network sim card via USB with OTG Cable ?? By installing a custom rom or kernel ?
Which device are you wanting to use it on?
As far as I know the T21X (7.0) doesn't have USB-OTG support, the T31X (8.0) & P52XX (10.1) do.
In the past I've used an app called PPP Widget to use a dongle/internet stick successfully, it requires root though.
See - http://forum.xda-developers.com/showthread.php?t=2068198
App - https://play.google.com/store/apps/details?id=de.draisberghof.pppwidget
There's no guarantee it'll work on all USB-OTG enabled devices & I think not all USB internet sticks are supported.
May be worth a try if you can.
Related
Hi
I am trying to get ethernet access on the N7 LTE using a USB OTG cable and USB-Ethernet adapter. Has anyone had success with patching the stock images, or is there a development ROM that has this available.
Thanks
Alex
Yes. Take a look here. http://code.google.com/p/android/issues/detail?id=58868
There's a lot to go through, but the condensed version is that a fellow made a new boot image that supports Ethernet connections via USB OTG. Your bootloader must be unlocked in order to flash the boot image.
Thanks, but it is still not working.
I have downloaded the N7 LTE patched boot image from the thread and flashed it. My N7 boots successfully but using the OTG cable + USB ethernet adapter the ethernet is not recognised (I am using a USB 2.0 ethernet adapter from the company 'Plugable')
I have also tried to extract, edit and repack an official rom, but I get an error during the repack stage. I am trying to use Android kitchen and cygwin.
So I am stuck. Help!
Update.
Using the patched boot image, then rooting, and then issuing the command 'dhcpcd eth0' in terminal I can browse the internet in Chrome. However GMail and Play store don't work connect correctly
Everything seems to work now except Youtube app.
Frustrating thing is that I have to connect to a wifi source, disconnect, and then ethernet works (I am not using a sim). If I dont connect first to wifi, the apps dont see the connection!
I went to use the Microsoft Remote Desktop app over ethernet and the device does not see a network! Would have thrown the device in the garbage disposal shute (if I had one).
Finally there is a solution to get ethernet working on the Nexus 7 2013 LTE with all apps without connecting to Wifi first and praying to the heavens. I found that installing the latest stable Cyanogen Rom works, so I can now use this needlessly hampered device for what I purchased it for.
Hope this saves someone some valuable time, unnecessarily wasted by ? at Goggle for reasons unfathomable.
Does Nokia N1 got OTG support? I have Tried to connect my USB Flash through OTG cable but doesn't work for me ....
Doesn't work for me either >_<
I don't have an otg cable myself (yet) but can you try to use USB Host Diagnostics (available in play store) and post the report?
FYI I got an OTG cable myself and it didn't work. I dug a bit deeper and found out that OTG is most likely not implemented because Nokia N1 is using legacy usb controller over usb C - see below:
Converting USB 2.0 OTG SoCs to USB Type-C
While existing Device, Host, and DRD devices can be converted to support the USB Type-C connection with some effort, it is not practical to convert existing OTG SoCs. OTG requires a new state machine using the configuration channel to support USB Type-C. Host Negotiation Protocol is used to swap host and device role for OTG, while Power Delivery communication is used to change roles for USB Type-C. Combined, these challenges preclude simple upgrades of OTC SoCs to USB Type-C. - See more at: https://www.synopsys.com/Company/Pu...esign-type-c-2015q1.aspx#sthash.Ri02Guwe.dpuf
Click to expand...
Click to collapse
The only chance to get otg to work is most likely preparing a kernel patch (are the sources even available?) to manually switch the connector to host mode and power the attached device externally
After a bit of hacking around I was able to enable usb otg on my N1!
I've had a look at kernel sources for device with similar SoC (Nexus Player) and saw an interesting debugfs entry. To my surprise it worked like a charm and immediately detected the attached usb hub with a thumb drive, it even powered the hub so I didn't have to use an external power source!
To enable host mode, the following command has to be enterted in root console:
echo A > /sys/kernel/debug/usb/dwc3_debugfs_root/otg_id
Caveats (will try to find a way to resolve them):
- after enabling host mode N1, won't charge from the usb port - a reboot is required to enable the charging again
- probably same is true for pheripherial mode (connecting n1 to a pc). In theory, changing a to b in the above echo command should bring the tablet back to normal mode but for some reason it won't charge without a reboot so I'm assuming that same is true for non otg usb connectivity. Will have a look at the sources and debug messages to find out what's going on
wodz69 said:
After a bit of hacking around I was able to enable usb otg on my N1!
I've had a look at kernel sources for device with similar SoC (Nexus Player) and saw an interesting debugfs entry. To my surprise it worked like a charm and immediately detected the attached usb hub with a thumb drive, it even powered the hub so I didn't have to use an external power source!
To enable host mode, the following command has to be enterted in root console:
echo A > /sys/kernel/debug/usb/dwc3_debugfs_root/otg_id
Caveats (will try to find a way to resolve them):
- after enabling host mode N1, won't charge from the usb port - a reboot is required to enable the charging again
- probably same is true for pheripherial mode (connecting n1 to a pc). In theory, changing a to b in the above echo command should bring the tablet back to normal mode but for some reason it won't charge without a reboot so I'm assuming that same is true for non otg usb connectivity. Will have a look at the sources and debug messages to find out what's going on
Click to expand...
Click to collapse
Thanks for your hard job.
I have tried on my N1. It is amazing that otg did work. However, the otg can not coexist with charging function as yours. Hope someone could find a solution.
adagiov said:
Thanks for your hard job.
I have tried on my N1. It is amazing that otg did work. However, the otg can not coexist with charging function as yours. Hope someone could find a solution.
Click to expand...
Click to collapse
Hey,
Are you on Android 5.1.1 or 5.0 ?
I've had a look at the code of the usb driver of the a phone with similar chipset (asus zenfone 5) and it seems that the source of the problem is that the tablet fails to detect an appropriate charger type, which could mean either that the otg cable does not support this or the code of the driver does not work properly with usb C. Was wondering if something changed around this after the update?
wodz69 said:
Hey,
Are you on Android 5.1.1 or 5.0 ?
I've had a look at the code of the usb driver of the a phone with similar chipset (asus zenfone 5) and it seems that the source of the problem is that the tablet fails to detect an appropriate charger type, which could mean either that the otg cable does not support this or the code of the driver does not work properly with usb C. Was wondering if something changed around this after the update?
Click to expand...
Click to collapse
Hi, mine N1 is still running the android 5.0.
I am afraid Root is the prerequisite to hack otg. Unfortunately, root is not available on android 5.1.1 till now, so even the android 5.1.1 driver support it, that won't help.
Thanks,dude.
Yeah exactly for that reason I haven't upgraded my tablet yet
Hi,
I would like to use lg g3 as a screen for my reverse/backup camera in a car. Before buying the g3 I checked that it supports OTG and latest Android has easycap drivets built in so you do not have to root the phone.
I have got easycap with UTV007 chip which should be supported and I checked that it works on windows laptop. I have got USB OTG cable. If I connect mouse to g3 in otg mode it does work.
However if I connect easycap it does not. I am using one of the reverse camera apps. I ran usb host check program and got the following output:
Android.hardware.usb.host.xml OK
Handheld.core.hardware.xml : usb host not enabled
Tablet.core.hardware.xml : not found
When i tap "fix" i am getting "could not start su process".
To me it sounds like it needs root rights to update some configuration. G3 has factory android 5.0 installed. I have enabled usb debugging but it did not help.
Do you know what the problem is and how can I get easycap working?
I would prefer to not root the device neither to install custom roms because I have no experience (my first week on android)
Thanks in advance!
Forgot to mention: The phone is D855 v20i TWN XX Android 5.0 kernel 3.4.0 if it makes any difference
So I have installed busybox and terminal, no root yet.
I have found handheld.core.hardware.xml and it does not "include" anything to do with usb host- is this a problem?
Furthermore there are numerous files like video0, video1,...video31,video32 in /dev/ - can someone please help explain it?
What is the best thing to check next?
hello. Have you tried using an otg y-cable? It may make no difference, but perhaps a y-cable with power source may help.
Hello everyone!
I have got a Galaxy S4 Mini (I9192) and I try to connect my PS4 controller to it, in order to use PS4 modded remote control app, but the phone does not recognise it. I use CM13 latest build by @csendre , custom kernel by @DarkFrenzy and TWRP 3.0.2-1 by @ne0zone75 as well, but I cannot control the phone through my controller. Inside TWRP, in mount option, I cannot enable USB OTG, and using OTG Troubleshooter app, it has crosses on two last lines (not recognized by Linux and not recognised by Android). I have also connected USB flash drive without any luck... So, is there any way to use USB OTG or is it a hardware limitation of the phone?
Thank you a lot!
bobo1704 said:
Hello everyone!
I have got a Galaxy S4 Mini (I9192) and I try to connect my PS4 controller to it, in order to use PS4 modded remote control app, but the phone does not recognise it. I use CM13 latest build by @csendre , custom kernel by @DarkFrenzy and TWRP 3.0.2-1 by @ne0zone75 as well, but I cannot control the phone through my controller. Inside TWRP, in mount option, I cannot enable USB OTG, and using OTG Troubleshooter app, it has crosses on two last lines (not recognized by Linux and not recognised by Android). I have also connected USB flash drive without any luck... So, is there any way to use USB OTG or is it a hardware limitation of the phone?
Thank you a lot!
Click to expand...
Click to collapse
I did not use a controller with the S4 mini, however I used USB OTG functions with no issues, but you need to supply power so use a Y cable. Our hardware can not supply power through the USB port
Firmware 6.2.7.6, not rooted
My FireTV 4K sees a keyboard but not a flash drive
Long story... so I decided to add external storage to my FTV and ordered a flash drive (Sandisk Ultra Flair USB 3.0 32GB) While waiting to get it I decided to see if my WD SSD USB drive ( Western Digital "My passport" 500GB) would be recognized. I plugged it into my OTG cable and I was notified that it needed to be formatted. I didn't want that so I just exited out and unplugged it. At least now I know FTV recognizes drives.
A few days later I got my flash drive but when I plugged it in it didn't see it, I thought perhaps that flash drive doesn't work with the firestick. So, I retried some other flash drives to no avail. I decided to retry my WD SSD USB drive and now it doesn't get recognized. The only answer I can find on the web is I need to turn off USB DEBUGGING but there is no option for that in developer options just ADB debugging and Unknown sources. Besides that my keyboard does work so I know my OTG cable is good.
I have reset my FTV to factory settings but still have the same issues. I also have rebooted many times.
My questions would be:
1. Where is my USB Debugging gone?
2. Why did it see my WD drive one day and not three days later?
carpenter940 said:
The only answer I can find on the web is I need to turn off USB DEBUGGING but there is no option for that in developer options just ADB debugging and Unknown sources. Besides that my keyboard does work so I know my OTG cable is good.
I have reset my FTV to factory settings but still have the same issues. I also have rebooted many times.
My questions would be:
1. Where is my USB Debugging gone?
2. Why did it see my WD drive one day and not three days later?
Click to expand...
Click to collapse
There isn't an USB debugging option for the sticks, only for the fireTV boxes... so forget about that point
About the WD drive, that could be a power issue, maybe try a stronger power supply...
If you get a new usb storage stick, you can try a format to fat32 on a PC, in case exfat doesn't work.
I had the flash drive formatted as Fat 32 and tried formatting to exfat but still nothing. I also am using a powered USB hub. I also replaced the amazon power module which was 850ma with a 1Amp but still nothing. My next attempt will be to get a flash drive that I read will work with the firestick (Sandisk ultra 32GB 3.0,
Model : SDCZ48-032G-A46).
Idk whats your goal, but here is a thread that is maybe useful for you (in case you've the 4k stick and you decide to root it):
[Magisk][Module] Amazon FireTV4k NTFS/F2FS/EXT4/exFAT OTG support
Warning !!! Use this module on your own risk !!! I can't be held responsible for any kind of damage or data loss !!! Version 1.3 and higher requires my custom kernel 6.2.7.1_v3 or higher + Selinux magisk module from the kernel thread Magisk 20.3...
forum.xda-developers.com
Sus_i said:
Idk whats your goal, but here is a thread that is maybe useful for you (in case you've the 4k stick and you decide to root it):
[Magisk][Module] Amazon FireTV4k NTFS/F2FS/EXT4/exFAT OTG support
Warning !!! Use this module on your own risk !!! I can't be held responsible for any kind of damage or data loss !!! Version 1.3 and higher requires my custom kernel 6.2.7.1_v3 or higher + Selinux magisk module from the kernel thread Magisk 20.3...
forum.xda-developers.com
Click to expand...
Click to collapse
I will try this if the new flash drive doesn't work.
Update: Turns out my firestick may have been seeing the flashdrive all the time but never gave me any indication that I plugged it in. On a hunch, I opened remote abdshell and ran the show me drives command and it popped up. I was always checking the STORAGE section of the settings but only saw internal storage.
Thank you for all your help.