yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] RaptorFB:
Yes I did.

I see these.

and

I get:

$ export PATH=/data/local/bin:$PATH

$sysctl -a | grep vm

sysctl: error reading key 'kernel.cad_pid': Permission denied

vm.overcommit_memory = 1

vm.panic_on_oom = 0

vm.oom_kill_allocating_task = 0

vm.oom_dump_tasks = 1

vm.overcommit_ratio = 50

vm.page-cluster = 3

vm.dirty_background_ratio = 65

vm.dirty_background_bytes = 0

vm.dirty_ratio = 80

vm.dirty_bytes = 0

vm.dirty_writeback_centisecs = 500

vm.dirty_expire_centisecs = 3000

vm.nr_pdflush_threads = 0

vm.swappiness = 0

vm.lowmem_reserve_ratio = 32

vm.drop_caches = 0

vm.min_free_kbytes = 2743

vm.min_free_order_shift = 4

vm.percpu_pagelist_fraction = 0

vm.max_map_count = 65530

vm.laptop_mode = 0

vm.block_dump = 0

vm.vfs_cache_pressure = 1

vm.mmap_min_addr = 32768

vm.scan_unevictable_pages = 0

vm.inactive_file_ratio = 20

sysctl: error reading key 'net.ipv4.route.flush': Permission denied

sysctl: error reading key 'net.ipv6.route.flush': Permission denied

$ getprop | grep ADJ

[ro.FOREGROUND_APP_ADJ]: [0]

[ro.VISIBLE_APP_ADJ]: [1]

[ro.PERCEPTIBLE_APP_ADJ]: [2]

[ro.HEAVY_WEIGHT_APP_ADJ]: [3]

[ro.SECONDARY_SERVER_ADJ]: [4]

[ro.BACKUP_APP_ADJ]: [5]

[ro.HOME_APP_ADJ]: [6]

[ro.HIDDEN_APP_MIN_ADJ]: [7]

[ro.EMPTY_APP_ADJ]: [15]

$

Also the /sdcard/bolt_scripts/sqlite_optimize script returns:

exec sh '/mmnt/sdcard/bolt_scripts/sqlite_optimize'

# exec sh '/mmnt/sdcard/bolt_scripts/sqlite_optimize'

Error: database disk image is malformed

find: /dbdata: No such file or directory

Error: database disk image is malformed

find: /dbdata: No such file or directory
[Android Software/Hacking General [Developers Only]] oudbrood:
7% :-)
[Android Software/Hacking General [Developers Only]] pikachu01:
The VM settings are correct while the getprop settings are incorrect. Did you flash the LMK addon?

The database errors are normal. See known issues at the original thread. There's an update v2.1.2 on the original thread. Install that and part of the sqlite errors will be gone :)
[Android Software/Hacking General [Developers Only]] RaptorFB:
I have never installed other tweaks and this installation of Thunderbolt was done immediately after flashing nightly 182 and glitch v13. My setup is only CM7 + Glitch kernel. Logically, then next step is to try this again with just CM7, no custom kernel, which I will be starting in a few minutes.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, read my earlier edit. The values are correct except for the LMK for getprop. Did you install the LMK addon?
[Android Software/Hacking General [Developers Only]] DarkRaver84:
I installed this tweak yesterday and all went well.

Verry fast en good battery life.

I only lost 3% over night so i am verry happy with this.

Thanks alot for this verry good tweak.
[Android Software/Hacking General [Developers Only]] geokilla:
I like Semaphore over Talon now. Much more stable as it doesn't require the daily reboot nor is there any lag. Of course, you can turn off ZRAM and SWAP, but just a personal preference.

@pika. I reflashed Mosaic VIII and Talon 0.5.2.5 to see if I can reproduce the app closing on me problem. My Captivate has minimal apps installed aside from stock apps. The apps I installed are:

Control Freak

Facebook

Facebook Messenger

Google Music

MIUI Music

NoLED

Root Explorer

SMS Backup and Restore

Titanium Backup

Twitter

Viber

WhatsApp

WeatherEye by The Weather Network

I'll test it for the full day tomorrow with just these apps installed on my phone and I predict I will not be texting a lot, so not sure how helpful that would be. I need to restore everything tomorrow night though, or I'll be dead bored at work..... Even though I should study for exams.... :p

Oh and if I missed an app, I'll just add it in here instead of making it as a new post. Keeping it nice and clean and easier to sort and stuff. Of course, I'll let you know that this post got edited.
[Android Software/Hacking General [Developers Only]] RaptorFB:
Flashed nightly 182, reboot, installed Thunderbolt, reboot, did not flash glitch kernel.

Both terminal commands and the script manager outputs were the same.

Only installed 'ThunderBolt-CWM v2.1.2.zip'. I was going to try addons after I got the main thing to work.
[Android Software/Hacking General [Developers Only]] h94sharma:
Output Different

C:\android-sdk-windows\platform-tools>adb shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

# sysctl -a | grep vm

sysctl -a | grep vm

vm.overcommit_memory = 1

vm.panic_on_oom = 0

vm.oom_kill_allocating_task = 0

vm.oom_dump_tasks = 0

vm.overcommit_ratio = 50

vm.page-cluster = 3

vm.dirty_background_ratio = 5

vm.dirty_background_bytes = 0

vm.dirty_ratio = 80

vm.dirty_bytes = 0

vm.dirty_writeback_centisecs = 500

vm.dirty_expire_centisecs = 200

vm.nr_pdflush_threads = 0

vm.swappiness = 60

vm.lowmem_reserve_ratio = 32

vm.drop_caches = 0

vm.min_free_kbytes = 2678

vm.min_free_order_shift = 4

vm.percpu_pagelist_fraction = 0

vm.max_map_count = 65530

vm.laptop_mode = 0

vm.block_dump = 0

vm.vfs_cache_pressure = 1

vm.mmap_min_addr = 4096

vm.scan_unevictable_pages = 0

sysctl: error reading key 'net.ipv4.route.flush': Permission denied

sysctl: error reading key 'net.ipv6.route.flush': Permission denied

#

This is what i am getting when i use adb...

Wats rong? i din get the output u had postd on the original thread.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, you can turn off ZRAM and swap for that. Let me know of your progress :)

Have you tried updatnig to v2.1.2 yet?
[Android Software/Hacking General [Developers Only]] pikachu01:
Then, there is nothing wrong here :)

You flashed it correctly and your phone should feel a little bit faster. With the addons and remount script, it'll be even faster as well as more battery saving.
[Android Software/Hacking General [Developers Only]] pikachu01:
You might have some other tweaks that interferes with ThunderBolt!. Try clearing your /system/etc/init.d files and reinstall ThunderBolt! again :)
[Android Software/Hacking General [Developers Only]] RaptorFB:
Really? Awesome. Thanks for letting me know.

Which LMK addon should be used? I have to say, the list of options is rather large.
[Android Software/Hacking General [Developers Only]] pikachu01:
If you're not picky about multitasking, you can use the 80MB LMK. The 50MB or 60MB is a good choice otherwise with lower LMK for better (to a certain degree) multitasking.

Let me know if you have other questions :)
[Android Software/Hacking General [Developers Only]] crazililazn:
Since I flashed 2.1.2, games like nova 2 and shadowgun force closed on me after awhile.
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you overclocking/undervolting? The aggressive CFS would trigger instabilities faster than the conventional CFS.
[Android Software/Hacking General [Developers Only]] crazililazn:
Hmm, I'll play with some of my UV settings and get back to you.
[Android Software/Hacking General [Developers Only]] banditos88:
Hi.

I want to try Thundbold but i am a little bit confused.

Which Addons do you recommed?
[Android Software/Hacking General [Developers Only]] pikachu01:
I personally use all the addons :)

Plus the 50MB LMK. Do you have specific lines in the instructions that you don't understand?
[Android Software/Hacking General [Developers Only]] h94sharma:
Still Not Working

Yeah I did but then i cleared the init.d and systcl file and flashed it again but no use!!! I then tried flashing SAS but now even it isn't working... My phones seem to not be able to run any scripts!!! Is it serious???
[Android Software/Hacking General [Developers Only]] pikachu01:
You might have a busybox issue. Look at my sig for "Android Optimization Tips" and CTRL-F for busybox.
[Android Software/Hacking General [Developers Only]] mikeeo019:
Make sure you mounted /system and /data before installation
[Android Software/Hacking General [Developers Only]] DarkRaver84:
Why can i install all ads but cant install ThunderBolt-CWM screenstate_scaling addon v1.2.2.zip?

When i try to install that i got a message "install aborted"
[Android Software/Hacking General [Developers Only]] pikachu01:
What ROM/Kernel are you on?
[Android Software/Hacking General [Developers Only]] plzyboy885:
a stupid question here...where to download? i coundn't find the link..
[Android Software/Hacking General [Developers Only]] DarkRaver84:
I have 2.3.6 Baseband ZSKP6 and kernel is 2.6.35.7-perf mischu@breath #7
[Android Software/Hacking General [Developers Only]] banditos88:
Ok I downloaded the Thunderbolt 2.1.2 zip.

I know how to update it via CWM...

I know the Addons in the Second Post.

But i dont know which exactly i should take.

THX
[Android Software/Hacking General [Developers Only]] spelaben:
There is no bolt scripts dir.

Edit: I can see it now on my external sd card, it wasn't there before though. Weird...

This is the mount output:

$ export PATH=/data/local/bin:$PATH

$ mount

rootfs on / type rootfs (ro,noatime)

tmpfs on /dev type tmpfs (rw,noatime,mode=755)

devpts on /dev/pts type devpts (rw,noatime,mode=600)

proc on /proc type proc (rw,noatime)

sysfs on /sys type sysfs (rw,noatime)

none on /acct type cgroup (rw,relatime,cpuacct)

tmpfs on /mnt/asec type tmpfs (rw,noatime,mode=755,gid=1000)

tmpfs on /mnt/obb type tmpfs (rw,noatime,mode=755,gid=1000)

tmpfs on /mnt/usb type tmpfs (rw,noatime,mode=755,gid=1000)

none on /dev/cpuctl type cgroup (rw,relatime,cpu)

/dev/block/mmcblk0p9 on /system type ext4 (ro,noatime,commit=20,barrier=1,nodelalloc,data=ordered)

/dev/block/mmcblk0p7 on /cache type ext4 (rw,nosuid,nodev,noatime,commit=20,barrier=1,nodelalloc,data=ordered)

/dev/block/mmcblk0p10 on /data type ext4 (rw,nosuid,nodev,noatime,commit=20,barrier=1,data=ordered,noauto_da_alloc,discard)

/dev/block/mmcblk0p1 on /efs type ext4 (rw,nosuid,nodev,noatime,commit=20,barrier=1,nodelalloc,data=ordered)

nil on /sys/kernel/debug type debugfs (rw,noatime)

/dev/block/mmcblk0p4 on /mnt/.lfs type j4fs (rw,noatime)

/dev/block/vold/179:11 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/vold/179:11 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,noatime,size=0k,mode=000)

/dev/block/vold/179:17 on /mnt/sdcard/external_sd type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/dm-0 on /mnt/asec/com.quoord.tapatalkxdapre.activity-1 type vfat (ro,dirsync,nosuid,nodev,noatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/dm-1 on /mnt/asec/de.tvspielfilm-1 type vfat (ro,dirsync,nosuid,nodev,noatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

$
[Android Software/Hacking General [Developers Only]] spambayes:
I'm running Semaphore 1.9.0 and getting the same thing as well. Please see attachment.

Thanks.

View attachment 955925
[Android Software/Hacking General [Developers Only]] h94sharma:
Deleting Binaries

I found the path but how do i delete the binaries?
[Android Software/Hacking General [Developers Only]] mr_omega:
Hello.

I have a problem with script "sqlite_optimize"

When I run it using Script Manager, I get this one:

exec sh '/sdcard/bolt_scripts/sqlite_optimize'
# ec sh '/sdcard/bolt_scripts/sqlite_optimize'
Error: no such collation sequence: UNICODE
Error: no such collation sequence: PHONEBOOK
Error: database disk image is malformed
Error: database disk image is malformed
find: /dbdata: No such file or directory
find: /datadata: No such file or directory
Error: no such collation sequence: UNICODE
Error: no such collation sequence: PHONEBOOK
Error: database disk image is malformed
Error: database disk image is malformed
find: /dbdata: No such file or directory
find: /datadata: No such file or directory

I'm use XXKPG 2.3.5 Gingerbread Deodex by Astap
[Android Software/Hacking General [Developers Only]] banditos88:
Where do i find the "3G CWM" Addon?
[Android Software/Hacking General [Developers Only]] pikachu01:
Agh, I figured out the problem. Your CWM zip is corrupted. Redownloading it will suffice :)

Download here:

http://xdaforums.com/showthread.php?p=19684241

Pick the 50/60MB LMK. Other than that, the screenstate_scaling, bin files and libsqlite are fine too :)

Use File Expert/Root Explorer.

It's a known issue. Look at the original thread under "Known Issues".

I removed it pending investigation on why it hangs for CM7/MIUI ROMs.
[Android Software/Hacking General [Developers Only]] spambayes:
Thanks, it's working. But now I'm not sure what to make of the output:

Any help on the attached?

View attachment 955926

Thanks.
[Android Software/Hacking General [Developers Only]] DarkRaver84:
oke i installed the new screenstate scaling.

But what do i need to do with scriptmanager?

Never worked with that:(
[Android Software/Hacking General [Developers Only]] pikachu01:
Just install script manager, then navigate to the scripts folder, and then click the script to run. Tick the superuser icon (the one with the skull) and then run.

For the remount script, you need to run as boot as well, hence tick the wheel icon. Then run it once and you're set.
[Android Software/Hacking General [Developers Only]] banditos88:
Hi

I get a lot of erorrs wile running sqlite_optimize script
[Android Software/Hacking General [Developers Only]] manus ferrera:
Can someone help me I mount system and data then flash thunderbolt in cwm. Then I flashed an add on then when I try to use script manager I run the cm7 miui option with root and boot then I try to do the oblite script and it says it is malformed and file doesn't exist. Is there a dummys guide for applying this thanks
[Android Software/Hacking General [Developers Only]] yalkowni:
Will this work in ics
[Android Software/Hacking General [Developers Only]] crybert:
You can read it in this or in the main thread...Known Issue
[Android Software/Hacking General [Developers Only]] Wayne561:
Couple questions:

1. When I flash this zip how will I know the scripts are working?

2. Do I have to enable anything so that the scripts come in effect?

3. I tried to run a script with script manager and some said something about its not found, does that mean mean the script not working?
[Android Software/Hacking General [Developers Only]] mr_omega:
Does this mean that the use of the script "sqlite_optimize" on i9001 is pointless?
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll release the SGSII remount in another 12 hours or so. I have a few bugfixes that I'm trying to squash. Thanks!
[Android Software/Hacking General [Developers Only]] pikachu01:
The database malformed is normal. See the known issues in the original thread. It means its skipping the non-sqlite databases but still optimizing the sqlite databases.

Not sure. Never tried it. The addons is highly likely not compatible but the main CWM could work. "Nandroid backup" is the keyword.

1. The original thread has a section "How to find out if it works". Check that.

2. For remount script (run as root, run at boot). For sqlite_optimize (run as root).

3. There's a bug report about that. I'll squash it with the next release. It's a script manager problem (the newest update broke part of the script, I'll have to figure something out to workaround it).
[Android Software/Hacking General [Developers Only]] pikachu01:
What kind of errors?

There are two sets of errors here. Malformed database/collation errors are normal. Not found errors are not, the newest script manager broke something in its end. I will release a fix to workaround Script Manager's issue in 12 hours.
[Android Software/Hacking General [Developers Only]] drcrappants:
does this just make the phone faster overall? nothing really else? will this work on bionix-v?
[Android Software/Hacking General [Developers Only]] pikachu01:
You can view the benefits in the OP. Yes, it makes the phone faster/snappier overall and it saves battery too.

You can try it with Bionix-V. A few people reported success with their Vibrant phones (but I don't know what ROM they use).
[Android Software/Hacking General [Developers Only]] banditos88:
Error: No such collation sequence UNICODE

Error : No such collation sequence PHONEBOOK

Error: Databas disk image is malformed

Error: No such collation sequence UNICODE

Error : No such collation sequence PHONEBOOK

Error: Databas disk image is malformed

THX

---------- Post added at 04:22 AM ---------- Previous post was at 04:13 AM ----------

Hi

Can you please explain for what the screenstate_scaling is.
[Android Software/Hacking General [Developers Only]] pikachu01:
It's normal. It means *.db files that are not sqlite will be skipped. You can see the original thread for Known Issues.
[Android Software/Hacking General [Developers Only]] maoten:
Does this tweak woks on?

ROM galnetmiui 4.0.1 ICS Builds
[Android Software/Hacking General [Developers Only]] plzyboy885:
how do i know it has been succefully install to my phone?
[Android Software/Hacking General [Developers Only]] David1239:
So i flash the file that says Thunderbolt-CWM-2.1.2 right?
[Android Software/Hacking General [Developers Only]] adobrakic:
^ Yep, and then the add on from the second post.

Sent from my SGS 4G.
[Android Software/Hacking General [Developers Only]] oudbrood:
See orginal threat page 1.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm not sure. Never tried. The addons will not work. However the main CWM might work. You can try it out. Be sure that you have a nandroid backup.
[Android Software/Hacking General [Developers Only]] pikachu01:
That's correct. The addons descriptions are in the original thread. :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Check:

"How to find out if it works" in the original thread.
[Android Software/Hacking General [Developers Only]] plzyboy885:
um....i get a sucessful installation message after installed from CWM, but i coundn't find this path (/system/etc/init.d/) with root explorer..
[Android Software/Hacking General [Developers Only]] Kyuta Syuko:
I'm trying to add your sqlite optimize script to my kernel as something they can run with a reboot like the Voodoo zipalign (by creating a file in the /sdcard/Voodoo folder) and have a few questions about it.

Did you write the script yourself?

Why are there two different sections -- one for vacuum and one for reindex -- couldn't they be done at the same time?

What I'm wanting to know with my second question is why the script is coded like it is and not like the following

for i in \
`find /data -iname "*.db"`;
do \
$sqlite3 $i 'VACUUM;';
$sqlite3 $i 'REINDEX;';
done;
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually, it's written like that for troubleshooting purposes :P

I wanted to know at which part it is failing so that I know which is reindex and which is vacuum. You can put it together actually.
[Android Software/Hacking General [Developers Only]] pikachu01:
Did you enable the Root options in Root Explorer?
[Android Software/Hacking General [Developers Only]] Kyuta Syuko:
Alright just wanted to make sure it wouldn't make my phone explode or something if I did. Thanks!
[Android Software/Hacking General [Developers Only]] silver311:
What does it mean by that? does it mean that even if i use setcpu, the script will still work, coz it only does the vm scaling?
[Android Software/Hacking General [Developers Only]] geokilla:
So far no problems. I'll test it with ThunderBolt! tweaks now.

Apps list has been updated.

I'm also getting quite a bit of lag with ThunderBolt tweaks. I wonder if SmartAssV2 is slowing things down... Or it could be Mosaic VIII glitching
[Android Software/Hacking General [Developers Only]] daxecutioner24:
Ok so any recommended settings for this..because i never understood scripts,making a yerminal line all thay..even after reading the other threads..pretty good with flashing,hacking etc but not this...also what this i read abput running a script everytime on boot..that applies for all the add ons??.thanks in advance
[Android Software/Hacking General [Developers Only]] plzyboy885:
yup, i did enable the Root options in Root Explorer.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, that's right :) You can however enable governor scaling in the script. It's only disabled, not removed.

Using SetCPU introduces overhead in that SetCPU itself needs to be loaded and active. A script is much simpler and have less overhead.

Weird. Try File Expert and enable ROOT mode.
[Android Software/Hacking General [Developers Only]] QUIETLYloud:
Okay... so is it safe to assume that this tweak is actually beyond the scope of a Android novice, I flashed this, when it was the previous version, let's just say that I ended up reinstalling the ROM, no big deal... Then I see this newer version downloaded, in hopes of a better understanding, so the "sgs4g remount" that's in the sd folder for "thunderbolt" should be pushed to the etc/init'd folder (along with any of the other scripts)?
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope, only remount needs to be done at every boot.

Just install Script Manager first and navigate to the script. You'll understand more after that :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Have you been running the remount script at boot and sqlite_optimize semi-regularly?
[Android Software/Hacking General [Developers Only]] geokilla:
Nope. Am I supposed to? I thought it was an optional thing.
[Android Software/Hacking General [Developers Only]] pikachu01:
It is an optional thing, but you'll get increased performance with both of those.
[Android Software/Hacking General [Developers Only]] disellusional:
does it work in miui?
[Android Software/Hacking General [Developers Only]] daxecutioner24:
so pikachu I flash thunderbolt with sqlite addon,60 mlk and ran drop script..would fugu tweaks 4.0 mess with those 4? or can i also flash fugu? thiking about screenstate scaling addon can i do that one too..thank you for all this!
[Android Software/Hacking General [Developers Only]] pikachu01:
Drop script?

You should run the remount and sqlite_optimize instead.

Fugu Tweaks 4.0 is the bin files addon (no difference).

Screenstate_scaling addon can be installed.

Fugumod? Should be able to work.
[Android Software/Hacking General [Developers Only]] sinichi21:
I have tried to flash thunderbolt 2.1.3 my phone reboot once and when I check the init.d folder they all move to another folder called init.d.ori folder is that normal?
[Android Software/Hacking General [Developers Only]] pikachu01:
Using Semaphore?

If you rebooted within 2 minutes of booting up, Semaphore will move all scripts to init.d.ori.
[Android Software/Hacking General [Developers Only]] sinichi21:
Yes I'm using semaphore so is that normal on semaphore kernel? Will the tweak still work even on init.d.ori?

UPDATE: this only happen when I flash your tweaks and when everthing moves on the init.d.ori folder all the settings for my semaphore goes to default again
[Android Software/Hacking General [Developers Only]] pikachu01:
That is the default for Semaphore 1.9.0. It happens when you reboot before the 2minutes is up, after you've booted.

It's not because of ThunderBolt!.

And no, it won't work. The 2minute timeframe was created so that if people got bootloop, it'll remove init.d files for stability - Semaphore feature.
[Android Software/Hacking General [Developers Only]] Kyuta Syuko:
It's a safety mechanism programed into the kernel to move uncooperative scripts so you can boot. So no they will not run while in init.d.ori.

*edit*

pikachu01 beat me D:
[Android Software/Hacking General [Developers Only]] oudbrood:
Thanks man! You keep working.

Flash new version