Copyright (C) 2021 LineageOS
git clone https://github.com/stuartore/aosp-setup.git && cd aosp-setup
bash aosp.sh -k --auto_build
The Xiaomi Mi 12X (codenamed "psyche") is a flagship smartphone from Xiaomi.
It was released in December 2021.
Basic | Spec Sheet |
---|---|
SoC | Qualcomm SM8250-AC Snapdragon 870 5G (7 nm) |
CPU | Octa-core (1x3.2 GHz Kryo 585 & 3x2.42 GHz Kryo 585 & 4x1.80 GHz Kryo 585) |
GPU | Adreno 650 |
Memory | 128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM |
Shipped Android Version | Android 11, MIUI 13 |
Battery | Li-Po 4500 mAh, non-removable |
Display | AMOLED, 68B colors, 120Hz, Dolby Vision, HDR10+, 1100 nits (peak) |
Trouble when building ?
If you find one or more modules loss, the most possible reason is that the ROM organization do not contain it. You could search it on it's related Github profile
name: "qti_vibrator_hal"
build/soong/Android.bp
As you find it, copy and paste the hal as well as its defaults code paragraph in "{}" in the related file who occours error, in the most cases, Android.bpsoong_config_module_type { name: "qti_vibrator_hal", module_type: "cc_defaults", config_namespace: "lineageQcomVars", bool_variables: ["qti_vibrator_use_effect_stream"], value_variables: ["qti_vibrator_effect_lib"], properties: [ "cppflags", "shared_libs", ], }
qti_vibrator_hal { name: "qti_vibrator_hal_defaults", soong_config_variables: { qti_vibrator_use_effect_stream: { cppflags: ["-DUSE_EFFECT_STREAM"], }, qti_vibrator_effect_lib: { shared_libs: ["%s"], }, }, }
Re-run lunch to see whether error fixed. Once it compelete, you could use aosp-setup to autobuild.
Other errors' solutions follow the same reguration. If it loses, then add it. On the opposite side, delete it or change it's name to avoid being duplicate.
- VoidUI-Devices
- Mesquita
- [Monlight4004](https://github.com/moonlight4004)
- shine911