Archives for category: android
(Sorry for the bad title :-))

I'm a big Android fan. Because of it's open character and if I rooted my Android device, it is even better!
But, unlike many others I am not an Apple iPhone/iPad hater. I think it also kick ass. The Apple devices have more of fun-factor than most Android devices. And if you Jailbreak it, it opens some more possibilities. I will not discuss them here. Also I will discuss how to Jailbreak your Apple iP* device. If you install an SSH server on your Jailbroken device, there are some nice directories on the device. 
Here they are:

Ringtones:
/private/var/stash/Ringtones.adSbWP

Photo's:
/private/var/mobile/Media/DCIM/100APPLE

PodCasts: (do podcasts still exist?) 
/private/var/mobile/Media/Podcasts

Music:
/private/var/mobile/Media/iTunes_Control/Music

Installed Apps:
/private/var/mobile/Applications

Voicemail:
/private/var/mobile/Library/Voicemail
In DB format. Can be opened with SQLite Database Browser

Text Messages (SMS):
/private/var/mobile/Library
In DB format. Can be opened with SQLite Database Browser

Mail:
/private/var/mobile/Library/Mail
In DB format. Can be opened with SQLite Database Browser

Calendar:
/private/var/mobile/Library/Calendar
In DB format. Can be opened with SQLite Database Browser

Contacts:
/private/var/mobile/Library/AddressBook
In DB format. Can be opened with SQLite Database Browser
Advertisements

Running Ubuntu on Android.

If you have an (rooted and have busybox installed!) Android device which is fast enough to run Ubuntu you can give it a try.
It works quite well on my Samsung Galaxy s Plus. It has an 1.4ghz ARMv7 processor, which is fast enough to run it, but I think it should be any slower.
(OW men, I wish I had a Galaxy Note, (quadcore 2ghz…)
The second requirement is, you have to have at least an SD card larger than 4gb for optimal use of Ubuntu.
The third requirement is some knowledge of shell scripting. If you’re not at least a little bit familiar with scripting, you’d better not try it.

Steps to follow:

1.Download the following files:

http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/ubuntuV5-image.zip/download
(for the large image, 3.5gb) The smaller one can be downloaded here: http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/ubuntuV5-sm-image.zip/download
I’m not sure, but I think it’s about 400mb)

Install a terminal emulator in android: https://market.android.com/details?id=jackpal.androidterm&feature=search_result#?t=W251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
and install a decent VNC viewer on your device: https://market.android.com/details?id=android.androidVNC&feature=search_result#?t=W251bGwsMSwxLDEsImFuZHJvaWQuYW5kcm9pZFZOQyJd

2.Unzip the first two files on your SD card, preferrably on the SD card in <sdcardlocation>/ubuntu You should then have an .img file and an .sh file in the directory.
3.Install the terminal emulator and the vnc viewer.
4.It might not work in the first time, but run the script by the following commands:
-CD to the directory where the files are located
-su
-sh ubuntu.sh
-analyze the errors and correct them. But never fear 🙂 The errors are mostly caused by wrong directorynames in the script. Correct them, if it is possible. And be sure that you have busybox installed: http://bit.ly/yskMBB

-Eventually, you should get some questions about screen resolutions. If so, your Ubuntu is close to getting started.
-connect via VNC from the android device (or PC, ofcourse) to the ipaddress. Port 5900 will do.
Note that Ubuntu will not keep running in the background. It stops running when you exit the terminal where you ran the ubuntu.sh script.
Everytime you run ubuntu.sh, you will be able to connect to Ubuntu via vnc. Pretty cool eh?

Ow, the last thing I need to mention is, that when you have logged into your fresh new Ubuntu machine via VNC, you might get some problems that if you press the d key on your keyboard, the Ubuntu desktop will show, if you press d again, then the windows pop up. Go to System, Preferences, Keyboard shortcuts, Look under Window Management and find “Hide all normal windows and set focus to the desktop”. Press <BACKSPACE> on this option and this nasty keyboard shortcut is gone.
Maybe you do not have the same problem, but I did.


A couple years we would not imagined thinking, that we would walk around with tablets, which could read mail, watch youtube, edit documents and so on.

Admitted, I like ipads. Although, I do not own one. I just think they are way too expensive. I now own a (WM8650) Fview 7inch android tablet.
And, yes, it can not remotely compete with the ipads and a lot of other Android tablets, but it is very nice for its price. I've seen the
7 inch tablet for sale for about 99 euro's (!!). That's a better price for a gadget, I think.
More info: http://bit.ly/jLzAQD (Sorry, I could not find an English one :-))

I downloaded an alternative mod for it on http://bit.ly/lncF1v and it runs smoother than with the original rom :-). Another tip is, use a task manager
on you android device. It boosts performance. But the other advantage of a modded rom is that your Android is rooted. A mayor disadvantage is that there
is no 3g available on it. If you own a usb 3g modem (like the huawei modems, and some other), you might be able to setup 3g on it (with the earlier mentioned
rom). I happen to have a Huawei e220 (http://bit.ly/lwXR4h), Works nicely, but you must connect the modem a a dongle wich you connect to the tablet (http://bit.ly/jLzAQD).
Not a pretty sight and not very comfortable.
There is another way of connecting to the internet. At home you could use wireless and when you are outside you could use tethering.

I have an android phone. If it's rooted, (google cyanogen) you can install Barnacle on it (http://bit.ly/ldjgdL). With Barnacle you actually create an ad-hoc
wireless network. It works when I connect with a laptop, but the Android tablet, by default does not see ad-hoc networks.
Now comes the tricky part :-) You must edit some configfiles on the tablet.
You can do this by first connect to your home wireles network and install sshdroid (http://bit.ly/m1Mo2v) on the tablet. SSHDroid doesn't start with a wireless
connection (or if you set it up different) Connect to it (with putty or any tool of you choice) and first make a backup of the file
/system/etc/wifi/tiwlan.ini
and...
edit the following files as follows:
# /system/etc/wifi/tiwlan.ini
WiFiAdhoc = 1
dot11DesiredSSID = <your barnacle ad hoc network>
dot11DesiredBSSType = 0
and
# /data/misc/wifi/wpa_supplicant.conf
ctrl_interface=ra0
update_config=1
eapol_version=1
ap_scan=2

network={
ssid=”<your barnacle ad hoc network>”
scan_ssid=1
mode=1
key_mgmt=NONE
group=WEP104
auth_alg=SHARED
wep_key0=”<your barnacle ad hoc wifi's wepkey>”
}

!! A few mentions about editting these files !!:
First of all, check everything before saving the files!
You might discover that there is no /system/etc/wifi/tiwlan.ini. Just create it. Secondly, you see that there is a line with ctrl_interface. On your device it might be differtent
Just stick with that. I might say ctr_interface=tiwlan0. Just keep it that way. Do not change it to ra0 then! And you might find out there is a /system/etc/wifi/wpa_supplicant.conf.
I strongly suggest that you do not edit this file! I've done it... After that I could reinstall the rom, because of a errors with starting wireless...
http://piv.pivpiv.dk/

So, just edit the /data/misc/wifi/wpa_supplicant.conf. The final mention is. If you copy and paste the text, you might find out that the " is replaced with
other characters. Watch out for that! You might get some more wifi errors. So check before you save the files! Any error could get you wound up, reinstalling a rom
on your device...
Finally, i made a shell script to copy the files to the locations as stated above. When I'd like to connect to my ad-hoc wifi network, created with Barnacle, i copy the
tiwlan.ini and the wpa_ supplicant.conf with the settings for the adhoc network. And when I'm at home, i'd like to connect my device to the wifi Access Point.
In that case you'd better create another script. The script should delete the /system/etc/wifi/tiwlan.ini and copy the original /data/misc/wifi/wpa_supplicant.conf to /system/etc/wifi.
The scripts look like this
@home:
rm /system/etc/wifi/tiwlan.ini
cp /sdcard/gscript/home.conf /data/misc/wifi/wpa_supplicant.conf
@AdHoc
cp /sdcard/gscript/home.ini /system/etc/wifi/tiwlan.ini
cp /sdcard/gscript/adhoc.conf /data/misc/wifi/wpa_supplicant.conf
The last thing I would like to mention is gscript. gscript is an Android app, which can be found in the market. You can use gscript to easily run the shell scripts, mentioned earlier.
If you place the scripts on /sdcard/gscript, the gscript app can find the scripts there.
Good luck ;-)