Android 2.3.7 (Alpha) for HP TouchPad Has Been Released

CyanogenMod team has just released the CyanogenMod 7.1 port for the HP TouchPad. This is an initial alpha release, so there are still plenty of bugs and a few non-working features, but overall it should be in a state that you can at least play around with Android on your TouchPad. For this release they used a new experimental installer called the Alpha CyanogenMod Experimental Installer (ACMEInstaller). This installer will reorganize partitions on the flash (resize the WebOS media volume to make room for Android).ACMEInstaller will be used to install ClockworkMod Recovery, CyanogenMod 7.1 and the new Moboot bootloader. After installation you’ll be able to boot WebOS or Android (dual-boot). The firmware currently support the following features: GPU acceleration 1080p video playback Wifi(with caveats) Bluetooth(no headset profile) Touchstone dock support Audio As it is alpha, there are also plenty of known issues including: Higher than normal battery drain, ~2%/hr while suspended Only partially-working camera Need to change the wifi sleep …

CubeStormer II Solves The Rubik’s Cube in 5.352 Seconds

Do you remember the ARM Android Based Rubiks Cube Solver ? Last year it could solve the puzzle in an average of 15 seconds. David Gilday has upgraded its robot with the help of Mike Dobson and named the device CubeStormer II. They released a video showing the CubeStormer II solve the Rubik’s Cube in 5.352 seconds, faster than the human world record (5.66 seconds). The mechanics are constructed entirely from LEGO, including four MINDSTORMS NXT kits, with the addition of a Samsung Galaxy S II smartphone running a custom Android app as the robot’s brain. The app uses the phone’s camera to capture images of each face of the Rubik’s Cube which it processes to determine the scrambled colours. The solution is found using an advanced two-phase algorithm, originally developed for Speedcuber (originally developed by Mike Dobson), enhanced to be multi-threaded to make effective use of the smartphone’s dual-core ARM Cortex-A9 1.2GHz Samsung Exynos 4210 processor. The software finds …

Finding the package that contains a particular file in Ubuntu

It often happens that a file is missing during compilation and you get this kind of error: In file included from media/audio/linux/audio_manager_linux.cc:15:0: ./media/audio/linux/alsa_input.h:8:28: fatal error: alsa/asoundlib.h: No such file or directory compilation terminated. In file included from media/audio/linux/alsa_input.cc:5:0: ./media/audio/linux/alsa_input.h:8:28: fatal error: alsa/asoundlib.h: No such file or directory compilation terminated. That usually means a development package is missing. Sometime you can just guess the name of the package or you can use aptitude to find the file. There is also another (better) method in Ubuntu: apt-file utility allows you to find the package corresponding to a particular file. First install apt-file sudo apt-get install apt-file Them the first time, you need to download the files with the data for your system apt-file update Finally, you can use apt-file to find the package. For example with alsa/asoundlib.h apt-file search alsa/asoundlib.h libasound2-dev: /usr/include/alsa/asoundlib.h  

Running Android Apps in Windows 7 with Bluestacks App Player

Bluestacks has released an Alpha version of its App Player for Windows 7. This sotware allows you to run Android apps inside Windows 7. I’ve tried to install it in Windows XP but it won’t work and here’s the reason: So Bluestack App Player is a Windows 7 gadget, so it would obviously not work in Windows XP. If you want Windows XP, you do not need to despair as you can still run Android-x86 in a virtual machine (The post is a bit old, Android 2.3 is now available). Of course, this is not as neat and fast as Bluestacks application. There are 10 applications pre-installed. I’ve tried Bloomberg app and it works very well. If you need more apps, you can visit Bluestacks Channel and add up to 16 extra applications. The pro-version will not have this limitation and will allow users to install premium apps such a Angry Birds which is not possible with the free version. …

Get CFLAGS for a Package with pkg-config

As I tried to cross-compile an application that required glibconfig.h, I found a way to retrieve the CFLAGS for a given package. Here’s the output for glib-2.0 and gtk-2.0 in qemu for overo: pkg-config –cflags glib-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include pkg-config –cflags gdk-2.0 -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 Finally, I found out that glibconfig,h was in /usr/lib/arm-linux-gnueabi/glib-2.0/include as this file is generated by configure and is platform dependent.

New Android 2.3.4 Release For ST Ericsson Snowball Development Board

Igloo Community – the team developing for ST Ericsson Snowball Nova A9500 development board – has released the second version of Android 2.3.4 for the board. It can be downloaded at http://igloocommunity.org/download/android/images/20111012/ for V3 and V5 boards. Here are the new features and main bug fixes for this release: GPS support enabled WiFi instabilities fixed and enabled in the UI The browser home page crash is gone and the known issues: Audio recording does not work Potrait mode does not work (rotating the device corrupts screen until rotated back) The phone app crashes (no modem support) The flashing instructions are available at http://www.igloocommunity.org/support/Flashing_howto

Generate a Custom ARM Rootfs Easily with Rootstock

You may need to generate your own rootfs for your ARM target board, but do not want to cross-compile all libraries manually. You can achieve this with rootstock, a utility that generates Ubuntu armel rootfs tarballs and/or qemu image, to be uncompressed onto a root device. First install roostock: sudo apt-get install rootstock Then generate a rootfs with the required libraries: sudo rootstock –fqdn beagleboard –login cnxsoft –password temppasswd \ –imagesize 3G –seed xfce4,gdm,pkg-config,python,perl,g++,bison,flex,\ gperf,libnss3-dev,libgtk2.0-dev,libnspr4-0d,libasound2-dev,libnspr4-dev,\ libgconf2-dev,libcairo2-dev,libdbus-1-dev,libstdc++6-4.5-dev,libexpat1-dev,\ libxslt1-dev,libxml2-dev,libbz2-dev  –dist natty Here are the details of the command line parameters: –fqdn: Hostname to be used for the target system –login: Login ID of the admin user created during setup –password: Password of the admin user created during setup –imagesize: Size of the target filesystem to be created (default 1GB) –seed: List of packages to install –dist: Specify Release to build (jaunty, karmic, lucid, maverick or natty) Alternatively you could also use an existing rootfs, run it in your board or in qemu, …

MontaVista adds HTML5 and Android support to its GENIVI-Compliant Automotive Technology Platform

Montavista announced secure HTML5 and Android support to its Automotive Technology Platform (ATP) which is GENIVI Compliant. HTML5 support is provided via MontaVista’s ModiiTM Digital Media Solutions Platform. Both Android and HTML5 are made independant of critical part of the software as they are executed in a MontaVista Linux Container (isolated virtualized container environment). Here’s an excerpt of the press release: SANTA CLARA, Calif. – October 10th, 2011 – MontaVista® Software LLC, today announced secure HTML5 and Android support for its Automotive Technology Platform (ATP). The addition of HTML5 support is provided via MontaVista’s ModiiTM Digital Media Solutions Platform which adds a powerful HTML5-based UI Framework to its recently released GENIVI-Compliant Platform. The Android support delivers a high performance Android runtime environment, which opens up access to a vast number of popular applications from the entire Android ecosystem. Complementing the Android and HTML5 capabilities, MontaVista has implemented a unique dual-layered secure environment consisting of both Security-Enhanced Linux (SELinux) and MontaVista …