Android emulator image description

2010-06-22  来源:本站原创  分类:Mobile  人气:223 

Android emulator image file description

Published :2010-5-22 15:12 | author: Vincent | Source: site | View: 93 | font size: Small Medium Large

. Android emulator is used in open source projects Qemu, Qemu is a famous emulator under Linux

2. Kernel-qemu is the kernel image

3. Ramdisk.img is the file system, if you compile the android source code, it says
out / debug / target / product / generic / root, mount to the android's /

4. System.img main store system data, android starts to mount / system
It contains the contents of the out / debug / target / product / generic / system

5. In general we do not directly use userdata.img, but the use of userdata_qemu.data, used to store user data, can read and write, android starts mount to / data. Only use-wipe-data parameter when will start the simulator is used userdata.img, it will use userdata.img content coverage userdata-qemu.img
userdata.img of content out / debug / target / product / generic / system

6. If you do not compile the android's source code, we can know ramdisk.img, system.img and userdata.img content.
1). View ramdisk.img content
terminal of the images into the sdk directory, the implementation of file *

Android emulator image description

I think you can see the ramdisk is a gzip file, we can extract the gzip file, unzip and then look back up before running in the terminal
localhost: images wuvincent $ gzip-d-S. img ramdisk.img
Then run
localhost: images wuvincent $ file ramdisk
Implementation will show this file is a cpio file, so that we can extract it to a directory, execute the following command sequence
localhost: images wuvincent $ mkdir ramdiskdir
localhost: images wuvincent $ cd ramdiskdir
localhost: ramdiskdir wuvincent $ cpio-idmv <.. / ramdisk
We can see into the ramdiskdir ramdisk.img the content.
The most important of several file init init.rc init.goldfish.rc
2). View system.img and userdata-qemu.img content
terminal in the tools directory into the sdk running adb shell
localhost: tools wuvincent $ adb shell
adb server is out of date. killing ...
* Daemon started successfully *
#
And then run cd / and ls-l, the implementation of the following results:

Android emulator image description

We can see ramdisk.img mount to /, init init.rc init.goldfish.rc in / directory.
The / system directory after that system.img mount, / data is post-userdata-qemu.img mount directory, you can enter to see the content.

We can also run the mount command in the terminal view the file system mount case.

Note: do not know why, suddenly become a traditional input method of the, please forgive me.

相关文章
  • Android emulator image description 2010-06-22

    Android emulator image file description Published :2010-5-22 15:12 | author: Vincent | Source: site | View: 93 | font size: Small Medium Large . Android emulator is used in open source projects Qemu, Qemu is a famous emulator under Linux 2. Kernel-qe

  • Android emulator adb Command Description 2010-03-29

    In the SDK's Tools folder contains important orders Android emulator operations adb, adb's called the Android Debug Bridge is a bridge role in debugging. Eclipse by adb we can in regard to debug Android through the DDMS program, bluntly, is a debug t

  • [Android] (transfer) android emulator command Detailed 2010-10-11

    Turn http://www.eoeandroid.com/thread-23281-1-1.html Android emulator ndroid SDK comes with a mobile device emulator - it is a run on the virtual device on your computer. Android emulator allows you to preview without the use of physical equipment, d

  • Android Emulator use 2010-12-28

    Android Emulator is a feature of the simulator is complete, phone book, call other functions can be simulated. Even the built-in browser and Google Maps can be networked. Users can use the keyboard input, click the button input simulator can even use

  • Introduction and operation of Android emulator 2011-05-20

    About Android The original meaning of the term refers to Android, " Robot "is also a Google on November 5, 2007 announced the open source Linux-based mobile operating system, the name of the platform by the operating system, middleware, user int

  • Chapter VI using the command-line tool with the Android emulator - in the 2010-03-29

    <arg value="install" /> <arg value="${out-package}" /> </ exec> </ target> </ project> Since you have to understand how to manually use the build.xml, Android project to create the command line, you can st

  • Chapter VI using the command-line tool with the Android emulator - Next 2010-03-29

    Since you placed in the Android application server, you can delete it. Rm HelloWorldCommandLine.apk use the command syntax to remove the application. The following illustration shows the rm command, if run properly, it will not again feedback. And th

  • Android Emulator use SD card 2010-04-01

    This article comes from CSDN blog, reproduced, please indicate the source: http://blog.csdn.net/unix_fans/archive/2009/08/20/4465038.aspx 1. To create an image file Cmd into the android with the SDK in the Tools directory, the implementation of mksdc

  • How to change Android emulator interface 2010-05-31

    1, an existing make or download Android emulator interface (such as TMobile-G1) 2, copy to your $ (path of your android sdk) \ platforms \ android-1.5 \ skins \ TMobile-G1 directory, usually a number of PNG and the layout file 3, restart Eclipse, IDE

  • Setting up proxy for Android Emulator 2010-06-27

    There are three ways to go to the Android Emulator settings proxy. 1.-Http-proxy option See http://developer.android.com/guide/developing/tools/emulator.html # proxy In this way, I did not succeed. 2. Add value to settings.db 1) Connect to the emulat

  • Android emulator skin replacement 2010-07-17

    See Android in online information, even inadvertently see the Android emulator skin can be replaced. Think always see the default skin, naturally Shenmeipilao over time, occasionally changing my skin, not only get fresh, but also enhance the aestheti

  • Do not spend money! Android emulator on your computer for free Google Mobile Experience 2010-10-05

    http://www.iplaysoft.com/android-emulator.html Google launched the Android mobile operating system to bring a storm in the world, becoming the exception of iPhone outside of the most popular smartphone operating system! Many people may have no contac

  • android emulator called deploy webservice on my computer 2010-10-27

    Deployed in the android emulator to call my own computer in the webservice always unsuccessful. Very depressed. Source code debugging by tracing and found that the bottom is called socket, connection is not successful. / 127.0.0.1:8080 - Connection r

  • android emulator internet connection 2010-11-07

    1.0 up IP AND PORT sqlite3 / data / data / com.android.providers.settings / databases / settings.db "INSERT INTO system VALUES (99, 'http_proxy', '192 .168.1.1:8080 ')" 2,0 check information to verify the new system sqlite3 / data / data / com.a

  • Installation and use of Android emulator 2010-11-14

    Do you want to test under the new Google Android operating system, but do not want to buy a new Android phone? This article describes how to install the Android SDK on a computer simulator, and run the Android system. Android is the rage, the latest

  • android emulator command Daquan (Reprinted) 2010-11-17

    1, Android simulator introduced Android provides a simulator to simulate the ARM core of the mobile devices. Android simulator is developed based on QEMU, QEMU is a well-known open source virtual machine project (see http://bellard.org/qemu/), it can

  • Android emulator failed to start solution (ERROR: the user data image is used by another emulator. Abort 2010-12-01

    Android emulator failed to start solution (ERROR: the user data image is used by another emulator. Aborting) Today, suddenly found ANDROID simulator failed to start, log shows the following error message: ERROR: the user data image is used by another

  • Android emulator can not solve the networking of (turn) 2010-12-07

    2. Start android emulator, start two ways. The first way: In the window open a command window (shortcut key: windows key + R) Input cmd, type: emulator-avd <youravdname> The second way is directly in the eclipse of the Android project, click the rig

  • Android emulator can not access problem 2010-12-10

    This article comes from http://blog.csdn.net/rcyl2003/archive/2010/08/17/5819312.aspx , can be the perfect solution to the problem. I. Windows, configured Adroid environment variables (such as d: \ android-sdk-windows-1.0_r1 \ tools into the system v

  • android emulator common functions corresponding list of shortcuts 2010-12-13

    Sometimes when we use the Android emulator to operate quickly, we always want to use the keyboard operation of the simulator, the following common features that the simulator corresponding to the keyboard shortcuts! Simulator function keys Escape Ret