[Redmi Note 11 (spes/spesn)] NeoSDAP:
Well, I found this in a Telegram group (which I know I can't share the link) and when performing all possible tests, it works perfectly with my 4/128 spes.

And as we would all say, I am not responsible for any damage and loss of data caused to your device. I only share the information "as is" and the tests performed by myself on my personal device. Everything is at your own risk.

So, let's start with the post:

New Developer on this version:

@jabieff

Previous Developer

@dblenk9 - Telegram

2022/11/06 Update Changelog:

Synced latest TWRP 12.1 source

Fixed Android 13 ROM flashing issue (source side)

Changelog in the previous version by @dblenk9

Sync with latest TWRP

Update kernel to MIUI V13.0.4.0.SGCMIXM

Update blobs to MIUI V13.0.4.0.SGCMIXM

MTP fixed

Decrypt works

Features I tried and didn't have any problems

Flashing and decrypt data from A13 ROMs

Flashing and decrypt data from A12.1(A12L) ROMs

Flashing and decrypt data from MIUI-based ROMs (custom and Stock) with A12

Flashing Magisk

MTP fully functional

ADB sideload

Install recovery ramdisk and "Flash current TWRP" from Advanced menu

DO NOT USE WITH ANDROID 11 ROMS!!!

Bugs I've found so far

If you perform a format data, the internal memory will not be recognized in MTP mode of TWRP, which will not be displayed in Windows file explorer

SOLUTION: Boot into the OS at least once so that the internal memory is rebuilt and made available again in MTP mode

Sometimes, when checking the option "Automatically reflash TWRP after installing the ROM", it does nothing when it finishes installing the ROM

SOLUTION: The option seems to be somewhat bugged, so before restarting always reinstall TWRP with the methods that I will explain below

When flashing some ROMs, "Failed to mount *partition*" errors come out when you finish installing

SOLUTION: In some ROMs you may get errors when mounting some partitions, commonly "system_ext", "product" and "vendor".

If the installation process ended without any problem and without showing any error code, that's fine, you can restart without problems, This bug has been in all unofficial TWRP for this device

Steps to install

Make sure you have the bootloader unlocked before you start. There are many guides on the internet for that.

Tutorial for Windows only because zero knowledge for Mac and Linux

From PC:

Download the latest platform-tools from the Android developer site and extract the zip in an easily accessible folder

Download the TWRP image file from here, or from the post attachments

SHA256: 8F25AC88628E6D7BC5E29D8572CF4ACA3499B7D626685654B3C4548323B8D591

Restart your device to fastboot mode

Method 1:

Using this adb command if you have USB debugging active on your device

adb reboot bootloader

Method 2:

- Turn off your device

- After it has completely turned off, press and hold Vol - and the Power button at the same time until the word "FASTBOOT" with orange letters comes out

Method 3:

- Turn off yout device

- Press and hold Vol - button

- Connect the USB cable (previously connected to the PC) to the device and press and hold the button until the word "FASTBOOT" with orange letters comes out

Connect your device to the PC

Open a cmd window in the folder where you extracted the binaries from the zip from step 1

Easy method: Open the folder, and without leaving it, type "cmd" in the address bar of the file explorer and press enter. Command promt will open a window directly in the folder location

Verify that your device is recognized by fastboot using this command

fastboot devices

If your device has been detected (a serial number followed by the word fastboot), you can continue. Otherwise, check if the drivers are installed correctly, although if you used Mi Unlock and were able to unlock the device correctly on the PC you are using, you should not have problems with that.

- Because this device uses A/B partitions, there is no recovery partition as such, but it is integrated into the "boot" partition. So, first we must boot using the TWRP image.

Type this command in the cmd window, but don't press Enter yet, just type it and leave a space at the end

fastboot boot_
Don't write the "_". This only indicates the space you should leave at the end.
This is how it should look when you write it:

fastboot boot

Now, drag the image file (twrp-3.7.0.img) to the command window and drop it above the window. This will make you copy your exact location for convenience.

- The result should be this:

fastboot boot "C:\location\to\your\file\twrp-3.7.0.img"

Quotation marks are only added if the entire location has spaces.
Otherwise, it is displayed without quotation marks.

Press Enter and wait a few seconds. The MI logo will come out, and then the TWRP logo.

DONE! You've started perfectly in TWRP

From the device

NOTE: Only use these steps if you want to have TWRP installed semi-permanently

I said "semi-permanent" because when flashing any ROM, and knowing that the "recovery" is integrated into the "boot" partition, it will be lost after leaving TWRP, so you can follow these steps if you want to avoid loss of TWRP.

If you have easy access to a PC, you can be fine with the boot method. If you don't have easy access to a PC, you can follow these steps.

Method 1

While in the TWRP menu, tap the Advanced button

Now tap on the option "Flash current TWRP"

"Swipe to confirm" and the TWRP installation process will begin

Method 2

While in the TWRP menu, tap the Advanced button

Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default

You can use a USB OTG too

Now tap on the option "Install recovery ramdisk"

Now locate the file and tap on it.

You can use the "Select storage" button to switch between different storages

"Swipe to confirm" and the TWRP installation process will begin

Method 3

While in the TWRP menu, tap the Install button

Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default.

You can use a USB OTG too

Tap on the option "Install image"

Now locate the file and tap on it.

You can use the "Select storage" button to switch between different storage

In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"

Remember that with the three methods mentioned above you will lose root access (Magisk), so do not forget to flash it again. These steps are also valid to update TWRP if you already had it previously installed.

Conclusion

I did everything I could but I couldn't find the source code for this TWRP, so I'm sorry for that.