yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] kotaxor:
Hah...finally LMK for my ICS S2...after flashing, reboot twice?

Doesn't matter, can reboot three times also..lol.

Yup, amendment was done to the build.prop files.

Maybe you could explain LMK more in details, such as ....Mult-tasking which one to use or Balance usage, which one to use.....High Performance, which one to use.

Would much appreciate..and thank you very much.
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know :)

Try the 60MB one. It's the most balanced one. The higher it is, the more performance centric it is (less multitasking centric).

Cool. I'll be monitoring the Boeffla thread ;)

I'll need to update the CFS script to check whether sched_features is enabled in the kernel first before applying it (though if it errors out, there's no problem with it as it'll just be skipped). Ask your kernel dev to enable SCHED_DEBUG to enable the scheduler features.

The syncookies one is also the same. It doesn't have that sysctl, so it'll just be skipped.
[Android Software/Hacking General [Developers Only]] kotaxor:
Hi pikachu01,

Thanks for the info.

I have a ICS S2....guess I'll use the 60MB one..:p
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm using the 60MB one as well :)
[Android Software/Hacking General [Developers Only]] MyLifeRocks10:
Hi pikachu01,

Can u tell me which files I should use with AOKP Rom and Samsung based ROM?

Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Both are ICS?

AOKP - Only main CWM and LMK

Samsung - Only main CWM, screenstate, LMK
[Android Software/Hacking General [Developers Only]] MyLifeRocks10:
Yup both are ICS. Since I'm dual booting I think I can apply on both right?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, but screenstate_scaling only on the Samsung ROM.
[Android Software/Hacking General [Developers Only]] MyLifeRocks10:
Should I use screenstate_scaling on Samsung or AOKP? In above post u said on Samsung.
[Android Software/Hacking General [Developers Only]] pikachu01:
Edited. Only Samsung.
[Android Software/Hacking General [Developers Only]] simplyjustkids:
Eh I flash the thunderbolt scripts and my inotia 4 disappeared... Anyidea why

Edited: running stock xperia ics 4.0.3
[Android Software/Hacking General [Developers Only]] pikachu01:
Do you have a backup of it? This is the first time I've heard that apps can disappear after flashing.

Try reinstalling?
[Android Software/Hacking General [Developers Only]] octolith:
It happened to me too, not now, but a few months ago.

Edit: I don't remember what app it was.

Sent from my SGS ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
Probably due to corruption? The remount has some risks of corruption.
[Android Software/Hacking General [Developers Only]] simplyjustkids:
How about the save data of inotia is it the cache files?
[Android Software/Hacking General [Developers Only]] pikachu01:
It should be in data too.
[Android Software/Hacking General [Developers Only]] simplyjustkids:
:( I just restore to my last week data in CWM but not cache files... Thats it replay again :-(
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm not sure where Innotia stores its data. If it is store in /cache, then it's a pretty big risk as /cache could be flushed out at any time.
[Android Software/Hacking General [Developers Only]] carlos67:
Problem with main script - SmartassV2 values

Pika, I think I've got a problem. :(

I have your main Thunderbolt script running from init.d and I am using Siyah 3.2.7.2 on Default profile but with governor changed to SmartassV2 (because I like the idea of a sleep profile and don't feel confident enough yet to dabble with screenstate scaling:o). I'm

not

running bolt_Siyah script.

Looking at your script enhancements for SmartassV2 TWEAKS, it has the following lines.....

if [ -e /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq ]; then

echo "800000" > /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq;

if [ "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq`" -eq 200000 ];

then echo "200000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;

else echo "100000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;

fi;

echo "800000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_wakeup_freq;

echo "85" > /sys/devices/system/cpu/cpufreq/smartass/max_cpu_load;

echo "75" > /sys/devices/system/cpu/cpufreq/smartass/min_cpu_load;

echo "200000" > /sys/devices/system/cpu/cpufreq/smartass/ramp_down_step;

echo "0" > /sys/devices/system/cpu/cpufreq/smartass/ramp_up_step;

However, despite running this script, some of these values (bolded ones) are not being set in the files (checked using root explorer view as text).

Sleep_wakeup_freq shows 99999999

max_cpu_load shows 55

min_cpu_load shows 25

ramp_down_step shows 300000

ramp up step shows 200000

The only values that are set correctly are awake_ideal_freq and sleep_ideal_freq.

Have you any idea why only 2 of the 7 values are being set?

Thanks in advance.
[Android Software/Hacking General [Developers Only]] pikachu01:
There could be two possibilities:

1 - You have some other app/scripts that is toggling those values (SetCPU or some other apps that can tweak governor settings, or an init.d script).

2 - Your script was copied half way and it set some of the values but not all. Check the script in init.d and compare it with the one in the .zip.
[Android Software/Hacking General [Developers Only]] carlos67:
Thanks for quick reply - it seems that it's 2! I noticed that when viewing the script in root explorer, it seems to finish before getting to the SmartassV2 bit (don't know why??). Will recopy it.

By the way, Droidphile has some recommended settings for SmartassV2 for performance bias. What is your view/opinion on these?

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

echo "800000" > /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq;

echo "200000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;

echo "800000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_wakeup_freq

echo "75" > /sys/devices/system/cpu/cpufreq/smartass/max_cpu_load;

echo "45" > /sys/devices/system/cpu/cpufreq/smartass/min_cpu_load;

echo "0" > /sys/devices/system/cpu/cpufreq/smartass/ramp_up_step;

echo "0" > /sys/devices/system/cpu/cpufreq/smartass/ramp_down_step;

echo "24000" > /sys/devices/system/cpu/cpufreq/smartass/up_rate_us

echo "99000" > /sys/devices/system/cpu/cpufreq/smartass/down_rate_us

Cheers :)
[Android Software/Hacking General [Developers Only]] simplyjustkids:
App was reinstalled but after a reboot, it's gone again =( i'm gonna do a seach to see what's the problem.

EDITED: the app is still installed in the phone however just no icon are showing up...
[Android Software/Hacking General [Developers Only]] pikachu01:
It ramps up and down to the lowest just as fast. IMHO, not a good way to use SmartassV2. It means, it utilizes only two frequencies, the maximum and the minimum. And it spends a most of the time in the highs.

I think this is either caused by:

1 - Lack of disk space in /system (caused by copying ThunderBolt!)

2 - Lack of disk space in /data (also caused by copying ThunderBolt!).
[Android Software/Hacking General [Developers Only]] simplyjustkids:
I just checked both Rom memory and phone memory had more then enough space... Is only that app that's not appearing... Could one of the reason be it's not from the market? As I downloaded it somewhere else
[Android Software/Hacking General [Developers Only]] pikachu01:
It might be one if the flags Thunderbolt! sets will make the app disappear? Try reverting and see if it is fixed? Be sure to nandroid every time you make a change.
[Android Software/Hacking General [Developers Only]] simplyjustkids:
It was fine along running normal v6charger and stuff... After I try Thunderbolt through CWM, only that app went missing... App was installed but just not appearing.. I try to fix it tomorrow
[Android Software/Hacking General [Developers Only]] Konsyst:
I've just installed ThunderBolt along with the 60 LMK. The LMK is working, but my dirty_ratio and background and cache pressure aren't changed. I tried reinstalling, and nothing changed.

Using ParanoidAndroid 1.1, mounted /system beforehand and have script manager configured as needed.
[Android Software/Hacking General [Developers Only]] pikachu01:
ParanoidAndroid has its own scripts to set ratios and cache_pressure. You should load the system_tweak in Script Manager as well if you want to override it.
[Android Software/Hacking General [Developers Only]] carlos67:
One final thing Pika,

In your main script, you have included the remount bit.....

# Remount all partitions with noatime

for k in $(busybox mount | grep relatime | cut -d " " -f3);

do

#sync;

busybox mount -o remount,noatime $k;

done;

However, I recall you said that this is reverted to default relatime after the OS has finished loading. Can I ask why this is included in main script if it gets overridden once Android has finished loading. Isn't this why you suggested manually running this script after the OS has finished loading?

Thanks for your generous help :)
[Android Software/Hacking General [Developers Only]] Konsyst:
Thanks! Would you recommend I leave the default PA settings? Or would these be an improvement in any case?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, though, I have included only the important bits in remount which is the /data and the /cache which is the main point of contention that needs the noatime.

I think it's an oversight on my part. I would need to move that to the remount script. Thanks for the heads up. Expect an update soon to correct this.
[Android Software/Hacking General [Developers Only]] pikachu01:
I would suggest to use ThunderBolt!'s to override PA's, since the whole package is already been tweaked to ThunderBolt!'s except for the ratio/cache_pressure.
[Android Software/Hacking General [Developers Only]] octolith:
Hey are you on ics? Then the app might have disappeared, because it's installed on your sdcard, not phone memory. Move it to phone memory in application settings, reboot, and it should appear.

Sent from my SGS ;)
[Android Software/Hacking General [Developers Only]] simplyjustkids:
Thanks I give it a try later
[Android Software/Hacking General [Developers Only]] droidphile:
Ofcourse it does. And i have that specific settings as performance tweaks in the thread, not battery :) Battery is different. Also, the title is "sample tweaks" not "real tweaks".
[Android Software/Hacking General [Developers Only]] sharp87:
is it posssible to use both v6 supercharger and thunderbolt script at the same time....i mean the LMK in both scipts causes trouble ?
[Android Software/Hacking General [Developers Only]] xXCorleoneXx:
Either Thunderbolt or V6 SuperCharger LMK!

Otherwise you can use all scripts
[Android Software/Hacking General [Developers Only]] snapx:
Hi Pika, I have a question, how do I install the old LMK addon in a ROM JVU? Thank you.
[Android Software/Hacking General [Developers Only]] snapx:
Another question, which is s91ecn and S98TCPbuffers. Thanks again.
[Android Software/Hacking General [Developers Only]] snapx:
sorry, I have solved my previous problems :)
[Android Software/Hacking General [Developers Only]] Mopral:
Which parts of TB could be use safely on GT-I9300?
[Android Software/Hacking General [Developers Only]] Diliban:
Please allow me to use thunderbolt scripts... :)

Hi pikachu01,

I would like to include your thunderbolt scripts into my custom rom which I am making for I9100 (SGS II). I am not going to change/modify anything from your script and going to use it as it is.

I will link this thread on my custom rom thread.

Thanks,
[Android Software/Hacking General [Developers Only]] pikachu01:
The same way?

The new LMK addon supports JVU as well :)

TCPbuffers are TCP tweaks. You can try to run it to see if it improves throughput

Explicit Congestion Notification (ECN) needs to disabled sometimes if your network connectivity is spotty. Hence it depends whether you need it or not.

Main script, LMK and screenstate_scaling. Nandroid backup beforehand!

Yes you may :) Please post a link here as well!
[Android Software/Hacking General [Developers Only]] alkhafaf:
The CWM file already got LMK

Do I need to install the LMK addon too?

thanks alot
[Android Software/Hacking General [Developers Only]] pikachu01:
Which CWM file? Only the addon LMK has the LMK configurations.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Sorry that I didn't make it clear.

I meant that when I installed your script (the main cwm file thunderbolt script 2.7.6 cwm) and then i looked in the init.d folder, I saw the 80 mb LMK already there. I didn't install the addon. Do I need to install it?? or it's just useful in case to change the lmk size ( 40, 50, 60, and 80) ?

Thanks alot
[Android Software/Hacking General [Developers Only]] pikachu01:
I don't see the 80MB LMK in the 2.7.6 zip file. In the init.d, there's just the S98system_tweak file.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Maybe cuz they were r already exist In my rom ( GamerzRom by Boragkon)

I thought when I install your script, the init.d is cleaned first

Btw there r too many scripts in my init.d, and I just installed the main cwm.
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, you should at best clean out your init.d before installing ThunderBolt! to get the best experience.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Aha, but why when I flashed your script, it was written in the installation that the init.d is cleaned?

Abd just want to show u my init.d an d if these scripts are ok and don't cause any problem:

View attachment 1133145

And if anything is removed of scripts when I installed yours, can u tell me which one? Cuz I didn't see this ROM original scripts before I installed yours

Much appreciated abd thanx
[Android Software/Hacking General [Developers Only]] pikachu01:
It is cleaned out of all the known scripts. If the script is not known, then it won't (I don't want to take a chance of deleting stuff that is essential for boot up).

The gaming tweak, I'm not sure what it is for, can you upload it here? :)
[Android Software/Hacking General [Developers Only]] alkhafaf:
Aha, That's cool then.

About the GamingTweak, it looks that it is a script made by Boragkon, as he said he that put his own script on his ROM.

I think that I should take permission from him to publish his script, shouldn't I ? :)
[Android Software/Hacking General [Developers Only]] pikachu01:
I could download his ROM and get the script, or I can ask it from you. :/

Which is easier?

Is not publishing per se when his ROM is already published? I just want to see if anything is conflicting with ThunderBolt! and give you advice. If you want to analyze it yourself and be done with it, I have no qualms.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Sorry bro. I didn't mean that.

I thought that u will put his script in your main post.. whatever :D.. sorry for misunderstanding.

Actually I don't know how to share it :D....
[Android Software/Hacking General [Developers Only]] pikachu01:
There are quite a lot of scripts out there, I don't think I want to mesh everything together and call it a script pack and let people install it. Doing that would be crazy! /sarcasm

Jokes aside ;)

Just "Post Reply" in the thread then use the upload feature.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Lol

sorry bro, I hope u can excuse me, cuz I am still new to the (scripts scene) :)

I've uploaded the script in the attachments..
[Android Software/Hacking General [Developers Only]] pikachu01:
It's actually the CFS script. Exact same one. Hence it's compatible.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Waaaaw man

that was sooo fast. You are just amazing dude.

thank you so much for your help and your fast replies.

sorry If I asked too much, but I am just curious :D

you said its the exact CFS script, but u got many CFS scripts.

Can u tell me which one of them?

Thanks alot bro.
[Android Software/Hacking General [Developers Only]] pikachu01:
The default one. S98CFS.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Great..Thanks again :)

---------- Post added at 05:42 PM ---------- Previous post was at 05:29 PM ----------

I actually was checking and comparing, they r the same except there is an extra line

in the GamingTweak script.

#echo 11 > /sys/devices/cpu/cpu0/cpufreq/ondemand/up_treshold;

What will this do ?

I mean no harm, huh?
[Android Software/Hacking General [Developers Only]] pikachu01:
The line is commented out. It does nothing.
[Android Software/Hacking General [Developers Only]] alkhafaf:
k, thanks again :)
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Added I9300 remount script. (Sorry for being late on this, slipped my mind). Moved noatime mount procedure to remount scripts. Also fixed typo on screenstate_scaling (Thanks to Tungstwenty).

Changelog:

6/17/2012 (2.7.7, screenstate_scaling 2.02)

- Added I9300 Samsung Galaxy SIII remount script

- Moved noatime remount procedure to the remount scripts

- Fixed a minor typo in screenstate_scaling script (Thanks Tungstwenty).
[Android Software/Hacking General [Developers Only]] Mopral:
Just try main+LMK+screenstate on my GT-I9300

small error with remount script. Are they important?
[Android Software/Hacking General [Developers Only]] kotaxor:
Thanks bro, for the updated script.
[Android Software/Hacking General [Developers Only]] pikachu01:
Just that the mount point can't be remounted. No worries there.
[Android Software/Hacking General [Developers Only]] Steven6489:
Hi, I'm using 2.7.6 with Siyah 3.3.2 in my Galaxy S2..should I upgrade to 2.7.7? will it make any different? If yes, can I just flash on top of it directly? ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
You can just flash directly on top of it.

All were minor changes, refer to the changelog to know more.
[Android Software/Hacking General [Developers Only]] Steven6489:
Ok..thanks ;)
[Android Software/Hacking General [Developers Only]] Neodymium:
Nice bro, good work:)
[Android Software/Hacking General [Developers Only]] arcane spade:
Anybody try this on an lg revolution
[Android Software/Hacking General [Developers Only]] pikachu01:
I think somebody did try this before on LG revolution and it worked without problems. Be sure to have a nandroid backup before trying :)
[Android Software/Hacking General [Developers Only]] :
Installing the LMK zip right after a Wipe data can cause some issues. Here it didn't even boot. Got Samsung's logo freezed.
[Android Software/Hacking General [Developers Only]] pikachu01:
It might be attributed to the editing of the build.prop. Either the act of editing corrupted the build.prop or something happened to build.prop after the wipe that made the editing fail? Hard to debug this as it's almost always something that prevents the edit (maybe a busybox issue?)
[Android Software/Hacking General [Developers Only]] :
I don't think it's build.prop corruption or busybox issues. What the system does with the build.prop after wipping data? Maybe this edition of the build.prop by the init.d script conflicted with a read action. I would do this: on the update-script of the zip, I would include a line to execute the init.d script. Like this: run_program("/system/etc/init.d/S91SuperCharger");. I think it would be much easier, so it wouldn't need two reboots to get it applied.
[Android Software/Hacking General [Developers Only]] pikachu01:
The reboot is not for the S91SuperCharger to take effect. It's for the Android init to read the build.prop. There's nothing that could trigger that from init.rc.
[Android Software/Hacking General [Developers Only]] :
Right, but executing the S91SuperCharger on the update-script would make the build.prop the changes, so the system will boot already loading the new settings. I included this line and I had no problem after a wipe data. I really don't know what could make the boot freeze. I don't really know much about those booting steps, but I tought about it [forgive me if it's stupid]: can a line of this script be not recongnized because it needs to be run from a pre-built /data? Something like a database of commands?
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh. I get what you mean now. I'm not familiar with the boot steps as well. If that resolves the problem you're having, I'll make the change in the next version.

Thanks :)
[Android Software/Hacking General [Developers Only]] :
Hehe. Try it first. I think it won't just resolve the problem, but also make things easier, like don't need to reboot twice. If I have ideas, I will post here. Thanks for the great work.
[Android Software/Hacking General [Developers Only]] xquartzite:
Question

Hello pikachu01

I have question:confused:

1.How to use ThunderBolt! in galaxy nexus gsm?

2.What file I can install?

3.Why is not have remount galaxy nexus?

4.What file I can use with script manager?

Thankyou:)

sorry I'm not good at English
[Android Software/Hacking General [Developers Only]] pikachu01:
1. Same as all the other phones. :)

2. Main cwm, LMK, screen state scaling ( screen state scaling might not work, not tested)

3. You need to provide the output for:

mount

On terminal emulator. I'll make it :)

4. Refer to 2nd post. Should be able to use Zipalign, sqlite optimize and cfs.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Hello pika.

Which scripts do u advice me to use from your scripts for gs i9100, ics with siyah kernel latest version.
[Android Software/Hacking General [Developers Only]] pikachu01:
Oops, mistakenly thanked you while pressing quote. D'oh.

The scripts you can use are:

- sqlite_optimize

- zipalign

- CFS
[Android Software/Hacking General [Developers Only]] Keff91:
Hi pika, I'm using sgw I8150 and which file should be flashed..? itz the same as other phones..? And also what lmk better use to make my game and apks run without lag at all..Thx
[Android Software/Hacking General [Developers Only]] pikachu01:
Should be the same. Gingerbread right?

You should opt for 50MB or 60MB LMK.
[Android Software/Hacking General [Developers Only]] Keff91:
Yeah, stock gb! Thats mean I jus need to flash cwm, bin file, sqlite and lmk also rite.. then hw about screenstate scaling..?

Thx for ur quick reply :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes. That will work too. Be sure to have a nandroid backup.
[Android Software/Hacking General [Developers Only]] Keff91:
can u make remount script for sgw also, thought it will increase performance alot as u mention in the first post.. :D
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll need the output for:

mount

in Terminal Emulator :)
[Android Software/Hacking General [Developers Only]] RaymondPJR:
I haven't been in here for a while and these two have me a little confused. The first statement used to say only the main CWM was compatible for ICS, period. Based on what I knew before, how I translate what you have there now is that the first refers to ICS that is non-mui, ASOP, AKOP etc. But does that mean that we can now use more than just the main CWM on ASOP, AKOP, etc?:confused:
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. The LMK addon. I made it to be compatible :)
[Android Software/Hacking General [Developers Only]] ganick:
I am using your script with LMK and screenstate_scaling addon.

I have a question, can I still use apps like RAM Manager or SetCPU??