yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] dabl8:
Bug reporter is malfunctioning so here's the crash I get when I go to disk info tab after fresh install of 2.1.9 beta 2 (jb2 branch on github. Would you mind bumping the version codes please?

--------- beginning of /dev/log/system
E/AndroidRuntime(11240): FATAL EXCEPTION: main
E/AndroidRuntime(11240): java.lang.NullPointerException
E/AndroidRuntime(11240): at com.brewcrewfoo.performance.fragments.DiskInfo.loadData(DiskInfo.java:270)
E/AndroidRuntime(11240): at com.brewcrewfoo.performance.fragments.DiskInfo.onCreateView(DiskInfo.java:188)
E/AndroidRuntime(11240): at android.app.Fragment.performCreateView(Fragment.java:1695)
E/AndroidRuntime(11240): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:885)
E/AndroidRuntime(11240): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1057)
E/AndroidRuntime(11240): at android.app.BackStackRecord.run(BackStackRecord.java:682)
E/AndroidRuntime(11240): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1435)
E/AndroidRuntime(11240): at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:474)
E/AndroidRuntime(11240): at android.support.v13.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:145)
E/AndroidRuntime(11240): at android.support.v4.view.ViewPager.populate(ViewPager.java:895)
E/AndroidRuntime(11240): at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:469)
E/AndroidRuntime(11240): at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:441)
E/AndroidRuntime(11240): at android.support.v4.view.ViewPager.setCurrentItem(ViewPager.java:422)
E/AndroidRuntime(11240): at com.brewcrewfoo.performance.util.Helpers$1.onClick(Helpers.java:421)
E/AndroidRuntime(11240): at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:941)
E/AndroidRuntime(11240): at android.widget.AdapterView.performItemClick(AdapterView.java:298)
E/AndroidRuntime(11240): at android.widget.AbsListView.performItemClick(AbsListView.java:1100)
E/AndroidRuntime(11240): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2749)
E/AndroidRuntime(11240): at android.widget.AbsListView$1.run(AbsListView.java:3423)
E/AndroidRuntime(11240): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime(11240): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(11240): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(11240): at android.app.ActivityThread.main(ActivityThread.java:5227)
E/AndroidRuntime(11240): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(11240): at java.lang.reflect.Method.invoke(Method.java:511)
[Android Apps and Games] h0rn3t:
Can tou tell me if you have external SD?
[Android Apps and Games] dabl8:
Yes, I do. I've already confirmed the app doesn't crash on a device without external SD.
[Android Apps and Games] h0rn3t:
I made a test version. If no FC, please provide me a logcat filtered by PerformanceControl.
[Android Apps and Games] dabl8:
Can you push it to a repo so I can build it myself? I don't like installing prebuilt root apps. The crash happens even at Time in State tab and in other tabs.
[Android Apps and Games] h0rn3t:
In this case I dont think I have a solution. What rom do you have?

EDIT: On my github is the last version.
[Android Apps and Games] dabl8:
CM nightly from a couple of months back on p990.
[Android Apps and Games] h0rn3t:
Is impossible for me to support all devices, so on some works, on other not.
[Android Apps and Games] dabl8:
Thanks anyway. I'll stick with this version since it does mostly what I need to do and I'll keep an eye on upcoming versions. I should have mentioned I'm using CM10.1 with Kowalski kernel. I've found that General info doesn't crash; it's only Time in State, Disk Info and Tools. The commit I used is 17f6e6df80c891d1.
[Android Apps and Games] h0rn3t:
This is very important information, and means that the problem is located in disk info. I will push some modification on github. Compile and provide a logcat.
[Android Apps and Games] h0rn3t:
Yes. Is clear... the problem is on external sdcard detection. I already push a test version on github.
[Android Apps and Games] h0rn3t:
I need log after this D/PerformanceControl( 4983): SDCard 1: /storage/sdcard. You stopped too soon. Did you get FC?
[Android Apps and Games] dabl8:
No , it's working fine now. I made the same fix as your recent commit. That's where the log stopped.
[Android Apps and Games] h0rn3t:
OK. The program doesnt detect your external sd. What is the pah of your external sd?
[Android Apps and Games] dabl8:
/storage/sdcard1; I haven't edited it. Back in CM7.2 days there was huge confusion over mount points vs. Internal sdcard.
[Android Apps and Games] h0rn3t:
For the moment I dont have a solution in your case but I will try to find one...
[Android Apps and Games] h0rn3t:
I had an idea, made a few changes and pushed to github. Can you compile and tell me if it works ?
[Android Apps and Games] dabl8:
Works fine. Log says : I/Choreographer(11725): Skipped 56 frames! The application may be doing too much work on its main thread.

I/ActivityManager( 389): Displayed com.brewcrewfoo.performance/.activities.MainActivity: +1s839ms

D/PerformanceControl(11725): SDCard 1: /storage/sdcard

D/PerformanceControl(11725): SDCard 2: /storage/sdcard1
[Android Apps and Games] h0rn3t:
OK
[Android Apps and Games] h0rn3t:
When you open from recent apps?
[Android Apps and Games] dabl8:
It crashes direct from launcher.
[Android Apps and Games] h0rn3t:
I'll investigate and let you know.
[Android Apps and Games] Darian71:
Confirmed. It usually takes about 30 seconds after boot then box pops up saying Performance Control stopped working. Then about 15-20 seconds later box says Performance control granted Super User. And it works fine after that. Every once in awhile it will FC while I have it open, not very often though. Has happened on 3 different kernels I've used. Running latest Carbon Linaro Rom 12/15 for Galaxy Grand GT-I9082 :thumbup:
[Android Apps and Games] h0rn3t:
Thanks for repoting...
[Android Apps and Games] Darian71:
Thank you sirs for collaborating and compiling this amazing tool. Still new to code but love to test. :thumbup: And apologize for not mentioning the Carbon Rom is 4.4.2,thread maintained and updated by [MENTION=5273865]xenon92[/MENTION]

http://xdaforums.com/showthread.php?t=2567881
[Android Apps and Games] h0rn3t:
Hi,

I attached new version. Please test it and let me know if fc persist. Thanks.
[Android Apps and Games] Darian71:
Should I do as before and move to /system/app after install and set permissions to rwrwrw? rw-r-r wouldn't let the settings stick lastime I installed. But would as well with rwxrwxrwx. Thanks
[Android Apps and Games] h0rn3t:
Yes.
[Android Apps and Games] Darian71:
After moving to /system /app, set permissions to rwrwrw. I went ahead and set what I wanted. Exited the app. Re-opened to check and all settings were still there. So decided to reboot my device before testing performance of my kernel changes and same issue. About 30 seconds after boot, said Performance Control stopped, then shortly after it was granted su permissions. However I did notice it's reading sdcard1 and sdcard 2 now. Side note: after reading I could adjust my CPU voltages in the settings menu, I clicked on Governor and it immediately FC. Could be my kernels not allowed those settings though. I haven't found a controller that will yet. I'm an now using k2wl's v1.0 release 1/16. Going forth with testing now. :thumbup:
[Android Apps and Games] h0rn3t:
Can you delete app data from system settings > apps >performancecontrol and reboot again...

EDIT: a logcat if you can provide...
[Android Apps and Games] Darian71:
Sure thing. Gimme a aecond
[Android Apps and Games] Darian71:
Sorry brother, same issue right after reboot. Wasn't able to delete data, but was able to clear all data which returned everything to original settings. Went ahead and reinstalled the app while in /system/app, rebooted and same thing. Then changed permission from rwrwrw, to rwxrwxrwx, rebooted and still got same message telling me app stopped. But as always, it then gets su rights granted.
[Android Apps and Games] h0rn3t:
can you verify if you have this files:

1. /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

2. /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor (what permissions have this?)
[Android Apps and Games] Darian71:
Checking now

---------- Post added at 05:27 PM ---------- Previous post was at 05:21 PM ----------

Scaling_available_governors showing r-r-r

Scaling_governor showing rw-rw
[Android Apps and Games] h0rn3t:
It seems to be ok. I dont figure out why appear fc.

It happens only when you try to change governor?
[Android Apps and Games] Darian71:
No sir. It always happens on reboots. And just discovered it instantly happens when I'm in CPU governor settings, and click on Governor settings. Immediate foreclose. (screenshot below). I can change governor's just fine and slider voltages. Not sure if anyone's mentioned it, but on this particular screen only, you literally have to chase the settings down as the screen is constantly moving up and down. Lol.
[Android Apps and Games] h0rn3t:
Now I understand. On reboot and on governor settings (tunable). Are you available tomorrow for more testing?

Thank you very much for helping.
[Android Apps and Games] Darian71:
Yes sir. I just had sinus surgery so I'm confined to the couch in the reclining position. So just yell when you need me. It's 5:56pm here now. Should I decide to leave home it will be late in the evening around 4pm. But will have my phone with me and data. Thanks! :D
[Android Apps and Games] h0rn3t:
OK :good:
[Android Apps and Games] h0rn3t:
When you have time, please try this version...
[Android Apps and Games] Darian71:
Let me uninstall the other version and will report back ASAP. :thumbup:
[Android Apps and Games] Darian71:
Uninstalled previous version, installed this one after moving to system app. Permissions were set to rwrwrw. Rebooted and first got the Super User window asking me to allow. Clicked allow and immediately gave the pop-up saying Performance Control stopped working. Set various controls then rebooted and got the same brother. Faster on boot this time though.
[Android Apps and Games] Darian71:
Sorry, must be Tapatalk providing double posts. I have to make a few calls but just leave me further instructions and will get back
[Android Apps and Games] h0rn3t:
Please be sure you installed the correct version, because I see that attached app has 0 views !
[Android Apps and Games] Darian71:
I clicked on the one you provided above and it directly dowloaded soon as I clicked on it.
[Android Apps and Games] h0rn3t:
What about governor settings, still FC?
[Android Apps and Games] Darian71:
Yes it does.
[Android Apps and Games] h0rn3t:
please tell me what version is showing in performancecontrol app
[Android Apps and Games] Darian71:
I took screenshots as it only says Performance apk. But shows the 18th.
[Android Apps and Games] h0rn3t:
Open PerformanceControl app, use menu and App Settings. You will have the varsion.
[Android Apps and Games] Darian71:
Sorry. It shows beta3 version.
[Android Apps and Games] h0rn3t:
correct. no ideea why you still get fc. You have the widget active?
[Android Apps and Games] Darian71:
No sir. I don't guess. Didn't know there was a widget. Lol
[Android Apps and Games] h0rn3t:
Must investigate more. Thank you for helping me and we keep in touch.
[Android Apps and Games] h0rn3t:
Hi,

I mage some changes and push to github. When you have time, can you test it and tell me if fc persist? Thanks
[Android Apps and Games] h0rn3t:
Wait, I think I found it. I want one more test.

EDIT: here is
[Android Apps and Games] Darian71:
Lol. No problem. Be glad too. Downloading now and will check version before installing
[Android Apps and Games] h0rn3t:
I dont change version, is the same beta3...
[Android Apps and Games] Darian71:
Not sure what you did but on boot NO FC! It shows "Performance Control boot complete". Gonna reboot after setting a few things and try again. :D:thumbup:

---------- Post added at 09:29 AM ---------- Previous post was at 09:18 AM ----------

YOU DID IT!!! Every time I open the app it says su granted to Performance Control. And every time I open Antutu Benchmark it says su granted to Performance Control! First time that's ever happened! Rebooted 2x and pop up displays Performance Control boot complete! Working perfectly! Scored 11500 on first attempt.

My installation instructions : Removed Performance Control from /system/app/, moved downloaded update to /system/app. Installed update. Then cleared data from Performance Control in app settings. Rebooted, then applied my favorite settings and tested. GOOD JOB! :thumbup::D:thumbup:
[Android Apps and Games] h0rn3t:
:good: Thaks again for help.

I will bother you when I get ready to test support for multicore (you have dual core right?).
[Android Apps and Games] Darian71:
Yes. Dual core. Just one issue left, and as I said, it may be just this kernel, but governor settings still FC when I try those. Otherwise it's stable as can be. THANKS AGAIN! :thumbup:
[Android Apps and Games] dabl8:
I've been running it for a few hours and haven't got any FCs; so far so good. I had to compile against android-19 btw.
[Android Apps and Games] h0rn3t:
OK. Thanks.
[Android Apps and Games] h0rn3t:
Hi,

Fixed fc on governor settings. When you have time please make a test.
[Android Apps and Games] houssam10001:
Fc on vibration control setting
[Android Apps and Games] h0rn3t:
When is happend? When the dialog is open or after save value?
[Android Apps and Games] ahmed dzico:
Can I use it for slimbean ROM 4.4.2 ??
[Android Apps and Games] houssam10001:
When the dialog is open
[Android Apps and Games] ahmed dzico:
Thanx [MENTION=4674443]h0rn3t[/MENTION]
[Android Apps and Games] h0rn3t:
can you help me with a logcat?
[Android Apps and Games] h0rn3t:
hopefully this version has solved all known fc...

DELETED
[Android Apps and Games] Darian71:
Tested the b4 update today while trying out Chotu222 's kitkat-x Rom. The Governor settings worked perfectly with no FC. However the CPU advanced screen was blank. Reverted back to Carbon Rom, and on v.b4 and b5,the Governor settings FC the app and the CPU advanced screen is still blank. :what:
[Android Apps and Games] houssam10001:
http://www.mediafire.com/view/?r2ybah1odduv3h7
[Android Apps and Games] h0rn3t:
Thanks. Found the problem in your case. Will be fixed soon...
[Android Apps and Games] carlolgb:
Hello Sir...

This is a great APP!

Beta4 was the first i used and it works without any fc's :thumbup:

I got 1 question, can i dirty install new version or should i every time delete previous versions?

THX!!!
[Android Apps and Games] h0rn3t:
Is neccesary to delete previous version only if the app is installed as system app in /system/app

Did you try beta5?
[Android Apps and Games] carlolgb:
Yes and it works without any probs but beta4 also :D

No its not a sysApp, what is the advantage?
[Android Apps and Games] h0rn3t:
No advantage. But some roms include PerformanceControl as system app.
[Android Apps and Games] h0rn3t:
Fixed vibration control bug,
[Android Apps and Games] h0rn3t:
For the moment CPU Advanced Tab contain only MPDecision. Is hidden if your device doesnt support it.

Did you try to change governor, then see if governoe settings work?

EDIT: a logcat will be usefull
[Android Apps and Games] Darian71:
Changed governor to on demand and settings worked. Experimenting with the nebula kernel now trying to stabilize it. But I'll get that logcat in Stock carbon kernel asap . Stupid sinus surgery has had me worse off than before, so been sleeping my day away avoiding the pain. Gonna do a little reprogramming of my Dr tommorow if you get what i mean . :mad::thumbup:
[Android Apps and Games] h0rn3t:
health before all
[Android Apps and Games] houssam10001:
Fc when boot
[Android Apps and Games] h0rn3t:
Yes... Sorry for that, my mistake.... But after boot is working ?
[Android Apps and Games] houssam10001:
Yes,working :thumbup:
[Android Apps and Games] h0rn3t:
Correct me if I'm wrong: display value for zram in percents and an info for stopping before changing value.
[Android Apps and Games] dabl8:
I don't know how that's right, because the default value for me is 180~MB yet I only have 384MB of RAM on the phone.
[Android Apps and Games] h0rn3t:
I'll make the changes (you have right)...
[Android Apps and Games] dabl8:
Using 2.19 now which I'm liking a lot, but I caught a bug: the zRAM value keeps getting reset when I quit the app.

A small niggle I have: I use large font on small screen so when the speed hits 1000MHz the value goes to two lines, so it jumps from one line to two lines a lot.

One thing I miss that probably not too many people are interested in: a way to control WiFI txpower. All custom roms I've tried seem to transmit at very (actually illegal) power, so I'd like to be able to change this; maybe you'd need to include iwconfig or something. My kernel has an interface for it: http://xdaforums.com/showthread.php?t=2097788 though note that the OP is wrong: the iwconfig is in the main zip.
[Android Apps and Games] h0rn3t:
how you did with zram?
[Android Apps and Games] dabl8:
I can change the zRAM setting, e.g 20%, but when I quit the app and return it's at 10%. I don't use other apps to set that.
[Android Apps and Games] h0rn3t:
did you start zram from application?

EDIT:

Application return the current value of zram if is active. In your case is seem to be already active
[Android Apps and Games] h0rn3t:
application is compiled by you? Did you activate something in CPU Advanced Tab?
[Android Apps and Games] dabl8:
I changed URL to 127.0.0.1 and set target=android-19. There is nothing at all in the CPU advanced tab.
[Android Apps and Games] h0rn3t:
I have ruled out everything about advaced cpu from boot and pulled on github. Recompile and see if crash again.
[Android Apps and Games] h0rn3t:
Please tell me what is your voltage table path (one of this: /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels, /sys/devices/system/cpu/cpufreq/vdd_levels, /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table) and what is the content
[Android Apps and Games] dabl8:
Its in uv_mv_table:

1500mhz: 1300 mV

1404mhz: 1250 mV

1300mhz: 1200 mV

1200mhz: 1150 mV

1100mhz: 1080 mV

1000mhz: 1000 mV

912mhz: 980 mV

816mhz: 930 mV

760mhz: 900 mV

608mhz: 870 mV

456mhz: 830 mV

312mhz: 780 mV

216mhz: 750 mV
[Android Apps and Games] h0rn3t:
Let's make a new try... I already push modifications on github. I also make some changes on zram.
[Android Apps and Games] dabl8:
Sorry, zRam is still halving. Also noticed KSM became checked again and governor changed after dirty install. The commit number is 0f07f6
[Android Apps and Games] h0rn3t:
Crash is fixed?

When you stop zram, values are going to 0?

EDIT:

I realized what is happend with zram.... I'll fix it

EDIT2: Fixed
[Android Apps and Games] dabl8:
zRAM is working as expected now. Still got a crash on start up in the previous version though.

Edit: Oops, wrote too soon, zRAM halved again the second time that I restarted the app.
[Android Apps and Games] Darian71:
You guys still testing on b-6?
[Android Apps and Games] h0rn3t:
The problem in your case is on reading voltage table file. I'm not sure what is wrong. Anyway I changed reading mode of file, so you can try again...

EDIT:

Do you have voltage setting on boot?

EDIT2:

Make a Reset of data from Voltage Settings menu, because previous versions have saved data incorrectly
[Android Apps and Games] h0rn3t:
2.1.9
[Android Apps and Games] Oohhlala:
why on my device ( xperia tx ) i dont see Not killable process featrure ? :(
[Android Apps and Games] h0rn3t:
If your kernel doesnt support a feature then this feature is hidden.
[Android Apps and Games] Darian71:
2.1.9 very consistent guys. 4 consecutive Antutu scores 11800+. This is my 4th with Max voltage set. (am using identical settings on my single core Captivate with less voltage, but reaching Ram speeds above 600)??:thumbup:
[Android Apps and Games] Darian71:
Discovered something this morning in my vm settings. Actually been noticing it for awhile now concerning all the "dirty" settings I changed and applied. After using the phone awhile, rebooting or downloading... Normal stuff, when I went back and opened the app I would notice my dirty settings would be back to their original settings while every thing else was just as I had left it. Anyway, for the heck of it I pressed the Apply settings tab after noticing dirty settings were reset again, then exited the vm settings screen, reopened vm settings and WAH-LAH! My original dirty settings were back as everything should be. So I'm thinking they are sticking and present all the time, just falsely showing the default values. Simple fix and reassurance by pressing Apply and exiting, the re-entering to be sure. If someone can confirm this besides me that'd be great. :thumbup:
[Android Apps and Games] h0rn3t:
When you change a value, that value will be saved in preference. So will remain there as long as you do not delete app data. Only on reboot or when you push Apply button all this saved values will ​​be written into the corresponding files.

EDI|T:

When you open VM Settings you will see the values directly from files. If you see default values it is possible that something else changed this values after reboot or push Apply.
[Android Apps and Games] Darian71:
Yes sir. I had already saved the preferences. But everytime I opened the app the dirty write, dirty ratio, etc would show I had never set or saved them. Yet every other setting, over Commit ratio, swappiness etc, would all show just as I had saved them. Just odd because at least 3 different times I went ahead and reset my preferences again and applied them because I thought they had been removed. Lol
[Android Apps and Games] h0rn3t:
it is possible that the system will not permit modify the values even the files have write permissions.
[Android Apps and Games] Darian71:
Always possible I suppose. I do have it in my sysrem /app with h permissions set to rw-r-r under Mount R/W. But I also have my Captivate up and running again so I'm going to install it as a regular apk , and set everything The same and see what happens. It is running CM 11 as well . Both phone s are Galaxy series so guess we'll see. Single core cappy.

---------- Post added at 01:41 PM ---------- Previous post was at 01:30 PM ----------

Well, it could be the difference in kernel as my I897 actually shows the mv voltage settings screen I can adjust. Or could be the phone differences, or the fact I did not install this as a system/app. Because the settings are showing everytime I go back to check them on the Captivate. I can install it as a system/app and set permissions a little later and let you know what it does.
[Android Apps and Games] Darian71:
Confirmed. Moved app to system/app ,tested awhile went back to check and everything is exactly as I left it on my Captivate i897
[Android Apps and Games] h0rn3t:
The application does not need to be in system/app.
[Android Apps and Games] djtutis:
Thanks for this excellent app... Could you add I/O control settings and the ability to set memory selection on minfree taskkiller more than 96 MB in some cases (like secondary server and hidden app)? Thanks for your great work!
[Android Apps and Games] h0rn3t:
Max value of secondary server depend of hidden app, max. hidden app depend of content providers and so on. You must increase first empty app, then content providers and so on.

EDIT: next version will include io settings.
[Android Apps and Games] h0rn3t:
2.1.10

v2.1.10

added IO Settings (menu CPU Tab)

added WIFI PM (Advanced Tab)

added Multicore PowerSaving (CPU Advanced Tab)

fixed zram display bug on multicore

some UI changes

update translations (thanks to [MENTION=4343903]Rhonin86[/MENTION], [MENTION=4643755]Stefano187[/MENTION], [MENTION=5262037]DaniPhii[/MENTION], [MENTION=5077369]LeroViten[/MENTION])

EDIT:

Removed because of bug. Updated to 2.1.11.