Tried re-packing a system.img using something similar to this (linux):
Code:
[user@host tmp]$ dd if=/dev/zero of=./system.ext2 bs=1024 count=200000
200000+0 records in
200000+0 records out
204800000 bytes (205 MB) copied, 0.572919 s, 357 MB/s
[lagern@lagermeister tmp]$ ls -lh
total 198M
-rw-r--r-- 1 lagern lagern 2.7M Feb 28 2008 boot.img
drwx------ 3 lagern lagern 4.0K Mar 12 14:37 META-INF
drwx------ 12 lagern lagern 4.0K Mar 12 14:37 system
-rw-rw-r-- 1 lagern lagern 196M Mar 30 10:20 system.ext2
[user@host tmp]$ mkfs.ext2 ./system.ext2
mke2fs 1.41.12 (17-May-2010)
./system.ext2 is not a block special device.
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
50000 inodes, 200000 blocks
10000 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
25 block groups
8192 blocks per group, 8192 fragments per group
2000 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 30 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[user@host tmp]$ sudo mount -o loop system.ext2 /mnt/tmp/
[user@host tmp]$ cp -rp META-INF/ system /mnt/tmp/
[user@host tmp]$ sudo mkfs.cramfs /mnt/tmp/ system.img
warning: gids truncated to 8 bits. (This may be a security concern.)
This created a system.img file, but it also won't boot.
I tried using the boot.img that comes with the rom i'm trying to boot, putting it, and the system.img in ~/.androud/avd/systemname.avd
still wont boot.