VPNC with tun.ko for 2.6.35.10-g9d47fde - G2 and Desire Z Q&A, Help & Troubleshooting

Hi,
I'm new to this forum and have less than 10 posts. Therefore I may not post into development threads.
I have rooted my HTC Desire Z today and I'm running virtuous rom. Now I'd like to use vpnc to connect to our business network. I think there're two ways, the one tun is build into the kernel and the other tun needs to be loaded at runtime.
Can somebody tell me how to check if tun support is build into my kernel? Or is there somebody out there who can build tun.ko for 2.6.35.10-g9d47fde or what do I need to build this module on my own?
regards
Andreas

Related

Any guide for developers?

Hi,
I would like to get involved in the XDAndroid development.
I already set up the working environment according to android hxxp://source.android.com
I know there must be lots of modules and patches to the kernel.
But what is the starting point for porting adroid to TP2?
Is there a guide or wiki, or anything I can start to check out source code and build the kernel?
Thanks.
There's a page on AndroidonHTC, here, which explains how to obtain the source and build the kernel. HTH
Yes, I saw that link.
It doesn't seem for Touch Pro2.
Look under the third section, titled
Building kernel for Diamond, Raphael, Blackstone, Topaz, and Rhodium
Click to expand...
Click to collapse
It's a multi-device kernel, so multiple devices all utilize the same git repository.
I followed the text, downloaded everything, set up the environment.
But the build.sh wont work, lots of errors.
Any detailed tutorial?
Things are constantly changing and I doubt anyone has time to keep an up to date guide. You'll most likely find better help in #htc-linux on freenode

Overclock on Desire Z

Ive done everything possible but apparently my version is not the right one, Im on the Bell network and Im very excited about this. Any help whatsoever would be great. Thanks.
Sent from my HTC Vision using XDA Premium App
If you are not running a T-Mobile G2 with HTC kernel 2.6.32.17, you MUST also give the kernel some other configuration options too! Pull the file /proc/kallsyms and search for the address values of acpu_freq_tbl and perflock_notifier_call. When loading the module, specify these addresses along with any other parameters: insmod vision_oc.ko acpu_freq_tbl_addr=0xc055e1a0 perflock_notifier_call_addr=0xc006c974
This is what I need to do but what does it mean?
Sent from my HTC Vision using XDA Premium App
Hello,
My name is Mirek and I am new here, that is my first post on that forum so if I write something wrong please forgive me and suggest me the right answear.
BACKGROUND:
I would like to overclock my HTC Desire Z also and I have made temproot (confirmed with the help of "Root Checker"), because I do not want to have a perm root or make complicated and risky (can brick the phone) downgrades of Android version and I do not want to loose my guarantee from the seller.
PROBLEMS:
(1.) Later on I have uploaded special scripts to my sd card and with the help of Gscript I have tried to use those scripts (I know there is also possibility to upload scripts to "/data/local/" without of Gscript app) but when I do that some error occure which says: "insmod: init_module '/data/local/vision_oc.ko' failed (Exec format error)".
(2.) From my later investigation and read post from different forums I know that is because file which I have uploaded to sd card "vision_oc.ko" has not actual addresses related to my current kernel version.
I have downloaded addresses from my Desire Z and I am enclosing that to this post (“kallsyms.zip”). I can find there address of “perflock_notifier_call”, but I can not find there „acpu_freq_tbl” address…
QUESTIONS:
(1.) Is it possible that the „acpu_freq_tbl” address is hiding on some another designation?
(2.) Maybe someone has already properly modified "vision_oc.ko" file for version of kernel "2.6.35.10-g7b95729" and can send me that so I can try?
(3.) I am enclosing to that post “kallsyms.zip” file with addresses from my Desire Z, maybe someone experienced can prepare new "vision_oc.ko" with the right addresses from the file which I enclose “kallsyms.zip” or at least can suggest how can I modify that "vision_oc.ko" by myself?
Can someone help me with that?
My kernel version is:
2.6.35.10-g7b95729
[email protected] #1
Android version:
2.3.3
Compilation no.:
2.42.405.2
Link to vision_oc.ko made in past by Michael Huang (coolbho3k) but for Kernel 2.6.32.17:
ww w.github.com/coolbho3k/vision_oc

[Q] LeeDroid V2.3.4 R2 - CPU, VPN etc

Hi.
I have a few questions which i can't write in the proper forum cause i'm to new,
i've been trying to look through the some what hughe thread about the latest LeeDroid release and all the featues that comes with it,
however i can't find a few things,
such as the CPU regulator, how do i actually change the voltage/speed of the CPU, there are some modes that come pre-prepared in the release.
Secondly, getting OpenVPN to work, i assume it's as simple as installing the OpenVPN settings application? havn't had time to fix my VPN server so i can't test.
And stuff like Launcher2, where do i find all these neet "features"? :/

[Development] Native Debian on HTC G2 Desire Z

Hi all !
After my Native Debian on HTC G1, I try Native Debian on HTC G2.
It's more hard because I don't know why, VT FrameBuffer crash the phone ...
I have compiled new Kernel HTC-DESIRE-Z 2.6.35.10 with my own options to get no crash, but no VT (is it on modul for test later )
I have passed 3 days on my initrd to get booted Debian Natively with SSH acces.
Is everyone interested by developping real Linux directly on Desire Z phones ?
I have an recoDebian.img who able to boot the phone on debootstrapped Debian on the 2nd Partition of SDCard.
Actualy, I can get Leds works (I use it to know where is my phone on boot process), USB Ethernet, whit SSH access.
The BCM4329 is up but no AP detected.
If I insert the fbcon.ko module, I crash the phone.
If anyone what try the first step of a Native Debian on this phone, I can upload mon recoDebian.img with some instructions to get it working.
Regards
FukTheRegister said:
Hi all !
After my Native Debian on HTC G1, I try Native Debian on HTC G2.
It's more hard because I don't know why, VT FrameBuffer crash the phone ...
I have compiled new Kernel HTC-DESIRE-Z 2.6.35.10 with my own options to get no crash, but no VT (is it on modul for test later )
I have passed 3 days on my initrd to get booted Debian Natively with SSH acces.
Is everyone interested by developping real Linux directly on Desire Z phones ?
I have an recoDebian.img who able to boot the phone on debootstrapped Debian on the 2nd Partition of SDCard.
Actualy, I can get Leds works (I use it to know where is my phone on boot process), USB Ethernet, whit SSH access.
The BCM4329 is up but no AP detected.
If I insert the fbcon.ko module, I crash the phone.
If anyone what try the first step of a Native Debian on this phone, I can upload mon recoDebian.img with some instructions to get it working.
Regards
Click to expand...
Click to collapse
Try a different kernel. As in the CM7 one or the TMOUS G2 source. I'm unsure whether or not the DZ source will work.
If you need any help that ain't compiling the kernel (my laptop is a female dog) I'll try. And I don't mean testing. I ain't no noob trying to get early access to this. I want to see this, so I'll try help.
Native debian on G2
Anything new? I am really looking forward for this!!!!
Many many thanks
I'd like to see Meego on G2 one day but perhaps I am asking for too much ;_;
Native debian on G2
I am following !!!!!
cant wait..
Hi!
This sounds quite interesting!
Could you please share the images? I don't have much experience with android internals rather i'm experienced linux user, so boot+ssh access is the perfect starting point for me.
Regards!

[Request] nfs - support

hey there!
I was searching around in different forums, but without success.
I'm seaching for a way to enable nfs-support on my HOX. I'm running MIUI v4 2.8.24 and want to test xbmc with central mysql database.
Upcomig Problem is the missing nfs-support on Android, so nfs-shares cant be used.
Does anybody know if there is already a usable kernel-module to enable nfs support?
Thanks in advance!
I have an HTC desire, and could enable nfs by compiling the appropriate kernel modules, then using "mount manager" to load them and access the nfs shares.
You obviously will need a rooted phone, and I remember struggling a bit to compile the modules (particularly putting the appropriate version string in the files), but can't remember how I did it, unfortunately. I actually dread the time I'll have to do it again for my next phone

Categories

Resources