[Modules][TEST] FXP Kernel modules USB OTG {Update: Flashable} - Sony Ericsson Xperia Neo, Pro

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...

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

[MODULE | TEST] Native Wifi Tethering / Netfilter | by AnDyX

NEEDED MEDIUM / HIGH ANDROID KNOWLEDGE
Hello, guys, as some of you know, AnDyX (X8 forums, please give him a thumbs up for this) managed to build a module for hijack kernel to enable NetFilter, that includes Iptables, and of course and not less important Native wifi tethering.
So this is the current installation method (need to be runned again on reboot):
1. Download .zip (MD5: 7006E968E6C9B30E643ECB49756A2C25)
2. ADB Shell / Console emulator
Code:
busybox mount -o remount,rw -t yaffs2 `mount | busybox grep /system | awk '{print $1}'` /system
chmod +x /system/xbin/iptables
sh /system/xbin/full_iptables.sh
busybox mount -o remount,ro -t yaffs2 `mount | busybox grep /system | awk '{print $1}'` /system
3. Now module should be loaded.
Will upload full working and permanent module soon...
Already replied in the X8 thread - seems to install fine, but initial cursory testing with proxy scripts failed.
Have not tried tethering yet, but will do tomorrow assuming I have time at work!
Is this just "for the moment" and will be gone when I reboot ?
Otherwise thanks
wow! i really need this for ssh tunneling and proxy..heh2
EDIT:i just found an app called droidproxy for proxying my ip..so just need this module for tunneling..
Hmm, if you guys manage to get this module to a stable state..... *lost in dream*
Is there anything this little phone can't do? (exception : flash)
Guys, uploaded last version, thanks to AnDyX, needed testers (preferible with 3G data plan).
Cheers.
D4.
@dark
all i need to flash it in cwm is that correct. i am going to try.
edit: got first reboot as i enabled the 2g connection. lolz
i think its only supports usb tethering, is that correct, are you also working on wifi tethering.
thanks another grt job.
shravanchoudhary9 said:
@dark
all i need to flash it in cwm is that correct. i am going to try.
edit: got first reboot as i enabled the 2g connection. lolz
i think its only supports usb tethering, is that correct, are you also working on wifi tethering.
thanks another grt job.
Click to expand...
Click to collapse
First, this is not my work. Second, Instructions and details are on first post, did you even read it?. Third, Title it's NATIVE WIFI TETHERING, how you dare to ask if this is USB tethering?
No offends of course, but please read before asking
D4rKn3sSyS said:
First, this is not my work. Second, Instructions and details are on first post, did you even read it?. Third, Title it's NATIVE WIFI TETHERING, how you dare to ask if this is USB tethering?
No offends of course, but please read before asking
Click to expand...
Click to collapse
omg sorry dude, i was that much excited that i skipped the "wifi" and only read native tethering so please sorry and i already hitted my thanks andyx and you also.
.
also i have flashed that.
D4rKn3sSyS said:
Guys, uploaded last version, thanks to AnDyX, needed testers (preferible with 3G data plan).
Cheers.
D4.
Click to expand...
Click to collapse
Hi, I can test. I'm using your cyanocomb and I have unlimited data. But I don't have Android knowledge. All I can do is flash things with CWM...
Sent from my U20i using XDA App
SamuelDebruyn said:
Hi, I can test. I'm using your cyanocomb and I have unlimited data. But I don't have Android knowledge. All I can do is flash things with CWM...
Sent from my U20i using XDA App
Click to expand...
Click to collapse
I assume you can use adb?
on your pc open cmd and do the following (after you flashed it with cwm)
1)adb shell -after this, it will go into your phones' terminal
2) /system/xbin/full_iptables.sh
3) exit
4) adb shell dmesg > dmesg.txt
5) adb shell lsmod > lsmod.txt
6) adb shell iptables -L > iptables.txt
7) adb shell iptables -t nat -L >> iptables.txt
and post dmesg.txt,lsmod.txt and iptables.txt on the module's thread (in the x8 forums).
make sure to include what device you are using. Also test using Wireless Tether for Root Users (from market) and post results there too.
EDIT: If you do not know how to use adb, use the batch script provided. Just plug your phone into your computer and make sure USB debugging is enabled (and you flashed v2 of the module).
Awesome work.
Question. this module will allow "Droid Wall" to work correctly?
I think it should...
It should, once they get it working.
WiFi tethering working now
WiFi tethering working now with V-3
some one please make easy installation of V-3 Module
mukptl said:
WiFi tethering working now with V-3
some one please make easy installation of V-3 Module
Click to expand...
Click to collapse
Thanks for the info, ill build some easy script as son as I get home
here is flashable Netfilter v003
Eyama said:
here is flashable Netfilter v003
Click to expand...
Click to collapse
Thanks, but just for be clear, with that zip you still need to do commands from console emulator on first post
yes i konow but mukptl just want to have flashable modules
Q: what is about .apk that AnDyX made and is posted in his thread named signedwireless_tether_2_0_7.apk?
Eyama said:
yes i konow but mukptl just want to have flashable modules
Q: what is about .apk that AnDyX made and is posted in his thread named signedwireless_tether_2_0_7.apk?
Click to expand...
Click to collapse
It's a software modded that can run the right scripts to enable wifi tethering (so you install zip, then run sh commands, and then install apk for tethering)
Thanks for info. i will wait for you to make proper script beacuse i know that you are genius

iptables/netfilter support x8 (SOLVED and mini tuto for dummies!)

iptables/netfilter support in custom roms.. needed in gingerdx!
Ive tried this http://forum.xda-developers.com/showthread.php?t=1184907&highlight=iptables/netfilter+support
But doesn't work droid wall
You did something wrong. I have this module installed and DroidWall works without problem.
Im using this rom http://forum.xda-developers.com/showthread.php?t=1188486
I installed iptables on GingerDX and DroidWall works...
Ok, thanks to confirm that it works.... ill try again..
charcutero said:
iptables/netfilter support in custom roms.. needed in gingerdx!
Ive tried this http://forum.xda-developers.com/showthread.php?t=1184907&highlight=iptables/netfilter+support
But doesn't work droid wall
Click to expand...
Click to collapse
you can used 软件名称:LBE手机隐私卫士
LBE隐私卫士内置了底层防火墙功能,允许用户单独控制每一个应用程序的联网权限。此防火墙不依赖于netfilter/iptables,可以在全系列Android平台上使用
Partially working
Ok guys... now i have working droid wall (partially)
Mini tuto I did with root explorer:
1.- Uncompress module in sdcard and copy in folders following instructions.
2.- Give 'x' priviliges to basic_iptables.sh and full_iptables.sh (I forgot this before )
Long click over file, permissions, click on execute in Owner.
3.- Now clic on full_iptables.sh and execute. (another mistake I had was executing basic_iptables. Only works Droidwall with full_iptables for me)
4.- Go DroidWall and load firewall. All OK.
But now I have a problem. If I reboot phone, Droidwall doesn't work again. I have to run full_iptables.sh after each reboot. Do you need too???
Thanks
I added this line to hw_config.sh and it works after reboot:
sh /system/xbin/full_iptables.sh
dbts25 said:
I added this line to hw_config.sh and it works after reboot:
sh /system/xbin/full_iptables.sh
Click to expand...
Click to collapse
OK.. thanks a lot.
does it works with its official firmware?.,
dinglasan_bernie said:
does it works with its official firmware?.,
Click to expand...
Click to collapse
Yes, i think... but remember, you need root access.
i've installed netfilter module and add command line in hw_config on ginger dx rom..
my laptop can detect my phone but cannot connect to the internet :-( what's wrong?
somebody help me please....
Droidwall
alharun said:
i've installed netfilter module and add command line in hw_config on ginger dx rom..
my laptop can detect my phone but cannot connect to the internet :-( what's wrong?
somebody help me please....
Click to expand...
Click to collapse
After that you need a program to specify rules. I use Droidwall, it's free in the market. I only need to block some programs, and Droidwall does that. I hope somebody can help you.
Runs on x10 mini? Currently, I DwoidWall error:
Error applying iptables rules.
Exit code: 2
At CyanogenMod 7, this additive is not checked, I'm waiting for feedback.
mrozilla said:
Runs on x10 mini? Currently, I DwoidWall error:
Error applying iptables rules.
Exit code: 2
At CyanogenMod 7, this additive is not checked, I'm waiting for feedback.
Click to expand...
Click to collapse
Have to install netfilter. Read above
didnt work with me

[krn.modules] xpad.ko for XBOX 360 gamepad

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!!??

[ROM][D605] [CM11 M] OTG, zRam and Offline charging

CM11 M for d605
it is based on Varcain kernel and device tree, much thanks for your work and releasing source code!
Just woke up from my slumber, because I realized, that my domain expired and links get broken.
Sorry, but nothing new, only links fix
Kernel
what is new:
More free ram, over 35MB
Screenshot: http://forum.xda-developers.com/attachment.php?attachmentid=3146159&d=1422877546
Added new cpu governor - Interactive, default scheduler is noop
Kernel modules for zRam, usb storage, gamepads, and others
Support for USB-OTG with external charger, based on ziddey's work for Mako
Source: http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
Fixed offline charging
zRam control
what is that:
Very simple app, setup zram by yourself and watch stats. zRam settings won't survive reboot!
After creation zram device, for short time, one value in stats is temporally broken because no data .
Screenshot: http://forum.xda-developers.com/attachment.php?attachmentid=3146160&d=1422877546
Framework
patched framework and settings for usb flashdisk
few UI colors changes
Install
Wipe data and cache. Then just flash archive in recovery.
Download: http://46.28.109.28/cm.zip
Source
Somehow stable source code is on my github, PM me for questions.
https://github.com/puresoul
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
OTG will work only with external charger. So you need something like that.
shall I wipe something after installation? if something goes wrong, will cmw recovery start anyway(i've installed v3 today)?
You may wipe cache and dalvik cache, but it is not needed to wipe something. Nope, installation process will not touch recovery partition.
cescom said:
shall I wipe something after installation? if something goes wrong, will cmw recovery start anyway(i've installed v3 today)?
Click to expand...
Click to collapse
Puresoul_CZ said:
You may wipe cache and dalvik cache, but it is not needed to wipe something. Nope, installation process will not touch recovery partition.
Click to expand...
Click to collapse
It works perfectly also without any wipe (i was too happy to try this that i forgot to wipe), thanks! :fingers-crossed:
No problem, thanks.
Puresoul_CZ said:
No problem, thanks.
Click to expand...
Click to collapse
Great work for RAM:good:, but i've gone to the gallery and sdcard is not recognised anymore
I have the same problem. Where I can find zRam settings?
Could you include rtl8192cu driver with your build?
edit: everything is now bundled together as a whole rom.
dundee81 said:
I have the same problem. Where I can find zRam settings?
Click to expand...
Click to collapse
Ok, thx What about mounting sdcard?
please send me dmesg log
immediately after reboot type in terminal, su; dmesg > /cache/dmesg.log
and send me that file
Thanks
Puresoul_CZ said:
please send me dmesg log
immediately after reboot type in terminal, su; dmesg > /cache/dmesg.log
and send me that file
Thanks
Click to expand...
Click to collapse
where can i send it?
Using terminal emulator, shall i use adb? because terminal emulator takes a lot to start
yes, adb is way batter
cescom said:
where can i send it?
Using terminal emulator, shall i use adb? because terminal emulator takes a lot to start
Click to expand...
Click to collapse
i suspect kernel modules, but for sure need to check log.
this may be the case, i forgot to add the permision file. Update: http://frame.jailbrake.cz/boot_v2.zip
boot_v2
I don´t read sd card
Puresoul_CZ said:
this may be the case, i forgot to add the permision file. Update: http://frame.jailbrake.cz/boot_v2.zip
Click to expand...
Click to collapse
set perm:some changes failed (cwm)
did you flash boot.zip or boot_v2.zip?
sinnombrexxl said:
I don´t read sd card
Click to expand...
Click to collapse
check please file handheld_core_hardware.xml
if exists at /system/etc/permissions/handheld_core_hardware.xml
here is that file: http://frame.jailbrake.cz/hch.zip
cescom said:
set perm:some changes failed (cwm)
Click to expand...
Click to collapse

Categories

Resources