yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] iXNyNe:
for safety i'd also have each install of the main tb! zip remove these init files, and probably remove any existing copies of the scripts in init.d and bolt_scripts folders (if they dont already, i cant remember)

this will make it easier for you to be sure that between releases (or between installs) users are actually putting these items back in place on their own and hopefully this encourages a reminder to check that nothing about these scripts has changed and they should read the changelog

another route would be to provide a zip that simply removes the new init scripts and doesnt touch anything else - this would be handy for someone who somehow gets stuck in an overly lock boot up due to the vacuum or something.

i'd assume anyone who has already installed multiple versions of tb! has (like me) prepped their own separate init.d file to load after tb! scripts so it will overwrite any settings tb! sets that they would like different than tb! sets them out of the box - may be a point of interest to encourage this behavior from users of tb! by adding recommendation (or even guide)

ex: i dont like EVERYTHING the included siyah script does, but i dont like modifying it every time there's a new release of tb! so i load it for most settings and then set one or two things differently in a separate script that loads after the siyah script
[Android Software/Hacking General [Developers Only]] pikachu01:
It might have more similar values (50MB than 60MB), but I still don't recommend it as the values are mismatching (only part of the values stick). Having all the values stick or none at all is the best choice as it'll either go all the way or remain the default value. Having it halfway creates unexpected conditions sometimes.

I usually have my own scripts too that is derived from the bolt_scripts. I will remove the init.d scripts with every new install :) That's my plan from the beginning if I do add any new scripts.
[Android Software/Hacking General [Developers Only]] Perka:
Awsome!!

Testing asap! :-D

And probably incuding this is my next rom :-)

Hoping to odex PerkaMOD tomorrow :-D

Thx for your time :-)
[Android Software/Hacking General [Developers Only]] Mopral:
Thanks!

Your zip (I just remove screen state scaling) and your new MF settings seems to work great!

I just use SD booster to set cache size to 512kb (seems to be better with album jacket in music app for exemple...)

For I/O scheduler, I just use the default one in Talon kernel
[Android Software/Hacking General [Developers Only]] superwahwah:
thanks, I used to have your script, it's a great improve for our phones, thanks again

should we use a Deoxed or Ox by the way? stock or Elinrom ^^ ?
[Android Software/Hacking General [Developers Only]] Perka:
Oh btw, does the updater-script remove the init folder?

Or do i have to remove old scripts manually?
[Android Software/Hacking General [Developers Only]] pikachu01:
Thanks for using it :) Hope that more people will use these tweaks and come to love their SGS as I have.

Yeah, smaller read_ahead values are better for smaller files, but bad for big files. SIO is the default actually, which is the best theoretically.

I would choose Odexed. Ask Perka for Elinrom :)

It doesn't. I will update it to remove older scripts next time. Thanks for the reminder :)
[Android Software/Hacking General [Developers Only]] Perka:
Goto: http://goo.gl/zlDkX. Then:Samsung > 1.PerkaROM_I9000 > ROM > JVT > ElinROM_XXJVT_v.1_Odex_NoWipe-CWM3.zip

If anyone needs an odex rom :-)
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Hey Pika!

After applying your CWM (modded for personal use) I get some error message with tune2fs when typing free in a terminal.

e.g.

#!/system/bin/sh
echo on
free
sync
echo 3 > /proc/sys/vm/drop_caches
free

widget gives me this screen:

http://imageshack.us/photo/my-images/836/sc20111010194829.png/

Whats wrong`?

BTW: why the MemFreak changes?
[Android Software/Hacking General [Developers Only]] Perka:
Do I need to delete anything in /xbin before flash?
[Android Software/Hacking General [Developers Only]] MintBerryCrunch:
is zcache and zram compatible with cm7/miui?
[Android Software/Hacking General [Developers Only]] chiefy009:
Will.this flash over any tweaks already done such as acid tweaks and super charger ?
[Android Software/Hacking General [Developers Only]] existz:
Its kernel dependent, so just depends if your kernel supports it or not
[Android Software/Hacking General [Developers Only]] MintBerryCrunch:
No. (10char)

---------- Post added at 06:01 AM ---------- Previous post was at 05:58 AM ----------

Is there any test to confirm if the kernel does or doesn't support it?
[Android Software/Hacking General [Developers Only]] chiefy009:
So you have to reflash the whole rom and kernel then flash this ?
[Android Software/Hacking General [Developers Only]] leroys:
If using acid tweaks, can I just delete the content of initd folder and apply this script? Thank you.
[Android Software/Hacking General [Developers Only]] Perka:
Great, really made my phone faster!

ElinROM JVT cf root.

Thx!!
[Android Software/Hacking General [Developers Only]] Gromlakh:
Yes.

Omg10char
[Android Software/Hacking General [Developers Only]] saphirrot:
after applying this fix my phone got even more smooth than it was. but i got more lags after startup. 10 secondes after i entered my phone pin code, media is scanning for new files. why this long delay.. but very nice programm!!!

I also got very hard lags on startup, but after media scanning is done everything is smooth like heaven
[Android Software/Hacking General [Developers Only]] Gromlakh:
The startup delays are due to the init.d scripts running. So, your phone has more to do on startup than it used to, and that takes longer. Since the phone now runs smoother...we can handle a slightly longer boot time. ;)

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

No need to reflash the entire ROM. Delete everything in /etc/init.d (except for _99ramset, which is autogenerated), then flash the script zip file from CWM. You should see the difference after the next reboot.
[Android Software/Hacking General [Developers Only]] darckengel:
Nice :)

Just one thing:

Zipalign at each boot should not be necessary, maybe just make it as one shot script. (The system files are not supposed to evolve with use)

And the up thresold for conservative scheduler as screen off seems a little bit too agressive, something around 76 or 80 should be enough (i set 90 up and 50 down and have no issues).
[Android Software/Hacking General [Developers Only]] pacc:
I got a nice boost in FPS, great work.

Unfortunately with Stock JVT I had a few random freezes whilst playing 3d games using the latest Talon 0.5.1.5 (with new clean install).

Flashed again, but this time with Semaphore 1.8, and until now it's perfect!
[Android Software/Hacking General [Developers Only]] sherpa25:
Kudos piks! Could this be the optimized version, or are you still cooking up something? :D Seems to be flying smoothly... though 'I think' not as fast as it was w/ the first 512HP, but responsiveness has held up... at least for the last 12 hours :) I just hope I'm not speaking too soon :D Let's see how long it goes w/o reboot :)
[Android Software/Hacking General [Developers Only]] bundi22:
please update with lower lmk settings (48mb semaphore is good) because it gets annoying when phone and contacts always need to.be reopened
[Android Software/Hacking General [Developers Only]] burakgon:
Ok its amazing on stock rom and talon kernel but on cm7 lowered my FPS on games with glitch kernel.

How can I revert this?

Edit: Now I feel when I play dungeon defenders. Amazed again with cm7 thanks!

But will be good if I can learn how to revert.
[Android Software/Hacking General [Developers Only]] XblackdemonX:
Yes they are!:D

Thank you very much Pika!
[Android Software/Hacking General [Developers Only]] pikachu01:
What do you think? Can I still make this faster? :P

Wait for v1.6 :P To be released in a few hours :P

Read here:

http://xdaforums.com/showpost.php?p=18529320&postcount=288

Particularly
[Android Software/Hacking General [Developers Only]] rom08:
Strange for me memory freak still working but default values are pika ones . Zram to 96 swap to 60 and memory to 52. Before flashing with cwm it was default talon values. So I think it worked but memory freak still work for sure. I'm on talon 0.5.1 with stock jvt odexed.
[Android Software/Hacking General [Developers Only]] XblackdemonX:
Thank you so much Pikachu for answering all my questions! I really appreciate it :D

BTW keep up the good work. This script is AMAZING!
[Android Software/Hacking General [Developers Only]] Guto ViP:
Tnx Pikachu for 1.5.1! Waiting for 1.6 :)
[Android Software/Hacking General [Developers Only]] sherpa25:
Yes, I believe it can! :D
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, it shows that it's still working for me, but in reality, it will mess up the LMK/OOM settings if you try to apply changes.

No prob :) Glad that you're enjoying it.

With that, 1.6 is released.
[Android Software/Hacking General [Developers Only]] pikachu01:
Updated v1.6 with my own patched sqlite that disables the need to fsync on commit. Database accesses are now faster. I compiled it from the latest CM7 sources (with a 2month old sqlite - very very recent version of sqlite) and its compatible with i9000 (and possibly any Gingerbread phone).

10/19/2011

- Added restore files pack (that you need to manually copy into the CWM zip) to revert ThunderBolt! changes. Look at the OP for more information.

- Updated ThunderBolt! to v1.6 adding a patched libsqlite that tunes down the safe_level on transactions, effectively boosting database access speed at the risk of data corruption on power loss. Hence, make sure you backup your data regularly. However, don't worry about this, at best you can only lose data. Don't need to reflash :)
[Android Software/Hacking General [Developers Only]] Guto ViP:
First! Downloading and flashing!
[Android Software/Hacking General [Developers Only]] pikachu01:
Added the libsqlite source code in OP. To anyone who's interested in it what I did :)
[Android Software/Hacking General [Developers Only]] Guto ViP:
My phone is fronzen in fisrt reboot after 1.6 flash, i'm rebooting for second try.

EDIT: No problem with second reboot... All OK... 84 free memory after all application load (Tegra, Auto Memory Manager, Voodoo, and widgets).
[Android Software/Hacking General [Developers Only]] eli2412:
Picachu hello, you're getting the biggest xda :)

just a note to avoid failures

installation

Open up Script Manager and launch / sdcard / bolt_scripts / remount as root (you can use Script Manager to launch it at boot too: P) This is done Because lagfix on Voodoo, Voodoo Will remount the partitions later Than init.d scripts (from Reverting Henco my testing the stock mounts to lagfix mounts - which is slow btw)

This step can skip the non-expert

or you could explain better for beginners :)

thank you very much crak
[Android Software/Hacking General [Developers Only]] XblackdemonX:
What do you mean "effectively boosting database access speed at the risk of data corruption" and "at best you can only lose data"

So If I flash this I can lose some of my precious data ?
[Android Software/Hacking General [Developers Only]] pikachu01:
Cool :) How is the performance? :P

Just run Script Manager then go to /sdcard/bolt_scripts/

Choose the remount script that you want, and then click it

Tick "Run as Root" and "Run at Boot"
[Android Software/Hacking General [Developers Only]] s30ckf:
I am using sammy rom pika, SH 5.1, TalonDev 0.5.1, Thunderbolt! 1.5.1, ext 4....
[Android Software/Hacking General [Developers Only]] pikachu01:
SimplyHoney had a history of Bluetooth issues. Not sure if it's because of that or not.
[Android Software/Hacking General [Developers Only]] Mopral:
v1.6 works great!

About 115MB of free memory right after boot

No lags for now
[Android Software/Hacking General [Developers Only]] alexrod73:
Hi, Pikatchu01

Still have FC issue in 1.6 :) on T959-D Fascinate (Telus one)
[Android Software/Hacking General [Developers Only]] pikachu01:
What is FCing for you?
[Android Software/Hacking General [Developers Only]] Dezmatch:
Strange : with OI file manager, in /data, I can't see files...

But in init.d, system... all the CWM packaged files exists in my phone...

/system and /data are mounted in CWM and package applied after :confused:

Edit : Forgive this, with script manager, all files in /data appear...

It's ok, thx Picka for the work.
[Android Software/Hacking General [Developers Only]] pikachu01:
You need root to browse /data. Use File Expert or Root Explorer :)
[Android Software/Hacking General [Developers Only]] alexrod73:
Root explorer 2.16 is the app who FC
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you reinstall busybox using busybox installer (stericson's) and install v1.19.2 in /xbin?

Let me know if this is successful, if not I still have one more thing to try.
[Android Software/Hacking General [Developers Only]] digkong:
sorry for asking this dumb quest.. but need to clarify weather this works on cm7...
[Android Software/Hacking General [Developers Only]] alexrod73:
Still same issue FC with root explorer
[Android Software/Hacking General [Developers Only]] sherpa25:
Cool!

Couple of questions:

1. when you say revert, it's like totally removing ALL Thunderbolt! tweaks or just going back to v1.5.1?

2. Backup of data is done in TB? If so, w/c particular backup option? I ask because TB only shows Backup of user apps and Backup of system data. Is either of this what you're referring to?

Thanks again!
[Android Software/Hacking General [Developers Only]] pikachu01:
Ok, do you still have your MIUI CWM zip?

In /system/bin/, extract the app_process and system_server.

Then replace it into the ThunderBolt!'s CWM zip.

Flash that (be sure to mount /system and /data) and see if it still FC's.
[Android Software/Hacking General [Developers Only]] pikachu01:
It will remove all. :)

Backup of System Apps and User Data in Titanium Backup. Don't worry the chances of corruption is small.
[Android Software/Hacking General [Developers Only]] pikachu01:
A few CM7 users reported that this works for them too :)
[Android Software/Hacking General [Developers Only]] Guto ViP:
No FC with Root Explorer here, now i'm updating Buxybox of 1.90.0 (I think it coming with ElinROM 2.1) to 1.90.2.
[Android Software/Hacking General [Developers Only]] alexrod73:
Same issue
[Android Software/Hacking General [Developers Only]] pikachu01:
Try to revert the files one by one and see which fixes the issue.

Did you try to reinstall Root explorer? Or clear data? Or clear dalvik cache and cache?
[Android Software/Hacking General [Developers Only]] jifeng:
Hi pikachu01,

Thanks so much for your great kernel.

One question,

For ThunderBolt-Talons, you just set "Ondemand" instead of "OndemandX" for AWAKE_GOVERNOR by default.

"OndemandX" should be a benefit from Talon, wasn't it?

Thanks.
[Android Software/Hacking General [Developers Only]] alexrod73:
I clean only dalvick

Let me try to clean cache then reinstall root explo before revert let you know in few mns
[Android Software/Hacking General [Developers Only]] pikachu01:
OndemandX is slower to scale than Ondemand as its threshold is set to 95 by default. You can tweak that nonetheless. I wanted the screenstate_scaling to be compatible to all other kernels as well, so I set it to Ondemand.

It doesn't really matter if you choose OndemandX or Ondemand as the AWAKE_GOVERNOR as the only difference of both is the sleep code. And the sleep code doesn't apply when the phone is awake :P So in other words, Ondemand = OndemandX when phone is awake.

Ok. Thanks! :)
[Android Software/Hacking General [Developers Only]] alexrod73:
Nothing good here

Uninstall root explorer

busybox installed with last version in /bin

clean dalvik, cache

reinstall 1.6 after move both files from Rom cmw to 1.6 cmw

flashed it mounting system ect ..

reinstalling root explo

Same issue
[Android Software/Hacking General [Developers Only]] jifeng:
Got it, thanks so much and so great job.
[Android Software/Hacking General [Developers Only]] selune81:
...

"ThunderBolt! v1.6 Others" is ok for a miui rom?
[Android Software/Hacking General [Developers Only]] XblackdemonX:
Since you are on MIUI you need to move the files manually 1 by 1.

You cannot install the package through CMW
[Android Software/Hacking General [Developers Only]] minlee85:
Pika, I am still on 1.5...it is working great!!! I don't see any lag...which used to a biggiest problem with Talon...but I am enjoying it now... thank to you....:):):)

About to jump to 1.6...have a question, I see several different versions of remounts in /bolt_scripts...which one to choose??? does it matter if I tick multiple remounts???

Thank you and admiring your work, Pika!!!;););)
[Android Software/Hacking General [Developers Only]] XblackdemonX:
If you are on i9000 then Remounti9000

If you are on i9001 then Remounti9001

Else: Remount
[Android Software/Hacking General [Developers Only]] :
1.6, working fine on my MIUI rom. No FC from the Root Explorer.
[Android Software/Hacking General [Developers Only]] chiefy009:
Flashed it onto jet pack rom, everything seems ok and smooth 3rd run on quadrant 3381
[Android Software/Hacking General [Developers Only]] s30ckf:
Pika pika, your script (v1.6) make my phone goes from Proton Waja to Proton Inspira now.... I will observe to see the fuel consumption is still remain Perodua Viva or not.... Thank you pika ~~ :D:p
[Android Software/Hacking General [Developers Only]] pikachu01:
To everyone enjoying the tweak now :)

Thank you for the comments. It's nice knowing that my effort, even little, makes a difference in the XDA community :)

Hehe, people who are not Malaysians won't understand what you're talking about :P

Let me translate:

In v1.5, the performance increase was akin to upgrading his car from a mid-sized car to a full-sized car while having the fuel consumption of a small-sized car.

In v1.6, the performance increase was akin to upgrading his car from a full-sized car to a performance car (Mitsubishi Lancer-like), but still need to see if the fuel consumption is that of a small-sized car :P
[Android Software/Hacking General [Developers Only]] XblackdemonX:
LOL

I like the translation :p
[Android Software/Hacking General [Developers Only]] Monu123:
One feedback from my side, you seem to be a cool developer who accepts users views and even for user giving negative comments you try to provide all sort of help.

Keep good work rolling with same behave. :-)
[Android Software/Hacking General [Developers Only]] XblackdemonX:
Installed 1.6 manually on MIUI

BOOTLOOP

couldn't revert back

lost everything... :(
[Android Software/Hacking General [Developers Only]] Guto ViP:
Use ADB command to remove the files of Thunderbolt!
[Android Software/Hacking General [Developers Only]] yvrRome:
Thank you pika! 1.6 so far works great on my "stock" rom.
[Android Software/Hacking General [Developers Only]] yaatzek:
What about miui? Please give us some directions? how should it be installed? Does it work or not on miui? And my final question: will there be peace on the whole world?
[Android Software/Hacking General [Developers Only]] WiwiPouPou:
Hi pika, congrats for all your work, i've took a lot of inspiration of your research...

Today i've tried your patched sqlite bin and lib, and as acid tweaks ones i got a total reset of go launcher, and it failed restore of preferences, as if it was unable to read his own data...

Reverting back to original solve the issue.

That was just my little feedback..

And if i can do a very little contribution i add "nodiratime" to my own remount script ! Just to be in a total "noatime" spirit ! ^^

That's all !

Sent from my GT-I9000 | JVT ODEXED | Galaxian Powered
[Android Software/Hacking General [Developers Only]] burakgon:
I included it on my new rom!
[Android Software/Hacking General [Developers Only]] minlee85:
Pika, is it possible that v1.6 cause 'charging bug'??? my phone charges to 100% and goes down all the way to 90% whiile the charger is plugged...:confused::confused::confused: , other than that my phone behaves better than ever... see my sig...:):)
[Android Software/Hacking General [Developers Only]] Guto ViP:
Calibre your battery stats...
[Android Software/Hacking General [Developers Only]] ZioGTS:
Pika, with 1.6 all my previous issues are gone! Screenstate scaling works perfectly now. Thanks man, the performance is really lovely. Too bad I can't try SIO because my config doesn't include it, but noop serves me well anyway.

Inviato dal mio GT-I9000 usando Tapatalk
[Android Software/Hacking General [Developers Only]] Sqb:
Thank you for sharing all your hard work. Faster in every aspect and no lag with games that would get choked previously.

Sent from a rock on fire in the middle of the sea
[Android Software/Hacking General [Developers Only]] pikachu01:
Install the Android SDK, go to CWM, plug in your USB cable and run:

adb shell

More info: http://xdaforums.com/showthread.php?t=502010

Then push the bin files (app_process, system_server). See whether it resolves your problem.

This is assuming you can get on CWM.

I'll make the pack more compatible to MIUI. In the meantime, hang tight.

Yeah, the libsqlite is known to cause data corruption (although its very rare). It's a known issue.

Noatime implies nodirtime :)

Cool :) Link please :)

That's a Talon behaviour. It actually displays your battery level and doesn't lie to you when charging. It's the partial fix to the unplugging your charger and you get less than 90% bug.
[Android Software/Hacking General [Developers Only]] pikachu01:
ATTENTION: CM7/MIUI users! Please do not flash this in CWM. Copy everything to your phone using ADB except /bin/app_process and/bin/system_server or you will risk bootloops, FCs! You have been warned!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Also, it's more accurate to go with mV.

When fully charged, it would be about 4200mV. (As far as I know, that's the case for all android phones)

4200=100%

4100=90%

4000=80%

.....

3200=0%

System Tuner's widget is awesome to keep an eye on battery related stuff.

I like it's original name better too - Process Monitor Widget :p

The percentage value may be off, but the mV value is usually very accurate.
[Android Software/Hacking General [Developers Only]] RashaMatt:
sqlite slowdown

Thanks for the script. I made a cwm backup, mounted /data and /system, installed the I9000-Talon version 1.6 on my Cappy running Apex 10 and Talon Dev 0.51-rc1, and ran the remount script after reboot.

Too soon to tell if there's any general performance increase, but I did notice one problem: one app that I use a lot is markedly slower - Memento, which is a sqlite database app. It used to take about 5 seconds to load my DB, but now it takes 170 seconds!

What's up with that? Is there anything I might have screwed up here, or should I just revert? Mount showed that the remount script worked correctly.

FWIW the same thing happened (with Memento slowing down) when I tried the USAS acid tweak a while back.
[Android Software/Hacking General [Developers Only]] zerkai:
I'm on MIUI and I flashed v1.5.1 in CWM just fine (after mounting everything first). Is your warning for all versions or 1.6?
[Android Software/Hacking General [Developers Only]] cursedwave:
Really? I flashed 1.6 earlier in the morning (following your instructions) on CM7 Nightly #152 and everything went well. Lucky break, perhaps.

Sent from Russia, with love.
[Android Software/Hacking General [Developers Only]] hackeron:
This is a bit off topic but I'm just curious why u are not using cm7 pika?