This guide will show you how to change your GSM M8 into any other GSM variant (apart from GPE - theres a thread for that!!) Just pick the files and info within the links below relevant to what you want to convert to
READ THIS BEFORE YOU BEGIN!!!! This will work for GSM phones only YOU WILL BRICK IF YOU ATTEMPT THIS ON A CDMA PHONE!!!!!
There is no way a CDMA can be converted to GSM and vice versa.
Conversion is converting region of a GSM to another region GSM. E.g Asia WWE GSM (like mine) converted to EU WWE GSM then again converted to GSM Dev Edition. It's all about region conversion but still on GSM.
CDMA and GSM definitely have two different hardware.
- Step 1 - changinging MID
- Step 2 - changing CID
- Step 3 - restoring relevant nand backup
- Step 4 - firmware flashing
- Step 5 - OTA downloading/updating
- Step 6 - hopefully all is good but read text below step 6 if not
1 Change the MID number of your device by going to THIS THREAD and follow instructions for setting the MID to the variant you wish to convert to (below is command for setting to Dev edition please read the link above and it will give you the relevant commands for your desired variant - Thanks @scotty1223
You should already have adb etc sorted but see the thread above if not
enter the following:
su (if needed to get a # prompt)
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x32\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
(the above is one big long command. make sure you copy it all,and dont get extra spaces when you paste it. YOU COULD BRICK YOUR DEVICE IF THIS IS WRONG)
adb reboot bootloader
fastboot getvar mid (or getvar all)
verify 0P6B12000 for modelid
2 then change CID to desired edition by typing "fastboot oem writecid BS_US001" in fastboot
(or BS_US002) - NOTE - these are dev edition CIDs , replace with relevant CID to your desired variant
(ignore if not converting to dev - obvious i know lol)
Here are the differences between the two dev edition CIDs
3 then restore relevant nand in custom recovery, you can get it HERE thanks @Mr Hofs - look for nand for BS_US001 or BS_US002 CID - Note - Look for nand matching the CID you entered earlier above - these are dev for example
4 Flash the stock recovery or firmware zip (which includes the recovery) matching your desired software number NOTE - yet again the download links below are for DEV edition for example - the versions relevant to the variant you want are accessible through the search function. The firmware is HERE this shouldn't wipe sd contents but backup to be sure thanks @ckpv5
Follow THIS GREAT GUIDE for flashing via fastboot thanks @Sneakyghost
Or This quality tutorial to flash firmware from external sd card thanks @skulldreamz
if you are s off, sd contents should be untouched after flashing firmware but back them up just in case
To flash just the recovery, get the recovery.img from the zip above and put it in your fastboot folder on your PC. Then in CMD type "fastboot flash recovery recovery.img" then "fastboot erase cache"
5 then you should be able to receive the OTA - flash as per HTC instructions, if you have any issues i.e corrupt file, flash ota manually- 1, reboot to recovery, then 2, press power and volume up and then flash in the menu that pops up
You will have the red text on the splash screen as the ota will flash a unmodified HBOOT - CLICK HERE for a modified one that will remove the red text. thanks @santod040 . Just remember to reflash stock hboot in the event of returning to s on before you type the s on command otherwise you will brick your device
IF, FOR ANY REASON U ARE NOT GETTING OTA, CLICK HERE AND APPLY IT MANUALLY
Thanks to the people mentioned for thier threads and download links.
The usual warnings apply of course. Take time and care and you shouldn't have any issues. Also please read the threads in the links above carefully