[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 5.1 (Lollipop), 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-12.1 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-12.1 and gapps-lp 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

Before you install CM-12.1: Preparation

(First three are optional. If you want to start fresh, these can be skipped)

Install AppBak from Market, run it and save a list of all your apps.

Install SMS Backup and Restore from Market, run it and backup your SMS history.

Install Call Logs Backup and Restore from Market, run it and backup your call log history.

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

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

Install

Use ClockworkMod Recovery.

GT-I9190: http://xdaforums.com/showthread.php?t=2398143

GT-I9195: http://xdaforums.com/showthread.php?t=2364980

Warning: Only use this recovery to flash CM-12.1. Otherwise, you risk bricking your phone!

Wipe data and cache.

Flash cm-12*.zip.

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

Reboot phone.

After you setup your Google account, reinstall the three apps 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-12.1 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-12.1 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-12.1/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.

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!