Hi Fangfei, If you want to try to install an APK on one of the gem5 disk images available at: http://gem5.org/bbench-gem5, it's pretty easy. As long as the APK doesn't require any unsupported devices, or isn't written with a version of Android that is incompatible with the disk image.
Simply mount the image, then copy the apk file to /system/app. If you notice there are a few APKs that I added to the Gingerbread image, ReplicaIsland.apk and smartbench.apk. Both worked ok with this method. Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Tue, Feb 19, 2013 at 11:16 AM, Fangfei Liu <fangf...@princeton.edu>wrote: > Hi Jack,**** > > ** ** > > I haven’t got it work yet. I don’t have an Android device and actually > have problem downloading the apk to PC. Could you provide more instructions > on how to create an Android image containing an installed apk? Thank you > very much!**** > > ** ** > > Best regards**** > > Fangfei**** > > ** ** > > *From:* gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] *On > Behalf Of *Jack Harvard > *Sent:* 2013年2月19日 10:42 > > *To:* gem5 users mailing list > *Subject:* Re: [gem5-users] questions on running benchmark on gem5**** > > ** ** > > Did you manage to run AndEBench? You can install the app in the Android > image and then run it on gem5.**** > > > **** > > Jack Harvard**** > > ** ** > > On Thu, Sep 27, 2012 at 3:25 PM, Fangfei Liu <fangf...@princeton.edu> > wrote:**** > > Hi,**** > > **** > > I tried to run Bbench on gem5 with Gingerbread disk image (atomic mode and > default configuration). The simulator took about 140 minutes to boot > Android and start running the benchmark. But it seems that the benchmark > stalled at certain web page after running for a while. I find that it is > supposed to render a web page in ebay but used the wrong url with ewbay. I > terminated the simulation manually after 97 hours but find that the > statistics shows only 87 billion instructions were simulated. I was > wondering what caused the problem and what is supposed to be the end of > running of Bbench? Will the simulation exit automatically? How many > instructions are there if I want to run Bbench to completion? I also > downloaded an EEMBC benchmark: AndEbench, which is an Android app (.apk > file). Can I run this app directly on gem5? If so, does anyone know how to > install and run it on gem5? Thanks!**** > > **** > > **** > > Best regards**** > > Fangfei**** > > **** > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users**** > > ** ** > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users