[ROOT] How to enable OTG Support for Android - Galaxy E5, E7 General

How to enable USB host API support
How to connect and debug Android device with ADB over TCP WiFi
How to enable USB host API support
Clone this wiki locally
https://github.com/452/USBHIDTerminal.wiki.git
How to enable USB host API support
Some Android devices have no support USB On The Go (OTG)
USB host mode is supported in Android 3.1 and higher
Also for this you need ROOT access.
To enable USB host API support you should add a file named android.hardware.usb.host.xml and containing the following lines:
<permissions>
<feature name="android.hardware.usb.host"/>
</permissions>
into folder
/system/etc/permissions
in that folder find file named
handheld_core_hardware.xml or tablet_core_hardware.xml
and add
<feature name="android.hardware.usb.host" />
into <permissions> section.
Reboot your device. USB host API should work.
Procedure:
adb pull /system/etc/permissions/tablet_core_hardware.xml
Update that file and create android.hardware.usb.host.xml as specified by Greg-q.
adb push android.hardware.usb.host.xml /system/etc/permissions
adb push tablet_core_hardware.xml /system/etc/permissions
Reboot.
Videos:
https://www.youtube.com/watch?v=oaXYMx8-SZ4
links:
http://stackoverflow.com/a/11992683/984156
http://stackoverflow.com/a/17036007/984156

Thank you I find this quite useful for my E5 (SM-S978L)

zenful said:
Thank you I find this quite useful for my E5 (SM-S978L)
Click to expand...
Click to collapse
Thanks for reply

I tried this all in my samsung e700h but not suceeded. If anybody suceeded in doing this way plse tell how???

You can try using NeOTG in grand 2/s3 neo forums. If you have a kernel support of OTG,then it'll work

How to check if my kernel supports native USB OTG support? Perhaps I have to check for it in "/dev/" or somewhere?

doesnt work on e500h with stock lollipop

Someone have the github files that were taken down?
Sent from my SM-A520W using XDA Labs

No OTG in E700H it seems...
The USB controller used in Galaxy E700H is Richtek RT-5033 which is apparent by examination of
PHP:
dmesg | grep 5033
This RT-5033 handles battery management and flash LED etc. but the driver for this in kernel given by Samsung doesn't have anything specific related to USB host/OTG.
There is a mention of a register for USB OTG/Host, but it's not documented.
So even if the chip RT-5033 supports OTG, without the support in kernel, OTG can't be enabled.

I want to enable OTG support on my Irulu X11 tablet, I can access a recovery menu and there's a lot of options in there. I can update from multiple source, I can reboot to bootloader... etc...
I don't have any knowledge in this 'domain' but I'm pretty good with that stuff usually.
If you can explain to me how I can edit those files to enable the USB OTG to work, I would bless you.
Basically, someone said that in the Recovery Menu your tablet is practically 'rooted', I'm not sure what that means and I hope someone can help me.
I got the file ' android.hardware.usb.host.xml ' and it's already got the permission in there but it's not in ' tablet_core_hardware.xml ' and when I try to edit it for File Explorer, I get an error when saving.

Actually, I think OTG support is already enabled.
If I can use a micro USB keyboard for my tablet, that means the OTG support is working right?
Then, my problem would be that all the apps I'm trying to use are not made my version of Android or something.
Let me explain.
I bought a USB microscope and I want to connect it to my tablet to I can inspect stuffs on the fly.
It's working perfectly fine on my computer, but I've tested 10 apps on my tablet and none are showing the camera view but they detect something in USB (USB Camera) and the leds on the lens are turning on.
What's the issue ?

Well, apparently my device doesn't have any built-in UVC support and that's why I cannot see the video of the camera.
Is it possible to add UVC support? I know at this point I should make my own thread but let's see..

Harshiv989 said:
No OTG in E700H it seems...
The USB controller used in Galaxy E700H is Richtek RT-5033 which is apparent by examination of
PHP:
dmesg | grep 5033
This RT-5033 handles battery management and flash LED etc. but the driver for this in kernel given by Samsung doesn't have anything specific related to USB host/OTG.
There is a mention of a register for USB OTG/Host, but it's not documented.
So even if the chip RT-5033 supports OTG, without the support in kernel, OTG can't be enabled.
Click to expand...
Click to collapse
I don't understand so much of this .. i tried too many videos to make the E7 compatible to otg and it worked but when i try to use the otg experimentally it doesn't work !!

Ok I've gotten to the end of the instructions, the last step, & I have an issue...
When I enter:
adb push android.hardwae.usb.host.xml/system/etc/permissions
I get:
adb.exe: push required an argument
I entered the command exactly as written so what is the problem & how can I fix it?
Thanks. .

Related

USB ports

Hey. I am about to buy the G TAB 10.1 . As far as I know there is an adapter that convert the charge port into a USB port. My question is, there is any USB hub for it , so I can connect more than one device to the Tab?
From what I've read it would have to be a powered hub I think.
Sent from my GT-P7510 using Tapatalk
I have ordered a USB adapter but there is only one out on the adapter, I will try it with a USB hub if it works I will let you know
------------
my item has just arrived and works perfect with usb hub
gokhansancar said:
I have ordered a USB adapter but there is only one out on the adapter, I will try it with a USB hub if it works I will let you know
------------
my item has just arrived and works perfect with usb hub
Click to expand...
Click to collapse
have you been using a powered usb hub?
I am wondering how much the tab can handle, have a feeling that a powered hub would be wise?
Sent from my GT-P7500 using Tapatalk
Yes, use a powered USB hub. That gives you the ability to use external HDDs, which require more power than the Tab can provide on its own. Also, if you have a USB mouse (or bluetooth mouse) you can connect that up too. Works like a standard mouse.
As an FYI: if your drive is NTSF you will need additional support to get your drive to be readable by the Tab.
Migimli said:
have you been using a powered usb hub?
I am wondering how much the tab can handle, have a feeling that a powered hub would be wise?
Sent from my GT-P7500 using Tapatalk
Click to expand...
Click to collapse
if you want to use an external hd , you will have to use Powered usb hub
i am using a regular usb hub with wireless keyboard, wireless mouse and 2 usb flash disk and no problem, works perfect
RGardner said:
Yes, use a powered USB hub. That gives you the ability to use external HDDs, which require more power than the Tab can provide on its own. Also, if you have a USB mouse (or bluetooth mouse) you can connect that up too. Works like a standard mouse.
As an FYI: if your drive is NTSF you will need additional support to get your drive to be readable by the Tab.
Click to expand...
Click to collapse
I'm using the USB adapter and i would like to use some NTFS formatted pendrives. Where can I get this additional support?
marceloid said:
I'm using the USB adapter and i would like to use some NTFS formatted pendrives. Where can I get this additional support?
Click to expand...
Click to collapse
Q: Are you rooted, and are you using a custom kernel?
If yes, does the kernel support NTFS?
RGardner said:
Q: Are you rooted, and are you using a custom kernel?
If yes, does the kernel support NTFS?
Click to expand...
Click to collapse
Yes, im rooted and am using Overcome v2.2.0. I installed the latest (1/9/2012) pershoot's kernel but I dont know if it supports NTFS. Does it? Where can I get this info?
marceloid said:
Yes, im rooted and am using Overcome v2.2.0. I installed the latest (1/9/2012) pershoot's kernel but I dont know if it supports NTFS. Does it? Where can I get this info?
Click to expand...
Click to collapse
Yeah, so you have "2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1" then, I reckon, since that's the date on the thread. That's what I'm using.
So you need to go to http://droidbasement.com/db-blog/ and cursor down to this:
HC 3.2:
lib-2636.4_ux_hc32.tar.gz (Kernel Modules)
Download: lib-2636.4_ux_hc32.tar.gz
Download that lib-2636.4_ux_hc32.tar.gz file. This contains the ntfs.ko module. Extract the ntfs.ko file out of it.
Oh, yea... copy the ntfs.ko file to "data/local/modules/". You may need to create this directory. I've never needed to worry about changing permissions...
(FYI - I use File Manager HD which gives root access and read/write access. It's free unlike Root Explorer.)
Then if you go to this thread: http://forum.xda-developers.com/showthread.php?t=1448933.
I posted (#2) about some support apps you will need (Terminal Emulator and a NTFS mounting app). Open the attached image file - this shows the commands you need to enter in Terminal Emulator.
Run the mounting app and you should be golden.
If you reboot you need to follow the process again from Terminal Emulator.
RGardner said:
Yeah, so you have "2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1" then, I reckon, since that's the date on the thread. That's what I'm using.
So you need to go to http://droidbasement.com/db-blog/ and cursor down to this:
HC 3.2:
lib-2636.4_ux_hc32.tar.gz (Kernel Modules)
Download: lib-2636.4_ux_hc32.tar.gz
Download that lib-2636.4_ux_hc32.tar.gz file. This contains the ntfs.ko module. Extract the ntfs.ko file out of it.
Then if you go to this thread: http://forum.xda-developers.com/showthread.php?t=1448933.
I posted (#2) about some support apps you will need (Terminal Emulator and a NTFS mounting app). Open the attached image file - this shows the commands you need to enter in Terminal Emulator.
Run the mounting app and you should be golden.
If you reboot you need to follow the process again from Terminal Emulator.
Click to expand...
Click to collapse
Thank you very much for helping out. Worked flawlessly.
marceloid said:
Thank you very much for helping out. Worked flawlessly.
Click to expand...
Click to collapse
Glad to hear it.

Any rom with working usb host mode?

Hi, I am trying to find a Rom that has a working implementation of USB host mode / USB otg.
Haven't found much info yet, just some info about the needed kernel modules/patches and some scripts. I would really want to know if someone has used a rom on the desire that enables you to easily connect USB storage/card reader and access data on it.
Very interested in your experiences in this matter!
I'm on sebs aio now, will try sandvolds ics rom and see what's in it this weekend.
But i´m guessing that "USB mass storage" thats listed as a feature in that rom is just the possibility to connect the phone to PC and access it as a usb storage device.
Sent from my HTC Desire running Sebs AIO
Just found an app that might be helpful if the only solution is a rom running the kernel patches.
[APP][2.1+][ROOT] Usb Host Controller 0.42
http://forum.xda-developers.com/showthread.php?t=1468531
238 views and only replies from myself....hmmm
Guessing that this is not a very wanted feature from the lack of responses, but now I have it up and running, so here is a short guide how to make it work:
Pre-requisites:
HTC Desire with suitable recovery ([TOUCHCOVERY] 4EXT Recovery Touch v1.0.0.3 RC 3 | USB unbrick with autodetection, worked like a charm)
USB Hub with power supply
USB OTG cable
Some USB storage device (USB-stick, USB hdd...)
1. Install (via recovery)
Supreme Desire - AOSP Goodness for your Desire
http://forum.xda-developers.com/showthread.php?t=1455938
ROM with USB HOST mode capabilities
2. Install (via recovery)
http://tim.mactory.com/htc-desire/
CM7 USB HOST patched kernel
http://tim.mactory.com/HTC_Desire/2.6.37_host_mod.zip
3. Install Usb Host Controller 0.42 App
[APP][2.1+][ROOT] Usb Host Controller 0.42
http://forum.xda-developers.com/showthread.php?t=1468531
4. Load kernel modules
* Open terminal emulator on phone
* Type "su" [enter]
Paste following into terminal window:
insmod /system/lib/modules/$(uname -r)/kernel/drivers/usb/core/usbcore.ko
insmod /system/lib/modules/$(uname -r)/kernel/drivers/usb/host/ehci-hcd.ko
insmod /system/lib/modules/$(uname -r)/kernel/drivers/scsi/scsi_wait_scan.ko
insmod /system/lib/modules/$(uname -r)/kernel/drivers/scsi/scsi_mod.ko
insmod /system/lib/modules/$(uname -r)/kernel/drivers/scsi/sd_mod.ko
insmod /system/lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko
5. Run Usb Host Controller 0.42 App
Go to Settings tab, check/edit mount points ("mnt/sdcard/ehdd" equals a folder called "ehdd" on the Desire SD-card)
Go to USB tab and find the device you want to mount
Click mount and select mount point
6. Use your favourite file manager to access the files on your devices, for example ES File Explorer
7. Thank the devs that made the coding for all the above!
Brilliant, now I can use my phone to transfer photos from camera SD-cards to a USB HDD while travelling.
Have fun!
And a big thanks to the devs!
hi there, have u try this on sebastian Runnymede AIO rom?? it will be great if it is compatible with usb host mode..
Just noticed a sense usb host kernel, will try it with sebs latest today.
Sent from my HTC Desire using XDA App
mind telling me if it works after u test it?...cause i don't have the cable usb otg cable right now, if it is working with sebs rom i will get one for sure, thanks
Sebs AIO tested
Hi,
Tried Sebs AIO 6.01 with the kernel thats in it and with bravo-2.6.35.8-snq-111118.zip (snq_kernel_with_usb_support)
No luck with any of them.
Could not load the kernel modules, tried copying them to the device but I couldnt manage to load them.
The Usb Host Controller 0.42 App did not report any devices or usb host functionality.
I'm guessing that the kernel modules needed isnt packed in the kernel.
Cant find the files where they where when i tried the Supreme with CM7 USB HOST patched kernel and the setup looks a bit different.
Guessing the .ko-files needs to be packed into zimage or something i'm a noob at this.
I´m having trouble finding info about this, maybe the info is there but i'm to lost to figure out what i'm reading.
I would love to be able to have the usb host functionality in Sebs AIO, its the best rom I've tried!
So if anyone got some info on how to get usb host mode working on a sense rom i'm still very interested!
Any 2.6.35 sense kernel that we can load up the .ko files on?
Up ..Same .. I need know how to use this USB HOST
Well, if you read post 3 above you find step by step instructions. Msg me if you need more info. Works ok with cm7 roms like mildwild also.
Sent from my HTC Desire using XDA
postception

OTG

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

[Q] Easycap via USB OTG not working

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.

use otg without y cable!

I have found a way to use otg in s3 neo plus without the need of y cable or external power source. Otg device will get power from your s3! First plug in your otg cable (use normal otg cable not y cable) don't connect anything in the other side of otg cable for now. The go to terminal and execute this commant in super user mod.
echo "1" >> /sys/kernel/debug/regulator/8226_smbbp_otg/enable
you will hear a sound. Wait 2 second.now connect your usb device to otg cable. And you otg device will get power from phone. And when you are done using otg execute this code in super user mod
echo "0" >> /sys/kernel/debug/regulator/8226_smbbp_otg/enable
Don't forget to execute this code or your phone will not charge while connected to charger.
And i used otg using stock kernel.
If you face any problem or this doesn't work reply me i will try to help.
And if it works then reply and let others know.
Finally now I can use my OTG cable! ^_^
Work on cm 12.1??
kimiaarian said:
Work on cm 12.1??
Click to expand...
Click to collapse
Yes, it works.
I wrote small app to simplify otg enabling. No more need to use terminal.
xda link
nikita36078 said:
Yes, it works.
I wrote small app to simplify otg enabling. No more need to use terminal.
Click to expand...
Click to collapse
Thanks for making this app.
nikita36078 said:
Yes, it works.
I wrote small app to simplify otg enabling. No more need to use terminal.
Click to expand...
Click to collapse
nice app nikita , can you provide the app source for me ? for educational purposes
guys, u r THE BEST that's all I can say
I have been looking all over for this, nd now I got the Info, Thks for the founder and the app dev too
u r just awesome, keep it up
nikita36078 said:
Yes, it works.
I wrote small app to simplify otg enabling. No more need to use terminal.
Click to expand...
Click to collapse
Does this app work on stock rom in super user mood
birendra_st said:
Does this app work on stock rom in super user mood
Click to expand...
Click to collapse
Yes
not working on stock rom
tried on s3 neo dual sim
yep it did worked, i just tested in my sgs neo + GT-I9301I running PHN latest Stock Firmware.
Thanks a lot for all the work and effort coz it's an awesome things that we'll be able to do that without external power.
the only thing is that, it's only ES FILE EXPLORER that can manage to find and give me access to my flash drive ... but the stock file manager, mixplorer, root explorer, don't detect the device at all !!!! so i was wondering if there is something special i should do.
otherwise for other non storage devices (mouse, keyboard, game-pad) get detected automatically
Pro Cal said:
yep it did worked, i just tested in my sgs neo + GT-I9301I running PHN latest Stock Firmware.
Thanks a lot for all the work and effort coz it's an awesome things that we'll be able to do that without external power.
the only thing is that, it's only ES FILE EXPLORER that can manage to find and give me access to my flash drive ... but the stock file manager, mixplorer, root explorer, don't detect the device at all !!!! so i was wondering if there is something special i should do.
otherwise for other non storage devices (mouse, keyboard, game-pad) get detected automatically
Click to expand...
Click to collapse
When you connect the flash drive you will get prompt for allowing es file explorer to use usb device. Don't click ok,click cancel. And if you have ticked use by default then goto es file manager app info and click clear default. Your usb device will be mounted by system (same as external sdcard ) you can check it in settings - general -storage. And one more thing if you flash drive is formatted in ntfs it will can only mounted by es file manager. System can only mount file system like vfat exfat fat32 etc. As far as i know.
Not working on my device at all. No sound nothing. And my phone is charging even without disabling. What's wrong
Using the stock 4.4.4 rom
Ksingh_Ksr said:
Not working on my device at all. No sound nothing. And my phone is charging even without disabling. What's wrong
Using the stock 4.4.4 rom
Click to expand...
Click to collapse
maybe I'm wrong but I think it's ur stock rom
to my knowledge there is no 4.4.4 ROM for the GT-I9301I, up to date stock ROM so far is only the 4.4.2 ! so I'm a bit curious
I tested with usb flash drive,external hard drive,zaza remote,mouse,keyboard and joystick and it is working good.
yk1999 said:
I have found a way to use otg in s3 neo plus without the need of y cable or external power source. Otg device will get power from your s3! First plug in your otg cable (use normal otg cable not y cable) don't connect anything in the other side of otg cable for now. The go to terminal and execute this commant in super user mod.
echo "1" >> /sys/kernel/debug/regulator/8226_smbbp_otg/enable
you will hear a sound. Wait 2 second.now connect your usb device to otg cable. And you otg device will get power from phone. And when you are done using otg execute this code in super user mod
echo "0" >> /sys/kernel/debug/regulator/8226_smbbp_otg/enable
Don't forget to execute this code or your phone will not charge while connected to charger.
And i used otg using stock kernel.
If you face any problem or this doesn't work reply me i will try to help.
And if it works then reply and let others know.
Click to expand...
Click to collapse
I am getting the error message echo0 not found and echo1 not found
nikita36078 said:
Yes, it works.
I wrote small app to simplify otg enabling. No more need to use terminal.
xda link
Click to expand...
Click to collapse
I cant use this.
Using kitkat 4.4.4
But no sound in 2 sec
No otg support
Plz help me..
yk1999 said:
I have found a way to use otg in s3 neo plus without the need of y cable or external power source. Otg device will get power from your s3! First plug in your otg cable (use normal otg cable not y cable) don't connect anything in the other side of otg cable for now. The go to terminal and execute this commant in super user mod.
echo "1" >> /sys/kernel/debug/regulator/8226_smbbp_otg/enable
you will hear a sound. Wait 2 second.now connect your usb device to otg cable. And you otg device will get power from phone. And when you are done using otg execute this code in super user mod
echo "0" >> /sys/kernel/debug/regulator/8226_smbbp_otg/enable
Don't forget to execute this code or your phone will not charge while connected to charger.
And i used otg using stock kernel.
If you face any problem or this doesn't work reply me i will try to help.
And if it works then reply and let others know.
Click to expand...
Click to collapse
My Friend Can use this method and had answer
But i cant use it.usb device just got power from my phone i cant accsess to my files
pls help me...
m.h.k.jahromi said:
My Friend Can use this method and had answer
But i cant use it.usb device just got power from my phone i cant accsess to my files
pls help me...
Click to expand...
Click to collapse
What file system you use on your usb device?
Sent from my GT-I9301I using XDA-Developers mobile app
Please help me !
Ive followed all steps. (and the app from LINK: http://forum.xda-developers.com/galaxy-s3-neo/themes-apps/otg-enabler-t3423727 )When i plug in OTG cable seems that the phone charge the battery and after when i connect usb stick after few minutes it become easy hot, but phone dont recognise it .Why? What can i do?
I have SAMSUNG GALAXY S3 NEO (rooted) with android version 4.4.4 .

Categories

Resources