GithubHelp home page GithubHelp logo

pspglb / android_device_oneplus_guacamoleb_twrp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mauronofrio/android_device_oneplus_guacamoleb_twrp

0.0 0.0 0.0 145.71 MB

TWRP Source for OnePlus 7 Guacamoleb

Makefile 60.58% Shell 39.42%

android_device_oneplus_guacamoleb_twrp's Introduction

Device Tree for OnePlus 7 (guacamoleb)

The OnePlus 7 (codenamed "guacamoleb") is a flagship smartphone from OnePlus. It was released in May 2019.

Compile

First download omni-9.0 tree:

repo init --depth=1 -u https://github.com/omnirom/android.git -b android-9.0

Then add these string to .repo/manifests/remove.xml

<remove-project name="platform/bootable/recovery" />

Then add these projects to .repo/local_manifests/roomservice.xml (If you don't have it, you can add them to .repo/manifest.xml):

<project name="mauronofrio/android_device_oneplus_guacamoleb_TWRP" path="device/oneplus/guacamoleb" remote="github" revision="android-9.0" />
<project name="mauronofrio/android_bootable_recovery" path="bootable/recovery" remote="github" revision="android-9.0" />
<project name="android_external_busybox" path="external/busybox" remote="TeamWin" revision="android-9.0" />

Now you can sync your source:

repo sync

To auotomatic make the twrp installer, you need to import this commit in the build path: https://gerrit.omnirom.org/#/c/android_build/+/33182/

To make all works you need to modify the buildinfo.sh in build/tools echo "ro.build.version.release=$PLATFORM_VERSION" echo "ro.build.version.security_patch=$PLATFORM_SECURITY_PATCH" to echo "ro.build.version.release_orig=$PLATFORM_VERSION" echo "ro.build.version.security_patch_orig=$PLATFORM_SECURITY_PATCH"

And you need to increase the PLATFORM_VERSION to 16.1.0 in build/core/version_defaults.mk to override Google's anti-rollback features (This actually i don't know if is always needed)

Finally execute these:

. build/envsetup.sh
export ALLOW_MISSING_DEPENDENCIES=true
export LC_ALL=C
lunch omni_guacamoleb-eng 
mka adbd recoveryimage 

To test it:

fastboot boot out/target/product/guacamoleb/recovery.img

Kernel Source: https://gitlab.com/HolyAngel/op7

Credits

I want to say a big thanks to @twinnfamous

android_device_oneplus_guacamoleb_twrp's People

Contributors

bigbiff avatar codeworkx avatar dees-troy avatar engstk avatar mauronofrio avatar micky387 avatar simonsickle avatar simonsickle-old avatar wuxianlin avatar xuelisong avatar

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.