1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

htc sense roms, and emulation.

Discussion in 'Droid Incredible Roms' started by Gangrif, Mar 29, 2011.

  1. Gangrif
    Offline

    Gangrif New Member

    Joined:
    Sep 3, 2010
    Messages:
    146
    Likes Received:
    1
    Trophy Points:
    0
    I'm poking around looking for a rom replacement for my Incredible. I've found a number of what look like excellent roms here, but i'd love to be able to try them out before installing one of them on my phone.

    I have the Android SDK, and it looks like you can emulate an android device pretty easily, I was wondering if i might be able to emulate one of these custom roms on the SDK's emulator? I've found howto's on how to create a vm, and boot it up, even information about how to put a non-standard rom in there, but when i boot the vm, it doesn't seem to load the non-standard rom, just stock android.

    Thanks.
  2. Gangrif
    Offline

    Gangrif New Member

    Joined:
    Sep 3, 2010
    Messages:
    146
    Likes Received:
    1
    Trophy Points:
    0
    I ran across another forum which talked about building a system.img out of a compressed archive of the custom rom. I attempted taking the downloaded zip of one of the roms i'm toying with, and renaming it to system.img, and placing it in ~/.android/avd/vmname.avd/

    This just hangs my vm at boot...
  3. Gangrif
    Offline

    Gangrif New Member

    Joined:
    Sep 3, 2010
    Messages:
    146
    Likes Received:
    1
    Trophy Points:
    0
    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.
Search tags for this page
android sense avd
,
can droid dna emulate roms
,
emulate htc one
,
emulate htc rom using android sdk
,

emulators for htc sense

,
htc sense 4.1 emulator
,

htc sense avd

,
installing sense avd
,
sense of emulation
,
sense rom emulator