Archiwa tagu: android paritions

Allwinner A23, Q8H, GT90h CyanogenMod Developement

CyanogenModToday I’ve created GitHub repository intended for developement of CyanogenMod for Alwinner A23 devices – q8h, gt90h etc.

Right now, I’m not expirienced android developer. Any support will be great.

Please monitor this repository / post since I’m going to put all new information here.

Allwinner A23 Android partitions

After few hours of working I managed to mount most of Allwinner A23 paritions.
They come from image from my previous post:


This is standard boot.img Android image. It contains kernel image and ramdisk. To have it extracted I used tools wrapped into my scripts.
This image contains linux kernel and ‚ramdisk’ – base of file system. This is ramdisk layout:

charger:                ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped
data:                   directory
default.prop:           ASCII text
dev:                    directory
file_contexts:          ASCII text
fstab.sun8i:            ASCII text
init:                   ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped
init.environ.rc:        ASCII text, with very long lines
initlogo.rle:           data
init.rc:                ASCII text, with very long lines
init.recovery.sun8i.rc: ASCII text
init.sun8i.rc:          ASCII text
init.sun8i.usb.rc:      ASCII text
init.sunxi.3gdongle.rc: ASCII text
init.trace.rc:          ASCII text
init.usb.rc:            ASCII text
nand.ko:                ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (SYSV), BuildID[sha1]=d55c110c54b0e190801f7c0581abe2f3dcf20024, not stripped
proc:                   directory
property_contexts:      ASCII text
res:                    directory
sbin:                   directory
seapp_contexts:         ASCII text
sepolicy:               SE Linux policy v26 MLS 8 symbols 7 ocons
sys:                    directory
system:                 directory
ueventd.rc:             ASCII text
ueventd.sun8i.rc:       ASCII text


This image is very similar to boot.fex. It contains some drivers not present in main ramdisk


This seems to be primary partition (nanda) of image. It is standard VFAT image. To access it I used:

mount -t vfat ImageUnpacked/bootloader.fex Mount/

It contains:

bat: directory (this directory contains battery images)
bootlogo.bmp: PC bitmap, Windows 3.x format, 120 x 120 x 32
font24.sft: data
font32.sft: data
magic.bin: ASCII text, with very long lines, with no line terminators (this looks exactly like split_xxxx.bin)
script0.bin: data (this is the same as script.bin)
script.bin: data


Absolutely no idea how to unpack it…


This is /system/ image in SIMG format. To unpack it use simg2img tool from android extras repository. Then mount output file as standard ext4 partition.

In system.fex you can find everything from system partition.