How to root, install Cyanogen Mod - HTC One Mini M4

Soldato
Soldato
Joined
26 Oct 2013
Posts
10,067
Location
Leicester
Hi,

I want to root my One Mini and install Cyanogenmod - the installer on the Cyanogenmod doesn't support my phone so that's out of the question. Is this guide any help/should I follow it? I've also asked on XDA so perhaps that may help me out too. Anyone able to assist me?

http://wiki.cyanogenmod.org/w/Install_CM_for_m4

Cheers
 
Bare in mind you will lose all your data as this will wipe your phone as part of the process.

First, uninstall the HTC Sync software on your PC. Keep the HTC drivers installed.

Second, install ADB and fastboot: http://forum.xda-developers.com/showthread.php?t=2588979

Then, create an account and follow the instructions here to unlock the bootloader: http://www.htcdev.com/bootloader

Once you unlock the bootloader, your phone should be factory reset, and you'll be ready to flash custom ROMs on your phone. You can use the guide on the Cyanogenmod wiki to continue on from this point.
 
Do I not need to do "recovery" also? And does unlocking the bootloader effectively root?
 
The guide you linked has links to the TWRP recovery: https://goo.im/devs/mdmower/htc-twrp/twrp-2.7.1.2-m4.img/

Unlocking the bootloader gives you the ability to flash a custom recovery and custom ROMs, and you need a custom recovery to flash the root files. Cyanogenmod is prerooted so you do not need to flash the root files.

EDIT: To break it down, this is how rooting usually goes:

1) Unlock bootloader. Usually wipes phone.
2) Flash custom recovery via fastboot.
3) Access the custom recovery and mount storage so you can copy the root.zip file to phone.
4) Choose the flash option in the custom recovery to flash the root.zip file on the phone. Phone's stock ROM is now rooted.

And then custom ROMs is not exactly rooting but more like flashing a new OS:

1) Unlock bootloader. Usually wipes phone.
2) Flash custom recovery via fastboot.
3) Access the custom recovery and mount storage so you can copy the custom ROM and Google apps package (optional) zip files to phone. If the custom ROM is not rooted, copy the root zip over too.
4) Select the factory reset option in the custom recovery and select the wipe dalvik cache option.
5) Choose the flash option in the custom recovery to flash the custom ROM and then the Google apps package after. You're now on a custom ROM. Flash the root file if you need to root it as well.
 
Last edited:
Ah I see, so Cyanogenmod roots by itself, cool
The second link you posted in post 2 to unlock the bootloader should unlock by itself correct? No need to follow the unlock steps in the wiki after the HTC program has done it?

Thanks for the help
 
Pretty much the guide shows the first few steps the HTC unlock tool will tell you to do. You can follow both if you want to have some reassurance on what to do. Might be best to follow the one on the Cyanogenmod guide actually, thinking about it now the HTC site was not 100% clear on the initial steps when I was unlocking my M7.
 
Should I reset the phone before starting those steps then? Unlocking the bootloader etc
 
Unlocking the bootloader will factory reset the phone as part of the process, so it's not really needed. I would do it after you flash the custom recovery instead, so it's all ready for CyanogenMod.
 
Hi mate,

Almost unlocked the bootloader, now getting a <waiting for device> error - how can I solve this? Trying to do the "fastboot oem lock" step
 
"fastboot oem lock" relocks it, preventing you from flashing a custom recovery, root files and a custom ROM :p.

Nice to see you're now on the last few steps, hopefully it should be up and running with no problems :).
 
You can try do a dirty flash (not wiping anything) but I would do a factory reset via recovery + wipe dalvik cache before installing the M11 snapshot, to ensure everything runs smoothly.
 
Back
Top Bottom