GithubHelp home page GithubHelp logo

android_device_motorola_payton's Introduction

TWRP Device configuration for Motorola Moto X4 (payton)

Copyright 2018 - The OmniROM Project Copyright 2022 - The TeamWin Recovery Project

For building TWRP for Motorola Moto X4 ONLY.

Kernel Source

https://github.com/moto-SDM660/android_kernel_motorola_sdm660/tree/twrp-12.1

Device specifications

=====================================

Basic Spec Sheet
CPU Octa-core (8x2.21 GHz Cortex A53)
CHIPSET Qualcomm SDM630 Snapdragon 630
GPU Adreno 508
Memory 3, 4, 6 GB
Shipped Android Version 7.1.1 (Nougat)
Storage 32, 64GB
Battery 3000 mAh
Dimensions 148.4 x 73.4 x 8 mm (5.84 x 2.89 x 0.31 in)
Display 1080 x 1920 pixels, 5.2" LTPS IPS LCD 16:9 ratio (~424 ppi density)
Rear Camera 1 (main 12 MP f/2.0 1.4-micron pixels and dual pixel autofocus
Rear Camera 2 (ultrawide) 8 MP f/2.2 and fixed focus
Front Camera 16 MP with flash and fixed focus

Compile

First repo init the twrp-12.1 tree:

mkdir ~/android/twrp-12.1
cd ~/android/twrp-12.1
repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1
mkdir -p .repo/local_manifests

Then add to a local manifest (if you don't have .repo/local_manifest then make that directory and make a blank file and name it something like twrp.xml):

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="osm0sis/twrp_abtemplate" path="bootable/recovery/installer" remote="github" revision="master"/>
  <project name="android_device_motorola_payton" path="device/motorola/payton" remote="TeamWin" revision="android-12.1"/>
</manifest>

Now you can sync your source:

repo sync

To automatically make the TWRP installer zip, you need to import this commit in the build/make path: https://gerrit.twrp.me/c/android_build/+/5445

Finally execute these:

. build/envsetup.sh
export ALLOW_MISSING_DEPENDENCIES=true
export LC_ALL=C
lunch twrp_payton-eng
make adbd bootimage

android_device_motorola_payton's People

Contributors

betaxab avatar bigbiff avatar erfanoabdi avatar invisiblek avatar joemossjr16 avatar loganchien avatar mauronofrio avatar npjohnson avatar sevenrock avatar syberhexen avatar themard avatar vijaykv-google avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_device_motorola_payton's Issues

Unable to decrypt /data partition

There's a well-known issue with TWRP and LineageOS 16 that you can't decrypt an encrypted /data partition and it makes backups a hassle etc.

Others seem to have solved the encryption problem on new versions of TWRP for their devices. Maybe their source holds the answer to this problem? Here's an XDA post from earlier this month where they discussed a new version of TWRP that was able to decrypt /data:

https://forum.xda-developers.com/showpost.php?p=79753113&postcount=46

They were talking about this version of TWRP for the OnePlus 5 / cheeseburger:

https://github.com/engstk/android_device_oneplus_cheeseburger/releases/tag/v9.101

twrp-3.7.0_12-0-payton bootloop

Hello,
I'm using TWRP-3.6.2_11 on my XT1900-7 and anything worked fine. Since updating from Lineageos 18 to 19 (Android 12) TWRP can't decrypt the data partition.

So I tried flashing twrp-installer-3.7.0_12-0-payton.zip and ended with a bootloop. The phone shows the Moto X4 logo three times ans shuts down.
I tried the twrp-3.7.0_12-0-payton.img via fastboot but it's the same. So I went back to TWRP-3.6.2.
I unzipped the twrp-installer-3.7.0_12-0-payton.zip on my Computer to check if it is corrupted but all files are OK.

Not compatible with android 9.0

Will this be upgraded to the new version? Works fine when booting, but when it's installed it causes a bootloop that I need to completely reformat my device to fix.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.