Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Monday, October 16, 2017

XiaoMiTool - Automated Flashing Tool


7
XiaoMiTool - Automated Flashing Tool [RELEASED]


“XiaoMiTool, Xiaomi rom changing made easy” That’s the tag line of the new MIUI Flash tool called XiaoMiTool. And it helps you to flash MIUI ROM on any Xiaomi Phone without any problems, Root any Xiaomi MI phone and even install the TWRP recovery on MI or Redmi phones. In simple word, we can say that an All in One tool for the Xaiomi phones. If you are trying to Flash MIUI ROM on your Xiaomi phone with the help of MI Flash tool and getting some errors, then you must have to use this tool.

This small tool will automatically detect your Xiaomi phone device info, ROM which is available to install, which installation method to use and everything that is normally user’s job. We tested this tool on our Redmi Note 4 and rooted our phone with TWRP recovery and flash the latest MIUI GLobal ROM without any error. And all that without using the MI Flash tool. Yes with this free tool you can flash MIUI ROM on the phone without Using the MI Flash tool.




No need to search for the ROM on the internet, it automatically searches the ROM for your and all you have to select the ROM which you want to install on your phone, and it will do all the thing step by step on your phone. Here in this guide, we will show you how to use this Application on your windows desktop and Flash MIUI ROM on Xiaomi phone without using the MI Flash tool.




FAQs:


- Does it work for my device?
This tool is designed to work with the majority of Xiaomi devices, just try it. It only works for Xiaomi devices!



- Can I install this rom if I have this and this...?
Just try, the tool will tell you which rom can be installed.



- Do I need to download anything apart this tool?
No. Just the tool, if you want to install no miui roms (such as lineageos) you need to download them as well.



- Which languages are available? 
English, Italian, Portuguese. More coming



- Does this tool unlock the bootloader?
This tool includes official Xiaomi unlock tool, so you still need to have an authorized xiaomi account and bind it to your smartphone.



- This software is recognized as virus from my antivirus!
No worries, it's a false positive. If it gets reported or blocked, you might want to disable your antivirus before using it.



- This program can be installed but not uninstalled, why?
Uninstaller is not ready yet, if you want to uninstall just delete C:\xiaomi\XiaoMiTool folder.



- English translation is pretty bad...
I know, my English is pretty bad.



- This tool doesn't work...
Sorry to hear that, just go back to old manual modding and leave a comment with error codes please. 



- Do I need to backup my data?
YES! All apps and data will be lost. In some cases internal storage (photos and files) may be kept, but backup those as well



- Can my device get bricked? 
yes, but with very small probability (if very delicate process like edl/fastboot flash gets interrupted). No reports of bricked device yet.



- Can I share this tool?
Yes, you do a favor to me, you can just copy paste this message or do whatever you want. Just let my donation link 



- I need to install lineageos with google services and supersu, how can I do that?
Just select zip file installation and select the files, then make sure they are ordered as needed (rom, gapps, supersu)




Features of XiaoMiTool


XiaoMiTool automates the sometimes difficult procedure which is needed to change rom and you can use it to:


  • Install official roms (Global stable/developer or China stable/developer)
  • Install Unofficial Xiaomi.eu roms (stable/developer)
  • Install any other twrp flashable rom (such as lineageos, resurrection remix, …)
  • Install custom recovery (TWRP or else)
  • Unlock bootloader*
  • Lock bootloader



XiaoMiTool can use different ways to install rom on your device and the right way is automatically detected:


  • Fastboot flash
  • Emergency mode flash (EDL)
  • Stock recovery flash
  • TWRP recovery flash
  • Fastboot unlock (via MiFlashUnlock)/lock



XiaoMiTool retrieve your device info to automatically fetch:


  • Fastboot official rom
  • Recovery official rom
  • Xiaomi.eu roms
  • Official/non-official TWRP
  • Latest SuperSU




Prerequisite to use Xiaomi Tool


1. Make sure your Xiaomi phone bootloader is unlocked.  Unlock Your Mi Device


2. Do take the full backup of your phone. You will lose all you data so save it on your PC.




4. Enable the USB debugging mode. Go to your phone settings > About Phone > Locate Miui Version and tap seven times on it.


After that, you will get a message “You have enabled developer option” on your device screen.
Go back to main Settings.
Open Additional Settings, and tap Developer options to enable it from there.
Scroll down to find USB Debugging option and allow it.






Download XiaoMiTool to Flash MIUI ROM easily


To get started all you have to download the Xiaomi Tool on your Windows PC and Extract the zip file on your desktop. And run the Setup file to install the Application on your desktop.







How To Flash & Unbrick Xiaomi Phone [Tutorial]



Greetings MIUI Lovers and Xiaomi Users,

Note: It has been reported that beyond MIUI V8.1, Developers has removed Download Mode (EDL), please try it at your own risk.

Steps for Flashing/Unbrick Redmi 4/Prime/4A: (This can be used to flash from China Rom to Global Rom, or Tampered Rom to Original Rom)

Please be noted I will not take any responsibility for anything happened to your device. Use Windows 64-Bit, users having issue on 32-Bit Windows. You may face this error " Not enough storage to process this command"

Important: - Before flashing it is advised to take the backup of data and make sure that your phone battery is charged enough.


You need to Start your Phone in Download Mode.(Not Fastboot Mode)


Do The Following.
1. Go to the Recovery Mode by Volume Up and Power button.
2. Click Download from Screen
3. Plug USB Cable to PC
4. PC will install the device driver, let it do its job




On your PC do these next steps:

1. Open Device Manager and Phone will be detected as QHUSB_BULK under the Com Ports section.

Right Click and choose Update Drivers.

Note : - Driver Signature Enforcement: It's recommended to disable. Reboot your PC in Advanced Mode and Choose Disable Driver Signature.

2. Choose Browse My Computer for Driver Software

3. Choose the Path of Xiaomi Folder. Most of users will find it like this.
Note:- If Folder does not exist , Install MI Flash (Link below) first.
Win 64 bit C: \ Program Files (x86) \ Xiaomi \ MiPhone \ Qualcomm \ Driver
Win 32 bit C: \ Program Files \ Xiaomi \ MiPhone \ Qualcomm \ Driver

4. Choose Install this Driver Software anyway.

5. Wait till driver installation successful.

6. The driver will be installed Sucessfully and you can see added in Ports as Qualcomm HS-USB.



Now we are ready to Flash!

Flashing ROM Part.Windows 64-Bit recommended as users are facing issues on 32-Bit and brick thier devices.
The ROM links below are of Fastboot Rom. Recovery ROM will not work.If you have already downloaded Fastboot ROM no need to Download again.
(File Extension with .Zip file is Recovery ROM, .tgz or .tar file is Fastboot ROM)

you can choose your Fastboot rom here:

Fastboot Rom Download Link

If link does not work, Put Letter "o" not Zero before the Link address.

Flash Tool:  Download Here
Important: - Before flashing it is advised to take the backup of data and make sure that your phone battery is charged enough.

Steps to Flash ROM: -
1. Download ROM from the above link (Which one you want to Flash) and extract it to Desktop(Use Winrar Software to extract).
(Please check if the file suffix is '.tgz'. Please rename it to '.tgz' if the suffix is '.gz or .tar')
Note: - Some users get error while extracting on Desktop Because there is space in the username of PC or the folder as shown.

The users should put the ROM In C Drive in a folder without spaces. E,g C:/ROM/MIUI


2. Download flashing tool from the above link and install it.
3. Once installation is complete, Run MiFlash application
4. Click on browse
5. Select ROM folder from Desktop(From the location where ROM is saved)

Note: -The path of the ROM folder Should be like "C:\\MIUI" Not "C:\MIUI\images"
The MIUI Rom folder should Contain the following files



6. Press Refresh button to see you device in flashing tool.
After pressing refresh button you will see connected device (COM 5) in my PC




Choose Flash_all option.
8. Click on Flash and it will start process



9. Once flashing process completes



Remove the cable and keep Power Button pressed until it Vibrates.
The Device will start, wait till completion , it can take up to 10 Minutes.



Note:
from _Xan_

Please mention in your tutorial if you are logged in Mi Account until upgrade is need to log out because in Mi Flash will handle exception: 
[0.18  COM10]:[COM10]:start flash.
[2.22  COM10]:cannot receive hello packet,MiFlash is trying to reset status!
[4.74  COM10]:cannot receive hello packet,MiFlash is trying to reset status!
[7.26  COM10]:try to reset status.
[8.41  COM10]:write time out try agian 96
[9.92  COM10]:write time out try agian 97
[11.43  COM10]:write time out try agian 98
[12.94  COM10]:write time out try agian 99
[14.44  COM10]:write time out try agian 100
[15.24  COM10]:error:The write timed out.
[15.25  COM10]:error:The write timed out.



Thanks for the input

Source : Xiaomi Forum

Disable Driver Signature Enforcement in Windows 7/8/10 64-Bit



Disable Driver Signature Verification through Troubleshoot

Step 1. Enter Troubleshoot.
There are many ways to get into Troubleshoot. In Windows 10/8.1/8, you can click “Restart” from the power options menu or the Start menu and hold down the “Shift” key at the same time. Once the computer has rebooted, you will be able to choose the Troubleshoot option. Or you can try Windows key + R to bring up the Run box, try shutdown/r/o and hit Enter, click “Close” to sign off and then you can choose the Troubleshoot option when the computer has rebooted.

Step 2. Select “Advanced options” and “Startup Settings”.

Step 3. You need to restart you computer one last time to modify boot time configuration settings.


Step 4. You will be given a list of startup settings, including “Disable driver signature enforcement”. To choose the setting, you need to press F7 key.


In Windows 7, XP and Vista, you can continuously pressduring boot-up to get to Advanced Boot options (on some other systems, you need to first pressto go into Boot Menu and then pressto reach Advanced Boot options). When the menu pops up, use the Down arrow key to scroll to “Disable driver signature enforcement” and press “Enter”. Continue the boot process.
Your PC will reboot and you are able to install any drivers including the unsigned drivers without error messages.

Top 2. Disable Driver Signature Enforcement Permanently and Completely

You can try commands to disable driver signature enforcement permanently and completely.
Step 1. Open a Command Prompt with admin privileges. In Windows 10/8.1/8, press the Windows key + X and select “Command Prompt (admin)”. In Windows 7/XP/Vista, you can type “command prompt” in the Start search box, right-click on “Command Prompt” in the result and select “run as administrator”.

Step 2. Type the following command and press the Enter key:
bcdedit /set testsigning on
You should receive the “The operation completed successfully” message.


In my test, you can also type the commands as below:
Please pressafter each line.
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
Step 3. Close the Command Prompt window and restart your computer. Now you can install any unsigned drivers without problems.

Part 4. How to Enable Driver Signature Enforcement if Needed

You can enable driver signature enforcement whenever you need. Try the 2 methods. Both requires to type commands in Command Prompt window. To enter Command Prompt, refer to Top 2 above.
Method 1. If you disable driver signature verification through Troubleshoot, type the following commands:
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
Restart your computer.
Method 2. If you turn off driver signature verification with the 2th method, try the command below:
bcdedit /set testsigning off
Reboot your computer.