copyright 1998-2011 by Mark Verboom, hosted by Stichting Nerdnet, sponsored by Open Peering
ipv6 ready RSS Feed Switch to English

Mark's blog - All artikelen

Categorieën: [Alles] Android Auto's Humor Linux Muziek Overigen 
 

Friday, 20 January, 2012

Droid 3 FM Radio?

So, I'm pretty happy with my Droid 3. Thought I knew all the ins and outs. Turns out I didn't. Even though there are no apps installed for it on the device and Motorola doesn't advertise it, the Droid 3 contains an FM receiver! As long as you install the app, it just works out of the box.

You can download the app from here:

Droid 3 FM.apk

Just install it, attach a headset (the phone uses it as an antenna) and start tuning.

Lees verder

Monday, 9 January, 2012

Asus Transformer escape key

I really like the combination of the Asus Transformer, the keyboard and Connectbot. It give you a very nice terminal. However, using Unix and vi I use the escape key a lot. On the keyboard this translates to the back button, neatly exiting your current session.

But if you have root access it is quite easy to fix this. I never use the key to switch of the wifi on the transformer, so I mapped that key to the back button and the back button to escape. To do this, edit the following file on the transformer:

/system/usr/keylayout/asusec.kl

If you are editting on the Transformer itself, don't forget to remount /system as read-write otherwise you won't be able to save your modifications.

mount -o remount,rw /system

Lees verder

Sunday, 2 October, 2011

Finding your wireless keys on Android

I don't think I'm the only one who can't remember the wireless password you just entered for a network. Especially when someone else also needs it, and you've just thrown away the paper where it was on :)

In the GUI you can't see the password.

Lees verder

Friday, 30 September, 2011

Droid 3 software update

So, a new software update was released for the Droid 3. My current version was 5.5.959.

Lees verder

Tuesday, 27 September, 2011

Dmesg with readable timestamps

Dmesg is a really useful tool to look at recent log messages from the kernel, especially when there is a problem. A while ago the option to include timestamps in kernel messages was added, which gives you a seconds since boot indication of when a message occurred.

[ 46.451673] Bluetooth: BNEP filters: protocol multicast
[ 46.489223] Bluetooth: SCO (Voice Link) ver 0.6
[ 46.489224] Bluetooth: SCO socket layer initialized
[ 46.890497] lp0: using parport0 (interrupt-driven).
[ 46.927571] ppdev: user-space parallel port driver
[ 50.376608] ttyS1: LSR safety check engaged!
[ 50.439012] ttyS2: LSR safety check engaged!
[ 50.451335] ttyS3: LSR safety check engaged!
[14700.482957] loop: module loaded
[14700.595479] ISO 9660 Extensions: Microsoft Joliet Level 3
[14700.608103] ISO 9660 Extensions: RRIP_1991A

Lees verder

Thursday, 8 September, 2011

Droid 3 with Vodafone

So I recently got a Motorola Droid 3. It is a globale phone, so even though it is Verizon branded it should work fine here in the Netherlands.

Lees verder

Sunday, 31 July, 2011

Motorola Milestone 2 firmware upgrade

A while back I got a Motorola Milestone 2. It is delivered with Android 2.2 Froyo. Unfortunatly it doesn't look like there will be an update to Adnroid 2.3. However, after searching a bit on the Motorola website, I found there was an update for the Motorola Blur software on the phone.

My phone was running version 2.2.16.

Lees verder

Wednesday, 20 July, 2011

Overloading library calls

I encountered a problem with a piece of software. It seemed it based some calculations on the information it retrieved about a couple of directories. Unfortunately its output changed whenever you made modifications to the OS, which was not desirable. And of course it is a closed source piece of code.

Using strace I could identify which directories it was accessing and which function it was using: lstat64

So looking into a solution for this I quickly came to using LD_PRELOAD to overload the stat call and return modified information. My first attempts failed as the stat call isn't a published symbol by libc:

nm -D /lib/libc.so.6 | grep stat64

Lees verder