[APP][v0.40][Jan-18] StweaksProfiles - Backup/restore your stweaks settings

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
Hi,

Maybe you can add a feature where we can see the current profile we are using.

Thanks!
It's something I had thought of. Actually (atleast in Siyah) Stweaks reads only default.profile as the active profile.
I will try to do it in the next version along with sync function.

EDIT: It's done and uploaded to OP.
 
Last edited:
  • Like
Reactions: ghul21

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
It's something I had thought of. Actually (atleast in Siyah) Stweaks reads only default.profile as the active profile.
I will try to do it in the next version along with sync function.

EDIT: It's done and uploaded to OP.
App v0.3 out with the feature highlighting active profile added.

Using the zip in the OP as a template, you could also share profiles between yourself. Create your profiles, copy them from /data/.name_of_your_kernel directory. to PC. Unzip the zip file on PC, remove files inside /data/.siyah paste the copied profiles from your device, rezip and flash.
 
Last edited:

GrimPivo

Senior Member
Sep 29, 2011
751
343
0
Moscow
www.clipz.ru
I try to use your app with Siyah 31.2 and have some Q's:

1) Do I have to change something in STweaks settings after profile restoring in your app?
Or just restore-reboot-done?

2) Should all changes (made by restored profiles) be visible in STweaks?

3) About sample profiles: according to STweaks, you didn't change anything in GPU settings in you "evenmoreperformance" profile. Why? Or they are just not visible?
I change ".siyah" to ".perseus" in zip, yes.

ADD: And current profile file is not highlighted (installed StweaksProfilesv0.3.apk) :(
 
Last edited:

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
I try to use your app with Siyah 31.2 and have some Q's:

1) Do I have to change something in STweaks settings after profile restoring in your app?
Or just restore-reboot-done?

2) Should all changes (made by restored profiles) be visible in STweaks?

3) About sample profiles: according to STweaks, you didn't change anything in GPU settings in you "evenmoreperformance" profile. Why? Or they are just not visible?
I change ".siyah" to ".perseus" in zip, yes.

ADD: And current profile file is not highlighted (installed StweaksProfilesv0.3.apk) :(
You mean you're on Perseus kernel?

1. You don't have to do anything on Stweaks or reboot the device. Restoring applies that profile instantly. This is the whole point of the app.
2. Yes changes will be visible. Restore some profile, open Stweaks and check.
3. ExtremePerformance profile has changes on GPU clocks and voltages from performance profile. Double check Stweaks.
4. Highlighting is working for me. Make sure to hit refresh button on top after restoring a profile and see if it's highlighted. Close the app and reopen to be sure.
Note: Suppose we have multiple profiles saved. We manually changed some settings on Stweaks (which were not saved as a new profile in this app), then there is no "current profile" in the list and nothing will be highlighted. Hope you got the point.
 
Last edited:

GrimPivo

Senior Member
Sep 29, 2011
751
343
0
Moscow
www.clipz.ru
You mean you're on Perseus kernel?

1. You don't have to do anything on Stweaks or reboot the device. Restoring applies that profile instantly. This is the whole point of the app.
2. Yes changes will be visible. Restore some profile, open Stweaks and check.
3. ExtremePerformance profile has changes on GPU clocks and voltages from performance profile. Double check Stweaks.
4. Highlighting is working for me. Make sure to hit refresh button on top after restoring a profile and see if it's highlighted. Close the app and reopen to be sure.
Note: Suppose we have multiple profiles saved. We manually changed some settings on Stweaks (which were not saved as a new profile in this app), then there is no "current profile" in the list and nothing will be highlighted. Hope you got the point.
Damn! Of course it's Perseus!

1. OK, got it.
2. I check, and see changes only in CPU section of STweaks. In GPU - all in default values.
3. Triple check - all default values.
4. No highlighting in any case.

To be honest, I don't understand what's wrong. Does profiles really work for me or not?

Maybe there's some incompatibility with Perseus' STweaks app? It's slightly changed by AndreiLux (or not?).
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
Damn! Of course it's Perseus!

1. OK, got it.
2. I check, and see changes only in CPU section of STweaks. In GPU - all in default values.
3. Triple check - all default values.
4. No highlighting in any case.

To be honest, I don't understand what's wrong. Does profiles really work for me or not?

Maybe there's some incompatibility with Perseus' STweaks app? It's slightly changed by AndreiLux (or not?).
For 2 and 3, reason could be Andrei's profile interprets GPU clocks and voltages in a different way. I made the sample profiles from profiles saved in Siyah kernel. I will check.

I don't understand why isn't highlighting working. If you backup your present settings, does it show up in green.
 

GrimPivo

Senior Member
Sep 29, 2011
751
343
0
Moscow
www.clipz.ru
For 2 and 3, reason could be Andrei's profile interprets GPU clocks and voltages in a different way. I made the sample profiles from profiles saved in Siyah kernel. I will check.

I don't understand why isn't highlighting working. If you backup your present settings, does it show up in green.
I only change max GPU freq in STweaks, apply it, then backup profile named "test" in StweaksProfile, then refresh in restore section, then - voila!
"test.profile" is in the list, and it's green.
Pretty strange, huh?
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
I only change max GPU freq in STweaks, apply it, then backup profile named "test" in StweaksProfile, then refresh in restore section, then - voila!
"test.profile" is in the list, and it's green.
Pretty strange, huh?
Not strange. Only if current Stweaks settings is exactly same as one of your saved profile, it becomes the current profile and is highlighted.
Hi,

Highlighting does not work on me too... also when you press menu there is setting tab but do not work.
Like I said above, the "Current Profile" concept should be clear to check if highlighting works or not. Anyway, I will check if there is any problem on Perseus kernel. I tested on Siyah and everything works.
"Settings" menu item is not yet implemented. I will remove it in the next version until there is some settings we can change.
And, when I then choose one of your profiles, app says that profile restored successfully, but after refreshing green hihlighting gone. All grey.
Hmm, It shouldn't happen as I compared md5sum. md5sum is not foolproof, nevertheless. Will see what's going on in Perseus. And also use a different method to detect current profile.
 
Last edited:
  • Like
Reactions: GrimPivo

GrimPivo

Senior Member
Sep 29, 2011
751
343
0
Moscow
www.clipz.ru
Experiments continued :)
Install Siyah 1.8.7, and profiles works like it should be!
So, the problem apparently in STweaks that included in Perseus.

Only one strange thing with Siyah - sometimes my phone doesn't want to turn off screen by timeout. Always on. What could it be? :confused:
 
Last edited:

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
New version - v0.35

Support for renaming profile, and Sync is implemented on a pure testing basis. I'm not running dual boot at the moment, so did not test it. Can anyone running Siyah kernel on Galaxy S3 with dual boot setup please tell if it's working or not.

Sync feature is simple:- Sync you stweaks settings from current rom to other (if you're on first rom, sync to 2nd and vice verse). This way, you don't need to configure Stweaks settings separately in both roms whenever you make a change from one rom and need that change to be available in the other rom too.

For testing, please install the app to both the roms, make some change using Stweaks app in first rom, hit Sync in this app, reboot to 2nd rom and see if those changes are visible there. Do the same thing other way around too. (Change in 2nd rom, sync, check 1st rom).
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
Tested on my Perseus.
Still no green nighlight on sample profiles, however it's present on "init" profile.
And still no changes in GPU section after changin profiles.

And version 0.2 of "StweaksProfiles" app in app manager :)
Do not restore any of the sample profiles on Perseus. If you configure your own settings and backup does it highlight when active?

What's "no GPU changes" after applying profile? Pls try this:-
- Reset settings to default in Stweaks app. Reopen Stweaks app. Backup in profile app.
- Change couple of GPU settings using Stweaks app. Backup in profile app.
- Restore first backup and check if GPU settings are same as original. If yes, it's working.

Re-uploaded app with version number corrected. I'm still waiting for someone to give feedback on sync.
 

GrimPivo

Senior Member
Sep 29, 2011
751
343
0
Moscow
www.clipz.ru
Do not restore any of the sample profiles on Perseus. If you configure your own settings and backup does it highlight when active?

What's "no GPU changes" after applying profile? Pls try this:-
- Reset settings to default in Stweaks app. Reopen Stweaks app. Backup in profile app.
- Change couple of GPU settings using Stweaks app. Backup in profile app.
- Restore first backup and check if GPU settings are same as original. If yes, it's working.
Yes, it works.
By the way, it's seems to me that if settings in profiles with different names are identical, they are all will be highlighted as active.

Do not restore any of the sample profiles on Perseus.
OK, but what should i do if I want to use your settings on Perseus?
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
Yes, it works.
By the way, it's seems to me that if settings in profiles with different names are identical, they are all will be highlighted as active.
Oh thank God!
Identical profiles are also active are all highlighted in green if any one of them is active? That's intentional to help remove duplicates. Mentioned in the OP.
OK, but what should i do if I want to use your settings on Perseus?
Hm in that case, one need to see how are settings configured by opening profile in a text editor or so. Then apply the same in perseus manually and backup each one. In the mean time, will try to make sample profiles for Perseus too. I'm on CM10.1, so can't make profiles for Perseus atm.
 
  • Like
Reactions: GrimPivo

flatronics

Senior Member
Nov 29, 2012
679
229
0
on perseus

Hi,
My observation....

1. The highlight only works when you do a backup of your current stweaks setting.
- its like the job of the highlight is to tell you which is the newly backup profile instead on telling you which the currently active profile.
2. If you restore a backup of your own setting everything is applied. But If you use the sample profile not everything is applied. Maybe because those sample profiles were actually a backup of steaks running siyah kernel.
Therefore, stweaks backup profile with siyah kernel should only be use on stweaks with siyah kernel the same thing with Perseus.

3. Changing tabs to and from RESTORE tab takes 20-25secs also when you refresh... For me that's to long... I thought the app stop working.

4. Sorry for my English I hope you get what I mean.

Regards.
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
Hi,
My observation....

1. The highlight only works when you do a backup of your current stweaks setting.
- its like the job of the highlight is to tell you which is the newly backup profile instead on telling you which the currently active profile.
2. If you restore a backup of your own setting everything is applied. But If you use the sample profile not everything is applied. Maybe because those sample profiles were actually a backup of steaks running siyah kernel.
Therefore, stweaks backup profile with siyah kernel should only be use on stweaks with siyah kernel the same thing with Perseus.

3. Changing tabs to and from RESTORE tab takes 20-25secs also when you refresh... For me that's to long... I thought the app stop working.

4. Sorry for my English I hope you get what I mean.

Regards.
1. Hit refresh after restoring.
2. I told so many times that sample profiles are not for Perseus. If there is one more complaint of them not working on Perseus, I will be forced to remove it as I'm tired of hearing the same thing again and again.
3. Use swipe gesture to navigate from Tab to Tab instead of directly selecting a tab. Swiping seem to be smoother. App is in alpha stage and so is my learning java android development!
4. I got everything you meant :)

EDIT Found the culprit of tab select becoming really slow if there are many profiles. Will be fixed soon
 
Last edited:

flatronics

Senior Member
Nov 29, 2012
679
229
0
1. Hit refresh after restoring.
2. I told so many times that sample profiles are not for Perseus. If there is one more complaint of them not working on Perseus, I will be forced to remove it as I'm tired of hearing the same thing again and again.
3. Use swipe gesture to navigate from Tab to Tab instead of directly selecting a tab. Swiping seem to be smoother. App is in alpha stage and so is my learning java android development!
4. I got everything you meant :)
1. Refresh does not seem to work on me. No profile is highlighted.
2. Sorry, I did not the new op as I red before if we want to use the sample profile we can just put them in /data/.perseus. anyway your answer serves as a confirmation for me that I cannot use them in Perseus. :)
3. OK. I'll do the swipe.
4.that good.

EDIT:

highlight works perfectly now after reinstalling the app.

Regards
 
Last edited: