New updates are being added at the bottom of this story…….

A custom recovery is virtually an essential swiss knife for Android modders. Patch your boot image for achieving root access – check. Backup and restore entire system with data in case of emergency – why not? They are also useful for installing custom kernels or ROMs.

twrp
TWRP is the unanimous choice of custom recovery these days

Every OnePlus phone got official Team Win Recovery Project aka TWRP support in past, and we are thrilled to announce that we have passed the initial hurdles to create an unofficial version of TWRP for the OnePlus 7 Pro (codename: guacamole)!

The hints were dropped in our yesterday’s exclusive article about achieving root access on the Pro variant of OnePlus 7. PiunikaWeb teamed up with XDA senior member mauronofrio, who is the official TWRP maintainer of several phone, including the OnePlus 6T.

oneplus_6t_front_back
OnePlus 6T (codename: fajita)

Like the OnePlus 6/6T duos, the OnePlus 7 Pro comes with A/B partitioning on board. There is no separate /recovery partition, as the recovery ramdisk is fused with the boot image. Fortunately, TWRP is compatible with this scenario.

However, there is a catch!

OnePlus 7 Pro

Unlike older OnePlus phones, the current bootloader of the OnePlus 7 Pro doesn’t allow ‘fastboot boot’ (also known as tethered booting) command. The situation is same as Essential PH-1 as well some other phones where you can’t temporarily boot a kernel or recovery.

You will get something like the following (ignore the device interface iterator part; it is macOS specific bug):

oneplus_7_pro_fastboot_boot_error
Click/Tap to zoom

To tackle the situation, we need to follow the same route as Essential Phone (PH-1).

1. After unlocking the bootloader (refer to this article), check the current active slot and note down the value.

fastboot getvar current-slot

2. Switch the active slot. For example, if you are using slot a then the command should be:

fastboot --set-active=_b
oneplus_7_pro_slot_switching_fastboot
Click/Tap to zoom

3. Now you should flash the TWRP in the boot partition using this command:

fastboot flash boot twrp.img

4. Now reboot the device and it should reboot in TWRP.

fastboot reboot

5. Go in Reboot menu of the TWRP and restore the old active slot.
6. At this point, you should flash the TWRP installer (listed under the download section).

oneplus_7_pro_twrp_booted
TWRP booted on OnePlus 7 Pro (Click/Tap to zoom)

Download

TWRP 3.3.1-2 Unofficial by mauronofrio

TWRP 3.3.1-2 Unofficial Installer by mauronofrio

Due to the active development status, refer to the corresponding XDA thread for latest changes. The first post is being continuously updated with bugfix builds and links to the sources.

Most of the major functionalities are working, however data decryption is currently broken. We are working hard to fix it.

The current builds should be compatible with the following variants (please give us feedback in case of bugs):

  • GM1911: India
  • GM1917: Global/US Unlocked (?)
  • GM1913: EU
  • GM1915: T-Mobile (only after getting bootloader unlocked via the carrier)

You can now easily root your OnePlus 7 Pro by flashing the Magisk zip from TWRP to patch the stock boot image.

On the other hand, unlocking bootloader will immediately reduce the Widevine DRM level to L3 from L1. You can, however, regain the L1 status by relocking the bootloader.

onepls_7_pro_widevine_l3_bootloader_unlocked
Click/Tap to zoom

OnePlus fans, the floodgate is now open! Expect more after market developments soon!

Update 1 (May 27)

OnePlus is rolling out a new update for the OnePlus 7 Pro as per schedule, addressing some known bugs and bringing camera fixes. The bootloader has also also updated with ‘fastboot boot’ support.

oneplus_7_pro_bootloader_boot_xda

For further details and download links, see here.

Update 2 (June 3)

After a long testing period, the official TWRP for OnePlus 7 Pro is finally here. Everything should work, including data decryption and stock ROM flashing.

PiunikaWeb is a unique initiative that mainly focuses on investigative journalism. This means we do a lot of hard work to come up with news stories that are either ‘exclusive,’ ‘breaking,’ or ‘curated’ in nature. Perhaps that’s the reason our work has been picked by the likes of Forbes, Foxnews, Gizmodo, TechCrunch, Engadget, The Verge, Macrumors, and more. Do take a tour of our website to get a feel of our work. And if you like what we do, stay connected with us on Twitter (@PiunikaWeb) and other social media channels to receive timely updates on stories we publish.

Kingshuk De
896 Posts

I came from a mixed background of Statistics and Computer Science. My research domains included embedded computer systems, mobile computing and delay tolerant networks in post-disaster scenarios. Apart from tinkering with gadgets or building hackintosh, I like to hop on various subreddits and forums like MyDigitalLife and XDA.

Next article View Article

[April 10: Official acknowledgement for recommended videos bug] YouTube Library tab broken and sidebar missing, users say

This story is being continuously updated…. New updates are being added at the bottom….. Original story (from 2019) follows: Incoming are reports related to two separate YouTube-related issues. The...
Apr 10, 2020 0 Min Read