FORUMS
Remove All Ads from XDA

[DEV] A500 Kernel Modules

731 posts
Thanks Meter: 524
 
By thor2002ro, Senior Member on 1st May 2011, 12:21 PM
Post Reply Email Thread
I've began to work on a Kernel modules for the A500.

Code:
CIFS
TUN
USB-SERIAL-OPTION(USB 3G DRIVER)
USB-SERIAL-WWAN(needed by the 3g driver)
nls_utf8
Tested CIFS and OPTION and working (:

if you guys need other modules just say so.

modules.rar is for kernel 2.6.36.3-00001-gf991e5d
modules - k2.6.36.3-00001-g9b3ce2b.zip for kernel 2.6.36.3-00001-g9b3ce2b
modules - k2.6.36.3-00001-g12f9a52.zip for kernel 2.6.36.3-00001-g12f9a52
modules - k2.6.36.3.zip for kernel 2.6.36.3

modules - k2.6.36.3-00005-g5dff38c - acer 3.1 kernel leak

original kernel modules can be found here: http://forum.xda-developers.com/show...4&postcount=62
The Following 36 Users Say Thank You to thor2002ro For This Useful Post: [ View ] Gift thor2002ro Ad-Free
 
 
1st May 2011, 03:50 PM |#2  
Member
Thanks Meter: 0
 
More
can't insmod cifs.ko getting a exec format error
is there a dependency missed?
1st May 2011, 04:03 PM |#3  
thor2002ro's Avatar
OP Senior Member
127.0.0.1
Thanks Meter: 524
 
Donate to Me
More
no mine works fine..... what does it say in dmesg?

edit: do you have the 3g model?
The Following User Says Thank You to thor2002ro For This Useful Post: [ View ] Gift thor2002ro Ad-Free
1st May 2011, 05:07 PM |#4  
Junior Member
Thanks Meter: 0
 
More
Thanks thor2002ro, cifs.ko work grate on my A500.

But have one problem on utf8. When i mount with "iocharset=utf8" show below error:
failed: Can not access a needed shared library

I think need another utf8 module?

Thanks again.
1st May 2011, 06:03 PM |#5  
thor2002ro's Avatar
OP Senior Member
127.0.0.1
Thanks Meter: 524
 
Donate to Me
More
Quote:
Originally Posted by wood1978

Thanks thor2002ro, cifs.ko work grate on my A500.

But have one problem on utf8. When i mount with "iocharset=utf8" show below error:
failed: Can not access a needed shared library

I think need another utf8 module?

Thanks again.

yes you need nls_utf8.ko i will build it later...
1st May 2011, 06:06 PM |#6  
Senior Member
Thanks Meter: 44
 
More
openvpn
Can you build tun.ko for openvpn please ?
1st May 2011, 06:45 PM |#7  
thor2002ro's Avatar
OP Senior Member
127.0.0.1
Thanks Meter: 524
 
Donate to Me
More
Quote:
Originally Posted by bouaroudj

Can you build tun.ko for openvpn please ?

cant you read? :| its built.... :|
1st May 2011, 06:56 PM |#8  
thor2002ro's Avatar
OP Senior Member
127.0.0.1
Thanks Meter: 524
 
Donate to Me
More
Quote:
Originally Posted by wood1978

Thanks thor2002ro, cifs.ko work grate on my A500.

But have one problem on utf8. When i mount with "iocharset=utf8" show below error:
failed: Can not access a needed shared library

I think need another utf8 module?

Thanks again.

built it... its in the first post
The Following User Says Thank You to thor2002ro For This Useful Post: [ View ] Gift thor2002ro Ad-Free
1st May 2011, 07:40 PM |#9  
saeba's Avatar
Senior Member
Thanks Meter: 50
 
More
Quote:
Originally Posted by thor2002ro

no mine works fine..... what does it say in dmesg?

edit: do you have the 3g model?

I'm having the same issue.

I copied cifs.ko to the tablet. Used root explorer to move it to the existing /system/lib/modules directory. Then:

adb shell
#su
#insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/cifs.ko
insmod: init_module '/system/lib/modules/cifs.ko' failed (Exec format error)

dmesg has...
<3>[ 2235.293898] cifs: version magic '2.6.36.3-00001-gf991e5d SMP preempt mod_unload ARMv7 ' should be '2.6.36.3-00001-g9b3ce2b SMP
preempt mod_unload ARMv7 '
<3>[ 2422.009026] cifs: version magic '2.6.36.3-00001-gf991e5d SMP preempt mod_unload ARMv7 ' should be '2.6.36.3-00001-g9b3ce2b SMP
preempt mod_unload ARMv7 '

And I have the US version... Product SKU 3G, Model ID A501.
1st May 2011, 07:59 PM |#10  
Junior Member
Thanks Meter: 0
 
More
tun.ko not working ?
Thanks for theses modules but I tried the tun.ko but I get an error :

$ su
su
# insmod /sdcard/openvpn/tun.ko
insmod /sdcard/openvpn/tun.ko
insmod: init_module '/sdcard/openvpn/tun.ko' failed (Exec format error)
#
1st May 2011, 08:05 PM |#11  
saeba's Avatar
Senior Member
Thanks Meter: 50
 
More
Thumbs up
Quote:
Originally Posted by saeba

dmesg has...
<3>[ 2235.293898] cifs: version magic '2.6.36.3-00001-gf991e5d SMP preempt mod_unload ARMv7 ' should be '2.6.36.3-00001-g9b3ce2b SMP
preempt mod_unload ARMv7 '
<3>[ 2422.009026] cifs: version magic '2.6.36.3-00001-gf991e5d SMP preempt mod_unload ARMv7 ' should be '2.6.36.3-00001-g9b3ce2b SMP
preempt mod_unload ARMv7 '

And I have the US version... Product SKU 3G, Model ID A501.

OK. Did a hex edit of the cifs.ko file replacing 'gf991e5d' with 'g9b3ce2b' and it seems to be working for my a501. If anyone else wants to try it, I've attached the edited file.

Thanks so much for this :)!!!! This is the one piece missing that I really wanted on my Acer :)!!! Thanks and will send a long a donation. Well worth it!
Attached Files
File Type: zip cifs.zip - [Click for QR Code] (1.14 MB, 424 views)
The Following User Says Thank You to saeba For This Useful Post: [ View ] Gift saeba Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes