I can try it in script manager next if you like; I just added some echo > logfile for debugging in the system tweak script, and it doesnt even seem like it's getting run. It's not even creating the log file; but if I run it from adb shell it works fine and makes a log file and the settings stick.
Thoughts? Still try script manager?
Edit: Also runs fine in script manager.
Edit2: I double checked all the permissions and tried renaming the S98system_tweak to S98CFS as that one was working; still nothing. :/
Had the same drain like yesterday. I charged before goin to bed and unplugged few hours later when phone was fully loaded. When i woke up in the morning, my battery was at 90%. (2-4% w/o tb)
I uploaded screenshots og bbs and cpuspy
Yeah, got avg antivirus and 3g watchdog ...i just have to flash 9100restore package right? Flashing now and will tell u after the next night.
Thanx for You hard work dude!pikachu01; said:
i'm quite lost right now. am i should remount each time the phone reboot?
yes, but u can set in script manager run at boot. then u havent to do anything on boot
I swear I read something about letting the SD card load 1st so I don't think set on boot would work
Sent from my GT-I9000 using XDA App
1-Thanks again for the updates on Thunderbolt Pika. it works perfectly!
2-Can I put the Bolt Scripts in init.d instead of running them with script manager?
3-In the GPUCPUtune script, what do I need to keep if I only want to tune up the GPU and not the CPU? I prefer to use NSTools to set my CPU voltage.
Edit: This?
#!/system/bin/sh
if [ -e /sys/class/misc/gpu_clock_control/gpu_control ]; then
echo "100 200 267" > /sys/class/misc/gpu_clock_control/gpu_control;
echo "85% 45% 85% 70%" > /sys/class/misc/gpu_clock_control/gpu_control;
#echo "800000 850000 950000" > /sys/devices/virtual/misc/gpu_voltage_control/gpu_control;
fi;
Thanks!
Hi pikachu, thunderbolt works great on cm9 build16 with semaphore ICS 0.8.1, but I have one question, I'm using spb shell, a very memory hungry launcher, so I try to change dirty_ratio to 20, dirty_background_ratio to 5, and vfs_cache_pressure to 1000 in order to avoid out of memory. And actually those settings work pretty good on my phone. What do you think of those setting? Thanks in advance pikachu.
Sent from my GT-I9000 using Tapatalk
is screenstate_scaling working on miui+siyah latest version?
do i have to change anything to make scripts work?
tks!
Thanx for You hard work dude!
I'm gonna use You scripts in the ROM I 'm cooking at the moment on my lonesome country kitchen ;-) May I?
The warm dish will be presented a t The 4PDA.ru
=
First I tryed placing Your script all together (except those on sdcard and 3G of cause) to device I noticed a pretty high back side warming and the battery started to "melt down" (about 5-6% drain in a half an hour).
I left phone for few hours for rest and found it switched off after it!!! So it arbitrarily did it! I turn it on about an hour ago and... It's fine. No heat. But battery drain is still presented. I use No-frills for CPU control. This is it's state (see attached).
Keep on testing
=
p.s. My phone is I9003
accidentally I went this thred instead the one for GT-I9003
yes, but u can set in script manager run at boot. then u havent to do anything on boot
I swear I read something about letting the SD card load 1st so I don't think set on boot would work
Sent from my GT-I9000 using XDA App
Sorry pikachu but , i want to know... tunderbolt is compatible with Redpill kernel (from hyperdroid ?)
thanks
What OOM situation did you encounter? Lags or apps that keep exiting or reboots?
AFAIK I haven't encountered OOM situations with the configuration I use now :/
You are welcomed to change the settings to suit you though if you think that is the best for your situation
yes, but u can set in script manager run at boot. then u havent to do anything on boot
/system/etc/init.d/
S98system_tweak
S98CFS
su
sysctl -a | grep vm
dirty_ratio = 80
dirty_background_ratio = 40
vfs_cache_pressure = 10
dirty_ratio = 90
dirty_background_ratio = 75
vfs_cache_pressure = 1
getprop | grep ADJ
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.PERCEPTIBLE_APP_ADJ]: [2]
[ro.HEAVY_WEIGHT_APP_ADJ]: [4]
[ro.SECONDARY_SERVER_ADJ]: [5]
[ro.BACKUP_APP_ADJ]: [6]
[ro.HOME_APP_ADJ]: [3]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.EMPTY_APP_ADJ]: [15]
-73097: aNew->safety_level = 3;
+73097: aNew->safety_level = 1;
-105161: db->aDb[0].safety_level = 3;
+105161: db->aDb[0].safety_level = 1;
echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
echo "100 100 100" > /sys/class/misc/gpu_clock_control/gpu_control;
echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
echo "100 100 100" > /sys/class/misc/gpu_clock_control/gpu_control;
I will upload a flashable collection of scripts here in an hour Wait for it