Linux Kernel Upstreaming How-To – Linaro Connect Asia 2014

I’ve already written a post about submitting kernel patches to mainline based on a 2011 presentation by Greg Kroah-Hartman, but Matt Porter, Broadcom Landing Team (LT) Technical Lead at Linaro, has given two updated talks entitled “Upstreaming 101” and “Upstreaming 201” at Linaro Connect Asia 2014. There are many planned talked during LCA 2014, and you can get the list as well as links to presentation and videos, as they become available on LCA 14 resources page. The first session “Upstream 101” starts with some definitions such as “upstreaming” (basically getting your code to  kernel.org), “mainline”, etc, explains how to get information about the (912) maintainers (tip: it’s in the MAINTAINERS file), how to deal with the 2-week merge windows occurring every 10 weeks or so, but the bulk of the talk detailing the work flow required to upstream code to the Linux kernel. There are basically 5 steps: Preparation – Read […]

Flappy Bird Sucks, Let’s Play Flappy Tux Instead! Or How to Modify APK Files

Flappy Bird is a ridiculous fad, and I promised myself not to write about this silly game. I managed to resist when somebody showed off their Arduino powered real-life Flappy Bird, but then XDA developers mentioned one of their member posted instructions to customize Flappy Bird game. I thought it might be fun to personalize the game with pictures of friends or family members, and at the same time, learn how to hack apk files. Instead of real persons, I’ve replaced the original bird, by Tux, the official Linux mascot, flapping wings not included. The instructions in XDA dev forums are mainly for Windows, but I’ve adapted them to Linux, and “created” “Flappy Tux” from Ubuntu 13.10. I’ll assume you’ve already installed OpenJDK and the Android SDK and have a working Android app development environment. I think we just need adb and aapt from android-sdk-linux/platform-tools/bin to be in the path. […]

Try Ubuntu Touch on Your Computer with Ubuntu Touch Emulator

Canonical has just announced Meizu (China) and Bq (Europe) will be the first manufacturers to launch Ubuntu Touch phones at the end of 2014. But if you want to try Ubuntu Touch, and don’t own a Google Nexus 4 or 7, or simply don’t want to flash Ubuntu Touch to your devices, you can do so using Ubuntu Touch x86 Emulator in your computer running Ubuntu , or in an Ubuntu Virtual machine in Virtualbox or VMWare. The emulator has been available since last November, but Ricardo Salveti announced an updated version, the first public preview, with the following changes: Better TLS handling (not using the Android slots, but using pthread_set/getspecifics instead) Qt packages compatible with OpenGL ES 2.0 available at https://launchpad.net/~rsalveti/+archive/qt-gles-test It has been tried on Ubuntu Trusty (14.04), but I could run it just fine on Ubuntu Saucy (13.10), by following the instructions below in a terminal: Download […]

How to Build and Run Tizen 2.0 on AllWinner Boards – FOSDEM 2014

Leon Anavi has spent some time building and running Tizen for Olimex A10s-OLinuXino-MICRO board based onAllWinner A10s cortex A8 processor, and gave a short presentation at FOSDEM 2014 showing the main steps involved in the project. The final result is basically a non-portable Tizen tablet with a main board connected to an LCD display. If you have an LCD screen, you could also use a monitor (VGA/HDMI) instead. After a short description of the hardware, and explaining it should also work on other AllWinner platforms such as Cubieboard, Leon gave a few no-nonsense recommendations he learned from his mistakes: Get a USB serial board for debugging Use recommended accessories from the manufacturer such as power supply or LCD display to make development easier Buy a board that can boot from micro SD or SD card, again for ease of development If something does not work… Restart the board! 🙂 In […]

How to Convert Your HDTV into a Massive Touchscreen Enabled Android Tablet

Thanks to Android mini PCs, it’s now very easy and cheap to run Android on your HDTV, but most of the time touchscreen functionality is missing. There are already full products such as AIO Android PCs, and Smart Displays that brings Android to large display with touchscreen, and PQ Labs iStick A200 HDMI TV stick supports directly their overlay touch frames so you can “touchscreenize” your TV with their mini-PC and correct frame connected via USB. If you’d rather use another model of infrared touch frame for your TV and own Android device, Hardkernel has just explained how to do in the February edition of ODROID magazine using their ODROID-XU development board. In the magazine, they explain some details about the difference between capacitive and infrared touchscreens, and provide instructions to choose the right IR touch frame, how-to modify the software if necessary, and how to connect the touch frame to […]

Building eLinks Text-based Web Browser with (Some Sort of) JavaScript Support

Yesterday, I’ve spend some time trying to find a text-based web browser with support for JavaScript. Although I doubt many people would need that, I’ll post my findings, and show how to build and enable Javascript in eLinks web browser to access the web from a terminal in Linux (Ubuntu/Debian). Bear in mind that the implementation is far from complete, and most pages won’t work, at least for now. Initial research pointed me to three potential candidates: links2, w3m + w3m-js extension, and elinks. Links2 used to have JavaScript, but support was poor, so they decided to remove it. w3m-js is an experimental patch to add JavaScript to w3m, but the link is broken, so we are left with elinks. If you just want a text based web-browser, and do not care about JavaScript, you can just install links2, w3m, or elinks with apt-get. The versions I’ve tried in Ubuntu […]

Framaroot is an Android App to Root Mediatek, Qualcomm, Exynos, etc.. Based Devices

Most of the time, when you want to root an Android devices, you may think you have to start your computer, and in many cases, it has to be a PC running Windows, which can be a real pain. Google does not allow apps that provide root access in Google Play, and all you can install are apps that can check whether your device is rooted such as Root Checker. For some reasons, today I needed to root my smartphone (ThL W200, Mediatek MT6589T), and I looked for a method working with Linux, and I did not find any, but I came across Framaroot, an Android app, that allows you to do that within your Android device without external hardware required. Framaroot is very easy to use and support different exploit in order to provide root access to many devices based on Mediatek (Boromir or Faramir exploits), Qualcomm (Gandalf exploit), […]

How to Install XBMC on D-Link Boxee Box

D-Link Boxee Box is a Linux based media player powered by Intel Atom CE4100 processor that became available in 2010, and features a dual sided  RF remote / QWERTY keyboard that probably inspired many of the air mouse that are available today. The box features many of the ports and connectors that are available on most Android STB today, namely an HDMI port, an optical S/PDIF) out, a stereo analog audio out, Ethernet and 802.11n Wi-Fi, two USB ports, and an SD card slot. Many people however got disappointed with the firmware at launch time, and even if subsequent firmware updates have improved the user experience, some people have considered it was worth the effort to port XBMC to the device. Myles McNamara wrote the instructions to install XBMC on D-Link Boxee Box. I’ll summarize the steps below, and it appears to be relatively easy. Installing Boxee+Hacks to gain root […]

EmbeddedTS embedded systems design