yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Dark3n:
The is visible in the market now.

I have had some questions about the requested permissions, i have nothing to hide, so let me explain them:

* "Storage",

->android.permission.WRITE_EXTERNAL_STORAGE

so i can write the database to the sdcard instead of clogging up the internal memory

* "System tools",

->android.permission.SYSTEM_ALERT_WINDOW

->android.permission.WAKE_LOCK

is needed to show the information ontop of the screen and keep the display on when loading data

* "Your personal information",

->android.permission.DUMP

is needed to retreive battery information, android seems to consider this personal information
[Android Apps and Games] DarkhShadow:
Lol @google

Sent from... somewhere...
[Android Apps and Games] Mr Woolf:
I've restored to stock miui and downloaded from market - problem persists. I've asked in the mintberry miui thread for some other guys to try it. Will let u know.
[Android Apps and Games] Dark3n:
Thanks.

I think i can actually remove the DUMP permission.

Will try it out an update if so.
[Android Apps and Games] Dark3n:
Okay i could remove that permission, the piece of code i used it for changed and forgot to remove the permission, sorry.

I updated the app.
[Android Apps and Games] Mr Woolf:
Another Guy on mintberry miui has tried - reports that it says problem with busybox and shuts down. Is it possibly due to reason ryanza gave re fileslick?

No other apps that require root are affected (I know the op says does not req root) .
[Android Apps and Games] dankan53:
great app! thanks!
[Android Apps and Games] Dark3n:
Hm not sure what is happening, i don't understand what you mean with this "Is it possibly due to reason ryanza gave re fileslick?"

So for you the UI is broken and for him busybox does not install right?

Weird, for what device is the ROM?
[Android Apps and Games] Jackietreehorn:
Love the app, so big thanks to you OP.

Quick question though. I have a CDMA Evo 3D, and it seems to show Memory, DL/UP and CPU% (which seems to always be pretty high, perhaps this has just opened my eyes to it though), but consistently says that it's running at 0 MHz. Not a big problem by any means, just curious if it's only me or not.
[Android Apps and Games] Dark3n:
Thanks.

Diagnosis itself does not cause alot of cpu usage, with 3second intervals about 3-5% on my galaxy s, even lower when screen is off, it just jumps up sometimes when it is saving to database.

You can let it show you apps with more than 1% cpu usage, and you can select "cpu detailed info" as line information, this will help you identify whats causing the cpu usage.

The 0MHZ is nothing to worry about, it just means that your kernel does not offer that cpu freq information.
[Android Apps and Games] RaymondPJR:
Diagnosis

Admittedly I don't know a lot, but maybe the guy with the UI glich can check to see if the screen density setting in build.prop is 240? Some apps get broken if the screen density is changed.

I'm using this on a Vibrant running SH Gingerbread and so far the only minor problem was my phone became unresponsive while NoLed app was displaying. I had to reboot and so far it hasn't happened again. I have a feeling this is going to be one of those extraordinarily useful apps. Now to learn how to properly use it, lol. Thanks!:):):)
[Android Apps and Games] manus ferrera:
Link seems to be broken for me is it in the android market? Nevermind it worked through the browser but not xda app. Thanks
[Android Apps and Games] Mr Woolf:
Yep, first thing I checked. Also toggled compatibility mode. No joy.
[Android Apps and Games] Dark3n:
Hit me with questions if you have some :-).

hm..., does it make a difference if you display my app in landscape or portrait mode?
[Android Apps and Games] Mr Woolf:
Nope, tried that. If the app doesn't require root, then why does a getting busybox window show up (for me, it is only for a fraction of a second when app launches)? SGS, running MIUI.
[Android Apps and Games] DarkhShadow:
Because I'm assuming he uses some busybox commands and so he include it in the app

Sent from... somewhere...
[Android Apps and Games] pilgrim011:
Really interesting app, congrats to the OP.:) Could you explain to me these readings:

[/URL]

Does this mean that market (com.android.vending) is pulling (on average) 46% of CPU, browser 38%, settings also 38% etc. Only these 3 apps together makes 122% of CPU usage... This isn't possible, isn't it? :confused: On Windows task manager maximum CPU usage (all processes together) is 100%. Please explain to me.:o
[Android Apps and Games] DarkhShadow:
Its the apps average when that app is running, not all the time

Sent from... somewhere...
[Android Apps and Games] Dark3n:
DarkhShadow is correct.

I'm bringing my own busybox to use so i can be sure to get what i expect.

Busyboxes differ between each other so i bring one tailored to my needs.

The values shown are the averages of the seen apps, it is not the current usage so you can not add them up. It tells you how much ram and cpu an app uses on average when it is running.

I'm currently working on small refinements and some presets for users to try.
[Android Apps and Games] RaymondPJR:
Diagnosis

I was shocked to see that the 'Miren' browser was reported to use 38%. I've never even opened or used that browser as I don't really like it and forgot to remove it from the .zip before I flashed. Thanks for the explanation.:)
[Android Apps and Games] nikoookami:
Lets see how it works... wanted an app like this..
[Android Apps and Games] Dark3n:
I just pushed 0.5.3 to the market.

Added 10 buttons with different example styles.

Took alot of time but i rewrote the database interface,

just wasn't satisfied, don't know how i could code it differently before...

Its faster and more efficient now, i'm really happy with it.

Screenshot:

Changelog is :
[Android Apps and Games] WickedDaze:
Ahh. Much better I like the update it performs much better now, an I like the preset buttons you added as well
[Android Apps and Games] Dark3n:
If any of you have a cool style and setup, i would be really curious to see it :-).
[Android Apps and Games] WickedDaze:
The set i have at the moment
[Android Apps and Games] Dark3n:
That looks sick, blends perfect with your theme!

Which theme is it?
[Android Apps and Games] WickedDaze:
Its a theme I picked up called BluMagic, an it fits perfect right there below my dock an top part of status bar, seems like it belongs there, took me a second to get it moved to right spot, would be neat to have your own style preset button.
[Android Apps and Games] negrobembon:
This is a great idea
[Android Apps and Games] Dark3n:
Can probably add that at some point, so you can save your own presets.

Along with the possiblity to create custom line infos.

Haha and maybe placing the lines independently from each other :-).. ah thats going to be somework.

For now i want to get it most stable and efficient :p
[Android Apps and Games] WickedDaze:
Oh yeah that's what I'm talking about, to be able to put anywhere also be able to move each line, I completely understand about the stable an efficient side of things, looks great an I have not had any problems since the last update. -Running cm7 on HTC evo 4g-
[Android Apps and Games] RaymondPJR:
Diagnosis

I guess what you are saying is the presets don't survive a reboot and you need to choose whichever one you like when you start the app. I personally like preset0, it doesn't the status bar which makes it easier to read. Have to say too that I'm surprised there is not a hoard of guys and gals in here. There are so many questions on CPU usage everywhere.
[Android Apps and Games] Cloaker:
Update looks awesome! The only thing that is bothering me is the temperature shows up too accurate(yes, you read that right lol), taking up too much space. Maybe round to one decimal place?
[Android Apps and Games] Dark3n:
No your current settings survive a reboot, but you can not save your own different profiles atm, just the one you are currently using is saved.
[Android Apps and Games] Dark3n:
Next feature is planed and i have already started on it, it will bring the ability to create your custom lines, no more choosing from that huge list ;-).
[Android Apps and Games] WickedDaze:
;) now that's a good idea, who ever gave you that idea must be one smart person, just kidding. you the man!
[Android Apps and Games] RaymondPJR:
Diagnosis

Got it! Thanks!:D
[Android Apps and Games] Dark3n:
New update is halfway done, you can now create a custom set of information.

Just add what you want to the list through button, then drag drop the items in the desired order.

Pull an item from left to right to delete one.

You can do this while diagnosis is active and preview the changes simultaneously.

When you press the setting for a line now, this window will show where you can make the changes:

I'm currently adding a 4th line and making it possible to move each line indepently, so you could have one info in each corner of the display etc.

edit: removed old beta
[Android Apps and Games] WickedDaze:
Cool ill d/l an report back to ya
[Android Apps and Games] jonny68:
Interesting app thanks have downloaded,i assume this uses very little battery too?
[Android Apps and Games] tommo123:
could you pls provide the apk? my sgs2 isn't compatible according to the market (although i am running lcddensity)
[Android Apps and Games] Fr4gg0r:
lol'd about the "official"

But the app seems to be able to do quite a lot of stuff..
[Android Apps and Games] Dark3n:
That depends on your settings.

Determined by:

- Update interval

- Cache size

- Data density

If you increase these values, diagnosis will be more inactive and thus consume less resources.

The default setting is usually fine, you could experiment with the values.

Some tests showed like 3% cpu usage every 5 sec on my i9000, with an exception when the cache is emptied and written to database (if database is turned on).
[Android Apps and Games] Dark3n:
I attached the file to this post.

I have put no restrictions on the app, no idea why the market is saying that.

What "official" ?
[Android Apps and Games] Griffrez:
Dark3n, are you thinking about posting source code, or something of the kind? Just wondering. :o
[Android Apps and Games] CR5N:
Great App, really like it. I hate requests but when setting x-y, any way to transparent(ish) your app to line up info with home screen for example? No complaints it works as intended :D
[Android Apps and Games] tommo123:
cheers :)

10char
[Android Apps and Games] Dark3n:
No, not for now. If you have specific questions, you can visit me on irc and maybe i can help you out.

Thats a cool idea, tried something just now, but was a bit more tricky than i expected, might add that in a future update :-).
[Android Apps and Games] :
Looks nice! Is it based on the dev tools?
[Android Apps and Games] MustNotSleep:
UI error

I seem to have the same problem as woolf clubs: the UI is weird and no data seems to be collected (even 30 minutes after enabling the database, no effect after rebooting). See attached screenshot.

Galaxy S II GT-i9100

GalnetMIUI 2.11.26 (ICS)

Diagnosis 0.5.4b2

ro.sf.lcd_density in build.prop is indeed 240. Should/can I change this?
[Android Apps and Games] PsHegger:
Works great on my DEFY, with CM7. No crash or anything else since I installed it.

However I have 2 suggestions what would be great to be included in the app:

FPS count

Widget to start/stop tracking
[Android Apps and Games] Dark3n:
I don't think so, what devtools?

Hmm i don't undersetand why it is looking like that for you and woolfclubs, it is just a standard tabhost i am using.

Did you start the service after enabling the database ?

With the button you can see on the screenshots.

Otherwise no data will be collected.
[Android Apps and Games] Dark3n:
Thanks for the info.

The widget will come with a future update, i'm not that familiar with programming widgets, i will have to read up on that somemore :-).

For the FPS count, i will check out whats possible.

The only method to find out i can currently think of is not very good :p.
[Android Apps and Games] rohan32:
Wow, fantastic app! I had used an app like this before but it was a major memory hog. This one has barely any footprint! Looks fantastic and great customizability options!
[Android Apps and Games] MustNotSleep:
The thing is there's nothing displayed in any tab for me (including the first "Diagnosis" tab), so I don't see a "Start Tracking" button. This happens in both portrait and landscape.

Damn MIUI. Let me know if you need additional info, I'd be happy to help you debug this.

Otherwise, seems like an awesome idea! Can't wait to use it! :-)
[Android Apps and Games] Dark3n:
Hmm, can you try the app "SD Maid" from the market? Link is in my signature too.

It uses a similar setup with tabs. Does it have the same problems?
[Android Apps and Games] MustNotSleep:
I think that one works OK. See screenshot.
[Android Apps and Games] Dark3n:
The new version is on its way to the market.

I attached screenshots of the new style examples to the 2nd post.

Small screenshot of whats possible with the newest version :-)
[Android Apps and Games] ryhamster:
working good on xperia play man you should make a widget so it dont sit on the home screen or on the notifiction bar
[Android Apps and Games] Dark3n:
Arw, okay i will find out whats wrong, maybe i can fix it before i update the market.

Can you come on IRC and test a few things?

Maybe, but diagnosis purpose is in particular not to have to look on the homescreen. But its not impossible that it will be added in a future update.
[Android Apps and Games] Jubei71:
Great app! Thanks.

One suggestion : would be great it we could set level of transparency for background overlay to make the text slightly more legible.
[Android Apps and Games] Dark3n:
New version in on the market.

Thanks to everyone who send in bug reports.

I believe to have fixed them all ;).

Final changelog for this version:

Check the new version i think i have found what was causing the tabhost to malfunction on MIUI ROMs. Let me know

It's already in the new update :D.

6 am :eek:

I code to much.

ZzzzzzZzzzzz
[Android Apps and Games] :
I mean the stock Dev Tool you can find on the stock android image. (in the adk for example.) - but I dont think that this is based on it.

Anyway, great tool, I like the overlay... :)
[Android Apps and Games] Tokl:
What an an cool App! :cool:

Works great so far on the HTC Sensation XE

(not tested all features yet, but im sure to have some suggestions ;) ...)

Found accidentally one small bug as follow:

When hitting backspace and entering nothing (empty field) into X or Y position i get an FC,

luckily after the second start the "Start tracking" is disabled and im able to set another value.

Keep up the great work! Danke ;-)

Greetz Tokl
[Android Apps and Games] Tokl:
Hi,

im not sure this is an fault on my Device, but for me the App takes an average time of ~ 16% CPU usage overall :confused:

Settings:

- Only one Line is shown with one entry "Total CPU use" (all others are disabled)

- Update rate is set to one Second

- Database writes disabled

See attached screenshot:

Measured with System Tuner Pro, but the higher CPU is also noticable in CPU Monitor Micro (seen upper left at the clock)...

Will give this later an try with my HD2 to compare the results...

Any thoughts?

Greetz Tokl
[Android Apps and Games] WickedDaze:
Great work man I had ran the app all day/night yesterday an had no f/c or bugs that I have found, ran on my HTC evo 4g an HTC hero. Love the new update now I can move my 2nd n 3rd line, to where I wanted them. Love your work keep it up mate.

---------- Post added at 08:16 AM ---------- Previous post was at 08:07 AM ----------
[Android Apps and Games] Dark3n:
An update rate of 1 second will cause this. At 3 seconds its ~5% and and at 5s even lower.

What you choose to display does not have alot of impact on how much resources are used for now.

I will improve this though, i have some ideas, just need to experiment a bit.
[Android Apps and Games] WickedDaze:
Any luck with the fps option? I was not for sure that could be done or not
[Android Apps and Games] Dark3n:
No, havn't found a good way to do that yet.
[Android Apps and Games] Tokl:
Yep, that's what i noticed too.

I think the improvement should go to poll/collect only the data what is actually shown in some line.

Actually is (nearly) no difference in CPU consumption if i had displayed all values or only one. (i think this is what you mean;) )

Anyway, great App with a huge of possibility's!

Would be an great feature ;)

Greetz Tokl
[Android Apps and Games] netban:
Thanks for this! Keep up the good work.
[Android Apps and Games] Dark3n:
If you want to help me test a bit come on irc.
[Android Apps and Games] Tokl:
New entry

Suggestion for the Battery current:

I know many devices actually did not reporting the Battery current,

but for those who do (mostly HTC), it would be an additional info to display ;)

found @

/sys/class/power_supply/battery/batt_current

the value is given in "mAh"

Greetz Tokl
[Android Apps and Games] Dark3n:
If you should choose not to use the database feature the next version will consume significantly less cpu, depending on what info is displayed.

Thanks to Tokl for pointing this out and helping me test it.

Doing the same test again again as that Tokl did the cpu consumption is now ~2%.

I will update today or tomorrow.
[Android Apps and Games] Tokl:
Got even less :D

Thanks for your great work!
[Android Apps and Games] jonny68:
Really like this app but how can i get rid of the small text on the screen, ive gone into settings but couldnt see anything, i noticed when i click on style it gives you options 1 to 9 (and 0) and when you click on different styles sometimes the small text is aligned differently, i want to get rid of the text completely can you tell me how to do that?

Also has anyone any more tips,etc on how to best make use of this?

Thanks :cool:
[Android Apps and Games] Dark3n:
The styles are just examples.

Go to settings

Now pick the line you want to edit i.e. "Edit Line 1"

Now the first entry "Line 1" - "Edit layout of line 1"

The window opened lets you edit what is shown in that line.

By dragging your finger over the entries from left to right, you delete them.

If you delete all layout entries for all 4 lines, nothing will be shown anymore.

You could also set the color of each line to fully transparent, but that is not such a good solution.
[Android Apps and Games] MustNotSleep:
That fixed it! You da man Dark3n! :-D

Is there a "pro" version of this? Or a donate button somewhere? I'd definitely like to throw some $ your way for your hard work. Let me know.

The app works great so far. Cheers!
[Android Apps and Games] phoenix_rizzen:
Very nice app. Especially like the latest update that allows you to create your own lines and reorder elements via drag/drop.

I do have two suggestions, though.

First, please add some spaces, especially between elements. :) For example, I currently have the following line:

1024MHz|C:29%|M:94.03MB|224B/s DL|324B/s UL

It's extremely hard to parse that quickly. There really should be spaces between the numbers and the units, and between the elements, like so:

1024 MHz | C:29% | M:94.03 MB | 224 B/s DL | 324 B/s UL

Second, there should be some uniformity/consistence between the elements. For example, why are CPU and Memory prefixed by C:/M:, but upload download speeds are postfixed with DL/UL? All elements should be prefixed by what they are, followed by the value, followed by the units. Like so:

F: 1024 MHz | C: 29% | M: 94.03 MB | D: 224 Bps | U: 324 Bps

And so on for the other elements.

Beyond that, keep up the good work. No functional issues on my Xperia Pro (MK16a).
[Android Apps and Games] Dark3n:
I'm happy to hear it is working now. The culprit was an oversized icon, it seems other ROMs just resize it, but MIUI seems to have problems with that.

I might make a donate version at a later point, but i have not decided on that yet.

For now i want to get this app stable and smoothly running.

If it is your deepest desire, you can donate some $ to my personal fund "coffee for sleep-deprived developers" through the donate button on the left.

I'm perfectly happy with a nice rating and comment in the market too.

Thanks to everyone who rated, alot of people forget to rate if the app is working well and only remember it when something goes wrong :rolleyes:.

Thank you for your suggestions.

I agree with you on the uniformity and will make changes accordingly.

For the spaces and dividers, i will see what i can do.

Maybe make another button in the line editor which lets you add spaces and chars like * ~ + # etc. as dividers.

But i'm not sure as it might get too anoying having to place those too.

With the current code structure it is not that easy to add an optional space between the number and the unit i.e. 90_MB, and if i add it, it has to be optional. Display space is scarce and i don't want to use too much.

I will see what i can do.
[Android Apps and Games] Tokl:
That sounds really great,

editing the text before and after the value is an very good thing,

with additional multipliers or dividers even much better,

so can everybody decide for himself what value how to show.

For example GHz instead of MHz at the CPU frequency (divide the actual value by 1000).

Or set for Date DD-MM-YY instead of DD-MM-YYYY (or MM-DD-YYYY),

maybe even DDD for the Day in the Year or WW for the Week in the Year...

The possibilities are nearby endless when have an Line Editor Button for each value :D

This give me some recall to the good old BattClock from ZuinigeRijder in the ages of Windows Mobile :cool:

Greetz Tokl
[Android Apps and Games] RaymondPJR:
Diagnosis

Try it for a while then check your battery stats. Mine was like 2% of total usage for the time I ran it.

Question: I run the app and sometimes notice I get a toast frame telling me 'Diagnosis Service Started', meaning that there was some pause then a restart? Also, the readout disappears from the screen and reappearing when that happens. Yet I can find no interval settings for starting and stopping.

Or alternatively, the dividers can be of a contrasting color which would visually separate the thread of info.

EDIT: Thought about it, maybe that is not possible.
[Android Apps and Games] WickedDaze:
Its just updating the database an inputting the new recordings that have been logged
[Android Apps and Games] Dark3n:
The the readout disappears because the android system killed the diagnosis service. This happens when it desperately needs the resources.

Once there are enough available again, diagnosis restarts itself.

This is intented behavior.

There is no visible cue to indicate that data is currently being written to database, except maybe an increased I/O cpu usage.

Might add a cue though, cool idea.
[Android Apps and Games] cubano.pedro:
Nice work! works great on my gio, no crashes for now
[Android Apps and Games] rendang:
Motorola Admiral (XT603) with Diagnosis 0.5.4 from market.

The battery stat is misreported at times, I noticed it three times.

I was at 39% according to Android, it reported 30%.

I was at full charge or ~99%, and it reported 30%.

Edit: It would fix itself but seems odd that it misreports the number. Will keep an eye out for it again.
[Android Apps and Games] DarkhShadow:
That can't be helped as in darks words "it waits for the battery to say something" so its not the apps fault

Sent from my ice cream powered Nexus S
[Android Apps and Games] Dark3n:
Yup, can't ask the battery. Have to wait for "her"? ;-) to say something...

Depending on your kernel settings it can take up to one minute.

The 30% is just a default test value, when there is no other information.

I can see how this is missleading and will change it to something else.
[Android Apps and Games] Mr Woolf:
Sorted! Cheers for finding and fixing the problem.
[Android Apps and Games] jonny68:
OK thanks ill give that a go, another thing which im not sure has been mentioned, on CPU/Memory it says that I'm using Ondemand Governor but im not anymore as i froze SepCPU in Titanium Backup so why is it still saying im using this Governor?