[RECOVERY] - [UNOFFICIAL] TWRP gauguin - Dhollmen

Search This thread

tuxafgmur

Inactive Recognized Developer
Feb 10, 2013
1,097
3,246
Spain
I seem to be unable to decrypt Miui v13.0.12 when the recovery is installed.
If I boot the recovery from fastboot using "fastboot boot recovery.img" it works fine and I can decrypt, but not when I'm "unthetered"
any idea what might be causing this?
I fully reinmaged the phone using the fastboot rom so I know it should be good as new....

TWRP releases behave the same when booted via "fastboot boot" command as they do when booted directly from recovery partition.
I don't know what your issue could be, but maybe you could try an older version.
 

tuxafgmur

Inactive Recognized Developer
Feb 10, 2013
1,097
3,246
Spain
  • Love
Reactions: zizouli

tuxafgmur

Inactive Recognized Developer
Feb 10, 2013
1,097
3,246
Spain
It seems that my phone has been resurrected by installing successive Roms from Xiaomi Stock.

If survives the beating I'm giving it, I may possibly be able to continue working tonight.

As soon as I have the package, I'll upload it.
 
  • Like
Reactions: ad927vn

Chicho1000000

New member
Mar 28, 2023
4
4
Thanks tuxafgmur, and good luck with this new recovery, I'm waiting for the new update of your TWRP because I updated to Miui 14 without checking the consecuences (and forums) ... by the way the rom works flawlessly but I can't flash Magisk from the 3.7.0.4G TWRP (data crypted)
 

tuxafgmur

Inactive Recognized Developer
Feb 10, 2013
1,097
3,246
Spain
Thanks tuxafgmur, and good luck with this new recovery, I'm waiting for the new update of your TWRP because I updated to Miui 14 without checking the consecuences (and forums) ... by the way the rom works flawlessly but I can't flash Magisk from the 3.7.0.4G TWRP (data crypted)

Unzipping the TWRP installation .zip file and putting the phone into fastboot mode you can run:
fastboot boot recovery.img
That way you boot from the TWRP image on your PC, not from the phone's recovery partition.

Surely it will work fine and you'll see your data decrypted.

I don't know if you'll be able to install Magisk like this (guess there will be no problems).
 
  • Like
Reactions: ad927vn

Chicho1000000

New member
Mar 28, 2023
4
4
Unzipping the TWRP installation .zip file and putting the phone into fastboot mode you can run:
fastboot boot recovery.img
That way you boot from the TWRP image on your PC, not from the phone's recovery partition.

Surely it will work fine and you'll see your data decrypted.

I don't know if you'll be able to install Magisk like this (guess there will be no problems).
Sorry for ythe expression but you are the fu**ing master!. Thanks one more time for it. It worked as you stated, Magik installed and everything running smoothly.👏👏
👏👏👏
 
  • Like
Reactions: ad927vn

egor27

Senior Member
Mar 19, 2013
150
29
BTW this update is hybrid, it can be updated via fastboot, as it was in the first miui13 updates OR via TWRP.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    The data partition cannot be mounted. Any solution?

    I have spent endless hours looking for the problem. have tried and tested all the code and everything I could think of, but so far, the result has always been the same:
    If you boot via fastboot it works correctly.​
    If you boot from recovery partition, it doesn't decrypt.​

    Regarding xiaomi.eu, there is no problem to install the rom, by ota or by zip, but to decrypt /data, for the moment, it is necessary to boot via fastboot.

    I have a new release available, but as it has the same behavior as the previous one, I will not update it.

    Due to time constraints, I can't continue researching intensively, but if I finally find the solution, I will upload it immediately.

    For now, the only known workaround is to boot the image via fastboot.

    Regards.
    2
    Yes, that's what I mean. It has always worked fine.

    What exactly is the Rom & version installed on your phone?
    TWRP : 3.7.0.4G_gauguin
    Android 13 TQ2A.230305.008
    ROM ArrowOS 13.1
    2
    Always using Xiaomi Roms as reference, since I use xiaomi.eu (14.0.2.0.SJSCNXM):

    Until latest Miui 13, I've had to adjust the recovery on every update.
    But now with Miui 14, I can't manage to decrypt /data when Twrp is installed.
    I know what happens, but I still don't know why it is happening or how to fix it.

    However, starting Twrp from fastboot works correctly, both the current release (4G) and the updated one I'm using.

    In case of a non-Xiaomi Rom (so I asked which one is using @itbartosz) have looked the rom's device/tree and don't find a reason that prevents it from decrypt when booting from fastboot.

    Have very little time available but I continue trying to get it to work.


    NOTE: Exactly "user 0 success decrypt data with default password" means the screen lock is disabled.
    When the screen lock is enabled, you need your password to access the decryption key.
    1
    In my case even this method does not work.

    CoffeeScript:
    P:\tel\ADB_FastBoot⯈adb reboot bootloader
    * daemon not running; starting now at tcp:5037
    * daemon started successfully
    
    P:\tel\ADB_FastBoot⯈fastboot boot Twrp_3.7.0.4G_gauguin_Miui_Dhollmen.img
    Sending 'boot.img' (131072 KB)                     OKAY [  2.970s]
    Booting                                            OKAY [  0.139s]
    Finished. Total time: 3.307s
    
    P:\tel\ADB_FastBoot⯈fastboot boot Twrp_3.7.0.3F_gauguin_Not-Miui_Dhollmen.img
    Sending 'boot.img' (131072 KB)                     OKAY [  2.973s]
    Booting                                            OKAY [  0.140s]
    Finished. Total time: 3.236s

    I have the same problem. 🤝

    I was on a [ROM Stock version GLobal EEA 13.0.12.0.SJSEUXM] (Android 12), and I flashed a ROM [lineage-19.1-20230416-microG-gauguin.zip] (Android 12).

    And as the note states: "[...] I concluded that custom roms (without Miui) are unable to decrypt /data with this recovery [...] Can't tested by myself [...]",

    I tested the version [Twrp_3.7.0.3F_gauguin_Not-Miui_Dhollmen.img], which does not decrypt /data/data/.
    In desperation, I still tried [Twrp_3.7.0.4G_gauguin_Miui_Dhollmen.img] but it didn't work any better. :(

    The official TWRP is not even worth mentioning. And I don't have any other TWRP as advanced as Dhollmen to hope for better results.

    I'm still searching... :unsure:

    In any case, thank you very much for the time and effort you put into this TWRP @tuxafgmur (y)


    EDIT : I went back to Stock ROM version Global EEA 13.0.12.0.SJSEUXM (Android 12) and Twrp_3.7.0.4G_gauguin_Miui_Dhollmen.img perfectly decrypted the data with a message that I don't quite remember, something like user 0 success decrypt data with default password
  • 18
    Disclaimer:

    The use and installation of this software product is at the exclusive responsibility of the user.​
    I am not responsible for any damage that may occur to your device resulting from the use of this software.​
    This software product is "as is". Its first goal is to allow the xiaomi.eu Rom be installed via recovery.​
    If you have any doubts regarding the above lines, you should not use or install it.

    Recovery:

    Unofficial release 3.7.0 for Xiaomi Mi 10T Lite and Redmi Note 9 Pro 5G devices.
    Status : Stable
    Version : 3.7.0.4G
    Release Date : 2022.12.26
    Features:
    Android 12 decryption​
    Android 13 decryption (Not tested by myself)​
    Flashing​
    Adb​
    Otg (Not tested by myself)​
    Mtp​
    Backup / Restore to / from microSD​
    Backup / Restore through adb​
    Sideload​
    Device boot Logo changer​
    Magisk tools and theme from @ Brigudav (Not tested by myself)​

    Notes:
    I concluded that custom roms (without Miui) are unable to decrypt /data with this recovery.
    Checking LineageOS and ArrowOS, it seems that they use a different encryption mode than Miui.
    I haven't found how to check on Twrp booting what encryption mode /data uses and adjust to it.
    Therefore, I have uploaded another release for non Miui devices.
    Can't tested by myself, I don't know if it decrypts fine.
    However, it is likely the Miui variant will work correctly on the rest.

    About official TWRP:
    The current official release https://twrp.me/xiaomi/xiaomimi10i.html does not work anymore since Miui 13. Use instead this TWRP.​

    Twrp not decryping on miui 14: Please, read this post


    Downloads:




    Installation:

    Updating this Twrp release:
    Downloaded to phone:
    Click on Install and locate the .zip file.
    Downloaded to PC (no need to copy it to the phone):
    On phone:
    start install via ADB (sideload).
    On PC execute:
    adb sideload file_name.zip

    Try without installing: (does not alter the phone unless you want to do)
    Extract recovery.img from .zip file downloaded
    Enter fastboot mode.
    Execute:
    fastboot boot recovery.img

    Installing this for the first time:

    Your bootloader must be open.
    Extract recovery.img from downloaded .zip file.
    Enter fastboot mode
    Execute:
    fastboot flash recovery recovery.img
    Credits:
    5
    New release 3.6.2.1B uploaded

    In addition to some other minor changes,
    fixed decryption on xiaomi.eu weekly.
    5
    New release 3.6.2.1C uploaded

    Format: Zip file to install from TWRP.

    Some reviews.

    Since xiaomi.eu rom replaces boot Logo on global devices, showing "Redmi"
    this release includes options to switch logo between "MI" and "Redmi".

    Each has two versions to choose from:

    1 - Factory stock.
    2 - Like stock but hiding the padlock shown when bootloader is open.
    4
    New release available.

    Twrp 3.6.2.2D - 2022.10.03

    Solved xiaomi.eu last stable release 13.0.10.0 issue.
    Including Chinese and Japanese languages.
    Removed some useless directories.
    Some minor adjustments.