19

Redmi Note 11 (spes/spesn)

 1 year ago
source link: https://forum.xda-developers.com/t/shared-unofficial-a12-a13-twrp-3-7-0-for-redmi-note-11-spes-spesn.4507819/page-2#post-88290043
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Top Liked Posts

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:

  1. Download the latest platform-tools from the Android developer site and extract the zip in an easily accessible folder
  2. Download the TWRP image file from here, or from the post attachments
    SHA256: 8F25AC88628E6D7BC5E29D8572CF4ACA3499B7D626685654B3C4548323B8D591
  3. Restart your device to fastboot mode
    Method 1:
    Using this adb command if you have USB debugging active on your device
    Code:
    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
  4. Connect your device to the PC
  5. 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
  6. Verify that your device is recognized by fastboot using this command
    Code:
    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.
  7. Type this command in the cmd window, but don't press Enter yet, just type it and leave a space at the end
    Code:
    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
  8. 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:
  9. Code:
    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.
  10. 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

  1. While in the TWRP menu, tap the Advanced button
  2. Now tap on the option "Flash current TWRP"
  3. "Swipe to confirm" and the TWRP installation process will begin

Method 2

  1. While in the TWRP menu, tap the Advanced button
  2. 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
  3. Now tap on the option "Install recovery ramdisk"
  4. Now locate the file and tap on it.
    You can use the "Select storage" button to switch between different storages
  5. "Swipe to confirm" and the TWRP installation process will begin

Method 3

  1. While in the TWRP menu, tap the Install button
  2. 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
  3. Tap on the option "Install image"
  4. Now locate the file and tap on it.
    You can use the "Select storage" button to switch between different storage
  5. 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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK