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

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

/*
* 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.
*
*/

LineageOS 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). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

LineageOS 14.1 Install Guide

Note: LOS 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 LOS-14.1 and gapps zips and put in /sdcard

GT-I9190: http://www.mediafire.com/folder/89zt4czjboe3u/lineage-14.1

GT-I9192: http://www.mediafire.com/folder/x7woeo7en492g/lineage-14.1

GT-I9195: http://www.mediafire.com/folder/g79ayk1gb5kte/lineage-14.1

Google Apps (Use pico, nano or micro package)

Before you install LOS-14.1: 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: https://xdaforums.com/galaxy-s4-mini/orig-development/recovery-twrp-3-2-1-0-t3736888

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

For migration from unofficial to official builds, see here: https://www.reddit.com/r/LineageOS/comments/65gqqg/repopick_function_errors_during_migration_build/

Install

Boot into recovery.

Wipe data and cache.

Flash lineage-14*.zip.

Flash gapps*.zip. You must flash gapps after every upgrade to LOS-14.1 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 LOS-14.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 LOS-14.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:

serrano3gxx LineageOS wiki

serranodsdd LineageOS wiki

serranoltexx LineageOS wiki

Jira issue tracker

DO NOT REPORT BUGS FOR NIGHTLY BUILDS!

Source repos:

https://github.com/LineageOS/android_device_samsung_serrano3gxx

https://github.com/LineageOS/android_device_samsung_serranodsdd

https://github.com/LineageOS/android_device_samsung_serranoltexx

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

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

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

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

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

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

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

FAQ

Q: How the heck do I get root?

A: Download and flash addonsu package: https://download.lineageos.org/extras

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

Developer options. Change Root access to desired method.

To remove root, download and flash addonsu-remove package

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 LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!