Flash Fast boot Rom via EDL mode manually - Xiaomi Redmi 3s Questions & Answers

i want to flash miui 9 fast boot rom in my redmi 3s through edl mode but mi flash tool always gives error like this "....../(PATH TO ROM FOLDER)/images/sec.dat" file not found" although i have downloaded the fat boot rom file twice and also verified the md5 checksum and also verified downloading other device fast boot rom file but i cant find the "sec.bat" file anywhere and due to this error i want to flash the fast boot rom file in edl mode manually so what commands i need or is there any way to flash it manually in my redmi 3s. Also note that i have successfully installed drivers and my device gets detected both in mi flash as COM 10 and also in device manager window and the flash procedure also starts but after a 10 sec the error occurs so i want to flash it manually
**see screen shot and mi flash log for details**
***************UPDATE**************
I have successfully found out the the first problem first of all there is no such file named " sec.dat " in any fast boot rom for any xiaomi device. First of all i extracted the global stable fast boot file for my device and went to " images/rawprogram0.xml " file and compared it with the" rawprogram0 " file found in the global beta rom and found that both are exactly identical but at the last section in global stable file the file name is set to null where is in beta one its set to sec.dat file i will attach both the files . So i modified that particular section in global beta file and boom no more errors and everything gets flashed well including the " system.img " file but at the last one more error but this time its not for " sec.dat " file but for another file named dummy.bin and in this case both global and beta " rawprogram0.xml " file has the syntax so i didn't modified anything it seemed to me that these fast boot rom file is not meant to be flashed over EDL as the programmer file which is rawprogram0.xml is not set to flash over EDL rather over fastboot because with same " rawprogram0.xml " file i am able to flash my device over fast boot mode. I have attached all required files so if anyone can figure out whats happening let me know

Ash225 said:
i want to flash miui 9 fast boot rom in my redmi 3s through edl mode but mi flash tool always gives error like this "....../(PATH TO ROM FOLDER)/images/sec.dat" file not found" although i have downloaded the fat boot rom file twice and also verified the md5 checksum and also verified downloading other device fast boot rom file but i cant find the "sec.bat" file anywhere and due to this error i want to flash the fast boot rom file in edl mode manually so what commands i need or is there any way to flash it manually in my redmi 3s. Also note that i have successfully installed drivers and my device gets detected both in mi flash as COM 10 and also in device manager window and the flash procedure also starts but after a 10 sec the error occurs so i want to flash it manually
Click to expand...
Click to collapse
I do recommend to download a fastboot version of Miui 9 global developer latest update...
Extract the zip two times untill you find flash.bat in directory...
Second thing use Mi Flash new version...
Link to firmware package.....
★ Redmi 3S/Prime Latest Global Developer Version Fastboot File Download-http://update.miui.com/updates/v1/fullromdownload.php?d=land_global&b=X&r=global&n=

adityaon said:
I do recommend to download a fastboot version of Miui 9 global developer latest update...
Extract the zip two times untill you find flash.bat in directory...
Second thing use Mi Flash new version...
Link to firmware package.....
★ Redmi 3S/Prime Latest Global Developer Version Fastboot File Download-http://update.miui.com/updates/v1/fullromdownload.php?d=land_global&b=X&r=global&n=
Click to expand...
Click to collapse
I know how to flash fastboot rom file and i have done it before moreover i have extracted the fastboot zip file twice as required because of the tar.gz compression and also used the latest mi flash both stable and beta version but the same error occurs

Related

Unlock Bootload , Install TWRP , Root : Redmi Note 3[Snapdragon] 7.2.3

Its been inspired by Sudeep Duhoon Thread , Thank him if possible . Except the rooting part everything is preety much same as Sudeep Duhoon did.
I just found out you could 7.2.3 much easily Root the device rather than editing scripts and all of the stuff which i didn't get from his thread.[No offense sir]
Downloads :
1. Minimal Adb Tool
2. MiFlash_2016.03.30.exe
3. Fastboot 7.2.3 Rom
4. Unlocked EMMC or check the attachment.
5. 7.2.3 PATCHED BOOT IMAGE
Unlocking Bootloader :
​1 . Connect your Phone to Computer in USB DEBUG and OEM UNLOCK mode to the computer. [Both of these settings are turned on from developer option.]
2. In ADB check if your device is successfully connected using "adb devices" command .
3. NOW , Reboot the phone into EDL mode using this command "adb reboot edl" .
4. Now make sure you're device is connected in "Qualccomm HS-USB QLoader 9008" , if yes continue .
If the device is connected in "Qualcomm HS-USB Diagnostics 900E" Start it from step 1 again.
5. DOWNLOAD 7.2.3 fastboot Rom . Extract the rom.
Download, Extract unlocked_emmc_appsboot.mbn. Rename it to "emmc_appsboot.mbn" And move it inside the extracted ROM FOLDER.
6. Now Start the MI Flash Tool and Browse to the Location Where you have Extracted the Fastboot ROM
7. Go to Advanced and Select:
Flash Programmer, Raw XML File and Patch XML File
from the Fastboot ROM\Images folder.
8. Close the window and click on refresh , Your device with certain COM# will appear. Just click on Flash.
Wait until its successful .
9. Once it is successful , Hard Boot your phone to fastboot using POWER DOWN + POWER ON buttons on your phone.
10. Now in command prompt type "fastboot oem device-info" , you'll see the DEVICE UNLOCKED : FALSE
11. Now Enter the following command "fastboot oem unlock-go" . Your device must be unlocked , to confirm enter the previous[step 9] command again.
YOUR BOOTLOADER IS UNLOCKED NOW
FLASHING TWRP :
​1. Move the twrp image in minimal adb folder. Rename the twrp image to twrp.img
2. Enter the command "fastboot flash recovery twrp.img"
TWRP HAS BEEN SUCCESSFULLY Installed.
P.S : To boot into twrp : volume up + power on . But it might take 2-3 tries to boot into TWRP . [ I don't yet know why this happens .]
ROOTING :
​1. Move SUPER SU and PATCHED BOOT IMAGE into your mobile.
2. Install Super Su.
3. Install Boot Image, Dont forget to select install image and boot partition while installing.
4. You've SUCCESFULLY ROOTED your device .
P.S : PLEASE TRY IT AT YOUR OWN RISK.
Emmc rar does not get extracted... I think the archive is corrupt... Please check onto that
Sent from my Redmi Note 3 using Tapatalk
kirkirehani93 said:
Emmc rar does not get extracted... I think the archive is corrupt... Please check onto that
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
rar file is just fine , anyway i have uploaded a zip file in the attachment . please check.
reply fast
if i m right... i have to put supersu and boot.img to phone fefore flashing twrp. bcoz after flashing twrp if i reboot to system, phone will not boot and may be bricked...plzzz reply
vivekjha said:
if i m right... i have to put supersu and boot.img to phone fefore flashing twrp. bcoz after flashing twrp if i reboot to system, phone will not boot and may be bricked...plzzz reply
Click to expand...
Click to collapse
No no. It doesn't matter when you put it in. And your after flashing twrp you can directly boot into TWRP and then move the files into mobile.
P.S : While in recovery , you can always copy files in to your mobile.
What if bootloader unlocked officially? Start from "Flashing TWRP" section?
any 1 tried this
any one tried this succesfully plzzz reply
Error during flashing with MiFlash
Got this error during Flashing process:
Status: Not enough storage space is available to process this command.(0x80070008; Max buffer sector is 256)
What should I do? My device does not boot...
anirudh281998 said:
Got this error during Flashing process:
Status: Not enough storage space is available to process this command.(0x80070008; Max buffer sector is 256)
What should I do? My device does not boot...
Click to expand...
Click to collapse
Use Windows 64bit edition.
The flashing process will fail in Windows 32bit edition
will this work in RN3 MTK ???
Will this work on 7.2.5 ?
RedBux said:
will this work in RN3 MTK ???
Click to expand...
Click to collapse
No
Thri11 said:
Use Windows 64bit edition.
The flashing process will fail in Windows 32bit edition
Click to expand...
Click to collapse
Thank you.....i tried it on windows 64 bit and it worked.
I tried unlocking bootload. I got this error "The system cannot find the path specified. (0x80070003: Open Programmer c:...)"
What have I done wrong?
Edit: I deleted the file. Extract it again. Then I unlocked bootloader successfully.
will this void warrenty ?
and to flash miui china roms we need to edit the fastboot everytime ?
When I flash supersu my device won;t boot. Boots fine before though
Hi, I'm on MIUI 7.5.3, can I use 7.2.3 ROM as provided to unlock bootloader or I have to find a 7.5.3 one?
GitGudWolf said:
Hi, I'm on MIUI 7.5.3, can I use 7.2.3 ROM as provided to unlock bootloader or I have to find a 7.5.3 one?
Click to expand...
Click to collapse
I too would like to know the same.
Would this work on 7.5.3 or will I need to do something else
not working sir....
when perform fastboot oem unlock-go, result:
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.000s
UPDATE
SOLVED : "Enable OEM unlock" must be turn on in dev option.

Zui 3.1.117st qpst file for [z2131]/[z2132] Chinese [android N][qpst]

Download the latest stable Chinese rom qpst file for z2 plus which is qfil flashable.
i found these file on club.lenovo.com.cn after two days of searching. i have flashed it in my lenovo z2 plus and it is working very well. it can be flashed with the qfil or mi flash tool. Download the rom from the given link below and follow the steps to flash.
https://club.lenovo.com.cn/thread-4259783-1-1.html
or
http://s.bs.zui.com/E82d
Seps:-
1. Download the latest rom from the given link .
2. Extract it in the C drive within a folder having very simple name like 'new'.
3. Install the flashtool and other required drivers from the link below.
4. Boot the phone into EDL mode.
5.. Use qfil to flash the file in the phone.
[note:- all data will be wiped so be sure to take backup before flashing.]
To download and use the qfil and other drivers follow the link below
http://https://forum.xda-developers.com/lenovo-zuk-z2/how-to/how-to-recover-hard-bricked-zuk-z2-plus-t3576007.
HOW TO BOOT IS THE EDL MODE[9008 PORT]
follow the steps in the link.
For bricked phone(tricky).
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/reboot-to-edl9008-modetotally-bricked-t3720932
If your phone is alive the follow these steps(easy method).
1. Enable developer option.
2. Enable usb debuging option.
3. Install latest adb driver from here.
4. Go to the directory where the adb driver is installed and inside the adb folder press shift and right click at the same time and then click on the option open command window here,
5. Type 'adb devices' these will pop a message in your phone accept it.now in the command window your device will be displayed.
6. Now type 'adb reboot edl' these command will reboot your device in the edl mode or 9008 port.
now every thing is wiped.
After first boot how to reach the home page and change the language of the phone.
just use the blue option at the top right corner of the screen and some common sense to reach the home screen.these will take you to the home screen every thing here is in the Chinese language so now we have to change it to English to do this follow the images.
Where is the rom link? and is flashing china rom (Z2131) on Indian device (Z2132) will help to relock the bootloader?
RajuMon said:
Where is the rom link? and is flashing china rom (Z2131) on Indian device (Z2132) will help to relock the bootloader?
Click to expand...
Click to collapse
It's a pretty old ROM now.
There is 3.5 QPST available. Even that too would receive official OTA builds as the latest for Z2 Plus is 4.0.xxx
Thanks.
Can I flash a Chinese rom in z2 plus and relock the bootloader?
RajuMon said:
Can I flash a Chinese rom in z2 plus and relock the bootloader?
Click to expand...
Click to collapse
Yes official Chinese room flashing can relock the bootloader
Thanks, mate this is the answer what I'm looking for:laugh:
I am using ARROW Os (pie), Now i want to get back to official stock rom with locked bootloader plox help me how to do so.
JUST now I HAVE FLASHED Lenovo_Z2_Z2132_Q01017.1_M_ZUI_2.0.093_ST_160811_QPST with QFIL and it is showing error ownload Fail:Sahara Fail:QSaharaServer Fail:The directory name is invalid. plz help me
hilarioustiwari said:
I am using ARROW Os (pie), Now i want to get back to official stock rom with locked bootloader plox help me how to do so.
JUST now I HAVE FLASHED Lenovo_Z2_Z2132_Q01017.1_M_ZUI_2.0.093_ST_160811_QPST with QFIL and it is showing error ownload Fail:Sahara Fail:QSaharaServer Fail:The directory name is invalid. plz help me
Click to expand...
Click to collapse
Do you connect your phone to 9008 port

[GUIDE] Convert Mi A2 to Mi 6X [MIUI 10 Oreo] [MIUI 10 Pie]

Code:
/*
* Your warranty is... still valid?
*
* I am 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hey guys, Today I am creating a Guide on How to Convert Mi A2 to Mi 6X without triggering ARB.
This guide is based on Guide by @yunusasik(Telegram : @dejavutr ) so All credit goes to Him.
First of All Download the Convert.zip from here
All files needed to be replaced have already been replaced in convert.zip.
Then, Follow the Following Steps to Flash Mi 6X Firmware on your A2
First Make Sure you already unlocked bootloader flashing and flashing critical ("fastboot flashing unlock" and "fastboot flashing unlock_critical")
1) Install Qualcomm Driver (next next next) (Also Windows update can do this trick when you plug )
2) Install QPST (use setup from the QPST Alternative folder. )
(find QFİLL on start menu or qpst installed directory), open QFİLL from start menu or opst installed folder.
3) Select Flat Build Mode
Select Programmer File prog_emmc_firehose_Sdm660_ddr.elf ( already changed no arb risk )
Select XML files rawprogram0 and patch0.xml
4) Put the phone on the edl mode
navigate to ADB Folder and Open tikla.bat, it will open command windows in that directory.
Use "fastboot oem edl" command to Enter "Emergency Download Mode ( EDL )"
Press Download
When install finish. Power up the phone.
MIUI 9 Ready to BOOT (First boot may take time you can hard reset via pressing vol up - down and power together )
5) You dont need to setup miui 9 just go fastboot again (vol down + power ( when phone closed ) )
From this section you can either install MIUI 10 (OREO) or Custom ROM ( Which one you want )
Guide will be Resume about flashing MIUI 10 ( OREO )
Flash TWRP
" fastboot flash recovery twrpwayne.img "
" fastboot boot twrpwayne.img "
If twrp start chinese you can set language on that screen
6) Wipe / Advanced Wipe
7) System + Dalvik + Cache + Data + Internal
8) Flash MIUI 10(no arb).zip via adb sideload (put file into adb folder and use adb sideload MIUI 10 (no arb).zip) or put file on the
storage via mtp, if its works
" No need for gapps "
If you want root Flash Magisk.
Welcome to MIUI 10 without arb
You can use MiFlash Tool 2016 64Bit only this one works good others may stuck sometimes and risky because if you unplug when installing you have to use test point method for saving phone.
You can enable camera2api with "Camera2api enabler" on play store (ONLY MIUI 10 OREO)
If qfill installation somehow corrupt use "QPST Alternative" folder or Miflash from above
You can Download Newer MIUI Releases from here
Just make sure to delete the "firmware-update folder" using winrar etc.
-------
UPDATİNG TO MIUI 10 PIE
Download MIUI 10 PIE from here (if you are in mobile press "try download anyway" )
Open zip file and delete "Firmware Upgrade" folder from the zip (Most İmportant)
Boot into TWRP
Go Wipe / Advanced Wipe
Wipe "System + Dalvik + Cache + Data"
(Make sure you are using ext4 file system on Cache and Data partition)
Flash MIUI 10 Pie zip
Flash Hex Kernel download from here (We need this because we are not using fw update folder for updating kernel etc (because its trigger arb 4))
Flash Magisk if you want root
Reboot to system
Welcome to MIUI 10 Pie
You can check new mıuı eu updates from here.
For enabling camera2api on MIUI 10 Pie you have to edit build prop download this application from play store
Give root permissions
Search for HAL3 then change boot of them 0 to 1
Restart the phone.
For stable gcam use this
------
Converted Mi6X Indian Variant Camera FİX
1. Flash any custom ROM or MIUI 10 ROM firmware-update folder deleted.
2. Flash the zip from here via TWRP.
3. Reboot
------
Convert Back to A2
Download latest a2 stock rom.
Put phone to edl mode again (fastboot oem edl)
Flash stock rom via QFİLL with same method (Select .ddr and xml files from stock rom folder) and power up.
Done.
(If you have wifi camera or splash screen problems. Flash stockrom with miflash on fastboot (vol down + power ) again.)
(Alternative) You can use MiFlash Tool 2016 64Bit to convert back.
Select A2 stock rom folder.
Put phone to edl mode (fastboot oem edl).
Flash Rom when its done, power up the phone to fastboot (vol down + power ) and flash rom again. (for solving any camera wifi etc issue)
FAQ
Is there any alternative to this twrp ?
- Yes you can use alternatives, this one my fav.
Is there any alternative to this kernel ?
- Yes you can use NeonKernel, Reign Kernel or this EAS kernel from @rcstar6696
I got triggered ARB4 can I go back to A2 ? ( Unlocked Bootloader )
- Yes you can convert back to A2 with test point here is the guide for that. Thanks @powar19
If you have any questions feel free to ask.
Credits :-
1) @yunusasik Telegram : @dejavutr
2) @akshayakakat
For Support :-
1) https://t.me/mia26xBr
2) https://t.me/mia2official
3) https://t.me/mia2turkiye
Just converted 2 days ago using this guide. Works like a charm. Thanks
Guide works flawless no one should hesitate to do it.
Used this 2 days ago. Working perfectly without problems.
stuck at adb sideload in twrp,what to do bro?
Why would I want to do that?
Will it fix the A2 bugs?
Can i Install wayne aosp roms after applying this?
Sent from my Xiaomi MI A2 using XDA Labs
lsd95 said:
Why would I want to do that?
Will it fix the A2 bugs?
Click to expand...
Click to collapse
What bugs? For me it did solve an issue from A2, the slow micron storage.
Thanks for this guide!
stridedesu said:
What bugs? For me it did solve an issue from A2, the slow micron storage.
Thanks for this guide!
Click to expand...
Click to collapse
Like the proximity sensor bug, unlocking phone lag, gps with Google accuracy turned on...
dr460nf1r3 said:
Can i Install wayne aosp roms after applying this?
Click to expand...
Click to collapse
akshayakakat said:
You dont need to setup just go fastboot again
From this section u can either install miui 10 or custom rom guide will be resume about flashing miui 10
Click to expand...
Click to collapse
Seems like you can
I'm curious, how long does it take for QFIL to process MIUI9 stuff? I pressed download button and it's stuck or something for like an hour now.
alveola666 said:
Seems like you can
I'm curious, how long does it take for QFIL to process MIUI9 stuff? I pressed download button and it's stuck or something for like an hour now.
Click to expand...
Click to collapse
It does take a long time than Mi Flash. I check from time to time where it stopped and it does move a bit, like a snail's pace kind of slow.
lsd95 said:
Like the proximity sensor bug, unlocking phone lag, gps with Google accuracy turned on...
Click to expand...
Click to collapse
I do not have those bugs before I converted, so I can't help, sorry >_<
akshayakakat said:
Hey guys, Today I am creating a Guide on How to Convert Mi A2 to Mi 6X without triggering ARB.
This guide is based on Guide by @yunusasik so All credit goes to Him.
First of All Download the convert.zip from here
All the files needed to be replaced have already been replaced in convert.zip.
Then, Follow the Following Steps to Flash Mi 6X Firmware on your A2
1) Install Qualcomm Driver (next next next)
2) Install qpst (find qfill on start menu or qpst installsd directory)
3) Select Flat Build Mode
Select Programmer File prog_emmc_firehose_Sdm660_ddr.elf (already changed no arb)
Select XML files rawprogram0 and patch0 xml
4) Put the phone on the edl mode
navigate to ADB Folder and Open tikla.bat, it will open command windows in that directory.
"fastboot oem edl" make sure u have unlocked flashing and critical (check via fastboot oem device-info)
Press download
MIUI 9 Ready
5) You dont need to setup just go fastboot again
From this section u can either install miui 10 or custom rom guide will be resume about flashing miui 10
Flash Twrp
fastboot flash recovery twrpwayne.img
fastboot boot twrpwayne.img
If twrp start chinese you can set language there
6) Wipe / Advanced Wipe
7) System + Dalvik + Cache + Data + Internal
8) Flash MIUI 10(no arb).zip via adb sideload (put file into adb folder and use adb sideload filename.zip) or put file on the
storage via mtp if its works
" No need for gapps "
If you want root Flash Magisk.
Welcome to MIUI 10 without arb
If u wanna come back to Mi A2 just flash latest stock rom via qfill again.
U can use miflash but its stuck sometimes and risky because if u unplug when installing u have to use test point method for saving phone.
U can enable camera2api with "Camera2api enabler" on play store
If QFIL Does not work try QPST Alternative
You can Download Newer MIUI Releases from here
Just make sure to delete the firmware-update using winrar.
Credits :-
1) @yunusasik
2) @akshayakakat
For Support :-
1) https://t.me/mia26xBr
2) https://t.me/mia2official
3) https://t.me/indiamia2
Click to expand...
Click to collapse
stridedesu said:
It does take a long time than Mi Flash. I check from time to time where it stopped and it does move a bit, like a snail's pace kind of slow.
I do not have those bugs before I converted, so I can't help, sorry >_<
Click to expand...
Click to collapse
I remember reading a thread related to sensor issue. There is already a post regarding this sensor issue in this forum. probably u need to re-flash the persist .img from fastboot but dont do it just blindly. rather search the forum and refer to that thread before proceeding.
very goo guide, simple and easy... but i reverted to mi A2 because MIUI did not have some featured i needed and now i have a "problem"... i dont have fastboot image and boot image sometimes is a black screen or the Mu logo and then starts the android one bootanimation, how can i fix that? thx
jesan9 said:
very goo guide, simple and easy... but i reverted to mi A2 because MIUI did not have some featured i needed and now i have a "problem"... i dont have fastboot image and boot image sometimes is a black screen or the Mu logo and then starts the android one bootanimation, how can i fix that? thx
Click to expand...
Click to collapse
Reflash rom with fastboot, not use edl.
Use miflasher or qfil
Enviado desde mi MI 6X mediante Tapatalk
What about the cameras? Do we need to flash the camera fix ?
akshayakakat said:
Hey guys, Today I am creating a Guide on How to Convert Mi A2 to Mi 6X without triggering ARB.
This guide is based on Guide by @yunusasik so All credit goes to Him.
First of All Download the convert.zip from here
All the files needed to be replaced have already been replaced in convert.zip.
Then, Follow the Following Steps to Flash Mi 6X Firmware on your A2
1) Install Qualcomm Driver (next next next)
2) Install qpst (find qfill on start menu or qpst installsd directory)
3) Select Flat Build Mode
Select Programmer File prog_emmc_firehose_Sdm660_ddr.elf (already changed no arb)
Select XML files rawprogram0 and patch0 xml
4) Put the phone on the edl mode
navigate to ADB Folder and Open tikla.bat, it will open command windows in that directory.
"fastboot oem edl" make sure u have unlocked flashing and critical (check via fastboot oem device-info)
Press download
MIUI 9 Ready
5) You dont need to setup just go fastboot again
From this section u can either install miui 10 or custom rom guide will be resume about flashing miui 10
Flash Twrp
fastboot flash recovery twrpwayne.img
fastboot boot twrpwayne.img
If twrp start chinese you can set language there
6) Wipe / Advanced Wipe
7) System + Dalvik + Cache + Data + Internal
8) Flash MIUI 10(no arb).zip via adb sideload (put file into adb folder and use adb sideload filename.zip) or put file on the
storage via mtp if its works
" No need for gapps "
If you want root Flash Magisk.
Welcome to MIUI 10 without arb
If u wanna come back to Mi A2 just flash latest stock rom via qfill again.
U can use miflash but its stuck sometimes and risky because if u unplug when installing u have to use test point method for saving phone.
U can enable camera2api with "Camera2api enabler" on play store
If QFIL Does not work try QPST Alternative
You can Download Newer MIUI Releases from here
Just make sure to delete the firmware-update using winrar.
Credits :-
1) @yunusasik
2) @akshayakakat
For Support :-
1) https://t.me/mia26xBr
2) https://t.me/mia2official
3) https://t.me/indiamia2
Click to expand...
Click to collapse
Does the camera work for indian user???plez reply
megaxp said:
Reflash rom with fastboot, not use edl.
Use miflasher or qfil
Enviado desde mi MI 6X mediante Tapatalk
Click to expand...
Click to collapse
oh ok! well i used qfill, i will try to flash it with fastboot
i'll try it tomorrow.
in advance, if we can enable camera2api we can install gcam without problems, right?
Can this guide be followed on stock pie?
EDIT:
Nevermind, the method works on pie
But I am not able to use camera. Any tips?
EDIT2:
Nvm, I figured it out. Enabled camera2api, and flashed whyred miui camera in magisk.

[Rom][9.0] Android One for MI CC9e ported from MI A3

Hey guys,
The Xiaomi Mi A3 (laurel_sprout) is exactly the Xiaomi Mi CC9e (laurus) with the only difference being the Mi CC9e runs MIUI while the Mi A3 runs on stock Android.
Thanks to Project Treble developed by Google, the two devices now have the ability of converting to each other. In previous versions of Android, devices that didn't support A/B updates could mount the system image under the /system directory. In Android Pie, the root of the system image is mounted as the root of the device.
Xiaomi Mi CC9e has been used the partition layout called "system-as-root" which means we could flash a A/B system image into it, while Xiaomi Mi A3 has been used typical A/B slot partition layout.
Now let's get rid of MIUI and experience stock Android One based on Android Pie.
Steps:
0. Make sure you have done the three things below.
Your device is Xiaomi Mi CC9e (laurus).
The bootloader of your devices has been unlocked.
The "Find My Phone" function has been disabled.
1. Flash China Developer Edition MIUI
No matter which version of MIUI your device is running, download the latest official China Developer Edition MIUI and update to it. This will update your device firmware.
Full-OTA Rom Download Link (China Developer Edition 20.1.16)
Download the zip file to /sdcard/Download folder, make sure you have already backup important data, make sure you have login MIUI account.
Open Settings-My Device-MIUI version, click the MIUI logo for 5 times, then click the icon in upper right corner, choose "Update from local rom" (or a similar description), locate to /sdcard/Download folder and choose your downloaded rom. The device will update automatically to China Developer Edition MIUI.
2. Flash TWRP Recovery
Download Android SDK Platform-Tools from official Google website or Google Drive. Extract to a folder that does not contain Chinese characters in the path.
Download TWRP Recovery for Xiaomi Mi CC9e from Google Drive, copy to the same folder as above.
Thanks to TWRP Developer: wzsx150
Fully shutdown your Xiaomi Mi CC9e and hold the power and volume - keys simultaneously until you see a fastboot logo on the screen, then connect your phone to the computer.
Open your Windows CMD or Windows Powershell or Linux Terminal or macOS Terminal, use cd command to locate to your extraction folder.
First, type the code below to detect your devices connected to the computer.
Code:
fastboot devices
Then, type the code below to flash TWRP Recovery to your Xiaomi Mi CC9e.
Code:
fastboot flash recovery TWRP_Recovery_for_laurus.img
Then, hold the volume + button and type the code below to reboot to recovery.
Code:
fastboot reboot
Maybe you will see the logo of TWRP Recovery twice, don't worry, just hold the volume + button until you see some blocks. Then click the block named "清除" (Clear) then "清除 Data 数据" (Clear Data), type "yes" and slide to clean your data partition.
Then, type the code below to reboot to recovery.
Code:
adb reboot recovery
3. Flash Xiaomi.eu Rom
You can change the language of the TWRP Recovery in the menu named "设置" (Settings) or you can just follow my steps if you don't understand Chinese.
You'd better download the same version of Xiaomi.eu Rom as the China Developer Edition MIUI you have flashed before.
Xiaomi.eu Developer Edition Rom Download Link
Example:
You have flashed China Developer Edition MIUI 20.1.16 in step 1, so you need to download the same version of Xiaomi.eu Rom from here.
Download the zip file to your computer, make sure you have already backup important data of your Xiaomi Mi CC9e.
Transfer the zip file to the phone, then click "安装" (Install) of the TWRP Recovery from the phone, find the zip file you just transferd and click it, silde to flash the Xiaomi.eu Rom.
Don't reboot or shutdown! Just continue.
4. Flash Xiaomi Mi A3 Official Rom
Download Payload_Dumper to the computer and extract to a folder that does not contain Chinese characters in the path.
Download the latest Xiaomi Mi A3 official rom to the computer, extract the payload.bin file to folder named "payload_input" of the extraction folder above.
Full-OTA Rom Download Link (Global Edition V10.3.13.0) (January 2020 Security Patch)
Run payload_dumper.exe until the command window close automatically, copy system.img from the folder named "payload_output" and transfer to the phone.
Click the button named "清除" (Clear) of the TWRP Recovery, just slide to clear data and cache partition, then click "安装" (Install) then "刷入 Image", choose the system.img you have just transfered, select the "System 镜像" (System Image) option, then slide to flash.
After flash system image, click the button named "清除" (Clear) of the TWRP Recovery, just slide to clear data and cache partition.
Don't reboot or shutdown! Just continue.
5. Flash Magisk
You HAVE TO flash Magisk to successfully boot.
Download Magisk V19.4 from official GitHub Release Page, transfer to the phone.
Click "安装" (Install) of the TWRP Recovery from the phone, find the zip file you just transferd and click it, silde to flash Magisk.
DON'T flash Magisk V20.x ! You won't boot successfully.
If you want, you can clear the cache and dalvik cache partition, but DON'T clear data partition after flashing Magisk.
6. Reboot to system
Enjoy your Android One!
Quite inspring. A good way to get newer security patch by flashing MIUI EU first.
thanks bro. yohuu. I got it
Can't see your tutorial code
The brushing was successful, but the minimum brightness is very bright. Glare. The video player cannot adjust the brightness.
HuiXiaQing-Liu said:
Can i convert our mi a3 to cc9e by doing this method???
Click to expand...
Click to collapse
Meraj018 said:
HuiXiaQing-Liu said:
Can i convert our mi a3 to cc9e by doing this method???
Click to expand...
Click to collapse
No
Click to expand...
Click to collapse
Can I change to the mi A3 android 10 recovery rom?
I was unable to update to china developer rom from my current china stable rom. so I u can see I failed in the step 1. Plz need help.
TWRP bootloop
Hello!
First of all, thanks for doing the hard work to make this tutorial.
Unfortunately my phone got stuck in a TWRP bootloop at the last stage of the process and I can't get out of it!
Things that were successful when I followed the steps in the tutorial:
unlock/installing twrp/installing Chinese ROM (20.1.16)/ installing 20.1.16 eu ROM (this successfully booted)
BUT since I installed Android One 10.3.13 (LaurelSprout Global) (no errors - I did follow the extraction of system.img process)), and then Magisk 19.4 (no errors) my phone has been stuck in TWRP boot loop. Each time the device is booted it goes direct to TWRP. Please help!
THINGS I've tried:
Flashing the EU and China MIUI roms (20.1.16). Still won't boot.
I've tried using Magisk uninstall. I've done factory reset multiple times, and wiped data etc. No luck.
I also (perhaps stupidly) wiped the System partition at one point.
OTHER info: FastBOOT can be booted with the button combo.
but ADB doesn't find my device.
Can someone please help me return to a working android image?
UPDATE:
I managed to restore my phone using MiFlash to flash the FASTBOOT China stock system image (V11.0.2.0) from flashxiaomi dot com.
At the time the phone was stuck in a Fastboot loop ( I couldn't get into TWRP anymore), and periodically it would automatically reboot and go straight back into fastboot.
I'm back to where I started now. May try this process again soon.
Daily Driver?
Is anyone successful? Is it OK to use it as a daily driver?
Still works? As of June 6th. Thanks in advance
Hello, is that method still work?
Can I get system updates , educate me how to get update after doing this methods.
Hello, I changed my CC9E ROM to Mi A3 via this method, how to upgrade from Android 9 to Android 11. Thanks.
Can i install custom rom of Mi A3 with this way ? Or can i found CC9e Rom in somewhere ? I want install Pixel experiment

Xiaomi Mi Mix 3 5G - Phone currently stuck in Mi-Recovery loop

Hi everyone,
I've been trying to prep my phone in readiness to flash a custom rom and got this far:
Ensured latest firmware is installed
Unlock bootloader
ADB and Fastboot prep
Flash and boot twrp-3.5.2-andromeda.img
Full backup taken in TWRP
However, whist trying to use ADB sideload to move the amaneded vbmeta.img file onto my phone it glitched out. Now my phone will go into Fastboot (when pressing 'volume down' button and 'power' button), or if I don't intervene the Mi-Recovery 3.0 screen.
When in Fastboot the command "adb device" on my PC in command prompt no longer works:
Before:
List of devices attached
7586a90b device
After:
List of devices attached
So I can't flash anything to it via ADB.
If I choose reboot in Mi-Recovery 3.0 the phone restarts and I just get stuck in a loop.
Can anyone provide some advice on what I can do next to try and recover my device, please?
Cheers,
fitzy-boy
I managed to resolve this by downloading the Mi Flash Tool from here:
Download Xiaomi Mi Flash Tool (all versions)
Download Xiaomi Mi Flash Tool (all versions) to flash Fastboot Stock Firmware on any Xiaomi Devices. Download v20180528, v20181115, v20191030, v20200314.
androidmtk.com
Most recent version at the time of writing is:
MiFlash20210226
I then downloaded the latest MIUI stock ROM from here:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Most recent version at the time of writing is:
andromeda_eea_global_images_V12.0.7.0.PEMEUXM_20210526.0000.00_9.0_eea_3bae1ef62a
I then used 7-zip to unpack the andromeda_eea_global_images_V12.0.7.0.PEMEUXM_20210526.0000.00_9.0_eea_3bae1ef62a.tgz file
And used 7-zip again to unpack the
andromeda_eea_global_images_V12.0.7.0.PEMEUXM_20210526.0000.00_9.0_eea_3bae1ef62a.tar file
to gain access to the folder structure needed.
I then used the instructions here to flash the stock ROM back onto my phone:
How to use Xiaomi MI Flash Tool
Step-by-Step guidelines to use Xiaomi Mi Flash Tool to flash stock firmware on any Xiaomi Smartphone and Tablets running on Qualcomm Chipset.
androidmtk.com
Cheers,
fitzy-boy
fitzy-boy said:
I managed to resolve this by downloading the Mi Flash Tool from here:
Download Xiaomi Mi Flash Tool (all versions)
Download Xiaomi Mi Flash Tool (all versions) to flash Fastboot Stock Firmware on any Xiaomi Devices. Download v20180528, v20181115, v20191030, v20200314.
androidmtk.com
Most recent version at the time of writing is:
MiFlash20210226
I then downloaded the latest MIUI stock ROM from here:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Most recent version at the time of writing is:
andromeda_eea_global_images_V12.0.7.0.PEMEUXM_20210526.0000.00_9.0_eea_3bae1ef62a
I then used 7-zip to unpack the andromeda_eea_global_images_V12.0.7.0.PEMEUXM_20210526.0000.00_9.0_eea_3bae1ef62a.tgz file
And used 7-zip again to unpack the
andromeda_eea_global_images_V12.0.7.0.PEMEUXM_20210526.0000.00_9.0_eea_3bae1ef62a.tar file
to gain access to the folder structure needed.
I then used the instructions here to flash the stock ROM back onto my phone:
How to use Xiaomi MI Flash Tool
Step-by-Step guidelines to use Xiaomi Mi Flash Tool to flash stock firmware on any Xiaomi Smartphone and Tablets running on Qualcomm Chipset.
androidmtk.com
Cheers,
fitzy-boy
Click to expand...
Click to collapse
Hi sorry to bother you but its years since i have been on here and not even sure if im posting in the right place so let me apologise just in case, i have a similar problem my phone glitched Mi Mix 3 5g, and i had to do a factory reset then came the moment when it asked to activate this device with password could not remember password went into Mi Account and changed password no luck tried this 3 times with no luck, then someone told me to delete the Mi account and start again which i did and to be honest this has massively complicated the issue, i got in touch with Xiaomi and told them what had happened sent them imei number proof of purchase, and photos of activation screen , and to be honest its like talking to a brick wall all they keep telling me is change the password on the Mi account done it numerous times to no avail ,but my new account is not associated with this phone its the deleted account that is associated with this i would be most grateful for any advice as this phone is in immaculate condition thanks in advance....

Resources