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

Search This thread

droidphile

Senior Member
Jul 19, 2011
1,119
7,103
Bangalore
Samsung Galaxy S20
What:-
Simple standalone app to backup and restore your custom Stweaks settings as profiles - as many as you want.


2yzjzuh.png
a9o6r4.png

Supported Devices/Kernels:-
- International Galaxy S3 - Running Siyah/Perseus/any kernel that implements /res/uci.sh interface
- International Galaxy S2 - Running Siyah/Dorimanx/any kernel that implements /res/uci.sh interface
- International Galaxy Note 2 - Running Perseus/any kernel that implements /res/uci.sh interface
- Sony Xperia T - Running Siyah/any kernel that implements /res/uci.sh interface

Known Bugs:-
- Some delay here and there

Credits:-
- Gokhanmoral
- 89Luca89

Changes:-
v0.20
- Ditch tasker, move to traditional java
v0.25
- Smoother restoring, smoother refreshing list of profiles, auto update profile list after deleting a profile
- Confirmation on over writing a backup with same name,
- Long press to delete a profile now works as intended
v0.30
- Highlight current profile in green. If you have multiple profiles which are same as current profile, all of them will be highlighted in green to help remove duplicates.
v0.35
- Alternate method to highlight current profile(s)
- Rename saved profiles
- Sync (3rd tab). Feature aims to sync Stweaks settings on current rom to other rom when you're dual booting on Siyah kernel.

v0.36
- Fixed lag while selecting a tab (press or swipe)
- another attempt to Sync feature. Works only on 4.1 roms (Cm10.1 won't work for now)
v0.40
- Tightly coupled with uci.sh
- Active profile highlighting should work normal. Only the actual current profile will be highlighted.
- Misc bug fixes and improve overall smoothness

To-Do:-
- Rename profiles - DONE
- Group saved profiles by Kernel Version, so that you can delete profiles from an older kernel version in case it would cause conflicts with current kernel build if restored.
- Option to sort saved profiles by name, age, etc.
- Widget support
- One click sync button to sync Stweaks settings in one rom to the other when you're in dual boot setup. ie, one click button to apply Stweak settings in your current rom to other without having to save here/restore there process. - Done on a test basis

Sample Profiles:-
- Profile Zip is meant only for Siyah kernel 1.8.6 and later running on Galaxy S3 i9300
- The attached zip includes 4 sample profiles - 2 for battery, 2 for performance. As I always say, these are for people who doesn't know/doesn't wanna know about tweaking settings in Stweaks but just want to use any ready-made profile.
- Flash in recovery. You can either first install apk then flash the zip, or the other way around - it doesn't matter.
- After flashing zip look under "RESTORE" tab in the app for the profiles which you can now restore and switch between in a couple of seconds.

NOTE: To install v0.40 and above if you're running Siyah kernel on your Galaxy S3, make sure to run Siyah 1.8.9 or above. Lower versions of Siyah won't work. For other devices/kernels, there shouldn't be any issues.
 

Attachments

  • ProfilesforSiyah.zip
    143.4 KB · Views: 7,591
  • StweaksProfilesv0.36.apk
    224.1 KB · Views: 2,001
  • StweaksProfilesv0.40.apk
    224.3 KB · Views: 13,577
Last edited:

GR0S

Senior Member
Jun 10, 2012
889
192
Make it holo, follow google guidelines.
Backup, Restore should be in tabs. Use action bars for it.
 
  • Like
Reactions: Machi_Chong

droidphile

Senior Member
Jul 19, 2011
1,119
7,103
Bangalore
Samsung Galaxy S20
Thanx a ton.
Maybe add your various profiles,to apply them on the go.
should be easy,make them like a restore option. ofcourse one can flash and backup 1by1
Hm, I will post couple of sample profiles as flashable zip which will be available in the app as restore-able profiles.
Next step in app is to implement Sync button to sync stweaks settings among roms in dual boot setup. Already have the idea how to.
Great work droidphile. Now I can throw away my scripts :) hope you add 1 or 2 custom profile slots in the future

Edit:

Just tried it, seems I can have as much profile I want . Awesome
Yes, as many as you want :) If you flash another kernel, you won't find profiles backed up from the previous kernel. Not using internal SD to store profiles.
 

neofral

Senior Member
Oct 8, 2009
569
119
Hm, I will post couple of sample profiles as flashable zip which will be available in the app as restore-able profiles.

can you please just tell us where is the folder of the profiles. i have downloaded some profiles that were on the siyah kernel thread. are these applicable and if yes, which folder to put them

i almost forgot, thank you for this awesome tool :thumbup:

Sent from my GT-I9300 using xda app-developers app
 
  • Like
Reactions: jamesmcbeth

tombulli

Senior Member
Nov 14, 2008
91
29
can you please just tell us where is the folder of the profiles. i have downloaded some profiles that were on the siyah kernel thread. are these applicable and if yes, which folder to put them

i almost forgot, thank you for this awesome tool :thumbup:

Sent from my GT-I9300 using xda app-developers app

/data/.siyah/.....
 
  • Like
Reactions: neofral

bala_gamer

Recognized Contributor
Mar 29, 2011
12,350
7,035
Madurai-Chennai
Xiaomi 13
Xiaomi 13 Pro
Very nice, some example profiles would be nice in deed.

Sent from my GT-I9300 using xda app-developers app

Say for example of you need a overclocked gpu for gaming, first reset stweaks then change the gpu clock speeds you want, apply it and later save it as "gaming profile" via this app. Now reset stweaks to default, whenever you need overclocked gpu for gaming, just load this gaming profile ;)

《posted from samsung rom》
 
Hi. Found a litle problem...if you have been using both kernels Siyah and Perseus and both have created their /data/.siyah or /data/.perseus folder and you are using for example Perseus and you start your app nothing is showen....even the backup I have created isn't showen. When I delete the /data/.siyah folder and start the app everything is fine.
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,103
Bangalore
Samsung Galaxy S20
Hi. Found a litle problem...if you have been using both kernels Siyah and Perseus and both have created their /data/.siyah or /data/.perseus folder and you are using for example Perseus and you start your app nothing is showen....even the backup I have created isn't showen. When I delete the /data/.siyah folder and start the app everything is fine.
You mean the restore list is empty right. It's not a bug. Did it to prevent restoring profiles backed up from another kernel. (Different kernels will have diff tunables for stweaks in customconfigg.xml). Otherwise the conflict could even cause a reboot.

But I did not understand "when you delete /data/.siyah then everything works". You mean on perseus kernel, app does not list backups made from perseus kernel if /data/.siyah exists?
 
  • Like
Reactions: lefttobleed

droidphile

Senior Member
Jul 19, 2011
1,119
7,103
Bangalore
Samsung Galaxy S20
That right. I am using Perseus kernel and created the backup running this kernel. Before the list was empty and after I have deleted that folder my backup - created in the perseus folder - was showen.
That's strange, because I refer to customconfig-helper global variable PROFILE_PATH which holds path to Stweaks directory of current kernel - data/xyz. Presence of stweaks doir from another kernel shouldn't be a problem.

@All

In the next release, app will be written in Java - the conventional style. Tasker generates heavy apps size wise, app loading is a little slow and debugging problems in tasker is a pain in the ass.
We will have tabs for backup/restore/sync. (Sync is to sync stweaks settings from current rom to other rom in one-click if you're dual booting). Will also post 4 sample profiles which can be availed in the app as ready-made profiles.

Those interested can keep a watch on this thread, expect the next release any day.
 

chrismast

Senior Member
Dec 7, 2007
1,970
448
Bangkok
www.christianreiners.com
Say for example of you need a overclocked gpu for gaming, first reset stweaks then change the gpu clock speeds you want, apply it and later save it as "gaming profile" via this app. Now reset stweaks to default, whenever you need overclocked gpu for gaming, just load this gaming profile ;)

《posted from samsung rom》

yes exactly, only that droidphile has much much more experience in tweaking the stweaks settings than most of us I assume, hence those profiles would be helpful for a lot of people I guess (only if he has spare time though :), the app itself is already awesome).
 

Top Liked Posts

  • There are no posts matching your filters.
  • 116
    What:-
    Simple standalone app to backup and restore your custom Stweaks settings as profiles - as many as you want.


    2yzjzuh.png
    a9o6r4.png

    Supported Devices/Kernels:-
    - International Galaxy S3 - Running Siyah/Perseus/any kernel that implements /res/uci.sh interface
    - International Galaxy S2 - Running Siyah/Dorimanx/any kernel that implements /res/uci.sh interface
    - International Galaxy Note 2 - Running Perseus/any kernel that implements /res/uci.sh interface
    - Sony Xperia T - Running Siyah/any kernel that implements /res/uci.sh interface

    Known Bugs:-
    - Some delay here and there

    Credits:-
    - Gokhanmoral
    - 89Luca89

    Changes:-
    v0.20
    - Ditch tasker, move to traditional java
    v0.25
    - Smoother restoring, smoother refreshing list of profiles, auto update profile list after deleting a profile
    - Confirmation on over writing a backup with same name,
    - Long press to delete a profile now works as intended
    v0.30
    - Highlight current profile in green. If you have multiple profiles which are same as current profile, all of them will be highlighted in green to help remove duplicates.
    v0.35
    - Alternate method to highlight current profile(s)
    - Rename saved profiles
    - Sync (3rd tab). Feature aims to sync Stweaks settings on current rom to other rom when you're dual booting on Siyah kernel.

    v0.36
    - Fixed lag while selecting a tab (press or swipe)
    - another attempt to Sync feature. Works only on 4.1 roms (Cm10.1 won't work for now)
    v0.40
    - Tightly coupled with uci.sh
    - Active profile highlighting should work normal. Only the actual current profile will be highlighted.
    - Misc bug fixes and improve overall smoothness

    To-Do:-
    - Rename profiles - DONE
    - Group saved profiles by Kernel Version, so that you can delete profiles from an older kernel version in case it would cause conflicts with current kernel build if restored.
    - Option to sort saved profiles by name, age, etc.
    - Widget support
    - One click sync button to sync Stweaks settings in one rom to the other when you're in dual boot setup. ie, one click button to apply Stweak settings in your current rom to other without having to save here/restore there process. - Done on a test basis

    Sample Profiles:-
    - Profile Zip is meant only for Siyah kernel 1.8.6 and later running on Galaxy S3 i9300
    - The attached zip includes 4 sample profiles - 2 for battery, 2 for performance. As I always say, these are for people who doesn't know/doesn't wanna know about tweaking settings in Stweaks but just want to use any ready-made profile.
    - Flash in recovery. You can either first install apk then flash the zip, or the other way around - it doesn't matter.
    - After flashing zip look under "RESTORE" tab in the app for the profiles which you can now restore and switch between in a couple of seconds.

    NOTE: To install v0.40 and above if you're running Siyah kernel on your Galaxy S3, make sure to run Siyah 1.8.9 or above. Lower versions of Siyah won't work. For other devices/kernels, there shouldn't be any issues.
    12
    App v0.2

    Yeah new version out. This time in java and holo theme :) Sorry for the late release. Been super busy for the last couple of months.

    Please note the following
    - I did not post sample profiles yet since changing GPU voltages in Stweaks seem to cause freeze/reboot on CM10.1
    - If long press do not work at first, single click on a profile - cancel the confirmation and try long press
    - While restoring, the alert dialog might look like it's stuck. It's not. In the next version, i will implement restoring as an asynchronous process.

    EDIT: long press bug and "stuck on restore" bug fixed in v0.25
    8
    That right. I am using Perseus kernel and created the backup running this kernel. Before the list was empty and after I have deleted that folder my backup - created in the perseus folder - was showen.
    That's strange, because I refer to customconfig-helper global variable PROFILE_PATH which holds path to Stweaks directory of current kernel - data/xyz. Presence of stweaks doir from another kernel shouldn't be a problem.

    @All

    In the next release, app will be written in Java - the conventional style. Tasker generates heavy apps size wise, app loading is a little slow and debugging problems in tasker is a pain in the ass.
    We will have tabs for backup/restore/sync. (Sync is to sync stweaks settings from current rom to other rom in one-click if you're dual booting). Will also post 4 sample profiles which can be availed in the app as ready-made profiles.

    Those interested can keep a watch on this thread, expect the next release any day.
    5
    v0.40 released.

    - Tightly coupled with uci.sh for more generic-ness and smoother operations.
    - Highlighting should work perfect.
    - Overall smoothness improved
    - If on Siyah kernel for GS3, make sure to run 1.8.9 or above. Lower versions not supported from v0.40
    4
    That's just what i'm looking for, finally we can bu/restore our settings. Thanks x1000!