yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Melidian:
Yep, you're right !

I am on stock SE Kernel and I did not know of all this stuff before.

As the script was saying "SIO generally better than Deadline generally better than NOOP", I was expecting the three choices to appear with one in brackets. Now, I understand the script displays only the choices available according to the Kernel installed.

This thread helped me a lot to understand all this stuff better as well :

http://xdaforums.com/showthread.php?p=22134559#post22134559

By the way, in this thread, the author consider that SIO > NOOP > Deadline... which is different from your script.

Anyway, I do realize there is no common view on this as it depends both on the system and on the use you make out of it.

Bye for now,
[Android Software/Hacking General [Developers Only]] Pitbull_Raven:
Hi.

Thanks for the reply. I think maybe I should have been clearer. I meant no disrespect nor was I demanding you write something just for me. Rather I was trying to find out if maybe there was some post that explained it a bit more in detail. I used the search function and read pretty much every post I found regarding "battery calibrator" but couldn't find the answer to my question. So I thought that instead of hammering the thread with stupid questions I'd first try to find a document or post with relevant information, read up on it, and then post any doubts I might have. I have been looking at the script it's self, but to no avail. I'm afraid my understanding of scripts and android construction is pretty limited.

So again, I am very sorry if I led you to believe that I was demanding anything. I'm not. I was just trying to figure out if this could be used on different devices (in this case, on mine) and if so, would I have to change anything and would this possibly help me out with another issue I am having on my device. I have the utmost respect for devs and their work as you can see by any of the many posts I have supporting them and by the many donations I have made to a few of them over the years. Your work is invaluable and appreciated. Hell, I only regret I am not good enough to be a dev myself.

Anyway, sorry again and if despite this you still believe that I should not be asking such a question, then just let me know and I'll stop.
[Android Software/Hacking General [Developers Only]] ryomakun:
can someone give me link download for last version v6 supercrahger?because i cant download from attachment ><
[Android Software/Hacking General [Developers Only]] werby:
thanks.

ill test it tomorrow..

i was just afraid that when the phone goes into sleep mode if anything changes.. like the priority of processes or something.. killing important things more easily..

just a thought based on the fear of getting late to work :D
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh yep I understand.

It is most likely included with system process and therefore has a very high priority.

Just for fun, I used this thing called FreeMemoryRecover https://market.android.com/details?id=com.fantasmosoft.free_memory_recover&feature=search_result

It's like an atomic bomb.. kills system services and widgets too.

I set it off and made about 80 mb free ram and the alarm clock in the status bar didn't go anywhere :D
[Android Software/Hacking General [Developers Only]] latino147:
Maybe a nice addition for your script:

http://xdaforums.com/showthread.php?p=12285525
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I just saw that but didn't think of that :)

But I wonder if it will screw anything up if people apply it later on - after a mod already has that update applied
[Android Software/Hacking General [Developers Only]] boonhoong:
I recently updated to CM7 RC3. With your supercharge and bulletproof script, there were instances where angry birds (original, seasons and rio) just wouldn't launch. I would see the intro screen, then after that it would bump me back to the launcher. If I rebooted, I could get them to launch, but after a while, the same issue would reoccur. I decided to try what would happen if I just removed the bulletproofing, and guess what? No more issue (of course the redraws came back sometimes).

And the best thing I found out after that was the fact that launcher redraws in CM7 takes only about one sec as compared to CM612 which would take up to 5 seconds. I can live with a one second redraw.

The minfree script still works wonders in CM7 by speeding up everything though. Many thanks for your hard work! :D

JIT:Off, VM Heap:32Mb, minfree:6-8-24-30-40-50, ROM:CM7 RC3
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yes with the minfree script settings, I would almost never get launcher redraws either but I thought to make home priority 0 because some people were still getting them.

Of course it is easily changed by enabling CMs lock home in memory setting to give it a 1 priority.

I actually had trouble installing and running AB too yesterday. Seasons was fine but AB was tough. I removed all tweaks, didn't even use CM's lock home (ugh it was brutal the launcher just stays killed half the time lol)

Anyway I checked a log and AB had an issue with my adblocking so I took off adblocking and it still wouldnt load up.

Finally I just found a Ad-free version of AB, installed it, and it ran fine then I put the tweaks back in, including the bulletproofing and it still worked good.

I notched it down to the advertising in the game that screws it up on my phone but it's interesting that you managed to get AB with Ads installed and working good :)

Thanks for letting me know ;)

edit: I forgot to mention that I updated OP earlier. I realized that I didn't explain what the values are and don't want anybody thinking those numbers are megabytes.
[Android Software/Hacking General [Developers Only]] boonhoong:
I just use adfree to block all the adds, and I don't even realize that there were ever ads in angry birds. Heh heh.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well, me neither.

That's why I tried the normal version with ads.. because I wouldnt see them anyway lol
[Android Software/Hacking General [Developers Only]] jet.fire:
I'm currently using settings of 6-8-20-40-50-60 and every time I check I have a lot of RAM free, usually 42-44, sometimes 52ish. I feel like that much free RAM takes away from apps remaining in memory to open faster or something. Any suggestions? Or can you tell me how I should test new values after applying them? (Just change them and play around? What am I looking for?)

Edit: I guess I should do some more reading lol. Seems like I should lower the values until they are good.

Sent from my Milestone
[Android Software/Hacking General [Developers Only]] n3n00:
I'm currently using Cronos ROM and I don't need these tweaks :).
[Android Software/Hacking General [Developers Only]] zeppelinrox:
What are the default memfeee settings?

I hadn't checked it out yet
[Android Software/Hacking General [Developers Only]] n3n00:
1536,2048,3072,4096,6144,8192

That's the default in CM7 too right?
[Android Software/Hacking General [Developers Only]] bigee1212:
hey guys running project elite 5.0.2. when trying to do bulletproof launcher upon reboot it adds ro.HOME_APP_ADJ=1 even after i delete it and add ro.HOME_APP_ADJ=0.

any way to stop it from doing this? this rom is based off CM7 and ive disabled lock home in memory.

also anybody here running compcache and/or swapper along with these minfree values of 6, 8, 24, 30, 40, 50 mb? Just wondering because i was using compcache but now i turned it off after changing the minfree values... seems to be stable and multitasking is good but do you think gingerbread really needs compcache or will these adjustments suffice?
[Android Software/Hacking General [Developers Only]] werby:
Just passing to say everything is working flawless, even done the battery calibration :)

tnx Zeppe
[Android Software/Hacking General [Developers Only]] eybee1970:
some folks in our German forum are reporting that proximity sensor does not work, when doing a call (screen keeps ON!).

I do not have this prob, but maybe someone else experienced the same issue and got it solved?
[Android Software/Hacking General [Developers Only]] boonhoong:
Had to unsupercharge and unbulletproof my milestone. With the script, angry birds starts off fine but gets laggier and laggier over time until the phone freezes.

Without the script, day to day activities run slightly slower but angry birds runs smooth.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Those numbers are 6,8,12,16,24,32.

Not sure, but they may be google's default values.

I think that's what Feeyo posted a few days ago.

Had you put a blank line after ro.HOME_APP_ADJ=0?

But still, your rom seems to add a =1 line on boot? that's strange...

Milestones can't run any swapping or compcacheing so I dunno about that...

I did't get that experience either.

I've been testing out lowering the background app values without losing much performance.

Lilim was having an SMS problem but this seems to be working better...

6,8,24,26,28,30 ie. 1536,2048,6144,6656,7168,7680

Phone still runs the same while being less aggressive with mem management.

I dunno if I should add a script for it at this point.

Maybe somebody else can test it out for a couple of days...
[Android Software/Hacking General [Developers Only]] Quintasan:
I can't see any difference using new parameters Zeppeli, mind supplying us a test case (things to do to test if it works) and expected behavior?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
With the last 3 numbers at 26, 28, 30 instead of 30, 40, 50, background apps such as music players are less likely to be killed.

They won't get start getting killed off until there is 30mb of free ram instead of 50 mb.

Specifically, somebody was having a problem with GO SMS getting killed

If these things stay in memory and performance isn't lost, then thats great :)

But if you didn't have a problem with apps closing before, it will be less likely to happen now.
[Android Software/Hacking General [Developers Only]] boonhoong:
At the risk of sounding stupid, I am going to ask this question. If I set JIT to off, is there still a reason for me to have any memory allocated to vm heap? Just curious because, I've turned off JIT, set my vm heap to 24 and I've had zero launcher redraws (with only the keep launcher in memory setting checked for cm7). Memfree setting is default cm7
[Android Software/Hacking General [Developers Only]] hazard209:
For some reason every time I run the kickasskernel script and reboot, I get stuck in a boot loop. I wipe and flash a new rom and kernel onto my phone each time and tried it three times. Any suggestions?
[Android Software/Hacking General [Developers Only]] dorimanx:
Holly ****....

I think I get it now..

look at this and stay with me.

MIN_HIDDEN_APPS=2 is the ro.HIDDEN_APP_MIN_ADJ=7 !!!

and the

MAX_HIDDEN_APPS=15

is why we see in logs no longer want bla bla (hiden#16)

hiden app is app that not on screen and number 16 app will kill the oldest app in time counter, and its will be home app or any app that sit in ram from the beggining of counter.

so all i didt is set the min to higher then max and tasker died.

so settings look like that!

ro.HIDDEN_APP_MAX_ADJ=75

then we can run 75 hiden apps!

the same format can be used for other settings!

i am trying now :D

edit.

damn this dont work.

still no more then 40 and I see the log about hidden #16

I will try with

ro.MAX.HIDDEN_APPS_ADJ=75

Sent from my Dorimanx Rom on HTC HD2
[Android Software/Hacking General [Developers Only]] :
God, hope youre right :D

So, what to put into build.prop?

ZaTapatalkowane & WyHtcIME'owane z ZTE Blade :)
[Android Software/Hacking General [Developers Only]] sag7392:
^^^Bring it on mate! Give me some settings to adjust and I'm all over it!
[Android Software/Hacking General [Developers Only]] dorimanx:
Check the edit.... changed the setting

Sent from my Dorimanx Rom on HTC HD2
[Android Software/Hacking General [Developers Only]] sag7392:
So are you suggesting that we had this line and leave the rest alone? Give us something, lol.
[Android Software/Hacking General [Developers Only]] :
Yeah, I wanna know too :D

ZaTapatalkowane & WyHtcIME'owane z ZTE Blade :)
[Android Software/Hacking General [Developers Only]] dorimanx:
ooh well its not working also.

just did reboot and still logs show that app #16 killed service.

no other way, I will look at the guide how to edit the jar file and compile with corrected settings.

Sent from my Dorimanx Rom on HTC HD2
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oooo interesting developments indeed...

So it was easy to decompile the classes.dex from services.jar but what I see doesn't look like github...

Looking at ActivityManagerService.smali

example:

MAX_SERVICE_INACTIVITY:I = 0x1b7740

If I google 0x1b7740 it says 1800000 milliseconds which is indeed 30 minutes...

So...

.field static final ENFORCE_PROCESS_LIMIT:Z = false

.field static final MAX_SERVICE_INACTIVITY:I = 0x1b7740

.field static final MIN_HIDDEN_APPS:I = 0x2

.field static final MAX_HIDDEN_APPS:I = 0xf

.field static final CONTENT_APP_IDLE_OFFSET:J = 0x3a98L

.field static final EMPTY_APP_IDLE_OFFSET:J = 0x1d4c0L

.field static final MAX_ACTIVITIES:I = 0x14

So, is that greek? LOL

Just kidding... probably hexasomethingie...

yep... hexadecimal converter... http://www.statman.info/conversions/hexadecimal.html

The conversion matches the values above.

edit: so nobody tried this in build.prop?

ro.ENFORCE_PROCESS_LIMIT=false

ro.MAX_SERVICE_INACTIVITY=120*60*1000

ro.MIN_HIDDEN_APPS=15

ro.MAX_HIDDEN_APPS=75

ro.CONTENT_APP_IDLE_OFFSET=120*1000

ro.EMPTY_APP_IDLE_OFFSET=600*1000

ro.MAX_ACTIVITIES=100
[Android Software/Hacking General [Developers Only]] dorimanx:
its binary or hex

you can use some app to translate back and forward

the numbers then compile with corrected ;-)

Sent from my Dorimanx Rom on HTC HD2
[Android Software/Hacking General [Developers Only]] dorimanx:
trying now!

edit.

no go, ):-!

no change in logs or ability to run more services.

Sent from my Dorimanx Rom on HTC HD2
[Android Software/Hacking General [Developers Only]] sag7392:
I have and it stuck...but rafalo is the one that looks at the active apps...I just look at speed and processes that I want running. It works so far, but I need rafalo to weigh in on this one.

EDIT-------> So based on what Dorimax found with the values, would going back to null make a difference?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
yep I edited my post... all conversions match using this converter http://www.statman.info/conversions/hexadecimal.html

Ok... I converted it...

ro.ENFORCE_PROCESS_LIMIT=false

ro.MAX_SERVICE_INACTIVITY=120*60*1000

ro.MIN_HIDDEN_APPS=15

ro.MAX_HIDDEN_APPS=75

ro.CONTENT_APP_IDLE_OFFSET=120*1000

ro.EMPTY_APP_IDLE_OFFSET=600*1000

ro.MAX_ACTIVITIES=100

Becomes...

.field static final ENFORCE_PROCESS_LIMIT:Z = false

.field static final MAX_SERVICE_INACTIVITY:I = 0x6ddd00

.field static final MIN_HIDDEN_APPS:I = 0xf

.field static final MAX_HIDDEN_APPS:I = 0x4b

.field static final CONTENT_APP_IDLE_OFFSET:J = 0x1d4c0

.field static final EMPTY_APP_IDLE_OFFSET:J = 0x927c0

.field static final MAX_ACTIVITIES:I = 0x64
[Android Software/Hacking General [Developers Only]] dorimanx:
thanks for hex converted, will usefull soon :D

so will you compile new file?

question is, if it the same size before edit as my in hd2,

if not then I will try to edit my self,

can you please post the exact size before modification

thanks.

Sent from my Dorimanx Rom on HTC HD2
[Android Software/Hacking General [Developers Only]] :
Yeah, I'm testing processes, because its all about full use of resources by system.

Did you think how fast system will be when RAM will be controlled by lowmemorykiller fully? No more black screens, long app loading etc. FAST . FAST. FAST. :)

Now Android kills processes when memory is on high level, and it causes wasting of RAM, processor, it makes lags, long loading, kill of usable app.

Multitasking suffers much because of it.

Dori, hope you can disable this ticking clock bomb :D

ZaTapatalkowane & WyHtcIME'owane z ZTE Blade :)
[Android Software/Hacking General [Developers Only]] sag7392:
I agree, but just for ****s and giggles, I'm going back to null on those lines. This has been a very interesting day, lol.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Post your services.jar... I'll convert that and post it

Look above... my last post edited to show converted hex for smali
[Android Software/Hacking General [Developers Only]] dorimanx:
zepp really helped on that, and we can create better tasker, this will be really cool.

but its 2:42am now, so i will try in the morning.

thanks for really cool debugging and team work,

when we done, visit me some times in my rom thread, with new tasker its will be super cool rom.

good night...

Sent from my Dorimanx Rom on HTC HD2
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok have a good one
[Android Software/Hacking General [Developers Only]] sag7392:
Yeah, I'll have to catch you guys on the flipside too...the wifey is calling, lol. This was awesome working together to make this thing GREAT! Let's see what tomorrow brings.

Cheers mates!
[Android Software/Hacking General [Developers Only]] Pitbull_Raven:
In OP, right click on the file and "save as". Then rename the file and delete the extension.

Sent from aboard the starship Enterprise using my ComBadge.
[Android Software/Hacking General [Developers Only]] ryomakun:
in this http://xdaforums.com/showpost.php?p=18703418&postcount=5021

there are Kick Ass Kernelizer Help File! (Abbreviated) and 3G TurboCharger Help File! (Abbreviated)

so after i run script with :

V6_SuperCharger_for_Android-Update9_RC11_Test_9.sh.pdf

have to i run KickAssKernelizer_Tweaks_Installer_Update_3_RC11_Test_1.sh.pdf and 3GTurboCharger_Installer_Update_3_RC11_Test_1.sh.pdf and Die-Hard_Battery_Calibrator_RC8.sh.pdf ??
[Android Software/Hacking General [Developers Only]] zeppelinrox:
All my scripts are made to be good for any android.

But search for battd calibration in atrix forums.

Something I've been looking into :)
[Android Software/Hacking General [Developers Only]] ryomakun:
Step 1. So grab the tutorial zip from above and unzip into a folder, say C:\super, along with the smali and baksmali jar files. This is all you need apart from a text editor and a zip program like 7zip or WinRAR.

............ Put services.jar (make sure you have a backup) in C:\super.

how to get service.jar???
[Android Software/Hacking General [Developers Only]] Daniel D.:
Read the first and second post
[Android Software/Hacking General [Developers Only]] ryomakun:
got qustion again. if supercharger level is 100% so it is done?no more editing again?or we have to change2 it with menu 1-33 in script?
[Android Software/Hacking General [Developers Only]] Daniel D.:
All done.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
oops... it's a defy thread... here it is

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

Do you have the /pds/public/battd folder?

Run Option 14 so you can stop asking redundant, stupid questions.

And for the love of god, learn how to read and figure out what a search button does.
[Android Software/Hacking General [Developers Only]] JBNex:
I know know lol
[Android Software/Hacking General [Developers Only]] orbital_71:
Hey Zepp, i understand that after supercharge the script will do a backup copy to sdcard. And when we flash update we need to re-supercharge again from the backup. Just wonder whether it can create a copy in the system for survival when we flash nightly rom? So we don't have to go throught the process running the script again. Tks :fingers-crossed:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
After flashing a rom everything is /system is wiped.

So services.jar wouldn't survive that.

A workaround maybe to pack the patched services.jar into the nightly before flashing but if there were any drastic changes, bootloop can occur.

As for init.d scripts, a workaround is to have /data/local/userinit.d folder enabled and have scripts in there run on boot as well as those in /system/etc/init.d

Flashing a rom wouldn't effect /data so that is a pretty permanent fix unless /data gets wiped during a factor reset.

And how do you have userinit.d run scripts on boot? With an init.d script :)

1. Put the attached script in /system/etc/init.d. Be sure that there is no .pdf extension. :p

2. Do in terminal:

mkdir -p /data/local/userinit.d
chown 0.0 /data/local/userinit.d
chmod 777 /data/local/userinit.d
chown 0.0 /system/etc/init.d/*
chmod 777 /system/etc/init.d/*

May as well give all the scripts in init.d permission just in case lol

3. MOVE scripts that you want to be "permanent" out from/system/etc/init.d and into /data/local/userinit.d

Don't move scripts that are automatically installed by the rom tho or else they will run twice when the next nightly flash installs new init.d scripts.
[Android Software/Hacking General [Developers Only]] Pitbull_Raven:
Thanks for the link. I'll have a look see.

As for the folder, I'll have to check when I get back home next week. It's running a custom Sense 3.5 ROM so I can't be sure.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
OK.

Its probably device specific and not rom specific.

I also read that some HTC model does have battd.
[Android Software/Hacking General [Developers Only]] Pitbull_Raven:
Hope I'm in luck then. Other "calibration" methods haven't worked for me so far, but have high hopes for this.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ya it made a difference this week for an extended battery for the milestone.

Battery monitor widget settings would show the stock battery mah.

After setting permissions to the pds/public/battd and it's files and deleting battd data, it showed some huge mah and does last longer.
[Android Software/Hacking General [Developers Only]] acideater:
Ok I found the problem, sort of.

For Update 9 RC11...

Options 1,14,16-22 all work perfectly.

Options 2-15 kill my network service. (Any/All of them)

Any advice? It seems that memory alterations are causing me issues with my network data.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
No it's something running on boot.

Did you not disable the additional tweaks?

In options, disable all the additional startup stuff

Then... *ahem*... enable one thing at a time with a reboot in between changes.
[Android Software/Hacking General [Developers Only]] d34thbl00m:
So I'm having a bit of trouble reaching 100%. I've tried just about everything I've read online to no avail (and I will apologize if someone else got this fixed earlier in this thread, I really couldn't bring myself to read through 1605 pages). I am using the newest version of the V6 script, running CM9 on a Droid X2. I got everything working right with the script except for the ISCream. I get SuperCharger Level: 50% Supercharged...Lose 25% - ADJ Entries NOT Found / NOT Patched, Lose 25% - SuperCharged Launcher NOT In Effect. I first tried the webapp to patch services.jar, which got me to 75% supercharge, but then it said that that version is out of date. So I dug a little deeper and went with the windows patch program, which went through smooth as butter (although it said that ADB did not have root rights, could this be the issue?). Now I am back down to 50%, and when I try to do the download again through webapp it fails and says it's because the patch is already applied...well if the patch is already applied then how come I can't get it to work? Any help would be great. Again, sorry if this was already answered earlier but I've searched for a couple hours now and can't bring myself to read through any more of this thread.
[Android Software/Hacking General [Developers Only]] mixednuts:
What's your ROM like - Sense, odex?
[Android Software/Hacking General [Developers Only]] d34thbl00m:
It's deodex, CM9 Beta 1 for Droid X2.