yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] magnamentis:
Went to voltages in app and not sure what to set here

that was your question, you did not ask how to set but what to set and we did not argue but we gave you best advice.

and "what to set" is definitely a question as to options, so at least you should stick to the truth.

in fact it's like this. you ask a question, you get an answer which you don't like or don't believe, hence call it arguing. if you had liked the answer you would have thanked and appreciated it. this is not a fair but a biased approach. if i don't like something then it's injustice and if someone gives you a correct and at least a valid answer to a precise question like "what to set" to call that later arguing is definitely not "just" and it's not further surprising that the only support you got for your point was from someone who is on my ignore list for long. all very obvious really.
[Nexus 5 Original Android Development] grep_i:
Still crying over little things I even stood up for you.

But cool for bringing it up again.
[Nexus 5 Original Android Development] Jonnyredcorn:
What the hell? When did this become an argument? No one other than you has gotten hostel. We were simply trying to explain why he should not be undervolting, then you have to come act like the stereotypical internet forum warrior. Congrats.

Because [MENTION=2982382]Eat it iPhone[/MENTION] was stating that the majority of people believe undervolting/underclocking have a substantial effect on maximizing battery life, which it doesn't, and more often than not can have the opposite effect or cause other problems and is generally not recommended. He also asked what he should set his undervolt too, which we recommended not to set it to anything other than default for best performance & battery life. I basically repeated what was said to back up the statement to leave settings at default and to give a second opinion on the subject.

Sent from my Nexus 6P running Cataclysm & ElementalX.

---------- Post added at 02:56 PM ---------- Previous post was at 02:45 PM ----------

You asked what to set the voltage to, not how to use anything.

Any difference in temperature is not from your undervolt I promise. When you feel heat from your phone it is not from it running at the 700mhz freq. range. Regardless I can tell by your posts you are not interested in learning anything, you just want to sound intelligent like you know what you're doing.

Also I forgot to mention, you said that the majority of people believe undervolting and underclocking are most important to battery savings. Truth is cell signal strength, screen brightness, rogue apps keeping your phone awake, and even the CPU governor itself play much larger roles in battery life than any amount of undervolt.

Next post will be, "phone won't boot after undervolting cpu help! Set undervolt to set on boot and can't boot into app to disable help!"

Sent from my Nexus 6P running Cataclysm & ElementalX.
[Nexus 5 Original Android Development] occtec:
Quick question, is the latest Dec21 mod compatible with latest systemless root 2.65? Is anyone else here having issue with SuperSU 2.65 installing into system? I'm on latest ElementalX 6.07
[Nexus 5 Original Android Development] flar2:
ElementalX works with any root.

The key is to be rooted before flashing the kernel.

After that, for kernel updates, just flash the kernel. Root will be maintained.
[Nexus 5 Original Android Development] occtec:
Awesome, thanks mate. I had a feeling it was only something small, ha-ha. Cheers

EDIT: OK, so I tried your suggestion and it made no difference :(

Regardless of installation order in recovery, during SuperSU installation the log files indicate that SuperSU is being installed in system mode. I give up I have tried everything including full clean installation of factory image, not really sure where to go from here..

---------- Post added at 03:55 PM ---------- Previous post was at 03:23 PM ----------

OK so thanks to [MENTION=6842057]nathanchance[/MENTION] my problem is solved and I thought I would kindly share the fix here for others to follow should you run into the same issue.

So here it is...

Go into TWRP > Advanced > Terminal Command > Select button in right hand corner and type echo SYSTEMLESS=true>>/data/.supersu then flash SuperSU 2.64 and above. That will force SuperSU into systemless mode.
[Nexus 5 Original Android Development] grep_i:
At the end of flashing Supersu with twrp you got a question to install Supersu by twrp installer itself never ever do that or else your just flashed Supersu will be overwritten by the one included with twrp which is different.
[Nexus 5 Original Android Development] occtec:
I never did install that one, all good now ;)
[Nexus 5 Original Android Development] WNSTNSNRS:
I play NBA 2K16 smoothly at first, but when im in the middle of the game, it will now lag. Can anyone suggest a good settings?

Sent from my Nexus 5
[Nexus 5 Original Android Development] flar2:
It will change to a higher frequency if it needs to.
[Nexus 5 Original Android Development] suneet mehta:
Yes I thought the same. I just did it to see what limit the benchmarks go to then returned to stock.;)

Check out my custom backplates for the spigen ultra hybrid case for the N5 here :- https://mega.co.nz/#F!xd8lGYSS!J9vcXf3IWOqlcng1zE4bpA .
[Nexus 5 Original Android Development] Sensamic:
I lost 30% battery in 12 hours standy (sync off, wifi off, bt off), from 93% to 63% when I woke up. Is it normal? I think it's too much. I have dt2w enabled.
[Nexus 5 Original Android Development] tlf55:
So you blocked the freqency ?

With stock kernel when idleling it's stay at 320mhz i think and when it's needed its goes up to 450mhz ..
[Nexus 5 Original Android Development] Alfonso87:
[MENTION=4684315]flar2[/MENTION] You have really made a great work with this kernel. I was looking for a smooth and battery saver kernel. Franco's kernel for example is too much to save battery, games like minion rush are close to be unplayable. I have used often your kernel and i loved the performance of my n5 with it. But i needed more battery life.

I have installed your 0.21 without l2 bus overclock, no dt2w, with elementalx governor and without gboost. UV -50, 300 @ 650 mV. The phone is smooth like butter and games are playable, enjoyable (some just shutter for a microsecond). I have tried to compare 0.21 to a more battery saver kernel, and with these settings i can say that the results are the same for battery side, with more performance output using elementalx :D

Wonderful.
[Nexus 5 Original Android Development] drdoulittle:
active sweep2wake or doubletap2wake needed every hour 2-3% battery.

If you disable the option, you will experience the true kernel. I consume overnight with all sync to just 2% battery! Come on 1D 16 hours and 3 hours Screen ON Time!

Tip: Take gravity screen on / off and all is good...
[Nexus 5 Original Android Development] flar2:
No, I just made it idle at 200. It will increase to 320, 389 and 450 if the system load demands it. Using simple GPU governor will make it ramp up faster (but will also cause the CPU governor to ramp up if you are using elementalx gov)

dt2w uses tons of battery. Use the option for power button to toggle it off when leaving it overnight and it will drain the same as if dt2w/s2w are disabled.
[Nexus 5 Original Android Development] tlf55:
Oh okay, so can you consider to make it 320 like stock ? :angel:

I mean if it's not too bad for battery and everything else !

Last question, underclocking to 1.5ghz should save more battery right ?
[Nexus 5 Original Android Development] phantomEVO:
have you tried elemental x with last cataclysm rom?
[Nexus 5 Original Android Development] drdoulittle:
Even me the option via the Power Button I have 20% battery lost all your kernels. Only since I have completely omitted in Aroma Installer, I have battery values ​​that are absolutely top!
[Nexus 5 Original Android Development] xdviper:
Thanks for the tips, as I am using the stock rom and did not want to dirty flash (OCD issues). Just installed the kernel and will give it a day or two and see how it plays out for me. Thanks a lot.
[Nexus 5 Original Android Development] drdoulittle:
I have Stock Purity Rom with ElementalX 0.21 Kernel and gravity screen on / off on my Device and very happy with the Kernel and the battery consumption. I have tested it several times over the power button sweep2wake out to pry but I always lost 20 -22% battery overnight. And the Franco with Touch Control was as hungry. It was not until now that I have this feature not enabled, I have a great, acceptable battery consumption of 2% overnight.
[Nexus 5 Original Android Development] DoesntPostAThing:
Stock shows that it idles at 320, then ramps "up" to 200. Now I have no idea why it does that, if it is actually doing that at all. The reported frequencies can't be trusted all that much, it seems. On Franco it shows that it's idling at 200, then ramps up to 320 with the slightest movement on screen, opposite of stock kernel. ElementalX stays at 200 quite often, and only goes to 320 or higher when absolutely needed. I haven't noticed much of a difference in performance in either, and I'd say ElementalX has the best in-game graphics performance.

Of course, the apps could just be reading the wrong values, or the values could be wrong themselves, after seeing stock kernel ramp down I can't trust these anymore :P

As long as it's smooth, and battery is good, why care about what frequency it's running at?
[Nexus 5 Original Android Development] xdviper:
Oh yes. That's good to know then. Not really into the whole tap or swipe screen to wake up features. Just looking for that sweet spot in between battery life and performance.
[Nexus 5 Original Android Development] KLoNe1:
Absolutely insane battery drain here on 0.21. Does it really default to 1267MHz Minimum?!
[Nexus 5 Original Android Development] odin13:
Thnx Flar2 for all your hardwork! This kernel is giving me the best batterylife on Nexus 5

Almost 50 min. sot with only 10% juice lost :)

On wifi all the time and mostly reading tapatalk, google+ and browsing
[Nexus 5 Original Android Development] Skinpipe:
no it doesnt idle at 1267 in trickster it says it does but no it doesnt, im not getting absolutely insane battery drain here i dont use s2w or dt2w check your wakelocks perhaps?
[Nexus 5 Original Android Development] KLoNe1:
No wakelock problems also no IDLE drain problem either - the drain happens while using the phone. Reading XDA/browsing I will lose 1% every 2 minutes. Would s2w/dt2w effect this?
[Nexus 5 Original Android Development] DoesntPostAThing:
It doesn't. There's a reported frequency, and an actual frequency. You can find them under /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq and scaling_cur_freq. Scaling is the actual one used. Most apps will only tell you cpuinfo_cur_freq, which usually won't go below 1267. I know FauxClock shows you scaling_cur_freq, and it rests at 300 like normal.
[Nexus 5 Original Android Development] flar2:
It defaults to 300MHz minimum.

If you have s2w or dt2w enabled, battery drain will be bad. Otherwise, there is something wrong with your system. Did you try rebooting?

Yes, works great

It works better the way I have it.

You might save battery underclocking to 1.5. Try it and see.
[Nexus 5 Original Android Development] grep_i:
A good setting about what, I should say stick with stock settings they work the best.
[Nexus 5 Original Android Development] SJNair:
But what if we're coming from stock ? According to this thread, the OP says that stock kernel cannot have superSU just flashed on it anymore. It also goes ahead and says that if we want root we must in fact first flash a custom kernel (one of the options being EX) and then flash the latest SuperSU. Kernel first then SuperSU.

Also here, in step 4B we are told to flash kernel before supersu.

What should I follow, or am I missing something ?
[Nexus 5 Original Android Development] flar2:
Stock kernel can have root by flashing SuperSU, which will do the necessary changes to ramdisk.
[Nexus 5 Original Android Development] grep_i:
I do always flash Supersu on my stock kernel and after that flash custom kernel.

Works always for me
[Nexus 5 Original Android Development] WNSTNSNRS:
A good setting for HD Games. I see that thermal throttling is always triggered when Im in the middle of the game.

Sent from my Nexus 5
[Nexus 5 Original Android Development] grep_i:
If you mean a good setting when using a kernel toolkit /app.

You could try changing CPU governor to performance and set the minimum frequency to something around 1267 MHz or higher.
[Nexus 5 Original Android Development] jineshpatel30:
i'm changing that 4B option, thanks for your clarification.

when i wrote that guide there was lots of confusion going on due to 2.62 version & it's compatibility so i wrote that flash custom kernel 1st bcz it always worked for me without any problem :)
[Nexus 5 Original Android Development] magnamentis:
go to system > etc thermal-engine-(device name?).conf and change the values but be careful, try with 5 degrees first and make a copy of the original first on your sdcard and another copy of the altered file to re-paste it after system and/or kernel updates LOL

you have to look for Threshold (set_point on some devices) and Threshold_clr (set_point_clr on some devices, 90000 = 90 degrees celsius. don't change them all, just those you need and start slow, always possible to get bolder later LOL

EDIT: that's when on default, stock is much lower and extra cool is lower as well, elexcool is quite a good setup which adds a lot to the smoothness and consistent performance of this kernel
[Nexus 5 Original Android Development] jineshpatel30:
[MENTION=4684315]flar2[/MENTION]

some users & i'm having issue of random frozen phone with Cata+Ex 6.07.

here is like with original post i made which contains bug reports as well, plz look in to it bcz i don't know if it's cata mod related ( i think so ) or kernel related. so plz have a look.

http://xdaforums.com/showpost.php?p=64637766&postcount=27853
[Nexus 5 Original Android Development] flar2:
I don't see any kernel errors in the logs.

It's probably not kernel related, as I have not made many kernel changes in a long time, so it's unlikely that there would suddenly be a problem.
[Nexus 5 Original Android Development] jineshpatel30:
okay thanks for checking :)
[Nexus 5 Original Android Development] WNSTNSNRS:
Which one here? ?

Sent from my Nexus 5
[Nexus 5 Original Android Development] magnamentis:
this decision i cannot make for you but i can tell you what i did. raised thresholds and set_points by 5 degrees on my nexii & the Oneplus One with a few exceptions.

only for the Oneplus 2 i raised them by 10 degrees across the board without ever having any issues. start with 5C across the board except battery and CPUs and see how it goes, thing is that once things heat up they influence each other which is why i raised them all but moderately except battery just to give things a bit more leeway but don't forget that throttling is there for a reason, even though IMO they're set by far too conservative considering the temps i reach with my laptop LOL.

I have to mention my Nexus 5 is currently in repair because i borked my SIM-Tray with an empty adapter which means i have currently no access to my device specific config file, else i'd send it to you and keep in mind that hardware is not the same, there are different ASV/PSV levels and more. hence what works for me does not necessarily work for anyone else, but with 5C you'd be on the safe side, just try with the battery default, it's the the first thing to blow up IMO and tolerances are lower than that for CPUs and GPUs.

IMPORTANT: you have to set permission to 0644 ( rw-r-r ) and have to make sure it's set like that whenever copy/pasting that file from elsewhere after rom flashes, OTAs etc.

further information on the topic in general you find in THIS thread. i say general because it's not for this device hence you cannot use the values and there are some useless topics for Nexus 5 owners but then that will boost the general understanding significantly.

further you find a few more excerpts on the topic starting HERE and ending HERE while there is lot more in that thread starting about a month ago continuing.

the links i provided contain sample files as well as a few undisputed facts good to know.

EDIT: generally speaking IMO the Nexus 5 is one of the smoothest devices which therefore in general does not need this kind of tweak, for me it's more a bit of trying things out and observe the respective impact, while my Nexus 6 is running a lot better, no more RRs and the OP2 benefits the most but that's another story, top device, crippled out of fear du to bad press while in reality most people report no heating problems, at least not more or even less than with other devices, but that only as a side note and i can directly compare.
[Nexus 5 Original Android Development] WNSTNSNRS:
Okay appreciate your effort thanks, I'll give it a try.

Edit: [MENTION=5372360]magnamentis[/MENTION]

I don't literally understand, can you add 5 degrees in 2 CPUs for me? So I can have a reference which one to edit and how to. Thanks

Sent from my Nexus 5

---------- Post added at 05:49 PM ---------- Previous post was at 05:40 PM ----------

[/COLOR [MENTION=5372360]magnamentis[/MENTION]

Spoiler content hidden.

Sent from my Nexus 5
[Nexus 5 Original Android Development] magnamentis:
as mentioned above i don't have the device and i just checked the thermal files in the installer zip which you mentioned via PM and the setup definitely differs from that of my nexus 6 and OP devices, hence no, i would leave them alone they are shutdown triggers and have no impact on performance under normal use and once reached should definitely fire. also i remember that i left the battery values default as well, i edited my post above accordingly. good that i mentioned that i don't have the device and i think it's better if i send you my setup once i have it back. there are too many details i don't remember since i set them up long ago and the topic is too sensitive to let impatience rule. example would be that i only now remembered that i did not touch battery and cpu values while on the Oneplus 2 i certainly raised them all. too many deviances to port finds and conclusions from one device to another. should you find a nice setup by yourself let me know, perhaps there is some possible improvement over mine :)
[Nexus 5 Original Android Development] maortrol:
New build 6.0.1 (MMB29S) is out and ready for download! ;)

https://developers.google.com/android/nexus/images#hammerhead
[Nexus 5 Original Android Development] grep_i:
Did you update already and if so did root and kernel still work ?
[Nexus 5 Original Android Development] maortrol:
Yes, I did the update (with the Factory Image), then I went into recovery and flashed SuperSu-v2.66.zip, and then I flashed ElementalX-v6.07.zip.

Everything is right so far: root acquired, and kernel working properly... ;)
[Nexus 5 Original Android Development] PhilipTD:
A couple of questions, if I may. Did you do a clean install of the factory image from MMB29K? And, are you running Xposed by any chance? Thanks
[Nexus 5 Original Android Development] maortrol:
No, I just did a dirty flash by removing "-w" parameter from "flash-all.bat" file (it's a minor update, from MMB29K to MMB29S).

And I don't use Xposed, sorry. I'm nearly stock, just with custom Recovery, Root and ElementalX Kernel... :o
[Nexus 5 Original Android Development] lost020282:
i tried to open the config file in the etc with me text editor called jota.i made changes but cant save the file...same goes with the thermal engine file. what am i missing?nexus 5 latest kernel installed.i changed the permissions to both to 755 but still couldnt save...what is the octal i should restore them?i tried to change something in order not to have lags in my asphalt 8 airborne game...anybody better ideas?first why cant i change these 2 files?i am no systemless xtrafactory root marshmallow
[Nexus 5 Original Android Development] magnamentis:
check permissions in: settings > apps > (name of the app) > permissions. check what is on and off ( slider right = allow, left = deny ) storage must be allowed, else use rom-toolbox from the app store, never let me down in many years on 13 devices and has many additional goodies.
[Nexus 5 Original Android Development] flar2:
Looks like there were no kernel changes in the January security update from Google. You may continue using the latest version of ElementalX.

There will be an ElementalX update soon, but it has nothing to do with this.

As always, it is recommended to flash the stock boot.img if you do the update, in order to have the latest ramdisk.

Procedure for updating:

1. Download factory image from Google

2. Extract boot.img and system.img and flash these in fastboot mode:

fastboot flash boot boot.img
fastboot flash system system.img

3. Reboot to recovery (important--don't reboot to system)

4. Flash SuperSU

5. Wipe cache and Dalvik cache

6. Boot into system (may bootloop once, it's okay)

7. Install ElementalX (either with the EXKM app or in recovery)

NOTE: there was no update to the bootloader or radio, so I've omitted these from the instructions above.
[Nexus 5 Original Android Development] maortrol:
Just a little question, please:

Is it necessary to do that if you do the update (from MMB29K to MMB29S) with the "flash-all.bat" provided in the Factory Image? :confused:

Thank you!
[Nexus 5 Original Android Development] nathanchance:
Doing flash-all.bat replaces step 2. You still need do the rest of the steps to get EX installed. You may need to reflash TWRP after running flash-all.bat since it would flash the stock recovery but I am not sure.
[Nexus 5 Original Android Development] maortrol:
Of course! :p I'm sorry, I explainned myself wrong...

I meant if it was necessary to flash boot.img and system.img after an update made by the "flash-all.bat" file.

If you read my previous post in page 2107, you will find that after the update, I've already flashed a custom recovery, SuperSu and EX kernel... ;)

Thank you! :good:
[Nexus 5 Original Android Development] nathanchance:
Oh haha. Then no, if you ran that file, you are good to go.
[Nexus 5 Original Android Development] lost020282:
i am a noob i need more info..the app had permissions allowed for storage...what is the octal i should restore for the config files?i have rom toolbox what should i do with it exactly?
[Nexus 5 Original Android Development] SJNair:
Right so was that thread incorrect in saying "-Download a custom kernel that allows root, because root doesn't work anymore on stock kernel since M (checkout next paragraph for kernel list) "

EDIT: Nvm, I understand now that that thread isn't correct and also what you meant by saying it makes the necessary changes to ramdisk. I didn't realize the significance of ramdisk vs kernel. Silly me.
[Nexus 5 Original Android Development] magnamentis:
it's just that things changed rapidly over time :) that statement was true for 2-3 days and after that there already came up the first workaround.

basically this is why i shall stick to conventional root ( don't need pay ) until this is sorted out to a mid term valid procedure.

else what [MENTION=6952047]grep_i[/MENTION] said is true, always works like that. basically if people had stuck to what they were used to confusion would never have been so great, but instead of android pay users only, almost anyone thought he has to jump that new bandwagon while chainfire himself called it buggy and WIP at the time, while now it's already quite better, except that there are still apps like "secure settings" for tasker that didn't stick properly.

i was using both root methods parallely with same stock google + cata mod + EX kernel parallely and see no benefit in systemless root for those who don't use android pay, while for those guys it's a huge blessing :)