[One (M8) Android Development] topjohnwu:
S.ROM 7.1.5.8-S with Patches and Notes

7.1.5.8-S Update!!

All credits to [MENTION=586648]sun_dream[/MENTION]!!!!

Changelog from 7.1.5.8 to 7.1.5.8-S

Camera patch, video H/W decoding patch pre-included

Update several HTC apks

Update radio related drivers(include Sprint and Verizon), improve signals and add support to more models

Include M9 audio EQ (M9 EQ is default, you can change to M8 EQ with flashable zip)

I mirrored the full rom to MEGA:

Download link : 7.1.5.8-S FULL ROM

7.1.5.8 TO 7.1.5.8-S INCREMENT PATCH

M8 EQ ZIP

M9 EQ ZIP
​

He made some notes in another Chinese forum, I translated them and only post those which are useful for XDA users.

EVERYONE SHOULD TAKE A LOOK AT THE FOLLOWING INFORMATION!!

RELEASE NOTES FROM ROM CREATOR(4/9 UPDATE!!)

PLEASE REBOOT THE RECOVERY AFTER FLASHING THE ROM IF YOU WANT TO FLASH ANY PATCHES

(To be more clear, after flashing the rom, choose "Reboot >> Reboot recovery" in the TWRP menu, THEN flash patches)

If your CID is any of the following ones:

US Carriers: (T-MOB010/VZW_001/SPC_001/SPC_004)

Other reigns: (HTC_001/HTC_002/HTC_016/HTC_031/HTC_032/HTC_102/HTC_621/HTC_622/HTC_A07/HTC_J15)

Then the rom is already compatible with your device!! Region code, network code.... all set correctly.

If you changed your CID to SuperCID, but you're using a Verizon or Sprint model, the rom is also compatible.

If you changed your CID to SuperCID, but you're using T-Mobile model, flash this patch: PATCH FOR TMO

If you're using an AT&T model, flash this patch: PATCH FOR AT&T

If you changed your CID to SuperCID, or your CID isn't listed above, or you don't know your CID, but your device is international(means that other international roms are working), flash this patch: PATCH FOR SUPERCID INTERNATIONAL

If you ran into any issues, wipe data and re-flash the full rom.

Above are things from OP.

The following are some handy mods made by myself :), which are not required to make the rom work.

-----------------------------------------------------------------------------------------------------------------------------------

Modded ElementalX Kernel

Since this ROM requires special ramdisk to work correctly, the original ElementalX from flar2 will not work on this ROM.

So I've done some modification to the kernel, and now it works flawlessly!!

Download link : S.ROM COMPATIBLE ELEMENTALX

If your motion gestures stop working after flashing, go to setting >> Display & Gestures >> Motion Launch Gestures, and re-tick the settings, it should work now!!

The original ElementalX kernel was only for GSM models, so don't try this on CDMA models!!

Enjoy the wake gestures(without motion!!), sweep2sleep, and other ElementalX goodies ;)

-----------------------------------------------------------------------------------------------------------------------------------

All-In-One Patch

All devices can flash the patch!! The all-in-one patch contains:

Removed all apps unexpected in stock HTC roms(TiBack, compass, lock screen, teeter....)

Fixed incorrectly named gapps in system/apps

Updated all Google and HTC apps to latest from Play Store, saving you from updating 31 apps after flashing the rom

After flashing the patch, you'll have latest system apps and have a clean experience :)

This is for the latest 7.1.5.8-S. You can flash this after a clean flash of the rom or dirty flash.

Download link : AIO PATCH v1

-----------------------------------------------------------------------------------------------------------------------------------

Patch for GSM Devices

Only for NON-VERIZON, NON-SPRINT devices. Don't try this on CDMA M8!!

This patch will remove all CDMA/Verizon related files, apks, frameworks.

Download link : GSM PATCH