Coder Social home page Coder Social logo

android_device_blackshark_shark's Introduction

Device Tree for Xiaomi Black Shark

Compile

First checkout minimal twrp with omnirom tree:

repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-8.1
repo sync

Then add these projects to .repo/manifest.xml:

<project path="device/blackshark/shark" name="mauronofrio/android_device_blackshark_shark" remote="github" revision="android-8.1" />

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


Finally execute these:

. build/envsetup.sh export ALLOW_MISSING_DEPENDENCIES=true # Only if you use minimal twrp tree. lunch omni_enchilada-eng mka adbd recoveryimage


To test it:

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


android_device_blackshark_shark's People

Contributors

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

Watchers

James Cloos avatar  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.