[Galaxy S 4 Mini Original Android Development] arco68:
WARNING! This ROM is for the GT-I9190 and GT-I9195 variant only!

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

Q/A thread:

N/A

Please use the above unless you have something development-related to contribute here. Thank you.

/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we 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. You will need to provide your own Google Applications package (gapps). 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 our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

CM-13.0 Install Guide

Note: CM for Galaxy S4 Mini is provided with no warranty. You are installing this software at your own risk. You may be violating your warranty.

Download CM-13.0 and gapps zips and put in /sdcard

GT-I9190: http://download.cyanogenmod.org/?device=serrano3gxx&type=nightly

GT-I9195: http://download.cyanogenmod.org/?device=serranoltexx&type=nightly

UPGRADE REQUIRED

Google Apps (Use micro, nano or pico package)

Before you install CM-13.0: Preparation

(Optional. If you want to start fresh, these can be skipped)

Install Easy Backup & Restore from Market, run it and backup your stuff.

Boot into recovery. Make a full backup. You will need this backup later if you decide to go back to your previous ROM and data.

I suggest using TWRP from here: http://xdaforums.com/showthread.php?t=2678420

WARNING: Many apps will Force Close crash if you restore data from a previous ROM.

Install

Boot into recovery.

Wipe data and cache.

Flash cm-13*.zip.

Flash gapps*.zip. You must flash gapps after every upgrade to CM-13.0 since /system is formatted, wiping your previous add-ons.

Reboot phone.

After you setup your Google account, reinstall Easy Backup & Restore from Market in order to restore most of your apps, call log and SMS history.

Warning: Do not restore backup data of system apps!

If you restore a bad backup with cached settings in telephony.db in data/data/com.*.*.telephony it can break MMS.

It seems that restoring backups can also break Calendar sync.

Upgrades

Upgrades from previous versions of CM-13.0 are the same process as install, except you do not need to wipe anything. Contrary to popular belief, you do not need to even wipe cache and dalvik-cache when upgrading between CM-13.0 versions. You only need to wipe if you are doing a major upgrade, switching to a different ROM entirely, or attempting to fix bugs caused by bad backups or corrupt app data.

Useful Links:

BBQLog changelog

serrano3gxx CyanogenMod wiki

serranoltexx CyanogenMod wiki

Jira issue tracker

DO NOT REPORT BUGS FOR NIGHTLY BUILDS!

Source repos:

https://github.com/CyanogenMod/android_device_samsung_serrano3gxx

https://github.com/CyanogenMod/android_device_samsung_serranoltexx

https://github.com/CyanogenMod/android_device_samsung_serrano-common

https://github.com/CyanogenMod/android_device_samsung_msm8930-common

https://github.com/CyanogenMod/android_kernel_samsung_msm8930-common

https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-13.0/serrano-common

FAQ

Q: How the heck do I get root?

A: Goto Settings and About Phone. Tap Build number 7 times. Go back and enter

Developer options. Change Root access to desired method.

Q: How to get compass working?

A: Shake the phone around in the air a few times.

Other Issues?

Use this for obtaining logs.

For nightlies, bug reports are not accepted. You are relying on yourself and your peers in this thread for support!

Credits:

Epic Touch CM Team for the install instructions

Everyone that donated beers :)

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