yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] muktheo:
hello pika..

Ive been following your step-by-step to install the TB Scripts..and when I want to see thats work or not with sysctls -a | grep vm, the result is not same with yours..i get value like this :

vm.dirty_ratio= 15

vm.dirty_background_ratio= 3

vm.vfs_cache_pressure= 70

whats wrong with my step or with my phone..?

can u help me..?

*sorry for my bad english*
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Sorry, I know you answer a lot of questions and it can get confusing. I was originally asking why Mr. Psycho includes this for AKOP if as you say, it doesn't work? Just looking for confirmation. BTW, I deleted the script.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, you can choose either Supercharger's LMK or mine. :)If you can try the 80MB LMK and see if the problem still occurs, I can probably try to fix it in the next iteration.

Your kernel might be setting it (or preventing sysfs from setting it).

Now I get it >.<

If your ROM can support it, try installing ThunderBolt!'s screenstate_scaling. If it hangs, then I'll need to troubleshoot why it is hanging. :/
[Android Software/Hacking General [Developers Only]] :
Is this similar to zeppelinrox supercharger??
[Android Software/Hacking General [Developers Only]] Keff91:
Yeah, i listen to ur advice and tried using 80 lmk addon instead of 60..Nid Reboot twice to fully activate it..Really huge different compare with 60mb lmk, smooth alotz:D
[Android Software/Hacking General [Developers Only]] pikachu01:
No. zeppelinrox's Supercharger focuses on tweaking the LMK. ThunderBolt! tweaks a lot more than that, and one of its addon, the LMK addon tweaks the LMK too.

Hence you can use ThunderBolt! with Supercharger, but only use the LMK addon or Supercharger, not both.

Good to know :)
[Android Software/Hacking General [Developers Only]] :
Thanks.
[Android Software/Hacking General [Developers Only]] mykar3z99:
What do you think? Its work or not on my device (samsung galaxy w) with stockrom XXLM8?

View attachment 1153500

View attachment 1153501

Sent from my GT-I8150
[Android Software/Hacking General [Developers Only]] pikachu01:
Did you install the LMK add-on? The first screenshot shows the main CWM it's working but the LMK isn't.
[Android Software/Hacking General [Developers Only]] alkhafaf:
hello Pika :)

I am trying to build a ROM.

What files should I transfer from the main CWM to put in the ROM ?
[Android Software/Hacking General [Developers Only]] pikachu01:
The files inside /system? :)
[Android Software/Hacking General [Developers Only]] :
Hey pika. I have supercharger installed. Can you please tell me which files do I need to install? I really need your help. Thank you very much! :)
[Android Software/Hacking General [Developers Only]] mykar3z99:
Omg I forgot it... thx b4

but i installed CWM 60 MB LMK.

Ok... its worked!!!

I'm sorry for my bad english :D

Sent from my GT-I8150
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you using ICS? If so, you can install the main CWM and screenstate_scaling only. If you're using Cyanogen (or its derivatives), then only the main CWM.
[Android Software/Hacking General [Developers Only]] :
I am using CyanogenMod9 which is for ICS. So which do I pick? Thanks again! You are very helpful :)
[Android Software/Hacking General [Developers Only]] muktheo:
I'm using GLitch v13.1 Kernel Pika..

so what ur advice to make the TB script can work properly in my HH?

Thanks
[Android Software/Hacking General [Developers Only]] Mopral:
LMK seems to work too for me on ICS (follow the instruction in OP to check)
[Android Software/Hacking General [Developers Only]] pikachu01:
Main CWM and LMK. I forgot about the LMK :P

Glitch hardsets the values. You can't do anything about it I think :/

Yes, thanks for reminding me ;) I actually forgot about that.
[Android Software/Hacking General [Developers Only]] yahyoh:
hi pika i have two question :D :

can i put remount script in init.d ? and dose sqlite optimization will give higher IO :cowboy: and thanks

btw why u didn't do some optimization to libsqlite ?
[Android Software/Hacking General [Developers Only]] pikachu01:
You can, but if the kernel remounts after the init.d finishes loading, your remount options will not take effect. Hence its better to run it after everything finishes loading in Script Manager.

Sqlite optimization will only "defrag" the items i.e. trim/prune and tidy. You'll get more disk space and a little bit faster access time.

I need time to optimize libsqlite in ICS, which I don't have right now :/ My virtualbox setup and the disks that contain all my development environment is now lost. I need to get it up again.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Hello pika.

First i want to thank u so much for your great help.

I was wondering about zipalligning. I got i9000, is it safe to zipallign all apk files ( using kitchen )?

And second question, could the build.prop tweaks make conflict with your scripts in any way? sorry maybe it is just a noob question..
[Android Software/Hacking General [Developers Only]] pikachu01:
Should be safe, unless your APK was hacked or something.

Can you list the build.prop tweaks? It could conflict.
[Android Software/Hacking General [Developers Only]] Steven6489:
Hi pikachu01,

I just flash NeatRomLite v1.2 last night..

In the init.d, there are a few files in there..

Are you advisable to use ThunderBolt!? Do I need to remove the existing script?
[Android Software/Hacking General [Developers Only]] mafiarock93:
hi,i just bought my girl galaxy captivate and using ics with galaxy S boot,can i flash this tweak and can u give me the step to install this tweak?tks btw
[Android Software/Hacking General [Developers Only]] pikachu01:
I don't know what some of the scripts do. Can you upload them here and let me take a look?

They will probably clash with ThunderBolt! and need removal before installing ThunderBolt!.

Yes you can :)

Refer to the first post for installation instructions.
[Android Software/Hacking General [Developers Only]] mafiarock93:
but which one i should use?galaxy i9000?

and it conflict with v6supercharge?,i've installed it but still get lag so i want to use your scrip if it could get it better^^
[Android Software/Hacking General [Developers Only]] pikachu01:
You can use the main CWM and the LMK addon(note that the LMK addon and Supercharger cannot be installed together. Only install LMK addon or Supercharger). Refer to the first post for installation instructions.
[Android Software/Hacking General [Developers Only]] Steven6489:
Please refer to the attachment..kindly help to advise.. :good:
[Android Software/Hacking General [Developers Only]] pikachu01:
Delete all except the last one S98MassStorage :)
[Android Software/Hacking General [Developers Only]] mafiarock93:
hi,is there any chance i using this script with my Motorola atrix?
[Android Software/Hacking General [Developers Only]] pikachu01:
Is it nand unlocked? Rooted? Init.d support?
[Android Software/Hacking General [Developers Only]] mafiarock93:
yes,already unlocked,rooted,init.d support^^,which one i should use?
[Android Software/Hacking General [Developers Only]] Steven6489:
Thanks pikachu01..with ThunderBolt! v2.7.7 again.. :good:
[Android Software/Hacking General [Developers Only]] rsalib:
Anyway to disable fsync on ics?
[Android Software/Hacking General [Developers Only]] pikachu01:
The main CWM and LMK?

ICS or Gingerbread?

You have to use a custom kernel for that, one that is specifically compiled to have a disable fsync option.

If you mean fsync in sqlite transactions, I'll need to find time to compile it. A complete rebuild of my Linux virtual machine is needed for this, which I don't have time to do. :/
[Android Software/Hacking General [Developers Only]] :
Hello pika once again. Could you direct me to the links for the download files I need? I am still confused which I should download. Thanks once again :D
[Android Software/Hacking General [Developers Only]] pikachu01:
ThunderBolt-CWM v2.7.7.zip

ThunderBolt-CWM 80MB LMK Others addon v2.0.zip

And if you're not using Cyanogenmod or its derivatives:

ThunderBolt-CWM screenstate_scaling addon v2.0.2.z
[Android Software/Hacking General [Developers Only]] mafiarock93:
both ics and gb because i use dual boot ^^ and i want to using all of your script to make my atrix snappier and have the best battery saving ^^
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, then follow what I've said:

ThunderBolt-CWM v2.7.7.zip

ThunderBolt-CWM 80MB LMK Others addon v2.0.zip

And if you're not using Cyanogenmod or its derivatives:

ThunderBolt-CWM screenstate_scaling addon v2.0.2.zip

With Gingerbread able to use libsqlite and other addons.
[Android Software/Hacking General [Developers Only]] mafiarock93:
ok tks again,now i'm understand it
[Android Software/Hacking General [Developers Only]] alkhafaf:
hello pika

what do u think about the scripts of init.d in the attacked file, any conflict or problems to happen? and what about remount script? any risk?

I got i9000, semphore kernel 2.7.4, jw6 based ROM

thanks
[Android Software/Hacking General [Developers Only]] espaciosalter20:
this will work with defy alongside v6 supercharger?
[Android Software/Hacking General [Developers Only]] pikachu01:
Remove all except OC/UV/SIO scripts. The OC script limits it to 800MHz (you know this right?)

Should work if you have a nand-unlocked phone, root, init.d support and CWM. Nandroid beforehand just in case.
[Android Software/Hacking General [Developers Only]] liewkingyan:
When i run sqlite there is an error saying database is locked.

exec sh '/etc/bolt_scripts/sqlite_optimize'

# exec sh '/etc/bolt_scripts/sqlite_optimize'

*********************************************

Optimizing and defragging your database files (*.db)

Ignore the 'database disk image is malformed' error

Ignore the 'no such collation sequence' error

*********************************************

Error: database is locked

Error: no such collation sequence: UNICODE

Error: no such collation sequence: UNICODE

Error: no such collation sequence: PHONEBOOK

Error: no such collation sequence: PHONEBOOK

Error: database disk image is malformed

Error: database disk image is malformed

Sent from my GT-N7000
[Android Software/Hacking General [Developers Only]] pikachu01:
Means the database is locked (being used) and sqlite_optimize can't be performed. No harm done, but can't optimize it either.
[Android Software/Hacking General [Developers Only]] liewkingyan:
Then how to optimize?

Sent from my GT-N7000
[Android Software/Hacking General [Developers Only]] pikachu01:
You can't. It's a general system limitation. Certain databases can't be unlocked.
[Android Software/Hacking General [Developers Only]] liewkingyan:
It doesnt happen everytime tho

exec sh '/etc/bolt_scripts/sqlite_optimize'

# exec sh '/etc/bolt_scripts/sqlite_optimize'

*********************************************

Optimizing and defragging your database files (*.db)

Ignore the 'database disk image is malformed' error

Ignore the 'no such collation sequence' error

*********************************************

Error: no such collation sequence: UNICODE

Error: no such collation sequence: UNICODE

Error: no such collation sequence: PHONEBOOK

Error: no such collation sequence: PHONEBOOK

Error: database disk image is malformed

Error: database disk image is malformed

Sent from my GT-N7000
[Android Software/Hacking General [Developers Only]] pikachu01:
That means the database is not locked at some point
[Android Software/Hacking General [Developers Only]] liewkingyan:
I see...i see...

Sent from my GT-N7000
[Android Software/Hacking General [Developers Only]] :
It just doesn't work. The first script I need to flash isn't there for the LT18i model.

Zapped from my Xperia Arc S (LT18i)
[Android Software/Hacking General [Developers Only]] likiud:
What happened to the TalonDEV LMK in the attached files?
[Android Software/Hacking General [Developers Only]] pikachu01:
What do you mean? What is the "first script"?

I EOLed them since Talon isn't actively used by people. Let me know if you think otherwise :)
[Android Software/Hacking General [Developers Only]] alkhafaf:
hello Pika

What's the difference between your LMK and the Semaphore kernel's LMK ?

thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
The Semaphore LMK can't program the Dalvik LMK correctly. It can only be done using the build.prop (ThunderBolt!'s method). Hence it'll result in a half-applied LMK that doesn't work well.
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Sorry for moving so slowly but life is busy sometimes. I checked using Terminal Emulator and the main cwm has installed with no problem. All the values are correct. However, (getprop | grep ADJ) returns ([ro.HOME_APP_ADJ] : [0]) None of the values in the OP appear, but I must add that in my menu the free RAM is correctly reported as 80MB which is the LMK value I chose. Also I don't use ADB so I can't check the screenstate scaling add-on. So I must ask what is it you meant by "If it hangs." Did you mean boot up would hang if the screenstate_scaling doesn't work? I can see no ill effects from your version or the one this ROM came with. Please advise.
[Android Software/Hacking General [Developers Only]] :
You don't have the remount[device] file for my model. I tried flashing the others without it but I get errors.

Zapped from my Xperia Arc S (LT18i)
[Android Software/Hacking General [Developers Only]] pikachu01:
If it doesn't hang, it should work. You can install ADB by doing this:

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

Also, if the (getprop| grep ADJ) doesn't work, then somewhere in the ROM/kernel it is being set first, overriding ThunderBolt!'s ADJ setting.

You'll need to provide me the output of this in Terminal Emulator:

mount

I'll make one for you :)
[Android Software/Hacking General [Developers Only]] :
Thanks! I'll be waiting :D

Is this what ur looking for? I opened terminal and typed mount. I get this:

a/local/bin:$PATH <

app_73@android:/ $ mount

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mtdblock0 /system yaffs2 ro,relatime 0 0

/dev/block/mtdblock3 /data yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/mtdblock2 /cache yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

app_73@android:/ $

Zapped from my Xperia Arc S (LT18i)
[Android Software/Hacking General [Developers Only]] pikachu01:
Your data/system/cache partitions are fully yaffs2, hence remount is not necessary. There's nothing more to do here actually.
[Android Software/Hacking General [Developers Only]] :
But I get errors when flashing the others using SManager. I get problems all the time :/

Its okay. I won't flash this although I really want it. Thanks for helping.

Zapped from my Xperia Arc S (LT18i)
[Android Software/Hacking General [Developers Only]] pikachu01:
You're misunderstanding something. You cannot use remount scripts as the remount scripts requires ext4 partitions (I've mentioned this in the first post).
[Android Software/Hacking General [Developers Only]] :
I tried without using the remount script. I still got the same error :(

Zapped from my Xperia Arc S (LT18i)
[Android Software/Hacking General [Developers Only]] pikachu01:
What error are you talking about? I'm not sure of the context here. Can you paste it here?
[Android Software/Hacking General [Developers Only]] geroxx:
he pika,

i am using the screenstate_scaling script. Everything works fine. however as soon as i set the max/min_freq for screen_on/off the phone always freeze when i wake up the phone from deepsleep. any solution?

i am on Stock ICS LPG for i9100..
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you undervolting? The nature of frequencies staying at certain levels at a length of time also determines stability. I.e. if your 800MHz is at 950mV and you undervolt it to 900mV, it might still be stable if it only spends a maximum of 1msec per 1 second of time. But if your maximum frequency is 800MHz, it'll be sitting there most of the time in high loads which may cause hangs.
[Android Software/Hacking General [Developers Only]] geroxx:
i increased the uv-values +25mV and now it seems to be stable. thank you :)
[Android Software/Hacking General [Developers Only]] alkhafaf:
So should i remove the semaphore lmk before installing your lmk or no problem in that ?
[Android Software/Hacking General [Developers Only]] pikachu01:
Remove before installing. :)
[Android Software/Hacking General [Developers Only]] geokilla:
I don't think you can remove a kernel or ROM LMK...
[Android Software/Hacking General [Developers Only]] pikachu01:
I mean the semaphore LMK script.
[Android Software/Hacking General [Developers Only]] :
I'll try. I'll have to do the process again.

Zapped from my Xperia Arc S (LT18i)
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually, what error are you describing? Can you remember? I have no clue on what error are you encountering.
[Android Software/Hacking General [Developers Only]] :
The first script sqlite optimize. I know I should ignore this error but it just stops and didn't run.

Command:

'/etc/bolt_scripts/sqlite_optimize'

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

Out:

exec sh '/etc/bolt_scripts/sqlite_optimize'

olt_scripts/sqlite_optimize' <

*********************************************

Optimizing and defragging your database files (*.db)

Ignore the 'database disk image is malformed' error

Ignore the 'no such collation sequence' error

*********************************************

Error: no such collation sequence: PHONEBOOK

Error: no such collation sequence: PHONEBOOK

Error: no such collation sequence: PHONEBOOK

Error: no such collation sequence: PHONEBOOK

Error: no such collation sequence: UNICODE

Error: no such collation sequence: UNICODE

Zapped from my Xperia Arc S (LT18i)
[Android Software/Hacking General [Developers Only]] :
The second script which is the S70darky zip align didn't give me any errors. All my zips has already been align. That's what they said when I run it. The second script S98CFS returned me this

Command:

'/etc/bolt_scripts/CFS/S98CFS'

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

Out:

exec sh '/etc/bolt_scripts/CFS/S98CFS'

olt_scripts/CFS/S98CFS' <

vm.drop_caches = 3

vm.drop_caches = 0

Caches are dropped!

sysctl: error: 'kernel.sched_min_granularity_ns' is an unknown key

sysctl: error: 'kernel.sched_latency_ns' is an unknown key

sysctl: error: 'kernel.sched_wakeup_granularity_ns' is an unknown key

Thanks pika. You are the first person I seen who helped a lot.

Zapped from my Xperia Arc S (LT18i)
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, that means your kernel didn't enable SCHED_DEBUG flag in the config. You can ask your kernel dev to enable it.
[Android Software/Hacking General [Developers Only]] pikachu01:
This is normal. When it stops, it means that all that didn't generate an error is optimized. It doesn't prompt when it's successful.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. That's the correct output :)
[Android Software/Hacking General [Developers Only]] leamoor:
@pikachu01

Does thunderbolt tweaks 2.7.7 work for i9300?

thank you!
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, one or two posters tried it and it works well. Be sure to have a nandroid backup just in case. :)
[Android Software/Hacking General [Developers Only]] leamoor:
thank you for your quick answer !

i will try this^^
[Android Software/Hacking General [Developers Only]] pikachu01:
Let me know if you face any issues :)
[Android Software/Hacking General [Developers Only]] likiud:
I use to run Apex Rom (GB Rom) with TalonDev on my Samsung Captivate with TB tweaks, but I recently switched to CM7.2. I've switched back to Apex with TalonDev, and I would like to apply the TB tweaks again. Can you repost the LMK for TalonDev?
[Android Software/Hacking General [Developers Only]] Bilgets:
hello sir im experiencing a problem through installing..

whenever i want to flash the script it says to me that installation is aborted because of status 0 :O can i just manually put the script like the zip structure? thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
You can download it here:

https://www.dropbox.com/sh/s0lhmhpk7m9dif8/YvR6x_PW2s

You're probably using an older CWM version. Try replacing the updater_binary in the zip file's META_INF folder with an updater_binary inside a CWM zip that can be succesfully installed in your phone.
[Android Software/Hacking General [Developers Only]] Bilgets:
i use px-recovery that based on 5.0.2.8/7 i forget :3 anyway thanks for fast response :D
[Android Software/Hacking General [Developers Only]] pikachu01:
If so, then the CWM version might be newer. Do the same thing. Replace the updater_binary with the one that works for you. :)
[Android Software/Hacking General [Developers Only]] Bilgets:
hmm, flashing is done but i got a bootloop.. what i have is :

00banner

01sysctl

02gio

03firstboot

04modules

05mountsd

06mountdl

20userinit

at init.d

what i trying to install is:

thunderbolt cwm

thunderbolt cwm graphics prop

thunderbolt cwm screenstate scaling addon

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

and yes i do mount system and data :D thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you upload the scripts you have here? I'll need to see if there are any conflicting scripts.

Also, if you're using Cyanogenmod or its derivatives, you cannot use screenstate_scaling.

You should also refrain from using the graphics prop addon. It's an experimental addon that shouldn't be used.

Can I know what phone you're using?
[Android Software/Hacking General [Developers Only]] RaymondPJR:
OK, I'm going to assume you mean if it doesn't hang at "boot" then screenstate_scaling is working. I flashed the Voodoo Color version of MP's latest, and so had to reflash Thunderbolt!. Strangely this time "getprop | grep ADJ" works and reports all the right values. I'm sure I did nothing different except I choose the I9000 remount which brings me to this.

Mount in my case using the I9000 remount returns the /data partition as ext4 while /system and /cache are yaffs2. Am I using the wrong script? Should I be using the remount for CM7/Mui? I'll try to get up the courage to install ADB, but I'm not really technical.
[Android Software/Hacking General [Developers Only]] Bilgets:
this i attached the folder zip on my zip.. and yes i use cyanogenmod :o so i cant use that both?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, if it doesn't hang then it works :)

There are a lot of Cyanogenmod derivatives that I can't keep track of which one works and which one doesn't actually. There are some older ones that work, and newer ones that work too.

You should choose the one that only remounts /data. All the others are yaffs2.
[Android Software/Hacking General [Developers Only]] RaymondPJR:
OK, again just a little vague, so if I choose the correct one, will /data also return as yaffs2? I'm going to look in the OP again.
[Android Software/Hacking General [Developers Only]] pikachu01:
The init.d files are ok. Don't delete any of them.

You can't use screenstate_scaling or it'll hang at boot. Don't use graphics addon too. It's an experimental addon.