yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] danielhariri:
I tried to test every single line on terminal, only line cpu0 and cpu4 code are taking comand.. Other have no directories( says the terminal) so i clean up abit..

About coding, im really are slow learner may i know u do this init.d in KA or in other app?

Edit- ill using universal.initd.. Its outdated long time ago.. But it still work well.. Emulated init.d in KA is not reliable (maybe just me)
[OnePlus 2 Android Development] return.of.octobot:
Yeah so I figured that might be the case, what it is I think is that those directories only exist when one of those particular cores is online.

So yeah, I actually also use Universal Init.d to manage and test my scripts when needed. As for the code itself, I put that together from scratch using DroidEdit but only because it's kind of tailored for coding, you could realistically use any text editor as long as your syntax is correct.

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] :
[MENTION=6474612]return.of.octobot[/MENTION] Your script works well, but I have a shorter one that I want to share with you :)

if [ -e /sys/devices/system/cpu ]; then
for CPUL in /sys/devices/system/cpu/cpu[0-3]; do
$bb echo "384000" > $CPUL/cpufreq/scaling_min_freq;
$bb echo "384000" > $CPUL/cpufreq/scaling_min_freq_hardlimit;
$bb echo "1555200" > $CPUL/cpufreq/scaling_max_freq;
$bb echo "1555200" > $CPUL/cpufreq/scaling_max_freq_hardlimit;
$bb echo "zzmoove" > $CPUL/cpufreq/scaling_governor;
$bb echo "zzmoove" > $CPUL/cpufreq/scaling_governor_hard;
done;
for CPUB in /sys/devices/system/cpu/cpu[4-7]; do
$bb echo "384000" > $CPUB/cpufreq/scaling_min_freq;
$bb echo "384000" > $CPUB/cpufreq/scaling_min_freq_hardlimit;
$bb echo "1766400" > $CPUB/cpufreq/scaling_max_freq;
$bb echo "1766400" > $CPUB/cpufreq/scaling_max_freq_hardlimit;
$bb echo "zzmoove" > $CPUB/cpufreq/scaling_governor;
$bb echo "zzmoove" > $CPUB/cpufreq/scaling_governor_hard;
done;
fi;
[OnePlus 2 Android Development] krishna442:
Even I'm ready. PM'ed my mail.
[OnePlus 2 Android Development] benschhold:
i uploaded two different 1.1 versions

tell me if it worked or if i fu**ed up everything

my phones any my energy is empty for today :P
[OnePlus 2 Android Development] hunter_bruhh:
So...I don't want to be rude, but is there any news on Seraph's build?
[OnePlus 2 Android Development] krishna442:
Give me 5 mins. AFH is very slow now. Will post back here.

Edit: Wifi working. Didn't put Synapse though. :D

Thanks Ben! Out of thanks.
[OnePlus 2 Android Development] hunter_bruhh:
Thanks bro! You're the best!
[OnePlus 2 Android Development] krishna442:
[MENTION=4729623]benschhold[/MENTION] you didn't f**ed it up buddy.

Ben is the best ;)
[OnePlus 2 Android Development] MusadiqManas:
'Dirty flashed' 'fornotmyroms' v1.1 on Seraph's latest 27/2 build. This time it survived and even WiFi is working but UI is slow and lagging. Gonna try the other version or 'Clean Flash' and will see if we get it working and smooth.

Thanks [MENTION=4729623]benschhold[/MENTION] for your time and effort.

PS: IDK how, but now after a few minutes, the device UI is smooth and normal. Looks like device got hot soon after flashing process which might have caused UI lag. Now it's smooth again. I suppose I don't need to try the other version or 'Clean Flash' thingy.. :)
[OnePlus 2 Android Development] hunter_bruhh:
Maybe I should try that ???^^ my ui was laggy and I kinda just restored a nandroid instead of being patient..will let my progress be known
[OnePlus 2 Android Development] abhishekcma:
Is that working on H2os ROM I am on skydragon 6.0.1.
[OnePlus 2 Android Development] casual_kikoo:
Just read the title, not even the OP, just the title.
[OnePlus 2 Android Development] MusadiqManas:
Weird battery stats with v1. 1 on Seraph's latest build... Occasional lagging is also there.

PS: Default kernel of Seraph's build gave me 87K+ Antutu score while this kernel scored upto 55K+ only.
[OnePlus 2 Android Development] JudderArts:
Wifi broken with latest AOKP build and on benschholds-custom-kernel-v1.1-fornotmyroms.zip
[OnePlus 2 Android Development] gorillaCF:
still dont know why i cant flash this kernel.

im on seraph's 2702 build. tried to flash this kernel (v1.1 notformyrom), end up still rebooting to cm13's kernel.

wonder what's wrong with my rom :/
[OnePlus 2 Android Development] casual_kikoo:
Try dirty flash the ROM then directly the kernel.
[OnePlus 2 Android Development] gorillaCF:
well that worked!

thank you!
[OnePlus 2 Android Development] tlxxxsracer:
Ive notice my screen settings don't stick in kernel auditor or synapse. I set the value and later either turning screen off the screen colors change. I do have set upon reboot.
[OnePlus 2 Android Development] benschhold:
dont know which source your aokp rom used, maybe try other 1.1 release
[OnePlus 2 Android Development] benschhold:
hmm strange never happened to me
[OnePlus 2 Android Development] Shane_IL:
Also on seraph's build, 27 and now 28. Wifi works fine now for both. UI is very laggy and it completely messed up Nova Launcher (dirty and clean flash).

Didn't have time to properly test with other launchers (sorry).
[OnePlus 2 Android Development] benschhold:
you may tray different synapse settings, if you find the culprint share it with us
[OnePlus 2 Android Development] ollimi1:
Hey FAB1150!

You can try this one!

No big changes, only switched to intelli-active, -plug and -thermal, increased temp limits and poll values and a few other changes. Gives me really good battery runtimes and a great performance with a real 93k Antutu score(without disabling fsync) if it's for your interest.
[OnePlus 2 Android Development] benschhold:
3.1 is finished

now i need a tester before i release

hands up if you want to
[OnePlus 2 Android Development] nexus_vl:
Great script, nice work!

But indeed, directory /cpufreq is not present, only in cpu0 map.
[OnePlus 2 Android Development] Hackpb:
Hi

I can test your new kernel but I am at work... But I can try to help...
[OnePlus 2 Android Development] iaa85:
If I could help to test.... I am ready....

iaa85 from Brazil with Oneplus Two
[OnePlus 2 Android Development] nicesoni_ash:
I can test too [MENTION=4729623]benschhold[/MENTION]. [emoji4]

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] nicesoni_ash:
[MENTION=4729623]benschhold[/MENTION]

Tried with smartmax for big and darkness for small with minimum frequency to 384 and maximum to 1248.

Looks like big core values stick after a reboot but small core's frequencies get changed frequently to no specific value.

Other values stick well.

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] benschhold:
Kernel Update 3.1

Kernel Update 3.1

frequencies not sticking after cluster shutdown fixed. → see next point

Intellithermal removed and replaced with stock thermal configuration (this caused the first point)

made a optimised thermal configuration and included it

Oneplus integraded a powersave mode when battery goes under 20 % it shuts down big cluster.

this annoyed me very much and i wanted to remove it but then i thought it would be still nice if we cought configure it - so i did :)

you can now control it in battery tab, default value is off. NOTE: it takes 4-5 minutes to take affect

fix a adreno idler bug

as per user request stock frequency values are now stock. So if you dont tweak it no OC.

thanks to the testers :good:
[OnePlus 2 Android Development] nexus_vl:
Rebooted a few times to confirm

All settings stick.

Nice work! :good:
[OnePlus 2 Android Development] danielhariri:
This update is the best..!! U're very good developer...

I was testing my init.d script.. Well it useless after all haha

Edit-

All setting stick like glue now...

A head up(before someone spam questioning again), That little core min will not stick if u tick those touch boost.. As for me i wont need that one though.. Since i need more battery frindly mode..
[OnePlus 2 Android Development] jbw716:
Super excited for this update!! If everything works as it should (sounds like it will) then this will be absolutely perfect for me! Thank you for all of the time and effort you put into this kernel and the ROMs that you work so hard to put out for us! :D
[OnePlus 2 Android Development] jerrett7:
What is that DPI, everything is so small compared to my setup, and I'm at 400.
[OnePlus 2 Android Development] return.of.octobot:
Awesome! I definitely appreciate it, while I'm starting to get a pretty good feel for my way around these parameters, I'm all for learning more advanced, concise methods.

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] jbw716:
Odd... I'm currently using Resurrection Remix, which comes with Kernel Auditor already. Before, when I flashed this kernel, it just overwrote the built-in KA with the customized one, but now when I install it, KA is missing entirely! Any help is appreciated! Thanks! :)
[OnePlus 2 Android Development] nicesoni_ash:
Reflash the kernel.

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] jbw716:
Honestly not sure why that would change anything. I just flashed the kernel after already having the ROM installed. The kernel was the only thing I installed, and then rebooted. I will try it though anyway. Have nothing to lose!
[OnePlus 2 Android Development] nicesoni_ash:
Trust me, I am sure it will work. [emoji4]

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] oediv:
I am using 320 DPI :D:D
[OnePlus 2 Android Development] jerrett7:
Insane ???
[OnePlus 2 Android Development] jbw716:
Didn't work. :/
[OnePlus 2 Android Development] nicesoni_ash:
I didn't touch any boost settings still small core frequencies are fluctuating..

[MENTION=4729623]benschhold[/MENTION]

https://youtu.be/Qz8Q07zhKh8

I attached my profile here too if it's helpful.

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] nicesoni_ash:
Then I can't be of anymore help.

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] Hackpb:
First you have to uninstall kernel adiutor by the app remover from RR. (After that verify if there is nothing more of kernel adiutor in your phone). Then flash the kernel.
[OnePlus 2 Android Development] jbw716:
Sounds like a good and probably valid solution, and I suggest anyone with this issue to try it first, however I was able to get it to work by doing a clean flash on the ROM and kernel. I had been wanting to do a clean flash for a while now anyway, and this was just a good excuse to finally do it! :p
[OnePlus 2 Android Development] danielhariri:
You should touch it.. Becos it on at default
[OnePlus 2 Android Development] oediv:
Whoot :D

I hate when everything is ****ing big on my screen

So 320 DPI is perfect :D give it a try - so much space on that screen :9
[OnePlus 2 Android Development] nicesoni_ash:
That worked. Thanks. [emoji4]

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] rooneyaut:
Which call recorder you are using?
[OnePlus 2 Android Development] nicesoni_ash:
Skvalex call recorder.

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] return.of.octobot:
Everytime I try and give KA a fair shake there always seems to be one or two features absent that put a damper on my parade.

Is it just me or are smartmax governor tunables absent?

Nvm, looks like it's not just smartmax, I can't tune anything other than interactive, my only point being I can still configure these via UKM but without, I can't even tune them via init.script.

FYI, I only attempt using one or the other. Just to clarify, I've never attempted to tune with KA while UKM was still installed, and inversely, I've never tuned via UKM / Synapse while KA was still installed.

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] ollimi1:
Hey guys!

On personal request from @ snicker333 I want to share my latest Intelli optimized profile with you.

Flash zip, reboot, open KA, open profile page, tap intelli optimized profile and apply it, reboot again and wait 5 seconds untill the KA message was shown!

Enjoy!:D
[OnePlus 2 Android Development] return.of.octobot:
Question:

Is,

sys/module/battery_current_limit/low_battery_value

The parameter with which to set what battery percentage the A57 cluster shuts down at?

I'm quite sure it is, just looking for confirmation since the default value is set at 0 (as is should be :P)

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] danielhariri:
Comfirmed... Im at 15% treshold..

A question.. If i change things at sys lvl.. Does it make permanent till i wipe system right?
[OnePlus 2 Android Development] return.of.octobot:
I am quite sure that unless you have your parameters reinforced via init.script or a UKM/KA profile that applies on boot, any system level changes you make manually, I believe, will revert to default on reboot.

Just to confirm change a single parameter while noting the default value in case you have to change it back and reboot.

So, I noticed that 3.1 ships with an init.d script to disable thermal core control by default. I imagine that means it's recommended to leave it that way. Is it intended for us to enable SOC Temp Throttle as an alternative?

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] benschhold:
Why not set it in kernel adiutor?
[OnePlus 2 Android Development] danielhariri:
v3.1 ship with

bensinit

echo 0 > sys/module/msm_thermal/core_control/enable

which mean it was

enable

on default right? or its the other way around?
[OnePlus 2 Android Development] benschhold:
yep thermal core control was on by default and i disabled it but that doesnt mean thermal control is off, just the off switching of the big cores
[OnePlus 2 Android Development] xdvs23:
IMO pegasusq for little cores and barry_allen for big cores is best! But for better battery life abyssplug would be better. As far as I experienced it is not so aggressive as pegasusq is. Would be nice if we had this (for battery savers).

And I can confirm that this kernel works perfectly fine with beanstalk.
[OnePlus 2 Android Development] jay-em-ass:
Are The A57 cores completely offline in idle mode when screen is on in v3.1?
[OnePlus 2 Android Development] mavericks88:
do this have build in truecaller or whitepage
[OnePlus 2 Android Development] Chris-woods:
Hello is this profile will work on the latest benschold kernel ? (3.1) and when i flash again is the profiles is replaced by the default one ?
[OnePlus 2 Android Development] xdvs23:
It should work on 3.1 as well. If you flash it again, your current profiles will be replaced. That means, if you have had already created other profiles, these will be overwritten.
[OnePlus 2 Android Development] benschhold:
sure, kernel with truecaller and whitepage :laugh::laugh::laugh::laugh:
[OnePlus 2 Android Development] ollimi1:
Haha, wrong thread or a late aprils fool..

---------- Post added at 13:52 ---------- Previous post was at 13:48 ----------

Hi chris-woods,

I think it will not work completely because of the replaced core control feature and other changes since 2.5. Better is to ask for a new one!

---------- Post added at 13:56 ---------- Previous post was at 13:52 ----------

Are you using your old 2.5 profile with 3.1?
[OnePlus 2 Android Development] magnamentis:
just to make sure, does your latest kernel overwrite the thermal-engine.conf

while it's a good approach to do that, why don't you take my conf file. no complaints at all, i can replace it manually each time but certainly i immediately recognized that something was not like before, i.e. battery charging stopped and did not resume after initial flashing heat.

JFYI my setup circumvents all that without producing any more heat or something like that. just charges and brightness remains as set for a very long time (until there is really reason to be reduced) LOL

hope you take it well, just trying to get the best out of it for everyone an i'm using my conf for 2-3 months now to full satisfaction without issues.
[OnePlus 2 Android Development] Stylo King:
smartmax isn't tunable for now.. please make smartmax tunable in next release.
[OnePlus 2 Android Development] xdvs23:
No. I usually configure all or new settings again after update. If anyone wants my new profiles...

Here it is. You can flash it using recovery or take the profiles.json file and put it into /data/data/com.grarak.kerneladiutor/files/profiles.json

Again, thanks to [MENTION=5372360]magnamentis[/MENTION] and [MENTION=4729623]benschhold[/MENTION] for the installation zip.
[OnePlus 2 Android Development] return.of.octobot:
I'm just not a big fan of kernel adiutor, not that there's anything wrong with it but every time I given it a shot it just isn't for me. For example, smartmax along with a handful of other governors included show as being "not tunable" in KA whereas I can set their parameters using UKM/init.d

So, like I said above.. well, you know UKM. I know you guys like KA, I got no issue with it. To each his own.

[IMG]http://uploads.tapatalk-cdn.com/20160403/1fbe089c41f0accc915b1ec2c8c44a27.jpg[/IMG]

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] Hackpb:
Hello [MENTION=4729623]benschhold[/MENTION]. After testing a bit more the new kernel 3.1 the settings really stick in KA, but some times even if I set the max freq in little core to 1478 some times the CPU goes to 1555 even if it is sticked in KA. It is not a big deal but just to be perfect. Another thing (but maybe it's my fault) the big cores will go active even if only one of the little core is active. And other thing is that sometimes it appears that even if the battery is lower than the difined in KA the big cores stay active...
[OnePlus 2 Android Development] return.of.octobot:
As far as multiple big cores being on with only one little, I'm not sure if it's specific to Thunderplug or not, but I believe that has more to do with load balancing than anything. It looks like the A57 big cores take the bulk load while the A53 seem to kick on for support. I my case it doesn't really matter since I have both clusters capped at 1632, You could try reversing you A53 & A57 parameters.

Has your thermal config been posted?

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] HzeMaffe:
Same here, big cores seem to be offline a lot of times. Tried interactive / zzmove. All boosts enabled. This also affects camera for example.
[OnePlus 2 Android Development] benschhold:
lower the load threshold under CPU Hotplug - Thunderplug
[OnePlus 2 Android Development] grongo:
Is it possible to implement GPU min freq to less than 180MHz, for instance 27MHz?
[OnePlus 2 Android Development] magnamentis:
i've posted a felt 100 times but certainly severa dozen times all around, never heard any complaints and using it myself. it's been posted in this tread as well just don't remember the post, hence here you go again and don't forget to name it properly and give it the correct permissions, you can get those form the original which you have to delete before renaming the new one and the reboot to apply.

https://www.dropbox.com/s/sewi2yzpl7dkt76/temasek.igs.thermal-engine.conf?dl=0
[OnePlus 2 Android Development] danielhariri:
lower than 180Mhz your ROM gonna lag alot(i think thats why it removed in this kernel)

i THINK that 27Mhz only benefit in deep sleep mode and i saw adreno idler utilised it.

do correct me if im wrong
[OnePlus 2 Android Development] return.of.octobot:
Appreciate you pointing me in the right direction. Apologies, hate being that guy that asks for something that's been posted to death, but again thanks for your help, I know what do do with her!

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] grongo:
[MENTION=947981]Lord Boeffla[/MENTION] kernel for OOS2 does have the option to lower to 27MHz and I do not recall on any lag issues related to that, but I'm not sure. I was just wondering if it's possible to implement and if that could bring any juice saving
[OnePlus 2 Android Development] Hackpb:
In fact I think that is already implemented in this kernel, you only don't have the choice in KA... But if you see your actual frequency in GPU tab you will see that it stays in 27Mhz.
[OnePlus 2 Android Development] HzeMaffe:
[MENTION=4729623]benschhold[/MENTION]

Is ThunderZap still the one to use? As I tried it with 3.1, it showed between 1x/2x Little Core, no Big Core at all.
[OnePlus 2 Android Development] grongo:
Indeed you're correct. 27MHz is constantly poping up in the GPU Current Freq. at the GPU tab.

Thank you
[OnePlus 2 Android Development] sonoandroido:
I have temasek rom (29.03.16) + benschholds kernel 3.1 but the camera very laggy and sometimes it freezes and I have to force shutdown the phone.

I also tried it with "OOS 3.0 Beta Camera for CM 13" but I have the same problem.

The problem is the rom or kernel?

(sorry for the bad english)
[OnePlus 2 Android Development] ollimi1:
Hi sonoandroido,

without logs...? It's hard to help without more input. You can try SYSLOG or CATLOG from Plays, install it and repeat what caused the error, then take a log with the chosen app and load it up here together with your inquiry. Do a reboot before you try to replicate the error, to maintain the log file as short as possible.

I'm with latest 03/31 Temasek and B-Kernel and have no lags using build in camera app.

Maybe wrong kernel configuration or you should try 03/31 release
[OnePlus 2 Android Development] HzeMaffe:
It's probably the Thunderplug settings, change Thunderplug Load Threshold to 20-25, that should do it.
[OnePlus 2 Android Development] Sungfive:
i'm on exodus and i want to give a try to this kernel

How is battery life and general stability of it? Which version do you recomend?

thanks :D
[OnePlus 2 Android Development] elandroido:
This kernel is for cyangenmod based roms... Afaik Exodus is not cm, is it?
[OnePlus 2 Android Development] magnamentis:
always use the latest version if you don't read pages of problems in the thread ( i hope you read before asking ) ;)

for the rest, battery depends on you and your setup not on the kernel, at least as long as you don't do crazy stuff with it. as to the rest

make a nandroid and try it out, nobody can tell you what's good for you, only yourself

further i recommend to read about impact of kernels on battery life, because if you do that you'll never ask this again.

kernel in exodus is cm kernel, hence no issue, works great
[OnePlus 2 Android Development] return.of.octobot:
I can only speak for my own experiences but I've been very impressed with thunderzap core management. It's one of the best things that's happened to my OP2 in terms of a hotplugging solution that can actually handle an octacore chip. It should scale cores up sequentially based on your set load threshold, I run 65 which is more conservative but I believe the default is 50. It seems to like kicking on the A57 cores first, and supports with A53 so also have a look at your governors an their parameters because those settings will work in tandem with your hotplug driver to determine how your cores react to load. IME thunderzap has been fantastic thus far.

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] HzeMaffe:
Care to share your settings? I keep getting camera problems when load threshold is higher than 30.