FORUMS
Remove All Ads from XDA

[GearCM][i9500][6.0.x] Optimized CyanogenMod 13.0 for Samsung Galaxy S4 [20161203]

8,276 posts
Thanks Meter: 17,407
 
Thread Closed Email Thread
Announcement from Alberto96: 20161203 Stable Build Released | Enjoy!
Use this thread =>http://goo.gl/6kTvJu for questions or discussions.

Only Bug Reports & Feedbacks are allowed here. Penalty: Post Removal by Moderators


CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0.x (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.
Code:
#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

All not-working RenderServer hosted files can be found here: https://androidfilehost.com/user/?w=...les&flid=50874

<< Stable >>

20161203 Build: https://www.androidfilehost.com/?fid=601300970940399905

<< Misc. (Modem & Recovery) >>

GearRecovery (based on TWRP Recovery) 20160220: https://www.androidfilehost.com/?fid=24421527759883765 <= Highly Recommended

I9500XXUHOD4 LL Modem: https://basketbuild.com/filedl/devs?...-MODEM_CWM.zip <= Russian Modem, Recommended

I9500DDUHOA1 LL Modem: http://forum.xda-developers.com/atta...1&d=1423927137 <= Indian Modem, use it if you're experiencing problems with Russian variant


Previous Releases:



Google Apps (add-on)

http://opengapps.org/ <== Recommended <> Micro/Mini Modular Package. Do not choose Stock

Installation

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

- First time flashing GearCM 13.0 to your Galaxy S4 (or coming from TouchWiz/Stock Based ROMs)?
  1. Root your device and install latest GearRecovery
  2. Reboot into Recovery using 3-button-combo
  3. Do a Backup!
  4. WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
  5. Install the ROM from internal/external sdcard
  6. Optionally install Google Addon
  7. Done! You can now reboot the phone to enjoy the rom
- Upgrading from Official CM10.2/CM11/CM12/CM12.1 or GearCM 11/12/12.1?
  1. Reboot into Recovery using 3-button-combo
  2. Do a Backup!
  3. Install latest GearRecovery
  4. Reboot into new Recovery using 3-button-combo (if needed)
  5. WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
  6. Install the ROM from internal/external sdcard
  7. Optionally install the Google Addon
  8. Done! You can now reboot the phone to enjoy the rom
- Upgrading from another build of GearCM 13.0?
  1. Reboot into Recovery using 3-button-combo
  2. Do a Backup!
  3. Install latest GearRecovery
  4. Reboot into new Recovery using 3-button-combo (if needed)
  5. Install the ROM from internal/external sdcard
  6. WIPE Dalvik/ART Cache (wipe cache partition + wipe dalvik cache)
  7. Done! You can now reboot the phone to enjoy the rom

Known Issues (regarding latest available build)
Please do not report bugs if it is already listen in the list of known issues
  • Audio HAL isn't working correctly, causing VOIP issues, HDMI audio instabilities and mixer paths conflicts
  • STK Toolkit isn't working yet, SMSs aren't properly sent (RIL issue)
  • SELinux policies are almost complete, with just some minor missing rules
  • Wireless Display (or Miracast if you like) stream is corrupted, buffer issues
  • Adoptable Storage isn't stable, crashes while encrypting the external storage (Kernel Panic). Read Here: http://goo.gl/0w6DPt
  • Device Encryption isn't stable for the same issue that affects Adoptable Storage

Reporting Bugs

First of all, read this: http://www.chiark.greenend.org.uk/~sgtatham/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.

Code:
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

20161203:
  • Updated CM Sources
  • All missing features (that i have accidentally removed in the previous build) are back
  • Some Audio HAL stability improvements
  • Removed that dangerous Soft Reboot option
  • KERNEL: some updates here and there
  • Check my GearCM Github for more information

Previous Releases:


20160828:
  • Updated CM Sources (nice improvements are here)
  • Added new features for Screen Power Saving, play with LiveDisplay settings!
  • Enabled HDMI CEC support
  • Wireless Display & Screen Recording should work better now, but nothing guaranteed

20160711:
  • Updated CM Sources
  • Improved built-in Camera Latency with Flashlight
  • KERNEL: Fixed Battery Capacity

20160710:
  • Switched to Stable Release
  • Updated CM Sources
  • Fixed Wireless Display (even if not completely)
  • Fixed random Graphics Glitches
  • Fixed WiFi issues
  • Fixed Battery Drain
  • Fixed Camera Instabilities (no more crashes)
  • SELinux is now enabled, but on permissive mode.
  • DRM-dependent apps should be working fine now
  • Maxed Out ART Runtime Performance
  • OTA Updates are back, but with download links (AndroidFileHost limit)
  • Adoptable Storage is now working, but unstable. "Known Issues" explains why
  • Optimized Network Performance (WiFI & 3G)
  • Restored Android Marshmallow Doze Mode (power-saving)
  • Using latest INU OK2 proprietaries
  • KERNEL: switched to a whole new, and stabler, kernel
  • KERNEL: using latest INU OK2 kernel sources
  • KERNEL: enabled all features that might be required by some apps

20160502:
  • No Changelog provided yet, will be added soon.

20160101:
  • First Release (Alpha)



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

XDA:DevDB Information
[GearCM][i9500][6.0.x] Optimized CyanogenMod 13.0 for Samsung Galaxy S4, ROM for the Samsung Galaxy S4

Contributors
Alberto96, NBruderman, intervigil, codeworkx
Source Code: https://github.com/GearCM

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Latest Modem, TWRP or GearRecovery, and a working brain to manage GearCM features
Based On: CyanogenMod

Version Information
Status: Stable
Current Stable Version: 20161203
Stable Release Date: 2016-12-03
Current Beta Version: 20160502
Beta Release Date: 2016-05-02

Created 2016-01-01
Last Updated 2016-12-03
The Following 142 Users Say Thank You to Alberto96 For This Useful Post: [ View ]
 
 
1st January 2016, 08:39 PM |#2  
Reserved
Important! Read this before any other question/doubt.

Quote:

If someone doesn't like my ROMs, or doesn't like me, or even better, doesn't want to like/appreciate my works, then you can just go ahead and use/follow someone else works. Easy, not against XDA rules, and smart.

I'm not here for "fame" (or "glory" as someone in this forum said) unlike someone else, neither this is my job. I'm working on this device just because TW is far than usable (at least for me) on every Samsung device, not because someone else requested me to do it.


Differences between GearCM (Optimized CyanogenMod) and Official CyanogenMod (NIGHTLY):


Quote:
Originally Posted by Degrated Shadow

Enough of those dumb questions..
The Official CM rom is maintained by @Alberto96 and @intervigil
He makes the very recent changes here relating to performance...which are then in time pushed (even if partially) to CM Official Sources. The kernel is different because it has seLinux disabled and few minor tweaks you might not even notice...this GearCM ROM will have more performance. But CM will have their updated base changes which are included here with each update.
What I mean is you probably wont even notice what's different in terms of user interface. GearCM will have more performance. Official CM will have updated sources. But it will include GearCM's changes in time as @Alberto96 pushes them to CM
You can decide by a simple choice..more performance and not-nightly updated sources or similar/worse performance (improving with nightly updates) with updated sources. I would choose GearCM because of the reasons i mentioned above. Do what you will...and let this be a note to everybody who ask this again and again and again. Don't spam the thread with same question in every alternate page...because there are other people who might have different problems they need to ask. Read at least 15 previous pages and the first post Changelog before asking the question. Reading most of the times will give you a solution and if not most of the info you will read will help you anyway.

The Following 44 Users Say Thank You to Alberto96 For This Useful Post: [ View ]
1st January 2016, 08:39 PM |#3  
Reserved
FAQ (Frequently asked questions)


If there a procedure that i should follow in order to have a clean base to start from?

Yes, follow this procedure and you shouldn't have any issue.
  1. Flash latest Stock ROM Odin package | http://www.sammobile.com/firmwares/d...500MBCHOF1_MBC | using latest Odin3 Flasher | http://forum.xda-developers.com/atta...1&d=1440131361 | and Standard (not Chinese) .pit file. | http://forum.xda-developers.com/atta...0&d=1382462885 |
  2. After First Boot, Shutdown your device and Boot into recovery mode using 3 buttons combo (Volume +, Home, Power)
  3. Wipe Data/Factory Reset using Volume Keys and Power Button (on Stock Recovery)
  4. Flash latest TWRP 2.8.7.0 | https://dl.twrp.me/i9500/twrp-2.8.7.0-i9500.img.tar | using Odin3 | previously linked | (Untick Auto Reboot to avoid any issue)
  5. Shutdown your device (pull off your battery)
  6. Boot into recovery mode using 3 buttons combo | Volume +, Home, Power | (TWRP will boot now)
  7. Flash latest GearRecovery (on TWRP)
  8. Reboot into recovery mode using TWRP on-screen buttons | Home => Reboot => Recovery | (GearRecovery will boot now)
  9. Clean completely your device (Format Data and Wipe All Partitions)
  10. Reboot into recovery mode as did before (GearRecovery will boot again now)
  11. Flash latest GearCM ROM
  12. Home => Reboot => System

Where is "Developer Options" category?
To activate 'Developer Options' category in Settings you need to tap 7 times on 'Build number' located into Settings -> About Phone.


What can i do to fix VOIP audio calls?
There's not a real fix yet, so i found this useful workaround that could help you.

If you need to make a VOIP call:

1) Play something using stock music player (also third-party music players SHOULD be fine)

2) Do not pause audio playback

3) Make a call using your preferred VOIP app.

Or you can just use a Wired Headphone/Headset | BT Headphone/Headset.

This workaround should work also for incoming VOIP calls.


How can i solve problems with Hebrew language?
Go to "Developer Options" in Settings and check "Force RTL layout direction".


What can i do to reduce the "echo effect" while in-call?
Try to reduce in-call earpiece volume (if possible). Shouldn't be required on latest builds.


I'm having problems with battery life, what can i do?

1) Use "Greenify" to hibernate all apps with a "little cloud + 'Gcm' word inside" on the right of each app's name. Donation version is recommended because it allows deeper hibernation of apps

2) Disable "Location" or set it to mode "Battery Saving" (Settings -> Location)

3) Make sure that your 2G/3G mobile network signal level isn't always low or unstable

4) Deny "Wake Up" and "Keep Awake" permissions to Google and third-party apps. (Settings -> Privacy -> Privacy Guard -> Press menu button and check "Show built-in apps" -> Press menu button again and go to Advanced -> Horizontal Scroll to Device)

5) Disable "Sync" or sync only useful stuff like Contacts

6) Disable "Auto-rotate screen" (Settings -> Display & lights -> Rotation)

7) Use one of the latest Modem/Baseband listed on first post.

8) Disable Ambient Display

9) Install Xposed Framework and configure Amplify

If this isn't enough then replace your battery and/or reduce your phone usage. :silly:


Is GearCM OTA supported?
Yes :) (Since 20150707 Build)


Why is my phone over-heating while playing heavy-games or running heavy-apps?
Use a bit your brain to explain why. High CPU and GPU usage = high heat production. Your phone will automatically throttle CPU when needed so don't worry, it is safe and normal.


Can I use another kernel instead of the one included in the zip?
No. Only use the included kernel for 100% compatibility, bug reports with non-standard kernel will be ignored.


Can i disable S-View cover features (lock/unlock)?
Not yet.


*** IR Remote app isn't working anymore/was working on previous builds/causes my phone to crash, what can i do?
Contact *** IR Remote app developer.
The Following 33 Users Say Thank You to Alberto96 For This Useful Post: [ View ]
1st January 2016, 08:48 PM |#4  
hazar1907's Avatar
Member
Flag kastamonu
Thanks Meter: 1
 
Donate to Me
More
woooww .. new topic .. good luck
1st January 2016, 09:03 PM |#5  
30 Minutes left to the end of the upload (and don't worry, this isn't a placeholder)

Known Bugs:

- Camera
- Compass (untested)
- Synapse (not supported)
- OTA Updates (support will be added later)
The Following 37 Users Say Thank You to Alberto96 For This Useful Post: [ View ]
1st January 2016, 09:37 PM |#6  
GearCM 13 Alpha Build is up!

Enjoy
The Following 30 Users Say Thank You to Alberto96 For This Useful Post: [ View ]
1st January 2016, 09:40 PM |#7  
Senior Member
Thanks Meter: 46
 
More
Thumbs up
Quote:
Originally Posted by Alberto96

GearCM 13 Alpha Build is up!

Enjoy

Thank you for your effort, downloading now , hope camera is fixed soon
1st January 2016, 09:46 PM |#8  
Senior Member
Flag Istanbul
Thanks Meter: 23
 
More
Great job man thank you downloading now
Bilal_503
1st January 2016, 09:57 PM |#9  
Guest
Thanks Meter: 0
 
More
can i dirty flash or must i clean install @Alberto96?
1st January 2016, 09:57 PM |#10  
Quote:
Originally Posted by Bilal_503

can i dirty flash or must i clean install @Alberto96?

You know that i'll always answer with two simple words: "CLEAN FLASH".
The Following 7 Users Say Thank You to Alberto96 For This Useful Post: [ View ]
1st January 2016, 10:08 PM |#11  
Ouweshs28's Avatar
Senior Member
Flag Bon Acceuil, Flacq
Thanks Meter: 1,549
 
Donate to Me
More
Thanks Alberto..
YOU ARE AMAZING!!!
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes