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.
2019-09-28 11:55 PM - edited 2019-09-29 12:00 AM
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?
P.S.: please create a category for Android 10 in the forum
2019-11-12 03:42 AM - edited 2019-11-12 03:47 AM
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...
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.
December - last edited December
No, I didn't try it yet. Seems we should wait for the official suzu kernel builds in the GitHub repo.
4 weeks ago
Bad news. They removed the Loire platform:
I opened and issue, since the Loire platform should still be supported:
4 weeks ago
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.