Extract google android file system image
2010-09-06 15:22
330 查看
To run google android on the truely hardware, you may need the google android
file system image.
Google android file system consists of two parts:
system and data.
You can find the google android file system image on benno's
website: Android
filesystem images
You can also extract the google android file system
by yourself from the android emulator by the following way:
1. download the
google android sdk and extract onto your platform
2. start up the google
android emulator
3. upload a busybox tool to the google android emulator, you
can find a busybox binary on benno's website: busybox
for android
, you can also find the cross-compiler
(select ARM GNU/Linux, and IA32 GNU/Linux)
and create a busybox tool by
yourself.
4. to upload files to the google android emulator, run the
following command:
# adb push filename
/target_folder/filename
the target_folder is the folder on the file system of
google android emulator. e.g. /system/bin/
put the busybox to /system/bin, so
you can see busybox tool in the extracted file system.
5. open a
google android shell command window:
# adb
shell
6. change the busybox mode to 555:
# chmod 555 /system/bin/busybox
7. create
the tarball for /system and /data:
#
busybox tar cvf /system.tar /system
# busybox tar cvf /data.tar /data
8. pull
the tarball file from the google android emulator:
# adb pull system.tar /system.tar
# adb pull data.tar /data.tar
a note:
when you want run google android on your truely hardware, the data.tar is not a
must.
file system image.
Google android file system consists of two parts:
system and data.
You can find the google android file system image on benno's
website: Android
filesystem images
You can also extract the google android file system
by yourself from the android emulator by the following way:
1. download the
google android sdk and extract onto your platform
2. start up the google
android emulator
3. upload a busybox tool to the google android emulator, you
can find a busybox binary on benno's website: busybox
for android
, you can also find the cross-compiler
(select ARM GNU/Linux, and IA32 GNU/Linux)
and create a busybox tool by
yourself.
4. to upload files to the google android emulator, run the
following command:
# adb push filename
/target_folder/filename
the target_folder is the folder on the file system of
google android emulator. e.g. /system/bin/
put the busybox to /system/bin, so
you can see busybox tool in the extracted file system.
5. open a
google android shell command window:
# adb
shell
6. change the busybox mode to 555:
# chmod 555 /system/bin/busybox
7. create
the tarball for /system and /data:
#
busybox tar cvf /system.tar /system
# busybox tar cvf /data.tar /data
8. pull
the tarball file from the google android emulator:
# adb pull system.tar /system.tar
# adb pull data.tar /data.tar
a note:
when you want run google android on your truely hardware, the data.tar is not a
must.
相关文章推荐
- Google android file system
- Write on the Android Read-only file system
- google file system
- Why Google uses MTP instead of USB file transfer on Android 3.
- GFS - The Google File System
- System.Drawing.Image.FromFile()处理图片,内存不足错误
- #Android Ticks#Mount a filesystem read-write
- The Google File System : part3 SYSTEM INTERACTIONS
- Google Android nexus image 镜像下载网站
- Google File System设计方面的问题汇总
- Android:无法删除DDMS中File Explorer中文件,提示read-only file system
- The Google File System
- The google file system--测量(二)
- Google File System
- The Google File System中文版
- The Google File System(一)
- 经典论文翻译导读之《Google File System》
- android.system.ErrnoException: open failed: ENOENT (No such file or directory) 07-19 20:27:45.011 66
- 谷歌三大核心技术(一)The Google File System中文版
- System.BadImageFormatException: Could not load file or assembly