View Single Post
Old November 8th, 2012, 03:28 PM   #1268 (permalink)
chrisdroid33
New Member
 
Join Date: Nov 2012
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by stane1983 View Post
USB support starts on kernel level. First that crosses my mind is that USB drivers are not built in into kernel but they exists as modules (usbcore.ko, usbhid.ko...) and that default launcher loads it (insmod's it). Try to find these files in your filesystem... if you find them I'm pretty sure that's the case.

EDIT: Or they modified android sources so badly that only their launcher enables USB support which is actually possible.
thanks for tour feedback.
i only have 3 modules (.ko)
mali.ko
ump.ko
and 8192cu.ko in /system/lib

i tried insmod 8192.ko but this didnt start any USB support.
the mali module is for graphics I guess
what about UMP ?

i saw some folders called usbhid, maybe usbcore... with subfolders named module but there is no .ko files...

strange...

EDIT :
Now I'm just thinking about launching the new luancher from a script.
The call should look like this :
i believe we could make with a call looking like this :
am start -a android.intent.action.MAIN -n com.android.launcher/.Launcher

But does anyone =know how to get the right parameter (com.android.launcher/.Launcher) for a given application ?
chrisdroid33 is offline  
Last edited by chrisdroid33; November 9th, 2012 at 04:26 AM. Reason: added comment
Reply With Quote