yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Fenvarien:
Great, thank you for the update :)

GNex with franco.Kernel / MiNCO ROM v5
[Android Apps and Games] -CALIBAN666-:
awesome update!!!!! :good:
[Android Apps and Games] Christiancs1969:
Cool :Drunning sweet;)

galaxys2 dori7.15 rootbox nightly pitch perfect
[Android Apps and Games] Silentbob999:
+1 to all those above, great update

Envoyé depuis mon GT-S5830 avec Tapatalk
[Android Apps and Games] Blackrose666:
I'm still having the same problems with deep sleep stats not clearing when stats reset after unplugging charging cable.

Also now I can't manually reset the timers, I get an error message

The device is definitely not plugged in and I'm no where near a charging cable, I tried doing a clean install but get the same error's.

Will send you a log file.
[Android Apps and Games] hawkerpaul:
I still get problems not resetting timers.

Tried v5.34:

I then disconnected the charger:

(for some reason, timer went to 5:33:40, and not zero. It seems not to reset the deep sleep time)

When I reconnect the charger, the timer goes back to 6 hrs 18 mins+ again, the state that the timers were at when I had my charger connected initially.

The only version that works correctly for me in terms of auto-reset is 5.27
[Android Apps and Games] realgpp:
Hi guys, how you doing?

the deep sleep issue is due to my oversight, so it's been a 2 seconds fix :)

about the impossibility of reset the timer when no cable at all is nearby... I don't really know what to say cause I didn't change nothing :silly: however I changed a bit the logic behind it and added a few more log messages so if anybody still has the same issue enable the verbose option so I can see what the hell happen in your device :good:

even this it's been a fast fix (not why I don't care but cause I know it's right for sure, it works for me for example) so if it doesn't work I think I will have to do some strange voodoo about it :confused:

I swear sometimes I think to write a fantasy book rather than java code, the book is the same for everyone but each of us can see, thanks to imagination, whatsoever is able to build :eek:

{ i don't know if I was able to express well in english the sarcastic joke of this situation :D }

HERE is the link, let's just say that's a beta version before to release as stable one. I'll wait your feedback before do it :good:
[Android Apps and Games] hawkerpaul:
Thanks mate.

Beta version seems to be resetting timers properly now.

Cheers!

:good:
[Android Apps and Games] suku_patel_22:
Do you use a different signature to sign the apk's on each release to XDA? I can't seem to update the apps. It says that app with a different signature is already installed. Need to un-install and re-install the app.

Tapatalked from Desire S running Andromadus
[Android Apps and Games] Blackrose666:
I updated to the beta, I have tried most functions and everything seems to be working, can refresh the timers manually now :good:

The only issue I've noticed is if I reset the timers and then hide the deep sleep row I get a negative figure under total state time, if I hide deep sleep and then reset the timers it correctly shows 0:00:00 under total state time, that may just be the way it calculates the times, I always have deep sleep showing so it doesn't affect the way I use the app.
[Android Apps and Games] realgpp:
the point is I use eclipse both from ubuntu and windows

got it! :) I'll see about it
[Android Apps and Games] realgpp:
Changelog v0.5.37

Changelog v0.5.37 download

Changelog v0.5.37 download

Added Simplified and Traditional Chinese Language

bugfix: 'deep sleep' row with timer setted

bugfix: 'set timer' function on some devices

edit:

fixed xda link in preferences
[Android Apps and Games] Blackrose666:
Installed v0.5.37 it is mostly working very well, I've just noticed a couple of times when I reset the timers manually a small amount of time is left under the total state time, usually between 5-20 seconds is sometimes still showing straight after resetting manually.

Also I noticed that after removing the cable after charging the phone there was also some time left in the total state time column, see pic taken straight after pulling power cable out and turning phone on, interestingly it seemed to only do this with the screen off, I let the phone discharge a few % then charged again a few times and if the screen was on it reset perfectly, but a couples of time it did the above with the screen off when unplugging the power cable.
[Android Apps and Games] hawkerpaul:
I still get the same problem about the timer when charging:

eg.

Phone on charge

Go into CPY Spy. Total state time=2:25:33

exit CPU Spy

Disconnect charger

Go into CPY Spy. Total state time=0:00:05 (correct)

exit CPU Spy

Reconnect charger

Go into CPY Spy. Total state time=2:26:01 (why? seems like if has followed on from the previous total during charging)
[Android Apps and Games] realgpp:
Guys, can you send me a log, maybe something wrong happen.
[Android Apps and Games] realgpp:
that's maybe because the milliseconds are dropped. try this version and let me know if you still notice the problem link beta 0.5.38

In this version the milliseconds are showed and the percentage has 2 number after the floating point.

I was thinking to add 2 options to enable them...

Maybe I don't get the problem but I think that's the right behaviour. When you reconnect the charger the timer is deleted and the 'total state time' will show the sum of all states.

EDIT: uploaded a new beta apK
[Android Apps and Games] Blackrose666:
Thanks I'll download and test, time for some zzz's so I'll report back tomorrow.
[Android Apps and Games] renoob:
v0.5.37 on my Bayer Defy running JB CodenameAndroid 3.6.5

I emailed you logs, here are some screenshots.

Doesn't seem to update except for the CPU governor real-time, when enabled...

Uninstalled and trying the new beta

....Beta no change, fyi
[Android Apps and Games] realgpp:
Hi, I haven't received your logs (btw the right email is cpuspy.realgpp@gmail.com) however one of your screeshots say there are no logs :confused:

Since which version you're experiencing this problem?

However

I can see in the first image that the file needed exist but it's compeltely wrong: the time values are equal to zero for all the states that's why you can't see anything. I suppose you have changed/upgraded your kernel/rom
[Android Apps and Games] Namoi:
Hi,

I'm using the donate version from Play Store and it seems that the unplug cable option doesn't work.

I set it up to reset the stat when battery is 90% when unpluging but the stats are exactly the same as the one of CPU Spy. When i check with better battery stats, the cpu stats are correctly reported (using "since unpluged " and "since charged ").

On GS2 using Siyah kernel 4.15 on uhlps ICS Rom.

Thanks
[Android Apps and Games] realgpp:
Hi, that's strange :confused: Maybe, for some reason, the cable event doesn't behave correctly. Can you enable the "verbose app" option and send me the logcat file so that I can see what's the problem?

If you don't how to do it, there is this awesome app CATLOG which offer the possibility to send the log via mail. You can write in filter, textfield in the upper part, the string "realgpp" without the

"

, then open the menu and select Send to cpuspy.realgpp@gmail.com o here via pm. thanks
[Android Apps and Games] Namoi:
I will send you by mail the filtered logcat.

Thanks
[Android Apps and Games] Namoi:
By the way, I spoted a little typo in the cable option : "eable charger events" should be "enable".

Thanks

Edit :

As you asked, i cleared the data and had a try : it seemes to work now, but i need to test it during the night.

I'll report back tomorrow.
[Android Apps and Games] realgpp:
New version 0.5.41

Here you are a new release full of bugfixes ( thanks for your reports ) :)

Changelog v0.5.41 download

(fix) read of TIME_IN_STATE file for some (unsupported) devices

(fix) rare android bug about swipe content on some 2.3.x devices

(fix) crash log message in Settings

(fix) crash log message in 'CPU Files'

(fix) arrow in 'unused states' header
[Android Apps and Games] creeve4:
What's up with the state time formatting in 5.41?

View attachment 1522897
[Android Apps and Games] Namoi:
Hmm, still doesn't work at night.

I'm using Gentle Alarm and the night mode has an option to which turn the phone to flight mode and mute all notfications.

Therse is an option to to prevent quiting the app when the phone is unpluged, maybe it prevent CPU spy to react to that event too ?

Could it be this ?

Another idea :

When I plug the phone it is generally 23h00, so the phone is completely charged around 1h00 am, which should triger the "battery full" event. During that time the phone is never in deepsleep as the screen is on (gentle alarme runing).

When i unplug the phone it's aroud 7h30AM, so 6 hours AFTER the battery full event.

Could it be that the delay between the two events are to long ?

Thanks
[Android Apps and Games] realgpp:
that's why I shouldn't code during the night. I forgot to disable this time formatting feature :o

I'll upload a new apk very soon :good:

well, I don't think so but let me do some experiments :fingers-crossed:
[Android Apps and Games] realgpp:
New version 0.5.44

I hope I haven't forget anything this time :o

Changelog 0.5.44 download

(add) milliseconds can be showed in the state rows

(add) option to show millisecods: Preferences -> Layout Option

(add) States percentage: you can now choose the number of digits in floating point

(add) option to choose digits: 0, 1 or 2 (Preferences -> Layout Option)

(fix) some german strings
[Android Apps and Games] User_99:
Update for German language:

Please change:

- "Zeige Millisekunden" -> "Erweiterte Zeitanzeige"

- "Zeige Millisekunden Zustand Zeilen" -> "Statuszeiten werden in Millisekunden dargestellt"

- "Staaten Anteil" -> "Erweiterte Prozentanzeige"

- "Anzahl der Stellen in Gleitkomma" -> "Zusätzliche Nachkommastellen darstellen"
[Android Apps and Games] realgpp:
Done. Thank you. You can download the new version from the previous post :good:
[Android Apps and Games] omniatic:
Can't seem to get the full download. Trouble with the link?

Edit: Never mind...got it.

...sorry...I was on the phone...
[Android Apps and Games] egps2:
Just reporting that v0.5.44 works fine for me on i9100 :) thanks for the update!
[Android Apps and Games] Namoi:
I still have that weird problem, but I've tried during the day with gentle alarm and it works.

So my question is : when pluged, does the states reset WHEN battery reach the thresold or when the thresold is reached AND the cable is unpluged?

If it is the second case as i hope, it means maybe my dock i use at night isn't recognized as a charger...
[Android Apps and Games] hawkerpaul:
for me, the last version that works properly to reset timers on cable disconnection it's 5.27

every version since then the timers do not reset.

I always uninstall the app completely before trying out a new version and I also try to change the listen for cable events options several times before giving up and going back to 5.27.

I always set threshold to 0% which is correct I assume.
[Android Apps and Games] Blackrose666:
The new additions are great :good:

Unfortunately I have similar problem as described by hawkerpaul, it only reset's correctly after unplugging the charger if the app is open, otherwise it does not seem to be resetting properly.

I sent you the log from CPU Spy Plus.
[Android Apps and Games] Sleepy!:
This is a device bug, not a bug in your app.

Defy builds using the custom kernel side load the kernel using 2nd boot.

All these builds (including the CNA renoob mentioned) don't work with CPUSpy...

That's why there's no error logs... the app can't get a read, and it's not an error in the app.

If you can find out a way of working on 2nd boot, it'd be great.

Otherwise our dev is working on it and might solve it eventually.

Great app, BTW.

:)
[Android Apps and Games] TheCreat:
Just to quickly comment on the battery full event and unplugging the cable much later: I think Android doesn't go into deep sleep at all as long as the usb port has an external power connected. Deep sleep is only possible when on battery power. There is also little point in going into deep sleep when eternal power is available.

Swyped on my Galaxy S2
[Android Apps and Games] Namoi:
If it is related to my case, well yes it doesn't go into deep spleep but mostly because the screen is on: I use the phone at nicht as a clock/alarm.

But i would appreciate that the states reset when i unplug the phone in the morning to monitor its behavior during the day.
[Android Apps and Games] egps2:
This is true but specific to the Samsung Galaxy S2 which does not enter deep sleep when powered :)
[Android Apps and Games] Bl4ck3urn:
Not only on S2. Same behavior on my Galaxy Nexus and other Android phones I had before.
[Android Apps and Games] User_99:
German translation

Please change "Neue Themen" into " Symbole Modern-Theme"

Thx...
[Android Apps and Games] whitexp:
source no build with cyanogenmod source

u can see its and fix sources for build with cm sources

http://stackoverflow.com/questions/...bute-must-be-localized-at-text-with-value-top
[Android Apps and Games] sr2012:
Excellent tool. As per my other thread, could you have a look and see if you could somehow incorporate C State Idle statistics as well, eg:

cat /sys/devices/system/cpu/cpu0/cpuidle/state0/time | sed 's/......$//'

cat /sys/devices/system/cpu/cpu0/cpuidle/state0/usage

cat /sys/devices/system/cpu/cpu0/cpuidle/state1/time | sed 's/......$//'

cat /sys/devices/system/cpu/cpu0/cpuidle/state1/usage
[Android Apps and Games] haxor:
There is two files in op first on in zip and second one in apk why it is so ?
[Android Apps and Games] realgpp:
Got it, slowly (screenshot) but I'm on it...

I don't get what you're referring to :confused:
[Android Apps and Games] Christiancs1969:
Re: [APP][2.1+][CPU Spy Plus][v0.5.44] CpuSpy Plus by realgpp

How's things ?

s2 rootbox
[Android Apps and Games] realgpp:
R: [APP][2.1+][CPU Spy Plus][v0.5.44] CpuSpy Plus by realgpp

Hi guys, I've been off the radar because of the massive load of college stuffs to do but I didn't forget the app and all of you :)

It's been a while but I'm working on the app, sadly, very slowly. However this week I think I'm gonna release an update with these 2 additions besides the bugfixes and code improvements:

- the "idle states" infos (as requested)

- root read function of the time in state file: in the last month I've received a few mails of people that couldn't read the file because somewhere in the os some app changed the file permissions

...So stay tuned :)
[Android Apps and Games] User_99:
AW: [APP][2.1+][CPU Spy Plus][v0.5.44] CpuSpy Plus by realgpp

Nice to hear from you :D

Sounds great! If you also have to change something related to translation, be so kind and send me the new strings...
[Android Apps and Games] hawkerpaul:
have you had a chance to look at the bug where the counters do not reset automatically on a charger/usb disconnection?

For me, this works perfectly on v5.27, but not on any version since
[Android Apps and Games] realgpp:
R: [APP][2.1+][CPU Spy Plus][v0.5.44] CpuSpy Plus by realgpp

Hi I've made some changes on this feature,I hope it will works for you too
[Android Apps and Games] realgpp:
Last update (v0.5.50)

v0.5.50

(add) root read function of the time in state file (if it exists it'll be read for sure)

(add-request) "idle states" infos

(add) button long press show quick explanation

(add) sending of error reports can be disabled

(fix) better spacing of layout buttons

(fix) CN and TW strings

(fix) FC on some devices

(fix) random FC in Settings and Test activity

(fix) rare bugs in logging messages

v0.5.51 download

(fix) FC changing UI layout
[Android Apps and Games] User_99:
AW: [APP][2.1+][CPU Spy Plus][v0.5.51] CpuSpy Plus by realgpp

Works fine! Thx

Only "No idle states were found." still in English. "Kein Leerlaufstatus vorgefunden!" :D
[Android Apps and Games] spevil07:
does it work on htc sensation xl???
[Android Apps and Games] User_99:
AW: [APP][2.1+][CPU Spy Plus][v0.5.51] CpuSpy Plus by realgpp

Try it out! Why not :)
[Android Apps and Games] Blackrose666:
All settings work fine and the timers reset correctly on charger events :good:

I also get "No idle states were found." under that feature.

Edit: Issue with "No idle states were found." is a kernel/rom issue on my device, the app works great.
[Android Apps and Games] User_99:
I got "No idle states were found." shown because device was in charging mode. Unplugged power and I see all the nice new information ;)
[Android Apps and Games] realgpp:
R: [APP][2.1+][CPU Spy Plus][v0.5.51] CpuSpy Plus by realgpp

Oops :) thank you
[Android Apps and Games] Blackrose666:
Unfortunately I get the same "No idle states were found." with or without the charger plugged in, all other features work great.

Edit: Issue with "No idle states were found." is a kernel/rom issue on my device, the app works great.
[Android Apps and Games] User_99:
AW: [APP][2.1+][CPU Spy Plus][v0.5.51] CpuSpy Plus by realgpp

Maybe it depends which kernel you use....
[Android Apps and Games] Blackrose666:
Yeah it could be kernel/rom related.

@realgpp is there a system file the app looks for to get these idle states?

Edit: Issue with "No idle states were found." is a kernel/rom issue on my device, the app works great.
[Android Apps and Games] spevil07:
AW: [APP][2.1+][CPU Spy Plus][v0.5.51] CpuSpy Plus by realgpp

Doesnt work on HTC Sensation xl

We have tested it today at work.

Gebeamt vom S3 mit xCORx + Yank + Blue Theme by Swordfish
[Android Apps and Games] realgpp:
Hi guys

yes, to get the informations I read all the files in this directory /sys/devices/system/cpu/cpu0/cpuidle/

The app is device independent. if the time_in_state file doesn't exist in /sys/devices/system/cpu/cpu0/cpufreq/stats/ it's impossible to compute the frequencies time
[Android Apps and Games] winnici:
Re: [APP][2.1+][CPU Spy Plus][v0.5.51] CpuSpy Plus by realgpp

Just noticed the original CPU spy has been updated in play store for first time in ages
[Android Apps and Games] Blackrose666:
Ah that explains it, my device does not have that directory, so that feature won't be able to work on my device.

Everything else is working excellent, awesome work :good:
[Android Apps and Games] realgpp:
Last update (v0.5.54)

Hi, here there are a few bugfixes

0.5.54 download
​

(fix) bug on changelog

(fix) issue on the unplugging event

(fix) update languages translation

(fix) don't delete settings on updates

code lightening
[Android Apps and Games] burdock:
gonna test it
[Android Apps and Games] zakiancel:
Thanks for Share

Thanks for Share:good:
[Android Apps and Games] Bl4ck3urn:
Everything works fine. Thanks for your hard work!
[Android Apps and Games] egps2:
Thanks again for this app! Almost everything is working well for me on the latest version although I can't reset then refresh the stats if my phone is charging as pressing the refresh button while charging acts like the restore timer button. Does this make sense? Sorry if this is a known bug but I must have missed it amongst the posts.

Feature suggestion: I like how the idle states have been implemented but if there is an easy way to add the same refresh/reset etc buttons to that screen as well it would be awesome :)

EDIT: As per instructions on first page I cleared the apps data but now changing themes does not show the buttons anymore! I'll play around and see if I can fix it but I thought I would share this just in case it was not an issue unique to me.

EDIT 2: After reinstalling and clearing data a few times the issue (refresh=restore button when charging) still persists (with new theme) and I am unable to change themes without reinstalling the app. However, with the old theme which I never used the above issue does not occur although I still need to reinstall the app to change themes. This is very strange to me and I hope I'm the only one experiencing this issue! Other than this issue, using the app normally on the new theme without charging the phone I have no issues and works as intended.

Thanks for your hard work improving this app, we all appreciate it :)
[Android Apps and Games] realgpp:
if the cable option is enabled you can't reset the timers while the phone is in charge, that's the right behaviour.

Good suggestion :good:

Can you enable the debug option and after some use send the logcat to me?

Next time you want to change theme, instead of uninstalling the app, could you try to delete only the app data in menu->settings->applications-> cpu spy plus so if it works I can add a button in the preferences to delete the data.
[Android Apps and Games] egps2:
Re: [APP][2.1+][CPU Spy Plus][v0.5.54] CpuSpy Plus by realgpp

Thanks for getting back to me. Firstly the cable option was disabled (as per default) which I should have specified so is this behaviour still expected? And secondly I already tried clearing data but it solved neither issue unfortunately but I cleared the data again just now to test and same issue unfortunately. I might be the only one with these issues though buy I just realised I still have the original cpu spy app installed! Would that maybe cause problems? I'll uninstall and let you know what happens.

Thanks again for your work :)

EDIT: Uninstalling the original cpu spy did not seem to help but I thought I would try anyway. I also ran the in app test and everything passed as expected. To send a logcat do I just enable verbose mode? Where is the log file btw? Sorry if it's a silly question!

Sent from my GT-I9100
[Android Apps and Games] realgpp:
Hi, I've sent you a pm
[Android Apps and Games] Blackrose666:
All working fine :good:

When changing themes on my device I just need to close and re-open the app and the new theme is applied successfully and fully working.
[Android Apps and Games] realgpp:
R: [APP][2.1+][CPU Spy Plus][v0.5.54] CpuSpy Plus by realgpp

Hi, after changing the theme if you came back to the home activity the theme should be changed. Exactly how you close the app?
[Android Apps and Games] Blackrose666:
Hi, I close the app using the "back" soft touch button on the bottom of the phone as shown here http://www.htc.com/au/support/howto.aspx?p_id=389&id=191756&p_name=htc-incredible-s

Then I relaunch the app as per normal and the theme changes.
[Android Apps and Games] realgpp:
R: [APP][2.1+][CPU Spy Plus][v0.5.54] CpuSpy Plus by realgpp

Thanks, I'll look into this :thumbup:
[Android Apps and Games] egps2:
Thank for all your help with ironing out those bugs I had, I've finally replied and sorry it was so late!

If you wan't me to test anything, don't to hesitate to let me know :)
[Android Apps and Games] kpavl01:
Hello,

I've just found this app and I noticed that my CPU states are mainly Deep sleep (when phone is not used), 200 MHz, 500 Mhz and 1000 MHz (underclocked cpu on Galaxy S 2) and 200 MHz is used the most of those 3.

CPU states in the middle are not used much like these I mentioned.

Is that ok?
[Android Apps and Games] Blackrose666:
CPU spy plus displays the time your phone has been in each CPU state, how your phone behaves is governed by the kernel and the governor it is using, many kernels on custom roms have several governors you can choose from.

This is where CPU spy plus is a great tool, you can try different governors if you have them available, then compare the time in state stats to compare the different governors.

I won't attempt to explain the governors but there is a good guide here http://xdaforums.com/showthread.php?t=1242323
[Android Apps and Games] phobos_1984:
cpu frequency wrong detection

Hi! Thank you for your splendid app!

On my Defy+ (Jelly Bean, last build by Quarx, you can see the kernel in the screen shots) the cpu frequncy is not showed in a correct way. I will post two screen shots to explain better. Neither your app do, neither the original one.

Thanks in advance.
[Android Apps and Games] User_99:
AW: [APP][2.1+][CPU Spy Plus][v0.5.54] CpuSpy Plus by realgpp

Then I think it is not perfectly supported by the kernel itself. Means no app kan read the correct frequency steps...