Skip to content

CosmicDan-Android/device_xiaomi_beryllium

 
 

Repository files navigation

android_device_xiaomi_beryllium

For building TWRP for Xiaomi PocoPhone F1

Features

Works:

  • ADB
  • Decryption of /data
  • Screen brightness settings
  • Now UI is very smooth
  • 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/beryllium" name="PainKiller3/twrp_xiaomi_beryllium-new" remote="github" revision="android-9.0" />

Finally execute these:

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

To test it:

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

Contributors

Here

Thanks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 67.7%
  • Makefile 25.4%
  • C++ 5.0%
  • Shell 1.9%