Getting Started with Raxda Rock – Building an Android 4.2 Image from Source

I’ve posted some pictures, and show some basics how to get started in my first post about Radxa Rock. Today, I’ll post my experience trying the instructions to build Android for Radxa Rock in Ubuntu 13.10. Many of the instructions are also valid for other RK3188 devices. The source code is currently located in a private git repository, and if you’re sure you want to get the Android source  code, you should send an e-mail to support@radxa.com to be granted access to their private repo. Within minutes, I’ve received an email with the subject “GitLab | Account was created for you” to register an account. You’ll then need to add an SSH key just like you’d do for Github. Assuming you’re already using a service like github, you should already have SSH key. Simply type cat ~/.ssh/id_rsa.pub, copy the output, and go to git.linux-rockchip.org/profile/keys, login if needed, and click on […]

Opus Open Source and License-free Audio Codec Decreases Latency over VoIP Codecs, (Slightly) Betters MP3 and AAC Quality

I’ve just stumbled upon Opus, a relatively new audio codec, with the release of version 1.1 implementation which  improves encoding quality for VBR audio, automatically detect audio or speech to select the best encoding mode, and improved 5.1 surround quality/compression ratio. The new release also bring speed improvements for all architectures, and specifically for ARM, where decoding uses around 40% less CPU and encoding uses around 30% less CPU thanks to the use of NEON compared to an earlier version. You can go to the online demo page to find more about the latest released, and try some of the latest improvements. This all looks fun, but I wanted to know more about Opus, and especially how it compares against MP3 or AAC. It turns out Opus was not originally designed to compete against MP3/AAC which are used to store audio, but instead it was meant to be used for […]

How to Fix Slow GPS Lock on Mediatek MT65xx based Smartphones

I’ve recently purchased ThL W200, an Android 4.2 smartphone powered by Mediatek MT6589T quad core processor, and I’m trying to test a few things including GPS. I’ve enabled access to my location, GPS, and Google’s location service using Wi-Fi and mobile network. In Google Maps, I could get a somewhat accurate position thanks to mobile network location, but it was clear it could not lock GPS. I’ve also tried Nike+ Running, an application that keeps track of your running sessions with GPS, gives you some audio feedback as you run (distance, time and speed), and compares your performance to the average, and your social network friends. When I wanted to start running, the app complained about weak GPS signal, and tried to lock GPS for about 10 minutes, until I decided to give up. So I tried to find a solution, and Google pointed me to an article on Gizchina […]

How to Flash Rockchip RK3066 / RK3188 Firmware in Linux

Rockchip provides 2 tools to update the flash: RkBatchTool – Used to upgrade firmware with a single file RkAndroidTool – Used to flash the NAND flash with image corresponding to particular partition, e.g. system.img. kernel.img, boot.img. recovery.img. etc… One problem is that the company only provides these tools for Windows, so if you’re using a Linux based operating systems, you’d have to run a Windows XP or 7 virtual machine in VirtualBox or VMWare, which is an inconvenience, and requires a license in theory. To work around this issue, I’ve tried to use ReactOS, an open source operating systems compatible with Windows XP, but although the USB drivers appeared to install properly, RKAndroidTool failed to recognized my device (MK908). But a member of Mini PCs community informed me about a tool called RkFlashKit, written in Python and using GTK, that can flash firmware to Rockchip RK3066 and RK3188 devices in […]

Chromecast Open Source Code: Linux Kernel, Toolchain, Bootloader, and More

Google has made quite a stir by introducing Chromecast, and entering the HDMI TV Stick market. We already know the device is based on Marvell 88DE3005 SoC with 512 MB, and since the product are already been shipped to customers in the US, it was just a question of time before the release of the open source code, and everything you need appears to be available at https://code.google.com/p/chromecast-mirrored-source/ Let’s have a look at what we have in the different repositories: Wiki – Empty… Kernel – Linux 3.0.8 source code Prebuilt – Binary toolchain: arm-unknown-linux-gnueabi-4.5.3-glibc Toolchain – Source code for the toolchain above. External – Source code for alsa-libs, dnsmask, libexit and nss sdk – bootloader and DirecFB 1.6.1 vendor – Looks like qt source used in some netflix app (not sure) Chromium – README explaining how you can download Chromecast Chromium source code: 1.8GB tarball + you need to contact […]

Wandboard Quad Unboxing, Getting Started with Android and Linux (via The Yocto Project)

After my review of the Wandboard Dual in February, I’ve now received Wanboard Quad development board  powered by Freescale i.MX6 Quad Cortex A9 processor, with 2 GB RAM, HDMI output, Gigabit Ethernet, and SATA. The board is available from several distributors including Mouser ($139), DigiKey ($144.38) and FutureElectronics ($125). I’ll start by showing some unboxing pictures of the board, as well as pictures of Wandboard Dual and Quad side-by-side. Then I’ll explain how to install Android and Linux on the board, build the images from source, run some benchmarks, and test different features. Wandboard Quad Unboxing Ive received the board via UPS in a large box that contained the package below. This is exactly the same as Wandboard Dual, except for the sticker. There’s just the board inside the package, and it would just look like Wandboard Dual with all connectors on the top, and the EDM module at the back, […]

Texas Instruments SensorTag Unboxing, Getting Started with Bluetooth Low Energy in Linux (with a Raspberry Pi)

Texas Instruments CC2541 SensorTag is a Bluetooth Low Energy (BLE) development kit with 6 sensors (IR temperature, humidity, pressure, accelerometer, gyroscope, magnetometer) mainly destined at mobile application developers for iOS, and soon, Android 4.3. I’m interested in BLE, as I expect most new phones with come with BT 4.0 BLE (aka Bluetooth SMART), and this technology may help bring the Internet of things to life, allowing us to interact with sensors, smart appliance (e.g. light switch)… Since it just costs $25 (including international shipping), I decided to buy it, and give it a try. Today, I’ll show some unboxing pictures, and how to communicate with the kit using the Linux command line. TI SensorTag Unboxing I ordered it at the end of May, and receive it by Fedex on the 18th of July, about 7 weeks later, in the package below. Inside we’ve got a Quick Start Guide for iOS […]

DIY Stripboard/Veroboard Enclosure for Raspberry Pi (Part 2)

Rasbperry_Pi_Stripboard_LED_Relay

Following up my previous post entitled “DIY Modular Stripboard / Perfboard Casing for Raspberry Pi (Part 1)” where I explained how I created an modular enclosure made of perfboard, or the overall concept, I’ve now designed two “smart” sides for the enclosure: a 16-LED stripboard side, and a 5V relay stripboard side. Today, I’ll detail how I’ve done this, with details about electronics, soldering, assembly, the Linux distribution (built with Yocto), as well C programs, HTML page, and (CGI) shell scripts used to light up the 16 LEDs, and control a standard 220V lamp with a relay via my phone’s web browser. 16-LED Stripboard Top Schematics, Soldering, and Testing I had decided to design the top board of the enclosure with several LEDs, 3 LEDs on both side, and a Raspberry fruit (6 red LED) and 2 leaves (4 green LED) in the middle. Before getting started, I did some […]

Exit mobile version