[Galaxy S 4 General] nadejo:
Im not responsible for any damage on your phone!!!

F2FS(flash friendly file system): Improves random write performance.

*****if the f2fs guide is too complicated and you wont make use of it. you might also try googy max latest i9505 aosp kernel (cm11)

as it doesnt support f2fs but its smoother and is more stable (my experience) using googy's kernel you can use most of the settings provided below for alucard kernel aswell (use device controll from playstore as it shows more functions and the governors stick to all cores) for performance & powersave choose intellidemand. dont choose nightmare as some people including me reportet instant random reboots.

for best experience (battery/performance) using googy max. set the following in device controll(dont forget to check boot option in settings):

cpu: intellidemand

read ahead 3072/fiops (in stweaks on ext and internal aswell)

tasker set:

screen on, cpu max to max

screen off, cpu max to min

screen on, gpu max to max

screen off, gpu max to min

screen on, cpu gov intellidemand

screen off, cpu gov powersave

go stweaks and choose special tweaks, disable gentle fair sleepers, disable android logger, reboot, done :).*****

hint: liquid smooth rom and optimized cm11 rom are also f2fs ready and dont need to be formated as they detect rather your device is f2fs formated or not. they also dont need alucard kernel to be flashed as the optimized cm11 uses alucard as default kernel. and liquidsmooth has its own f2fs compatible kernel aswell.

Requires:

1. root

2. twrp all in 1 recovery by ktoonsez (for f2fs)

3. latest Alucard kernel

4. latest cm11 nightly you can also use other aosp based roms !! But it must be f2fs converted using stweaker app!! extract the app from this kernel.zip

5. smallest gapps

6. Additional apps

Titanium backup

Resolution changer

Holo launcher

Guide:

(for best battery follow green step 6* instead of step 6)

1. Changing to F2FS

NOTE: Follow these steps EXACTLY, do NOT add or remove any steps, period!!!!

1.1. Backup everything from your internal SD to your PC or external SD, since the entire internal SD is going to get wiped out with format!!!!!!!!!!

1.2. Download the files from the folder that you got these instructions from (Ignore the OLD WAY folder) and SAVE TO THE EXTERNAL SD!!!

1.3. Flash TWRP-KT.ALL-IN-1.zip (this is what gives you the ability to format using F2FS)

1.4. Reboot recovery

1.5. Go to "Settings" and check the box to force F2FS for data and cache (you can also check the box to include /system partition if you want to convert your ROM's zip to use that too for best results)

1.6. Go to "Wipe->Advanced" option and wipe the "Cache" partiton

1.7. Go to "Wipe->Format Data" option (THIS WIPES YOUR ENTIRE INTERNAL SD CARD, all files and folders, all gone so make a backup to your external SD or PC!!!!!!!!!!!!!)

1.8. Flash your ROM (f2fs converted using ktweaker app)

1.9. Flash gapps

1.10. Flash alucard kernel

1.11. KTweaker has a new option under "Tools" screen to "Get Partition info" to double check your work.

Note: Each time you update your Rom you must f2fs convert the rom before flashing.

2. Disable/delete unwanted system apps using titanium backup list of apps which are safe to disable and not be carefull which download app you disable (downloads.ui since the other one is essential) and disabling livewallpapers will cause system reset when u set any live wallpaper so you should also disable livewallpaper picker. Disabling wallpaper cropper will cause soft reboots when setting any wallpaper(dont delete htmlviewer or you cant update your rom anymore and you can disable incall.ui deleting will cause forceclose when phone rings and you cant reply).

3. Go to settings, pricacy/privacy guard/advanced and denie auto start and keep awake option for all apps you dont need running at startup and on background.

4. Go to developer menu, disable animations, Enable 2d gpu rendering and enable art runtime.

5. Install resolution changer from playstore. Set Galaxy s3 settings and apply. If u get no root permission on the app, enable auto root answer (yes). This app wont only change the dpi. It also changes the resolution so your gpu does render less and faster as we can do on our desktop computers (you will not notice any difference in sharpness)

6. Go to alucard stweaker app. Chose max performance profile, change all governors to intelliactive and apply. Set all i/o schedulers to fiops and all read ahead to 3072, tcp westwood, disable logkat logger (allways), Enable auto oom controll and set all to exterminate, choose default thermal profile and disable core control, set core max heat and cpu max heat to max, set dirty ratio and dirty background to max, input boost freq to max, sync treshold to off, gpu governor ondemand, force all cores online, choose two core boost, choose msm hotplug and apply

7. Use holo launcher as default.(lowest ram consuming launcher)

8. Diable device statistics and disable all options in cell broadcast

6*. if you want to save power (you will notice a performance decrease) Set governor and hotplug to alucard, power save bias to 2, min 1 core online and if you want to undervolt, input boost freq 1242000khz, turn off set at boot option and undervolt all cpu freqs -50mv and gpu -75mv and if its stable you can set on boot(!! Dont forget toggling voltage main switch before changing any voltage!!)

if you got any random reboots with my settings. use the default profile in stweaks

thanks to the cm team,

alucard24 for his amazing kernel

and ktoonsez

Press thanks please if i helped you!

List of apps you must KEEP

(you can replace stock apps like apollo or browser ofc)

performance improvements:

f2fs: +1-3% faster i/o operations

art runtime: +6-9% faster overall performance mostly app load speed

removing system apps: +4-10% overall performance

tweaks using alucard: +10-30% overall performance

tweaks on googy max: +15-35% overal performance

battery life alucard: +20-30%

battery life googy: +20-40%

Antutu first run (alucard kernel)

The following video shows the gaming performance with n.o.v.a.3 full graphics using mali template on cm11 with alucard kernel

[YOUTUBE]7-oMOMNbQl0&feature[/YOUTUBE]