yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Christophe86:
hi pika!

I have a question about the gpu tuning script.

If I

don't

want the gpu to scale down below 200mhz then I have to edit the script like this?!

#!/system/bin/sh

if [ -e /sys/class/misc/gpu_clock_control/gpu_control ]; then

echo "200 200 267" > /sys/class/misc/gpu_clock_control/gpu_control;

echo "85% 45% 85% 70%" > /sys/class/misc/gpu_clock_control/gpu_control;

#echo "850000 850000 950000" > /sys/devices/virtual/misc/gpu_voltage_control/gpu_control;

fi;

If I want to keep gpu at 267 mhz then it would look like this:

#!/system/bin/sh

if [ -e /sys/class/misc/gpu_clock_control/gpu_control ]; then

echo "267 267 267" > /sys/class/misc/gpu_clock_control/gpu_control;

echo "85% 45% 85% 70%" > /sys/class/misc/gpu_clock_control/gpu_control;

#echo "950000 950000 950000" > /sys/devices/virtual/misc/gpu_voltage_control/gpu_control;

fi;

I assume that I have to edit the voltage also according to the freq it runs..
[Android Software/Hacking General [Developers Only]] pikachu01:
As mentioned, you need init.d support and you can only flash main CWM, LMK and screenstate_scaling script.

Take note that screenstate_scaling script will hang at boot if your kernel has the latest didle patch.

You can install the addon anytime you want :)

No problem :)

Your battery might be dying soon (as in wear and tear dying). Try to swap your battery with a friend's and see if it solves the problem?

Yup. All your edits are correct and you have to edit the voltage also if you want to change the frequency.
[Android Software/Hacking General [Developers Only]] botac_6:
thanks pikachu01! your works makes my life so much easier... =)
[Android Software/Hacking General [Developers Only]] Kurre:
I'll have note that it's possible to use a screenstate scaling script with deep idle kernel. DerTeufel's Devil kernel has deep idle and he had provided screenstate scaling script..haven't time to check Wyatt makes the difference but it seems to be possible (and IIRC glitch also has he's own script).

Of course this won't apply to all kernels and scripts but still.. :rolleyes:

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] Holgott:
Hmmm... Dont know why but i think my siyah system drains more battery with thunderbolt. Using ondemand with sio scheduler and tb 2.5.0 with siyah 2.6.7 ..pika u made changes to the govenor or scheduler? Normally with my usage i reach 2 days with one batteryload-i loaded battery yesterday (28hours ago) and now im at 14% :(
[Android Software/Hacking General [Developers Only]] neko95:
WIll this work with V6 supercharger?

and will it work even i dont run scripts from sdcard..? i mean will the scripts in init.d folder activated?
[Android Software/Hacking General [Developers Only]] spaxx24:
I guess Im retarded.

I mounted everything, flashed the 2.5.1 and 2.5.2 but when I boot up there are no "bolt_scripts" in /sdcard?
[Android Software/Hacking General [Developers Only]] pikachu01:
No problem :)

Not sure. I need to take a look at its implementation to be sure :)

Nope. The changes are supposed to make it more battery friendly. :/

And your usage will wholly depend on your screen time. If your screen time is large, it'll decrease the battery faster.

Dump a BetterBatteryStats log and post it in the BBS thread. Let the experts there evaluate what's going on?

There's already a Supercharger script in ThunderBolt! LMK addon. However the values it uses are ThunderBolt!'s own. You can either use the LMK addon or Supercharger, not both.

It'll work even if you don't run the scripts in the sdcard (the benefits you get are lesser if you don't).

Copy it manually. This means your CWM swapped the sdcard and emmc mount options. You can copy that folder manually from the zip file and launch it from there.
[Android Software/Hacking General [Developers Only]] spaxx24:
Where do I copy the system and meta folder? How do I know if the script is working? Thanks :)
[Android Software/Hacking General [Developers Only]] keiemz:
I cant mount sdcard in cwm. Why?
[Android Software/Hacking General [Developers Only]] pikachu01:
No need to copy the other folders. Just go to the original thread and refer to "How do I know if it works" section.

Due to your CWM version. The internal sdcard is /emmc and external sdcard is /sdcard. Don't worry about it, if you can't get bolt_scripts in your internal sdcard, just extract it from the zip file.
[Android Software/Hacking General [Developers Only]] kubson1999:
ThunderBolt-CWM bin files addon v1.1.2.zip

ThunderBolt-CWM libsqlite addon v1.0.2.zip

ThunderBolt-CWM 80MB LMK Others addon v1.0.5.zip

What gives these files? It should be installed?
[Android Software/Hacking General [Developers Only]] AceofSpades90:
Anyone running these scripts on ICSSGS stock kernel? if so, any noticeable problems/improvements?
[Android Software/Hacking General [Developers Only]] XanSama:
Hey Pika,

The file didn't exist on my phone, but I've got the problem nailed now. On the Galaxy Nexus (running 4.0.2, 4.0.3, or 4.0.4) it seems that stericson's busybox installer doesn't do what we need!

The only busybox version that worked for me (with TB!) was 1.19.4-cm9; I'll attach it to this post incase you want to add it to the OP or at least for others to find here should they come looking.

All the scripts seem to be working now; zipalign, screenstate, systemtweaks, and cfs; thanks!
[Android Software/Hacking General [Developers Only]] mab71:
Hi bro!! Hows things?? I need some help a bit. I'm on stock jq1 gtp 1000 rom with overcome kernel. U know that when flashing the kernel automatically converts everything to ext 4 right?? Well my cache partition is on ext 2…is that normal? If not, is there a way to convert it to ext 4? Thanks….and btw, I'm using yr TB scripts…smooth as always…:-)

Sent from my GT-P1000
[Android Software/Hacking General [Developers Only]] pikachu01:
The first post actively describes these files :)

Please read them.

Ahh, that's why.

Should I be posting ThunderBolt! on the Galaxy Nexus forum then? :)

Leaving cache on ext2 is fine (ext2 is a non-jounaling file system. Corruption wouldn't really affect it as cache can be rebuilt).

Cache being ext2 is what your ROM/kernel developer set upon.

You can convert it to ext4 using tune2fs, however you wouldn't get any performance nor stability benefits from doing it. My advice is just to leave it as it is :)
[Android Software/Hacking General [Developers Only]] XanSama:
I think that might be a good thing :) One word of warning; on the AOSP kernels available right now it doesn't look like the cpu governors are tweakable via the /sys/devices/system/cpu/cpu0/cpufreq/ paths; there are no governors listed in that location.

And of-course, not ALL of the sysctl settings work, but that's to be expected. Still has my phone running snappier than usual :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, that is to be expected since sysctl tunables have to be manually enabled by the kernel developer.

However, it is weird that the governor tunables aren't in that path. Do you know where governors are tuned then?

Thanks for the confirmation. I'll post it up in a few hours :)
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Pika, sorry if I'm bothering but did you now have time to look into the fiops source?
[Android Software/Hacking General [Developers Only]] Christophe86:
hi pika,

would it be possible - and offcourse, useful - to make a patched sqlite and a remount script for ics roms. because when i was still on gb, i noticed that these had a noticable effect on performance.

sent from my Samsung Galaxy S running ICS 4.0.3 (CNA 1.3.3) + Devil 1.1 BFS kernel + Thunderbolt! 2.5.1 script
[Android Software/Hacking General [Developers Only]] pikachu01:
I looked at it and found that franciscofranco just removed it >.<

I also saw in the LKML that FIOPS is still WIP (with quite a lot of work needed to get it to perform as well as current I/O schedulers.

It is possible. I need time and I can't test it though. No device that's running ICS now.
[Android Software/Hacking General [Developers Only]] neko95:
Will this work on CM7 for lg optimus one? cause i tried to flash it.. but nothing had change.. seem like scripts in init.d folder doesnt automatically run.

help please
[Android Software/Hacking General [Developers Only]] pikachu01:
Firstly, check that busybox is working fine. Did you check the "How do I know if it works" section?

Is your device nand-unlocked?
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Hey Pika,

You can find the source in glitchs and the devil repo on github ;)

https://github.com/GlitchKernel/Glitch/blob/V14/block/fiops-iosched.c

Thanks!
[Android Software/Hacking General [Developers Only]] pikachu01:
As I've mentioned, work is still being actively added into it. For now, it's not really a viable scheduler. I can see that there are some active code being added into it from LKML. Let's wait until it's released into the Linux kernel 3.0 code. :)
[Android Software/Hacking General [Developers Only]] nicyhl:
Hello,

I have flashed your scripts and check whether it's working or not section and I got this:

dirty_ratio = 80

dirty_background_ratio = 65

vfs_cache_pressure = 1

but the second one is this :

Foregrounf_app_adj : 0

Visible_app_adj : 1

Perceptible app adj : 1

Heavy weight app-adj : 2

2

2

4

7

15

which is different from your values. so did your tweak work? cause I dont feel any difference. using a galaxy sl i9003.

thanks in advance
[Android Software/Hacking General [Developers Only]] pikachu01:
Did you flash the LMK addon? The OOM_ADJ only changes when you flash the LMK addon.

Did you perform the remount in Script Manager as well as run the sqlite_optimize script?

Did you try the addons?
[Android Software/Hacking General [Developers Only]] nicyhl:
I didnt try the LMK addon , it is advisable to try it?

I have done the remounting procedure as you said and ran the sqlite_optimize script

besides that I didnt try any other addons. for galaxy sl i9003, which add on should I use?
[Android Software/Hacking General [Developers Only]] pikachu01:
You can try the libsqlite as well as the screenstate_scaling addon. Both these add to the performance by quite a significant amount.
[Android Software/Hacking General [Developers Only]] nicyhl:
what does this line mean? Ext4 lagfix if you want to use the remount script?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes. Your partitions have to be ext4 to benefit from the remount script.
[Android Software/Hacking General [Developers Only]] Serious_Beans:
ATTENTION: Mount /system, /data and /sdcard before flashing! The CWM zip doesn't mount it for you automatically!!! This is to enable all phones (almost all?) to use this script without causing bad things to happen to them. Go to "Mounts and Storage" in CWM to do this.

You can't mount sdcard on galaxy nexus...what to do about that? O_o
[Android Software/Hacking General [Developers Only]] pikachu01:
If you can't mount the /sdcard, the you have to copy bolt_scripts manually from the CWM zip. That's it :)
[Android Software/Hacking General [Developers Only]] ImbaWind:
hi malaysian

take a look at this

see his v3 script :)
[Android Software/Hacking General [Developers Only]] pikachu01:
These two post sums it up nicely:

http://xdaforums.com/showpost.php?p=22771232&postcount=47

http://xdaforums.com/showpost.php?p=22382230&postcount=17

Also, all of his work are kanged directly from a few scripts. No research at all :/
[Android Software/Hacking General [Developers Only]] nicyhl:
how to see whether my partitions are ext4?? sorry if I ask lame questions. T.T
[Android Software/Hacking General [Developers Only]] pikachu01:
Just type this:

mount | grep ext4

If there's an output, it's ext4 :)
[Android Software/Hacking General [Developers Only]] doc_2nas:
Yup, I have done a lot of stupid things by changing parameters in thunderbolt script and found out that Pikachu's values are the best. I found thunderbolt script is much better than lagfree script. Surely Pikachu has done a lot of researches and 'trials and errors' until he found the best setting for our sgs, and it is TRULY THE BEST.... period.
[Android Software/Hacking General [Developers Only]] melvinaury:
Hey Pika I'm using Illuminance 3.01, with Tegrak OC, corn Kernel 6.05 (version of Corn 7.0A and 7.06 I can't made it work with Thunderbold and Tegrak OC).Voodoo Sound Plus and of course Thunderbold 2.5.1 with all the add ons installed. Everything is working fine, but today I try to run de sqlite_optimez script, but received error Permision denied. I already check the SU icon and before when I install the Thunderbold I run the script without any problem.

Thanks,

---------- Post added at 01:51 PM ---------- Previous post was at 01:24 PM ----------

Nevermind, I just open the script and click in delete config and now is running.

I still have the question about why I can use Thunderbold with Corn Kernel 7.0A and 7.06. I read that others are running thunderbold in that kernel.
[Android Software/Hacking General [Developers Only]] pikachu01:
Hehe. Thanks for the comment :)

Yup, I've done quite a significant amount of research (you can see the fruits of my research through the guide I wrote in Android Optimization Tips, though it hasn't been updated quite often).

I don't understand your last question. Why "can" you use ThunderBolt! with Corn kernel? Or can't? If you can't, why can't you use? Any errors you get with it?
[Android Software/Hacking General [Developers Only]] ImbaWind:
yea , he included the touchscreen tweaks in the lagfree too , and our phone dont even have the file , so what for echo-ing :rolleyes:

and he even say no need execute permission to run the script

lol , !#/system/bin/sh no need execute ? :o
[Android Software/Hacking General [Developers Only]] sharp87:
does this script cause any problem when i flash over gm007's MIUI V9 ? is it compatible with miui v9
[Android Software/Hacking General [Developers Only]] pikachu01:
Too much kanging and too little research is what you'll get here. :)

The main CWM should work, so will the LMK. The screenstate_scaling should work if your kernel doesn't have the latest didle patch.
[Android Software/Hacking General [Developers Only]] neko95:
i flashed lib addons over my cm7.2 rom.. i got a bootloop
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, CM7.2 is still gingerbread right? I think there might be some changes in CM7.2 that its libsqlite is off of a completely different patchset?
[Android Software/Hacking General [Developers Only]] Brignoud:
Sorry Pikach01 if this was explained before (not found)

A little mention about compatiblity with ICS/CM9

I installed without problem the base and notice the rignt improvments

But what about sql lib, 3g and so on? (not screen state or LMK)
[Android Software/Hacking General [Developers Only]] ImbaWind:
galaxy ace has only 278 ram , is it ok if i set adj to "0,1,2,4,6,15" and minfree to "12288,18432,26624,32760,40448,48128" ?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Those adjs are virtually identical to stock (6 was a 7) so they don't do anything.

Those minfrees are way too high.

If you had 2GB of ram you can try that lol
[Android Software/Hacking General [Developers Only]] ole12:
hey pika.

i know some of the script within the init. crash with the boltscript.

Is it possible you can write witch ones on the OP?

This is what i have:

01efs

99supercharger

S01sysctl

S70darky_zipalign

S96zipalign

S98CFS

S98checkboost

S98screenstate_scaling

S98system_tweak

S99complete

And have no idea if the crash with boltscript.

Im using Checkrom V6 with NEAK kernel btw.

Btw, is there any "ram-manager" with thunderbolt? Because v6 supercharger dont work any more:(
[Android Software/Hacking General [Developers Only]] zeppelinrox:
How do you figure?

I even got ICS SuperCharged good and proper with die-hard launcher even
[Android Software/Hacking General [Developers Only]] ole12:
the minfrees dont change.

After i run V6 script and reboot, the old minfrees is still there.

But it is still Hard to Kill launcher.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
The newest 99supecharger init.d script is super sticky.

It will even beat out an app or kernel that sets minfrees after android loads up.
[Android Software/Hacking General [Developers Only]] jgcaap:
hello. I've been reading alot of your posts pikachu i went after that to try this script. It gives me error on loading the script. Gives errors such as "no such file or directory.

I've usedRemount CM7MIUI and tried also remouunt I9000 .

I'm using MIUI gingerbread 2.3.7 . What am i doing wrong? Is there a good tutorial? or video tutorial? Thanks

http://s43.photobucket.com/albums/e364/MyThEoRa/?action=view&current=20120225_190016.jpg

http://s43.photobucket.com/albums/e364/MyThEoRa/?action=view&current=20120225_190044.jpg

http://s43.photobucket.com/albums/e364/MyThEoRa/?action=view&current=20120225_190128.jpg

I'm using MIUI, i've mounted on recovery all directories,and flashed, after that i went to the script manager and run as admin both on MIUI yaff and I9000 on remount. none worked. I'm not sure what i've done wrong. I've got as kernel Glitch kernel wich i think is compatible with this script right? thanks
[Android Software/Hacking General [Developers Only]] Mopral:
1- Sqlite_optimize works for you. The error on your screenshot for this script are normal

2- I also use MIUI with Glitch kernel: you have to use the "YAFFS" remount script. The error you see on the screenshot for this one is normal since the debug function is not activated on glitch kernel
[Android Software/Hacking General [Developers Only]] neko95:
Yes.. cm7.2 is still gingerbread.. what does those libs actually do?
[Android Software/Hacking General [Developers Only]] ImbaWind:
can you tell me why ? :confused:
[Android Software/Hacking General [Developers Only]] jgcaap:
So how i Can test that is workinh? Thanks :)
[Android Software/Hacking General [Developers Only]] Brignoud:
Here I go again,

somebody can tell witch components are CM9/ICS compliants?

Only base or some add-on anyway?
[Android Software/Hacking General [Developers Only]] Helloworld294:
Hey guys i have a sgs i9000 runnung cm9 build16 on semaphore 0.9.0 kernel. I flashed this tweak and my phone didnt go past the kernel flash screen (semaphore pic while booting up in my case). I only flashed the base (original) thunderbolt 2.5.1 without any addons. I mounted everything. Plz help?
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

This has been asked and answered many times. You can use the main cwm and the LMK of you choice. You can also use the screenstate scalling addon if you are using a kernel that does

not

have the diddle patch. Those are the only three you can use. Plus, when you run the remount script, first determine if your filesystem is 'yaffs' or 'ext4', then choose the appropriate one.:)

Sorry, can't help you with that one, you'll have to wait for Pika or someone else.
[Android Software/Hacking General [Developers Only]] Helloworld294:
Nvm i fixed it hahah but the problem is it made my fone even slower... so i tried a nandroid restore but it went to bootloops... cm9 restores always went to bootlops. instability.
[Android Software/Hacking General [Developers Only]] Brignoud:
Not always, just applied a nandroid restore yesterday, and everything is fine (Slim 2.7 / Semaphore 0.9.1).
[Android Software/Hacking General [Developers Only]] pikachu01:
I've been lurking for the past few days as I've been busy in RL. Sorry about that.

When I get back, I'll work on these (on the order of priority):

- CM9 issues

- Slowness/ slowdowns for CM based ROMs on 3D graphics

- ThunderBolt! only using /system and/or /data.

- Replying to particular issues in the other thread (I maintain 10 threads for ThunderBolt! so far).
[Android Software/Hacking General [Developers Only]] parkerdjohnson:
Can anyone confirm compatibility with AOKP b26? I know that op says the main cwm image is compatible with ics, I am just wondering if anyone's got the same rig as me. Thanks!
[Android Software/Hacking General [Developers Only]] Helloworld294:
Yea coz yur using slim 2.7 nd im using cm9.
[Android Software/Hacking General [Developers Only]] Helloworld294:
I found a problem when i wanted to mount /data in recovery after flashing thunderbolt! It said "Error mounting /data" which made me to factory reset my fone :(...
[Android Software/Hacking General [Developers Only]] Kurre:
Yeah, I can confirm problems with semaphore ics kernel (at least with 0.9.0, haven't tried tb with 0.9.1 yet).

It makes the phone lag like hell..and if runned via script manager, it just stucks, so there's probably some parts which aren't compatible with semaphore (?). With devil kernel there wasn't any problems..

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] DeshTwo:
Using this script with Checkrom v6, MagicConfig and the amazing n.e.a.k. kernel v1.4x,

noop + conservative + lionheart tweaks, it rocks !:)
[Android Software/Hacking General [Developers Only]] Helloworld294:
Sooo yu mean i should try using the devils kernel? I noticed that devils kernel often cause my fone to deadsleep for some reason. No overclocking or undervolting done... but i shall try. Thank you.
[Android Software/Hacking General [Developers Only]] mab71:
Bro...what do u mean by mount /system and /data before flashing? Never done anything other than straight to flashing before...
[Android Software/Hacking General [Developers Only]] burakgon:
how can I uv after this?
[Android Software/Hacking General [Developers Only]] jnr21:
With voltage control :O
[Android Software/Hacking General [Developers Only]] MajinkenSword:
If I understand this correctly, there is no need to do this once every reboot if you've setup Script Manager to do it at Boot and has the Root option ticked.

Also, just installed Thunderbolt! v1.5.1. So far so good. Question, is it normal for Memory Freak not to work after installing the said version? It's says that my kernel isn't Talon when I try to run it.

Thank for the tweaks, really appreciate it! :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Correct. Either run it every boot or use script manager to run it every boot.

Correct also. Hence my sig. :)
[Android Software/Hacking General [Developers Only]] s30ckf:
Pika pika, thanks for your new release of v1.5.1.... I was impressed by the battery life in your v1.4, hope this version can maintain or even greater battery life + performance.....

Flashed without any problem so far, only thing is bluetooth (which happened in v1.4 also). My bluebooth can't turn on after long hours of phone usage. It working well at the fresh reboot, but back to death after hourly of phone usage. Any idea ??
[Android Software/Hacking General [Developers Only]] :
Does the default kernel from the latest MIUI rom (pawitp@pawitmbp #1) satisfy these requirements? Is it okay to use your tweaks? Thank you. :)
[Android Software/Hacking General [Developers Only]] mab71:
Thanks for yr reply.... This version is just totally awesome!!! the speed and battery consumption is something ive never experienced before in all of my history of flashing roms and kernels... Keep it up dude...always amazed by yr efforts...
[Android Software/Hacking General [Developers Only]] pikachu01:
Not sure about Bluetooth. My tweaks doesn't affect Bluetooth I think. Are you on CM7/MIUI?

Does it support init.d scripts? Can you see if there's a /system/etc/init.d

Yeah. I'm actually very satisfied with the speed and battery life. It rivals CM7/MIUI smoothness and is more longer lasting compared with my old Nokia phone LOL (if I used my Nokia phone on display that long)
[Android Software/Hacking General [Developers Only]] bundi22:
wow my phone is now flying
[Android Software/Hacking General [Developers Only]] :
Yeah saw it through the Root Explorer.
[Android Software/Hacking General [Developers Only]] pikachu01:
Then yes :)

Be sure to have backups in case anything goes wrong - as always :)
[Android Software/Hacking General [Developers Only]] :
Yay!

Thank you very much. :D