[Q] OTG Cable on SGS3 mini - Galaxy S III Mini Q&A, Help & Troubleshooting

I'm finding a OTG cable for my SGS3 mini (modificated ROM - enox 4.0) for connect Pen-drives, SD-Cards (with adaptader), HDD (with external power, etc...
So, I read about it, and I found that it's possible to do this; but I'm not sure that's possible.
- If it's possible, which kinf of OTG cable I need (A to B / A to B + Power Alimentation "Y")?
- I need any app, for example (Multi Mount SD-Card) when I connect a pendrives?
- It's necessary to install/change a new Kernel or Custom ROM or modification in my smartphone?
Thanks!

Related

Incredible S kernel with USB host mode support

Guys, i've made a incredible s kernel which with USB host mode (OTG) support
It's based on XSKernel, so this kernel contains 1.8Ghz overclocking support, thanks to l0st.prophet very much !!!
I merged usb host mode patch from here:
http://sven.killig.de/android/N1/2.2/usb_host/
and made some bug fix and improvment for incredible s.
I test this kernel only on Froyo rom, i'm not sure whether this also works fine on gingerbread rom.. ^_^
It's not very perfect, while this is current status in my testing environment:
pros:
--------------------------------------
USB keyboard : works fine
USB mouse : works fine
USB printer : works fine
USB ethernet card : works fine
wifi : works ok
GPS : works ok
bluetooth : works ok
FM : works ok
USB charging and AC charging : works ok
cons:
--------------------------------------
usb device mode functions are disabled, like adb, usb tether ...
If I use USB flash disk / USB CDROM with usb host mode enabled,
Incredible S hangs (they use the same usb-storage driver)
I have no idea whether it's relative to my Incredible S phone, so it would be appreciated if you would like to try to use usb storage device ^_^
--------------------------------------
I've post a usb host mode patch and config file here:
vivo-usb-host.patch.zip
usb-host.config.zip
the patch seems to be a little big, cause i upgrade asix usb ethernet card driver, the original version doesn't works fine, enjoy it ~~~ ^_^
=====================================================
prerequisites:
1. a rooted S-OFF incredible S phone (of course )
2. a self-powered usb 2.0 hub (must always has self-power)
3. A micro USB B male to USB A female adapter/cable
(a USB female to female adapter and a micro USB cable also works ^_^)
steps:
1. use attached PG32IMG.zip to update IS kernel in fastboot
copy PG32IMG.zip to the root directory of sdcard, in fastboot mode,
you can just update it
2. unzip modules.zip, use RootExplorer or other tools to copy all *.ko module
files to:
/system/lib/modules
3. power up IS phone, connect IS phone to USB hub's upstream port,
connect some usb devices, connect usb hub's power, wait for the charging
LED lights
4. wait about 10 seconds, open a terminal emulator, load kernel modules:
Code:
cd /system/lib/modules
insmod usbcore.ko
insmod ehci-hcd.ko
# use USB input device
insmod usbhid.ko
# use USB printer device
insmod usblp.ko
# use USB ethernet card device
insmod mii.ko
insmod usbnet.ko
insmod asix.ko
# use USB mass storage device (flash disk and so on)
# this may cause IS phone hang, it's on your own...
insmod usb-storage.ko
There is a picture shows USB keyboard works fine in my IS phone, lol ~~
If usb mass storage device works fine or any other usb device doesn't works fine in your phone,
you can just post "dmesg" output here, thank you ~~~
That is pretty cool, nicely done! Can't try it out as I'm stuck with S-ON for now but it's a great idea and I hope you find time to develop it further and iron out the bugs.
does the camera and youtube works?
vontdeux said:
does the camera and youtube works?
Click to expand...
Click to collapse
Yep, camera works fine, wifi works fine, now adb functions are disabled
usb host mode functions almost works perfect
Are you sure camera and video works, cause the sources are for froyo and that breaks video on gb roms. If you've fixed it I'd love to know how cause its broken in XSKernel until HTC release the gb sources.
BTW, you need to post your sources for a kernel as it OS distributed under GPL, or the mods will have to take it down till you do, just a friendly warning.
Sent from my HTC Incredible S using Tapatalk
l0st.prophet said:
Are you sure camera and video works, cause the sources are for froyo and that breaks video on gb roms. If you've fixed it I'd love to know how cause its broken in XSKernel until HTC release the gb sources.
BTW, you need to post your sources for a kernel as it OS distributed under GPL, or the mods will have to take it down till you do, just a friendly warning.
Sent from my HTC Incredible S using Tapatalk
Click to expand...
Click to collapse
I test this kernel only on Froyo rom, camera and video works, i'm not sure whether this also works fine on gingerbread rom.. ^_^
And as you said, the kernel source is GPL licensed, i will post a patch which based on the HTC's released froyo source code - based on XSKernel may be much easier, lol ~~~
Ah fair enough, yes it works fine on Froyo, break on GB
Damn HTC... releasing 2.2 sources only.
arghh.. i was this close to try and flash it...
zzz HTC...cmon..update this!! release it for GB!! we need it badly...
Please help me with this I am interested not sleep for days I could not do a kind of sorry about my English bad typographical error would translate what I wrote might be.
I can not open kernel hangs after installing the rom does not turn on my phone several times but the recovery mode, open the CM7 I installed the new rom rom installed installed installed the old rom in the same results, please Can you give me a link to a rom that you can run with this kernel is running, or if you have a friend, if possible, upload a backup of full recovery can? Incredible S, but I can not make my phone .. please help I can not sleep anymore I put my head Thank you for your interest in advance.
Great! now how can we turn adb and usb tether back on?
Is there any way we can enable USB host mode on ICS
bhushangahire said:
Is there any way we can enable USB host mode on ICS
Click to expand...
Click to collapse
Check this thread by lost prophet. His kernel will include USB OTG and two way call recording in near future. Just check this thread often.
http://forum.xda-developers.com/showthread.php?t=1851121
Sent from my HTC Incredible S using xda app-developers app
Cyb0rgz said:
Check this thread by lost prophet. His kernel will include USB OTG and two way call recording in near future. Just check this thread often.
http://forum.xda-developers.com/showthread.php?t=1851121
Sent from my HTC Incredible S using xda app-developers app
Click to expand...
Click to collapse
Not working...
Cyb0rgz said:
Check this thread by lost prophet. His kernel will include USB OTG and two way call recording in near future.
Just check this thread often.
http://forum.xda-developers.com/showthread.php?t=1851121
Sent from my HTC Incredible S using xda app-developers app
Click to expand...
Click to collapse
bhushangahire said:
Not working...
Click to expand...
Click to collapse
Read carefully. It will be supported in a new version so keep checking the OP for updates.
qexing said:
Guys, i've made a incredible s kernel which with USB host mode (OTG) support
It's based on XSKernel, so this kernel contains 1.8Ghz overclocking support, thanks to l0st.prophet very much !!!
I merged usb host mode patch from here:
http://sven.killig.de/android/N1/2.2/usb_host/
and made some bug fix and improvment for incredible s.
I test this kernel only on Froyo rom, i'm not sure whether this also works fine on gingerbread rom.. ^_^
It's not very perfect, while this is current status in my testing environment:
pros:
--------------------------------------
USB keyboard : works fine
USB mouse : works fine
USB printer : works fine
USB ethernet card : works fine
wifi : works ok
GPS : works ok
bluetooth : works ok
FM : works ok
USB charging and AC charging : works ok
cons:
--------------------------------------
usb device mode functions are disabled, like adb, usb tether ...
If I use USB flash disk / USB CDROM with usb host mode enabled,
Incredible S hangs (they use the same usb-storage driver)
I have no idea whether it's relative to my Incredible S phone, so it would be appreciated if you would like to try to use usb storage device ^_^
--------------------------------------
I've post a usb host mode patch and config file here:
vivo-usb-host.patch.zip
usb-host.config.zip
the patch seems to be a little big, cause i upgrade asix usb ethernet card driver, the original version doesn't works fine, enjoy it ~~~ ^_^
=====================================================
prerequisites:
1. a rooted S-OFF incredible S phone (of course )
2. a self-powered usb 2.0 hub (must always has self-power)
3. A micro USB B male to USB A female adapter/cable
(a USB female to female adapter and a micro USB cable also works ^_^)
steps:
1. use attached PG32IMG.zip to update IS kernel in fastboot
copy PG32IMG.zip to the root directory of sdcard, in fastboot mode,
you can just update it
2. unzip modules.zip, use RootExplorer or other tools to copy all *.ko module
files to:
/system/lib/modules
3. power up IS phone, connect IS phone to USB hub's upstream port,
connect some usb devices, connect usb hub's power, wait for the charging
LED lights
4. wait about 10 seconds, open a terminal emulator, load kernel modules:
Code:
cd /system/lib/modules
insmod usbcore.ko
insmod ehci-hcd.ko
# use USB input device
insmod usbhid.ko
# use USB printer device
insmod usblp.ko
# use USB ethernet card device
insmod mii.ko
insmod usbnet.ko
insmod asix.ko
# use USB mass storage device (flash disk and so on)
# this may cause IS phone hang, it's on your own...
insmod usb-storage.ko
There is a picture shows USB keyboard works fine in my IS phone, lol ~~
If usb mass storage device works fine or any other usb device doesn't works fine in your phone,
you can just post "dmesg" output here, thank you ~~~
Click to expand...
Click to collapse
Hi,
As now HTC kernel source code is released can you please make USB host mode working with the latest code.
Or can you please help me out with what changes needs to be done or any pointers to work on it.
I really wanted USB host mode for incredible S.
Thanks
bhushangahire said:
Hi,
As now HTC kernel source code is released can you please make USB host mode working with the latest code.
Or can you please help me out with what changes needs to be done or any pointers to work on it.
I really wanted USB host mode for incredible S.
Thanks
Click to expand...
Click to collapse
As said earlier, it will be launched in near future. It takes some time for dev to made it possible. Added to that, It's already listed in future plan by lost prophet in his op. Be patient, surely you will get it
When I update PG32IMG.zip , after reboot my phone stuck on HTC Logo , and I have to re-flash with another boot.img
my rom is nik project x
is there anyway to use OTG USB on incredible s please?
it's very important to me,
thnx

Downgraded To 4.1.2 and Now have OTG + Charging + Bluetooth (how To)

I needed a stable fast 4.1.2 Rom and to have OTG Host + charging + OTG Host with No power working , and bluetooth working, with a tablet ui ... it seems almost every rom and kernel would enable 1 function but disable or just not support another... well i found a good combination and i hope it will save someone 3 days of searching and flashing multiple roms and Kernels like i had to do
The Rom
CM 10 + tablet UI Rom
http://forum.xda-developers.com/showthread.php?t=1938041
The kernel:
Faux 123 kernel (im running the stock one will be labled es)
http://forum.xda-developers.com/showthread.php?t=1804374
Rom Has native usb storage so no need for stickmount , Directory bind works great also
Bluetooth works , unlike Custonexus, which i had on before this and really liked, lots of customizations so if you dont need Bluetooth i recommend that rom.
There is 2 issues which i can live with 1)when i unmount usb storage and take the otg cable out the tablet seems to reboot. but not a full reboot. more like the boot animation plays for like 5 seconds thenit goes back to the home screen . also with The faux Kernel you have to put a command into terminal to enable charging (command bellow) . what i did was just typed the command in a note and have the note on my home screen and i can just copy and paste the command from the note into terminal. no big deal . This kernel is not recommended for fixed car installations. for that use Timmur kernel (https://github.com/mehrvarz/files/raw/master/boot-cm10-grouper-host-mode-power-2012-10-16.img) (flash in fastboot)
Command : echo 1 > /sys/module/tegra_otg/parameters/tegra_otg_on_charging (just copy and paste this in a note and copy and paste in terninal when you need otg + charging, put in the command before you attach the cable, also have the charger and usb device/ reader attached before you plug the cable into the N7
any Questions post up ill be glad to help any way i can
That version of the Timurs kernel is dated go here for the latest,he has made many fixs lately.
http://mehrvarz.github.com/nexus-7-kernel-download-page/
Sent from my SGH-I927 using xda app-developers app
Kodiack99 said:
That version of the Timurs kernel is dated go here for the latest,he has made many fixs lately.
http://mehrvarz.github.com/nexus-7-kernel-download-page/
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
Thank you for you response. I'm aware of Timur's updated Kernel , but the updated kernel is for 4.2 and when I tried to flash it before I knew all this, my N7 was stuck in a Boot loop . The Kernel I posted was ,afaik, the last updated Kernel for 4.1.2 (Cm10 is 4.1.2) I should state for those who don't know the Timur Kernel for Cm10 or 4.1.2 does not allow OTG host unless its plugged into power ... this would be good only for a setup where the device would be stationary or a fixed install and always plugged in ... the faux kernel again is what I recommended if you need OTG Host +Charging + Otg Host without Power attached . For 4.1.2 or Cm10 .
Sent from my Nexus 7 using xda app-developers app
Kernel "Timur-USBhost-FI-2013-08-17" (für CM10.1) is working in PA2.54 (CM10)
Djfantom said:
if you need OTG Host +Charging + Otg Host without Power attached . For 4.1.2 or Cm10 .
Click to expand...
Click to collapse
I found another solution: Kernel "Timur-USBhost-FI-2013-08-17" (für CM10.1) is working with PA2.54 (CM10) without problems!
-Mirror for USBROM CM10.1 (4.2.2) - includes kernel "Timur-USBhost-FI-2013-08-17" boot.img: http://rootzwiki.com/topic/343017-download-location-for-usbrom/
-To change this "fixed installation" (FI) kernel to "mobil" change /sys/kernel/usbhost/usbhost_fixed_install_mode from 1 (true) to 0 (false).
-Terminal command "echo 0 > /sys/kernel/usbhost/usbhost_fixed_install_mode" or via a text editor

weird problem with USB connection

hi (sorry for my bad english),
I've been using CM10 without problems (updates via OTA included), MTP & mass storage modes working properly.
Until one day stopped working!
- The mobile charges fine, both USB and wall charger.
- I installed CM10 from scratch, with all the wipes, even I tried with another SD and does not work.
- When connecting the mobile by USB (Windows & Ubuntu) recognizes the device and the modem but no storage.
- From ubuntu console.... "adb devides" command do not recognize it.
- In the mobile shows no notification, no debugging or usb.
but ...
- From the recovery CWM ... I can mount the sd by usb and it works fine! adb also recognize the device!
- Recognizes the phone SmartFlash Mode S / W in windows.
so its not hardware relating? that might be happening?
thank you very much
PD: FIXED! flash official ginger bread with SmartFlash and CM10 again... and now works usb storage.
Hey,
I have the same problem as you, do you have a link to the official ROM, I've been searching for a while and I don't find any >_<
thanks
EDIT:
Finaly I found a link ^_^

[GUIDE] Is your USB 3.0 transfer file option missing? Here is the solution!

This guide can be applied for:
1. Galaxy S5 (All variants, except Galaxy S5 Active)
2. Galaxy Note 3 (All variants)
Why do you need USB 3.0?
Because USB 3.0 10x faster than USB 2.0
Click to expand...
Click to collapse
1. Open root explorer
2. Go to system/etc
3. Open and edit floating_feature.xml
4. Search for:
Code:
<SEC_FLOATING_FEATURE_SETTINGS_SUPPORT_MTP30_MENU_IN_USB_PC_CONNECTION>FALSE</SEC_FLOATING_FEATURE_SETTINGS_SUPPORT_MTP30_MENU_IN_USB_PC_CONNECTION>
5. Change to:
Code:
<SEC_FLOATING_FEATURE_SETTINGS_SUPPORT_MTP30_MENU_IN_USB_PC_CONNECTION>[COLOR="Red"]TRUE[/COLOR]</SEC_FLOATING_FEATURE_SETTINGS_SUPPORT_MTP30_MENU_IN_USB_PC_CONNECTION>
6. Save, exit, and reboot
Cant find the code?
Add the code by yourself
If you have interest about computers and IT (software, hardware, etc) you can join my international telegram group -> HERE
Still cant see the USB 3.0 Option?
Make sure:
1. Your USB cable is 3.0 (like hard disk external USB cable)
2. Your computer's USB port is 3.0 and the USB 3.0 driver has been installed
3. You are using Windows (not mac or ubuntu or etc)
Left and middle: Micro USB 3.0 (fits with our device charging port)
Right: USB 3.0 port (Usually it is blue [like in the pic bellow])
question is, why is this not enabled in the first place.
I have a Samsung S5 International (SM-G900F) with Android 6.0.1 and Root-rights. I changes the the XML-File as you described, but I did not see the USB 3.0 option in the menue. I use a USB 3.0 cable from my external HDD.

TWRP 4pda usb problem?

The USB Host API is not working.
When inside OS:
USB Options don't work ( I got drivers installed)
USB C to 3.5mm Headphone Jack don't work(The jack is fine)
OTG don't work.
USB C port isn't giving any power to portable USB Lights too (Tested with OTG)
Tested On Both Havoc OS 3.6 and Pixel Experience Fan Edition
I have cleaned my USB C port, It's fine and working in TWRP Recovery, I can transfer files
So here it's no issue of my data cable or charging port.
It's totally a software issue.
Any solution or suggestion to fix this USB problem in the kernel?
Why "TWRP 4pda" in the topic title? Description mentions problems in Havoc and PE?

Categories

Resources