yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] shriom_manerker:
Amazing script pikachu :p my phones not even lagging a BIT ! its like its been just restarted ! a hats off to u mate :) this is sumthing we never had before ! i congratulate u on ur success :) keep up this awesome work :)
[Android Software/Hacking General [Developers Only]] geekynoob:
hv u removd everything else from d init.d folder???

and unchecked all the boxes from tweaks app???

dat would b helpful for me.. :)

and wat all addons hv u flashed..!! :)

specially wich lmk.. :D
[Android Software/Hacking General [Developers Only]] vishal24387:
Yeah Its a launcher. Sorry to bother u...:):)
[Android Software/Hacking General [Developers Only]] flolep:
Hmm... Tried the other bin and lib files... Well, no big difference...

My home screens are sometimes a bit laggy but it may be related to the lowest frequency 350mhz that I configure for better battery so it's not very easy to distinguish as I have the remount script working and a very very good kernel running...

The culprit could be hard to find but well, it isn't giving any boost that's for sure in my configuration (maybe in other more laggy configurations there could be a difference, don't know...). Maybe better battery, but I am not sure for this point too...

No, really, what is giving me a real boost is the remount script we talked about previously but the main CWM isn't...

But thanks for your time, pika, that is so good to have someone like you for the Android community.

Take care.

+ +
[Android Software/Hacking General [Developers Only]] pikachu01:
Hence, it's inconclusive which part of the main CWM that gives lag? :/

Though, thanks for experimenting :)

Appreciate it. Could be the kernel itself already made most of the necessary boosts and ThunderBolt! can't do much anymore at this point (since most of the boosters are already in the kernel).
[Android Software/Hacking General [Developers Only]] pikachu01:
You exceeded your /system partition space? This is the only one I know that can exhibit your problem (as I've faced this before).

Try deleting some useless APKs like Aldiko or Allshare and try reflashing ThunderBolt! again.

Good to know :)

No prob :)
[Android Software/Hacking General [Developers Only]] alex88510:
I used root explorer to check /system. It shows 220.00MB used, 98.00MB free...

so, is this still exceeded?:confused:
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope. Not exceeded. :/

Not sure what else could cause this problem. Try removing your wifi profiles and reconnect?
[Android Software/Hacking General [Developers Only]] shriom_manerker:
m on stock ddkp3 rom ! cus it gives fantastic batery backup ! with bam kernel v9 fix and i didnt open the tweaks app :P i didn allow super user rights to it :plol and in int.d i can c 2 files one is 00tweaks (which must b the tweaks app tweaks :P ) and the other is this lagfree script !
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you remove the lagfree script as well as the 00tweaks? That might cause some incompatibilities.
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm :/

I do know the Adrenaline Shot doesn't tweak the Dalvik LMK which would lead to problems when using the RAM heavily.

No prob :)

It does. Be sure to read the big bold red text in the original thread before proceeding. A nandroid backup beforehand is good too :)
[Android Software/Hacking General [Developers Only]] geekynoob:
i guess he meant... this..as in ur script.. :)

so dis means i will hv to kick out tweaks too... :)

i have the followin..

00tweaks

01loopy

98sdfix

s95allinone

Delete all??? or not??
[Android Software/Hacking General [Developers Only]] geekynoob:
i get an error..

while installing the graphic addon... i get error something status 0 or error=0

installation aborted while others got installed pretty quickly..

any particular reasons?? i had mounted system.. :)

Edit-Grr.. i dont have anything in d script manager or i shud say i dont hv d bolt_scripts folder in etc... :O
[Android Software/Hacking General [Developers Only]] alex88510:
don't know what cause the problem. Sometimes, it behave normally, no problem at all...

sometimes, it happen again, need to wait it turn on and turn off a few times then finally can connect to wifi...

I think not related to the wifi profiles as this problem happened only after flashing ur script.

May be ur script cause some problem with the wifi?:confused:
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

I've had several errors running Script Manager lately, has anyone reported trouble with it? I didn't do any updates. It will specifically hang on the sqlite_optimize script, and sometimes when just attempting to open it. I've sent bug reports, but am just asking if anyone else has a similar issue.:(
[Android Software/Hacking General [Developers Only]] snoopdaclown:
With using adrenaline shot I don't have an issue with it lagging if i have it on for a long period of time but it might also help that I use android task manager that closes alot of stuff I'm not using. Would the lmk add-on work with adrenaline shot or don't you recommend it at all with that or would it just cause issues

Sent from my Haxsung Infuse R3velation injected with adrenaline
[Android Software/Hacking General [Developers Only]] Nar4:
Thanx and Sorry

Thank You for the answer

and

sorry for being out of busyness for a while .

I will compile the ThunderBolt!v2.6.1 CWM-flash file for our device as soon as I can

Meanwhile here is a pack of the scripts that I was curious about in my last msg (see attached).
[Android Software/Hacking General [Developers Only]] pikachu01:
I would like to thank af974 for his work in merging all the ThunderBolt! threads into one.

Thanks to him, all the information are kept and can be searched at any time :)

I'll now work to reply the rest of the threads that I didn't get to reply when they were deleted.

Thanks again!
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, delete all other init.d scripts, or better yet, upload them here and I'll evaluate it :)

It's in the /etc/bolt_scripts.

About the graphics addon, I think it's the only one that I didn't update the updater-binary. I'll update it in the next version :)

Try restoring ThunderBolt!. Also, which addon did you use? Try installing it one by one and see which is the culprit.

It should be either or. However, Adrenaline Shot LMK only tweaks the Linux LMK and not the Dalvik LMK. Having the Android Task Manager killing apps completely makes the LMK irrelevant though as all apps are killed irregardless (and not following LMK's rules of killing apps).
[Android Software/Hacking General [Developers Only]] Helloworld294:
Guys i am in AOKP rom and have the thunderbolt script running. Is it safe to flash another rom without a wipe?
[Android Software/Hacking General [Developers Only]] pikachu01:
It is safe. When you reflash a ROM, you'll have to reinstall as flashing a ROM wipes the /system partition (but not the /data partition - which the no-wipe implies).
[Android Software/Hacking General [Developers Only]] cwc3:
Stuck this at the bottom of one of my init.d scripts:

su -c "setprop wifi.supplicant_scan_interval 300"

Was a no-go as for booting past logo (AOSP). Anything I should try differently?
[Android Software/Hacking General [Developers Only]] iXNyNe:
doubt it makes a difference but maybe

su -c 'setprop wifi.supplicant_scan_interval 300'
[Android Software/Hacking General [Developers Only]] pikachu01:
I think that particular prop is buggy or the setprop doesn't work well after a change in CM7? Best is to get back to the developer and troubleshoot from there.
[Android Software/Hacking General [Developers Only]] ImbaWind:
hi sir, Can I use your thunderbolt script as base, optimize it for Galaxy Ace and publish it ?

thanks in advanced
[Android Software/Hacking General [Developers Only]] pikachu01:
There shouldn't be any incompatibilities aside from the need to manually mount it right?

The last time I saw the zip you've posted, there were a few settings removed (that wasn't really game breaking as well).

Can you let me know which exactly is the one differing? :)
[Android Software/Hacking General [Developers Only]] ImbaWind:
this are the 2 main scripts ;)

I deleted some tweaks that are not available for Galaxy ace (due to different hardware)

added more ipv4 tweaks

add/chged some vm tweaks

thanks in advanced :D
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, actually, you can repackage my tweaks as long as you give proper credits :)

Also, I've been wanting to add compatibility to Galaxy Ace for some time, just can't put some time on it >.<

And the removal of some tweaks doesn't affect anything. Those tweaks will be disabled anyways due to Galaxy Ace's hardware. :)
[Android Software/Hacking General [Developers Only]] ImbaWind:
Galaxy Ace is a quite nice phone with decent hardwares, I'll wait for your officially support :D

yea, but delete them the script will become smaller, and maybe boot time will faster a little bit because it runs lesser commands (?)
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually, the scripts are ran in parallel. I don't think your phone will choke when running simple shell commands, hence the difference will not be noticeable ;)

Let me get to it. Will see if I can release it soon :)
[Android Software/Hacking General [Developers Only]] ImbaWind:
then i wait for your release ?

the slaid posted a new 'work' but not flashable (..?)

i checked through his work, he uses chainfire touchscreen tweaks (seems not working for ace as we dont have those files, so what for echoing them?)

at the end got some unknown symbols and half of the script are commented out :rolleyes:
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, slaid is kind of a umm <insert term here> developer (never checking if something actually works).

I'm not sure when I can get on it. If I do, I'll ask you to test? :)

As always, I will only post a CWM zip that works for all devices (some might include some tweaks which doesn't fit that device, though it'll be skipped - won't error out).
[Android Software/Hacking General [Developers Only]] ImbaWind:
yea i'll always willing to test them out, but next week i'm going to exam again, so maybe i'll reply slower than normal :o
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, I'll PM you when it's ready :)

Thanks!
[Android Software/Hacking General [Developers Only]] iXNyNe:
Beta time!? I'm in if you're accepting testers :)
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll PM when it's ready. Thanks for volunteering :P
[Android Software/Hacking General [Developers Only]] projectvirtue:
Pikachu,

i was wondering if anything changed with the 2.6.1 update that might've affected the autobrightness. Ever since i flashed it, the screen brightness would adjust itself no matter what i do. i can set it to 100%, but it'll change it on its own. if i turn it on in the settings, it'll turn it off but still change the screen brightness automatically for me.

i've tried re-flashing my rom (gmiui 2.3.9) to no avail. i tried not running the script, and it's still occuring. I tried flashing TB 2.3.1 instead but that didn't help either.

i wonder if there is a simple line of code that i can hop into and change that might disable this, if its indeed part of thunderbolt?
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you running Script Manager loading the bolt_siyah script? The bolt_siyah script tunes the brightness for SGSII. Try commenting out the lines or not loading the script. Other than that, ThunderBolt! doesn't tune brightness at all :/
[Android Software/Hacking General [Developers Only]] projectvirtue:
unfortunately not =\ i only have the remount, sqlite, and supercharger going right now (pretty sure its not a conflicting issue with supercharger because it was working fine before i flashed 2.6.1).

if thats the case i'm not sure how to proceed, don't know what to try looking for next =\
[Android Software/Hacking General [Developers Only]] pikachu01:
Might be related to a theme or an app that toggles brightness? Or a kernel issue?
[Android Software/Hacking General [Developers Only]] sfakos:
problem

i tried to install this to the bluelighting ICS 4.0.3 and its not working.. the phone don't boot after installing. only for me? :)

( sorry for my english )
[Android Software/Hacking General [Developers Only]] pikachu01:
Which zip did you try installing? Only the main CWM and screenstate_scaling is compatible.
[Android Software/Hacking General [Developers Only]] .:Crack:.:
hey I have a really disturbing issue and don't know whether its ROM, kernel or minfree. my min free is set to 60mb. When having ~3+ tabs open using opera mobile it suddenly closes (no fc window) after a few. I also had this problem using Google Play...
[Android Software/Hacking General [Developers Only]] pikachu01:
Check "How do I know if it works" and see if the LMK values are correctly set. It could be a ROM problem. So far I've seen this happen to another one person.

Edit: Here's a guy who's experiencing this problem as well:

http://xdaforums.com/showthread.php?t=1573325
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Of course it is set correctly :P

So what could be the problem? First I thought it's Opera but since Play did the same idk...?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It likely has to do with dirty and dirty background ratios.

I played with lowering them hoping for smoothness but I got alot of reports about various apps closing like that.

I put them back to 95/60 and the reports have stopped.
[Android Software/Hacking General [Developers Only]] Mopral:
Just try with 5 open tab and Opera mobile does not close...

Sounds like a rom or kernel issue
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you using ICS by any chance? ICS's Dalvik LMK cannot be set through conventional means.

The default of that is even lower (20/5) so it can't be it. I can also see some other people without those tweaks getting the same thing as well :/

It most likely can be.
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Yes (as seen in my sig) I'm using ICS.

Well how can i set correctly? I'm running the script though script manager, because it does not get set in init.d.
[Android Software/Hacking General [Developers Only]] pikachu01:
As mentioned, check the values against "How do I know if it works" section. The Dalvik LMK isn't applied correctly, hence LMK can't be applied. It's better not applying than applying only half way.
[Android Software/Hacking General [Developers Only]] .:Crack:.:
I did check it and it is applied correctly! :D (I already mentioned that, didn't I? :D)
[Android Software/Hacking General [Developers Only]] pikachu01:
This is weird. The LMK settings for me never stick correctly in ICS. :/

Can you check this?

Assuming you are on 60MB LMK:

cat /sys/module/lowmemorykiller/parameters/minfree

Produces

1280,2560,5120,7680,11520,15360

getprop | grep MEM

Produces:

FOREGROUND_APP_MEM=1280
VISIBLE_APP_MEM=2560
PERCEPTIBLE_APP_MEM=3840
HEAVY_WEIGHT_APP_MEM=6400
SECONDARY_SERVER_MEM=7680
BACKUP_APP_MEM=8960
HOME_APP_MEM=5120
HIDDEN_APP_MEM=11520
CONTENT_PROVIDER_MEM=12800
EMPTY_APP_MEM=15360
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Yes, that is correct!
[Android Software/Hacking General [Developers Only]] pikachu01:
Weird. I don't think its LMK now. Probably ROM or kernel related? Try the restore pack to revert ThunderBolt! and see if you encounter the problem again?
[Android Software/Hacking General [Developers Only]] geokilla:
A lot of ROMs and kernels itself come with a LMK performance tweak. Maybe it's that being applied instead.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
erm... from the 60 mb LMK addon's default.prop...

# V6 SuperCharger, OOM Grouping & Priority Fixes created by zeppelinrox.
# DO NOT DELETE COMMENTS. DELETING COMMENTS WILL BREAK UNINSTALL ROUTINE!
# BEGIN OOM_MEM_Settings
ro.FOREGROUND_APP_MEM=1280
ro.VISIBLE_APP_MEM=2560
ro.PERCEPTIBLE_APP_MEM=3840
ro.HEAVY_WEIGHT_APP_MEM=6400
ro.SECONDARY_SERVER_MEM=7680
ro.BACKUP_APP_MEM=8960
ro.HOME_APP_MEM=5120
ro.HIDDEN_APP_MEM=11520
ro.CONTENT_PROVIDER_MEM=12800
ro.EMPTY_APP_MEM=15360
# END OOM_MEM_Settings
# BEGIN OOM_ADJ_Settings
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
# END OOM_ADJ_Settings
# End of V6 SuperCharged Entries

echoing values to /sys/module/lowmemorykiller/parameters/minfree won't effect the MEM prop settings.

However, the MEM and ADJ prop values don't do anything on ICS anyway - or else the home launcher would be a 3 (instead of the default ADJ 6) but it probably isn't if you're on ICS without a patched services.jar

edit: You can setprop anything without error but it doesn't mean it will do anything.

For example, you can do in terminal:

su
setprop zeppelin rox
getprop | grep zep

[zeppelin]: [rox]

bazinga :p
[Android Software/Hacking General [Developers Only]] hackeron:
Hi pika, Im using latest JW4 rom with cf-root .. And it seems like the LMK values dont get applied.. I made sure I mounted in CWM.. Tried twice but it dont work.

Heres some screens how it looks.
[Android Software/Hacking General [Developers Only]] .:Crack:.:
So how do i have to patch my services.jar?
[Android Software/Hacking General [Developers Only]] pikachu01:
I know you can setprop anything. I also know that the MEM/ADJ isn't set by

/sys/module/lowmemorykiller/parameters/minfree

If you can however setprop the MEM and ADJ and it takes, that means LMK is working fine. (I'm not sure if that's the case for some AOSP ROMs as some of them have different implementation of services.jar (my guess?)

It seems that CWM zip doesn't install correctly. (And there's already a default.prop in /system for XWJW4). I'll troubleshoot this and post up a new LMK CWM that fixes this.

I don't think you need to. If your LMK is set correctly, the numbers will match (your numbers do match as you've said).
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well, you can do it manually with whatever values you like using my tutorial to guide you (post 2 of the supercharger thread)

Yes I know you're aware of that... but it seemed as if somebody else posted as you lol

Anyway, if you were to decompile services.jar and search ActivityManagerService.smali, you probably won't find any mention of ro.*_MEM settings whereas in honeycomb and below, *_MEM settings are all over the place.

Instead, ICS calculates MEM values "on the fly".
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, ok. Still, until further notice, ThunderBolt! LMK only works for Gingerbread. Follow Zep's guide to set it in ICS. :)
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Well OK, I uploaded my services.jar and it got these priorities by default (didn't do it manually):

System -16 (stock)
Persistent Process -12 (stock)
ForeGround app 0 (stock)
Home Launcher 1 (Die-Hard Launcher) (stock=6)
Perceptible app 2 (stock)
Visible app 3 (stock=1)
Heavyweight app 4 (stock=3)
Previous app 5 (stock=7)
Service 6 (stock=5)
Backup app 7 (stock=4)
Service_b 8 (stock)
Hidden app min 9 (stock)
Hidden app max 15 (stock)

Don't I have to edit the default.prop and SuperChargerADJ now too? Since it's different values?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh yep the webapp applies my ADJs for die-hard launcher :p

The services.jar mod replaces the ADJs in the prop file since the prop values don't get applied on ICS.
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Ok thanks but then I don't understand why I still have the S91SuperCharger script exept for LMK? Do i have to change the values echoed to /sys/module/lowmemorykiller/parameters/adj ?

Edit\\ Are the webapp ADJ's good for normal use if I change Home=3? (compared to the ADJs set in thunderbolt)

Edit2\\ OK now my services.jar has the webapp values but HTK home instead of Die-hard.

what changes do I have to do to /sys/module/lowmemorykiller/parameters/adj and MEM (i guess this was tuned for the Thunderbolt ADJ's)?

MEM and LMK

FOREGROUND_APP_MEM=1280
VISIBLE_APP_MEM=2560
PERCEPTIBLE_APP_MEM=3840
HEAVY_WEIGHT_APP_MEM=6400
SECONDARY_SERVER_MEM=7680
BACKUP_APP_MEM=8960
HOME_APP_MEM=5120
HIDDEN_APP_MEM=11520
CONTENT_PROVIDER_MEM=12800
EMPTY_APP_MEM=15360

==============================

1280,2560,5120,7680,11520,15360

New ADJ and /sys/[....]/adj

System -16 (stock)
Persistent Process -12 (stock)
ForeGround app 0 (stock)
Home Launcher 2 (HTK Launcher) (stock=6)
Perceptible app 2 (stock)
Visible app 3 (stock=1)
Heavyweight app 4 (stock=3)
Previous app 5 (stock=7)
Service 6 (stock=5)
Backup app 7 (stock=4)
Service_b 8 (stock)
Hidden app min 9 (stock)
Hidden app max 15 (stock)

====================================

0,1,3,5,7,15

This is TB default 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]

-> I have no idea which ADJ have to be echoed to /sys/[...]/adj, as well as which MEMs have to be echoed to /sys/[...]/minfree.... help appriciated/needed! ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
I guess you can use Supercharger's ADJ and minfree from its script itself. :)

Until I can figure out an easier way to set ThunderBolt!'s values that is :P

Also, bad news. It seems that XWJW4 Gingerbread is exhibiting the same issue. Looks like Samsung is making harder for us to change the Dalvik LMK :(
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Well that seems a lil weird because if I would use the default TB values there would be some false flags now that the patched services.jar has different ADJ values than TB?

Can you take a look at this 75MB pack, whether this behaves correctly according to these ADJ values in the services.jar?

System -16 (stock)
Persistent Process -12 (stock)
ForeGround app 0 (stock)
Home Launcher 2 (HTK Launcher) (stock=6)
Perceptible app 2 (stock)
Visible app 3 (stock=1)
Heavyweight app 4 (stock=3)
Previous app 5 (stock=7)
Service 6 (stock=5)
Backup app 7 (stock=4)
Service_b 8 (stock)
Hidden app min 9 (stock)
Hidden app max 15 (stock)

Thanks!
[Android Software/Hacking General [Developers Only]] pikachu01:
As mentioned, if you're going to use Supercharger's ADJ values, you might as well take their whole package :)

I will work on ThunderBolt!'s values when I get the free time and port it into ICS once I find out an easier way to do this :)
[Android Software/Hacking General [Developers Only]] EarlZ:
Has anyone tested this on a Galaxy Tab 7.7 ?
[Android Software/Hacking General [Developers Only]] pikachu01:
The main CWM and screenstate_scaling should work. All the others will not work.
[Android Software/Hacking General [Developers Only]] EarlZ:
I'll give it a try, do you have a recovery package for the Tab7.7 ?
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope. But if you can provide these files, I'll make one :)

/system/bin/app_process

/system/bin/system_server

/system/lib/libsqlite.so

/system/lib/libsqlite_jni.so
[Android Software/Hacking General [Developers Only]] EarlZ:
Ok when I go back to the stock ROM, Right now im trying out a custom ROM.
[Android Software/Hacking General [Developers Only]] pikachu01:
Both custom and stock ROMs should have the same file as long as the custom ROM is based off of the stock ROM. :)
[Android Software/Hacking General [Developers Only]] ImbaWind:
hi pikachu

i release the script before u make one officially for our ace,i think my exam ends on next tuesday :D

but some hv asked me whether the sqlite3 will work if it's not compiled with the libs.. any idea? :confused:

and can this script be applied to ics?