The questions your asking would probably be better asked on android-platform, where they discuss these kinds of things.
But the reason you can't mount it is probably that your system doesn't have the yaffs2 kernel module loaded. b On Sun, Dec 21, 2008 at 4:17 AM, fry <[email protected]> wrote: > > I think I can try to modify tools/lib/images/system.img file to > achieve this - the simple way I see is to mount it on my local system > in write mode, put modified files to it, unmount and boot emulator > with modified image. Will this way work at least in theory? > > On practice, I even can't mount it: > > sudo mount -o loop,offset=32256 -t yaffs2 system.img ./tmp/ > mount: unknown filesystem type 'yaffs2' > > > On Dec 21, 2:14 pm, fry <[email protected]> wrote: >> 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 >> thishttp://www.intomobile.com/2008/11/10/force-android-rc-30-update-on-yo... >> or >> thishttp://www.intomobile.com/2008/11/03/force-a-software-update-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 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

