[GUIDE] Decrypt Android 11 MIUI rom on POCO X2/Redmi K30 - Xiaomi Poco X2 Guides, News, & Discussion

I will tell u the steps to properly decrypt android 11 miui stable or latest xiaomi.eu rom of Poco X2
Backup everything to PC .... U will need to format data...... try Migrate app for app backup.....
REQUIREMENTS:
1. Windows PC with minimal adb & fastboot to hotboot recovery
2. system_rw.zip , decrypt.zip and magisk 22.zip (optional).
3. Latest Android 11 Miui global stable or xiaomi.eu rom installed poco x2 or redmi k30 device.
4. Official TWRP installed & twrp.img for hotbooting
STEPS:
1. Make sure you are in latest android 11 miui global stable or xiaomi.eu rom.. Download all files and Store in computer. Transfer system_rw.zip to phone.
2. U will need to boot to bootloader and load recovery by using
fastboot flash recovery twrp.img
fastboot boot twrp.img
Hotbooting recovery allows to decrypt data with password. ( You dont need to hotboot recovery on latest xiaomi.eu beta.. it supports twrp decryption. Just reboot to recovery)
3. Download latest SystemRW from official thread (link below) & install it according to official instructions... Reboot device...
4. Hotboot to twrp recovery again using fastboot boot twrp.img and got to wipe and format data...... and reboot to recovery.... connect to pc and copy decrypt.zip to phone and go to mounts and mount odm and flash decrypt.zip (optional : Flash magisk or delete install_recovery.sh from /etc if on miui global stable to prevent twrp getting replaced by stock recovery)
5. Reboot....
Now you have a decrypted data partition.....
You have to repeat this steps everytime you flash a new rom but you dont need to hotboot recovery as you have decrypted data....
Tested only in MIUI Roms... This method Should work in All Android 11 roms...
Source Links:
Decrypting Tool
makeSystemRW
TWRP for POCO X2
Magisk
Minimal Adb & Fastboot
Migrate App

Decrypted latest Xiaomi.eu beta 21.4.1 Rom
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Hi
I want thank you for the hard work
I did every step but still did not work with my Poco X2
I will attach the screenshots
I hope you can help me

Somo22 said:
Hi
I want thank you for the hard work
I did every step but still did not work with my Poco X2
I will attach the screenshots
I hope you can help me
Click to expand...
Click to collapse
Sry missed a step... U need to wipe data before flashing decrypt zip ... Edited the tutorial

saginesht said:
Sry missed a step... U need to wipe data before flashing decrypt zip ... Edited the tutorial
Click to expand...
Click to collapse
Thanks for your reply, but did you see the screenshot No.4, the installation of system_rw.zip was successful
but at the same times the partition details saying failed to mount system, vendor, product (Invalid argument) So is this an error or its normal ?
Edit: I did wipe and format data before flash decrypt.zip but when I reboot to recovery it was the stock recovery not TWRP
Edit 2 : finally I successes to decrypted my phone and the error (partition details failed to mount system, vendor, product (Invalid argument) also gone by using orange fox recovery and rename it to twrp I did same as your steps but after I did format for data I had to fastboot boot twrp.img again since my phone keeps reboot to the stock recovery after that I copy decrypt.zip to phone and mount odm then flash decrypt.zip

Hi dear...can we use this method for mi10t

zeestats said:
Hi dear...can we use this method for mi10t
Click to expand...
Click to collapse
U can try .... Keep a pc ready incase something goes wrong

saginesht said:
U can try .... Keep a pc ready incase something goes wrong
Click to expand...
Click to collapse

Rw zip is not working for me any reason?

zeestats said:
Rw zip is not working for me any reason?
Click to expand...
Click to collapse
Try latest one from Here

saginesht said:
Try latest one from Here
Click to expand...
Click to collapse
Not working the new one also....

zeestats said:
Not working the new one also....
Click to expand...
Click to collapse
Try with a different twrp

saginesht said:
Try with a different twrp
Click to expand...
Click to collapse
Could you send me the link?

zeestats said:
Could you send me the link?
Click to expand...
Click to collapse
Search in your forum / support group

There is a problem with the WiFi connection, I can not connect to any WiFi unless I turn on a WiFi hotspot then I can connect Do you have a suggestion to solve this problem, and all partion in twrp it's showing 0
thank you very much

There is a problem with the WiFi connection, I can not connect to any WiFi unless I turn on a WiFi hotspot then I can connect Do you have a suggestion to solve this problem, and y all partion showing 0 thank you very much

Yeslam7 said:
There is a problem with the WiFi connection, I can not connect to any WiFi unless I turn on a WiFi hotspot then I can connect Do you have a suggestion to solve this problem, and y all partion showing 0 thank you very muchView attachment 5355733View attachment 5355735
Click to expand...
Click to collapse
Rom version... Twrp version?

Hello, thank you very much for the great work
I solved the problem by installing the orange fox recovery and clearing the data and everything was fine. I think the problem is twrp

Yeslam7 said:
Hello, thank you very much for the great work
I solved the problem by installing the orange fox recovery and clearing the data and everything was fine. I think the problem is twrpView attachment 5356411
Click to expand...
Click to collapse

Hi @saginesht. Thanks for your interest in my SystemRW project.
You can always find the latest version of my script at official SystemRW project page
Great news! New version of SystemRW coming soon! Stay tuned...

Related

[Guide] How to decrypt data on Berkeley

Hi everyone
ive been using Berkeley for the past like 2 weeks, mainly testing random stuff, cuz its the first flagship phone from Honor, while using/testing i
frequently get stuck at TWRP splash screen, because crypto somehow get corrupted, which doesnt TWRP to decrypt you data, yet it doesnt boot
into TWRP, so i decided to look into decryption, you can follow those steps:
Needed Files:
Patched TWPP Here
Disable_DM-Verity_FEC
Latest Magisk Beta
HuRU Updater
update_all_hw & update_data_public, check here for more info's about update files
Backup your data, kernel, kernel ramdisk and vendor, cuz those will be edited, and copy backups to PC
Boot into fastboot, and Run
"fastboot -w", to wipe crypto
without rebooting flash included patched TWRP
Boot into TWRP, then Wipe internal storage, Wipe > Format Data then write "Yes"
Then flash Disable_DM-Verity_FEC & Latest Magisk Beta
Now you could continue to EMUI steps, or just flash AOSP/LOS ROMs
Now you have to flash update_all_hw.zip & update_data_public.zip with HuRU-Updater, to restore CUST data under /data to fix couple of EMUI features
And we're Done
Notes:
This method is risky, because your device could encrypt back when you bootloop or booting up to eRecovery
Restoring Encryption will also wipe your data
The Good thing about this is twrp wont stop again for you
Creadits:
@Pretoriano80 for TWRP
@vache for TWRP with edited mount points
How to restore encryption
Flash EnableEncryption-Berkeley to restore vendor edits
Restore your unpatched kernel/ramdisk
Format Data, and reboot to system
How to check your encryption:
Run "getprop ro.crypto.state" in terminal, or
"adb shell getprop ro.crypto.state" in adb
you should get back "unencrypted"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nice?
The attached twrp didn't work for me but decrypted using official twrp worked fine for me..
mondalakash said:
The attached twrp didn't work for me but decrypted using official twrp worked fine for me..
Click to expand...
Click to collapse
included twrp tested on L04
AL_IRAQI said:
included twrp tested on L04
Click to expand...
Click to collapse
Ya that's why mine is l09...
fbe
mondalakash said:
Ya that's why mine is l09...
Click to expand...
Click to collapse
@mondalakash
how about a nandroid backup. did you try? please report back. this decryption method seems to be once again a proof only for bkl l04 devices.
kurvenmeister said:
@mondalakash
how about a nandroid backup. did you try? please report back. this decryption method seems to be once again a proof only for bkl l04 devices.
Click to expand...
Click to collapse
Just made an nandroid backup to flash los on bkl l09 but didnt restore it yet, if I face any issue I will let u guys know...the thing the internal storage doesn't get encrypted every time u flash a new ROM..[emoji3]
Sent from my Redmi Note 4 using Tapatalk
fbe, nandroid twrp
mondalakash said:
Just made an nandroid backup to flash los on bkl l09 but didnt restore it yet, if I face any issue I will let u guys know...the thing the internal storage doesn't get encrypted every time u flash a new ROM..[emoji3]
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
one of the most important things by flashing all this stuff is a fully working recovery. i am also keen on giving this a try.
kurvenmeister said:
one of the most important things by flashing all this stuff is a fully working recovery. i am also keen on giving this a try.
Click to expand...
Click to collapse
Just restored backup everything fine here no issues
@ all cool guys here. it worked. used the modified vache-twrp. performed many nandroids and restored them. perfectly. great guys here.
took the same tool to decrypt my oneplus 5t
AL_IRAQI said:
included twrp tested on L04
Click to expand...
Click to collapse
If I use fastboot format usedata and then flash recovery and format data from recovery and then flash the DM verity and magisk after that?
Will this work also?
P.S
Actually I tried fastboot -w and then boot to recovery it say could not found crypto footer and unable to create data/media
mondalakash said:
If I use fastboot format usedata and then flash recovery and format data from recovery and then flash the DM verity and magisk after that?
Will this work also?
P.S
Actually I tried fastboot -w and then boot to recovery it say could not found crypto footer and unable to create data/media
Click to expand...
Click to collapse
Yup, fastboot only wipes crypto for you, then you have to wipe manually from TWRP
AL_IRAQI said:
Yup, fastboot only wipes crypto for you, then you have to wipe manually from TWRP
Click to expand...
Click to collapse
So, fastboot format userdata equivalent to fastboot -w....is that what are u saying?
mondalakash said:
So, fastboot format userdata equivalent to fastboot -w....is that what are u saying?
Click to expand...
Click to collapse
Hmm, i think Huawei locked userdata formating from fastboot, cuz i tried more than one, and it wiped crypto
AL_IRAQI said:
Hmm, i think Huawei locked userdata formating from fastboot, cuz i tried more than one, and it wiped crypto
Click to expand...
Click to collapse
I tried fastboot format userdata and it said
Failed remote command not allowed
Sent from my Redmi Note 4 using Tapatalk
mondalakash said:
I tried fastboot format userdata and it said
Failed remote command not allowed
Click to expand...
Click to collapse
Yeah it wont let you wipe it
AL_IRAQI said:
Yeah it wont let you wipe it
Click to expand...
Click to collapse
fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Command not allowed)
erasing 'userdata'...
(bootloader) success to erase cryypt info in oeminfo
OKAY [ 0.025s]
finished. total time: 0.026s
THIS IS WHAT HAPPENS WHEN I RUN FASTBOOT -W
This worked flawlessly for me. But now I don't have fingerprint options in settings>security & privacy. I'm on the latest AICP 13.1 build. I did not do the last EMUI steps (because I flashed AICP). Does anyone know what might have happened or how to fix it? I've tried everything I could find online (factory reset, clearing credentials, booting into safe mode, etc.). I'm at a loss!

[ROM][MIUI] Xiaomi.eu ROM for Redmi K30 / 5G

How to install Xiaomi.eu ROM for Redmi K30 / 5G
This guide is only for ROM released before 10th February as before this date, was TWRP not available! Xiaomi.eu ROMs are now installed via TWRP as usually..
Steps to install our ROM for FIRST TIME from China ROM (All your data and files on internal storage will be deleted!)
- Unlock your bootloader by Mi Unlock tool https://en.miui.com/unlock/
- Download our ROM zip file WEEKLY or STABLE
- Unpack downloaded zip file in the PC
- Reboot your device to fastboot mode (press volume down + power)
- Connect to PC via USB cable
- Run fastboot installation script from unpacked zip according your PC operating system:
For Windows OS ./windows_fastboot_first_install_with_data_format.bat
For Linux ./linux_fastboot_first_install_with_data_format.sh
For MacOS ./macos_fastboot_first_install_with_data_format.sh
- After reboot its done (first boot may take up to 10min)
Steps to install UPDATE of our ROM (All your data and files on internal storage will NOT be deleted!)
- Download our ROM zip file WEEKLY or STABLE
- Unpack downloaded zip file in the PC
- Reboot your device to fastboot mode (press volume down + power)
- Connect to PC via USB cable
- Run fastboot installation script from unpacked zip according your PC operating system:
For Windows OS ./windows_fastboot_update_rom.bat
For Linux ./linux_fastboot_update_rom.sh
For MacOS ./macos_fastboot_update_rom.sh
- After reboot its done (first boot may take up to 5min)
Update via OTA:
Installation via OTA is currently not possible due to missing TWRP
Updater will notify you about new version and download it to your device for you
You have to copy it to your PC, unpack it and run fastboot_update_rom sctipt
Enjoy..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to install the mipay, please help
Thx it's working perfectly
TWRP is available now!
Redmi K30
https://androidfilehost.com/?fid=4349826312261719578
Redmi K30 5G
https://androidfilehost.com/?fid=4349826312261719577
So all new xiaomi.eu ROMs after 20.1.21 will be installed via TWRP!
----
ingbrzy said:
TWRP is available now!
Redmi K30
https://androidfilehost.com/?fid=4349826312261719578
Redmi K30 5G
https://androidfilehost.com/?fid=4349826312261719577
So all new xiaomi.eu ROMs after 20.1.21 will be installed via TWRP!
Click to expand...
Click to collapse
How to install the mipay via twrp, please help me:crying:
can i use it on k30 4g?
JhayPH said:
can i use it on k30 4g?
Click to expand...
Click to collapse
Of course
ingbrzy said:
TWRP is available now!
Redmi K30
https://androidfilehost.com/?fid=4349826312261719578
Redmi K30 5G
https://androidfilehost.com/?fid=4349826312261719577
So all new xiaomi.eu ROMs after 20.1.21 will be installed via TWRP!
Click to expand...
Click to collapse
There is a minor problem but not too sure if it is a bug. It failed with error:1 when trying to delete or edit name of system file (/system/app/xx) using the twrp. Other than that, everything works nicely on my k30. Thank you.
how can i flash twrp in my k30 4g? do u have Tutorial?
JhayPH said:
how can i flash twrp in my k30 4g? do u have Tutorial?
Click to expand...
Click to collapse
Code:
fastboot flash recovery twrp.img
ingbrzy said:
Code:
fastboot flash recovery twrp.img
Click to expand...
Click to collapse
i flash eu rom 20.1.16 . it keeps rebooting into twrp back again . after i set up .
should i wait the next update after 20.1.21??
JhayPH said:
i flash eu rom 20.1.16 . it keeps rebooting into twrp back again . after i set up .
should i wait the next update after 20.1.21??
Click to expand...
Click to collapse
no.. run command to wipe your data
Code:
fastboot -w
ingbrzy said:
no.. run command to wipe your data
Code:
fastboot -w
Click to expand...
Click to collapse
it keeps saying cannot generate image for userdata
JhayPH said:
it keeps saying cannot generate image for userdata
Click to expand...
Click to collapse
run script from our rom zip file folder
Code:
windows_fastboot_first_install_with_data_format
ingbrzy said:
run script from our rom zip file folder
Code:
windows_fastboot_first_install_with_data_format
Click to expand...
Click to collapse
u mean i need to extract the rom and run a script?
JhayPH said:
run script from our rom zip file folder
u mean i need to extract the rom and run a script?
Click to expand...
Click to collapse
yes
dugu1248 said:
yes
Click to expand...
Click to collapse
i succesfully wipe via fastboot -w but it keeps boot into twrp after i flash latest eu rom
i tried the 2nd option that u metion to run a script . but it doesnt work . its crazy hahah
but when i flash old eu rom 9.12 . its booting
DRM info
Hi,
Did that ROM change the security level? Maybe it can't change, unless the official global ROM release?

General [SHARED] Pixel Experience Plus v11

To be claim, i am NOT the maintianer.
Today, i want to share a GSI for every use of this phone and try to give everyone the lightest feeling of system to match the weight of this phone. So after hunders of fastboot flash, i succeesfully boot in system after flash, hope everyone can try and if any issue, you can commit this thread or pull a issue to this gsi github.
CLICK Guthub TO DOWNLOAD the "PixelExperience_Plus_arm-ab-11.0-xxxxxxxx-UNOFFICIAL.img.xz"
Three steps to flash:
1,Backup all your data and unzip the file you downloaded from github BTW.
2,If you want to get Magisk, flash Magisk before you flash PE. Without flash new bootimg, Magisk will be permanent.(option)
2,connect to computer and use command <adb reboot fastboot> or press vol- and power to rebbot to the fastboot mode.
3,use command<fastboot flash system xxx.img> to flash PEPlus, <fastboot reboot> to boot into system.
BTW, I am the people who are not native speakers of English, so if i use some wrong word, just let it go if didn't confuse you.
Hope you success.
If feedback of this rom is good, i will base on it to maintain the ROM that only for Mi11 Lite.
Thanks!
Do you mean Mi 11 Lite or Mi 11 Lite 5G??
vanpopel said:
Thanks!
Do you mean Mi 11 Lite or Mi 11 Lite 5G??
Click to expand...
Click to collapse
I flash it on my Mi 11 Lite 5G and it work.
Hi, which version to download, a only or ab??? Is there a way to debloat it before flashing??? Does it wipe data???
Thanks
So i need to download all the available img(or which one spesific) and flash them in fastboot mode and reboot system?
No need anything else right?
After boot i assume i can install magisk 23.0 apk and flash boot img created before throught fastboot right?
Is thats correct?
@ZeroSherd
rayman95 said:
Hi, which version to download, a only or ab??? Is there a way to debloat it before flashing??? Does it wipe data???
Thanks
Click to expand...
Click to collapse
Download ab version.
I don't think we con debolat it before flash
And yes it will wipe all your data.
paatha13 said:
So i need to download all the available img(or which one spesific) and flash them in fastboot mode and reboot system?
No need anything else right?
After boot i assume i can install magisk 23.0 apk and flash boot img created before throught fastboot right?
Is thats correct?
@ZeroSherd
Click to expand...
Click to collapse
You just need to download the ab verison and flash it by the command that i provide. If you need to flash magisk, i sugguest you patch the boot.img before you flash, and after the first boot you go to fastboot again to flash boot_ab that patched boot.img.
ZeroSherd said:
Download ab version.
I don't think we con debolat it before flash
And yes it will wipe all your data.
Click to expand...
Click to collapse
Thanks for your answer...what's the vndklite and is there advantage...I would like the more debloat, or with R/W....
rayman95 said:
Thanks for your answer...what's the vndklite and is there advantage...I would like the more debloat, or with R/W....
Click to expand...
Click to collapse
I did finding a way to get R/W according to patch the ROM without TWRP
ZeroSherd said:
You just need to download the ab verison and flash it by the command that i provide. If you need to flash magisk, i sugguest you patch the boot.img before you flash, and after the first boot you go to fastboot again to flash boot_ab that patched boot.img.
Click to expand...
Click to collapse
Thanks but where can i found boot.img of pe plus?
Can you provide it.
@rayman95 did you flash it ,all ok ,can provide some screenshot of the rom.
paatha13 said:
Thanks but where can i found boot.img of pe plus?
Can you provide it.
@rayman95 did you flash it ,all ok ,can provide some screenshot of the rom.
Click to expand...
Click to collapse
Of course, i will upload it to NETDISK after i finish my OT work that i may need half or A day to done it.
no, not yet....not sure to flash it right now, because I don't want to wipe my phone now....and I don't like gapps...I would love to have a recovery to flash nogoolag ur ULNP only and to do light rom
rayman95 said:
no, not yet....not sure to flash it right now, because I don't want to wipe my phone now....and I don't like gapps...I would love to have a recovery to flash nogoolag ur ULNP only and to do light rom
Click to expand...
Click to collapse
I think you can use ADB command or software to disable those GAPPS.
How do I backup the data if there is no custom recovery available?
In_a_state said:
How do I backup the data if there is no custom recovery available?
Click to expand...
Click to collapse
I highly recommand the TitaniumBackup if you got ROOT, or use MIUI backup which inside the settings.
Screenshot,feedback from the rom??
I would expect more interest for the first custom rom on this device
What's the way to go back to stock if got issues on PE???
Thanks
paatha13 said:
Screenshot,feedback from the rom??
I would expect more interest for the first custom rom on this device
Click to expand...
Click to collapse
Think most people are waiting on a working twrp recovery.
rayman95 said:
What's the way to go back to stock if got issues on PE???
Thanks
Click to expand...
Click to collapse
i didn't try, but i think just need to flash Xiaomi.eu ROM. By the "windows_fastboot_xxx" which in the ROM.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ZeroSherd said:
i didn't try, but i think just need to flash Xiaomi.eu ROM. By the "windows_fastboot_xxx" which in the ROM.View attachment 5323491
Click to expand...
Click to collapse
where do you get this???
here what I have from last EU fastboot rom...

General [SHARED] [TWRP] [haydn] TWRP Recovery for K40 Pro +

*************************************************************
———————— TWRP for K40 Pro + ——————————-
*************************************************************
WARNING : I do not know who made this TWRP and i am NOT taking credit for it. Someone in my group chat found it. It's apparently from China. If you are the creator , PM Me.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
INSTRUCTIONS
1) Download TWRP for K40 Pro + , and put it in your fastboot folder.
2) Put your phone into fastboot mode.
3) Do the following command : fastboot boot twrp-recovery-venus. It will automatically boot into TWRP.
4) Change language to English (press the 6th option).
5) Go to "Advanced" and select "Onekey inject TWRP".
6) Swipe to inject the TWRP. It might take a few minutes, so don't worry.
_____________________________________________________________________
Note: Don't change the boot slot (Slot A) or maybe will not boot at all.
Tested by @mslezak
______________________________________________________________________
Bugs: ADB Sideload is broken.
_______________________________________________________________
If you find any bug, feel free to report it down below.
Credits to @Cozzmy13 for decrypting the TWRP image! Here's the summary of events :
1) Chinese TWRP gets leaked onto my Telegram chat.
2) The recovery image is encoded and requires a dodgy chinese tool to decode it.
3) @Cozzmy13 finds a way to decode the image and make it bootable .
4) Me and Augustin El Metralleta try flashing the image, and we find out it works.
Does it suitable for K40 Pro? Did anyone try? Thanks!
K40 Pro has the same guts except the camera main and 12gb RAM so it should work
I verified a backup up image today restored worked although there wasn't much data on it. i always boot it. One time the injection made me have to use a fastboot ROM (always try deleting data first).
Have only one doubt can this twrp able to flash official china beta recovery rom for mi 11X pro?
#Update
I have flashed this twrp and it successfully booted without any issues and i have dirty flashed china beta recovery rom over chi a stable rom amd rom got flashed successfully without any issues.
But we need to flash the twrp every time when we reboot device.
cherri said:
How to make the twrp permanent then?
Click to expand...
Click to collapse
You can try to flash magisk after flashing the twrp, i'm still waiting the 7 days to unlock the bootloader so i can't try right now. If i remember correctly magisk has something that blocks "recovery-from-boot" and prevents twrp from being overwritten.
I think for now it is not possible are els he would have mentioned flashing process here instead of twrp temporary boot process, so we need to wait few more days unless someone does some miracle.
cherri said:
I think for now it is not possible are els he would have mentioned flashing process here instead of twrp temporary boot process, so we need to wait few more days unless someone does some miracle.
Click to expand...
Click to collapse
What do you mean. After flashing, TWRP was persistedm. I was also able to flash Magisk with this TWRP.
Go to "Advanced" and select "Onekey inject TWRP".
I wonder why there isn't any available tutorial on flashing twrp for this device on google, YouTube. What do you think guys?
thanks for the dev xinkid520 a chinese dev
It is indeed effective after testing, very good!
bouyhy01 said:
thanks for the dev xinkid520 a chinese dev
Click to expand...
Click to collapse
yeah he made it, but encrypted it and sold it for money.
so people from telegram decrypted it
zls8635878 said:
It is indeed effective after testing, very good!
Click to expand...
Click to collapse
So can we use this twrp permanently?
Can you tell me the steps if so?
DestroYerr said:
So can we use this twrp permanently?
Can you tell me the steps if so?
Click to expand...
Click to collapse
Go to "Advanced" and select "Onekey inject TWRP".
cherri said:
#Update
I have flashed this twrp and it successfully booted without any issues and i have dirty flashed china beta recovery rom over chi a stable rom amd rom got flashed successfully without any issues.
But we need to flash the twrp every time when we reboot device.
View attachment 5330171
Click to expand...
Click to collapse
I flashed this twrp into my phone. But when i try to install rom,recovery just flash and return to recovery again and ROM files got deleted. Could u tell me how u install this ROM?(PS my rom is (xiaomi.eu_multi_HMK40Pro_MI11i_V12.5.4.0.RKKCNXM_v12-11-fastboot)
Armstchi said:
I flashed this twrp into my phone. But when i try to install rom,recovery just flash and return to recovery again and ROM files got deleted. Could u tell me how u install this ROM?(PS my rom is (xiaomi.eu_multi_HMK40Pro_MI11i_V12.5.4.0.RKKCNXM_v12-11-fastboot)
Click to expand...
Click to collapse
Your rom version is for Fastboot, not Recovery.
k40 pro
majisk was installed.
I have a USB Memory Stick connected via an OTG cable, but I cannot mount it.
The usb format is FAT32. Please help someone.
cyaochai said:
k40 pro
majisk was installed.
I have a USB Memory Stick connected via an OTG cable, but I cannot mount it.
The usb format is FAT32. Please help someone.
Click to expand...
Click to collapse
Bro after flashing magisk, is safetynet okay?

Question [HELP] Back to original ROM

Fist let me thank you for helped me successfully rooted this phone before https://forum.xda-developers.com/t/what-is-the-easiest-and-safest-way-to-root-redmi-note-10.4359843
But now some of my bank applications just refuse to run and magisk hide doesn't help and my first objective to root is not needed anymore plus some more inconvenient things from bugs now I want to go back to official MIUI ROM how can i do that?
There are plenty of guides show how to Install the custom ROM but i can't find one about go back the original.
Unlike the last time now i known the basic of recovery, flash, fastboot etc
But i still don't know how to "Completely" go back to the original MIUI ROM but also want to keep the OrageFox recovery just the ROM.
Can i just download the MIUI ROM from here https://xiaomifirmwareupdater.com/miui/mojito/stable/V12.5.4.0.RKGMIXM/ and flash the .zip file normally? But what about Recovery/Fastboot type? The fastboot type is twice as big as the recovery type but it's not the zip format guess i don't need that and stick to recovery/zip format right?
And what is Frimware https://xiaomifirmwareupdater.com/firmware/mojito/stable/V12.5.5.0.RKGMIXM/ do i also need to flash this too?
I'm currently on OrangeFox recovery and Sakura ROM (https://projectsakura.xyz/download.html)
Thank you.
You can't flash recovery miui with twrp/orangefox... in order to reinstall the Stock ROM you must flash the Fastboot ROM through MiFlash Tool... Firmware is not needed.
1- Download this MiFlash version : MiFlash 20210226
2- Download the v12.5.4 Fastboot ROM from Xiaomi Firmware Updater and unzip it
3- Install Drivers if needed
4- Select "Clean All" as you don't want to lock the bootloader to keep OrangeFox and start flashing
5- Wait for MIUI Boot
6- Reboot to Fastboot and flash PE Recovery or boot TWRP
7- Flash OrangeFox Zip
8- Done , you have Stock MIUI with OrangeFox
i hope this can help you , Cheers
alonsoj636 said:
You can't flash recovery miui with twrp/orangefox... in order to reinstall the Stock ROM you must flash the Fastboot ROM through MiFlash Tool... Firmware is not needed.
1- Download this MiFlash version : MiFlash 20210226
2- Download the v12.5.4 Fastboot ROM from Xiaomi Firmware Updater and unzip it
3- Install Drivers if needed
4- Select "Clean All" as you don't want to lock the bootloader to keep OrangeFox and start flashing
5- Wait for MIUI Boot
6- Reboot to Fastboot and flash PE Recovery or boot TWRP
7- Flash OrangeFox Zip
8- Done , you have Stock MIUI with OrangeFox
i hope this can help you , Cheers
Click to expand...
Click to collapse
Hi, After i select clean all/clean all and lock this message popup i assume it can't find the ROM file right?
But i make sure to put the downloaded ROM is there but the file format is .tgz is that the case? If not how can i fix this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lolitary said:
Hi, After i select clean all/clean all and lock this message popup i assume it can't find the ROM file right?
But i make sure to put the downloaded ROM is there but the file format is .tgz is that the case? If not how can i fix this?
View attachment 5525005
Click to expand...
Click to collapse
you must unzip the .tgz file and write the path to the ROM into the bar above... example : Desktop/RN10/mojito_global_12.5.4.....
Note : Don't use Clean all and lock otherwise your bootloader will be locked and you will have to unlock it again in order to flash another custom recovery
alonsoj636 said:
you must unzip the .tgz file and write the path to the ROM into the bar above... example : Desktop/RN10/mojito_global_12.5.4.....
Note : Don't use Clean all and lock otherwise your bootloader will be locked and you will have to unlock it again in order to flash another custom recovery
Click to expand...
Click to collapse
Thank you so much now i'm back to the original MIUI ROM.
Now i'm just curios if this flash tool also clean my root folder or not since my root folder kinda mess from my trial and errors and it take up quite amount of disk space and my phone storage show as 29.1GB/128GB after clean flashed. But its not a big problem i can live with it.
Lolitary said:
Thank you so much now i'm back to the original MIUI ROM.
Now i'm just curios if this flash tool also clean my root folder or not since my root folder kinda mess from my trial and errors and it take up quite amount of disk space and my phone storage show as 29.1GB/128GB after clean flashed. But its not a big problem i can live with it.
Click to expand...
Click to collapse
Yes , MiFlash clean everything... can u kindly share screenshot from About Phone > Storage? 29.1GB seems too much space for a fresh MIUI installation ...
alonsoj636 said:
Yes , MiFlash clean everything... can u kindly share screenshot from About Phone > Storage? 29.1GB seems too much space for a fresh MIUI installation ...
Click to expand...
Click to collapse
This is after i uninstalled all the bloatware and updated all the system apps
Lolitary said:
This is after i uninstalled all the bloatware and updated all the system apps
Click to expand...
Click to collapse
this is mine , 64GB model... it should be 20-25 GB after all updates... i think yours is fine

Categories

Resources