You can find all the necessary infos on requirements, dependencies & build guidelines on the Official OrangeFox Wiki page: https://wiki.orangefox.tech/en/dev/building
If you don't have enough technical knowledge (or are simply too lazy 😌), you can also use the all-in-one automatic Rova Builder based on Docker container:
-
Install Docker on your system:
$ curl -fsSL https://get.docker.com | sudo sh -
-
Clone Rova Builder:
$ git clone --depth=1 https://github.com/iusmac/rova_builder.git -b orfox-12.1 $ cd rova_builder
-
Sync sources:
(wait for Docker to prepare the container if running for the first time)
$ ./orangefox_builder.sh — Init OrangeFox repo scripts? [Y/n] Y [...] — Sync sources? [Y/n] Y [...] — Build recovery? [Y/n] n
DO NOT BUILD NOW, RESPOND n
-
Apply patches to sources:
$ cd src/ $ ./device/xiaomi/rova/patches/apply.sh — Apply system_core-Build-fastboot-binary.patch? [Y/n] Y — Apply [...]? [Y/n] Y
RESPOND Y TO ALL PATCHES
-
Build:
$ ./orangefox_builder.sh — Init OrangeFox repo scripts? [Y/n] n — Sync sources? [Y/n] n — Build recovery? [Y/n] Y
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) |
Rear Camera | 13 MP, f/2.2, autofocus, LED flash |
Front Camera | 5 MP, f/2.2 |
Xiaomi Redmi 4A (rolex) | Xiaomi Redmi 5A (riva) |
---|---|