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

toreador2008

Member
Mar 1, 2011
41
20
0
hi, first, tank you for this great app.
i have same problem as described above.
window with profiles to restore is empty although i created few profiles. i'm using only syah 1.8.4 kernel
do u know what is causing this? thanks in advance
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
hi, first, tank you for this great app.
i have same problem as described above.
window with profiles to restore is empty although i created few profiles. i'm using only syah 1.8.4 kernel
do u know what is causing this? thanks in advance
For now, goto running apps and force stop the app. Delete /data/.perseus directory if it exists. Open the app and hit refresh button at the bottom.

Since I have already started to write the app in Java, I can't debug this version for now. Hard time getting free time :)
 

toreador2008

Member
Mar 1, 2011
41
20
0
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?
For now, goto running apps and force stop the app. Delete /data/.perseus directory if it exists. Open the app and hit refresh button at the bottom.

Since I have already started to write the app in Java, I can't debug this version for now. Hard time getting free time :)
thank you for reply. i tried this but without success.
when u said /data/.perseus, do u mean data folder on internal sd card or? if not, how can i see other folders that are not on internal sd card?
thanks

---------- Post added at 04:58 PM ---------- Previous post was at 04:54 PM ----------

thank you for reply. i tried this but without success.
when u said /data/.perseus, do u mean data folder on internal sd card or? if not, how can i see other folders that are not on internal sd card?
thanks
u can ignore my question regarding data folder. i found in settings of es file explorer to see root folders as well. unfortunately, i dont have /data.perseus folder. i tried with force close but nothing. i also tried to wipe data and tried from beggining but nothing
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
u can ignore my question regarding data folder. i found in settings of es file explorer to see root folders as well. unfortunately, i dont have /data.perseus folder. i tried with force close but nothing. i also tried to wipe data and tried from beggining but nothing
Try uninstall and re-install app. Backup another profile, hit refresh button. I'm on 1.8.4 as well and got no issues.
 

toreador2008

Member
Mar 1, 2011
41
20
0
Try uninstall and re-install app. Backup another profile, hit refresh button. I'm on 1.8.4 as well and got no issues.
nothing :(
i really apricieate ur help. i dont know if this can be helpful for you. i discovered that all created profiles are stored in /data/.syah but when i open profiles file on /sdcard/StweaksProfiles/profilelist, file is empty. it seems that none of profile is written to this file or i misunderstood something?
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
nothing :(
i really apricieate ur help. i dont know if this can be helpful for you. i discovered that all created profiles are stored in /data/.syah but when i open profiles file on /sdcard/StweaksProfiles/profilelist, file is empty. it seems that none of profile is written to this file or i misunderstood something?
Try this - Uninstall app, delete "StweaksProfiles" directory in internal SD, re-install app. If this doesn't work as well, I'm out of answers. In alpha stage of an app, we can expect the unexpected.
 

toreador2008

Member
Mar 1, 2011
41
20
0
Try this - Uninstall app, delete "StweaksProfiles" directory in internal SD, re-install app. If this doesn't work as well, I'm out of answers. In alpha stage of an app, we can expect the unexpected.
no success :(
i understand this is alpha version and that we can expect everything, no worries :)
if i somehow find solution, i'll post it here. cheers
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
For people having issues with listing saved profiles, could you please try the following and let me know if this works:-

In a terminal such as terminal emulator Or reboot to recovery, mount /data under mounts and storage, connect device to pc

adb shell
chown -R root:media_rw /data/media/StweaksProfiles
chmod -R 775 /data/media/StweaksProfiles

Reboot and see if it works
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
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
 
Last edited:

droidphile

Senior Member
Jul 19, 2011
1,119
7,102
113
Bangalore
Sample profiles attached in the OP as a single flashable zip.. It's meant for Siyah kernel for GS3 i9300. Flash the zip in recovery and you have the profiles in the StweaksProfiles app. Restore, modify, backup, restore, do whatever you want.

Couple of tips on using profile app:-
- Try not to restore a profile backed up on an older version of kernel.
- Suppose you have a fav settings for Stweaks. But like to change only a part of setting like Audio for example. You set up your fav settings in STweaks app, then save the profile in Profile app. Now change only the audio settings in Stweaks (keeping everything else the same), and save the profile with a new name. Now you can restore between them and you have different audio EQ in 3 seconds..
 
Last edited:

ghul21

Senior Member
Feb 8, 2011
2,459
3,301
203
Bielsko-Biała ( Łódź )
THX for your work :victory:

Now testing battery profile on newest perseus :laugh:

Code:
GPUFREQ1=108
GPUFREQ2=160
GPUFREQ3=266
GPUFREQ4=300
GPUFREQ5=350
GPUVOLT1=875
GPUVOLT2=875
GPUVOLT3=900
GPUVOLT4=950
GPUVOLT5=975
GPUTHRESHOLD1UP=70
GPUTHRESHOLD2DOWN=60
GPUTHRESHOLD2UP=70
GPUTHRESHOLD3DOWN=55
GPUTHRESHOLD3UP=80
GPUTHRESHOLD4DOWN=65
GPUTHRESHOLD4UP=90
GPUTHRESHOLD5DOWN=75
CONTROLSWITCH_CPU=off
CPU_VOLT_1800=1300000
CPU_VOLT_1704=1300000
CPU_VOLT_1600=1300000
CPU_VOLT_1500=1250000
CPU_VOLT_1400=1187500
CPU_VOLT_1300=1137500
CPU_VOLT_1200=1087500
CPU_VOLT_1100=1037500
CPU_VOLT_1000=987500
CPU_VOLT_900=950000
CPU_VOLT_800=900000
CPU_VOLT_700=875000
CPU_VOLT_600=862500
CPU_VOLT_500=837500
CPU_VOLT_400=825000
CPU_VOLT_300=800000
CPU_VOLT_200=800000
CPU_VOLT_100=
enable_mask=2
sched_mc_power_savings=2
chargecurrent_ac=1000
chargecurrent_usb=475
logger=on
scheduler=row
scaling_governor=pegasusq
install_root=on
user_gamma_adjust=0
tsp_slide2wake=off
cpu_undervolting=-75
smooth_level0=0
scaling_max_freq=1400000
scaling_min_freq=200000
GENTLE_FAIR_SLEEPERS=on
hotplug_on=on
headphone_amplifier_level=61
fll_tuning=1
dac_direct=0
dac_osr128=1
stereo_expansion=0
stereo_expansion_gain=16
eq_selection=1
eq_preset=5
eq_band1=9
eq_band2=8
eq_band3=2
eq_band4=4
eq_band5=5
digital_gain=2
mono_downmix=0
insecure_adbd=on
cfs_tweaks=0
max_cpu_lock=2
default_stats=off
mdnie_shortcut_enabled=on
mdniemod=on
touch_boost_level=10
zram_size=0
speaker_offset=0
speaker_tuning=on
speaker_tuning_level=44
fbearlysuspend_delay0=100
led_fade=-1
It might be worthwhile to put a value for each profile in the OP.

For some users, it would be useful


One more THX and keep up the good work
 
Last edited:
  • Like
Reactions: droidphile