yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] Jsilver73:
Alucard STweaks settings introduction

Firstly I think it is important to give credit where credit is due firstly to [MENTION=4899086]alucard_24[/MENTION] for his amazing kernel which can be found here and the legendary [MENTION=289089]gokhanmoral[/MENTION] for his original kernel implementations and STweaks to control his infamous Siyah kernel.

This thread is intended to be a place where users are able to share their own settings in STweaks to control the Alucard Kernel for SG S4 i9505

The latest kernels for AOSP, TW and GE can be found in the original Alucard thread

This thread is a WIP and I welcome input from all Alucard users to suggest edits to these first informative posts not to mention sharing their own experience and settings to make this already awesome kernel 'interstella' for new and old users like myself :cool:

How is it going to work?

Post 2: Instructions of how to apply and upload the settings to/of STweaks

Post 3: AOSP settings

Post 4: GE settings

Post 5: TW settings

Posts on-wards: your settings, experience and Q&A

What I would like from experienced Alucard users

your settings in written form and saved from your 'default.profile_backup' file(instructions of how to do this in post 2)

your experience of using the settings found in this thread with screenshots from BBS to evidence (for some of us more sceptical users lol)

Best practice

As well as attaching your actual default zip file please also copy and paste your settings from your zip file into your post and make bold and highlight your tweaks in red, I will then put this in the appropriate post for either AOSP, TW or GE in a 'spoiler' for users to actually identify what changes have been made

Please also identify what sort of profile you expect this to be - battery, extreme battery, balanced, performance or extreme performance and free to give your profile a name ;)

What I will do

upload said settings and/or experience of using these settings to the relevant section of this thread

A message from [MENTION=4899086]alucard_24[/MENTION]

'I think that It is very good idea create a new thread, sharing own profiles for battery, performance using. I would like to see people that do some good experiments. You can add for me, that I will try to use all profiles shared and choose the best one for updating my profiles :)'
[Galaxy S 4 i9505 Android Development] Jsilver73:
AOSP settings

see [MENTION=3306843]kantjer[/MENTION]s post #7

My settings are in post 6

[MENTION=3958686]brunodu91[/MENTION]settings here

[MENTION=5891038]angelcalibur[/MENTION] settings here

If you would like a link here to your settings please post them in the main thread and I will link here for other users, please ensure you specify which kernel build they are for and update accordingly
[Galaxy S 4 i9505 Android Development] Jsilver73:
GE settings

My settings uploaded to post #6
[Galaxy S 4 i9505 Android Development] Jsilver73:
Post# 5 TW

If you would like a link here to your settings please post them in the main thread and I will link here for other users, please ensure you specify which kernel build they are for and update accordingly
[Galaxy S 4 i9505 Android Development] kantjer:
The profile backup below can be imported in Alucard V1.3d AOSP kernel.

For

all other kernel versions

use the Compare file for reference and change the settings manually!

You can find instruction on how to import these setting in post #2

My profile

Stock v.s my settings Compare

If you want to use Under Volting please remember that not every S4 has the same stock CPU voltage.

Read this and this and perhaps even this post before experimenting with it.
[Galaxy S 4 i9505 Android Development] Socim:
I am also glad to share my config and my builds here. :D
[Galaxy S 4 i9505 Android Development] Vladivid:
Нi, Jimsilver73! Where you found Alucard V2.6.6e kernel? Share please ;)
[Galaxy S 4 i9505 Android Development] Jsilver73:
Look in mine or kantjers signatures and you will find links to kantjers file share, he compiles with latest slim kat with latest Alucard - thank you kantjer :) :)
[Galaxy S 4 i9505 Android Development] jin1711:
Kantjer, how to make your settings by default? Im editing default profile or backup but when i activated it nothing changed. By instruction in post 2 im getting same result.. Slimkat 4.6 offical + alucard latest.
[Galaxy S 4 i9505 Android Development] kantjer:
Look at this by Alucard. That should work (it does for me)
[Galaxy S 4 i9505 Android Development] jonatasneves13:
waiting the profile for GE :fingers-crossed:
[Galaxy S 4 i9505 Android Development] kantjer:
Well make one and post it.

We need to start somewhere, and we need a user on GE for that.
[Galaxy S 4 i9505 Android Development] jin1711:
Thanks, but it didn't helped. but now it works well. all changes i made to profiles via text editors were not work. I deleted default.profile and copied your's into alucard folder and renamed it(default.profile). and after several times of changing profiles it started working :laugh:

backuping and restoring did nothing....
[Galaxy S 4 i9505 Android Development] kantjer:
I think I know what's wrong with your manually edited profile.

If you do that make sure you use Notepad++, if you use something like Windows notepad the file won't be in a linux compatible format.

[MENTION=5528810]Jimsilver73[/MENTION] I think this is something for the Instructions in post #2
[Galaxy S 4 i9505 Android Development] jin1711:
I edited it in root explorer/es explorer texteditors
[Galaxy S 4 i9505 Android Development] kantjer:
It still looks like somehow you corrupted the config file. I noticed sometime ago that using Root Explorer to edit a file can be tricky.

If you compare the same file in Notepad++ and Root Explorer for example they look slightly different in terms of tabs and spaces.

Since I noticed that I never edit files on the phone anymore.
[Galaxy S 4 i9505 Android Development] eongab:
update to the latest version and restoring from backup works. just restored [MENTION=3306843]kantjer[/MENTION] bakup. additional instructions on post # 2 you need to unzip it.
[Galaxy S 4 i9505 Android Development] wyzli:
Can someone share very conservative settings for AOSP?

Thank you very much.

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Android Development] HaTrED_:
Can anyone explain me what swappiness is intended to do? :confused:

Is it like a swap file in Windows, for example?
[Galaxy S 4 i9505 Android Development] FlanjeUK:
read post number 2 :)

I found this today after wondering the same question myself :P
[Galaxy S 4 i9505 Android Development] Jsilver73:
Freeze free :)

Solution: kantjers settings (post #7) plus tweaks to /memory/oom level screen on =aggressive /oom level screen off = aggressive

I haven't tried medium for screen on as yet (I want to check this really is 'deep' free for a few days first, so far it has been over 24 hours with last cycle of almost 4 hours screen on time so I am pretty sure this is stable for me now :)

Thank you to all that have helped me to get my fine working beautifully again :D
[Galaxy S 4 i9505 Android Development] kantjer:
It could be oom level setting isn't needed if you set swappiness to 60. That will also be the stock value for the next kernel.

works for me.
[Galaxy S 4 i9505 Android Development] Jsilver73:
I didn't even know swappiness was enabled, isn't that to do with zram? And now I look I can't even see where to enable it??

Anyhow, I tried your latest settings 'vanilla' with swappiness set to 60 but still got freezes, that's when I turned oom up to aggressive, and now freeze free :)
[Galaxy S 4 i9505 Android Development] kantjer:
Thanks, if that works for you then it's OK. No two phones ate the same. But I will give the oom setting a try, see what it does for me.

Edit: trying these settings now.
[Galaxy S 4 i9505 Android Development] katze1123:
My phone freezers with a lot frequency, only for some seconds but it is bad...<br/>
[Galaxy S 4 i9505 Android Development] HeathenMan:
Im using mounts2sd app to configure zram. Idk if it works correctly, but ive got it working this way on a t18+ china phone ;')

Edit: kantjer, which version is latest? First post contains a link to newer version and your #8 post is on dropbox so synced recently i thought
[Galaxy S 4 i9505 Android Development] Jsilver73:
Kantjers most up to date settings are always in his own post #7 ;)
[Galaxy S 4 i9505 Android Development] HeathenMan:
#7 on mobile is your post

http://chr1ss.owncloud.arvixe.com/public.php?service=files&t=df6be7ee29445ca2d2f8af486031f594
[Galaxy S 4 i9505 Android Development] kantjer:
Not on my mobile. Profile in post #7 is updated, I need to update the comparison file, i will do that when in get back home.

EDIT: comparison updated.
[Galaxy S 4 i9505 Android Development] Jsilver73:
Guys - I'm going to tidy up the profiles in the first few posts as they all refer to settings for old kernel builds and the kernel has developed so much that they are no longer relevant.

Do check posets #6, #7 and #8 for settings that are up to date.

Contributors, please do upload your current settings to share and I will upload them to the appropriate posts.

Many thanks :good:
[Galaxy S 4 i9505 Android Development] kantjer:
Updated post #7 with my screen freeze free settings (running it almost 24h without those pesky short screen freezes)

To avoid stability issues I have also lowered the undervolting a bit.
[Galaxy S 4 i9505 Android Development] s3icc0:
Thanks man going to try these. One thing - can you remove my settings from op as i dont think these are good ...
[Galaxy S 4 i9505 Android Development] Jsilver73:
Yep, cleaned already - when you have new settings to post please let me know ;)
[Galaxy S 4 i9505 Android Development] s3icc0:
I am running almost stock and i am fine (now) no mood for experiments lately
[Galaxy S 4 i9505 Android Development] Jsilver73:
Yep, I am running kantjers latest settings, smooth and freeze free :) (so far, fingers crossed)
[Galaxy S 4 i9505 Android Development] Jsilver73:
Argh- banghead! Just got freeze!!

Now I am trying input_boost_ms at 500ms to see if that helps ? ?

EDIT: banghead banghead - freeze followed by hard reboot!

Log: http://d-h.st/Cu8
[Galaxy S 4 i9505 Android Development] :
Guys, don't you think you update a bit early?

I mean i think you could keep let's call it a safe version, and a test version, instead of deleting everything so fast.

Anyway, thanks for the good job! Keep it up
[Galaxy S 4 i9505 Android Development] s3icc0:
Or keep a repository somewhere with information to which kerenl versions it belongs to
[Galaxy S 4 i9505 Android Development] Jsilver73:
I'm very open to suggestions - my thinking was that to leave settings there that relate to old kernel versions would be possibly counter productive to new users as the settings could very well conflict with new kernel build.

I think I will add in the instructions post that from now on we need to specify which kernel bills our sins are for.

As for the old ones - well, so much development has been done on this kernel that I have no idea of how to start working out what was what??

Good news is though that current good settings are still available in posts #7 and #8 :)
[Galaxy S 4 i9505 Android Development] kantjer:
Please remember that whenever any of the config source in Ramdisk changes (and thats often beween kernel releases) you can't retore a previuos settings file without running the risk of having issues.

I did it by accident and proofed that to myself :o
[Galaxy S 4 i9505 Android Development] Mystique:
Maybe use pastebin to save configurations?

Also, to be clear..

There is no way to have a custom configuration mystique.profile or 052214.profile?
[Galaxy S 4 i9505 Android Development] djmik21:
So does anyone have a profile which will be very battery minded for those situations where you need it? The stock settings in aosp 266o give really fast and smooth experience with like 5 hours screen on for me. I epuld like a profile to use to be super battery saving.

Can you guys recommend a profile or settings to choose(of course I'd lile it to be stable). Thanks.
[Galaxy S 4 i9505 Android Development] Jsilver73:
5 hours screen on time is pretty awesome screen on time, don't know of anyone who really gets more than that (in real life use that is) ;)

Check posts #7 and #8 for good working profiles with the current kernel build.
[Galaxy S 4 i9505 Android Development] HeathenMan:
should be better to name the profile as the versions who are working on it?

or to write a notice which is currently supported cause some arent using the latest versions
[Galaxy S 4 i9505 Android Development] _Sofos_:
I saw that you've changed among other options cpu voltages (you've increased some stuff there :P ).. i know it's only the first day of release but have you noticed any significant changes in battery consumption?

Thank you in advance.
[Galaxy S 4 i9505 Android Development] Jsilver73:
Yep, that's a good idea, we will do that as soon as we get some new profiles ;)
[Galaxy S 4 i9505 Android Development] kantjer:
No increase in battery usage, the higher voltages are for stability reasons.

I'm using these settings for a few days now.
[Galaxy S 4 i9505 Android Development] David_cole:
I'm looking to increase the CPU performance drastically... I wonder which settings I have to tweak to do this? Even the extreme performance profile doesn't come close to what I'm looking for... Basically on KT kernel I hit 42k for CPU and on alucard I hit 20k max.. I know benches don't mean anything to you guys but to me they are make or break. Hope somebody can help or suggest there own profile. :D
[Galaxy S 4 i9505 Android Development] Jsilver73:
Try messing about with msm thermal ;)
[Galaxy S 4 i9505 Android Development] fedef12evo:
use mpdecision as hotplug and default temp control instead of intelli thermal
[Galaxy S 4 i9505 Android Development] David_cole:
Problem solved... Thanks all
[Galaxy S 4 i9505 Android Development] WR3CCKL3SS:
How do I import your backup file to streaks?

AT&T Samsung Galaxy S4 I337

ROM: C-RoM v6.6

KERNEL: KT-SGS4 V7.1

FIRMWARE: I337UCUFNC1

BOOTLOADER: I337UCUAMDB
[Galaxy S 4 i9505 Android Development] Jsilver73:
Instructions are in post #2 only you do not need to rename kantjers profile as it is already to go ;)

open up ES file explorer (or your file explorer of choice, for this tutorial I will use ES explorer for simplicity, obviously if you already use a root file explorer you already 'know how '

in ES explorer go /settings/root explorer on - then long press root explorer button and then click 'mount R/W' and tick both 'path and system as r/w'

check /settings/hidden files on

if you have already made a backup find the .default.backup_profile.zip and cut and paste it to a sperate folder of your choosing for safe keeping (same path as below)

copy your downloaded .zip file '. default. backup_profile. zip and paste into /data/.Alucard folder

rename the file - simply delete the file name that is in the [brackets]

open STweaks and go to the 'backup or restore' tab

press 'restore now'

wait about 30 seconds and your chosen profile should now be active
[Galaxy S 4 i9505 Android Development] David_cole:
I have a idea what TCP tweaks are but can anybody tell me what TCP RAM tweaks are?
[Galaxy S 4 i9505 Android Development] Mystique:
Tcp ram tweaks I found them in the git repo I think..

They were the rmem and wmem adding more buffer space via system memory..

IIRC

I've seen them in build.prop or init.d scripts.. pretty common.
[Galaxy S 4 i9505 Android Development] WR3CCKL3SS:
Thanks for the help. Was having problems with ES File Explorer and it not giving the write permissions so I used CM File Explorer and moved the file over and changed its permissions manually to match and sure enough it worked perfectly. Thanks for the amazing profile [MENTION=3306843]kantjer[/MENTION] keep up the great work

AT&T Samsung Galaxy S4 I337

ROM: C-RoM v6.6

KERNEL: KT-SGS4 V7.1

FIRMWARE: I337UCUFNC1

BOOTLOADER: I337UCUAMDB
[Galaxy S 4 i9505 Android Development] kantjer:
My profile on post #7 is updated, again :D
[Galaxy S 4 i9505 Android Development] djmik21:
Hey guys can anyone post here what was the default setup of the 266o kernel? I got a bit better battery with that version and i am trying to find what the difference is to see of it fits my profile of use.

P. S. Or how i can find the profile except flashing the kernel and getting it?
[Galaxy S 4 i9505 Android Development] kantjer:
delete data/.alucard and reboot. That will give you stock settings.
[Galaxy S 4 i9505 Android Development] djmik21:
No I am on the new version 2.6.7a and i want to see how the 2.6.6o was configured to see how i got better battery results with it.
[Galaxy S 4 i9505 Android Development] _Sofos_:
Phone feels abit hotter than usual while using it with the latest versions..

Wi-Fi, normal usage, no games, xda browsing, less than half brightness, tried both stock profile and kantjer's one.

Even without touching the screen (screen on tho) cpu temperature is usually around 40°C, is that normal?

Don't get me wrong, I'm not complaining, I'm just asking if I'm the only one so I can check what might be wrong with my phone.

Thank you in advance.
[Galaxy S 4 i9505 Android Development] djmik21:
Enable the cpu cores control option under msm-thermal and see how that goes. For me it feels hot only when charging.
[Galaxy S 4 i9505 Android Development] _Sofos_:
I had it enabled.. Thank you for the answer though. :)

Still cpu at 41°C.. the rest of you people, is that normal?
[Galaxy S 4 i9505 Android Development] hshah:
My phone hangs every now and then, and at times it refuses to wake. What do I need to tweak?
[Galaxy S 4 i9505 Android Development] Jsilver73:
What do you mean exactly 'refuses to wake' ?
[Galaxy S 4 i9505 Android Development] hshah:
So when I press the power button I see the touch buttons light up briefly before they go off. The screen itself does not turn on. The only solution is to restart the phone by holding home and power.

At times the phone just freezes... could be when pulling down the notification draw or when in an application, and after about 20 seconds it comes back to life.
[Galaxy S 4 i9505 Android Development] Jsilver73:
I think you have 2 different issues there - the first seems something wrong with your system, the second - I was plagued by freezes like this and have now done full clean install with slim AIO Gapps and taken out gnl (which i am more and more convinced is the culprit) amongst other stuff and now freeze free ;)
[Galaxy S 4 i9505 Android Development] hshah:
I had done a full wipe when I flashed PAC ROM with the latest version of this kernel.

With the waking up issue, the touch buttons light up like they would normal but the screen doesn't turn on. I can only assume it is some kernel setting that is doing this.
[Galaxy S 4 i9505 Android Development] David_cole:
I've used google launcher from day one mate and never had a freeze
[Galaxy S 4 i9505 Android Development] kantjer:
Profile in post #7 updated
[Galaxy S 4 i9505 Android Development] brunodu91:
In the compare file, your settings Are in left?

Envoyé de mon S4, via tapatalk 4 Vip .

Slimsaberkat 4.4.2 v5.4, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] hshah:
His ones are on the right and the original is on the left.
[Galaxy S 4 i9505 Android Development] brunodu91:
Ok

Thx

Kantjer seTtings are mines now! Lol

Envoyé de mon S4, via tapatalk 4 Vip .

Slimsaberkat 4.4.2 v5.4, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] kantjer:
Profile in post #7 updated, profile is compatible with V2.6.7la for 4.4 AOSP
[Galaxy S 4 i9505 Android Development] brunodu91:
It's perfect kantjer! THX

Envoyé de mon S4, via tapatalk 4 Vip .

Slimsaberkat 4.4.2 v5.6, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] Mystique:
keyboard lag?

What keyboard are you guys using? (with whatever profile options..)

Using swiftkey or Google (asop or play version)..

I'm not sure if I'm trying to type too fast :P..

but I always feel like I'm waiting for the keyboard to catch up..

switching to deadline seems to resolve the feeling.. but does anyone else have this 'feeling'?

Nothing else feels 'slow' or laggy..

TW RLS 16.1 (atm..)
[Galaxy S 4 i9505 Android Development] Jsilver73:
Nope, definitely no lag here on swift - using basically stock alucard settings. That's the same in all three roms that I run ;)
[Galaxy S 4 i9505 Android Development] kantjer:
Setting profile in post #7 updated, now compatible with 2.6.8. If you want to import the settings file switch to the extreme battery profile before restoring.
[Galaxy S 4 i9505 Android Development] Obagleyfreer:
Hi Kantjer!

Trying to download your kernel settings to use but all I get when I click on link is a list of all your settings, not a download :(

Is that normal?
[Galaxy S 4 i9505 Android Development] kantjer:
No it's the browser being too smart and open a preview, I changed the link by adding "?dl=1" to it, forcing the browser to download it.

should work now.
[Galaxy S 4 i9505 Android Development] core720:
Stock profile = battery profile
[Galaxy S 4 i9505 Android Development] wyzli:
Can someone share a AOSP very battery profile? :laugh:
[Galaxy S 4 i9505 Android Development] Jsilver73:
Check kantjers post #7 :good:
[Galaxy S 4 i9505 Android Development] Mistertac:
Here's my Extreme Battery Profile:

Under Clocked

Under Volted

I've tweaked a lot of parameters to keep the CPUs at lower frequencies longer.

Increased Hot Plugging frequencies IN and set to Immediately Hot Plug Out.

I'm sure there's more I'm forgetting since I changed up quite a few things

This setup may work for you... May not. I don't play games on my phone so not sure how it would be there.

. https://www.dropbox.com/s/z2fm4yf57c0d1di/extreme_battery.profile_backup

---------- Post added at 09:10 AM ---------- Previous post was at 09:09 AM ----------

Try mine. Works great with my setup.
[Galaxy S 4 i9505 Android Development] wyzli:
I'll try it :D
[Galaxy S 4 i9505 Android Development] Mistertac:
Let me know. It favors CPU1 a lot and is rather fast at hot plugging so I'd be interested in seeing how it goes for others....
[Galaxy S 4 i9505 Android Development] John_wba:
Here is my battery profile, just unzip and put in data/alucard folder and restore backup from stweaks
[Galaxy S 4 i9505 Android Development] Mistertac:
I'm still tweaking that profile up. I may have been to aggressive and in turn that can also hurt battery life in the long run.

That profile works good for me and my use but I think I could make it more universal. Also I'm running Kantjer's Slim and to be honest the battery life and performance is already crazy good!

Get me in KTweaker and I'm right at home... Fine tuning in STweaks is still a learning curve for me sort of. Anyways let me know if you noticed any improvements.
[Galaxy S 4 i9505 Android Development] Jsilver73:
Thanks for sharing, I'll get this uploaded to the op by Tuesday (it's late here in the UK and I got a long shift tomorrow)
[Galaxy S 4 i9505 Android Development] Jsilver73:
Yours too John_wba :)
[Galaxy S 4 i9505 Android Development] Mistertac:
This is actually the one you should post.

https://www.dropbox.com/s/z2fm4yf57c0d1di/extreme_battery.profile_backup

This one isn't Under Clocked. Users can easily do that themselves.

It's still UV. And I tweaked all the parameters to get maximum battery without any lag at all on my end. Spent a good amount of time multitasking with various apps adjusting everything and it has definitely improved my battery life.

Enjoy[emoji16]
[Galaxy S 4 i9505 Android Development] munichsfinest:
Hi,

as it is my plan to use alucard kernel for a while for the first time (100% KT user), I would like to ask a question: How do I tell stweaks what to restore? I change all preconfigured settings a bit regarding e.g. readahead cache and so on. In KTweaker you can save all those various profiles under a individual name, how can I replicate this with Stweaks? :fingers-crossed:
[Galaxy S 4 i9505 Android Development] John_wba:
Just modify the default profile to your liking then press back up profile.