Skip to content
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
10 changes: 7 additions & 3 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,17 @@ BOARD_BOOTIMAGE_PARTITION_SIZE := 0x04000000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x04000000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
BOARD_USERDATAIMAGE_PARTITION_SIZE := 58846064640 # (58846081024-16384)
BOARD_VENDORIMAGE_PARTITION_SIZE := 872415232
BOARD_CACHEIMAGE_PARTITION_SIZE := 402653184
BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432
BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64)

# Recovery
BOARD_HAS_LARGE_FILESYSTEM := true
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_COPY_OUT_VENDOR := vendor
BOARD_HAS_LARGE_FILESYSTEM := true

# TWRP Configuration
TW_THEME := portrait_hdpi
Expand All @@ -72,6 +76,6 @@ TARGET_RECOVERY_QCOM_RTC_FIX := true
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
TARGET_RECOVERY_FSTAB := $(LOCAL_PATH)/twrp.fstab
BOARD_SUPPRESS_SECURE_ERASE := true
RECOVERY_SDCARD_ON_DATA := true
RECOVERY_GRAPHICS_USE_LINELENGTH := true
TW_IGNORE_MISC_WIPE_DATA := true
TW_INPUT_BLACKLIST := "hbtp_vm"
TW_HAS_EDL_MODE := true
Binary file modified Image.gz-dtb
Binary file not shown.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Device Tree for Xiaomi Redmi Note 4 & 4x (Mido)

Kernel source: "https://github.com/TheScarastic/android_kernel_xiaomi_msm8953"

## Spec Sheet

| Feature | Specification |
| :---------------------- | :-------------------------------- |
| CPU | Octa-core 2.0 GHz Cortex-A53 |
| Chipset | Qualcomm MSM8953 Snapdragon 625 |
| GPU | Adreno 506 |
| Memory | 2/3/4 GB |
| Shipped Android Version | 6.0.1 |
| Storage | 32/64 GB |
| MicroSD | Up to 256 GB |
| Battery | 4100 mAh (non-removable) |
| Dimensions | 151 x 76 x 8.5 mm |
| Display | 1920x1080 pixels, 5.5 (~401 PPI) |
| Rear Camera | 13 MP, LED flash |
| Front Camera | 5 MP |
| Release Date | January 2017 |

## Device Picture

![Redmi Note 4](http://i01.appmifile.com/webfile/globalimg/7/537557F3-A4F1-2490-E9D3-138B2A11DBF6.png "Redmi Note 4")
53 changes: 0 additions & 53 deletions cryptfs_hw/Android.mk

This file was deleted.

Loading