AndDiSa's Blog

Android, Linux and more

Last night my Nexus 7 shut down automatically due to a battery draining app. This morning I found the device with a black screen and switched off. While connecting it to a charger I tried to start up the device but there was only a flickering screen. I tried to switch off completely the device while...

Continue reading...

New compilation of Android sources is based on jack, a server runing in the background compiling asynchronously the different projects and libraries needed for the overall Android system. Unfortunately by default the maximum memory settings for jack are not suffiction to compile the Android Java sou...

Continue reading...

Building Andoid AOSP 7.x for Grouper up to now I was using gcc 4.9 for building the kernel. The kernel was stable, working fine and I had no issues. But almost each time when I tried to integrate a new feature / or changed the configuration of the kernel starting the compiled kernel resulted in a...

Continue reading...

Today four years ago the first G1s were put to the market. Ok, my G1 is no longer in it's first configuration (Android 1.5 Cupcake) because I've upgraded to ADS_Magpie (Gingerbread 2.3.7), but I am still using and loving it ... ;-) More on the G1's history you can read on: T-Mobile G1 Celebrates ...

Continue reading...

Unfortunately Android 4.x+ devices cannot be mounted as a VFAT device any longer. While with 4.0 only the PTP mode is supported (which can be used to transfer photos only), on 4.1+ you can switch between PTP mode and MTP mode in the settings.

While Windows has an acceptable MTP support, on Linux s...

Continue reading...

Partition Name Partition Description by_name Size in Blocks Size in MB
mmcblk0p1 recovery SOS 12288 12
mmcblk0p2 boot LNX 8192 8
mmcblk0p3 system APP 665600 650
mmcblk0p4 cache CAC 453632 443
mmcblk0p5 misc MSC 512...

Continue reading...

You can debug your applications on your Android device not only over USB, but also over a TCP/IP (LAN / WLAN) connection. To enable tcp debugging you have to enter the following commands on your device:

setprop service.adb.tcp.port 5555
stop adbd
start adbd

To start debugging enter on your PC:

...

Continue reading...