yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] MICa.fighter:
There is nothing broken so there is nothing to fix, franco kernel just doesn't support the built-in superuser atm. Franco forgot to include init.superuser.rc because he doesn't use it. See post #2569. Just flash the supersu.zip after franco kernel, and use the supersu app.
[ONE Original Android Development] nikzDHD:
1% overnight drop on aeroplane mode using R15 stock values. Now trying VomerTweaks for a few days let's see how this runs ?

Stock values usually give me decent battery so intrigued to see how much extra juice these tweaks will give.
[ONE Original Android Development] sambaeallegria:
Strange behavior here. I lost about 20% overnight while on airplane mode and autosync off. During the day, with airplane mode off, wifi on and autosync on I have a normal drain.

I supposed to have some sort of wakelock, but why only during the night?
[ONE Original Android Development] mbudden:
Consistant 5-7mA here.
[ONE Original Android Development] nikzDHD:
Very strange considering I only had 1% overnight. Have you noticed anything strange? GPS on? Do you have any betterbatterystats logs?

Sent from the One
[ONE Original Android Development] jdec529:
Out of curiosity, what rom r u running?

---------- Post added at 12:00 PM ---------- Previous post was at 11:57 AM ----------

edited
[ONE Original Android Development] TjPhysicist:
It's not broken, but It's not working as I want it to. I'm not asking franco to include the init.superuser.rc because i want it...I'm just asking someone who cares to tell me...where do i go to find out how to include said file myself.
[ONE Original Android Development] mbudden:
Finally got sick of CM11S and installed DroidKang.
[ONE Original Android Development] sambaeallegria:
Same thing I thought. Unfortunately no logs, I'll try to post them tomorrow morning, now I only have stock battery stats.

As you can see almost no activity during the night. GPS off, I set location to battery saving. Screen off gestures off except dtw.

P.s.: I had to reboot a couple of times this morning so don't mind those drops.
[ONE Original Android Development] cyanoviper:
does it really make sense to limit the max cpu freq. to 40% of what the device is capable of?
[ONE Original Android Development] MICa.fighter:
Its ok franco will probably include it soon. I am not sure you can do it without building the kernel from source.
[ONE Original Android Development] TjPhysicist:
Ok, tried flashing supersu.zip...it did nothing. I have the app in my drawer now, but nothing can get root at all.
[ONE Original Android Development] zephiK:
Does it really matter if the phone is still able to achieve its tasks without lagging?

The sole purpose of the settings are to maximize battery life while not sacrificing performance so you'll still have a very snappy, buttery smooth experience. If you don't want to use it, then don't, but please don't criticize the settings if you haven't actually tried them for a 1-3 days. The OPO is already so good in terms of battery life so squeezing more battery life without experiencing any lag will make you love the phone that much more.
[ONE Original Android Development] Glebaka:
how do u measure mA?
[ONE Original Android Development] MICa.fighter:
And you can use per app mode for apps that needs more powah.

You can measure it with battery monitor widget or android tuner. I would note that Steve Kondik thinks these might report inaccurate values: https://jira.cyanogenmod.org/browse/BACON-857?focusedCommentId=38595&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-38595
[ONE Original Android Development] mbudden:
I did it just fine.

Flashed SuperSu and root is working.

Battery Monitor Widget

You forgot to mention its the same guy that's tried to dismiss the issue yet hundreds of people are experiencing it.

Just because he's Steve from Cyanogen, doesn't mean he's God or flat out wrong.
[ONE Original Android Development] zephiK:
Exactly :) .. thats probably what were going to do next.

Whats next will be Per-App-Modes, in the past for the N5, theres been PAM modes for QuadCore Gaming, LowerPower, DualCore, GameLowPower.
[ONE Original Android Development] blax123:
Sorry for this OffTopic but would someone be so kind and help me to solve this exorbitant high idle drain? I hope this Screenshots are enough to analyse and help me. If not, please let me know. Thank you all :)

PS: The drain Values over 500mA was while using. Everything below is while in "Sleep". I already Greenyfied the most Apps which could cause high drain while in sleep.
[ONE Original Android Development] Brembo109:
I'm using Franco's gaming PAM for games like PvZ2 or Riptide GP. Runs smooth and the phone doesn't overheat until it nearly explodes

Gesendet von meinem A0001 mit Tapatalk

---------- Post added at 02:40 PM ---------- Previous post was at 02:39 PM ----------

Gesendet von meinem A0001 mit Tapatalk
[ONE Original Android Development] paychex:
Is there a list of what you actually tweek?
[ONE Original Android Development] zephiK:
Max CPU Freq: 1190

CPU Boost:
input_boost_freq: 652

GPU:
Clock: 330

Governor:

above_hispeed_delay: 120000
boostpulse_duration: 250000
go_hispeed_load: 95
hispeed_freq: 1036
min_sample_time: 10000
sync_freq: 960000
target_loads: 90

Hotplug:
load_threshold: 90

I/O Scheduler: row

Tweakable in FKU.
[ONE Original Android Development] paychex:
I would bet if you stepped it up a bit you would get even better battery life. Less voltage doesn't explicitly mean battery battery. Voltage is only one part of power. Voltage is like the force and amperage is like the mass. Voltage is a unit per time. So when you decrease the voltage, it has to either apply less force over a longer period of time; or you have to move a larger mass of electrons at a slower speed.

For this processor the steps are already low. Such aggressive undervolting is probably stressing the integrated circuits doing more harm than good

---------- Post added at 09:14 AM ---------- Previous post was at 09:12 AM ----------

Really? People shouldn't know what they're putting on their phone?

---------- Post added at 09:21 AM ---------- Previous post was at 09:14 AM ----------

you had the screen on for 47 out of 69 minutes
[ONE Original Android Development] spacemanvt:
Anyone have issues with r15 and wake lock detector? wake lock detector doesn't work after flashing r15
[ONE Original Android Development] blax123:
Thanks but this dont realy helps me..
[ONE Original Android Development] dev0lver:
So basically with this vomer tweaks, max cpu freq is 1.19 ghz and will not go above it, even if the cpu is under heavy load?

Because that is like, more then half less power of the cpu, so cpu works as let's say 40% of its capabilities

and even with max freq, this device have really good battery life for me, so personally I restore max freq in trickster mod, but leave everything else on default

That is my opinion
[ONE Original Android Development] Tzfardaya:
When they can make the identical changes via fku, why worry.. You'll notice vomer said not to worry about the contents of the file, not that you shouldn't check..

It does when your asking for help finding an idle drain, but your example set doesn't show the phone being idle... How are we supposed to tell the difference between an extra idle drain from drain when your using the phone?

A couple days ago it was pointed out that all you need to do is unpack the Ram disk, add superuser support, then repack the ram disk... How to threads exist in xda with a bit of searching.

When the top 60% adds no visible benefit, yes.

Analogy:

Car is capable of travelling 250kmph, driver of car needs to be at a point, 100km away. Must be there in one hour, with no benefit for arriving early. So, nothing is gained from travelling faster than 100kmph, balance between fuel economy, and time spent travelling.

Basically, we underclock the cpu on our phones to avoid wasting battery, running at the slowest cpu speed that doesn't induce perceptible stuttering/lag. This may mean you need to tweak vomer's settings for yourself. Raise the cpu max if you're noticing any slowdown of the device.

All the vomer tweaks are is a good baseline to start your own kernel tweaks from.. A more aggressive kernel setting than is shipped with the kernal, biased more to persuading than performance. Should work as claimed for the majority, but others may want/need to adjust them for their own usage scenarios...
[ONE Original Android Development] blax123:
If you look at BMW Screenshot my phone was Sleeping(Idling) from 13:23 til 13:35 but it is showing such a high drain during the Idle. It is as high as i would use my phone but my screen was off and all apps greenyfied. So i posted also Screens from BBS to look after and analyse..
[ONE Original Android Development] paychex:
actually it does. You were asking about idle drain. and having the screen on most the time doesn't constitute idle drain

---------- Post added at 11:17 AM ---------- Previous post was at 11:08 AM ----------
[ONE Original Android Development] vomer:
I did not ask anyone to blindly flash/use my settings. Plus I provide multiple way to apply them (including non flashing methods) so no one is in the dark. With all due respect - I do not think I need to justify my choices to you.

VomerTweaks are an iterative building process, I work with a set of individuals to come up with v1 of the tweaks and then iterate based on feedback and things I learn along the way. Why did I not enable permanent quad core mode? Because it was not looking promising on this chip for now. Why did I cap the CPU at a certain value? Because it worked well with no visual impact/lag. If you need specific clarification on something, then feel free to ask. If you notice in the post by Nbss - he was talking about voltages which are not even part of the active tweaks. Let's first use the tweaks for a bit and then start the discussion.

Finally, if you are not happy with the tweaks please feel free to use the franco kernal app to apply the settings that suit you. If you have constructive feedback for me then I will consider it in future revisions of the tweaks.
[ONE Original Android Development] franciscofranco:
Guys, stop chasing ghosts with your idle drains and whatever. The only issue that I'm aware of is in the mdss (display subsystem) which has been patched on the CM11 branch. On CM11S it hasn't because both branches are so different from each other that I cannot merge those changes. They'll be available on the next OTA where hopefully both branches come together.

What clarity do you want? I'll be glad to answer you.
[ONE Original Android Development] paychex:
"Just asking for a bit more clarity"

Seriously FOH. I'm not asking you to justify any work you do. I'm asking what your work does that you are asking users to flash blindly. [MENTION=1978554]zephiK[/MENTION] was kind enough to post the parameters that are changed. Simple. Get over yourself
[ONE Original Android Development] franciscofranco:
What clarity do you want?
[ONE Original Android Development] paychex:
Thank you [MENTION=1978554]zephiK[/MENTION] was kind enough to answer
[ONE Original Android Development] lichti1901:
Is the I2C clokrate here also UC like on the N5 kernel?

Sent from my OnePlus
[ONE Original Android Development] franciscofranco:
Yes...
[ONE Original Android Development] Tunasty:
Just got this phone yesterday and I rooted it to run this kernel so I can get better battery than stock.

Unfortunately I didn't, I charged it full before going to bed and when I woke up this morning, it was at 93%. I also have a note 3 and it barely loses 2-3% all night. One plus one lost 7%. Any thoughts anyone? Or can someone share their kernel settings who are getting great battery life? I'd appreciate it.

-Tunasty
[ONE Original Android Development] franciscofranco:
What's the problem in losing 7% during the night? The device is alive... your laptop also loses power even when closed...
[ONE Original Android Development] Tunasty:
I am aware of laptop losing power even when it's not powered on. So if custom kernel is losing about 7% over night, what's the difference between this one and stock then? Never seen any custom kernel that loses about 7% over night and on top of that, Dev is asking What's wrong with it...

-Tunasty
[ONE Original Android Development] vomer:
The drain is not magically reduced by flashing a new kernel. there are multiple fctors that cause it - do you have wakelocks? how many emails do you sync? is there an app constantly updating in the bg? location settings? etc
[ONE Original Android Development] franciscofranco:
So you think if you flash a custom Kernel you'll automagically have 0% drain while on idle? I'm not a god or an alien, I can't bend physics.

I seriously recommend you to take a read and learn what is a Kernel in the first place, and why we have custom Kernels instead of using stock.

Anyway it's simple, if you have something, an app, a process, a socket, whatever, that needs your device to wake up to perform certain operations then you'll eventually lose battery than if the device was 100% of the time sleeping with all the internals powered down. It's not magic.
[ONE Original Android Development] sambaeallegria:
I had no sound at all after tweaking it in trickster mod. Set back to default fixed the issue.
[ONE Original Android Development] lichti1901:
Just wait a few days and let the rom/kernel settle, give him a few charge cycles and then start comparing things.

You can always check wakelocks and use greenify for better batterylife.

But first, enjoy your new device.

Sent from my OnePlus
[ONE Original Android Development] jarjar124:
Nice to see you here! Got a One huh?
[ONE Original Android Development] franciscofranco:
I think I have a bug on my sound control driver (only happens if you messed with the gains, if its on default there's no bug). I'll fix it for the next release-
[ONE Original Android Development] MICa.fighter:
No need to be so modest we know you can :)
[ONE Original Android Development] ShermCraig:
I'm so happy it made you chuckle. I chuckle at trolls that hide behind their anonymity to attempt to embarrass others. To each his own....
[ONE Original Android Development] lichti1901:
Yes Sir. Now time to get rastakat to build ^^

Sent from my OnePlus
[ONE Original Android Development] jaggyjags:
Any chance you could add a max vibration strength configuration on kernel and FKU like you had with nexus 5?

I feel the vibration is too dim.
[ONE Original Android Development] franciscofranco:
Yes.
[ONE Original Android Development] europizza:
Franco your kernel and app is great. Per app mode is nice. But wouldn't it be nice to also have that simple feature to switch between power profiles?

If it's been addressed already I'm sorry to bring this up again. Just ignore this.
[ONE Original Android Development] simms22:
battery life is NOT about which kernel you use. battery life is about how you personally use the phone, how you personally set it up, which apps you decide to use, and the quality of your phone/data connection. if you are looking at why you lost 7% overnight, check out your signal quality and which apps you installed on your phone. those apps creat wakelocks that wake your phone and use battery. again, the kernel isnt where you look for battery life, its your personal setup and use.
[ONE Original Android Development] Tunasty:
No I didn't have any wakelocks at all. It's a brand new phone, doesn't have any apps installed yet. Only wakelock it showed was Google+ sync and that was only for 16 secs. 16 secs can't drain 7% of battery.

80% of the people flash custom kernels to get better battery and performance. I never said I'll get 0% drain by flashing custom kernel at least I shouldn't be losing 7% in 7 hrs while it's idle. This isn't my first time flashing a custom kernel, so it's not like I'm a noob.

I do know apps, process, or any other trigger will wake up the device which causes in battery drain. My concern wasn't over this, it's over why lose 7%? Usually I see in between 2-4% while idle.

I'm not trying to put you down or ur work. I totally appreciate for your work, just trying to understand of my battery drain when there isn't any app installed. If it's 7% now, so after installing apps, it's gonna be more than 10%??

-Tunasty
[ONE Original Android Development] cyanoviper:
is this about the touch issues? Thanks

edit: wow that was a quick reply :D
[ONE Original Android Development] franciscofranco:
Although that looks great in theory, it's not particularly easy to scale a feature like that. Each of the devices that I support has different tunables, different paths, there's no abstract way to build a system that can scale between all the chips in a pain free way. The only thing I'm considering is just have a simple shell script executor (like a one-time click to apply a .sh file). Been wanting to build one for a while, it's easy to do, just haven't got around it.
[ONE Original Android Development] franciscofranco:
No. Those touch issues are something else.
[ONE Original Android Development] simms22:
unless your data/phone connection is 100% perfect, itll use battery up, when not doing a single thing. how much it uses will depend on the quality of that phone/data connection.
[ONE Original Android Development] europizza:
What I mean is really simple. It's like the power modes on the stock oneplus rom or other other apps like romtoolbox.

If I select a profile it switches to a particular cpu setting that I previously set up.

You had that in your app once but for some reason you removed it.
[ONE Original Android Development] bradm23:
Franco, is it possible to create a test. IMG with r15 with the older touch firmware? I never had issues with it and with the newer one I can barely type.
[ONE Original Android Development] dayanandgp:
[MENTION=3292224]franciscofranco[/MENTION] Any help with this issue ? Its reproducable and i get this crash everytime. Since i directly use the FKU from playstore, could you please let me know ? I uninstalled FKU ,deleted profiles from the sdcard but still the crash happens..
[ONE Original Android Development] Setting.Out:
[MENTION=470754]Franco[/MENTION]

I'm running an f2fs variant of your kernel, and it is noticeably more responsive at 1267ghz and tests higher too.. Thank you for building bacon flavored kernels.. ;)
[ONE Original Android Development] zephiK:
You mean FKU -> Color Control -> Color utils -> Load a color profile -> pick -> Apply ... crash? Its a known bug, FKU does set the color profile on boot though.
[ONE Original Android Development] dayanandgp:
:D thanks !! [MENTION=1978554]zephiK[/MENTION] to the rescue again ! Glad to know that it does apply during reboot. Maybe i didn't check the values correctly..
[ONE Original Android Development] Martin-Doc:
Just a subtle reminder to not forget merging superuser patches for r16 :)
[ONE Original Android Development] Glebaka:
everyone have battery life same as r14 on r15?
[ONE Original Android Development] simms22:
everyone uses there phones differently. so everyone has battery life according to how they use the device. no two people are alike.
[ONE Original Android Development] tsiftsism:
Sorry if this has already been asnwered, but searching with "CM11" and "Nightlies" keywords didn't give me any results.

So, can i use the AOSP version of this kernel with CM11 Nightlies?

Thanks in advance for your answer.
[ONE Original Android Development] zephiK:
That is correct.

CM11S: CM11S

Everything else: AOSP variant of franco
[ONE Original Android Development] GreggoryD502:
Is it OK to flash Franco's kernel and vomers tweaks back to back in twrp ? Or do I need to flash the kernel, reboot then go back and flash tweaks? Thanks.
[ONE Original Android Development] nneves:
You can do it at once.
[ONE Original Android Development] franciscofranco:
Er... like I said, each of my devices have a particular set of tunables, there's no easy and abstract way to do it without ****ing up the code. Even the bloody color control backend is a mess. I've re-written it from scratch like 2 or 3 times, each time I think I get it right but I don't. It's like 3 or 4 devices with so many different switches, inputs, outputs, tunables, there are ifs and elses everywhere even with abstract classes and inheritances... just not cool and unmaintainable. The One Plus One has those power podes pre-set for you on the ramdisk and you cannot change the tunables. And it's different profiles for every device. It's just not feasible for me. Just create Per-App Modes and apply them to your favorite apps instead.

Nah, sorry! You can do it yourself with ease.

I'm aware. Will fix in the next bug-fix release.
[ONE Original Android Development] LookedPath:
Sorry if I ask again but maybe you missed my post in the flood of post of the past days, could you please add F2FS support in r16?

Thanks for your work
[ONE Original Android Development] europizza:
Got it! Thank you.

I'm sorry to bother you.
[ONE Original Android Development] abc123pro:
I was curious to know if anyone here would be willing to share their kernel settings? I'm new to this phone and I mostly learn from others what would be a good place to start optimizing. I normally use trickster mod but I just purchased fku

---------- Post added at 06:07 PM ---------- Previous post was at 06:07 PM ----------

And to add, I have tried vomer tweaks. I just want to get some more experience around this kernel :)
[ONE Original Android Development] MICa.fighter:
Maybe I'm wrong but i think there is a dedicated topic to discuss fku settings here: http://xdaforums.com/showthread.php?t=2532422

[FAQ] Franco Kernel & FKU APK Learner's Lounge
[ONE Original Android Development] zephiK:
Vomertweaks is a good place to start. Although its already optimized enough as it is.
[ONE Original Android Development] jdec529:
That's odd. Mine doesn't crash.
[ONE Original Android Development] zephiK:
Running latest FKU?
[ONE Original Android Development] jdec529:
Ya.
[ONE Original Android Development] sharp2G:
To under volt or not...
[ONE Original Android Development] Tzfardaya:
Not
[ONE Original Android Development] basscheck12:
Nice! A [MENTION=1811927]simms22[/MENTION] sighting...TrinityBacon?
[ONE Original Android Development] tansuperman:
Since flashing Franco 14 it broke my YouTube. Not sure why. Flashing r15 its still the same . anyone know a link to the newest stock kernel so I can troubleshoot?
[ONE Original Android Development] Joe-Pk:
Can anyone confirm that the r15 kernel is working with 33r?
[ONE Original Android Development] GreggoryD502:
http://xdaforums.com/oneplus-one/development/kernel-heerolucas-kernel-t2857130

There is a link in here to the stock kernel.
[ONE Original Android Development] FuzeLearner:
As a possible alternative, you could use Tasker. This is not my idea, but I think it could be a great alternative. I have been using VomerTweaks through the Tasker xml he made available. It runs one CPU command and several shell commands that setup his tweaks. You could clone that task in Tasker and modify it to your needs. Run VomerTweaks when your at work and your own when you get home or whatever you want to do. I have been wanting to thank Vomer for offering this as on of his installation options. It offers a lot of flexibility and easy modification if desired, I can have Franco's settings at boot and enable VomerTweaks with the running of a small task! Thanks!
[ONE Original Android Development] vomer:
Its all about options :) its your device and you should have the freedom to use it as you like! I am glad the tweaks help you with that.

Sent from my Nexus 7
[ONE Original Android Development] tansuperman:
Thank you so much.
[ONE Original Android Development] dayanandgp:
Hmm thats strange. Franco has confirmed that he is aware of the issue :)
[ONE Original Android Development] Red5:
I see the kiddies came out to play. So nice they all decided to crowd in our sandbox.

I hate the new touch firmware. Older firmware was better...