yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] chasemyass:
Pika can I ask if there is, by any chance, to make a one script to run it and that will run all thunderbolt scripts? I'm asking it because it seems that somehow my script manager is blocked at boot and it doesn't autorun all scripts and I have to do it myself manually :(
[Android Software/Hacking General [Developers Only]] pikachu01:
You can do that actually by appending each script below each other. Screenstate_scaling must be the last script.

You can email the Script Manager dev by giving the logcat/demsg to him to fix it also.
[Android Software/Hacking General [Developers Only]] chasemyass:
Tyvm pika!!! I'm sure isn't from sm since it used to work until I installed a particular program that actually kills programs when I exit from them keepin' my ram clean. But you know what's really funy? When I see SM working in background/foreground even if I didn't used it since reboot and killed it after, the funny thing is that it's starting when I don't need it but at boot when I really want too. Also checked and sm suposed to run after boot but iy isn't.

I guess I'll just make one huge script with all of thunderbolt scripts with screenstate last and run that once, ty again, and keep up the good work ;)

Edit: One more question pika : When the LMK add-on gets to work? I have installed and also make it work manual with SM the 60 M LMK and look at ss:
[Android Software/Hacking General [Developers Only]] Nar4:
Cool man! Thanx for guiding!

Shure if I'll make some other versions.

What if I'll remove them all and leave Yours alone?

One script "ToRuleThemAll" ah?

:D

What would You say?
[Android Software/Hacking General [Developers Only]] oudbrood:
Lol :-)

@pika, can I use a taskkiller with thunderbolt?
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm open to anything :)
[Android Software/Hacking General [Developers Only]] pikachu01:
:eek:

*sadpanda*
[Android Software/Hacking General [Developers Only]] chasemyass:
sorry for being noob at this and I don`t use autokillers :( but anyway thanx for your teaching lessons ;) and I will stop use them now...
[Android Software/Hacking General [Developers Only]] nikagl:
what's a task killer? LOL!!!
[Android Software/Hacking General [Developers Only]] Dutch.ly:
Can we please stop quoting endless posts full of nonsense.. Please quote the usefull part. And yes task killers are bad and useless.
[Android Software/Hacking General [Developers Only]] Nar4:
Yeah! That's great but what about my question? I mean "...to rule'em all";)
[Android Software/Hacking General [Developers Only]] suprstar29:
Trying when I get home
[Android Software/Hacking General [Developers Only]] Nar4:
May be I'll be quicker and try it first.

Dout though
[Android Software/Hacking General [Developers Only]] kangshoo:
Hey pika

I also find the game is lag , max 50fps when i used consertive mode

i think maybe something wrong with the governor
[Android Software/Hacking General [Developers Only]] pikachu01:
Too similar to Siyah's tagline :P

Let me know how well it works for you guys :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. Bad idea to use task killers. LMK itself is good enough for the most part. Use them well :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Don't use conservative. Use ondemand instead.
[Android Software/Hacking General [Developers Only]] Nar4:
Sorry I dont'get it. What do You mean?
[Android Software/Hacking General [Developers Only]] fadzlihellmuth:
Unless your phone is still donut version you might use those task killer :p since after froyo task killer is not needed. What's the point of having LMK script then?

@pika, since i9001 can't fully use the bolt_siyah script, can i just use the deep sleep level in the bolt_siyah itself by deleting some scripts in it? and another thing, is it regarding of the kernel that the sched_latency and sched_granularity are non existent in proc/sys/kernel? the caches are dropped but can't create those sched.
[Android Software/Hacking General [Developers Only]] chasemyass:
Can you please have a look at this link https://www.youtube.com/watch?v=HRVScLOI4bU&feature=youtube_gdata_player

After I applied the graphic add-on this is how my screen flicks and I was holding my finger in one place, not shaking it :(
[Android Software/Hacking General [Developers Only]] kubson1999:
ThunderBolt-CWM bin files addon v1.1.2.zip

ThunderBolt-CWM libsqlite addon v1.0.2.zip

ThunderBolt-CWM 80MB LMK Others addon v1.0.5.zip

What gives these files? It should be installed?

Wysłane z mojego GT-I9001
[Android Software/Hacking General [Developers Only]] botac_6:
been using your tweaks script for almost 2 days...

so far so good... =) i can multitasking without problem, the speed is good. but sometimes it feels like lag but not so much.

thanks for your hard work.

i'll continue observe it for another weeks... =)
[Android Software/Hacking General [Developers Only]] mcmb03:
Thanks for the update!!

Sent from my GT-P7510 Galaxy Tab 10.1
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, you can just delete the lines where it is not applicable (though, just leaving it as it is does no harm).

Your kernel developer needs to enable the kernel_debug feature in their make config to enable scheduler tuning.

The graphics addon behaves strangely on some phones (and correctly on some). My advice for you is to remove it. I've already noted this peculiarity in the first post.

Already answered you on the i9000 thread :)
[Android Software/Hacking General [Developers Only]] pikachu01:
In the SGSII forum, there's already a Siyah kernel using that tagline itself. :)

Good to know :)
[Android Software/Hacking General [Developers Only]] pikachu01:
No prob. :)
[Android Software/Hacking General [Developers Only]] Crimsonthunder:
Nice to see you here pikachu01! Will try it now.
[Android Software/Hacking General [Developers Only]] XanSama:
Just a note for everyone that if you're not running busybox 1.19.3-cm9 or 1.19.4-cm9 ThunderBolt! may not act as expected on the Nexus.

Download: busybox-1.19.4-CM9_CWM.zip
[Android Software/Hacking General [Developers Only]] pikachu01:
Let me know how it works out for you.

I'll put that quote on the first post :)

Thanks!
[Android Software/Hacking General [Developers Only]] alvespt:
hi there, i use the [ROM] Android Revolution HD™ 2.1.5, does this work with it?

thanks!
[Android Software/Hacking General [Developers Only]] Crimsonthunder:
ok booted fine will test everything over the day.
[Android Software/Hacking General [Developers Only]] clepsy:
Thanks for sharing, flashed over AOSP 4.03 (manhattan ic112) with no problem both busy box and script, more over time :)
[Android Software/Hacking General [Developers Only]] San.Dip:
Thinderbolt Script

I am on stock deodexed DDKP3+UC9 and been using your scripts for few days now. The phone is smoother and faster as compared to all the roms I had used prevoiusly (Stock as well Custom). The quadrant and free ram statistics are in the snapshots. Thanks a lot for the work done.
[Android Software/Hacking General [Developers Only]] oudbrood:
Hi,

Is it possible to only flash LMK60?

Oke....I can flash it :-), but is it working then?
[Android Software/Hacking General [Developers Only]] pikachu01:
It should work :)

Be sure to read the original thread before proceeding.

Cool. Let me know how it goes :)

Also, not sure who was it that voted the thread 1 star. Please let me know of your problems. If you didn't have a problem with it, please don't vote my thread 1 star because of your personal vendetta etc.
[Android Software/Hacking General [Developers Only]] Crimsonthunder:
Okay no problems so far. Everything is smooth and fast. Will give you five stars when iam back home ;-)
[Android Software/Hacking General [Developers Only]] pikachu01:
Thanks ;)

Let me know if you have any issues.
[Android Software/Hacking General [Developers Only]] @ndroid76:
EDIT : I will try CM9 Busybox => Same results ....

No problem at the installation but I have made some test and it seems it doesn't work. I have mounted /data, /system at the install and copy sd files manually.

My config is Rom Android Revolution HD 2.1.5 with stock kernel (superboot r4 from Paul O'Brien )

Here is the copy of the terminal window

root@android:/ # sysctl -a | grep vm

sysctl -a | grep vm

sysctl: error reading key 'vm.compact_memory': 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 = 5

vm.dirty_background_bytes = 0

vm.dirty_ratio = 20

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 32

vm.drop_caches = 0

vm.extfrag_threshold = 500

vm.min_free_kbytes = 1442

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

vm.stat_interval = 1

vm.mmap_min_addr = 4096

vm.highmem_is_dirtyable = 0

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

root@android:/ # cd system/etc/init.d

cd system/etc/init.d

root@android:/system/etc/init.d # ls

ls

93zipalign

99complete

S70darky_zipalign

S98CFS

S98bolt_siyah

S98system_tweak

s78enable_touchscreen_1

root@android:/system/etc/init.d # getprop | grep ADJ

getprop | grep ADJ

1|root@android:/system/etc/init.d #

Anyway thanks for your hard work and I hope you can fix it =)
[Android Software/Hacking General [Developers Only]] BackDaws:
ok im using latest thunderbolt and its running great bar 1 small problem, some of my

games are choppy mainly Asphalt 6, its choppy under Adrenaline Shot V13 and

Thunderbolt 2.5.1. but on stock kernel with Galaxy i8150 drivers it runs perfect.
[Android Software/Hacking General [Developers Only]] Dutch.ly:
Pikachu is it possible to cook the LMK script, there aint a data folder when cooking.
[Android Software/Hacking General [Developers Only]] chasemyass:
What rom/kernel are you using? It runs smooth on my stock rooted/deodexed/zipaligned xpq1 with cranium rc6 kernel even at 1ghz. Beside thunderbolt I'm using chainfire3D beta drivers too ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
It's working :)

Check free RAM. It'll always hover from 50-60MB.

Are you using the graphics addon? Don't use it?

Don't understand what you're saying here.
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you try stericson's busybox installer? He just updated it for Galaxy Nexus.
[Android Software/Hacking General [Developers Only]] Dutch.ly:
He he i meant, when i am building a ROM in the kitchen is there any way to let the LMK script start trough only /system/etc/init.d and not /data or any other partition?
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh. You can actually can do that by echoing the entire script from init.d. i.e.

touch /data/local.prop
echo "<INSERT_CODE_HERE>" >> /data/local.prop
echo "<INSERT_MORE_CODE_HERE>" >> /data/local.prop

You can actually include the /data/local.prop inside your CWM zip too (when building a ROM without problems).
[Android Software/Hacking General [Developers Only]] nail16:
Hey man my games lag when i use thunderbolt 2.5 before they used to run perfectly. is it because of the 60mb LMK addon??

cause i'm using broodrom rc3 r2 and its included with thunderbolt 2.5.
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you delete the graphics addon script (s98graphics) and try again? The graphics addon sometimes leads to unpredictable graphics performance issues.
[Android Software/Hacking General [Developers Only]] BackDaws:
im using Broodrom RC3 R2 with Thunderbolt 2.5.1

all i did was install the rom then Mount i9001 and ran the Sqlite_optimize.

im not sure what you mean by Graphics addon, ive not added anything :(
[Android Software/Hacking General [Developers Only]] pikachu01:
The ROM chef probably added the graphics addon too. So go to /etc/init.d and delete the s98graphics file. :)
[Android Software/Hacking General [Developers Only]] BackDaws:
thank you :0)

---------- Post added at 03:24 PM ---------- Previous post was at 03:21 PM ----------

in init.d ive got s98bolt_siyah

s98CFS

s98system_tweak

no other s98 files.
[Android Software/Hacking General [Developers Only]] pikachu01:
Try installing the screenstate_scaling addon, the libsqlite addon as well as the LMK addon?
[Android Software/Hacking General [Developers Only]] BackDaws:
Sorry for being a n00b but 1 how do i install them and 2 which LMK should i use ?

Edit: ok i see they are CWM files thats easy enough, once installed do i have to run them using scriptmanager ? so is it a case of SU and click run ?
[Android Software/Hacking General [Developers Only]] nail16:
but i don't have any graphic addon installed,only addon installed is the 60 LMK addon included in broodrom rc3.
[Android Software/Hacking General [Developers Only]] Dutch.ly:
Pikachu if i want to run S98system_tweak on bootup trough init.d without script manager, the only thing i have to put in Init.rc is:

# Compcache - handle at boot

service script /system/etc/init.d/S98system_tweak

Oneshot

Is that correct? Since tweaks get reverted at boot-up right?
[Android Software/Hacking General [Developers Only]] @ndroid76:
It works now thanks :D ! With latest Stericson's Busybox

D:\SDK\platform-tools>adb shell

root@android:/ # sysctl -a | grep vm

sysctl -a | grep vm

vm.overcommit_memory = 1

vm.panic_on_oom = 0

sysctl: error reading key 'vm.compact_memory': Permission denied

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

vm.lowmem_reserve_ratio = 32 32

vm.drop_caches = 3

vm.extfrag_threshold = 500

vm.min_free_kbytes = 4096

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.stat_interval = 1

vm.mmap_min_addr = 4096

vm.highmem_is_dirtyable = 0

vm.scan_unevictable_pages = 0
[Android Software/Hacking General [Developers Only]] slaid480:
@Pikachu01: is you're LMK optimized for Galaxy S I9000 Witch Has 3xx MB of RAM user avaible,Because with My SL(485MB of RAM)While testing you're script without MY lagFree I feel Lags in Heavy Usage(wifi+3d Games)
[Android Software/Hacking General [Developers Only]] Nar4:
Yeah ... Funny :-D

Have 1more question. Do I need to use S98bolt_siyah on my device?

(It's I9003 for the case U forget)

kidding
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, they are CWM files. Don't need to run it using Script Manager. Just install. Try the 50 or 60MB LMK :)

It seems that a lot of broodrom users are facing lags. Maybe its a general ROM issue?

Umm, usually the init.rc calls a script that runs every script in the init.d. Isn't that how it usually is?
[Android Software/Hacking General [Developers Only]] pikachu01:
LMK is optimized for all devices actually. Doesn't matter if its 300MB or 1GB of RAM.

Also, you don't really want me to get started on the LMK in lagFree. The LMK in lagFree is kanged from Juwe's which is actually based on tuning the Linux LMK, while ignoring the Dalvik LMK.

Read my sig "Android Optimization Tips" to know more about how the proper way for it is done :)

Nope. bolt_siyah is only for SGSII :)
[Android Software/Hacking General [Developers Only]] XanSama:
Hey Pika,

There seems to be something in the system_tweak file that is breaking my shutdown/reboot options. Without TB my phone shutsdown/reboots/reboots to recovery with no issues, but with the system_tweak it will pop up and say "Shutting down..." and then lock up so I have to pop the battery.

I just gave it a glance over but I'm not seeing anything obvious; any idea what might be causing this?

Edit: nvm; it's "sysctl -w kernel.panic=0". Guess the reboot/shutdown code doesn't do it elegantly :P Commented out now it works fine.
[Android Software/Hacking General [Developers Only]] pikachu01:
If your kernel panics when rebooting, it's a kernel issue :/
[Android Software/Hacking General [Developers Only]] sakuhei:
I've been using TB since i9000, great to see you here now!

but how to use it in Galaxy Nexus? I just need to flash the TB 2.5.1 CWM only? do I need to use script manager to do the remount script like i9000?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah. Flash it in CWM :)

However, I don't have the mount options for Galaxy Nexus yet.

Can you help me by providing the output of this code?

mount

Paste it here :)

Thanks!
[Android Software/Hacking General [Developers Only]] Dutch.ly:
Thanks for the answers pika, with some other people's help i finally fixed it. Tho i have 1 more question, in your updater script u give permissions to each script, is that necessary? Or is giving Init.d full permission 777 enough? And which are the useful scripts for i9001? Only systemtweak and remount?
[Android Software/Hacking General [Developers Only]] @ndroid76:
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/platform/omap/omap_hsmmc.0/by-name/system /system ext4 rw,relatime,ba

rrier=1,data=ordered 0 0

/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data ext4 rw,nosuid,node

v,noatime,errors=panic,barrier=1,nomblk_io_submit,data=ordered 0 0

/dev/block/platform/omap/omap_hsmmc.0/by-name/cache /cache ext4 rw,nosuid,nodev,

noatime,errors=panic,barrier=1,nomblk_io_submit,data=ordered 0 0

/dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ext4 ro,relatime,barr

ier=1,data=ordered 0 0

/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0

/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,d

efault_permissions,allow_other 0 0

root@android:/ #
[Android Software/Hacking General [Developers Only]] Nar4:
Then I should correct my CWM-updater-file-forI9903 I think.

Gone fixing
[Android Software/Hacking General [Developers Only]] Andrew149:
this has been the best script so far its the most stable
[Android Software/Hacking General [Developers Only]] Nar4:
FIXED CWM files for I9003 moved

I have fixed ThunderBolt_v2.5.1-80MB_LMK-screenstate_for-I9003.zip according

to pikachu01's advice.

Here it is along with another one - for 40Mb LMK mod.
[Android Software/Hacking General [Developers Only]] sert00:
ehi OP...i've a question..this scripts tweaks can in some way interferes with kernel's tweaks or rom's tweaks,or it's ok with all rom and kernels?because i red in changelog that had options that i red also on some kernels changelog (fsync ad exemple..):confused:

thanks in advance,and keep up the good work!
[Android Software/Hacking General [Developers Only]] BackDaws:
i still get awful lag in Asphalt 6.

Setup is as-

Thunderbolt 2.5.1

screenstate_scaling addon

libsqlite addon

60mb LMK addon.

if i remove Thunderbolt Asphalt 6 runs flawlessly.

please Help :(
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm paranoid :P

I give permissin to each script and the init.d

All of them except for bolt_siyah/touchscreen and remount that is not i9001 related.
[Android Software/Hacking General [Developers Only]] pikachu01:
Try the 80MB LMK addon. Not sure where the lag comes from. A few months back, I tried Asphalt 6 as well without problems :/

Also try removing each addon until you hit the problem. I'll need more info to nail this problem.

Appreciate your help in this :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Thanks for the comment :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Cool :) 10 chars.
[Android Software/Hacking General [Developers Only]] pikachu01:
Let me create a remount script and upload it with a new version soon :)

The script tweaks will override (or complement) whatevers in the kernel/ROM. However, you should remove ROM tweaks as they can sometimes interfere with ThunderBolT!.
[Android Software/Hacking General [Developers Only]] broodplank1337:
you could also try the new Universal Adreanaline Shot 14

http://xdaforums.com/showthread.php?t=1236779
[Android Software/Hacking General [Developers Only]] BackDaws:
Hmmmm i went into recovery and mounted system, data and sd card then cleared Dalvik cache then wiped cache partition and then fixed permissions.

rebooted and played Asphalt and it ran perfect :)

im a happy bunny and everything is running sweet so far :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Not this again >.<

I've wrote many a times that USAS is based on kanging multiple scripts without any research whatsoever. The values used in the scripts are not sane. One example is the LMK. The Linux LMK is tweaked but the Dalvik ones are not. You'll get a mismatch that will rear its ugly head once your phone have an uptime of more than a day or two.

Might be the fixed permissions that fixed it. As some scripts might not be running (and doing that makes it run like how it should be).
[Android Software/Hacking General [Developers Only]] broodplank1337:
I don't really know what are decent values so I believe you :). btw pika do you think it might be possible to put all thunderbolt scripts in /system? (LMK60/v6 Supercharger and bolt_scripts)

Of course there is a reference to /sdcard and /data somewhere, but can I change it? and if I can't please explain why that is.

Thanks in advance :)
[Android Software/Hacking General [Developers Only]] pikachu01:
I have a guide in my sig: Android Optimization Tips.

In there, it also describes my motivation of how/why I used values that are currently in ThunderBolt!.

It is actually possible to place the LMK in the /system (but I need to revamp the whole script).

However, I can't place the remount scripts in /system as different phones have different mount options (which I can't mess up if I want to maintain 1 CWM zip for almost 13 types of phones).

Also, I can't include sqlite_optimize as its a long running script that can slow down boot time.
[Android Software/Hacking General [Developers Only]] broodplank1337:
Ok thanks for the info :), I will keep it they way it's meant to be then ^^
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll probably place the LMK onto the /etc/init.d though. 1 less partition to mount :)
[Android Software/Hacking General [Developers Only]] broodplank1337:
Good news :D, idd 1 less partition to mount ;)
[Android Software/Hacking General [Developers Only]] Dutch.ly:
Where do i put the bolt scripts to run at boot, is that possible? Or aint that neccesary and are all the scripts inside init.d?
[Android Software/Hacking General [Developers Only]] pikachu01:
You use Script Manager :)
[Android Software/Hacking General [Developers Only]] Dutch.ly:
Bad pikachu!

I want everything automated in my Rom for i9001

So i can put all stuff inside init.d / xbin / bin / data / lib etc but it should all run automatically without script manager. Is that possible and which are the obsolete scripts i can delete (no use for i9001)?
[Android Software/Hacking General [Developers Only]] broodplank1337:
Mate believe me I've tried so many ways of fully integrating Thunderbolt with only using the /system partition (odin), I think it cannot be done successfully. So i've come up with my "first run setup" tool which flashes directly to your phone.

I wanna test if it's possible to flash /data and/or /sdcard with odin. I think editing the ariesVE.ops file and making the actual partitions can work out maybe. I'm not sure tho.