Category Archives: Mobile

Thursday, 3 February, 2011

Install Ubuntu Netbook on MSI Wind

I installed the Ubuntu Netbook Edition on my MSI Wind successfully. There are some minor problems along the way, but the final product looks good! Applications can use the maximum vertical screen space.

The installation of Ubuntu Netbook Maverick version overwrites my old Jaunty version, but without overwriting any of my personal data files.

There is a problem in booting up from the usb stick initially. The problem is detailed here: Maverick images burned to usb key on lucid fail to boot - different syslinux version The solution to it is simple, modify the file /syslinux/syslinux.cfg (in the usb) by removing the "ui" keyword, and after that, the boot up should proceed fine.

Related:
Install Ubuntu on MSI Wind (Jaunty version)

Tags: MSI-Wind, Ubuntu, netbook, testing, installation, Linux


Posted in Mobile , Linux , Personal , Technology , Open-Source


Saturday, 13 November, 2010

HowTo Transfer Files Between Linux and Android Phone

In Android 2.2, we can just connect our computer to the phone's Wi-Fi hotspot directly without accessing a separate wireless network. The instruction below will describe the use of the phone's Wi-Fi hotspot although it is not required. (It is sufficient that your computer can access your phone through a network)

  1. On the Android phone, Select Menu > select Settings > select Wireless&networks
    Wireless&networks
  2. Select Tethering & portable hotspot
  3. Select the Portable Wi-Fi hotspot checkbox to share your data connection
    Tethering&portable hotspot
  4. If this is the first time the Wi-Fi hotspot is turned on, you should configure your phone's network SSID and password. To do that, select Portable Wi-Fi hotspot settings > select Configure Wi-Fi hotspot, then enter the values and save it.
  5. From Linux, assuming you are using NetworkManager, you can select your phone's network SSID and enter the password you have set earlier on your phone to connect to Internet via your phone's Wi-Fi hotspot. Subsequently, NetworkManager will by default auto-connect without requiring the password to be entered again.
    NetworkManager
  6. Open a terminal, and enter the route command to check your phone's IP address. In my case, the default gateway 192.168.43.1 for my wireless network interface (ra0) is my phone's IP address.

    lcm@skywind:~$ route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref   Use Iface
    192.168.43.0    *               255.255.255.0   U     2      0       0 ra0
    link-local      *               255.255.0.0     U     1000   0       0 ra0
    default         192.168.43.1    0.0.0.0         UG    0      0       0 ra0

  7. On your phone, download and install SwiFTP. It is FTP server for Android.
  8. Run SwiFTP. You will need to set the ftp user and password. By default, it listens on port 2121. SwiFTP
  9. Using the Linux Gnome File browser, select File menu > select Connect to Server menu, and then enter the ftp user, server and port. You can add the ftp connection as a bookmark so that you only need to enter the password subsequently.
    Connect to Server
    The File browser will prompt for the ftp user's password. Enter ftp password
    The File browser is displaying the Android phone's root folder. FileBrowser
  10. You can now use normal file operations: cut, copy, paste to transfer files between your phone and Linux. (If you prefer to use a Ftp client software, you can use that also.)

Tags: Linux, Ubuntu, Android, internet, wireless-network, user-guide, resource


Posted in Photos , Mobile , Linux , Personal , Open-Source


Monday, 8 November, 2010

Ideos Android Phone

I bought this Ideos Android Phone on Oct 9 (Singtel upgrade). There are 2 main reasons: it comes with Android 2.2 which includes the Wi-Fi hotspot feature, and it is cheap.

I cracked the phone screen on Oct 26, after about 2 weeks usage. :(

Read a Huawei Ideos review (CNET UK)

Ideos

Below is list of downloaded and installed Android applications on my phone: (The links are clickable on the Android browser)

I find out that some applications can be seen on the Android market website, but they are not available or cannot be found using my phone's Android market application.

Replica Island is an Open-source app, but the Android market app cannot find it. I download it from apkfile.net

Tags: Google, Android, internet, testing, installation, resource


Posted in Photos , Mobile , Personal , Open-Source


Tuesday, 24 February, 2009

A developer's introduction to Google Android

From arstechnica.

Ars takes a close look at the technology underlying Google's Linux-based Android platform. From the platform fundamentals to the development experience, details inside.
..

As Google originally promised, things improved dramatically after the launch of the G1. The source code for the entire platform is now open, and Google has published extensive documentation that describes how independent developers can contribute to the project. Those changes in the development process make Android a truly open and participatory project. Patches from external contributors have already been accepted, and Google is also working closely with upstream projects like Harmony.

After the source code was opened, there was still one critical weak spot: the T-Mobile G1, Android's flagship handset, is a closed device that uses code signing to restrict changes to the platform. There is no way to flash the G1 with modified images, which means that platform hackers have no practical way to test their changes on physical hardware. This limitation was an immense disappointment, and it undermined a lot of the value of having an open mobile platform. To address this deficiency, Google launched its own unlocked developer model of the G1 handset. The hackable Google handset, which is available to anyone who registers with the Android App Store, is a fully open device that can be flashed and modified.

..

The next major version of Android delivers some important features that will help make the platform more appealing to mobile carriers and hardware makers. One of the most important changes is the new on-screen keyboard, which has opened the door for using Android on a whole new class of devices. There are already several products under development that will take advantage of this feature, including an upcoming media tablet from Archos, a WiFi Skype tablet from GiiNii, and the HTC Magic, which is coming to Vodafone.

Another significant addition is support for the x86 architecture, which could make it possible to bring Android to some netbook devices and Atom-based MIDs.

.. ..

Google had better act fast to capitalize on Android's momentum, because its window of opportunity is closing quickly. Microsoft is moving to get its improved version of Windows Mobile ready to ship, some of the LiMo-compatible smartphone platforms such as ALP are getting closer to hitting the market, and Symbian will be royalty-free soon. Google has a chance to be a major player in the mobile market. The company will need to mature Android rapidly to stay competitive in the growing smartphone ecosystem.

Related:
Interview with Google Android’s Makers.

Tags: Google, Linux, cooperation, Android


Posted in Linux , Mobile , Open-Source , Technology


Sunday, 30 November, 2008

Install Ubuntu on MSI Wind

The MSI Wind has a spec of 2Gb ram, 160Gb harddisk, and comes with 6 cells battery.

I first use the Wubi Ubuntu Installer to install Wubi 8.10 on Windows. This Ubuntu runs on the Windows file system, so we can test Ubuntu out without creating separate partitions. (The instruction is detailed at Ubuntu 8.04 Hardy Heron - MSI WInd User wiki.

Next, I try to get the networking up. I wasted some time before realizing my MSI Wind has a different wireless card from the one described in the MSI WInd User wiki. I am able to find the wireless adapter used, RT2860 by checking the windows wireless adapter driver. The Linux driver for RT2860, 2008_0918_RT2860_Linux_STA_v1.8.0.0.tar.bz2 can be downloaded from Ralink Technology.

To be able to compile the driver, you need a proper build environment with the appropriate kernel headers

sudo apt-get install build-essential linux-headers-`uname -r`

I have some help from the Ubuntu forum rt2860 Ralink chipset.

I modify the os/linux/config.mk file to set the following:

# Support Wpa_Supplicant

HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Maganger

HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

To compile the driver, and then to install the module as root:

sudo make

sudo make install

To check whether the wireless adapter is detected:

sudo /sbin/insmod rt2860sta.ko

sudo modprobe rt2860sta

sudo depmod -a

iwconfig

The wireless interface on my system is listed as ra0 (RT2860 wireless).

To get the wireless adapter to startup on boot, create an executable file rt2860up in /etc/init.d/ with the content:

#!/bin/sh

sudo ifconfig ra0 up

and then run the following commands: (the RT2860STA.dat file is not needed)

cd /etc/init.d

sudo chmod +x rt2860up

cd /etc/rcS.d/

sudo ln - s /etc/init.d/rt2860up S33rt2860up

sudo rm /etc/Wireless/RT2860STA/RT2860STA.dat

Reboot the machine and enable Ubuntu's network manager wireless networking. The machine is able to connect to the home wireless router.

Also, following the instruction from MSI WInd User wiki, my system comes with the 5986:0203 BisonCam (Acer's webcam). After installing the module, we can test the webcam with cheese, Cheese is a cheesy program to take pictures and videos from your webcam.

sudo apt-get install cheese

As my Singnet broadband contract is going to end soon and I will be terminating it, I have signed up for Singtel mobile broadband instead. I choose to receive the Huawei E180 HSPA USB Modem. In Ubuntu 8.10, the network manager can auto-detect the modem as a Huawei E220 model and it can connect to Singtel without a problem.

I install Firestarter, it is a Linux firewall with a GUI (graphical interface) and it can also allow Internet connection sharing.

sudo apt-get install firestarter

In the case when I am using mobile broadband, then the Internet connected network device is ppp0 and the Local network connected device is ra0 (wireless) for the firewall network settings. The firewall can only be started when the Internet connected network device is used.

I also need to create a default route to the internet when connected through mobile broadband, and this can be done automatically by creating a script 2gwroute in the /etc/ppp/ip-up.d (scripts place here are run when the ppp interface is up, connected)

#!/bin/sh

route add default gw $4

Similarly, create a script 2gwroute in the /etc/ppp/ip-down.d (scripts place here are run when the ppp interface is down)

#!/bin/sh

route delete default gw $4

Once, everything is working, I decide to run Ubuntu on its own partition. First, we can install GParted, a Partition Editor, and use it to create partitions for Ubuntu.

sudo apt-get install gparted

I delete the D drive empty partition and create a primary partition as the root partition (/dev/sda3), and create an extended partition which is sub-divided into a small partition use as swap partition and the remaining to be use for /home . After this, we can upgrade the Wubi install to a standard Ubuntu system, by using the Loopmounted Virtual Partition Manager (LVPM). LVPM allows you to transfer all the data, settings, and applications from your original Wubi install to a dedicated partition. Download the LVPM package and install it. Run LVPM, select the "transfer" option and then select a partition to install to (in my case, /dev/sda3), and wait for your installation to be transferred over to the partition.

Again, using the instruction from MSI WInd User wiki, after rebooting the machine and entering the GRUB Bootloader screen, the GRUB cannot boot up the Ubuntu because the partition is set wrongly. This can be fixed with: after selecting the top item Ubuntu 8... , hit e to edit the item.

There should be three lines on the screen.

Scroll down to the line that says:

root ()/ubuntu/disks

and change it to:

root (hd0,X)

X should be the partition number you transferred

Ubuntu to using LVPM minus 1.

In my case /dev/sda3 is the 3rd partition, and

in GRUB, it is hd0,2 (GRUB starts from 0)

Once this line is edited, hit Enter to accept the editing, then b to boot.

Ubuntu should now boot up. You can make the changes permanent to fix your boot forever, by making the same changes in /boot/grub/menu.lst

The last thing is to move the /home directory to my last partition. Follow the instruction from this Ubuntu blog.

Tags: MSI-Wind, Ubuntu, netbook, wireless-network, internet, testing, installation, Linux


Posted in Mobile , Linux , Personal , Technology , Open-Source


Sunday, 23 November, 2008

Johor Bahru to Pontian

Yesterday, my father and I travelled back to our Malaysia home town in Pontian. I recorded down the bus trip from Larkin interchange to Pontian with Sports Tracker. We travelled on a Penawar express bus.


View Larger Map

View the same map on Nokia Sports Tracker.

On our return journey, I received sms from my brother, knowing that his father-in-law had passed away. (Let us offer a prayer to his father-in-law.)

Tags: sports-tracker, Photos, Google-map, Malaysia, GPS, Nokia


Posted in Mobile , Personal , Photos , Technology


Friday, 8 August, 2008

Free Symbian Software Giveaways for This Week

From then82blog.

SymbianGear.com is giving out free applications during this week. For each day, one specific application can be downloaded for free. (This info is a bit late, but still have 3 more free apps from today, they are EUROPAinfo 1.0, Advanced Brain Trainer and Handy Alarm.)

TheN82blog has links to many good and free applications.

Tags: resource, Nokia


Posted in Mobile