![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWamZLV6ocwOEWFXKlwNYinMjk1TlZdN6mAiimcFtLsPcXm6Wocr-C260uDGGe8uMYcsmZGJJPhSqVpcEx1L8UwuFxsCwEuUeZ1yabouSMHVSpIBQ0kvfYEjbWaHBETiiXiILtNdavft5l/s1600/FirmwareUpdateIconX.png)
This guide is related to the previously published article - How To: Flash firmware package on the HTC device. The goal of this guide is to expose the problem of a matching firmware version for the particular HTC device. Please read it carefully and in case of any questions leave a proper comment in the comments section at the end of this article.
Every firmware.zip has 2 main attributes: modelid (MID) and cidnum (CID).
- MID contains a codename of your device. For example the "0P6B1000" is the international version of the HTC One M8, while the "0P6B13000" is the T-Mobile U.S. version of the HTC One M8.
- CID is the carrier software codename. For example the "HTC__J15" code represents the unbranded international version of the HTC One M8, while the "T-MOB010" code represents the T-Mobile U.S. software. Different CID numbers are usually used for mobile operators to include different regional settings, languages or to include some extra software (Wi-Fi Calling, Visual Voice Mail etc.).
Both MID and CID can be found in the android-info.txt inside each firmware.zip. This is how android-info.txt looks like (as an example I used firmware.zip from the international version of the HTC One M8):
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvgN95z7I6TrXh6wbLkjxoTjI99Bfek5TOklqsNP0YQhkdcxVQ1PNrtq2zpFa2B5a3aZraahCAmiqK3sTGV4e3DIQYesE30H8ntyX-FHJGIXk4uz94XXxPYjbufO10GifXQzLKGt7K7rOl/s1600/e.png)
Once you know the version of the firmware you have, you need to check if your device can be safely flashed with that particular firmware.zip. To check that:
- Download this mini-sdk package and extract it to c:mini-sdk
- Connect your device to the PC
- Boot your device in fastboot mode (vol down + power ===> fastboot)
- Open a command prompt on the PC (cmd.exe), type and confirm each command with ENTER:
- cd /d c:mini-sdk
- fastboot getvar all
This is an example output from the international version of the HTC One M8:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip_5wkbT2KxdKEa4cKxeLnYT013lmYMPFQUmzh_UCYDAmQ1IzYuo2H7j0AlCoThlLp_IiRC6VcMDkkzJNAdO04B4HdRqbCi1KOEZNckqrR_KU3VKMp2UB9k0Lt85QqRZ7nj_3pIWYMJUvw/s1600/f.png)
What you are looking for is the "modelid" and "cidnum".
- If your device is S-ON then both modelid and cidnum must match.
- If your device is S-OFF then modelid is critical to match, but cidnum can be changed either by changing CID of your device or by editing android-info.txt.
- Edited firmware.zip cant be flashed on the S-ON device.
- If your device is S-ON then you cant downgrade your current firmware version.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIqJFpSOZqaFzYoFmT78LLmAXTIjE1xYQqHPO0t9JNcT_4NuIzA2UQqEbZrF2qH1YLIk5-DXp_ZMpbcZTcZo-FwyjqtMzsEwGKeizoBgueXFmjLFJdiPvGeLRvenuCQjm1p-ZP9HbARp6h/s1600/f.png)
If both CID and MID numbers match you can safely flash the firmware.zip package - How To: Flash firmware package on the HTC device.
Do you have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!
For latest news follow Android Revolution HD on popular social platforms:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVB-zHv9YuofuLbBP_qikKEl_WBg-MsIw8Xo3JYjfWhP2iXvZ7jFfMzLi7D8643vptoflUyoVBer2CWwdQeoSjUpArFIMjUIb40G-e_NDktLj5rA8Tc-I5wn2XdDmLMulUAMF2vd-e9kPk/s1600/64-facebook.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4ekwCE7kIo8rixVGwvFauYl9gb0BBHH4FBiCPSCHmJnvjKdkzH7tH0dtKfGHnKmj7bGLBW9rXyDcDnD9W8VuFabGWFct6efA91NxBU-Yf7XljQw5ZfNEFir088-c8NS2824BvF8DgaHEB/s1600/64-googleplus.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5a2dCXamBbjUHjDjQ12cQ3ZT20Fmk994VFsyRzaU1r0qLEMtFWDhWcX6GowZZwx9ODAeY9FpVwLLp6L2xncaK2-Bv5rOsx7mxPt1YGI-0Vt83F_oCpbI4tqqb6D7bJQRcrw3EqXYWF6zK/s1600/64-twitter.png)
0 comments:
Post a Comment