Skip to content

iusmac/recovery_rova

Repository files navigation

Unified DT for Xiaomi Redmi 4A/5A (rolex/riva) devices

Building

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:

  1. Install Docker on your system:

    $ curl -fsSL https://get.docker.com | sudo sh -
  2. Clone Rova Builder:

    $ git clone --depth=1 https://github.com/iusmac/rova_builder.git -b orfox-12.1
    $ cd rova_builder
  3. 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

  4. 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

  5. Build:

    $ ./orangefox_builder.sh
    — Init OrangeFox repo scripts? [Y/n] n
    — Sync sources? [Y/n] n
    — Build recovery? [Y/n] Y

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)
Rear Camera 13 MP, f/2.2, autofocus, LED flash
Front Camera 5 MP, f/2.2

Appearance

Xiaomi Redmi 4A (rolex) Xiaomi Redmi 5A (riva)
Redmi 4A Redmi 5A