[Q] How to load ax8mt module on CM7 FXP? - XPERIA X8 Q&A, Help & Troubleshooting

Hello, I'm trying to load ax8mt multi touch on my xperia which is running atm CM7.1.0 FXP027 (Android 2.3.5) rom with kernel version 2.6.29-FXP. So I dled an unpacked multi touch module v005 to /system/lib/modules diretory and when I'm insmod it I got "ax8mt.ko invalid module format". My phone has Cypress digitaliser, am I doing something wrong?

Husarz said:
Hello, I'm trying to load ax8mt multi touch on my xperia which is running atm CM7.1.0 FXP027 rom with kernel. So I dled an unpcked mt module v005 to modules dire tory and when I'm insmod it I got "ax8mt.ko invalid module format". Am I doing something wrong?
Click to expand...
Click to collapse
x8's modules compiled for stock kernel!

Can I recompile it in some simple manner for my FXP kernel, or maybe where I could find already compiled kernel for my version?

Both modules (Synaptics and Cypress) are already in FXP Kernel. You don't need to install it

So how to load it then "insmod ax8mt.ko" and "insmod /system/lib/modules/ax8mt.ko" didn't loaded them cause there the modules originally wasn't there before I copied them?

Have you tried in Multitouch Visualizer if DT works without adding anything to ROM?

Yep, I tried but it only shows one touch point.

Odd. FXP028 rom+kernel w/o changes on visualizer shows me 2 points - fake DT (when 2 not moving as my fingers).

Maybe there's a bug in my FXP version 027, what app you are using for multi touch visualising, I'm using "Multi Touch Visualizer 2" from appstore, what you doing touching 2 fingers on the screen without moving them?

it works
Husarz said:
Maybe there's a bug in my FXP version 027, what app you are using for multi touch visualising, I'm using "Multi Touch Visualizer 2" from appstore, what you doing touching 2 fingers on the screen without moving them?
Click to expand...
Click to collapse
It is working fine on FXP
Screen:

Ovo sve su šmrklje

Related

Compatible cifs.ko

Can some one compile or point me to a cifs.ko that is compatible with the incredible. The ones I can find do not seem to be. Thanks in advance.
Interesting
http://linux.die.net/man/8/mount.cifs Not that I can help but if anyone wanted a quick reference.
Alot of the roms for other phones have it but its not compatible with out kernel. Is there a guide how to compile kernels? I made a couple in linux that worked. long ago..
here ya go...what app are you using to browse CIFS shares? I haven't tested this module, but just compiled it now.
Forgive me as I haven't actually tried this, but here is the 10,000 foot view:
At a minimum, you will need a linux system, with a gcc-arm cross compiler set up. I believe the android-sdk provides one. The version used by current kernels is gcc-4.4.4.
Then you will need the sources of the kernel you are running. The hydra kernel git tree is here: http://github.com/ejhart/Hydra-kernels.git , and the stock kernel sources are here: http://member.america.htc.com/download/RomCode/Source_and_Binaries/incrediblec_cc1c2268.tar.bz2
The hydra git tree doesn't seem to have a a working .config included, but this isn't so important if you are only building and installing kernel modules. From there, you'll need to configure the kernel in cross compiler mode, add the modules you want, and you will need to make sure the version magic string is identical to the kernel you are using. From there run make, and once the compile is finished, find the .ko 's you want, and push them to the /system/modules folder where you can insmod them.
Edit: You can use the .config from /proc/config.gz, didn't see it in there before.
mattwood2000 said:
here ya go...what app are you using to browse CIFS shares? I haven't tested this module, but just compiled it now.
Click to expand...
Click to collapse
I got one from another user but thanks do you still want me to try it? I mounted my share in a directory on the SDCARD so i can browse it with any file manager. I think any app that scans the sd card will also scan my server with about 8TB so that is a minor issue.
kernel compile guide
A guide for compiling kernels can be found here :
http://code.google.com/p/android-serialport-api/wiki/Htc
I not a techie and a newbie at any android development.
Since the guide is more or less a a set of instructions with no theory.
Got it to run, but not sure what I was doing.
Any assistance in provide either cifs.ko for the HTC Aria w/ kernel version :
liberty-2.6.29-21f066a6 or instructions on how to compile the module would be greatly
appreciated.
BTW - there an app on the store for automating the CIFS mount (CIFSManager
Regards,
-d
veli69 said:
I got one from another user but thanks do you still want me to try it? I mounted my share in a directory on the SDCARD so i can browse it with any file manager. I think any app that scans the sd card will also scan my server with about 8TB so that is a minor issue.
Click to expand...
Click to collapse
Could you please post the cifs.ko file that you have that works. Thanks.
OOMatter said:
Could you please post the cifs.ko file that you have that works.
Click to expand...
Click to collapse
Note that the post you quote was from before the 2.2 OTA, and hence that cifs.ko would be incompatible with the current kernel.
elborak said:
Note that the post you quote was from before the 2.2 OTA, and hence that cifs.ko would be incompatible with the current kernel.
Click to expand...
Click to collapse
Thanks for pointing that out. So does anyone have a compatible cifs.ko for the current DINC kernel?
OOMatter said:
Thanks for pointing that out. So does anyone have a compatible cifs.ko for the current DINC kernel?
Click to expand...
Click to collapse
I do. Check my blog. http://adrynalyne.us
Sent from my ADR6300 using XDA App
veli69 said:
Alot of the roms for other phones have it but its not compatible with out kernel. Is there a guide how to compile kernels? I made a couple in linux that worked. long ago..
Click to expand...
Click to collapse
http://marakana.com/forums/android/examples/111.html
GOOOOOOOOOOOOOOOOOOOOOOOOOOOGLE!!!!!!!!! YEAH!
Thats all fine and dandy except our source isn't on any git.
developer.htc.com
philips w732 vermagic '3.0.13 preempt mod_unload armv7' working cifs.ko and md4.ko modules
narod.ru/disk/63766749001.47b679339538b050028c3c7d87506dd2/md4.ko.html
narod.ru/disk/63743140001.693272f3661d5aac547ecc760f04db05/cifs.ko.html

[Q] OpenVpn Dev tun.ko Support with Gingerbread CF-Root-Image

Hi XDA-Dev-Team,
first of all ... thanks for the great work to get Tab working with Gingerbread.
I wan´t to use openvpn with the CF-Root-Image from Chainfire but it looks like there is no dev tun.ko module ?! So Open-Vpn does not work !!
I have tried to build my own kernel with tun-support as module from the Stock-Kernel i have downloaded from opensource.samsung.com. But when i take this module to the Tab i get an error from insmod like this:
insmod: invalid module format
dmesg:
tun: exports duplicate symbol tun_get_socket (owned by kernel)
So is it possible to build a rootes-kernel with this tun.ko module included or is there a other trick to get this work ?
Thanks
Mario

X8 F.A.Q. [UPDATE NEEDED, PLEASE READ 1st POST] help me update first post...

I DO NOT OWN X8 ANYMORE. I'VE SOLD IT. ANYWAYS, I NEED SOMEONE TO UPDATE THIS THREAD... PLEASE SEND ME YOUR COPMLETE POST COPY VIA PM OR USE PASTEBIN.COM AND IF IT'S GOOD ENOUGH I WILL ADD IT TO FIRST POST AND GIVE CREDITS YEAH.
NOTE THAT YOUR ANSWERS MUST BE 100% CORRECT, THREAD MUST ME WELL FORMATTED... COPY SCHEME OF THIS FIRST POST, OR MAKE SOMETHING SIMILIAR ON YOUR OWN.... THANKS, I'LL CHECK AGAIN SOON.
Hi, dear readers
This thread is intended for all those new members who are new to X8 and Android.
A lot of you may have a lot of questions to ask, and expirience is telling us that you guys - don't know how to use a SEARCH button.
Anyway, this video might help you about that.
Ok, you whatched that, didn't you?
If you did, we can get started...
If you have questions about:
Rooting
Basebands
xRecovery
Bricked phone - (BOOTLOOPS!)
check this thread!
How to install these things?
CHECK THIS
Here you can view ROMs reviews ----> thread
How to install racht's roms?
Copy extracted files to sdcard/xrecovery/backup, than hit restore in xrecovery
Q: Wich ROM is the best ROM?
A: It's your choice. All 2.2 and 2.3 roms are stable enough for daily use.
Q: What is the most lightweight launcher for our X8?
A: Hard to tell, but Launcher Pro and Zeam are at the top, while ADW is the most slower launcher for our device.
Q: Can we have both Clockwork Mod and xRecovery in our device?
A: Ofcourse! Most of the custom roms to date have both recoveries.
Also, you can install them manually following this guide.
Q: Is it possible to boot two different OSes on our device?
A: No, our device can run only Android but you can have multiboot and boot to the two different ROMs.
Q: Will installing custom rom unlock my X8?
A: No. Your carrier SIM lock doesn't have anything to do with rom
Q: Can we have custom kernel?
A: Yes we can. Bootloader is unlocked and now we can boot into custom kernels.
Q: Why GingerBread camera is VGA limited?
A: We now have fully working camera thanks to doixanh, but he just modifeded Eclairs camera libs to work with Gingerbread roms.
Free Xperia Team is working on new libs for our device, read this:
A:
jerpelea said:
x8 was released with 2.1
2.1 camera library can be used on 2.1 roms just by copying 4 files
2.1.camera library can be used on 2.2 roms by copying 4 files and apliing an patch
2.1 camera can not be used on 2.3 roms
For 2.3 roms you have to compile camera from sources and sources are incomplete!
Unless SE releases 2.3 rom for x8 or we will succed writing the sources the camera will be broken
wo kernel bypass is hard because camera interface in kernel is not trowing debug messages so we can not debug camera
we can just try to guess the parameters
Click to expand...
Click to collapse
Q: Can I have multitouch if I install custom rom?
A: If you have Synaptics digitizer you can use fake pinch-to-zoom by doixanh.
If you have Cypress digitizer you can use real dual touch by AnDyX
Or, you can use some custom kernel which has built-in these modules.
Q: How to know do I have Cypress or Syaptics digitizer?
A: Look here
Q: Is our device MDPI or HDPI?
A: Our device is MDPI wich means 320x480 px resolution (HVGA). HDPI are high-end devices with res 480x800 or more.
So, our device needs MDPI compatabile theme and app.
Q: Can we have SWAP on X8?
A: Yes, since bootloader is unlocked we now have kernel that supports it
Q: How can I go back to 2.1 from custom roms?
A: Just flash again using SEUS or PCC, or using Flash Tool.
Q: Can we have Android 3.0 (Honeycomb) on our X8?
A: We already do have, but to be honest - what's the point? -Nothing works. 3.0 is intended for tablets with large screens.
Q: I can't connect to WiFi network. What should I do?
A: 1st: Try to forget ALL of your remembered networks.
2nd: Just wait...
Q: I can't connect to WPA2 secured netowrks. What should I do?
A: Yeah, some ROMs, do have problems with WPA2 secured and only thing you can do is wait for fix or try to update your router frimware.
If you still have some kind of problems with WiFi, you could try removing N standard.
Search button is above
Q: Where are apps from app2sd saved?
A: Into .android.secure folder on your sd card, wich is hidden.
You can see that folder with Root Explorer or PC.
Q: Can we have a flash player on our X8?
A: NO. For now. Our processor (ARMv6) doesn't support flash player yet. Maybe it will in future. Don't ask about this, read this.
Q: Why custom 2.2 roms have problems with BT headsets?
A: It's a bug in cm6 source, so if you need BT headset please use 2.3 or 2.1
Q: My battery is draing fast. What should I do?
After flashing a custom rom, you should drain your battery thean charge it to 100%. Go to xRecovery and Wipe battery stats.
You can try Battery calibration app from market.
Still the same? You can try this if you are on 2.3
Q: What is terminal emulator?
A: It's an app wich emulates Linux terminal. You can install it from market if you are on 2.1, in custom rom is already included.
Q: I have a little of ram free... is this bad?
A: Actually, this is good. It doesn't matter how much of RAM is available, important is, How much of CPU specific app uses.
Read this for more information.
Q: I want Walkman app? Where Can I find it?
A: Look here
Q: Is it possible to port Sense 3 to X8?
A:No it's not possible because it needs 1.2 GHz cpu and we only have 600-748MHz...
And sense widgets and apps need sense framework to run...so you could use sense like widgets!
Fancy Widget, for example.
Q: Wich SYSTEM apps are safe to remove on stock rom?
A: timescape, talk.apk, Facebook, PlayNow, Maps, CA Gold, Crazy Penguin, Creatouch, GeoTags, RoadSync, RollerSync, Tower Bloxx NY, TrackID, Wisepilot, Navigator, User Support, User Guide, Email, Backup and Restore, Music R2R Client...
Gmail? - Probobly YES. Make backup first just to be 100% sure.
Q: I get music player hickups (lags) on custom roms. What should I do?
A: You can try to change SD card read cache back to 128Kb to avoid hickups.
You can use this app from market, set to 128k, 256k, ... reboot.
Q: Volume is too low for me, how can I incrase it, make it louder?
A: If you're using Gingerbead you can use DSPmanager to incrase overall volume. (DSP not work on Froyo!)
And also you can try:
Poweramp music player wich has built-in EQ pre-amp booster, but that can lead to music cracking.
You can try changing your MP3s volume using MP3 gain for Windows.
You can also try Volume Boost program from Market
Q: Is X8i same as E15i?
A: Yes. It's X8i = E15i, X8a = E15a
Q: Will "Factory reset" unroot my phone? (from xRecovery)
A: No. Factory reset will erase all your user data and settings, wipe your cache and dalvik cache.
So, if you're doing Factory reset, you should back up your stuff
Q: What's the difference between "Install update.zip" and "Install custom .zip in xRecovery?
A: update.zip just automatically allocates update.zip named zip on the root of the sd card. While choosing "Install custom zip, you have to choose file by yourself.
Q: What is the usefulness of an ext3 partition on the SD memory for applications?
How to create a partition?
A: You can make a partition in your SD for example of 1 gb EXT3 only for apps, you can make it with Minitool partition wizard home edition (its free).
In ext3 the apps are fully saved in the sd (.apk, dalvik cache and data) and you can liberate more space in the disk than app2sd.
Q: Reduced image quality in gallery? Solution.
A: Andoid Gallery (3D) reduces background gradients for faster viewing...
You can useQiuck Pic Gallery if you want better image quality.
You can check differnece here.
Q: Where can I find HD games for my X8?
A: Look here - please ask there if you have problems about HDgames
MODULES informations:
credit go to samyeung97hk
Note: If you're using custom kernel, you don't need these modules anymore!
We have 8 modules for our phone,includes:
Overclock(By doixanh)
Undervolt(By doixanh)
Gesture Pinch Zoom(By doixanh)
X8 MDDI Fix(By doixanh)
X8Kconfig(By doixanh)
Dual Touch For Cypress Touchpad(By AnDyX)
'Smartass' Governer For X8(By AnDyX)
X8 Netfilter(By AnDyX)
Introduction of these modules:
-Overclock
Easy English:make your CPU freq higher.
-Undervolt
It saves battery,decrease the heat of CPU,and make your phone more stable.
-Gesture Pinch Zoom
It is the fake multitouch modules for Synaptic Digitizer.
-X8 MDDI Fix
It increases your phone's smoothness by eliminating the lag that happens every 5-7 seconds in custom ROMs.
-X8Kconfig
It not for daily use,it's for developers to extract kernel config from our running kernel 2.6.29 in X8.
-Dual Touch For Cypress Touchpad
It's the real multitouch if you're the lucky one to have Cypress Digitizer.
-'Smartass' Governer For X8
- allows to set max CPU freq when screen is off (to save battery),
- allows to set starting CPU freq when phone awakes (to speed up awake process),
- allows set/change almost all aspects of governor (to suite needs),
- should be a bit more responsive when parameters are well choosen
-X8 Netfilter
- we can (hopefully) have native usb/wifi tether on our phone.
Other benefits:
- Firewall apps
- Transparent proxies
- NAT
For installation instructions and other informations visit specific thread.
MDDI, X8 Gesture and Undervolt are already included in most of the roms
The most current noob question:
Is it possible to have MultiTouch on Synaptics?
Answer:
No, you can just have a fake DualTouch, but only devices with Cypress (NOT Cyprus, that´s a country!) support full Multitouch.
How can I install <put whatever you find fit here>...
How to know if I have Cypress or Synaptics digitizer?
There are 2 ways to find out if you have Synaptics or Cypress digitizer..
1st:
If fake pinch2zoom from doixanh (which is included in all ROMs) works on your phone you have Synaptics digitizer.
2nd:
Try this command in your phone (either with terminal or with adb shell)
dmesg | grep "cyttsp-i2c"
Click to expand...
Click to collapse
If you have something like this, that means your X8 is using Cypress digitizer
<6>[ 4.185259] cyttsp_i2c_probe: Successful registration cyttsp-i2c
Click to expand...
Click to collapse
Also if you have "permission denied" you must first enter this in the terminal
su
Click to expand...
Click to collapse
and then you can enter the above commands!
If you don't get any output, restart your phone and try the commands as soon as possible.
Here we go..
Can someone explain the usefulness of an ext3 partition on sd-card and a guide on how accurately proceed in the partitioning?
Thanks for any help
I'd like to suggest some more solutions for battery draining:
- Close as more apps as you can, and as frequently as you can. Background apps may use CPU, and that will consume battery
- Reboot after you finish using wifi/3g. There are many background network services, like Maps, Market, Email, Facebook... They try to connect to their servers (and take some CPU usage) even after you disconnect from network. Reboot to make everything fresh.
- Reboot after listening to Music. Music service is running in background even after you stop the music and sometimes use CPU. Reboot to make everything fresh.
- Don't use live wallpapers. They're high CPU consumers.
- The less screen widgets, the better. Less widgets use less CPU, which will save battery.
I myself never used the "wipe battery stats" feature and/or battery calibration. I only use the tricks above, and usually I got 3 days for each battery recharge.
It's annoying.
Dx, does Fast Reboot Pro have same effect
Sent from my X8 using Tapatalk
@DareDevilInside
why does audio skips on BT Headset when listening to music, watching video and during calls when using a custom roms? Im using FroyoBread right now, and hoping that someone can help us.
i hope you have an answer
mhyke13ph said:
@DareDevilInside
why does audio skips on BT Headset when listening to music, watching video and during calls when using a custom roms? Im using FroyoBread right now, and hoping that someone can help us.
i hope you have an answer
Click to expand...
Click to collapse
I don't get any hickups, but you can try to set SD card read cache back to 128Kb
as suggested by miniCM devs.
I'm searching for how to change it, but I couldn't find it..
But, that's solution indeed
Dare-Devil Inside said:
I don't get any hickups, but you can try to set SD card read cache back to 128Kb
as suggested by miniCM devs.
I'm searching for how to change it, but I couldn't find it..
But, that's solution indeed
Click to expand...
Click to collapse
is that so? hmm i have tried this before https://market.android.com/details?id=de.mehrmann.sdbooster&feature=search_result
hope this will overrides SD card cache from froyobread, will try now report back to you if it works
mhyke13ph said:
is that so? hmm i have tried this before https://market.android.com/details?id=de.mehrmann.sdbooster&feature=search_result
hope this will overrides SD card cache from froyobread, will try now report back to you if it works
Click to expand...
Click to collapse
Yeah it should work... I searched forum but I couldn't find way to change it..
Dare-Devil Inside said:
Yeah it should work... I searched forum but I couldn't find way to change it..
Click to expand...
Click to collapse
I tried it, and successfully set it to 128, i turned on my mw600, played some music and observe, it also skips, tried increasing it to 4096, played some music again and observe . . . it is still skipping
what BT headset are you using btw? there's no skipping going on?
mhyke13ph said:
I tried it, and successfully set it to 128, i turned on my mw600, played some music and observe, it also skips, tried increasing it to 4096, played some music again and observe . . . it is still skipping
what BT headset are you using btw? there's no skipping going on?
Click to expand...
Click to collapse
You're using BT?
I'm sorry I thought you thoght regluar headset, I skkepied BT part in your post.
In that case I think there's no fix for that since almost everyone is having problem with bt headsets on custom roms.
But as for regular headsets if you're expiriencing problems changing sd card cache read size should fix hickups.
I apologize for not reading well your post
Dare-Devil Inside said:
You're using BT?
I'm sorry I thought you thoght regluar headset, I skkepied BT part in your post.
In that case I think there's no fix for that since almost everyone is having problem with bt headsets on custom roms.
But as for regular headsets if you're expiriencing problems changing sd card cache read size should fix hickups.
I apologize for not reading well your post
Click to expand...
Click to collapse
nah its ok, well i just hope some developer can look at this and could find a fix for it.
to dare-devil
Please update first page:
For rooting, recovery, installing modules: x8toolbox by puppet13th
http://forum.xda-developers.com/showthread.php?t=1117100
For games:
Direct download:
http://artoseven.blogspot.com/
On request by PM on youtube:
http://www.youtube.com/user/DisasteryMr
I know there are many ways to get that, but experience showed me different...I bricked my phone with a wrong xRecovery for example....
One more advice (also from experience, and not stressed enough): whatever you do, DO NOT TOUCH FIX PERMISSIONS IN CWM RECOVERY.
Cheers,
how do I fix other custom ROM's battery drain? I'm using Dx's froyobread. Should I do what according to what Dx said?
Giankwang said:
how do I fix other custom ROM's battery drain? I'm using Dx's froyobread. Should I do what according to what Dx said?
Click to expand...
Click to collapse
I dont have battery drain, but you can try charge your phone to 100 and than wipe battery stats, and if doesnt help use his advices
Sent from my SH!T Ericsson X8 running Froyobread using Tapatalk
I heard that the custom ROM's can run a 3D game in a smooth way? but actually how to define?
Giankwang said:
I heard that the custom ROM's can run a 3D game in a smooth way? but actually how to define?
Click to expand...
Click to collapse
Yes, games run very fine on custom rom
Sent from my SH!T Ericsson X8 running Froyobread using Tapatalk

anybody can compile a kernel that support the NTFS?

i just download the arm-version of bt4 image but found that the kernel can not support the NTFS that the image file is too large to put into the sdcard. anybody can supply one?
besides do you guys use the compiler with eabi or not?i just wanna fix the in-call volume problem but have no idea which version compiler to use
fqhlxw520 said:
i just download the arm-version of bt4 image but found that the kernel can not support the NTFS that the image file is too large to put into the sdcard. anybody can supply one?
besides do you guys use the compiler with eabi or not?i just wanna fix the in-call volume problem but have no idea which version compiler to use
Click to expand...
Click to collapse
Try this kernel by CK (v0.4d has NTFS support)
Thread Link
progress tancycr
that's great, but my mobile is sharp 8188u, somebody say that the kernel seems not working well on the machine that the touch screen failed
Main thread updated for touch screen issues in U9000, might work on yours. Ask CK in the thread.
Sent from my Asus TF300T
Try the latest CK kernel.
k1chy said:
Try this kernel by CK (v0.4d has NTFS support)
Thread Link
Click to expand...
Click to collapse
It works greate.:good:You can try it out.
yes, it works. great

[KERNEL] Building additional modules for JB stock kernels

Some background info:
I'm the author of PPP Widget which is an app that enables mobile data connections on Android devices with USB host capabilities - even if they are WiFi-only.
It turned out that many Android devices have the drivers for 3G sticks already on board, included with the stock kernel. The one large exception are Samsung devices ...
I started to provide the missing drivers as modules (mostly "ppp_async" and "option" which depends on "usb_wwan"). That worked well for some Google devices and also for Samsung devices running ICS, using the source packages from
http://opensource.samsung.com/
In their JB kernels though, Samsung enabled the "MODVERSION" option. Furthermore, compiling the modules with the officially recommended toolchain resulted in a different "module_layout" checksum than in the modules provided in the firmware.
This prevents using any additonal modules on the devices. "insmod" refuses to load these modules.
The only explanation for this problem is that the custom device configuration provided in the source packages does not match the configuration of the device kernel.
This is the case for all GT-P31xx and GT-P51xx models as far as I can tell.
My take is that Samsung is required to provide the correct kernel configuration under the rules of the GPL. Maybe anyone else wants to contact Samsung on this behalf; I already did several times - still waiting for an answer ...
That's the reason why I build everyting from source including the GPU driver and lost exFAT support http://forum.xda-developers.com/showthread.php?t=1859227 and the boot image result http://forum.xda-developers.com/showthread.php?t=1855700 .
ketut.kumajaya said:
That's the reason why I build everyting from source including the GPU driver and lost exFAT support
Click to expand...
Click to collapse
Unfortunately, replacing the kernel is no option for end users. The modules I provide are going into a folder on the sdcard, and can be "insmod'ed" from there with no problem - once their magic string and the "modversions" are matching the kernel on the device. The latter is the wall I'm hitting ...
JFDee said:
Unfortunately, replacing the kernel is no option for end users. The modules I provide are going into a folder on the sdcard, and can be "insmod'ed" from there with no problem - once their magic string and the "modversions" are matching the kernel on the device. The latter is the wall I'm hitting ...
Click to expand...
Click to collapse
Thanx alot for such a great development. ...
Adi™
Creator Of Sungsonic™HD
I have received a reply from Samsung. They have updated the JB open source package for GT-P3110, GT-P5110 and GT-N7100 (which previously included a config file from 3.0.15 for a kernel version of 3.0.31 !!).
Unfortunately, the modversions of the compiled kernel are still different and incompatible. I have replied with these finding.
Waiting again ...
BTW, the only recent kernel config consistent with the actual device kernel that I have found is for the GT-N8000 (3.0.31). So it is possible to provide a matching configuration.
JFDee said:
I have received a reply from Samsung. They have updated the JB open source package for GT-P3110, GT-P5110 and GT-N7100 (which previously included a config file from 3.0.15 for a kernel version of 3.0.31 !!).
Unfortunately, the modversions of the compiled kernel are still different and incompatible. I have replied with these finding.
Waiting again ...
BTW, the only recent kernel config consistent with the actual device kernel that I have found is for the GT-N8000 (3.0.31). So it is possible to provide a matching configuration.
Click to expand...
Click to collapse
If You will start to work with kernel I'm willing to beta test with my P5110. Only issue for me is that I need to know what 3G dongle to buy (well need it anyway so would prefer an advice from someone who know something about it). I'm living in Poland and Ireland (once here once there) so I can even test LTE modems (well donations here, myself can spend up to ~50€ on 3G one) because in Wroclaw, Poland I heard it's quite good, also I got H+/H on SGSII here. While in Ireland signal is not THAT strong due to fact most of places are quite remote (except Dublin, Galway etc). Hope I can help in either way
This is what I wrote to Samsung concerning the botched configuration file provided with the latest GT-P3110 kernel source:
Thank you for the source code update.
However, I have asked for the kernel configuration that matches exactly the kernel on the GT-P3110.
I have compiled the kernel from the provided update, but the module layout checksum does *not* match the one from the kernel running on my device.
On the device: module_layout 0xb5a27644
From source: module_layout 0x143474f1
I have used the recommended toolchain "CodeSourcery 2010q1" and the unchanged config file provided with the source ("android_espresso_omap4430_r04_user_defconfig").
Please be aware that you are obliged by the GPL to provide the correct config file for the binary kernel that you are distributing.
As a side note: the configuration provided with the kernel source for the GT-N8000 *does* match the kernel on the device, so there is no doubt that it is possible to get the configuration right.
Other Android vendors are just enabling the "embedded" config file in the kernel, so that the correct configuration is simply available on the device as "/proc/config.gz". This is so much less trouble. I suggest that you enable this option for Samsung kernels too.
Regards,
...
Click to expand...
Click to collapse
The GT-N8010 is also in the same situation you describe - config for 3.0.15 and jb stock kernel at 3.0.31, can't build working modules for stock.
davp, there seems to have been some activity at the Samsung open source center after my messages.
I suggest you make yourself heard as well. Use the "Inquiry" button next to the package download link in the table for your device.
To be able to add working modules to the device, the kernel configuration for the source has to be 100% compatible. It does not matter if any closed drivers are missing as we don't want to replace the kernel - but all those general debugging config options should be correct.
BTW, there is a history of similar issues:
http://forum.xda-developers.com/showthread.php?t=1123643
The kernel source for the GT-P3110 has been updated once more, and this time they have fixed the configuration.
With the latest JB update we can actually build working modules for the current firmware.
I confirmed this to the Samsung people and reminded them of the other devices in need of this fix: GT-P3100, GT-P5100, GT-P5110, GT-N7100 and probably more (like the GT-N8010).
JFDee said:
The kernel source for the GT-P3110 has been updated once more, and this time they have fixed the configuration.
With the latest JB update we can actually build working modules for the current firmware.
I confirmed this to the Samsung people and reminded them of the other devices in need of this fix: GT-P3100, GT-P5100, GT-P5110, GT-N7100 and probably more (like the GT-N8010).
Click to expand...
Click to collapse
So for now we might get stock kernel which will support 3G modems via USB OTG? How about other kernels such as CM10.1?
I'm looking for good 3G dongle then Any advices?
Additional kernel modules for stock JB P31xx (tested) and P51xx (untested), contains:
- usb_wwan, ppp_async, and option module for PPP Widget
- dns_resolver, md4, and cifs module for cifs/samba filesystem support
- sunrpc, lockd, and nfs module for nfs filesystem support
Kernel config file attached.
FTDI Single Port Serial Driver added.
cifs.ko not working on P3100 JB 4.1.2 (stock rooted)
ketut.kumajaya said:
Additional kernel modules for stock JB P31xx (tested) and P51xx (untested), contains:
- usb_wwan, ppp_async, and option module for PPP Widget
- dns_resolver, md4, and cifs module for cifs/samba filesystem support
- sunrpc, lockd, and nfs module for nfs filesystem support
Kernel config file attached.
Click to expand...
Click to collapse
Hi ketut.kumajaya,
I'm trying to use cifs.ko but i get:
/system/lib/modules # insmod cifs.ko
insmod: can't insert 'cifs.ko': unknown symbol in module or invalid parameter
I have:
/system/lib/modules # uname -a
Linux localhost 3.0.31-1084989 #1 SMP PREEMPT Mon Mar 25 14:53:07 KST 2013 armv7l GNU/Linux
I tried other cirs.ko with same result.
Can you give me some clues of what can I do?
Thank you.
Try insmod in order:
insmod dns_resolver.ko
insmod md4.ko
insmod cifs.ko
If something goes wrong, see the kernel messages using dmesg.
ketut.kumajaya said:
Try insmod in order:
insmod dns_resolver.ko
insmod md4.ko
insmod cifs.ko
If something goes wrong, see the kernel messages using dmesg.
Click to expand...
Click to collapse
Great!!!
That's the solution.
In my Tab 10.1 4.0.4 I'm loading (different kernel and different modules, of course):
insmod cifs.ko
insmod md4.ko
insmod nls_utf8.ko
So I was not thinking I should use a different order.
Thank you.

Categories

Resources