Hi people
I have the galaxy s2 gt-i9100 and i recently bought the OTG cable
when i plug it in it display'sUSB host cable connected)
but when i try to plug in any thing it does not work
for example: Flash memory, keybored, ps3 controller.
can any body tell what is the problem??
P.S. I am using gingerbread 2.3.3 the original Rom
do i need a specific Rom to use it??
Aint no body can help me ???
which rom are you on ?
and try opening dialer ..
enter *#7284#
select
"UART MODEM" and select "USB PDA n restart
Stock Samsung roms are pretty useless for OTG cables, at best you get FAT formatted flash drives and thats about it. You will have to use a custom kernel if you want things like xbox joypads, keyboard etc.
Below are the steps I used to get things like mouse, usb joypads (i use wireless xbox), wii mote etc working properly on my S2.
1. Update to ICS, use Kies for this.
2. Root you phone. For rooting I used the following method
http://forum.xda-developers.com/showthread.php?t=1501719
Rooting
Download this File first and put in your SDCARD
- CWM via stock recovery or download zip from http://clockworkmod.com/rommanager
- SU-Busybox-Installer.zip
Reboot to recovery.
Choose apply update from external storage.
Choose CWM.zip and wait until CWM recovery appear.
Choose install zip from sdcard or external SD
Choose and Install SU-Busybox-Installer.zip
Reboot
You are done and now your device is Rooted
Unroot
Download this File first and put in your SDCARD
- CWM via stock recovery or download zip from http://clockworkmod.com/rommanager
- SU-Uninstaller-Signed.zip
Reboot to recovery.
Choose apply update from external storage.
Choose CWM.zip and wait until CWM recovery appear.
Choose install zip from sdcard
Choose and Install SU-Uninstaller-Signed.zip
Reboot
You are done and now your device is Unrooted
Main reason I used this method is that it doesn't change the recovery console keeping it on stock which helps if you ever had to return phone for repair. This method essential temp loads up a custom recovery console (CWM), roots the phone and once rebooted the stock console is loaded. Another plus point is that it really is stupidly easy to install
3. Install ktool from the market. (Root and superuser app is required for this tool to run)
4. Use ktool to backup current kernel. Not essential but handy if you want to go back to stock.
5. Flash new kernel using ktool
The kernel I used is Dorimanx's from http://forum.xda-developers.com/showthread.php?t=1617219 . Note just exact the downloaded zip file and you need the file zImage from the boot folder. This must be placed in the root of your sdcard (phone memory). If following above steps this will overwrite your backed up kernel so make sure you backup your err backup
The process of backing up and flashing a new kernel takes like a whole 10 seconds. Once done simply reboot your phone. All being well you will see the Dorimanx's splash screen and the phone will boot as normal. Checking in the Setting > About Phone under kernel you should see something like "3.1.0-rc8-Siyah-Dorimanx-v5.83-B6-SGII-PWR-CORE" as an example (latest Dorimanx) showing this the new kernel is infact been used.
Then ofcourse if you want to test it plug in a usb device like a mouse for example.
If you want to return to 100% stock.
1. Use ktool to flash your backed up backup zImage
2. Follow the instructions above to unroot.
I have just gone through all the steps as I was writing this to confirm it all works fine.
ok Thank u
I'll try to do what i understood
Recommended way is to first connect the USB device to the cable and then attaching the cable to your device. See if this helps.
Sent from my GT-I9100 using Tapatalk 2
acekay said:
Recommended way is to first connect the USB device to the cable and then attaching the cable to your device. See if this helps.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
How is that going to help when 99.9% of the stock kernels don't allow usb host connections?
Emexrulsier said:
How is that going to help when 99.9% of the stock kernels don't allow usb host connections?
Click to expand...
Click to collapse
99.9% stock kernels don't allow usb host?
Stock kernels do allow USB host but support less number of devices than custom kernels. Stock supports fat32 drives, mouse and keyboard atleast. NTFS drives, game controllers are not supported OOTB by stock kernel.
Sent from my GT-I9100 using Tapatalk 2
What I meant to say was 99.9% dont support anything on the usb otg and not host. Other than fat32 UFDs, only a small percentage will allow keyboards and mice on stock (and reading this forums show its a very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very small percentage (the power of a million))
I was one of these users. Using o2 i9100p phone nothing worked, best I managed for external connectivity was a 16Gb fat32 ufd and a MS BT media keyboard.
Soon as I changed to a custom kernel it allowed me to use the following (on top of the above)
Wired Mouse
Wired Keyboard
Wireless xbox 360 joypad (using USB/BT Joy Center)
Wired xbox joypad (using USB/BT Joy Center)
Wiimote & nunchuck (some free wii mote app from store)
And just tested now I have gone back to stock kernel and sure enough non of the above work anymore (including mouse/keyboard)
Related
The USB connector on my SGS seems to have stopped working properly. Charging works fine but data comms doesn't.
When I connect the device to Windows machine (tried vista and win7 32 and 64) I get the "USB Device Not Recognized - One of the USB devices attached to this computer has malfunctioned...". My linux box doesn't see the device either and I have tried Odin + voldown, home power. When I hold the connector cable in place at an angle it sometimes gets to the point where the phone brings up the menu options for mass storage, however as soon as I let it go it disconnects. *Conclusion: bent pin or faulty connector.
So my dilemma, I am currently on a rooted JPC rom, need to send the phone in for RMA, how can I get back to stock rom without USB connectivity? ROM manager fails to install clockwork properly so I am stuck with the stock recovery?
*#1234#
PDA: I9000XXJPC
PHONE: I9000XXJPC
CSC:I9000OXAJPC
Any ideas?
asdthe1 said:
The USB connector on my SGS seems to have stopped working properly. Charging works fine but data comms doesn't.
When I connect the device to Windows machine (tried vista and win7 32 and 64) I get the "USB Device Not Recognized - One of the USB devices attached to this computer has malfunctioned...". My linux box doesn't see the device either and I have tried Odin + voldown, home power. When I hold the connector cable in place at an angle it sometimes gets to the point where the phone brings up the menu options for mass storage, however as soon as I let it go it disconnects. *Conclusion: bent pin or faulty connector.
So my dilemma, I am currently on a rooted JPC rom, need to send the phone in for RMA, how can I get back to stock rom without USB connectivity? ROM manager fails to install clockwork properly so I am stuck with the stock recovery?
*#1234#
PDA: I9000XXJPC
PHONE: I9000XXJPC
CSC:I9000OXAJPC
Any ideas?
Click to expand...
Click to collapse
try removing the existing usb drivers and/or kies, reboot, reinstall drivers
Hi thanks, I have tried on a number of machines. A clean windows 7 install without kies installed. Also when I put the phone into mass storage mode even my linux box doesn't recognize the phone. Have tried new cables as well.
Since you mention cwm, i presume you have a stock cwm image. I also presume you have wifi. In that case:
1) download and install adbwireless from the market.
2) download cwm recovery from here
3) Connect adb on your desktop to adbwireless (start adbwireless, on desktop type adb connect ipaddress:5555 or whatever adbwireless reports as the connection ip)
4) rename the cwm recovery on your desktop to update.zip and push to your sdcard - command is adb push update.zip /sdcard/
5) reboot into 2e - run cwm
6) Restore cwm image that you have of stock
ashwinds said:
Since you mention cwm, i presume you have a stock cwm image. I also presume you have wifi. In that case:
1) download and install adbwireless from the market.
2) download cwm recovery from here
3) Connect adb on your desktop to adbwireless (start adbwireless, on desktop type adb connect ipaddress:5555 or whatever adbwireless reports as the connection ip)
4) rename the cwm recovery on your desktop to update.zip and push to your sdcard - command is adb push update.zip /sdcard/
5) reboot into 2e - run cwm
6) Restore cwm image that you have of stock
Click to expand...
Click to collapse
Thanks, was not aware that one can do adb over wifi. This will help.
Two things, I do not have 2e flashed only stock recovery. this doesn't seem to work on JPC. When I try Clockwork's update.zip from stock recovery I get:
Code:
E: failed to verify whole-file signature
E: signature verification failed
Hmmm dont really know how to switch to 2e from 3e without Odin...will let you know if i find out.
Silly question but?
You use a new usb cable?
Already happened to me
Dont have the details, This maybe of use to you. Once on 2e, you can flash any update.zip - with adbwireless + adb - you should be set.
As my topic says, when plugging in the USB to the computer the phone starts charging, but no USB connection to the actual computer. I tried with debugging on and off, tried with several ROMs but nothing changes it.
I tried to connect another phone thorugh the cable and that works fine so i know its not the cable thats the problem.
The version im running now:
Baseband version: 12.54.60.25P_26.09.04.11_M2
Kernel Version:2.6.32.39-cyanogenmod-g99f1050
Mod Version: CyanogenMod-7.0.3.DesireHD
Anyone got any idea and wanna help me?
goto setting>Connect to PC> and make sure "Ask Me" is ticked.
Im guessing that it doesnt ask you what you want to do and the phone by default charges i.e "Charge Only"
Dekkzter said:
As my topic says, when plugging in the USB to the computer the phone starts charging, but no USB connection to the actual computer. I tried with debugging on and off, tried with several ROMs but nothing changes it.
I tried to connect another phone thorugh the cable and that works fine so i know its not the cable thats the problem.
The version im running now:
Baseband version: 12.54.60.25P_26.09.04.11_M2
Kernel Version:2.6.32.39-cyanogenmod-g99f1050
Mod Version: CyanogenMod-7.0.3.DesireHD
Anyone got any idea and wanna help me?
Click to expand...
Click to collapse
Do you not even get the icons in the notification bar?
If you're using Windows, have you got the drivers installed (sorry, I don't use windoze so I am unsure if you need them for this but seems to be a common issue)?
[EDIT] Or what he says above : o )
Im guessing that it doesnt ask you what you want to do and the phone by default charges i.e "Charge Only"
Click to expand...
Click to collapse
Well i have tried both doing "adb shell" with debugging on and then it says "Device not found", and tried to mount is as an USB disk to the computer and nothing happens.
Do you not even get the icons in the notification bar?
If you're using Windows, have you got the drivers installed
Click to expand...
Click to collapse
I get the USB icon in the notification bar, but thats all. Yes, i have tried both with windows drivers and without (Cause it wanna install the drivers when they arent there), but nothing happens either way.
I even tried the phone to another computer and its the same there.. no reaction, so i think it´s something in the phone or kernel?
You could try reflashing the ROM without a full wipe (wipe Cache though). I doubt it's an inherent bug with ROM / Kernel otherwise there would be a flood of similar posts (checked nightlies as well).
I have already tried that with 3 different roms and its the same with all 3 roms
Dekkzter said:
I have already tried that with 3 different roms and its the same with all 3 roms
Click to expand...
Click to collapse
So that rules out problems with ROM or Kernel.
Next, need to rule out PC. Have you got another PC or laptop you can try?
Have you tried different USB ports (if using front ones, use back or any others that are on a different MB header).
Forgot to ask, when you say you tried mounting as USB Disk, do you mean you do get the option if you press the Charge Only icon in the notification bar of the phone?
And also, to rule out the SD card, do you have a card reader you can try it with?
Next, need to rule out PC. Have you got another PC or laptop you can try?
Click to expand...
Click to collapse
Yes, I have tried 2 laptops and 1 stationary pc.
Have you tried different USB ports (if using front ones, use back or any others that are on a different MB header).
Click to expand...
Click to collapse
Tried all 3 ports on my laptop, gonna try 2 more in my stationary when i get home
Forgot to ask, when you say you tried mounting as USB Disk, do you men you do get the option if you press the Charge Only icon in the notification bar of the phone?
Click to expand...
Click to collapse
Yes.. thats how i tried to mount it as an usb disk... i have tried mounting it in Clockwork Recovery Mod aswell... nothing there either :/
Not looking good!!
Last hope then is that it's a problem with the sdcard itself. Do you have a card reader on any of your pc's / laptop you can try?
Nope, no card reader. But i can send stuff to the phones sd card through wifi using myphoneexplorer
How can i install stock rom and kernel through clockwork? Or any way without having usb connection?
Dekkzter said:
Nope, no card reader. But i can send stuff to the phones sd card through wifi using myphoneexplorer
How can i install stock rom and kernel through clockwork? Or any way without having usb connection?
Click to expand...
Click to collapse
Unless the ROM you want is listed in ROM Manager and the Kernel in Kernel Manager (neither of which are fantastically up to date) then you will need to either find another way to get them on your SDCard or visit the the XDA site in a browser or XDA App, find the files you want and download them directly to your phone via the ether. You should then move them to the root of the sdcard and use Terminal Emulator to check the MD5SUM of the file before flashing.
well.. getting the files to the sd card is no big problem using myphoneexplorer over the wifi at home. but where can i find the stock rom with any mods that i can put on the sd and flash with clockwork mod?
Dekkzter said:
well.. getting the files to the sd card is no big problem using myphoneexplorer over the wifi at home. but where can i find the stock rom with any mods that i can put on the sd and flash with clockwork mod?
Click to expand...
Click to collapse
Which stock ROM are you looking for? If it's the stock HTC OTA Gingerbread one them here - http://www.iloveabath.co.uk/index.php?dir=RUUs/
(Thanks go to @andyharney for that).
You mention stock with mods? Could you expand on that one and I'll get yo a link to the most appropriate ROM that suits?
Off topic: MyPhoneExplorer is great. Been using it since my early Sony Ericsson days - the original phone it was designed for, I believe.
Thanks alot mate!!
Only problem is that its and exe and i guess i have to use the usb to install those? :S
I meant Stock without mods ofcourse
I will check into that and install stock... i´ll update this thread with what i´ll try and how it works...
Dekkzter said:
Thanks alot mate!!
Only problem is that its and exe and i guess i have to use the usb to install those? :S
I meant Stock without mods ofcourse
I will check into that and install stock... i´ll update this thread with what i´ll try and how it works...
Click to expand...
Click to collapse
There's a PD98IMG version of an UNROOTED (you will lose root again) the Gingerbread ROM, give me a few minutes and I'll see if I can find it.
[EDIT] Sorry, a PD98IMG will allow you to copy to sdcard root, reboot into Bootloader and it will flash automatically.
[EDIT 2] - http://forum.xda-developers.com/showpost.php?p=13329691&postcount=96
They're Megaupload links though but you should be able to access them in browser. Take first link, rename it to PD98IMG.zip
Small Print: You do this at your own risk.
Thanks again.. will read up and see if i´ll do it
Hey guys
My first post
So i'm having the same problem. tried everything.
Any possible rom and nothing helps.
even the PD98IMG didn't help...
gave it back to the store, lets see what they have to say about it.
gotta wait a week or two
have u try to flash the RUU?
How?
I need a cable connection for that
adilnel said:
I need a cable connection for that
Click to expand...
Click to collapse
"Need" or "would have needed"?
Has the phone gone yet or still in your possession?
I connect the phone to USB. Tried bot MSC and MT modes but the phone (and SD card) is never shown on my MAC.
Also this means I can't sync iTunes via doubleTwist (airSync) doesn't work eather.
I think this is linked to my last update with latest kernel.
Cheers
p.s. my pone is rooted and unlocked
Ya there are USB problems with 2.3.4 and doomlords kernel (since hes going off the old sources) if thats what youre running
Yep so what should I do?
I really need to be able to connect via USB to sync my music library among other things.
How do I reverse this?
Flash the original kernel.sin back in fastboot mode. Root will remain and all the bugs like no usb mass storage and vibration are fixed.
Sent from my iPad 2 using Tapatalk
Original Kernel
Can you point me to where I can find the original kernel? Still latest FW?
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
A quick question, looked around a bit, couldn't find a similar one.
When I had my Samsung EPIC 4g, the version of CWM I was using allowed me to access my SD card by selecting "Mount USB Storage". However, I dont find this option in the current version of CWM I am using for my galaxy s3. Is this feature not available yet, or is it listed under a different section/name?
Also, whenever I have my phone plugged into my PC while I am in clockwork mod, my PC always alerts me that the proper drivers arent installed. However, I know this isn't true because when my phone is on I can use odin and my PC recognizes the device. Anyone have any idea whats causing this?
Thanks
We don't have the option to mount in recovery yet. Don't believe any version of cwm supports it. And for the drivers find ur phone in the device manager while ur in recovery and hit update driver. Manually install an adb driver for it. As far as the PC goes ur device in recovery and download mode are 2 different devices. It just doesn't know how to identify it when its in recovery. If you install it as an adb interface you can push/pull stuff to it if u need to
if you use an older version of CWM, like 5847...you can, but for some reason in 5849 it stopped....
Naddict said:
if you use an older version of CWM, like 5847...you can, but for some reason in 5849 it stopped....
Click to expand...
Click to collapse
Didn't know that.thought I'd tried them all. Guess I missed one. I'll have to revert later n try the older one.