[ROM][GT-I9190/I9195][Official][5.1.1] CyanogenMod 12.1 for S4 Mini 3G/LTE

Search This thread

arco68

Recognized Developer
Oct 11, 2010
2,911
24,781
logo.png


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.

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


Before you install CM-12.1: Preparation (First three are optional. If you want to start fresh, these can be skipped)
  1. Install AppBak from Market, run it and save a list of all your apps.
  2. Install SMS Backup and Restore from Market, run it and backup your SMS history.
  3. Install Call Logs Backup and Restore from Market, run it and backup your call log history.
  4. 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

  1. Use ClockworkMod Recovery.
    GT-I9190: http://forum.xda-developers.com/showthread.php?t=2398143
    GT-I9195: http://forum.xda-developers.com/showthread.php?t=2364980
    • Warning: Only use this recovery to flash CM-12.1. Otherwise, you risk bricking your phone!
  2. Wipe data and cache.
  3. Flash cm-12*.zip.
  4. Flash gapps*.zip. You must flash gapps after every upgrade to CM-12.1 since /system is formatted, wiping your previous add-ons.
  5. Reboot phone.
  6. 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.
  7. 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:



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!
 
Last edited:

96DANGER96

Senior Member
Jul 2, 2011
645
157
Thank's @arco68 !!! So, what modem do you use? I switched to CNK1 and no more sound problems in calls!!!! Do you think this is modem-related?
 

96DANGER96

Senior Member
Jul 2, 2011
645
157
I'm on CNK1 too, but I've never had any call sound problems though. Some say the issue is caused by the "Ok Google" feature, and that disabling it fixes it.


It is because every thing uses the microphone breaks some thing in The audio routine system, i've tester it personally
 

artu72

Senior Member
Mar 17, 2013
189
73
Vitulazio
F4k kernel

Is the last f4k kernel (2.2.6) compatible with this official cyano?

However, thank you very much, Arco!
 

cenovita

Senior Member
Aug 29, 2011
141
7
hey guys, good to know 12.1 is here for us.

quick question, i've been using 12.0, compared to this one, 12.1 is ready for daily use?

thanks!
 

sej7278

Senior Member
May 24, 2011
139
39
how are you guys updating your modems and checking the current modems? i'm sure i've done this before and forgotten how/where, as i've got this in my notes:

Code:
AP: I9195XXUCNH5
CP: I9195XXUCNH5
CSC: I9195OJVCNH1
PDA:NH5
PHONE:NH5
CSC:NH1 (XSG)

anyway, flashing 12.1 nightly now, just about to make a build once the repo sync has finished, seems to be stuck on gradle whatever that is, must be big download
 

sej7278

Senior Member
May 24, 2011
139
39
http://www.sammobile.com/firmwares/database/GT-I9195/

If I'm in the mood, I download the entire stock ROM and extract the modem. Update via heimdall.

being a linux fanboi i'd much rather use heimdall, but downloading an 850mb rom at 15kbps (or whatever these awful hosting sites give) is a pain, although getting kies3 working in a win7 or yosemite vm is more painful it seems.

any instructions how to do it with heimdall, i assume i just install modem.bin or somesuch and don't have to actually flash a whole stock rom/recovery?
 

Draylin

Member
Jun 26, 2014
31
8

Whitest

Senior Member
Oct 6, 2011
143
60
being a linux fanboi i'd much rather use heimdall, but downloading an 850mb rom at 15kbps (or whatever these awful hosting sites give) is a pain, although getting kies3 working in a win7 or yosemite vm is more painful it seems.

any instructions how to do it with heimdall, i assume i just install modem.bin or somesuch and don't have to actually flash a whole stock rom/recovery?


Have a look at this topic

http://forum.xda-developers.com/showthread.php?t=2545784

and especially the following post ;)


- Normally (if someone provided) I flash all: Modem, rpm, tz:
heimdall flash --no-reboot --MODEM NON-HLOS.bin --TZ tz.mbn --RPM rpm.mbn --verbose
- obviously just modem:
heimdall flash --no-reboot --MODEM NON-HLOS.bin
- don't forget to flash 2x!

hint to heimdall: My experience is very good. never broke anything with the mobile with this tool. Partially they changed the parameter names so on some old versions. Above command is for version 1.4.1. If you might have problems with an message "Protocol initialization", try another package from your repositories. Some compiled versions in some user repositories are not good.



sent from CM 12 on my S4 Mini using Tapatalk
 
Last edited:
  • Like
Reactions: sej7278

Top Liked Posts