The Xiaomi Redmi 12 (codenamed "fire") is an entry-level smartphone from Xiaomi.
It was announced and released in June 2023.
Feature | Specification |
---|---|
Chipset | Mediatek MT6769H Helio G88 |
CPU | Octa-core (2x2.0 GHz Cortex-A75 & 6x1.8 GHz Cortex-A55) |
GPU | Mali-G52 MC2 |
Memory | 4GB / 6GB / 8GB RAM (LPDDR4X) |
Shipped OS | Android 13, MIUI 14 |
Storage | 128GB / 256GB (eMMC 5.1) |
SIM | Hybrid Dual SIM (Nano-SIM, dual stand-by) |
MicroSD | Up to 1TB |
Battery | 5000mAh Li-Po (non-removable), 18W fast charge |
Dimensions | 168.6 x 76.3 x 8.2 mm (6.64 x 3.00 x 0.32 in) |
Display | 6.79", 1080 x 2460 pixels, IPS LCD, 90Hz (~396 ppi density) |
Rear Camera 1 | 50 MP, f/1.8, (wide), PDAF |
Rear Camera 2 | 8 MP, f/2.2, 120˚ (ultrawide) |
Rear Camera 3 | 2 MP, f/2.4, (macro) |
Front Camera | 8 MP, f/2.1 |
Fingerprint | (side-mounted) |
Sensors | accelerometer, compass |
- Correct screen/recovery size
- Working Touch, screen
- Working slot switching
- Backup to internal/microSD
- Restore from internal/microSD
- reboot to system
- ADB
- update.zip sideload
- UI colors (red/blue inversions)
- Screen goes off and on
- F2FS/EXT4 Support, exFAT/NTFS where supported
- all important partitions listed in mount/backup lists
- backup/restore to/from external (USB-OTG) storage
- backup/restore to/from adb (https://gerrit.omnirom.org/#/c/15943/)
- decrypt /data
- Correct date
- MTP export
- reboot to bootloader
- reboot to recovery
- poweroff
- battery level
- temperature
-
encrypted backups(no option) - input devices via USB (USB-OTG) - keyboard, mouse and disks
-
USB mass storage export(unavailable) - set brightness
- vibrate
- screenshot
- partition SD card
-
Set up the build environment following the instructions here
-
In the root folder of the fetched repo, clone the device tree:
git clone https://github.com/mahdi-salimi05/ofrp_device_xiaomi_fire.git device/xiaomi/fire
- To build:
cd ~/OrangeFox # (or whichever directory has the synced manifest)
/bin/bash # if your Linux shell isn't bash
export ALLOW_MISSING_DEPENDENCIES=true
export FOX_BUILD_DEVICE=<device>
export LC_ALL="C"
# for all brances
source build/envsetup.sh
# for branches lower than 11.0
lunch omni_<device>-eng && mka recoveryimage
# for branches lower than 11.0, with A/B partitioning
lunch omni_<device>-eng && mka bootimage
# for the 11.0 (or higher) branch
lunch twrp_<device>-eng && mka adbd recoveryimage
# for the 11.0 (or higher) branch, with A/B partitioning
lunch twrp_<device>-eng && mka adbd bootimage
# for the 12.1 (or higher) branch, vendor_boot-as-recovery builds [this is highly experimental and unsupported!]
lunch twrp_<device>-eng && mka adbd vendorbootimage
python3 mtk r boot boot.img
- flash orangefox image to your boot_a "or boot" partition
fastboot flash boot OrangeFox-R12.1-Unofficial-fire.img
- reboot to recovery
fastboot reboot recovery
- Once booted, put your stock boot image in Internalstorage , MicroSdcard or Usb-Otg then Flash stock boot image in boot partition and tick (Flash to both slots) (this will remove OF recovery form your device; you need to reflash orange fox from menu>Flash current OF). after that it is better to flash OF.zip file
AntarcticShaurant TWRP Device tree: https://github.com/redmi-fire-devs/twrp_device_xiaomi_fire