yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
Optimizing voltage (or Undervolting) can be done by other apps like Voltage Control. SetCPU can still be used for that.

The only thing that overhead is high is the Profiles (like sleep mode max 400MHz), as the app needs to be constantly loaded in memory and active, thus draining battery. Hence, both are separate entities and should be treated as such. To adjust the scaling_max_frequency, read the screenstate_scaling script and make adjustments from there.

I made them 777 for safety reasons, but all they need to be are 755. And what patch files are you talking about?

Yes, that's the MemoryFreak setting that I'm currently using :) and that is the recommended setting right now (until I discover better ones that is :P)

Hehe, I'll release it in a while, and you can test it out for yourself :)

You should. You should check too if the scripts and binary files are copied correctly just in case.

Yup, 30 in Background apps is too low for our phones. And yes, MF tweaking is obsolete so to speak as we're tweaking ram.conf directly.

I was in the process of writing an LMK article, thought I'd reply here first :P

Check out my Android Optimization Tips (in sig) after like 20mins. :P
[Android Software/Hacking General [Developers Only]] pikachu01:
Just extract the files into your ROM (according to the hierarchy) and give it 777 permission. It should work well after that :)
[Android Software/Hacking General [Developers Only]] ali_khalid5518:
well which version for xxjvt and what about sd card folder.?
[Android Software/Hacking General [Developers Only]] pikachu01:
It depends on the kernel you use.

If it's Talon, then use the Talon version. If it is other than Talon, Others version.

SDcard is only if you want to remount the mounts with better mount options (better as in a balance between performance and stability). You have to ask users to run Script Manager.
[Android Software/Hacking General [Developers Only]] Guto ViP:
Pikachu, i'm using "ThunderBolt-CWM i9000 v1.4 Others" version, so i dont need change permission for 755?

Tnx again :)
[Android Software/Hacking General [Developers Only]] awesomeandroid:
Cant change font

My font cant be change anymore after applying this fix D: .
[Android Software/Hacking General [Developers Only]] martinomac:
Pikachu, on Apex 10 it has the following tweaks in init.d baked into the ROM. I've been running it for the past 2 days and I have to say its a bit snappier.

_99ramset

S01sysctl

S02edt_perms

S70darky_zipalign

S70zipalign

S97sdcardspeedfix

S98screenstate_scaling (TB 1.4)

S98SD

S98system_tweak (TB 1.4)

S99complete

S99SuperCharger

I wish that I could somehow zip them for you...not sure how.

Anyhow, my only concern is that if any cancel each other out or conflict?

I'm also running your remount script on bootup.

thanks for the support
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, you don't need to. Everything is done automatically for you :)

What is the error? Can anyone else try to change their fonts?

Yeah, I've analyzed them already. They're in the Android Optimization Tips. Most of them are useless and can be deleted except _99ramset (in which Talon regenerates it at every boot)

99SuperCharger should be deleted as well as Talon disables them at boot. Check its permission. It should be 600, which means Supercharger can't work for Talon.
[Android Software/Hacking General [Developers Only]] Monu123:
Hi,

I am on stock jvt with semaphore, no tweak enabled just thunderbolt 1.4 and it was running fine, but today when I was trying to scroll through contacts, it was getting killed and returning to home screen. Tried several times same behaviour. Restarted phone then its ok again.

Can you please tell the way by which apps in foreground doesn't get killed.

Thanks
[Android Software/Hacking General [Developers Only]] Guto ViP:
Tnx again, but with Root explorer i see permission of tweaks files stays 777 after flash Thunderbolt. Normal?
[Android Software/Hacking General [Developers Only]] pikachu01:
Were you using the 256HP or 512HP edition? If you're using 256HP, I'll be releasing a better LMK/OOM setting that will resolve that :)

Yes. normal.
[Android Software/Hacking General [Developers Only]] jnr21:
I had same problem with simplicity/semaphore and without thunderbolt installed, so i think that problem is not in thunderbolt tweaks. Try fix permissions.
[Android Software/Hacking General [Developers Only]] Mopral:
@Pikachu01: you should add a line in the "known issues" of the OP

Busybox does not like that your tweak push files in xbin folder so you should warn people to use busybox installer after a flash.

And also ask them to report issue only AFTER using busybox installer to repair busybox
[Android Software/Hacking General [Developers Only]] awesomeandroid:
Help

Can somebody try to change their font? I changed the font at setting > display > font and nothing happens :(.
[Android Software/Hacking General [Developers Only]] martinomac:
Good to know, if you don't mind telling me which ones I should delete as I don't want to remove any of your tweaks or the butter smoothness.
[Android Software/Hacking General [Developers Only]] saszseb:
As I said before, in my first test I removed all files before installing the TB.
[Android Software/Hacking General [Developers Only]] pikachu01:
Glitch, or glitch's app might be overriding something in the system causing ThunderBolt!'s values to get overwritten I think.

I checked both. If the filenames aren't the same as ThunderBolt!'s, it can be flashed over. One thing to note though, if Glitch has something that overrides values, flashing ThunderBolt! would only be half as effective as it can be.
[Android Software/Hacking General [Developers Only]] pikachu01:
Hey guys, I found out the cause of the random reboots.

Try adding +25mV to your 1GHz (if you're undervolting). The sampling_down_factor of 2 will cause 1GHz to be utilized a bit longer than usual (resulting in an overall smoother experience).
[Android Software/Hacking General [Developers Only]] fdbailes:
hey pikachu01 need to clear out some doubts here

i'm having this scripts on my init.d folder do i need to delete them first, also some of them have similar tweaks like yours already checked that, they were on simple and clean rom 2.4.3 for i9100

-s97ramscript

-s98tweaks

-s70zipalign

-loopysmoothnesstweak

And 01siyah (from battery zip) also has to be delete?, you already included those tweaks?. correct me if i'm wrong

btw great work :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, to all your questions :) releasing another one soon.
[Android Software/Hacking General [Developers Only]] pikachu01:
[CWM][SCRIPTS][TWEAKS] ThunderBolt! v2.3.1 - 12/31/11 [Lots of Bugfixes!]

News

Updated ThunderBolt! to v2.3.1 with some bugfixes to the touchscreen tweaks, commenting out sampling_down_factor as well as smartassV2. Also did some minor changes to some tweaks. Read the changelog :)

Changelog:

12/31/2011 (2.3.1, screenstate_scaling 1.4.1)

- Moved SGSII tweaks onto another file (S98bolt_siyah)

- Made heap_size tweak to be 64MB by default or 80MB if greater than 64MB (in build.prop). 48MB or 64MB doesn't really make a difference. Haven't seen an app consume more than 32MB of heap yet.

- Commented out max window events. Each phone is different. Defaulting this to 60 seems wrong.

- Used an if/else on the idle_sleeping_frequency for smartassV2.

- Commented out sampling_down_factor. Some phones can't take it.

- Finally figured out why touchscreen tweaks aren't working :S I saved it using the wrong format! It should be UTF-8 [unix] instead of UTF-8[windows]. Facepalm!
[Android Software/Hacking General [Developers Only]] MAQ7:
That was so quick

I will give it a try

Thanks
[Android Software/Hacking General [Developers Only]] jnr21:
I have I9000, do i need to delete S98bolt_siyah?
[Android Software/Hacking General [Developers Only]] pikachu01:
Doesn't matter. The settings won't take off you're not using i9100. Leaving it or deleting it won't affect anything.
[Android Software/Hacking General [Developers Only]] Ashtrix:
@pika

It's very sad that my Glitch v14 R3 wont accept the TB v2.3.0 here are the screenshots....please help me if you could diagnose the issue...:(

and one thing in here where is the default screenstate_scaling script from TB's init.d push gone..:confused: ??
[Android Software/Hacking General [Developers Only]] acras:
There is strange issue with 2.3.x revisions - CPU stacks in highest frequency and never goes to deep sleep. Graphic performance is very low, interface lags like hell. 2.2.0 performs perfectly.

I897, Saurom JVZ, corn kernel 1.02.
[Android Software/Hacking General [Developers Only]] stevehkim:
Pika if im doing thunderbolt 2.3.1 for siyah 2.6.2 do I need to run the scripts each time I reboot? Also I don't see remounts for i777 sgs2. but i'm using miui do I use cm7/miui?
[Android Software/Hacking General [Developers Only]] .:Crack:.:
pika, how can i tweak cfs on ics? the path seems wrong...
[Android Software/Hacking General [Developers Only]] 771127:
screenstate_scaling can be used on fugu kernel?
[Android Software/Hacking General [Developers Only]] MajinkenSword:
do we still need to do the new updater thingy if we want to flash 2.3.1?
[Android Software/Hacking General [Developers Only]] Ashtrix:
No, the latest one is repacked into the Zip or if you feel it is not then download from the OP. Please feel free to read OP before POSTING ..!
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, you have to ask in Glitch's thread to see if the kernel dev did something to hard code the values. The sysfs interface seems to be broken for the dirty_ratio/dirty_background_ratio/vfs.

The 2.3.0 change won't affect i9000 that much (except the sampling_down_factor change which will boost performance rather than lower it). Have you tried 2.3.1?

Can you provide the output for "mount" without the quotes in terminal emulator?

You'll still need to use Script Manager for sqlite_optimize and remounts. All others are automatically executed.

You don't have /proc/sys/kernel/sched_* files?

If so, the kernel dev needs to enable CONFIG_SCHED_DEBUG.

Does fugu kernel include the recent didle patch? If yes, then you can't use screenstate_scaling.
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Updated ThunderBolt! to v2.3.2 with governor tweaks and bugfixes.

Changelog:

12/31/2011 (2.3.2, screenstate_scaling 1.4.2)

- Fixed ondemand tweaking for certain kernels(some kernels have the path to be /cpufreq/cpu0/* rather than /cpufreq/*)

- Added OndemandX tweaking as well in screenstate_scaling.

- Added sample rate tweaking in screenstate_scaling. This will make all tweaked governors (ondemand/ondemandX/lulzactive/smartass perform faster and sleep better using screenstate_scaling.

- Tweaked lulzactive/smartass/ondemand/ondemandX to have 20,000 sample rate when screen is on. 10,000 seems a bit too much.

- Tweaked all governors to have a sample rate of 100,000 when sleeping. Battery friendly.
[Android Software/Hacking General [Developers Only]] Crazy-Silver:
Is it normal that the bolt_scripts folder is in /sdcard/external_sd ?

From my Samsung Galaxy S II - Rom : CheckRomRevolution HD 5.0 - Kernel : Siyah 2.6.3 - Theme : Ice Cream Sandwich Domination 1.7.2

CHECKROM REVOLUTION HD BETATESTER
[Android Software/Hacking General [Developers Only]] pikachu01:
It depends on where /sdcard is mounted. If /sdcard is mounted on /sdcard/external_sd/ then it's normal :)
[Android Software/Hacking General [Developers Only]] senotrius:
please forgive if already answered.but does the latest update fully/properly supports cm9 kernels.its not said anywhere in the op?can cm9 custom kernel users answer please?
[Android Software/Hacking General [Developers Only]] Crazy-Silver:
I am using screen_scaling addon (latest 1.4.2) but the values in terminal emulator are :

dirty_ratio = 80 dirty_background_ratio = 65 vfs_cache_pressure = 1

Why ?

From my Samsung Galaxy S II - Rom : CheckRomRevolution HD 5.0 - Kernel : Siyah 2.6.3 - Theme : Ice Cream Sandwich Domination 1.7.2

CHECKROM REVOLUTION HD BETATESTER
[Android Software/Hacking General [Developers Only]] pikachu01:
That is correct. When the screen is on, it's supposed to be that value.

Only when:

When your screen is off, you use ADB and check the values, it'll be those values you've posted.
[Android Software/Hacking General [Developers Only]] acras:
2.3.2 still doesn't work for me. Highest frequency even when screen off, slow mo in launcher just after i've flashed 2.3.2 without addons or 1.4.2 screenstate with 2.2.0.

Can you upload 1.3.5 screenstate_scaling?

Smartassv2 of corn i9000-C 1.02 kernel.
[Android Software/Hacking General [Developers Only]] pikachu01:
What governor and kernel are you using?
[Android Software/Hacking General [Developers Only]] hausmanis:
anyone else that cant find script manager in android market?
[Android Software/Hacking General [Developers Only]] burakgon:
How can I disable bulletproof launcher for better gaming and ram with lmk.
[Android Software/Hacking General [Developers Only]] pikachu01:
The launcher is not bulletproof :)

It will be killed if it needs to.
[Android Software/Hacking General [Developers Only]] TerraBuzz:
For testing and tweaking purpose, I used CM7MIUI i9000 Restore CWM v1.0.2.zip to remove Thunderbolt 2.3.2. Now, the only remaining script in init.d is S98bolt_siyah...? :confused:
[Android Software/Hacking General [Developers Only]] pikachu01:
Oops. Forgot to update the restore pack to remove that file. I'll update that a bit later. Sorry about that :(
[Android Software/Hacking General [Developers Only]] TerraBuzz:
No probs mate... ;)

And happy new year Pika, I would love to see Fireworks ignited by Thunderbolt! :p
[Android Software/Hacking General [Developers Only]] AJ.Rockwell:
Hey Pika, thanks a lot for this handy system tweaking utility, just what I was looking for all the time! (Found your input at gokhan's siyahkernel thread, so I looked a little bit :)

Just wanted to say - for users who get SOD after flashing thunderbolt, just rename S91voltctrl in /system/etc/init.d to S91voltctrl.bak or delete it, it seems to be conflicting with Voltage Control's settings.

Big props!!
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, the aggressive CFS will reveal instabilities faster. Try this without ThunderBolt!, play an RMVB file in software decoding for 10minutes. It'll hang even without ThunderBolt!. This shows that your UV settings are too aggressive.

Use my guide to undervolt (Android Optimization Tips - CTRL -F for undervolting).
[Android Software/Hacking General [Developers Only]] Mopral:
All works great for me on MIUI.

3G addon too...
[Android Software/Hacking General [Developers Only]] jaquez4:
When I flashed the newest update my init.d folder was empty. So I looked in the old init.ori whatever it was and found another folder named init.d. I just copied the scripts from there to the empty one. Dont know if that was a known side effect or if I did something wrong
[Android Software/Hacking General [Developers Only]] hausmanis:
anyone having problems with script manager crashing when trying to launch it ?

Using insanity CM rom
[Android Software/Hacking General [Developers Only]] sherpa25:
hi Pika, just saw the latest v2.3 and screen_scaling 1.4.2..... currently in v2.2 and screen_scaling 1.3.1 on Semaphore. Are the changes for the S2 only, or usefull for the S1 also? If the latter, would I need the new updater_binary too, before flashing v2.3? Thanks.
[Android Software/Hacking General [Developers Only]] fdbailes:
got a question for screen scaling addon do i have to edit it and select my awake and sleep governor, or i need to flash without any changes
[Android Software/Hacking General [Developers Only]] AJ.Rockwell:
Ohhh so this is why... I was running with -75mV UV on every step, rock stable (FPse, gameloft games etc..) , then it started SOD'ing :) So I guess it was kind of a conflict, or is -75mV really that aggressive for my chip? :((((

anyways, happy new year to you Pika and all the members, thanks a lot.... little drunk as of now :D
[Android Software/Hacking General [Developers Only]] adriankim1984:
2.3.2 works great on JetpackMOD 8.1. thanks pika.
[Android Software/Hacking General [Developers Only]] pikachu01:
You're using Semaphore right? If you reboot before 3minutes are up, Semaphore will move all scripts to init.d.ori.
[Android Software/Hacking General [Developers Only]] pikachu01:
There are changes for i9000 as well. Check the changelogs. The updater_binary is already updated in the newer packages. Only if you're using CWM5.5, that you have to use the newer updater_binary.

You can edit it if you want, but if you're using a governor that sleeps well (like smartassV2 or ondemand with newmail's patch) then you don't need to edit.

Yeah, it's quite aggressive if 1GHz is using -75mV. Some apps reveal instabilities more than others. The best is using RMVB files playing with software decoding.

Are you UVing too much?
[Android Software/Hacking General [Developers Only]] jaquez4:
Yes im on semaphore and ohhhhh.....thats why it emptied...
[Android Software/Hacking General [Developers Only]] saphirrot:
Pikachu, i got a little problem. While playing Monopoly ( took about 95 mb ram ) some called me, phone only vibrates, doesnt show me the call screen. I was trying to get back to the homescreen, but nothing happend, game was freezing after hitting the home button.

I´m on Lukiqqs Supercharged Rom , with Thunderbolt Script 2.3.2 with Screenscaling 1.4.2

May you can help me ?
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you OCing/UVing?

Did you use the LMK addon?
[Android Software/Hacking General [Developers Only]] yani2000:
Me too! :(
[Android Software/Hacking General [Developers Only]] fdbailes:
using ondemandx with your thunderbolts scripts as well as siyah kernel, what is your opinion leave it like that or setting awake governor to ondemandx and sleep governor conservative

or maybe ondemand/conservative.

your advise would be great :)

btw thanks for all the answers
[Android Software/Hacking General [Developers Only]] pikachu01:
Try increasing 25mV to all your UVing?

OndemandX is a good governor for sleeping as well as awake. Have you tried lulzactive/smartassV2? They are good for awake and sleeping too.
[Android Software/Hacking General [Developers Only]] yani2000:
I don't use UnderVolting and it's the only app that crashes.
[Android Software/Hacking General [Developers Only]] pikachu01:
Crash as in FC or crash in hang?
[Android Software/Hacking General [Developers Only]] yani2000:
It force closes when trying to start a script (like your scripts from "bolt_scripts" folder).

It also force closes when phone boots when I set the "remounti9000" script to start as ROOT at BOOT.

EDIT: It's probably the Script Manager app fault or something.
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you report this to the dev? They can probably get a dump log from you and check what the problem is.
[Android Software/Hacking General [Developers Only]] adriankim1984:
got no problem on JetpackMOD v8.1
[Android Software/Hacking General [Developers Only]] yani2000:
I have one more question for you pikachu. :)

You will probably know the answer to this one.

I saw your postings today in semaphore topic about smoothness in scrolling in root explorer.

Since day one (when I was still on Android v2.1) I had lag /stutter in Favourites tab in Dialer.

Funny thing is, it was nowhere else (Log tab, Contacts, Messaging, Root Explorer, Astro, ...).

How is that even possible? Is there a fix for that or should SGS owners just live with that?

Currently I'm using SIO and smartassV2 and your addons (like 40 LMK (others)), but this isn't the point because on other configurations it was the same.
[Android Software/Hacking General [Developers Only]] burakgon:
But looks like it is. How this can be? No way to kill it. Even on task manager.
[Android Software/Hacking General [Developers Only]] ~ Myzrael ~:
My launcher get killed if i launch a heavy app
[Android Software/Hacking General [Developers Only]] xuxuzao:
pika,

is it necessary to reinstall the script every time i flash a new kernel?
[Android Software/Hacking General [Developers Only]] Fenvarien:
Pika recommends to do this after a kernel flash. To be on the save side I've always reinstalled Thunderbolt after flashing a new kernel.

... using tapatalk
[Android Software/Hacking General [Developers Only]] yani2000:
If the ThunderBolt scripts are in /etc/init.d folder then you don't need to reinstall them.

If you don't have Root Explorer on any other explorer to check then reinstall just to be on the safe side. :)
[Android Software/Hacking General [Developers Only]] xuxuzao:
i ve installed thunderbolt 2.3.3 + screenstate_scale 1.4.3 over siyah 2.6.2 and my cel doenst boot

what could it be?

edit:

instaled just thunderobolt 2.3.3 without screenstate_scale and it works

but i do want to use the screenstate

what should be the problem?

using miui! tks
[Android Software/Hacking General [Developers Only]] fusionjack:
Hi pika, after flashing screen_scaling 1.4.3, I experienced lag on my i9100. So, after observing the script for a while I found out that with cpu scaling 100-1000 MHz, the lulzactive 'if' conditional pump_up_step ended up to 1. That explains the lag.

I'm not sure if this is intended, but I think it is a bug as 200-1200 MHz gives the pump_up_step 4.
[Android Software/Hacking General [Developers Only]] eliteforce:
Pika I'm using 2. 3. 2 and when I open sms its closing! But phone works very smooth! Should I play with CFS? Wich better for smoothness? And performance?
[Android Software/Hacking General [Developers Only]] KMino:
Pikatchu some feedback,

Talon 50M LMK add on. It shall be overwritten by TalonDEV as the version isn't 1.02 in your ram.conf file, but still 1.00. Perhaps you missed this or something? :)
[Android Software/Hacking General [Developers Only]] melvinaury:
Bb
[Android Software/Hacking General [Developers Only]] s_o_r_e_n:
U cant't use screenscaling because of the new didle patches in recent Fugu. It causes bootloop.
[Android Software/Hacking General [Developers Only]] Crazy-Silver:
Pika i need of the restore package for cyanogenmod 9..... Can you do it ?

From my Samsung Galaxy S II With CyanogenMod 9
[Android Software/Hacking General [Developers Only]] xuxuzao:
so nobody with cm7/miui can use it?
[Android Software/Hacking General [Developers Only]] Mopral:
I use it on miui but with Glitch v13 kernel that does not have the didle code
[Android Software/Hacking General [Developers Only]] pikachu01:
Try using Ondemand to see if you still get the problem. Are you using stock or custom ROM? Might be a theme or a hack in your ROM in your dialer that makes it lag?

I think I covered all the bases in 2.3.3. Try that?

Can you try not UVing/OCing and see if it still closes? I'm using CFSK which is good (reported by a lot of members).

I need to update that :S

Thanks for the remind. :)

Can you provide these files:

/system/bin/app_process

/system/bin/system_server

/system/lib/libsqlite.so

/system/bin/libsqlite_jni.so

It should be in the ROM itself. Upload it here.
[Android Software/Hacking General [Developers Only]] melvinaury:
How do I use screen scaling. I'm using Iluminance 3,01 with tegrak OC and Corn Kernel. In Tegrak I have some scaling options. But ondemax2 and smart..V2 are not included.

Thanks and Happy New Year
[Android Software/Hacking General [Developers Only]] eliteforce:
Reup
[Android Software/Hacking General [Developers Only]] fusionjack:
I saw you covered lulzactive pump_up_step only for:

100-1200, 100-1400, 100-1600

200-1200, 200-1400, 200-1600

but not for:

100-800, 100-1000

200-800, 200-1000

so the pump_up_step ended up with 1 (default?)