yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] lippol94:
Please report if you're experiencing lags :-)

Thanks a lot!

Sent from my Samsung Galaxy S I9000 running MIUI Mintberry Edition
[Android Software/Hacking General [Developers Only]] jamir5:
woa, many thanks for this.

such an improvement with the latest version.
[Android Software/Hacking General [Developers Only]] Faryaab:
Hey pikachu,

Can you tell me when you gonna release 1.9.1 so i can implement those in my latest ROM which i have to release in few hours. These tweaks are really Amazing! :D

EDIT: Can i use Juwe's RAM Optimization script with ThunderBolt Tweaks and does Juwe's RAM Optimization Script conflicts with your tweaks?
[Android Software/Hacking General [Developers Only]] danieldmm:
Pika can you confirm if its modified correct to use whith SmartAssv2?

Pika 1.9 SmartAssV2 PastBin

Because i see quite few things to change and i dont now if is everything ok...

In here:

# selection of SLEEP Governors:

# =========

# only keep ONE governor uncommented at a time !!!!:

# =========

SLEEP_GOVERNOR="conservative"

#SLEEP_GOVERNOR="ondemand" # [no additional settings required, tweaking done in kernel-source]

#SLEEP_GOVERNOR="interactive" # NOT recommended

#SLEEP_GOVERNOR="interactiveX"

#SLEEP_GOVERNOR="smartass"

#SLEEP_GOVERNOR="powersave" # [no additional settings required, powersave only stays at 100 MHz]

#AWAKE_GOVERNOR="smartassV2"

I see that smartassv2 dont have sleep_governor. Its alright?

Thanks for the work done...

Cheers
[Android Software/Hacking General [Developers Only]] lippol94:
Juwe's script does conflict with pikachu's scripts since you will have 2 LMK settings.

Thunderbolt is a all-in-one performance improvement script :-)

Sent from my Samsung Galaxy S I9000 running MIUI Mintberry Edition
[Android Software/Hacking General [Developers Only]] Faryaab:
IMO 1.8.0 (50 LMK) Tweaks were much better then 1.9.0 (50 LMK) what do you think and which LMK setting are best for performance and multi-tasking?
[Android Software/Hacking General [Developers Only]] lippol94:
Actually we're going to include 1.7.2 LMK into MIUI Mintberry :-)

It's the best pikachu ever made! Not too heavy nor too light!

But 60MB from 1.8.0 was a nice setting too.

Sent from my Samsung Galaxy S I9000 running MIUI Mintberry Edition
[Android Software/Hacking General [Developers Only]] Faryaab:
Can you give me the link of 1.7.2(Others) ?
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm researching of the best way to implement screenstate_scaling into CM7 right now :/ need more time till I can figure out a way.

drop_cache is working if you feel lags due to VM being too aggressive. VM works if you see the values being applied correct by using

cat /proc/sys/vm/dirty_ratio;

And it says 90.

You can do the same for the drop_cache file. It should say "3".

Yup, by removing screenstate_scaling, you can boot. And drop_cache like once every 6-12 hours should be fine.

1.9.1 is still in the pipeline since I'm thinking of the best way to make screenstate_scaling work.

1.8.0 and 1.9.0 didn't see a change in LMK :/

If you can port only the LMK settings, yes 1.7.2 is a slightly more aggressive LMK setting on the upper regions while being under aggressive on the lower regions.
[Android Software/Hacking General [Developers Only]] pikachu01:
If you want the SLEEP_GOVERNOR to be smartassV2 as well as being the AWAKE_GOVERNOR, you can just comment the place where it echos the SLEEP_GOVERNOR/AWAKE_GOVERNOR.

Here:

#sleep 2 && echo $SLEEP_GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
#sleep 2 && echo $AWAKE_GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
[Android Software/Hacking General [Developers Only]] lippol94:
I don't have the entire pack anymore but here you have LMK settings :)

http://www.multiupload.com/X2233OKP92

---------- Post added at 01:38 PM ---------- Previous post was at 01:14 PM ----------

Thanks mate :)

So no way to get it for later today or tomorrow?
[Android Software/Hacking General [Developers Only]] - JaY -:
hey pika, i am using ur 1.9 60mb without screenstate_scaling, initial impression was good, but as it goes, i realise the homescreen transition was still alrite, but apps drawer was bad.. using Go Launcher EX, any heads up? :(
[Android Software/Hacking General [Developers Only]] pikachu01:
If you want the quick fix, just deleting the screenstate_scaling and applying drop_cache periodically should work fine.

A better fix is to make sure Android finish booting before applying the screenstate_scaling script. Right now, I'm thinking the best way to do that. If there are testers, I can churn out some test builds and see if it works :P
[Android Software/Hacking General [Developers Only]] lippol94:
For the benefit of our users.. I can be your tester :)
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm currently busy with some RL stuff. It'll be a few hours till I can churn out some test builds. Sorry for the delay. Been a busy day today >.<
[Android Software/Hacking General [Developers Only]] lippol94:
Don't worry mate :) Take all time you need !
[Android Software/Hacking General [Developers Only]] danieldmm:
Pika thanks for the answer... did you check the past bin link?

Just to confirm that its everything ok to use whith SmartAssv2...

Cheers
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, I checked the pastebin link.

There was an error in the script. Hence, if your intent is to make both SLEEP and AWAKE governor to be smartassV2, then just follow the code I pasted a few posts before this :)
[Android Software/Hacking General [Developers Only]] danieldmm:
Sorry Pika but i dont quite understand that, where i must past the code? In wich line?

# selection of AWAKE Governors:
# =========
# only keep ONE governor uncommented at a time !!!!:
# =========

#AWAKE_GOVERNOR="conservative"
AWAKE_GOVERNOR="ondemand" # [no additional settings required, tweaking done in kernel-source]
#AWAKE_GOVERNOR="ondemandX"
#AWAKE_GOVERNOR="interactive"
#AWAKE_GOVERNOR="interactiveX"
#AWAKE_GOVERNOR="smartass"
#AWAKE_GOVERNOR="smartassV2"

I thought I had to uncomment SmartAssV2 and comment #AWAKE_GOVERNOR="ondemand" ? In the answer you tell me tho add the 2 lines.

Sorry one more time, but please can you make one S98screenstate_scaling ready to SmartAssV2?

Big thanks for the help and time taked...
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually, what objective do you want to do right now?

I'm confused. Do you:

1. Want smartassV2 to be your AWAKE governor only

2. Want smartassV2 to be both your AWAKE and SLEEP governor

Depending on the answer, the script would be a bit different.
[Android Software/Hacking General [Developers Only]] danieldmm:
Wow, thats what i call fast support :cool:

I start to think that i tested 1.8 wrong because i dont change anything in script and in Semaphore i checked SmartAssV2 governor and Shedulers Simple I/O.

I want to try two combinations...

1-->AWAKE and SLEEP SmartAssV2

2-->AWAKE SmartAssV2 and SLEEP the default you have "conservative"

Thanks and donation coming...

Cheers

---------- Post added at 04:45 PM ---------- Previous post was at 04:40 PM ----------

4DS80175AA781390U

Its symbolic, i now but atm low budget, i really like the work your made...

Cheers
[Android Software/Hacking General [Developers Only]] GreenSGS:
Hi Pika,

First of all thank you for all your great work.

I want to flash is directly over semaphore 1.8.2, so far I read that all the tweaks in semaphore should be disabled and do mounts from CWM, alright but can I install it after that directly over this configuration,

OC 1.2 no UV, Smartassv2, No-op, I don't see anything wrong but worth confirming or I need to completely go to all default settings??

Thanks
[Android Software/Hacking General [Developers Only]] danieldmm:
In the street right now, when at home I will start test ThunderBolt whit my favorite combination... Big thanks pika...

Cheers

Escrito pelo meu querido S using tapatalk...
[Android Software/Hacking General [Developers Only]] GreenSGS:
Have you seen this, somebody is stealing your work:

http://www.megawrz.com/android-os-h...-19-11-[new-lmk-oom][patched-libsqlite-].html

Somebody please share feedback about below Addons:

- The libsqlite CWM is an addon that removes the need to fsync before a database write is done. It'll improve database write speeds (where apps like SMS, contacts etc use databases)

--> Is it worth the risk of data corruption? feedback from user who are using it please? Can it be restored?

- The bin files CWM is an addon that uses Fugutweaks + system_server from Honeycomb. Some say that it improves response rates.

---> Can it be restored, using restore.zip? What improvement does it brings?

Thanks in advance.
[Android Software/Hacking General [Developers Only]] geokilla:
pika is it possible to make your scripts easier to edit? When I open them in notepad, all I get is a jumbled bunch of words lol. They're not lined up one after another. It's just like tab was pressed.

I also edited the awake governor to smartassv2. Let's see how things go ^^

Nvm. Couldn't get it to install. Must've screwed something up. I'll just leave it as ondemand.
[Android Software/Hacking General [Developers Only]] danieldmm:
Use Notepad++ and everything will be more clear... :cool:

Cheers
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
The VM and threshold scaling is it already included in other kernels then talon and MIUI?
[Android Software/Hacking General [Developers Only]] danieldmm:
Finally i me testing ThunderBolt 1.9 and i must say WOW... My friend you made an amazing work, congratulations, i me afraid to use OC 1200mhz, the cell phone will fly from my hands? :D

SmartAssV2 and Simple I/O with Semaphore Kernel and My ROM with the script that you help me to change to adapt SmartAssv2 its very impressive...

I stick with option 1:

AWAKE --->SmartAssV2 an SLEEP--->Conservative

Thaks for this amazing work...(I will definitely add to my future ROM updates)

Cheers
[Android Software/Hacking General [Developers Only]] djb77:
I'd just like to say that I've added ThunderBolt to my custom ROM (which you can find a link in my sig).

I've noticed that a the new 1.9.0 is out with 40/50/60mb options. What was the standard for 1.8.0, was it 60mb?
[Android Software/Hacking General [Developers Only]] danieldmm:
I me using 1.9.0 [50Mb LMK] and for me is perfect...

Cheers
[Android Software/Hacking General [Developers Only]] XuperLugia:
It was 50 if I'm not wrong.
[Android Software/Hacking General [Developers Only]] dictatorr:
Do you really need EXT4 lagfix for this to work ?
[Android Software/Hacking General [Developers Only]] djb77:
Thanks for your help :)
[Android Software/Hacking General [Developers Only]] sherpa25:
Yes, I believe the original was 60mb LMK. Pika also released a version with 50Mb LMK. To confirm, you can view the content of ram.conf in the zip file found inside system/etc and look for the line "LMK_MINFREE="1280,2560,5120,7680,10240,15360".... I believe the last number dictates this LMK size (i.e. 15360 x 4=60Mb). This line in the 50mb version had "LMK_MINFREE="1280,2560,5120,7680,10240,12800" (i.e. 12800 x 4 = 50Mb).
[Android Software/Hacking General [Developers Only]] bhp117:
Will this work with other phones?

I have a rooted GingerBread 2.3.4 Lg revolution using KAK and v6 supercharger

SuperCharged GingerVolt B-) R U?
[Android Software/Hacking General [Developers Only]] pikachu01:
It's included in all of 1.9.0. In CM7/Fugumod, it doesn't work because you need to remove screenstate_scaling for it to work.

You are free to use any, but 50MB is the middle ground :)

You'll need the ext4 lagfix to use the remount script. The remount script gives around 5-25% increase in performance.

It should work with other phones as long as you fulfill the minimum requirements listed in the OP. Be sure to have a nandroid backup handy as I've never tested it, hence I assume that it has a chance of not working.

You'll need to remove Supercharger and KAK (as Supercharger is already included in ThunderBolt! Others version, and using a completely different LMK/OOM, KAK because some values conflicts with KAK)
[Android Software/Hacking General [Developers Only]] KMino:
Newest script is going Very good here Pik!

Screen state scaling is doing its job with TalonDev :)

Batt on 75% after 22hrs, with a few hours of wifi/sms/phone calls when I was out last night clubbing :D
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

I thought the patched libsqlite was made into a separate flashable. I used the restore cwm just before I flashed to 1.8.0, so I'm thinking I no longer have it. I will try the drop_cache script.;)
[Android Software/Hacking General [Developers Only]] kalvinlou:
Can anyone help?

I'd like to use this with nightly CM7 and fugu, can I?

Do I need to delete the screenstate_scaling to make this run?

Thanks.
[Android Software/Hacking General [Developers Only]] bhp117:
It should work with other phones as long as you fulfill the minimum requirements listed in the OP. Be sure to have a nandroid backup handy as I've never tested it, hence I assume that it has a chance of not working.

You'll need to remove Supercharger and KAK (as Supercharger is already included in ThunderBolt! Others version, and using a completely different LMK/OOM, KAK because some values conflicts with KAK)[/QUOTE]

I can uninstall KAK but the rom I'd flashed have v6 supercharger update 8 baked into it and I use v6 supercharger update 9rc3.2 on top of it

Would it still cause any problems if I unsupercharge the update 9rc3.2?

What version of the supercharger does this script comes with?

SuperCharged GingerVolt B-) R U?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes. The workaround for now is to do that. I'm currently making 1.9.1 to see if this can resolve the issue. I will post a beta build that could work. Are you willing to beta test it?

If you're stuck at boot, go to recovery and flash the restore pack.

I can uninstall KAK but the rom I'd flashed have v6 supercharger update 8 baked into it and I use v6 supercharger update 9rc3.2 on top of it

Would it still cause any problems if I unsupercharge the update 9rc3.2?

What version of the supercharger does this script comes with?

SuperCharged GingerVolt B-) R U?[/QUOTE]

I think with was the update 9 beta 3 or something, hence it's pretty recent. Actually, you can just flash ThunderBolt! on top of it and it'll overwrite Supercharger's settings.
[Android Software/Hacking General [Developers Only]] bhp117:
So I can just uninstall KAK then flash thunderbolt?

SuperCharged GingerVolt B-) R U?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, the restore would restore everything, including the patched libsqlite*.so.

Not sure then why it would FC. Misbehaving app? I do encounter FCs in Facebook every once in a while a long time ago. It was buggy and slow too.
[Android Software/Hacking General [Developers Only]] pikachu01:
Update v1.9.1. Experimental fix on CM7/Fugumod. If it doesn't work, I would need to research on it some more. Please test.

Also, if it's stuck at boot, boot to recovery, flash restore pack and remove screenstate_scaling before flashing again.

Changelog:

11/13/2011 (1.9.1)

- Updated screenstate_scaling with experimental fix for CM7/Fugumod.

- Renamed S99Supercharger to S91Supercharger so that it runs before screenstate_scaling.

- Fixed screenstate_scaling a bit for typo. Doesn't affect anything, just typo.
[Android Software/Hacking General [Developers Only]] GreenSGS:
Hi Pika,

Awesome dude, with OC 1.2,smartassv2,no-op, it feels really nice now,I have to control my thumb now.

Although I think tweaks need some time to settle down. some crap apps like whatsapp,nothing can help them, they always start late but my dialer is poping out super smooth.

How do we use sqlite_optimize script?I think I missed it somewhere. Its there in bolt_scripts and not in init.d.

Should it be triggered only once or on every boot?

Restore will revert bin files addon also?
[Android Software/Hacking General [Developers Only]] lippol94:
First of all thanks for your efforts! Really appreciated! :)

I was wondering if, to make drop_cache working automatically, was necessary to have bolt_scripts onto sdcard.

Thanks!

Will try 1.9.1 asap
[Android Software/Hacking General [Developers Only]] zenosteam:
is the script work also on miui ?
[Android Software/Hacking General [Developers Only]] pikachu01:
I've updated the OP with sqlite_optimize instructions:

Yes, restore will revert bin files as well :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope, not necessary for it to be in /sdcard. You can place it anywhere you want actually. I put it in sdcard as its a space that can be used easily.

I have a feeling 1.9.1 won't work too. I will need someone to be in the IRC chat to troubleshoot this problem. Wondering if you could spare some time for that if 1.9.1 doesn't work :)

Thanks!

This should work in MIUI. If it doesn't work, it's due to the screenstate_scaling script being incompatible with CM7/Fugumod. I'm trying to resolve this problem currently.
[Android Software/Hacking General [Developers Only]] lippol94:
What's your GMT? Cause I have to go out in 20 minutes but this afternoon I have much spare time.

Sorry if I seem a douche but it's not. My question is, if you make screenstate_scaling working, do we still need to apply that drop_cache script in sdcard? or is it something optional like remount script?

Thank you!
[Android Software/Hacking General [Developers Only]] danieldmm:
Pika whit youre permission can i make one CWM with all the stuff to fit my ROM ? Just to share with few users for testing this...

Cheers and i me really happy with the combination of SmartAssv2 and Conservative...

(14 Hours and no Lag, FCs, not a single glitch)
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm at GMT+8. It's ok if you can't make it. Don't worry :)

If I make screenstate_scaling working, there is no need for drop_cache script to be executed any more.

Remount script is not optional per se. It's necessary if you would like to have better performance. It's the same as sqlite_optimize script. How they are ran is different though. Remount is at every boot and sqlite_optimize is when you have the time to wait for a long script to finish executing.

Sure. Be sure to mention me in the credits as well as the ThunderBolt! version and the ThunderBolt! name.

Thanks!
[Android Software/Hacking General [Developers Only]] Bejda:
Sorry Pika,as you thought still bootscreen stucked on nightly 175.

At work now and not used to irc,can't help more.
[Android Software/Hacking General [Developers Only]] pikachu01:
Thanks for testing :)

Hmm, if anyone has a CM7 based device that gets stuck on boot because of screenstate_scaling, please go to :

http://webchat.freenode.net
Channel: #suckerpunch
[Android Software/Hacking General [Developers Only]] lippol94:
Ok thanks! :)

So if I'd like to see if your ''fixed'' screenstate_scaling is working what I have to do?
[Android Software/Hacking General [Developers Only]] pikachu01:
Bejda just tested and it doesn't work for CM7. I would need the person to sit in the chat with me and test some commands in Terminal Emulator to proceed.
[Android Software/Hacking General [Developers Only]] bhu1:
Thank you for your script. It makes.sgs better.

hit thankxx if i helped. sent from my mind through telepathy (ya its possible)!
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Well ok, i did it and i think im too nooby :D
[Android Software/Hacking General [Developers Only]] XblackdemonX:
Yes you are nooby when you don't know how to spell newbie lol
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Yeah sure...

http://www.urbandictionary.com/define.php?term=nooby
[Android Software/Hacking General [Developers Only]] Rahulrulez:
Great tweaks.. Bundled with my ROM..

And credits given obviously :D

thanks a lot.. your tweaks made my ROM awesome.. I'll join in to make thunderbolt even better :D
[Android Software/Hacking General [Developers Only]] MintBerryCrunch:
Hi pikachu, not sure if this is of any benefit to you but found it in oSerX rom thread. Its regarding editing the sqlite.

http://xdaforums.com/showpost.php?p=12695464&postcount=1966
[Android Software/Hacking General [Developers Only]] oserx:
The interface seems really smoother with this libsqlite.so . I read a little more about it yesterday and it seems database access, especially write access is optimized by delaying write to the "disk" ( and most of the apps do use databases to store informations/configuration )

I just downloaded libsqlite.so and replaced it in /system/lib ...
[Android Software/Hacking General [Developers Only]] pikachu01:
Thank you for trying it :) Glad that it helped.

Thank you for including it :) I am glad that the collection of tweaks I've done is used by the community :)

Hope that you will continue to contribute to this community as well as any tips I can do to make ThunderBolt! better :)

Yeah, I'm actually following that guide to compile my own libsqlite. It's WIP now actually. Wait for the good news :)

Yeah, but by not doing fsync, there are potential issues for corruption of the database. However, I'm trying to see if I can limit this risk from compiling my own sqlite :)
[Android Software/Hacking General [Developers Only]] geokilla:
Wait. Since this is a CWM file, do I just unzip then zip it back up? And the edits are made to the S98screenstate_scaling correct?
[Android Software/Hacking General [Developers Only]] pikachu01:
Paste a snippet of it and let me see what you've edited.

Yes, CWM is a zip file. Unzip, edit and rezip it. It's fine :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, that's correct. :)
[Android Software/Hacking General [Developers Only]] MintBerryCrunch:
Pikachu, what do u think about the davlik to cache script?
[Android Software/Hacking General [Developers Only]] pikachu01:
SGS's cache size is only 30MB. It's useless in the SGS as the script checks to see that there are at least 80MB of free space in cache (and only if there's 80MB free space, it'll transfer the dalvik cache to the /cache partition). In other words it doesn't work for SGS :)
[Android Software/Hacking General [Developers Only]] zerkai:
Quite unnecessary to post the whole script, but try deleting the script and running it to see if it affects your SD card.
[Android Software/Hacking General [Developers Only]] pikachu01:
Don't think it will affect your external sd. It's not even tweaking the external sd from what I know unless external sd is mounted on bdi. Even then, tweaking read_ahead values shouldn't break it.

Try removing the scripts one by one and see if it works for you.
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Well thats odd.
[Android Software/Hacking General [Developers Only]] pikachu01:
What's odd?
[Android Software/Hacking General [Developers Only]] pikachu01:
v1.4 coming soon with Supercharger and some other tweaks :) Testing is in progress.
[Android Software/Hacking General [Developers Only]] saszseb:
I'm on Miui MintBerry_1.11.11:

dirty_ratio: 80

drop_caches: 0

What do they mean?

Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Your dirty_ratio should be 90. If it's not, then your installation is not correctly done. Something else is setting it to be 80 (Other scripts in init.d or in /etc/sysctl.conf?).

As for drop_cache, after a while, it'll become 0 again. But it will be 3 right after you apply the drop_cache script.

Look at the OP. There's instructions to check if ThunderBolt! is applied correctly. Make sure all the values are the same as OP's.
[Android Software/Hacking General [Developers Only]] :
@pika: what do you recommend? ondemand or smartassV2?
[Android Software/Hacking General [Developers Only]] pikachu01:
Right now, I'm liking smartassV2 as it maintains an idle frequency of 800MHz and scales very quickly up/down to maintain a smooth operation. It has a sleep code as well that ties down the frequency to 100MHz ideally.