[Galaxy S 4 i9500 Original Android Development] Alberto96:
Use >

this other thread

< to ask questions or to discuss about something​

​

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.0.x (Lollipop), which is designed to increase performance and reliability over stock Android for your device.

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

ROM Downloads

<< Stable >>

20150731 Final Build: https://www.androidfilehost.com/?fid=24052804347784711

<< Misc. (Modem & Recovery) >>

GearRecovery (based on TWRP Recovery) 20150324: https://www.androidfilehost.com/?fid=95916177934545673 <=

Recommended

I9500XXUHOD7 LL Modem: https://basketbuild.com/filedl/devs...s And Bootloaders/I9500-XXUHOD4-MODEM_CWM.zip <=

Russian Modem, Recommended

I9500DDUHOA1 LL Modem: http://xdaforums.com/attachment.php?attachmentid=3165311&d=1423927137 <=

Indian Modem, use it if you're experiencing problems with Russian variant

Previous Releases:

<< Stable >>

20150506 Build: https://www.androidfilehost.com/?fid=23991606952598514

20150424 Build: https://www.androidfilehost.com/?fid=96042739161893123

20150403 Build: https://www.androidfilehost.com/?fid=95916177934550380

20150324 Build: https://www.androidfilehost.com/?fid=95916177934545672

20150228 Build: https://www.androidfilehost.com/?fid=95916177934535412

GearRecovery (based on TWRP Recovery) 20150228: https://www.androidfilehost.com/?fid=95916177934535416

20150214 Build: https://www.androidfilehost.com/?fid=95916177934529038

GearRecovery (based on CM Recovery) 20150207: https://www.androidfilehost.com/?fid=95916177934524927

20150207 Build: https://www.androidfilehost.com/?fid=95916177934524891

GearRecovery (based on CM Recovery) 20150119: https://www.androidfilehost.com/?fid=95897840722646145

20150120 Build: https://www.androidfilehost.com/?fid=95897840722646839

20150117 Build: https://www.androidfilehost.com/?fid=95897840722644860

20150105 Build: https://www.androidfilehost.com/?fid=95887005526786982

<< Beta >>

20141227 Build: https://www.androidfilehost.com/?fid=95864024717070984

20141224 Build: https://www.androidfilehost.com/?fid=95864024717069340

20141223 Build: https://www.androidfilehost.com/?fid=95864024717068584

20141216 Build: https://www.androidfilehost.com/?fid=95857557620393081

Google Apps (add-on)

http://opengapps.org/ <==

Recommended <> Platform: arm | Android: 5.0 | Variant: nano

Installation

3-button-combo = "Volume Up/+" + "Home/Center" + "Power/Lock"

- First time flashing GearCM 12 to your Galaxy S4 (or coming from TouchWiz/Stock Based ROMs)?

Root your device and install latest GearCM Recovery.

Reboot into Recovery using 3-button-combo

Do a Nandroid Backup!

WIPE (wipe data/factory reset + wipe cache partition + format /system partition)

Install the ROM from internal/external sdcard using ClockworkMod Recovery

Optionally install Google Addon

Done! You can now reboot the phone to enjoy the rom :)

- Upgrading from Official CM10.2/CM11/CM12 or GearCM 11?

Reboot into Recovery using 3-button-combo

Do a Nandroid Backup!

Install latest latest GearCM Recovery.

Reboot into new Recovery using 3-button-combo (if needed)

WIPE (wipe data/factory reset + wipe cache partition + format /system partition)

Install the ROM from internal/external sdcard using ClockworkMod Recovery

Optionally install the Google Addon

Done! You can now reboot the phone to enjoy the rom :)

- Upgrading from another build of GearCM 12?

Reboot into Recovery using 3-button-combo

Do a Nandroid Backup!

Install latest latest GearCM Recovery.

Reboot into new Recovery using 3-button-combo (if needed)

Install the ROM from internal/external sdcard using ClockworkMod Recovery

WIPE Dalvik/ART Cache (wipe cache partition + wipe dalvik cache)

Done! You can now reboot the phone to enjoy the rom :)

Known Issues (regarding latest available Stable build)

Please do not report bugs if it is already listen in the list of known issues

Rarely, when you wake-up the device, touchscreen will have a noticeable input lag, easily fixable by turning off and on the display. (H/W or S/W bug?)

Wireless Display with some TVs could cause issues (AOSP bug related to HDCP, and Google doesn't provide a solution)

Video Stream through Screencast & Wireless Display will have inverted Red and Blue color channels due to BGR Pixel Format (actual Exynos sources don't allow to fix it)

Any Chinese (CHN, I9500XCUxxx codename) Baseband/Modem reduces Call Quality (due to forced AMR_WB, unsupported by CHN modems)

5GHz Wi-Fi Networks using Band B (52-140) and Band C (149-161) channels won't be listed (H/W or S/W bug?)

Reporting Bugs

You are allowed to report bugs only in this thread. Before reporting a bug, please make sure you are running as stock as possible. This means no custom kernel, no custom framework modification, etc. If you are using any of the above modifications, please flash the rom again to get rid of the modifications before reporting.

REPORT BUGS IN THIS THREAD ONLY

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. The following is a useful format to follow. Note: If you can provide the latest night/build that the bug didn't exist, it would greatly help in tracking down what caused it.

What is your--
Phone model:
Radio (baseband) version:
GearCM version:
GearCM download url:
Google Apps version:

Did you--
wipe data/factory reset:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
CMSettings/Performance Settings (other than stock):
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Changelog

20150731:

Updated CM Sources

Follow CM12.1 Changelog, until 20150731 Build.

Previous Releases:

20150506:

Updated CM Sources

KERNEL: Optimized Memory Operations

KERNEL: Optimized big.LITTLE CPU utilization

KERNEL: Optimized TCP Congestion Method

KERNEL: Some net. & ARM fixes

20150424:

Updated CM Sources

Updated Audio Driver and Configuration

Removed Hardware MPEG2 Codec

Properly Fixed and Updated XMM Modem RIL

Fixed Manual Network Operator Search

Reduced EGL Cache Size to reduce RAM usage

Fixed in-call echo problem (definitely)

Reduced Speaker Volume (to reduce distortion)

Using latest LL Hardware OMX Codecs

Optimized Wi-Fi by using Stock Configurations

Fixed Video Recording (no more pixelated videos)

KERNEL: Optimized Vibrator Driver

20150403:

Updated CM Sources

Highly Optimized

Updated Audio Driver

Updated RIL Stuff

Stabler and better audio mixer values

Optimized RAM Management

RECOVERY: Updated TWRP sources

20150324:

Updated CM Sources

Restored USB Mass Storage support

Fixed LEDs while in offline charging mode

KSM Configured and Enabled by default

Restored battery percentage while in offline charging mode

Using latest LL proprietaries

RECOVERY: Updated TWRP sources

KERNEL: Switched to LL kernel sources

KERNEL: Reduced debug

KERNEL: Merged some updates from Android 5.1

20150228:

Updated CM Sources

Improved Battery Life

Optimized Bluetooth Audio (A2DP & SCO)

Increased Speaker Volume

Decreased Headset Mic. Volume

Fixed VOIP Apps (Skype and such...)

Fixed MTP without ADB Debugging

Added F2FS Support for Cache & Data partitions (use latest GearCM Recovery to change filesystem type)

Fixed slow Flashlight toggle

Enabled Noise Suppression

Enabled Call Recording

Re-Introduced non-PIE support

Fixed touch-on-notifications (Ambient Display)

Fixed lags on some games

Disabled Equalizer Visualizer on Music app by default (laggy)

Optimized Auto-Brightness values

Reduced battery safe temperature (before 60 degrees, now 55)

Using Nexus 5 MMS User Profile

Fixed USB OTG on Lollipop

Increased External Storage speed access

Disabled Wi-Fi background scan (no one uses it and if enabled it causes battery to drain on idle)

Added Advanced Display settings

KERNEL: Optimized performance

KERNEL: Increased compression to fit new TWRP recovery

KERNEL: Enable some required flags by LL

KERNEL: Added F2FS Driver

20150214:

Updated CM Sources

DRM tested and properly working

Stabler Bluetooth Audio Quality

Added TouchScreen hovering support (untested)

Updated fingerprint to latest LL Stock Release

Increased main mic volume everywhere

Updated proprietary blobs to latest LL ones (except sensors stuff)

20150207:

Updated CM Sources

Updated Audio Driver (with new mixer_paths, now working much better than before)

Optimized Input/Output Audio Levels (no more echo effect and much more...)

Fixed Bluetooth Audio bad quality

Optimized ART Runtime for Cortex-A15

Optimized Network Speed (Mobile & WiFi)

Added Blinking Led Support (charging light uses low-power now, low light level is normal)

Re-Enabled 3D TV Support through MHL HDMI

Re-Worked CM Performance Profiles (now Balanced as default)

Some Updates from I9500XXUHOA7 (usable ones without LL kernel sources)

KERNEL: Updated Audio Driver to latest available from Wolfson

KERNEL: VPN should work properly now for ALL users

20150120:

Updated CM Sources

Fixed all DRM-Dependent apps (tested and ultra-tested)

Added some updates from I9500ZCUJOA3 leak (GPS, Radio and other minor changes)

20150117:

Updated CM Sources

Disabled S3D (3D TV through HDMI) support, useless on a mobile device

Fixed all SystemUI (Recents Apps/Apps Switcher) lags

Fixed all RIL Wakelocks (again) related to unsupported Samsung's requests

Fixed SOS Calls (i know that someone will be happy for this ;) )

Fixed USB Charging Only mode

DRM-Dependent apps should work correctly now

Reorganized phone initialization process (now cleaner than ever, even faster)

Optimized Auto-Brightness values

Optimized Mobile Data/Wi-Fi Internet speed

Speaker and Earpiece volume is now higher (as users request)

Disabled Block-Based OTA (this should fix all problems with ROM Flashing process, e.g. Status 1 Errors; Chinese PIT is now compatible)

Switched to new CM LL Boot Animation

AC & USB Charging Values are now the same (this means that you can charge your phone with USB or with AC at the same speed)

Some other optimizations and clean-up here and there

20150105:

Updated CM Sources

Enhanced Stability and Performance

Now switched from Beta to Stable :)

Disabled Audio Offload (unsupported)

Fixed Google Now Voice Input on Home Screen

Switched from old AwesomePlayer (KK) to NuPlayer (LL)

Enabled Ambient Display as user request

Clean-up Wi-Fi stuff

Enabled GPS LTO Support (http://www.broadcom.com/products/GPS/Location-Based-Services/LTO-AGPS)

Clean-up Framework overlays

Enabled CM Performance Profiles like on CM11

Correctly Configured Audio/Video Decoders

Fixed Flashlight/Torch (using a temp. workaround)

Properly fixed Root and USB at first boot

A2DP Calls should work fine for everyone now

You'll probably find many other fixes that i don't remember

EXTRA: Happy new Year :)

20141227:

Updated CM Sources

Properly fixed & enabled Bluetooth features

A2DP Calls should work fine now

Reduced Surface Buffers for smoother UI experience

Increased EGL Cache size to reduce lags

Fixed Audience ES325 audio effect name (now it should work fine everywhere)

Fixed Wi-Fi instabilities & Tethering

Added Screencast app

Properly enabled USB Ethernet support

Added CM Performance Profiles (for future usage)

Fixed & Optimized Offline Charging mode (now using less power than before) <= On Android L 4.2 bootloaders aren't supported anymore so offline charging may work only on 4.3 and newer ones. Let me know if works or not for you.

We are probably ready for a Stable release... ( or not? ;) )

KERNEL: reduce surface buffers

KERNEL: clean-up PVR GPU driver

KERNEL: some optimizations here and there

20141224:

Updated CM Sources

Fixed GPS

Updated NFC config

Using PIE binaries for RIL

Probably fixed all ART instabilities (app not installed and blah blah blah)

KERNEL: reverted change that was causing chrome and other app to crash

KERNEL: re-enable Android LMK

KERNEL: removed all Samsung USB rubbish

KERNEL: added some FS optimizations

EXTRA: Happy Christmas :)

20141223:

Updated CM Sources

Fixed all buttons features

Do not start GPS Binary (will be fixed when Samsung releases official Lollipop for our device)

Clean-up here and there

Smoother then ever, probably smoother than GearCM 11

Fixed WiFi instabilities

Fixed all Widevine (DRM) stuff

Application not installed bug should be fixed

You'll probably find many other fixes that i don't remember

20141216:

First Release

The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

XDA:DevDB Information

[GearCM][i9500][5.0.x] Optimized CyanogenMod 12 for Samsung Galaxy S4 [Final], ROM for the Samsung Galaxy S 4

Contributors

Alberto96, intervigil, codeworkx

Source Code: https://github.com/GearCM

ROM OS Version: 5.0.x Lollipop

ROM Kernel: Linux 3.4.x

Based On: CyanogenMod

Version Information

Status: No Longer Updated

Current Stable Version: 20150731

Stable Release Date: 2015-07-31

Current Beta Version: 20141227

Beta Release Date: 2014-12-27

Created 2014-12-16

Last Updated 2015-09-26