oneplusx13 / android_device_oneplus_hotdogb

TWRP tree for OnePlus 7T/Pro (Hotdog/hotdogb)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Decryption is working for custom ROMs with OOS blobs, both for ROMs with sdcardfs and fbev2 (see fbev2 branch).

Setup repo tool

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

Compile

Sync aosp_r29 manifest:

repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-11

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>

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 - OOS10, OOS11, and custom A10+A11 ROMs. FBEv2 is supported as well, check fbev2 branch.
  • Backup to internal/microSD
  • Restore from internal/microSD
  • 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/)
Credits
  • CaptainThrowback for original trees.
  • mauronofrio for original trees.
  • TWRP Team.

About

TWRP tree for OnePlus 7T/Pro (Hotdog/hotdogb)


Languages

Language:Makefile 89.1%Language:Shell 10.9%