yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
Not all the parts are working. Take note that I put the minimum requirements as Gingerbread.
[Android Software/Hacking General [Developers Only]] SupremeXXL:
How about its efficiency with SEMAPHORE Kernel?

I mean kernel already has LMK option and script has LMK too.

Is it bad or good of using them together?

Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
It's bad to use it together. Semaphore's LMK only tweaks the Linux LMK. The Dalvik LMK remains untouched and unsynchronized with the Linux LMK.

ThunderBolt! tweaks both the Dalvik and Linux LMK for better results.
[Android Software/Hacking General [Developers Only]] ZaneZam:
So it is and it makes my phone fly again on semaphore 2.5.0b :)
[Android Software/Hacking General [Developers Only]] Dennys_Santos:
Pikachu.

I applied the latest version of Siyah Kernel (Siyah-v2.6.7-CWM)

After applying this latest update (2.3.10) I changed the parameters of the script "screenstate_scaling 1.4.11" to:

AWAKE_GOVERNOR="ondemand"

and

SLEEP_GOVERNOR="powersave"

And now everything works normally, that is, no more slow after waking from deep sleep...

Deeper Sleep with 99% after 5 hours and no more hitting 500mhz.

thanks again.
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know :)
[Android Software/Hacking General [Developers Only]] PIRATA!:
Please let me know. I am about to update Semaphore Script Manager and ThunderBolt and I need just some confirmations about correct update procedure.
[Android Software/Hacking General [Developers Only]] xuxuzao:
99% deep sleep?
[Android Software/Hacking General [Developers Only]] ZaneZam:
You can allways do a straight update by just flashing new version over previous one unless pikachu01 gives us special installation instructions. If you want to be on the save side u could use recovery CWM before installation of a new version. For Script Manager i would suggest to look into HM.Carbide's thread but there is not much to worry about as this app is behaving really smart, so just try to update it will not break anything! Good luck!
[Android Software/Hacking General [Developers Only]] ruicc:
Hi Pika,

I'd like to know what thunderbolt scripts are working with CM9. (iCS 4.0.3)

I'm using Glitch kernel v14 preview 5

Can't find that information anywhere.....
[Android Software/Hacking General [Developers Only]] sjors86:
same here, but am using kernel: 3.0.15-i9100xxlp2-cl57619 se.infra@sei-44 #3 (atleast that is what is written at system info)
[Android Software/Hacking General [Developers Only]] Brignoud:
Please, I don't understand the mandatory mount operation needed to install via recovery the scripts.

This due to the fact that I didn't do that on my i9000 with surface 9.0 with semaphore 2.4.0 and all scripts seems to be installed anyway as I found them on init.d directory (I drop all before doing the installation process).

Do we need it to execute mount via cwm or not really needed?
[Android Software/Hacking General [Developers Only]] pikachu01:
It is one of the steps that should be done. Not doing it will cut you off about 5-20% of performance.

Execute remount via Script Manager, not CWM.
[Android Software/Hacking General [Developers Only]] Brignoud:
I think there's a misunderstanding-

I mean the mount via cwm step needed to run the installation scripts.

Even without mounting system or sdcard your scripts are written in init.d. and

I thought without the mount istruction these files would never been placed in.
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, sorry about that. Yes, some kernels mount /system automatically, hence you'll see the scripts in init.d. However, some CWM zips require /data to be mounted (as some require scripts to be extracted to /data).
[Android Software/Hacking General [Developers Only]] ZaneZam:
Normally we have to thats strange, then system and data are premounted? I never saw that on semaphore <= v2.4.0, had always to mount them previously to install thunderbolt!
[Android Software/Hacking General [Developers Only]] Brignoud:
I can assure you, this happen numerous times to me, better, I never lost a installation script and files were regulary written to the destination directory.

Perheaps a CWM features? :confused:
[Android Software/Hacking General [Developers Only]] stevehkim:
are the newest scripts ok to use with siyah 2.6.7? Also pika if I want to use siyah version 2.6.1 can I still use your scripts?
[Android Software/Hacking General [Developers Only]] ZaneZam:
Yeah i believe you and yes definitive a CWM default setting, but since i started using semaphore <= 2.4.0 in combination with thunderbolt i never experienced this and thats the reason why it seems strange to me. The new version 2.5.0b with CWM5 mounts system per default, but not data (just checked again).
[Android Software/Hacking General [Developers Only]] pikachu01:
Some kernels premount the partition. It depends on the dev. Stratosk might've edited the CWM to premount those partitions.

Yes, it's ok for me. I'm not sure about others. Yes, ThunderBolt! is compatible with quite a number of devices out there. A version change of a kernel doesn't affect the compatibility. As long as it fulfills the minimum requirements in the original post, it can be used.
[Android Software/Hacking General [Developers Only]] ruicc:
Hi,

Ok, I can assume that thunderbolt isn't compatible with any ICS version.

It's amazing...i've been asking everywhere and nobody knows, or can't answer....lol

Thanks
[Android Software/Hacking General [Developers Only]] stevehkim:
yes thunderbolt is not compatible with ics yet.
[Android Software/Hacking General [Developers Only]] ZaneZam:
Jep so it is on semaphore 2.5.0b and actually that is stratosk's first sefmade CWM. Previous versions are using CWM prebuilded from cf-root kernel so i dont think he was able to change anything in that CWM's, but anyway its not a bad thing if its premounted, and if not then we just do it manual :) *semismartassmodeoff* :) :)
[Android Software/Hacking General [Developers Only]] sahidmiah:
Can soon tell me what is screen state and the other talon script .also how to install it
[Android Software/Hacking General [Developers Only]] mathsmart:
just flashed the last update and ended in unstable phone and constant freeze !!!
[Android Software/Hacking General [Developers Only]] thunderteaser:
CM7 MIUI i9100 Restore Pack

Hi, guys!

Last time I flashed the restore pack for the i9100, I got a bootloop. I don't know if it's related, anyway I made a CM7/MIUI compatible flashable zip based on the official stock restore pack v1.0.3. It's still untested, but I hope it works! :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Some of the scripts are compatible, and some did install it and it worked fine for them. As I've said, the main CWM, the screenstate_scaling and the LMK could work. Nandroid beforehand.

It's not entirely incompatible. Certain addons are incompatible.

Screenstate_scaling is scaling the governor/VM parameters when screen is on/off. Different profiles for screen on/screen off for performance/battery improvements.

Talon LMK is only for TalonDev kernels. If you're not using TalonDev, then use the "Others" version.

What configuration are you using? Are you UVing? Try not UVing and try again? The aggressive CFS reveals UV instabilities faster.

I'll add this to the original thread. Thanks for this :)
[Android Software/Hacking General [Developers Only]] basily:
I just flashed the latest thunderbolt with all the tweaks, and when I booted back up, I no longer had the use of my home and search buttons. They light up and vibrate when I press them, so I don't think anything is physically wrong with my phone, but nothing else happens.

My phone is a Samsung Captivate running Illuminance with the latest Corn kernel. I ran the i9000 restore script, cleared cache, dalvik, rebooted, removed the latest apps that I had installed, rebooted, but still no joy.

Strangely, the search button does work in root explorer.

I'll thinking it's time to reflash my ROM unless anyone has any other ideas.
[Android Software/Hacking General [Developers Only]] pikachu01:
You didn't have space on /system before flashing? This is the only one I can think of.
[Android Software/Hacking General [Developers Only]] Marshy919:
Thanks for the incredible script. I'm having issues applying it on the latest galnet stable rom, with glitch kernel though. I have applied it before on previous ROM's. I've followed all the instructions, but no go. Btw, when doing the remount script do I use the fullext4 or yaffs? I'm getting this error at the moment...
[Android Software/Hacking General [Developers Only]] burakgon:
I will use semaphore kernel on my rom. Will semaphore manager corrupt the script?
[Android Software/Hacking General [Developers Only]] basily:
That must have been it, thanks. I had just installed a bunch of games and never thought to check again for space on /system.

Restoring from backup now... (and rescuing corrupt external sd-card dammit, when it rains it pours!)
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Exactly...

Only files are: sched_autogroup_enabled, sched_child_runs_first, schen_rt_period_us and sched_rt_runtime_us
[Android Software/Hacking General [Developers Only]] ZaneZam:
Just want u to know that games normally are not saved in /system but anyway it leads to problems if u have too less free space in system if u want to put additional stuff into it. ;)
[Android Software/Hacking General [Developers Only]] geokilla:
Just enable netfilter, and CIFS under Kernel features. Under AddOn, leave everything as is. You can change the touchscreen if you want.
[Android Software/Hacking General [Developers Only]] bgx:
First thank you for the nice script pikachu01 but I've problems and perhabs found little error in it and wants to know if I see it wrong:

For lulzactive state on in screenscaling found this:

elif [ "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq` -eq 200000" ] && [ "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq` -eq 1000000" ]; then
fi;

Means when my cpufreq between 200 and 1000mhz it changed nothing?

Should it not be:

elif [ "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq` -eq 200000" ] && [ "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq` -eq 1000000" ]; then
echo "3" > /sys/devices/system/cpu/cpufreq/lulzactive/pump_up_step;
fi;

And the other think is lulzactive for screenon he don't set it to the above; He take the screenoff options for screenon in my script??? But for screenoff I have conservative and that works fine when screen is off.

I have made a workaround for me and put the config for lulzactive screenon to screenoff and now it works...
[Android Software/Hacking General [Developers Only]] pikachu01:
I think I've resolved this in a newer version of screenstate_scaling. I checked my own code and it has the fix. Can you download a newer version to try? :)
[Android Software/Hacking General [Developers Only]] bgx:
Thank you! Ver. 11 it is fixed! ;-)

Gesendet von meinem GT-I9100 mit Tapatalk
[Android Software/Hacking General [Developers Only]] Kaboosey:
Thanks for this pikachu01!

I am starting to use this tweaks :)

Again, thanks and keep it up!
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Hey Pika ;)

I think I found 2 easy-to-fix problems/typos:

1. Screenstate_scaling: ondemand sleep tweaking: in the last approach it says sampling_rate "10000" instead of "40000" like in the two lines above ;)

2. Afaik, in order to work better on ICS/MTD, the system_tweak script has to have this line "MTD=`ls -d /sys/block/mtd*`;" and $MTD respectively ;)

Hope I could help you!

Keep up the good work!
[Android Software/Hacking General [Developers Only]] pikachu01:
Thanks for the bug find.

I've updated it and will be releasing it soon :)
[Android Software/Hacking General [Developers Only]] .:Crack:.:
My pleasure :)
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Updated ThunderBolt! to v2.3.11 with ondemand governor sleep fixing and added MTD tweaking.

Changelog:

1/15/2012 (2.3.11, screenstate_Scaling 1.4.12)

- Fixed a bug on ondemand sleep scaling. Thanks ::Crack::

- Enabled MTD block tweaking. Thanks ::Crack::

- Made all sleeping governors have 90k sample rate. Good for battery life.

1/13/2012 (2.3.10, screenstate_scaling 1.4.11)
[Android Software/Hacking General [Developers Only]] xuxuzao:
pika

everytime i install tb, I miss some apps.

using siyah + miui

what could it be?

tks
[Android Software/Hacking General [Developers Only]] jnr21:
Full /system partition?
[Android Software/Hacking General [Developers Only]] evrest:
Dear sir,

I am afraid i got:

vm.overcommit_memory = 1

vm.panic_on_oom = 0

vm.oom_kill_allocating_task = 0

vm.oom_dump_tasks = 0

vm.overcommit_ratio = 50

vm.page-cluster = 3

vm.dirty_background_ratio = 5

vm.dirty_background_bytes = 0

vm.dirty_ratio = 20

vm.dirty_bytes = 0

vm.dirty_writeback_centisecs = 500

vm.dirty_expire_centisecs = 200

vm.nr_pdflush_threads = 0

vm.swappiness = 60

vm.lowmem_reserve_ratio = 32

vm.drop_caches = 0

vm.min_free_kbytes = 2743

vm.min_free_order_shift = 4

vm.percpu_pagelist_fraction = 0

vm.max_map_count = 65530

vm.laptop_mode = 0

vm.block_dump = 0

vm.vfs_cache_pressure = 100

vm.mmap_min_addr = 4096

vm.scan_unevictable_pages = 0

sysctl: error reading key 'net.ipv4.route.flush': Permission denied

sysctl: error reading key 'net.ipv6.route.flush': Permission denied

using semaphore kernel.

is this good or bad...?
[Android Software/Hacking General [Developers Only]] vietn95:
do you have to unmount /system and whatever after you finish running script script manager for set? or leave them mounted.
[Android Software/Hacking General [Developers Only]] TuikS2:
4 short questions

Hey @all

I'm very interested in this script.

I have 4 questions:

- Works this with Criskelo ROM v38 with Siyah Kernel 2.6.7?

- What are the disadvantages of mounting /system /data /sdcard?

- When i want to update the ROM or the kernel, can i just do it as normally?

- After updating do i ave to reinstall the skript?

Seems to be a very good skript :)
[Android Software/Hacking General [Developers Only]] pikachu01:
1. Yes

2. No disadvantages. You're only mounting it at "that" time, in CWM.

3. Yes

4. After updating a ROM (and sometimes a kernel), you have to reinstall. Best is to reinstall after every ROM/kernel flash.
[Android Software/Hacking General [Developers Only]] Marshy919:
exec sh -c "cd '/mnt/sdcard' ; exec /system/bin/sh"

# exec sh -c "cd '/mnt/sdcard' ; exec /system/bin/sh"

# su

# sysctl -a | grep vm

vm.overcommit_memory = 1

vm.panic_on_oom = 0

vm.oom_kill_allocating_task = 0

vm.oom_dump_tasks = 1

vm.overcommit_ratio = 50

vm.page-cluster = 3

vm.dirty_background_ratio = 5

vm.dirty_background_bytes = 0

vm.dirty_ratio = 90

vm.dirty_bytes = 0

vm.dirty_writeback_centisecs = 2000

vm.dirty_expire_centisecs = 1000

vm.nr_pdflush_threads = 0

vm.swappiness = 0

vm.lowmem_reserve_ratio = 32

vm.drop_caches = 0

vm.min_free_kbytes = 2743

vm.min_free_order_shift = 4

vm.percpu_pagelist_fraction = 0

vm.max_map_count = 65530

vm.laptop_mode = 0

vm.block_dump = 0

vm.vfs_cache_pressure = 50

vm.mmap_min_addr = 32768

vm.scan_unevictable_pages = 0

vm.inactive_file_ratio = 20

sysctl: error reading key 'net.ipv4.route.flush': Permission denied

sysctl: error reading key 'net.ipv6.route.flush': Permission denied

#

Using miui galnet stable rom, glitch kernel. These not compatible?
[Android Software/Hacking General [Developers Only]] pikachu01:
These values are with or without ThunderBolt! ?
[Android Software/Hacking General [Developers Only]] zerkai:
Something about your scaling script causes boot loops on MIUI for the Infuse. It boots to the lockscreen then eventually starts buzzing and restarts. Anyone else having this problem?
[Android Software/Hacking General [Developers Only]] pikachu01:
Does the kernel in Infuse have the latest didle patch? If it does, screenstate_scaling won't work :(
[Android Software/Hacking General [Developers Only]] zerkai:
I have no clue, I just know that there's only 1 compatible MIUI kernel for the Infuse. I do know by default the only usable governor is conservative... there's also interactive but that seems battery-unfriendly and then there's smartass which doesn't even scale.

I believe this might be it... https://github.com/TeamRefuse/android_kernel_samsung_dempsey

This is what it says in my About Phone: 2.6.35.7 joker@linuxbozo #8
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, probably it has a didle code, or the sysfs is buggy :/ This needs debugging from the dev himself.
[Android Software/Hacking General [Developers Only]] stevehkim:
Pika I've noticed in your newest scripts there's no changes to my minfree's, dirty ratio, and dirty background ratios. So the either the script isn't running or you have made some changes?
[Android Software/Hacking General [Developers Only]] pikachu01:
You mentioned that you're only using bolt_siyah right? Minfrees are in the LMK (if you didn't install it, it won't be there). dirty_background/dirty_ratio is in S98system_tweak.
[Android Software/Hacking General [Developers Only]] stevehkim:
I tried the bolt siyah, s98 system tweak, s98cfs, and screenstate scaling.
[Android Software/Hacking General [Developers Only]] woodykr:
Sorry, but you do not understand how to install the file ....... Can you help me with some screenshots?
[Android Software/Hacking General [Developers Only]] pikachu01:
Are they on the correct permissions? Do you have other scripts overriding ThunderBolt! ?

Can someone upload a video of how to install it? Appreciate it :)
[Android Software/Hacking General [Developers Only]] Alucardis666:
This is simply amazing. got it running on my phone and couldn't be happier. its almost like a whole new device. Thanks so much!
[Android Software/Hacking General [Developers Only]] chasemyass:
help me a bit pls

yesterday I flashed cranium RC8 and after that FeaCore Phoenix 1.4 kernel the OC version and after one night that my phone lost 50% of battery in 9 hrs I decided to install Thunderbolt. Can you please gimme an advice with it if it`s workin` or not?I`m asking because I have same prob when I try to run remount script (i get FC msg from SM as soon I runned it 1`st time after install and same fc after each reboot)

this is what I get when testing
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Hey pika,

How can I run the screenstate scaling without init.d? Tt does not work with script manager (root+boot)....

Thanks!

Edit; for system_tweak I get the errors in the attachment, any clue?
[Android Software/Hacking General [Developers Only]] pikachu01:
Already answered you on the SGS i9001 thread. :)

Actually, Script Manager works on boot if you enable wakelock settings(I think, not sure though).

If Script Manager doesn't work, then without init.d support, screenstate_scaling won't work.
[Android Software/Hacking General [Developers Only]] jcrompton:
Black screen

I am running latest version of Foxhound rom with Siyah 2.6.7

I installed the Thunderbolt script and after a while started noticing my screen stayed black when I recieved a phone call, making it hard to answer call. Sometimes pushing home or power will wake up screen.

I removed the script manager and ran the kernel cleaner and reinstalled Siyah 2.6.7 but seems like I still have the issue.

Maybe reinstall Thunderbolt ? With which add ons ? Any specific tweaks to try ?
[Android Software/Hacking General [Developers Only]] pikachu01:
That is because Siyah integrated OndemandX onto Ondemand governor. OndemandX historically has a bad response time on waking up the phone when a call comes in (not sure why). I switched to smartassV2 and it's fine ;)
[Android Software/Hacking General [Developers Only]] woodykr:
Sorry to install some video files?
[Android Software/Hacking General [Developers Only]] jcrompton:
There must be something more because I tried that and it still didn't work, that is screen on and off with phone calls. It's almost like the screen sensitivity / proximity thingy is screwed up ?
[Android Software/Hacking General [Developers Only]] adrianmak:
I'm on 2.3.10. Could I flash 2.3.11 directly?
[Android Software/Hacking General [Developers Only]] pikachu01:
Don't get what you mean.

Did you try smartassV2?

Yes :)
[Android Software/Hacking General [Developers Only]] Coolgreek:
Hi pikachu01!

After a long time seing and hearing about your thunderbolt scripts i finally decided to use them!

So i downloaded the cwm files (as well as all addons) and did all the instructions said to enable them (mount, flash them, reboot, script manager) and now i just tested my phone in the well known (& useless:p) quadrant (advanced) benchmark. And now i know that thunderbolt is enabled, without need of using terminal emulator. How? By simply running the benchmark i saw the same overall result as before (almost) but with 2 big changes:

1) IO speed was lower than ever before (as i read at the first page it would be) -PS: i am on RFS

2) The 3d benchmark was higher than ever (reached 901:cool:)!

I will test how they work thorough (with games, many apps running etc)!

The only reason i am posting though is to "Thank you" for the wonderful job on those scripts! And also convince more users to try it (it's simple despite the first impression anyone may have reading the first 2 posts:))!

EDIT: 1 Question: i have also used your screen state scaling script (actually i used all your add on scripts;)). will it work with semaphore 2.5.0 ondemand 40 governor?
[Android Software/Hacking General [Developers Only]] fairyshacker:
10 characters.
[Android Software/Hacking General [Developers Only]] pikachu01:
It should work without problems. However, in Semaphore, the ondemand governor sleeps well. You don't need to scale the governor :) The governor tunables are already scaled well in the screenstate_scaling script. (You can check it).

And yes, it's actually very simple to install/use ThunderBolt!. Thanks for the support!
[Android Software/Hacking General [Developers Only]] legionxx:
hi pikachu01,

how do u mount sdcard. it says error
[Android Software/Hacking General [Developers Only]] pikachu01:
The newer CWM version mounts /sdcard with the external sdcard. Copy it manually from the zip file. It's ok to copy the bolt_scripts folder manually :)
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Updated ThunderBolt! to v2.3.11 with ondemand governor sleep fixing and added MTD tweaking.

Updated ThunderBolt! to v2.3.12 with max_events_per_sec bugfix and down_differential tweaking in Ondemand governors.

Changelog:

1/19/2012 (2.3.12, screenstate_scaling 1.4.13)

- Fixed max_events_per_sec not tuned correctly.

- Added down_differential (only for kernels that supports this) tuning to ondemand governors that will reduce lags by a little bit.

1/15/2012 (2.3.11, screenstate_Scaling 1.4.12)

- Fixed a bug on ondemand sleep scaling. Thanks ::Crack::

- Enabled MTD block tweaking. Thanks ::Crack::

- Made all sleeping governors have 90k sample rate. Good for battery life.
[Android Software/Hacking General [Developers Only]] Coolgreek:
So really how do we flash the update? some instructions please (do we need to reflash everything or just the new 2.3.12 version zip through CWM)?

Btw: too much flashing and use of CWM lately make me fear of breaking/loosening the sound buttons of my phone:p!
[Android Software/Hacking General [Developers Only]] legionxx:
hi again,

thanx for the reply :)

okie i just flashed TB 2.3.12 thru CWM and copied bolt script to /sdcard

in boltscript i click on run after selecting the particulars (root and boot) in remounti9100 and (root) in sqlite_optimize.

after each has done loading i close the window and that is all to it?