yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] Blechd0se:
Hello guys :)

It's finally here, the Aero Control App i have spoken for so long. This is actually my first contact with Android App Development. Since

i know how the kernel works and what it does, its quite frustrating to see, that users could customize their phone even more with just

simple tricks and shell commands. However for the most its a pain to type on such a small screen such wired commands in a shell.

Thats why i created Aero Control!

Aero Control features a nice and shiny user interface following the Google Guidelines for User Interface Design.

Its designed to give new and inexperienced users a quick start to set things up while not overwhelming them with information.

On the other hand even advanced users can tweak many parts of the OS & Kernel to get the most out of their device.

Basically, it gives you full control over your device without the knowledge to know each parameter or path.

Aero Control will hopefully someday replace the Defy Parts in the Settings.apk of Android and ship with each new ROM release.

Since this is my first app, bear with me. I am human too :)

Disclaimer;

The good part about this is, its Open Source! That means everyone can grab the code and modify/compile it for free! I want this to become more

like a community project. Everyone can suggest features / send bugs or even do a pull request. The code is actually quite

easy to understand, at least i tried to document it as good as i can. It's probably also a good way to learn java :)

You can also help me translating if you want to. I take no responsibility for what you do to your device.

Help with Translations:

You can help me with translations. This is the file that needs to be translated. You can either fork my project on github and make a pull request to send me your translated file

or you send me a pm or you post the file here in this thread. If you don't know where you should save your file, have a look over here.

Make a new folder and add your language flag (example; values-es for spanisch files).

Enough spoken, here are the features;

Full CPU Control (Change each parameter for every governor out there!)

Live CPU overclock/underclock

GPU OC/UC (overclock/underclock from a nice to use interface)

Memory Performance Tuning (enhance performance even further e.g. enable fstrim or zcache)

Basic Kernel Backup/Restore Option

Set your values on Boot

Basic DefyParts features

Profiles - define your own profile on the fly!

CPU Statistics overview

Per-App Profiles!

'Your Settings'-Feature

AppMonitor

This App is designed to not only work on the Defy, i tested it with my Nexus 4 and most of the Features work there as well.

Aero Control on Play Store

Download

Aero Control on Github

Have fun and enjoy! :)
[Defy Android Development] chule250:
sorry for the noob question but.. does this work on stock kernel?
[Defy Android Development] jalal-jap:
can I use this apk For other device ( XT910) ?
[Defy Android Development] EldonTyrell:
Thank you for your work. All the amazing developers keep me on this little workhorse device.

One thing I notice: Overview has deadline in brackets, my selection according to system settings. Noop always looks to be selected in Memory Tuning menu. If I select deadline, exit and return, still says noop. I'm on SlimBean 4.3 if that matters.
[Defy Android Development] pravarth:
I was under the impression that the memory controller on the defy doesn't support trim. Has the fstrim command worked for anyone?
[Defy Android Development] jassi32:
Thanks for such an awesome work ---

just installed it , and i liked the interface - its great :D :D

I know its Alpha -- this is my report so far .....

Initially the app showed me some wrong reading --- like GPU @ 100 mhz , while its was on 200 mhz ,

after setting -- gpu @ 266 , enabling zram , and a reboot --

it still shows nothing enabled -- gpu @ 200 , zram disabled --

1 more strange thing is ,its showing me I/O scheduler as noop , while i am on deadline ......

terminal too shows gpu at 200 after reboot , so i have to it up manually ....... no problem for me .......

P:S - i on Mokee 4.3 rc 1 , using 5th oct aero kernel + i had flashed pure performance mod on top of it
[Defy Android Development] ela1103:
Could you provide the 5th oct aero kernel +
[Defy Android Development] Blechd0se:
Most likely yes, but you won't have the same features as with one of the most recent Aero Kernels. Just give it a try.

In theory yes. I designed it to work with other devices as well. However you won't have something like GPU overclock properly-

Just try it and report back :)

It does support fstrim, i fixed a few bugs in it and also disabled it in ramdisk. Just try it and report back, thanks :)

Yes, i have to take care of some initial values. I will fix this as soon as possible :)

Set at boot is currently not implemented, because i want all features to work before one can set them at boot.

So its kind of normal behaviour. The scheduler thing is a bug, it just sets the first scheduler it sees.

Please don't post such questions in this thread. There are plenty of other threads to post/ask/search this, thank you :)
[Defy Android Development] Anton111111:
Cool!

It will very cool if you will add profiles like power saving, performance and etc. with pretuned cpu and gpu settings.
[Defy Android Development] Kayant:
Great

Great to see it's in Alpha now :)

Am guessing it's not build able yet during Android runtime right??
[Defy Android Development] Blechd0se:
That sounds like a good idea, but i need the help of the community here. Play around with the settings and if you found

something like the best possible configuration send me a pm or post it here.

Something like: Governor: interactive; hispeed_freq: 800 mhz, target_loads: 80; gpu oc: 266 mhz

It's very easy with the app :)

What do you mean by android runtime? It is buildable (using android studio here). Just import the project and hit compile :)

If you need any help here, just say it :)
[Defy Android Development] TJKV:
Inbuilt presets are cool, but what about presets that the user can create after installing the app? Because personally I would much rather create my own presets than use hardcoded ones. Also I don't think it is possible to define the best possible configurations either, since some devices don't work well with settings that may work well on another device. Example would be vsels, where some devices can go really low or maybe really high with no problems.

He might have meant including the app into the android compile process, so when we compile our roms (PA, SB, PAC etc) it will build and package aero control into the rom automatically. I guess it should be possible, I'll look into how to do it.

BTW OT for this thread but: I just compiled a debug enabled kernel. Is this correct? I have included "mount -t debugfs nodev /sys/kernel/debug/" in an init.d script I have been using that overclocks the gpu.
[Defy Android Development] Blechd0se:
Yes that might be the solution for the long term. At the moment i have no clue how to realize that and first of all i want to include

all the basic stuff (defy parts and updater will probably take a while :) ). The reason behind those hardcoded values is simple;

if users report back that values fits the best for them i can make them default in the kernel and all users can benefit from it :)

If you have any news here, just report back. I am sure others are interested in this as well :)

Yes the commit looks right for me. Also putting it in a init.d script is also a good choice, but remember as long as these options are enabled, there is no

deep sleep. If booted up check /sys/kernel/debug/* with a file explorer or with the cat command. If it exits everything went well.

You can always check the documentation of the linux kernel, if unsure :)
[Defy Android Development] TJKV:
Okay :)

Yup confirmed it works :)

Oh, thanks for reminding me about the deep sleep!

But the leaks in the log on your server are really small right, just 64 bytes each? Do those really affect anything? And yes i'm reading the kernel.org docs on kmemleak slowly :p
[Defy Android Development] pravarth:
Ok, i tried fstrim command, using both the app and issuing command through adb. It works! :good:

Although I didn't run a benchmark to validate if there was any real improvement

# fstrim -v /data
/data: 535531520 bytes was trimmed

When I run fstrim through the app, there is a popup which shows "trimming" and then % completed. But during the process of trimming the phone doesn't respond for a while, so the % doesn't move beyond 0% at all until it is successful. I think it is unnecessary to have the % completed if it doesn't really work'.

Instead if you could show a message asking the user to expect the phone to be unresponsive and wait until the process is complete, that would be better. Otherwise, they maybe tempted to pull out the battery thinking it's stuck. Just my opinion. Also I appreciate the good work :)
[Defy Android Development] skrewie:
Max OC 1000mhz ? Cant get it to 1200...... :(
[Defy Android Development] pravarth:
You can set the cpu clock speed and vsel in the bootmenu. Of the 4 clocks that you set in the bootmenu you can choose whichever to be the max/min in the app, much like how you could in the performance settings.

The only apps afaik in which you can set clock/vsel are setvsel and milestone overclock.
[Defy Android Development] Kayant:
Yep this what I meant :p I should have been clearer. I think to build during compilation something like this is needed so android knows to build the app. So I guess not yet ;)
[Defy Android Development] skrewie:
Thanks ! My defy is now running @ 1.3 GHz ! Works great, this phone is awsome thanks to all dev people !!!
[Defy Android Development] Lord_Flaya:
+1 for both cm and slimkat
[Defy Android Development] bhupatib:
[MENTION=4472055]Proverbs2[/MENTION]

You can use set at boot from the cm performance settings. It sticks if you do it there.

Generally I don't use the aero control set at boot feature as it feels laggy at startup, instead I use profiles having my custom tweaks (IO, VM, OC/UV, Governor parameters) and apply them manually sometime after boot.
[Defy Android Development] Proverbs2:
Thanks for the suggestion, but I'm using SlimKat, which does not include performance settings.

[MENTION=4855459]Blechd0se[/MENTION], would you mind taking a look at this issue when you get a chance? Thanks!
[Defy Android Development] okij:
I can confirm this bug for Aero Control, but - until it's fixed - you can easily change the scheduler via System Settings -> Performance. :)
[Defy Android Development] Proverbs2:
Alas, SlimKat does not have the performance settings menu :crying: That's a CM11 feature.
[Defy Android Development] Blechd0se:
Hello guys,

its been a while since my last release, but here comes pretty big one! Besides the usual bug fixes as well as performance improvements

this release has greatly improved the profiles section. You can now enable profiles on a per-app basis. Moreover you can do this

with any kernel out there as long as Aero Control offers settings for it.

Accidentally deleted a profile? No problem, you can undo your action with just a single click. There also a few new settings to play with

such as IO scheduler parameters.

This release supports also gpu overclocking on the 3.0 kernel. I am really excited about this release, since i put countless hours in it,

if you don't believe me, just try it yourself. It's free after all!

Full changelog;

[Commit]: Version 1.4.0

[Commit]: profiles: add a small tutorial for per-app

[Commit]: profiles: improve per-app profile performance

[Commit]: settings: set correct permissions on su-call

[Commit]: boot: start per-app service during boot

[Commit]: studio: optimize all the imports

[Commit]: gpu: add gpu overclock for 3.0 Kernel

[Commit]: misc: add thermal control

[Commit]: profiles: add a undo functionality

[Commit]: library: add undobar lib

[Commit]: translations: update translations (english/german)

[Commit]: settings: add voltage control to set on boot

[Commit]: settings: add io scheduler parameters to boot

[Commit]: memory: add io scheduler parameter option

[Commit]: shell: fix NPE in workqueues

[Commit]: settings: save default profile only in per-app mode

[Commit]: aero: add per-app handling into main process (3/3)

[Commit]: profiles: add per-app profile selection (2/3)

[Commit]: per-app: add the backbone of per-app profiles (1/3)

[Commit]: showcase: fix button alignment on kitkat devices

[Commit]: shell: don't ever return null

[Commit]: aero: calculate the right value for actionBar

[Commit]: tutorial: make room for tutorial screens

[Commit]: profiles: rework the profile presentation

[Commit]: cpu: set the right catch condition

[Commit]: shell: add a small workqueue api

[Commit]: voltage: fix out of array issue

[Commit]: voltage: add proper kitkat layout changes

[Commit]: activity: bring in some kitkat flavor

[Commit]: helpers: allow preference handler to use new font-system

[Commit]: helpers: allow to change the font for each prefence

[Commit]: cpu: fix a NPE during min/max frequency change

[Commit]: helpers: make the preference handler a bit smarter

[Commit]: cpu: add voltage control

[Commit]: aero: implement new app rating reminder

[Commit]: library: dar: add allowPlayLink method

[Commit]: library: dar: add a simple auto hide function

[Commit]: library: add discreet-app-rate lib

Google Play Download

Download

As always, enjoy!
[Defy Android Development] bone101:
Version in play store is still 1.3..

Sent from my MB525 red , froyo 2.2.2 german blurless service.sbf, as stock rom
[Defy Android Development] Proverbs2:
Check again, it has been updated. (It always takes a while for Google Play to update.)

This new release is AWESOME, thanks [MENTION=4855459]Blechd0se[/MENTION]!

By the way, this update fixes the bug mentioned in my previous post: scheduler settings now stick after reboot. :good:
[Defy Android Development] irekd:
Switching profiles based on running app

Continuing the thread related to camera issue from kitkat dev thread...

[MENTION=4855459]Blechd0se[/MENTION] is there a way to find out which governor is currently used? I tried switch between Camera and AeroControl apps using multitasking switching to check if Overview view will show governor change, but nothing is being changed. Should it change dynamically in the Overview or it shows only default governor not showing the "temporary" one?
[Defy Android Development] Blechd0se:
The overview panel always shows live data, so if you change your governor it should display your changed one (the currently active).

If you have per-app profiles enabled you'll should see a small toast saying something like "Per-App Profile has been applied" when

launching an app which you have assigned. Once closed (or even switched to multitasking overview) you'll should

notice another small toast saying "Returning to normal usage".
[Defy Android Development] okij:
Just to be sure: Did you check Per-App Profile Service in settings, as Blechd0se explained on the CM11 thread?
[Defy Android Development] irekd:
Yep.

I can't see anything like this. The only thing I can see is the info that "Superuser granted to AeroControl".

-----------

Edit: At last I can see it works! Hooray! The thing was in clearing AeroControl cache and data and setup all from scratch.
[Defy Android Development] Blechd0se:
v1.4.1

Just pushed out a bug-fix release to address a few issues in the past release.

A few eye-candy here and there as well as improvements for the lately introduced per-app profile service.

Also a fix for the fstrim command. I hope this fixes some strange issues from the past releases and should

allow compatibility whether you have your device formatted with ext3/ext4/f2fs.

Get it while its hot! As always, google play store takes some time until its available.

Full changelog;

[commit]: Version 1.4.1

[commit]: helper: fix haptic feedback in genPrefFromFiles()

[commit]: profiles: notify the user if service isn't running

[commit]: aero: add a fresh actionbar icon

[commit]: memory: fix trimming on non-supported fs

[commit]: profiles: fix deleting during fragment switch

[commit]: profiles: improve general memory footprint

[commit]: profiles: sort per app profiles by name

[commit]: profiles: speed up loading process a bit

[commit]: library: cleanup the mess a bit

[commit]: cpu: fix stuck min/max frequency

[commit]: profiles: add items only if they exists

As always, enjoy!

Download

Download Google Play
[Defy Android Development] jassi32:
[MENTION=4855459]Blechd0se[/MENTION] -- hey thanks for the Great work --- like to recommend something related to per app profile ----

like u said once for camera app --dat certain profile makes camera work flawless , i like to say make profile widgets --- we just tap widget and profile gets activated and tap again gets back to default ------ hope you get what i mean to say

Thanks for the awesome work
[Defy Android Development] irekd:
[MENTION=4855459]Blechd0se[/MENTION] according to AeroControl my Defy uses mainly 800 MHz freq on Interactive governor, although max frequency is set up to 1200 MHz. It is like this on current (updated today, force stopped and cleared data/cache) version of AC and it was the same on previous AC version as I wrote in Quarx kitkat thread. I don't know if AC can be a culprit - I just report the issue. To be clear, in statistics there is 1200 MHz used, but only through 2,25 mins for about an hour since rebooting Defy. And we all know that after reboot the device must settle down what takes a few minutes (more than 2 mins) and the processor uses max freq during that time. Usually even touch the screen makes the device change frequency to 1200 Mhz and in described case it doesn't. Just changes from 600 MHz (my min freq) to 800 MHz. I don't use 300 MHz as min value to avoid camera bug (reboots).
[Defy Android Development] frozenwaverider:
Hi, as a work around, set AC how you like it then save a profile

Then if you face this problem again after flashing a new ROM you just need to load the profile, it should only need to be done once after flash

MB525 Red, Nord BL7, HF5X, Quarx CM11 - 21/06/14
[Defy Android Development] Blechd0se:
Not sure if its a App issue, since it reads just what the kernel offers. If you have overclocked with an different app it might cause this problem.

If you are in the overview panel and swiping the notification bar down/up you'll should notice that it goes up to your 1.2ghz. If not, something is

very strange.

Sounds like a great additions. I will put on my todo list if it fits into the overall usage :)

Yesterday i pushed another small update (1.4.2). Nothing really fancy.

I noticed that loading the profiles panel on my nexus 4 takes quite some time (even more than on my defy which is really strange). The update partially

addresses this issue. I guess its just a problem of my device. Also the background thread for profiles should be a bit smarter.

I am not sure if i will stick to this "fast release circle". I am experimenting with it. I would appreciate any feedback here.

Furthermore i have to give you all a hug, Aero Control does have a good rating on google play, thanks to your support! :highfive:
[Defy Android Development] irekd:
Well, I don't have any other overclockers installed. I've addressed the issue by adding profile in Ac and activating it as [MENTION=4998126]frozenwaverider[/MENTION] advised. It started to work since then. It looks like from some reason AC setup sometimes doesn't want to work properly if it's not ran as a profile.
[Defy Android Development] okij:
First of all, thanks for your continuous development on Aero Control! :)

No, unfortunately it's also a problem on the Defy.

Currently, I have 172 user apps on my Defy (according to Link2SD), which is quite a lot, but works flawlessly and doesn't slow down my Defy or such. Many of these apps I don't use often and have moved them to SD Card with Link2SD. :)

If I compare the loading time for the app list for different system tools, I get the following result:

Link2SD: 15 seconds

Android System Info: 7 seconds

Aero Control 1.4.2: 58 seconds (!)

So the current version of Aero Control takes 4 to 8 times as long in comparison with the other tools.

Therefore it would be great if you could debug or optimize this part of the code. :)

Besides general optimizations, I have the following suggestions for this:

How about caching the app list in a file on the Data partition after first collecting it?

IMHO, it would be better if the app list isn't already loaded when the Profile section is opened by the user, but only if the user picks the selection of the apps to assign to a profile (i.e. the little face button). This way, the user wouldn't have to wait for any app list to load if he just wants to switch manually between the profiles (which I often do).

IMO the fast release circle is fine as long as the app stays as stable as it was with the past releases. So - before you upload a new version to Play Store - it should be tested for the basic functions to work, because by now more than 5000 users have installed Aero Control via Play Store and I'm sure most of them have the automatic updates activated.

BTW, gratulations for the many downloads of your app! :good: (It would be interesting to know how many Defy users are among them and on which other phones your app is used by now. :cool:)
[Defy Android Development] TNCS:
This is one of the two best kernel program I've used. Keep up the good work!

I have few ideas and suggestions:

- Under CPU maybe another setting for max frequency on idle/lockscreen? The is useful especially for custom ROMs where we get a lot more stuff the the usual stock ROMs.

- Voltage control is too risky without any confirmation where as it applies on the fly.

- Another tab called 'Kernel' or something for the usual custom Kernel settings? Such as MPDecision, Intelliplug, MSM Plug, EXT4 optimization, USB Fast Charge, etc.

- The animation of CPU cycle is... a bit pointless? It nice already with the pie chart where the bar graph is common on other kernel app. Clear the animation code I think is good. But that just my point of few.

- Dark Holo Theme please. Not just the action bar/menu.

At the moment Aero Control is excellent for adjusting CPU frequency orientated settings, but lacks many option for common custom kernel control. Never the less, it still one of the two best kernel tweaking programs I've used. Thanks for the hard work. Mind I say, for a 1st time app, it kick ass.
[Defy Android Development] rahul9871:
Get well soon Bro :)
[Defy Android Development] okij:
I don't think that the sorting process is too slow, because also with the previous AC version (that didn't have sorting) it took very long, maybe also about one minute.

Therefore I think that the way of getting the app information could be changed or optimized.