Android Image File description

Source: Internet
Author: User

Android source code will generate three image files after compiling

SYSTEM.IMG->YAFFS2 Format

USERDATA.IMG->YAFFS2 Format

Ramdisk.img->cpio

The first two files can be mounted, but ubantu14.04 does not support the YAFFS2 format by default and requires compiling the kernel.

Software that resolves this format under Windows

Ramdisk.img

First of all

File ramdisk.img

Ramdisk.img:gzip compressed data, from Unix

See the files that were compressed for gzip, rename ramdisk.img to ramdisk.img.gz

MV Ramdisk.img ramdisk.img.gz

Then use file to look at the ramdisk.img, this time for

Ramdisk.img:ASCII Cpio Archive (SVR4 with no CRC)

Use Cpio to extract content from the Ramdisk.img

mkdir Temp CP Temp cpio-i-F. /ramdisk.img.gz

Just unzip it open.

After the actual compilation is completed in the Out folder

System.img->system Folder

Userdata.img->data Folder

Ramdisk.img-root Folder

Ramdisk.img equivalent to the root directory

System.img and userdata.img are mounted to RAMDisk's system and data folders, respectively.

Android Image File description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.