TWRP device tree for Motorola g7 Power (ocean)

Device specifications

Basic Spec Sheet
CPU Octa-core 1.8 GHz Cortex-A53
CHIPSET Qualcomm SDM632 Snapdragon 632
GPU Adreno 506
Memory 3GB (USA) / 4GB (EU)
Shipped Android Version 9.0 (Pie)
Internal Storage 32GB (USA) / 64GB (EU)
microSD Up to 1 TB (dedicated slot)
Battery 5000 mAh
Dimensions 157 x 75.3 x 8 mm
Display 1520 x 720 pixels, 6.2-inch IPS LCD
Rear Camera 12 MP (f/1.8, 1.25µm, PDAF)
Front Camera 8 MP 1.12µm, HDR

Motorola g7 power

Kernel Source

See /prebuilt/README.md

How to compile

. build/envsetup.sh
lunch twrp_ocean-eng
mka adbd bootimage

Build with TWRP installer

To automatically make the twrp installer, you need to import this commit in the build/make path:

https://gerrit.twrp.me/c/android_build/+/4964/

Then add @osm0sis' standard twrp_abtemplate repo to a local manifest as indicated below (followed by another repo sync to download the repo):

<project name="osm0sis/twrp_abtemplate" path="bootable/recovery/installer" remote="github" revision="master"/>

Copyright

 /*
 *  Copyright (C) 2013-19 The OmniROM Project
 *
 * 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/>.
 *
 */