Archive for the ‘Linux’ Category

2.6.32.9 tun.ko armv6 module for Z71 variants (froyo)

Wednesday, March 23rd, 2011

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.

Download here.

How to compile tun.ko For Android (Commtiva Z71)

Monday, March 21st, 2011

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

Froyo Mod on Commtiva Z71 Variant (Cherry Mobile Nova)

Monday, March 14th, 2011

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!

Facebook Zero on Android

Wednesday, January 19th, 2011

I’ve been asked by some people on how to access facebook for free on their android mobile phone in the Philippines. Well, you can do this if you have a Sun cellular sim card, using a service called facebook zero.

I did this on my Cherry Mobile Nova, but basically all android phones have similar settings screen.

Facebook Zero is a service by Sun Cellular offered to its subscribers to access the popular social networking site for free (by now). Let us see how to configure this currently free service for android devices.

We need to make sure that the Sun wap APN is configured on the Settings->Wireless & Networks->Mobile network Settings->Access Point Names as shown below:

If its not created yet, let us create a new APN called “Sun GPRS” (screenshot below shows the important settings used for this wap service):

Select this APN for use and on the previous screen, enable Data:

This will let android connect to the wap service. Let us now open the default android browser and type in “0.facebook.com”:

If successful, you will now connect through the browser (through wap) to facebook for FREE. Happy surfing!

Short Post – Android Thoughts

Sunday, January 16th, 2011

Finally got myself a month ago an android phone, a cheapo commtiva z71 variant (cherry mobile nova)

Thoughts about it? Really cool, but android by itself is somewhat unpolished compared to iOS, or even Symbian for that matter.

Stay tuned for more.

Posted from android.

image

image

image

image

Openvpn for Meego 1.1 (Updated with source RPMS)

Sunday, November 28th, 2010

Short post.

I want share to you that I compiled some meego 1.1 rpms for openvpn (I can’t use my meego netbook for work because it doesn’t have openvpn in it’s default repositories). All you need to do is to download the rpm files in the ostalks ibiblio mirror:

http://mirrors.ibiblio.org/pub/mirrors/ostalks/meego/1.1/i586/openvpn-2.1.1-2.i586.rpm

and

http://mirrors.ibiblio.org/pub/mirrors/ostalks/meego/1.1/i586/pkcs11-helper-1.07-5.i586.rpm

install the last rpm first before installing openvpn.

Have fun!

UPDATE:
If you want the source rpms, they are located here:

http://mirrors.ibiblio.org/pub/mirrors/ostalks/meego/1.1/src/pkcs11-helper-1.07-5.src.rpm

http://mirrors.ibiblio.org/pub/mirrors/ostalks/meego/1.1/src/openvpn-2.1.1-2.src.rpm

You need to install the meego sdk.

Just needed to compile:
rpmbuild –rebuild –target=i586 pkcs11-helper-1.07-5.src.rpm
to install openvpn dependency, then

rpm -Uvh pkcs11-helper-1.07-5.src.rpm

and then go ahead to compile openvpn:
rpmbuild –rebuild –target=i586 openvpn-2.1.1-2.src.rpm

then use rpm -Uvh openvpn-2.1.1-2.src.rpm

to install. If you see dependency errors, just install these deps by using the command:
sudo zypper install

Meego Sources and Images Now Available

Thursday, April 1st, 2010

Quick short post.

Day One has arrived, and both intel and nokia have released sources and is opening up Meego for development. What is now available? Everything from the kernel to the middleware stack was released today.

The UI Experience Framework will be released later in May; this is when Meego actually goes for it’s first release.

Also, for downloads (images of the base system, terminal only) of Meego for N900, Intel Atom Netbooks and the Intel Atom Handset (Moorestown), they are now available at http://meego.com/downloads

Full details are here.

Arora 0.10.2 – Moblin

Saturday, March 27th, 2010

Since I’ve been working on the windows installers for arora – I realized there were no arora rpms for moblin.

Presenting arora 0.10.2 rpms on moblin. Fast, lightweight and excellent flash support too (flash seems to play faster in moblin than on firefox).

Get it from the ibiblio moblin repository now.

Meego Repository Working Group Meeting

Monday, March 22nd, 2010

Short post: just had a first taste of the Proposed Repository Working Group meeting for Meego over irc. Nothing much yet, there’s still stuff the group have to find out more on the build system, but at least progress has been made.

Anyways, initial writeup for the draft of mission and scope of the team will be presented to the TSG the meeting after the TSG’s meeting on Wednesday.

I’m still getting the hang of how things are done in meego, but I’m sure I’ll get there soon enough.

Just to let you know what was discussed (at least some of it – had a flakey connection and got cut off on some portions):
1. All apps in Meego repository makes use of official or community provided APIs.
2. If a proprietary vendor has proprietary APIs it will have a proprietary store.
3. Some suggestions were made about splitting libraries into Stable and Experimental/Unstable. Stable is where official APIs and few well supported community APIs are placed. The experimental/unstable stuff is where not well maintained but useful libraries are placed.
4. Apps should avoid forking at all costs. External dependencies on the apps should mostly be Qt based.
5. A possible problem seen would be on how to deal with vendor APIs.
6. lbt (coming from the maemo side, .deb) and th0br0 (Fedora packager, rpm) will be the coordinators/representatives to the TSG for now.

There are other stuff mentioned, but basically all draft – all have to be presented to TSG. Since there is so little info yet on the Build System, all these things will most probably be subject to change in once TSG guidelines for meego emerges.

Linux Manga, Anyone?

Sunday, March 14th, 2010

I’ve always been fascinated with Japanese culture. Especially with anime and manga.

For those who don’t know, manga is the Japanese equivalent of comics; anime is animation, heavilly influenced by manga styles and typically includes characters with large eyes, big hair and elongated limbs, among other things. What I find amazing with these forms of art is that they compass all subjects, from typical romance, sports, drama, comedy, and other things as well!

If you have some friends that like these kinds of art (I’m pretty sure a lot of people nowadays like anime and manga), and would like to introduce linux to them, why not give them a manga-styled comic that teaches them linux?

Introducing Ubunchu!

This manga is all about the adventures of three school students in a system-admin club learning ubuntu. All the chapters of this manga are presented in a fun way, that any manga lover would appreciate.

The neat thing is, the one promoting linux (or ubuntu) is a girl! Not the guy – he’s a PC user (weird guy, weird guy, boo!)

Don’t worry though, he gets it more or less as the series progresses.

There are currently 5 chapters to this manga. In the spirit of open-source collaboration, these are translated into different languages by volunteers.

Each manga chapter introduces different topics; the first chapter for example, we see how linux has come a long way from it’s command prompt days, to a point where it is now easy to install. Moving forward to chapter 4, we are introduced to licenses. All of it is done in a funny and light way too.

Got you interested? Head to http://www.ubunchu.net/ now and download these chapters for free!