Building Android source with arm binaries support

265 views
Skip to first unread message

Roman Lebedenko

unread,
May 3, 2023, 3:53:46 PM5/3/23
to Android Building
Hey,

I am trying to build android source to be able testing unity apps. So I pull the master branch,
ran: 
. build/envsetup.sh
lunch
...
what build variant should I choose to be able running  x86 host based emulator with arm binary apps support?

I managed to build both 1. aosp_arm-eng 2. aosp_arm64-eng, but neither of them running if I try the "emulator" command. I've got a error:
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.

I checked all of the disscussions with the same error case,  but didn't find any working solution. Also I tried to check out different android 11 branches without success.

 

enh

unread,
May 3, 2023, 4:01:39 PM5/3/23
to android-...@googlegroups.com
On Wed, May 3, 2023 at 12:53 PM Roman Lebedenko <ramu...@gmail.com> wrote:
Hey,

I am trying to build android source to be able testing unity apps. So I pull the master branch,
ran: 
. build/envsetup.sh
lunch
...
what build variant should I choose to be able running  x86 host based emulator with arm binary apps support?

the relevant code you need for that is in AOSP.

you'll either have to run on actual arm devices (in which case you'll want to choose the appropriate Pixel codename target for your device), or run with qemu emulating arm, which will be very slow.
 
I managed to build both 1. aosp_arm-eng 2. aosp_arm64-eng, but neither of them running if I try the "emulator" command. I've got a error:
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.

I checked all of the disscussions with the same error case,  but didn't find any working solution. Also I tried to check out different android 11 branches without success.

 

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/ef8cd67f-412c-475c-93ba-23bec51f3677n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages