yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] AYEHAN:
R8 version isnt flashing for me in secondary rom, updater-script not found or something

Should i try r9 or this error is something else?

I Am LOVE But You Can Call Me AYEHAN

OnePlus One @ AOSParadox 27 March 2016
[ONE Original Android Development] Metacloud:
Wow can't wait for New version of this great kernel. Because I love to Flash new things!
[ONE Original Android Development] PivotMasterNM:
are init.d scripts supported? I'm trying to disable fsync :)
[ONE Original Android Development] DerRomtester:
I dont support multirom so you cant flash it.

It is because of the anykernel ramdisk that i am using. That does not have a updater-script inside it only a updater-binary file that flashs your kernel. I could revert to an older version of anykernel ramdisk to fix your problem. Or multirom releases an update to support the new anykernel format.

soon maybe :)

Why dont you use any app ?

If you dont like apps browse to that file (i dont remember where it is located; i am sure you find it)

render-post_boot.sh

and put your command inside it
[ONE Original Android Development] DerRomtester:
Pushed r10

* nothing special just synced updates with sultanxda latest release
[ONE Original Android Development] shubham1120:
Thanks man! Really appreciate you taking time to push update for us even when u are going through tough time!
[ONE Original Android Development] quini2k:
Seems to work fine on 4/10 SultanXDA ROM. Thanks [emoji2]

Quini OPO
[ONE Original Android Development] DerRomtester:
Big thx ro the guy who sent me a donation. I appreciate your support. ??
[ONE Original Android Development] webore:
Hey guys ,I've seen people reported that this works good with darkobas and I flashed it on omni .

Seems good but I can't turn WiFi on .

Any solutions?
[ONE Original Android Development] DerRomtester:
I dont support omnirom or darkobas. Only sultans rom and roms that use his kernel source as base.
[ONE Original Android Development] wszebor:
Sultan released 18 april Version of his Rom.

Wysłane z mojego A0001 przy użyciu Tapatalka
[ONE Original Android Development] Renosh:
Darkobas uses Sultan kernel source. I think he confused the fact the ROM base is Omni on Darkobas although kernel base is different compared to Omni.
[ONE Original Android Development] DerRomtester:
He modified his kernel source somehow so my kernel is not compatible with darkobas.

Gesendet von meinem A0001 mit Tapatalk
[ONE Original Android Development] slamdunksaliby:
Interesting because r10 works really well with the most recent build
[ONE Original Android Development] DerRomtester:
Maybe it boots but there is the risk that something is broken. e.g. no wifi, no bluetooth etc.

I dont give support for that.
[ONE Original Android Development] slamdunksaliby:
OK makes sense
[ONE Original Android Development] moneyvirus:
I didnt notice any of these problems WiFi Bluetooth using on daily bases

Love your kernel
[ONE Original Android Development] ashutoshmn:
great work man! One question that since the default charge rate is 1200ma, is it the same with screen off too or higher?

Also, if I want to change default charge rate to 1000ma can I edit some file in sys-kernel? If not will you give a go to custom charging rates in future because the thing is summers are up so you really want to keep the temperatures as low as possible by reducing charge rate.

EDIT: Every time I reboot, I need to manually edit the enabled file in cpu_input_boost to turn it off, any suggestion to make it auto? Kernel Aduitor doesn't allows you to add startup commands, right?
[ONE Original Android Development] DerRomtester:
Open your file manager and go to

/sbin/render-post_boot.sh

just add your line to the other lines and you are done :)

Charging when screen is off goes up to max 2000 mah

You dont need to reduce charging rates. If your device gets hot the charging speed also will decrease. It is a normal protection behavior every device has.
[ONE Original Android Development] ashutoshmn:
well, thanks!

the thing is last night I put my phone to charge (screen off) and after a while when I came back, the adapter felt like a lava lamp :D see the place where I live, temp. is around 38° C at nights, 45+ in the day and summer has just begun so you can imagine, any workaround for charge rates?

EDIT:

I added this code:

echo 0 > /sys/kernel/cpu_input_boost/enabled;

to the file /sbin/render-post_boot.sh but as I reboot back, the file restores itself to the original one and code is removed.
[ONE Original Android Development] DerRomtester:
Edit inside my kernel zip file the render-post_boot.sh script than flash it and you are fine.

Maybe i change its location that we can have write access to it.
[ONE Original Android Development] DerRomtester:
Pushed r11 if you did not recognize it yet.

Have fun. :)
[ONE Original Android Development] ashutoshmn:
great advice, thanks! now all good. :good:

any guidance on charge rates? could you please do a build for a default rate of 1000ma regardless of screen on/off. Come on man, is that too much to ask? :o :cowboy:

---------- Post added at 10:46 AM ---------- Previous post was at 10:44 AM ----------

aww my :p :D ;)
[ONE Original Android Development] quini2k:
Installed fine on 4/18 Sultanxda ROM. Thanks!

Quini OPO
[ONE Original Android Development] DerRomtester:
Charging rates can be hardcoded in the kernel but i dont like that idea to bypass the driver to force a certain rate. There can be several things i dont like.

* we bypass the thermal mechanics of the charge driver

* people can **** up there device sooner or later when they force it to charge at 2000ma

* maybe we break the digital circuit breaker that cuts off charging when a battery is at capacity

btw. if you avoid charging the hole night that will increase the life span of your battery

* i dont have the coding skills to implement such a feature ( i could pick some existing ones that i can find e.g. from lord boeffla or faux123) and than i dont know excatly what this code is excatly doing

What do my users think about that ?

Here is small strawpoll:

http://strawpoll.me/7416803
[ONE Original Android Development] ashutoshmn:
Actually yeah, I agree there with you and I'm not forcing you or anyone to have this feature on the kernel, it's the simplicity of this kernel that I like, and yeah I too think that charging your device at 2000ma is not a great idea, 1200ma is just fine actually it is neither too slow not too fast just perfect.

Most users who really understand will straight away agree with the disadvantages of charging at a very high rate i.e. 2A. And as you said, charge rates only jump up to 2A when screen turns off. This is indeed nice concept to increase charge rates when user is not doing anything heavy on CPU so the temperatures are in control. But, considering the disadvantages of forcing high 2A charge rate, I would really like it to be at 1200ma even when screen is off. That could be a possibility right?

And even if that was a bad point, please ignore, just keep it like that, it is still the most awesome kernel I ever used for a caf rom. Cheers!

Transmitted via Bacon
[ONE Original Android Development] DerRomtester:
Yes it is possible to charge it at 1200mah when the screen is offline but i dont see any reason why anyone wants to do that.

We have a thermal driver that is throtteling the cpu when your device is getting hot.

And we do also have a something similiar inside the charging driver that throttles the charging rates at certain temperatures.

My coding skills are not that good but i already have an idea to implement such a features to force the max charging rate to something lower without bypassing any security features. I hope my coding skills are good enough for that. I cant promise anyhting. I will need some hours to do that.
[ONE Original Android Development] yot2703:
The kernel based on what?
[ONE Original Android Development] Renosh:
I don't see the point of reducing the behavior from stock personally. If you can add functionality to change charge rates like Boeffla that would make more sense that reducing it permanently for everyone when only one person is requesting
[ONE Original Android Development] DerRomtester:
I never said that i change it permanently. Just a option, that can be used by you, to limit the max charging rate of 2000ma to a different value like 1200ma.
[ONE Original Android Development] ashutoshmn:
Seeing the all the safety algorithms, yeah it does not makes sense to limit anything. Just a nifty standalone that one could use whenever one feels like. I know even this does not makes any sense, but hey why not try that idea of yours, what say? I appreciate what you are doing, really do cuz know what this is an irrelevant feature but you still heard with patience, imo you deserve a :good:

So, give it a try, let is know if it works. Cheers! :D

Transmitted via Bacon
[ONE Original Android Development] Spider-Vice:
Sultan's.
[ONE Original Android Development] PlusOne3k:
I only want to thank you for this Kernel. Best regards :)

Gesendet von meinem A0001 mit Tapatalk
[ONE Original Android Development] DerRomtester:
No problem my bavarian friend :)
[ONE Original Android Development] PatrickMac:
[MENTION=4804871]DerRomtester[/MENTION]

Even if your kernel doesn't officially support darkobas Rom, I can tell you that it is a perfect combination for me.

Really nice work!
[ONE Original Android Development] _ikhan_:
Great work with the kernel.

My usage is mostly listening to music, playing videos and games for ~1hr and idling for 6 hours daily before I get home.

With stock sultan kernel I used to get home at 75%, but today (day 1 of using this kernel) I came home with 82%.

It also doesn't heat up that much compared to stock even though it runs at 2.47GHz.

I undervolted everything by 50mV, set governor to smartmax, IO to zen, and read ahead to 1024.

Good work!
[ONE Original Android Development] Bradl79:
is there a fast charge option with this kernel?
[ONE Original Android Development] DerRomtester:
If my mobile data reception wasnt that bad i maybe had also better results.

Undervolting could lead to reboots or instabilitys but if it works why not.

There was a reason why i set readahed to 128 :)

When your device is under high memory pression high read ahead values cause a global performance regression according to this commit https://github.com/MotorolaMobilityLLC/kernel-msm/commit/aa87390.

The new bfq scheduler performs quite good also on flash storage thats why cm switched to it by default. The articles you can find about android and the io scheduler benchmarks are outdated and not up to date. Give bfq a try :)

as discussed some pages back i am not interested in that feature for several reasons. Maybe i add my own function when i find the right function in variables inside the charge driver
[ONE Original Android Development] _ikhan_:
Thanks for the info! Will try recommendations :good:
[ONE Original Android Development] joefso:
[MENTION=4804871]DerRomtester[/MENTION] can you explain your opinion on AutoSMP and MPDecision, why did you thought MPDecision was so bad? What is your personal experience with AutoSMP and what noticeable changes ?
[ONE Original Android Development] PlusOne3k:
Question : What do you think about CPUquiet Framework? Does it makes sense?

Best regards from Freising.

Gesendet von meinem A0001 mit Tapatalk
[ONE Original Android Development] DerRomtester:
I just dont like things that are closed source. Also i dont like the behavior when the second core is onlineing amd offlining all the time. This eats up our battery. Also i want ti control a little bit and see the source code. I am no programmer but i can understand some small and simple code.

CPUQuiet is indeed quite intelligent. But it is so much work to do to implement it.

For example one of the cpuquiet governors will scale the number of CPUs online depending on both CPU load and the number of runnable threads with careful but simple and precise calculations.
[ONE Original Android Development] PlusOne3k:
Thank you for the fast answer.

Gesendet von meinem A0001 mit Tapatalk
[ONE Original Android Development] DerRomtester:
Depends on how long you are watching videos. I could tune the thermal driver to be more aggreessive. I tried to configure it to not heat above 46°C (vadc sensor). And the values from tsens the sensor you are talking about are quite inaccurate. Dont worry about your device. Btw. you touched the thermal driver settings?

Sry Oxygen OS is not m style. Sultan CAF is the future. :) Or when he leaves i am gonna switch to omni.
[ONE Original Android Development] naveenjohnsonv:
Haven't changed anything, all stock. And I watched for only about 15 minutes when it started heating up. Kept a CPU overlay to see the temperature over the hours in your kernel, it's around 36-45°C on light tasks and 45°+ while browsing, like while loading pages.
[ONE Original Android Development] DerRomtester:
This is normal. Dont worry.
[ONE Original Android Development] DerRomtester:
I am gonna take a look at them. But i had problems in the past with smartmax. Also i want to keep the kernel simple. What do you think about a strawpoll about features ?
[ONE Original Android Development] grusta:
Your kernel is working on latest Euphoria CAF 5.1.1. Seems snappy. I will report on battery later !

Thanks
[ONE Original Android Development] DerRomtester:
Edit:

Moved the Strawpolls to the first page.

Pls take your time to answer them.
[ONE Original Android Development] zodiaxe66:
I remember from a couple of years ago a governor called lulzactive and I think archidroid rewrote it to lulzactiveq from Galaxy S3.it was also the preferred governor on siyah kernel.maybe it could turn into something great.

I think it was Tegrak that originally rewrote conservative governor. Not quite sure on that,though.
[ONE Original Android Development] wingedpanther:
I haven't seen any issue while using smartmax gov, IMO it is one of the best CPU gov. I use them on week days and will change to interactive on holidays.

definitely its a great Idea. I asked for govs because I can see many I/O schedulers in the kernel

Go ahead!! :good:
[ONE Original Android Development] DerRomtester:
CPU governor strawpoll round two:

http://strawpoll.me/6652707
[ONE Original Android Development] wingedpanther:
smartmax will be the winner :silly::cool:
[ONE Original Android Development] aliffaminuddin:
so this kernel isnt configurable. correct me if im wrong
[ONE Original Android Development] DerRomtester:
Already working on it. Voltage control is already implemented :)

What do you want to configure ?

controllable with Kernel Adiutor:

You can change hotplug settings.

You can change KCAL

You can change the CPU governor and all its settings

You can change the GPU governor

You can change CPU frequencies

You can change the GPU frequencies

You can change I/O schedulers and all its settings

You can change the readahed value ( i dont suggest changing it)

You can change Low Memory Killer settings

You can change Virtual Memory settings

You can change entropy values

You can change the vibration strength

You can change the TCP Congestion Algorithm.

ecc.

Controllable with terminal emulator: (almost everything)

You can change the cpu input boost driver settings with the terminal emulator
[ONE Original Android Development] aliffaminuddin:
thanks, but it isnt configurable through kernel adiutor :(
[ONE Original Android Development] DerRomtester:
Yes it is. This is what i am currently using. What do you mean ?

Latest poll:

CPU governors round two

http://strawpoll.me/6652707
[ONE Original Android Development] aliffaminuddin:
the governers in kernel adiutor are only performance, interactive, conservatice, powersave is it true?
[ONE Original Android Development] DerRomtester:
Yes. That is true. We are currently voting for more CPU governors.
[ONE Original Android Development] aliffaminuddin:
alright thanks, and great kernel anyway :)
[ONE Original Android Development] Bobbi lim:
[MENTION=4804871]DerRomtester[/MENTION] I'm making an exception for you this time by flashing a CAF ROM + your kernel. So far so good :)
[ONE Original Android Development] wingedpanther:
[MENTION=4804871]DerRomtester[/MENTION]

Thanks for this
[ONE Original Android Development] molonad:
Hello will you add governor on second place in your vote challenge too? becouse for me is important zzmove governor with zzmove native hotplug . Thank you

Odesláno z mého A0001 pomocí Tapatalk
[ONE Original Android Development] DerRomtester:
PUSHED r12 BETA (a bit experimental)

Changelog can be found in OP
[ONE Original Android Development] panxe:
Thanks for prompt updates.

I'm enjoying your kernel. Initially it was searching for sultan updates, now yours too.
[ONE Original Android Development] smint86:
Any special help you would need from people beta testing? I just flashed the last versions of your kernel without editing anything, using no tuning app or monitoring anything, as they were running perfectly.

Swyped via Tapatalk
[ONE Original Android Development] xlollomanx:
[MENTION=4804871]DerRomtester[/MENTION] I have something strange to report. I have fully charged the phone with wall charger. When I unplugged it after some time I noticed the phone are more hot than usual. So I checked the frequency and I have seen the CPU had difficulties to be unplugged: they stay all up to 1200 to 1500 mhz, even I'm not using the phone. So I reeboted the phone and now it's all OK.

I'm using latest sultan build(23/04/2016) and private r12

Sent from my Oneplus One
[ONE Original Android Development] joefso:
R12 make cm13 caf feel very responsive
[ONE Original Android Development] Renosh:
Definitely agree I find the performance better on R12 than AutoSMP on R11
[ONE Original Android Development] _ikhan_:
Hey [MENTION=4804871]DerRomtester[/MENTION] I have quick questions.

The sound with this kernel is great (without using audiofx).

Would the sound quality benefit using v4a?

Would it clash with some inbuilt audio driver?

Thanks.
[ONE Original Android Development] DerRomtester:
Also could be related to the tick rate change from cm.

I dont like these magic audio flashable zip files and apks.
[ONE Original Android Development] DerRomtester:
Sry what i dont understand that. You unplugged the charger and all 4 cores were running and the cpu frequencys did not went below 1190 mhz?

Were you touching the screen to that time?

You took a log ?

I feel the same :)
[ONE Original Android Development] xlollomanx:
Yes, you understood correctly. I haven't touched the screen for more than 20 seconds. Sorry no logs, like I wrote before I rebooted the phone and now seem all good.

Sent from my Oneplus One
[ONE Original Android Development] _ikhan_:
Gotcha.

And I am assuming using the app L Speed is safe with your kernel?

It uses build prop tweaks to make the rom "better".
[ONE Original Android Development] DerRomtester:
As i said i dont like these kind of tweaking apps. Why arent these values set by default by sultanxda or cm or any rom developer. I check some of his tweaks and maybe we can enable them on kernel side.

Gesendet von meinem A0001 mit Tapatalk
[ONE Original Android Development] _ikhan_:
I have to say, you are the most responsive dev I have encountered.

Just like your kernel :D

Thanks everything!
[ONE Original Android Development] buzzqw:
beta 12 works well with darkobass rom

thanks!

BHH
[ONE Original Android Development] DerRomtester:
Sometimes hahah
[ONE Original Android Development] onlyapilot:
I wanted to let you know, Bluetooth connectivity is better for me with beta 12 than any previous build. Connection happens automatically and quicker than it is before to my car and my audio adapter.
[ONE Original Android Development] DerRomtester:
I dont know why it works better for you. I just know that i changed nothing on kernel side that affects bluetooth. It is definatly not my kernel because i did not touch bluerooth or anything that is related to it the last 12 versions. :)
[ONE Original Android Development] slamdunksaliby:
Just curious what ROM your using? I'm finding AOSP based Roms with CAF kernel to be the most stable (ex. Mirroring the phone on the chromecast actually works now! Haha)
[ONE Original Android Development] gaspolo:
tried for test this kernel in alternative at sultan kernel on sultan romMM ,

( i change only the governor , to smartmax)

and the battery discharge now is 1% hours in LTE. while on sultan is about 2.2 / 2.3 %

All work perfectly, i made better test these day ;) but i think i keep private kernel on the rom ;)

10+
[ONE Original Android Development] DerRomtester:
I am currently using sultans rom and i think i wont switch to another rom until sultan stops developing. He is one of the most experienced active developers here like franco, lord boeffla and because of that i like his work and trust him. If there is any other rom here that supports f2fs with my caf kernel and regular updates i could give it a try.

Nice. I wish that i could recieve here LTE. Only H+ :)

The current kernel is smooth like sliding on a banana.

Gesendet von meinem A0001 mit Tapatalk
[ONE Original Android Development] onlyapilot:
Very interesting. I will completely admit that it could be upstream and I haven't looked, and I have just been flashing newest sultanxda build and newest version of your kernel, whenever yours is released. I did notice specifically that r12 is working much faster on initial Bluetooth connection, but as I said it very well could be Rom updates.

Either way, I'm pleased with the outcome!

I've not posted it before, so thanks for the great job you're doing here.
[ONE Original Android Development] slamdunksaliby:
Does the kernel or ROM determine if you have f2fs, ext4?
[ONE Original Android Development] DerRomtester:
Sry what i dont get it. I am currently running f2fs on data and cache. The rom needs the support for f2fs if it does not have it i wont switch to it. On sultans rom i can just dirty flash new versions without messing up my filesystem.

If any other rom supports that too i am gonna try it but i am happy with sultans rom and so i see no reason to switch to another rom just because some parts are aosp based (device tree and kernel are still caf/cm based of course we have no real aosp like nexus devices) or whatever.

Of course the kernel must continue the f2fs driver, too.
[ONE Original Android Development] PivotMasterNM:
interesting. do you notice a difference between ext4 and f2fs on the system partition?

if yes, how did you switch /system to f2fs?
[ONE Original Android Development] DerRomtester:
sry i meant cache

Gesendet von meinem A0001 mit Tapatalk
[ONE Original Android Development] moneyvirus:
Once again i want to say thank you for this amazing kernel your move to cpuquite was a great move I have 4 Sot on 50% really nice

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] gianton:
Which ROM?
[ONE Original Android Development] shubham1120:
Using r12 with darkobas 26 April build and it's running real smooooth!! Love the cpuQuiet implementation.
[ONE Original Android Development] moneyvirus:
Darkobas

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] ashutoshmn:
[MENTION=4804871]DerRomtester[/MENTION] please bring back the AutoSMP
[ONE Original Android Development] xlollomanx:
I think instead cpuquiet is better than autosmp.

Sent from my Oneplus One
[ONE Original Android Development] _ikhan_:
Am I safe to assume r12 BETA is fully stable, [MENTION=4804871]DerRomtester[/MENTION]?
[ONE Original Android Development] DerRomtester:
noone reported so far a critical bug. The biggest change was the hotplug but it seems working fine for me and 180 users.

Gesendet von meinem A0001 mit Tapatalk
[ONE Original Android Development] _ikhan_:
I can't expect less ;)

Thanks!
[ONE Original Android Development] ashutoshmn:
yeah, but in case if someone wants to run only 2 cores.
[ONE Original Android Development] DerRomtester:
You can do it if you know the sysfs with the terminal emulator.
[ONE Original Android Development] erad1:
Giving this a run on latest COS 13ZNH0EAS2JK, Idle drain looking nice :good:...
[ONE Original Android Development] DerRomtester:
Whut ? Are you on sultans rom ?