It appears that the instructions on the build/install kernel page are 
insufficient ( although technically they do install the kernel. ) 

I found on this link 
https://source.android.com/devices/architecture/kernel/linux-stable-merges 
under 
the Testing section instructions about deploying the modules.

This requires having root access to the phone however, but it does indeed 
work, and allows all of the missing modules to load and the error messages 
to go away.

Is there a better way of deploying the modules?

Peter

On Sunday, December 8, 2019 at 4:29:22 PM UTC-8, Peter Weir wrote:
>
> I have been trying to build the kernel for android 10 and run it on a 
> pixel 4. 
>
> I followed the instructions on the source android website and used the 
> following exact commands
>
> repo init -u https://android.googlesource.com/kernel/manifest -b 
> android-msm-coral-4.14-android10-c2f2
> repo sync
> build/build.sh
>
> I then navigate into the aosp source tree and execute the following (after 
> setting up the environment and running lunch aosp_flame-userdebug)
> make bootimage TARGET_PREBUILT_KERNEL=<pathtodistdirectory>/Image.lz4
>
> Then I navigate into the product out directory for flame and run
> adb reboot bootloader
> fastboot boot boot.img
>
> At this point the phone does boot, and I'm reasonably confident it is 
> using the kernel binary I gave it since when I use the prebuilt in the AOSP 
> tree it works fine, but when I point at the one I built there are issues. 
> The touchscreen is non responsive making the phone seem a little useless.
>
> logcat shows me looping messages like
>
> 12-06 13:55:20.181   889   889 D /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2042: 
> Error 0xffffffff: apps_dev_init failed for domain 0, errno Transport 
> endpoint is not connected
> 12-06 13:55:20.181   889   889 D /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2135: 
> Error 0xffffffff: open_dev (-1) failed for domain 0
> 12-06 13:55:20.181   889   889 D /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1017: 
> Error 0x2c: remote_handle_invoke failed for handle 0xffffffff, method 0 on 
> domain 0 (sc 0x0)
> 12-06 13:55:20.181   889   889 E /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/adsprpcd.c:43:adsp 
> daemon will restart after 25ms...
> 12-06 13:55:20.206   888   888 V /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1091: 
> remote_handle_open: Successfully opened handle 0x5f for 
> '":;./\attachguestos on domain 0
> 12-06 13:55:20.207   888   888 D /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2042: 
> Error 0xffffffff: apps_dev_init failed for domain 0, errno Transport 
> endpoint is not connected
> 12-06 13:55:20.207   888   888 D /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2135: 
> Error 0xffffffff: open_dev (-1) failed for domain 0
> 12-06 13:55:20.207   888   888 D /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1017: 
> Error 0x2c: remote_handle_invoke failed for handle 0xffffffff, method 0 on 
> domain 0 (sc 0x0)
> 12-06 13:55:20.207   888   888 E /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/adsprpcd.c:43:adsp 
> daemon will restart after 25ms...
> 12-06 13:55:20.209   889   889 V /vendor/bin/adsprpcd: 
> vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1091: 
> remote_handle_open: Successfully opened handle 0x55 for 
> '":;./\createstaticpd:audiopd on domain 0
>
> I'm stumped beyond there seeming to be a problem with the proprietary 
> drivers being unable to access a device handle on my hand built kernel. 
>
> Has anyone seen anything like this before? I'm looking for a push in the 
> right direction.
>
> Peter
>
>
>

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/80ca1c72-8e59-48ee-a34b-aa02a943e9c1%40googlegroups.com.

Reply via email to