[krn.modules] xpad.ko for XBOX 360 gamepad - Galaxy S III Original Android Development

As title says, only tested on rooted stock Samsung ROM - built from update3 sources.
Unpack the bz2, then copy the .ko file to your SD card or internal storage. Use a terminal app, SSH or ADB shell to insmod xpad.ko and you're winning.
Seems to emulate a keyboard, works on Snes9xEX at least. Controller LEDs keep flashing - if anyone knows what option to pass to fix that I'd be appreciative.
Your other option is the BT/USB Controller app from the market.

voltagex said:
As title says, only tested on rooted stock Samsung ROM - built from update3 sources.
insmod xpad.ko and you're winning.
Seems to emulate a keyboard, works on Snes9xEX at least. Controller LEDs keep flashing - if anyone knows what option to pass to fix that I'd be appreciative.
Your other option is the BT/USB Controller app from the market.
Click to expand...
Click to collapse
How do you know that the module is loaded?

cba1986 said:
How do you know that the module is loaded?
Click to expand...
Click to collapse
Pair the controller with the wireless dongle, and move the sticks - it should make the funny water droplet noise.
Edit: lsmod will show it too
Sent from my GT-I9300 using xda premium

doesn't work with siyah kernel,exec format error.....

freakonaleash said:
doesn't work with siyah kernel,exec format error.....
Click to expand...
Click to collapse
That doesn't surprise me, it'll have to be rebuilt at some stage for Siyah specifically.

sorry im a complete NOOB but can you explain "Use a terminal app, SSH or ADB shell to insmod xpad.ko"

leon_notts said:
sorry im a complete NOOB but can you explain "Use a terminal app, SSH or ADB shell to insmod xpad.ko"
Click to expand...
Click to collapse
type terminal emulator on market download the one you like then,put the file from here after you extract it of course in a folder you will create and name plugin on your internal sd card and finally type insmod /sdcard/plugin/xpad.ko in the app you downloaded and you're all set!
(you must be rooted i think and if you want to have the plugin running each time you reboot your phone you will need to write this line in a file with no extension and place the file on system/etc/init.d directory supposing you have a root browser file manager ex. root explorer installed!)

This wont pair a xbox 360 wirelessly with the S3 will it?
Are you talking about using the controller via usb?

webup said:
This wont pair a xbox 360 wirelessly with the S3 will it?
Are you talking about using the controller via usb?
Click to expand...
Click to collapse
Yes only with usb!
Dunno maybe it could work if you have the wirelless adapter for the controller though...

Its working perfect on Checkrom V5
Thanks!

freakonaleash said:
doesn't work with siyah kernel,exec format error.....
Click to expand...
Click to collapse
+1

Well, it's not working with speedmod kernel too, same respond as siyah. I did try to flash fully rooted stock kernel by ficeto, and it worked great (yeah, the controller lights kept blinkin' like crazy ). Spent some times spraying bullet in Dead Trigger on it Nice work, dude!:good:

Hi all is there a tutorial on how to cross compile and create modules with source?

I remember doing this with my Tab 10.1, and you have to insmod another module called "ff-memless.ko" (get it from droidbasement.com(creditsershoot)) BEFORE you insmod xpad.ko. I ordered my otg cable yesterday from DX for my SGS3 so i wont bother testing it today. Hope it works!
EDIT: WARNING: doing these modifications can/will damage your device. If I'm not mistaken, kernel modules are made specificly for devices/kernels/rom's. I'll await hardcore dev input on this before testing, with perhaps a "spoonfed" step-by-step guide for noobs, like myself, with all/correct files attached and more info on wich kernels/roms are supported. Make a nandroid backup just in case if you're itching to test

hey man, nice thread here, but unfortunately your plugin just wont work on my kernel (3.0.31).
Could you please provide the xpad.ko file for my kernel or just tell me how to compile correctly?
I've searched a lot but hadnt much luck on finding good results -.-

Stock rom rooted, not working here, buddy !

Even with Boeffla kernel not working.

For Perseus 26.1. The LED works fine. If you set the parameter triggers_to_buttons to 1, LT will take the place of LB and RT the place of RB and vice versa.

Someone please continue this i really would love to play with my xbox 360 controller. Im on stock rooted jellybean it says exec format error?

qwerty12 said:
For Perseus 26.1. The LED works fine. If you set the parameter triggers_to_buttons to 1, LT will take the place of LB and RT the place of RB and vice versa.
Click to expand...
Click to collapse
Thanks but in alpha 28 dont works can you update please!!??

Related

Compiling X10 kernel sources

As I was told Sony released Xperias X100 kernel sources I decided to play a little with them. This tutorial is for advanced users by the way as you need some linux knowledge (wrote it from memory as I did it one day ago).
As I'm new to cross compiling it took me a while to configure the platform correctly (I did it on Ubuntu 10.04).
- Get the sources here : http://developer.sonyericsson.com/wportal/devworld/downloads/download/dw-300009-x10donut10032501?cc=gb&lc=en
- Tutorial to set up the environment correctly : : http://source.android.com/source/download.html
- the make config file is available in the phone under '/proc/config.gz'
and 'adb pull /proc/config.gz'
* So after you set up everything as described in the android.com page in ubuntu :
- mkdir x10
- copy the kernel sources and config.gz to the x10 folder
- gunzip X10_Donut_100325_01.tar.gz
- tar -xvf X10_Donut_100325_01.tar
- go to the kernel directory in the X10_Donut_100325_01 folder
- gunzip config.gz
- rename it to .config and move it to the kernel folder (mv config X10_Donut_100325_01/esheep_linux/LINUX/android/kernel/.config)
- make ARCH=arm CROSS_COMPILE=path-to-git-repo/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi- menuconfig to choose what to compile as module
- make ARCH=arm CROSS_COMPILE=path-to-git-repo/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi- modules
'path-to-git-rep' is the folder where your placed your git repository files
a long time after this modules are compiled from source !
* I know usb host mode was already made for nexus one :
http://sven.killig.de/android/N1/2.2/usb_host/
So I looked in the Xperia kernel config and noticed usb-host was compiled with the current kernel.
I compiled the sources and added kernel modules as an attached file.
Unluckily I don't have a Powered USB 2.0 hub providing its power to the upstream port and a female usb connector to mini-usb so I cannot test if my kernel module is correctly compiled.
So if someone has this hardware please :
- copy those attached files to sdcard then
- adb shell
- su to get root
- 'busybox insmod /sdcard/usb-storage.ko'
- 'busybox lsmod' to check if module is loaded
- plug the usb hub to your X10
- plug an usb stick
- ' busybox dmesg | busybox tail' to get more infos and check if the stick is detected, if yes tell me
I also compiled the usb-serial modules so if someone has an Arduino board you may plug it to your X10 now
Of course I have no guarantee this will work (this is my first cross compiling!) so feedback is welcome !
Also my tutorial is not very great, but I hope it may help few people here.
niiiiiceee what about smb module so we can mount stuff from network video streaming over wifi here we come
thor2002ro said:
niiiiiceee what about smb module so we can mount stuff from network video streaming over wifi here we come
Click to expand...
Click to collapse
if someone tells me my compiled modules work, I will compile what's possible (as some modules depend on how kernel was compiled).
it's working !!!!!!!!!!!!!!!!!
I just compiled the samba cifs kernel module, installed and mounted it !
Now I'm seeing all my files shared on the computer
The attached file is the kernel module managing samba :
So you need to follow these steps :
- adb shell
- su
- busybox insmod /sdcard/modules/cifs.ko
- mkdir /data/local/share
- mount -t cifs -o username="myuser",password="mypass" //192.168.0.1/files /data/local/share
It will be nice if you make it work the other way around.
To share the phone sdcard
THANK YOUUUU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Guess i have to start making mounting scripts
tuxStyle said:
It will be nice if you make it work the other way around.
To share the phone sdcard
Click to expand...
Click to collapse
that is not module related....
making modules for this kernel is actually a big deal we can add more functionality to the kernel
thor2002ro said:
that is not module related....
making modules for this kernel is actually a big deal we can add more functionality to the kernel
Click to expand...
Click to collapse
I know don't worry.
The idea was to use cross-compiling to compile samba for android
By the way: tot asa scumpi sunt aia de la Orange?
Nice work!
Is USB Host also on the cards, as well as overclocking?
instigator008 said:
Nice work!
Is USB Host also on the cards, as well as overclocking?
Click to expand...
Click to collapse
usb host is on first post but as i don't have a female usb to mini usb cable i cannot test it myself...
about overclocking i have no idea what's linked to it in kernel.
tuxStyle said:
I know don't worry.
The idea was to use cross-compiling to compile samba for android
By the way: tot asa scumpi sunt aia de la Orange?
Click to expand...
Click to collapse
samba is pretty heavy duty stuff... i think running it will drain battery like crazy...
maybe a http app that will share the phone or a ftp will be more light... on the cpu load...
RE By the way: nu .... am dat 150 euro pe tel
alx5962 said:
usb host is on first post but as i don't have a female usb to mini usb cable i cannot test it myself...
about overclocking i have no idea what's linked to it in kernel.
Click to expand...
Click to collapse
http://code.google.com/p/milestone-overclock/wiki/Disassembly
It probably won't work without some work though.
More relevant stuff:
http://forum.xda-developers.com/showthread.php?t=620081
X10_Donut_100325_01/esheep_linux/LINUX/android/kernel/arch/arm/mach-msm/acpuclock-8x50.c
Anyone up for the task?
Ive been looking through the x10 sources trying to get channel 13 wireless working. X10 uses ar6000 atheros driver which is supposed to get allowed wireless channels from the system locale. I think SE borked it and locked it to just 11 channels. Having a tough time finding out how though.
Anyone else have any ideas? I dont like it that SE just decided we dont need ch 13 and 14 even if you are in a country that allows them. Does anyone have a japanese x10 that they can verify broken ch13 and 14 with?
Oh and if it does work on the japanese x10, can you send your ar6000.ko wmiconfig and wpa_supplicant binaries over so i can try them?
Cheers
Frank
Sent from my X10i using XDA App
@op:
Can you try this ?
http://android.modaco.com/index.php?s=&showtopic=305509&view=findpost&p=1235768
We will know once and for all if the multitouch on X10 is hardware or software limitation.
tuxStyle said:
@op:
Can you try this ?
http://android.modaco.com/index.php?s=&showtopic=305509&view=findpost&p=1235768
We will know once and for all if the multitouch on X10 is hardware or software limitation.
Click to expand...
Click to collapse
We can't completely do this, as we can't flash unsigned stuff or boot into a custom kernel yet, therefore, we can't finish all of the steps.
Guys, could someone please compile tun.ko (CONFIG_TUN=m)? For vpnc and openvpn.
I could get myself to do it next week, but since some of you already have the setup...
Thanks a lot!
here comes :
- tun module
- ntfs module
I successfully installed as modules both of them on my xperia
alx5962 said:
here comes :
- tun module
- ntfs module
I successfully installed as modules both of them on my xperia
Click to expand...
Click to collapse
Thank you!!!
tun.ko loads fine, but get-a-robot-vpnc doesnt want to connect right off the bat. I'm sure I'll figure out why a little later.
Thanks again.
'dmesg' command is very useful to check problems
hey, nice work.
what about the netfilter modules to run wifi tether?
that would be great.
what kernel is needed for this modules?
i have the 023 firmeware, is this one ok?
greetz

[Q] VPN on G-tablet

I have been having trouble connecting to my work VPN with the G-Tablet. I have since tried going to ZPad 3.0 in hopes this would fix the issue. However, no luck. The VPN server is reporting an event error of 20209.
After a few hours of looking on other forums it turns out this have been an issue since Android 2.1. They have either intentionally left out the encryption module from PPPD or it was forgotten in the build. The 'fix' is to copy the PPPD file from a version prior to 2.1 (Android 1.5?) and save it to the System/xbin directory. However there is an argument over if should go into system/bin for 2.2.
Does anyone have more information on this - or better yet a fix/update? Any help on this would be appreciated.
which ROm are you using
stock ROM doesn't have VPN at all.
justauser said:
stock ROM doesn't have VPN at all.
Click to expand...
Click to collapse
I'm using ZPAD 3.0 ROM at the moment.
I have narrowed it down to a problem with the MPPE 128 encryption. I have found a PPPD that is supposed to fix the problem (see link below), but I don't now how to get it to the system directory. How do you mount system as R/W?
Alternate PPPD:
H***://melko.hiljanen.com/~qvr/android/ppp/
Root explorer will allow you to mount it that way
Sent from my DROIDX using Tapatalk
Let me know how it goes... I have been trying to connect my gtab but I thought I was the only person interested!
Sent from my DROIDX using XDA App
vectorcharlie said:
Let me know how it goes... I have been trying to connect my gtab but I thought I was the only person interested!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Ditto!!!!!!!!
Tried your link, getting the same error I've seen in the past:
Code:
pppd: This system lacks kernel support for PPP. This could be because
the PPP kernel module could not be loaded, or because PPP was not
included in the kernel configuration. If PPP was included as a
module, try `/sbin/modprobe -v ppp'. If that fails, check that
ppp.o exists in /lib/modules/`uname -r`/net.
See README.linux file in the ppp distribution for more details.
I think(?) we need a customized kernel with ppp. So far, we have NTFS and CIFS support that's been added by some of the devs, here.
vectorcharlie said:
Let me know how it goes... I have been trying to connect my gtab but I thought I was the only person interested!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
No luck. The PPPD file didn't make a difference. I guess I should not have been surprised. The L2TP connections are supposed to work so I may try that tomorrow - if I can convince the network admin to make the changes on the vpn server.
The lastest info I have been able to collect on this issue is that it has been known at google since 2.0 was released. They were having a problem keeping a connection using MPPE 128 over PPTP so instead of releasing something that did not work right, they removed support for it until a later date. Said date has not been determined.
I will keep you posted as I find out more.
roebeet said:
Tried your link, getting the same error I've seen in the past:
Code:
pppd: This system lacks kernel support for PPP. This could be because
the PPP kernel module could not be loaded, or because PPP was not
included in the kernel configuration. If PPP was included as a
module, try `/sbin/modprobe -v ppp'. If that fails, check that
ppp.o exists in /lib/modules/`uname -r`/net.
See README.linux file in the ppp distribution for more details.
I think(?) we need a customized kernel with ppp. So far, we have NTFS and CIFS support that's been added by some of the devs, here.
Click to expand...
Click to collapse
I came across this too. Since the ppp directory exists under system/etc I have made the assumption that there is support for it (at least under ztab 3.0). In order to check using the method above we would need a terminal app or some other way to run the commands. If there is a way to do it natively I am too new to know.
Any devs willing to tackle this issue?
Newanzer said:
No luck. The PPPD file didn't make a difference. I guess I should not have been surprised. The L2TP connections are supposed to work so I may try that tomorrow - if I can convince the network admin to make the changes on the vpn server.
...
I will keep you posted as I find out more.
Click to expand...
Click to collapse
No luck. The Net Admin decided it would be too much work just for a tablet test (and his iPAD VPN work just fine thank you). Anyone willing to try a L2TP test?
I have tried L2TP in Vegan with no success. used my android phone to verify settings and it works fine from there.
nephelim said:
I have tried L2TP in Vegan with no success. used my android phone to verify settings and it works fine from there.
Click to expand...
Click to collapse
Ok so that is 2 ROMs down:
TNT Stock - No option
Vegan - Not functional
Just need TNT light and Zpad Clean v3.0 tested. I'm suspecting that it will be no for both. This is starting to creep higher on my list of needs. Does anyone know of a ROM VPN works in?
I confirm that the advent vega rom has the same problem.
Unable to use vpn.
Newanzer said:
Ok so that is 2 ROMs down:
TNT Stock - No option
Vegan - Not functional
Just need TNT light and Zpad Clean v3.0 tested. I'm suspecting that it will be no for both. This is starting to creep higher on my list of needs. Does anyone know of a ROM VPN works in?
Click to expand...
Click to collapse
Do you need tun.ko/kernel support for this stuff? Clemsyn compiled that into one of his kernels - check his thread in the Development forum out, and give that kernel a try with the Vegan ROM, that might get you closer.
rcgabriel said:
Do you need tun.ko/kernel support for this stuff? Clemsyn compiled that into one of his kernels - check his thread in the Development forum out, and give that kernel a try with the Vegan ROM, that might get you closer.
Click to expand...
Click to collapse
That could be worth the check. I would like to see a list of exactly what his kernel supports before I try though.
[EDIT]: Checked change log. VPN module in kernel not mentioned.
Looking over the list of known issues at Google, this problem has been known for a while. The fact that Google hasn't addressed it worries me a bit. It is possible that since phones are the largest part of their OS client, VPN isn't a high priority. They may be waiting for the open source community to solve their problem for them.
Was able to get VPN working
YOU WILL NEED TO HAVE ROOT AND BUSYBOX INSTALLED. PLEASE MAKE A BACKUP IN CASE SOMETHING GOES WRONG.
1st you will need the new kernel found at the below address.
http://forum.xda-developers.com/showthread.php?t=903505
2nd you will need to insert the tun.ko included in with the kernel into /system/lib/modules/2.6.32.27-cyanogenmod folder on the tablet using root explorer.
3rd you will need to install the latest version of vpn from
http://code.google.com/p/get-a-robot-vpnc/downloads/list
4th install a terminal emulator and then you will need type the following commands
su (press enter)
cd /system/lib/modules/2.6.32.27-cyanogenmod (press enter)
insmod tun.ko (press enter)
You should now be able to connect on VPN.
there is very easy installation get and run vpn frome purevpn........
brainyjd said:
YOU WILL NEED TO HAVE ROOT AND BUSYBOX INSTALLED. PLEASE MAKE A BACKUP IN CASE SOMETHING GOES WRONG.
1st you will need the new kernel found at the below address.
http://forum.xda-developers.com/showthread.php?t=903505
2nd you will need to insert the tun.ko included in with the kernel into /system/lib/modules/2.6.32.27-cyanogenmod folder on the tablet using root explorer.
3rd you will need to install the latest version of vpn from
http://code.google.com/p/get-a-robot-vpnc/downloads/list
4th install a terminal emulator and then you will need type the following commands
su (press enter)
cd /system/lib/modules/2.6.32.27-cyanogenmod (press enter)
insmod tun.ko (press enter)
You should now be able to connect on VPN.
Click to expand...
Click to collapse
Sorry for asking this noob question, but is this VPN fix only for Cyanogenmod, or will work with others, such as TnT Lite?
I'm running TnT lite and there no's VPN setup option.
tnt is missing the vpn shortcut
use VPN Show
Kazuyuki Eguchi/Tools
found in android market to access the vpn menu
i have used with sucess on most roms open vpn and open vpn settings
with out problems just by install them and setting it to auto run at start
with install to xbin and create a folder on internal sd "openvpn"
then place a vpn.conf file there
then connect this cause an error but causes super user to give it root rights
after that all my vpn,s work with out going near openvpn
purevpn said:
there is very easy installation get and run vpn frome purevpn........
Click to expand...
Click to collapse
Please elaborate...
Thanks!

CIFS kernel module for ICS

I've seen a few posts from people wanting native network file support for our Primes. I'm attaching the cifs.ko kernel module for 2.6.39.4 (ICS on the Prime).
CifsManager (search for in market) makes mapping shares and retaining them very easy and is free...busybox mount can be painful.
You must have root to use the module.
cifs.zip contains cifs.ko and cifs.ko_debugon.
the debug_on module has extra extensions/functionality/debug capability. It's not needed, but I included just in case anyone needs it.
great.. now, can you fix the loss of ad hoc network support for tethering we lost in ICS
What is the best way to autoload the md4 module when the cifs module is loaded. cifsmanager could not mount the share unless I manually loaded the md4 module from a shell.
Lock-N-Load said:
great.. now, can you fix the loss of ad hoc network support for tethering we lost in ICS
Click to expand...
Click to collapse
I wish...for now I'm using my EVO's hotspot.
ChrisDos said:
What is the best way to autoload the md4 module when the cifs module is loaded. cifsmanager could not mount the share unless I manually loaded the md4 module from a shell.
Click to expand...
Click to collapse
I'll be honest, I'm new to development in Android. I've been developing and using Linux for a long time, and these phones/tabs aren't exactly built up the way a real linux box is. On our Primes, the init files appear to be baked into the bootloader, so even if you modify one to add insmod calls, its wiped on a reboot.
Once we get the bootloader unlocked.....
Your best bet is to download ScriptManager or an app from the market which you can set to run a custom script after a reboot.
you just need to create something like:
# LoadModules.sh
# Load my kernel modules
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/md4.ko
# end file
Have ScriptManager run this at startup.
Is there also a cifs.ko for Kernel 2.6.36.3 (Honeycomb)?
We german USer have to wait for ICS so an interimssolution woud be great...
reagrds
MrLee
cifs module for HC
Mr99Lee said:
Is there also a cifs.ko for Kernel 2.6.36.3 (Honeycomb)?
We german USer have to wait for ICS so an interimssolution woud be great...
reagrds
MrLee
Click to expand...
Click to collapse
I can't test this, but here you go. Please let me know if it works
Lock-N-Load said:
great.. now, can you fix the loss of ad hoc network support for tethering we lost in ICS
Click to expand...
Click to collapse
Mine appears fine?
ChrisDos said:
What is the best way to autoload the md4 module when the cifs module is loaded. cifsmanager could not mount the share unless I manually loaded the md4 module from a shell.
Click to expand...
Click to collapse
Works fine in combination with CifsManager. In CifsManager settings I checked "Load cifs module", checked "load via insmod" and in "Path to cifs.ko" I wrote both modules - /system/lib/modules/cifs.ko:/system/lib/modules/md4.ko
I just want to say thanks for this...in case anyone's wondering, having the Cifs capability will allow you to run an app like CifsManager to make Samba share folders (for example, the shared folders on a windows network) show up like they're on a drive on your tablet. That means that any file you can open from a memory location on your tablet can be opened from across the network. Apps such as ES File explorer offer a limited capability to open certain types of files directly, if your tablet has an app to open them, but it only works for file types the dev's put into it (in general, movies, music, pictures and pdf's). With Cifs support, anything that can be opened directly on the tablet can be opened over the network, without an intermediary app like ES File Explorer.
sklid said:
I can't test this, but here you go. Please let me know if it works
Click to expand...
Click to collapse
Great!!!!!
Works like a charm. Here comes my 10tb tablet.
Thank you very much!
bis denne
Mr.Lee
ParaTr00per said:
Works fine in combination with CifsManager. In CifsManager settings I checked "Load cifs module", checked "load via insmod" and in "Path to cifs.ko" I wrote both modules - /system/lib/modules/cifs.ko:/system/lib/modules/md4.ko
Click to expand...
Click to collapse
Yea, I did the same thing. I'll give it another reboot and do some more digging.
This probably explains why CIFSManager wouldn't work for me last night
Added the needed 2 modules and provided path to the program, will test when I get home!
Thanks!
ParaTr00per said:
Works fine in combination with CifsManager. In CifsManager settings I checked "Load cifs module", checked "load via insmod" and in "Path to cifs.ko" I wrote both modules - /system/lib/modules/cifs.ko:/system/lib/modules/md4.ko
Click to expand...
Click to collapse
Works very well, thanks for the tip. I have used Cifs Manager before and it always works well.
Just out of curiosity what tool chain are you using to compile these?
scook9 said:
This probably explains why CIFSManager wouldn't work for me last night
Added the needed 2 modules and provided path to the program, will test when I get home!
Thanks!
Click to expand...
Click to collapse
Worked. Thanks!
still a aos newb...
so, i just extract the files from the zip (3) and move them to - system/lib/modules/ with root explorer?
think this works, but what is the file path for ics? mnt/ isn't correct? i keep getting error saying no such file or directory....
fuzzer said:
still a aos newb...
so, i just extract the files from the zip (3) and move them to - system/lib/modules/ with root explorer?
think this works, but what is the file path for ics? mnt/ isn't correct? i keep getting error saying no such file or directory....
Click to expand...
Click to collapse
I had the same problem and after messing with it for a while, I got it to work.
You do place those files in the system/lib/modules/ folder. You need to make sure those modules get loaded by going to a terminal emulator (available in the market) and typing these lines,
Code:
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/md4.ko
After that, the Cifs manager app should work, or you can just type the command for it. Cifs manager app basically just uses this command to mount your drive.
Code:
busybox mount -t cifs //192.168.x.xxx/<Share> /mnt/cifs/<Share> -o username=<username>,password=<password>
You can just put those commands in a script to run each time it boots as well with script manager, but I haven't yet gotten that to work. It seems that app is buggy and crashes a lot on my prime.
Thanks, now how about the folder structure? I tried to put it in removable, and it created a new folder on the root?
is it case sensitive?
also, is it becausae of ICS that some apps don't see "Removble"...i hope they fix this, kinda sux not being able to use the removable sd card for everything....
fuzzer said:
Thanks, now how about the folder structure? I tried to put it in removable, and it created a new folder on the root?
is it case sensitive?
also, is it becausae of ICS that some apps don't see "Removble"...i hope they fix this, kinda sux not being able to use the removable sd card for everything....
Click to expand...
Click to collapse
Are you using the Cifs manager app (or command line)? I have only mounted mine to /mnt/cifs/<Share>. Root explorer can get you to that directory. I just added the video directory (e.g. /mnt/cifs/<Share>/Movies) to Mizuu. Mizuu is amazing if you are using the network drive to stream movies from. Then I don't have to worry about getting to that directory anymore.
You should be able to tell any media player app where to look. I will have to try a different folder location to see if I can get it to mount anywhere else though. I am at work right now though...
when i move the files from the sdcard using root explorer
and try to run it i get
insmod: init_module '/system/lib/modules/cifs.ko' failed (File exists)
What could be the problem?
Edit: it seames to be that the module is alredy loaded, and my problem was the mount pont, all is working now!

Archos 80 G9 Native Xbox Controller Support Problem

Hi,
I've got an Archos 80 G9 and I have been having problems with native support for My Xbox 360 controller.
My setup includes a micro-usb to usb Female adpater in which I have a Xbox Wireless Reciever (Official version).
I attempted some research and according to the Archos changelog
Xbox gamepads are now supported.
I am able to sync the controller with my tablet and then navigate arround the app shortcuts.
When I boot up Shadowgun I am able to navigate the menus but when I boot up into a level as soon as I touch any control the character begins to spin and the controls are disfunctional except from the left analogue to move and the A button for action. I am also unable to use the keybinding functions.
When I use n64oid the support is "better" I can keybind most of the controles except the d-pad and the right analogue stick - the same keys unbindable/disfunctional in Shadowgun.
I am not sure if USB/BT joystick centre is supported on the Archos 80 G9 but I can not make it work with any applications, the Software picks up the controller and shows the keybindings functioning correctly but I can not use the controller in any apps.
My device is running the Rooted firmware availible from this forum version 4.0.5.
Some more research uncovered that the tablet is perhaps just using a generic driver to control the Xbox controller but I am unsure how to correct this issue.
Thank you in advance
Adamaks said:
Hi,
I've got an Archos 80 G9 and I have been having problems with native support for My Xbox 360 controller.
My setup includes a micro-usb to usb Female adpater in which I have a Xbox Wireless Reciever (Official version).
I attempted some research and according to the Archos changelog
Xbox gamepads are now supported.
I am able to sync the controller with my tablet and then navigate arround the app shortcuts.
When I boot up Shadowgun I am able to navigate the menus but when I boot up into a level as soon as I touch any control the character begins to spin and the controls are disfunctional except from the left analogue to move and the A button for action. I am also unable to use the keybinding functions.
When I use n64oid the support is "better" I can keybind most of the controles except the d-pad and the right analogue stick - the same keys unbindable/disfunctional in Shadowgun.
I am not sure if USB/BT joystick centre is supported on the Archos 80 G9 but I can not make it work with any applications, the Software picks up the controller and shows the keybindings functioning correctly but I can not use the controller in any apps.
My device is running the Rooted firmware availible from this forum version 4.0.5.
Some more research uncovered that the tablet is perhaps just using a generic driver to control the Xbox controller but I am unsure how to correct this issue.
Thank you in advance
Click to expand...
Click to collapse
I have to say that personaly i have your same setup, but, i have tried the controller and have had no problems, atleast with the mame emulator... did you format the tab after the upgrade to ics?
Him I'm glad to hear at least someones has had success with the Xbox controller.
In terms of formatting I can't say I did.
Would you reccomened I reinstall everything again?
The proccess I took was:
Paul's root
SDE menu enabled
Remove Pauls root
Load up the custom firmware in recovery
Update
Where in this process should I be formatting? Also are you referring to the 'format device' function in the recovery menus?
Sent from my ARCHOS 80G9 using XDA
TjaXanK said:
I have to say that personaly i have your same setup, but, i have tried the controller and have had no problems, atleast with the mame emulator... did you format the tab after the upgrade to ics?
Click to expand...
Click to collapse
Just to check: are all of the buttons in the n64oid bind able? My controller sort of works but as I said the d-pad and left analogue sticks are not bind able and bring up a 'none' under key bindings.
Thanks
Sent from my ARCHOS 80G9 using XDA
Adamaks said:
Just to check: are all of the buttons in the n64oid bind able? My controller sort of works but as I said the d-pad and left analogue sticks are not bind able and bring up a 'none' under key bindings.
Thanks
Sent from my ARCHOS 80G9 using XDA
Click to expand...
Click to collapse
I'll try binding keys with the n64droid emulator, and try to see how shadowgun works with it.... what I did was, download the latest ICS firmware from archos, go to the recovery menu (volume + button at start-up) and did a device reformat, after that, when it asked me for the firmware I copied the file i downloaded... after that, if you want root, just download an ICS rooted firmware, copy the file to the internal storage, and from the SDE menĂ¹, flash the kernel and initframfs... you don't need to re-enable sde, that will stay there.
TjaXanK said:
I'll try binding keys with the n64droid emulator, and try to see how shadowgun works with it.... what I did was, download the latest ICS firmware from archos, go to the recovery menu (volume + button at start-up) and did a device reformat, after that, when it asked me for the firmware I copied the file i downloaded... after that, if you want root, just download an ICS rooted firmware, copy the file to the internal storage, and from the SDE menĂ¹, flash the kernel and initframfs... you don't need to re-enable sde, that will stay there.
Click to expand...
Click to collapse
OK thanks for the help, I'll get to work and post the results!
Sent from my ARCHOS 80G9 using XDA
Adamaks said:
OK thanks for the help, I'll get to work and post the results!
Sent from my ARCHOS 80G9 using XDA
Click to expand...
Click to collapse
Have to say, the right analogue stick doesn't work, or the directional keys... everything else seems to work... will try to find a fix, because indeed it does create problems in games like shadowgun
---------- Post added at 01:55 PM ---------- Previous post was at 01:47 PM ----------
I still recommend that you reformat the device, since ICS runs faster if it's a clean install
TjaXanK said:
Have to say, the right analogue stick doesn't work, or the directional keys... everything else seems to work... will try to find a fix, because indeed it does create problems in games like shadowgun
---------- Post added at 01:55 PM ---------- Previous post was at 01:47 PM ----------
I still recommend that you reformat the device, since ICS runs faster if it's a clean install
Click to expand...
Click to collapse
I have fond this thread
http://forum.xda-developers.com/showthread.php?t=1407804&page=2
However when I try to follow the instructions on a virtual terminal I encounter a problem:
This is apparently what I should be doing:
su
cd /system/usr/keylayout/
mount -o remount,rw /system
cp Vendor_045e_Product_028e.kl Vendor_045e_Product_0291.kl
However when I get to mount -o remount,rw /system I am told that 'can't find /system in /proc/mounts' Is there some kind of problem with the root? I tried to make /system RW put it refuses to acknowledge its there.
Adamaks said:
I have fond this thread
http://forum.xda-developers.com/showthread.php?t=1407804&page=2
However when I try to follow the instructions on a virtual terminal I encounter a problem:
This is apparently what I should be doing:
su
cd /system/usr/keylayout/
mount -o remount,rw /system
cp Vendor_045e_Product_028e.kl Vendor_045e_Product_0291.kl
However when I get to mount -o remount,rw /system I am told that 'can't find /system in /proc/mounts' Is there some kind of problem with the root? I tried to make /system RW put it refuses to acknowledge its there.
Click to expand...
Click to collapse
Interesting find! Will look into this
Any tutorial? how to connect xbox controler to archos g9?
Just purchased Riptide GP
Manged to keybind everything perfectly and plays very well.
Starting to think the problem is not with my archos but with Shadowngun and N64oid.
Adamaks said:
Just purchased Riptide GP
Manged to keybind everything perfectly and plays very well.
Starting to think the problem is not with my archos but with Shadowngun and N64oid.
Click to expand...
Click to collapse
Seems to be related with some games yes... you might be able to solve the problem with an application that can manage keybinding... still looking into the problem, don't have a lot of time today...

[Modules][TEST] FXP Kernel modules USB OTG {Update: Flashable}

Update: Just flash the flashable zip and use the app in my signature!
Download
-------------------- OLD POST BELOW ------------------------
I am trying to get support for USB OTG and NTFS support for FXP kernel too..
Hence I have compiled required modules against the FXP kernel source.
I am posting here to get maximum eyeballs of FXP kernel users.
If you are willing to test, please download and extract the files to /data/local/tmp
Then on terminal (adb shell / terminal emulator / script manager console ), try to insmod these modules like so (one line at a time)
Code:
insmod /data/local/tmp/usb-storage.ko
insmod /data/local/tmp/ntfs.ko
insmod /data/local/tmp/fuse.ko
insmod /data/local/tmp/isofs.ko
lsmod
Please post your output here..
Thanks for your time.
Download
shardul_seth said:
I am trying to get support for USB OTG and NTFS support for FXP kernel too..
Hence I have compiled required modules against the FXP kernel source.
I am posting here to get maximum eyeballs of FXP kernel users.
If you are willing to test, please download and extract the files to /data/local/tmp
Then on terminal (adb shell / terminal emulator / script manager console ), try to insmod these modules like so (one line at a time)
Code:
insmod /data/local/tmp/usb-storage.ko
insmod /data/local/tmp/ntfs.ko
insmod /data/local/tmp/fuse.ko
insmod /data/local/tmp/isofs.ko
lsmod
Please post your output here..
Thanks for your time.
Download
Click to expand...
Click to collapse
Is this for FXP 125 kernel?
I'm on FXP 126 + official CM9 for a day or two and it doesn't work here. The scripts were executed successfully but I still get "No Drives found to mount error"
But I gotta thank you for your quick response!! :good:
rakmth said:
Is this for FXP 125 kernel?
I'm on FXP 126 + official CM9 for a day or two and it doesn't work here. The scripts were executed successfully but I still get "No Drives found to mount error"
But I gotta thank you for your quick response!! :good:
Click to expand...
Click to collapse
Connect your drive and enter
Code:
dmesg | tail -n 30
lsmod
ls /dev/block/sd??
And copy-paste the output
shardul_seth said:
Connect your drive and enter
Code:
dmesg | tail -n 30
lsmod
ls /dev/block/sd??
And copy-paste the output
Click to expand...
Click to collapse
here are the screenshots.
rakmth said:
here are the screenshots.
Click to expand...
Click to collapse
Your modules are not live.. What was the output of insmod?
Is working
Do not know if I did right. But it worked, put a couple of screen shots to confirm.
Thank you for the work, I appreciate.
juninromualdo said:
Do not know if I did right. But it worked, put a couple of screen shots to confirm.
Thank you for the work, I appreciate.
Click to expand...
Click to collapse
If you just type insmod it does nothing at all, you need to write path to the module after as in OP.
juninromualdo said:
Do not know if I did right. But it worked, put a couple of screen shots to confirm.
Thank you for the work, I appreciate.
Click to expand...
Click to collapse
Yes, congrats! You got it right.. Did you test the app.. It should work now. I will make a CWM flashable zip (or just push the modules to /system/lib/modules/ folder and chmod 644 /system/lib/modules/*)
adridu59 said:
If you just type insmod it does nothing at all, you need to write path to the module after as in OP.
Click to expand...
Click to collapse
See his 2nd try in attached screenshot. Exit code is [ ! $? -gt 0 ]
Flashable zip added, see OP
adridu59 said:
If you just type insmod it does nothing at all, you need to write path to the module after as in OP.
Click to expand...
Click to collapse
So I did the procedure with the correct path, the problem that the terminal android just shows all the way if you are in landscape mode.
Thank you (shardul_seth) for .Zip and have solved a lot of research and questions.
shardul_seth said:
Flashable zip added, see OP
Click to expand...
Click to collapse
After flashing the zip, would it load modules automatically upon boot? Or should I create init.d script to load it upon boot.
ameer1234567890 said:
After flashing the zip, would it load modules automatically upon boot? Or should I create init.d script to load it upon boot.
Click to expand...
Click to collapse
No, just use the app in my signature.. It will do the rest for you!
shardul_seth said:
No, just use the app in my signature.. It will do the rest for you!
Click to expand...
Click to collapse
Oh! I see! Your app is great, btw!
OTG, if implemented correctly, will allow us to plug usb mass storage devices into the phone.. Am I right?
What about USB HID? will this be possible?
What cable shoul be used?
vovkav said:
OTG, if implemented correctly, will allow us to plug usb mass storage devices into the phone.. Am I right?
What about USB HID? will this be possible?
What cable shoul be used?
Click to expand...
Click to collapse
Yes, all of these are already implemented. See the app in my signature!
phone reboots
shardul_seth said:
Yes, all of these are already implemented. See the app in my signature!
Click to expand...
Click to collapse
I'm currently on FXP 136. I've flashed the modules and installed the app but whenever I open the application, my phone reboots.
Possible reason for this???
shardul_seth said:
Yes, all of these are already implemented. See the app in my signature!
Click to expand...
Click to collapse
Shardul is there any chance that the modules would work with JB AOKP rom and kernel - this one for example?
http://forum.xda-developers.com/showthread.php?t=1614562&highlight=fxp
Abhilesh7 said:
I'm currently on FXP 136. I've flashed the modules and installed the app but whenever I open the application, my phone reboots.
Possible reason for this???
Click to expand...
Click to collapse
Same issue for me too, any fix for this???
-Arturo- said:
Shardul is there any chance that the modules would work with JB AOKP rom and kernel - this one for example?
http://forum.xda-developers.com/showthread.php?t=1614562&highlight=fxp
Click to expand...
Click to collapse
freaktechz said:
Same issue for me too, any fix for this???
Click to expand...
Click to collapse
The modules given by shardul don't work for jb, they are only for ics, I guess.
Searching XDA, i came across this thread http://forum.xda-developers.com/showthread.php?t=1780326&page=92.
1) Download the modules for CM10 FXP136.
2) Flash the zip through recovery
3) Mount the USB drive using Shardul's app.
These modules worked for me and I was able to mount a 2GB Transcend Pen Drive.
@Arturo - Try this for AOKP.
@freaktechz - This should solve the issue.
Download the Modules here.
http://www.faircode.eu/freexperia/
Credits to:
1) M66B - for the modules
2) shardul_seth - for the app.
Abhilesh7 said:
The modules given by shardul don't work for jb, they are only for ics, I guess.
Searching XDA, i came across this thread http://forum.xda-developers.com/showthread.php?t=1780326&page=92.
1) Download the modules for CM10 FXP136.
2) Flash the zip through recovery
3) Mount the USB drive using Shardul's app.
These modules worked for me and I was able to mount a 2GB Transcend Pen Drive.
@Arturo - Try this for AOKP.
@freaktechz - This should solve the issue.
Download the Modules here.
http://www.faircode.eu/freexperia/
Credits to:
1) M66B - for the modules
2) shardul_seth - for the app.
Click to expand...
Click to collapse
After flashing that module application says No NTFS Write support.Fails to load any usb drives too...

Categories

Resources