how to flash rom from Xiaomi china stabal + er rom global stabal - Xiaomi Mi 5s Guides, News, & Discussion

I Method 1
1. bootloader unlock your device
2. put the device in fastboot mod
3. Unzip the rom x2 times (unzip with winrar)
4 flash rom with miflash tool 64b (win 7)
II by 2
1. A device placed in the EDL mod (you need to be prepared to use wire cables blue and black)
2. flash rom with miflash tool 64b (win 7)
no need to unlock the bootloader
Clearance china stabla link http://bigota.d.miui.com/V8.0.18.0....AGCNDI_20161122.0000.00_6.0_cn_67352be4ef.tgz
Eu rom global flash III
1 place in fastboot devices
2 flash twrp
3 boot twrp
4 flash eu rom
https://www.androidfilehost.com/?fid=529152257862678079 link
good luck

Related

Redmi 3 Pro Considerations - Flash global ROM with BOOTLOADER LOCKED

I've tried some things on my Xiaomi Redmi 3 Pro and I want to share them if helpful for someone.
I've done all this with Xiaomi.eu Rom and SMIUI
///// I'm not accountable for any problem on your phone, do it at your own risk! \\\\\​
1 - Button combinations (unplugged from pc):
vol+ & vol- & power = force shutdown if in fastboot or download mode, if powered-on it's a restart
vol- & power = from switched-off phone goes in fastboot (from there you can launch another combination: vol+&vol- while launche cmd: fastboot.exe reboot)
vol+ & power = preload\ bootload mode (the yellow screen where to choose recovery\ fastboot\ download mode)
2 - For any type of problem \brick \ bootloop be sure before about this:
A) if you run the phone in fastboot mode, check if you can see it in fastboot command line from pc (cmd: fastboot devices)
B) if you run the phone in download mode, check if you can see it from miflash
If these point are ok this means the pc is ready to see the phone if you softbrick it or it goes in bootloop.
You will be always able to run it in fastboot mode, then download mode, an flash any rom to the phone that works.
3 - What you need?
Install last version of MiFlash, here a guide: http://en.miui.com/thread-272376-1-1.html
Install MiPCSuite in english, here the link: http://pcsuite.mi.com/
If you have problems with ADB, install ADB drivers, here the link: http://forum.xda-developers.com/showthread.php?p=48915118#post48915118 or http://forum.xda-developers.com/showthread.php?t=2317790
If you have problems with hs-usb qdloader 9008 driver, try to install from here: http://www.androidbrick.com/download/qdloader-hs-usb-driver/
Download and upack Android.Image.Kitchen for Windows, from here: https://mega.nz/#!McAj2SZT!E4XS7II27BjkjSHS2vcBnE6Tgvl8IZBhCD2wEKBchpA
Download TWRP 3.0.2.0 for MiFlash: https://mega.nz/#!cF4VVQiY!zrq2DTQRBX3UHRPOXN1dDNWiTn5tnoPxUfrHF_Rsnq4
Download ROM from different links:
http://en.miui.com/a-234.html (miui china stock, BL Locked)
https://www.androidfilehost.com/?w=files&flid=36337 (Xiaomi.eu with Gapps, no Bloatware, BL unlocked)
http://smiui.net/kitchen.php(Xiaomi.eu + other stuff)
Install Notepad++
4 - Prepare ROM:
As suggested by the user Jack0190 there are ROMS where is not needed to mod this files, like for "Xiaomi redmi3 pro locked multilanguage" roms.
Searching on web you can find them quickly, just be aware that there are some roms that have problems with SIM recognize. This comes from an old Thai \ Indian MIUI.
I've seen first this thread on en.miui, http://en.miui.com/thread-276565-1-1.html , where explains how to modify ROM to change the bootloader check. The guide explains very good how to modify the "boot.img" file of roms.
So just follow those steps.
I've seen that you can do it for both types of rom, for Recovery and MiFlash too.
For the recovery ROM, you have a file to open in 7Zip, copy the "boot.img" from it, modify it as explained in the guide, and re-copy in the zip file again.
While for the one for Miflash, it's easier; extract the rom, copy the "boot.img" file from \image folder, modify it with, and change it in the original folder. Then flash it with Miflash.
5 - Connect phone in Fastboot with pc:
One thing that always will save you is the ability to connect phone in fastboot mode.
Before start the phone in fastboot mode with cable unplugged (point 1).
Once you've installed Miflash, go on it's directory folder (C:\Program Files\Xiaomi\MiPhone\), and run cmd from there (shift+right mouse click).
Connect phone to pc.
Then run command "fastboot.exe devices" and if the result under the line on left is a code, the phone is recognized
6 - Force Download Mode from fastboot:
To force the phone to go in dowload mode, first run it in fastboot (point 5), check if it's recognized (point 2-A), then type but don't run command "fastboot.exe reboot".
Now push vol+ & vol- in the same time, and now run the command.
If it runs in the right mode, you can see it's connected by device manager under "Ports (COM &LPT)" section.
You will see "qdloader 9008 driver" with a COM port installed. The same port you will see in Miflash if you run it and push the "refresh button".
7 - Flash Job:
A) First you need to flash the recovery, TWRP, and to do this you should already have done this things:
Install Miflash, MiPcSuit
Your phone is right seen in fastboot and in Miflash in download mode.
You have downloaded the right versione of TWRP for MiFlash.
B) Flash TWRP with Miflash
Select in Miflash the button "Browse" and go to the folder "\Image"where you have extracted the TWRP zip
Click "Refresh"
Click "Flash"
Wait to complete (If it fails sending hello packets, it's because it's too much time the phone is in download mode, in this case, switch it off, e restart in Download mode and re-do all )
C) Copy modified ROM:
Now, I've done this step by OTG connection but there are more ways to do it:
Connec and mount an USB Drive in OTG
Push it by ADB
Copy it by SD card
If the old ROM still works, copy it in MTP connection
if none of this options is available, flash the Rom with Miflash, flash again TWRP recovery, run recovery, wipe cache and dalvik (factory reset option under "Wipe") and try to run system, it should run last system flashed.
D) Flash modified rom by recovery
E) Restart in system (It could take long time, even 10 minutes, so just wait for it)
Thanks to all users\ people helped me with different guides from XDA and other forums.
I' m sorry for no image, but it's not an official guide.
If something is wrong I'll change it asap, but don't blame me, these are just advices.
If it's not enough clear, search it on web.
If there are grammar errors, the Image verification confirms "I'm not a robot"
If you don't find the answer, then it's 42.
After mod, i can flash rom update from recovery?
Inviato dal mio GT-I9505 utilizzando Tapatalk
Just wanted to say thank you - This guide works. I tried it with a new redmi 3 pro with locked bootloader. You can skip step 4 if you want to, because there are some prepared images available (search for "xiaomi redmi3 pro locked multilanguage" and you will find them).
Also to note: The first boot of the new system took some long time (~ 10-minutes), so don't get frustrated. As long as there's the android logo with the three dots wandering around, everything should work fine.
- Jack
RuLe89 said:
After mod, i can flash rom update from recovery?
Inviato dal mio GT-I9505 utilizzando Tapatalk
Click to expand...
Click to collapse
not sure about this, I've flashed the last version available, so i don't have updates for now to test.
But i think that it could overwrite files modified.
This is what in some guides tells.
Jack0190 said:
Just wanted to say thank you - This guide works. I tried it with a new redmi 3 pro with locked bootloader. You can skip step 4 if you want to, because there are some prepared images available (search for "xiaomi redmi3 pro locked multilanguage" and you will find them).
Also to note: The first boot of the new system took some long time (~ 10-minutes), so don't get frustrated. As long as there's the android logo with the three dots wandering around, everything should work fine.
- Jack
Click to expand...
Click to collapse
Thanks to you, I've updated with what told. I've tried some of ROMs for locked bootloader, but was an Indian \ Thai version, and I had issues with SIM, no recognize.
That's why it was needed for me to use other rom for unlocked bootloader.
Hi, thanks for the guide. It seems like it'd be the only decent I could come across for my problem.
The only thing is that everytime I try to flash any ROM/image through MiFlash, I get the error:
Code:
Error loading type libary/DLL.(0x80029c4a: wait port ready to use <time in seconds>)
So far I haven't found anything or anyone that could help me with this. Can any of you help me out here? That'd be much appreciated.
Thanks~
----------------------------------
::Edit::
Alright, turns out I just had to do this:
1. Uninstall the Qualcomm drivers
2. Reboot Windows into "test mode"/Disabled driver signature enforcement
3. Reinstall the Qualcomm drivers
4. Flash device (phone in download mode)
5. Be very pacient. Waiting through the phone's boot phase
(took about 10 minutes; if it takes more than 15 minutes, then something is probably wrong. Try to enter download mode and flash it again.)
6. Redmi 3 working again
Okay, so, this worked for me, it doesn't mean it'll necessarily work for you!
This was done with a locked bootloader and MiFlash 2015.10.28.0

How To Flash Fastboot Rom on Redmi Note 3 (WITHOUT USB DEBUGGING AND LOCK BOOTLOADER)

Earlier in this week a friend of mine gave me a Redmi Note 3 pro that was pattern lock.
I tried the traditional hard reset hoping to reset pattern lock, but was unable too.
Since the bootloader was locked it was not able to, due to the issue of not being able to go to the recovery menu.
I tried to flashing a fastboot but couldn't because the bootloader was locked.
After some extensive researching throughout the forum I decided to put what I gathered up
and put it to use, I tried a few different methods and came up with many errors. the conclusion is
I figured a method that worked perfectly without having the usb debug mode on.
Perquisites
(note: I only done it on the Redmi Note 3 pro, but i'm sure it will all work the same since the tools are used for all xiaomi devices)
1. Redmi Note 3 (it should work on all xiaomi devices)
2. PC with windows x64 (I did it on Windows 10 x64)
3. MiFlash_2016.03.30.exe
4. Fastboot 7.1.8 rom (get correct rom according to your device, my device is the redmi note 3 pro and use global seem to work best)
Note: Fastboot 7.2.5 Rom is now available, you can use that and skip ota modifying and flashing part:Fastboot 7.2.5 rom
5. unlocked_emmc_appsboot.mbn Recovery flashable
6. Minimal adb and fastboot (or any adb installation)
7. adb edl boot file
8. install necessary drivers
you can find majority of the files in the link below (except fastboot_edl.zip it is provided below). provided by Sudeep Duhoon
http://forum.xda-developers.com/redmi-note-3/how-to/unlock-bootloader-twrp-root-7-2-3-t3359492
1. first thing you want to do is put your device into fastboot mode, by holding vol down and power button together until device reboots.
it will then shows a anime image of a rabbit and droid being repaired.
since you don't have usb debugging enable, using adb commands in terminal won't recognize the device properly.
(don't worry about this, because it does in a sense recognizes your device in a sense... for me it says cannot find null or something in that manner with null)
2. what we want to do is put our device into fastboot edl mode so we can begin the process of flashing a fastboot rom.
I have provided a link for the fastboot edl boot file that runs the command automatically for you. after downloading the file,
extract it to a folder. located the folder and open edl.cmd, it will automatically put your phone into fastboot edl mode.
(As long as edl.cmd can put your device into fastboot edl mode, you are in the clear.)
3. Next is download proper fastboot rom for your device and extract the files to a foldering using 7z.
located the folder open it and go into the image folder.
4. Download unlocked_emmc_appsboot.mbn Recovery flashable, and extract it to the image folder of
your fastboot rom, it will ask you to replace click yes. if it turns up a error, extract the file to your desktop,
cut and paste the file into the image folder and click yes to replace /overwrite the file.
5. follow the step 10 only in the unlock bootloader from this link http://forum.xda-developers.com/showpost.php?p=66379587&postcount=3
after the flash is finish you are introduce with newly flash and unlocked device.
if the device happens to brick you can always put your device into fastboot mode.
and run the command fastboot aboot emmc_appsboot.mbn
to take yourself out the brick or try reflashing again.
there are many other great articles or fixing your bricked devices or flashing a rom.

[guide] readmi note 3 > complete dead to custom rom with locked bootloader

Needed Things
1. Mi Deep Flash Cable
2. FastBoot Rom(Preferable Latest MIUI rom, except where any specific guide requires otherwise);
3. Win 10 x64 (tested) (or win 7 x64 (not tested)) with qpst, .net3.5, miflash Latest version(as far as it officially supports rn3)
How to Come out of 900e Mode(absolute dead no fastboot/edl/logo only red blink on charge and usb)
1. Connect the phone with pc;
2. now press power button till device shows up under "com ports" in 900e mode
3. disconnect the device now use deep flash cable(do do do check that no wire other than green and black/blue are touching
each other) make green and black(blue in my deep flash cable) and insert usb in ur device keep wires touched for 10 secs
then set them apart:
4. now you should see, device showing in 9008 mode.
5. now go to miflash tool press refresh;
6. select the fastboot rom folder;
7. in down-right corner from dropdown select "flash_all_andlock";
8. press flash;
9. wait for flash to complete;
10. hurray here is your out-of-box device ;
How to get twrp in Locked Bootloader
Note :-
- rom must be global beta ( tested on 6.11.3);
- zcx recovery is confirmed working;
Steps :-
-In above guide just replace recovery in fastboot rom with zcx recovery and flash;
- If something goes wrong follow the above guide;
How to get ANY Custom Rom/kernel On Locked Bootloader
1. After you Installed Twrp From Above just backup all partitions of your phone(highly recommended);
2. Wipe /system, /data, /Dalvic cache(skip this step if you just want custom kernel with MIUI);
3. Install firmware then install which ever Rom, Kernel you want ;
Note:- if something goes wrong no problem just follow the above 900e mode guide .
Note :- this thread is made after i unfortunately got my kenzo dead(though with 100s of others it worked) from this thread
https://forum.xda-developers.com/redmi-note-3/how-to/kate-guide-install-lineage-os-locked-t3546154
Download links (Credits :- @khajiit)
MIUI 6.11.3
http://bigota.d.miui.com/6.11.3/ken....3_20161103.0000.00_6.0_global_f7309f8161.tgz
ZCX TWRP
https://forum.xda-developers.com/redmi-note-3/how-to/zcx-twrp-install-twrp-flash-supersu-t3462448
MiFlashtool
http://en.miui.com/thread-345974-1-1.html
Firmware for custom rom
https://forum.xda-developers.com/redmi-note-3/how-to/cm14-14-1-aosp-n-firmware-kenzo-kate-t3507789
Few days ago,mine too got complete dead after restoring RR 5.8.2 above xiaomi.EU 5.1.1 ROM.used the way deep flash cable and it magically solved.thanks to Raju Mondal .u just manipulated it

Help Unbricking Redmi Note 7 (Lavender)

Hi, last night mi friend tried to restore his Redmi Note 7 (lavender) back to MIUI using MiFlash, he was coming from a custom ROM, he ran onto some problems and interrupted the flashing process. The phone is stuck in a bootloop, has the booloader locked and can only access to fastboot and Redmi-Recovery.
We have tried almost everything with no success, mostly because the bootloader is locked, the Mi Flash Unlock tool didn't work, flashing with Mi Flash also didn't work and trying to manually flash the firmware did nothing. Right now we're planning on following a guide you can find in XDA's Redmi Note 7 forums, we're going to open the back of the phone, connect the test-points and proceed with the flashing, but we wanted to know if someone knows one of two things, if not both:
a) This method does work
or
b) There is a better method.
A few extra things:
Redmi-Recovery has "This MIUI version can't be installed on this device" written in red. We're using the GLOBAL firmware for this process, the phone is supposed to work with this version, it is the version he bought.
Try chinese firmware or rom it may work
You have probably solved this issue already but ill still type it here for others
To get the official ROM for the correct phone model you have to go here
Xiaomi Community
c.mi.com
and find the model you want
Its a zip file
For the flashing process:
REQUIREMENTS : Twrp, pc with fastboot & adb, a usb cable
1) flash twrp as recovery, if you dont know how XDA has you covered
How to install TWRP recovery on Android smartphones
Installing TWRP on an Android device is the first step towards custom development.
www.xda-developers.com
2) download the ROM in pc and transfer it in the phone in a folder of /sdcard or the internal storage (remember it!)
While you are in Twrp the device in essentially powered up and detected by a pc
3) In twrp go to install
select the file you put the ROM.zip in
and swipe the bar in he bottom to confirm the flash
Wait for the terminal to write "...Done"
4) Reboot to system

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....

Categories

Resources