[TWRP][3.6.1-11][instantnoodle]TWRP for OnePlus 8/8Pro ][OFFICIAL][BETA]

Search This thread

infected_

Recognized Developer
Jul 12, 2008
5,967
14,796
OnePlus 8
TWRP for OnePlus 8 and 8 Pro
h1641Xl - Imgur (1).jpg



TWRP is an open source, community project. TWRP development is done by a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel or on forums like xda-developers, and zulip-chat.

A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM".

Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no responsibility for any damage that may occur from installing or using TWRP.

Code:
#include

/*
*
* Yea, though I walk through the valleys of c++ and java, of the shadow of death on these forums,
* I will fear no evil and i will develop and code restless: for thou art with me and my keyboard;
* thy rod and thy staff they comfort me, and my mouse..
*
*/


A12 support is still a WIP, but most things are working, A12 is all new, keep that in mind.

WORKING:
Decryption
ADB Sideload
Format Data
Flashing zips (kernels and ROM's)
Backup/Restore
MTP is working
adb is working
vibration
stock firmware flashing
OTG

NOT WORKING
wip
A12

Download

:: SourceForge ::

::
AndroidFileHost ::



Instructions

Windows

Install oneplus usb driver, after disabling driver signature enforcement

Download and install platform tools, unzip and add the folder to Windows path,

"Settings > Advanced System Settings > Environment Variables > New"

Example -> http:///imgur.com/a/x8XOofQ

open command prompt, or powershell, and:

fastboot flash recovery_a twrpname.img
fastboot flash recovery_b twrpname.img

Linux

Download and add to path (.bashrc) platform-tools:

export PATH=$HOME"/platform-tools:$PATH"

dont forget udev rules if you're using ubuntu based distro:

https://github.com/M0Rf30/android-udev-rules

open a terminal and:

fastboot flash recovery_a twrpname.img
fastboot flash recovery_b twrpname.img

that's all.


Source Code:

https://github.com/infectedmushi/android_device_oneplus_instantnoodle-dev
https://github.com/infectedmushi/android_bootable_recovery
https://github.com/bigbiff/android_device_oneplus_instantnoodle
https://github.com/TeamWin/android_bootable_recovery
https://github.com/systemad/android_device_oneplus_instantnoodle

Credits:
@bigbiff
@Lossyx
@Captain_Throwback for original tree
@mauronofrio for original tree
TWRP team
 
Last edited:

infected_

Recognized Developer
Jul 12, 2008
5,967
14,796
OnePlus 8
HOW TO BACKUP && RESTORE ON TWRP CORRECTLY

Steps for backing up and restoring data in TWRP (Huge thanks to @BillGoss )

Remove any password/pin/pattern before doing this

Backup

In TWRP
  1. Backup: Select only the Data partition.
  2. Reboot System

Restore
In TWRP
If you skip this step you will not be able to successfully start the system after restoring data
  1. Wipe>Factory Reset
  2. Reboot System (this will rebuild the data partition)

    Back in TWRP
    1. Restore: Select the backup you want to restore
    2. Reboot system

    Note:
    1. At this point the phone will take longer than usual to boot - that's normal
    2. You will be presented with a blank screen or a toast message saying "com.android.phone keeps stopping."
      Tap "Close app", hold the Power button down to be presented with the option to (Lockdown), Power off, or Restart. Select Restart
    3. It may take a couple of restarts

If you want to backup and restore fingerprints too, follow the guide in the attached file

https://forum.xda-developers.com/t/...ect-8t-kebab-2021-09-04.4302449/post-85292199

thanks @BillGoss && @theincognito
 

Attachments

  • Backup data with FP.txt
    1.8 KB · Views: 468
  • fpbr.sh
    1.7 KB · Views: 205
Last edited:

infected_

Recognized Developer
Jul 12, 2008
5,967
14,796
OnePlus 8

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    @infected_ now that the kernel source of 12.1 is out, will there be A12 support finally 🙂?
    1. The A12 kernel source is incomplete (missing various things like touch panel driver and techpack)
    2. It doesn't work like that. The encryption/decryption algorithm in A12 has yet to be implemented correctly into any 3rd party recovery. And this is for all android devices running 12, not just op8 series.

    Update: As of last night, enough of the kernel source has now been released to start the oplusification of 8 series. However this still doesn't change anything regarding the encryption algo in A12 from being implemented in twrp.
    1
    They figured out A12 decryption for oneplus5/t. Maybe you can compare notes with that developer.
    Switching to fbev2 is not "figuring it out"
    1
    Oneplus 8/pro is a unique phone. Its the only encryption of its kind
    +1
  • 61
    TWRP for OnePlus 8 and 8 Pro
    h1641Xl - Imgur (1).jpg



    TWRP is an open source, community project. TWRP development is done by a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel or on forums like xda-developers, and zulip-chat.

    A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM".

    Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no responsibility for any damage that may occur from installing or using TWRP.

    Code:
    #include
    
    /*
    *
    * Yea, though I walk through the valleys of c++ and java, of the shadow of death on these forums,
    * I will fear no evil and i will develop and code restless: for thou art with me and my keyboard;
    * thy rod and thy staff they comfort me, and my mouse..
    *
    */


    A12 support is still a WIP, but most things are working, A12 is all new, keep that in mind.

    WORKING:
    Decryption
    ADB Sideload
    Format Data
    Flashing zips (kernels and ROM's)
    Backup/Restore
    MTP is working
    adb is working
    vibration
    stock firmware flashing
    OTG

    NOT WORKING
    wip
    A12

    Download

    :: SourceForge ::

    ::
    AndroidFileHost ::



    Instructions

    Windows

    Install oneplus usb driver, after disabling driver signature enforcement

    Download and install platform tools, unzip and add the folder to Windows path,

    "Settings > Advanced System Settings > Environment Variables > New"

    Example -> http:///imgur.com/a/x8XOofQ

    open command prompt, or powershell, and:

    fastboot flash recovery_a twrpname.img
    fastboot flash recovery_b twrpname.img

    Linux

    Download and add to path (.bashrc) platform-tools:

    export PATH=$HOME"/platform-tools:$PATH"

    dont forget udev rules if you're using ubuntu based distro:

    https://github.com/M0Rf30/android-udev-rules

    open a terminal and:

    fastboot flash recovery_a twrpname.img
    fastboot flash recovery_b twrpname.img

    that's all.


    Source Code:

    https://github.com/infectedmushi/android_device_oneplus_instantnoodle-dev
    https://github.com/infectedmushi/android_bootable_recovery
    https://github.com/bigbiff/android_device_oneplus_instantnoodle
    https://github.com/TeamWin/android_bootable_recovery
    https://github.com/systemad/android_device_oneplus_instantnoodle

    Credits:
    @bigbiff
    @Lossyx
    @Captain_Throwback for original tree
    @mauronofrio for original tree
    TWRP team
    23
    uploaded beta 6.

    changelog:

    * Add custom kernel for recovery
    * crypto: only set crypto state and type if not already set
    * crypto: only show FBE error if device is encrypted
    * digest: fix checking of digest on restore
    * fs_mgr: allow deleting merged snapshots
    * merges: allow user to perform snapshot merges in advanced menu
    * mtp: don't create storage device after format data
    * recovery: Allow kernel to read and write unlabeled files
    * repacker: add root overwrite warning


    regards.
    23
    uploaded beta 3. it's possible now to backup persist partition also.

    twrp-op8-3.6.0_11-infected-b3.img
    twrp-op8-3.6.0_11-infected-b3.zip

    * 0c94cd7 - fstab: it's now possible to backup persist partition.
    * b99d112 - module load: Try loading prior modules first
    * 5ab53dc - libresetprop: use the latest header
    * 60927bc - kernel_module_loader: Set a prop after completing
    * 3a95d18 - fscrypt v1: support legacy ioctl
    * 540c802 - build: add option to create recovery installer zip
    * 7284ace - vndk: remove exclusion in recovery
    * aa2f760 - update_engine: handle payload that contain xbl_lp5 partitions
    * f1db62e - libresetprop: update to magisk HEAD
    * b65b045 - soong: Add TARGET_LEGACY_HW_DISK_ENCRYPTION conditional

    regards.
    22
    uploaded beta 8.

    * sdcard: only bind mount sdcard after successful preparation of data
    * Add TW_QCOM_ATS_OFFSET flag to manually set time/date offset
    * System_Property_Get: Allow specifying multiple prop file paths
    * update RECOVERY_INSTALLER_PATH to proper path
    * fastbootd: Check for and run startup script if script exists
    * Adding TARGET_OTA_ASSERT_DEVICE flag for custom device asserts
    * theme: move TW_THEME_VERSION to variables.h
    * theme: clean up TW_THEME_VERSION shell command
    * prebuilt: update magiskboot to v24.1 stable

    regards.
    21
    back to business guys. feels good to be ok, in good health and back to XDA..

    i'll compile a new build even today.

    let's keep rolling again!!

    regards.