[DEV] A500 Kernel Modules

Search This thread

thor2002ro

Senior Member
Oct 11, 2007
731
519
38
127.0.0.1
www.tegraowners.com
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://xdaforums.com/showpost.php?p=13974214&postcount=62
 

Attachments

  • modules.rar
    1 MB · Views: 5,784
Last edited:

wood1978

New member
Dec 25, 2007
4
0
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.
 

saeba

Senior Member
Apr 14, 2006
307
50
Atlanta
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.
 

rgouyet

Member
Jan 17, 2007
13
0
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)
#
 

saeba

Senior Member
Apr 14, 2006
307
50
Atlanta
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!
 

Attachments

  • cifs.zip
    1.1 MB · Views: 440
Last edited:
  • Like
Reactions: thor2002ro

thor2002ro

Senior Member
Oct 11, 2007
731
519
38
127.0.0.1
www.tegraowners.com
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.

you have a different kernel version :O

do:
Code:
adb pull /proc/config.gz config.gz

and post it here...and i will compile you guys different set of modules


edit: added 2.6.36.3-00001-g9b3ce2b modules in the first post
 
Last edited:

rgouyet

Member
Jan 17, 2007
13
0
you have a different kernel version :O

and post it here...and i will compile you guys different set of modules

Here is my config.gz (zip format)

For the tun.ko

Thanks a lot.


I just check : my kernel is

#cat /proc/version
Linux version 2.6.36.3-00001-g12f9a52 (amy_chiu@apple) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Tue Mar 29 10:00:40 CST 2011
 

Attachments

  • config.zip
    15.1 KB · Views: 175
Last edited:

rgouyet

Member
Jan 17, 2007
13
0
Great job ! Thanks a lot.
The tun.ko is working with my A500 now.
(I have now some issue with my openvpn config file but it's an other story.)
 

fugazo

New member
Jan 13, 2009
4
1
you have a different kernel version :O

do:
Code:
adb pull /proc/config.gz config.gz

and post it here...and i will compile you guys different set of modules


edit: added 2.6.36.3-00001-g9b3ce2b modules in the first post

Here it says:

fs: version magic '2.6.36.3-00001-gf991e5d SMP preempt mod_unload ARMv7 ' should be '2.6.36.3 SMP
preempt mod_unload ARMv7 '

I've attached my config.gz.

Thanx a lot for doing all that!
 

Attachments

  • config_gz.zip
    15.1 KB · Views: 94
  • Like
Reactions: cfgh

Top Liked Posts

  • There are no posts matching your filters.
  • 36
    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://xdaforums.com/showpost.php?p=13974214&postcount=62
    3
    original modules for kernels
    3
    its quite easy...

    • copy cifs.ko somewhere
    • install cifs manager from the market
    • launch cifs manager go intro cifs manager settings, enable insmod and set the path to the cifs.ko
    • go back and configure the shares and tap them to mount... you will find your mounted contents into /mnt/cifs
    • PS: To unmount or edit press and hold the share entry
    2
    Thanks for your work on the pl2303.ko :)

    Unfortunately I came across an error in loading it "Unknown symbol usb_serial_handle_dcd_change (err 0)"
    From what I can read it is a function that exists in drivers/usb/serial/generic.c
    Hopefully no other dependencies... if its not too much trouble for that one?

    Thanks again.
    Any update to the usb_serial_handle_dcd_change pl2303.ko problem?

    Have you found a solution?

    Edit: Managed to build one that works.. let me know if you need it.

    Edit: Added the module I built.
    1
    no mine works fine..... what does it say in dmesg?

    edit: do you have the 3g model?