[RECOVERY][SHARED][SURYA/KARNA][3.5.2_10-0] TWRP for Xiaomi Poco X3 by brigudav [UNOFFICIAL]

Status
Not open for further replies.
Search This thread

jeryll

Senior Member
  • Dec 23, 2010
    808
    628
    Xiaomi Poco X3 NFC
    Redmi Note 10 Pro
    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.

    Code:
    #include <std_disclaimer.h>
    /*
    * Devs are 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 them for messing up your device, they will laugh at you.
    *
    */

    Features:
    - almost all classic TWRP features works (!)
    - including backup / restore (tested by @jeryll on decrypted storage, more about this here and here)
    - extra addons included
    - - install Magisk
    - - uninstall Magisk
    - - GooglePay fix
    - - SafetyNet fix
    - - conversion script to make your /system /vendor /product on super partition RW by @lebigmac (more info HERE)
    and more

    Bugs:
    - none known ATM

    Screenshots:
    Screenshot_2021-01-28-19-36-50.png Screenshot_2021-01-28-19-37-14.png Screenshot_2021-01-28-19-37-30.png Screenshot_2021-01-28-19-37-42.png Screenshot_2021-01-28-19-37-56.png

    Changelog - current version:

    ====================
    TWRP-3.5.2_10-0
    md5: a5d5647016b0e0deeec628d9869bcae4
    ====================
    * Update to version 3.5.2_10
    * Magisk update 22.1
    * Included original script v 1.28 for converting to RW from @lebigmac
    * Added a script for disabling partition journaling (Advanced menu)
    * Fixed missing internal memory after formatting Data
    * Added the ability to install IMG images of logical partitions
    * Added system_ext section for MIUI on Android 11
    and fixed the error output if it was absent on the A10
    * And other minor improvements and edits ...

    DOWNLOAD (also for older versions):

    or see attached files

    Changelog - older versions:


    ====================
    TWRP-3.5.1_10-2
    md5: 5ca7887a5870703220e1cbcbbfffb6be
    ====================
    * Returned the buttons to the reboot menu
    * Added a module for converting firmware to RW (Advanced menu) by @lebigmac
    * Adaptation for 11 android
    * Up Magisk-22.0
    * Set mount system in RW (if the partitions are converted to RW)
    * Update Ukrainian translation
    * Correction of minor bugs

    ====================
    TWRP-3.5.1_10-1
    md5: 2534ed3b41daf2093ab685c004bd65eb
    ====================
    * Added a module for converting firmware to RW (Advanced menu) by @lebigmac
    * Correction of minor bugs of the interface and translation
    * Adaptation for 11 android
    * And so on...

    ====================
    TWRP-3.5.1_10-0
    MD5:
    (zip file): dec44ae6a56b01f4ecce5132045e727c
    (img file): 702828ed3a75c8ffc2c4be61439bc449
    ====================
    * twrp release: 3.5.1_10
    * bash: add to TWRP
    * Strip strings containing '--' before conversion to XML comments.
    * Added support for flash image in both slots
    * New, missing and improved strings for Dutch and Spanish translation.
    * Fix ungrammatical sentence.
    * Fix unlocalised string.
    * ors: Implement 'twrp format data' to format the data partition
    * Fixed NO OS INSTALLED without encryption (mod)
    * Kernel update
    * Editing the interface and translations

    ====================
    TWRP-3.5.0_10-5 (2021-03-01)
    md5: b8ce7cdac35d308369d19bbdd25b5934
    ====================
    * Include common names for Magisk app in list of flashable zip files. (official)
    * partition: add support dm_use_original_path. (official)
    * partitionmanager: support delayed adopted storage mount. (official)
    * Include nano in TWRP by default. (official)
    * nano: Add File Manager option to edit selected file (official)
    -(Ability to edit text files)
    * Added Support for terminal from filemanager. (official)
    * tzdata: add to TWRP build automatically. (official)
    * cryptfs: add support for keymaster 2. (official)
    * android root: restore context for android system root (official)
    * Remove duplicate Update_System_Details() function calls (official)
    * fixup including magiskboot and resetprop (official)
    * Add support to change TWRP Folder (official)
    * bash: add to TWRP (test)
    * Introducing the function of preventing the replacement of TWRP with stock recovery in the source code (Advanced menu)
    * New patch AVB (if the system does not boot and only goes into fastboot mode)
    * Editing the interface and translations

    ====================
    TWRP-3.5.0_10-5 (2021-02-19) test version
    md5: 1497353827e39d9cd3c8c4c72cc50caa
    ====================
    * Include common names for Magisk app in list of flashable zip files. (official)
    * partition: add support dm_use_original_path. (official)
    * partitionmanager: support delayed adopted storage mount. (official)
    * Include nano in TWRP by default. (official)
    * Remove duplicate Update_System_Details() function calls. (test)
    * nano: Add File Manager option to edit selected file (official) - (Ability to edit text files)
    * Added Support for terminal from filemanager. (official)
    * tzdata: add to TWRP build automatically. (official)
    * cryptfs: add support for keymaster 2. (official)
    * android root: restore context for android system root (official)
    * Introducing the function of preventing the replacement of TWRP with stock recovery in the source code (Advanced menu)
    * New patch AVB (if the system does not boot and only goes into fastboot mode)
    * Editing the interface and translations

    ====================
    TWRP-3.5.0_10-4
    ====================
    * Updated Magisk 21.4
    * Fixed bug of mounting (unmounting) System
    * Added patch for mounting System and Product in RW (not supported at MIUI official)
    * Added the ability to install Magisk - *. Apk (for the future)
    * Change the interface of the top bar

    =====================
    TWRP-3.5.0_10-3
    =====================
    * Updated Magisk 21.3
    * Fixed file transfer error in explorer (test)
    * Added GooglePay patch fix
    * Added SafetyNet fix patch (Magisk module)
    * official fix "Thus resolve the 'No OS installed' warnings upon system reboot if only adb shell twrp actions were used on the device"

    =====================
    TWRP-3.5.0_10-2
    =====================
    * Fixed the ability to copy to internal memory after formatting Data
    * Fixed recovery of BT partition
    * Fixed ADB Sideload mode
    * Added backup of Internal memory and FW
    * Translation editing

    How to flash the TWRP:
    - via fastboot

    Code:
    fastboot flash recovery twrp-3.5.0_xx-x-surya.img
    Next reboot in TWRP manually or using a fastboot command.
    Code:
    fastboot boot twrp-3.5.0_xx-x-surya.img

    REMEMBER: it is important that from fastboot you directly reboot into TWRP recovery or the TWRP will be overwritten.

    - via custom recovery:

    Code:
    flash zip file (see attached file) in recovery
    Credits:
    - Thanks to TeamWin devs
    - Thanks to brigudav
    - Thanks to @lebigmac
     
    Last edited by a moderator:

    m0han

    Senior Member
    Apr 30, 2012
    4,377
    1,554
    ...Features:
    - almost all classic TWRP features works (!)....
    Not working:
    - TWRP screenshots can only be saved to external sdcard or usb-otg device
    Changelog:
    =====================
    TWRP-3.5.0_10-3
    =====================
    * Updated Magisk 21.3 (addon)
    * Fixed file transfer error in explorer (test)
    * Added GooglePay patch fix (addon)
    * Added SafetyNet fix patch (Magisk module)
    * official fix "Thus resolve the 'No OS installed' warnings upon system reboot if only adb shell twrp actions were used on the device"
    ....
    would you recommend this over orangefox recovery? and, have you switched to this?
     

    jeryll

    Senior Member
  • Dec 23, 2010
    808
    628
    Xiaomi Poco X3 NFC
    Redmi Note 10 Pro
    This TWRP is the most advanced, polished, constantly maintained recovery in TWRPs available for Poco X3 (that I tried), but it is still not as good as OFOX in terms of added extra features (like advanced file management, etc.)...

    I'm using it now and will for some time as I want to do more tests on encrypted/decrypted storage.

    Anyone who will choose to use this recovery will probably be only satisfied.
     

    m0han

    Senior Member
    Apr 30, 2012
    4,377
    1,554
    ...I want to do more tests on encrypted/decrypted storage....
    eager to read about your tests on encrypted storage, the reason being i've not been able to decrypt as yet. i'm on crDroid v7.2 of 21.Jan and i'd like to update to 27.Jan without losing data - and with decryption - but i haven't found a way - a simple way (if one exists, i.e.).
     

    m0han

    Senior Member
    Apr 30, 2012
    4,377
    1,554
    ....new update (TWRP-3.5.0_10-4).... md5: 44FD2547230E58196AC77296160CD723
    =====================
    TWRP-3.5.0_10-4
    ====================
    * Magisk updated 21.4
    * Fixed a bug with mounting (unmounting) System
    * Added a patch for mounting System and Product in RW (not supported at the MIUI office)
    * Added the ability to install Magisk - *.Apk (for the future)
    * Changing the interface of the top bar
     
    Last edited:

    [armitage]

    Senior Member
    Nov 26, 2010
    519
    459
    So let me get this straight.
    This twrp now actually supports making full nandroid backups and restores, just like on phones without dynamic partitions? Is there anything that has to be done differently, like making backups to and restoring from sd/external, or does it work on internal as well now? Is there still the "problem" of /vendor being unmountable? And what about wiping vs. formating when installing a new rom, any changes there?
    Apologies for all the questions, but this twrp update really seems like a huge deal for new phones, that I wasn't expecting to happen that quickly.
     

    jeryll

    Senior Member
  • Dec 23, 2010
    808
    628
    Xiaomi Poco X3 NFC
    Redmi Note 10 Pro
    So let me get this straight.
    This twrp now actually supports making full nandroid backups and restores, just like on phones without dynamic partitions? Is there anything that has to be done differently, like making backups to and restoring from sd/external, or does it work on internal as well now? Is there still the "problem" of /vendor being unmountable? And what about wiping vs. formating when installing a new rom, any changes there?
    Apologies for all the questions, but this twrp update really seems like a huge deal for new phones, that I wasn't expecting to happen that quickly.
    - in terms of backup restore abilities this TWRP at least can do what latest OFOX can do, while the rest of TWRPs available for Poco X3 NFC are unsuitable/not recommended to do that...
    - both recoveries (latest OFOX or this TWRP) using the "same engine" produce almost identical results, success or failures

    - TWRP devs are still probably (hopefully) working on how to extract and backup only the system partition from dynamic super partition, because this you can't do now in any recovery (AFAIK) for Poco X3

    - what you can do is to backup and restore the whole super partition, plus boot, dtbo, data partition... and depending on the encryption state of your internal storage... you can choose how to restore your backup:

    if you're using decrypted storage
    if you're using encrypted storage

    - I had high hopes when I found out that this specific TWRP recovery actually can do backup restore, but after a few days of testing I found that results are (unfortunately) the same as using latest OFOX backup restore

    - what I don't understand (can't figure it out) why while using decrypted storage you can't get always 100% identical restore while restoring super, boot, dtbo, data, metadata partition... sometimes it works, and the next day not - and what is sometimes failing to restore - is your PIN code Android protection (even if you provide the correct one, it will not accept it)
     

    [armitage]

    Senior Member
    Nov 26, 2010
    519
    459
    Hmm, ok. A bit disappointing, but still a nice step in the right direction. Thank you so much for your answer as well, I really appreciate it. As for the problems with restoring security challenge (pin etc.). I actually had that on older phones as well, when restoring different backups. Not always, but when it happened, I had to delete /data/system/locksettings.db from the recovery, after restoring and before booting.
     

    gawtham94

    Member
  • Nov 10, 2014
    29
    4
    oman
    Xiaomi Poco X3 NFC
    i am currently running miui global 12.0.8. will i be able to flash twrp to my phone after unlocking. can anybody guide me through what are the ext steps that i have to get twrp flashed to my poco x3 karna version please? if not can i be able to flash it after degrading my UI? and if so how can i degrade from my current version to base version ?
    Thanks
     
    Jul 20, 2013
    16
    4
    bogor
    bit.ly
    i am currently running miui global 12.0.8. will i be able to flash twrp to my phone after unlocking. can anybody guide me through what are the ext steps that i have to get twrp flashed to my poco x3 karna version please? if not can i be able to flash it after degrading my UI? and if so how can i degrade from my current version to base version ?
    Thanks
    i am already create video about this here
     
    Status
    Not open for further replies.

    Top Liked Posts

    • There are no posts matching your filters.
    • 24
      Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.

      Code:
      #include <std_disclaimer.h>
      /*
      * Devs are 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 them for messing up your device, they will laugh at you.
      *
      */

      Features:
      - almost all classic TWRP features works (!)
      - including backup / restore (tested by @jeryll on decrypted storage, more about this here and here)
      - extra addons included
      - - install Magisk
      - - uninstall Magisk
      - - GooglePay fix
      - - SafetyNet fix
      - - conversion script to make your /system /vendor /product on super partition RW by @lebigmac (more info HERE)
      and more

      Bugs:
      - none known ATM

      Screenshots:
      Screenshot_2021-01-28-19-36-50.png Screenshot_2021-01-28-19-37-14.png Screenshot_2021-01-28-19-37-30.png Screenshot_2021-01-28-19-37-42.png Screenshot_2021-01-28-19-37-56.png

      Changelog - current version:

      ====================
      TWRP-3.5.2_10-0
      md5: a5d5647016b0e0deeec628d9869bcae4
      ====================
      * Update to version 3.5.2_10
      * Magisk update 22.1
      * Included original script v 1.28 for converting to RW from @lebigmac
      * Added a script for disabling partition journaling (Advanced menu)
      * Fixed missing internal memory after formatting Data
      * Added the ability to install IMG images of logical partitions
      * Added system_ext section for MIUI on Android 11
      and fixed the error output if it was absent on the A10
      * And other minor improvements and edits ...

      DOWNLOAD (also for older versions):

      or see attached files

      Changelog - older versions:


      ====================
      TWRP-3.5.1_10-2
      md5: 5ca7887a5870703220e1cbcbbfffb6be
      ====================
      * Returned the buttons to the reboot menu
      * Added a module for converting firmware to RW (Advanced menu) by @lebigmac
      * Adaptation for 11 android
      * Up Magisk-22.0
      * Set mount system in RW (if the partitions are converted to RW)
      * Update Ukrainian translation
      * Correction of minor bugs

      ====================
      TWRP-3.5.1_10-1
      md5: 2534ed3b41daf2093ab685c004bd65eb
      ====================
      * Added a module for converting firmware to RW (Advanced menu) by @lebigmac
      * Correction of minor bugs of the interface and translation
      * Adaptation for 11 android
      * And so on...

      ====================
      TWRP-3.5.1_10-0
      MD5:
      (zip file): dec44ae6a56b01f4ecce5132045e727c
      (img file): 702828ed3a75c8ffc2c4be61439bc449
      ====================
      * twrp release: 3.5.1_10
      * bash: add to TWRP
      * Strip strings containing '--' before conversion to XML comments.
      * Added support for flash image in both slots
      * New, missing and improved strings for Dutch and Spanish translation.
      * Fix ungrammatical sentence.
      * Fix unlocalised string.
      * ors: Implement 'twrp format data' to format the data partition
      * Fixed NO OS INSTALLED without encryption (mod)
      * Kernel update
      * Editing the interface and translations

      ====================
      TWRP-3.5.0_10-5 (2021-03-01)
      md5: b8ce7cdac35d308369d19bbdd25b5934
      ====================
      * Include common names for Magisk app in list of flashable zip files. (official)
      * partition: add support dm_use_original_path. (official)
      * partitionmanager: support delayed adopted storage mount. (official)
      * Include nano in TWRP by default. (official)
      * nano: Add File Manager option to edit selected file (official)
      -(Ability to edit text files)
      * Added Support for terminal from filemanager. (official)
      * tzdata: add to TWRP build automatically. (official)
      * cryptfs: add support for keymaster 2. (official)
      * android root: restore context for android system root (official)
      * Remove duplicate Update_System_Details() function calls (official)
      * fixup including magiskboot and resetprop (official)
      * Add support to change TWRP Folder (official)
      * bash: add to TWRP (test)
      * Introducing the function of preventing the replacement of TWRP with stock recovery in the source code (Advanced menu)
      * New patch AVB (if the system does not boot and only goes into fastboot mode)
      * Editing the interface and translations

      ====================
      TWRP-3.5.0_10-5 (2021-02-19) test version
      md5: 1497353827e39d9cd3c8c4c72cc50caa
      ====================
      * Include common names for Magisk app in list of flashable zip files. (official)
      * partition: add support dm_use_original_path. (official)
      * partitionmanager: support delayed adopted storage mount. (official)
      * Include nano in TWRP by default. (official)
      * Remove duplicate Update_System_Details() function calls. (test)
      * nano: Add File Manager option to edit selected file (official) - (Ability to edit text files)
      * Added Support for terminal from filemanager. (official)
      * tzdata: add to TWRP build automatically. (official)
      * cryptfs: add support for keymaster 2. (official)
      * android root: restore context for android system root (official)
      * Introducing the function of preventing the replacement of TWRP with stock recovery in the source code (Advanced menu)
      * New patch AVB (if the system does not boot and only goes into fastboot mode)
      * Editing the interface and translations

      ====================
      TWRP-3.5.0_10-4
      ====================
      * Updated Magisk 21.4
      * Fixed bug of mounting (unmounting) System
      * Added patch for mounting System and Product in RW (not supported at MIUI official)
      * Added the ability to install Magisk - *. Apk (for the future)
      * Change the interface of the top bar

      =====================
      TWRP-3.5.0_10-3
      =====================
      * Updated Magisk 21.3
      * Fixed file transfer error in explorer (test)
      * Added GooglePay patch fix
      * Added SafetyNet fix patch (Magisk module)
      * official fix "Thus resolve the 'No OS installed' warnings upon system reboot if only adb shell twrp actions were used on the device"

      =====================
      TWRP-3.5.0_10-2
      =====================
      * Fixed the ability to copy to internal memory after formatting Data
      * Fixed recovery of BT partition
      * Fixed ADB Sideload mode
      * Added backup of Internal memory and FW
      * Translation editing

      How to flash the TWRP:
      - via fastboot

      Code:
      fastboot flash recovery twrp-3.5.0_xx-x-surya.img
      Next reboot in TWRP manually or using a fastboot command.
      Code:
      fastboot boot twrp-3.5.0_xx-x-surya.img

      REMEMBER: it is important that from fastboot you directly reboot into TWRP recovery or the TWRP will be overwritten.

      - via custom recovery:

      Code:
      flash zip file (see attached file) in recovery
      Credits:
      - Thanks to TeamWin devs
      - Thanks to brigudav
      - Thanks to @lebigmac
      6
      This TWRP is the most advanced, polished, constantly maintained recovery in TWRPs available for Poco X3 (that I tried), but it is still not as good as OFOX in terms of added extra features (like advanced file management, etc.)...

      I'm using it now and will for some time as I want to do more tests on encrypted/decrypted storage.

      Anyone who will choose to use this recovery will probably be only satisfied.
      5
      @jeryll

      I think there is a new version ?

      MOD EDIT: Link removed

      I just found this on Androidhost, All versions uploaded 2 days ago. Maybe it's belong to the same russian developer because both have same name.

      I HAD flashed and it's worked
      I will edit this when found any new changelog for this

      peace :cowboy:
      This is a test version. A lot has already been changed and corrected. The release is coming soon.
      5
      @brigudav @Abdullah.Csit @Master One
      please confirm: TWRP 3.5.0_10-5
      I'm getting "No OS installed! ..." warning while trying menu reboot -> system, of-course system is installed
      View attachment 5225967
      I and many others did not have such a problem. Check out this revised version. MOD EDIT: Link removed
      5
      So let me get this straight.
      This twrp now actually supports making full nandroid backups and restores, just like on phones without dynamic partitions? Is there anything that has to be done differently, like making backups to and restoring from sd/external, or does it work on internal as well now? Is there still the "problem" of /vendor being unmountable? And what about wiping vs. formating when installing a new rom, any changes there?
      Apologies for all the questions, but this twrp update really seems like a huge deal for new phones, that I wasn't expecting to happen that quickly.
      - in terms of backup restore abilities this TWRP at least can do what latest OFOX can do, while the rest of TWRPs available for Poco X3 NFC are unsuitable/not recommended to do that...
      - both recoveries (latest OFOX or this TWRP) using the "same engine" produce almost identical results, success or failures

      - TWRP devs are still probably (hopefully) working on how to extract and backup only the system partition from dynamic super partition, because this you can't do now in any recovery (AFAIK) for Poco X3

      - what you can do is to backup and restore the whole super partition, plus boot, dtbo, data partition... and depending on the encryption state of your internal storage... you can choose how to restore your backup:

      if you're using decrypted storage
      if you're using encrypted storage

      - I had high hopes when I found out that this specific TWRP recovery actually can do backup restore, but after a few days of testing I found that results are (unfortunately) the same as using latest OFOX backup restore

      - what I don't understand (can't figure it out) why while using decrypted storage you can't get always 100% identical restore while restoring super, boot, dtbo, data, metadata partition... sometimes it works, and the next day not - and what is sometimes failing to restore - is your PIN code Android protection (even if you provide the correct one, it will not accept it)
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone