yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
So far there's no stock ICS kernel yet. You're using Onecosmic's or CM9? If the VM settings don't stick, it means either:

- The tunables are not coded correctly, or are hard coded.

- The init.d scripts are overriden by something else.

Either of the cases, the kernel dev needs to solve this. No problem at all for 9 different Samsung phones. I don't think it's any different for ICS.
[Android Software/Hacking General [Developers Only]] Tatsuya79:
Sorry if it's a bit out of topic, I'd like to make a readahead script for CM9 ICS.

I saw this post was linked some time ago but I'm not sure how to make a script for init.d which will do for CM9 (particular devices address? I'm not sure) this:

/system, /cache and /dbdata have readahead values of 4kb

/data and your internal and external sd cards have readahead set to 512kb
[Android Software/Hacking General [Developers Only]] ForeverSupra:
Edit: Errors.
[Android Software/Hacking General [Developers Only]] Sacob:
can we use this with OneCosmic ICS?
[Android Software/Hacking General [Developers Only]] bassie1995:
If you flashed a kernel with init.d, yes.

How you doin'? Greetings from my GT-I9000!
[Android Software/Hacking General [Developers Only]] RaymondPJR:
The main package, the LMK of your choice, and the screenstate scaling if you are not using a kernel with the didle patch. Those only!
[Android Software/Hacking General [Developers Only]] pikachu01:
You can do this:

mount

Check for the each partition's block path. From there, you can access its own /queue/read_ahead_kb :)
[Android Software/Hacking General [Developers Only]] Tatsuya79:
If I type mount I have this: /dev/block/mtdblock2 /system yaffs2 ro,relatime 0 0

but then if I want to make my script what should I type?

if [ -e /sys/block/mtdblock2/queue/read_ahead_kb ];
then
echo "4" > /sys/block/mtdblock2/queue/read_ahead_kb;
fi;

I think this is wrong..? :confused:

I don't understand how to translate the info into a command, can't find an explanation.
[Android Software/Hacking General [Developers Only]] JohnstonF:
Question

If a script is in the init.d folder does it work automatically or should it be run with script manager?
[Android Software/Hacking General [Developers Only]] folkg:
init.d scripts run automatically, so there is no need to use the script manager.
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you navigate to that folder using Root Explorer/File Expert/Root Browser and see if the file read_ahead_kb is there? :)

Yup. If your kernel supports init.d, then just use the scripts as is. Only the remount and sqlite_optimize needs Script Manager.
[Android Software/Hacking General [Developers Only]] pikachu01:
And looks like I just got shafted in a news post:

http://www.xda-developers.com/andro...on-now-available-for-att-samsung-galaxy-s-ii/

Sad panda :(
[Android Software/Hacking General [Developers Only]] Tatsuya79:
Yes it's there, I wrote this path because I saw it with rootexplorer.

But will it work this way? I see everyone is using a path through /sys/devices/virtual/bdi/

Oh well, I have no idea how those scripts work and this mess in /sys/ folder, I should stop annoying you and find more documentation or forget it. :D

Thanks for your answers.
[Android Software/Hacking General [Developers Only]] pikachu01:
The virtual/bdi paths are usually ones that are mounted with vfat (sdcard mounts). Those are the ones that needs a 512KB readahead :)
[Android Software/Hacking General [Developers Only]] ZaneZam:
Yeah, you would rather deserve this news post but don't be sad pikachu01, we all know by whom the real effort lay and that is only by you my friend! ;)
[Android Software/Hacking General [Developers Only]] el_tute:
Hi Pikachu,

Do you know if is a way to make a script for CWM that moves all files in etc/init.d to somewhere in the internal or external SD.

The reason of this script is if I o someone else forgot to move the scripts from init.d before flashing new kernel or new version of same kernel, or if is a settings script, like UV and the phone doesn't boot, with a simple file .zip in recovery someone could move the files and then reboot the phone without any problems.

Later, manually we could send back the scripts to init.d folder.

Is this possible?? I don't know anything of scripting

Many Thanks!!!
[Android Software/Hacking General [Developers Only]] pikachu01:
You can do the same thing by using the recovery pack. :)

Recovery pack deletes the scripts though.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Indeed.

It's kinda annoying how some people, not all, will post my stuff at their site or make a youtube video and ask for donations... WTF man...
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah. I know that feeling :/
[Android Software/Hacking General [Developers Only]] CuriousTech:
What's worse is it's butchered! Copying .txt files, putting UV settings in a file that can't be changed by Voltage Control and would override it, etc.

Your work deserves the news article more since it works with that same phone and is more compatible.

Just sayin'
[Android Software/Hacking General [Developers Only]] KMino:
Shocked :-(

Should have just linked here! Latest updates are here and it its still XDA...

Pika needs some time with Foxxy! (Drawn Together)
[Android Software/Hacking General [Developers Only]] mekhonte:
What LMK do you suggest for i9100?

+siyah kernel 2.6.11

Currently I'm using 60 mg
[Android Software/Hacking General [Developers Only]] pikachu01:
Foxxy who?

I'm using 80MB :)
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

That post really should have given credit to the original source of the tweaks. I looked at his XDA thread and at least he gives you credit there.
[Android Software/Hacking General [Developers Only]] likiud:
Is it safe to put uv settings from voltage control to init.d script without interfering with the tb scripts?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, it's safe :)

But using Voltage Control does the same thing too (with an interface). There's no difference doing it manually or automatically (with Voltage Control).
[Android Software/Hacking General [Developers Only]] mekhonte:
In the extreme version of voltage control you can choose boot settings as init.d or a start up service.
[Android Software/Hacking General [Developers Only]] marcosxd:
Just a small question, I've been looking around, these scripts do wonders in my SG2 but I was wondering if I can use them as is in a HTC HD2?

Please reply, thanks.
[Android Software/Hacking General [Developers Only]] Tatsuya79:
Apparently he did not! :p

I'm still searching for a solution...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
The newest 99supercharger should do it.

If not, the next one will ;)
[Android Software/Hacking General [Developers Only]] Tatsuya79:
Thanks, trying it!

(and I didn't want to mess my CM9 install with stuff I didn't understand, now I'm watching a script turning everything inside out lol)
[Android Software/Hacking General [Developers Only]] marcosxd:
Hi, me again haha still waiting for an answer in my above question.

I have another though, lately I can't download / update some apps from the Market and I get the "your device is not compatible with this item", just happened with Go Launcher EX which I have installed and updated from the market in the past, it is most likely not TB's scripts fault but still if someone knows how to solve it?

I am using Siyah 2.6.11 and CheckROM HD V4 in my SG2 i9100.

Thanks!

EDIT: Btw I am using nitrality to change the density to 200 but still this problem exists if I reset it back to 240.
[Android Software/Hacking General [Developers Only]] pikachu01:
It might work if your HTC HD2 isn't NAND locked. Be sure to have a nandroid backup as most of the addon won't work (the bin files, libsqlite wouldn't work I guess). The main CWM and LMK could work. The screenstate_scaling could work too.

Good to know zeppelinrox ;)

You changed the density. That's the reason. You have to restart or wait until your phone syncs with your google account and update the pixel density for it. Check back later.
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Updated ThunderBolt! to v2.4 and screenstate_scaling 1.5 with the zipalign script routing APKs to /data/local instead of /sdcard as well as more sane sample rates for awake/sleeping profiles for each governor. Updated 2.4.1 with tcp_syncookies changed to false (though most kernels won't support it anyways). Also cleaned up the comments a bit.

Changelog:

2/3/2012 (2.4.1 and screenstate_scaling 1.5.1)

- Mostly comment cleaning

- Changed TCP Syncookis to false. Most kernels won't even support it. Hence its a useless change, but change it in case some kernels do support it and nope TalonDev and Siyah doesn't support it. Can't enable/disable it.

1/26/2012 (2.4 and screenstate_scaling 1.5)

- Changed zipalign script to reroute to /data/local dir instead of sdcard.

- Updated screenstate_scaling sample rates to 100k for sleep and 20k for awake.
[Android Software/Hacking General [Developers Only]] Coolgreek:
Yahoo:cool:, downloading and installing as i type ;)

Just one comment:

The "update" from previous thunderbolt installation instructions (as i've read on previous posts) are:

1) download the new zip to your phone (or pc and transfer to phone)

2) reboot in CWM, mount /data and /system

3) install the new zip (ThunderBolt-CWM v2.4.1.zip)

4) Done, nothing more to do, all addons previously installed and script manager won't need to be reinstalled or configured...

If that is correct may i ask to refer to them on the first page (under installation)? Many people will need to know not just the install instructions but the update instructions as well (and may also ask every time you update trolling the thread, as i am doing now:p)!

PS: Very happy with your scpits pikachu01:)

EDIT: I can't unfortunately thank you through the thanks button (why did they remove "thanks"?)...
[Android Software/Hacking General [Developers Only]] bennybaz:
Hello and thank you..

Noob question: How to install it on ICS CM9 B15, Devil's Kernel?

How to operate on these steps:

Thanks
[Android Software/Hacking General [Developers Only]] Kurre:
If you want to play safe, just install only main CWM package. Instructions are in OP. LMK doesn't work in ics (yet, probably will be fixed some day) and addons could cause problems.

I also have noticed that also CFS settings (in main CWM) doesn't get applied, since there aren't same settings to tweak in ics (sched... etc).

Edit: CFS tweaks does work at least with semaphore and glitch kernel.

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] ahmmyreal:
can it work on cm9 teamhacksung ICS rom?
[Android Software/Hacking General [Developers Only]] Kurre:
Look my previous answer..and of course you'll need kernel with init.d support. Stock kernel doesn't have it.

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, it is as you've mentioned :)

Yes, you can point it out to them.

Just install Script Manager and then proceed from there. :) When you use it, you'll see how to use it :)

The CFS settings should be applied correctly. If not, its a kernel issue. :/ Either the CFS values are static or the sysfs interface is broken.
[Android Software/Hacking General [Developers Only]] Tatsuya79:
Are you sure of this? there's an init.d folder and a script in build 15.
[Android Software/Hacking General [Developers Only]] pxrave:
since 2.4 i have a higher battery usage (i cant find any culprid at android system or other way of using my mobile)

do you changed some in voltage or scaling?

i use jw1 @ sema 2.5 - no other mods
[Android Software/Hacking General [Developers Only]] Kurre:
Ah you're probably right. Stock rom has 00banner in init.d. I just didn't noticed it since there isn't any mention about init.d in changelog, so I happily stand corrected :D

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] bennybaz:
Thank you. But, in Script Manager- what do I choose in step 7 (remount[device] - what is device if I use ICS)

Thanks.
[Android Software/Hacking General [Developers Only]] Kurre:
Yeah you were right again :) I just tested with semaphore and glitch kernel, and with both CFS tweaks worked just fine. So I must edit my post :p hopefully DerTeufel fixes that thing some day :rolleyes:

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] Kurre:
Afaik, you should use MIUI/CM7-yaffs version. I just checked mounts via terminal and that yaffs remount script looked to be correct one for that. But still it isn't mandatory to run it..and at least, don't set it to run at boot before you are 100% certain that it works properly ;)

But don't take my word if you aren't prepared for problems..I have been wrong many times before :D :banghead:

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope. Only changed scaling to be less aggressive. You should be getting more battery :/

Do

mount | grep yaffs

If you have an output, choose the yaffs one. If not, choose the full ext4 :)

Hehe. Thanks for the confirmation. :)

Use the instructions I posted above :)
[Android Software/Hacking General [Developers Only]] edwinlim9310:
Does this work for Jetpack v9.0 JVU?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes. It should work fine :)
[Android Software/Hacking General [Developers Only]] Kurre:
I just noticed (and DerTeufel mentioned it) that his kernel uses bfs scheduler so of course cfs tweaks doesn't work :rolleyes: have you read about bfs, if there is any tweaking to do? There seems to be couple of tunables available.

PS. And yes, for CM9 yaffs remount is correct (only /data is ext4) :)

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

The LMK works on ICS too, at least it does on Doc Masters. The screenstate scaling can be used if you switch to a kernel that doesn't have that diddle patch, otherwise on ICS you are confined to the main CWM and the LMK of your choice.:cool:
[Android Software/Hacking General [Developers Only]] pikachu01:
There are some tunables available (to reduce the polling period), but BFS by itself is already tuned for Android. I might experiment with BFS later when I get the chance to use ICS :P

Yup. That is correct :)
[Android Software/Hacking General [Developers Only]] dearblues:
this might be far from what ppl use mostly.. but,

have anyone tried using darky with semaphore kernal & pika script. is it possible?
[Android Software/Hacking General [Developers Only]] jenablinsky:
do thunderbolt work on cm9?
[Android Software/Hacking General [Developers Only]] Kurre:
Hm this same question has been asked several times in couple of last pages..so I'll just say yes and hope you can find rest of the info by yourself ;)

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] pikachu01:
It should work. :)
[Android Software/Hacking General [Developers Only]] pl4cid:
does your script affect cm9 performance tweaks? since build15 there are some options for zram and vm heap size.

should i disable all options if i'm using your script or is it independet from your tweaks? whats a good value for heap size? currently i set 32. attached the settings i'm talking about..
[Android Software/Hacking General [Developers Only]] bennybaz:
Which addons can you assure that work with ICS?
[Android Software/Hacking General [Developers Only]] pikachu01:
It won't affect the CM9 performance tweaks, unless the VM heap size is less than 64MB. Actually, the heap size won't affect much as long as it's a number between 32MB and 64MB.

Try to read the last few posts? :)
[Android Software/Hacking General [Developers Only]] bennybaz:
I read the last posts but I can't be sure...

3G won't work, screenstate scailing will work..

what else?
[Android Software/Hacking General [Developers Only]] pikachu01:
Then try the ones mentioned :)

Be sure to have a nandroid backup.
[Android Software/Hacking General [Developers Only]] ahmmyreal:
i installed this script and all the addons on cm9 with devil kernel and my phone enter boot loop. i taught thunderbold was working on cm9.
[Android Software/Hacking General [Developers Only]] Kurre:
Yes, main thunderbolt CWM pack is working and also LMK add-on..others probably doesn't (like said in OP, 3g doesn't work with CM7/MIUI, so you could assume that it doesn't work with CM9 either). Screenstatescaling might work if kernel doesn't have deep idle feature.

PS. Always have nandroid backup..it's quite usable if anything goes wrong :)

Edit: I'll have to report again..LMK values doesn't stick..I'm using build 15 with semaphore 0.7.1. I just checked and LMK values were different than in thunderbolt's LMK pack..all files were in correct places with correct permissions. This is quite interesting why it works with somebodies phones (kernel issues?).

Edit 2: it might be caused by semaphore..there is option to change the values, but no possibility to disable setting it by kernel/semaphore app. Maybe I should try to disable it totally somehow..

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] Tatsuya79:
They don't stick with CM9 stock kernel neither, and that's the same with Supercharger.

Perhaps init.d scripts are launched before a CM9 LMK setting which overwrite them.

If you launch your scripts with script manager past boot, everything is working.
[Android Software/Hacking General [Developers Only]] pl4cid:
tip: read more about things you want to flash..

TB and LMK works on CM9, about the rest i am not sure and thats one of the reasons i dont flash everything till it is cleared :)
[Android Software/Hacking General [Developers Only]] Kurre:
Yes that might be the cause..can't really say since I haven't studied any kernel code (and I wouldn't probably even understand it enough..yet at least :D).

I'll probably stick with semaphore configs (if it's working properly, I'll need to doublecheck that tomorrow).

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

There it is outlined in red. On ICS this is all you can use at this time. Furthermore, you probably will have to set the scripts to run automatically 'as root' and 'at boot' for them to stick. Lagfixes will disable the tweaks at boot up if you don't. When the phone boots, the Thunderbolt! tweaks are applied, but later in the boot process, the lagfix overrides them. That why you need to run them again at boot time with script manager. I don't think there is any such thing as an ICS ROM that isn't using a lagfix, so just set it to run via script manager.:)
[Android Software/Hacking General [Developers Only]] Kurre:
What you mean by lagfix? If you are referring to yaffs/ext4 filesystem, then it's just how it's supposed to be in MTD (well, almost at least:rolleyes: ).

I consider, there has been "lagfixes" only with Samsung stock roms, because of RFS filesystem.. :)

Sent from my sandwiched SGS
[Android Software/Hacking General [Developers Only]] :
Since flashing this again (after having to restore a nandroid backup) my batterylife has been horrible. Android System is takin 43%, 10% more than the display, any ides on that?
[Android Software/Hacking General [Developers Only]] pikachu01:
Post a BetterBatteryStats log in BBS's thread. Probably due to one of yor apps misbehaving?
[Android Software/Hacking General [Developers Only]] :
10charsssss
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

Sorry, yes, that is what I was referring to although it wasn't necessary. I recently made the switch to ICS which is based on CM7 (I am accustomed to using voodoo to switch from RFS) which I had never run or wanted too. I keep forgetting that CM7 is lagfixed by default. On the particular ROM I'm on now yaffs is the filesystem, so I have to use that remount script as opposed to CM7 ext remount.:)
[Android Software/Hacking General [Developers Only]] Syntaxer:
Tried ThunderBolt! on CM9 with Semaphore 0.7.5 and phone was lagging like hell. First when phone was booting up I thought that it stuck, but I waited and after ~2min it booted but it was so laggy that even widgets had big problem to load...
[Android Software/Hacking General [Developers Only]] Fenvarien:
I'm running CM9 with Semaphore 0.7.5 and Thunderbolt too. I have no lag and a very stable system. Did you try to clear cache and dalvik cache via CWM recovery?

Regarding Thunderbolt I only use the main CWM, screenstate scaling and LMK 60.

... using tapatalk
[Android Software/Hacking General [Developers Only]] Syntaxer:
Wiped both cache as you sad and result is better but still lagging ... not too much, it's like every 5sec everything stopped for few secs and then ok and over and over
[Android Software/Hacking General [Developers Only]] Bejda:
Got to check what's in your init.d folder (system/etc/init.d).
[Android Software/Hacking General [Developers Only]] RonnYap:
@pikachu01

Its this scripts ThunderBolt-v2.4.1 suitable other device like galaxy sl (i9003):p
[Android Software/Hacking General [Developers Only]] pikachu01:
Which addons did you install? Which remount did you choose?

Do you have a kernel that supports init.d? :)
[Android Software/Hacking General [Developers Only]] RonnYap:
Yes..I have..:D I doing my custom rom on i9003

mean i jus remove all scripts except 00tweaks and use your and see the performance..(or 00tweak also i remove?)
[Android Software/Hacking General [Developers Only]] pikachu01:
If that's the case, then you can try it on your ROM :)

Be sure to have a nandroid backup beforehand :)
[Android Software/Hacking General [Developers Only]] RonnYap:
Thanks a lot.When i flash your script, playing gameloft during verified files no reboot at all when screen off.Previously i have this problem.I using i9003..Performance also good using smartassV2 ;):D

Just to clarify..Permission should be tick all?
[Android Software/Hacking General [Developers Only]] tnkoh22:
Hi Pikachu, I flashed thunderbolt 2.4.1, graphic, bin, screenstate, libsqlite and LMK others 40Mb to my SGS2 Checkrom Modem LP6, Siyah 2.6.7

Immediately reboot I noted my map crashed (I earlier replaced with 6.1.0 ownhere.apk ) and my phone heat up.

Any clues where I went wrong?

Edit: I restored Nandroid backup, and tried the main script 2.4.1 without addons, map OK, observing now...
[Android Software/Hacking General [Developers Only]] PIRATA!:
I'm sorry...to install an addon like the 3G i9000 one...should I use the ScriptManager or is there an automatic way?

Other question.. I use Semaphore Kernel... What LMK version of addon should I use? "Othets"??

Thank you all. :)
[Android Software/Hacking General [Developers Only]] Coolgreek:
1) You just flash the zip file from CWM recovery. No need to change anything in script manager...

2) Yes:cool:, use the others LMK!
[Android Software/Hacking General [Developers Only]] Syntaxer:
In my init.d is:

00banner

S10enable_gov_smartassV2

S20enable_netfilter

S44enable_semaautobr_dark

S78enabletouchscreen_1

+

ThunderBolt! scripts

Just the main cwm and CM7 Yaffs remount
[Android Software/Hacking General [Developers Only]] AndroidFiber:
Guys, im on checkromv4 and siyah .9..sytem/etc/initfolder:

In the "int.d" folder I have:

02modules

05module

90ram-tweaks

98mounts

99complete

S95zipalign

Just want to clarify. Do i have to erase all tweaks excluding zipalign before flashing this thunderbolt script on my sgs2? Cheers...

Edit: wrong thread..
[Android Software/Hacking General [Developers Only]] SweetwaterBurns:
I've had this happen with a couple roms and it was usually because either a service(keyboard, in my case) was crashing and reloading without notifying me and eating tons of resources or my cpu got stuck on 500mhz for some reason. Changing the governor fixes it, but I have no idea what causes it.