• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[RECOVERY][grus] KudProject's Unofficial TWRP 3.5.2_9-1 [16-05-2021]

Search This thread

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    This is basically a tl;dr thread.
    I don't want to make a thread that everyone will lazy to read.

    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. It's a fully touch driven user interface; no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    Disclaimer
    Code:
    /*
    * Your warranty might not be void (thanks Xiaomi). However...
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this RECOVERY
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    Requirements
    • Xiaomi Mi 9 SE (of course)
    • Unlocked bootloader
    • Some knowledge on how to deal with your device... and patience.

    Flashing Instructions
    I assume you've done (very) basic steps on preparing to flash your device.
    1. Reboot device to bootloader. If device is powered off, press and hold Power + Volume Down button until tinkering Mi Bunny with "FASTBOOT" text appears.
    2. Optional: Flash stock vbmeta with the following command (attached if needed):
      Code:
      fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    3. Under same directory as TWRP image and ADB/Fastboot executables (if ever required), type this command:
      Code:
      fastboot flash recovery twrp-3.x.x-y-KudProject-grus.img
      Where x and y are version of TWRP you're going to flash.
    4. IMPORTANT: After flashing, immediately press and hold Power + Volume Up for about 10 seconds to reboot to recovery.
    5. Swipe the option to allow modifications. This will prevent stock ROM from replacing recovery, however be aware that you might need to reflash stock vbmeta with disabled verity after that to be able to boot stock ROM!

    Downloads
    Webserver | MEGA
    Old releases only: OSDN | AndroidFileHost

    Known Issues
    • /dev/null

    Special Thanks
    • Dees_Troy and everyone behind TWRP
    • Everyone on Mi 9 SE community

    Device Sources
    13
    Changelogs
    twrp-3.5.2_9-1-KudProject-grus
    • Merged TWRP source changes up to 25 April 2021 (UTC+8)
    • Updated kernel to MoeSyndrome kernel based on Android 10
    • Mount firmware partition as read-only
    • Added support for formatting Cust partition in GUI

    twrp-3.4.0-0-KudProject-grus
    • Merged TWRP source changes up to 22 June 2020 (UTC+8)
    • Supports decryption of userdata on Android 10-based MIUI and custom ROMs using Android 10 crypto blobs (might not be backwards compatible)
    • Restored system and vendor (non-image) backup support
    • Added support for backing up persist (and the image)
    • Build some blobs from source
    • Updated remaining blobs from V11.0.2.0.QFBEUXM
    • Updated prebuilt kernel to latest Pie

    twrp-3.3.1-3-grus-20190802
    • Switched to source-built kernel
    • Updated blobs from MIUI China developer 9.7.4
    • Added support for F2FS in kernel (tell me if decryption breaks on this file system though)
    • Added persist into fstab
    • Added vendor-side touch firmware
    • Get CPU temperature from proper thermal zone
    • Disabled vbmeta checks
    • Only allow image backups for system and vendor
    • Symlinked /system to /system_root/system for backward compatibility
    • Misc stuffs
    • TWRP and f2fs-tools upstream changes

    twrp-3.3.1-2-grus-20190609
    • Fixed wrong USB-OTG mount point

    twrp-3.3.1-1-grus-20190603
    • Updated prebuilt kernel and DTBO from MIUI China developer 9.5.30
    • Corrected vendor image flashing
    • Support for wiping /vendor
    • Support for flashing and backup up (as part of boot) DTBO
    • Defined TW_SCREEN_BLANK_ON_BOOT
    • (Properly) excluded TWRP app
    • Included private recovery configuration

    twrp-3.3.1-0-grus-20190531
    • Initial build.
    3
    Notes
    • Don't use fastboot boot to boot the recovery; it'll proceed to boot system instead using recovery's kernel. If this happens with your current kernel's boot image security patch being older than recovery one, you're basically busted as FBE keys are upgraded the time newer combination of system + vendor + boot image security patches are detected.
      If you're out of luck in this situation, the only way to resolve is to format data (just backup your data to somewhere safe before doing so).
    • If you flash disabled vbmeta, you can't flash stock MIUI zips until the original vbmeta is restored.
    3
    3.4.0-0 is now available. Changelog is on 2nd post and two latest links are no longer updated.

    Enjoy.
    3
    Thanks for the work! Great seeing you here after ZenFone 2 and Redmi Note 4. Hopefully a KudKernel will be in the works(if not already).
    Kinda off-topic, but well rebasing over CAF is a tough job...

    Sent from my Mi 9 SE using XDA Labs