- system.img is yaffs2 flash file system, so firstly you need the mkfs.yaffs2 tool, download it in the following link: Release Android Yaffs2 Tool (Both X86 And ARM). One has to be a registered user to download the tools.
- use the 'adb push' to upload tools to android emulator, executables in /system/bin/, libraries in /system/lib, one can also create folder. One need change the file mode necessary.
- upload the ARM mkfs.yaffs2 tool, use the following command to create system.img: # mkfs.yaffs2 /system /system.img
- download the system.img to local with command 'adb pull', replace the system.img in your emulator folder/tools/lib/images/
Tuesday, January 15, 2008
Customize google android system.img for emulator
The google android emulator included in the google android sdk is limited. Although you can use 'adb push' to upload more tools, but one has to do it again next time. Follow the steps to create a enhanced system.img:
Subscribe to:
Post Comments (Atom)
6 comments:
How to load executabe to /system/bin or library to /system/lib?
When I try ./adb myfile /system/bin, I have this error:
failed to copy ,Read-only file system
Android /system partition is mounted with read only. You can temporary re-mount the /system partition to rw and load your files to that partition.
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 777 /system
# DO ADB STUFF
A much simpler method, and one that doesn't require you to know the actual mountpoint of /system, is to issue the "adb remount" command.
I love cracking stuff!
Thanks a lot for showing how to do this affair.
I am pretty glad about it just what I use some Generic Viagra , which makes me so damn cool!
Wow! I'm pretty sure that this caught up plenty of people's attention, Thumbs up for your work and Good writing skills!
i am jayne and i am a freelance writer..
see my related post here ------> Man Suits
Excellent posts to read keep it up and keep going on this way. And keep sharing these types of things Thanks and I read your article and I keep reading your content.. It’s very interesting..
Amoxicillin Dosage
Post a Comment