yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
I don't see anything weird in the BetterBatteryStats and screenstate_scaling. There is a possibility that the kernel dev modified conservative governor to act like performance governor, causing your frequency to be at maximum all the time :/

I can up the Quadrant score to unbelievable levels but it'll leave your phone crippled without the ability to play videos as well as lag as hell. Would you want to download that?

Read this:

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

Yup. Quadrant can be cheated by just adjusting the readahead to a ridiculous level.

V6 Supercharger's engine is already in ThunderBolt!. Just installing it will apply the settings correctly.

I use 50MB myself. Works fine for me :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, you can see this post a member posted using Quadrant Advanced:

http://xdaforums.com/showpost.php?p=19553992&postcount=70

I could just be evil and just set it like that, but what would be the point? Swindling users just for the benefit of a made up number? I prefer users praising ThunderBolt! for its smoothness and overall speediness than just a random number generator like Quadrant.
[Android Software/Hacking General [Developers Only]] pikachu01:
Cool. I'll be sure to keep an eye on your ROM. Don't hesitate to post here if you have issues integrating it :)
[Android Software/Hacking General [Developers Only]] vitaliy_y:
I need to download and establish an additional script from your theme for 50MB? Or these options already are in ThunderBolt?

Here in what a question :)
[Android Software/Hacking General [Developers Only]] pikachu01:
I don't understand the question. You can flash the LMK addon with base ThunderBolt! CWM.
[Android Software/Hacking General [Developers Only]] vitaliy_y:
Thanks, I have received the answer to the my question
[Android Software/Hacking General [Developers Only]] silver311:
one last question(sorry for asking too much of a question >.<). One thing i like about setCPU is that i can set the min and max processor speed according to a particular situation. Through the use of the screenstate_scaling, is there a way to achieve that as well?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, you actually can do that. :P

#echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

These two lines are in the file itself, but commented out (the hash #).

Uncomment them and edit them to your liking to limit the frequencies :)
[Android Software/Hacking General [Developers Only]] silver311:
and i can do that for sleep state and awake state? i mean different min and max for sleep state and awake state
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, in the script itself, there's two code sections for AWAKE and SLEEP. The upper one is AWAKE while the lower one is SLEEP.

Hence, just search for

scaling_max_freq

You will find it twice, the upper one being the AWAKE while the lower one being the SLEEP codes.
[Android Software/Hacking General [Developers Only]] silver311:
Owh... okok. I've made my decision to change to thunderbolt then. Thank you ^^
[Android Software/Hacking General [Developers Only]] oudbrood:
I have make all those steps but i have no custom recovery menu after reboot??

Only the small standard one from samsung.

Steps I made:

Flash KPS 2.3.6 with odin and factory resett.

Root

Install busy box

push files with terminal
[Android Software/Hacking General [Developers Only]] manveru0:
nope, only removed it and thus the weird results since the governor will fallback to performance.

I may include it again though I think its a useless governor when using smartassV2 as governor
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, that explains it. Conservative wasn't included.
[Android Software/Hacking General [Developers Only]] awitee:
this looks very interesting, can i flash this over checkrom with siyah kernel?
[Android Software/Hacking General [Developers Only]] pikachu01:
Someone actually did try it on that configuration. It should work without problems. Be sure to have a nandroid backup handy just in case. :)
[Android Software/Hacking General [Developers Only]] awitee:
and how do i "uninstall" it in case i want to revert back to my old settings? without using nandroid
[Android Software/Hacking General [Developers Only]] pikachu01:
There is a restore pack for i9000 which should work fine with i9100. The files are all built from a common library which should work the same for Android of the same version i.e. 2.3.x.
[Android Software/Hacking General [Developers Only]] awitee:
okay! ill definitely try this out! keep up the great work :D
[Android Software/Hacking General [Developers Only]] vitaliy_y:
I have same errors

exec sh '/mnt/sdcard/extracted/CFS Experiments/CFS 2.1.1.1 - Moderately Aggressive #1'

# ents/CFS 2.1.1.1 - Moderately Aggressive #1'

Caches are dropped!

/mnt/sdcard/extracted/CFS Experiments/CFS 2.1.1.1 - Moderately Aggressive #1: cannot create /proc/sys/kernel/sched_min_granularity_ns: directory nonexistent

/mnt/sdcard/extracted/CFS Experiments/CFS 2.1.1.1 - Moderately Aggressive #1: cannot create /proc/sys/kernel/sched_latency_ns: directory nonexistent

/mnt/sdcard/extracted/CFS Experiments/CFS 2.1.1.1 - Moderately Aggressive #1: cannot create /proc/sys/kernel/sched_wakeup_granularity_ns: directory nonexistent

CFS is now v2.1.1.1!
[Android Software/Hacking General [Developers Only]] pikachu01:
You forgot to tick Run as root?
[Android Software/Hacking General [Developers Only]] vitaliy_y:
No, I'm running script as root
[Android Software/Hacking General [Developers Only]] spelaben:
Wow, now this makes me curious. Testing it in few minutes with MIUI + Siyah Kernel. :)
[Android Software/Hacking General [Developers Only]] vitaliy_y:
push with terminal? khm, terminal on PC or make flash in terminal emulator on android?

Examples commands for terminal emulator in Android:

# su

# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13

look forward to hearing a command, if no errors do next comand

# dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8

look forward to hearing a command, if no errors do next comand

# sync

# reboot recovery

phone will be rebooted in recovery mode

P.S. your mast copy boot.img and recovery.img to internal sdcard

---------- Post added at 08:57 PM ---------- Previous post was at 08:46 PM ----------

After flash LMK scripts occupied RAM decreased to 150 Mb in comparison with 200 Mb before flash, its good :)
[Android Software/Hacking General [Developers Only]] oudbrood:
Sorry I meaned flash with android terminal.

Going to try it right now

Did you flash LMK50?
[Android Software/Hacking General [Developers Only]] vitaliy_y:
All is correct, flash with android terminal on phone, :)

In PC - >> adb shell, then su and others command (USB debugging should be enabled)

Yes, i flashed LMK, more free memory after reboot, but while i'm can't tell more than anything, will be testing.

Still couple of days, and I will write more freely in English :)

I try to learn quickly :)
[Android Software/Hacking General [Developers Only]] oudbrood:
I think its good now??

I have recovery 1.3

Did you also flash LMK50?
[Android Software/Hacking General [Developers Only]] spelaben:
I'm confused, do we just need to flash the 2.1.1.1 zip to get all the tweaks or also all the scipts (like 3G) from this thread? http://xdaforums.com/showthread.php?p=18285859

The 3G tweak says I9000, so I assume it's not compatible to the Galaxy S2?
[Android Software/Hacking General [Developers Only]] vitaliy_y:
Yes, its kernel in my phone. All is correct

Yes, i flashed LMK, more free memory after reboot, but while i'm can't tell more than anything, will be testing.
[Android Software/Hacking General [Developers Only]] oudbrood:
Ok thanks!
[Android Software/Hacking General [Developers Only]] xcarecrow:
I'm a little lost too. I think we need to flash the 2.1.1.1 and then the addons. i don't understand de run script part, so i think i won't use the sql tweaks.
[Android Software/Hacking General [Developers Only]] oudbrood:
Alright, what have I done:

1. Flash KPS 2.3.6 with odin

2. Root

3. Install busybox

4. Flash with terminal recovery.img (CWM 1.3) and boot.img (kernel Yarde).

5. Flash with CWM Thunderbolt, screenstate_scale and LMK50

6. Run script remount_9001 and sqlite_optimize

7. Edit in screenstate_scale AWAKE: Ondemand and SLEEP: Conservative

Pffff what a work.....

Now see how's going with the battery

AnTuTu: 3435 - 3600

Thanks everyone for the help!
[Android Software/Hacking General [Developers Only]] oudbrood:
Is this the reason for my battery drain?

Thunderbolt with Feamod kernel
[Android Software/Hacking General [Developers Only]] :
lost here too as per my previous post... Guess we are still newbies here and have to learn more before ;)

Sent from my SGS2 - Checkrom Revo 3.1.1 | Speedmod k18 | Vertumus ICS Theme |
[Android Software/Hacking General [Developers Only]] F-B:
Has anyone managed to install the scripts without a SD-card? I have the same issue as mati above.
[Android Software/Hacking General [Developers Only]] joonair:
Sorry for being noob, but if I am on KK2 (illuminance 2.1.1)

and on latest corn kernal, do I just flash it via CWM?
[Android Software/Hacking General [Developers Only]] muleyman:
Decided to give it a try. mounted system and data, flashed 2.1.1.1, 3G, libsqlite, binfiles and lmk50 -other, (using Streamline kernel, which I guessed is an 'other' kernel). ran the remount CM7MIUI option. Ran the sqlite_optimize and got a bunch of errors, beginning with Error: database disk image is malformed, followed by a bunch of no such collation sequence errors.

The phone still works... but I'm pretty sure the tweaks haven't been applied. What went wrong?
[Android Software/Hacking General [Developers Only]] pikachu01:
Weird. The only other reason is that i9001 is using an older kernel version (older than 2.6.35) which is not very likely.

Do you have a busybox issue? Can you try installing busybox using stericson's busybox installer?

Can you confirm that all the valus are successfully configured. Check the OP for the section "How do I determine if it works".

Yes, if manveru0 was the kernel developer that made your kernel :)

Try mounting /sdcard too in recovery. It seems that i9001 recovery doesn't have it automatically mounted.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, just flash it in recovery. Be sure to have a nandroid backup handy in case anything goes wrong. You can flash the restore pack also as a means to recover if anything goes wrong.
[Android Software/Hacking General [Developers Only]] pikachu01:
The tweak is applied. The error is a known issue. This just means that it detected some *.db files that are not readable by sqlite. I already had it in the OP.

Also check the OP for the "How to find out if it works".
[Android Software/Hacking General [Developers Only]] bdubs4200:
I feel a fool... I have no idea where the download is... all I can find is i9000 and I own a vibrant... I'm not in the mood for breaking my system right now :-P
[Android Software/Hacking General [Developers Only]] pikachu01:
You can flash the base 2.1.1.1 and the optional addons as well. To get the most out of it, you can flash all the addons (and 1 LMK setting) except the 3G. The 3G is not compatible with i9100.

Which part are you having trouble with? Let me know, I can guide you :)

Use Script Manager (from the Market). It's pretty easy actuallly.

Let me know where you are stuck at. I'll try my best to be of help :)
[Android Software/Hacking General [Developers Only]] pikachu01:
The original thread is in the i9000 forum, but the tweaks are universal enough to be used :) Quite a number of Vibrant users are using it without problems.
[Android Software/Hacking General [Developers Only]] mechanical tool:
Installed thunderbolt last night on the latest talondev and it's working really well. Definitely the least lag I've had and quite good at switching apps.

I installed the 50 mb lmk version.
[Android Software/Hacking General [Developers Only]] muleyman:
Thanks picachu. I had read about the tests but missed the part about the known errors. I will test.
[Android Software/Hacking General [Developers Only]] joonair:
Thanks for quick response :D I got some more noob questions, lol

1. Do I have to convert everything to rfs from ext4 before flashing this?

2. If there is an update from a ROM/Kernal, do I un-flash (?) these tweaks?

3. How do I go back to normal? (no tweaks/scripts)
[Android Software/Hacking General [Developers Only]] RaymondPJR:
I've been using this since version 1.6 I think. The 3g addon has done wonders for my cell signal. I'm using SH with Simone201's talon, so I've used the talon version of the tweaks. The 'others' version have me lags. The only thing we should not use (Simply Honey users) is the patched libsqlite, if on talon it will lag. On bullet I imagine it would do fine.
[Android Software/Hacking General [Developers Only]] Sqb:
No need to convert. Use the revert to undo. Not sure about updates though. Pikachu is fast with his responses do I'm sure you will get one soon

Sent from a rock on fire in the middle of the sea
[Android Software/Hacking General [Developers Only]] fractaline:
*if you want to use the remount script you need to be on ext 4

*updates should be fine (read the op known issues)

*^^restore i9000 script

it's all in the op ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
The users themselves answered the questions :P

Thanks guys :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Not sure why patched libsqlite will give lags on Vibrant. Have to dig this further :/
[Android Software/Hacking General [Developers Only]] :
Problem is: what should I flash and I'm which order to get benefits but without instability, beta, or possible problems? In other words, what will give me a little performance or battery boost for free? :)

I remember flashing something sql related on checkrom 2 ending in bootloops and hard reset. :/

It's a bit complicated for a newbie to understand what your script does, and what might be the consequences, inteferences with other tweaks, kernel, Rom etc. Guess I'll have to study more ;)

Sent from my SGS2 - Checkrom Revo 3.1.1 | Speedmod k18 | Vertumus ICS Theme |
[Android Software/Hacking General [Developers Only]] pikachu01:
Try the simplest one by flashing only the 2.1.1.1. If you're feeling more confident after that, the screenstate_scaling, the LMK and the patched libsqlite. And after that, the bin file.

A nandriod backup would've prevented a full reflash :)

From the OP:

Main CWM:

Better performance, better battery life through Linux kernel tweaks catered for Android OS and flash memory.

Screenstate_scaling:

Better battery life and performance through usage of screenstate_scaling whereby it switches governors/thresholds/VM depending on your screen state.

Patched libsqlite:

Better performance and battery life for database writes as fsync is not utilized anymore.

Main CWM, and partly 3G addon:

Better network throughput from TCP tweaks and 3G tweaks

Main CWM:

Less RAM usage through zipalign. I found that market apps like Viber and PlantsVsZombies aren't zipaligned. Oh and Swype too. Surprised? Me too.

Main CWM (with sqlite_optimize script):

Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access through defragmentization of sqlite db files (a lot of apps use Database to store data like Swype dictionaries, Game saves etc)

Main CWM (with remount script):

Faster disk access through remount script (noatime, disable barrier etc)

LMK:

Less lags through Quasi-charger, with mutltasking (e.g. NFS shift + Opera mobile with 5 tabs fully opened and no lags)
[Android Software/Hacking General [Developers Only]] F-B:
Doesn't work. It gives an error that the card isn't found, which is logical as there is no sd-card. Should we be able to mount the internal sd-card also?
[Android Software/Hacking General [Developers Only]] :
But what are the possible inteferences with my kernel? And with 3g speeds which are different on the gs2?

Sent from my SGS2 - Checkrom Revo 3.1.1 | Speedmod k18 | Vertumus ICS Theme |
[Android Software/Hacking General [Developers Only]] oudbrood:
Hi,

I had something very strange....

On 22:41pm I go to sleep and stop charging my phone. Battery has 62%. On 23:31pm the battery is 66%.

Cool! Charging without charger.

I think the battery needs a callibrate ;-)

But the good news is....

Go to sleep with 62% and wake up at 06:40am with 56%.

Lost 6% at night. I'm happy!

Thanks pikatuch!

@pikatuch How was your party?
[Android Software/Hacking General [Developers Only]] pikachu01:
Umm, the internal sdcard is called /sdcard. The external one is called /sd-ext in i9000. I'm not sure what is different in i9001. Can you ask the other guys here. It seems that they successfully flashed it.

Another way is just to extract the /system/bolt_scripts folder in the zip file and copy it to your phone manually.
[Android Software/Hacking General [Developers Only]] pikachu01:
Cool :) Party was great. Hope the recalibration will make your battery drain better ;)

If you can, try to get your kernel dev to implement the patched ondemand or smartassV2. Those are better governors for sleeping well.
[Android Software/Hacking General [Developers Only]] pikachu01:
Oops, forgot that I'm replying in a SGS2 thread. Have so many threads running I can't keep track of it. :P

The Known Issues is a good place to see the impact of each tweak. The 3G addon shouldn't be flashed on the i9100.
[Android Software/Hacking General [Developers Only]] oudbrood:
I think he's means he has no sdcard in his phone.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, I understand that. I don't have an external sdcard in my phone as well. My internal sdcard is mounted as /sdcard though.
[Android Software/Hacking General [Developers Only]] oudbrood:
I used the feamod kernel from manu and now the the kernel from yarde
[Android Software/Hacking General [Developers Only]] mal13:
Could someone make some kinda installation instruction??

This topic is getting bigger and bigger and there's all these comments like install LKM 50%, edit this and that etc... i get confused (probably i'm not the only one) what to install, where to get to which kernel, etc.

Thanks :)
[Android Software/Hacking General [Developers Only]] mikrokatevas:
thunderbolt vs adrenaline shot universal mode v13.

hello guys new in here....so sorry.....

i have i new 2.3.5 xxkpg samsung galaxy s plus phone...rooted.....which i wish to instal thunderbolt over adrenaline shot universal mode v13....secondly can anyone give me a detailed how to and what do i need to install thunderbolt over adrenaline shot universal mode v13?and last one whats the thunderbolt advantage vs sas advantage?

thanks guys in advance i am waiting for your help...

thanks a lot
[Android Software/Hacking General [Developers Only]] michu1210:
pikachu01 Is there a chance to do your script to install it automatically by CWM, no play in the GScript? :D
[Android Software/Hacking General [Developers Only]] muleyman:
I ran the 3G tweak and my data speeds went from 2-3mbps to EDGE-like 40-60kbps. undoing the tweak set them back to what I normally see for 3G, FYI.
[Android Software/Hacking General [Developers Only]] mikeeo019:
cmon... just download the zip and flash via CWM. mount system before flashing
[Android Software/Hacking General [Developers Only]] michu1210:
Only then comes the fun GScript. It is easier to upload all the CWM without GScripta. From what I read on, there is a version of the SGS. Hence my question, not from laziness.:mad:
[Android Software/Hacking General [Developers Only]] spelaben:
Wtf, I flashed these four files and now I'm stuck in a bootloop.

ThunderBolt-CWM bin files addon v1.0.0.zip

ThunderBolt-CWM libsqlite addon v1.0.0.zip

ThunderBolt-CWM 60MB LMK Others addon v1.0.0.zip

ThunderBolt-CWM screenstate_scaling addon v1.2.2.zip

Any known issues with the Galaxy S2?
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you on MIUI or CM7 by any chance?
[Android Software/Hacking General [Developers Only]] pikachu01:
There's installation instructions in the original thread. Let me know which part you're stuck with, I'll help you from there :)

To remove Adrenaline Shot, delete everything in /system/etc/init.d and /system/etc/sysctl.conf. After that just follow the instructions in the original ThunderBolt! thread. If you're stuck somewhere in the instructions, let me know :)

ThunderBolt!'s vs SAS? Hmmm .. For one thing, it doesn't set readahead to some crazy levels that bumps up your Quadrant score in the I/O but doesn't really make your phone smoother.

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

Another is that it doesn't sacrifice battery consumption nor data safety for speed. SAS's remount script almost completely disables journaling. Point to be taken here.

Some more script reviews (that includes SAS):

http://xdaforums.com/showthread.php?p=18285859#post18285859

There are limitations set by init.d (the CWM method) which means some scripts need to be loaded onto Script Manager/Gscript to be effective.

Scripts like remount (Remount needs to happen when OS is loaded. Using init.d, will make the mount options get reverted as something else in boot time overrides it), sqlite_optimize (long running script. Loading at boot time just kills the boot time), drop (Do it only when necessary, don't need to load it at boot).

As explained above, init.d method is not a bulletproof method. You sometimes must use Script Manager so that scripts are loaded correctly, or you want to load scripts that are only used some of the time (not at boot time).
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know. Thanks!
[Android Software/Hacking General [Developers Only]] skywalker01:
It's a little bit different on the i9001:

INTERNAL sd card is mounted as /mnt/sdcard

EXTERNAL sd card is mounted as /mnt/sdcard/external_sd

at least on all Gingerbread ROMs i tested so far (2.3.3, 2.3.4 and 2.3.5)
[Android Software/Hacking General [Developers Only]] pikachu01:
The external sd might be different, but i9000 is also mounted on /mnt/sdcard. It has a soft link in the rootfs though called /sdcard that is linked to /mnt/sdcard. Is it like that in i9001?
[Android Software/Hacking General [Developers Only]] skywalker01:
FYI: I noticed a severe problem with LMK on my i9001, at least with ThunderBolt-CWM 60MB LMK Others addon v1.0.0.zip which is the only version I tested.

BTW: SAS was completely removed before installing Thunderbolt and no other scripts were installed.

When copying files (or one big file) from PC to internal sd card mounted as mass storage device via usb the (usb) connection always breaks down as soon as the smart phone display goes off. This happens only when you do nothing on your phone of course. This issue occurred everytime even after rebooting (the phone) so I removed the 5 files from the zip manually and after another reboot without SuperCharger script files the usb connection is completely stable again.

Maybe it's an issue only with the i9001 or maybe only with the 60MB others version or even only with my specific hard- and software.

Because I have no memory problems I don't intend to use LMK seriously so you can regard this as information only but maybe you want to test that issue also on your own device.
[Android Software/Hacking General [Developers Only]] pikachu01:
Let me try it :)

So far I have no problem doing this on my phone.
[Android Software/Hacking General [Developers Only]] skywalker01:
Yes, internal is the same, the /sdcard link is there also. But no direct /ext-sd link although /sdcard/external_sd will work as well ie. if an external sd card is actually inserted ;)