[req] ext4 module - Xperia Play Android Development

As the name of the thread suggests, I'm looking for the xperia play ext4 module. If any kernel dev could compile one and post it here I would be eternally greatful.

It'll be ready in an hour or two based on .145 kernel.
Update: as promised... built from .145 sources, with minimal config because otherwise it's unable to compile. http://www.mediafire.com/file/dkjilue29an2u2k/ext4.ko.zip
Make sure you're on .145 FW.
chmod 777, insmod.

Blagus said:
It'll be ready in an hour or two based on .145 kernel.
Update: as promised... built from .145 sources, with minimal config because otherwise it's unable to compile. http://www.mediafire.com/file/dkjilue29an2u2k/ext4.ko.zip
Make sure you're on .145 FW.
chmod 777, insmod.
Click to expand...
Click to collapse
Thank you sir, will test it shortly and post back results.
Results :-( init_module 'ext4.mo' failed ( Exec format error )
I moved it to system/lib/modules, chmod 777, insmod ext4.ko and no dice. I am on .145 firmware and rooted . Thanks for giving it a shot, very much appreciate it.

Willis111 said:
Thank you sir, will test it shortly and post back results.
Results :-( init_module 'ext4.mo' failed ( Exec format error )
I moved it to system/lib/modules, chmod 777, insmod ext4.ko and no dice. I am on .145 firmware and rooted . Thanks for giving it a shot, very much appreciate it.
Click to expand...
Click to collapse
It's possible that there are different basebands on .145 FW, therefore giving error when on incompatible one.
ext4 support is, however, included in my kernel. Currently the bugs are camera and Wi-Fi, you may want to give it a try if you need ext4 support urgently

Blagus said:
It's possible that there are different basebands on .145 FW, therefore giving error when on incompatible one.
Click to expand...
Click to collapse
Just curious, my baseband version is 7X30A-AAABQMAZM-1290_12-22.

I built the ext4 module using the same firmware version
I flashed but I'm getting the same error when I try to insmod. Think it will be working once we have a working recovery and custom kernel

It's already included in my custom kernel, as I already said...

Related

[Q] OpenVPN on the mini pro

Hello,
I was wondering how to make this work on the mini/pro
http://forum.xda-developers.com/showthread.php?t=919403
My problem is:
insmod: can't insert '/sdcard/openvpn/tun.ko': invalid module format
maybe because differnet kernel from bigdaddyx10?
I'm using stock rooted FW 2.0.A.0.504
Also, can't find openvpn on market.
Thanks!
Pabs
i'll see if i find some sources and will try to build a new .ko
There you go I compiled ipip.ko as well in case you need support for virtual ethernet device as well (I dont know if you need it for sure).
openvpn_ko.zip
Also make sure to change permissions (I think it was root:root, and chmod 644 I could be wrong though)
Cool! Thanks sir! Will try this out later
did anyone try this?
last time i tried tun.ko with openvpn, it rebooted the phone :e( apparently some kind of bug in the original kernel sources
Well insmod for both files work. Make sure to insmod ipip.ko as well its tunneling for ipv4. So i think it should work with openvpn as well. Didnt try openvpn though
Sent from my X10minipro using XDA Premium App
Thanks a lot! First tun.ko that is working.
glad it worked
could you do me a favor and upload the openvpn.apk ? the one i had is way ooold
openvpn is working fine with this tun.ko! just tested it. ip assign successful too
very nice. trying it now!

Samba/CIFS for Motorola defy froyo

I just finished building a cifs.ko module for my motorola defy from source.
As the module has some dependencies to slow-work.ko you will need to load this prior to cifs.ko.
I finished testing it on my Motorola Defy Stock Froyo ROM (Linux version 2.6.32.9-ga28fcc4) and it worked fine. I was able to listen to music from my pc via a network share.
have fun.
tuxx
p.s. i will merge slow-work and cifs into a single module in order to be compatible with single module loading programs such as cifsmanager.
Hi,
cant wait for the merge
How about adding the nls_utf8.ko ?
nls_utf8.ko
i havent had time yet to merge cifs and slow-worker however i took a minute to build nls_utf8.ko...
i haven't tested it so please let me know if it works.. and if not i'll try to fix it (dont forget to post dmesg log)
tuxx
Thanks but... cifs.ko was already working on defy. In THIS thread its asked, and HERE said how make it work.
I did a cwm3+ flasheable zip for my own use, which I am attaching here, which I had working in CM7 until they were included.
To avoid problems with utf8 characters, in cifsManager settings, load via insmod and use path:
"/system/lib/modules/slow-work.ko:/system/lib/modules/nls_utf8.ko:/system/lib/modules/cifs.ko"
Do you really need to work to merge the files? Isn't it enough?
Perilla_ said:
Thanks but... cifs.ko was already working on defy. In THIS thread its asked, and HERE said how make it work.
I did a cwm3+ flasheable zip for my own use, which I am attaching here, which I had working in CM7 until they were included.
To avoid problems with utf8 characters, in cifsManager settings, load via insmod and use path:
"/system/lib/modules/slow-work.ko:/system/lib/modules/nls_utf8.ko:/system/lib/modules/cifs.ko"
Do you really need to work to merge the files? Isn't it enough?
Click to expand...
Click to collapse
thanks for the tip.
however I dont know how the cifs.ko of the other thread was compiled.. the thread you pasted says that a hex editor was used to change the kernel version string in the binary!?! That doesn't sound like a very nice solution. Also.. i had to port a few functions such as round_jiffie() which i saw in other build instructions was simply commented out due to laziness.. I prefer a clean build in which round_jiffie() is implemented (as i presume this is for latencies and will probably play a role for battery life etc.).
However I was unaware that you can ':' separate modules with cifsmanager. Thanks for that tip.
tuxx
p.s. if anyone is interested, i just built GNU screen for android.
Well... no, the cifs I uploaded in the zip, are from the thread that the solution said (this solution), which are from the milestone 2. HERE are the cifs for milestone 2 thread, they works with defy.
tuxx42 said:
i havent had time yet to merge cifs and slow-worker however i took a minute to build nls_utf8.ko...
i haven't tested it so please let me know if it works.. and if not i'll try to fix it (dont forget to post dmesg log)
tuxx
Click to expand...
Click to collapse
Hi,
going to test it this evening on a stock 2.6.32.9-ga28fcc4. I ll try to use the "multi:module" functionality of CIFSManager.
Perilla_ said:
Thanks but... cifs.ko was already working on defy. In THIS thread its asked, and HERE said how make it work.
Click to expand...
Click to collapse
Hi,
i thought this module was for the .29 kernel and is broken for stock 2.2.2 ?
Thats why i never bothered to try...
I used those cifs from eclair to CM7 ginger!

[Q] WIFI error for x10

I use the rom called ThGo2 v15.0
I followed all the instruction, and everything is working fine except wifi.
When i try to turn on wifi, it shows an error. That is it.
Could someone help me with that. Thank you so much.
here is his thread
t=1193001"]http://forum.xda-developers.com/showthread.php?t=1193001[/URL]
you probably need to flash the wifi modules for whatever kernal you are using. Simply save them to your phone and flash with xRec or CW
wifi error
I think i flashed that
could you help me to find the file?
Thank you very much
Hi there,
I've got the same problem but with another ROM.
I have Wolfs TW Gingerbread and X10_2.3.3_DooMKernel-v06-FS-BootManager-v2.0.ftf with x10_gb_DooMKernel-v06-FS_wifi modules but there's still a wifi error...
The wifi module has to be flashed in xrecovery over the install custom zip option, right?
Edit1: Urgh, i see, i flashed wrong kernel version...had v05a instead of v06... :S
Edit2: So, now i flashed the things i wrote above, and i have still the error...i'm going mad xd
Edit3: Call me dumb or whatever, i finally figured out i had to reinstall the ROM after installing Kernel when the ROM was already booted once ;D
chuck199316 said:
I think i flashed that
could you help me to find the file?
Thank you very much
Click to expand...
Click to collapse
This is KERNEL (It's link is in OP from link you posted in your OP)
KERNEL
(You flash this through FLASHTOOL)
This is WIFI modules (for this kernel above):
WIFI MODULES
(You flash this through XRECOVERY)
If you are using other Kernel, pls tell us ..
Cheers
help
chuck199316 said:
I use the rom called ThGo2 v15.0
I followed all the instruction, and everything is working fine except wifi.
When i try to turn on wifi, it shows an error. That is it.
Could someone help me with that. Thank you so much.
here is his thread
t=1193001"]http://forum.xda-developers.com/showthread.php?t=1193001[/URL]
Click to expand...
Click to collapse
try to tlash this http://www.mediafire.com/?dgg1ja497mc13db hope it helps
Hi!
I'm using DoomKernel, not overclocked and using the Xperia S-tation v3.0 custom rom. Everythign works fine except the Wi-Fi. It just tells error.
Is there any chance of fixing this?
Thanks!
i'm using ROM zetra X gaming and i have that error to so can anyone find wifi modules for this ROM please
android 2.3.4
and doomlord kernel or samething like that
Vengeance66 said:
Hi!
I'm using DoomKernel, not overclocked and using the Xperia S-tation v3.0 custom rom. Everythign works fine except the Wi-Fi. It just tells error.
Is there any chance of fixing this?
Thanks!
Click to expand...
Click to collapse
Read DoomKernel thread: http://forum.xda-developers.com/showthread.php?t=1253853
Dudes, fear not you're not going mad re: DoomKernel v6 WiFi modules.
I'm NOT clear on the specifics(long time ago) but at least I can direct a different line of questions.
The WiFi and or any *.ko in /system/lib/modules/*.ko is wiped on boot by /etc/init.d/00modules.
00modules is a text file and can be viewed (I wouldn't edit it)
You'll see the script clears all *.ko and then replaces them with those found in /system/kernel/${KVER}/*.ko
It uses busybox to do this.
I guess the logic behind it is, that different kernels when booted will use different *.ko.
So.... what I did was extract the wifi.ko and other *.ko files out of the .zip and then place them in /system/kernel/${KVER}/ where ${KVER} is you kernel version
If there is already *.ko file in system/kernel/${KVER}/*.ko I'd back them up before I overwrote them with new ones.
The new *.ko in /system/kernel/${KVER}/*.ko need the following permission rw-r--r--
This worked for me (almost years ago) when I was having problems.
NOW, I'm not saying this is the answer, but this may be an area to explore if WiFi reverts to an "failing" version each time you boot no matter if you install the new modules in /system/lib/modules or not.
Hope this helps...

View4G - cifs tun nls_utf8 modules for both stock GB and HC kernels

I needed a working cifs module for my view and decided to provide modules that people in the other thread were looking for as well.
cifs performed well in both kernels. References to slow_work have been removed.
Honestly, I didn't test tun.ko or nls_utf8.ko other than to make sure that they went through insmod with out any errors. The HC kernel seems to already have tun compiled in to the kernel as the dmesg error said it already existed. YMMV.
I based the update zips off of LeeDroid's last go at it, so thanks to him for that.
With this, the update zips support init.d, but unless you have it, you'll have to do an insmod when needed. I use CIFSManager from the market for cifs. Be sure to go through the settings to load the module as needed.
Here are the goodies:
For GB - Kernel 2.6.35.10-g5b3e78b:
flashable zip here (updated link 3/24/13)
includes:
cifs.ko
tun.ko
nls_utf8.ko
For HC - Kernel 2.6.35.10-g238a0bf:
flashable zip here (updated link 3/24/13)
includes:
cifs.ko
nls_utf8.ko
(does not include tun.ko for reasons stated above)
You're on your own with these from now on. Good luck!
FrakMe
PS: if the links die again, just send me a pm to let me know.
FrakMe said:
I needed a working cifs module for my view and decided to provide modules that people in the other thread were looking for as well.
cifs performed well in both kernels. References to slow_work have been removed.
Honestly, I didn't test tun.ko or nls_utf8.ko other than to make sure that they went through insmod with out any errors. The HC kernel seems to already have tun compiled in to the kernel as the dmesg error said it already existed. YMMV.
I based the update zips off of LeeDroid's last go at it, so thanks to him for that.
With this, the update zips support init.d, but unless you have it, you'll have to do an insmod when needed. I use CIFSManager from the market for cifs. Be sure to go through the settings to load the module as needed.
Here are the goodies:
For GB - Kernel 2.6.35.10-g5b3e78b:
flashable zip here
includes:
cifs.ko
tun.ko
nls_utf8.ko
For HC - Kernel 2.6.35.10-g238a0bf:
flashable zip here
includes:
cifs.ko
nls_utf8.ko
(does not include tun.ko for reasons stated above)
You're on your own with these from now on. Good luck!
FrakMe
Click to expand...
Click to collapse
So do these work or are you just posting them to let people build off of?
Thank you sooo much.
Works on my stock HC.
Been waiting a long time for this. My view is finally perfect.
spartan1987 said:
So do these work or are you just posting them to let people build off of?
Click to expand...
Click to collapse
They work, at least as far as I can test tun and nls_utf8.
I'm using the cifs module now on my hc view.
I just don't plan to do a lot of maintenance/updates on them. I used the flyer hc and view gb kernels from htcdev, if you were wondering.
x51 said:
Thank you sooo much.
Works on my stock HC.
Been waiting a long time for this. My view is finally perfect.
Click to expand...
Click to collapse
Your welcome.
I'm glad someone besides me found them useful.
I reverted my View running ViperRom to Stock GB and these modules are working.... I am restoring my apps from a TitaniumBackup directory on a WDMyBookLive now! Thanks so much!
For those of you that have the openvpn working, can you get all your internet traffic routed thru the vpn tunnel? I install the openvpn-installer-0.2.4.apk and openvpn-settings-0.4.9.apk, got error and couldn't connect. I then substituted the openvpn binary from the openvpn-static-2.1.1.bz2, and am able to connect to the openvpn server, but I keep getting the "connecting" or "connected" message in the status bar, and all my internet traffics don't seem to go thru the tunnel. Anyone has the same problem?
I have a View running HC at the moment.
coolbird said:
For those of you that have the openvpn working, can you get all your internet traffic routed thru the vpn tunnel? I install the openvpn-installer-0.2.4.apk and openvpn-settings-0.4.9.apk, got error and couldn't connect. I then substituted the openvpn binary from the openvpn-static-2.1.1.bz2, and am able to connect to the openvpn server, but I keep getting the "connecting" or "connected" message in the status bar, and all my internet traffics don't seem to go thru the tunnel. Anyone has the same problem?
I have a View running HC at the moment.
Click to expand...
Click to collapse
This isn't the place for that question. Might want to try the Q&A board.
Does anyone still have a copy of these? Specifically the HC ones? Original link no longer works. Thanks.
tselling said:
Does anyone still have a copy of these? Specifically the HC ones? Original link no longer works. Thanks.
Click to expand...
Click to collapse
Sorry for the wait, I don't frequent this forum.
I re-uploaded the files to a new host and updated the links in the OP.
Good luck.
FrakMe said:
Sorry for the wait, I don't frequent this forum.
I re-uploaded the files to a new host and updated the links in the OP.
Good luck.
Click to expand...
Click to collapse
Thanks.
---------- Post added at 05:37 PM ---------- Previous post was at 05:14 PM ----------
FrakMe said:
Sorry for the wait, I don't frequent this forum.
I re-uploaded the files to a new host and updated the links in the OP.
Good luck.
Click to expand...
Click to collapse
Hi, The Honeycomb file appears to be the wrong one. Its and exe file and when opened doesn't have the drivers.. has some other stuff. Could you check on that please. Thanks..
tselling said:
Thanks.
---------- Post added at 05:37 PM ---------- Previous post was at 05:14 PM ----------
Hi, The Honeycomb file appears to be the wrong one. Its and exe file and when opened doesn't have the drivers.. has some other stuff. Could you check on that please. Thanks..
Click to expand...
Click to collapse
The link does indeed go to the correct zip file. View-stock_hc-CIFS-UTF8-FrakMe.zip
Use the "continue as free user" option on sockshare instead of the top one with their downloader.

[KERNEL MODULE] Make /system writeable

This is a kernel module that defeats HTC's system write protection
Devs are free to use this in their ROMs, just credit me and link here
Download:
Kernel version 3.0.21-g6c11713: http://goo.gl/u39km
Kernel version 3.0.21-gfdb1a80: http://goo.gl/5hRmU
Click to expand...
Click to collapse
How to use:
copy the module to your device (eg: /system/lib/modules), insert the module, then remount system
insmod /system/lib/modules/wp_mod2.ko
mount -o remount,rw /system
This must be done at boot, if you make changes to /system, then load the module, you risk corrupting the filesystem.
How to implement in ROMs
There are two good ways to implement this in ROMs:
1. make an init.d script containing the commands above
or
2. add the commands to init.rc in the ramdisk
NOTE TO POTENTIAL KERNEL DEVS:
The module would not be necessary if you make a custom kernel. Simply make sure it is compiled without CONFIG_MMC_MUST_PREVENT_WP_VIOLATION
Please hit the Thanks button if you download this
If you really like it, please consider buying me a beer
Source code: http://goo.gl/VmSwe
This is a great news...
I think most people is using kernel version 3.0.21-g6c11713
as this comes with the EU & Asia ROM.
It will only work for the exact kernel version, and even then it may take many attempts before I get it right.
Here's one for kernel version 3.0.21-g6c11713
download: http://goo.gl/Vtcex
Please let me know exactly what happens after running the commands in the OP
Warning: don't go trying this unless you know what you're doing, it probably won't work yet and it might crash your device
flar2 said:
It will only work for the exact kernel version, and even then it may take many attempts before I get it right.
Here's one for kernel version 3.0.21-g6c11713
download: http://goo.gl/Vtcex
Please let me know exactly what happens after running the commands in the OP
Warning: don't go trying this unless you know what you're doing, it probably won't work yet
Click to expand...
Click to collapse
I just change the version no to the earlier wp_mod2.ko and tested, it works
I can delete a file and after reboot the deleted file is not returning
Testing your new wp_mod2.ko and will let you know in a while
EDIT:
Yeah...Whoa... tested the new wp_mod2.ko and ...yippieeee... IT WORKS
Attached are the screenshot before and after I removed 3 items
Thanks a lot
So I guess the best is to edit the ramdisk to run this module ?
Or an init.d script will be enough ?
Sorry for a noobish question.
And request for permission to include this in my ROM... thanks
ckpv5 said:
I just change the version no to the earlier wp_mod2.ko and tested, it works
I can delete a file and after reboot the deleted file is not returning
Testing your new wp_mod2.ko and will let you know in a while
EDIT:
Yeah...Whoa... tested the new wp_mod2.ko and ...yippieeee... IT WORKS
Attached are the screenshot before and after I removed 3 items
Thanks a lot
Click to expand...
Click to collapse
Great! Thanks for testing.
I'll update the OP.
While I'm at this are there any other kernel versions in use?
ckpv5 said:
So I guess the best is to edit the ramdisk to run this module ?
Or an init.d script will be enough ?
Sorry for a noobish question.
And request for permission to include this in my ROM... thanks
Click to expand...
Click to collapse
Either way will work fine
Anyway, you're no noob, I used your ROMs back when I had a One V, top notch stuff!
flar2 said:
Either way will work fine
Click to expand...
Click to collapse
Yep.. confirm either way works fine.
Thanks again for this great mod
flar2 said:
This is a kernel module that defeats HTC's system write protection
Devs are free to use this in their ROMs, just credit me and link here
How to use:
copy the module to your device (eg: /system/lib/modules), insert the module, then remount system
insmod /system/lib/modules/wp_mod2.ko
mount -o remount,rw /system
This must be done at boot, if you make changes to /system, then load the module, you risk corrupting the filesystem.
How to implement in ROMs
There are two good ways to implement this in ROMs:
1. make an init.d script containing the commands above
or
2. add the commands to init.rc in the ramdisk
NOTE TO POTENTIAL KERNEL DEVS:
The module would not be necessary if you make a custom kernel. Simply make sure it is compiled without CONFIG_MMC_MUST_PREVENT_WP_VIOLATION
Source code: http://goo.gl/VmSwe
Click to expand...
Click to collapse
Thank you so much for making this.
Yes, yes, yes!!
Finally i can remove sh*t and integrate updates into system with link2sd on my desire x
thanks man!
@ckpv5
thanks for the addon you made for your mysense-rom
Thanks man, looks great.
I'll add this in Half~Sense V 0.8
Sent from my awesome fridge
Added to Index, a very usefull tool.
It works, added it as an init.d script.
Adding in V.0.8
Hi,
can anyone made a flashable ZIP for users who has already installed some ROMs on HTC Desire X please ?
thanks, Petr
monopoly said:
Hi,
can anyone made a flashable ZIP for users who has already installed some ROMs on HTC Desire X please ?
thanks, Petr
Click to expand...
Click to collapse
cpkv5 made some zip for mySense: Link. It's working for me.
Hi flar2
Any chance a mod for 3.0.21-g01fle38 ?
I tried and it works fine for me and most users but today one user mentioned my edited wp_mod2.ko not working.
so maybe you can help with a proper one ?
thanks in advance.
ckpv5 said:
Hi flar2
Any chance a mod for 3.0.21-g01fle38 ?
I tried and it works fine for me and most users but today one user mentioned my edited wp_mod2.ko not working.
so maybe you can help with a proper one ?
thanks in advance.
Click to expand...
Click to collapse
I'm going to try to install your version and see if I can change the CID permanently (or delete the apps permanently too). I have flashed the OC kernel from atis112 so I guess I don't need to flash yours too, right?
Thanks flar2 for your work!
gbueno6 said:
I'm going to try to install your version and see if I can change the CID permanently (or delete the apps permanently too). I have flashed the OC kernel from atis112 so I guess I don't need to flash yours too, right?
Thanks flar2 for your work!
Click to expand...
Click to collapse
You CAN''T change CID without S-OFF.
Stereo8 said:
You CAN''T change CID without S-OFF.
Click to expand...
Click to collapse
I know, but I saw some topics regarding change CID with S-ON in One S so I just wanted to try (with no luck).
Well, I really want to S-OFF so I can flash kernels from recovery...
Sent from my HTC branded muffin...

Categories

Resources