rajdeep-3305/device_xiaomi_rubyx ? reverse-engineered prompt
Reverse engineered prompt
Build me a working Android device tree for the Xiaomi Redmi Note 12 Pro 5G, Pro+ 5G, and Discovery Edition, using the ruby codename.
I want it set up so the device can actually boot cleanly on LineageOS style builds, with the usual vendor blobs, makefiles, overlays, sepolicy, and any device specific configs needed for this phone family. Please make sure the tree covers the shared hardware where it makes sense, and handles the differences between the Pro, Pro+, and Discovery models, especially battery and camera related parts.
If anything is unclear, look up the current device and vendor build docs online and follow the standard Android device tree approach. I’d like the result to be something I can build from and use as the base for further testing and fixes.
Are you gonna build this?
make sure you review the code using coderabbit