yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] mri.project:
i need a live widget which will show me the processes my phone is running.

does it have one?

i need it to be a list as in an app but in a widget on my home screen
[Android Apps and Games] FcoEnrique:
Tweaks won't stick

I applied some tweaks, and then select on boot complete in the Re apply tweaks settings, but once REBOOT my phone it doesn't seem to stick, tweaks go back to stock, any solution here?
[Android Apps and Games] NiGHTsC:
+1 to Fco

but I believe he meant it doesn't stick when the "screen" is off, cause that's exactly what happent on my HTC Incredible S.

Stock: 1.02GHz, OC'd to 1.2GHz, screen off it changes to 1.02GHz.

I'm using smartassV2 governor.

Thank you.
[Android Apps and Games] 3c:
No such widget, I'm sorry, though it's an interesting feature ;)

Well, first I'm not sure how you can tell it changes to 1.02Ghz when screen goes off? maybe when screen is back on max frequency is back to 1.02Ghz?

If you don't use the screen-off tweaks to change CPU frequency, then the app does not interfere with Kernel managing CPU. Have you tried changing governor for a more standard one? I'm betting that smartassv2 governor is actually changing screen-off frequency on its own, and restore whatever he think was the value before, eg stock.

If you do use the screen-off tweaks to change max CPU frequency, then the app should change it when screen goes off, and change it back when screen goes on, which may override governor's actions.

A system logcat can show what's happening: open log reader, clear it to start fresh. Turn screen off, wait 10 seconds, turn screen on. The logcat should load (may take a while). Then save it and attach it here. There should be valuable information about the screen on/off event.
[Android Apps and Games] FcoEnrique:
Sorry, i mean reboot, not turn off. :D
[Android Apps and Games] 3c:
Ah shoot, then it's quite different ;) Are you using 'on boot completed' or 'init.d scripts' option to restore CPU boot settings?
[Android Apps and Games] FcoEnrique:
On boot complete sysctl tweaks.
[Android Apps and Games] NiGHTsC:
Good one, you're right, I was indeed using screen-off governor, smartassV2 as well and it's indeed smartassV2 which changes it back to stock when screen's off.

I'm using ondemand now, any suggestion on which governor I should use?

Thank you.
[Android Apps and Games] 3c:
I usually either use ondemand or interactive or hotplug, whichever is available. Hotplug favored obviously to shutdown cores, but it's not available (or necessary) on all devices.

Then I usually tweak ondemand/interactive governors to be more reactive (in the app active tweaks settings).
[Android Apps and Games] FcoEnrique:
So, it looks like there's no solution to my question?? :confused:
[Android Apps and Games] ksmobile:
cool

thanks op
[Android Apps and Games] 3c:
There always is a solution, but it might not be coming from the app.

Can you check the app is checked within the startup screen ?

Do you have the init.d option and if so does that help?

Then, can you take a logcat of the app alone after a boot? So I'll see what the app did. Either the app didn't set things as expected or the kernel (or else) is changing settings after. But the log will definitely show that.
[Android Apps and Games] FcoEnrique:
It's not checked, and the check option seems to be disabled, after install another app to control the apps on boot(autostarts) and select system tuner to start with the system, after a reboot appears disabled again :confused:

after try the init.d option, well, i'm in a boot loop now!
[Android Apps and Games] 3c:
That seems odd, as the app will disable its on boot if it finds it not being of any use. As if no boot settings are currently set!? Or could it be another app messing around, disabling stuff too?

Also, did you try fixing permissions? Any permission problems can prevent an app from updating its settings. But then you would lose (changed/new) settings on every reboot?

This is definitely the issue here because the app update CPU settings during this on boot only.

Please send a support request referring to this issue, this will provide part of the app settings.

Also if you can retrieve app logcat after boot, this should show what's going on too, if you can manually enable boot before reboot. That way we may find out which app is disabling on boot, if the app itself too.
[Android Apps and Games] FcoEnrique:
Well, after the boot loop i take the opportunity to flash another ROM for test it.

but I'm thinking to test system tuner on this one too, I'll be reporting later.

I think the teak that cause the boot lop was the one about the cache, maybe?
[Android Apps and Games] ecloudim:
how can i get this?:crying:
[Android Apps and Games] tobbbie:
...just went "pro" a few days ago and activated that "boost app loading". I was shocked to see that the device behaves like OC/UV too much as it showed a fading display and then reboot. After chasing it not to be kernel (I was trying some new) or OC/UV (OC to 1.3 and no UV) I could - after back to old kernel - get System Tuner to disable that "boost.." and now I am stable again.

How can I debug what is going wrong in that "boost" optimize process? Can I see which step fails or execute them manually?

I guess that zip-align would take time first time, then faster with next boot.

---------- Post added at 11:20 PM ---------- Previous post was at 11:08 PM ----------

...one more thing related to sd analysis. I takes "forever" to analyse the content of some large thumbnail cache directories I have on the sd card. It seems like that the on-screen display has to update for each filename in the cache (some 40000 files) and so, despite the read IO (looking at this with CoolTool IO meter onscreen) is very low (barely seen), the total time to list the analysis takes some minutes. I wonder if that could be done faster (async - if linked to screen output)?
[Android Apps and Games] 3c:
The optimize process might be quite "expansive" at first indeed. So I wonder if it's not multiple things causing this: like high cpu frequencies while the optimization goes on?

Basically, it does check if each APK needs aligning and align them if needed. The check is done so: zipalign -c <apk_path>, then zipalign -f 4 <apk_path> <dest_pak_path> to actually align APK.

As for the DB, it runs sqlite3 commands on every *.db file it finds under /data/data/*/databases/*.db

sqlite3 <db> VACCUM;

From past tests I'm not sure the display updates matters, it's already async (can't do otherwise anyway). The issue lies in Java File parsing which is slow like hell. It is said to be fixed it only in Java 1.7. I have a directory with 20000+ thumbnails that takes about 30 seconds alone to be parsed in Java with a single line of code: folder.listFiles();

Unfortunately I tried some other methods using shell, but the overhead is too gain anything. Another solution would be to create a C library to do just that, again there'll be an overhead, but might be better.

Also I was thinking of adding a button to start analysis instead of launching it automatically. That might help avoid this situation.

Can you try SD Usage app and check how long that app takes for you? This app uses a native library. Make sure everything's equal (CPU, device on, not busy with anything else, etc...). And if you run a test twice you might notice some improvements due to system caching. I did tests it in the past rebooting before each test to make sure no caching would interfere with testing. Was time consuming, but both apps were performing very similarly.
[Android Apps and Games] tobbbie:
For sure not, nothing is changed with or without boost. Also without boost option, other operations have the CPU at 1.3GHz running for minutes and it is rock-stable.

I need to find the script to debug WHICH of the many is the bad guy. Do you have a step-tracker in the log somewhere or an option to manually start that process to avoid a boot-loop like I had it?

I use link2SD for most of apps, so the apk are all symlinked on a second partition of the disk - could that present a problem?

Edit: I found tombstones telling:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'SEMC/ST18i_1252-0948/ST18i:4.0.4/4.1.B.0.431/UL5_3w:user/release-keys'
pid: 2409, tid: 2409 >>> /data/data/ccc71.pmw.pro/zipalign <<<
signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0000d098
r0 70000001 r1 7000a524 r2 00000000 r3 0000d098
r4 7000b1d0 r5 ffffffff r6 0000d098 r7 7ec33b48
r8 7000aa68 r9 00000000 10 00000000 fp 70007e2b
ip 0000d007 sp 7ec33b08 lr 0000c0c8 pc 70004548 cpsr 00000030
d0 6472656767756265 d1 0000000000000028
d2 0000000000000063 d3 000000000000006f
d4 0000000000000000 d5 0000000000000000
d6 0000000000000000 d7 0000000000000000
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 0000000000000000
d18 0000000000000000 d19 0000000000000000
d20 0000000000000000 d21 0000000000000000
d22 0000000000000000 d23 0000000000000000
d24 0000000000000000 d25 0000000000000000
d26 0000000000000000 d27 0000000000000000
d28 0000000000000000 d29 0000000000000000
d30 0000000000000000 d31 0000000000000000
scr 00000000

That extra step would help, also if you can give a preview on progress, like "xx of yy files processed". I am thinking on optimizing the read-ahead cache with an operation like this, but it takes just too long.

Not sure which app you mean here. I have several analyzers that I use occasionally like Disk Usage or Storage Analyser. Will do some testing on the timing. I think that small IO buffers would not matter for repeated tests, so I will drop the reboot for that in case of a full disk analysis. This analysis takes very long, but also includes roughly 43 000 files on the card (as reported by Storage Analyser).

I have also done ADB access from PC to read an example directory (15000 thumbs) and also a shell redirect to a file, but these are reasonably fast (like you listed about a few 10 seconds) for 20000 thumbs. Immediate repeat gets it from cache then and is instantaneous. I wonder if the read strategy would not be best like:

- read full dir with attributes first into file (ls -a -l > file)

- then work on the content with a file-parser

- both steps announced and with progress indication each

I guess that a full dir-read would also exploit the read ahead cache in an optimal way. On my card a full read of the disk in shell (ls -l -a -R > file) took 4:15 while it took Storage Analyser ~23:30 to do full analysis. More on timing while I work on it.
[Android Apps and Games] 3c:
To get the script, enable the boot settings for app boosting using "init.d script" option! Then get the script from /system/etc/init.d/99pmwappbooster. Don't forget to delete the script or disable to boot setting for that.

As for the parsing, 4:15 will be the minimum so I'd be interested to see how the app performs on this one, compare to SA. I used to try Disk Usage, that's the app I was refering to ;)

As for the tombstones, I've never used it, it doesn't look good though as if something goes wrong, as if something goes wrong. It's an ARM processor on your device, right?

But you can be sure the Link2SD is in conflict with optimization. optimization cannot run on linked file. So I've fixed that. If you want to try, please send me a support request from app settings adding a note about this post. I'll send you a test version. ;)
[Android Apps and Games] tobbbie:
I think that init.d stuff did not work for other optimizations (like CPU and SD). There was a toast telling but it was gone too fast to read it -> maybe you change that to a message to the Notification bar? Will pick it from there to see if I can do things manually.

OK, will do so in a minute. I wonder why the zipalign cannot just follow the link and work on that file? Does any app even know about that link?

Regarding timing testing - this may take while. I thought of optimizing cache size and IO strategy but I checked a few times with that ls -l -a -R stuff and have not seen any notable difference for size (128k or 6144k) or IO scheduler. Its always ~4 minutes for the card (+- a few seconds). Even the big cache has not improved things if run twice for the second time. I think it comes to play for concurrent activities (parallel IO) and so my "test" is not a valid one. I need to have read and write in parallel to judge which is the "best" combination. I just keep 128k-noop for now, which is also default from the stock ROM.

Fastest analysis of the card was with Diskusage but I need to repeat this. My CPU is single-core, so parallel threads for read and screen-out are not speeding up things but just de-sync output - CPU is at 100% all the time anyway. Possibly minimizing screen writes (each 1-5 seconds) on the current processed file is enough instead of writing each filename to screen.

I could check if the process is faster in System Tuner if I get the thread to background by moving focus.

---------- Post added at 12:29 PM ---------- Previous post was at 12:18 PM ----------

update: the \system\etc\init.d does not receive any new files - is there anything special to do?

Is the recent release (2.5.8) addressing the zipalign following linked files?
[Android Apps and Games] 3c:
Following links is easy, it's actually transparent. The problem is that the zipalign creates a new APK which is then copied onto original location, thus removing the link and putting back app into internal storage. Then if Link2SD is set to auto-re-link, it might then move the app again to SD.

As for timing, remember there's multiple cache levels, from application to kernel. I did notice some important difference on very first run, regardless of IO cache size.

2.5.8 didn't address the zipalign-link conflict, but the APK I sent you does.
[Android Apps and Games] lazer155:
Is there a way to change the touch boost/project butter cpu speed that the device ramps up to when touch input is detected using System Tuner Pro? I can't find the option in system tuner pro but it is a feature of the kernel I am using and some other apps like trickster mod have the option to control it.
[Android Apps and Games] ewingr:
Undervoltage Problem...

I finally decided to load a new kernel, and did some UV voltage settings with System Tuner.

I clicked the -12.5 button, and expected that the voltage listed on the graphic would drop by 12.5. But nothing on the display changed. So I thought it wasn't working. Before doing any of that, I had saved settings, expecting to be able to restore defaults from teh saved file.

Well, I clicked the UV button maybe 4 times, and apparently it was working, even though the graphic display did not change. The phone froze and rebooted.

I had run Voltage Control earlier (free version) and saved the zip file from it to restore settings if something happened. With the free version you cannot change voltages, so maybe that shouldn't/wouldn't help. But in the end, installing that zip failed anyway.

But to my surprise, upon rebooting, The phone booted fine. So I went into the System Tuner and clicked the button to LOAD, expecting the file I saved to be there, and to more surprise, it brought nothing up, as if I had not gone through the process to save.

So I went into Voltage settings in System Tuner, and no graphics come up at all. But, I clicked the +12.5 4 times in hopes that it would have brought my voltages back up.

Phone seems to be running OK at the moment (although it's only been about 5 mintues so far.)

Does anyone have any thoughts and/or recommendations for me? I don't think it is right at the moment, given that System Tuner does not show anything in the voltages when I select that.

[EDIT]

Maybe I have it figured out.

I have rebooted again, and now I do see voltages in the graphic when selecting Voltage. Also, I guess that maybe when it shows "384Mhz (1000mV)", it is displaying the default, and the actual setting is to the right of hte + sign.

I have now done a Reset all/Clear, and saved; then subtracted 25 (hit -12.5 twice), and saved that, and I checked and now do see both of those saved settings.

Based on the fact that I have not selected Boot Settings, I presume I will lose that -25mV if I reboot, and hence, be OK upon reboot if it is a problem.

The only thing I'm not sure is how to handle it if I should end up with settings saved that are problematic. I do see other programs such as Set CPU and Voltage control do offer methods to save a ZIP that can be applied to restore to normal. But I presume if I make changes with Set CPU those would hot be helpful. I don't see a way to do that through System Tuner. Am I just missing it?
[Android Apps and Games] 3c:
System Tuner includes fail safes in case of boot loop, automatically deactivating all CPU settings if so. So in case of problems, the device will reboot, and might freeze or reboot while still booting. Such scenario will automatically deactivate CPU settings. If it doesn't, just remove battery or turn off the device while Android starts, usually when you see the lock screen or launcher appear. Will have the same results: CPU settings are deactivated.
[Android Apps and Games] ewingr:
Cool.

I presume it would be a best practice to not have any other app that modifies the voltages and cpu settings even installed, and if installed, definitely not used to make changes to them. No?
[Android Apps and Games] 3c:
I suppose it's indeed best practice to avoid being confused about what's being applied and what's not? Such as any settings saved in Voltage Control cannot be loaded in System Tuner.

Nevertheless I usually test other apps along with System Tuner and have had no particular issues so far, but I don't set boot settings simultaneously within multiple apps ;)
[Android Apps and Games] ewingr:
Makes sense.

Thanks
[Android Apps and Games] v1t0s:
System Tuner Pro v2.5.9 resets Gavernor and CPU fr. to default state after rebooting

first of all many thanks for Tuner!

System Tuner Pro v2.5.9 resets Gavernor and CPU freq. to default state after device rebooting

1. Uninstall STpro v.2.5.8, clear cache (incl. dalvik cache);

2. Reboot device;

3. Install v.2.5.9

4. Tune my device:

4.a. Set Gavernor to smartassV2 (ondamand by default);

4.b. Set CPU freq to 768 (998 by default);

5. check that System tuner pro is in 'autorun apps' list;

6. Reboot device;

6. Open System Tuner Pro v2.5.9

==>

Actual result: CPU freq = 998; Gavernor = ondamand;

Expected result: CPU freq = 768; Gavernor = smartassV2;

Envirement:

HTC HD2

Android 2.3.3

HTC Sense 2.1

Kernel: 2.6.35.14-marc1706s_desire_0.1.7+
[Android Apps and Games] v1t0s:
Sorry, my fault. it works properly

to fix it should be set 'on boot complete' in settings of system tuner pro

Thanks for good tool!
[Android Apps and Games] tobbbie:
Some kernel may have duplicate init.d execution preventing correct execution of safe-guarded scripts. See my post here:

http://xdaforums.com/showthread.php?t=2133141

Due to the popularity of the DoomLord based kernels the problem may be wide-spread among Xperia devices.
[Android Apps and Games] lazer155:
Does system tuner pro support uploading and restoring app backups that it makes to Google drive or dropbox like titanium backup?
[Android Apps and Games] 3c:
You can share your backups to Google Drive or dropbox, though there's no actual import from it, you'll have to download the saved backups you want to restore. As you can share multiple backups at once, you could save multiple apps, then retrieve the backup in a batch and restore them as usual.
[Android Apps and Games] ghwchicken:
strange behaviour of widget

First of all thanks a lot for the nice work to the developer of this amazing piece of software !

Since I haven't found any clues searching the web and xda for my question, here it is:

1. Installed System Tuner from Play Store

2. Installed System Tuner Widget with default settings on Home Screen

3. Process Count shows something like xx/xx, where xx and xx are the same numbers (this sounds strange to me)

4. Tapping the Widget starts System Tuner, tapping Task Manager and waiting for the list to build up

5. Now the Widget displays something like xx/yy, where xx is now smaller than yy (sounds ok for me now)

Has anyone seen this too ?
[Android Apps and Games] tobbbie:
Things in Android OS are very dynamic under the hood. The OS is permanently closing / restarting processes depending on the lack of free memory and processes being brought to foreground (increasing THEIR priority of staying in memory). You will see effects like this more frequently on devices with little physical RAM and hardly ever on such with large (1GB and up).
[Android Apps and Games] :
Hi 3c :)

I'm running the last version of System Tuner Pro on my Nexus 4.

In the widget (number) ant the task killer (bar) there is only 1 Gb of RAM showing on both instead of 2 Gb of RAM if I set "free memory". And this number never change.

For example if I set free memory on my HTC SEnsation, the number of free memory varies, not on my N4 :confused:.

I need to set "used memory" instead of "free memory".

I'm not sure if I explain well...

Here I should see about 1,7 Gb of free RAM:

Or about 1,5 Gb since there is in fact 1,8 Gb for the user:

Is it possible to correct this? System Tuner could detect the available RAM and in fact calculate the amount of free vailable RAM like on the other phones instead instead to choose the memory used?

Thanks in advance ;)
[Android Apps and Games] 3c:
Yes it's possible, though the app uses the same method on every device. It's just because when measure is above 1GB, it shows only GB units without decimals.

Best is to send a support request asking for a fix, so I can send you an updated APK, or wait for the next update ;)
[Android Apps and Games] krzysiek1984:
Great app,work perfectly on X8 android 2.1 thanks man
[Android Apps and Games] :
Hi 3c :),

I well received your apk test and it works well, I see now the total amount of free ram on both widget and task manager, wit one digit floating point for the widget and two in the task manager like you said.

Is it possible to have two digits for the widget? Or it will take too much space? No aesthetic? More ressource?

In any case thanks for the prompt reply about support request, very fast ;)

I post here because I don't know if you have received my last mail :confused:

Thanks ;)

:)
[Android Apps and Games] JustCause:
Hi 3c,

Long time user of System Tuner Pro love it. But lately the cpu temp

seams to take along time to update. I want to remove apk and then

reinstall. My question is how will that effect my frozen apks as I use

System Tuner Pro to freeze them, will they stay frozen and will I

be able to unfreeze them. Thank You.
[Android Apps and Games] 3c:
Freeze settings are stored on /data partition, hence frozen apps remain frozen on reboots. You will definitely be able to unfreeze them after reinstalling.

Let me know if CPU temp issue persists.
[Android Apps and Games] JustCause:
After deleting (uninstalling) reloading it seems to have fixed it after a few days.

But rite after the Process Count shows something like xx/xx,

where xx and xx are the same numbers.

Never seen this happen before.

I see post #528 seems to have had same issue.

Whats causing this? :confused:
[Android Apps and Games] 3c:
For performance reason, the widget does not create the exclusion list. So it requires opening the task manager once or using the auto-kill feature. Both will actually update that list on first run. Then process count will reflect included apps / all apps counts.
[Android Apps and Games] smint86:
I think there is a bug in the current version of "System Tuner Pro" I bought in the play store. It's concerning oom settings together with CM10.1 on my HTC Sensation (pyramid).

As I don't want to write everything again, I'm linking you to the concerning posts in the related dev thread:

http://xdaforums.com/showpost.php?p=40881138&postcount=9223

http://xdaforums.com/showpost.php?p=40885030&postcount=9232

I don't know exactly where the problem is, but it must be something about the permissions as well. Also, in the originally created init.d script by system tuner, the line changing adj is deactivated by a "#" in front. Why?