Otg funtionality.... - LG G Stylo Questions & Answers

So i got a bunch of on the go cables. And wanted to see what the stylus could do.
So far ive hooked a 160 gb otg hard drive. Works decently.
2. Ps3 control for gaming.
3 flash drives. Of coarse this works.
4. Usb ob2 interface for scanning automobile ecus. Works better than g4 if i might add.
5. A old logitech wingman joystick. Works on some flight simulators.
I also ordered a while back a fastboot cable for my kindle. When i plug in on ms631 from power off no commands needed boots straight to fastboot mode
Im gonna make a pair of vr goggles prob this weekend and see if this screens good enough for vr. Did it on my g3 and g4. And it was killer

How did you get you're OTG to function? I plug in a 8gb flash drive to mines and it doesn't work for me I'm using the T-Mobile version MM.

Nothing its reading natively. Try stick mount.
Ive been reading about loads of people haveing problems with it im looking for a fix.
But the phone most def supports otg verriefied from more than one site

vansthatcrash said:
How did you get you're OTG to function? I plug in a 8gb flash drive to mines and it doesn't work for me I'm using the T-Mobile version MM.
Click to expand...
Click to collapse
Maybe the metro one dont have otg

Has anyone figured out how to get OTG to work on the T-mobile LG G Stylo with Marshmallow? Mine has the latest stock 20c software (H63120c). I use OTG with my FLIR One Android, my SDRPlay, and my RTL-SDR stick, and it would be sad if I have to still use my old Xperia Z for all that.

ecarlson said:
Has anyone figured out how to get OTG to work on the T-mobile LG G Stylo with Marshmallow? Mine has the latest stock 20c software (H63120c). I use OTG with my FLIR One Android, my SDRPlay, and my RTL-SDR stick, and it would be sad if I have to still use my old Xperia Z for all that.
Click to expand...
Click to collapse
This page seems to say that adding the file android.hardware.usb.host.xml to /system/etc/permissions will enable USB host mode. Has anyone tried adding this file to a T-Mobile or Metro PCS Marshmallow phone? I haven't rooted my T-mobile Marshmallow phone yet, but I will if I root access will allow me to enable OTG.
http://rfexplorer.com/usb-host-mode/
Update: Has anyone with T-mobile or MetroPCS Marshmallow and root tried this app, or manually making the changes that this app applies, to see if it will get OTG to work: https://play.google.com/store/apps/details?id=org.tauruslabs.usbhostcheck

ecarlson said:
This page seems to say that adding the file android.hardware.usb.host.xml to /system/etc/permissions will enable USB host mode. Has anyone tried adding this file to a T-Mobile or Metro PCS Marshmallow phone? I haven't rooted my T-mobile Marshmallow phone yet, but I will if I root access will allow me to enable OTG.
http://rfexplorer.com/usb-host-mode/
Update: Has anyone with T-mobile or MetroPCS Marshmallow and root tried this app, or manually making the changes that this app applies, to see if it will get OTG to work: https://play.google.com/store/apps/details?id=org.tauruslabs.usbhostcheck
Click to expand...
Click to collapse
So far its a no go. Placed the xml file...nothing. then edited build.prop to remove a # from a line...nothing....inserted <feature name=”android.hardware.usb.host” /> into permissions xml.....nothing. still working on it. Some say it works natively, others say they cant get it to work at all
Sent from my LG-H631

CollisionFactor said:
So far its a no go. Placed the xml file...nothing. then edited build.prop to remove a # from a line...nothing....inserted <feature name=”android.hardware.usb.host” /> into permissions xml.....nothing. still working on it. Some say it works natively, others say they cant get it to work at all
Click to expand...
Click to collapse
Thanks. If you do get it working, I would be very interested to hear about it.

ecarlson said:
Thanks. If you do get it working, I would be very interested to hear about it.
Click to expand...
Click to collapse
So i was able to get OTG support enabled on the device but the phone doesnt send enough power to the micro usb so you would need an otg y cable to add external power supply like a portable battery
Sent from my LG-H631

CollisionFactor said:
So i was able to get OTG support enabled on the device but the phone doesnt send enough power to the micro usb so you would need an otg y cable to add external power supply like a portable battery
Sent from my LG-H631
Click to expand...
Click to collapse
Cool. I have a Y cable. How did you get it working?

ecarlson said:
Cool. I have a Y cable. How did you get it working?
Click to expand...
Click to collapse
Well i was able to enable the host api by following the url you shared...after you edit those files connect your otg y cable, flash drive and external power to your phone and see what it does...im still trying to get mine to actually mount the drive...let me know if you can figure anything out
Sent from my LG-H631

CollisionFactor said:
Well i was able to enable the host api by following the url you shared...after you edit those files connect your otg y cable, flash drive and external power to your phone and see what it does...im still trying to get mine to actually mount the drive...let me know if you can figure anything out
Click to expand...
Click to collapse
I haven't rooted mine yet, but I might now that it might be possible to enable OTG.

I gave up, and got a used "mint" LG V20 for cheap, which has OTG support built in. My LG G Stylo will be used by someone who has no idea what OTG is.

Besides "usb.host" to your permissions xml's, setprop "sys.usb.configfs=1" & "sys.usb.config=*" in dev options must be set right. Init.qcom.usb.rc told me what I needed to get mtp & adb working together.
Sent from my LG-H631 using Tapatalk

Related

[Q] Did atrix 2 support usb on the go.....?

Did atrix 2 support usb on the go.....?
On gingerbread I didn't saw any such options but ics have that option.
Hence has any one tried usb on the go. Is this option present in jelly been leak....?
u cn buy usb OTG cable or adapter from any electronic shop
every android fone has capability to detect slave devices such as keyboard, mouse if they are compatible
so go ahead
and search the accessories section .... it has same topic discussed
overall SEARCH first then post NEW thread
USB OTG
pritkudale said:
Did atrix 2 support usb on the go.....?
On gingerbread I didn't saw any such options but ics have that option.
Hence has any one tried usb on the go. Is this option present in jelly been leak....?
Click to expand...
Click to collapse
direct OTG cable will never work in atrix2, you have to use Y cable or powered hub to mount flash drive or any device like keyboard or mouse.
any how you have to give external power for mounting device in atrix2
check following links:-
http://forum.xda-developers.com/showthread.php?t=2101980
http://forum.xda-developers.com/showthread.php?t=1461095
It works perfectly fine on JB leak even pendrive mount works fine.
NHS2008 said:
It works perfectly fine on JB leak even pendrive mount works fine.
Click to expand...
Click to collapse
with out powering ?...
monichutti said:
with out powering ?...
Click to expand...
Click to collapse
No. It requires external power as before.

My First Android App

I am working on building my first Android app, this app will allow me to use my phone with a USB device that will let my phone work as a remote for my TV.
I have already build my GUI layout and database, and they seem to be running good on my Note 2.
I am now stuck on trying to figure out how to connect this device to my phone.
The device I have is the USB IR Toy 2, here is the link
dangerousprototypes.com/docs/USB_Infrared_Toy
Any help is welcome, I am using the Android SDK to build this app.
Once I am done I will post my code here for you all to use as you wish.
no responses?
Is this not possible?
ZIGMA51 said:
I am working on building my first Android app, this app will allow me to use my phone with a USB device that will let my phone work as a remote for my TV.
I have already build my GUI layout and database, and they seem to be running good on my Note 2.
I am now stuck on trying to figure out how to connect this device to my phone.
The device I have is the USB IR Toy 2, here is the link
dangerousprototypes.com/docs/USB_Infrared_Toy
Any help is welcome, I am using the Android SDK to build this app.
Once I am done I will post my code here for you all to use as you wish.
Click to expand...
Click to collapse
Usb otg I assume to be to the solution.
Sent from my LG-LS970
desert54 said:
Usb otg I assume to be to the solution.
Sent from my LG-LS970
Click to expand...
Click to collapse
Usb otg?
ZIGMA51 said:
Usb otg?
Click to expand...
Click to collapse
Its a function that allows you to connect a usb device to a phone.
Sent from my LG-LS970
ok, I will need to look in to USB on the go more.
Is there any example code I can review, that might help?
ZIGMA51 said:
ok, I will need to look in to USB on the go more.
Is there any example code I can review, that might help?
Click to expand...
Click to collapse
What I know is that usb otg can only be done on certain chipsets, as for code source, I have no idea.
Sent from my LG-LS970
---------- Post added at 08:09 AM ---------- Previous post was at 07:59 AM ----------
Assuming that the note 2 supports USB Otg stock, You could just simply purchase a usb otg cable for it and work from there.
OK I got my device to connect to my phone, I even made it where when I connect my device it launches my app, but I am having issues with getting my phone to talk to my serial USB device.
Anyone have a idea how to do this?

OTG Doesnt Work After Update

Hi All, Earlier I used to connect my pendrive to MOTO G, but after the update of 4.4.4, It doesn't show any files, I have tested using various applications!
When I contacted customer care, One of them stated me to install Astro File manager and check. It also doesnt show. Another One Stated that after 4.4.4 updated it stopped OTG Support!!!
Do you also experience this problem? Is there any fix? I think it connects but doesnt show anything because in one application named "OTG Disk Explorer" it shows a prompt when I connect pendrive
The prompt is shows is "Allow the app OTG Disk Explorer Lite to access the USB Device" When I choose yes, The app says that "Drive cannot open, Please check USB Is Fat32 or NTFS File system"
Hope someone helps me?
Same problem with my phone.
After updating to GPE 4.4.4 it does not connect the OTG automatically.
At this moment I use Stickmount (available on Playstore) to access my OTG.
Mickeyvdb said:
Sample problem with my phone.
After updating to GPE 4.4.4 it does not connect the OTG automatically.
At this moment I use Stickmount (available on Playstore) to access my OTG.
Click to expand...
Click to collapse
But my device is not rooted, Is there any solution for unrooted devices?
For unrooted devices I don't know how to access OTG.
ramakrishnach21 said:
Hi All, Earlier I used to connect my pendrive to MOTO G, but after the update of 4.4.4, It doesn't show any files, I have tested using various applications!
When I contacted customer care, One of them stated me to install Astro File manager and check. It also doesnt show. Another One Stated that after 4.4.4 updated it stopped OTG Support!!!
Do you also experience this problem? Is there any fix? I think it connects but doesnt show anything because in one application named "OTG Disk Explorer" it shows a prompt when I connect pendrive
The prompt is shows is "Allow the app OTG Disk Explorer Lite to access the USB Device" When I choose yes, The app says that "Drive cannot open, Please check USB Is Fat32 or NTFS File system"
Hope someone helps me?
Click to expand...
Click to collapse
Mickeyvdb said:
Same problem with my phone.
After updating to GPE 4.4.4 it does not connect the OTG automatically.
At this moment I use Stickmount (available on Playstore) to access my OTG.
Click to expand...
Click to collapse
Also check below Link.
http://forum.xda-developers.com/showpost.php?p=54639820&postcount=118
I did read that part, but unfortunately my OTG is in FAT32 but is not recognized in GPE 4.4.4
If I use Stickmount it works.
captain_nemo said:
Also check below Link.
http://forum.xda-developers.com/showpost.php?p=54639820&postcount=118
Click to expand...
Click to collapse
Checked it, My pendrive is Fat32 and doesn't work,It used to work earlier, but after update not working. Should I root my device or wait until OTG Update?
ramakrishnach21 said:
Checked it, My pendrive is Fat32 and doesn't work,It used to work earlier, but after update not working. Should I root my device or wait until OTG Update?
Click to expand...
Click to collapse
Root your device and you will be able to solve almost 99.99% software bugs related your device. But at the same time your device will loose its virginity. Within your warranty period if you face any hardware problem, you have to pay to get it rectified. Now choice is yours. At the same time I would like to mention, many users from this forum are using rooted Moto G almost since they bought the device and they are enjoying. You have to be confident enough.
Now regarding space issue, if you are using mobile data plan or wifi, you can enjoy 15+50 GB free Google Drive space from any where and if Moto G gets Android L OTA update, hope the OTG issue will be fixed there.
captain_nemo said:
Root your device and you will be able to solve almost 99.99% software bugs related your device. But at the same time your device will loose its virginity. Within your warranty period if you face any hardware problem, you have to pay to get it rectified. Now choice is yours. At the same time I would like to mention, many users from this forum are using rooted Moto G almost since they bought the device and they are enjoying. You have to be confident enough.
Now regarding space issue, if you are using mobile data plan or wifi, you can enjoy 15+50 GB free Google Drive space from any where and if Moto G gets Android L OTA update, hope the OTG issue will be fixed there.
Click to expand...
Click to collapse
Thank you so much for the detail answer! Is there any toolkit for motog to root for unlocking bootloader! There was a toolkit called Nexus root toolkit. Is there any toolkit for Moto G! Thank you in advance!
ramakrishnach21 said:
Thank you so much for the detail answer! Is there any toolkit for motog to root for unlocking bootloader! There was a toolkit called Nexus root toolkit. Is there any toolkit for Moto G! Thank you in advance!
Click to expand...
Click to collapse
Follow below link for detailed steps...
http://forum.xda-developers.com/showthread.php?t=2658956
captain_nemo said:
Follow below link for detailed steps...
http://forum.xda-developers.com/showthread.php?t=2658956
Click to expand...
Click to collapse
Thank you so much! I will have a look!!
ramakrishnach21 said:
Thank you so much! I will have a look!!
Click to expand...
Click to collapse
I was travelling earlier.. Recently after coming back home, I have upgraded y Moto G from 4.4.2 to 4.4.4 and OTG is working there also. Thought to share this info with you.
http://forum.xda-developers.com/moto-g/general/otg-4-4-4-update-india-stock-locked-t2854547

After updating to MM unable to use OTG

After updating to MM unable to use OTG. . I m trying to access my OTG pendrive with ES file explorer but it is not showing in that.. previously on lollipop everything is working fine.. please give some solution.
Anyone found any solution for OTG ?? Is there any compatible file Manager which will be work for transferring files through OTG ??
rahul9999 said:
Anyone found any solution for OTG ?? Is there any compatible file Manager which will be work for transferring files through OTG ??
Click to expand...
Click to collapse
Yeah, we know it's broken... it has been mentioned 1000 times this is broken in Marshmallow just like it was before the last Lollipop update, just have to wait for Moto to fix it.
There was one post where someone said they got it working in ES File Explorer and an external powered hub, something like you connect it with power, then disconnect power and connect the flash drive or something like that, but most people couldn't duplicate it. Google might help.
acejavelin said:
Yeah, we know it's broken... it has been mentioned 1000 times this is broken in Marshmallow just like it was before the last Lollipop update, just have to wait for Moto to fix it.
There was one post where someone said they got it working in ES File Explorer and an external powered hub, something like you connect it with power, then disconnect power and connect the flash drive or something like that, but most people couldn't duplicate it. Google might help.
Click to expand...
Click to collapse
Thanks for the suggestion..
i am using indian variant, thank god here there is no problem of OTG
nandakis4 said:
i am using indian variant, thank god here there is no problem of OTG
Click to expand...
Click to collapse
Oh?!?! So external USB thumb drives, mice, keyboards, external hard drives, etc... all work fine on the India variant with the current MM release?
acejavelin said:
Oh?!?! So external USB thumb drives, mice, keyboards, external hard drives, etc... all work fine on the India variant with the current MM release?
Click to expand...
Click to collapse
Yes bro, but i havent tested all the items you have described here is a small video of the tests
https://youtu.be/Ep-jIdcKgGQ
nandakis4 said:
Yes bro, but i havent tested all the items you have described here is a small video of the tests
https://youtu.be/Ep-jIdcKgGQ
Click to expand...
Click to collapse
Nice... the US version does not work.
XT 1543, the Brazilian version does not work too.
Just to update my experience, today I updated from the last soak to the release Marshmallow on my XT1540. OTG works fine and I'm able to connect to my SanDisk 32GB flash drive. I've never had a problem with OTG in Marshmallow.
Sent from my SM-T530NU using Tapatalk
Tel864 said:
Just to update my experience, today I updated from the last soak to the release Marshmallow on my XT1540. OTG works fine and I'm able to connect to my SanDisk 32GB flash drive. I've never had a problem with OTG in Marshmallow.
Sent from my SM-T530NU using Tapatalk
Click to expand...
Click to collapse
Are u able to view otg pendrive files in es explorer?
Use ES File Explorer And You Are Done.. It has a seperate option for USB.. If It is not showing in system, NO PROBLEM.. U can Still USE it..

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