PDA

View Full Version : Settings control to work with tanimn's kernels



parabola949
05-12-2011, 04:10 PM
TEST VERSION AVAILABLE
Latest update to test version (Please test these items):
Current CPU Speed reading.
Scaling selection- after you select a new scaling, a toast will pop up- if it shows the old scaling, it didn't work. If it shows the new scaling, it worked.
Minimum and Maximum CPU Frequencies: Should not be able to over lap (min > max)
Should take effect as soon as you let go of the slider. verify by setting both sliders to the same freq, and watch the CPU Speed reading at the top.
Undervolt is setup- set what you want, hit apply. Toast should reflect new voltages at the bottom. Exit app, reload, should still be there.
Unplug phone, Reconnect phone - should get a toast stating these actions (UPDATE) : Enable Fun Messages, and try these things out... see what happens :)
Download here (http://dl.dropbox.com/u/22463231/ACS%20Toolbox.apk)

This is more of a spot for me to drop what I'm currently doing with this app, so that progress / status can be seen, and commented on if something should be changed.
EDIT: I'll also include screenshots of what it currently looks like when I have time. Please understand- I am not a themer. Graphics at this time are very limited, I am only building the basic UI / code at this time. Graphics will be done when coding is finished.


Anyways, at the current moment, I'm just going to post the code flow of how the app is going to work. Tanimn, take a look, agree, or comment on changes needed.

Code flow for app:


Not Done
In Progress
Completed
App Loads
get current governor = String curGov
get current uvTable = int[] curUv
get current Max cpu = curMaxCpu
get current Min cpu = curMinCpu
get current cpu speed = cpuSpeed

Load UI
Display CPU speed (run a seperate thread which constantly updates this)
Sliders on each side for cpu settings - preset to curMaxCpu and curMinCpu
drop down for governor - preselected with curGov
Button to go to scheduler... (this will be done last, on timeline of development)
tables for undervolting - loaded with curUv
Buttons - Apply, Cancel
User does input, makes changes
Scaling / Governor Changes take effect immediately
Undervolting changes take effect when hit apply
Button Actions:
Apply:
runs function applyChanges();


Scheduler:
Create UI
Create menu (press menu key) to bring up Add new condition action
Long Press on row = remove condition
Save settings to file
Link scheduler to system intents
Fix issue with blue separators between rows

Other related Shtuffs:
Check for / create userprefs directory / file.
Read this file into variables
write current settings to the file
setup the init.d scripts to set on boot.
Pretty up the UI


Latest Screens:
http://dl.dropbox.com/u/22463231/toolbox7.pnghttp://dl.dropbox.com/u/22463231/toolbox4.png
Removed some of the screens.... quite a few going....
I need to find some new icons (or someone could make some spiffy ones ;) )
Link to picasa album for All screens:
https://picasaweb.google.com/100351380782421508825/ACSToolbox?feat=directlink
Or just use this: http://dl.dropbox.com/u/22463231/toolbox7.png and change the number from 1 to 7.. I'll add these to google later

**Ignore below this line**
https://github.com/CyanogenMod/android_packages_apps_CMParts
https://github.com/CyanogenMod/android_packages_apps_CMPartsHelper

k0nane
05-13-2011, 10:04 AM
This is now the ACS Toolbox, folks... Here's how I see it, tabs:

CPU
- design as previously discussed
CPU states?
- see CPU Spy code @ https://github.com/storm717/cpuspy
Battery
- display battery usage stats (see Spare Parts code)
Tweaks
- lockscreen choice (maddoggin is a god amongst men)
- clock on/off
- AM/PM on/off
- display MSL (should be a simple script)
- startup sound on/off (rename file)
- shutdown sound on/off (rename file)
About
- info about app
- link to ACS website
- source code @ Github?

parabola949
05-14-2011, 12:00 PM
Reserved for future post

parabola949
05-14-2011, 12:03 PM
This is now the ACS Toolbox, folks... Here's how I see it, tabs:

CPU
- design as previously discussed
CPU states?
- see CPU Spy code @ https://github.com/storm717/cpuspy
Battery
- display battery usage stats (see Spare Parts code)
Tweaks
- lockscreen choice (maddoggin is a god amongst men)
- clock on/off
- AM/PM on/off
- display MSL (should be a simple script)
- startup sound on/off (rename file)
- shutdown sound on/off (rename file)
About
- info about app
- link to ACS website
- source code @ Github?

Got the tabs started, see screenshot.
Had a thought this morning. tanimn originally had requested a steampunk styled theme- but this was when it was only cpu controls. Now that we are adding more, and making it the ACS Toolbox, not sure if that's what we want. SO- how about we request our themers to come up with various themes for the toolbox, and we can possibly include a switcher in the About tab? Who'sever theme is voted on / liked best will be the default- make some fun out of this :) (Please- someone do the steampunk theme though. It was the original idea- and I really want it too lol)
Thoughts anyone?

parabola949
05-15-2011, 12:59 PM
Ok, so apparently this thing behaves very differently for Shabby. If anyone else downloads the pre-alpha apk, and gets an FC, please post the logcat for it.

rjmjr69
05-27-2011, 01:50 PM
Amazing amazing work bro. Getting there I can't wait to see the final product