This tutorial is for htc wildfire s. Its a really old phone but still many people using it and many developers developing for it. In this tutorial I will tell you how to unlock your bootloader, root your phone, flash a recovery or kernel and how to install custom roms. This is just a written tutorial but soon I will post a video too. NOTE: if your phone gets bricked in the process (it should not) i am not responsible.
Unlocking bootloader
Before unlocking the bootloader make sure to make a backup of all you.
Unlocking the bootloader will void your warranty though you can regain it by locking again.
To unlock the bootloader first make sure to install all available updates. Then enable usb debugging in your phone by going to applications in settings and tick on usb debugging.
After that download the files at the end of the topic that are htc driver and adb and fastboot package.Extract both files. After that install htc driver. It will not work on windows 8. Then register at htc dev site: https://www.htcdev.com/register/. After that power off your phone and power it on in bootloader by pressing volume down and power button together. Then go to fastboot using volume keys and press power button. After that connect your phone to your pc using usb cable. Then open the fastboot folder and press shift and right click and choose open command window here. Then type fastboot devices. If a device name appears it means you are good to go. If not check if your device is connected properly or drivers are installed properly. Then type this in command window: fastboot oem get_identifier_token and press enter. You will see long codes appear. Copy the text starting from <<< Identifier Token Start >>> and ending at <<< Identifier Token End >>> like in the pic below.
Copy it by clicking right and select mark and select using shift and arrow keys. Then press ctrl+c. Then go to this site: http://www.htcdev.com/bootloader/unlock-instructions/page-3 and paste it at the box in the end with ctrl+v and submit. You will receive an email with unlock key attached. Download it and save to the fastboot folder. Now in the command prompt (i am sure you would have kept it open) type this: fastboot flash unlocktoken Unlock_code.bin and press enter. In your phone a screen will appear like this:
Choose yes by pressing volume key up and then power key. Congo your bootloader is unlocked. To relock the bootloader type this in command screen:fastboot oem lock while your phone is in fastboot mode.
htc driver
fastboot and adb
Root
Before continuing make sure your phone is s-off. It can be checked while in bootloader. To root the phone a custom recovery is to be installed. There are two recoveries: TWRP and CWM. Download any of your choice. Also download the root.zip file. These downloads can be found at the end of the topic. Use htc driver and fastboot and adb from bootloader topic. Then place the root.zip file in your sd card. Now place the recovery.img file in fastboot folder. Now open a command prompt in fastboot folder. After this reboot your phone in fastboot and connect it to your pc. Now in command prompt type: fastboot devices. If a device appears then you are good to go. If not then check if it is properly connected. Then in command prompt type: fastboot flash recovery cwm.img for CWM or fastboot flash recovery twrp.img for TWRP. After it finishes reboot your phone into bootloader and then into recovery. After this I recommend to make a backup so that you can restore it if you want to unroot later. Then select install zip from sd card and select the root.zip file and install it. Then reboot the phone. Congo your phone is rooted. Update the binaries and the superSU app if needed.
CWM
TWRP
root.zip
Flash custom kernel
To flash a custom kernel download the boot.img and save it to the fastboot folder. Now boot the phone into fastboot and coonect it to pc. Now open a command prompt in fastboot folder and type: fastboot flash boot boot.img. Then restart the phone. This will install the kernel.
Install custom ROM
To install a custom ROM you have to download the rom.zip file and place it in your sd card. Now reboot your phone into custom recovery and install the rom.zip file and reboot the phone. First boot will takesome time. For some rom some additional files are also to be flashed like the kernel. Later I will post methods for some individual roms.
Install stock firmware
If you want to unroot your phone or if your phone is soft bricked you need to install the stock firmware. Download the RUU for your wildfire s according to your carrier from here: http://www.androidruu.com/?developer=Marvel_MarvelC
Then execute the file and wait till the wizard appears. Them open task manager and right click on ruu installer and select open file location. Dont close the RUU wizard. Now in the folder opened search for rom.zip and copy it to your desktop. Now extract the recovery.img from rom.zip to fastboot folder. Open the command window in fastboot folder, boot your phone into fastboot and connect it to pc. Now in command window type: fastboot flash recovery recovery.img. The stock recovery is now installed. Now in command prompt type: fastboot oem lock. Now your bootloader is locked. Locking the bootloader is necessary so don't skip this step. After this open the RUU and complete the steps. Now your phone is stock with relocked bootloader. You can unlock it again using the unlock key downloaded before. I have provided the tutorial for coming back to stock which has worked for many people but personally i recommend to make a nandroid backup immediately after installing custom recovery and before rooting. Then restore when needed. This is because it is a bit difficult and risky method. Also some people got their phone bricked by following this method. I dont know why htc doesn't have a flashtool for its devices like odin and flashtool for samsung and sony. I myself have not tried this method but will try soon and post a video too.
Unlocking bootloader
Before unlocking the bootloader make sure to make a backup of all you.
Unlocking the bootloader will void your warranty though you can regain it by locking again.
To unlock the bootloader first make sure to install all available updates. Then enable usb debugging in your phone by going to applications in settings and tick on usb debugging.
After that download the files at the end of the topic that are htc driver and adb and fastboot package.Extract both files. After that install htc driver. It will not work on windows 8. Then register at htc dev site: https://www.htcdev.com/register/. After that power off your phone and power it on in bootloader by pressing volume down and power button together. Then go to fastboot using volume keys and press power button. After that connect your phone to your pc using usb cable. Then open the fastboot folder and press shift and right click and choose open command window here. Then type fastboot devices. If a device name appears it means you are good to go. If not check if your device is connected properly or drivers are installed properly. Then type this in command window: fastboot oem get_identifier_token and press enter. You will see long codes appear. Copy the text starting from <<< Identifier Token Start >>> and ending at <<< Identifier Token End >>> like in the pic below.
Copy it by clicking right and select mark and select using shift and arrow keys. Then press ctrl+c. Then go to this site: http://www.htcdev.com/bootloader/unlock-instructions/page-3 and paste it at the box in the end with ctrl+v and submit. You will receive an email with unlock key attached. Download it and save to the fastboot folder. Now in the command prompt (i am sure you would have kept it open) type this: fastboot flash unlocktoken Unlock_code.bin and press enter. In your phone a screen will appear like this:
Choose yes by pressing volume key up and then power key. Congo your bootloader is unlocked. To relock the bootloader type this in command screen:fastboot oem lock while your phone is in fastboot mode.
htc driver
fastboot and adb
Root
Before continuing make sure your phone is s-off. It can be checked while in bootloader. To root the phone a custom recovery is to be installed. There are two recoveries: TWRP and CWM. Download any of your choice. Also download the root.zip file. These downloads can be found at the end of the topic. Use htc driver and fastboot and adb from bootloader topic. Then place the root.zip file in your sd card. Now place the recovery.img file in fastboot folder. Now open a command prompt in fastboot folder. After this reboot your phone in fastboot and connect it to your pc. Now in command prompt type: fastboot devices. If a device appears then you are good to go. If not then check if it is properly connected. Then in command prompt type: fastboot flash recovery cwm.img for CWM or fastboot flash recovery twrp.img for TWRP. After it finishes reboot your phone into bootloader and then into recovery. After this I recommend to make a backup so that you can restore it if you want to unroot later. Then select install zip from sd card and select the root.zip file and install it. Then reboot the phone. Congo your phone is rooted. Update the binaries and the superSU app if needed.
CWM
TWRP
root.zip
Flash custom kernel
To flash a custom kernel download the boot.img and save it to the fastboot folder. Now boot the phone into fastboot and coonect it to pc. Now open a command prompt in fastboot folder and type: fastboot flash boot boot.img. Then restart the phone. This will install the kernel.
Install custom ROM
To install a custom ROM you have to download the rom.zip file and place it in your sd card. Now reboot your phone into custom recovery and install the rom.zip file and reboot the phone. First boot will takesome time. For some rom some additional files are also to be flashed like the kernel. Later I will post methods for some individual roms.
Install stock firmware
If you want to unroot your phone or if your phone is soft bricked you need to install the stock firmware. Download the RUU for your wildfire s according to your carrier from here: http://www.androidruu.com/?developer=Marvel_MarvelC
Then execute the file and wait till the wizard appears. Them open task manager and right click on ruu installer and select open file location. Dont close the RUU wizard. Now in the folder opened search for rom.zip and copy it to your desktop. Now extract the recovery.img from rom.zip to fastboot folder. Open the command window in fastboot folder, boot your phone into fastboot and connect it to pc. Now in command window type: fastboot flash recovery recovery.img. The stock recovery is now installed. Now in command prompt type: fastboot oem lock. Now your bootloader is locked. Locking the bootloader is necessary so don't skip this step. After this open the RUU and complete the steps. Now your phone is stock with relocked bootloader. You can unlock it again using the unlock key downloaded before. I have provided the tutorial for coming back to stock which has worked for many people but personally i recommend to make a nandroid backup immediately after installing custom recovery and before rooting. Then restore when needed. This is because it is a bit difficult and risky method. Also some people got their phone bricked by following this method. I dont know why htc doesn't have a flashtool for its devices like odin and flashtool for samsung and sony. I myself have not tried this method but will try soon and post a video too.
Amazing tutorial and easy to understand, i was able to unlock the bootloader and root my phone.
ReplyDeleteThank you you should also try custom roms that will improve the performance of your phone too.
ReplyDelete