![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEpxGxp1Qp18thzJ0LbsnUZB5OFvDGyA0i9TW3uycdJpS2lwMk46iXGO1koqr2cpvaFEpQS_O5F5yPm6f6oRrjDKqeVIoOyZRSusKIj3Npf19u8awGL5foc6k10GRmW2OG4UB8A9fdoWsb/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/AVvXsEjpF__627O5dKFFMFZMVGXfBjqccyGNQEG0QmOA3tHyvdDlOTMU1mf-Nm09fZBUvThgd-yP6K0IKD_HIH5QaDCOoemKrZKqYFWRGMzVQyWRjaDW8nHDBrUGp59rFxUpj7ebjtCVjOEXKkre/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/AVvXsEjxEd-YVrdSB-FVcRCjVypUulqhvHVaK3U6hl9YP9frVIupkcno38QDjVCdPVD_YIWwwAKXFk1mQ4PfHfC53lTWOBUrkjCOsD9EQH0JAEaZgJBl5pau_gb345hKt5TiD6E1WKH9j2lpwFEG/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/AVvXsEgmxUWKXEiXKU_sVocpadgpARU7-DoOAdNB9e5jmc75RUbu-BnqvSlcuO4z2acNM4bEcfnkHhDTvl60NPl3Of1jaIvhN-SFuZY-GpNAxvCUw-AAQmzK1UrWoOqD8Lz0Kf5j-dM86pyUiyKD/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/AVvXsEiD_WkPzLOMdXXyjlY_G1pE-BxubOHyjneia_CYzrgJljuuVNRs4s-BzZ8jgiYFCeLCiwWuiV-EaPe9Z97ryH8PaSXnG0cDRHbrurZqceb6YahqQsIYVtZ6f-iaTqoDpcaPgAefMVnlFm9L/s1600/64-facebook.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyW9TDM7ToH1W_QJgdGEdcVTkxGQmwix3MFJp_HjWyGNMx5zLTQStEurQPwClQ-nwtLYZ946nKTfnmPgG4TFpO-iTyNcjWHczJmIN7uDozyP8MuYb-hu6U29t8bepWgBQQd-6hC6rzZhQ2/s1600/64-googleplus.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSjNBEUkinKkP6mMtP5Vbmbgf-m99QE07zlDoFrFLCWj6v-1TxWqLnEgsQmPS07VpNefeghta6Jh-3Xbl5-uoFQVe5SsotoHjYdCLd_m0xhHGhNCTwupd91BAswABUjWgQ7XQ5u9gYh-al/s1600/64-twitter.png)
0 comments:
Post a Comment