TWRP device tree for Xiaomi Redmi Note 7 (codenamed "lavender")

Device specifications

Device Xiaomi Redmi Note 7
SoC Qualcomm SDM660 Snapdragon 660
CPU 8x Qualcomm® Kryo™ 260 CPU up to 1.8GHz
GPU Adreno 512
Memory 4GB / 6GB RAM (LPDDR4X)
Shipped Android version 9
Storage 64/128GB eMMC 5.1 flash storage
MicroSD Up to 256 GB
Battery Non-removable Li-Po 4000 mAh
Dimensions 159.21 x 75.21 x 8.1 mm
Display 2340 x 1080 (19:5:9), 6.3 inch
Rear camera 1 48 MP, f/1.8, (wide), 1/2", 0.8µm, PDAF (Indian/Global)
Rear camera 2 2 MP, f/2.4, depth sensor or 5 MP, f/2.2, depth sensor
Front camera 13 MP, f/2.0, 1.12µm

Xiaomi Redmi Note 7

Copyright

 /*
 *  Copyright (C) 2013-20 The TWRP
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */