This is about fiddling with my Honor 5C, notes taken so I don't wonder how I did it month ago whenever I wanna change ROMs
For Windows users, download and install hisuite so your phone can be detected when plugged later on.
For Linux users, just install adb and the phone will be in the devices list
First is the boot loader so next you can load your custom ROM. I'm going for TWRP Recovery because it's nice and there's a Honor 5C doc, especially the No root required part, and the ROM I choosed (LineageOS, see below) only support TWRP.
For a Windows desktop install chocolatey. Then
choco install -y adb
For a Ubuntu desktop
sudo apt install -y adb fastboot
Then follow the doc :
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
Note, as of today May 2018,
twrp.img is actually
twrp-3.2.1-0-nemo, you can download this from behind a DL link in TWRP doc.
To clarify this last comment, here's a nice post from a nice guy
No cable plugged in:
- Volume down + tap power button: Normal boot
- Volume up + tap power button: Recovery mode (reboot / factory reset / wipe cache options or TWRP if flashed)
- Both volume buttons + tap power button: Flash dload image from microSD card
Connected to a computer:
- Volume down + Power on: Fastboot mode (exit with 'fastboot reboot' or a long power button press)
- Volume up + Power on: Huawei eRecovery (reboot / download / shutdown options - used for 'recovery loop' fix, see below)
- Both volume buttons + Power on: Flash image via HiSuite (NOT from microSD card)
The key one here is the 'both buttons' combo. When you get your device very broken, the restore method of choice is to use a microSD with a dload folder. Based on the above, remember you need to do the both buttons combo WITHOUT a cable plugged in, or it will try and use HiSuite instead of the card.
Lots of people have noted that when using TWRP, the device can get into a continuous recovery loop. The fix for this is actually very easy - go into eRecovery (volume up and power on when connected to a computer) and select 'Shutdown'. When you then power the device on, it will boot normally instead of booting to recovery.
One final thing - when flashing from microSD, be VERY careful. Flashing a Lollipop image over Marshmallow without using the rollback image can make bad things happen, wherever possible try and flash a full image that matches the build you are using.
Here's a LineageOS ROM for Honor 5C by a guy who seems to know stuff. There's a lot of info in this post, plus a link to download the ROM.
Once you got the ROM, c/c this on you phone's SD card, then
fastboot reboot, while holding
Volume down + Power on
No GApps setup
I wanted to try living without Google's stuff. Instead of installing GApps, meaning Play Store + GMail + Google Maps & so on, I went for a FOSS store, F-droid, and a bunch of open source apps roughtly covering my needs