this tutorial is peace of crap! why there is no .cmd install script for all dumbs like me?
I still cant pass part with "busybox insmod" and still getting stupid error "insmod: can't insert 'usbhid.ko': invalid parameter"
maybe, my popcorn is 2.6.32.9-perf, same like in [ARC][NEO][FW:4.0.A.2.368] I think
I tried all 4 modules with same error and USB OTG Helper works great, but didnt works with NTFS drives, becouse I cant find and install right ntfs.ko driver (module)
Thank you for these.
I have to mention 2 things:
- I don't like usb folders being mounted on /*, I would preffer everything below /sdcard.
- Having another application loading modules at startup uses memory even when we do not use a usb stick. The Q5 Manager should load the required modules.
- Having said the above I modified a Q5 USB Manager build to do the above tasks. It loads the usb-storage module from /system/lib/modules (must exists) at startup and sleeps for 10 secs for the /dev/block/ to be updated. It also creates and uses the mount point under the /sdcard/.
Here
In my Neo V using firmware .62 the above package was tested and working.
usb-hid, mouse, kbd are not required for the Neo V, they are inside the kernel.
You can also have a look, modify or use this little package I made for easy installation of the usb-storage.ko and the q5 manager with just a batch file for my Neo v
GUYS I BRING GREAT NEWS!
WE NOW HAVE FUNCTIONAL USB-OTG SUPPORT!
[ screenshots ]
[ WARNING ]
do not use the connected device for a LONG time period... u may risk burning the device chip/motherboard due to the voltage supply in host mode...
u have been warned!
[ requirements ]
- Xperia Arc (Neo?/Play?) on FW: 4.0.A.2.368
- preferably rooted + busybox installed
- USB-OTG hardware cable
- Terminal Emulator app
- [OPTIONAL] adb Wireless app
[ tested on ]
Xperia Arc Stock FW: 4.0.A.2.368 with DooMKernel v08
[ how to ] (general instructions for modules) [u can use this app to auto-load module]
- download the modules and push the modules to /system/lib/modules/
- use adb shell or terminal emulator to enter following code/commands
Code:su cd/system/lib/modules/ busybox insmod usbhid.ko busybox insmod usbmouse.ko busybox insmod usbkbd.ko busybox insmod usb-storage.ko
- check if all modules are live are not:
Code:lsmod
- done the modules are LIVE!
- [IMP] u will have to manually reload the modules on EVERY boot... unless u use start-up scripts which will take care of this!
[ how to ] (instructions for usb-storage) [simpler way]
- download app: http://android.gval.biz/download/Q5_USB_Memory_Manager.apk
- follow instructions: http://android.gval.biz/Q5_USB_Menory_Manager.php
- the usb storage device should now be mounted to /usb_storage/
- u will need to use RootExplorer for this to work
[ how to ] (instructions for usb-storage) [manual way]
- before u begin/connect device there are few things which need to be done
- creating necessary directory structure
Code:su cd /sdcard/ mkdir usbStorage chmod 777 usbStorage
- now connect the usb storage device via usb-otg cable to phone
- now enter the following command:
Code:dmesg
- at the last part u will see some info of connected device (an if it was rejected due to power issues)
- now enter
Code:ls -l /dev/block/sd*
- u will get output similar to the one posted below
note if the last part: /dev/block/sda1
- finally mount this device (following is generic command... for NTFS specific command read this post)
Code:mount /dev/block/sda1 /sdcard/usbStorage
- if u get no error then enjoy usb storage is now mounted
- to unmount usbstorage (following is generic command)
Code:umount /dev/block/sda1
if that doesnt work try the following command: (this will try to force unmount)
Code:umount -f /dev/block/sda1
if that doesnt work try the following commandthis will try to force unmount and remove loop) [use this as LAST resort]
Code:umount -f -l /dev/block/sda1
[ donations ]
if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc
PAYPAL DONATION LINK
[ download links ]
[ known issues ]
- usb mouse works but there is no cursor... but u can move around and select (left click on stuff)
- when using usb-storage mode some devices will not be mountable if:
- they require more power (u can check this in dmesg)
- they have filesystem not supported by ur current kernel
- sometimes the mounted usb-storage files wont appear using some apps... i have tested it to be wrking using RootExplorer... though it will work in adb shell/terminal emulator also...
[ troubleshooting ]
when u post any error/issue please include the full output of dmesg command (adb shell dmesg > dmesg_log.txt) OR (dmesg > /sdcard/dmesg_log.txt)
P.S.: all these features will be included in next version of DooMKernel for all supported Xperia 2011 devices
enjoy!
su
cd/system/lib/modules/
busybox insmod usbhid.ko
busybox insmod usbmouse.ko
busybox insmod usbkbd.ko
busybox insmod usb-storage.ko
lsmod
su
cd /sdcard/
mkdir usbStorage
chmod 777 usbStorage
dmesg
ls -l /dev/block/sd*
mount /dev/block/sda1 /sdcard/usbStorage
umount /dev/block/sda1
umount -f /dev/block/sda1
umount -f -l /dev/block/sda1
chmod 777 /sdcard/usbStorage
busybox mount -t ntfs -o rw,umask=0000,uid=1000,gid=1015 /dev/block/sda1 /sdcard/usbStorage