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 […]

Freescale SABRE Lite i.MX6 Development Board Unboxing, Wandboard Quad Comparison, and Quick Start Guide

Freescale SABRE Lite is a development board powered by i.MX6 Quad processor with 1GB RAM, SATA, GbE Ethernet, and more. You can get SABRE Lite specifications in my first post about the board. I recently participated in Element14’s “brainteaser” competition for the 4th birthday of their community, where the company offered 9 SABRE Lite development kit to randomly selected participants, and I got lucky. The board can be purchased for $179 from Element14 (MCIMX6Q-SL). I’ll start by showing what in the package, followed by a side-by-side comparison with Wandboard Quad, and show how to getting started by following the Quick Start Guide provided with the board. SABRE Lite i.MX6 Development Kit Unboxing I received the board about 5 days after I provided my address in a large staple carton box with a few goodies. Beside SABRE Lite devkit, the package comes with Element14’s T-Shirt (not my size), double walled tumbler, […]

Play HEVC/H.265 Videos and Embed HEVC Streams into MP4 and TS Files with openHEVC and GPAC

I wrote an introduction to H.265 (aka HEVC) at the end of last year, including instructions showing how to encode videos to HEVC using the reference implementation. It worked but since it was not optimized for speed, it was extremely slow. Today I’ve stumbled across openHEVC, a open source compliant HEVC video decoder written in C, created as a fork of Libav. This is supposed to work pretty well as the implementation was used at Roland Garros Tennis tournament to playback an 720p50 HEVC stream transmitted over DVB-T2, IPTV, and MPEG DASH. Today I’ll mainly tried out the instructions provided on openHEVC github repo including: Build the source and playing a raw HEVC stream with hevc utility Build GPAC (open source multimedia framework), to get MP4Box, mp42ts, and MP4Client utilities. Import a raw HEVC stream into MP4 and TS containers, and play it back with GPAC tools. I’ve performed the […]