yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] harshi1:
Ya idk why [MENTION=3004396]rehpyc[/MENTION], but I do get better results with the target loads swapped around, ya I purposefully made it like that
[X Style (Pure) Android Development] Mr.Crocodile:
Hi just wonder how do i load the new script? :( I am new sorry :(
[X Style (Pure) Android Development] harshi1:
Well u download the script/profile u want, also use es file explorer it helps a lot, change the ending to .sh, and copy it to /etc/init.d. then with kernel auditor apply it with the init.d option
[X Style (Pure) Android Development] Mr.Crocodile:
Thanks!! I will try :)
[X Style (Pure) Android Development] harshi1:
Yup np man
[X Style (Pure) Android Development] rehpyc:
To anyone that has been running or at least tried my governor and/or misc tweaks, any feedback? Do you wish to gain more battery life or performance from them? Is there a different governor profile that works better for you either because of battery life or performance? Along with a list of tweaks I've been compiling, I'll soon revisit the governor profile to adjust as needed.
[X Style (Pure) Android Development] unitz0mbie:
gain more battery
[X Style (Pure) Android Development] ffonegod:
Battery and smoothness for me.. Plz
[X Style (Pure) Android Development] Mr.Crocodile:
I just copy script to the folder amd reboot my device. How do i know that i am running the new script?
[X Style (Pure) Android Development] HikingMoose:
I use conservative for my small cores but I tweak the settings for more performance. I set the up threshold to 70 and the down threshold to 40.
[X Style (Pure) Android Development] dirtyhank:
v0.12

Disable DT2W/S2W while phone call is in progress

New CPU governors: impulse, zzmoove

New and updated CPU profile scripts

Runtime CPU profile switcher script

Minor changes to Aroma installer

RELEASE NOTES

In previous versions DT2W/S2W didn't get along with the proximity sensor while a phone call was underway, the screen would turn off but it'd still register input and could cause unintended behavior. This version disables gestures while a phone call is in progress, it's still not a perfect implementation but a step in the right direction (thanks to [MENTION=6622407]zohar_ml[/MENTION] for helping out)

The Start-Up scripts section of the Aroma Installer has been split in two for clarity. First screen will let you choose CPU profiles and the second will let you choose the rest

There are a few new CPU profiles and I've updated some to the latest version on Alcolawl's github. This is the full list of available CPU profile scripts (description in the original post):

bluejay
bluejay_racer
bluejay_uc
butterfly
ghostpepper
redhawk
rehpyc

To make your life a little easier when testing CPU profiles [MENTION=3004396]rehpyc[/MENTION] and I have written a very simple script to switch CPU profiles. To run the script you'll need a terminal emulator (ie: Terminal Emulator for Android), just launch the Terminal and run this command:

su -c /fc_profiles

The rest is pretty self explanatory

Have fun!
[X Style (Pure) Android Development] newHere:):
Thank you very much for the update [MENTION=2400758]dirtyhank[/MENTION].

Is there any progress about combining DT2W with moto display?

Thanks again for your awesome work!
[X Style (Pure) Android Development] dirtyhank:
Not much, I'm afraid, I haven't figure out how to do it yet. If all the pieces were in the kernel it'd be easier but since most of the stuff is handled by the Moto app it's hard for the kernel code to tell when Moto Display is active.
[X Style (Pure) Android Development] Mr.Crocodile:
Thanks so much for the works!!. Is there any chance I can double touch to sleep??
[X Style (Pure) Android Development] dirtyhank:
Nope, it'd cause too much trouble. Use Swipe2Sleep or install GravityBox and configure double tap to sleep on any Navigation Button (this is what I use).
[X Style (Pure) Android Development] jdgesmlls:
I use the built in widget for Greenify to "Hibernate + Sleep" and assign it to my double tap on home screen action in Nova. Of course you would need to be using both of these, but another option nonetheless...
[X Style (Pure) Android Development] TGiFallen:
Could we possibly get a little overview of what the intended use for each profile is (balanced, performance, power saving, etc) please?
[X Style (Pure) Android Development] dirtyhank:
Read the authors original post: http://xdaforums.com/showpost.php?p=64645746&postcount=900

Your guess is as good as mine, why don't you give some a try a let us know ;)
[X Style (Pure) Android Development] middleearth1010:
Nice mate... Unfortunately I have changed to acip as its newer and more updated and running 2.8.2 is having some (minor) issues and the developer no longer has the device. Do you know if it's compatible with ACIP as its asop based? I love this kernel but just finding the ACIP rom is running much better for me and it's more featured.
[X Style (Pure) Android Development] Th3DaRk_Vampire:
Link of that ROM my friend??? Please
[X Style (Pure) Android Development] ffonegod:
Which acip rom are you using?
[X Style (Pure) Android Development] unitz0mbie:
2.8.2 is running great with frankenkernel lol, over 6 hors of SOT and plenty of options
[X Style (Pure) Android Development] note3userr:
Although I agree with you that this kernel and 2.8.2 is amazing together, sot is a useless stat when talking about Roms.
[X Style (Pure) Android Development] rehpyc:
This kernel can only be used for stock based ROMs (basically just stock or TruPure are available?). I know AICP at one time had ported an early version of this kernel to use with the ROM, but it seems that never continued?
[X Style (Pure) Android Development] middleearth1010:
Acip is a top thread under this section of xda. It has about 250000 views. I wonder what I would need to port the kernal. How does the op develop the kernel (what software does he use) I would like to try to port myself if it's okay) and learn to develop.
[X Style (Pure) Android Development] note3userr:
I feel like I was getting better battery life with .11.

Yeah I went back to 11. Rhy ghostpepper and zram works wonders. The new version was draining my battery for some reason
[X Style (Pure) Android Development] ellcid:
A noob question.

I just select the script and let the things untouchables, or I apply the script then I mess with governor and stuffs on kernel tunner?
[X Style (Pure) Android Development] dirtyhank:
The governor scripts are supposed to be global, in the sense that all the optimizations are included and you shouldn't need to modify anything (CPU related).

But, keep in mind those scripts were designed for Nexus 5X, and although both devices share the SoC they are not exactly identical.

I think you better test some scripts verbatim until you find the one that works best for you and then you can start fine tuning ;)
[X Style (Pure) Android Development] kakabobo:
any chance that this kernel can be ported for x force as well? thanks
[X Style (Pure) Android Development] HellGuardian92:
Flashed 0.12, chosed 100hz, but minimal stay at 300
[X Style (Pure) Android Development] rehpyc:
Are you speaking of 302MHz as the minimum CPU freq? If so.. that's not what the 100Hz and 300Hz options are when installing the kernel.
[X Style (Pure) Android Development] dribr:
it would be great if the dev could bring the best tweaks and configs of this kernel and port to a kernel compatible with CM based ROM.

Enviado de meu XT1572 usando Tapatalk
[X Style (Pure) Android Development] dirtyhank:
Unfortunately my spare time is limited and I can't spend much in this project. And to be honest, I'd rather spend it improving performance or adding new features than fixing compatibility issues between different ROM flavors that I don't use anyway ;)

If anyone has the will and the skills to lead the effort I'd be happy to help out but that's as far as I can go right now, sorry.
[X Style (Pure) Android Development] dribr:
No problem! I just wanted to taste these awesome tweaks on another ROM and check if the performance e battery is also improved.

I tested a brand new rom XOSP for Clark and it is really really smooth, but the battery is not as good as it trupure with franken.

I'd do this port if I had knowledge for that. Anyway, I appreciate your attention and your effort!

Enviado de meu XT1572 usando Tapatalk
[X Style (Pure) Android Development] huynhsontung:
Is this over-counted thing here is just a bug? Does everyone get it? I'm running TruPureXMM 2.8.2. I flashed this kernel with 100hz ghostpepper and rehypc misc tweaks, zram enabled.

I flash 0.12 seeking better battery life but this gave me a serious concern :eek:
[X Style (Pure) Android Development] dirtyhank:
I've never seen Over Counted in my battery stats. Have you wiped caches?
[X Style (Pure) Android Development] unitz0mbie:
so far what is the best setting for battery life?
[X Style (Pure) Android Development] rehpyc:
It's something that's been found at times and is a culprit of TruPure. It'll go away and isn't really draining battery.
[X Style (Pure) Android Development] unitz0mbie:
hey man have u made any new scripts later?
[X Style (Pure) Android Development] aznflawless:
What's the difference between the I/O's? I read about them, but honestly i still don't get the differences and how it affects performance and battery.
[X Style (Pure) Android Development] Hitti2:
Thanks for this kernel. Franken kernel & TruPureXMM.

---------- Post added at 04:56 PM ---------- Previous post was at 04:35 PM ----------

I found accuweather app notification is buggy. Install the app, enable notification in setting for it to show current temp in digits in notification bar. Scroll the bar down and it disappears.

I installed weatherbug and its working great.
[X Style (Pure) Android Development] Grafidio:
2.5 Trupure + v0.3 frankenkernel

The screen colour calibration doesn't take effect, I can change the RGB colours but the screen doesn't change. I just dirty flashed 0.3 onto 0.2

IGNORE!!!

Colour adjustments work with ex kernel manager. (Not with any others )
[X Style (Pure) Android Development] WelcomeToTheSkye:
FINALLY got it running cold... Anyone with heating issues download kernal auditor and open the thermal tab and disable core but enable SoC
[X Style (Pure) Android Development] Hitti2:
What is SoC? Will this decrease performance?
[X Style (Pure) Android Development] WelcomeToTheSkye:
No it won't it just fixes heat issues it's actually called: Temperature Throttle - SoC temperature limit.

Core control does not work with power users and can cause overheating issues

SoC cools the phone down with Core Control disabled.

I have yet to mess with vdd restriction
[X Style (Pure) Android Development] Hitti2:
Thanks a bunch!

I also ticked on the bootup at start to enable. I rebooted everyrhing seems fine.

I checked cpuz after a setttle down, temps are good. 28c, before and after.
[X Style (Pure) Android Development] dirtyhank:
I think I know what happened, when I uploaded the files I accidentally uploaded a version without KCAL first, I uploaded the right ones almost immediately but probably you were quicker than me :)

Sorry
[X Style (Pure) Android Development] dirtyhank:
I use SIO and 1024KB read ahead buffer myself but I've just noticed I had it set via Kernel Auditor and not by default. Honestly I'm not sure which I/O scheduler and RA value are best for general purpose. What do you guys think I should set by default?
[X Style (Pure) Android Development] dirtyhank:
Thanks for the info, I'm going to look into it.
[X Style (Pure) Android Development] WelcomeToTheSkye:
Yep anything I can do to help
[X Style (Pure) Android Development] Cowbell_Guy:
Any chance this could be made into a flash able zip? Might be helpful for those of us without computers
[X Style (Pure) Android Development] dirtyhank:
Sure, but first I got to learn how the Anykernel stuff works so it might take a while.
[X Style (Pure) Android Development] WelcomeToTheSkye:
You can flash it in twrp

1. Reboot into recovery

2. Click install

3. Find the directory where the file saved (usually downloads)

4. In the bottom right hand corner click image

5. Click on boot-xt157(x)

6. Click boot

7. Swipe to flash

8. Reboot into system

Steps 6 and 7 may be flip flopped but you get the idea
[X Style (Pure) Android Development] Cowbell_Guy:
Thanks! Working perfectly!!!
[X Style (Pure) Android Development] BooBzi:
Thanks for KERNEL!

After using v0.3 I noticed battery improvements. There is no more "qpnp_fg_...." kernel wakelocks!

Before that, memacess, update_temp and update_sram was on top of the list but with values of ~30 minutes of wakelocks each.

I suppose thats because of ZRAM disabled!

Will test further!
[X Style (Pure) Android Development] dirtyhank:
Yep, in my experience ZRAM does more harm than good for most users, especially with the pretty aggressive settings used in MM. The 3GB of RAM on this phone are enough unless you're a heavy multitasker.
[X Style (Pure) Android Development] guraki:
Is frandom enabled by default or we should select it somehow???
[X Style (Pure) Android Development] dirtyhank:
It's enabled by default. You don't need to change anything, it should be transparent to the user.
[X Style (Pure) Android Development] vimal_jakmola:
Sir , The Kernel is not working on xt 1572 dual sim indian the Phone not reboot after installation any help.
[X Style (Pure) Android Development] krohme:
Noob question - but how do I simply delete the effects of a script that I've flashed with aroma installer? I find ghostpepper a bit sluggish compared to stock settings
[X Style (Pure) Android Development] dirtyhank:
Apply other script, see the release notes.
[X Style (Pure) Android Development] Th3DaRk_Vampire:
after several days of test, version 0.12 effectively spends more battery than 0.11.1

with my normal use, with version 0.11.1 pulled one hour of screen 10% battery, but with the new version I'm getting 30 minutes of screen 10% battery

I'm using the same scripts that use always try to eliminate variables but actually i feel the new version consumes more battery ... for now I hope it is resolved with an update, but the kernel works swimmingly
[X Style (Pure) Android Development] countryfolk07:
I did also notice this. I've tried the same profiles. There have been zero changes to apps or my phone. Not seeing anything different in BBS. Just seem to get a higher percentage battery drop per hour.
[X Style (Pure) Android Development] note3userr:
What profile are u running. I noticed that on .11 rephyc profile does better than on 12 but ghostpepper is about the same. I would probably say I'm slightly getting better battery on 12 then older
[X Style (Pure) Android Development] Th3DaRk_Vampire:
The same i use always
[X Style (Pure) Android Development] dirtyhank:
Well, I used a slightly different compiler flags for v0.12, that might account for the difference. If you guys agree v0.11 performed better I'll revert the changes for next version.
[X Style (Pure) Android Development] xpakage:
I do not agree with it using more juice. I am traveling for work and have went from Hong Kong to Guangzhou China for 1 day, then back to Hong Kong. It has to search for a signal which can use a lot of juice. I have not seen it using more juice than V11.1. I fly to the U.S. tomorrow and will have more of a "regular" signal that I can make a better judgement call on.

Right now I have 2 hr 55 min of screen time with 65% battery left. Hard to judge from that but I am very happy with 12,
[X Style (Pure) Android Development] wooddale:
I can't believe you guys are getting such good battery without sacrificing performance.
[X Style (Pure) Android Development] xpakage:
I use my phone for talking, email and as a camera. I do not play games or surf the net. I only get 2G for data speed here until I get back to the states. It does not take much tweaking for performance to do email, talk and take pictures.. :D That is why I said my screen time meant very little. Everyone's personal settings and use effects battery life.
[X Style (Pure) Android Development] rehpyc:
Not all phones are created equal, nor are usage patterns, and signal quality can play a huge role with battery life. You'll find large variations of battery life with any phone group on these forums.
[X Style (Pure) Android Development] wooddale:
Thanks for your reply. I tried the kernel a long while back my biggest thing was performance. I'm in a poor signal area and I need all the help I can get. I don't play games but I do a lot of internet.
[X Style (Pure) Android Development] xpakage:
A poor signal will eat battery. Your phone is always trying to look for a signal/better signal. Maybe your carrier will send you a signal booster. Worth asking them! :good:
[X Style (Pure) Android Development] wooddale:
I'm in Verizon and on a network extender o we wouldn't be having this conversation lol. I'm in the North Woods of Wi if I leave my house I'm 1x until I get to Hwy. I know exactly what you mean about searching for Sig happens all the time. Thanks.
[X Style (Pure) Android Development] HikingMoose:
I don't get how people achieve some of the battery life I've seen either. Right now I'm at 68+ hours since I charged (third full day ), but I'm at 28% battery with only 1hr 20 SOT. But I have like 5.5 hours of music playing too, which keeps the phone awake.
[X Style (Pure) Android Development] rehpyc:
You answered your own question of your lower sot vs. others[emoji14]a tip for you.. use a program like setcpu to create screen on/off profiles in order to limit your max freq with the screen off.
[X Style (Pure) Android Development] Naddict:
All of this^^^ And don't forget those memory/network hogging apps too - it depends on what apps folks are using, tons of crap-ware out there that keeps the phone doing things that are not necessary...I am an old lurker here in this thread and many, many others as I have been around XDA for a bit and used to develop stuff for several devices - but enough about me...

It appears there are several very knowledgeable folks in here, I suggest that the folks not be so quick to "complain" about things not being so perfect, or asking for more and more from those who develop stuff, especially this kernel. This site is about development and developers, sooo....take the journey and help, provide input, not request for more and more, lets make what is good better.

Did I hurt someones feelings? Well, then I respectfully suggest, for those who feelings I have hurt, to read the rules and remind themselves as to what XDA is really here for. :cowboy:

And props and thanks to those good people in here who have kept this thread classy and provided constructive input on and towards a great kernel for a great piece of hardware. Especially dirtyhank, you are a class act mate...:good:

Cheers:cool:

Troll out!
[X Style (Pure) Android Development] unitz0mbie:
may we have the script that made u get 8 hours of sot?
[X Style (Pure) Android Development] rehpyc:
Soon soon :) some changes to my governor script and a rather extensive addition to the misc tweaks script.
[X Style (Pure) Android Development] crazyng:
can't agree more.
[X Style (Pure) Android Development] crazyng:
looking forward to it man. great work.thanks
[X Style (Pure) Android Development] kevev:
Does anyone know if speaker phone call volume is adjustable in the kernel or is this a library thing?
[X Style (Pure) Android Development] kadopt:
I think you can edit build.prop for that.
[X Style (Pure) Android Development] kevev:
Never heard of doing it that way. Do you have instructions?
[X Style (Pure) Android Development] Naddict:
There are several free apps that may do what you need, have you tried any of them? Volume boost or something similar may do it.
[X Style (Pure) Android Development] kevev:
Those don't work for call volume. Only for media volume.
[X Style (Pure) Android Development] screech:
With 0.12 + rehpyc scripts .. I am getting almost 50% more battery than what I was getting. But noticed something interesting today. The video camera kept stuttering like crazy, even in the view finder mode.

Anyone else confirm/deny that ?
[X Style (Pure) Android Development] marekmarszal:
Hello. I flashed 12, but I can't change "screen off frequency" for interactive governor. Thx
[X Style (Pure) Android Development] dirtyhank:
I get missed frames occasionally but not to stutter like level. And always in viewfinder mode, once recording is perfectly smooth.

Interestingly Google Camera viewfinder is fine, no missed frames.
[X Style (Pure) Android Development] odin13:
Some phones are more equal than others :)

Verstuurd vanaf mijn XT1575 met Tapatalk
[X Style (Pure) Android Development] krohme:
50% more battery! Yes please :D:D now when u say rehpyc scripts - do u mean the miscellaneous ones from aroma? I can do with more battery. And is it cool to flash rehpyc scripts along with ghostpepper scripts?
[X Style (Pure) Android Development] screech:
Yup the aroma options ..

I could not see ghost pepper or any of the others providing enough difference to make it worth it.

The point about this being a Motorola app issue probably points back to the optimization issues we have seen. Maybe they use some library code which cannot handle higher optimization settings ?

Fwiw I switched the governor's to ondemand .. and things look much smoother. Will see what the battery Delta is.
[X Style (Pure) Android Development] rehpyc:
Need help from 2 people, who haven't really toyed with any of their prop or kernel settings (beyond installing this kernel and trying various scripts)..

1) Someone who's on stock odexed/deoxed, doesn't matter

2) Someone who's on TruPure

Please run THIS with root and PM me the output file i.e. "sh a > settings.txt"
[X Style (Pure) Android Development] lafester:
I don't see an attachment...
[X Style (Pure) Android Development] rehpyc:
Haha sorry.. didn't realize XDA didn't allow me to attach the file. Added link to the post.
[X Style (Pure) Android Development] zohar_ml:
Hi dirtyhank

I had a high constant battery drain for some time now, I did allot of testing and reinstalling (including fastboot-ing all the phone to its stock stat). At the end I found out that it is due to the S2W.

This is very sad as I totally like using the phone this way.

I did two night tests with BBS with the following kernel settings:

300, 1440, 1824, rehpyc, zram, rehpyc_misc

In the second test I also turned on S2W. Other than that there was no change in the phone settings.

The test without S2W used 0.3%/h and the one with it used 2.1%/h (totally not "slight increase in battery drain")

Do other see the same high drain due to the S2W?

I will be more than happy to help you in every possible way to solve this high battery drain.

I saved the full system logs of the test with S2W (json, dmesg, logcat) do you wish me to PM it?

Another problem that I have is the screen turning on at least 3 seconds after a phone call starts. There are times that it takes even longer.

I find myself picking the phone, waiting for the screen to turn on, and when it doesn't, I press the power twice for the screen to turn on. I missed allot of calls due to this.

Zohar
[X Style (Pure) Android Development] ban.codrut:
You can modify anything using apps like Kernel Adiutor. The scripts are located under frankenclark/scripts in your internal memory. You can delete any of them anytime, or add something else. The order on which they are executed is set by the 2 digits number in from of the name of the file, so make sure you have the number.

Inviato dal mio XT1572 utilizzando Tapatalk
[X Style (Pure) Android Development] dirtyhank:
That's weird, I keep S2W always on and usually lose 2-3% overnight (~8 hours) with WiFi and data disabled. Anyway, DT2W/S2W are expected to drain battery, after all the touchpanel is active all the time. And keep in mind this is not a panel designed for it.

Unfortunately there's little I can do about it as there's not much room for improvement, the panel is either on or off :(
[X Style (Pure) Android Development] ffonegod:
I'm experiencing the on screen delay as well.. Screen takes 3 or more seconds to come on when receiving a call or none at all unless pressing the power button