[Galaxy S 4 General] sunilpaulmathew:
CyanogenMod is dead and this project is discontinued. Please do not expect any replays from me in this thread. You may still use the attached files (if available) in your own risk. Thank you...

Happy New Year 2016…

This is a detailed step-by-step guide for Rooting and Flashing ROMs/Recoveries which is dedicated for the beginners.

This thread is dedicated for Samsung Galaxy S4 LTE-A users they are not satisfied with the performance of their devices due to the ‘n’ number of bloatwares (pre-installed apps) by Samsung and respective network providers as well as the lack (or less) of official support. Most of the beginners (supposed to be inexperienced in rooting, flashing a custom recovery/custom ROMs) are afraid to play with their expensive devices like S4. This thread aims to motivate such peoples and guide them to safely play with their devices.

Warning (just formal as you can see in the case of most of the other threads)

Warranty of your device is now void.

Everything you are doing on your mobile is on your own risk.

I am not responsible for any damage to your device. However I’m able to guide you to recover your device from most of the issues.

Please don’t point your finger at me in case you brick your device or lost SD card (mostly unlikely if you follow the instructions strictly).

This procedure is only tested (by me) in SHV-E330S (ks01lteskt) and SHV-E330K (ks01ltektt). You may need to read few more threads (most of them are linked with this thread) to install this ROM in GT-I9506 (ks01lte). Do not try to flash this ROM to any other S4 variants (and also other devices).

Tested device

Galaxy S4 LTE-A SK (SHV-E330S, ks01lteskt)

Galaxy S4 LTE-A KT (SHV-E330K, ks01ltektt)

Other supported devices (not tested by me) according to the ROM provider (arter97)

Galaxy S4 LTE + International (GT-I9506, ks01lte)

Unsupported devices

Galaxy S4 LTE-A LG (SHV-E330L, ks01ltelgt)

All other Galaxy S4 without Snapdragon 800 SoC

Requirements

Samsung Galaxy S4 (SHV-E330S) device with more than 80% battery charge

An external SD card (even 1 GB free space is enough).

Windows PC/Laptop

ODIN software (I used version 3.09)

A high quality USB cable

Your patience and confidence

Downloads

CyanogenMod 12.1 ROM by [MENTION=4898097]arter97[/MENTION].

Google apps (GAPPS) for CyanogenMod 12.1 (I used open GAPPS nano).

Arter97 kernel for SHV-E330S (highly recommended, otherwise your device may not boot depending on the model): For other devices, visit this page.

Odin 3.09

Samsung USB drivers (for recognizing your device in odin mode)

MD5 file for rooting

1.	Galaxy S4 LTE-A SK (SHV-E330S, ks01lteskt)

2.	Galaxy S4 LTE-A KT (SHV-E330K, ks01ltektt)

3.	Galaxy S4 LTE + International (GT-I9506, ks01lte)

Recovery (I used Philz touch recovery (unofficial) although it is no more updated by the developer). Alternatively, you may use TWRP recovery for the international variant for all the devices (tested and found working). For instructions to use TWRP, kindly follow the instructions given by the developers.

Recommendations

Read the thread carefully before proceeding.

Back up your contacts, photos and any other data that you considers valuable.

Probably you can make a Nandroid backup (if you wish to back up your present operating system along with all the data including apps). However, you need to find the guide yourself (use google search).

Please check the second post for the step-by-step installation instructions...

The instructions to go back to your stock ROM is given in the third post. As long as the display of your device is able to switched on (even not booting), you can revert your device to the stock ROM at any time. So, don't worry... happy flashing...

Acknowledgements

CyanogenMod

Arter97

Philz

Many other XDA developers

My friend who trusted me and give me his SHV-E330S for playing with…

Thanks and donations must go to arter97, Chainfire and Phil3759 for their great efforts.