[Q] tun.ko for CM11 - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Hi,
Does anyone have tun.ko compiled for CM11? Specifically, I have the kernel version "2.6.35.7-androidarmv6+mardon" with build number "cm_cooper-userdebug 4.4.4 KTU84Q d5267ea7c2 test-keys" installed.
The tun.ko installer (from the play store) does not seem to have this version (yet).
This would help to make work VPN clients like the built-in IPsec, which now only leads to a reboot when I try to use it.
Thanks a lot for your help!
Matthias

Related

[Q] monodie topaz - 2.2 Froyo with tun.ko

I very recently got a diamond2 (topaz), which thanks to the help of guys in #XDAndroid I found out is monodie.
I was able to get it running with either of these:
linux-msm-topa100-2010-07-20-monodie-only-pkg
linux-msm-topa100-2010-07-28-novatek-panel-monodie
I am currently using the second one because it seems to be the newest monodie package.
Linux localhost 2.6.27.46-01130-g0ac6681-dirty #67 PREEMPT Wed Jul 28 21:47:18 CEST 2010 armv6l GNU/Linux
I am wondering a couple of things:
1) Are the new releases going to be available for monodie?
1a) If so, can we get a tun.ko for it?
2) Can someone help me find a tun.ko for either of the above versions?
krzee said:
I very recently got a diamond2 (topaz), which thanks to the help of guys in #XDAndroid I found out is monodie.
I was able to get it running with either of these:
linux-msm-topa100-2010-07-20-monodie-only-pkg
linux-msm-topa100-2010-07-28-novatek-panel-monodie
I am currently using the second one because it seems to be the newest monodie package.
Linux localhost 2.6.27.46-01130-g0ac6681-dirty #67 PREEMPT Wed Jul 28 21:47:18 CEST 2010 armv6l GNU/Linux
I am wondering a couple of things:
1) Are the new releases going to be available for monodie?
1a) If so, can we get a tun.ko for it?
2) Can someone help me find a tun.ko for either of the above versions?
Click to expand...
Click to collapse
1) Yes the new fixes will be available for monodie devices in near future.
1a) tun.ko i presume is a module for OpenVPN as i see searching onto google, or something else?
ReWind402 said:
1a) tun.ko i presume is a module for OpenVPN as i see searching onto google, or something else?
Click to expand...
Click to collapse
It is the module for the tun device. I do wish to use this for openvpn, but it can also be used for other things (iodine for tunneling IP over dns, GRE tunnels, etc).
I mod the openvpn IRC channel and forum, and would be happy to document putting openvpn on android, but first I need to accomplish it myself
Hi krzee,
please go to the dedicated monodie thread and download the lastest package I just built here.
phhusson enabled the tun module in one of the recent commits.
Michael

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

[Q] cifs module

Hello,
Does anyone have cifs module for the TF701?
jenowa said:
Hello,
Does anyone have cifs module for the TF701?
Click to expand...
Click to collapse
Needs to be compiled into the kernel normally as insmod adding cifs.ko stopped working since android 4.2 due to the way google made changes. We don't have kernel sources for 4.3 yet.
sbdags said:
Needs to be compiled into the kernel normally as insmod adding cifs.ko stopped working since android 4.2 due to the way google made changes. We don't have kernel sources for 4.3 yet.
Click to expand...
Click to collapse
Thank You for the informative reply.

Xposed Framework for Gingerbread

Update on 2017.05.02
I discountined the repo.xml for Xposed Framework for Gingerbread.
For myself, I use Xposed Framework Gingerbread for my old phone.
Now I use pixel, and use Brevent without Xposed Framework.
Update on 2015.10.30
The back-ported xposed framework used a seperate repo.xml for the sdk.
I found many times my server hang up due to the parse of the module.
Now the repo.xml won't check any package outside of the official repo.
(as the size from rovo89's repo is limited to 8M)
Update on 2014.08.15
I have fixed my old phone by replacing the screen.
I think it's the last chance, as screws is broken, I cannot open the phone any more..
I will keep back-porting if I find more than 10 users and gb-devices are more than 10% in the google play store.
Reference: http://developer.android.com/about/dashboards/index.html
Update on 2014.08.04
As my old android phone (which shiped the android 2.3.5) is broken.
I have no gb devices anymore, so I won't maintain this project anymore.
For all the projects, there are opensource, and free to change.
Update on 2014.06.03.2
- rebuild busybox with armv5te
- try system's busybox if fails
Update on 2014.06.03.1
fix for error for xsharedpreferences
Update on 2014.06.03
fix for the soft reboot, which was disabled
Update on 2014.06.02.1
fix for the light theme
Update on 2014.06.02
update to the latest 2.6.1
Note: the light theme is not good on GingerBread, so it's disabled.
Thanks @rovo89, for great hack on app_process.
Now, I try to backported to gingerbread (api-10).
Update on 2014.05.04
The binary of XposedInstaller, XPrivacy are on github's release.
https://github.com/liudongmiao/XposedInstaller/releases
https://github.com/liudongmiao/XPrivacy/releases
Update on 2014.03.18
Please do NOT contact the original author @rovo89 or @M66B) for support on the back-ported Xposed, nor XPrivacy.
For any issues related back-ported, please contact me directly via PM, or post an reply with @liudongmiao.
And it's more encouraged to create an issue at the back-ported github project.
Xposed: https://github.com/liudongmiao/Xposed
XposedBridge: https://github.com/liudongmiao/XposedBridge
XposedInstaller: https://github.com/liudongmiao/XposedInstaller
XPrivacy: https://github.com/liudongmiao/XPrivacy
XposedAppSettings: http://github.com/liudongmiao/XposedAppSettings
Update on 2014.01.06
As I have no time to update this thread.
For other modules, please install XposedGB Installer, and check in the Download Fragment.
And, I think XPrivacy and Xposed App Settings are good enough to install Xposed Framework.
For a xml verison of the modules, please visit http://piebridge.me/repo.gb.xml
Update on 20140105
I have back-ported two module, XPrivacy and Xposed App Settings.
And rewrite Master Key Fix GB. You can get all in the back-ported XposedGB Installer.
If you find some module very useful, you may create an issue at https://github.com/liudongmiao/XposedGBModule.
When I have time, I may consider to back-port it.
Update on 20140104
Now I have updated the framework through modified repository.
I cannot promise to update the the apk in attachments.
Update on 20140103.1
And as you see, the back-ported XposedInstaller is rename to XposedGB Installer.
Currently the repo for XposedGB Installer is pointed to a file generated from original repo.
I will check the result of the file, and keep gb-only modules. This is done every hour.
Currently, modules back-ported by me are not added yet, I will add them later.(Added them on 2014.01.05)
For the source, please visit below links, and please DON'T contact the original author @rovo89 or @M66B for following framework/module.
// As @rovo89 and @M66B indicated that those modifications won't be merged, and GingerBread won't be supported in their original versions.
Xposed: https://github.com/liudongmiao/Xposed
XposedBridge: https://github.com/liudongmiao/XposedBridge
XposedInstaller: https://github.com/liudongmiao/XposedInstaller
XPrivacy: https://github.com/liudongmiao/XPrivacy
XposedAppSettings: http://github.com/liudongmiao/XposedAppSettings
I will keep back-ported and catch the upstream update for them.
For any feedback for back-ported xposed framework, please contact me or create an issue on the project.
For the back-ported xposed modules, please contact the back-ported contributer.
For other xposed modules, you may contact the original author, or create an issue at https://github.com/liudongmiao/XposedGBModule/issues
(Please note, I don't have much time to back-port all of them, so if you find some modules are very useful, please add some comments, I will consider it has a high priority.)
good work but where's download link of xposegb installer and xposed privacy
raokashan said:
good work but where's download link of xposegb installer and xposed privacy
Click to expand...
Click to collapse
Update on 2014.05.04
The binary of XposedInstaller, XPrivacy are on github's release.
https://github.com/liudongmiao/XposedInstaller/releases
https://github.com/liudongmiao/XPrivacy/releases
I am using xperia x10 mini cm7 install xposed framework successfully ,apps (appsetting xprivacy xloud etc) also install succefully but they didnt work like in appsetting I enable fullscreen,etc didnt work.Enabled module in xposed installer, save the config I made reboot but didnt work
Your work keeping Gingerbread safe is appreciated
Although there are a reasonable number of "thanks" clickthroughs for the work you have all done, I want to specifically thank you all, and let you know that the Gingerbread Xposed/Xprivacy has been very helpful...
Need help!
@liudongmiao
I've been using Xopsed for a long time on my ICS ROM's. Suddenly, I came to know about Xposed backported to gingerbread and i was thrilled!:laugh: So i installed my stock gingerbread ROM and decided to give Xposed a try. Everything worked well till version 2.4.1-gb and then I updated it to 2.5.1.
Unfortunately,after the update, the framework doesn't install correctly for me. I have attached a screenshot of the error. Please help me with this!
Can't install Framework
@liudongmiao Thanks for you efforts in this back porting.
You can see i'm new here, i hope you can help me.
I have an issue, cant install the framework, i have no problems installing the XposedGB apk, but in the app, in "Framework" section i get "Xposed is not (yet) compatible with Android SDK version 10 or your processor architecture (armeabi-v7a). reloc Library (1346):2507 cannot locate 'dvmLogExceptionStackTrace'...cannot link executable." I tried with fix permissions, uninstalling-installing the app, but i have same error.
I already test with version 2.4.1 and 2.5.1, same results.
My device is a ZTE V795 with 2.3.6, mediatek 6572, 512 ram, dual core 1 ghz. it's compatible?
Thanks in advance and congratulations again.
Alltid said:
@liudongmiao Thanks for you efforts in this back porting.
You can see i'm new here, i hope you can help me.
I have an issue, cant install the framework, i have no problems installing the XposedGB apk, but in the app, in "Framework" section i get "Xposed is not (yet) compatible with Android SDK version 10 or your processor architecture (armeabi-v7a). reloc Library (1346):2507 cannot locate 'dvmLogExceptionStackTrace'...cannot link executable." I tried with fix permissions, uninstalling-installing the app, but i have same error.
I already test with version 2.4.1 and 2.5.1, same results.
My device is a ZTE V795 with 2.3.6, mediatek 6572, 512 ram, dual core 1 ghz. it's compatible?
Thanks in advance and congratulations again.
Click to expand...
Click to collapse
i get the same result on stock 2.3.6 GB on the Samsung Infuse 4G
Dhanesh95 said:
@liudongmiao
I've been using Xopsed for a long time on my ICS ROM's. Suddenly, I came to know about Xposed backported to gingerbread and i was thrilled!:laugh: So i installed my stock gingerbread ROM and decided to give Xposed a try. Everything worked well till version 2.4.1-gb and then I updated it to 2.5.1.
Unfortunately,after the update, the framework doesn't install correctly for me. I have attached a screenshot of the error. Please help me with this!
Click to expand...
Click to collapse
it seems that you installed a incompatible busybox...please make sure the busybox works, or just remove the installed one.
Young_Azul said:
i get the same result on stock 2.3.6 GB on the Samsung Infuse 4G
Click to expand...
Click to collapse
please send me the file /system/lib/libdvm.so
Deleted..
dj88 said:
Where is main .apk file to install xposed??
Sent from my GT-S5830i using Tapatalk 2
Click to expand...
Click to collapse
Go to the first link in the post.
@liudongmiao Hi i am getting this error while installing framework
Please help me sort this
thanks
jay.dumbali said:
@liudongmiao Hi i am getting this error while installing framework
Please help me sort this
thanks
Click to expand...
Click to collapse
There is some guys reported this error.
Could you tell me the device name, and system information?
// android version, or not-android?
And if possible, could you tell me the rom address, so I can download it?
If not, could you compress /system/lib and /vendor/lib (if exists), then send it to me?
Dhanesh95 said:
@liudongmiao
I've been using Xopsed for a long time on my ICS ROM's. Suddenly, I came to know about Xposed backported to gingerbread and i was thrilled!:laugh: So i installed my stock gingerbread ROM and decided to give Xposed a try. Everything worked well till version 2.4.1-gb and then I updated it to 2.5.1.
Unfortunately,after the update, the framework doesn't install correctly for me. I have attached a screenshot of the error. Please help me with this!
Click to expand...
Click to collapse
+1 on this
This may be an idiot question to ask, but here goes: how do I install the XposedBridge? I downloaded the .zip from GitHub, but don't know what to do with it. I tried flashing in CWM, but it says "Installation aborted". Couldn't find an .apk to install.
Thanks for the great work!
https://github.com/rovo89/XposedBridge/wiki/Development-tutorial
Not necessary if your are a user.
SJ3316 said:
Not necessary if your are a user.
Click to expand...
Click to collapse
I downloaded the XposedAddition module and it requires XposedBridge to run.
Why it dsnt support miui roms?? (old bug!!)
(ported to cm7)
Thnx
Sent from my little monster using Tapatalk ||
Hit thanks if i help you
xposed problem
liudongmiao said:
There is some guys reported this error.
Could you tell me the device name, and system information?
// android version, or not-android?
And if possible, could you tell me the rom address, so I can download it?
If not, could you compress /system/lib and /vendor/lib (if exists), then send it to me?
Click to expand...
Click to collapse
I am using micromax a52 running on android 2.3.6, armv7,mtk6575.
Here`s the link to the rom i m using
http://www.mediafire.com/?f0wtsri9e23hcyh
Thanks

[Q] CIFS support? cifs.ko module?

Hey all,
I'd love to have CIFS capability on my HTC One M7. I'm currently running Android Revolution HD Google Play Edition, 6.6 or something like that I think, don't remember exactly. Kernel version is 3.4.10 (I think that's what's really relevant here anyway)
Does anyone know where I can get a CIFS module to compile into the kernel or into a .ko to load in? Or do .ko's require any special compiling or prep to work? I assume I don't have it, since in CifsManager and the like I get a no such device error yet ES File Explorer works fine for getting to the target SMB IP. One time I had to make a change to my Debian laptop's kernel and re-compile, so maybe I can figure it out if I have a cifs module to compile. But I'm still a noob at this, so any help is much appreciated. Thanks!
Hi all, if your goal is simply to play music and video from your NAS to your android device, you can use Kodi (xbmc) that can access cifs path directly!

Categories

Resources