Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,022 Members 52,857 Now Online
XDA Developers Android and Mobile Development Forum

[APP][ROOT REQ][v1.2][2014/05/09] System Status App for Gustavo_s Kernel

Tip us?
 
boscorama
Old
(Last edited by boscorama; 9th May 2014 at 05:31 PM.) Reason: Add v1.2
#1  
boscorama's Avatar
Senior Member - OP
Thanks Meter 86
Posts: 164
Join Date: May 2012
Default [APP][ROOT REQ][v1.2][2014/05/09] System Status App for Gustavo_s Kernel

SystemStatus App
For Gustavo_s Kernel

Description:
This app retrieves the same information as the custom kernel's systemstatus command and displays it in the app's main screen.
Additionally, some or all of the same information can be displayed in a system overlay area, making it available when the app is in the background (that is, while it is still in the Recent Apps list).
Requirements:
This app currently requires:
  1. Gustavo_s kernel; and
  2. a rooted phone (which the kernel will do for you. )
Features:
Manual and Automatic Status Refresh
  • The information screen can be manually refreshed using the ActionBar button.
  • Additionally, an automatic refresh delay can be specified. The default for this delay can be set in the settings/preferences. The value entered on the main screen will be used for the current session and will revert to the set default when the app is restarted.
  • Automatic refresh can be configured to start immediately on app startup.

System Overlay
The other ActionBar button toggles the display of the overlay service. This service will place a view of the system status information over the top of all other items on the screen. The overlay is totally touch transparent in that it will not respond to any touch operations and will not interfere with any interactions with widgets, apps or notifications on the screen.

The information displayed in the overlay is controlled by the checkboxes in the main screen. Items with a tick will be displayed in the overlay. And, yes, it is possible to remove all the fields. But why?

Additionally, the following preferences are available for the overlay:
  • position on the screen can be set to one of 8 positions. The default is 'Top/Left'.
  • font size can be set to one of 5 sizes.
  • field labels can be left or right justified.
  • field values can be left or right justified.
  • background opacity (i.e. how much it obscures the background items) can be set to one of 4 values: None (transparent, the default), 20%, 50% and 80%. Black is currently the only background color.
  • the display service can be launched automatically on app startup, similar to the auto-refesh functionality. In fact, they work well together.
Screenshots:
 
Translations:
If you think you can provide suitable translations of the app's language resources, please let me know and we'll gladly try to get your language supported.

Currently supported translations:
  • English - App base language
  • Portuguese (pt) - now there's a surprise!
  • Polish (pl) - Thanks to @galonpzw
Current Release
The currently released APK(s) are attached to this post and listed below:
  • GSKSystemStatus-1.2.apk
    Changes from 1.1:
    • Add Polish (pl) language translation - Thanks @galonpzw
  • GSKSystemStatus-1.1.apk
    Changes from 1.0:
    • Stop occasional double SU check.
    • Overlay Timer suspends when screen is off in order to preserve battery.
    • Add 'Exit' command to menu. This is a simpler way to stop both the app and the overlay service.
    • Code refactoring (non-visible change)
  • GSKSystemStatus-1.0.apk
    Changes from 1.0b8:
    • Data retrieval is now fully independent of the systemcat command.
    • Overlay is now a foreground service. This may fix the 'display stops' issue reported by @davidroid03
    • There is now an ongoing notification present while the overlay is active. This provides quick access to the main app.
    • Portuguese language fixes.
  • GSKSystemStatus-10b8.apk
Attached Thumbnails
Click image for larger version

Name:	gsk_ss1.png
Views:	5513
Size:	55.1 KB
ID:	2637953   Click image for larger version

Name:	gsk_ss2.png
Views:	5431
Size:	65.3 KB
ID:	2637954   Click image for larger version

Name:	gsk_ss3.png
Views:	5447
Size:	255.7 KB
ID:	2637955   Click image for larger version

Name:	gsk_ss0.png
Views:	3663
Size:	40.4 KB
ID:	2642647  
Attached Files
File Type: apk GSKSystemStatus-10b8.apk - [Click for QR Code] (88.0 KB, 157 views)
File Type: apk GSKSystemStatus-1.0.apk - [Click for QR Code] (91.2 KB, 125 views)
File Type: apk GSKSystemStatus-1.1.apk - [Click for QR Code] (92.0 KB, 214 views)
File Type: apk GSKSystemStatus-1.2.apk - [Click for QR Code] (95.1 KB, 216 views)
How to 'logcat' -> http://forum.xda-developers.com/show....php?t=1726238

Samsung GT-P7310
Samsung S2-i9100
The Following 19 Users Say Thank You to boscorama For This Useful Post: [ Click to Expand ]
 
Gustavo_s
Old
(Last edited by Gustavo_s; 19th March 2014 at 04:32 AM.)
#2  
Gustavo_s's Avatar
Senior Member
Thanks Meter 2,310
Posts: 607
Join Date: Aug 2011
Location: Curitiba
it's working great thanks for your awesome work!

a tip for people using other kernels:

in the next updates, if your kernel has these files the app will work:

Quote:
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
/sys/devices/system/cpu/cpu0/cpufreq/cpu_utilization
/sys/devices/system/cpu/cpu1/online
/sys/devices/platform/s5p-tmu/temperature
/sys/module/mali/parameters/mali_gpu_clk
/sys/module/mali/parameters/mali_gpu_vol
/sys/module/mali/parameters/mali_dvfs_utilization
/proc/sys/kernel/random/entropy_avail
Moto X: Stock KK
GT-I9100: CM11, my custom kernel (broken screen)

http://goo.gl/XjX1Dy <- click here if you wish to buy me a coffee
The Following 5 Users Say Thank You to Gustavo_s For This Useful Post: [ Click to Expand ]
 
boscorama
Old
#3  
boscorama's Avatar
Senior Member - OP
Thanks Meter 86
Posts: 164
Join Date: May 2012
Quote:
Originally Posted by Gustavo_s View Post
if your kernel has these files the app will work:
Yeah. The next version will work. The 1.0b8 version still needs your systemcat command.

But ... Real Soon Now! (tm)
How to 'logcat' -> http://forum.xda-developers.com/show....php?t=1726238

Samsung GT-P7310
Samsung S2-i9100
The Following 2 Users Say Thank You to boscorama For This Useful Post: [ Click to Expand ]
 
vrwmiaris1
Old
#4  
vrwmiaris1's Avatar
Senior Member
Thanks Meter 136
Posts: 752
Join Date: Feb 2013
Location: Thessaloniki
Subscribed

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk
S2 powered by FJ
 
davidroid03
Old
#5  
davidroid03's Avatar
Senior Member
Thanks Meter 50
Posts: 248
Join Date: Mar 2012
Location: San Fernando Pampanga
Thank you for this. The app is nice but needs a little improvement. The real-time status display is inconsistent, what i mean by that is,the display stops for some reasons. Thanks though,i love the app!
 
boscorama
Old
#6  
boscorama's Avatar
Senior Member - OP
Thanks Meter 86
Posts: 164
Join Date: May 2012
Quote:
Originally Posted by davidroid03 View Post
the display stops for some reasons.
When you say "stops" do you mean:
  1. the numbers no longer change?
  2. the overlay disappears?
  3. you get an FC or ANR?
  4. something else?
(I suspect it's the 2nd one, but I need to make sure.)

Quote:
Thanks though,i love the app!
Glad to hear it.
How to 'logcat' -> http://forum.xda-developers.com/show....php?t=1726238

Samsung GT-P7310
Samsung S2-i9100
 
boscorama
Old
#7  
boscorama's Avatar
Senior Member - OP
Thanks Meter 86
Posts: 164
Join Date: May 2012
Default New release

New release in OP. Enjoy!
How to 'logcat' -> http://forum.xda-developers.com/show....php?t=1726238

Samsung GT-P7310
Samsung S2-i9100
The Following 2 Users Say Thank You to boscorama For This Useful Post: [ Click to Expand ]
 
davidroid03
Old
#8  
davidroid03's Avatar
Senior Member
Thanks Meter 50
Posts: 248
Join Date: Mar 2012
Location: San Fernando Pampanga
Yes the overlay disappears. Will tru the new update now.
I believe it disappears because it is automatically being killed from the memory.
 
boscorama
Old
#9  
boscorama's Avatar
Senior Member - OP
Thanks Meter 86
Posts: 164
Join Date: May 2012
Quote:
Originally Posted by Gustavo_s View Post
in the next updates, if your kernel has these files the app will work:
Yep! As well as it can. Here's an example of the app running on Stock JB w/ PhilZ.
Some fields are unavailable but it will find what values it can.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-03-22-00-08-53.png
Views:	163
Size:	52.1 KB
ID:	2645975  
How to 'logcat' -> http://forum.xda-developers.com/show....php?t=1726238

Samsung GT-P7310
Samsung S2-i9100
The Following 2 Users Say Thank You to boscorama For This Useful Post: [ Click to Expand ]
 
boscorama
Old
#10  
boscorama's Avatar
Senior Member - OP
Thanks Meter 86
Posts: 164
Join Date: May 2012
Quote:
Originally Posted by davidroid03 View Post
Yes the overlay disappears. Will tru the new update now.
I believe it disappears because it is automatically being killed from the memory.
That's probably right. The new version should stop that. As a foreground service it will have a higher priority.
How to 'logcat' -> http://forum.xda-developers.com/show....php?t=1726238

Samsung GT-P7310
Samsung S2-i9100

The Following 2 Users Say Thank You to boscorama For This Useful Post: [ Click to Expand ]
Tags
app android, i9100, root required, system monitor
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes