After compiling Android, several image files are generated, which are:
1. Ramdisk. IMG: a partition image file that is mounted in read-only mode when the kernel is started. This file only contains/init and some configuration files, this ramdisk is used to call init and mount the real root file system.
2. System. IMG: contains the entire system, Android framework, application, and so on. It will be mounted to "/" and contains all the binary files in the system.
System
| -- App
| -- Browser.apk
| -- Contacts.apk
| -- Contactsprovider.apk
| -- Development.apk
| -- Fallback.apk
| -- Googleapps.apk
| -- Googleappsprovider.apk
| -- Home.apk
| -- Improvider.apk
| -- Maps.apk
| -- Mediaprovider.apk
| -- Phone.apk
| -- Settingsprovider.apk
| -- Telephonyprovider.apk
| -- Xmppservice.apk
| '-- Xmppsettings.apk
| -- Bin
| -- Audiohardwarerecord
| -- Audioinrecord
| -- Recursivemutextest
| -- Srectest
| -- Srectestaudio
| -- Uapi_portabilitytest
| -- Uapi_srectest
| -- Uapi_test
| -- Am
| -- App_process
| -- Busybox
| -- Cat-> toolbox
| -- Chmod-> toolbox
| -- CMP-> toolbox
| -- Crasher
| -- Dalvikvm
| -- Date-> toolbox
| -- Example-daemon
| -- DD-> toolbox
| -- Debugadh
| -- Dexdump
| -- Dexopt
| -- DF-> toolbox
| -- Dmesg-> toolbox
| -- Drm1_unit_test
| -- Drm2_unit_test
| -- Dumpstate
| -- Dumpsys
| -- Exists-> toolbox
| -- Getevent-> toolbox
| -- Getprop-> toolbox
| -- HD-> toolbox
| -- Ifconfig-> toolbox
| -- Input
| -- Insmod-> toolbox
| -- Install_boot_image
| -- IOCTL-> toolbox
| -- Kill-> toolbox
| -- Linker
| -- Ln-> toolbox
| -- Log-> toolbox
| -- Logcat
| -- Ls-> toolbox
| -- Lsmod-> toolbox
| -- Mem_profiler
| -- Mkdir-> toolbox
| -- Mkdosfs-> toolbox
| -- Monkey
| -- Mount-> toolbox
| -- Mtptest
| -- Netcfg
| -- Netstat-> toolbox
| -- Policy-> toolbox
| -- Ping-> toolbox
| -- Powerd-> toolbox
| -- Pppd
| -- Printenv-> toolbox
| -- PS-> toolbox
| -- PV
| -- R-> toolbox
| -- Readtty-> toolbox
| -- Reboot-> toolbox
| -- Renice-> toolbox
| -- Resetradio-> toolbox
| -- Rild
| -- Rm-> toolbox
| -- Rmdir-> toolbox
| -- Rmmod-> toolbox
| -- Ro. xml
| -- Ro2.xml
| -- Roerror. xml
| -- Rotatefb-> toolbox
| -- Route-> toolbox
| -- Runtime
| -- Sdutil
| -- Sendevent-> toolbox
| -- Service
| -- Setconsole-> toolbox
| -- Setkey-> toolbox
| -- Setprop-> toolbox
| -- Sh
| -- Showmap
| -- Showslab
| -- Sleep-> toolbox
| -- SMD-> toolbox
| -- Sqlite3
| -- Ssltest
| -- Start-> toolbox
| -- Stop-> toolbox
| -- Su
| -- Sync-> toolbox
| -- Syren-> toolbox
| -- System_server
| -- Toolbox
| -- Umount-> toolbox
| -- Usbd
| -- Watchprops-> toolbox
| -- Webgrab-> toolbox
| '-- Wipe-> toolbox
| -- Build. Prop
| -- Etc
| -- Event-log-tags
| -- Favorites-default.xml
| '-- Gservices. xml
| -- Fonts
| -- DroidSans-Bold.ttf
| -- Droidsans. TTF
| -- Droidsansfallback. TTF
| -- Droidsansmono. TTF
| -- DroidSerif-Bold.ttf
| -- DroidSerif-BoldItalic.ttf
| -- DroidSerif-Italic.ttf
| '-- DroidSerif-Regular.ttf
| -- Framework
| -- Am. Jar
| -- Core. Jar
| -- Ext. Jar
| -- Framework-res.apk
| -- Framework-tests.jar
| -- Framework. Jar
| -- Input. Jar
| -- Monkey. Jar
| '-- Ssltest. Jar
| -- Lib
| -- Libfftem. So
| -- Libuapi_jni.so
| -- Libaes. So
| -- Libandroid_runtime.so
| -- Libaudioflinger. So
| -- Libc. So
| -- Libcorecg. So
| -- Libcrypto. So
| -- Libctest. So
| -- Libcutils. So
| -- Libbench. So
| -- Libdl. So
| -- Libdrm1.so
| -- Libdrm=jni.so
| -- Libdvm. So
| -- Libembunit. So
| -- Libevent. So
| -- Libexpat. So
| -- Libhardware. So
| -- Libicudata. So
| -- Libicui18n. So
| -- Libicuuc. So
| -- Libm. So
| -- Libmedia. So
| -- Libmedia_jni.so
| -- Libnativehelper. So
| -- Libopengles_cm.so
| -- Libpim. So
| -- Libpixelflinger. So
| -- Libpv. So
| -- Libreference-ril.so
| -- Libril. So
| -- Libsgl. So
| -- Libsonivox. So
| -- Libsqlite. So
| -- Libssl. So
| -- Libstdc ++. So
| -- Libsurfaceflinger. So
| -- Libsystem_server.so
| -- Libthread_db.so
| -- Libui. So
| -- Libutils. So
| -- Libwebcore. So
| -- Libz. So
| '-- Security
| '-- Cacerts. BKS
| -- Lost + found
| -- Media
| '-- Audio
| '-- Ringtones
| -- Em_ringtone1.mp3
| -- Em_ringtone2.mp3
| -- Ring3.mp3
| '-- Ringer.pdf
| -- Sounds
| '-- Test. Mid
'-- USR
| -- Keychars
| -- Qwerty. KCM. Bin
| -- Qwerty2.kcm. Bin
| '-- Tuttle2.kcm. Bin
| -- Keylayout
| -- Qwerty. KL
| '-- Tuttle2.kl
| -- Share
| -- BSK
| -- V_fd_speed_101.bsk
| '-- V_fd_std_101.bsk
| '-- Zoneinfo
| -- Zoneinfo. dat
| '-- Zoneinfo. idx
'-- SREC
'-- Config
| -- En. Us
| -- Audio
| '-- V139
| '-- V139_113.nwv
| -- Baseline. Par
| -- Baseline11k. Par
| -- Baseline8k. Par
| -- Dictionary
| '-- Basic. OK
| -- G2p
| -- En-US-15k.dictionary
| -- En-US-60k.dictionary
| -- En-US-90k.dictionary
| '-- En-US-ttp.data
| -- Grammars
| -- Voicedialer. G2G
| -- Bothtags5.g2g
| -- Dynamic-test.g2g
| '-- Enroll. G2G
| '-- Models
| -- Generic. LDA
| -- Generic. Mul
| -- Generic. swiarb
| -- Generic. initialize dllst
| -- Generic_f.20.dl
| '-- Generic_m.20.dl
| -- Shared
| '-- Sigmoid_param
'-- Speech_promptworkflow
3. Userdata. IMG: It will be mounted to/data, including all application-related configuration files and user-related data.
Data
| -- App
| -- Apidemos.apk
| '-- Newactivity.apk
| -- Dalvik-Cache
| -- Data@app@newactivity.apk @ classes. Dex
| -- System@app@browser.apk @ classes. Dex
| -- System@app@contacts.apk @ classes. Dex
| -- System@app@contactsprovider.apk @ classes. Dex
| -- System@app@development.apk @ classes. Dex
| -- System@app@googleapps.apk @ classes. Dex
| -- System@app@googleappsprovider.apk @ classes. Dex
| -- System@app@home.apk @ classes. Dex
| -- System@app@improvider.apk @ classes. Dex
| -- System@app@maps.apk @ classes. Dex
| -- System@app@mediaprovider.apk @ classes. Dex
| -- System@app@phone.apk @ classes. Dex
| -- System@app@settingsprovider.apk @ classes. Dex
| -- System@app@telephonyprovider.apk @ classes. Dex
| -- System@app@xmppservice.apk @ classes. Dex
| -- System@app@xmppsettings.apk @ classes. Dex
| -- System @ framework@core.jar @ classes. Dex
| -- System @ framework@ext.jar @ classes. Dex
| -- System @ framework@framework-tests.jar @ classes. Dex
| -- System @ framework@framework.jar @ classes. Dex
| '-- System @ framework@monkey.jar @ classes. Dex
| -- Data
| -- Android
| -- Au. Id. Benno
| -- Com. Google. Android. Browser
| -- Com. Google. Android. Contacts
| -- Com. Google. Android. Development
| -- Com. Google. Android. Fallback
| -- Com. Google. Android. googleapps
| -- Com. Google. Android. Home
| -- Com. Google. Android. Maps
| '-- Databases
| '-- Maps. DB
| -- Com. Google. Android. Phone
| -- Com. Google. Android. providers. Contacts
| '-- Databases
| '-- Contacts. DB
| -- Com. Google. Android. providers. googleapps
| '-- Databases
| '-- Accounts. DB
| -- Com. Google. Android. providers. Im
| '-- Databases
| '-- Im. DB
| -- Com. Google. Android. providers. Media
| '-- Databases
| '-- Media. DB
| -- Com. Google. Android. providers. Settings
| '-- Databases
| '-- Settings. DB
| -- Com. Google. Android. providers. Telephony
| '-- Databases
| -- Mms. DB
| -- SMS. DB
| '-- Telephony. DB
| -- Com. Google. Android. Samples
| -- Com. Google. Android. xmppservice
| '-- Com. Google. Android. xmppsettings
| -- Download
| -- DRM
| -- Content
| -- Rights
| '-- System
| -- Logs
| -- Lost + found
| -- Misc
| -- Location
| '-- GPS
| -- Location
| -- NMEA
| '-- Properties
| '-- Wallpaper
| -- System
| '-- Packages. xml
'-- Tombstones
'-- 0000022d_0000022d_47392b21