Hi,

1) After a build of AOSP+kernel I try to boot, but in the dmesg I 
infinitely see the following errors:

[   62.895275] init: starting service 'vendor.chre'...
[   62.901496] init: Created socket '/dev/socket/chre', mode 660, user 0, 
group 1080
[   62.999721] init: Control message: Could not find 
'android.hardware.vibrator@1.0::IVibrator/default' for ctl.interface_start 
from pid: 599 (/system/bin/hwservicemanager)
[   63.802603] init: Control message: Could not find 
'android.hardware.sensors@2.0::ISensors/default' for ctl.interface_start 
from pid: 599 (/system/bin/hwservicemanager)
[   63.852698] init: Control message: Could not find 
'android.frameworks.sensorservice@1.0::ISensorManager/default' for 
ctl.interface_start from pid: 599 (/system/bin/hwservicemanager)
[   64.000882] init: Control message: Could not find 
'android.hardware.vibrator@1.0::IVibrator/default' for ctl.interface_start 
from pid: 599 (/system/bin/hwservicemanager)
....

2) What I do to build:

a) Take the latest (for 08/10/2021) sunfish's AOSP + kernel + binaries from
https://groups.google.com/g/android-building/c/aOj7GU1X3JI/m/vQjWa8KRAgAJ

repo init -u https://android.googlesource.com/platform/manifest -b 
android-11.0.0_r40
repo sync

repo init -u https://android.googlesource.com/kernel/manifest -b 
android-msm-sunfish-4.14-android11-qpr3 
repo sync

unpack 
google_devices-sunfish-rq3a.210805.001.a1-995ad0d0.tgz
qcom-sunfish-rq3a.210805.001.a1-1ec3b6e6.tgz
to AOSP/vendor folder

b) in kernel folder I run
./build_sunfish.sh

After the kernel build I copy all the files from 
out/android-msm-pixel-4.14/dist to the folder 
AOSP/device/google/sunfish-kernel.

NOTE: Also as an alternative I tried to follow the doc using 
export TARGET_PREBUILT_KERNEL=DIST_DIR/Image.lz4-dtb
etc, but with the same net result.

c) in AOSP folder I run 
 . build/envsetup.sh 
lunch
<select> 26. aosp_sunfish-userdebug
m

d) finally flash the device and finally boot, 
and then I stuck on boot logo and in dmesg I see errors mentioned in 1).
If I try to use prebuilt kernel from AOSP, so omitting of building and 
copying the kernel - b), then all went ok, but I need a kernel built by 
myself.

I believe I do something wrong, but can't figure out what exactly.

Could someone tell me how to build AOSP +kernel correctly?

Thanks.


-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@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-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/9e89a14e-0cd1-49f3-a834-0f31bc6d6be6n%40googlegroups.com.

Reply via email to