在编译android 之后,会生成几个image 文件, 这些文件是:
1。 ramdisk.img : 一个分区影像文件,它会在kernel 启动的时候,以只读的方式被 mount , 这个文件中只是包含了 /init 以及一些配置文件,这个ramdisk 被用来调用init,以及把真正的root file system mount 起来。
2。system.img:是包含了整个系统,android 的framework,application 等等,会被挂接到 "/" 上,包含了系统中所有的二进制文件
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
| |-- dbus-daemon
| |-- dd -> toolbox
| |-- debuggerd
| |-- 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
| |-- notify -> 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
| |-- libdbus.so
| |-- libdl.so
| |-- libdrm1.so
| |-- libdrm1_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.mp3
|-- 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.swimdllst
| |-- generic_f.swimdl
| `-- generic_m.swimdl
|-- shared
| `-- sigmoid_param
`-- speech_prompt.mp3
3。 userdata.img: 将会被挂接到 /data 下,包含了所有应用相关的配置文件,以及用户相关的数据 。
data
|-- app
| |-- ApiDemos.apk
| `-- NewActivity.apk
|-- dalvik-cache
| |-- data@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| |-- system@[email protected]@classes.dex
| `-- system@[email protected]@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
转自:http://blog.csdn.net/free2o/archive/2009/03/26/4027823.aspx