account arrowhead-down arrowhead-up mobile-menu search sm-bold-x x-skinny-rounded x-skinny arrowhead-right social-facebook social-googleplus social-instagram social-linkedin social-pinterest social-qzone social-renren social-tencent social-twitter social-vkontakt social-weibo social-youku social-youtube

Please help us improve our website

Take our customer survey to evaluate your visit.

It should only take a few minutes to answer five quick questions. Just click the Launch survey button at the end of your visit to begin.

cancel
Showing results for 
Search instead for 
Did you mean: 
Welcome to the Open Devices community!

This is where we discuss open source and development related questions on our Open Devices initiative.

Kernel 4.14 for Android 10

Apprentice
Message 1 of 8
981 Views
Message 1 of 8

Kernel 4.14 for Android 10

Hi there!

 

I'm trying to flash Android 10 on my Xperia X device and have a few questions:


In your official ASOP build guide (https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/build-aosp-android-an...) there is the following note:

"Note: These repos include a precompiled kernel."

This does not seem to be true for Android 10 with 4.14, since the repo doesn't contain the pre-built images: https://github.com/sonyxperiadev/kernel-sony-msm-4.14-common

 

The command "make -j4" fails with the following message:

FAILED: ninja: 'kernel/sony/msm-4.14/common-kernel/kernel-dtb-suzu', needed by 'out/target/product/suzu/kernel', missing and no known rule to make it

When will you push the new kernels? In the meantime, what steps do I have to take to compile the kernel myself?

 

Thanks,
Jay

 

P.S.: please create a category for Android 10 in the forum Slightly smiling Face

 

 

7 REPLIES 7
Apprentice
Message 2 of 8
946 Views
Message 2 of 8

Re: Kernel 4.14 for Android 10

Learner
Message 3 of 8
763 Views
Message 3 of 8

Re: Kernel 4.14 for Android 10

I was able to build the kernel by:

1) Follow the AOSP 10 guide for setup through the lunch command.

2) cd kernel/sony/msm-4.14/common-kernel

3) ./build-kernels-gcc.sh (or build-kernels-clang.sh if you're using clang)

 

This seemed to build the missing kernels and satisified the root build error for me.

 

Edit: I'm interested in why the kernels didn't automatically build like they do for AOSP 9 when the prebuilts are missing...

Apprentice
Message 4 of 8
627 Views
Message 4 of 8

Re: Kernel 4.14 for Android 10

Adviser
Message 5 of 8
600 Views
Message 5 of 8

Re: Kernel 4.14 for Android 10

Any success with the custom kernel build for suzu? Mine builds ok but the phone does not boot beyond the white sony screen. The sony-provided kernel is still missing in the repo.

Cheers!

Highlighted
Apprentice
Message 6 of 8
561 Views
Message 6 of 8

Re: Kernel 4.14 for Android 10

No, I didn't try it yet. Seems we should wait for the official suzu kernel builds in the GitHub repo.

Apprentice
Message 7 of 8
35 Views
Apprentice
Message 8 of 8
31 Views
Message 8 of 8

Re: Kernel 4.14 for Android 10

I gave up and moved on to OnePlus. Honestly the Sony AOSP support is pretty unstable (both my. Peria X and XZ1 AOSP builds experienced random reboots or broken drivers), community interest is really low (XDA forums for Sony devices are very thin) and there only seems to be one Sony person maintaining most of it. These forums are also moving so who knows what's going on.