Saturday, May 14, 2011

How to read crash dump of Android

When porting Android system, sometimes boot fails animating Android logo forever. At the case some critical part failed by some reason. Look at log from logcat. There is crash dump.
Let's check the crash dump with me. (Japanese version of this page)

Icons and fonts are too small at Gingerbread (Resolved)

Icons and fonts are too small at Gingerbread (Resolved)

At the previous post(Quick hack to run Android 2.3(Gingerbread) on KZM-A9-Dual board ), size of icons and fonts are smaller than expected. I investigated this and resolved.(Japanese version)

Thursday, May 12, 2011

debuggerd of Android

If you port Android to your system or develop native libraries using NDK, you have a experience to see debug dump on logcat. That shows CPU registers and stack dumps of the process caused memory fault or other exception.

Who and how does the debug dump generate?
(Japanese version)

Sunday, May 8, 2011

Tips of "repo sync" of Android

When we download Android source code, we use "repo sync" command. It takes long time. I show you the tips about "repo sync" to save time.(Japanese version)

Saturday, May 7, 2011

Using ccache to build Android

Once when files related to Makefile (*.mk) is changed, it is necessary to do "make clean; make".
This is time-consuming work. It can reduce time using ccache. It is very easy to use ccache to build Android. (Japanese version)

Quick hack to run Android 2.3(Gingerbread) on KZM-A9-Dual board

I tried to run Android 2.3 (Gingerbread) on KZM-A9-Dual board. I show you this quick hack.
(Japanese version)

Hello, this is test

This is a just test post.

This is H1

This is H2

This is H3

This is H4


abc abc
#include <stdio.h>
main()
{
    printf("Hello, world\n");
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccdddddddddddddddddddddddddddddddd
    abc abc
}
abc abc
main()
{
    printf("Hello, world\n");
}
$ cd android-sdk-linux_x86/platform-tools
 $ ls -l
 total 19144
 -rwxrwxrwx 1 koba koba  3703535 2011-03-24 14:10 aapt
 -rwxrwxrwx 1 koba koba   362601 2011-03-24 14:10 adb
 -rwxrwxrwx 1 koba koba   905898 2011-03-24 14:10 aidl
 -rwxrwxrwx 1 koba koba   327500 2011-03-24 14:10 dexdump
 -rwxrwxrwx 1 koba koba     2603 2011-03-24 14:10 dx
 drwxr-xr-x 2 koba koba     4096 2011-03-24 14:10 lib
 -rwxrwxrwx 1 koba koba 14269620 2011-03-24 14:10 llvm-rs-cc
 -rw-r--r-- 1 koba koba    10800 2011-03-24 14:10 NOTICE.txt
 -rw-r--r-- 1 koba koba      291 2011-03-24 14:10 source.properties
 $
BOLD

Italic

del
  • one
  • two
  • three
  1. one
  2. two
  3. three
This is quote.

abc. abc.