Skip to content

google-crosshatch: update downstream kernel to LineageOS 17.1 kernel

Zhuowei Zhang requested to merge zhuowei/pmaports:crosshatch-new-kernel into master

This updates google-crosshatch's downstream kernel to Lineage 17.1's version (4.9.200, shared with Lineage's Pixel 3a port).

The newer kernel is needed because this device's kernel requires a matching dtbo partition. The previous kernel would fail to boot with an Android 10 dtbo partition.

Two patches were removed: Android 10's bootloader no longer passes the dm or skip_initramfs boot arguments because of the new dynamic partitions (https://source.android.com/devices/tech/ota/dynamic_partitions/ab_legacy).

Changes from the LineageOS kernel config: https://gist.github.com/zhuowei/89b4135ff27e88f5a3dd3e4bf3cd31ab

Tested by booting to USB networking and debug-shell: I have not tested flashing full pmOS using this kernel yet.

For some reason, on this kernel, when pmOS can't find system partitions during the "Trying to mount subpartitions for 10 seconds..." stage, it waits for 70 seconds instead of 10 seconds. I'm not sure why. It does go to debug-shell correctly after a minute.

Edited by Zhuowei Zhang

Merge request reports