How to Resize Android’s Internal Storage Partition in Rockchip Devices

I installed Light Biz OS firmware on GeekBox yesterday, but I’ve quickly realized many applications such as Gimp Inkscape would not install due to the small 1.94GB “internal partition”, so I asked how to increase the partition size in GeekBox forums last evening, and got an answer overnight from “dewet”. The good news is that it worked so I’ll share the steps I followed in a computer running Ubuntu 14.04. It might also be possible to perform the same tasks within a Windows machine with Rorkchip’s Factory tools First let’s download the utils with relevant scripts and binaries:

Now copy your device or board’s firmware file “update.img” to the working directory, and unpack it:

The output should look like:

The files will be in the “output” directory. For our purpose “parameter” file, and especially the last line (CMDLINE) where we will want to adjust the userdata partition […]

How to Upgrade Rockchip Firmware in Linux for RK3288, RK3328, RK3368, RK3399, etc..

I’ve been looking for ways to upgrade firmware on Rockchip RK3368 based GeekBox in a computer running Ubuntu 14.04, but while they’ve provided firmware update instructions for Windows, which remains basically the same as upgrading firmware on Rockchip RK3288, there’s no such information for Linux. However, I could remember than Radxa Rock supported upgrade_tool utility, but since the tool linked on Radxa website might be outdated, I instead searched for some RKtools repository on Geekboxzone Github account, and I was lucky enough to find one. Here’s what I did to flash Light Biz OS to GeekBox with my Linux computer: Get the tools, and make sure upgrade_tool is there.

Download and extract the firmware, e.g. Cross_Lollipop_BizOS_V151208.7z:

Now connect a USB cable to the USB OTG port of your device or board. In case of GeekBox that’s the micro USB port. Now as the board is powered on, keep […]

GeekBox TV Box Unboxing and Development Kit Assembly Guide

GeekBox is both an Android TV box based on Rockchip RK3368 octa-core processor, and a Linux development kit thanks to the CPU module inside the device, a baseboard and various accessories. The company has sent me a review sample, as well as the accessories currently available. So today, I’ll have a look at the box, and show how to connect everything together. GeekBox TV Box Unboxing I’ve received two carton boxes via DHL, one with GeekBox itself, and the other with some accessories. You could use GeeBox has a TV box, and forget about its development attributes, as the device comes with the usual accessories include a case, an HDMI cable, an infrared remote control, and a 5V/2A power supply. I was really surprised by how small it was compared to other 64-bit ARM TV boxes recently launched on the market, and looks very much like a small router with […]

How to Upgrade SMA-Q Smartwatch Firmware

I’ve started testing SMA-Q smartwatch, and so far I’ve had lots of issues with Bluetooth connectivity. The watch can rarely pair with my Android smartphone, and I was unable to enable features like Anti-lost and Sedendary alerts as the app would always report there was no connection. The company has sent me instructions to upgrade the firmware, and it seems to have improved things a little. So first you need to install SMA Services app by scanning the QR code on the user’s manual, or download the apk by following this link. Once this is done you can register, or skip registration. Now go to Setting, and select Connect watch. You should see a circle as on the left side above reading Searching watch, then Bluetooth Connecting, before seeing a message the connection was successful. You’ll probably them want to tap on Upgrade app, before tapping on Firmware upgrade (local […]

How to Root Amlogic S905 based MINIX NEO U1 Box in Windows and Linux

MINIX NEO U1 is a great device, but if you have some apps that require root access, the firmware is not rooted by default. AndroidPC.es just posted instructions to root the device in Windows, and I’ve also adapted Daemonium’s batch script for Windows as a shell script in order root the device from Linux. Please note that this will break OTA firmware update, so you’ll have to upgrade firmware manually after rooting. The most steps are common between Linux and Windows Enable Developer options, by going to Settings->Advanced Settings->About Mediabox, and click 6 or 7 times in the Build number section, until the new menu is enabled. Go back once, and access Developer options to make sure USB debugging is enabled Now go to Settings->Network to check and note your IP address (WiFi or Ethernet) Download and extract AndroidPC.es_MINIX_NEO_U1_root_v01_Daemonium.zip They also asked to install WiFi adb in your system, but I […]

Nandland Go Board is a $50 Board for Learning FPGA, VHDL & Verilog Programming (Crowdfunding)

There are many FPGA boards on the market at various price points, but many assume you already have the technical knowledge to program the bard with Verilog or VHDL, and may not be suited to beginners. Nandland Go Board is a $50 board that targets beginners with tutorials to get started with blinking LEDs, controlling buttons, received data through the UART interface, showing display patterns via the VGA interface and more. Go Board specifications: FPGA – Lattice ICE40 HX1K with 1280 logic cells, 64Kbit RAM, and one PLL. Storage – 1Mb flash Clock – 25 MHz on-board clock Video Output – VGA Connector Display – Dual 7-Segment LED Display USB – 1x micro USB connector for power, communication, and programming Expansion – PMOD connector Misc – 4x user LEDs, 4x push buttons Power – 5V via micro USB port Dimensions – N/A The board will be programmed using Lattice Semi […]

How to extract kernel.img with mkboot script

As I tried instructions to install Linux on Amlogic S905 Android TV boxes yesterday, I wanted to extract kernel.img file found in Android firmware, but Google did not help that much until I found mkboot part of mkbootimg_tools scripts. But first let’s see how kernel.img is created… Google provide a Python script called mkbootimg that combine the kernel image (e,.g. zImage), a rootfs/ramdisk and the device tree (DTB) file with a command line that looks like:

However, AFAIK the company does not provide a “unmkbootimg” script, and mkbootimg can only be used to create kernel.img, not decompile it. But that’s what mkboot does, and it works for kernel.img and recovery.img. Let’s retrieve the necessary files first:

mkboot is a bash script so we can use it right away:

So it can be used both for unpacking and repacking kernel.img to/from the output directory. Let’s run the command […]

How to Run Headless Linux on Amlogic S905 Devices Such as MINI MX or K1 Plus

A few week ago, I had been informed that Amlogic S905 U-boot and Linux source code was released, and one person use the code and other resources to load a minimal Ubuntu 14.04 image to his K1 Plus TV box and released the installation instructions and the image (Thanks olin!). I also have K1 Plus here, but since I’ve just finished reviewing Beelink MINI MX, I decided to use the latter instead. The instructions below boot Linux from the (micro) SD card, and can still boot Android if you remove the SD card. Modifying U-boot environment The instructions include opening the box, and connecting or soldering a USB to TTL debug board to access U-boot and change some parameters. But later once an image with network is working, you could also build and load fw_setenv and fw_saveenv, and do the same steps with an Android shell and without the need […]

UP 7000 x86 SBC