yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
You cannot use the FixI9100 CWM zip. It's only for I9100. I'll need to make a zip file for I9000B.

Your kernel dev didn't enable SCHED_DEBUG flag in the kernel config. Ask your dev to enable it to enable tweaking of the CFS scheduler.
[Android Software/Hacking General [Developers Only]] robertobsc:
Pls pikachu make this zip for me!

I will appreciate so much!

Enviado de meu GT-I9100 usando o Tapatalk 2
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll see when I have the time for that :)
[Android Software/Hacking General [Developers Only]] alkhafaf:
Hello pika

Remember the problem related to busybox in semaphore kernel ? It was solved by modifying the reinstall script by Zippelinrox.. now I can use the full potential of your scripts without sacrificing boot animation.. everything works well till now.
[Android Software/Hacking General [Developers Only]] robertobsc:
Thx so much pikachu!

If you are in a big hurry and may be you want some "arm" to help, I can give a hand, I'm a developer also.

Enviado de meu GT-I9100 usando o Tapatalk 2
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know :)

Is the fix known to zep? If not, you should tell him :)

It's basically just changing the mount names and their mount paths. Take note though that all the inherent risks are still there. I will work on it in a bit. ALT-TABbing between work and XDA ;)
[Android Software/Hacking General [Developers Only]] alkhafaf:
I told him about it, some misunderstanding happened between us, and he thought that I don't do what he tells me to do ( and the fix that I did is different from what he told me to do,cuz I tried all he said and didn't work ) and got pissed off and told me to keep it to myself.......

U know Pika how much this fix is important to all who use Semaphore GB.. so I should publish it .

Of course this wouldn't happen without Zippilinrox script, so the all the credit to him..
[Android Software/Hacking General [Developers Only]] 5aaled:
hello pikachu

I wanna know if the v.2.7.7 works on JB or there will be new version
[Android Software/Hacking General [Developers Only]] red.hat:
Hey how can I apply this to my phone and in what order. Do you have one flash able file with everything included?
[Android Software/Hacking General [Developers Only]] pikachu01:
You can publish it here or anywhere else. Make sure you get zep's permission though.

There are some confirmed cases that it works with JB without any problems. :)

The installation instructions are in the first page. I don't include everything in one flashable CWM. That would make it harder for some people to only flash what they need :)
[Android Software/Hacking General [Developers Only]] red.hat:
Ok. Will take a look at it and see what to do. Will it work with Siyah's kernal
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yes.. sorry about that.

I did misunderstand.

I had just woken up after not enough sleep due to messing with tiwlan.ini/wifi after burner stuff after way after my "bed time" :p
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes. I'm using it with Siyah actually ;)

As long as the fix is propagated back to you :)
[Android Software/Hacking General [Developers Only]] :
Using the screenstate scaling has any side effects? Or it's natural? And what about those renice processes? Are you using any commented lines?
[Android Software/Hacking General [Developers Only]] pikachu01:
Don't think there are any side effects.

What do you mean by natural?

Not using renice processes as it messes up prioritizing processes. If you prioritize background process, games will lag. Prioritize games, background process will lag (i.e. touchscreen actions).

I commented them out for a reason :)
[Android Software/Hacking General [Developers Only]] tintoverano:
when using siyah

hi,

is it "enough" to turn on Thunderbolt-ing in Siyah or there are scripts which could be installed as an xtra for an sgs2 ICS 4.0.3?

cheers,

tinto
[Android Software/Hacking General [Developers Only]] pikachu01:
You can flash in any order. The 80MB LMK and screenstate_scaling (screenstate_scaling is recommended only if you're not using AOSP/AOKP or its derivatives) is recommended.

There are scripts that can be installed. The ExTweaks setting in Siyah is just to activate one part, which is the CFS, that is a part of ThunderBolt! tweaks.
[Android Software/Hacking General [Developers Only]] tintoverano:
thanks pikachu01, I had all installed before siyah supporting, so it is time to go to the 1st page again :)
[Android Software/Hacking General [Developers Only]] alkhafaf:
Lol :)

Never mind :)
[Android Software/Hacking General [Developers Only]] pikachu01:
It can be set using Script Manager, hence the wheel icon. The others already in init.d will run automatically at boot.
[Android Software/Hacking General [Developers Only]] red.hat:
Pikachu, how can I make this work with Siyah's new kernal 3.5.2 with thunderbolt script in place. Do flash thunderbolt CWM or just flash other things.
[Android Software/Hacking General [Developers Only]] carlos67:
@Pika,

Which governor would you recommend for screen off profile? I am using pegasusq/sio for screen on.

In Rom Toolbox I have set screen off to 200~500mHz but not sure which governor to use for lowest battery usage when screen off.

Rom is AOKP RR2.6.1 with Siyah kernel 3.4.1
[Android Software/Hacking General [Developers Only]] red.hat:
Pika, I followed the instructions tell me if this is ok.

I am also using ExTweaks with Siyah kernal how can I make this work or should I leave GPU settings alone along with uv CPU values? I have noticed a lag in the screen what can I do. Cheers mate.
[Android Software/Hacking General [Developers Only]] pikachu01:
What do you mean by "other" things? Flash it as usual?

I'm using pegasusq for screen on and off :)

Yup. All correct. You can tweak the GPU settings however you like. It's separate from ThunderBolt!.
[Android Software/Hacking General [Developers Only]] pikachu01:
Here you go:

http://dl.dropbox.com/u/38669259/ThunderBolt!/I9000b Check Data Partition.zip

As usual. No guarantees/warranties etc. Use at your own risk. Never tested as I don't have a i9000b

Only use if you have the partitions as ext4.
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Added 100MB LMK.

Changelog:

8/1/2012 (100MB LMK)

- Added 100MB LMK. Increases performance and a bit more multitasking at the expense of background inactive tasks/apps getting killed.

Note: Restore the build.prop.thunderbolt to be build.prop before applying the 100MB LMK. Failing to do that will result in a half baked LMK that doesn't work well.

Note2: This was the consequence of ICS compatibility. No choice but to do this :(

Note3: I can probably code to make some changes to this, though I don't have the time. Probably if I get a chunk of time, I'll automate this.
[Android Software/Hacking General [Developers Only]] robertobsc:
Thx so much!

Enviado de meu GT-I9100 usando o Tapatalk 2
[Android Software/Hacking General [Developers Only]] pikachu01:
No problem. Let me know how it goes :)
[Android Software/Hacking General [Developers Only]] red.hat:
Pika, do I need to disable thunderbolt script since I have it running on siyah kernal? I and if so how do I go about that?

I installed thunderbolt, screen and 80m add on. Is there anything else I need to install. Running neatrom uhlps. Thanx in advance
[Android Software/Hacking General [Developers Only]] pikachu01:
What do you mean by "disable ThunderBolt!" since you have it "running" on Siyah kernel. Makes no sense.

If you mean ThunderBolt! CFS in Siyah, you only have to consciously not run the CFS script in Script Manager. Even if you run it, it won't matter.

That's all. You can try the 100MB LMK. Be sure to rename the build.prop.thunderbolt back to build.prop (after deleting the current build.prop).
[Android Software/Hacking General [Developers Only]] red.hat:
Thanx Pika, just trying to make sure am getting the best from your script. Any difference between the 100 mb lmk and 80MB LMK?
[Android Software/Hacking General [Developers Only]] pikachu01:
100MB has better performance. :)
[Android Software/Hacking General [Developers Only]] divibyzero:
I flashed stock XXKQ1 on i9001, installed FeaMod 1.4 along with FeaCore, rooted my phone, installed busybox (free version from market) and finally flashed Thunderbolt! (with graphics prop, 80MB LMK and screenstate_scaling addons) and run remounti9001, s70darky_zipalign, sqlite_optimize and S98CFS in Script Manager.

What I get from command you posted is:

# sysctl -a | grep vm
vm.overcommit_memory = 1
vm.panic_on_oom = 0
vm.oom_kill_allocating_task = 0
vm.oom_dump_tasks = 0
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.dirty_background_ratio = 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
vm.drop_caches = 0
vm.min_free_kbytes = 2678
vm.min_free_order_shift = 4
vm.percpu_pagelist_fraction = 0
vm.max_map_count = 65530
vm.laptop_mode = 5
vm.block_dump = 0
vm.vfs_cache_pressure = 100
vm.mmap_min_addr = 4096
vm.scan_unevictable_pages = 0
sysctl: error reading key 'net.ipv4.route.flush': Permission denied
sysctl: error reading key 'net.ipv6.route.flush': Permission denied
# getprop | grep ADJ
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.PERCEPTIBLE_APP_ADJ]: [2]
[ro.HEAVY_WEIGHT_APP_ADJ]: [4]
[ro.SECONDARY_SERVER_ADJ]: [5]
[ro.BACKUP_APP_ADJ]: [6]
[ro.HOME_APP_ADJ]: [3]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.EMPTY_APP_ADJ]: [15]

In my /etc/init.d folder there are several files:

S91SuperCharger
S98graphics
S98screenstate_Scaling
S98system_tweak

I'm feeling that something is wrong. I didn't feel much difference these 2 days testing Thunderbolt! and those values from sysctl command seem wrong. Phone drained about 10% battery during last night. What is my mistake?

Thank you pika for your great work, help and feedback!
[Android Software/Hacking General [Developers Only]] alkspo:
i get installation aborted everytime on the script and add ons :x

im using a samsung galaxy gio 2.3.6 using cwm recovery 5.0.2.7 ext4 , is recovery the problem? as i flashed other zips no problem

edit: saw that i hafta change the updater binary... can i just copy one from a previous script i used ?

edit2: it worked and i flashed the main thunderbolt script, 100mb lmk, bin, graphics, libsqlite and screenstate and ended up in bootloop. which one is incompatible? this rom is based on gb
[Android Software/Hacking General [Developers Only]] carlos67:
Thanks Pika, I suspected you might say that. :)

BTW...What do you set your smooth scaling level at? Mine is set to 800mHz.
[Android Software/Hacking General [Developers Only]] red.hat:
My extweaks cpu undervolting settings are not being implemented.
[Android Software/Hacking General [Developers Only]] pikachu01:
Try running a script in Script Manager. It's either the root or busybox is problematic. You're not running anything at all judging from the sysctl output.

Don't install the binary and the graphics. All others should be fine.

1.2GHz :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Don't understand what you're trying to say :/

You should ask the person who coded extweaks (or your kernel dev instead?)
[Android Software/Hacking General [Developers Only]] red.hat:
Pika, I undervolted CPU with extweaks, along with gpu. After flashing thunderbolt script. My uv values have been reset to default siyah settings. Do you know how I can get this to work? If not, how,can I implement your cpugpu tune settings (including the min max scaling frequency). I am currently using 18 steps. Thanx

Got extweaks to work. It was an error on my part. If you could provide information on how to achieve above settings.
[Android Software/Hacking General [Developers Only]] pikachu01:
Just edit it manually. Find out your own setting from trial and error and apply it to the script. Don't use other voltage control apps to undervolt if you're using cpugputune.
[Android Software/Hacking General [Developers Only]] alkhafaf:
Aha..great work Pika

But I think it is not useful for all device this new LMK.. for me sgs i9000 I got 385 of RAM so 80 MB is the best choice for me..

This is useful for the newer devices that got high RAM more than 512 MB... right?
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually, I've tweaked the memory a bit to work well with I9000 devices as well. You should try it and see if it works better for you :)
[Android Software/Hacking General [Developers Only]] alkspo:
thanks i flashed them one by one to rule out and the one imconpatible was bin and graphics, just like you said ;)

btw, can i use this with v6 supercharger?
[Android Software/Hacking General [Developers Only]] alkhafaf:
Thank u ...as usual u r great in fast replies. :)

So won't this kill apps if 100 is reached? And some apps still begin to launch and then closed again.. resulting in lags. Can u tell me what modifications u have done ? Change log ?

Thank u :)

Note: y don't u make lmk at least 200 MB for those devices that got 1 GB of RAM ?
[Android Software/Hacking General [Developers Only]] kotaxor:
Don't know why, but 100MB LMK appear jerky on my S2 DXLP7.:(

Revert back to 60MB.
[Android Software/Hacking General [Developers Only]] pikachu01:
You can either use LMK addon or V6 Supercharger. Either one and not both.

I doubled the size for VISIBLE and added some on PERCEPTIBLE. Basically I added (1280x4) to every MEM. It will kill empty apps at 100MB and hidden app at 60MB. 100MB is where I'm stopping. I'll think about making 200MB maybe in the future.

Did you revert the build.prop first before attempting to install the 100MB? If not, you'll have a half baked LMK which explains the lags.
[Android Software/Hacking General [Developers Only]] kotaxor:
Yup, as per instruction, I did delete the build.prop and rename build.prop.thunderbot back to build.prop.

Then reboot and flash the 100MB LMK, and finally another reboot to ensure build.prop is being read.

Then have to do the above all over again to revert back to 60MB one.:crying:

But no problem....60MB is smooth as butter, just wanted to try out 100MB.

Guess it does not work on my phone (S2, DXLP7)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, if that's the case. I provided different LMKs to cater to different users :)
[Android Software/Hacking General [Developers Only]] divibyzero:
Great thanks for reply pika!

Ok, I installed other busybox instead of stericson's and it turned out, that newest busybox 1.20.2 was somehow incompatibile with my device (stericson's installer didn't notify me bout that). I installed 1.20.0 over and run scripts again.

This what I've got:

$ export PATH=/data/local/bin:$PATH
$ su
# sysctl -a | grep vm
vm.overcommit_memory = 1
vm.panic_on_oom = 0
vm.oom_kill_allocating_task = 0
vm.oom_dump_tasks = 0
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.dirty_background_ratio = 40
vm.dirty_background_bytes = 0
vm.dirty_ratio = 80
vm.dirty_bytes = 0
vm.dirty_writeback_centisecs = 500
vm.dirty_expire_centisecs = 3000
vm.nr_pdflush_threads = 0
vm.swappiness = 60
vm.lowmem_reserve_ratio = 32
vm.drop_caches = 0
vm.min_free_kbytes = 2678
vm.min_free_order_shift = 4
vm.percpu_pagelist_fraction = 0
vm.max_map_count = 65530
vm.laptop_mode = 0
vm.block_dump = 0
vm.vfs_cache_pressure = 10
vm.mmap_min_addr = 4096
vm.scan_unevictable_pages = 0
sysctl: error reading key 'net.ipv4.route.flush': Permission denied
sysctl: error reading key 'net.ipv6.route.flush': Permission denied
# getprop | ADJ
ADJ: not found
# getprop | grep ADJ
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.PERCEPTIBLE_APP_ADJ]: [2]
[ro.HEAVY_WEIGHT_APP_ADJ]: [4]
[ro.SECONDARY_SERVER_ADJ]: [5]
[ro.BACKUP_APP_ADJ]: [6]
[ro.HOME_APP_ADJ]: [3]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.EMPTY_APP_ADJ]: [15]
#

It seems ok now? Do I need to run zips in CWM again, or just scripts in SManager?

I also have related question that might seem noobish. When I flash TB with some addons and then (after reboot) flash alone TB CWM zip (with no addons) - do addons get deleted? I would say no, but I am not sure. Thanks again!
[Android Software/Hacking General [Developers Only]] red.hat:
Pika, how can I verify that 100MB LMK is running.
[Android Software/Hacking General [Developers Only]] pikachu01:
No, once you flash the addons, it'll stay there until you remove them.

You don't need to run anything. Just follow whatever's that's in the first post. Let me know which part you don't understand.

Show me the output for:

getprop | grep MEM
[Android Software/Hacking General [Developers Only]] red.hat:
Can place s98cfs in init.d. Is s98cfs the best?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, that's the 100MB LMK. Yes you can place it in init.d. that's the one where everyone says it's the best through consensus.
[Android Software/Hacking General [Developers Only]] Mopral:
Siyah kernel for SGS3 now include zram

Is it still safe to use your LMK addon?
[Android Software/Hacking General [Developers Only]] pikachu01:
LMK and ZRAM implementation doesn't interfere with each other :)
[Android Software/Hacking General [Developers Only]] g3ckospy:
Pika, jb is out on cm10 can we use the script?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, the main CWM and LMK should work fine. Not sure about screenstate_scaling. You can probably test it out (with a nandroid backup).
[Android Software/Hacking General [Developers Only]] g3ckospy:
Will try it out and give you a feed back soon..
[Android Software/Hacking General [Developers Only]] Konsyst:
Just clarifying, does this mean that the S91SuperCharger script is supposed to remain in init.d?
[Android Software/Hacking General [Developers Only]] pikachu01:
Let me know if you have any issues :)

ThunderBolt!'s LMK is using part of SuperCharger to apply the LMK. The S91SuperCharger script is supposed to be there.
[Android Software/Hacking General [Developers Only]] muktheo:
Hello pika..sorry if my questioon is ugly..

How to use the 100LMK add on?just flash via recovery or there is step on script manager?and how about build prob..im little do not understand..sorry :(

thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
Have you previously flashed the LMK addon? If so, you have to restore the build.prop using Root Explorer/Root Browser etc. This is done by renaming the build.prop.thunderbolt back to build.prop after deleting the current build.prop.

Then install as usual from recovery and reboot twice.
[Android Software/Hacking General [Developers Only]] muktheo:
yes I'm..after instal 100mb LMK there is the result of my getprop | grep MEM

so, its working well?
[Android Software/Hacking General [Developers Only]] pikachu01:
No, you're still using the 60MB LMK. You have to restore the file first before attempting to install the 100MB LMK.
[Android Software/Hacking General [Developers Only]] muktheo:
pika I've restore build.prop,flash 100mb and reboot twice but the value of grep MEM didnt change and still same with the result before.. I did it two times and still same.. :(
[Android Software/Hacking General [Developers Only]] pikachu01:
If that's the case, you must've first installed without restoring the backup (or something messed up in between the first installation).

One way to fix this is to edit the builld.prop itself to remove all entries with ADJ or MEM. After that, install the 100MB LMK.
[Android Software/Hacking General [Developers Only]] muktheo:
whoaa finally i get the value like red.hat..thanks so much for response and ur help pika.. ^^:laugh: :highfive:
[Android Software/Hacking General [Developers Only]] pikachu01:
Glad to be of help :)
[Android Software/Hacking General [Developers Only]] muktheo:
emh but pika,previously I think that if we use LMK 100mb the free memory never below 100mb..but on my phone (SGS )the free mem is arround on 80-90mb and 100mb once in a while..thats normal?
[Android Software/Hacking General [Developers Only]] pikachu01:
That's normal. The EMPTY_APP is 100MB, but the HIDDEN_APP is still 80 (or was it 60).
[Android Software/Hacking General [Developers Only]] muktheo:
Ohh oke pika..thanks again n keep up ur good work ^_^
[Android Software/Hacking General [Developers Only]] pikachu01:
Thanks for the feedback.
[Android Software/Hacking General [Developers Only]] PANCHOMATASANO:
Mips processor

Dear Pikachu

Thunderbolt work in Mips TABLET??

No Script Manager MIPS version

Sorry for May bad English

From already thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
I don't have a MIPS tablet to try this on. You can probably try parts of Thunderbolt! which is Linux compatible and see if it works.
[Android Software/Hacking General [Developers Only]] red.hat:
Pika, Siyah's new update will be out sometime tomorrow. If flashed over the old kernal, will I need to flash thunderbolt, screen state and 100MB LMK again.
[Android Software/Hacking General [Developers Only]] kotaxor:
Just flash my rom to XWLPT,..and now using your 100MB LMK tweaks.

But I find that in build.prop ...V6 SuperCharger.... is repeated 3 times and I had flash it only once.

Is it ok to delete the other two?

Thanks!
[Android Software/Hacking General [Developers Only]] pikachu01:
Flashing a kernel doesn't require flashing ThunderBolt! again. Flashing a new ROM however needs a fresh install of ThunderBolt!.

The V6 SuperCharger text? You can delete them. How about the MEM and ADJ lines? Are they repeated?
[Android Software/Hacking General [Developers Only]] kotaxor:
Yup, the whole lot repeated three times.

I have deleted two lots ...lol

Reboot...and its confirm one lot balance.

Even the backup files consist of three lot...:confused:...I have deleted all of it starting with "V6....... as it suppose to be the original file.
[Android Software/Hacking General [Developers Only]] pikachu01:
This is weird. Never encountered this before. By any chance, did you install the real V6 Supercharger (not the one from ThunderBolt!) in between?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
http://xdaforums.com/showthread.php?t=1814227

oh I bet you'd know who he kanged.

Dink dunno **** about giving credit plus removed all original comments from scripts to make it look like all his own even tho there's lots of bad code.
[Android Software/Hacking General [Developers Only]] pikachu01:
Another script kiddy trying to make a name for himself. :/
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ya but this one is clueless.

I hit report for fun :D
[Android Software/Hacking General [Developers Only]] kotaxor:
Nope, just yours.
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you paste the code you've encountered (before you deleted the extras). Just a rough code if you don't have the original.
[Android Software/Hacking General [Developers Only]] kotaxor:
You mean the build.prop file....attached.

I have remove the repeated lines.

From V6 SuperCharger ....to End of V6 SuperCharger....its repeated 3 times continuously.

But its ok now since I've remove it, reboot and its ok.
[Android Software/Hacking General [Developers Only]] Mopral:
Is there a way to totally remove your LMK addon?

I tried by renaming the backup of build.prop made during the installation and removing the local.prop file but it seems that build.prop file is modified again with your values on next reboot...
[Android Software/Hacking General [Developers Only]] kotaxor:
Ha...now I remember I did a backup prior editing the build.prop file.

See attached.
[Android Software/Hacking General [Developers Only]] pikachu01:
You need to delete S91SuperCharger from init.d :)

Strange. I've tried many iterations to force a bug like this in the past. It's either your busybox grep is working strangely or something corrupted the S91SuperCharger script in init.d. The S91SuperCharger script itself should detect that the build.prop already has the LMK settings and skip editing it. :/