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: corsicanu

Code Name: d2s

Device Tree / files

Support thread on xda-developers

This device uses system-as-root in an A-only partition configuration.

If you intend to root your (d2s) device, be advised that Magisk will be installed to the recovery partition, not the usual boot partition. Both TWRP and Magisk-rooted Android boot using the recovery kernel, with the device's hardware keys used to choose between TWRP and Android at boot time.

You are therefore strongly advised to first root your device with Magisk and then pre-root a TWRP image before flashing it to recovery. The usual path of installing TWRP prior to rooting is problematic on this device, because the Magisk installer does not support installation to recovery from TWRP. Furthermore, prior rooting of the device with Magisk carries the significant advantage of disabling various device protection mechanisms that you will otherwise need to take care of manually.

If you wish to install TWRP without rooting, there are numerous pitfalls to consider. For example, a stock device is protected by Android Verified Boot. This is implemented as a vbmeta partition that contains cryptographic digests for verifying the integrity of boot.img, recovery.img and other partitions/images. Flashing TWRP without first flashing a vbmeta image with verity disabled will render your device unable to boot.

Please bear all of the above in mind when considering the installation methods listed below, and refer to the device's TWRP support thread on XDA for detailed information about installation and the associated hazards. Details of the firmware version(s) with which the current TWRP image's kernel is compatible can be found in the TWRP changelog for this device.

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 (d2s) 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.

Odin Install Method (No Root Required):

You will need to download and install Odin on your PC. Once you have Odin installed, download the proper .tar file for your device from the download link above. Power off your device. Turn on your device using the proper key combo to get into download mode and attach the device to your computer via a USB cable. Use the PDA tab or button to browse to and select the tar file that you downloaded and flash the device.

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/13d60000.ufs/by-name/recovery

Changelog:

  • corsicanu
    2023-02-05T00:12:46Z
    tree: bump for 2023-01-01 Change-Id: Ie544f374529bf814822b34d9d246dda5fdc0d59a

  • corsicanu
    2022-11-09T12:50:44Z
    tree: bump for 2022-10-01 Change-Id: Ieac58c2e8550b6f2a06df651766b94166c6ff07c

  • corsicanu
    2022-08-04T08:30:57Z
    BoardConfig: enable LZMA_RAMDISK_TARGETS for recovery - this should fix non-bootable Magisk patched recovery Change-Id: Ifd3dfaa66230cf172f8564ca546102cd69a8ace7

  • corsicanu
    2022-07-21T10:56:59Z
    BoardConfig: bump for 2022-07-01 Change-Id: I9d8a5daf772002f58f8b10b3ceb5d3584ddad3db

  • corsicanu
    2022-05-20T11:39:36Z
    tree: bump for may release Change-Id: I4d1bb86532aaf76007222bb93c760c908404ffd8