down votefavorite
<https://stackoverflow.com/questions/45353524/build-a-custom-kernel-for-android-emulator#>
I currently want to run my compiled android kernel with emulator but it
emulator doesn't correctly and just show black page on phone screen. I use
these command for downloading and compiling android kernel:
git clone https://android.googlesource.com/kernel/goldfish/ -b android
goldfish-3.18 git clone
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9
cd goldfish export CROSS_COMPILE=x86_64-linux-android- export ARCH=x86_64
export PATH=$PATH:/path/to/x86_64-linux-android-4.9/bin make
x86_64_ranchu_defconfig make menuconfig # enable overlayfs and namespaces
support here make -j8
after that i use emulator of SDK to run my kernel with these command:
./emulator -avd Nexus_5X_API_23 -kernel
~/Desktop/goldfish/arch/x86/boot/bzImage -show-kernel
but after that nothing is print on terminal and screen of mobile is black.
can anybody help?
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
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-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 [email protected].
For more options, visit https://groups.google.com/d/optout.