yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Presjar:
Hey, I'm a little confused on what scripts to run and how often they should be run.

I have run S70darky_zipalign (I should run this after installing apps? )

I have run sqlite_optimize

I have set remountN7000 to run on boot.

What will these scripts do if I use them on the note:

* drop

* s98bolt_siyah

*What Script in the Touchscreen folder would you recommend for a N7000?

*Is it ok to run the 3G script on a note? I see the file is "ThunderBolt-CWM 3G i9000 addon v1.0.5.zip"

For my information, are some of your tweaks / scripts activated auto by the OS? or do I need to manually run the scripts to activate the tweaks?

Thanks for the help :)
[Android Software/Hacking General [Developers Only]] broodplank1337:
btw at the installation it still says you need to mount /data and /sdcard, is that to remove files of earlier versions or did you forget to update it?
[Android Software/Hacking General [Developers Only]] pikachu01:
Right. Forgot to remove that. I'll remove it with a silent update :P
[Android Software/Hacking General [Developers Only]] broodplank1337:
Ok ^^ silent update can be handy :P. once i did 3 silent updates of my configurator tool which is over 250+ mb haha, that's kind of a pain in the ass to: fix code 3 times (np), repack setup.exe 3 times (meh), reupload 3 times (nooooooo)
[Android Software/Hacking General [Developers Only]] yopipz:
sir could you make it one file to be flashed to our device??

just like the 2.5.0 update.

thank you sir...
[Android Software/Hacking General [Developers Only]] xBlackDroid:
Does this work on ICS? you say

Minimum Requirements

Android Gingerbread 2.3.x

Sorry if this was ask before...
[Android Software/Hacking General [Developers Only]] pikachu01:
What's ICBINB ROM? Is it CM7/CM9 or stock ROM based?

I see that it has Adrenaline Shot included. You need to remove it before installing to prevent the settings from clashing.

Be sure to have a nandroid backup just in case :)
[Android Software/Hacking General [Developers Only]] pikachu01:
You can run zipalign anytime actually, or you can move it to init.d and give it rwx-rwx-rwx permissions.

sqlite_optimize as well can be run anytime.

Remount is set on boot, correct.

Drop cache is not necessary to be ran. You can run it at anytime you feel that you feel laggy that is attributed to RAM contention (though it doesn't always work if the lag stems from somewhere else).

bolt_siyah is only for SGSII.

Touchscreen is only for i9000.

3G is only for i9000. :)

All of the tweaks are automatically ran except the one you've mentioned.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah I know that feeling :P
[Android Software/Hacking General [Developers Only]] pikachu01:
You mean Nar4 right? I guess he will see this soon enough :)
[Android Software/Hacking General [Developers Only]] pikachu01:
The original post mentions this :)

Only the main CWM is compatible. The screenstate_scaling and LMK could work (it is ROM dependent though).
[Android Software/Hacking General [Developers Only]] xBlackDroid:
Thanks for your time to answer,

I'm Using CM9 Nightlies, what could work!?
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm not using CM9 nightlies, hence I'm not sure. You need to try it and see. Use a nandroid backup as a fallback :)
[Android Software/Hacking General [Developers Only]] xBlackDroid:
ok, again thnx Pika, tomorrow i'll try this with the last nightly, and i'll feedback
[Android Software/Hacking General [Developers Only]] vishal24387:
Your work is so clean...!!! Really thank you :)

I tries to change governer to ondemand but no change. So I decided to flash all ur files from start cleanly. I flashed new thunderbolt script & other addons except LMK & 3g addon. Now I feel smoothness in my phone :D But still I am facing default launcher problem which I explained earlier. I will try to experiment with launcher settings & report u later.

Thank you
[Android Software/Hacking General [Developers Only]] twistkill:
The new changelog is tempting :)

I hadn't used it since my Samsung Vibrant days.

I will let you know how it treats the Nexus :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Cool. Let me know how it goes :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, could be a launcher problem. Try it and let me know :)
[Android Software/Hacking General [Developers Only]] FlorisNL:
I don't understand.. When I install thunderbolt 2.6.1 and 2.5.1 I get dirty background ratio = 5... can anybody help me?
[Android Software/Hacking General [Developers Only]] pikachu01:
It's a kernel issue. The sysfs interface fails to set it as it is locked by the kernel. You need to ask your kernel dev.
[Android Software/Hacking General [Developers Only]] FlorisNL:
How to unlock it? I am the developer of my custom ROM, but I use Feamod Recovery 1.4 nonOC...
[Android Software/Hacking General [Developers Only]] pikachu01:
Ask your kernel dev.
[Android Software/Hacking General [Developers Only]] alexdemonumber3:
can I install this on aokp ice cream sandwich?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, the original post with big bold red letters explains it :)

Only the main CWM, the LMK and screenstate_scaling though (the latter two may not work on certain ROMs).
[Android Software/Hacking General [Developers Only]] LiLChris06:
Thanks for the update! :)
[Android Software/Hacking General [Developers Only]] Alucardis666:
Thanks for the update
[Android Software/Hacking General [Developers Only]] stevehkim:
Pika! Newest Tbolt scripts are working flawlessly. Running Screenstate, 98Bolt Siyah, s98CFS, Sys tweaks, and SQliteopto with Siyah version 2.6.1/2.6.7. Thanks a bunch!
[Android Software/Hacking General [Developers Only]] twistkill:
Ok, I installed this over franco.Kernel. I haven't encountered any problems so far and the phone feels a bit more spiffy now. But not by a whole lot, maybe because the kernel already had some overlapping tweaks of its own.

Or, maybe its the feeling that you get when you install something new, everything feels faster. :p Anyways, thanks for the hard work, Pikachu! :) I will keep it installed for sometime now to see long term effects.
[Android Software/Hacking General [Developers Only]] pikachu01:
Might be the former ;)

Let me know if you have any issues.
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know :)

Let me know if you have any issues.
[Android Software/Hacking General [Developers Only]] mab71:
Hi Pika, before my LMK values used to be 5,10,20,30,50,80, more or less. Now it starts from 32 then 40, 48 until 80 after flashing the lmk v1.0.7. Is this normal?
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

I can't wait to test the latest. I had too many problems with the last ROM, and was changing kernels too often. This last one appears more stable, so as soon as I settle on a kernel and figure out a few other tweaks, I'm back!:)
[Android Software/Hacking General [Developers Only]] pikachu01:
Not normal. Can I see your output for

"getprop | grep MEM"

as well as

cat /sys/module/lowmemorykiller/parameters/minfree
[Android Software/Hacking General [Developers Only]] flolep:
Waiting for a remount script for our GN from you, pika :p
[Android Software/Hacking General [Developers Only]] mab71:
$ export PATH=/data/local/bin:$PATH

$ getprop | grep MEM

[ro.FOREGROUND_APP_MEM]: [1280]

[ro.VISIBLE_APP_MEM]: [2560]

[ro.PERCEPTIBLE_APP_MEM]: [3840]

[ro.HEAVY_WEIGHT_APP_MEM]: [6400]

[ro.SECONDARY_SERVER_MEM]: [7680]

[ro.BACKUP_APP_MEM]: [8960]

[ro.HOME_APP_MEM]: [5120]

[ro.HIDDEN_APP_MEM]: [12800]

[ro.CONTENT_PROVIDER_MEM]: [15360]

[ro.EMPTY_APP_MEM]: [20480]

$
[Android Software/Hacking General [Developers Only]] mab71:
$ export PATH=/data/local/bin:$PATH

$ getprop | grep MEM

[ro.FOREGROUND_APP_MEM]: [1280]

[ro.VISIBLE_APP_MEM]: [2560]

[ro.PERCEPTIBLE_APP_MEM]: [3840]

[ro.HEAVY_WEIGHT_APP_MEM]: [6400]

[ro.SECONDARY_SERVER_MEM]: [7680]

[ro.BACKUP_APP_MEM]: [8960]

[ro.HOME_APP_MEM]: [5120]

[ro.HIDDEN_APP_MEM]: [12800]

[ro.CONTENT_PROVIDER_MEM]: [15360]

[ro.EMPTY_APP_MEM]: [20480]

$ cat /sys/module/lowmemorykiller/parameters/minfree

8192,10240,12288,14336,16384,20480

$

Sent from my GT-P1000
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh right :P

Thanks for the reminder. Will release it in a bit.
[Android Software/Hacking General [Developers Only]] pikachu01:
Your Dalvik LMK looks fine but your Linux LMK is incorrect. You have some other tweaks that changed them?
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know :)

Let me know if you face any issues.
[Android Software/Hacking General [Developers Only]] mab71:
I don't think so….all I did was remove the previous init.d files which came with the overcome rom I'm using now. And also the files from older TBolt versions. Nothing added…what do u think I shud do?
[Android Software/Hacking General [Developers Only]] mab71:
There was one supercharger file that I also removed cos I saw that it was not included in tb 2.6.1
[Android Software/Hacking General [Developers Only]] pikachu01:
The SuperCharger file is included in the LMK :)

That file is the one that sets it actually. Install the LMK again and see if it fixes it?
[Android Software/Hacking General [Developers Only]] dahlem:
I flashed the new version v2.6.1 (I am assuming that is all I had to do) and went to follow the directions (never done the script thing before) but don't see my device listed here:

Open up Script Manager and launch /etc/bolt_scripts/remount[device] (e.g. remounti9000) as Root (The skull icon) and as Boot (The wheel icon).

Would appreciated any help as to what I am doing wrong here . . .
[Android Software/Hacking General [Developers Only]] Soul788:
help.....

installed 2.6.1

Can not find folder ... Boltscript where??

how to activate?
[Android Software/Hacking General [Developers Only]] wintel_mac:
Did you mount /system?

Quoting from the original thread here:

Instructions
Copy the CWM zip and all the addons you need to your internal sdcard
Mount /system in CWM (IMPORTANT!) (When mounted, it will show "unmount /system" for example. This means that an unmounted partition will show a "mount /system" for the /system partition)
Install using CWM all the CWM zips without needing a reboot in between
Wait for bootup
Open up Script Manager and launch /etc/bolt_scripts/remount[device] (e.g. remounti9000) as Root (The skull icon) and as Boot (The wheel icon).
Open up Script Manager and launch /etc/bolt_scripts/sqlite_optimize as Root (The skull icon). This script can be used arbitrarily at anytime that you want. Don't load it as boot or copy it to init.d though, it'll significantly slow down your boot up as the script is a very long running script.
Open up Script Manager and launch /etc/bolt_scripts/s70darky_zipalign as Root (The skull icon). This script can be used arbitrarily at anytime that you want. You can copy it to init.d and setting its permission to rwx-rwx-rwx. I moved it to bolt_scripts so that first boot for some people won't be slowed down.
????
PROFIT
[Android Software/Hacking General [Developers Only]] snoopdaclown:
So you have to use script manager for all these to work if there not in init.d folder or how does that actually work. And why does adrenaline shot not need script manager or is it only the add-ons you have that need it like lmk and scrrenstate and those?

Sent from my Haxsung Infuse R3velation injected with adrenaline
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, would need your output for this:

mount

in Terminal Emulator to create the remount script.

Thanks!
[Android Software/Hacking General [Developers Only]] pikachu01:
There are a few scripts that require Script Manager namely:

- remount (needed to be used in Script Manager to workaround certain kernels that remounts the partition after init.d runs. Adrenaline Shot didn't take this into account, hence it'll fail to remount 1 out of 5 kernels which is the ratio of kernels I see that remounts partition after init.d runs)

- drop caches (Meant to be done when the user needs it)

- sqlite_optimize (Very long running script that isn't suited for boot time load, needed only when the user needs it)

LMK and screenstate_scaling doesn't need Script Manager. They are loaded at boot.
[Android Software/Hacking General [Developers Only]] ShiningAce:
Hi, sorry for the noob question. is there anyway for me to check whether i flashed the script or not? thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
Check the original post: How do I know if it works.
[Android Software/Hacking General [Developers Only]] ShiningAce:
thanks for your fast reply. just to be sure, if i have S98system_tweak and

S98CFS, its means its working right? thanks again
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, and if the other values are matching as well.
[Android Software/Hacking General [Developers Only]] ambuj:
May be this question has been asked before but I could not find it.

Is there any possibility that it will be available for ICS?
[Android Software/Hacking General [Developers Only]] pikachu01:
Already answered in the big red bold letters in the original post :)
[Android Software/Hacking General [Developers Only]] FlorisNL:
My kernel dev is samsung.. Lol. I am using XXKQ7 stock kernel..? How to add support?
[Android Software/Hacking General [Developers Only]] rayiskon:
did u add init.d support to that kernel ?
[Android Software/Hacking General [Developers Only]] FlorisNL:
I have installed Feamod Recovery 1.4 NonOC.. That have init.d support, haven't it?
[Android Software/Hacking General [Developers Only]] oudbrood:
Yep.....
[Android Software/Hacking General [Developers Only]] rayiskon:
nvmd,....

so far i knew u could add init.d support through adb shell or even easier using dsixda's kitchen. but if u say the 1.4 recovery does the job then great. i'm still using the good old 1.2.
[Android Software/Hacking General [Developers Only]] oudbrood:
Not the recovery but the kernel with comes with 1.4 feacore
[Android Software/Hacking General [Developers Only]] rayiskon:
yup, but he already said he's using the stock kernel. so unless he enables init.d support to his boot.img with one of the ways i mentioned above, he won't be able to run init.d scripts.

just for clarification, i've seen a lot of u guys mixing things up. FeaCore is the kernel , FeaMod is the recovery.
[Android Software/Hacking General [Developers Only]] snoopdaclown:
OK cool so all the ones I used didn't need it. Except the optimized sqlite. That's good to know. Thanks Pika. Love your tweaks but adrenaline is hard coded into this rom and don't want to overload it with tweaks and slow it down.

Sent from my Haxsung Infuse R3velation injected with adrenaline
[Android Software/Hacking General [Developers Only]] kellermanv:
He just said he installed BOTH the recovery AND the kernel.
[Android Software/Hacking General [Developers Only]] FlorisNL:
Sorry guys, I mean Feacore. I am trying now again.. Will post it if it works
[Android Software/Hacking General [Developers Only]] rayiskon:
read the first post on this page. come on guys read before u post , this is starting to get off topic. :rolleyes:
[Android Software/Hacking General [Developers Only]] FlorisNL:
Now I get in ADB vm.dirty_background_ratio = 65

vm.dirty_ratio = 80

vm.vfs_cache_pressure = 1

I have installed ThunderShot (CustomROM version ;p)
[Android Software/Hacking General [Developers Only]] broodplank1337:
I think your better of with the real Thunderbolt now (since it's /system only) ;)

"ThunderShot" I made was based on an older Thunderbolt, and there are new tweaks in the meanwhile (only bad thing is that you will need to use script manager)

You can have a look at the system.img.ext4 file of Cranium ROM RC8. That's where i got my inspiration, although sakindia123 told me that he had hidden the remount script in his kernel, that's why it worked :)
[Android Software/Hacking General [Developers Only]] nail16:
I feel thunderbolt includes too many tweaks,that's what causes instability, pikachu should create a separate TB for i9001 users maybe call it thunderbolt lite :)
[Android Software/Hacking General [Developers Only]] bradman117:
I know this sounds stupid. But im using Thunderbolt tweaks v2.4 how do i update it to v2.6.1? what files do i flash??
[Android Software/Hacking General [Developers Only]] broodplank1337:
I like that idea, don't know how pika thinks about it though :rolleyes:
[Android Software/Hacking General [Developers Only]] pikachu01:
Ok. Only if the kernel provides init.d support, will ThunderBolt! work :)

It's an older version of ThunderBolt! :)

Ahh, cool :)

What instability? Can I know the specifics? I'd like to fix it. :)

Don't think I'll do that. If one has a special version, pretty much everyone will want one. Think about maintaining 12 special versions of ThunderBolt! It'll pretty much stop me from innovating ThunderBolt! due to the time spent maintaining each special version. Wouldn't like that do you? :)
[Android Software/Hacking General [Developers Only]] pikachu01:
You can easily remove Adrenaline Shot by removing all files in init.d and flashing ThunderBolt! restore actually.

Just flash it over them :)
[Android Software/Hacking General [Developers Only]] bradman117:
Srry i never understood how to put this tweak on my phone but on zeus it already had a version. Witch files do i reflash if i may ask?(:
[Android Software/Hacking General [Developers Only]] pikachu01:
The main CWM, v2.6.1? Along with whatever addons you want :)
[Android Software/Hacking General [Developers Only]] pikachu01:
You have a busybox issue. Install stericson's busybox and install 1.19.x in /system/xbin.
[Android Software/Hacking General [Developers Only]] arzbhatia:
Pika! Will this increase battery life?
[Android Software/Hacking General [Developers Only]] twistkill:
I think this script works better over time! :P

My second day with this and it just feels real smooth :)
[Android Software/Hacking General [Developers Only]] FlorisNL:
Idk why, but now I get dirty background ratio =65.. Etc.. Here is my log, I now use the new XXKQ1 kernel with init.d support

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

$ su

# 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 = 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 = 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

#

Pleaaaase answer
[Android Software/Hacking General [Developers Only]] g4ndr1k:
This wonderful tweaks is working flawlessly. Thanks!
[Android Software/Hacking General [Developers Only]] FlorisNL:
Buuuuuuump, want to release my custom ROM very soooooon.. So can anybody help me??
[Android Software/Hacking General [Developers Only]] broodplank1337:
I think it's time for you to open a topic, in that topic you can ask any question you want regarding building the rom ;)
[Android Software/Hacking General [Developers Only]] danieldmm:
Hey @Pika, one question since you have significal changes in ThunderBolt, i me preparing to release v3.0 of my ROM, like usual your Mod will be included, since i me including Syian Kernel, and in old ThunderBolt you have script to init.d of S98bolt_siyan, adding ThunderBolt to ROM + Addons, it will have some conflicts or no problem or should i skip some scripts of ThunderBolt?

Also in the script-updater of thunderbolt i see you have also:

set_perm(0, 0, 0777, "/system/etc/init.d/S70darky_zipalign");

set_perm(0, 0, 0777, "/system/etc/init.d/S98bolt_siyah");

But in New ThunderBolt you moved this to /system/etc/bolt_scripts

Its OK or have no impact in ThunderBolt MOD or should i change the path to the new one?

Cheers and tanks for you hard work...
[Android Software/Hacking General [Developers Only]] Jeshter2000:
Possible to flash on Aosp imilka galaxy note?? If yes how ??
[Android Software/Hacking General [Developers Only]] pikachu01:
Just found that i9100's remount script is compatible with GalNex. Use that :) Updated that fact in the first post.

Yup. Screenstate_scaling will improve battery life.

Yeah, it improves smoothness by a lot after using it.
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you using an old build? Try updating.

What help do you need? :)
[Android Software/Hacking General [Developers Only]] pikachu01:
You can skip some if it's not applicable. I moved bolt_siyah to bolt_scripts as it can interfere with ExtTweaks. Yeah, that is actually intentional, though it doesn't do anything.

No impact if you change, no impact if you don't change.
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know :) No prob.

Should work without problems. Use the instructions in the original post. Nandroid just in case.
[Android Software/Hacking General [Developers Only]] FlorisNL:
Old build? Nope, am using XXKQ7.GINGERBREAD. kernel version is 2.6.35.7 perf dpi@dell 136 #1... My problem is that I can't install thunderbolt 2.6.1 and LMK 80MB..
[Android Software/Hacking General [Developers Only]] mhairy:
Hi pika,

Just update..

Can you check for me?

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

$ su

# 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 = 40

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 = 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 = 10

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

# getprop | grep ADJ

[ro.HOME_APP_ADJ]: [1]

[ro.FOREGROUND_APP_ADJ]: [0]

[ro.VISIBLE_APP_ADJ]: [1]

[ro.PERCEPTIBLE_APP_ADJ]: [2]

[ro.HEAVY_WEIGHT_APP_ADJ]: [4]

[ro.SECONDARY_SERVER_ADJ]: [5]

[ro.BACKUP_APP_ADJ]: [6]

[ro.HIDDEN_APP_MIN_ADJ]: [7]

[ro.EMPTY_APP_ADJ]: [15]

#
[Android Software/Hacking General [Developers Only]] pikachu01:
The VM settings are correct, but the HOME_APP_ADJ is supposed to be 3. You must have a LMK tweaking app/script like Supercharger? You cannot mix LMK addon and Supercharger.
[Android Software/Hacking General [Developers Only]] flolep:
Thanks pika. Will try it and report :-)
[Android Software/Hacking General [Developers Only]] mhairy:
The VM settings are correct, but the HOME_APP_ADJ is supposed to be 3. You must have a LMK tweaking app/script like Supercharger? You cannot mix LMK addon and Supercharger.[/QUOTE]

Hi pika,

Thanks for sharing.

How i want to get LMK tweaking app? Fyi im use 80LMK.
[Android Software/Hacking General [Developers Only]] FlorisNL:
.. can someone please help me? :``( Thunderbolt is just not working..
[Android Software/Hacking General [Developers Only]] rayiskon:
u have to make up ur mind mate, if u're using a stock kernel then u have to add init.d support to be able to run init.d scripts, if u're running feacore then u're good to go. but looking at u're last comment, it makes me wonder ;)

(p.s. i'm assuming u are flashing/pushing the files the right way)