Giter Site home page Giter Site logo

android_device_xiaomi_dipper's Introduction

android_device_xiaomi_dipper

For building TWRP for Xiaomi Mi 8

TWRP device tree for Xiaomi MI 8

Features

Works:

  • ADB
  • Decryption of /data
  • Screen brightness settings
  • Vibration on touch
  • Correct screenshot color

Compile

First checkout minimal twrp with omnirom tree:

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

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

<project path="device/xiaomi/dipper" name="mauronofrio/android_device_xiaomi_dipper" remote="github" revision="android-9.0" />

Finally execute these:

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

To test it:

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

Contributors

Here

Other Sources

Kernel Sources: https://github.com/LineageOS/android_kernel_xiaomi_sdm845

Thanks

android_device_xiaomi_dipper's People

Contributors

bgcngm avatar mauronofrio avatar notsyncing avatar simonsmh avatar

Stargazers

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

Watchers

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

android_device_xiaomi_dipper's Issues

Does not start on Android 12 ROM

I'm using PixelExperience beta A12 with keymaster 4.0 and recovery gets stuck in bootlogo or doesn't start and stays in bootloop until reset with fastboot -w

Unable to decrypt data partition after LOS upgrade

Hi,

I have recently upgraded my dipper device from LOS (for microg) 18.1 to LOS (for microg) 19.1 by

  • downloading the zip file from here
  • flashing the zip using TWRP

Afterwards i attempted to upgrade to LOS (for microg) to 20.1. But unfortunately i was not able to decrypt the data partition. The password prompt did not show up after booting into TWRP recovery. All data is encrypted, and i cannot select the downloaded zip.

I tried to upgrade TWRP to 3.7.0, by booting into fastboot mode. Doing that resulted in my device showing the message "press any key to shut down".

How can i upgrade my TWRP? Is there any other chance to mount my data and flash LOS 20.1?

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.