Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 10 编译配置 #18

Open
lsq opened this issue Sep 7, 2024 · 1 comment
Open

android 10 编译配置 #18

lsq opened this issue Sep 7, 2024 · 1 comment

Comments

@lsq
Copy link

lsq commented Sep 7, 2024

大佬你好,我现在用的是出厂的小米10 PRO(CMI),目前不想升级android系统(省电方面考虑),如果编译出android 10适配的twrp,目前我自己试着更改branch android-11部分内容如下:

  1. device. mk
# VNDK API
PRODUCT_TARGET_VNDK_VERSION := 30
  1. BoardConfig.mk
TW_DEVICE_VERSION=10.0
PLATFORM_VERSION := 10
  1. prebuild
    dtb/kernel/recovery_dtbo文件替换为现在手机上相应的文件;

  2. recovery/root目录
    这个目录下的*.rc文件,可否不用更改,还是需要复制原来recovery目录下所有的rc文件过来,另外system/vendro文件夹也是否需要用相同方式更改
    还需要更改哪些配置,请指教,谢谢。

@sekaiacg
Copy link
Owner

sekaiacg commented Sep 7, 2024

太久远了,我也没有编制过安卓10的twrp,你可以自己改改。
如果11的能用就不要改这些配置,试试只替换内核这些…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants