The… Android Dance?!!!
Sunday, March 27th, 2011Just a short post…
I just happened to watch a youtube video of the Android mascot dancing to a spiffy beat. I don’t know about you, but I found this awesome!
Enjoy the vid below:
Just a short post…
I just happened to watch a youtube video of the Android mascot dancing to a spiffy beat. I don’t know about you, but I found this awesome!
Enjoy the vid below:
Short post.
This is tested in the Bakpia mod kernel (2.6.32.9), module compiled from the rmcc github kernel 2.6.32.9 branch located here.
Compiled in a CentOS 5.3 environment with android ndk and sdk installed.
Anyways, copy the module to /system/lib/modules do an insmod tun.ko to run the module and tunneling is all set. You can now use Openvpn downloaded from the Market.
I’ve been too busy these days to compile a kernel module for android.
For those who want to compile a tun.ko kernel for Android (a commtiva z71 variant), here are the general steps. You need a linux environment to compile this module.
1. Download the kernel and supporting files for commtiva z71 devices here: https://opensource.motorola.com/sf/frs/do/viewRelease/projects.quenchxt/frs.xt5.xt502 and extract it to a directory of your choice.
2. Download the SDK and NDK for android: http://developer.android.com/sdk/ndk/index.html and http://developer.android.com/sdk/index.html
3. Copy config.gz from your phone and place it into your kernel source folder. To get it from your phone, type:
adb pull /proc/config.gz .
gunzip config.gz
mv config .config
4. Edit .config so as TUN module will be included into the kernel:
CONFIG_TUN=m
5. Run uname to get running kernel version of your phone:
uname -a
Linux localhost 2.6.32.9 #7 PREEMPT Tue Jan 4 16:51:45 CST 2011 arv61 GNU/Linux
6. If there was some extra characters in your kernel version, like 2.6.32.9-063c4d24, you’d have to edit the Makefile to use the corresponding version:
EXTRAVERSION = -063c4d24
7. Set your environment variables:
export ARCH=arm
export CROSS_COMPILE=arm-eabi-
export PATH=$PATH:~[path of your arm-eabi compile toolkit binary in android ndk]
8. cd to your kernel folder and make modules
cd ~[path of your kernel source]
make modules
Resulting tun.ko should be in the drivers/net folder of your kernel source.
Just beware, it is not for the fainthearted.
Further information:
http://android-dls.com/wiki/index.php?title=Build_a_custom_kernel
http://forum.androidcentral.com/htc-hero-rooting-roms-hacks/8072-how-build-your-own-kernel-package-source.html
Just a quickie video post. Since this reseller keeps quiet on whether they will update their commtiva z71 variant, I decided to upgrade my phone myself. Got much faster speed, and I’m very satisfied with the result! Been working with phonegap too – so android development, here I come!