yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] mnp:
Wow thanks Hamdir, a very good tutorial and make a HUGE difference to home creens on ARHD 6.1.1.

Couple of stages weren't 100% clear for a n00b like me, but trial and error got there.

- Script being locked in memory or not, I found a bit confusing. Mine was set to 'ro.HOME_APP_ADJ=2' in my prop.build on ARHD 6.1.1, so I changed it to 'ro.HOME_APP_ADJ=0' to unlock it?

- The second script 'KickAssKernelizer_Tweaks_Installer_Update_3_test_5-OPTIONAL_IO_TWEAK.sh.txt' needs stating to be run as root too.

How does this generally impact on battery performance for everyone?

Thanks again Hamdir.
[Desire HD Android Development] LorD ClockaN:
Really wonder how this works with my kernels??

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] memnoc:
Ok..once I've checked, if I click "back" have I to chose "kill" and then reboot?

Inviato dal mio HTC Desire HD usando Tapatalk
[Desire HD Android Development] hamdir:
thanks for the comments

no the ro.HOME_APP_ADJ shouldn't be amended if its placed inside the supercharger commented segment, i suggested adding it to the

top of the build.prop

, this is because in ARHD its placed inside the init.rc which we can't modify, adding it to the top of the build.prop will override the ARHD setting, keep in mind every time you change the minfrees or apply Hardtokill/bullerproof launcher you will have to add it to the top of build.prop again, this is problem is specific to ARHD i guess

Zeppelinrox the author of the script told me we shouldn't use the build.prop method since the script will change the ADJ value every time, i asked him for alternatives but i'm still waiting for his reply

i will amend the kernelizer part
[Desire HD Android Development] RASTAVIPER:
I followed instructions at first post and installed everything without any problem to my HD with AR 6.1

To tell you the truth I dont see any difference, except the free RAM that increased at 250mb.

So, I would like to ask at which use can someone find the most noticeable differences?
[Desire HD Android Development] 112.bkt:
Thank You hamdir :) I am using ARHD 6.1.1 and I have to say WOW its much smoother now with the scripts and apps run alot faster and are in my opinion more stable due to the free RAM a big Thank YOU.
[Desire HD Android Development] andreasy:
If you have used it like me on Leedroid 3.3.3, that's what I used to get and then even if you try to flash back another version of busy box it will be the same. After you reboot you may get stack on splash screen. Only way will be to restore. (All these apply only if you have the same characteristics as mine and you said earlier that you had the same right?)

Anyway, if you manage to get it working on Leedroid let me know. I trieda few times with different combinations and I always ended up restoring so I gave up.
[Desire HD Android Development] mnp:
Thanks dude, have amended the APP_ADJ value to 2 at the bottom and added the 0 value you at the top. All seems good :)
[Desire HD Android Development] hamdir:
mnp check this

So this method is kinda of wrong, i suggest you don't mess with this value any further with this until Zeppelinrox replies

the optimal setting according to Zeppelinrox, is "Hard to kill launcher", but i'm so far unable to apply it in ARHD v6.1.1 because the launcher is locked in init.rc, its either locked or bulletproof both are doing fine, i guess because we have a good amount of RAM in our device
[Desire HD Android Development] mnp:
Hmm. Thanks, I rebooted and it removed the 'ro.HOME_APP_ADJ=0' by itself at the top of the build.prop anyway. So I just have 'ro.HOME_APP_ADJ=2' in the 'additional build properties modified by Mike1986' section now.
[Desire HD Android Development] hamdir:
ok now im confused you shouldn't have this value in 'additional build properties modified by Mike1986'

the script cleans the ADJ values and keep it in the "# BEGIN OOM_ADJ Settings"

anyway i suggest you leave it as is for now, if you want apply the 768HP setting again to be sure, we may need to ask mike to remove it from the init.rc
[Desire HD Android Development] mnp:
Yea was weird. Just re-ran it and its in the right place now. Very odd, but all good now thanks :)
[Desire HD Android Development] Spyr0s:
The tweak works great

I/O Deadline Scheduler

Merged tweaks with DeSense and i can say its uber fast and 280MB free ram constantly, about 70 market apps installed + HTC apps. Currenlty uploading guys, stay tuned for the first rom with this tweaks included.

Big thanks to hamdir for putting all this in one thread!
[Desire HD Android Development] DanteGR:
Oh yesssss :D

We are there at last I believe ;)
[Desire HD Android Development] starbase64:
Hi,

my busybox version is 1.19.1 (on CM7 nb 209), but all works fine.

No bootloops or other problems!

Free Ram before: 280-320 / after: 365-390

with friendly greet

starbase64
[Desire HD Android Development] sigurd_LU:
It works, awesome :D

After applying and rebooting I thought it would've become worse, the launcher lagged quite a bit. But shortly after, it really started to fly, apps start quicker now :) I have about 250 MB of free RAM, before it was 100 less.
[Desire HD Android Development] P00t:
how do I do 3g supercharger?

EDIT: I just did the script for the V6 sueprcharger and there was no significant change in MIUI. I think miui is already smooth enough
[Desire HD Android Development] nteeb:
So right now don't we have to care about the fact if our launcher is locked or not?If I select "1"in the ScriptManager while running the Supercharger script, it asks if the Home is locked and we can choose yes or no...

Anyway I use CD8.1 and ro.HOME_APP_ADJ is set to "2" in the build.prop, down in the botton lines.Is it necessary to create a new one at the top with setting "0" ?
[Desire HD Android Development] fuzzbeans:
Trying it out now. Thanks.
[Desire HD Android Development] hamdir:
please don't mess with ro.HOME_APP_ADJ for now, the script will always remove your entry in local.prop and build.prop, don't amend the entry at the bottom set by the script, if the script didn't say home launcher is locked it means you don't need to bother

if its locked well you need to find out how to unlock, CM roms are easy as well as most sense roms already unlocked and launcher apps, however some like ARHD v6.1.1 are locked in the init.rc inside the ramdisk, so you need to mod the boot.img, I already removed the lock from ARHD 6.1.1, tomorrow I can post the moded boot.img for the brave :)

again if the script didn't say launcher is locked you don't need to bother
[Desire HD Android Development] matt-86:
Hi guys,script works very well,I 've followed the instructions and my DHD is much more faster now.one question,if I flash an update for the Rom ARHD 6.1.2 (waiting for it) ... I' ll have to do everything again? :-)

Sent from my DHD running ARHD Sense 3.0
[Desire HD Android Development] matt-86:
Gooooood ;-) we just replace the boot.img? I've already did all the procedure... I 'll have to do it back again?

Sent from my DHD running ARHD Sense 3.0
[Desire HD Android Development] hamdir:
yes the script will most likely need to be applied on Rom updates, unless the chef implements them inside his Rom, like the Lordmod ROM

its very easy to apply once you get the hang of it
[Desire HD Android Development] P00t:
do we have to do this again when we update our rom?

from rom 1.0.2 to 1.0.3???
[Desire HD Android Development] memnoc:
but where exactly the script should say that the launcher is locked? I mean, if you run the script after installing, and minfree match and the script say "hard to kill...it means that it's working" everything is fine?

---------- Post added at 11:07 PM ---------- Previous post was at 11:05 PM ----------

+1..............
[Desire HD Android Development] hamdir:
if the script said lunacher is hard to kill or bulletproof means its unlocked you don't need to do anything
[Desire HD Android Development] memnoc:
"Launcher is HARD TO KILL! i.e. SperCharge!

That means that it's working! :-)

OOM Grouping Fixes ARE in Effect!

That means the boot script ran!

-----------------------------------------------------------------------

-----------------------------------------------------------------------

Current minfrees = 6,12,225,250,300 mb

Prior V6 minfrees = 6,12,225,250,300 mb

ok this is what i see...just to be sure, I'll wait for your confirmation, but due to what you said, I guess that's fine;)

And another question, now I click back to exit script manager and I have to kill the script..do I need to reboot again once script being killed as in this case?

Thanks mate, I'm testing 1000mb option 9 script on Runny 1.3 sense 3.5 without any daemon or setcpu apps, and I must say that everyhting seems to work fine, smooth like hell of course, but fine..I've tried to use task manager and see if the background apps were difficult to restore due to saved ram, and again everyhting is fine...battery drain seems still exactly the same, no consumption related to script as far as I can see..

Thanks again;)
[Desire HD Android Development] famonaco:
lol mate NCTeam or DesenseNG rom :p

see ya
[Desire HD Android Development] hamdir:
famonaco sorry for that I thought you guys are one team

memnoc relax mate, its working
[Desire HD Android Development] eliashadow:
Of course we are one team..;)

And your sharing is just amazing...I have never seen my DHD so smooth with sense 3 and free ram always is 200+mb!!!!!!

Thanks-thanks-THANKS!!!!!lol
[Desire HD Android Development] Madaz2:
Quoted for not having an answer aslo if you flash a different kernel does it have to be run again

Andreasy I ran it on busybox 1.92 or what ever the latest was as I can't install 1.18
[Desire HD Android Development] zeppelinrox:
Wow... this thread got pretty big, pretty fast...

Yeah.. yeah... I know you've told me that I gotta make it easier to understand... :p

It shouldn't really effect battery but some people report huge battery improvement.

I guess it would be because the script along with the 4 kernel tweaks will prevent apps from hogging resources.

Most likely it has to do with setting oom_kill_allocating_task to 0 whereas many roms set it to 1.

0 = kill rogue apps after doing a system scan in an OOM situation.

1 = kill the app that caused the OOM situation (most likely an app that was run recently)

Linux default is 0 but some roms set it to 1 to avoid a system scan when it's set to 0.

But a system scan on a phone is negligible when compared to a system scan on a linux server that may be running hundreds of programs.

So I set it to 0 :)

Titanium Backup uses it's own internal busybox so TB is unaffected.

You don't lose anything by downgrading but you gain in reliability.

At busybox.net, v1.19.0 is lablelled as unstable.

v1.19.2 seems to be okay after I did a quick test with it.

You can get it via Stericson's busybox installer.

If you have problems installing busybox or changing versions, try using Stericson's BB installer as it fixes those problems.

JRummy's BB installer will then work properly and you will have more versions to choose from.

Just give it a couple of days... you'll probably notice less glitches and more smoothness... just more reliable.

What value is given vial init.rc?

What actually matters most is NOT the ADJ value of grouping, but it's relative importance to other groupings...

For example, if a rom has the option to lock home in memory, it is given a value of 1 because that is the value given to Visible Apps.

But if you supercharge, and then enable lock home in memory, your launcher will have a priority of 3 instead of 1 - because I changed visible apps to be priority 3 so that I can shoehorn the launcher between visible and forgeground.

Basically, I created a home launcher grouping ;)
[Desire HD Android Development] DeadlyCords:
After running script is it necessary to run busybox 1.18.2 or can i go back to 1.18.x or 1.19 and higher?
[Desire HD Android Development] eliashadow:
Thank u very much mister.This is really the BEST script around all the time!No big words,just the truth!Our DeSense rom which included your script is really out of space thanks to you!

So,about the battery.. I didn't test it really yet in standby cause i full charge to calibrate the battery all night,but,with my settings in Lord's kernel(ondemandX,min 122-max 1075, u/v -50 and lower auto brightness via RCMix tweeks menu) i have an impressive low draining in screen on!

For example now that I'm writing this post via my DHD, the current widget showing me 85mAh draining,which is really amazing!

The most impressive of all is that my free ram NEVER goes down from 190 and the most of the time is about 250 FREE RAM stable!!!!
[Desire HD Android Development] andreasy:
Thanks but I got exactly the same only with more info with this app. The installer detected that there is enough storage and everything should be fine, however, after installation I got failure error because there were mulyiple copies of busybox detected. Then, the same as before happened: I lost root access and ended up in freezing in splash screen.

I came from a clean install follwed by full wipe on Leedroid 3.3.3.
[Desire HD Android Development] hamdir:
well yes we have one specific scenario, in one of our most popular official sense 3 roms, "android revolution HD 6.1.1" the chef locked launcher inside the ramdisk

setprop ro.FOREGROUND_APP_ADJ 0
setprop ro.VISIBLE_APP_ADJ 1
setprop ro.PERCEPTIBLE_APP_ADJ 2
setprop ro.HEAVY_WEIGHT_APP_ADJ 3
setprop ro.SECONDARY_SERVER_ADJ 4
setprop ro.BACKUP_APP_ADJ 5
setprop ro.HOME_APP_ADJ 1
setprop ro.HIDDEN_APP_MIN_ADJ 7
setprop ro.EMPTY_APP_ADJ 15

according to the script the OOM grouping in your script is kinda not working, it keeps saying "launcher is locked in memory...very weak" after each reboot, and since your script cleans the .prop files, there is no way to force disable it (there is no option in the UI to lock sense launcher)

the only way i found was to mod the boot.img and setprop ro.HOME_APP_ADJ 1, then flash it again
[Desire HD Android Development] hamdir:
until Zeppelinrox replies

for those running ARHD v6.1.1 i've attached the moded boot.img with the same values in init.rc except "setprop ro.HOME_APP_ADJ 0"

i won't explain how to flash this, and i don't know how to create a boot.img update file, so you are on your own, keep in mind if the file is corrupt or anything goes wrong the phone will not boot and will be stuck on the HTC logo and you will be forced to pull out the battery, do a backup before you try this

this is only for ARHD v6.1.1, you will need to reapply the 768HP setting after this (for the groupings to be fixed)
[Desire HD Android Development] matt-86:
Mmmmmm,sounds good but we need someone to make it simple to flash. I did 't understand the 768HP setting.. how do we do it?

Sent from my DHD running ARHD Sense 3.0
[Desire HD Android Development] zeppelinrox:
They all have to be changed.

Almost ALL my values are different.

Run the latest 6.2 beta using the build.prop option and just use the fully supercharged build.prop.

Nitro Lag Nullifier(maybe?) and definitely 3G TurboCharger also need go into build.prop for them to work.
[Desire HD Android Development] hamdir:
thanks man ill update the guide regarding the locking and options part, can't test it myself since i moded the init.rc
[Desire HD Android Development] mnp:
After running the scripts yesterday - this morning I noticed 50ma constant drain and Battery Widget App opens to a blank screen. Although the widget does report values, just the app that doesn't seem to work. Anyone else reporting this?
[Desire HD Android Development] memnoc:
So that's definitely the solution? Just select option 22/then the option build prop/ then apply the script again and reboot? No need custom boot img or adding lines in build.prop anymore?

Is this new method true every time script doesn't apply and with the 6.1supercharge version?

Thanks;-)

Inviato dal mio HTC Desire HD usando Tapatalk
[Desire HD Android Development] memnoc:
Thanks a million times mate;-) This script is something amazing..never seen on Android before..you're perfectly right when you say that nothing is similar with This script..impressive..sense roms need this script a lot..I'm testing the 1000mb 9 settings and no issues at all..battery drain is the same as always after calibrated the battery..and ram is always on 200/250 or so...no issues restoring apps true multitasking and no "wake issues" just smoothness like hell and a lot of free ram..always;-) Thanks again;-

Inviato dal mio HTC Desire HD usando Tapatalk
[Desire HD Android Development] matt-86:
Hi mate,I 've seen vers.6.2 is out now. What do I do to update?I have script 6.1 and ARHD 6.1 with homescreen locked I imagine.. I would like to activate option 22 as you explain...

Sent from my DHD running ARHD Sense 3.0
[Desire HD Android Development] hamdir:
run version 6.2, and select options, by typing 22

set the text speed again and then it will ask whether to enable boot.prop method and warns of possible issues (make sure you have backup) select yes

set 768HP again by typing 8 and then reboot
[Desire HD Android Development] matt-86:
I have to stop/kill the script and delete it? And start the 6.2?

Sent from my DHD running ARHD Sense 3.0
[Desire HD Android Development] inzaghi75:
Which is the best option to choose 1-25?
[Desire HD Android Development] hamdir:
no just run the script from the new file thats it
[Desire HD Android Development] hamdir:
....you need to read the instruction by the script

its says your device has 620MB of ram and recommends the 768HP settings, either 8 or less multitasking with option 9
[Desire HD Android Development] vjeta:
"For further improvements select option 17 (nitro lag nullifier) and enable it"

Nitro lag nullifier it's now option 18 in new script, please correct first post.

thanks!
[Desire HD Android Development] lupipe:
works well with runnymede 1.3, not perfect but much much better...so thumbs up!!!
[Desire HD Android Development] LorD ClockaN:
reading your post, I would think that runnymede doesn't run well at all :)
[Desire HD Android Development] capychimp:
Runny runs just dandy without scripts for me lol
[Desire HD Android Development] LorD ClockaN:
that is what I was thinking! :)
[Desire HD Android Development] lupipe:
no mate, runnymede works very well, problem with lags are because of htc sense, but I'm addicted to it :o and this script helps a lot :)
[Desire HD Android Development] a user:
lol

.
[Desire HD Android Development] nteeb:
Do we need to use this script,too?If so, when:before or after the others?
[Desire HD Android Development] liljom:
You don't have to, mate. But you can try if it helps better/faster 3G.

---------- Post added at 09:03 PM ---------- Previous post was at 09:00 PM ----------

I just removed a lot of HTC bloatware, and it works perfect
[Desire HD Android Development] nteeb:
Thanks,gonna try it...:D
[Desire HD Android Development] inzaghi75:
I have a question. Can I use only one option? Or can I use option 8 and then option 18 micro lag nullifier. Can I use both?
[Desire HD Android Development] memnoc:
You're perfectly right...but with script improves a lot capy..I'm skeptical enough to be sooo critical with this kinda script, but This one works for sure...Second day with the scripts on runny 1.3, and no issues..for now of course..the feeling is to have the ROM as just booted for the first time..

Inviato dal mio HTC Desire HD usando Tapatalk
[Desire HD Android Development] alirez_sos:
hi

thanx for the script

im making rom and i want add this script to my rom

what i must to do?

plz help
[Desire HD Android Development] Madaz2:
Go to the original post in the thread and down the bottom of his first post you will find a link the the creators original thread within his first post he out lines what you are allowed to do with it and its implementation
[Desire HD Android Development] Software Guru:
Morning, I loaded Script Manager and Busybox Installer but cannot downgrade to 1.18.2 so uninstalled and now my system is stuck as a white HTC screen

What have I done wong???
[Desire HD Android Development] nteeb:
Zeppelinrox have mentioned here before:

"If you have problems installing busybox or changing versions, try using Stericson's BB installer as it fixes those problems.

JRummy's BB installer will then work properly and you will have more versions to choose from."

If you are still stuck on the white HTC screen, all you can do is restore from recovery and start the whole process from the beginning and downgrade busybox using this way.
[Desire HD Android Development] hamdir:
ok the OOM grouping fix doesn't seem to be working with launcher pro, time to pm Zeppelinrox
[Desire HD Android Development] andreasy:
No, it still won't work. That app will just tell you that there were multiple versions of busybox detected and you will get the same problem. It has to do with Leedroid ROM.
[Desire HD Android Development] matt-86:
Hi mate,is this correct? Now I have 2 scripts running. Vers.6.1 and 6.2

Sent from my DHD running ARHD Sense 3.0
[Desire HD Android Development] TenisConcordia:
I need some help:)

after all this process, i found that the power button doesnt work...its working but only for screen off/on...long pressing wont respond!!!why?

thank you guys

:D
[Desire HD Android Development] nteeb:
You made run the latest,and all the tweaks is made by that one.
[Desire HD Android Development] matt-86:
Mmm ok,I see everything working fine,but I have to kill/stop the old one and delete it? Or I leave it as it is? The only option I did 't do again is kernelizer because I 've installed it in vers.6.1. I just did option 22 and option 9 :-) on ARHD 6.1.1 . It 's correct?

Sent from my DHD running ARHD Sense 3.0
[Desire HD Android Development] nteeb:
It doesn't matter if you keep or delete the old script.;)

Anyway everything seems to be OK.
[Desire HD Android Development] matt-86:
Ook,thanks mate :-)

Sent from my DHD running ARHD Sense 3.0
[Desire HD Android Development] zachs_xda:
Minfree doesn't seem to stick after reboot -- Supercharger did stick though.

Running the script again it shows the old minfree values and a warning about script did not run.

Appreciate any help. Thanks.
[Desire HD Android Development] vjeta:
If I change the kernel I've to re-apply this scripts ?????Thnx
[Desire HD Android Development] Software Guru:
Morning

This works on LeeDroid's ROM even though I didn't downgrade busybox as there is known issue with this ROM, just bypassed that step and everything is fine

Although can someone just clarify this step

Browse to the scripts location and click on V6_SuperCharger_for_Android-update9_beta_6.2.sh.txt, make sure to tick “run as root” but don’t tick “run at boot” otherwise we will face issues, the script runs at boot automatically, press run

Don't understand "tick run as root but don't tick run as root" ????

Excellent otherwise
[Desire HD Android Development] jucapo:
make sure to tick “run as root” but don’t tick “run at boot”
[Desire HD Android Development] scorpio09:
Hello Hamdir.. Thanks for the fantastic guide. I have applied the scripts on my DHD with ARHD 6.1.1. And also applied Turbo 3G. But after reboot I started noticing music playback issues. When ever the mobile is locked / unlocked, I am getting a small pause / hizz sound while listening to the Music. Did you notice something like this. Is there any fix for this issue. Thanks..

Swyped from my DHD using XDA Premium
[Desire HD Android Development] ekke201:
Hi

Got a problem. Is it possible to fix so some apps not closes. Skype is always loging out due to this script. Or is it possible to manage apps manually to never close?

Please advise.

Old man with Sense 40+
[Desire HD Android Development] inzaghi75:
I have the same problem but on Runny 1.4
[Desire HD Android Development] hamdir:
have you tried bullet proofing the music app?
[Desire HD Android Development] arvinsheet:
This one is great. Tried it on ARHD 6.1.1 and really works perfect. No lags at all or what so ever. Just bullet proof the app you don't to be killed like the music app or browser.