Unified Device Tree for Xiaomi Redmi 4A/5A (rolex/riva)
If you're wondering how to build a ROM using this device tree without thinking too much, consider using Rova Builder which already contains all needed manifests and proper settings. It comes with a fully containerized and intuitive TUI (terminal user interface) tool that I wrote to reduce as much as possible machine-depended failures and missing dependencies when building. Gook luck! ;)
Device specifications
Basic
Spec Sheet
SoC
Qualcomm MSM8917 Snapdragon 425
CPU
Quad-core 1.4 GHz ARM® Cortex™ A53
GPU
Adreno 308
Memory
2/3 GB RAM
Shipped Android Version
6.0.1 for Redmi 4A and 7.0.1 for Redmi 5A
Storage
16/32 GB
MicroSD
Up to 256 GB
Battery
Non-removable Li-Ion 3120 mAh battery
Dimensions
139.9 x 70.4 x 8.5 mm
Display
720 x 1280 pixels, 5.0 inches (~296 ppi pixel density)