yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Themes and Apps] existz:
Honestly, probably not. All of this is actually read from a file in the kernel (time_in_state). So the kernel itself would need to support time_in_state on each core. As far as I know there's no way to mimic this. It's a kernel limitation. Granted there may be some custom kernels that does this (or even newer version of Linux kernel), but everyone would need to be running one of these kernels for it to work.

If there is a kernel patch out there for this, I'd gladly support it in the app. But everyone would need to request their local kernel devs to add the patch for it to work. Again, I haven't seen this, and its not supported on the current kernel I'm running, but I'll dig through some newer Linux kernels to see if its been done.
[Nexus 5 Themes and Apps] s3icc0:
good thanks for answer and explanation - i did not know. But definitelly i am going to ask my kernel dev :) stay tunned :)
[Nexus 5 Themes and Apps] existz:
UPDATE

3.0-BETA4

* Add Material Ripple library (KitKat)

* Updated internal 3rd party libraries

* Animate About cardview sliding up

* Adjust padding for welcome cardview

* Add donate to settings overflow menu

* Kernel version should use singleLine

* Add custom Typeface for ActionBar title

* Revert back to using CheckBoxPreference

* Add colored navigation bar and dark theme

* Disable cpu monitoring when app is paused

DOWNLOAD: The APK is attatched on the first page

NOTE:

I had an issue where on first launch it would show dark cards on the light theme. This happened on my KitKat test device but I was unable to recreate the issue (it never happened on Lollipop). So if you experience this please let me know so I can dig deeper and figure out whats causing it. If all seems good then ill upload to Amazon App Store.

Also, I noticed an issue in the Info page with some of the alignment of kernel governor and version..etc, if the kernel governor is really short or really long, its not centered with the rest of the text. I will be fixing this in BETA5, along with adding a new layout for large devices (tablets/TVs).
[Nexus 5 Themes and Apps] :
Perfect on CM11 Kitkat, thank a lot! :good:
[Nexus 5 Themes and Apps] Isley_:
Wohoo, thanks!

Sent from the 4th Reich
[Nexus 5 Themes and Apps] atomomega:
Just keeps getting better and better!

BTW, it'd be good to identify each CPU with it's number above the current speed respectively. I know it's kind of obvious but it feels kind of empty to me. It's just a small suggestion though.
[Nexus 5 Themes and Apps] existz:
Ill try a few things out and see what it looks like. Ill have to fix a few things to keep the CPU number centered above its frequency (for example when it jumps from 300Mhz to 1728Mhz, it will become off-centered).. Ill also have to keep in mind when theres only 1 core, 2 cores or 4 cores, so it will be tricky, if I can get it to work. But if i can get it working and it doesnt look cramped (Ill have to increase the height of the toolbar some), I may add it. But as you said, its pretty obvious what's what, so I've never worried about it.
[Nexus 5 Themes and Apps] existz:
I've already made some improvements for the next beta. When I made the dark theme I had to use images for both light and dark themes. This aggravated me but I've now made it where it will color the drawables depending on which theme is enabled (via setColorFilter) allowing me to use only one image instead of 2 (there's probably 30+ images total). So this should cut down on the file size, and possibly save a little ram usage. This was always possible with Lollipop but the support lib didn't support KitKat, but by using the older setColorFilter it should work on both. I don't know why I didnt figure this out to start with, but I'm happy and figured I'd share lol. BETA5 should include quite a bit of code improvements.
[Nexus 5 Themes and Apps] simono_pl:
Looks and works good on my Z3C with stock Lollipop and on SGS3 with CM12.1

Sent from my Z3 Compact
[Nexus 5 Themes and Apps] :
[MENTION=1333660]existz[/MENTION], just two minor issues: when you open app a light screen appears even with the dark theme so it will be nice to adjust it. Slide up animation in the main screen is a bit slow, I would like to have the same speed that in about tab.

Ignor this post if is already done :)
[Nexus 5 Themes and Apps] existz:
As for #1 there's not much I can do about this. This happens because there must be a default theme defined in the AndroidManifest.xml (which is the light theme), so when you open the app the dark theme isn't enabled until after this is initiated. The light theme is the main/base theme for the app, and the dark theme is basically changed at runtime (after the main theme is initiated). So there's really nothing that can be done, it happens with most apps that let you choose themes AFAIK. It also does the same thing with colored nav bar, if you watch closely its the default black for a second, then turns blue. Where Android doesnt actually support "theme changing" officially, all of this has to be done after the app is initiated.
[Nexus 5 Themes and Apps] dlsolo:
For your great work CONF # 5PY2252594007840K

Thanks again.
[Nexus 5 Themes and Apps] existz:
I also want to point out, it you're using an ad blocker you will need to whitelist *.crashlytics.com for automatic bug and crash reporting to work. So if you have an ad blocker please add this so I'm able to receive crash reports. It makes it easier to fix bugs when they pop up, as I receive them automatically and you don't have to capture the crash via logcat..etc. Which you can always disable this at a later time if need be via Settings. But it won't work regardless if its enabled or not if its not whitelisted.

PS, there's no ads in the app, but for some reason crashlytics is listed on most major ad blockers. Info about the service can be found at crashlytics.com if you have any concerns.
[Nexus 5 Themes and Apps] existz:
It looks like I was wrong about this. After some digging it looks like this already available in the kernel. It is named overall_time_in_state. This shows the time in state for each frequency on each core. Now, the hard part will be getting it to display correctly and actually understandable. So let me see what I can do and try to design a good, easy to read layout for this. This will probably take me some time to do, it looks like a big task. But it is do-able and already in the kernel (at least on the one I'm running. Its possible this file may not be in older kernels, so I'll have to test this)
[Nexus 5 Themes and Apps] s3icc0:
you are great man :) where is the file located so I can check on my device?
[Nexus 5 Themes and Apps] existz:
It can be found here.. /sys/devices/system/cpu/cpufreq/overall_stats/overall_time_in_state
[Nexus 5 Themes and Apps] s3icc0:
:( not for my kernel

i will ask my dev
[Nexus 5 Themes and Apps] FernandoMiguel:
OP are there plans to push code to github?
[Nexus 5 Themes and Apps] existz:
I done a few quick searches and it looks like these are the patches needed for overall_stats.. He should be able to just add these...

https://github.com/suribi/Thunder-Kernel/commits/master/kernel/drivers/cpufreq/cpufreq_stats.c

Yea, I'll be pushing the new changes soon.

A little info on this topic..I'm looking into close sourcing this app due to various reasons. But I'll have to remove all the GNU GPL parts from the original (about 75% of the app is all new code from me, just need to replace the other 25%). But until then I'll continue to update github. I hate close sourcing it but all my request have gone unnoticed (for devs to remove/update the bug reporting ID so I don't get bug reports for their version of the app, other devs stripping out all the credits and claiming it as their own..etc).
[Nexus 5 Themes and Apps] FernandoMiguel:
so forking, like you did from the original code?

not trying to rant, just stating
[Nexus 5 Themes and Apps] existz:
I have no problem with forking/posting their own version, it was the removing of my info/credits and the original developers credits from the About section, and then claiming they created the app (this has happened twice) while posting on Play Store. If the source is used then all my information, along with the original devs needs to be mentioned (just like I did in the About section).

But I just have a little bit of code left and there won't be any from the original left, then I'll be able to close source it.

Giving proper credit is required under GPL, it is their responsibility to leave this information if they want to use the code. They were under violation, and my request were repeatedly ignored. It wasn't like I just forked the code, make small changes and posted it as my own. This source has had a total overhaul, along with tons of new features and improvements by me. These other devs literally changed the apps color, stripped the credits and claimed they created it.

I've been developing for Android since Eclair, and every single project I've done has been opened source. This will be my first closed source project.
[Nexus 5 Themes and Apps] existz:
I've updated the 2nd post with a few new TODO listings. If I'm forgetting something let me know. Also, I had to resubmit the update to Amazon App Store, so for those waiting hopefully it will be active soon. For some reason it set the release date back to last month so the review didn't go through. Hopefully it will be up by tomorrow (I don't know how quick their review process is).

EDIT:

BETA4 is now live on Amazon, sorry the delay.
[Nexus 5 Themes and Apps] existz:
[MENTION=1964574]FernandoMiguel[/MENTION] and others..

Source for BETA4 has been updated on Github. If anyone uses the source please leave the credits in About section (you may add to it but don't remove). This is in compliance with GNU GPL license. Also please remove or update the bug reporting ID to your own, otherwise I'll get bug reports for your app. You can find info at crashlytics.com for setting up your account.

But I'd advise to wait for BETA5, there will be tons of fixes to theme changing/dark theme, memory optimizations and new/updated layouts. Quite a bit will change by then.
[Nexus 5 Themes and Apps] existz:
I may release an update shortly, its not really a hotfix update but it's an important one. I've made quite a bit of changes to theme changing, memory optimizations, and tons of code cleanup. So I need to get this out to make sure there's no new problems before I continue. My goal is to reduce memory usage down another 5-10mb. For those with tablets/TVs, I still haven't got the new layout fixed yet. Its going to take me some time to get it right, I haven't been able to make a layout I'm happy with. So I still need more time for trial and error.

I'll probably post the new update tomorrow, I want to make sure nothing new pops up on my end. But when I do post it, please update to it..the more users running it, the more likely it is for bugs to be found.
[Nexus 5 Themes and Apps] existz:
UPDATE

v3.0-BETA5

- Fix memory leak when setting typeface

- Updated internal 3rd party libraries

- Removed deprecated getDrawable

- Revert using webview for dialogs

- Simplify getting/setting cpu freqs

- Decrease card animation duration

- Random code cleanup and fixes

- Improve reading of states file

- Improve reading cpu information

- Improve theme changing and dark theme

- Simplify checking which views to show

DOWNLOAD: Attatched on first page

Im still working on Tablet/TV layouts. I havent been able to get a layout im happy with, so im going to need more time to trial and error to get it right.

Also, source has been updated on Github for BETA5.
[Nexus 5 Themes and Apps] Isley_:
Thanks!

Sent from the 4th Reich
[Nexus 5 Themes and Apps] existz:
In the next release I'm hoping to introduce new tablet/TV layouts, along with the option to hide states below a certain percentage. Both will be big tasks, so it may take me a little while. I'll also try and get the next release up on the Play Store (donate version). After that I'll work on making a widget for resetting timers, including a color chooser, and a few other things. So there's much more to come!

Also I want to warn you, its NBA playoff time, so some of my free time will be occupied, ;)
[Nexus 5 Themes and Apps] existz:
WARNING

For those of you who downloaded through Amazon App Store please read this.

After I upload the apk to Amazon's developer console they modify the binary with their analytics and other stuff (there isn't much info given on this subject, but I originally trusted Amazon). I've had a user report that the apk triggered a malware warning (although it was just marked as suspicious, I don't think it was full blown marked as malware). So whatever they do when modifying the binary caused this to trigger and I have no idea what it is. I've also received crash reports from users who only downloaded from their app store (the error was due to crashes in activities named amazon.*) So whatever they modify is causing this crash also. So far I have been less impressed with their service, and will discontinue posting there once I put the app on the Play Store. Its just becoming too unstable for me. Until then I recommend uninstalling, and re-install the apk from this thread (and only update the app from updates in this thread). I don't think its really anything to worry about, I don't see Amazon pushing malware but I've been wrong before. So just to be safe use the apk from here as I know its untouched and the exact version I'm running.

Although I will leave it up on Amazon app store until it's proven to be dangerous or intrusive. This is more of a warning to be better safe than sorry, and also that if you experience crashes, it may do to their modifications and something I'm unable to fix..so try the version posted here.

Lastly, the source code is up to date on Github (link in OP and in the apps About section), so you can see nothing malicious is being done on my end.
[Nexus 5 Themes and Apps] miloytyn:
I hope that you also include the beta versions in Play Store by using the beta functionality as updating multiple devices would be easier that way.
[Nexus 5 Themes and Apps] savvy1968:
Which version can I use im on the S3mini GT-I8190?
[Nexus 5 Themes and Apps] existz:
v3.0-BETA5 is the latest.
[Nexus 5 Themes and Apps] savvy1968:
Error

It doesnt matter which one i dload when i try to install i get the error:

there is a problem parsing the package

looks like im stuck with v 0.4.0

Thanks anyway.
[Nexus 5 Themes and Apps] existz:
What version of android are you using? This is only for KitKat and Lollipop.
[Nexus 5 Themes and Apps] savvy1968:
Thats why then ..im on jb 4.1.2
[Nexus 5 Themes and Apps] SilkyJohnson:
Time to upgrade phones, homie.
[Nexus 5 Themes and Apps] savvy1968:
i cant afford to yet and i love this thing now so ill just have to keep this for now.
[Nexus 5 Themes and Apps] existz:
A few things to look for in the next release. I've added CPU temp monitoring in the Info page. Also I added shake to refresh. The reason for this is because auto refresh has been buggy and I may end up ditching it. Although I've made improvements in the last release, I still need to see if there's any new crash reports before I decide. So I figured I'd add this so those that use auto refresh can try it out and see if it fits their needs, and if its preferred over auto refresh. I may add a dialog on first shake that asks if you want it enabled or not. This way you don't have to scroll all the way back up top to pull to refresh, just to see something updated on the bottom.

Also, I've yet to come up with a layout for tablets that I'm happy with. I'm starting to think this app is just one of those that doesn't look good in landscape mode. So I may just end up forcing it to use portrait only. It's been hard keeping the progress bar alignment within material guidelines, while not having them stretch all the way across the screen.
[Nexus 5 Themes and Apps] miloytyn:
I would prefer that landscape look bit bad than forcing to use portrait as needing to rotate tablet is more annoying in my opinion.
[Nexus 5 Themes and Apps] existz:
As of right now it does not follow guidelines on tablets, it uses the phone layout (ie.. 16dp margins). What I can do is just make a layout for tablets, and use the correct margins (its either 56dp or 96dp, I can't remember, but I'll look). That will help some, but it will still be stretched out. Its just hard to do because of all the progress bars in a row, if it was just one or two, or something it wouldn't be hard designing a layout. But where there's so many lines in a row, its hard to get it looking good while staying within guidelines. But I'll try that first before forcing portrait mode, and if everyone is happy I'll keep it so it rotates.

I may have to do away with full length cards though, and have padding on the sides of the cards. That was one of my problems, keeping it consistent where there wasn't full length cards one way, and then padded cards another. All while keeping the tablet layout from being a completely different look than the phone version.
[Nexus 5 Themes and Apps] KentuckyGuy447:
Hi, been using you app for awhile to monitor my CPU's governor and to check if its been going into deep sleep, I really like the app! Just a suggestion but could you add stats to monitor the CPU's temperatures? Thanks and would really like to see that feature!

EDIT: Just seen you adding that! Thanks!
[Nexus 5 Themes and Apps] existz:
Yep, will be in next release! So you from KY? I live there myself, don't see many Kentuckians around here lol.
[Nexus 5 Themes and Apps] KentuckyGuy447:
Sure do! Nice to see a fellow Kentuckian lol! What part of the state are you from?
[Nexus 5 Themes and Apps] existz:
Eastern part, close to Morehead (near OH/WV borders). What about you?
[Nexus 5 Themes and Apps] KentuckyGuy447:
Southeastern region just above the TN/WV border. Bell County specifically.
[Nexus 5 Themes and Apps] skivnit:
Great app been using it on all my phones however when installed it on my S6E seems it doesn't show frequencies above 1500. Maybe you can add the new SoC?

Sent from my SM-G925F
[Nexus 5 Themes and Apps] lucky_515:
I know this is nexus apps thread..but can I use this on my note 4 on any custom roms...or is this only for nexus devices only. .and thanks for the work. .the app sounds amazing
[Nexus 5 Themes and Apps] SilkyJohnson:
Yes you can use it.
[Nexus 5 Themes and Apps] creeve4:
Have you considered an option to hide the deep sleep statistic? I like to be able to disable it.
[Nexus 5 Themes and Apps] SilkyJohnson:
I'd say you're in the .001% of feature requests, friend. I'd say the majority of people who search for these apps are looking to track deep sleep, or lack thereof.
[Nexus 5 Themes and Apps] Enhanced:
Indeed.

It would be awesome if the app could tell you when your device stops going into deep sleep too.
[Nexus 5 Themes and Apps] existz:
That may be possible. Have a notification popup when the device does not enter deep sleep when screen is off after a period of time. But there would be quite a few factors to take in account when screen is off...ie, if its playing music..etc. Let me think on this for awhile and see if I can figure it out.
[Nexus 5 Themes and Apps] existz:
Let me look into it. I'm hoping Genymotion has a S6 emulator so I can debug it properly. It will be a little hard figuring out the problem without the actual device handy.
[Nexus 5 Themes and Apps] existz:
New feature added for the next beta ;)

https://plus.google.com/+RobBeane/posts/SUsrTTTrdCM
[Nexus 5 Themes and Apps] lucky_515:
Does it play nice with other apps that may include samethings..for example im running note4 arcadia kitkat with biotech kernal useing infamoues kernal app for tweaking...as long as I dont mes with cpu on both apps shoild be ok..im sure its just trial and error realky.ive heard of others useing couple apps for tweaking..im gonna try anyways I know how to recover..thanks for your input
[Nexus 5 Themes and Apps] existz:
Yea, it will play nice with any other app. All this app does is show information, you can't really adjust anything. It just shows the amount of time the CPU spends in each frequency state, and if the device is entering deep sleep. Also the Info page shows the current CPU, kernel and device information (current governor, available min/max frequencies, kernel version..etc).

Also, this app is really useful for devices that are NOT rooted, or uses stock kernel. Allowing them to see if the kernel is scaling frequencies properly, and if its entering sleep (making sure nothing is keeping the device awake). So there's really no extra benefit over other apps that show the same thing (as of now, there's more features coming..such as the new widget to reset timers from your homescreen in the next release, possible notification to alert you if device is not entering deep sleep..etc)
[Nexus 5 Themes and Apps] existz:
For those that don't want to follow me personally on Google+, I've added a CPUSpy Material collection for news and updates.

https://plus.google.com/collection/Qj78b
[Nexus 5 Themes and Apps] simono_pl:
Just small bug. On my SGS3 I don't reset statistics on full charge and today I see that total uptime don't show hundred hours. I set 21 hours but phone running without reboot under seven days ☺
[Nexus 5 Themes and Apps] existz:
Another new animation coming in next beta..

https://plus.google.com/+RobBeane/posts/Zh477bzYyLu

So the next release will have quite a few new features..

- Shake to Refresh

- Widget to reset timers

- Various new animations

- New layout when device is fully charged

- Updated internal 3rd party libraries

- Tons of code improvements and memory fixes
[Nexus 5 Themes and Apps] deepongi:
great work! but can you had more kernel info? like which GCC was used and the username/hostname who compiled the kernel? like on v2.0. screen in attachment.
[Nexus 5 Themes and Apps] existz:
The info is already there, just click the card that has kernel name (top card on Info page). It will show full kernel version as seen in screenshots on first page of this thread.
[Nexus 5 Themes and Apps] deepongi:
ahh.. i feel like a noob, sorry about that.

but maybe you should place some indication that pressing that section will pop-up more kernel info? just an idea.

many thanks for your work, once again. you dont know how useful this tool is for me :)
[Nexus 5 Themes and Apps] existz:
[MENTION=1077833]infected_[/MENTION] and others, this work? Instead of clicking on the card, you will click the horizontal 3dot.

Also, here's some updated screenshots of the new charged layout. I still need to fix for tablets, but its close to finished. Next beta is gonna be a doozy ;)

https://plus.google.com/+RobBeane/posts/MXcyVXryGbS
[Nexus 5 Themes and Apps] deepongi:
yes, much better. now we see theres a visible "click field" on the kernel card. also the full charged layout look awesome.

bring on the next beta :)
[Nexus 5 Themes and Apps] newcastle9:
Off topic but i remember you from the galaxy s1 days talon kernel i think
[Nexus 5 Themes and Apps] existz:
Yep, that was me. And if I remember correctly, the original CPUSpy creator made the app for use with that specific kernel. So I guess we have come full circle :)
[Nexus 5 Themes and Apps] existz:
A small update, also added an updated video of the new circle reveal animation when opening Info page (its actually really smooth, the video makes it look choppy). Do you guys like this, or prefer it to open normally?

https://plus.google.com/+RobBeane/posts/LavsG5oYMuc
[Nexus 5 Themes and Apps] Isley_:
Yes I prefer this.
[Nexus 5 Themes and Apps] deepongi:
+1 .. looking awesome!
[Nexus 5 Themes and Apps] existz:
Just an FYI, I've received a few crash reports and noticed a few people are still running older versions. I will not be supporting these older versions. So if you experience any crashes, please update to the latest and see if it continues. There's been a ton of code cleanup, fixes and memory optimizations over the last few releases, so there's a chance your bug was fixed (or there's more bugs introduced, and the more users will let me know more quickly. Resulting in faster bug fixes). So always update to the latest release, even if there's no visible changes. I won't release an update without significant changes.