To build:
make clean
. build/envsetup.sh
lunch omni_gemini-userdebug
make recoveryimage -j16
The Xiaomi Mi 5 (codenamed _"Gemini"_) is a high-end smartphone from Xiaomi.
It was announced in February 2016, in three flavours. Release date was April 2016.
## Device specifications
| Feature | Mi 5 Standard Edition | Mi 5 Pro Edition | Mi 5 Exclusive Edition |
| -----------: | :---------------------------------------------- | :---------------------------------------------- | :--------------------------------------------- |
| SoC | Qualcomm MSM8996 Snapdragon 820 | Qualcomm MSM8996 Snapdragon 820 | Qualcomm MSM8996 Snapdragon 820 |
| CPU | Dual-core 1.8GHz Kryo & dual-core 1.36GHz Kryo | Dual-core 2.15GHz Kryo & dual-core 1.6GHz Kryo | Dual-core 2.15GHz Kryo & dual-core 1.6GHz Kryo |
| GPU | 510MHz Adreno 530 | 624MHz Adreno 530 | 624MHz Adreno 530 |
| Memory | 3 GB RAM (LPDDR4 1333MHz dual-channel) | 3 GB RAM (LPDDR4 1866MHz dual-channel) | 4 GB RAM (LPDDR4 1866MHz dual-channel) |
| Shipped Android version | 6.0 with MIUI 7 | 6.0 with MIUI 7 | 6.0 with MIUI 7 |
| Storage | 32 GB (UFS 2.0 Flash) | 64 GB (UFS 2.0 Flash) | 128 GB (UFS 2.0 Flash) |
| Battery | Non-removable Li-Po 3000 mAh | Non-removable Li-Po 3000 mAh | Non-removable Li-Po 3000 mAh |
| Dimensions | 144.55 x 69.2 x 7.25 mm | 144.55 x 69.2 x 7.25 mm | 144.55 x 69.2 x 7.25 mm |
| Display | 1920 x 1080 px, 5.15 inches (428 PPI) | 1920 x 1080 px, 5.15 inches (428 PPI) | 1920 x 1080 px, 5.15 inches (428 PPI) |
| Rear camera | 16 MPx, f/2.0, PDAF autofocus, dual-LED (dual tone) flash | 16 MPx, f/2.0, PDAF autofocus, dual-LED (dual tone) flash | 16 MPx, f/2.0, PDAF autofocus, dual-LED (dual tone) flash |
| Front camera | 4 MPx, f/2.0 | 4 MPx, f/2.0 | 4 MPx, f/2.0 |
## Device picture
![Xiaomi Mi 5](http://xiaomi-mi.com/uploads/CatalogueImage/xiaomi-mi-5-black-01_14051_1456305832.jpg "Xiaomi Mi 5 in black")