yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] :
:othank you not that i was going to do it but just thought i ask:D Thank you buddy..so far scripts work fine no problem what so ever....Do your scripts work for all governors? I know it says it in the thread but just double checking...(god i sound like a newbie again)
[Android Software/Hacking General [Developers Only]] pikachu01:
It currently tunes Ondemand/OndemandX/Conservative/Lulzactive/SmartassV2. :)

With time, I could research more and make the governor much more battery saving/perform better, however at this time this is the best I can do. If you feel that it's laggy or battery draining, please feedback to me here :) I'll try my best to tune it better in the next iteration
[Android Software/Hacking General [Developers Only]] atomic339:
Thanks I will try but I have 2 questions.

1. Do you use touch move app to modify sensitivity touchscreen or you use only your script from init.d?

2. The only way to test that script works good it's test it with adb, yes?

Wysłane z mojego GT-I9100
[Android Software/Hacking General [Developers Only]] pikachu01:
The touchscreen tweaks are for i9000 only. I didn't tweak the touchmove ones.

Yes, ADB works. Terminal Emulator also works.
[Android Software/Hacking General [Developers Only]] GJ123:
I don't really get it, you need to do the script manager thingy again with every boot?
[Android Software/Hacking General [Developers Only]] pikachu01:
No. Only need to do the Script Manager "thingy" once. After that, for sqlite_optimize, you launch it when you have the time to.
[Android Software/Hacking General [Developers Only]] GJ123:
Thank you for the quick and polite answer!
[Android Software/Hacking General [Developers Only]] nicregi:
Thanks and updated. Until today, felt a little laggy for some reasons. Not sure why but will test more :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Using which governor?
[Android Software/Hacking General [Developers Only]] atomic339:
But it isn't problem that I have got it in init.d folder? Or I need to remove it?

Wysłane z mojego GT-I9100
[Android Software/Hacking General [Developers Only]] RootTheMachine:
Yes, it all looks right except I have dirty background ratio of 5, not 65. Performance still feels good.

Also, is there any point in the screenstate addon for vm purposes, since glitch already has governor screenstate scaling?

Sent from my (CM9) ICS i897 Captivate
[Android Software/Hacking General [Developers Only]] :
hi pika,

I installed your tweaks and the phone does seem faster.. but when I do the check like you said in the OP(sysctl -a | grep vm)

i'm getting these values:

dirty_ratio = 2

dirty_background_ratio = 1

is this alright?

thanks
[Android Software/Hacking General [Developers Only]] Aragornhr:
I'm having lots of SOD with Thunderbolt. In fact, when my screen goes off i can't awake phone again. Maybe it's because i installed your scripts without a sdcard (i'm only using internal memory and updater-script unzips sdcard directory in /sdcard/ correct me if i'm wrong)

So, there is a version of thunderbolt scripts that can i use only with internal memory?

Thanks in advance.
[Android Software/Hacking General [Developers Only]] pikachu01:
No problem at all :) If there are configurations that are not meant for your device, it'll just be skipped.

What is your ROM/kernel? Might've had other scripts in there that affected the configurations.

Are you UVing? It works if you have internal sdcard as well. I have an internal sdcard only :/

The aggressive CFS might've contributed to the SOD as aggressive CFSes quicken the effect of unhealthy UVing.
[Android Software/Hacking General [Developers Only]] pikachu01:
Glitch's own screenstate_scaling is a bit different from mine.

The dirty background ratio problem is highly likely kernel related. Glitch kernel's sysfs for dirty background might be hard coded or inaccessible. You need to bring it up to the dev to fix this.
[Android Software/Hacking General [Developers Only]] xBlackDroid:
Hi pika today i've on the BT like 11hrs and just have 25% battery drain ...with 2.6.6 gokhans kernel Its amazing!!!

Send from Galaxy SII CyanogenMod
[Android Software/Hacking General [Developers Only]] pikachu01:
Have you tried 2.6.7? :)
[Android Software/Hacking General [Developers Only]] 11768:
I am using Opera Mobile, but I hate it when Android automatically close it after some inactivity. Will your tweaks make it stay there like, forever, after the first startup.
[Android Software/Hacking General [Developers Only]] pikachu01:
No, having it staying forever in the background reduces performance for other stuff like your launcher and other apps you will be launching.

You can alleviate somewhat by using the 40MB LMK, but take note that you'll face lags at the end of the day. Opera Mobile getting killed is the correct behaviour. If you dislike it getting killed so much, you should get a phone with bigger RAM :)
[Android Software/Hacking General [Developers Only]] 11768:
It still has 200mb+ of free memory. Weird.

For LMK, lower value (MB) will have higher degree of multi-tasking, but performance and vice versa?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, lower LMK will have a higher degree of multitasking (tasks stay unkilled for longer periods of time), while higher LMK has more performance at the expense of multitasking.

If it has 200MB+ free memory, you should consider using 50 or 60MB LMK so that it'll only kill apps when it drops below a certain threshold (in a step by step way).
[Android Software/Hacking General [Developers Only]] 11768:
Just flashed your tweaks moment ago.

1. I see that there are two s78enable_touchscreen (1 and 2), in init.d is using 1, what are their differences?

2. The default script is using what LMK?

3. What are the differences between LMK others and Talon? Which version should I flash for my S2?

Thanks!
[Android Software/Hacking General [Developers Only]] pikachu01:
Touchscreen 2 is more sensitive.

There's no default LMK in the script. You have to choose on from the addon.

Use the "Others" version. Talon version is only for TalonDev kernels.
[Android Software/Hacking General [Developers Only]] nicregi:
Use talon when you have talon rom or something. Other that that, just stick to others. If I am not wrong, talon is for s1. Could be wrong though.
[Android Software/Hacking General [Developers Only]] :
[/QUOTE]What is your ROM/kernel? Might've had other scripts in there that affected the configurations.[/QUOTE]

CheckRom 2.52 and void.echo as kernal
[Android Software/Hacking General [Developers Only]] atomic339:
For syiah kernel LMK "other", yes?

Talon or something like this is a name of kernel?

Wysłane z mojego GT-I9100
[Android Software/Hacking General [Developers Only]] Aragornhr:
Yes, i was undervolted. I will try again without uv. Thx!. :)
[Android Software/Hacking General [Developers Only]] EarlZ:
For 3 days that I've totally removed TB tweaks on my KL7 install I've never gotten any SOD, So its something in TB that my phone doesnt like. Im currently using and testing RevoHD v3 so I cant really provide any meaningful feedback if the new versions are more stable on my phone.

But I do like to ask something about governors, I noticed that setting the min clock speed to 1.2Ghz greatly benefits and speeds up my ADW launcher EX as compared to 200~1Ghz ( this is with On-demand ) but this kind of setting is quite hard on the battery life. What kind of governor do you think that can provide me with the same speed but w/o having to set it to always run at 1.2Ghz minimum?
[Android Software/Hacking General [Developers Only]] gicuenitro:
What remount is the correct one to use for MIUI on the captivate? The i9000 like the OP states or one of the other cm7/MIUI remounts?

thx ;x
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. You're right :)

What is your ROM/kernel? Might've had other scripts in there that affected the configurations.[/QUOTE]

CheckRom 2.52 and void.echo as kernal[/QUOTE]

Check /system/etc/init.d to see if there are scripts other than ThunderBolt!'s. If yes, upload it here and let me evaluate it if you can delete it without problems.

Yes. LMK "Others". Talon LMK is only for TalonDev.

Cool. Let me know if you have issues after this.
[Android Software/Hacking General [Developers Only]] pikachu01:
One of the CM7/MIUI remount :)

Fullext4 or yaffs is dependent on your mount options. Check:

mount | grep yaffs

If the output is not blank, use the yaffs one.
[Android Software/Hacking General [Developers Only]] pikachu01:
The aggressive CFS values will tend reveal UV instabilities faster. 1.2GHz is fine for N7000. The battery life impact is not that much actually. Ondemand should work well. Use a screen off profile in screenstate_scaling (edit it to do this). Change to conservative for screen off (or smartassV2/lulzactive for screen on and off as both has screen off profiles built into it.)
[Android Software/Hacking General [Developers Only]] Maxtorete:
Hey dont forget to update the thread topic.
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Updated ThunderBolt! to v2.3.10 with ondemand's, ondemandX's, conservative' s sampling_down_factor tuned to 1. Also made sleep for interactive based governors more aggressive.

Changelog:

1/13/2012 (2.3.10, screenstate_scaling 1.4.11)

- Tuned sampling_down_factor of ondemand, ondemandX, conservative. This should resolve the issue of getting stuck 500MHz and above (I think). Siyah tweaked the sampling_down_factor to 4 and sampling rate of 120k. Since I tuned the sampling_rate to 10k, I'll need to tuned sampling_down_factor as well.

- Tuned interactive based governors (lulzactive, smartassV2) to have a more aggressive sleep.
[Android Software/Hacking General [Developers Only]] 7TimesCursed:
Why not name it 2.3.4 instead of 2.3.10? :)
[Android Software/Hacking General [Developers Only]] gicuenitro:
Thanks pika! Yaffs it is..
[Android Software/Hacking General [Developers Only]] RootTheMachine:
Are there negative effects from this?

Sent from my (CM9) ICS i897 Captivate
[Android Software/Hacking General [Developers Only]] tenchi0205:
can use for Batisda 2.8 with siyah 2.6.7? Thanks!~
[Android Software/Hacking General [Developers Only]] pikachu01:
Sure. :) Nandroid beforehand, just in case.
[Android Software/Hacking General [Developers Only]] pikachu01:
Not enough changes to warrant changing to a new revision. :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Don't think so. But nandroid backup before attempting to do this :)
[Android Software/Hacking General [Developers Only]] EarlZ:
I believe I've mentioned it a few times in my previous posts that I dont use any OC/UV.
[Android Software/Hacking General [Developers Only]] pikachu01:
Oops. My bad. Supporting too many threads that I can't keep track of them. It's from version 2.3.0 onwards? By only installing the main CWM right?
[Android Software/Hacking General [Developers Only]] mrzax:
Hi pikatchu. I used your scripts for my Galaxy S.

What about thunderbolt for Galaxy S2?

Rom: CheckRom v4 HD

Kernel: Siya 2.6.7

Thanx 4 your work
[Android Software/Hacking General [Developers Only]] EarlZ:
Yes main, but I cant retest yet for now since im playing with RevoHD. When I go back to stock ROM"s i'll be sure to retest again.
[Android Software/Hacking General [Developers Only]] danieldmm:
Use Thunderbolt Other version...

Cheers
[Android Software/Hacking General [Developers Only]] mrzax:
What did u mean whit Other version?
[Android Software/Hacking General [Developers Only]] chikess:
Tried 2.3.10 yesterday, runs very smooth, but the battery was empty after 5hrs in idle, flashed tb connected to the charger.

Gesendet von meinem GT-N7000 mit Tapatalk
[Android Software/Hacking General [Developers Only]] atomic339:
You can use pika script.

You can install everything without 3g addon. For syiah kernel use LMK addon "other".

Wysłane z mojego GT-I9100
[Android Software/Hacking General [Developers Only]] leosh:
Hi pikachu!

First of all thank you for your work. I would like to use Tbolt scripts but I'm little bit confused about remount scripts. I have i9000 with MIUI 2.1.13 on it. What remount script should I use - remounti9000? What device is remountCM7MIUI-yaffs for?

Should I install ThunderBolt-CWM vX.Y.Z.zip again in CWM after no wipe rom upgrade or it is enought to launch scripts in Script Manager?
[Android Software/Hacking General [Developers Only]] venkatgg:
I installed this tweak 2.3.10 on top of my valhalla final edition and now i can see i have more free memory in my mobile and the phone is also very fast. Just wanted to say thanks for the great tweak.
[Android Software/Hacking General [Developers Only]] pikachu01:
OK. Let me know. Thanks!

You have a problem with apps waking up the phone while charging. Check if you left a facebook conversation open or Lattitude signed in etc. Post a betterbatterystats log on the betterbatterystats forum and let them troubleshoot :)

Do this:

mount | grep yaffs

If there's an output, use the yaffs one.

Yes, you should reinstall after flashing a new ROM (even if it's a nowipe).
[Android Software/Hacking General [Developers Only]] pikachu01:
ThunderBolt! is compatible with 9 Samsung devices. :P Thanks guys, for answering in my stead ;)
[Android Software/Hacking General [Developers Only]] chikess:
I will let u know in this week, i'm a liitle bit busy atm. But btw, i'm notn using facebook messenger and no latiitude.
[Android Software/Hacking General [Developers Only]] evrest:
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]] David1239:
Not a particular section, its just there is so much stuff to download it confuses me. Are the plugins optional? And what files do i need to flash? I know this is all in the op but i need it clearer. thank you
[Android Software/Hacking General [Developers Only]] xBlackDroid:
Hi pika, i've some issues maybe you know why....

When i try to mount the sdcard in Recovery mount, always say "cant mount"

and i get all the actions with errors here >>>> Script Manager and launch /sdcard/bolt_scripts/sqlite_optimize as Root

some idea?

Thnx for you time reading this
[Android Software/Hacking General [Developers Only]] danieldmm:
Its stated in the OP, its a bug in CWM Recovery v5 for SGS2, please copy sdcard files from thunder.zip from pc to sdcard in SGS2.

Wiche errors are you getting?maybe you get normal errors :)

Cheers

---------- Post added at 11:00 PM ---------- Previous post was at 10:57 PM ----------

Pika something wird, after aplying scripts of thunder + addons i get a very low score in quadrant, i now quadrant its irrelevant never the less its wird maximun i achive its 3200...

Cheers
[Android Software/Hacking General [Developers Only]] pikachu01:
Ok. Be sure to save a BBS log and post it in the BBS forum :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Check /system/etc/init.d to see if there are files like S98system_tweak. If you don't have it, then reinstall from the CWM while having /system /data and /sdcard mounted.
[Android Software/Hacking General [Developers Only]] pikachu01:
The plugins are optional, but they offer 5-20% more performance in most situations. It's your choice if you want to flash it or not. Flashing them gives the best performance/battery life. There are risks though, like the libsqlite addon and the remount script. You'll need to assess it and judge whether you want to use them or not.
[Android Software/Hacking General [Developers Only]] pikachu01:
If you're using interactive based governors, you'll get a low score. Try selecting "performance" governor when doing benchmarks. :)
[Android Software/Hacking General [Developers Only]] ichigo786:
Hi had a quick question, if you could help me out pikachu that without be awesome.

First of all I flashed Siyah 2.6.4 then the thunderbolt cwm .11 zip the latest one from the original thread. Thereafter I flashed the screen state, lib optimise, bin file, and the other 80mb lmk file.

my question is after running the script manager, after SQL optimise my phone froze and I had to pull out the battery to turn it on again. When it booted up my battery went from 23% to 10% :(
[Android Software/Hacking General [Developers Only]] danieldmm:
Not sur but i think the frezze its related with Script Manager, i used the version before the last update and everithing work good, since i updated script manager the same thing appens to me... I will try with the same version of script manager i used frist and post results... Cheers
[Android Software/Hacking General [Developers Only]] killerjohn:
Hi! Are there anybody who tried to use this with Criskelo V1?

I've no time to try (and fail), because I need my phone all day :(
[Android Software/Hacking General [Developers Only]] Hawkeye1103:
pikachu how are you coping with siyah and stock kl1 on your s2. I personally have a lot of power drainage with medium to low usage i get about 9 hours:D. Help me out if you know what's the problem.

PS: checked all the battery saving tips on xda. Nothing helps
[Android Software/Hacking General [Developers Only]] pikachu01:
Do a nandroid backup first if you're afraid of something breaking :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you UVing/OCing? Try not UVing/OCing? The battery will reset itself to normal through use. You'll see your battery going up to 23% if you leave it for a while.

Are you connected to Wifi? Use Siyah 2.6.7. Take note that some Wifi routers are very battery draining. Just the other day, I changed my wifi router and it drained like hell. Changing it back helped me get back my 2 days of battery use with 3 hours of display time.
[Android Software/Hacking General [Developers Only]] Hawkeye1103:
i don't use the wifi a lot .. and when i don't use wi-fi i disconnect it. tryied disable-ing fast dormancy and other stuff... but nothing worked. after 2 charges i'm getting 9-10 hours with syiah and a day and a half of normal use with speedmod. Dunno why? checked if apps wake up the phone. they are not and so on:D

PS: my drain is constant doesn't change for the better if i'm off wi-fi
[Android Software/Hacking General [Developers Only]] chasemyass:
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]] pikachu01:
You have to wait a few charges/discharges before evaluating battery. Also, you have other scripts interfering with ThunderBolt!. Not all values are correct. What's inside your /system/etc/init.d ?
[Android Software/Hacking General [Developers Only]] chasemyass:
tell me please what I have to delete from init.d ... it seems that cranium tweaks are still there
[Android Software/Hacking General [Developers Only]] evrest:
Yes definitely i do got it, and i tried it to run through script manager then the values are changed when reboot back to normal values !!!

using semaphore kernel:confused:
[Android Software/Hacking General [Developers Only]] mhairy:
How you screen capture..
[Android Software/Hacking General [Developers Only]] mhairy:
Hi pika,

Here is mine screen capture..

Can you advise im running thunderbold correct or not..

View attachment 861011

View attachment 861012
[Android Software/Hacking General [Developers Only]] pikachu01:
Weird. Can you take a full charge's betterbatterystats log and post it int the BBS thread? Experts there will evaluate what's going on.

Also, can you post you CPU Spy screenshot?
[Android Software/Hacking General [Developers Only]] pikachu01:
You might have some other scripts in your init.d. Please upload the contents of your init.d here and let me take a look at it :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, delete Cranium tweaks. :) I'm not sure what 87calibration is for. Can you upload it here? :)

Same answer as above.
[Android Software/Hacking General [Developers Only]] chasemyass:
there you go mate and tyvm
[Android Software/Hacking General [Developers Only]] evrest:
OK sir i got it
[Android Software/Hacking General [Developers Only]] Hawkeye1103:
well curently i've gone to speedmod and everything back to normal... or normalish... after the first charge 20 hours of use and still 40% left of the battery. Didn't do anything special just installed speedmod... same apps, didn't change my habbits on the contrary i did some gaming today:).

Will try the next siyah version that comes out... if it still has the same problem will post in the bbs thread. I have bbs installed and didn't notice anything waking the phone up too often.

Thank you very much for your help. Wish i could contact you via PM like a few months ago:D
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, this is weird. Can you post your issue in Gokhan's thread? Maybe he has an idea of what your problem might be.
[Android Software/Hacking General [Developers Only]] pikachu01:
Delete the enableLMK64MB as well as the enabledsdcard3072KB.

Also, you might have a busybox issue as the values aren't registered correctly. Can you go to terminal emulator and type "busybox" without the quotes?
[Android Software/Hacking General [Developers Only]] pikachu01:
It's a batterycalibrator script. Leave it there. Just delete the Cranium Tweaks and you're good to go :)
[Android Software/Hacking General [Developers Only]] yehlai:
Hi guys, I just done the ThunderBolt tweaking,

am I successfully execute it?

the final part of my code is slightly different...

Code:

[ro.FOREGROUND_APP_ADJ]: [0]

[ro.VISIBLE_APP_ADJ]: [1]

[ro.PERCEPTIBLE_APP_ADJ]: [2]

[ro.HEAVY_WEIGHT_APP_ADJ]: [4]

[ro.SECONDARY_SERVER_ADJ]: [5]

[ro.BACKUP_APP_ADJ]: [6]

[ro.HOME_APP_ADJ]: [3]

[ro.HIDDEN_APP_MIN_ADJ]: [7]

[ro.EMPTY_APP_ADJ]: [15]
[Android Software/Hacking General [Developers Only]] chasemyass:
too late lol...anyway look at this with ur thunderbolt script i lost 1%!!! in 6 hrs sleep lol