gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Booting Android 14

FP
Francesco Peverelli
Mon, May 26, 2025 3:40 PM

Dear all,

I am trying to run FS simulation for a modern Android OS (14 specifically). I saw a previous thread mentioning that this is possible with Android 11, but I haven’t found any resources on the topic. Has anyone done this? How much of the guide for Marshmallow is still applicable? (https://www.gem5.org/documentation/general_docs/fullsystem/building_android_m).

I tried building an image for Android 14 from AOSP and a compatible vmlinux kernel image, and boot Android using the base_fs.py script but the simulation hangs at the start. If anyone tried this or has any experience on the topic, any help is greatly appreciated.

Best regards,
Francesco Peverelli

Dear all, I am trying to run FS simulation for a modern Android OS (14 specifically). I saw a previous thread mentioning that this is possible with Android 11, but I haven’t found any resources on the topic. Has anyone done this? How much of the guide for Marshmallow is still applicable? (https://www.gem5.org/documentation/general_docs/fullsystem/building_android_m). I tried building an image for Android 14 from AOSP and a compatible vmlinux kernel image, and boot Android using the base_fs.py script but the simulation hangs at the start. If anyone tried this or has any experience on the topic, any help is greatly appreciated. Best regards, Francesco Peverelli
JL
Jason Lowe-Power
Tue, May 27, 2025 3:52 PM

Hi Francesco,

As far as I know, it has been many years since anyone has tested android
boot. So, it's unlikely that it will work out of the box. However, since it
has worked in the past, that means it's likely that it can work again...
It's just likely to take some development effort.

Cheers,
Jason

On Mon, May 26, 2025 at 8:43 AM Francesco Peverelli via gem5-users <
gem5-users@gem5.org> wrote:

Dear all,

I am trying to run FS simulation for a modern Android OS (14
specifically). I saw a previous thread mentioning that this is possible
with Android 11, but I haven’t found any resources on the topic. Has anyone
done this? How much of the guide for Marshmallow is still applicable? (
https://www.gem5.org/documentation/general_docs/fullsystem/building_android_m
).

I tried building an image for Android 14 from AOSP and a compatible
vmlinux kernel image, and boot Android using the base_fs.py script but the
simulation hangs at the start. If anyone tried this or has any experience
on the topic, any help is greatly appreciated.

Best regards,

Francesco Peverelli


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi Francesco, As far as I know, it has been many years since anyone has tested android boot. So, it's unlikely that it will work out of the box. However, since it *has* worked in the past, that means it's likely that it can work again... It's just likely to take some development effort. Cheers, Jason On Mon, May 26, 2025 at 8:43 AM Francesco Peverelli via gem5-users < gem5-users@gem5.org> wrote: > Dear all, > > > > I am trying to run FS simulation for a modern Android OS (14 > specifically). I saw a previous thread mentioning that this is possible > with Android 11, but I haven’t found any resources on the topic. Has anyone > done this? How much of the guide for Marshmallow is still applicable? ( > https://www.gem5.org/documentation/general_docs/fullsystem/building_android_m > ). > > I tried building an image for Android 14 from AOSP and a compatible > vmlinux kernel image, and boot Android using the base_fs.py script but the > simulation hangs at the start. If anyone tried this or has any experience > on the topic, any help is greatly appreciated. > > > > Best regards, > > Francesco Peverelli > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >