Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Redmi 7a #1450

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/devices/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ set(files
walton.yml
wiko.yml
wileyfox.yml
xiaomi.yml
xiaomi/00_mi.yml
xiaomi/01_mi_note.yml
xiaomi/02_mi_max.yml
Expand Down
109 changes: 109 additions & 0 deletions data/devices/xiaomi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
- name: Redmi 7a
id: pine
codenames:
- pine
- REL
architecture: armeabi-v7a
block_devs:
base_dirs:
- /dev/block/platform/soc/7824900.sdhci/by-name
- /dev/block/bootdevice/by-name
- /dev/block/by-name
system:
- /dev/block/bootdevice/by-name/system
- /dev/block/by-name/system
- /dev/block/mmcblk0p57
- /dev/block/platform/soc/7824900.sdhci/by-name/system
cache:
- /dev/block/bootdevice/by-name/cache
- /dev/block/by-name/cache
- /dev/block/mmcblk0p55
- /dev/block/platform/soc/7824900.sdhci/by-name/cache
data:
- /dev/block/bootdevice/by-name/userdata
- /dev/block/by-name/userdata
- /dev/block/mmcblk0p60
- /dev/block/platform/soc/7824900.sdhci/by-name/userdata
boot:
- /dev/block/bootdevice/by-name/boot
- /dev/block/by-name/boot
- /dev/block/mmcblk0p52
- /dev/block/platform/soc/7824900.sdhci/by-name/boot
- ext4
recovery:
- /dev/block/bootdevice/by-name/recovery
- /dev/block/by-name/recovery
- /dev/block/mmcblk0p53
- /dev/block/platform/soc/7824900.sdhci/by-name/recovery
extra:
- /dev/block/platform/soc/7824900.sdhci/by-name/DDR
- /dev/block/platform/soc/7824900.sdhci/by-name/aboot
- /dev/block/platform/soc/7824900.sdhci/by-name/abootbak
- /dev/block/platform/soc/7824900.sdhci/by-name/apdp
- /dev/block/platform/soc/7824900.sdhci/by-name/bk1
- /dev/block/platform/soc/7824900.sdhci/by-name/bk2
- /dev/block/platform/soc/7824900.sdhci/by-name/bk3
- /dev/block/platform/soc/7824900.sdhci/by-name/bk4
- /dev/block/platform/soc/7824900.sdhci/by-name/bk5
- /dev/block/platform/soc/7824900.sdhci/by-name/cmnlib
- /dev/block/platform/soc/7824900.sdhci/by-name/cmnlib64
- /dev/block/platform/soc/7824900.sdhci/by-name/cmnlib64bak
- /dev/block/platform/soc/7824900.sdhci/by-name/cmnlibbak
- /dev/block/platform/soc/7824900.sdhci/by-name/config
- /dev/block/platform/soc/7824900.sdhci/by-name/cust
- /dev/block/platform/soc/7824900.sdhci/by-name/devcfg
- /dev/block/platform/soc/7824900.sdhci/by-name/devcfgbak
- /dev/block/platform/soc/7824900.sdhci/by-name/devinfo
- /dev/block/platform/soc/7824900.sdhci/by-name/dip
- /dev/block/platform/soc/7824900.sdhci/by-name/dpo
- /dev/block/platform/soc/7824900.sdhci/by-name/dsp
- /dev/block/platform/soc/7824900.sdhci/by-name/dspbak
- /dev/block/platform/soc/7824900.sdhci/by-name/dtbo
- /dev/block/platform/soc/7824900.sdhci/by-name/dtbobak
- /dev/block/platform/soc/7824900.sdhci/by-name/fsc
- /dev/block/platform/soc/7824900.sdhci/by-name/fsg
- /dev/block/platform/soc/7824900.sdhci/by-name/keymaster
- /dev/block/platform/soc/7824900.sdhci/by-name/keymasterbak
- /dev/block/platform/soc/7824900.sdhci/by-name/keystore
- /dev/block/platform/soc/7824900.sdhci/by-name/limits
- /dev/block/platform/soc/7824900.sdhci/by-name/logdump
- /dev/block/platform/soc/7824900.sdhci/by-name/mcfg
- /dev/block/platform/soc/7824900.sdhci/by-name/mdtp
- /dev/block/platform/soc/7824900.sdhci/by-name/mdtpbak
- /dev/block/platform/soc/7824900.sdhci/by-name/misc
- /dev/block/platform/soc/7824900.sdhci/by-name/modem
- /dev/block/platform/soc/7824900.sdhci/by-name/modemst1
- /dev/block/platform/soc/7824900.sdhci/by-name/modemst2
- /dev/block/platform/soc/7824900.sdhci/by-name/mota
- /dev/block/platform/soc/7824900.sdhci/by-name/msadp
- /dev/block/platform/soc/7824900.sdhci/by-name/persist
- /dev/block/platform/soc/7824900.sdhci/by-name/persistbak
- /dev/block/platform/soc/7824900.sdhci/by-name/rpm
- /dev/block/platform/soc/7824900.sdhci/by-name/rpmbak
- /dev/block/platform/soc/7824900.sdhci/by-name/sbl1
- /dev/block/platform/soc/7824900.sdhci/by-name/sbl1bak
- /dev/block/platform/soc/7824900.sdhci/by-name/sec
- /dev/block/platform/soc/7824900.sdhci/by-name/splash
- /dev/block/platform/soc/7824900.sdhci/by-name/ssd
- /dev/block/platform/soc/7824900.sdhci/by-name/syscfg
- /dev/block/platform/soc/7824900.sdhci/by-name/tz
- /dev/block/platform/soc/7824900.sdhci/by-name/tzbak
- /dev/block/platform/soc/7824900.sdhci/by-name/vbmeta
- /dev/block/platform/soc/7824900.sdhci/by-name/vbmetabak
- /dev/block/platform/soc/7824900.sdhci/by-name/vendor
- /dev/block/mmcblk1
- /dev/block/mmcblk1p1

boot_ui:
supported: true
flags:
- TW_GRAPHICS_FORCE_USE_LINELENGTH
brightness_path: /sys/class/leds/lcd-backlight/brightness
max_brightness: 255
default_brightness: 168
cpu_temp_path: /sys/devices/virtual/thermal/thermal_zone0/temp
battery_path: /sys/class/power_supply/battery/capacity
graphics_backends:
- fbdev
theme: portrait_hdpi