[Galaxy S 4 Mini Android Development] leripe:
General info:

This can brick your device, void your warranty and kill your cat if you don't follow the guides to the letter or you use these guides for the wrong S4 Mini variants like GT-I9192, Sprint(JDQ39.L520 or SPH-L520), SHV-E370K, SGH-I257M, SCH-R890, GT-I9195T and GT-I9197 etc.. These other variants aren't officially supported, but if you want to root them etc. search other threads from these S4 Mini forums for guides.

You can save the files either to internal or external sdcard. sdcard/ is internal and sdcard1/ is external.

Factory reset also wipes cache and dalvik cache.

Factory reset wipes data, but it doesn't wipe your internal sdcard (or external). Only data stuff like apps, settings for a rom etc., example pictures and other media stuff are saved.

When you flash a rom, the flashing script formats /system before flashing the rom.

If you download the rom files with phone the default path for the files in CWM recovery is: Install zip from sdcard -> Choose zip from /sdcard -> 0/ -> Download/.

Check this thread for more info about rooting and stuff related on CWM.

On the CWM install guide there's a step "10: Optional: Flash GT-I9195_Kernel_v1.zip to use a custom stock kernel, which might fix battery drain for some." This kernel is only for the stock samsung rom and not for CM11.

On the CWM install guide there's a S4Mini_RootKit_v2.zip, it's meant for stock samsung rom and not for CM11.

Upgrading to newer nightly: You can just flash it over the old one, but it's highly recommend to always backup before flashing newer nightly. Also some people like to wipe cache and dalvik cache before flashing newer one, but it's not necessary.

If you want the latest CWM recovery updates to be installed at the same time you update to newer nightly, unlock developer options by tapping build number 10times from About phone settings and then tick the Update CM recovery option on from the developer options.

Root and root app is integrated into CM11 rom, so you don't need to flash rootkit or install superuser app.

CWM aka ClockworkMod is the official Cyanogenmod recovery and the only one I recommend using.

CM aka Cyanogenmod.

The number 11 of CM tells which android version it's based on. CM11 is based on android 4.4.x KitKat, which is the latest one.

If you get warnings about applications doing not permitted actions, delete the following files from system/app, or let SuperSU fix it for you. KNOXAgent.apk, KNOXStore.apk and ContainerAgent.apk.

"Set Warranty Bit kernel" message means that your warranty is void depending on the country where you live (In EU it might still be under warranty, USA not. For others google). This happened because you had KNOX firmware installed on your phone when you bought it or you got one when you upgraded your stock rom. This can not be reseted yet.

What is knox?

(Not recommended at the moment, has bugs, date 3 aug 2014) Recommended app when using nightlies: For downloading smaller updates instead of whole nightlies, check CyanDelta updater app.

Recommended app when using nightlies: For making nandroid backups without booting to recovery, check this app (also has pro version).