Disclaimer:

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.

Status:

Support Status: Current

Maintainer: dianlujitao

Code Name: oneplus3

Device Tree / files

Support thread on xda-developers

This device uses dm-verity!

This means that swiping to allow system modifications will prevent you from being able to boot if you are using the stock kernel. In order to bypass dm-verity's boot prevention, you will have to install a kernel that has dm-verity disabled in the fstab.

App Install Method (Requires Root):

Download the Official TWRP App (root required):

Install the app and open it. Agree to the Terms. Select TWRP Flash. Select your device from the device list (oneplus3) and choose a version. The file will download to your Downloads folder. Browse to and select the file. Tap on Flash to Recovery. Find out more about the app here.

Download Links:

Current and past versions of TWRP can be found at one of the mirrors below:

TWRP Install (Requires TWRP 2.8.4 or higher already installed):

Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.

Fastboot Install Method (No Root Required):

You will need the platform-tools from the Android SDK on your computer. Download the platform-tools as per your operating system.

Windows users will need proper drivers installed on their computer. You can try the simple FWUL adb/fastboot ISO or the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed

On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:

adb reboot bootloader

You should now be in fastboot mode.

Your device needs to be unlocked before it can flash custom images. To unlock your device type:

fastboot oem unlock

Download the correct image file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:

fastboot flash recovery twrp.img

fastboot reboot

Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.

dd Install Method (Requires Root):

Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:

su

dd if=/sdcard/twrp.img of=/dev/block/platform/soc/624000.ufshc/by-name/recovery

Changelog:

  • dianlujitao
    2019-04-16T09:49:38Z
    op3: Advertise EDL mode Change-Id: I701407ead4b09d48b6245a506c0b8eed0da4f5c0

  • dianlujitao
    2019-04-16T03:06:32Z
    op3: Update prebuilt kernel * Based on LA.UM.7.5.r1-04300-8x96.0 * HEAD: LineageOS/android_kernel_oneplus_msm8996@4a6738221330474fb9c14d2f69daec4661f5e95f Change-Id: Ib39dd4bb04155dd9a317e99693a391635a9eb99e

  • dianlujitao
    2019-03-29T03:06:52Z
    op3: Update QSEE stack from OOS 9.0 Change-Id: Icf36729919bc7e579053d8d7748126cfc4e00e76

  • dianlujitao
    2019-03-28T06:06:19Z
    op3: Sign image with AOSP verity key * This allows booting TWRP with bootloader locked * OnePlus happens to use the same key to sign their own images and bootloader, so as a bonus there's even no 5s warning on boot. Change-Id: Icffbd4122af86a52a42a91f04998ec506f44661f

  • dianlujitao
    2019-03-23T08:17:36Z
    op3: Fix HW FDE when building with Pie tree * ro.board.platform is no longer part of recovery ramdisk on Pie, thus hw_get_module_by_class would fail to find the keystore module and HW FDE is broken. * To address the issue, use a property to specify the HAL class to make the HAL picked by libhardware. Change-Id: I2b09a06be34ca66a400e98fce8714226ae5f3d10