Android 4.1 for HTC One S: Install the CodefireX Custom ROM

The HTC EVO 4G LTE saw the release of the CodefireX ROM for it, a new ROM based on Android 4.1 Jelly Bean with a lot of customization features and power-user settings, and now the ROM has made its way to the HTC One S. Apart from providing a high degree of customization, CodefireX ROM also gets you all the Android 4.1 features – such as a smooth, reactive and fluid interface, actionable and expandable notifications, smart and accurate keyboard, a new Google Search experience, intuitive camera and gallery, and many more.

CodefireX is in the nightlies stage, where a nightly is a ROM built automatically each day with all the new code and improvements, letting you stay up to date with the most recent version of the ROM. However, keep in mind that this is not an official ROM by HTC. It is a custom ROM under development and may have a few issues in it. Also, it is based on stock Android, so any HTC-specific features will not be available and a few apps will be different from their original versions (such as the camera or gallery).

This ROM is ONLY for the One S with the 1.5Ghz Snapdragon S4 processor, it will not work on the 1.7GHz Snapdragon S3 processor variant.

Let’s take a look at how the CodefireX ROM can be installed on the One S.

Compatibility

This guide is applicable only for the 1.5GHz dual-core HTC One S. DO NOT try this on the 1.7 GHz variant or any other device.

Warning!

The methods and procedures discussed here are considered risky and you should not attempt anything if you don’t know completely what it is. If any damage occurs to your device, we won’t be held liable.

How to Install CodefireX ROM on HTC One S

  1. This procedure will wipe all your apps, data and settings (but it will NOT touch your SD cards, so don’t worry about those). Backup your Apps and important data — bookmarks, contacts, SMS, APNs (internet settings), etc. This Android backup guide would help you.
    NOTE: Don’t forget to at least note down your network’s APN settings, which are required to make mobile data work. Go into Settings » More » Mobile Networks, click on the APN that is in use, then note down the setting for each field. While APN settings should be automatically restored from network, you can enter them manually if needed to make mobile data work. You can also find your APN details → here.
  2. Unlock the bootloader on your One S by following the bootloader unlocking guide for the HTC One X → here. Procedures for both One S and One X are the same, so simply follow what the One X guide says to unlock the bootloader. Skip this step if your phone’s bootloader is already unlocked.
  3. Install ClockworkMod (CWM) recovery by following the guide → here. Skip this step if you already have CWM recovery installed.
  4. Download and install the HTC Sync software, which is needed to install the drivers for the phone. Skip this step if you already have HTC Sync installed on the computer.
    HTC Sync Manager
  5. Download the ROM from the source page.
  6. Download the Google Apps package. This will install apps like Play Store, Gmail, etc. which are not present in the ROM by default.
    Download Gapps  |  Alternate Link  |  Filename: gapps-jb-20120726-signed.zip   
  7. Copy the ROM and Gapps file to the phone (don’t extract the files).
  8. [Backup Current ROM] To be able to return to your current ROM from the new ROM, make a backup of it (this is different than the backup taken in step 1 as this backs up the whole ROM).
    1. Turn off your phone. Boot into the bootloader mode first by holding the Volume Down button and then pressing power key to turn on device. Then, select RECOVERY from there using the volume buttons to navigate and power button to select to boot into recovery.
      In recovery, use volume button to scroll up/down and the power button to select.
    2. Then, to perform a backup, select Backup and Restore –> On the next screen, select Backup again. Go back to main recovery menu after backup is complete, then select reboot system now to reboot the phone.
  9. Open the downloaded zip file of the ROM and extract the boot.img file from inside it (use a software like WinZip or 7-zip to extract).
  10. Download fastboot.
    Download Fastboot  |  Filename: Fastboot.zip
  11. Extract the Fastboot.zip file to the C: drive on your computer to get a folder named Fastboot with four files inside it.
  12. Copy the boot.img file extracted in step 9 to the Fastboot folder on C drive. You should have 5 files in the Fastboot folder now.
  13. Switch off the phone. Enter fastboot mode. For that, boot into the bootloader mode first by holding the Volume Down button and then pressing power key. Then, select fastboot mode from there using the volume buttons to navigate and power button to select. Then connect your phone to the computer once you are in fastboot mode.
  14. On the computer, click on Start menu » All Programs » Accessories » right-click on Command Prompt and click on Run as administrator.
  15. Now, type the following commands in command prompt to flash the boot.imgfile, pressing Enter after each command.
    1. cd c:Fastboot
    2. fastboot devices (this is to ensure the phone gets detected. A string of numbers and letters should appear if the phone is properly detected. Else, make sure you have the HTC Sync installed which installs the drivers for the phone)
    3. fastboot flash boot boot.img
  16. Once the boot.img is flashed, you will get a “finished”/OKAY message in the command prompt window. Now, type adb reboot bootloader in the command prompt to reboot into the bootloader mode.
  17. Disconnect your phone from the PC.
  18. Now, the phone will be in the bootloader. Here, select RECOVERY using the volume buttons to navigate and power button to select to boot into recovery.
    Use volume buttons to scroll up and down and the power button to select options in bootloader menu and recovery.
  19. Select wipe data/factory reset, then select Yes on next screen to confirm. Wait a while till the data wipe is complete.
  20. Select install zip from sdcard, then select choose zip from sdcard. Scroll to the ROM file on the SD card and select it. Confirm installation by selecting Yes on the next screen. The ROM will start installing.
  21. After ROM installation completes, select choose zip from sdcard again, then select the gapps-jb-20120726-signed.zip file to install the Google apps package.
  22. After the installation is complete, select go back then select reboot system now to reboot the phone and boot up into CodefireX ROM.

Updating to Newer Nightly ROM Updates

  • Since the ROM will be updated on a regular basis due to being in the nightly stage, in order to update to a newer version, simply download it from the downloads page, put it on your SD card, boot to recovery, install the ROM without wiping data, then reboot the phone. You don’t need to re-install the Google apps package or wipe data when updating. Just install the new version of the ROM and you’re good to go.

NOTE: If you want to go back to your previous ROM, boot into recovery (as explained in step 8.1), select backup and restore, then select restore to restore your previous ROM.

CodefireX ROM, based on Android 4.1 Jelly Bean is now installed and running on your One S. Visit the source page for more info and to get the latest updates on the ROM. Share your thoughts on the ROM in the comments.

Do take a look at some other Jelly Bean ROMs for the One S → here.