Skip to content

一加13源码编译出来的vendor_dlkm.img无法开机,一直卡在第一屏 #153

@DU199510

Description

@DU199510

一、构建
设备型号版本:oneplus13 PJZ110_15.0.0.840(CN01)

源码及编译
repo init -u https://github.com/OnePlusOSS/kernel_manifest.git -b oneplus/sm8750 -m oneplus_13.xml
repo sync -c -j$(nproc)
./kernel_platform/oplus/build/oplus_build_kernel.sh sun perf

二、安装
刷out/dist/下的boot.img、system_dlkm.flatten.erofs.img可以正常开机
刷机后内核版本显示为:6.6.30-android15-8-o-gf9c1a38fe1bfSNS
在fastbootd下刷vendor_dlkm.img后手机卡在第一屏无法开机

三、直接push
push后显示只读错误
adb push camera.ko /vendor_dlkm/lib/modules/

  • daemon not running; starting now at tcp:5037
  • daemon started successfully
    adb: error: failed to copy 'camera.ko' to '/vendor_dlkm/lib/modules/camera.ko': remote couldn't create file: Read-only file system
    camera.ko: 1 file pushed, 0 skipped. 102.6 MB/s (34471584 bytes in 0.321s)

解包编译出来的vendor_dlkm.img,发现里面的ko文件跟全量包提取出来的差异非常大,想知道是vendor下的源码未完整开源,还是编译环境及方式的问题。

以上,敬待回复为谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions