yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] chrisrj28:
So I am using the settings from OP2 with emotion kernel and I notice the above hi speed delay settings never stick. Even when pasting into the actual file it still reverts. Is there another way to make that stick?

Also is that setting beneficial to the functionality of the governor based on your settings? Last question, are those settings from OP2 more battery or performance oriented?
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
If the interactive in your kernel has bk_locked tunable u have to set it to 0 before changing a value and after that again change it back to 1. This way it will stick

It is benifiicial for me and lot of other users :D , it enables better usage of interactive governor, Those settings are balanced with little bias for better performance.
[Galaxy Note 4 Android Development (Snapdragon)] naoatsu:
Might anyone give me the link to download the V2 Beta (Emotion R23) since I need to test a couple of things with this version and I've lost it.

Thanks
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
The V2 veriosn includes settings for all kernel including emotion
[Galaxy Note 4 Android Development (Snapdragon)] TurricanM3:
Any one else noticed higher battery drain with the optimizations when using youtube?

Didn't you optimize the profiles for youtube?

Seems like the permanently active two cores are using more battery without touching the screen (= youtube).

Or is it just me?
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Whoa whoa hold on , Where in this thread did I mention anywhere about optimizing profiles for particular apps ?? ? These settings have nothing to do with particular apps. Cpu frequency scales up bases on app load or io requests
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Yeah the easier ways also makes some problems like permissions and cant be ensured to work on all phone

Yes I mean all those governors , but in my opinion Interactive is the best to try with
[Galaxy Note 4 Android Development (Snapdragon)] b.eslabon:
ok. thanks for your quick reply :)
[Galaxy Note 4 Android Development (Snapdragon)] b.eslabon:
[MENTION=6773050]Senthil360[/MENTION] what is the min and max frequency for your settings?

max=2649

min=300

is this correct?

about kernel auditor, in your post its v0.9.9.2.2 and in playstore its v0.9.9.2.3 (newer)

is it still advisable to use the one that you provided and not from play store? (im just curious)

thanks!
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Yeah min max are correct , Don't use the one from playstore
[Galaxy Note 4 Android Development (Snapdragon)] b.eslabon:
i just notice a wrong calculation (its minor only) :)

in post #2

(890^2) × (1497 × 2) = 4,743,094,800 (ii)

it should be

(890^2) × (1497 × 4) = 4,743,094,800 (ii)
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Corrected ?
[Galaxy Note 4 Android Development (Snapdragon)] Er. Aditya:
Good write up sen :D
[Galaxy Note 4 Android Development (Snapdragon)] dr.zook:
I just wanted to say thank you for sharing this. Very interesting and useful!
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Thanks bro ,?? Enjoy the best results
[Galaxy Note 4 Android Development (Snapdragon)] :
Man, thanks for the guide. Very useful..

Perhaps a quide for nemeless kernel, would be good. If we can change anything for even better battery with nl recommend battery, and what we will loose every time.. I try to find the differences between nl recommend battery, and nl battery.. , to see if i can improve anything by loosing something i dont use.. :)
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Not required for Nameless ROM users bro , because everything is inbuilt and this profile will be added as *N/L ADAPTIVE * in Nameless V6 , apart from these there will be tons of other tweaks in N/L ROM ,

These settings will give almost similar battery life as N/L Recommended battery but with much much better performance
[Galaxy Note 4 Android Development (Snapdragon)] :
Wow.. If you succeed in this, it would be fantastic.. Your rom/kernel/settings is already by far the best in best battery for good performance. Any improvement is only good.. We will wait.

Many thanks again.
[Galaxy Note 4 Android Development (Snapdragon)] _Sofos_:
Subscribed! Nice detailed guide thank you very much, already trying your settings.

Ps. Could someone please upload a screenshot of their stock or -40 cpu voltage tab? Just the first part not the whole screen, I just want to see if I got that right. Cause changing it through Global offset and then trying to change it again shows back "0".

Ps. Where is software CRC? :o
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
First of all huge thanks and appreciation for taking to write this bro ,

Thanks for pointing out the things more which I had not done myself , but let me also explain this scenario a bit more clearly

* Holding at 2 steps for 98% cpu load for the frequencies 300 mhz and 422 mhz , THIS is mainly done keeping backgroud apps when we dont touch the device , see i also have specified the timer rate for these low frequency as an extra measure , but practically the timer goes off soon and its the load behaviour that controls the minimal scaling , (*NOTE the hotplug plays an important role here , by putting 2 cores online and obeying to the hotplug delay time )

Mahn , this post is gonna be long ??

* Next why have i added 72900:15 when the first load is till 98 ,? Again the hotplug comes into picture , (You will need to know the things u have mentioned at last , I'll come to that later) , So load is split when the new core gets a load ( which is determined by the Snapdragon algorithms which none of us know) we don't want it to ramp off to random frequencies ( This way the 4 cores are being utilized efficiently, even though I feel 2 cores are enough for this case , like small tasks )

All your ideas and explanations are very correct anna, you just missed the hotplug from the picture, :D ,

*The over_ruling of go_hispeed_load , that's why those so many checks in above_hispeed_delay , also do note that hi_speed freq is kept at 499 mhz ?? See where it comes again?

*The timer rate was a test/experience thing , for some reason keeping it aligned with the above_hispeed_delay stopped flickers , so I thought that if they are in sync calculation is better

*Why all at 20000ms ? First of all not gonna be a problem because tons of frequencies are specified ,one of the main reason to do that was , it would give similar performance to users , While testing we went from minimum to this and finalised, BUT I WILL CHECK with what you have specified , just not giving cpu the chance to escape :P

Also I have asked a 40mV undervolt , but i know that selective frequency undervolt is the best method, just didn't want to make it too complicated

Now these , as far as I know

*bk_locked - Locking the changes of tunables , set to 1 after changing a tunable

* enforced mode prevents changes to target loads and hispped_freq

* The things from mode to single exit time , I'm still searching for proper sources , I'm 99% sure they are exynos tunables (lol samsung)

* Sync frequency : The min frequency to which the cpu will drop after it hits the up_threshold_any_cpu_freq or up_threshold_any_cpu_load
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Thank you too, no trouble bro :D , The software CRC control is under Misc tab in kernel adiutor (use app from link)
[Galaxy Note 4 Android Development (Snapdragon)] b.eslabon:
so this is my battery results using this settings: 4.5h SOT with 7.5 batt usage (i think this is poor)

am i missing some kernel settings [MENTION=6773050]Senthil360[/MENTION]?

im on kyubi N5 DX rom (light debloated) and emotion r23 rc1 kernel (using kernel audiutor v0.9.9.2.2)

i'll attached screenshots for your reference. thanks!
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Wait is that NBA 2K16 on top of that list?? It is the most graphic intensive game right now , If i play 2k16 for 1 hour it drops about 40% or more

And anyhow post a clear screenshot of app usage and cpu frequencies , I need to see those

And lastly it might even be due to the ROM itself , I am not sure about that, i need to look at the framework later

Update : The settings are perfect , also lemme know about the performance
[Galaxy Note 4 Android Development (Snapdragon)] b.eslabon:
yeah i played 2 to 3 games with 4mins/quarter in nba2k16

in performance, the setting is superb (no doubt) i am monitoring my cpu's by cputableau app

but even browsing (fb, messenger, calls and video call) battery is droping.

before, when doing browsing i can have almost 4h sot in 50% usage

but now, i only got 1.5h sot in 30% usage already (see screenshots)

do i have a wrong settings? or forget something

i know its not in the rom (coz i been using this rom for months already and it give me 6-7h sot using barry_allen gov and almost default kernel settings)

i am trying your settings coz i want to maximize more my phone and battery ?
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
So you want to go all out battery? I predict this will give u around 6hrs sot without gaming , but if we need more battery we need to forget the "No compromise on performance" part

Alternatively u can try increasing the target load values

This must surely help

Target loads- 70 1190400:75 1497600:85 1728000:90 1958400:95
[Galaxy Note 4 Android Development (Snapdragon)] TurricanM3:
I just wanted to know. =)

I really like your profiles for surfing and all day use, awesome battery life and performance is good too.

Are you using youtube yourself?
[Galaxy Note 4 Android Development (Snapdragon)] chrisrj28:
Yeah even when I set that to 0, change above hi speed and then change it to 1 it still reverts to the original value. Can't figure it out
[Galaxy Note 4 Android Development (Snapdragon)] firemalbar:
Can someone give me the right link for " Tasker" apps please so many apps named "Tasker" in play store and not all available in my country :$
[Galaxy Note 4 Android Development (Snapdragon)] Benny Bosser:
This is the one you need: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
[Galaxy Note 4 Android Development (Snapdragon)] firemalbar:
Thx for the speed of your answer my friend ^^

Rooh it's a paid apps :(
[Galaxy Note 4 Android Development (Snapdragon)] JeffyLube0:
I can assure you it is 100% worth the cost.
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Working with new hotplug and governor NIGHTMARE , more variety this time :D
[Galaxy Note 4 Android Development (Snapdragon)] Mihnea1996:
Awesome profiles. My phone lasts much longer with the battery profiles. Really appreciate your work, [MENTION=6773050]Senthil360[/MENTION]. I have a question. The phone is a little bit laggy with battery profiles, but works pretty good. Why scrolling through interface is that stressful? I think these profiles will work much better with pure Android. Touchwiz is a heavy interface even for S805. Is somehow related with GPU frequency? I mean the phone needs more than 166MHz to be smoother?

Or is CPU related?
[Galaxy Note 4 Android Development (Snapdragon)] Rudolpht:
Your work is amazing. Not sering much conversation on Beastmode Rage. Can that take advantage of profiles? Powersaving worked great on emotion but finding beastmode more stable for Tek ROM.
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Yes the phone is supposed to be slow with battery profile as it runs with minimum resources, the scrolling sucks on Touchwiz because of animation and plenty of other CPU factors which are not

possible to be mentioned here.

No GPU has nothing to do with this.

Because I have not made profiles for beast mode since it doesn't support my variant 910G.

You can try applying a profile for another kernel and build on it.
[Galaxy Note 4 Android Development (Snapdragon)] Benny Bosser:
I've reported some ram management issues I was having here before. Now I just wanted to let you guys know that I've copied some settings of the profiles and applied the tweaks from the op manually and in that way made "my own" profile. It's based on the performance profile and I'm getting an average of 5h of sot. My phone flies and the ram management issues I reported are inexistant. Still don't know what is the cause of the profiles by [MENTION=257188]senthil[/MENTION] don't work for me, but manual application seems to do the trick for me. Just wanted to share so people with the same "issues" could maybe try to solve them this way :)

Thanks again for this thread, it's awesome!
[Galaxy Note 4 Android Development (Snapdragon)] WinJunkie:
Love the profiles but I'm going getting some major lag. Maybe because i have a lot of apps installed? Is there any settings i could try?
[Galaxy Note 4 Android Development (Snapdragon)] dynospectrum:
Well, what profile are you running for starters
[Galaxy Note 4 Android Development (Snapdragon)] WinJunkie:
It's happening with everything I'm using. That is both balanced and performance with both ael and emotion. Get major lag and phone stalls for a few secs
[Galaxy Note 4 Android Development (Snapdragon)] Benny Bosser:
Same happened to me my friend.

Did you try the suggestions of [MENTION=257188]senthil[/MENTION] in the op? It's under faq and common issues.

Also do you use tasker or manual application on each boot as described to get all the tweaks working?

Those didn't work for me so I did other stuff in the hope I could make it work.

What I did was:

- clean up every mod (for example l speed) you're using

- clean every kernel residue (for example AEL kernel creates a map called ael, you should delete that)

- flash the kernel you want + profiles

- wipe dalvik and cache

Now you have a fresh start :)

- Now try everything again

- If you still have issues, try using it without xposed (if installed)

- if that doesn't work, I guess you have the same bad luck as I had

- In the last case you could do what I did: copy the settings of the profile(s) of your preference and apply those manually, afterwards apply the tweaks as described in the op. It's not entirely the same thing but I'm getting 5h of sot on a performance profile with heavy usage which is pretty great in my opinion and which I didn't get before these tweaks

Hope this can help you out a little bit :)
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Sorry for the long gap , guess V2 has been really good

Hopefully, in a few hours we will have something to try out

Cheers
[Galaxy Note 4 Android Development (Snapdragon)] royalh:
Ok, I think I got things cleaned up now... Although I think KA has some bugs in it that need to be fixed to resolve some of the "Current Value Not Supported" issues - like the Suspend Defer Time, under CPU Hotplug and the Headphone PowerAmp Gain, under Sound.

Turns out I had a script called "rks" in the Init.d folder that was put there by KA and it has a reference to the commands.json file located in the /data/data/KA folder. This file had invalid entries in it, for example, some of the paths were invalid, pointing to .../filenameNOCHECKSUM - the NOCHECKSUM part being the invalid piece. Not sure how the rks script of the commands.json file got there but I'm guessing they were from an older KA version or maybe the Play Store version...

I ended up uninstalling KA, deleting the rks file, rebooting and then re-installing KA. A new commands.json file was created, this time with valid entries from the profiles.json file (using my own profile), but I removed ALL permissions to the file so KA can't use it (no ill effects at all).

I also ended up cleaning up the profiles.json file a bit.

Now, all my settings work, except for the Headphone PowerAmp Gain and the Suspend Defer Time. I haven't really played with the Suspend Defer Time setting/values, but the PowerAmp Gain setting is still wonky. I found that I had to play around with the file permissions a bit, as well as manually editing it before the profile settings would work on it.

Basically, the file value has to be "240 240" - which I think is the equivalent to "0 0". If I force "0 0" into the file from my profile, it will automatically revert to "240 240". If I use the KA slider to change the value to positive - the file itself will change to "241 241" or "242 242" etc.. depending on if I set the KA slider to +1, +2, etc. If I set the slider to a negative value, the file will revert back to "240 240".

I think the KA bug is that it isn't converting the -6 to +6 slider value to the appropriate file value "240 240" to "246 246" for the positives... This is probably the same bug with the Suspend Defer Time issue...

Bottom line for others using KA with or without the OPs profiles.... If you have strange behavior with your settings, try checking out some of the things I documented here...
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Glad u got it working, The rks file in init.d was created by me for enabling users to create thier own profiles in kernel adiutor, its a linux code , don't suspect all the codes :P,

And I will have the typo errors corrected in V3 Stable build
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
So guys, it's been a while , let's not dig on that , I'm giving you a new BETA profile and there's a special NIGHTMARE based profile added for all kernel ,

I guess this is one of the best profiles for a battery friendly, snappy usage.

Duh.. Don't wanna get the hopes high or low , just check it out ?

Haven't changed anything signifiacnt in other profiles.. Link added to Post #4

Download here

https://www.androidfilehost.com/?fid=24399994186369309
[Galaxy Note 4 Android Development (Snapdragon)] Mihnea1996:
Testing now. :)

What's the difference between Nightmare and normal battery profiles? Or between balanced and nightmare. I find nightmare much smoother than "Battery".
[Galaxy Note 4 Android Development (Snapdragon)] AlexanderBlaQ:
Where exactly do I enter this stuff? I can no longer make my own profiles again I already tried deleting reinstalling and reflashing still no luck

Alright I downloaded a terminal app...and was able to enter all info without error but when I go to save a profile it says "no settings found"
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Because you didn't actually change anything.

I have had enough of this question , help yourself.
[Galaxy Note 4 Android Development (Snapdragon)] WinJunkie:
I will try your recommendations I'm not using any l speed tweaks or anything but i do use xposed. I just did a clean install of my new rom and everything is so damn fast again. Hopefully i can find out what the prob is when i restore everything with tibu and finish setup

Thanks for new profiles senthil can't wait to try them
[Galaxy Note 4 Android Development (Snapdragon)] skem:
I can't seem to delete profiles that I don't use at all
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
Please read the first page of thread atleast , in theres I have mentioned this in FAQ , so one more time , you will find the solution in post #274
[Galaxy Note 4 Android Development (Snapdragon)] AlexanderBlaQ:
thanks fixed the issue
[Galaxy Note 4 Android Development (Snapdragon)] seavers11:
Test the nightmare Settings on Kyubi with ael 8.4 and the first hours all works great but after some hours my n4 gets laggy and slow... Back to zancum stock kernel and it runs great... Just for info

Gesendet von meinem SM-N920C mit Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
I swear, I didn't use a timer to slow down the phone lol.

Yeah the truth is, its impossible to satisfy and test for all users.. I can only give you what me and my testers had run.

But anyhow all types of feedback are welcome, I had never intended to share profiles but I do this because i guess it is easier and useful for the users.

Glad atleast you could throw some feedback among others who just only help me to speculate on the benefits/problems they face.

Sometimes I have to remind myself that I made this thread with the main purpose of sharing knowledge and its detrimental if we deviate much from that path :D
[Galaxy Note 4 Android Development (Snapdragon)] seavers11:
I'm happy you spend the time and share your work with us. I just post it to let you know what happens.. I know the devices are different... Thx for your hard work senthil

Gesendet von meinem SM-N920C mit Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] jimydirektsaft:
I tested this on nameless rom and kernel for a day. The device was allways snappy and responsive with moderate battery usage even under relatively high load. Best profile for me using NL rom so far.
[Galaxy Note 4 Android Development (Snapdragon)] mxter:
Hi, but these profiles doesn t affect CPU frequencies, governor, hotplug .. ?

Flashed a profile, but those parameters are unchanged.

---------- Post added at 09:30 PM ---------- Previous post was at 09:26 PM ----------

Suggest for everyone:

Create a tag in Titanium, and go freeze any app & game you dont use. You can use widget to freeze and un freeze apps in a tag.

This will make your cell more reactive & battery friendly ;)
[Galaxy Note 4 Android Development (Snapdragon)] MBariya:
Nice suggestion.

Created widgets with few individual apps which i want to create.

Anyway learned new way to use TB. [emoji12]
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
No hotplugs do change, codes always get applied :P

Yeah that's one of the best tips for saving battery , without sacrificing heavy apps
[Galaxy Note 4 Android Development (Snapdragon)] kevje1406:
Hiw do you create a tag in tb mate?

Verstuurd vanaf mijn SM-N920C met Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] punk4596:
Hey [MENTION=6773050]Senthil360[/MENTION] I'm running TEKXodus UR 6.7 with the beastmode 1.8b kernel. I've been using your NIGHTMARE profile and it's extremely fast compared to your other profiles but when I'm listening to music with the screen off the sound gets choppy and laggy every couple minutes. I was wandering if you could suggest a couple values for me to change that might help me solve this problem. Thanks for everything.
[Galaxy Note 4 Android Development (Snapdragon)] kevje1406:
Is this app the same as the app from the play store or do we really need to download this one for our beloved note 4?

Verstuurd vanaf mijn SM-N920C met Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
I don't have an idea about beastmode kernel , I don't think it has hotplugs and that is a big factor , you can try ondemand based governors like pegausq

Yes this app posted in thread has been made specifically to support note 4 kernels
[Galaxy Note 4 Android Development (Snapdragon)] kevje1406:
Thanks mate! Could you also implement a max and min screen off scaling frquencie or isn't it possible?

Verstuurd vanaf mijn SM-N920C met Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
That needs kernel support , its usually not needed because any default hotplug is efficient enough to keep the cores and frequency in check
[Galaxy Note 4 Android Development (Snapdragon)] royalh:
He means, create a "Label" I believe...

I'm guessing you could also use Tasker to create widget shortcuts to an app and then build into it the freeze/unfreeze options...
[Galaxy Note 4 Android Development (Snapdragon)] kevje1406:
Oke mate i just cant help noticin the battery drains more quickly without it. Over night i dropped from 100 to 88 without using it on the battery profile. Maybe yu have any tips?

Thank you very much for helping

Verstuurd vanaf mijn SM-N920C met Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] Senthil360:
For those who read

http://xdaforums.com/showpost.php?p=65265241&postcount=3248
[Galaxy Note 4 Android Development (Snapdragon)] coolfire:
Super duper awesome!

And I do read... Lol
[Galaxy Note 4 Android Development (Snapdragon)] AMunozXS:
I am on Ael 8.6. Would nightmare profile work on this kernel or just 8.4

Thanks
[Galaxy Note 4 Android Development (Snapdragon)] b.eslabon:
it will work fine. i tried it before. now im back to emotion coz i want to underclock my cpu (for more battery)