yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
KAK is a preview of sorts... when I get V6 finalized and start on V8 again, I'd collect more more KAK tweaks... but of course it won't be specialized for ThunderBolt... but there will be more :D

You can put dalvik on the sd-ext partition if you have one, yes?

I'd be screwed without my sdcard's ext partition lol
[Android Software/Hacking General [Developers Only]] nalinbhatt:
Thank you boss
[Android Software/Hacking General [Developers Only]] mab71:
Thanks Pika!! just a small question.. I have these values as memory limits in my autokiller memory optimizer after flashing v1.4 : 6,12,40,60,80,100. are they supposed to be like that? Is that safe? thanks again mate!!
[Android Software/Hacking General [Developers Only]] MintBerryCrunch:
how do u do this? lol
[Android Software/Hacking General [Developers Only]] sherpa25:
Thanks......here we go.... :)

---------- Post added at 11:14 AM ---------- Previous post was at 10:33 AM ----------

@pika, I understand you said MemoryFreak is disabled, but checking the content, are these new settings set intentionally w/ the new tweaks?

Hidden (60), ZRam (96) and Swappines (60)
[Android Software/Hacking General [Developers Only]] darkworldz:
can i use this on a cm7 rom like galnet's with neo17r15??
[Android Software/Hacking General [Developers Only]] pikachu01:
You should not enable Semaphore tweaks with ThunderBolt! as they will clash, though can you provide the scripts that is in your init.d when you activate the optimizations?

I know that minfree in Semaphore app should be disabled as ThunderBolt! already tweaks your minfree.

You can tweak your scheduler (deadline) using Voltage Control. Don't need to use Semaphore app. Use SIO if you have them (Semaphore doesn't have SIO) otherwise deadline or noop is good.

Use the remount script (script manager) only if you have lagfix. If you don't, you can try using it, but I won't be responsible if you have bootloops etc. Hence, you should enable lagfix if you want to enjoy the smoothest experience. And yes, remount script does play a significant part of the smooth experience. ~20% if I can put a number on it.

And I've clearly written in the first page (both CWM and Script Manager must be done. With the why being Voodoo lagfix will remount the partitions later after init.d. In order for you to correctly remount. It has to be done using Script Manager):

Please read the first post thorougly before attempting to do anything to your phone.

The script doesn't tweak the scaling frequency. It will however make you use ondemand (which could affect your scaling frequency if you're using Tegrak I think). Let me know what your configuration is, and I'll try to fix it in the next iteration. As always, provide more information on your governor/OC etc.

Yes, they can be used for CM7 as well, even without swap.

Hehe, can't wait for more KAK tweaks :)

You can put your dalvik on your sd-ext partition, but it will lead to a slower overall experience as the sd-ext is slower than your /data partition (from what I've read)

No prob :)

Yes, these are safe. I've tested it to see if multitasking works, and it did. I successfully ran Opera Mobile, Opera Mini, Music app playing in the background, Tapatalk, Market and none of it are killed. However, I'm on ZRAM (that might explain why I can open more apps). Hence, let me know if you are experiencing a lesser degree of multitasking. I'll fix it in 1.5.

Just put a softlink in your dalvik cache and then link it to a dir in sd-ext :)

Yes, these are my current ZRAM settings.

Yes. They should be compatible. Be sure to remove all other tweaks though to ensure that nothing will go wrong :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmmm, can I provide you to test a beta version that tries to fix this? Are you on CM7 or Samsung ROM?
[Android Software/Hacking General [Developers Only]] MintBerryCrunch:
@ pikachu

what zeppelinrox said, put davlik on sd-ext partition :P
[Android Software/Hacking General [Developers Only]] pikachu01:
Sorry, I replied forgetting about the context. I've reedited the original post with this:
[Android Software/Hacking General [Developers Only]] pikachu01:
Also, (forgot this one).

To everyone:

Please test your multitasking capabilities. I would like to know if the Supercharger profile is too aggressive or not.
[Android Software/Hacking General [Developers Only]] rico13:
Just a quick question, would thunderbolt offer more advantages over automemory killer and why?
[Android Software/Hacking General [Developers Only]] pikachu01:
I am not sure about it working in such an old phone. Remember that the minimum requirement is that it needs Gingerbread?

Using ThunderBolt! on it would be highly experimental. I wish you luck in your endeavor ;)

Nandroid is the word :) Oh, and there's no restore pack for it. Remember that well.

Hmm, I'd advise you to use QuickPic. Gallery is always buggy for me actually. Nightly 181 is also having the wait_for_fb_* bug, hence you can't use screenstate_scaling for that as well.
[Android Software/Hacking General [Developers Only]] pikachu01:
I am working on 1.9.4 with a long laundry list of bugs to fix. Sorry for the wait. It'll be out soon >.<
[Android Software/Hacking General [Developers Only]] XuperLugia:
CM 7.1 is available for it, will try TB over it and share results here, mostly for fun and curiosity :p

And no worries about ****ing it up, I don't use it anymore so the worst that could happen is throwing it back to the drawer while if it works and really improves my old phone maybe I could find a new use or user for it.
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Update v1.9.4. Reduced CFS aggressiveness, fixed some bugs in the updater script. Updated Supercharger scripts to Update9 RC3.2. Made screenstate_scaling an addon. Updated VM settings in both system_tweak and screenstate_scaling to be all rounded - VM is semi aggressive/non-aggressive. A bit weird to word it that way, but that's the only way I can describe it. Made LMK an addon. Bugfixes to all addons.

Changelog:

11/18/2011(1.9.4)

- Reduced CFS aggressiveness. Lags when playing games and unbootable device issues should be solved by this.

- Updated Supercharger to Update 9 RC3.2. Not sure if this fixes the missing haptic feedback if ThunderBolt! is integrated into a ROM, but please try this out.

- Made screenstate_scaling an addon as some MIUI/CM7 users can't figure out how to delete a file from a zip file.

- Updated VM settings in screenstate_scaling and system_tweak to a all rounded setting. Memory should be cleanly allocated from RAM to Cache to RAM. Would need to experiment if this works out better or not.

- Made LMK an addon since its already stable. Making 6 CWM zips all the time when updating to a new version is painstaking, and makes it longer for me to release an update.

- Made some bugfixes to all updater scripts including the restore packs and addons. Recommend to redownload all addons/restore packs.
[Android Software/Hacking General [Developers Only]] pikachu01:
Is the RAM available smaller than that of the SGS? 40MB LMK should be used instead I think.
[Android Software/Hacking General [Developers Only]] Mopral:
v1.9.4 seems to work fine!

Now I will try to edit screenstate_scaling for ondemand as awake and conservative as sleep
[Android Software/Hacking General [Developers Only]] jcvr:
1.9.4 ... Very fast boot ... Very good work!!! Thanks!!!
[Android Software/Hacking General [Developers Only]] Faryaab:
Just flashed again and Haptic Feedback Working :D

No need to do any changes as it is working in 1.9.4!
[Android Software/Hacking General [Developers Only]] danieldmm:
Great news my friend... Normally RV3 it's going out next week... And like I Said it will be blunded with ThunderBolt base and addons lib and bin... I try to PM you one thing but...

Very good work...

Cheers my friend...

Escrito pelo meu querido S using tapatalk...
[Android Software/Hacking General [Developers Only]] XuperLugia:
I was already thinking about that, but right now I don't remember what was more our less the amount of available RAM, will check later and if the 40MB LMK was still too much I'll try to modify it, and, if I can't myself, I'll leave you a message over here :)
[Android Software/Hacking General [Developers Only]] martinomac:
Great work Pika! I'm a long time user since the beginning of Thunderbolt! Just wondering if it would be possible to pack all add-ons and Thunderbolt! into 1 nice CWM zip? (all-60MB, 50MB, etc) I mean, all those items work great for none CM7/MIUI ROMs am I right? Again, I could be wrong but I've never had any issues with any of your scripts.

You deserve a six-pack, not just a coffee. Will be donating.
[Android Software/Hacking General [Developers Only]] BoOsT:
Why not Download all of the add-ons and then just add them to the 1.9.4.zip?
[Android Software/Hacking General [Developers Only]] Alberto96:
Can i use this on Galnet ICS MIUI 1.11.9 ?
[Android Software/Hacking General [Developers Only]] Guzmanus:
screenstate scaling doesnt work for me :/

btw, great job!
[Android Software/Hacking General [Developers Only]] saphirrot:
Holy ... 1.9.4 is the smoothest version ever. Great pika !!!
[Android Software/Hacking General [Developers Only]] geokilla:
It seems that Control Freak does not work with Semaphore and Thunderbolt with smartassv2 and simple IO selected in semaphore app. Got any clue what's up with that?

Sent from my Samsung i896
[Android Software/Hacking General [Developers Only]] XblackdemonX:
Some people complain and want separate packages for all of your tweaks.

Well I want to complain that I don't like to have to install 5 packages to install this tweak.:(

except that very good job Pika! :D
[Android Software/Hacking General [Developers Only]] J0HNiE:
what is the installing process when updating from older versions?
[Android Software/Hacking General [Developers Only]] hackeron:
I agree, better to keep it simple and dont fragment it so much..
[Android Software/Hacking General [Developers Only]] XblackdemonX:
-mount /system /data

-to be sure use: CM7MIUI Restore CWM v1.0.0.zip or	i9000 Restore CWM v1.0.0.zip to remove the previous version

-install new version!
[Android Software/Hacking General [Developers Only]] Sqb:
Thanks for the update pikachu. Looks like you've been extra busy. I will flash and let you know but from comments so far looks like another great release as always

Sent from a rock on fire in the middle of the sea
[Android Software/Hacking General [Developers Only]] J0HNiE:
i see that there is only one pack of thunderbolt 1.9.4, is it for both cm7/miui and talon?

as for the LMK, i understand but do i need to install the thunderbolt 1.9.4 first and then all of the addons? (after installing the restore pack of course)

when restoring\updating does it uninstall all of the addons i had?
[Android Software/Hacking General [Developers Only]] XblackdemonX:
Ok looks like I have to tell you step by step

1- Reboot in recovery

2- Mount /system /data

3- CM7MIUI Restore CWM v1.0.0.zip OR i9000 Restore CWM v1.0.0.zip (Yes it deletes the other Thunderbolt Addons)

4- ThunderBolt-CWM i9000 v1.9.4.zip

5- ThunderBolt-CWM i9000 60MB LMK Others addon v1.0.0.zip OR ThunderBolt-CWM i9000 60MB LMK Talon addon v1.0,0.zip

6- The rest is optional
[Android Software/Hacking General [Developers Only]] burakgon:
WOW! Just amazed by 1.9.4! Please don't corrupt it! Thank you much.
[Android Software/Hacking General [Developers Only]] RaymondPJR:
No, I reverted back using your restore zip. I don't know if this would happen if I used one of the ringtones included with the rom, but this is no big deal at all.
[Android Software/Hacking General [Developers Only]] geokilla:
What's so hard with installing the other tweaks yourself? Stop being lazy guys.... If he combined them all together into say just 3 CWM files for 40LMK, 50LMK, and 60LMK, then users wouldn't have a choice of what to flash. Maybe someone wants just ThunderBolt and no 3G tweak or whatever. Plus packing them together means he has more to edit each time he upgrades or tweak his tweaks.
[Android Software/Hacking General [Developers Only]] bushgegner:
Dumb question but to get everything which was included in 1.9.3

do I have to install all addons except screenstate because I´m on NEO18?

edit: forget my question. Should read the OP better. Got it.
[Android Software/Hacking General [Developers Only]] Tuga_Droid:
Thanks for your work. It's great!!!

I have one question. I want to edit screenstate scalling but there is too many lines ;o) and i don't know what lines i have to change. Is it possible to help me please?

Thanks in advance
[Android Software/Hacking General [Developers Only]] flolep:
You have to modify the two blocks of AWAKE and SLEEP Governors...

For example, if you want ondemand when phone is awake and conservative when phone is sleeping, here are the modifications to do with jota text editor (free apk in the market, the other editors are not editing it well... You have to open the file with jota, modify the file, save, it will have an error first saving but when you recover the file in the notification, you select original place button, and it will be saved, you will be able to see if it's correctly modified with root explorer view text in init.d, and don't forget to have r/w on system and to put all permissions to the file too, and then reboot or launch the script in script manager).

==============================================================

# ==============================================================

# step [1] choose AWAKE governor while screen is ON

# ==============================================================

# ==============================================================

# selection of AWAKE Governors:

# =========

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

# =========

#AWAKE_GOVERNOR="";

#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";

# ==============================================================

# ==============================================================

# step [2] choose SLEEP governor while screen is OFF

# ==============================================================

# ==============================================================

# selection of SLEEP Governors:

# =========

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

# =========

#SLEEP_GOVERNOR="";

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]

#SLEEP_GOVERNOR="smartassV2";

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] flolep:
See my preceding post... You have to do this if you want it working...

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] geokilla:
Or you can set it in Control Freak, Semaphore, or Voltage Control. Though Control Freak and Voltage Control has selection for only on demand and performance for some reason.... Wonder if the scripts are not playing as nice as I expected them too I have smartassv2 selected using Semaphore, which also in turn broke Control Freak :eek:

Oh yea, pika also mentioned something bout how the governor is automatically selected or something iirc.
[Android Software/Hacking General [Developers Only]] Tuga_Droid:
Sorry but what do you modify to edit? I don't see anything changed. Sorry but i'm tired ;o)
[Android Software/Hacking General [Developers Only]] Perka:
Hi pika, I dont get what version to dl now, v1? Or 1.9.4?
[Android Software/Hacking General [Developers Only]] Tuga_Droid:
All V1 versions are addons. You have to install 1.9.4 and after addons if you want ;o)
[Android Software/Hacking General [Developers Only]] flolep:
Ok pika, I trusted you so I tried talon last version with thunderbolt talon lmk 60 and all addons and put SWAPPINESS to 0. And.......

... You were right!! Thank you so much pika. I never succeeded in having talon more than two days without rebooting... First time for me so I am really happy.

57 hours without a reboot (20 hours active ondemand, vr and 1200 mhz and 37 hours deep sleep conservative thanks to screen state scaling : still 75% battery at the end of one day, wowww), without having to do any drop cache (not needed anymore), nor clear zram in memory freak (not needed anymore too) and a phone still usable (not as smooth as just after reboot but really usable and really incomparable as when swappiness is at 60...).

It's just sad that I have to cut swappiness off...

So ok, the memory leak I am talking about in talon is really linked to zram / compcache... So what about trying to have zram and swap on and try to fix this memory leak! I know you can do it! :-)

But thanks again pika for all your hard work. Another donation on the way...

Finally, I wanted to report for the latest version you posted today.

1) As some users here, I agree that having a one shot zip to flash with all the addons included could be better than having it completely divided into pieces... (but I know that it's more work...)

2) Writing here on xda, I am having some really annoying microlags with the virtual keyboard (SwiftKey) that have haptic feedback that I didn't have with preceding version... Is it due to less aggressiveness of some parameter you modified?

Thanks again, take care pika.

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] Perka:
Ok, got it, I think, first the 1.9.4, then my 60 others? :-P
[Android Software/Hacking General [Developers Only]] flolep:
Lol. Screenstate scaling is to force a certain type of governor (that must be supported by the kernel, or added by script in the case of semaphore and smartassv2) when the phone is active and another one more careful about battery when it is sleeping and voltage control, control freak and Semaphore only are setting the awake governor...

And if you active screen state scaling and select a different governor in these applications, it will be overwritten by the one in screen state scaling after boot or going to deep sleep and going back active...

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] flolep:
Put a # before awake_governor = "" in the two blocks and delete the # before the governors you want in awake and sleep mode...

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] pikachu01:
I just woke up to so many replies ;) I'll reply to them each when I get to work :P
[Android Software/Hacking General [Developers Only]] Tuga_Droid:
I've seen that but i wanted to be sure ;o) thanks for your help
[Android Software/Hacking General [Developers Only]] pikachu01:
It is possible, but I'd have to repack each of them into a CWM zip and this complicates the process for people who only want certain addons but not all.

Thanks for offering to donate. Really appreciate it :D

It should work. Be sure to check whether the kernel has the latest didle patch. If it has, screenstate_scaling won't work and you'll hang at boot.

Weird. You need to load smartassV2 and do a reboot before ControlFreak sees it I think, or try Voltage Control.

Yes, it's for both. The need to separate into two packages was due to the different LMK/OOM implementations for Talon that uses ram.conf.

You install the base package then the addons. When you flash the restore pack, it will restore everything.

I've updated the restore pack. Can you try if it causes the same issue? Thanks!

You can't set it in Control Freak,Voltage Control etc if you're scaling the governor. Once you switch on/off your display the governors will be changed. This is unless you want the same governor to be on when sleeping/awake. in which you do not need to edit screenstate_scaling for this. Just select it in Voltage Control, Control Freak etc.

Not sure about why Control Freak doesn't work. Bring this up to shane87. He probably knows what's going on.

I'll research about the micro-lags and implement experimental fixes in the the next version. :)

About the ZRAM/Swap, I would need to dig in to the code to check. Might take a while. I'll notify you if I find anything.

Thanks for the donation offer :D :D. Appreciate it ;)

Note: Let me know if I didn't get to any of you guy's messages. I'll reply to them :)
[Android Software/Hacking General [Developers Only]] geokilla:
You should put this in the Talon thread if you haven't already. Many people like Talon, but hate the memory leak. I personally see no need for ZRAM, but that's just me.
[Android Software/Hacking General [Developers Only]] pikachu01:
Just checked my account and saw a donation from flolep.

Thank you flolep :)

I really appreciate your support in my endeavor :D
[Android Software/Hacking General [Developers Only]] flolep:
ZRAM is needed to have virtually more memory and have the consequence of better multi tasking and better experience in memory demanding applications. The problem is that it shouldn't be accompanied with a loss in smoothness... And that is the case with talon and ZRAM / swap on after some hours of use :-(

Moreover I can't understand why dropping cache and clearing zram are not working as they should... The only way to get back to smoothness is to reboot. There must be a solution to have ZRAM / swappiness on AND smoothness for 3 days at least. I have faith. Maybe pika will find a solution... Time will tell. I will give my report in talon thread... Thanks for the idea, geokilla.
[Android Software/Hacking General [Developers Only]] flolep:
You're welcome, thanks to you :-)
[Android Software/Hacking General [Developers Only]] sherpa25:
Thanks pika for the update!

Just to clarify, what's the default if I don't include s98screenstate_scaling? Is it the same as including s98screenstate_scaling w/o modifying the file, since Awake and Sleep = "" initially?

@flolep, great find! Yes, it would be nice if smoothness doesn't get lost in the long run. I'm sure, these will be addressed eventually :D
[Android Software/Hacking General [Developers Only]] pikachu01:
The screenstate_scaling will only perform VM scaling, hence by default, the governor that you set in Voltage Control/Control Freak etc will be used.
[Android Software/Hacking General [Developers Only]] sherpa25:
Ok. So the file is basically not needed if I use the same governor for both Awake/Sleep, since it can just be set in VC? And only if I want to use different governors for both Awake and Sleep, would I need to use the file, is this correct?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, that is correct :)
[Android Software/Hacking General [Developers Only]] flolep:
And without modifying anything, on talon, by default, the governor is ondemand :-)
[Android Software/Hacking General [Developers Only]] RaymondPJR:
I couldn't resist after seeing this comment. I was still on 1.9.1, had 1.9.3 ready to install but did 1.9.4 instead. WOW!!!
[Android Software/Hacking General [Developers Only]] fairyshacker:
On cm7 (nightly 179) with NEO18 Kernel.....

Am i good to go with v1.9.4 ??
[Android Software/Hacking General [Developers Only]] RaymondPJR:
I've updated the restore pack. Can you try if it causes the same issue? Thanks!

I just checked and it is still there after flashing 1.9.4. I just went straight from 1.9.1.

This is not related to Thunderbolt!, but I really wanted to ask and you don't take PM's. I noticed in the TalonDev thread that you gave some advice concerning the fact that GPS does not work with Simply Honey and a few other Roms with TalonDev. Was there ever any solution to this problem that you know of?
[Android Software/Hacking General [Developers Only]] sn0wjie:
hi,

can i know which file to download if i wanna use this thunderbolt tweak? must i download everything? or is there a specific one that i can flash thru CWM? much thks.