yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] :
Alright solved ;) thank you very much!

Only problem I see is that now the phone lags a little (stutter) when scrolling long tapatalk pages (such as your op!) or long rss list. It's not much and then it goes away but before it didn't do this. Using speedmod kernel btw.

Sent from my SGS2 - Checkrom Revo 4 | Speedmod k18 | Vertumus ICS Theme |
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, I haven't got the chance to optimize it fully for the SGSII yet. Since I've only gotten it a few days ago. Expect it to be better in a few iterations :)
[Android Software/Hacking General [Developers Only]] :
Very good mate, can't wait to see what you will come up with ;)

Please don't forget a restore package in first post specific for s2, when you'll have time ;)

Sent from my SGS2 - Checkrom Revo 4 | Speedmod k18 | Vertumus ICS Theme |
[Android Software/Hacking General [Developers Only]] snoopdaclown:
OK cool. Is yours the skyrocket? I usually check the sizes to make sure they took. I have it running with some other ram hack that's better then juwes and darky ram hack and phone runs smooth and quick. Have no complaints. Thanks for all the work you do with everything..

I flashed 2.2.0 and its shoes cfs not cfsk like you said you had to switch it to. Dont know if its just a name thing that messed up.

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] pikachu01:
You should not use other RAM hack scripts with ThunderBolt! as they will clash with it. The CFS name is correct, CFSK values were ported into the CFS file.
[Android Software/Hacking General [Developers Only]] martinomac:
ICS compatibility?

Hi Pika,

Now that ICSSGS is in RC1 (I'm running it now and its very stable and smooth) - http://xdaforums.com/showthread.php?t=1362092

Do you know if it will be compatible with Thunderbolt and what tweaks, if any are advised?

thanks!
[Android Software/Hacking General [Developers Only]] snoopdaclown:
Why will it clash? I thought that's how it was with csf

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] snoopdaclown:
Which is the right ram script to use with it?

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] rayiskon:
there is a 1996 MHz kernel in town , if u're an OC addict u can try it.. i'm satisfied with 1.4 GHz, conserving battery is my primary goal :)
[Android Software/Hacking General [Developers Only]] Vicprote5:
Can I flash this via blue CWM using MIUI rom?
[Android Software/Hacking General [Developers Only]] pikachu01:
You should only install ThunderBolt!'s own RAM addon which is the 40,50,60,80MB LMK (which tweaks the Linux and Dalvik LMKs). Juwe and other ramhacks only tweak the Linux LMKs.

Supercharger is an alternative that you can use for ThunderBolt!'s LMK.

Yes :) Please read the red bolded sentences in the original thread before doing so.
[Android Software/Hacking General [Developers Only]] pikachu01:
The main CWM should work without problems. The addons, I'm not sure.
[Android Software/Hacking General [Developers Only]] pikachu01:
Nice. 10 chars.
[Android Software/Hacking General [Developers Only]] snoopdaclown:
Which one would be the best one to use? Higher the better? And is there a sdspeed tweak? And just use thunder bolt tweaks in init.d and then flash the ram script from op?

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] pikachu01:
40MB is for multitasking and 80MB is for performance. Anything in between is a mix of both.

Yes, there's already a sdcard speed tweak inside ThunderBolt! with sane values.

Yup, just flash it with the LMK addon.
[Android Software/Hacking General [Developers Only]] snoopdaclown:
I want to use the other lmk not talon? I flashed the 60 other lmk. So that will be good for either?

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] pikachu01:
Use only the Talon LMK if you're using TalonDev kernel. Use "Others" if you're using other kernels.
[Android Software/Hacking General [Developers Only]] snoopdaclown:
OK. I'm using infusion kernel core a2 on darkyrom and is running good. So with that kernel I would use other.

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] martinomac:
That's great, I'll give the main CWM a try and report back in a day. Thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. That's right :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Cool. Let me know of your results :)
[Android Software/Hacking General [Developers Only]] snoopdaclown:
Thank you for dealing with my stupididy. Just wanted to make sure I had it set up right and want to get the most out of the init.d tweaks. Much better then the rest

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] pikachu01:
Thank you :) 10 chars.
[Android Software/Hacking General [Developers Only]] Sarius24:
Hey there I believe catys rom has this instead as installed but without the latest update would I be able to flash this in?
[Android Software/Hacking General [Developers Only]] pikachu01:
It should be able to, unless the ROM itself applies ThunderBolt! differently in the ROM.
[Android Software/Hacking General [Developers Only]] FBis251:
#!/bin/sh
mounts_barriers=`mount | grep ext4 | grep barrier`
mounts_commit=`mount | grep ext4 | grep commit`

part_barriers=`echo $mounts_barriers | grep -o '/[a-z]* type' | grep -o '/[a-z]*'`
barriers=`echo $mounts_barriers | grep -o barrier=.`

part_commit=`echo $mounts_commit | grep -o '/[a-z]* type' | grep -o '/[a-z]*'`
commit=`echo $mounts_commit | grep -o commit=..`

noatime=`echo $mounts_barriers | grep -o noatime`

echo $part_barriers
echo $barriers
echo
echo $part_barriers
echo $noatime
echo
echo $part_commit
echo $commit

Tou could add something like this to the mounts script to show what got what attributes. Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, this just formats it nicely to show the flags of each mount. If you spend some time looking at the "mount" output, it's the same thing :)
[Android Software/Hacking General [Developers Only]] FBis251:
Yup. I got tired of looking through it myself so I worked out some grep magic. :D Well I edited your script on my phone since I did have a single time that it didn't remount correctly because of how I had my phone set up, but now it's fine.

Keep up the good work!
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, what was the remount problem? Maybe I can fix it from my side.
[Android Software/Hacking General [Developers Only]] FBis251:
Nope, it was nothing wrong with your script. I don't remember exactly but I think it was because I had reverted to RFS and hadn't realized it until I checked using mount. Can't have barriers on RFS :D
[Android Software/Hacking General [Developers Only]] sid9922:
Just got a noob question..im currently on Turkbey Rom 29.5 with Siyah 2.6.1.. Can i flashed this tweaks? And what should i do after flashing it?

Thanks in advance..
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh :)

Yup, the remount script would need ext4 to work properly.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, I'll upload a new version that supports the extra features in SGSII e.g. 2 cores, bus frequency etc. I just have to test them out in my phone first :P

Will also upload SGSII restore pack soon.

Yup. Make sure you check your init.d to see if there are any clashing scripts.

Follow the instructions in the original thread. It's the same :)
[Android Software/Hacking General [Developers Only]] :
Can't wait for this mate!! ;) your work seems to be highly appreciated by some users with very high technical knowledge! Latest version and screen state scaling works really good!

Sent from my SGS2 - Checkrom Revo 4 | Speedmod k18 | Vertumus ICS Theme |
[Android Software/Hacking General [Developers Only]] snoopdaclown:
With the ram scripts that's 60 is gonna make the ram lower on Widgets letting me know what's left? Cause since I flashed that its been from the 60's through the 80's and just wanted to make sure that's OK cause usually it was between 100-120

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. That's right. The LMK is basically how much memory to leave open for other apps. Free RAM is wasted RAM.
[Android Software/Hacking General [Developers Only]] pikachu01:
Thanks :) looking forward to getting feedback for future versions too.. :)
[Android Software/Hacking General [Developers Only]] giannz:
Hi pika, thanks for ur great work :)

I've tried the graphics addon, now antutu benchmark shows me 287 for 2d and 1119 for 3d, before it was 287 and 1135 so it's the same or even a little worse.

What's supposed to do, technically, this script?

In game i see no noticeable changes, maybe some fps gain in GTA but it's just an impression :)
[Android Software/Hacking General [Developers Only]] pikachu01:
The graphics script actually does something for certain phones (which or what, I am not exactly sure). For some, it only enables some flags that are unused, hence I'm putting it as an addon.
[Android Software/Hacking General [Developers Only]] fractaline:
Do tell...... ;)

Phoned in.....
[Android Software/Hacking General [Developers Only]] snoopdaclown:
So you want the least amount free.. so that's fine the way it is. So with it like that the apps have more ram to use?

So with the 40 lmk its going to say there's more ram free to use multitasking and the higher the lmk the less free ram there is for multi tasking but there's more ram for the task you are doing? Am I correct on that? So if i use one or 2 apps at a time the 60 lmk is good for me?

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes. Least amount free while not jeopardizing system performance is the goal that we want to reach.

60MB is a good middle ground :)
[Android Software/Hacking General [Developers Only]] snoopdaclown:
OK. Cool. Just wanted to make sure that's how it is. Thanks

Sent from my Haxsung Dark Infuse 4G powered by Infusion
[Android Software/Hacking General [Developers Only]] valenti9:
pika, can u suggest which touchscreen tweak that u prefer? 1 or 2 coz i really hate the stock's? Which does u use now?
[Android Software/Hacking General [Developers Only]] pikachu01:
I use touchscreen 1.
[Android Software/Hacking General [Developers Only]] pikachu01:
No reply. LOL :P
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

Check out Diagnosis, a brand new app still in beta! http://xdaforums.com/showthread.php?t=1411074
[Android Software/Hacking General [Developers Only]] pikachu01:
That's a pretty cool app.
[Android Software/Hacking General [Developers Only]] peterpandesal06:
Can I use this in the Valhalla Final? TIA! :)
[Android Software/Hacking General [Developers Only]] albee320:
Hey pika

Did you ever get the mount output for an infuse?
[Android Software/Hacking General [Developers Only]] pikachu01:
I posted it in the OP that remounti9000 works for stock Infuse ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
Should be able to :)

Make sure to have a nandroid backup handy, just in case.
[Android Software/Hacking General [Developers Only]] fractaline:
Hey pika, I'm on icssgs now and am about to try the main cwm...

Well either of these conflict?

Also, which restore should I use if in need?

Phoned in.....
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you upload it? :)
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Updated ThunderBolt! to v2.3.0 with some minor fixes to sdcard arrangement, governor tweaks as well as support for SGSII tunables. Screenstate_scaling is given a major addition of governor tuning for lulzactive and smartassV2. Also added i9100 restore pack. These CWM zips are using the latest updater_binary that is compatible with CWM5.5. All the other older CWM zips aren't updated to that updater_binary yet. If you need the updater_binary, I've uploaded it. Just replace it in META_INF/com/google/android.

Changelog:

12/30/2011 (2.3.0, screenstate_scaling 1.4.0)

- Updated 2.3.0 with minor editiing of sdcard tweak arrangement, smartassV2 and lulzactive governor tweaking, and SGSII tunables (hotplugging, bus frequencies etc).

- Added i9100 restore pack

- Used newest updater_binary. All the older CWM zips are not using the newer binary. Just update it with the file I've uploaded in the 2nd post.

Extra note: Please remove all Siyah scripts beforehand.
[Android Software/Hacking General [Developers Only]] sam razzy:
(Noob quest) can I use this thunderbolt tweaks in ma CM Rom 7.1?
[Android Software/Hacking General [Developers Only]] interloper:
Maybe my phone is messed up but I can't see a second post. Also, it is not very clear what device this is uses for. Is it for any/all, cdma, GSM...? Maybe its me?
[Android Software/Hacking General [Developers Only]] EarlZ:
Does the screen state scaling give more priority to performance or battery life ?
[Android Software/Hacking General [Developers Only]] pikachu01:
Should be able to.

Be sure to have a nandroid backup handy, just in case :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Second post of the original thread :P

It's for any device (except the 3G tweak). It should be compatible with any device. I have this thread going on SGSII, SGS4G and 7 other devices etc with no problems whasoever.
[Android Software/Hacking General [Developers Only]] pikachu01:
It's actually both. Screen on for performance (with battery life in mind), and screen off for battery.
[Android Software/Hacking General [Developers Only]] interloper:
It was a problem with my phone. For some reason the XDA app wasn't showing me the thread, just the OP. Thanks.
[Android Software/Hacking General [Developers Only]] silver311:
owh.. so now, i dont need to edit the screenstate_scaling if i want to use Smartassv2?
[Android Software/Hacking General [Developers Only]] pikachu01:
You don't need to if you're not doing governor scaling (i.e. different governors for different screenstates). Just select it in Voltage Control.
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, I see :)
[Android Software/Hacking General [Developers Only]] valenti9:
Nice work pika. Btw, how to change the min and max freq. Can u show how to change freq. Im currently on setcpu pro n though it gets job done, i wanna free up some ram
[Android Software/Hacking General [Developers Only]] pikachu01:
Use voltage control :)
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

Just as I was getting used to not flashing a new version every other day, BAM, lol.:)
[Android Software/Hacking General [Developers Only]] jb0ne:
So has anyone running Octane 3.0 ROM tried putting this on? Does it work, and does it make any difference if so?
[Android Software/Hacking General [Developers Only]] valenti9:
as said, already have setcpu pro installed. Just wanna know how to do it by screenstate scaling
[Android Software/Hacking General [Developers Only]] kunalparwani:
Sorry for the ultra-noob question, but how do i know that it's working?
[Android Software/Hacking General [Developers Only]] EarlZ:
I updated to the latest TB, activated 60MB LMK, used the graphics tweak and the latest screen state.

I got my very first sleep of death, is there way to check if the TB scripts or whatever caused it ?
[Android Software/Hacking General [Developers Only]] pikachu01:
There's a section in the original post "How to find out if it works".

Are you UVing/OCing? Try using my method of Android Optimization Tips, CTRL-F for undervolting.
[Android Software/Hacking General [Developers Only]] pikachu01:
Heheh, LOL :P
[Android Software/Hacking General [Developers Only]] pikachu01:
Is Octane 3.0 a stock ROM? If yes, shouldn't be a problem. Make sure your /system/etc/init.d folder is clean before flashing. Nandrdoid before flashing :)
[Android Software/Hacking General [Developers Only]] pikachu01:
You can use this:

echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

without using SetCPU.
[Android Software/Hacking General [Developers Only]] EarlZ:
No OC/UV, dont need either yet.
[Android Software/Hacking General [Developers Only]] pikachu01:
I think I need to disable sampling_down_factor after all. Lemme release a new version in a few hours. Sorry about that :(
[Android Software/Hacking General [Developers Only]] EarlZ:
I'll try the new ones now, thanks for the speedy updates!
[Android Software/Hacking General [Developers Only]] edwardng:
Thunderbolt script kang cyanogenmod flashable or not

I saw "3G addon cannot be used for CM7/MIUI at the moment!"

Sorry for a noob question :confused: So, Pikachu, may i ask u can i flash this with my kang cyanogenmod build or not?

If possible how am i be able to disable the 3G addon?
[Android Software/Hacking General [Developers Only]] FBis251:
Lol. I was having that problem earlier today. Why is it complaining about my script?! The commands work well on the shell! DOS LINE ENDINGS. AAAAAAAARGH!
[Android Software/Hacking General [Developers Only]] BackDaws:
Hello mate, can i go ahead and flash this through CWM, im using stock XXKPS with FearCore recovery 1.2.

Thanks :)
[Android Software/Hacking General [Developers Only]] nemoshotyany:
What's sampling down factor? And what if our phones were fine with version 2.3? Me personally i haven't had a problem with it at all
[Android Software/Hacking General [Developers Only]] Darryl Henley:
S98system_tweak question

i was trying to learn a little bit about what these tweaks do, so i was looking at the read_ahead_kb files that are supposed to be updated and they are all showing 512. according to the script, should not these be set to 1024 or 256?

just curious.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, the CRLF for DOS doesn't work for Unix.
[Android Software/Hacking General [Developers Only]] pikachu01:
It should work without problems :) Be sure to have a nandroid backup handy, just in case.
[Android Software/Hacking General [Developers Only]] pikachu01:
sampling_down_factor will double the time spent on higher frequencies (causing instabilities sometimes).

You can edit to uncomment it, but I will focus on stability rather than performance.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm not sure. You can try flashing it. If it hangs at boot, try using the restore pack (i9000).

Are you using any app that tweaks the readahead (like Sdcard speed fix) or any script that does that?
[Android Software/Hacking General [Developers Only]] ksantoshh:
@pikachu01

Can you advise how to use your Thunderbolt settings 2.3.2 and addons with Siyah 2.6.3 through CWM flash zip or VC apps, dont want to touch the init scripts manually :confused::confused: Thanks a lot in advance !:D
[Android Software/Hacking General [Developers Only]] pikachu01:
Use both CWM flash and Voltage Control. Those are the only two you need to handle :)
[Android Software/Hacking General [Developers Only]] EarlZ:
Is it lower than stock settings?
[Android Software/Hacking General [Developers Only]] pikachu01:
Stock settings have sampling_down_factor as 1. I tweaked it to 2 in 2.3.0. I've reverted it to 2 in 2.3.1.
[Android Software/Hacking General [Developers Only]] :
Mate I still have to wait for the phone to reboot after flashing 2.30 and you already done something new? :D

Wonderful job mate, I will flash straight away newer version and report back in a few days of usage ;)

Sent from my SGS2 - Checkrom Revo 4 | Speedmod k18 | Vertumus ICS Theme |
[Android Software/Hacking General [Developers Only]] :
Mateet me ask a bunch of idiotic questions, starting from this: I. Have now 4 scripts in init.d starting with s98, is it right or should I rename them?

Second: apart from screen state scaling (Will mess and ask about it later), is there something I might be interested to modify in system tweak script, or is it a script that don't requires customization?

Thanks a lot mate :))

Sent from my SGS2 - Checkrom Revo 4 | Speedmod k18 | Vertumus ICS Theme |
[Android Software/Hacking General [Developers Only]] pikachu01:
No need to rename :)

Only the screenstate scaling needs any extra customization :)
[Android Software/Hacking General [Developers Only]] TecQuality:
sounds interesting, but i've a little Q: can we use voltage control with your scrips?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, Voltage Control doesn't clash with ThunderBolt! :)
[Android Software/Hacking General [Developers Only]] Darryl Henley:
I don't think so.
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, it should be 1024 for external sd and internal sd, while 256 for all others.

What are your paths that you said contained the 512kb readahead?
[Android Software/Hacking General [Developers Only]] BackDaws:
im just checking cos im a n00b.

anyone that knows what they are doing can you please answer this so im not wasting Pikas time thanks :)

ok i entered CWM i mounted Data, System and SDcard.

i then installed from sd card

rebooted.

Is this correct ?

Do i need to do anything else now ?

how can i check if all went well ?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, it is correct.

Check the original post with "How do I find out if it works" section.

Also, do the rest of the steps (Script Manager), it's in the original post.
[Android Software/Hacking General [Developers Only]] BackDaws:
ok thank you :)
[Android Software/Hacking General [Developers Only]] Darryl Henley:
These are the files I checked.

/sys/devices/virtual/bdi/179:0/read_ahead_kb

/sys/devices/virtual/bdi/179:8/read_ahead_kb

/sys/devices/virtual/bdi/default/read_ahead_kb

/sys/block/mmcblk0/queue/read_ahead_kb

---------- Post added at 11:12 AM ---------- Previous post was at 10:44 AM ----------

i ran the script in script manager and i think i found the problem. i don't know what to do about it.

/system/xbin/echo: not found

the /system/xbin/echo file is there and the permissions look right.
[Android Software/Hacking General [Developers Only]] pikachu01:
It's a busybox issue. Install stericson's busybox and install 1.19.x into /system/xbin.

After that, in Script Manager, go to Advanced Options and do a custom $PATH.

It should be "/system/xbin:/system/bin:/sbin:/bin".
[Android Software/Hacking General [Developers Only]] ksantoshh:
so it wont overwrite siyah init scripts ?
[Android Software/Hacking General [Developers Only]] Darryl Henley:
installed busybox and set path in script manager, problem remains.

these are the errors i am seeing.

[: not found

grep: not found

cut: not found

sysctl: not found
[Android Software/Hacking General [Developers Only]] Darryl Henley:
finally got it to work. had to install busybox to /system/bin

thanks pika
[Android Software/Hacking General [Developers Only]] sid9922:
Hi pika, im on Turkbey rom and NEAK kernel..i have this script in my init.d folder..do i need to erase rhis before i flasged thunderbolt 2.3.2?View attachment 837494
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

Off to the races!:D
[Android Software/Hacking General [Developers Only]] Xenoism:
Hey Pika! :)

Love your work!

I was wondering what cfq do you recommend? :P
[Android Software/Hacking General [Developers Only]] EarlZ:
Odd, I got the sleep of death again right after I unplugged my phone from the charger and locked it.. I wanted to make an SMS but it already shut off.. Could it be the KL7 causing this ?

Is the restore pack also updated for the KL7 firmware?
[Android Software/Hacking General [Developers Only]] pikachu01:
It won't overwrite, but it will override them. You should remove Siyah scripts just to be safe.