Results 1 to 3 of 3
  1. #1
    offline Itty Bitty Modder
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    0
    Uploads
    0

    upgrade firmware on emulator

    Hello,

    I'm trying to upgrade firmware in emulator or some parts inside it. I
    have root shell, I can replace any libraries/binaries in the /system
    directory, but after I reboot all my changes are reverted back.

    How can I switch this off? For example, if I compile some of
    opensource part of android platform (specific library), how can I push
    it to the emulator and test it?

    I also tried to appy rc30 update for G1 to the emulator - following
    this
    http://www.intomobile.com/2008/11/10...0-update-on-yo...
    or this
    http://www.intomobile.com/2008/11/03...pdate-on-your-...
    instructions (there are may available with the same info)
    I can copy update.zip to the root of the emulated sd card, but the 2nd
    step is "Turn it back on while holding down the “Power” (End Call) and
    “Home” buttons". As I understand, this is special phone startup method
    which enables update process - I can't do the same with the emulator
    because I start it just with the command "emulator" which means usual
    start - probably it might have special command line parameter and
    achieve the same result as with G1 phone "power+home" combination.

    Thank's

  2. #2
    living_sword's Avatar
    offline Retired Moderator
    Join Date
    Oct 2006
    Location
    Mumbai
    Posts
    7,568
    Thanks
    179
    Thanked 997 Times in 758 Posts
    Downloads
    620
    Uploads
    361
    read here.

  3. #3
    offline Itty Bitty Modder
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    0
    Uploads
    0
    Ok, thank's. I did not find those lines in qemu source which is available in latest source tree - there were something similar, but now this is not the case for me - I want full rc30 update on the emulator phone, not just single modded files.

    I was able to create yaffs system image with needed files (unpacked contents of the update_TC4-RC30_full_xda-dev_v1.2.zip) with mkyaffs2image utility, but it seems that this does not work - emulator shows black start screen with "ANDROID" and never boots further.

    I do not know if this happens because the update just will not work on the emulator, or this is because creating system.img in this way is not enough.

    So I would like to try to apply rc30 update to the emulator in the official way which works for the phone - to put update.zip to the sd card and then reboot it to recovery mode (home+power) - like described here http://android-dls.com/wiki/index.ph...ng_OTA_Updates etc.

    But I can't boot emulator in recovery mode. I did try to hold "home" key on my real keyboard just after starting emulator, and also tried to quickly press the virtual home button on the emulator window - none of this worked.

    So the main question is - is it possible somehow to boot emulator system to the recovery? I would appreciate any info - pointing to the place in the android source code where this decision is made during boot would be also nice.

    Thank's

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •