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

Code Name: lahaina

Device Tree / files

This device uses Android Verified Boot (AVB)

This means that installing TWRP or swiping to allow system modifications will prevent you from being able to boot. To bypass AVB's boot prevention, you will have to disable it or install a custom ROM that ships with disabled AVB.

To disable AVB via fastboot, grab the vbmeta image from the ROM you are on, and flash it with the following command:

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

AVB should be now disabled on your device.

This device uses Dynamic Partitions

This means that TWRP will not allow modifications to any of the partitions that make up the Super partition on the stock ROM. All backups and restores will include the full Super partition rather than the individual dynamic partitions.

In order to flash the individual partitions, you will have to boot into fastbootd.

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.

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.

Changelog:

  • snnbyyds
    2023-11-26T07:04:55Z
    lahaina: Update kernel link https://github.com/QRD-Development/android_kernel_qcom_sm8350

  • snnbyyds
    2023-11-18T07:55:41Z
    lahaina: Move to device/qcom/lahaina Signed-off-by: snnbyyds

  • snnbyyds
    2023-10-06T12:36:11Z
    lahaina: Support backing up and flashing ABL On Qualcomm Reference Devices(QRD), Secure Boot is disabled, so we can flash our custom abl Change-Id: Id5a5f3d99b92073605c61adb9063af3bd6bfae57 Signed-off-by: snnbyyds

  • snnbyyds
    2023-10-06T12:41:06Z
    lahaina: Add support for wiping more partitions boot, vendor_boot, dtbo, vbmeta and vbmeta_system Change-Id: Ife2f68c05bfa3534099cc83b2d5897d081bb155e Signed-off-by: snnbyyds

  • snnbyyds
    2023-10-06T12:43:11Z
    Revert "lahaina: prebuilt: Add depmod" This reverts commit 6d2cdd21a120a9939a1199387bd57bba320df135. Change-Id: I20851860d28d5ed0405a7f643a3b25cbec9b0a7d