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

    1. First let’s download the utils with relevant scripts and binaries:
    2. 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.
    3. For our purpose “parameter” file, and especially the last line (CMDLINE) where we will want to adjust the userdata partition size:
    4. The partitions are defined with size@start_address, so we’ll want to change userdata size, and shift the start_address of the remaining partitions with the extra size added to userdata. This can be done manually in a Linux editor, but I played it safe and instead downloaded and installed RK_ParamEd.exe for windows, and change the 2048 MB set for userdata partition to 6144MB (6 GB).RK_ParamEdSave, and we can see how the end of CMDLINE changed:
    5. Now we can repack the image, after moving the content from the output directory to rockdev directory.

      A successful repacking should look as follows:
    6. Now flash update.img firmware back to your Rockchip device in Linux or Windows.
    7. Done! I now have a 6GB internal storage partition in Android 5.1 based Light Biz OS operating system.
6GB "Internal Storage" Partition in Light Biz OS (Click to Enlarge)
6GB “Internal Storage” Partition in Light Biz OS (Click to Enlarge)
Share this:

Support CNX Software! Donate via cryptocurrencies or become a Patron on Patreon

ROCK Pi 4C Plus
Notify of
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
Weller PCB manufacturer