Page 1 of 1

need working Android kernel config

Posted: Sat Aug 11, 2012 2:27 am
by Mimamau
Hey there,

can somebody post a working Android kernel config for ICS with (if any) needed patches please?
My Android build runs fine with the kernel from jazzmod ICS, but I cant get around building my own kernel, it always hangs just before starting the Android GUI.
Don't know where I'm wrong.

Thanks in advance!

Re: need working Android kernel config

Posted: Sat Aug 11, 2012 6:49 am
by danfoshizzle
Try the mporting website: http://www.mporting.com/ he posts all of his source.

Re: need working Android kernel config

Posted: Wed Aug 15, 2012 1:53 am
by Mimamau
Thank you!

When I try to compile it with his source overlay I always end up with this error:

Code: Select all

Install: out/target/product/joggler/system/framework/bouncycastle.odex
Install: out/target/product/joggler/system/framework/core-junit.jar
target Strip: libRS (out/target/product/joggler/obj/lib/libRS.so)
target Strip: libgui (out/target/product/joggler/obj/lib/libgui.so)
Install: out/target/product/joggler/system/bin/InputChannel_test
target SharedLib: libinput (out/target/product/joggler/obj/SHARED_LIBRARIES/libinput_intermediates/LINKED/libinput.so)
out/target/product/joggler/obj/SHARED_LIBRARIES/libinput_intermediates/EventHub.o:(.data.rel.ro._ZTVN7android8EventHubE[vtable for android::EventHub]+0x68): undefined reference to `android::EventHub::reloadKeyboardLayout()'
collect2: ld returned 1 exit status
make: *** [out/target/product/joggler/obj/SHARED_LIBRARIES/libinput_intermediates/LINKED/libinput.so] error 1
Any hints?

Re: need working Android kernel config

Posted: Wed Aug 15, 2012 9:12 am
by danfoshizzle
Wait for Jazzmista, he should know what to tell you.

Re: need working Android kernel config

Posted: Thu Aug 16, 2012 1:46 am
by Mimamau
So, Jazzmista please help me!
I'm building on Ubuntu 10.04.
I've synced the android-x86 source tree and copied Mijuus source overlay over the files.
Then '. build/envsetup.sh' and 'make -j2 iso_img TARGET_PRODUCT=joggler'.

I just need to get a working source as a starting point for starting to build my planned car entertainment and navigating system.

Re: need working Android kernel config

Posted: Thu Aug 16, 2012 2:23 pm
by jazzmista
Mimamau wrote:So, Jazzmista please help me!
I'm building on Ubuntu 10.04.
I've synced the android-x86 source tree and copied Mijuus source overlay over the files.
Then '. build/envsetup.sh' and 'make -j2 iso_img TARGET_PRODUCT=joggler'.

I just need to get a working source as a starting point for starting to build my planned car entertainment and navigating system.
Hi! Hmm, I used to have this kind of error and I always attributed it to some sort of corrupted file in the source. The only solution I found was to have a clean install of Ubuntu 11.10 (I couldn't get it to build on 10.04) and re-download the source :( Is your 10.04 install specifically for building or do you use it as your main OS?

Re: need working Android kernel config

Posted: Thu Aug 16, 2012 4:47 pm
by Mimamau
No, I installed it only for playing around with the android source.
Maybe I should try it with 11.10.

Re: need working Android kernel config

Posted: Thu Aug 16, 2012 6:37 pm
by jazzmista
Mimamau wrote:No, I installed it only for playing around with the android source.
Maybe I should try it with 11.10.
Try it with 11.10, that's what worked for me. I'm currently trying to get it to compile on Mac OSX and it isn't going well...

Re: need working Android kernel config

Posted: Sun Aug 19, 2012 1:34 pm
by Mimamau
Hm, on 11.10, I get the exact same error.
Which Java version do you use?
I will try it with -j1.

Re: need working Android kernel config

Posted: Thu Aug 23, 2012 12:34 am
by Mimamau
Finally got it to compile.
I don't use the frameworks folder from the source_overlay zip.
Don't know what I'm missing out, doing so. Maybe it's because of the chinese characters in the xml files.
It seems to run quite well on the joggler. So this should be a good starting point for building my own car android system! :D
When I'm ready to release something, I will post it here for sure!
I'm going to have navigation and some kind of media player working, first.