How to reverse to Chinese Stock rom, from global.eu ? UPDATED - SUCCESFULLY - Xiaomi Mi 10 Ultra Questions & Answers

I have Mi 10 Ultra Dual Sim, with Miui 12.5 V12.5.6.0 RJJCNXM Stable - Miui by Xiaomi.eu
And the phone has TWRP
And I want to flash Miui Stock China and to have original recovery with original rom.
1. Can I flash Chinese Rom Recovery thru TWRP, with WIPE, Flash Roma Chinese and after that FLASH Lazyflasher ? this method will install stock succesfully ?
2. I tried to flash Stock Chinese Fastboot rom, with Xiaomi Mi Flash, the phone is Unlocked, but when I press FLASH after 2 second apear ( erasing boot error )
3. Is there another option ?
I have attach file here with error in MiFlash, thank you

Update - Succes
That error from ERASING BOOT, is from version of MIFLASH !
I will put here all steps to go back to Chinese Stock Rom from global
1. Download Xiaomi Mi 10 Ultra Fastboot Rom China from here :
Download Mi 10 Ultra (cas) V12.5.6.0.RJJCNXM MIUI 12.5 Stable Full Rom | XiaomiROM.com
The Stable update V12.5.6.0.RJJCNXM has been officially released for Mi 10 Ultra (codename is cas). Before updating, please make sure you have …
xiaomirom.com
2. Download Xiaomi MiFlash, this version, from here :
MiFlash20200314
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
3. Unpack Xiaomi MiFlash and Unpack Chinese Rom
4. Make a folder in Disk C, withe the name "XiaoMi" ( see pictures )
5. Xiaomi MiFlash put in Local Disk C inside of XiaoMi folder, and the rom folder inside of MiFlash folder
6. Right click on Xiaomi MiFlash app, and Run as Administrator
7. At the end of flashing, it will be an error with red "No catch Checkpoint" but it doesn't matter, don't be worry, the flashing it's done, and everything is ok ! The phone will be with stock rom
8. That's it ! succesfully flashed

Related

[Guide & Download Links] UHANS A101S TWRP & Custom ROM

Hello,
I have successfully installed TWRP and a custom ROM on a UHANS A101S. And now I want to share the files and instructions, because they come from Russian forum 4pda.ru (thanks and credits to them).
Warning: I do not take any responsibility for whatever outcome you have when trying this on your device. It worked for me, but everything you do is your own risk.
Now, here's how it worked for me:
(Instructions are for UHANS A101S only, NOT for A101)
Installation of TWRP:
1. Download TWRP recovery image for UHANS A101S. Check that you get the correct recovery.img for your firmware build. Also download the scatter file for the UHANS A101S.
2. Download SP Flash Tool and driver for UHANS A101S.
3. Install driver on your PC and reboot your PC.
4. Unpack SP Flash Tool. Unpack scatter file. Put scatter file in same folder as recovery.img file.
5. On your phone, enable USB debugging mode in developer settings. (To activate developer settings menu, tap 7 times on your build number in Settings > About).
6. Switch off phone. Remove battery. Wait for 10 seconds. Put battery back into your phone, but don't start it! Keep it switched off.
7. Start SP Flash Tool with Admin permission. Click "scatter-loading" and navigate to the folder where you unpacked the scatter file and select it. Make sure that "Download Only" is selected in drop-down menu on the left. Then click the "Download" button in SP Flash Tool.
8. Connect your phone to the USB port of your PC and press Volume Up on your phone, so SP Flash Tool will recognize it.
9. If everything goes fine, in SP Flash Tool a red progress bar at the bottom turns yellow, then green and finally you get a pop-up with a green check mark.
10. Now you can boot into TWRP. To do so, unplug phone from PC and press Power On and Volume Up simultaneously.
Download links for installing custom recovery TWRP for UHANS A101S:
Download from Mediafire
(For the recovery.img file, choose DRV.TEST version if you see this appendix in your firmware version. Otherwise, option v3.05 is correct).
If you want to restore stock recovery, recovery image from firmware version 3.05 is available too.
To install custom ROM, download your preferred ROM, copy it to your phone and flash from within TWRP.
Custom ROMs for UHANS A101S:
CLEAN MOD (Stock ROM without bloat)
MOKEE ROM (Gapps: no, root: no)
Resurrection Remix 5.7.4 (Gapps: no, root: yes)
To get Google Play store, flash Gapps package.
Download Gapps package here (choose ARM and Android 6.0):
http://opengapps.org
(Pico or Nano package recommended).
If you want root access and if it's not included in the ROM, you can flash SuperSU Zip using TWRP:
SR2-SuperSU-v2.79-SR2-20170103215521.zip
Stock ROM from UHANS (via SP Flash Tool):
https://mega.nz/#F!lX5BGKJS!pVksNANFfS2R8Jrpy6O1XQ
Source: http://www.uhans.cc/Service/index
A new custom rom
Hey guy! Thanks for your ROMs, I have Uhans A101S and they worked properly but I wanted to try something else with a google stock experience and so I wanna ask you if you can create another custom ROM (like lineage os) for this device.
Thanks a lot!

Any way to encrypt /data/data and /sdcard on Xiaomi EU ROM?

Hello,
Xiaomi EU ROM is running decrypted, that's a security breach...
Is there a way to use Xiaomi EU ROM, based on Miui 10, in a encrypted phone?
Thanks
I tried but no success. The only method to enable encryption is miflash official rom. For me it works perfectly in Los. Apparently xiaomi Eu removed encryption from vendor.
And there is no way to add the files to the vendor partition?
I am using the EU ROM for months encrypted (FBE).
It's a little complicated to get there (and to stay), but it can be done.
1. You need to come from an encrypted MIUI Rom
2. Enter TWRP, enter your decryption code.
Important note: NEVER format in TWRP, otherwise you'll have to start from MIUI again (which means flashing with MiFlash).
4. Dirty flash EU Rom. Do NOT reboot.
5. After flashing the ROM, go to the main menu in TWRP and mount the Vendor partition.
6. Install the attached Zip file with TWRP (copy to phone before starting the whole procedure steps)
7. Reboot
As I said I followed this procedure for the last months, running EU and still encrypted.
You have to do ALL the steps 2-7) again EVERYTIME you flash a new EU Rom.
Hello,
Thanks for the answer. I will try it, but...
1) After flash this, I can wipe device (not format) from TWRP?
2) Is also /sdcard encrypted or only /data/data?
3) I can't install Global MIUI from TWRP if I will return to Global?
4) I assume that I can install Magisk after 6 and before 7
Thanks
hoehm72 said:
I am using the EU ROM for months encrypted (FBE).
It's a little complicated to get there (and to stay), but it can be done.
1. You need to come from an encrypted MIUI Rom
2. Enter TWRP, enter your decryption code.
Important note: NEVER format in TWRP, otherwise you'll have to start from MIUI again (which means flashing with MiFlash).
4. Dirty flash EU Rom. Do NOT reboot.
5. After flashing the ROM, go to the main menu in TWRP and mount the Vendor partition.
6. Install the attached Zip file with TWRP (copy to phone before starting the whole procedure steps)
7. Reboot
As I said I followed this procedure for the last months, running EU and still encrypted.
You have to do ALL the steps 2-7) again EVERYTIME you flash a new EU Rom.
Click to expand...
Click to collapse
I reply my questions:
After flash EU ROM and the ZIP that @hoehm72 in the previous posts, the EU ROM is working fine.
You can wipe the device from TWRP and also return to Global version (you need to backup your /cust partition before flash EU for first time and restore /cust before flash Global ROM).
Also, /sdcard and /data/data remains encrypted in EU, like in Global.
Thanks mate!
EDIT: If you forgot to flash the zip file after flash EU ROM the phone will enter in a bootloop. No problem, you only need to enter TWRP then:
* mount vendor
* edit /vendor/etc/fstab.qcomm
then update "encryptable" by "fileencryption" then reboot...
Thank you, it worked for me too!
Hello how can I know if my rom is encrypted ?
If your device is rooted...
enter TWRP and, when TWRP asks for password click on cancel button.
Next, click on advanced -> file manager then navigate to /sdcard
If when you are on /sdcard (and also on /data/data) the file manager displays correctly the filenames you aren't encrypted and any can access to the files if has access to your device.
Bradco said:
Hello how can I know if my rom is encrypted ?
Click to expand...
Click to collapse
Bradco said:
Hello how can I know if my rom is encrypted ?
Click to expand...
Click to collapse
You can find it in settings-passwords&security- data privacy(or data security, I don't know in english) -encryption
The most secure mode to check it is to check over twrp, like I've explained.
Some roms, like eu, says encrypted but really aren't
Seosam said:
You can find it in settings-passwords&security- data privacy(or data security, I don't know in english) -encryption
Click to expand...
Click to collapse
This is what i posted some thime ago in xiaomi.eu forum.
I downloaded miui_MIMIX2SGlobal_V10.3.2.0.PDGMIXM_7e27e6e0d5_9.0.zip and xiaomi.eu_multi_MIMix2S_V10.3.1.0.PDGCNXM_v10-9.zip
than i extracted these folder and three files from global rom:
firmware-update
vendor.transfer.list
vendor.new.dat.br
vendor.patch.dat
than i deleted those three files and folder from xiaomi.eu rom
than i repacked xiaomi.eu rom with three vendor files from global rom (i used winrar, just drag and drop )
than i installed .zip on my phone
I managed to encrypt the latest (9.7.11) version too. You need to use vendor files from china beta (9.7.11). If you use older files your wifi wont work.
A less painful solution is to extract missing files from china rom
The file lists that should be added/replaced from china miui rom (about 3 MB, tested on Mi6 10.4.2.0, eu/cn):
Ps., some of below files are not necessary, but I am not sure which one did the trick.
/system/vendor/etc/gps.conf
/system/vendor/etc/mixer_paths_overlay_dynamic.xml
/system/vendor/etc/init/hw/init.qcom.rc
/system/vendor/etc/izat.conf
/system/vendor/etc/wifi/WCNSS_qcom_cfg.ini
/system/vendor/etc/fstab.qcom
/system/vendor/app/TrustZoneAccessService/TrustZoneAccessService.apk
/system/vendor/app/TrustZoneAccessService/oat/arm64/TrustZoneAccessService.odex
/system/vendor/app/TrustZoneAccessService/oat/arm64/TrustZoneAccessService.vdex
/system/vendor/app/ConnectionSecurityService/oat/arm64/ConnectionSecurityService.odex
/system/vendor/app/ConnectionSecurityService/oat/arm64/ConnectionSecurityService.vdex
/system/vendor/app/PowerOffAlarm/oat/arm64/PowerOffAlarm.vdex
/system/vendor/app/PowerOffAlarm/oat/arm64/PowerOffAlarm.odex
/system/vendor/app/PowerOffAlarm/PowerOffAlarm.apk
/system/vendor/app/SSGTelemetryService/oat/arm64/SSGTelemetryService.odex
/system/vendor/app/SSGTelemetryService/oat/arm64/SSGTelemetryService.vdex
/system/vendor/app/TimeService/oat/arm64/TimeService.odex
/system/vendor/app/TimeService/oat/arm64/TimeService.vdex
/system/vendor/app/TimeService/TimeService.apk
/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so
/system/vendor/lib/mediadrm/libwvdrmengine.so
/system/vendor/lib/libmmcamera_imx386_semco.so
Obviously, in android 9 based miui 10, xiaomi.eu has removed encryption files from vendor, not just modified "fstab.qcomm".
On Mi6 10.4.2.0, I successfully encrypted /sdcard/ with above files.
In fact, you only need to replace fstab.qcomm at vendor/etc from the one included at eu miui from the one at stock rom.
This file as a size if 2KB
watert said:
Sorry, but I will add the file lists that should be added/replaced from china miui rom in hours later (about 3 MB).
Click to expand...
Click to collapse
Modification of "vendor/etc/fstab.qcomm" worked on android 8 based xiaomi.eu's miui, but not for android 9 based xiaomi.eu's miui -- at least for MI6.
If you only modify fstab.qcomm, but do not copy files which actually did the encryption job, encryption is fake (although it showed encrypted on "setting"). Check this by : goto twrp, click 'cancel' when it asks for gesture, then you would find you can still access files on /sdcard/ (without encryption).
bartito said:
In fact, you only need to replace fstab.qcomm at vendor/etc from the one included at eu miui from the one at stock rom.
This file as a size if 2KB
Click to expand...
Click to collapse
I have only modified fstab file and my device is encrypted (see screenshot).
The only that you need to do it not to do a format data under twrp after install EU ROM.
This is due the phone encryption will be done in global ROM. EU is not capable to do it even with the modified fstab, 9nly that can do is to manage a previously encrypted partition.
watert said:
Modification of "vendor/etc/fstab.qcomm" worked on android 8 based xiaomi.eu's miui, but not for android 9 based xiaomi.eu's miui.
If you only modify fstab.qcomm, but do not copy files which actually did the encryption job, encryption is fake (although it showed encrypted on "setting"). Check this by : goto twrp, click 'cancel' when it asks for gesture, then you would find you can still access files on /sdcard/ (without encryption).
Click to expand...
Click to collapse
Yes, that is one way. but I'd like to format/wipe everything in twrp before flashing.
If data partition was formated, I think ~3 MB files from china rom are necessary for encryption.
bartito said:
I have only modified fstab file and my device is encrypted (see screenshot).
The only that you need to do it not to do a format data under twrp after install EU ROM.
This is due the phone encryption will be done in global ROM. EU is not capable to do it even with the modified fstab, 9nly that can do is to manage a previously encrypted partition.
Click to expand...
Click to collapse
Please, post the files when possible. I will check. Thanks
watert said:
Yes, that is one way. but I'd like to format/wipe everything in twrp before flashing.
If data partition was formated, I think ~3 MB files from china rom are necessary for encryption.
Click to expand...
Click to collapse
hoehm72 said:
I am using the EU ROM for months encrypted (FBE).
It's a little complicated to get there (and to stay), but it can be done.
1. You need to come from an encrypted MIUI Rom
2. Enter TWRP, enter your decryption code.
Important note: NEVER format in TWRP, otherwise you'll have to start from MIUI again (which means flashing with MiFlash).
4. Dirty flash EU Rom. Do NOT reboot.
5. After flashing the ROM, go to the main menu in TWRP and mount the Vendor partition.
6. Install the attached Zip file with TWRP (copy to phone before starting the whole procedure steps)
7. Reboot
As I said I followed this procedure for the last months, running EU and still encrypted.
You have to do ALL the steps 2-7) again EVERYTIME you flash a new EU Rom.
Click to expand...
Click to collapse
For me this works with actual miui eu.
I checked it in TWRP too.
But maybe you need these 3MB when you do a clean start, without official miui first.
Seosam said:
For me this works with actual miui eu.
I checked it in TWRP too.
But maybe you need these 3MB when you do a clean start, without official miui first.
Click to expand...
Click to collapse
absolutely agree

Newbie Question How to flash custom rom

I just unlocked my bootloader and was able to flash a recovery, LR recovery to be exact. I currently use the stock miui android 11 and I'm not sure if I'll be able to flash roms like evolution, corvus and etc. I don't understand the vendor thing when flashing a custom rom, will you help me out on how to make things clear for me on what is a vendor and how to know if it's the right one for my phone. Thank you in advance.
TheSilhouette said:
I just unlocked my bootloader and was able to flash a recovery, LR recovery to be exact. I currently use the stock miui android 11 and I'm not sure if I'll be able to flash roms like evolution, corvus and etc. I don't understand the vendor thing when flashing a custom rom, will you help me out on how to make things clear for me on what is a vendor and how to know if it's the right one for my phone. Thank you in advance.
Click to expand...
Click to collapse
IF this is the INDIAN poco x2, then your device model id is PHOENIXIN_in_global, so you cant install any custom roms here. If you can mod the id to PHOENIX then all the roms here are open for installation. However upon inspection of extracted fastboot versions (not recovery version) of Miui roms I've seen vendor files which are images, now if you can replace the vendor files from your desired rom with your model's specific vendor image files you can practically install any rom.
You'll have to extract the fastboot rom which is when you'll be able to see these files. And again just get platform tools and copy past all files from the rom to install by just clicking on flash_all.bat
AIDROOS said:
IF this is the INDIAN poco x2, then your device model id is PHOENIXIN_in_global, so you cant install any custom roms here. If you can mod the id to PHOENIX then all the roms here are open for installation. However upon inspection of extracted fastboot versions (not recovery version) of Miui roms I've seen vendor files which are images, now if you can replace the vendor files from your desired rom with your model's specific vendor image files you can practically install any rom.
You'll have to extract the fastboot rom which is when you'll be able to see these files. And again just get platform tools and copy past all files from the rom to install by just clicking on flash_all.bat
Click to expand...
Click to collapse
Very Useful Information..
Thanks))
So practically every ROM has to be altered and installed only in Fastboot version?
And how about recovery version as Install Zip Files? do you recommend it>
AIDROOS said:
IF this is the INDIAN poco x2, then your device model id is PHOENIXIN_in_global, so you cant install any custom roms here. If you can mod the id to PHOENIX then all the roms here are open for installation. However upon inspection of extracted fastboot versions (not recovery version) of Miui roms I've seen vendor files which are images, now if you can replace the vendor files from your desired rom with your model's specific vendor image files you can practically install any rom.
You'll have to extract the fastboot rom which is when you'll be able to see these files. And again just get platform tools and copy past all files from the rom to install by just clicking on flash_all.bat
Click to expand...
Click to collapse
Hey Could you please explain in detail how I can do this? I want to install a custom rom(Arrow OS) on my phone(miui 12.1.2) but I keep getting the following error when I try to do it using twrp:-
E1001 failed to update system image. ERROR 1
Failed to mount /system_root(invalid argument)
Failed to mount /product(no such directory)
I'm new to this and any help would be greatly appreciated.
PS: I get the same error for anything else I flash too.

Install rom

Hello
Can I install rom in my Xiaomi mi 10t without PC ? Bootloader is already unlocked and I have the rom on my device (internal storage) it's a pixel experience rom.
I tried for like 10 hours to do that through twrp and PC but my PC stuck on many issues so is there anyway to install this rom without PC ?
IMO it doesn't matter where you put the ROM on phone's internal storage space - of course preferredly into Android's user-data section - as long as you know where to find it in TWRP when you're flashing it.
Look also inside here:
How to Install a Custom ROM using TWRP Recovery
TWRP recovery let’s you do a number of cool stuff but the whole point of having a custom recovery is to be able to flash unsigned .zip files. These .zip files could be anything from a custom …
nerdschalk.com

MIUI - MIUI-CN-[22.6.2] For Samsung M20

1- instal these Custem ROM lineageos os Android 11 To Ugrede Vendor From 10 Stouck ROM to 11 Custem ROM From link....
https://mirrorbits.lineageos.org/full/m20lte/20220619/lineage-18.1-20220619-nightly-m20lte-signed.zip
2- Now Download These Gsi Miui ROM From link...
Nippon GSI Updates - Browse /MIUI - MIUI-CN-[22.6.2]-tucana - SO7JBSCUJ4 at SourceForge.net
GSI Porting Project using Erfan's GSIs tool
sourceforge.net
And extract From .gz To .img
3- Now Reboot To Recovery Again
4- Wipe System, Data, Cache , Dalvik
not wipe Vendor..
5- Flash miui ROM img as system img
6- Flash Gapps 11 To Boot And Fix Lancher Dowlond From Here https://sourceforge.net/projects/op...?use_mirror=deac-fra&r=&use_mirror=autoselect
7- reboot system And Enjoy
What Works:
Everything Work
Known Issues:
Dual sim not work
ims
I am not a programmer, I follow ROMs, and I own a Sm-m205 phone only, and I am a fan of Miui ROMs. I found a working ROM and I am looking for a solution to a problem Dual sim card
Whoever finds a solution to the problem, share the solution with us, and thank you to everyone who viewed my post
Thanks
cant install gapps. it says there is not enough space on system. I tried format data and I got the same error
Doesn't work.

Categories

Resources