This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_oneplus_avicii-Cheri…/init/Android.bp
Michael Bestas 53e71f35a1 sm8250-common: Reapply "Set ro.boot.hardware.revision based on RF version"
ro.boot.hardware.revision is used in fastbootd UI, getvar hw-revision
output and Settings app.

Set based on the RF version so external tools can use it to flash
the correct firmware variant and show the HW variant in Settings.

Change-Id: I1adfb6514fdbaa2e5b9782c37d9eaf8112a110fc
2022-08-19 21:59:20 +02:00

85 lines
1.4 KiB
Plaintext

//
// Copyright (C) 2022 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "init.qcom.rc",
src: "init.qcom.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "init.oplus.hw.rc",
src: "init.oplus.hw.rc",
sub_dir: "init",
device_specific: true,
recovery_available: true,
}
prebuilt_etc {
name: "init.oplus.rc",
src: "init.oplus.rc",
sub_dir: "init",
device_specific: true,
}
prebuilt_etc {
name: "init.qcom.recovery.rc",
src: "init.qcom.recovery.rc",
sub_dir: "init",
recovery: true,
}
prebuilt_etc {
name: "init.target.rc",
src: "init.target.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "ueventd.oplus.rc",
filename: "ueventd.rc",
src: "ueventd.oplus.rc",
device_specific: true,
}
prebuilt_etc {
name: "ueventd.qcom.rc",
filename: "ueventd.rc",
src: "ueventd.qcom.rc",
vendor: true,
}
sh_binary {
name: "init.class_main.sh",
src: "init.class_main.sh",
vendor: true,
}
sh_binary {
name: "init.oplus.sh",
src: "init.oplus.sh",
device_specific: true,
}
sh_binary {
name: "init.qcom.early_boot.sh",
src: "init.qcom.early_boot.sh",
vendor: true,
}
sh_binary {
name: "init.qcom.post_boot.sh",
src: "init.qcom.post_boot.sh",
vendor: true,
}
sh_binary {
name: "init.qcom.sh",
src: "init.qcom.sh",
vendor: true,
}