yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] _ASSASSIN_:
Working in the new ProjectX CAF build and I must say it is absolutely awesome :)
[ONE Android Development] DerRomtester:
Version 2 Changelog:

- replaced stock thermal driver with francos thermal driver

- added KCAL

- updated wifi driver + config (the new config seems to be much better, wifi connects faster and seems to be more stable)

- sync with codeaurora

(all updates from sultanxda are inside)
[ONE Android Development] manu81:
No working in my device no boot. No boot only image of ONEPLUS forever.
[ONE Android Development] DerRomtester:
Which rom ? Sultanxda 09. 07.2015?
[ONE Android Development] manu81:
DU unofficial 9.4
[ONE Android Development] DerRomtester:
Really? You know that this kernel only supports two roms?
[ONE Android Development] sneakerspark:
Where is that build?
[ONE Android Development] _ASSASSIN_:
https://www.androidfilehost.com/?w=files&flid=33009

it's the one with "CAF" at the end.
[ONE Android Development] renaltosonylevi:
Here you go http://xdaforums.com/showthread.php?p=61610847
[ONE Android Development] FunkyRasta:
Yeah, but this limits InputBoost to only conservative and interactive governor :(

Wysłane z mojego A0001 przy użyciu Tapatalka
[ONE Android Development] DerRomtester:
We don't need boosting for smartmax because it is using its own boosting code. And for performance governors boosting is useless.
[ONE Android Development] DerRomtester:
Version 3 Changelog:

- replaced francos touchboost with cpu input boost driver from sutlanxda

- compiled with linaro toolchain 4.9.4 from Christopher83

- tuned cpu input boost driver more aggressive

- removed charge level interface because it does not seem to work

- updated ramdisk

- upstream updates form sultanxda
[ONE Android Development] gwindlord:
But why?.. UBER developer says
[ONE Android Development] DemonPhoenix:
Thats what he said according to his tests

but is it the same here?.

there has been mixed results in the past where sometimes the other is better than the other. its all about experimenting.

Linaro has bad open app times (could be due to a commit that is needed to fix this or something wrong with the rom)

Uber has bad battery (A commit may have caused inconsistencies and battery drain)

Different toolchains has different needs to be better than the other.
[ONE Android Development] Skretax:
Great!

Works on [5.1.1] Unofficial CyanogenMod 12.1 with CAF 3.4.0 kernel [July 15, 2015]. will check for improved battery life and performance. thanks
[ONE Android Development] shubham1120:
bootlooping on sultan's 17/7 build. What am I doing wrong?
[ONE Android Development] DerRomtester:
I dont know. I am running exactly the same configuration.

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] shubham1120:
Is is due to baseband or something? I don't know much I'm new to this device. My baseband version is 241.

I'll post log as soon as I get home
[ONE Android Development] DerRomtester:
Maybe you post your intall procedure.

If you want to install latest firmware + modem + sultanxda CAF rom:

1. wipe data + system + (optional dalvik cache and cache) You will loose all apps but your data on your internal SD card is still there!

2. install latest cm nightly

3. wipe data + system + (optional dalvik cache and cache) You will loose all apps but your data on your internal SD card is still there!

4. flash sultanxda's CAF Rom

5. flash gapps

6. Flash TyrV3 (do not flash my CM based kernel or any CM based kernel)

7. optional flash UKM-Tyr

8. reboot
[ONE Android Development] shubham1120:
I'll try this but I read somewhere that latest TWRP (I'm on 2.8.6.0) doesn't flash firmware. But is sultan's thread it's mentioned that rom won't flash if I had older firmware.

Anyways I'll try again and report
[ONE Android Development] renaltosonylevi:
2.8.6.0 is OK 2.8.7.0 is the one causing issues.
[ONE Android Development] shubham1120:
Still not working :confused:

Followed exact same procedure!

http://pasted.co/6a0daa26
[ONE Android Development] DerRomtester:
This is weird indeed. I don't see anything in your log that is wrong. Maybe a bad download i don't know.
[ONE Android Development] shubham1120:
I downloaded the v3 kernel twice but still bootlooping. I see 1+ logo and it bootloops. I'll try v2 and report. Also flashed the 19/7 build.. let's see

Can you tell me which recovery version are you using?

Thanks
[ONE Android Development] DerRomtester:
I am using this 2.8.70 http://xdaforums.com/oneplus-one/development/unofficial-twrp-2-8-3-0-t2981495 Twrp version.

I try to investigate what the problem could be. Stay tuned.
[ONE Android Development] shubham1120:
Wierdly enough v3 booted on 19/7 build:D

Cheers n thanks!
[ONE Android Development] DerRomtester:
Good :)
[ONE Android Development] FunkyRasta:
No more touch input boost controls in interactive gov ?

Wysłane z mojego A0001 przy użyciu Tapatalka
[ONE Android Development] elementalfusion:
So charge control is working? That's the only thing I'm missing from sultan's kernel
[ONE Android Development] DerRomtester:
Yep i replaced it with sultanxdas solution. I don't know the sysfs at the moment. Just search with file explorer for cpu_input_boost

and than you can change the values with

echo "1497600 1497600 1497600 " > /sys/path/to/cpu_input_boost/boost_freq

or sth like that

but i am not quite happy with that solution so i am gonna replace it with qualcoms cpu boost driver soon.

It wasn't working like it should. But there will be new solution in the next kernel version.
[ONE Android Development] DerRomtester:
Version 4 is online

pls reflash UKM for cpu boost controls

Changelog on the new Download page

http://tyr.l1.io/

Version 5

* synced with sultanxda CAF kernel
[ONE Android Development] FunkyRasta:
New build ! Yaaaay :D btw : does it have this commit https://github.com/RenderBroken/msm...mmit/45c3a07e88b214f49ea5601fc41a6311eec32aa7 ?

Wysłane z mojego A0001 przy użyciu Tapatalka
[ONE Android Development] DerRomtester:
Yes i have enabled it https://github.com/DerRomtester/and...mmit/2343e6873f2949c29118af04db9e07720b64eac6
[ONE Android Development] FunkyRasta:
Bug report !

Mako Hotplug is misbehaving. Basically, if threshold to enable all CPUs is setabove 0 percent then CPU is stuck in two core mode only. Setting it to 0 enables four cores all the time. So the hotplug is not hotplugging at all.

Still only two cores online all the time.

Even when two enabled cores are loaded 100 percent for long period of time, two others do not plug in.

Just in case, I recommend bricked hotplug, it is the most configurable and efficient. I configure it that way so two cores are always on and hotplugging is reduced to high load situations to save power. Bricked thermal rocks too IMO.

Wysłane z mojego A0001 przy użyciu Tapatalka
[ONE Android Development] DerRomtester:
But it has no effect on our device panel.

I will check that. Thanks for reporting. I just like the code of mako hotplug. It is simple and clean.
[ONE Android Development] DerRomtester:
Hello guys,

At first thanks to [MENTION=5106530]FunkyRasta[/MENTION] for finding a problem in mako hotplug. At first i tried to find out what was wrong with it but than i decided to remove it and replace it with another hotplug solution. So i searched a bit and i wasn't quite happy with all these hotpugs i have found. But than i found CPUQUIET hotplug by maxwen and so i thougt i am gonna port it to my CAF and CM12.1 kernel. After fixing all bugs i have to admit that it is running quite well. I think this is a good solution for us. And i think this is the only kernel with that hotplug inside except omnirom stock kernel. So stay tuned and maybe i can release a new kernel soon.

Kind regards

DerRomtester
[ONE Android Development] FunkyRasta:
If this hotplug is configurable and I can make two cores on all the time with other two enabling with loads above ~90 percent I will be happy :)

Great work, waiting for build :)

Wysłane z mojego A0001 przy użyciu Tapatalka
[ONE Android Development] DerRomtester:
Yes it is configurable but i need some help to add it to UKM.
[ONE Android Development] abhi08638:
What do you need help with
[ONE Android Development] gamal001:
what this app can monitor cpu core you used?
[ONE Android Development] DerRomtester:
I dont know how to add these tunables or how to add anything.

It is called perfmon and you can find it on xda.
[ONE Android Development] abhi08638:
If you can give me the paths of all the tunables and their descriptions, I can add it for you
[ONE Android Development] DerRomtester:
Ok, thank you very much <3. Tomorrow i am gonna send you the paths. But there is another problem. I dont know all descriptions. :) But i can ask maxwen.
[ONE Android Development] abhi08638:
No problem, worst case you can look at the code to see what they're for, sometimes the descriptions are in there
[ONE Android Development] darshan_dex:
Will this kernel work on AOSP based ROMs like OrionLP? o.O
[ONE Android Development] DerRomtester:
If the kernel is CM based than it wont work. If the kernel is based on sultanxda CAF kernel than the kernel will work. I suggest flashing my CM based kernel V143.
[ONE Android Development] darshan_dex:
Ohh alright.

But I wanna use AOSP, so I need to use this one.

You aren't stopping support for CAF, right?
[ONE Android Development] DerRomtester:
Can you link me to the Rom i will check which kernel you need? Never heard about that rom.
[ONE Android Development] darshan_dex:
Here it is: http://xdaforums.com/oneplus-one/development/rom-orionlp-rom-bacon-t3150120
[ONE Android Development] DerRomtester:
The kernel semms to be CM based. So you need my cm12.1 based kernel V143.

Edit:

But i am not sure about it because i cant find any kernel source.
[ONE Android Development] abhi08638:
I will add it

Nwns is load thresholds in bricked hotplug and twts is time wait threshold

Sample rate is usually the polling time between each check
[ONE Android Development] DerRomtester:
A good you know that already because i did not know that.

You can take the description from bricked hotplug. :)

Thank you very much.
[ONE Android Development] darshan_dex:
I tried AK and Boeffla. Both didn't boot up.

Just the Metalized kernel did, but that kernel has some weird issues.
[ONE Android Development] abhi08638:
I have to ask but I thought cpu quiet was only for tegra cpus
[ONE Android Development] DerRomtester:
Hmm. I only know that there was tegra mpdecision. And i thought maxwen created/ported parts of it to cpuquiet governor.

I think there kernel source is outdated so my new kernel does not work but i actually dont know.
[ONE Android Development] darshan_dex:
No problems bro, thanks for your good support though! :)
[ONE Android Development] abhi08638:
As far as I know, cpuquiet is the default version of hotplugging for tegra cpus.

Tegra cpus don't actually turn off the core but rather puts them in a sleep like state which saves more battery than hotplugging.

Qualcomm cpus use hotplugging to actually turn the cores off in steps like their krait cstates . I'm not sure how well this hotplug will work across different architecture but I'm sure you thoroughly tested it

One more question, I noticed that you didn't mention anything about cpu_core_state. Is that to be included?
[ONE Android Development] DerRomtester:
Oh yeah you are right i forgot to mention it here. I have to admit that i dont know what it is doing. And i dont want to touch settings i dont know what they are doing. Do you know anything about it? I may check the code again.
[ONE Android Development] abhi08638:
Based on the contents it's just saying if cpu 1-3 is online or offline. I won't include it because it doesn't seem to be useful to the user.

Another concern I have is that the screen off cap will conflict with msm limiter. Should I include it?
[ONE Android Development] DerRomtester:
I dont use msm limiter in my kernel so that is no problem.
[ONE Android Development] abhi08638:
Alright I should be done soon, and then testing will start. I'll include it as the first entry in the hotplug section for easy access
[ONE Android Development] DerRomtester:
Ok , thank you for spending your afternoon for that. :) The kernel is also ready.
[ONE Android Development] abhi08638:
https://www.dropbox.com/s/og66s30uxxy2hus/config.json.generate.hotplug?dl=0

Force stop synapse

Replace this file in your /data/UKM directory

Delete config.json

Start synapse and see if the values are there.

If the hotplug section is missing that means there's an error in the code. I couldn't test it but I hope you can
[ONE Android Development] ashdwoers:
newb question

will this kernel works on darkobas rom?

just asking :D
[ONE Android Development] DerRomtester:
Thank you but some of these tunables are not available.

I dont know. Just try it. Make a backup of your Boot.img. just in case.

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] abhi08638:
I see, that seems like the wrong path was given, can you send me the kernel which has cpuquiet
[ONE Android Development] DerRomtester:
You are my first tester now :) PM sent

I need some testers PM me.
[ONE Android Development] abhi08638:
Sorry but its going to take a lot longer than anticipated since each governor has its own set of parameters that are dynamically added whenever the governor is changed

One thing to note is that your kernel is probably the fastest I've ever seen
[ONE Android Development] DerRomtester:
Oh, sounds difficult. Take your time. Drink a beer and relax a little bit. :)
[ONE Android Development] DerRomtester:
V6 is online grab it :)

# Happy Flashing
[ONE Android Development] abhi08638:
I have finished the stuff for rq and load stats and put the tunables in for balanced and runnable but those cause some errors at the moment and I'm trying to find a way to make them appear when applying
[ONE Android Development] astrall:
Do I need UKM when I use kernel aduitor?
[ONE Android Development] DerRomtester:
You dont need UKM + Synapse (app in playstore)

You can almost access all kernel functions.

Sounds good so far.
[ONE Android Development] lopilop:
The latest version i can find is v5...

UPDATE:

Nevermind, I should use my eyes sometimes xD
[ONE Android Development] Ixtilion:
Is V5 the latest version? Because Im not sure, but the date suggests so
[ONE Android Development] shubham1120:
Nope, V6 is the latest version here

The V6 is blazingly fast!! I mean seriously what sorcery is this??!:D:D
[ONE Android Development] omvir:
Hello, nice kernel you've got here. Loving CPU quiet.

I have a question about the interactive governor in your kernel. Some of the tunables are different compared to the tunables for interactive governor in the cm12.1 nightlies. So, from where are these tunables that are in your kernel derived from?
[ONE Android Development] abhi08638:
Franco's touchboost
[ONE Android Development] DerRomtester:
I am using a more recent version of interactive.

:)

I dont use francos touchboost version anymore.

:)
[ONE Android Development] omvir:
Oh nice! Regarding the interactive tunables that come with your kernel have they been changed by you or anyone? Or are those untouched by anyone besides the makers of interactive?
[ONE Android Development] DerRomtester:
I am using the interactive version from dorimanx. I did not change any settigs there.
[ONE Android Development] Bazdal:
(Kinda noob question,sorry) Do you think this CAF tingi can be implemented with cm12 branch? I mean i'm no dev but ive got my build envio' set up for cm12 branch....suppose its possible, which part of the source do we need for the kernel to boot the build? Thx,keep up tha work.
[ONE Android Development] DerRomtester:
Pushed V7

* upstream updates from sultanxda

* more infos on the download server
[ONE Android Development] DerRomtester:
Hmm. I am not quite sure. There could be compatibility problems.
[ONE Android Development] copi:
Hi [MENTION=4804871]DerRomtester[/MENTION]

Turns out ur cafkernel can't be used on darkobas omni caf and xenonhd caf :( it won't boot
[ONE Android Development] DxTcmix:
Yup discovered it does not work on XenonHD pure CAF as well
[ONE Android Development] Ixtilion:
When phone is on wifi and screen off = always awake.

This has been happening since V6 and V7 and its an error in sultan xda base kernel, introduced with "wifi fix" probably.

Can you try to fix? Thanks!
[ONE Android Development] DerRomtester:
Yep i know that. Sultanxda has a different kernel for omni so this kernel does not work sadly.

There is nothing on kernel side that i can fix. Nothing has changed in the kernel. I could dirty hack a new wifi config but windows 10 destroyed my grub2 bootloader. :)

Edit:

and my ubuntu build machine :(
[ONE Android Development] liver20:
Thanks [MENTION=4804871]DerRomtester[/MENTION] for all !!!

Only a question, i am using ROM+Kernel Nightlies from SultanXda with CAF Kernel. But I read in his thread .

*Throttled down to 1574MHz at 52°C (unthrottle temp is 47°C)

*Throttled down to 1267MHz at 57°C (unthrottle temp is 54°C)

*Throttled down to 960MHz at 64°C (unthrottle temp is 61°C)

and this features

* Added homemade thermal driver (uses 3 throttling steps)

*Throttled down to 1574MHz at 52°C (unthrottle temp is 47°C)

*Throttled down to 1267MHz at 57°C (unthrottle temp is 54°C)

*Throttled down to 960MHz at 64°C (unthrottle temp is 61°C)

*Added various I/O scheduler tweaks for CFQ and Deadline (thanks to myfluxi)

*Fixed display not coming on for some users

*Fixed DT2W not working sometimes

*Added and changed default TCP congestion algorithm to Westwood

*Added CD-ROM emulation support (FrozenCow)

*Added NTFS support

All is included in your kernel, what yes and what not ?

Thanks !!
[ONE Android Development] DerRomtester:
Inside my kernel are:

*Added various I/O scheduler tweaks for CFQ and Deadline (thanks to myfluxi)

*Fixed display not coming on for some users

*Fixed DT2W not working sometimes

*Added and changed default TCP congestion algorithm to Westwood

*Added CD-ROM emulation support (FrozenCow)

*Added NTFS support

Not inside my kernel are:

* His homemade thermal driver.

I am using franciscofrancos thermal driver at the moment.
[ONE Android Development] liver20:
Thanks!! Downloading for test

Enviado desde mi A0001 mediante Tapatalk
[ONE Android Development] hassan_1000:
Edit: deleted. Nice kernel btw
[ONE Android Development] abhibnl:
Good Lord!! I'm already a bit skeptical about installing windows 10 due to the new MS Privacy policies. They literally can take all the data from your system with this new windows version. BTW how did that destroy your bootloader? I have an old VAIO laptop and if it's something to worry about, i won't try windows 10 at all.
[ONE Android Development] DerRomtester:
It destroyed my ubuntu partition and my bootloader. I knew that windows bootloader wants to be the king and so i thought that i just reinstall grub bootloader and than everything is fine but it also destroyed my ubuntu partition.
[ONE Android Development] abhibnl:
That sucks man! I believe i'll stay on Windows 7.
[ONE Android Development] DerRomtester:
Uploaded a new UKM version with cpuquiet tunables.

Updated download link in op.
[ONE Android Development] abhi08638:
Everything went well?
[ONE Android Development] DerRomtester:
Yes i am happy with it. You did a great job. I had no time to test out all values because it is a very very complex hotplug. Everything seems to work like it should. Maybe if some features do not work like intended i am going remove them. :)
[ONE Android Development] abhi08638:
Yes many of the tunables have strange names and am not quite sure what they do
[ONE Android Development] abhibnl:
So you have added a hotplug and we have no idea what some of the tunables even do?
[ONE Android Development] DerRomtester:
I am not good and i dont know anything. Some users asked for an option to control it and here you go. I just like the behavior of the hotplug. It was working very good during my tests.
[ONE Android Development] abhibnl:
I guess you got my question in a wrong sense. Even i don't know anything about this hotplug, lol. I was just checking for info whether we have any details on the tunables or not. Thanks for the clarification anyways.
[ONE Android Development] DerRomtester:
Upsi :) some of these values are self explaining. I will try to find something out about all these values.

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] abhibnl:
Hi! I finally flashed this kernel to test out on thre euohoria caf version and it's working great as of now. First time using your kernel so i'm impressed so far. However i have some queries and i hope you won't mind answering/help. So here i go:

1. Arch Power: i have heard about it in AK's thread. Some people enable it and some keep it disabled. What is it actually in simple terms and what would you recommend?

2.

What is this sync threshold? It mentions when CPU raises to this frequency when the preset threshold is crossed. What exactly is that preset threshold?

3.

Description of Balanced, Runnable, and rq_status has been provided but no description is there for the default set "load_stats". Could you let me know what " RQ" is and what does this profile load_stats do?

4.

I'm unable to understand the last three RQ values. What exactly are these for?

Hope my queries are not too long but i believe they're not at all a repeated query. I've been on Boeffla on almost all the time and now i'm figiring out all these tunables for my personal knowledge and a better tunable system. Thanks!

Sent from OnePlus One
[ONE Android Development] daltonhrrll:
This kernel is wonderful. Been using ak but I'm trying a caf ROM and this EU m will be my go to kernel on caf ROMs. Great work!
[ONE Android Development] afrob:
I am on resurrection 5.5.2 build 24.07.

Wich kernel i need for that Rom?

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] jark99:
How is this if I just flash it stock over Sultans Rom and don't do any tweaking?
[ONE Android Development] DerRomtester:
This is what i do. :)
[ONE Android Development] abhibnl:
[MENTION=4804871]DerRomtester[/MENTION]

I encountered the first ever bug with this rom tofay while i was outside with friends. I was checking out my SMS and the app hanged. I forced closed the messaging app and cleared all from recents. Then opened the messaging app again. However i was surprised to see the whole system got hanged and i had to force reboot the device and the Optimizing apps window appeared. Somehow the dalvik cache got wiped and i suspect it for a data corruption. Is ir directly related to the CRC being disabled in your kernel? And i'm sorry i wasn't able to pull out any logs. I know my query is not much helpful without a log but i wanted to share this bug anyway.

Also, i was waiting for your insights on my queries above. Please take some minutes out of your busy schedule to answer if possible. Thanks!

Sent from OnePlus One
[ONE Android Development] DerRomtester:
I try to answer your question above soon. But i dont know much so far. Data corruption usually happens when disabling fsync. Somtimes in rare cases there are errors in thr driver that are causing errors or a kernel panic. I dont think disabling software crc control is the problem. I am using that half a year for now. But without logs i can only guess.
[ONE Android Development] DerRomtester:
If the kernel is based on CAF sources you need the CAF kernel. If the kernel is cm based you need the cm12.1 kernel from my other thread. I am pretty sure resurrection kernel is based on cm12.1 sources.
[ONE Android Development] jark99:
Ran into a error flashing V7 over Sultans rom, said something bout "can't flash zip file" on TWRP 2.7.0
[ONE Android Development] astrall:
Bad download. Try to redownload zip.
[ONE Android Development] jark99:
Exactly what happened! My Opo couldn't download the file via mobile, so had to download it from my laptop. Odd, flashed and working! :)

Edit** WOW, Tyr v7 is just making my phone fly!! Good job! Will give it a few days to settle in, but loving it so much so far!
[ONE Android Development] abhibnl:
Well i'm sure i didn't even touch fsync. But i'll make sure to get the logs next tine something like that happens. I'll wait for your answes to the queries.

Sent from OnePlus One