yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm currently repackaging a new format of ThunderBolt!

It's going to be modularized so that it'll be less problems when wanting to flash it onto another device that is not i9000.

Hence, if you only flash the main ThunderBolt!, you should be able to make it work for other devices such as i9100. However, there are no guarantees that it will work out of the box. Hence, you must have a nandroid backup handy.
[Android Software/Hacking General [Developers Only]] rmean:
Hi there,

Just wanted to know the advantages of the 3g addon,i didn't find a description for it. Is it only improving 3g itself, or does it improve hsdpa too? What about edge/gprs?

Regards :)
[Android Software/Hacking General [Developers Only]] pikachu01:
3g is a generic word for wireless networks. Or high speed network more like. It should offer higher speeds for most cases. Try it out if you want. You can remove it easily.
[Android Software/Hacking General [Developers Only]] Rebel2k:
I think that's improving everything which is related to "network"... ;)

EDIT: burnt by Pika! ;)
[Android Software/Hacking General [Developers Only]] dirn1111:
so 3g add-on can be used on cm7 if the device is i9000?

And just asking... why not just remove libsqlite and distribute for cm7/miui???
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Updated 1.7 Beta. Yes, it's still beta as the LMK/OOM is still pretty much in testing.

- The 3G CWM is an addon that in most cases improve your mobile wireless speed.

- 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)

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

Removed CM7MIUI edition as Others version now has the same files as CM7MIUI - redundant.

ATTENTION: Please use the restore files before flashing 1.7 Beta. It reverts the files to stock files so that you start clean.

Changelog:

10/26/2011

- Retweaked the LMK/OOM again to have less aggressive killing on the foreground/visible app

- Made ThunderBolt! modular by removing bin files and libsqlite and placing them in a separate file. Flash only if you want to.

- Added REINDEX sqlite to reindex db files after VACUUM. Performance increase is minimal if even possible. It'll only increase the performance if the app changed the collating sequence and didn't reindex it after that. With that, I've removed the SQLITE tweaks and placed them into bolt_scripts. The boot up process should be faster, but SQLITE tweaks need to be done manually using Script Manager only when you need it.

- Added drop cache script in bolt_scripts.
[Android Software/Hacking General [Developers Only]] Rebel2k:
Ok I'm going to test it!
[Android Software/Hacking General [Developers Only]] kitkitfok:
Can I flash all the file at once time?
[Android Software/Hacking General [Developers Only]] pikachu01:
Why not?

Did it many times myself :)

Also, reuploaded the Talon version. I attached the wrong script (it was missing the sqlite_optimize script in bolt_scripts).

Sorry about that.
[Android Software/Hacking General [Developers Only]] martinomac:
What's the flashing process?

I flashed all files after another without reboots, is that correct?

I flashed:

Reset

1.7

3G

Bin

Lib

Then rebooted, but not sure if all worked because init.d only contains s983g_tweak

I'm running bolt_script using script manager and mounting in CMW
[Android Software/Hacking General [Developers Only]] kitkitfok:
How to use sqlite_optimize?

Open as Script/Executable?
[Android Software/Hacking General [Developers Only]] pikachu01:
That's weird. If you flashed everything, you should see more than just the 3G script in the init.d. Let me check my CWM files.

Edit: Looks like you forgot to flash 1.7? Can you reflash 1.7?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, open as script/executable.

Looks like I forgot to add the shebang at the beginning. It won't matter, just a coding idiosyncrasy, and it lets Script Manager determine it as a Script/Executable. I'll update it now.
[Android Software/Hacking General [Developers Only]] jcvr:
Same with me.

And sqlite script says database malformed
[Android Software/Hacking General [Developers Only]] kitkitfok:
But have some error.......

Error: database disk image is malformed

Error: no such collation sequence: unicode

Error: no such collation sequence: Localized

Error: no such collation sequence: phonebook

find: /datadata: No such file or directory
[Android Software/Hacking General [Developers Only]] pwlj:
hey, talon link ain't working :(

keep up the good work!

thanks

edit: working now, lol.

probably there was some multiupload temporary problem
[Android Software/Hacking General [Developers Only]] pikachu01:
That's normal. It goes to find all *.db files and apply VACUUM on them. Those db files that are not sqlite based will error out and says its malformed.

All others are using a different collation sequence that cannot be reindexed, hence it errors out as well. In laymen speak, it does nothing if it finds a database that is not sqlite based.
[Android Software/Hacking General [Developers Only]] pikachu01:
I reuploaded the 3G tweak as well as 1.7 with fixes to the shebang script header. Sorry about that.
[Android Software/Hacking General [Developers Only]] oceangreen:
Deleted Post~
[Android Software/Hacking General [Developers Only]] martinomac:
I actually flashed 1.7 first, then all the others. Anyhow, no biggie - I just reflashed 1.7 and all files are in init.d.

How can I tell the bin and lib scripts had flashed OK?

Finally, I'm guessing that I should run S98system_tweak and remounti9000 on boot using Script Manager? I use to run remount (back in the day), but things have evolved since the original :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually the s98system_tweak wasn't meant to be in the bolt_scripts. I copied it wrongly. It's supposed to be sqlite_optimize :P

I've reuploaded the CWM zip. Try reflashing :P
[Android Software/Hacking General [Developers Only]] Mopral:
Same thing for me...

Had to reflash 1.7...
[Android Software/Hacking General [Developers Only]] martinomac:
I see, after reflashing I can see sqlite_optimize (this is to run at boot as well right)

Sorry for the dumb question.
[Android Software/Hacking General [Developers Only]] pikachu01:
Oops, just found another bug. The bin files addon deletes the init.d files :(

Let me reupload.
[Android Software/Hacking General [Developers Only]] pikachu01:
You can run as boot or create a widget and run it when you want. Running it as boot will definitely slow down your boot up process. That was the initial reason I separated it from the S98system_tweak file.
[Android Software/Hacking General [Developers Only]] jnr21:
I have 1.6.6 atm. So i have to flash CM7MIUI Restore first and then 1.7 others, libsqlite, bin and 3g?
[Android Software/Hacking General [Developers Only]] s30ckf:
Pika Pika, I always feel excited when first thing I look at the title of this thread, there is a newer version released. But this time seem a bit different as previous, thus, I have something need your advice:

Step:

1. Download i9000 Restore CWM.zip, ThunderBolt-CWM i9000 bin files i9000 addon.zip, ThunderBolt-CWM i9000 libsqlite i9000 addon.zip, and ThunderBolt-CWM i9000 v1.7 Beta Talon.zip

2. First flash i9000 Restore CMW.zip (Do I need to reboot after flash?)

3. Then, ThunderBolt-CMW i9000 v1.7 Beta Talon.zip (I am in TalonDev kernel) (Do I need to reboot also?)

4. Follow by bin files addon and libsqlite addon. (Is this optional?)

If I am from v1.6.6 Beta, I just want to apply the new LMK setting in v1.7, can I just flash ThunderBolt-CMW i9000 v1.7 Beta Talon.zip without revert back flashing i9000 Restore CWM.zip ?? Is the lisqlite and bin addon is same with what inside v.1.6.6 or there is modified one ??

Thanks pika :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes. That is correct :)

No need to reboot after a flash. Just flash it continuously (with restore being the first and all others at any order)

The bin and libsqlite are the same as 1.6.6. I just separated them into different addons.

Yes, if you just want to use the new LMK settings, just flash the 1.7 on top of your phone's 1.6.6.
[Android Software/Hacking General [Developers Only]] jnr21:
What about sqlite_optimize and drop in bolt_scripts folder? Do i need to add these to script manager auto boot?

edit: Nevermind, figured out myself.
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope, you run it when you like to :)

FYI: Drop caches is done when you feel like you're out of free RAM.
[Android Software/Hacking General [Developers Only]] mab71:
Ok Pika...so when i run the sqlite script, and it says that its malformed, do i kill the process? How shud i know that its bwen applied properly? sorry all my noob questions bro... :-)
[Android Software/Hacking General [Developers Only]] Mopral:
Let the script run!

These error message are just for db files that are not sqlite based

The script will optimize all the others db files
[Android Software/Hacking General [Developers Only]] mab71:
Thanks... I ran it again until it stopped and whoa did it take some time!

i thought it wud run like the other scripts.....thanks again!
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, you said it right :P

Yes, the time needed to run the script was too great that I would prefer to have it run on demand.
[Android Software/Hacking General [Developers Only]] XuperLugia:
sqlite_optimize script keeps telling me that it couldn't find /datadata... :?
[Android Software/Hacking General [Developers Only]] goodolsen:
I get the following:

/data: Permission denied

/dbdata: Permission denied

/datadata: No such file or directory

then those three lines repeat again.
[Android Software/Hacking General [Developers Only]] Mopral:
Have you run the script "as root" with script manager?
[Android Software/Hacking General [Developers Only]] goodolsen:
Of course I do :rolleyes:...thanks for the help.
[Android Software/Hacking General [Developers Only]] pikachu01:
/datadata is used on certain phones (as opposed to /dbdata). I put it there so that if /dbdata is not found, it'll optimize /datadata anyhow.
[Android Software/Hacking General [Developers Only]] dirn1111:
Wait.. you separated them.

Does it mean I can now flash libsql for cm7/miui?

or is it just separated so not to be concerned with cm7/miui?
[Android Software/Hacking General [Developers Only]] pikachu01:
The latter :)

If you still want to flash it, you can :) It is prone to corruption though. However, so far I've only experienced it once in my Go Launcher. Replacing all the widgets and icons isn't too much of an effort compared to the speed I'm getting with it :)
[Android Software/Hacking General [Developers Only]] rmean:
Very interesting :) my widgets etc were not removed, but i lost all messages in go SMS.. No problem at all, didn't need them anyway, just wanted to report :)

Regards
[Android Software/Hacking General [Developers Only]] chiefy009:
Removed them from cwm.package

sent from my commodore 64
[Android Software/Hacking General [Developers Only]] pikachu01:
Aggh. Yes, that could happen too actually. It's prone to corruption because of that.

I usually have backups of them in Titanium backup (scheduled). Losing them isn't a problem for me too. If you would like to prevent corruption, flash back the original libsqlite (in the restore pack).

Hmm. That's weird. Can you try the latest beta? Just flash the main package without the bin/libsqlite/3G.
[Android Software/Hacking General [Developers Only]] NickDunn:
hi Pikachu, i am on oSerX.JVT & with SpeedMod kernel.

i flash your ThunderBolt files:-

steps following below?

1, i9000 Restore CWM.zip

2, ThunderBolt-CWM i9000 libsqlite i9000 addon.zip

3, ThunderBolt-CWM i9000 v1.7 Beta Others.zip

4, ThunderBolt-CWM i9000 bin files i9000 addon.zip

5, ThunderBolt-CWM i9000 3G i9000 addon.zip

am i correct?

thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes. 10 char.
[Android Software/Hacking General [Developers Only]] NickDunn:
:cool::D ... u rock!!!!
[Android Software/Hacking General [Developers Only]] mrcool007:
Hi

I'd like to thank you for these scripts which improve the overall experience :)

But, i got a strange issue, i'm using the last nightly CM7 + Neo17 r18.

Before the 1.5 versions i didn't have that. Randomly when i want to wake up my phone the screen doesn't light up, i mean the phone woke up but not the screen, for example i can call myself using another phone but the screen will stay black.

I don't use addons, just the the scripts for "Others".
[Android Software/Hacking General [Developers Only]] NickDunn:
I just flashed them all.

but this is a thing, i am on SpeedMod kernel K16-5(the latest one) now, but it's default as unmont data/system, & can not undo them....so i just go ahead to flash your files.
[Android Software/Hacking General [Developers Only]] bushgegner:
Currently I m running MIUI Mint Berry 1.10.21V2.

Do I have to remove any scripts bevor using this one?
[Android Software/Hacking General [Developers Only]] XblackdemonX:
With the 3G addon, does that include HSPA as well?
[Android Software/Hacking General [Developers Only]] Rebel2k:
Yes it has been said a few posts ago. It will improve all network stuffs.
[Android Software/Hacking General [Developers Only]] NickDunn:
i think so. :D

as i still have the H showing on my screen now~
[Android Software/Hacking General [Developers Only]] satshow:
I go test this tweaks here. I installed just the tweaks with lagfix off.

I make my lagfix now active.

Can I flash a new version from thunderbolt with the lagfix active?

When I flash a new version of the talon kernel must I do this script run again?
[Android Software/Hacking General [Developers Only]] XblackdemonX:
ok thanks! :o
[Android Software/Hacking General [Developers Only]] a g bell:
Hi using sqlite_optimize addon l get errors database disk image is malformed?is that as bad as it sounds?
[Android Software/Hacking General [Developers Only]] jocke_lulle:
No, its nothing to worry about. some pages earlier the question is answered:)
[Android Software/Hacking General [Developers Only]] a g bell:
Thanks
[Android Software/Hacking General [Developers Only]] geokilla:
Messaging app still closing a lot by itself. Been 9 hours since I installed it.
[Android Software/Hacking General [Developers Only]] rmean:
Well, it happened only once after installation, no problems since then ;) i will have an eye on it and report if it happens again.

Btw, phone is ultra smooth now, and data network is a lot faster. Thanks a lot! :)

Regards
[Android Software/Hacking General [Developers Only]] pikachu01:
When you removed the script, does it make the black screen issue go away? I am seeing this in other threads like Speedmod. Not sure why this happens with ThunderBolt!

You can't mount /data and /system or it's by default mounted?

Are the files copied correctly into /system/etc/init.d/?

What scripts do you have? If you've not installed other tweaks, yes they can just be installed on top of it. Let me know the contents of your init.d :)

Talon automatically removes some of the scripts in ThunderBolt!, yes you need to reflash. You can flash it while lagfix is active or not active. Doesn't matter.

Hmmm .. getting closer to fixing this. Might need more beta LMK/OOMs (or ... it's not related to LMK/OOM at all??) Let me research this some more. :)
[Android Software/Hacking General [Developers Only]] sherpa25:
@pika, what undervoltage settings do you use, BTW, if any? Would this have a major impact when running apps in terms of performance? Am I correct at thinking that a frequency should be at 100% to perform at par, hence only 100Mhz should be reduced? Not sure of this.
[Android Software/Hacking General [Developers Only]] pikachu01:
I undervolt my phone with this configuration:

1GHz: -50mv

800MHz : -75mv

400MHz: -125mv

200MHz: -150mv

100MHz: -200mv

Undervolting doesn't affect performance. It just uses less battery (how much less, I don't know).
[Android Software/Hacking General [Developers Only]] pikachu01:
Hi geokilla,

Try not using the patched libsqlite (restore it from the restore pack). See if it still happens. I'm beginning to think that this is not due to LMK/OOM.
[Android Software/Hacking General [Developers Only]] hassaan123:
Will this work with cm7 based roms?
[Android Software/Hacking General [Developers Only]] DonVito2020:
@pikachu01,

It worked fine with the MIUI 1.10.8: Nothing Fancy DIY with stock MIUI kernel. The QS jumbed around 300 points. But the phone is definitely Snappier than before - Not Placebo :) .

So far everything working perfectly fine @1.3Ghz. Will report if any problems arise. Once again thank you.

:):):)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, it should work fine. However, the remount script will not work. I would need the output of your "mount" in terminal emulator to craft a remount script for CM7/MIUI.

Thank you :) Glad that it worked well for you as well :) I'm now literally gliding with my phone on the settings that I posted.
[Android Software/Hacking General [Developers Only]] pacc:
I am getting occasional reboots whilst playing games with v1, with talon kernel it was more frequent than with semaphore.

Going to try V1.2 , hopefully it will be more stable.
[Android Software/Hacking General [Developers Only]] pikachu01:
What configuration are you on? Perhaps I should tune down the aggressiveness a bit.

Edit: What games were you playing?
[Android Software/Hacking General [Developers Only]] pacc:
Gameloft games... Asphalt6 or Fast 5 for example.

I'm on Stock JVT.
[Android Software/Hacking General [Developers Only]] Mopral:
Asphalt 6 works great for me with Revolution JVS/Talon 0.5.1.3/Thunderbolt v1
[Android Software/Hacking General [Developers Only]] pikachu01:
I've updated v1.3 that comments out CFS tweaks as it might be too granular for you. It's still fast though as the CFS tweaks only provides a boost when your phone can handle it.

Cool. v1.3 is out :)

---------------------------

Updated v1.3 following some issues people face with rebooting on playing games. I guess I tweaked CFS granularity too much. Commenting it out and reverting it to default.

Changelog:

- Commented out CFS/BFS tweaks as some phones can't cope with its granularity.

- Reverted NO_NORMALIZED_SLEEPER (there's no typo, it was correct)
[Android Software/Hacking General [Developers Only]] ReasonablyRooted:
I haven't noticed any speed difference, and terminal emulator returned "not found".
[Android Software/Hacking General [Developers Only]] pikachu01:
When you type "mount" without the quotes in terminal emulator?

Hmm, your ROM might not have the necessary binary files for the "mount" command. Weird.
[Android Software/Hacking General [Developers Only]] Mopral:
Just a weird thing: each time I flash this tweak, busybox installer tell me that busybox is not there (but busybox file is still in /system/xbin)
[Android Software/Hacking General [Developers Only]] Dezmatch:
In MIUI (latest) in term emulator with mount command :

/dev/block/mtdblock2 on /system type yaffs2 (ro, relatime).

I didn't try remount script.
[Android Software/Hacking General [Developers Only]] Gromlakh:
Are you kidding me, dude? At this pace you're going to be at version 13.0 by the end of the week!

Clearly they haven't invented sleep where you're from...;)
[Android Software/Hacking General [Developers Only]] pacc:
I'll be testing v1.3 shortly, thanks your prompt updates!
[Android Software/Hacking General [Developers Only]] powerdams:
@pikachu01

Thanks for your work.

On your update 1.2

- Set max_events_per_sec to 76

I think is about refresh rate of the screen... How hertz do you have with this setting ? It's a real change or just in quadrant info ? (I ask because i remember Hardcore trying that without success in the past.)
[Android Software/Hacking General [Developers Only]] Spezia12:
It's the max fps that the phone can reach
[Android Software/Hacking General [Developers Only]] pacc:
I still need more time for testing stability on v1.3, but I notice a drop on FPS (from v1.2).
[Android Software/Hacking General [Developers Only]] .:Crack:.:
max_events_per_second has nothing to do with the framerate/fps, dude.

It just lets you choose how many TouchEvents per second the App/GUI gets.

If its too low you get lags.

In some games it could be good to higher that value as long as the fps stays high enough.
[Android Software/Hacking General [Developers Only]] pikachu01:
Not getting this. What version of busybox did you install. I installed the latest. 1.19.2

Ok. Only one mount? How about other mounts as well? Right now, the CWM zip is working for you because /system is mounted at startup (init.d). For people who doesn't have that, the script will fail to copy (as I'm mounting stl9 at startup)

Let me know of your other mounts and I'll make a remount script :)

Hehe, it's an early stage where bugs are found left and right. I'll have to work up the pace so that people will get the best out of it at the earliest :)

It determines how many GUI events can occur per second.

Hmm, might be the CFS tuning revert. It will give you more stability at the cost of less granular scheduling. It's the sacrifice you have to make to have your phone to remain stable (just like OCing)

Correct :) Thanks!
[Android Software/Hacking General [Developers Only]] Mopral:
I use busybox installer by JRummy16 and it let me install busybox 1.19.0

Busybox installer says "busybox not instal" right after each flash of your tweak
[Android Software/Hacking General [Developers Only]] NickDunn:
pikachu, i found that the battery life become not good after i flashed all your files.

any suggest?
[Android Software/Hacking General [Developers Only]] pikachu01:
Try not using the patched libsqlite. I also encounter a drop of battery life after using it. Not sure why as not fsync-ing should increase battery life. Other than that the governor selection from screenstate_scaling could also affect it.
[Android Software/Hacking General [Developers Only]] geokilla:
I just had 6 straight Messaging app closures as I tried to read a text. Also noticed that it might be preventing me from receiving texts sometimes... I'll get a NoLED notification saying there's a text received, but when I go to the notification window or Messaging app, nothing is there.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, please revert the libsqlite* files from the restore pack. I'm beginning to think that this is not LMK/OOM related.
[Android Software/Hacking General [Developers Only]] iXNyNe:
So just to be clear, 1.7 only supports i9000 currently, and it may not be wise to flash this stuff on a captivate running cm 7.1.0 stable release, correct?

P.s. I did read back a few pages but didn't see this addressed.
[Android Software/Hacking General [Developers Only]] geokilla:
I can indeed confirm that it's preventing me from receiving text messages. I'll do a complete reflash of my phone. Getting tons of kernel panic upload mode as well.
[Android Software/Hacking General [Developers Only]] pikachu01:
1.7 should work for all devices. Only the addons are guaranteed to work for i9000. Be sure to have a nandroid backup handy.
[Android Software/Hacking General [Developers Only]] pikachu01:
What's kernel panic upload mode?
[Android Software/Hacking General [Developers Only]] geokilla:
Nevermind. I meant forced upload mode. Just got it right now lol

[YOUTUBE]4AJyJK0iIZo[/YOUTUBE]
[Android Software/Hacking General [Developers Only]] goodolsen:
I just had to revert from 1.7 with all the add ons as well. MMS kept closing and I was no longer able to attach a captured picture. Once I reverted it was fine again. Any ideas?

Sent from Mister Red
[Android Software/Hacking General [Developers Only]] pikachu01:
Try reverting only the libsqlite* files but leave the others on.

I need to see if the cause was due to libsqlite*'s being prone to corruption.

Thanks!