Twrp Recovery


ok...seems tha the fastboot was intalled correctly now. Try to reboot in twrp using volume up and power button....the phone seems to reboot cyclically
 
So I had a weird TWRP installation. I installed the houji 3.7.1 variant on X14. And it worked without issues. Then I tried installing Xiaomi.eu. I got in but the install seemed off. Some things were not right I still had Chinese apps. Like the phone just reset the original OS partially. So I reinstalled TWRP just to be sure everything was alright. (Exact same img) this time TWRP couldn't decrypt. There was no lock set in the OS. So to get xiaomi.eu on it again to used the script with fastboot included in the zip. This time Xiaomi.eu worked like a charm. No issues. Expect that I still have the TWRP decrypt problem...
(Of course I formatted twice during this process).

Any ideas what went wrong?
 
So I had a weird TWRP installation. I installed the houji 3.7.1 variant on X14. And it worked without issues. Then I tried installing Xiaomi.eu. I got in but the install seemed off. Some things were not right I still had Chinese apps. Like the phone just reset the original OS partially. So I reinstalled TWRP just to be sure everything was alright. (Exact same img) this time TWRP couldn't decrypt. There was no lock set in the OS. So to get xiaomi.eu on it again to used the script with fastboot included in the zip. This time Xiaomi.eu worked like a charm. No issues. Expect that I still have the TWRP decrypt problem...
(Of course I formatted twice during this process).

Any ideas what went wrong?
Nothing went wrong, TWRP can't decrypt data on Xiaomi 14 series for now.
 
TWRP decrypt will never work with 14 series (and above)
 

Attachments

  • photo_2024-02-20_10-34-24.jpg
    photo_2024-02-20_10-34-24.jpg
    88.9 KB · Views: 310
  • Like
Reactions: ceee89
TWRP decrypt will never work with 14 series (and above)
Very odd then, whatever my OS is working.
There are probably no other recoveries available for X14 which do work?
Is it recommend to go back to the stock recovery/fastboot. Or just stay with TWRP (fastboot)?
Thanks
 
Does data decryption work for you? When I enter my password in TWRP, it says password failed, please try again.

I'm on Xiaomi 14

Same for me, actually no data decryption.

Presumingly my mistake was: I just flashed TWRP by
fastboot flash recovery_ab recovery.img
without any data format afterwards.

...assuming that my followup clean Fastboot install "first_install_with_data_format" would perform any formatting needed?!
(which obviously was not the case. )

Will I from now in stuck to the fastboot update method forever, or do you see any chance that I can recover my decryption fail done before?

Could it be an (inconvinient) option to start from scratch, by following this guide for "A/B rec" variants installation?!
with data format afterwards - expecting a loss of my current data (all Apps/configurations/personal data etc)?

Thanks a lot from the
Borg (collective ;)


Xiaomi 14 EEA
ROM: xiaomi.eu_multi_HOUJI_OS1.0.31.0.UNCCNXM_os1-14.zip
TWRP: twrp-3.7.1_12-v8.6_A14-houji-skkk.img
(password for data decryption fails, as mentioned above )
 
Last edited:
It's not your fault or a mistake when installing TWRP.
As written by TWRP developer skkk, the XM 14 series cannot yet get decryption working in TWRP. It's a bug in TWRP:
 
Current recovery doesn't decrypt data, so it's "fine". TWRP doesn't yet support newer security mechanisms implemented in Xiaomi 14 series.

Thank you both for your fast reply, especially because you already wrote about that XM14 issue before. :emoji_pray:

One more thought on that, just to make sure that there's no misunderstanding:
TWRP seems to be unable to decrypt a partition in the aftermath to an persisting partition/installation, ok seems to be common sense, check. :emoji_ok_hand:

Assumption:
What if I use the script [AB-rec]_install_twrp.bat from the guide mentioned before, in order to

1. to bring TWRP in place (flash recovery_ab), and afterwards
2. do the data formatting within that TWRP - assuming that this TWRP then should be able to decrypt it's own data partition?
3. After this process trying to flash a ROM file using this TWRP (admitting that I've no idea how to get the needed ROM file in access of this TWRP, as I formatted it's own data just before :emoji_thinking::emoji_thinking:)

=> Or is all this rubbish, and all we have to do is simply wait for an updated TWRP, which may be able to decrypt data on XM14 sometimes in future? :emoji_spider_web::emoji_spider_web::emoji_spider::emoji_rolling_eyes::emoji_zzz:
 
Last edited:
The script "[AB-rec]_install_twrp.bat" executes the same command as (flash recovery_ab).
No circus tricks will help you. It's simple - TWRP for XM 14 series cannot decrypt the data partition.

You have only two options to install the ROM_
- Installation via fastboot
- Installation in TWRP via OTG-USB
 
  • Like
Reactions: Borg666
The script "[AB-rec]_install_twrp.bat" executes the same command as (flash recovery_ab).
No circus tricks will help you. It's simple - TWRP for XM 14 series cannot decrypt the data partition.

You have only two options to install the ROM_
- Installation via fastboot
- Installation in TWRP via OTG-USB

Thank you for your clarification, that this issue at least isn't on me. :emoji_sweat_smile:

Do you expect a TWRP release in future, which magically will be able to decrypt in the aftermath?
Or can this never happen due to new technical restrictions with our XM14? :emoji_thinking:
(sorry for not letting up on this ;))
 
Last edited:
@Borg666 Gogocar62 and Kacper Skrzpek said twice in this page that it may be solved in the future (Keep in mind this in not a TWRP development forum)
 
  • Like
Reactions: Borg666
Okay, hopefully I find someone wiser than me....
I have a Mi 14 Pro CN Version - Bootloader unlocked with NCUnlock (for $85 :rolleyes:)
- I did a factory reset and a clean data.
- Then I flashed the TWRP-3.7.1_12-v8.6_A14-shennong in fastboot mode (both Partitions A/B)
- Then I transferred the newest dev Rom HyperOS 1.0 24.3.18
- And installed it via TWRP
- Next I wanted to root my device
- so I copied over the ROM file to my Mi 14 Pro,
- extracted the boot image and patched it with the latest Magisk canary version
- then copied the patched file back to PC
- Into fastboot and then copied patched boot image onto both Partitions A/B
- Then reboot into system and start Magisk to complete the installation...
- But when I open it, then it doesn't show root on the system, just the installed app.

- So I tried to install the magisk,zip via TWRP and tadaaaaa "ass ****ed" because TRWP doesn't decrypt my partitions..

So I don't have root right now,
because the fastboot method somehow fails
and the TRWP method won't work until the mighty devs have solved the decryption issue :confused:

So I have two questions...
First, are my partitions encrypted in every scenario (like without Password or Display Lock), because then would TWRP become pretty useless until updated.

And my second question: Has anyone any idea what I may have missed getting Magisk working?

Any help on this issue would be highly appreciated.
The only thing I could try is to wipe my device (I already copied 100 GB of personal data and App backups :rolleyes:)
And install the ROM via fastboot this time and doing the magisk install also via fastboot while I don't install TWRP Recovery?

I hope I could express my problem and myself properly
 
Hi,

Yup, on the first page of HyperOS Rom, about flashing with TWRP there is a link to all kind of versions.
I did flash my recobvery with this one yesterday, works like a charm
Is there
Hi,

Yup, on the first page of HyperOS Rom, about flashing with TWRP there is a link to all kind of versions.
I did flash my recobvery with this one yesterday, works like a charm
I could not find one for Xiaomi 14 ultra (Aurora) ; is there one available for Aurora?