[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

Alin45

Senior Member
Oct 7, 2020
587
166
Bucharest
Version numbering is getting really confusing: after downloading this v3.5.1_10-2, I had to delete a v3.5.1_10-5 from 2021-02-18 so as not to mix which version is the latest.

Just noting this, thanks for your updates. 👍
Nah, old versions was 3.5.O the new ones are 3.5.1.....such a big difference, right? :)
 
  • Like
Reactions: pnin

pnin

Senior Member
Duh! You're right, I probably overlooked that digit change...

Edit: I suspected I wasn't dreaming this up, while looking at both files still present in the download dir of my device, I saw they're both named '3.5.0'... so I changed the later one to '3.5.1'.
 
Last edited:

Lollauser

Senior Member
Jan 17, 2011
127
30
Moto G
Xiaomi Mi 4C
Help please...
I can't make TWRP persistent, in any way
Surya 128 gb, just unlocked, stock rom 12.0.8
I succesfully flash twrp in fastboot, then reboot in twrp again (tried both by fastboot reboot recovery or by powering off in twrp and restarting with vol up+power, same result), first time it reboot succesfully in twrp, then i restart into miui, then power off and restart again in recovery...and always find the stock one has overwritten twrp
I don't understand where i'm wrong 🤯
 

Frenzi2012

Senior Member
Apr 25, 2015
512
129
Buenos Aires
Xiaomi Poco X3 NFC
Did you try fastboot boot recovery twrp file.img ? Not fastboot reboot
Help please...
I can't make TWRP persistent, in any way
Surya 128 gb, just unlocked, stock rom 12.0.8
I succesfully flash twrp in fastboot, then reboot in twrp again (tried both by fastboot reboot recovery or by powering off in twrp and restarting with vol up+power, same result), first time it reboot succesfully in twrp, then i restart into miui, then power off and restart again in recovery...and always find the stock one has overwritten twrp
I don't understand where i'm wrong 🤯
Did you try fastboot boot twrpfile.img ? Not fastboot reboot recovery
 
Last edited:
  • Like
Reactions: Lollauser

Lollauser

Senior Member
Jan 17, 2011
127
30
Moto G
Xiaomi Mi 4C
Did you try fastboot boot recovery twrp file.img ? Not fastboot reboot recovery
Thank you, but

*********> fastboot boot recovery twrp2.img
fastboot: error: cannot load 'recovery': No such file or directory


This is the output :(

EDIT:
ok, it seems that
fastboot boot namefile.img
did the trick
thank you for pointing me in the right direction, somehow ;)
 
Last edited:

Frenzi2012

Senior Member
Apr 25, 2015
512
129
Buenos Aires
Xiaomi Poco X3 NFC
Thank you, but

*********> fastboot boot recovery twrp2.img
fastboot: error: cannot load 'recovery': No such file or directory


This is the output :(

EDIT:
ok, it seems that
fastboot boot namefile.img
did the trick
thank you for pointing me in the right direction, somehow ;)
Yeah, you need to boot from de same file that you flashed before, because if restarting miui replace with stock recovery
 
  • Like
Reactions: Lollauser

Alin45

Senior Member
Oct 7, 2020
587
166
Bucharest
Help please...
I can't make TWRP persistent, in any way
Surya 128 gb, just unlocked, stock rom 12.0.8
I succesfully flash twrp in fastboot, then reboot in twrp again (tried both by fastboot reboot recovery or by powering off in twrp and restarting with vol up+power, same result), first time it reboot succesfully in twrp, then i restart into miui, then power off and restart again in recovery...and always find the stock one has overwritten twrp
I don't understand where i'm wrong 🤯
Under Advanced section u find "Prevent replacing TWRP"...it's for stock ROM only
 
  • Like
Reactions: Lollauser

pilu01

Member
Sep 21, 2010
29
0
3.5.1. 10.2. can't find it, could you give me a direct link?
Only 3.5.0. 10-5. there is a link.

Névtelen.jpg
 

bacitoto

Senior Member
May 30, 2013
310
69
Portugal
Xiaomi Poco X3 NFC
Working fine here :)

12.0.8.0 QJEUXM
Unlocked bootloader
Encrypted

1 Preparations
Removed screen lock pin and fingerprint
rebooted to fastboot
Booted the TWRP before flashing to make sure it was working fine
Code:
fastboot boot twrp-3.5.1_10-2-surya.img
After checking everything is fine, went back to fastboot

2 Time to flash
Code:
fastboot flash recovery twrp-3.5.1_10-2-surya.img
Code:
fastboot boot twrp-3.5.1_10-2-surya.img

3 Extras
Renamed Magisk-v22.apk to Magisk-v22.zip
Flashed Magisk-v22.zip with twrp
wipe cache+dalvik

Edit:
Magisk from v22.0 onwards is now installed via apk, or you can rename it to .zip
edit: more info here https://topjohnwu.github.io/Magisk/install.html
 
Last edited:

Alin45

Senior Member
Oct 7, 2020
587
166
Bucharest
So is there any way to replace stock recovery or do I have to fastboot boot into TWRP everytime?
 

m0han

Senior Member
Apr 30, 2012
5,113
2,127
- new version of TWRP 3.5.1_10-2 is here...
new version 3.5.2_10-0 seems to be out. many thanks to @brigudav

* Upgrade to version 3.5.2_10
* Magisk 22.1 update
* Improvement of the script for converting to rw
(added auto-cleaning of images after execution, disabled auto-reload and other edits)
* Added a script for disabling partition journaling (Advanced menu)
* Fixed the lack of internal memory after formatting Data
* Added the ability installing IMG images of logical partitions
* Added the system_ext section for MIUI on Android 11
and fixed the error output if it is absent on A10
* And other minor improvements and edits ...
 
  • Like
  • Sad
Reactions: pnin and lebigmac

shadowstep

Senior Moderator
Staff member
Jun 6, 2014
6,260
14,754
31
Ambala Cantt
OnePlus 9R
THREAD CLEANED

Just a friendly reminder that public accusations are considered off-topic for the thread. As per the Forum Rules:
12.3. Re-releasing other's works as your own is forbidden. The code that you release into the wild must have something beyond minor aesthetic changes that makes it better than the last. As this can be subjective, kang reports will be reviewed on a case by case basis. If you feel that your code has been kanged, please contact the Dev Relations team (listed below) if you cannot solve the issue amicably via PM. Please understand that you will be asked to provide evidence to substantiate your claim;

12.4. Developers can issue take down requests (by contacting the Dev Relations team) under the following circumstances:

- in-process builds start showing up on forums when the developer is not yet ready to release the work;
- cases in which another developer is too aggressively soliciting donations or misrepresenting the work (kanging);
- unofficial builds where an official build is already available;

Developers with questions, comments, complaints, or concerns about our rules (or anything!) should send a PM to our Dev Relations team (efrant or to a Moderator. We are here to help!

@lebigmac, as advised earlier, requesting you to kindly reach out to a member of the Developer Relations Team (DRT) via PM and share your complaint with necessary information. You can find the list of senior moderators and moderators who are part of that team here.

Regards,
shadowstep
Forum Moderator
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    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)