As I am uploading them here, i remember that I had found, that USB host cables are located (as in diagram) on the right side of the JTAG pins (under battery stick), because there is located an usb switcher (page 15).
But not sure about it - time to brainstorm
Looking at page 15 now, and I have to say that there isn't much interesting going on there.
The switch in question, is merely a protective switch that seems to be connected to a few testpoint(TP) pads on the board. (As seen on page 15, section B15)
If one supplies 5 volt there, it will enable USB access to these testpoints.
Nothing of interest really.
I'm tracing the USB_DP and USB_DM around and see where they'll end up. Perhaps something more interesting will surface.
(See page 15, Section C11)
I'll be back...
Edit:
It would appear the USB_DP and USB_DM goes directly into the snapdragon system chip (QSD8250).
Knowing that, it seems the USB circuitry is fairly primitive, and have no additional logics to detect whenever a USB host or device is connected.
With this in mind, one need to modify the kernel source code, and provide a method to force the snapdragon system chip into host mode.
In other words: There is no circuits/hardware to enable host mode automatically. We have to force host mode on software/kernel level. This is beyond my capacity. I don't have enough knowledge about the snapdragon USB functions to provide the code needed.
go to es209ra folder, inside kcernel, go to thgokang
dowload the the v3 1113mhz kernel and its wifi modules. inside wifi module zip you'll find usb-storage module too
please try it out
Sent from my X10S using xda premium
Great, thanks! Downloading, will report soon how it works
---------- Post added at 09:48 PM ---------- Previous post was at 09:47 PM ----------
Quote:
Originally Posted by SysGhost
Looking at page 15 now, and I have to say that there isn't much interesting going on there.
The switch in question, is merely a protective switch that seems to be connected to a few testpoint(TP) pads on the board. (As seen on page 15, section B15)
If one supplies 5 volt there, it will enable USB access to these testpoints.
Nothing of interest really.
I'm tracing the USB_DP and USB_DM around and see where they'll end up. Perhaps something more interesting will surface.
(See page 15, Section C11)
I'll be back...
We will be waiting, good luck.
ROM: CyanogenMod 9.1 by Scritch007 - ICS 4.0.4 - version 6 KERNEL: 2.6.29. by ScritchOO7 - version 5 BOOTLOADER: unlocked ROOTED: yes
go to es209ra folder, inside kcernel, go to thgokang
dowload the the v3 1113mhz kernel and its wifi modules. inside wifi module zip you'll find usb-storage module too
please try it out
Sent from my X10S using xda premium
OK, tried it. Downloaded these two files (dont know which of them you mentioned, looks very similar).
kCernel-SONY-thgokang-v3-1113mhz.ftf
kCernel-thgokang-v3-1113mhz.ftf
But I am unable to flash it, gets this error all the time:
Code:
08/034/2012 22:34:20 - INFO - Flashing kernel.sin
08/034/2012 22:34:20 - ERROR - ERR_SEVERITY="MAJOR";ERR_CLASS="SECURITY_CLASS";ERR_STATIC="SIN_HEAD_VER";ERR_DYNAMIC="Failed to verify sin header";
Same error with loader.sin. Tried custom bundle with just extracted kernel.sin form your ftfs, but same error... Weird
ROM: CyanogenMod 9.1 by Scritch007 - ICS 4.0.4 - version 6 KERNEL: 2.6.29. by ScritchOO7 - version 5 BOOTLOADER: unlocked ROOTED: yes
Oh, sorry - thought that you released locked bootloader version. My mistake.
BTW didi you anything else with kernel/ kernel modules sources? Or did you only enabled its support during compilation and build all nessesary modules?
I am almost sure that it will be nessesary to make some changes in code, because I also enabled host mode support in my kernel and also loaded modules, but no results.
But to be positive, saw in some very old topic here on xda, that on 2.1 or 1.6 firmware it has symptoms of host mode working - someone wrote, that when he connected usb stick with power to X10, it started to blink for a while (so it means that there was some kind of detection), but nothing else. But currently we dont have anything, even detection - simply nothing.
Will search for that thread.
ROM: CyanogenMod 9.1 by Scritch007 - ICS 4.0.4 - version 6 KERNEL: 2.6.29. by ScritchOO7 - version 5 BOOTLOADER: unlocked ROOTED: yes
Oh, sorry - thought that you released locked bootloader version. My mistake.
BTW didi you anything else with kernel/ kernel modules sources? Or did you only enabled its support during compilation and build all nessesary modules?
I am almost sure that it will be nessesary to make some changes in code, because I also enabled host mode support in my kernel and also loaded modules, but no results.
But to be positive, saw in some very old topic here on xda, that on 2.1 or 1.6 firmware it has symptoms of host mode working - someone wrote, that when he connected usb stick with power to X10, it started to blink for a while (so it means that there was some kind of detection), but nothing else. But currently we dont have anything, even detection - simply nothing.
Will search for that thread.
If that is the case, it means the USB had some "chat" going on. However, that kernel might not have recognised the device in question, and listed itas an unknown USB device. The brief activity was just the host and device etablishing proper bus/protocol setttings. (etablishing speed, giving the device an ID and so on.)
If we can just get that far, the rest will be easy, as it's just a matter of enabling compiling and loading the proper kernel modules.
If that is the case, it means the USB had some "chat" going on. However, that kernel might not have recognised the device in question, and listed itas an unknown USB device. The brief activity was just the host and device etablishing proper bus/protocol setttings. (etablishing speed, giving the device an ID and so on.)
If we can just get that far, the rest will be easy, as it's just a matter of enabling compiling and loading the proper kernel modules.
Yes, really remember that - but cant find that thread now
So, I d like to flash back 2.1 and later 1.6 stock ROM to test it (will check logcat and dmesg), dont know if older ROMs used same kernel version or driver sources. But maybe get to this at weekend, X10i is my main phone and dont have any other phones for experimenting.
As you said, if we will see that device will be shown (as unknown) in dmesg or logcat, whole others will be easy.
However finding out what has changed between e.g. 1.6 and 2.3.3 kernel in chipset or usb related things wouldnt be easy....
ROM: CyanogenMod 9.1 by Scritch007 - ICS 4.0.4 - version 6 KERNEL: 2.6.29. by ScritchOO7 - version 5 BOOTLOADER: unlocked ROOTED: yes
New Mobile Operating System Jolla Sailfish‘s … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?