yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] dirtyhank:
Questions for those of you who installed both 100Hz and 300Hz flavors of v0.10: which do you think it performs better? Have you noticed a big difference in terms of battery life between them?
[X Style (Pure) Android Development] Makalicious:
For me personally 300 feels like I'm on a custom ROM, maybe just placebo. However, I don't charge phone overnight. After a day on each version, I saw almost 18% drain overnight on 300 vs 2% drain overnight on 100. For me the performance isn't worth that kind of idle drain, but that's just me.

Edit: I wiped dalvik and cache after reflashing 300 version and only lost 1% overnight, 300 is the way to go for me
[X Style (Pure) Android Development] dirtyhank:
Wow, that's a lot. I typically see a 3-4% loss overnight on the 300Hz version with WiFi/data disabled and S2W enabled.
[X Style (Pure) Android Development] Makalicious:
Weird... Maybe I'll try it again but wipe dalvik/cache after flashing. I used same settings so not sure what else it could be. Is there settle time involved? I only used it one day.
[X Style (Pure) Android Development] dirtyhank:
Could be some background task went rogue that particular day. Try for a couple of days and maybe disable data overnight just to make sure.
[X Style (Pure) Android Development] fdc77:
In my opinion 300hz is the way to go, i can reach 5h SOT on 36h of usage and 3/4% loss overnight with wifi on (i don't use dd2w or s2w) and system seems a little more smooth.

P.s

i'm using script for nexus5x (eclipseR2,butterfly) init.d work perfectly, thanks
[X Style (Pure) Android Development] countryfolk07:
I still get marginally better battery on 100 than 300, for me, enough of a difference I have to bump charge in the evening on 300. It does seem more fluid though, albeit minimally. I use BBS to monitor apps. I have no rogue background processes other than the usual Google NLPWake that I have no matter what. Still happy either way though.
[X Style (Pure) Android Development] HikingMoose:
I'm on 0.10 100hz and I still have annoying battery drain. I think more than the 300 versions. I'm installing BBS after I type this, but I don't think it's a rogue app. I might try older versions to see how they perform.
[X Style (Pure) Android Development] jason2678:
300Hz is the smoothest this phone has felt on stock roms for me. Since you upped the zram and swappiness along with the 300Hz kernels the occasional graphical hiccups have pretty much vanished. Battery life might be a slightly better on 100Hz, but for my usage the difference isn't all that noticable.

I ditched xposed recently too. I was only using gravitybox, but it seems like that helped.
[X Style (Pure) Android Development] Mohannad-K:
Hello

Noob question.. Is there any related between kernel and camera Foucus ...I'm not sure and maybe after install this kernel v.09 I face some issue with camera auto focus ...it's not like before when I'm on stock kernel now it's took long time to focus

Sorry if I'm wrong maybe another issue not kernel issue

Just help if u can
[X Style (Pure) Android Development] HikingMoose:
That has been discussed quite a bit a few pages back. I can't remember what they figured out, but I know one or two people that had issues with weird things like that rectified it by re-flashing the kernel and wiping cache and dalvik cache.
[X Style (Pure) Android Development] Mohannad-K:
Thanks

Is there way to back to stock kernel ? From where can I download it ?

Moto x Pure

MM 6.0 Stock ROM with Feb Update
[X Style (Pure) Android Development] HikingMoose:
Do you have a nandroid backup on your phone from before you flashed frankeclark? You can restore your kernel that way.
[X Style (Pure) Android Development] screech:
V .10 fixed things for me
[X Style (Pure) Android Development] Mohannad-K:
I tried v 0.10 same issue ...I return to stock kernel and it's big big difference in camera quality and focus ...poor camera with this kernel

I hop this will be fixed next update
[X Style (Pure) Android Development] gpz1100:
Those having issues please state details:

Device model #: xt_____

Software version, ________

Camera version ________

Specific conditions when issue is preset.

I don't see how the dev can troubleshoot if there's no details.
[X Style (Pure) Android Development] zeeebs:
Camera is exactly the same for me as stock on .10
[X Style (Pure) Android Development] TGiFallen:
Thanks for the work Dirtyhank, I've been using your kernel for a few days through the PureXMM Rom. I see you've updated it recently and I'd like to update my kernel to the new version. Since I have absolutely no knowledge of how to do this with android (I've compiled and installed custom kernels for regular x86 linux), is there a good guide or wiki which you would suggest?

I need to learn things like how to get a root command line on my phone (I'm guessing through adb). I'd also like to figure out how to use those profiles your heading in the OP talks about, do I have to set those settings and then compile the kernel with them? or is there an app I need to configure them?

Thanks in advance for your patience :)
[X Style (Pure) Android Development] dirtyhank:
Unfortunately there's not a single tutorial that covers everything thoroughly, you'll probably have to read quite a few. I suggest you start watching some Youtube tutorials and try to understand each step.

But if you don't know how to get a root shell you should start there first. And yes, adb can get you a root shell... if you're rooted ;)
[X Style (Pure) Android Development] dirtyhank:
Guys, unless you can provide a way to reproduce the issue it's impossible for me to investigate. I've tried several settings and apps and all focus and take pictures just fine.
[X Style (Pure) Android Development] rehpyc:
Ended up trying out .10 100hz version, since the 300hz of .9 seemed to have some extra background battery drain to it. Results so far: 4hr 8m SOT over 50% and 21.5 hrs off the charger (screenshots attached). Seems in line with results I'd get with .6, though the default adjustments dirtyhank did with enabling zram and setting swappiness to 60, and any other tweaks he's done since .6, has made things pretty fluid.

EX Kernel Manager settings:

CPU

Max CPU freq: 1440 MHz

Min CPU freq: 302 Mhz

Max CPU freq (Cluster 2): 1958 Mhz

Min CPU freq (Cluster 2): 302 MHz

CPU Governor: ondemand

CPU Governor (Cluster 2): interactive

CPU Boost: default settings, which I think should include 960 Mhz for 0 and 302 Mhz for 2-4

Graphics

Max GPU frequency: 450 MHz

Min GPU frequency: 180 Mhz

GPU governor: simple_ondemand

Gestures

Both turned off

Miscellaneous

I/O scheduler: noop

Readahead kb: 1024

fsync: Enabled

zRAM: Enabled

Swappiness: 60

KSM stuff left at default

TCP congestion algorithm: westwood

* Force GPU rendering and Disable HW overlays are both set to off under Android developer settings

EX Kernel Manager doesn't seem to have options for hotplugging and thermal controls.. so I'm assuming they are whatever .10 uses as default. I'll probably install KA to adjust kernel settings, if it doesn't have issues with settings sticking on reboot.
[X Style (Pure) Android Development] TGiFallen:
Yeah I am rooted (I have TruePureXMM and your kernel installed :) ), I'm in this weird place of being technically capable (run my own servers, screw around with storage arrays and networking stuff, program in a few languages) but having no android specific knowledge, I follow steps well and would much rather prefer to read paragraphs over watch YouTube videos. I guess I keep hoping to stumble upon an Arch Wiki but for Android, that would be sweet.

I should probably change my android search patterns, my current google queries keep giving me a lot of clickbait-ey "android news websites". Are there any particular search terms you'd end up using?

btw, i got it , "adb shell" and then i can get my a super user shell with good ole "su" or just "adb root" (assuming your kernel allows it).
[X Style (Pure) Android Development] dirtyhank:
Start with these, not up to date (versions wise) but still pretty much the same process:

http://softwarebakery.com/building-the-android-kernel-on-linux

http://xdaforums.com/android/software/ultimate-guide-compile-android-kernel-t2871276

UPDATE: You'll find some particularities for this device in the Motorola README
[X Style (Pure) Android Development] TGiFallen:
Wow, thank you sir!

I really appreciate you going out of your way to find this information for me, the entry level learning curve with Android (well, any sufficiently developed, complex platform) can be really overwhelming if you don't even know where to start looking, I'm sure you know, you had to go through it once too :) . and google results are seemingly full of crap.

anyways, thanks again, I look forward to asking far more technical questions, and hopefully even contributing someday...
[X Style (Pure) Android Development] TASL:
Device model #: xt1575

Software version: Feb Security Patch 6.0 and Asia DS 6.0.1

Camera version: 5.1.13.14

Like I mentioned in a previous post, it is impossible (for me) to tell exactly WHEN the problem happens - just sometime after flashing Franken. I ran into this problem on 6.0 and 6.0.1, in the case of 6.0 going back to stock kernel solved the problem. On 6.0.1, I needed Franken to get WiFi working - which when I discovered that flashing 0.8 and then the latest kernel solved the focus issue.

At first I thought it was the cache/dalvic wipe that solved the problem, but through trial and error I found that flashing 0.8, booting up, then booting to recovery and flashing 0.10 resolved the problem. 2 days now, camera still focusing correctly.
[X Style (Pure) Android Development] tuxing:
Tried frankenkernel 0.9 , 0.10-100mhz and 300mhz on Indian dual sim xt1572 running 6.0.1 stock ROM from here http://xdaforums.com/showthread.php?t=3346327.

Wifi was not working on all frankenkernel versions. Wifi Mac address appeared changed.

The 6.0.1 stock rom version was rooted with systemless root. Had flashed the full contents of 6.0.1 stock ROM zip including updated bootloader version A0.4a.

Any suggestions for getting wifi working?

Thanks dirtyhank for the great kernel.
[X Style (Pure) Android Development] Note 3 Chicago:
I have no camera problems either, for what it's worth.
[X Style (Pure) Android Development] shinesthru:
Did you flash the modem? That's probably your best bet.
[X Style (Pure) Android Development] aznflawless:
how does this script thing from the Nexus 5x thing work? and what exactly does it do?
[X Style (Pure) Android Development] tuxing:
Thanks shinesthru for the reply.

i had reflashed the modem, it didn't help with wifi.

thanks
[X Style (Pure) Android Development] dirtyhank:
It won't, it's the WiFi module that's not loading (or any other module for that matter). You'll have to wait until I have time to flash that leak and take a look ;)
[X Style (Pure) Android Development] rehpyc:
Final result.. 7hrs SOT w/ 1d 19h off the charge. Probably could have done better, if it wasn't for the ****ty reception half the time :(

Kernel settings found HERE
[X Style (Pure) Android Development] dirtyhank:
Not too shabby
[X Style (Pure) Android Development] rehpyc:
Not at all. Thanks for the solid kernel :good::good::good:

Flashed the 300hz version and am giving it a shot. v9 300hz didn't seem to play as nice last time.. had some background battery drain to it that I didn't care to figure out, but will see how v10 goes!
[X Style (Pure) Android Development] fdc77:
hi, script change some parameter in the governor to make phone more responsive but at the same time battery can benefit from it or no , depend from user usage, in my case i obtain better battery life +/- 5,30H SOT

srcipt can be found here, http://xdaforums.com/showpost.php?p=64645746&postcount=900 (in download page select terminal script)

before you instal a script, make a nandroid and check which governor it use, some scripts use governor or scheduler not present in frankenclark
[X Style (Pure) Android Development] HikingMoose:
You should try that again. I don't see how you can get almost double what the rest of us get. Unless it was a fluke like the time I got 8 hrs SOT with PureNexus. I only got 3 hrs SOT each charge. Then one day, it just stopped draining, and I had 2.5 days and 8 hrs of screen on. Left everything the same , charged her up, and the next morning woke up to 84% again after no use.

It was some kind of miracle.

---------- Post added at 07:55 AM ---------- Previous post was at 07:53 AM ----------

Oh, and your reception looks great, so maybe that helps. It was half green! We can't get that in Maine, yellow is good up here. Orange is normal.
[X Style (Pure) Android Development] guile50:
So I'm getting these nasty kernel wakelocks... Keeping my phone alive way too much, yesterday I got 2.5h sot over one day, things are getting nuts here. Is there anyway I can debug this? Really want those to stop :/ I don't got too many syncs, no Facebook... And my wake time is more than two hours.
[X Style (Pure) Android Development] dirtyhank:
Block the wlan_wow_wl and see what happens.
[X Style (Pure) Android Development] guile50:
I'm already blocking every one of those you permitted to block, but this one is not there. Is there any other way I can do this? (sorry, I'm not that into wakelock blocking)
[X Style (Pure) Android Development] dirtyhank:
You can block that too but not from Kernel Adiutor. Read the release notes for v0.10. Here's the full list of sysfs nodes to control WL:

enable_bluedroid_timer_ws
enable_wlan_ipa_ws
enable_wlan_wow_wl_ws
enable_ipa_ws
enable_wlan_rx_wake_ws
enable_wlan_ctrl_wake_ws
enable_wlan_wake_ws
[X Style (Pure) Android Development] guile50:
Typed that on terminal emulator with root permissions (that echo line) , got no errors, I did it right? Let's see if it works.
[X Style (Pure) Android Development] dirtyhank:
If you run "cat name_of_the_file" you should get a N for disabled, Y for enabled. Use the list I posted to know which filename to use for each WL.

Let us know how it works for you. I don't get excessive WL so it's hard for me to test.
[X Style (Pure) Android Development] guile50:
Thanks hank. Thou art disabled, wakelock. I will run some tests today to see if it still keeps my phone awake. Or side effects.
[X Style (Pure) Android Development] rehpyc:
No fluke. It's what I can typically get as far as SOT goes.. have gotten 6.5-6.75hrs SOT many times. The only difference has typically been how long of standby I can get, which is dictated on if I test on days that I work or not (I rarely have 2 days off consecutively, and at work is where I get that terrible reception). Attached are 2 other screenshots - one shows me even going over 2 days without a charge and the same SOT! It really comes down to reception, since it's a huge drainer. With terrible reception at work (orange), I think I've found that I only get around 1hr SOT for every 25% battery after 8 hours, so that's why if you don't live somewhere where you get good reception (light or dark green), you'll never get as good of SOT.

We'll see how .10 300hz fares.
[X Style (Pure) Android Development] HikingMoose:
Yeah, we rarely see green here lol. Yellow and orange and most common. I went back to the stock kernel and seem to actually be doing a little better and it's a little smoother. Here's what I'm at now.
[X Style (Pure) Android Development] rsmiff:
This is running great on TruPureX. Everything is so smooth. Thank you!!
[X Style (Pure) Android Development] cerobles1:
V.02 works good. The only thing missing is hotplugging. Since I have no way to turn off cores. Running 5 cores is overkill IMO. running 3cores on and three cores off is way better for battery life. Anyone figure this out? Share an app, or any way to do it please.
[X Style (Pure) Android Development] CJ-Wylde:
I'm not having any issues with battery life on v.02 but would love a way to optimize the battery even more with your suggestion since I don't play games on my phone.
[X Style (Pure) Android Development] guraki:
Battery life is already outstanding without any drop of performance!!!!
[X Style (Pure) Android Development] cerobles1:
---------- Post added at 03:06 PM ---------- Previous post was at 03:05 PM ----------

I never said the battery life was awful or at any point complained about battery life. I only meant it would be nice to have more options. If I do not play games, or watch any movies or onl y txt a few txts a day then I really do not need all six cores on running at full speed. that's what I mean. Squeezing more battery at of a already good battery life.
[X Style (Pure) Android Development] CJ-Wylde:
I'm with you 100% on that. Same here, I rarely watch a YouTube video or something and that's about it. I use mine for music, messaging with SMS & Hangouts, some TapaTalking, checking the weather, basic Google apps, Book / Comic reading... nothing over the top and reduced CPUs I think would open up more battery life for us nonGamers.
[X Style (Pure) Android Development] WelcomeToTheSkye:
I could be an odd case but I'm experiencing heating issues my phone runs so much hotter then it did on VadimTK's

---------- Post added at 10:29 PM ---------- Previous post was at 10:28 PM ----------

Use kernal auditer and limit the maximum and lower the minimum and there you go
[X Style (Pure) Android Development] dirtyhank:
Probably due to overclocking, does it happen if you limit the max frequency to stock?
[X Style (Pure) Android Development] quierotacobell:
I tried doing that but it only allows the frequencies to be set for all cores (either big or little), not individual cores.
[X Style (Pure) Android Development] WelcomeToTheSkye:
I have my minimum set to 302 and Max to 1824 and I experience the heating issues
[X Style (Pure) Android Development] Grafidio:
This kernels pretty insane!

Only things that would make it better imo

-double tap to wake :D

-screen colour calibration feature (its in vadims one)

Just suggestions, good work OP! peace
[X Style (Pure) Android Development] patt2k:
I just realized after updating to V2 it set to 2GHZ overclock and I did not even see one instance of phone being too hot but I put it down to 1.8GHZ anyway for slightly better battery.:good:
[X Style (Pure) Android Development] dirtyhank:
That's odd, I honestly haven't experienced any heating issues even overclocked, if anything my phone runs cooler. But my usage pattern is pretty lightweight anyway.
[X Style (Pure) Android Development] Sheetzie03:
Your minimum is set to 302? How's that? I cant go lower the 382, Can anyone else set to 302?

Tknx
[X Style (Pure) Android Development] dirtyhank:
Use Kernel Auditor, CPU section. Then click on the CPU minimum frequency for each cluster.
[X Style (Pure) Android Development] Grafidio:
Whenever I change the frequencies they always seem to change back to the original. Any idea on how to avoid this?
[X Style (Pure) Android Development] Sheetzie03:
Yeah I figured out why, I was still on test v1, I just dl'd and flashed v2 and 302 is there

Thanks for reply

P.s. I know you said this was a personal project and you later decided to share, I want to thank you. Great job. Seems a lot of people are happy with your work. Very good!

---------- Post added at 05:30 AM ---------- Previous post was at 05:29 AM ----------

I'm sure you have apply on boot right
[X Style (Pure) Android Development] Grafidio:
No, I'll put that on now :') cheers
[X Style (Pure) Android Development] WelcomeToTheSkye:
I realized my problem was something stupid I abide newly had my small cores set to min&max 302 with set at boot enabled???????? my derp
[X Style (Pure) Android Development] sbcrumb:
Will v2 work on truepure?
[X Style (Pure) Android Development] rehpyc:
Ya, that amount of orange is not helping lol. Under battery stats, how much mAh does it say your screen has used vs. how much standby has used?
[X Style (Pure) Android Development] gpz1100:
Cluster 2 is the 2 core 1.8Ghz cluster?

I've got a really good baseline now with .9ß. Wake time is pretty good but drain during sleep could be better. Going to try the .10 this weekend.
[X Style (Pure) Android Development] guile50:
Just sharing that the wakelock thing worked, guys. At least for me I was having a huge drain by wlan wow wl (more than 2h active time alone), so thanks to hank I've disabled it and got back my beautiful standby time. Not so beautiful because I've got some syncs I can't remove because of my job, but way better than before.

This is my best result since I've installed trupure 2.7 and frankenclark v10-300. I can't compare to the guys that make 6, 7h sot on two days because my reception is plain garbage. Just look at it, it completely drains my battery, yesterday I've got 2h sot, bad reception drained it all.

.
[X Style (Pure) Android Development] dirtyhank:
Cool. Have you noticed any side effects when WiFi wakelocks are disabled? Like delayed notifications.
[X Style (Pure) Android Development] dirtyhank:
Stock kernel smoother than the v0.10 300Hz? The other day, just for fun, I went back to stock for a while and found it pretty jerky.
[X Style (Pure) Android Development] rehpyc:
Correct
[X Style (Pure) Android Development] fdc77:
i have noticed that scripts won't be load at boot if device is booted from twrp, it is a normal beavior? just to know, not a big problem .
[X Style (Pure) Android Development] dirtyhank:
Weird, I'll look into it.
[X Style (Pure) Android Development] HikingMoose:
I wasn't knocking your kernel. I can't even remember if I'm on bone stock kernel or modified. I'm using the rooted - odexed flashable zip, that has some things added. So it may have a modified kernel already. I'm just fed up with this phone in general lol, nothing runs well on this thing. It seems smoother with the stock kernel at some things, and somethings are smoother with the custom kernel.

I'm considering going back to stock LP and taking the updates, and starting over. Then I could know for sure if frankenclark helps my particular phone or not. I may have some errors and things building up at this point, and might need to start over from scratch.

About the 100 - 300 debate. I couldn't detect any difference in battery life, but the 300 seemed smoother to me.
[X Style (Pure) Android Development] dirtyhank:
I understand your feeling but honestly I'm pretty happy with the performance of the device with the 300hz kernel. Battery could be better but it's good enough for my usage pattern.

It's true I don't have that many apps installed and I try to keep background sync at a minimum so the experience for heavier users can be quite different.
[X Style (Pure) Android Development] guile50:
No man. I mean, on the background everything sounded okay, and when the phone is active, no problem either. I just got some random freezes but idk if that had anything to do with the wakelocks. I flashed trupure 2.8 with stock kernel just to see if this is frankenclark related and guess what, the wakelock is here. I'll share the info on the trupure forum. Just for info, here's the screenshot of my sleep time. Notice how the partial wakelocks are minimal, and the kernel ones are are a real pain. (currently on stock kernel, will go back to frankenclark at night)
[X Style (Pure) Android Development] HikingMoose:
I am not a power user myself. I try to keep things as clean as possible, for smoothness and battery life. My biggest pet peeve is scrolling stutters/jitters. The tapatalk app is the biggest offender, and always has been for me on all devices. That and scrolling through my apps within TiBu are my two benchmarks for performance. Some ROMs or kernels can improve those, but then stutter in other areas (like ui lag, settings etc). Some times I have no lag anywhere but those two apps. lol. It's odd I can't smooth them all out at once.

Your kernel is very feature rich, and very welcomed. You do great work. I should have got a Nexus, but really wanted to keep my sd card.