Coder Social home page Coder Social logo

android_device_oneplus_hotdog's Introduction

Device Tree for OnePlus 7T Pro aka Hotdog for TWRP (this should be unified with 7T, but I cannot test since I do not own that device)

Disclaimer - Unofficial TWRP!

These are personal test builds of mine. In no way do I hold responsibility if it/you messes up your device. Proceed at your own risk.

Note

2021-04-27: Initial build which boots on OOS11 for 7T / Pro. Decryption on OOS11 does not work. Might work on custom that uses OOS11 blobs.

Setup repo tool

Setup repo tool from here https://source.android.com/setup/develop#installing-repo

Compile

Sync aosp_r29 manifest:

repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r29

Make a directory named local_manifest under .repo, and create a new manifest file, for example hotdog.xml and then paste the following

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="github"
	fetch="https://github.com/" />

<project path="device/oneplus/hotdog"
	name="systemad/android_device_oneplus_hotdog"
	remote="github"
	revision="android-11" />
</manifest>

Use https://del.dog/a11-twrp-extras.txt is same directory as well. You might need to pick few patches from gerrit.twrp.me to get some stuff working.

Sync the sources with

repo sync

To build, execute these commands in order

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

To test it:

# To temporarily boot it
fastboot boot out/target/product/hotdog/recovery.img 

# Since 7T / Pro has a dedicated recovery partition, you can flash the recovery with
fastboot flash recovery recovery.img

Working

  • Flashing ROMs (AOSP and OOS)
  • ADB (+ sideload)
  • all important partitions listed in mount/backup lists
  • MTP export
  • decrypt /data - Only working for Custom A10 and A11 ROMs using OOS10 blobs
  • Backup to internal/microSD - Not working
  • Restore from internal/microSD - Not working
  • F2FS/EXT4 Support, exFAT/NTFS where supported
  • backup/restore to/from external (USB-OTG) storage
  • update.zip sideload
  • backup/restore to/from adb (https://gerrit.omnirom.org/#/c/15943/)

Not working - OxygenOS specific

  • Decryption and probably everything that requires it
Credits
  • CaptainThrowback for original trees.
  • mauronofrio for original trees.
  • TWRP team and everyone involved for their amazing work.

android_device_oneplus_hotdog's People

Contributors

yzbruh 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.