yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
It's the same one for every phone. The main CWM 2.5.0 and the addons in the second post.

Just flash it over :)

No need to remove anything. All the addons are compatible except the 3G addon. You can pick and choose. The OT describes each of the addon for you to make a choice :)
[Android Software/Hacking General [Developers Only]] cckc17:
hello

just got a problem here:

when im trying to use scrpit manager to use the cpugputune scrpit, it comes out:

and i got a ";" in script:

with I9100. ThunderBolt! 2.5.0, siyah 2.6.11

how come?:confused:
[Android Software/Hacking General [Developers Only]] pikachu01:
Agh, that's totally my fault. I'll update it to fix it. The if/fi needs to be commmented out as well if the UV_MV_Table is commented out.
[Android Software/Hacking General [Developers Only]] cckc17:
haaa wait for yr update;)
[Android Software/Hacking General [Developers Only]] pikachu01:
You can fix it by yourself for now.

Just add a "#" without the quotes in the beginning of "if .... " and "fi;".

#if [ -e /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table ]; then
#echo "1400 1300 1175 1075 975 850 825 825 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table;
#fi;

Like that.
[Android Software/Hacking General [Developers Only]] cckc17:
ran the script sucessfully, but seems it does not change the voltage and the gpu settings..weird
[Android Software/Hacking General [Developers Only]] pikachu01:
You can check using Root Explorer/File Expert/Root Browser to see the files if they are changed.

Did you tick root and boot?

Try rebooting?
[Android Software/Hacking General [Developers Only]] cckc17:
done all the steps and i hv used root explorer to check and it does dont change the values
[Android Software/Hacking General [Developers Only]] cckc17:
here are the screen shots

1. the script content

2. after running the script

3. reboot.and.check with.root.explorer
[Android Software/Hacking General [Developers Only]] pikachu01:
You checked the CPU undervolting file, but you didn't uncomment the CPU undervolting line. (You have to uncomment it to have it work).

Also, you should change the undervolt options as mine is pretty aggressive for most phone.
[Android Software/Hacking General [Developers Only]] Lulavc:
Hi pika, im using screenstate_scaling with smartass2 for awake and conservative for sleep. Also set min & max freq to 100 - 1000.

Also, using VC set to load on startup.

My VC settings are Smartassv2 with sio scheduler. Frequency on 100 - 1000 and a little UV. Also changed some values on GPU.

My question is: That will cause some problems with the configuration set on screenstate_scaling ?
[Android Software/Hacking General [Developers Only]] jocke_lulle:
Hi

My setup is stock odex jw1 with semaphore. I am using semaphore app to switch between different script-packages to test which one suits me the best. But if I want to zipalign my apps, can I just extract the s70darky_zipalign-script from the main tb-script and copy it to system/etc/init.d and reboot?

Thanks
[Android Software/Hacking General [Developers Only]] ZaneZam:
jep, so it is! ;)
[Android Software/Hacking General [Developers Only]] Mopral:
Nope!

You have two files to extract from the main TB: zipalign script and zipalign file.

Zipalign script is useless without the zipalign (binary) file!

Next thing is to copy script in /system/etc/init.d and file in /system/bin

Then you reboot your phone
[Android Software/Hacking General [Developers Only]] Holgott:
Got a i9100 with siyah 2.6.7. I think about flashing the thunderbolt script-first of all the main script!!

When i flash it, what is exactly manipulated?? Are there just the files put into the init.d folder or is there any other thing of changing while flashing it?
[Android Software/Hacking General [Developers Only]] ZaneZam:
Jep SO it is of course! Sorry for the fast shot i forgot about the binaries!
[Android Software/Hacking General [Developers Only]] Wahaha123:
Thanks again pikachu01! :)
[Android Software/Hacking General [Developers Only]] cckc17:
how to uncomment the line? in which file?sry im newbie
[Android Software/Hacking General [Developers Only]] cckc17:
look like this? it changes the values after.runnung
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope. It won't have problems :)

It copies some files to the init.d, /data and /system/xbin and /sdcard.

No prob :)

Yup. That's it. Are you sure your phone can handle that aggressive of a setting?
[Android Software/Hacking General [Developers Only]] cckc17:
ur phone can handle it then my phone too i think lol

how to test it?
[Android Software/Hacking General [Developers Only]] jocke_lulle:
Post deleted. I aswerd my own question:)
[Android Software/Hacking General [Developers Only]] pikachu01:
Limit your frequency using Voltage Control, then play a MKV file from here:

http://xdaforums.com/showthread.php?t=1054962

For 10minutes using that particular frequency using software decoding in MX video player.
[Android Software/Hacking General [Developers Only]] jocke_lulle:
Do you mean to system/xbin? The zipalign file seems to be placed in /system/xbin.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, it's system/xbin :)
[Android Software/Hacking General [Developers Only]] jocke_lulle:
Thanks. One last question, should I change the permission of the s70-script too?
[Android Software/Hacking General [Developers Only]] edwinlim9310:
What are the files in the sdcard folder named "bolt_scripts"? Is it safe to delete it?
[Android Software/Hacking General [Developers Only]] pikachu01:
All of them should be rwx-rwx-rwx. What s70script?

Read the first post :)

bolt_scripts is a folder where remount/sqlite_optimize and cpugputune scripts are.
[Android Software/Hacking General [Developers Only]] jocke_lulle:
The S70darky_zipalign.

As I wrote earlier I only wanted to use that script without flashing the tb mainscript, as I use semaphore app to swtich between the inbulit scriptpackages to see which one suits me the best:)
[Android Software/Hacking General [Developers Only]] dawidk750i:
pikachu why You can't tune GPU in Galaxy S?
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh. Yes. rwx-rwx-rwx. :)
[Android Software/Hacking General [Developers Only]] Holgott:
Ty for the answer pikachu. One last thing i wanna know before starting over with tb is, whether i flash the restore package for my i9100 after installing tb is there absolutely the same system if before flashing tb? I mean, is the restore package able to make my system 100%like it was before or it just deletes some files and leave some manipulated behind?
[Android Software/Hacking General [Developers Only]] pikachu01:
It should delete everything :)
[Android Software/Hacking General [Developers Only]] Holgott:
Ty bro.. Im now on your bolt. Will see how it works
[Android Software/Hacking General [Developers Only]] pikachu01:
Let me know :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Just went and login to Paypal and discovered one donation done a week ago and another one month ago. Thanks to the ones that donated.

Appreciate it :)
[Android Software/Hacking General [Developers Only]] Mopral:
Sorry for this one!

Forgot to check what I wrote before posting...
[Android Software/Hacking General [Developers Only]] sherpa25:
Just to confirm, 2.5 doesn't have any changes for the i9000?
[Android Software/Hacking General [Developers Only]] pikachu01:
It has actually :)

The governor tweaks for smartassV2 and conservative.
[Android Software/Hacking General [Developers Only]] trailblazerz11:
Would governor tweaks mess with LiveOC? My phone crashes if I switch to SmartassV2 when LiveOcing and changing voltages.
[Android Software/Hacking General [Developers Only]] pikachu01:
If your phone crashes, you shouldn't be OCing at all at that frequency. Prolonged usage will lessen the processor's life (by how much? I don't know).

When you OC/UV, be sure to stress test it by playing an MKV file for 10minutes under that frequency. If it crashes, lower down the OC.
[Android Software/Hacking General [Developers Only]] trailblazerz11:
I oc fine on other governors. Question is if changed values due to liveoc will cause issues with your governor tweaks.

I don't know much code but seems like tweaks use stock frequency which wouldn't apply to liveoced frequencies
[Android Software/Hacking General [Developers Only]] pikachu01:
There is a possibility actually. Certain frequencies if it lingers too long on it will cause hangs if your phone can't take it. Most likely no though since ThunderBolt! employs more battery friendly values (frequencies tend to not linger too long on the high end).
[Android Software/Hacking General [Developers Only]] XanSama:
Hey Pika,

Do we know if ThunderBolt! would have a good/bad/any effect on the Galaxy Nexus?
[Android Software/Hacking General [Developers Only]] edwinlim9310:
I have some problem here. I updated to v2.5.0 after flashing update to Jetpack v9.0 by doing the mounting steps and flash straight from the cwm. After that, I did not do anything.

After reboot, I looked into the root folders, init.d folder is empty and there's another folder called the init.d.ori. What is happening here? I'm not sure if the scripts are enabled or not...
[Android Software/Hacking General [Developers Only]] Marshy919:
Does this only work on 2.3.* like the description says or will this work natively on 4.0.3 (build 15)?
[Android Software/Hacking General [Developers Only]] pikachu01:
I haven't tried it on Galaxy Nexus yet (Don't have the device). Can you try it out? Be sure to have a nandroid backup just in case.

The main CWM, the LMK and screenstate_scaling could work but not the other addons.

You're using Semaphore kernel right? If you reboot before 2 minutes is up when you first boot, it'll move all the scripts to init.d.ori. Try reflashing ThunderBolt! and don't reboot 2minutes before you first boot.

It can work for 4.0.3 but only the main CWM, LMK and screenstate_scaling (could work if you have init.d support for your kernel). Be sure to have a nandroid backup just in case :)
[Android Software/Hacking General [Developers Only]] Holgott:
Hmmmmm... Had 11% batterydrain over night. Betterbatterystats telling me kernel wakelock: vbus present was 8 hours alive. Wasnt before flashing tb. Anyone know what to do?
[Android Software/Hacking General [Developers Only]] pikachu01:
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/vbus_present
[Android Software/Hacking General [Developers Only]] Holgott:
Ok, i guess it was another reason for the drain :) i reset stats of bbs and will watch when the drain is not goin away. So far nice performance with tb. Good job pikachu!
[Android Software/Hacking General [Developers Only]] XanSama:
On the Galaxy Nexus so far:

Zip align is working:

uid=0 gid=0@android:/ # cat /data/zipalign.log
cat /data/zipalign.log
Starting Automatic ZipAlign 02-11-2012 16:02:41
ZipAlign already completed on /data/app/com.adobe.flashplayer-1.apk
ZipAlign already completed on /data/app/com.adobe.reader-1.apk
ZipAlign already completed on /data/app/com.androidemu.gbc-1.apk
ZipAlign already completed on /data/app/com.androidemu.gens-1.apk
ZipAlign already completed on /data/app/com.androidemu.gg-1.apk
ZipAlign already completed on /data/app/com.androidemu.nes-1.apk
ZipAlign already completed on /data/app/com.androidemu.snes-1.apk
ZipAlign already completed on /data/app/com.dropbox.android-1.apk
ZipAlign already completed on /data/app/com.gau.go.launcherex-1.apk
ZipAlign already completed on /data/app/com.google.android.apps.maps-1.apk
ZipAlign already completed on /data/app/com.google.android.street-1.apk
ZipAlign already completed on /data/app/com.google.android.videos-1.apk
ZipAlign already completed on /data/app/com.netflix.mediaclient-1.apk
ZipAligning com.swype.android.inputmethod-1.apk
ZipAlign already completed on /data/app/com.zegoggles.smssync-1.apk
ZipAlign already completed on /data/app/org.adaway-1.apk
ZipAlign already completed on /data/app/org.zwanoo.android.speedtest-1.apk
ZipAlign already completed on /data/app/xcxin.filexpert-1.apk
Automatic ZipAlign finished at 02-11-2012 16:02:55
uid=0 gid=0@android:/ #

CFS script is working:

uid=0 gid=0@android:/ # sysctl -a | grep -i -e vm.drop_caches -e kernel.sched_min_granularity_ns -e kernel.sched_latency_ns -e kernel.sched_wakeup_granularity_nsity_ns -e kernel.sched_latency_ns -e kernel.sched_wakeup_granularity_ns
kernel.sched_min_granularity_ns = 1500000
kernel.sched_latency_ns = 10000000
kernel.sched_wakeup_granularity_ns = 2000000
vm.drop_caches = 0
uid=0 gid=0@android:/ #

Touchscreen script is NOT working:

uid=0 gid=0@android:/ # cat /sys/class/touch/switch/set_touchscreen
cat /sys/class/touch/switch/set_touchscreen
cat: can't open '/sys/class/touch/switch/set_touchscreen': No such file or directory
uid=0 gid=0@android:/ #

System Tweak is NOT working: When run by init.d none of the values are set (or they're set but don't stick). When run from the shell it is working.

Any thoughts on the system tweak? For now I'm off to test the LMK and screen state scripts...
[Android Software/Hacking General [Developers Only]] pikachu01:
Weird. Can you run from Script Manager and see what errors occur?

Also touchscreen tweaks only work for i9000. No worries, it'll be skipped without problems.
[Android Software/Hacking General [Developers Only]] XanSama:
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. :/
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Hey Pika, did you have time to look into the fiops source yet?
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Updated ThunderBolt! to v2.5.1 with a small fix to cpugputune file. Be warned that this will overwrite your file in bolt_scripts, hence do a backup on your own cpugputune if you want to keep your own script.

Changelog:

2/13/2012 (2.5.1)

- A small fix to cpugputune by commenting out the if/fi between the UV_MV_Table tweak so that people can run the script fine even without any edits.
[Android Software/Hacking General [Developers Only]] pikachu01:
Try looking in /data/user.log and upload it here? :)

I haven't :(

Been busy in the weekend with personal stuff. Sorry about that. Will get to reading it soon :)
[Android Software/Hacking General [Developers Only]] XanSama:
Will do as soon as I get home...
[Android Software/Hacking General [Developers Only]] Holgott:
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
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you try without ThunderBolt! for another few days to make that conclusion? I can see your antivirus acting up a bit as well as your 3G watchdog (did you recently install them?)
[Android Software/Hacking General [Developers Only]] Holgott:
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.
[Android Software/Hacking General [Developers Only]] pikachu01:
Ok. Let me know :)
[Android Software/Hacking General [Developers Only]] XblackdemonX:
1-Thanks again for the updates on Thunderbolt Pika. it works perfectly! :D

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!
[Android Software/Hacking General [Developers Only]] doc_2nas:
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.
[Android Software/Hacking General [Developers Only]] xuxuzao:
is screenstate_scaling working on miui+siyah latest version?

do i have to change anything to make scripts work?

tks!
[Android Software/Hacking General [Developers Only]] Nar4:
may I?

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
[Android Software/Hacking General [Developers Only]] botac_6:
i'm quite lost right now. am i should remount each time the phone reboot?
[Android Software/Hacking General [Developers Only]] pl4cid:
yes, but u can set in script manager run at boot. then u havent to do anything on boot :)
[Android Software/Hacking General [Developers Only]] trailblazerz11:
I swear I read something about letting the SD card load 1st so I don't think set on boot would work
[Android Software/Hacking General [Developers Only]] pl4cid:
it works, script manager build a log in root of sdcard, check the content to verify ;)
[Android Software/Hacking General [Developers Only]] bluedragon38:
Sorry pikachu but , i want to know... tunderbolt is compatible with Redpill kernel (from hyperdroid ?)

thanks :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, you can comment them out or delete them. If you run it in init.d, Voltage Control (or any other apps that tunes cpu/gpu will override the file at boot). Script Manager ensures that it runs last so that it'll be the last setting to stick.

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 :)

Nope. MIUI seems to have some kind of change (didle?) that makes the wake_on_fb function to fail. It's a ROM issue.

Answered you on the i9003 thread :)

Yup. That's right :)

Sdcard is mounted at boot, before Script Manager runs.

Yes. I tried it without issues :)
[Android Software/Hacking General [Developers Only]] doc_2nas:
Pikachu first of all thank you so much for answering my noobish question.

I don't face lags but my apps sometimes freezing and reboot. Should I keep your default setting or should I use the aggresive setting?

Thank you so much Pikachu, you truly are a great person....

Edit: looks like my problem is due to I'm trying noop scheduler, and the problem reduced a lot when I change it to SIO like you've said. But still, like all of your thunderbolt users, we want every last drop performace of our phone :), can I gain more advantage by using more aggresive vm setting for ICS with heavy launcher like SPB Shell? Just like we knew stock kernel uses more aggresive setting than yours.

I'm realy sorry for bothering you with the problems, but I hope it could be useful for thunderbolt to be "the best wich getting better" :)

Thank you so much
[Android Software/Hacking General [Developers Only]] botac_6:
but what about the addon? do i need to set it up to run on boot using script manager or it is one-time install?
[Android Software/Hacking General [Developers Only]] pikachu01:
One time for addon :)
[Android Software/Hacking General [Developers Only]] botac_6:
thank you pikachu01... =)
[Android Software/Hacking General [Developers Only]] pikachu01:
No problem :)
[Android Software/Hacking General [Developers Only]] Holgott:
By the way ..i switched off my data connection last night and had 5% battery drain within 9hours. Thats ok for my opinion. Ty pikachu, seems like the tb changes make my phone smoother and battery is fine too now.

Greetz
[Android Software/Hacking General [Developers Only]] botac_6:
pikachu, please let me understand the installation procedure again, i hope i'm not doing anything wrong...

1. mount data/, /system and /sdcard using CWM (what if /system and /sdcard already mounted?)

2.Install using CWM all the CWM zips without reboot inbetween (using install from sdcard option)

3.Wait for bootup

4.Open up Script Manager and launch /sdcard/bolt_scripts/remount[device] (e.g. remounti9000) as Root (The skull icon) and as Boot (The wheel icon) - (this will let it run each time at boot right?)

5.Open up Script Manager and launch /sdcard/bolt_scripts/sqlite_optimize as Root (The skull icon) - (one-time install or need to run each time after boot)

6. and what about others addon, just install zip from sdcard option?

hope you can help me with with my noob questions... =(

few more questions

1. where i should put the zip if sdcard swapped? int or ext?

2. do i need to install all over again if flash other kernel?
[Android Software/Hacking General [Developers Only]] pikachu01:
1. It's ok, let it stay mounted

2.

3.

4. Yes.

5. You can run it anytime at any interval. Your choice. It's like defragmentation. You run it when you are free.

6. Yes

1. Anywhere.

2. Most of the time no, unless the kernel install wipes init.d folder.
[Android Software/Hacking General [Developers Only]] botac_6:
thanks for the reply... =)

can i install the addon later? or is it must install with the thunderbolt?
[Android Software/Hacking General [Developers Only]] xuxuzao:
pika,

I am using screenstate with miui+fluxi kernel and it works just fine!

https://github.com/myfluxi/xxKernel

http://xdaforums.com/attachment.php?attachmentid=895055&d=1328831733

its not a miui issue, it is a siyah issue!
[Android Software/Hacking General [Developers Only]] strickyy:
Where can i find some instructions for ICS (CM9)?
[Android Software/Hacking General [Developers Only]] pl4cid:
what exactly do you mean?
[Android Software/Hacking General [Developers Only]] strickyy:
Which ones can i flash and work perfectly for ICS?
[Android Software/Hacking General [Developers Only]] pl4cid:
kernel must support init.d

lmk and thunderbolt and screenstate
[Android Software/Hacking General [Developers Only]] bluedragon38:
Thanks a lot pika pika !
[Android Software/Hacking General [Developers Only]] geokilla:
Ever since I wiped battery stats, my battery stats has been very inconsistent with its readings. Sometimes it'll read 6% for like a good hour, other times the phone will shut off while saying there is 10% battery life remaining. Just now, it shut itself off while I was typing a text. The battery reading was 3% remaining. Any tips?
[Android Software/Hacking General [Developers Only]] CuriousTech:
Charge it. :p