yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
The app is getting killed before the settings get applied.

Yeah next update should have the bulletproofing apps working flawlessly.

But for now if you launch 97BulletProof with script managerit should keep on running every 60 seconds.

Not too sure really.

Why don't both cores work?

The free system tuner app has a dual core activation feature... looking into that is your best bet I think.

The dev is great too and there is a pretty good thread here in the apps forum
[Android Software/Hacking General [Developers Only]] FastKatt317:
Why aren't these updates in the OP?

Just curious...
[Android Software/Hacking General [Developers Only]] -Thrive-:
You nailed it, thanks. I killed a bunch of apps before running the V6 bulletproofer and it worked without error.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
The OP has a link to NEWER scripts... the latest ones :p

Nice...

FYI I been poked around in ics services jar...

Wanna change this:

# static fields
.field static final BACKUP_APP_ADJ:I = 0x4
.field static final CONTENT_APP_IDLE_OFFSET:J = 0x3a98L
.field static final EMPTY_APP_IDLE_OFFSET:J = 0x1d4c0L
.field static final FOREGROUND_APP_ADJ:I = 0x0
.field static final HEAVY_WEIGHT_APP_ADJ:I = 0x3
.field static final HIDDEN_APP_MAX_ADJ:I = 0xf
.field static HIDDEN_APP_MIN_ADJ:I = 0x0
.field static final HOME_APP_ADJ:I = 0x6
.field static final MAX_HIDDEN_APPS:I = 0xf
.field static final MIN_CRASH_INTERVAL:I = 0xea60
.field static final MIN_HIDDEN_APPS:I = 0x2
.field static final PAGE_SIZE:I = 0x1000
.field static final PERCEPTIBLE_APP_ADJ:I = 0x2
.field static final PERSISTENT_PROC_ADJ:I = -0xc
.field static final PREVIOUS_APP_ADJ:I = 0x7
.field static final SERVICE_ADJ:I = 0x5
.field static final SERVICE_B_ADJ:I = 0x8
.field static final SYSTEM_ADJ:I = -0x10
.field static final VISIBLE_APP_ADJ:I = 0x1

To this:

# static fields
.field static final BACKUP_APP_ADJ:I = 0x7
.field static final CONTENT_APP_IDLE_OFFSET:J = 0x3a98L
.field static final EMPTY_APP_IDLE_OFFSET:J = 0x1d4c0L
.field static final FOREGROUND_APP_ADJ:I = 0x0
.field static final HEAVY_WEIGHT_APP_ADJ:I = 0x5
.field static final HIDDEN_APP_MAX_ADJ:I = 0xf
.field static HIDDEN_APP_MIN_ADJ:I = 0x0
.field static final HOME_APP_ADJ:I = 0x1
.field static final MAX_HIDDEN_APPS:I = 0xf
.field static final MIN_CRASH_INTERVAL:I = 0xea60
.field static final MIN_HIDDEN_APPS:I = 0x2
.field static final PAGE_SIZE:I = 0x1000
.field static final PERCEPTIBLE_APP_ADJ:I = 0x2
.field static final PERSISTENT_PROC_ADJ:I = -0xc
.field static final PREVIOUS_APP_ADJ:I = 0x5
.field static final SERVICE_ADJ:I = 0x6
.field static final SERVICE_B_ADJ:I = 0x8
.field static final SYSTEM_ADJ:I = -0x10
.field static final VISIBLE_APP_ADJ:I = 0x4
[Android Software/Hacking General [Developers Only]] Seanzle:
Is that going to be in the next update?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ADVANCED ICS Users!

You can test the attachment to see if this works!

It's a replacement services.jar with the changes made from my previous post.

1. Open up the attached zip file in 7zip or winrar.

2. Open up your rom's update.zip that you usually flash (with a second instance of 7zip or winrar) and navigate down to it's /system/framework folder. You should see a services.jar file

3. Drag the services.jar from the first 7zip/winrar window and into the second 7zip/winrar window and click yes to overwrite your rom's services.jar.

4. Flash your rom the way you usually do.

Hope it works :p

Oh have a backup... LOL
[Android Software/Hacking General [Developers Only]] les02jen17:
Any support for cm9/ics?

Tapatalkin' it from my rooted NookColor running CM7 MiRaGe [KANG] [7.2 RC] overclocked @ 1.2 GHz
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I don't think that I can put it into a script.

I had to do smali edits.

I can perhaps streamline the process but if this file works it's easier to just make it into a flashable CWM zip if it's possible.

I can't use CWM on my milestone so I can't really test that part of it.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
If you know what to do you can try the attachment above your post LOL.

Is the services.jar about the same size as your current services.jar?
[Android Software/Hacking General [Developers Only]] les02jen17:
I'll check, will get back to you later. So basically, by replacing that services.jar file, the script will work? Is that the idea?

Tapatalkin' it from my rooted NookColor running CM7 MiRaGe [KANG] [7.2 RC] overclocked @ 1.2 GHz
[Android Software/Hacking General [Developers Only]] zeppelinrox:
The launcher wont supercharge on ICS so it's always weak.

This would replace the function of the build.prop/local.prop ADJ entries as they are hardcoded into processlist.java in ICS

edit: so consider it an addon to the script since the script is still needed for the oom grouping fix and minfrees n stuff.
[Android Software/Hacking General [Developers Only]] les02jen17:
Okay to report: my services.jar is smaller 810kb, while yours is 824kb. Do I restart first prior to running the script? My device is a NookColor running a cm9 nightly.

Based on your post, as long as it's ICS, even if you change the launcher, it will always be weak?

Tapatalkin' it from my rooted NookColor running CM7 MiRaGe [KANG] [7.2 RC] overclocked @ 1.2 GHz
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I believe so.

Have you tried the script lately?

It probably stays weak, yes?

Hopefully this fixes it :D
[Android Software/Hacking General [Developers Only]] tehsam:
the suspense is killing me. has anyone tested this?

if I weren't at work I'd do it right now.
[Android Software/Hacking General [Developers Only]] kidserious:
Just an FYI zep, I'm on ICS (Galaxy Nexus) with RC5 test 2 and my launcher is supercharged. At least that's what it says even upon every reboot. I haven't tried the new services.jar either.
[Android Software/Hacking General [Developers Only]] Adam1422:
trying to run on Warm 2.3 for evo 4g...

It says that I am 75% supercharged but tells me to check the /data/SuperChargerRan file

I check this and it states "RAN and DIDN'T Apply Settings from /data/99SuperCharger.sh"

How do I fix this? Any help would be much appreciated...I dont want to have to run the script everytime I reboot if possible.
[Android Software/Hacking General [Developers Only]] Redflea:
Mi

I'm on Galaxy Nexus, CDMA, running CM9 Kang ROM by Winner00. I'm on v6 9 rc4...it's claiming it works, including launcher (I'm running Nova launcher):

Since supercharging I've rebooted a number of times, and the supercharging is sticking. However, I have had a couple lockups, and the reboot option on the power menu usually hangs up as well, have to pull battery.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I don't think it's working :(

It ran... didn't apply settings because minfrees already matched up :p

the init.d/99supercharger script had probably already been applied.

Or do the minfrees not match when you run the script?

It may still be a misreport.

The next one will have better ics support in that regard.
[Android Software/Hacking General [Developers Only]] a.monteiro:
Sorry if posted but search gave me no useful answers and it's such a quick question: I'm using v6 on xperia x10 stock rom for a few days now with great results, but trying to add KAK removes my supercharged launcher. Is that correct?

I suppose the installation uses pretty much the same procedure from V6 supercharger, or there's a catch?
[Android Software/Hacking General [Developers Only]] -Thrive-:
Wanted to let you know that I continue to have problems with bulletproofing in RC5 test 2 and had to revert back to RC4 to get it to work. All apps began failing and the 97BulletProof script that runs every 60 seconds got into a loop because it kept trying to set OOM and kept getting error messages. Don't like the idea of anything running every 60 seconds on my phone. Just some feedback for your next release. Thanks.
[Android Software/Hacking General [Developers Only]] scottmahoney:
The settings don't seem to stick with my rom Virtuous glite 2.01 anyone know how to fix this? I remember with the 1.01 version of the rom I had to delete somthing in the same folder as 99supercharger to make the settings stick any suggestions
[Android Software/Hacking General [Developers Only]] zeppelinrox:
No there is no conflict between the 2.

There are a couple of overlapping kernel tweaks but they are the same in both.

So with RC4 you're using script manager to run it on a schedule I guess.

If so, at how long an interval?

Just the minfrees don't stick?

Just rename /init.d/99SuperCharger to S99SuperCharger or SS99SuperCharger so that it runs last.

The next version will look for this and rename itself on boot so that it runs last for sure :P
[Android Software/Hacking General [Developers Only]] prboy1969:
Trying RC5 Test2 now.
[Android Software/Hacking General [Developers Only]] -Thrive-:
Well obviously I don't understand how this works. I thought the values were holding through a reboot but I see now they are not. From your question I guess the values are getting changed constantly. I will try setting up a schedule with script manager and see how long they hold and let you know.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Each time an app restarts it has a new PID which is a number that android uses to identify it.

Since the number always changes it has to be run on a schedule at regular intervals.

I'm pretty sure that I'm the only one that has tried to actually outsmart the process in a streamlines fashion and let users keep what they want in memory LOL.
[Android Software/Hacking General [Developers Only]] prboy1969:
RC5 test2 seems to running well for me.
[Android Software/Hacking General [Developers Only]] -Thrive-:
And its appreciated. My phone works great with your scripts, smooth and fast. I'm just trying to tweak BT because my music player (PowerAmp) occasionally skips which I find annoying and it seems like keeping the BT apps in memory might help that.

Edit: I set the Script Manager scheduler to run the 97BulletProof script every 30 minutes and have been monitoring it throughout the day. Only had one instance where one of the three BT apps lost -17 ADJ. At one point I really stressed it by opening a whole bunch of apps one after another while running PowerAmp. This seems to be working really well. Thanks again.
[Android Software/Hacking General [Developers Only]] vijovame:
Thank you for the script, I was running my phone at 1ghz, core 1 turned off, and many under everything to get better battery, I was getting lag but now with your script is working like stock!!! Thank you!!
[Android Software/Hacking General [Developers Only]] brochador:
how to run 97bulletproof_apps.sh? boot and root? also how to close this? kill or leave in background?

also, i install yesterday nitro lag and option #10, i dunno what went wrong but my battery drops from 55 to 8 overnight(no recently app running) anyone knows this why?
[Android Software/Hacking General [Developers Only]] Harrison85:
Feeling a little stupid, but I cannot find rc5? Maybe its the 24 hour staff duty i just did and the lack of sleep?!
[Android Software/Hacking General [Developers Only]] -Thrive-:
Page 717 http://xdaforums.com/showthread.php?t=991276&page=717
[Android Software/Hacking General [Developers Only]] prboy1969:
No need, it was posted a bit back. The link to the post is below ;) .

http://xdaforums.com/showthread.php?p=21287308

TEAM MiK

Mik Roms Since 3/13/11
[Android Software/Hacking General [Developers Only]] prboy1969:
Now that was Amusing :D

TEAM MiK

Mik Roms Since 3/13/11
[Android Software/Hacking General [Developers Only]] -Thrive-:
I am running 97bulletproof_apps.sh for RC4 as root and using a Script Manager scheduler to run it periodically throughout the day.

Not having any battery issues with nitro lag enabled.
[Android Software/Hacking General [Developers Only]] Hyperion-Droid:
When I try to reboot at the end, it says no reboot found. Is this a problem?
[Android Software/Hacking General [Developers Only]] ferparedes:
Sorry if this is a dumb question. I already searched and found no definitive answer to this specific question.

My phone is an SGS i9000T and I've been using this awesome script with my phone on Stock GB ROM, Gingerreal and Darky (I think) to great success.

Now I'm trying out CM 7.1, with glitch kernel (CM stock kernel was horrendous with kswapd0 suddenly eating up 100% cpu and refusing to give it up).

Anyway, I was about to run the supercharger script but then noticed there are NO LMK default settings at all! I use AutoKiller Memory Optimizer app to check OOM settings and it also shows them all to be 0.

Will the script work? What's up with that (does glitch dosen't even have a LMK setting?)

If I run the script, should I tell it to use build.prop or local.prop? init.d integration, etc?

Thanks all

Oh by the way, another one: Has anyone run this on a Asus Transformer running Prime ROM?

Thanks
[Android Software/Hacking General [Developers Only]] bobcaruso:
The Battery Calibration Myth

This was posted by a senior Google Android engineer:

https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT

Thoughts anyone?
[Android Software/Hacking General [Developers Only]] ferparedes:
Weird. because the way I calibrate my battery is charging to full, with charger plugged in delete batterystats.bin and unplug. Blam, battery charge goes down (sometimes as much as 10%).

More than trying to argue with Dianne about this (since she's probably right) I'd like to find out why the batt indicator acts that way.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yeah it was kind of a test release for the supercharger geeks lol

I've found a few things that needed fixing so there is no "real" RC5 yet... but the next one is pretty much final I think

nah you can reboot normally or power off then on.

Update 9 RCs have a workaround for that so the reboot thing hasn't been mentioned lately.

If LMKs really are 0 and you run a few apps then it will soon start to grind to a halt.

I've done it a few times during testing lol

Try the script to see if it works. It should.

Try local.prop and if the launcher don't supercharge, try build.prop

If setting stick you can play it safe and not do init.rc integration.

There have been a few threads in the transformer forum but the mod and a few others are totally anti supercharging because and each thread turns to **** as they figure their device is the best EVER and android memory is SACRED and NOT TO BE TOUCHED.

And yet, they tweak it because they don't like it stock, right?

But I thought it was perfect as it was blah blah blah...

Ya but "Die--Hard Battery Calibrator" still sounds cool. :p

A few people said that my trick to calibrate/charge it without the battery during boot works great even without deleting battery stats so she's probably right.

I don't rely on the percentage anyway and go by the mV which is easy enough with battery monitor widget and have it display mV.
[Android Software/Hacking General [Developers Only]] ferparedes:
Well hot-darn! Yeah I had fugumod before glitch and 2 or 3 times it totally ground to a total halt for somewhere between 5 and 10 minutes. Once, I was able to open the app drawer and see the AutoKiller Memory Optimizer icon reporting as low as 5MB RAM left. When the phone finally came back to life it was up to 75MB again. This morning the phone totally stopped responding and had to pull the battery, so I decided to try glitch. I'll try supercharging then!

On the TF thing: Yes I've noticed that there's at least one guy who's responded in every thread asking about the script on the TF, always saying it's not needed, blah blah blah.

I can honestly tell you that's BS. I do experience a lot of home redraws, and some lag. It's not as bad as on the SGS without the script, but it's there. Doesn't matter if you have tons of RAM, if it's not managed right the device will lag and you'll have home reloads.

The thing is, Prime comes with Busybox 1.19.0. I tried using busybox installer to go down to 1.18 and it made a mess of things. Don't know if your script will work with Roach's Busybox installation....

EDIT: (on the SGS with the glitch kernel) It worked!!!! I'm hesitant to try it on the TF though. It works well enough and I'm too lazy to have to reflash it in case things get botched.
[Android Software/Hacking General [Developers Only]] Shatterproof313:
My battery % would always drop 2-5% about 1 min after I unplugged it and still did it after a battery wipe in cwm. Then zepp posted that magic script of his ;) I turned my ringer on and made my screen stay on then ran his script with the auto feature and BAM!!! I haven't had an issue since. I turned my ringer on because for some reason when I had it on vibrate the script never went thru, I knw weird right... probably had nothing to do with the script but in the end it worked hehehe!! :D
[Android Software/Hacking General [Developers Only]] a.monteiro:
thanks for the quick answer zeppelinrox, i wonder what went wrong.

the procedure to apply any scripts are pretty much the same, right? open in script manager, type option, run script and add boot to the file in data folder (stock rom).

My oOM groupings and nitro lag nullifier were still intact, only the launcher lost it's tweaks and became weak.
[Android Software/Hacking General [Developers Only]] scottmahoney:
Renamed it and it Still Won't seem to work the minifree's Don't seem to stick no matter what I'm going to try deleting a file called virtuous run once I think that's what I deleted last time any other suggestions?

Edit Deleting the file still didint do anything here is what the etc/Init.d folder looks like

04-sdcardspeedfix

10-virtuous-optimize_performance

20-virtuous-package_manager

90-battery-calibration

90-virtuous-run_once

95-zipalign

99supercharger

also when I have used this script in the past I kept having android.process.acore force close and all my contacts in the messenging app appear as there phone numbers
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Most busyboxes are okay the script would tell you if it don't like the one that you're using lol

Nice.

That battery calibrator script was a BIG challenge...

Yep pretty much the same.

You can run any of the .sh files in data on boot/as root (97bp, 98kak and 99supercharger)

All the other .sh files are not meant to run on boot.

It could be the kernel that you're using is applying minfrees late.

You can verify that it ran and applied settings by looking in /data/SuperChargerRan
[Android Software/Hacking General [Developers Only]] fastfed:
Well.. I followed the directions to the T

I get a bunch of NO such file or Directory when the script runs.. whatever that means..

Also says its permission is denied.. Whatever..

I let it finish doing whatever its doing..

Then it finishes and says "REBOOT NOW!!"

So I do..

then the instructions say to open script manager again, run the script AGAIN and make sure its running by having the exact screen "below"

NOPE.. When I do that, it just RERUNS the damn script...

Seriously.. Who writes these instructions ??

---------- Post added at 11:37 PM ---------- Previous post was at 11:35 PM ----------

Oh yea.. The best part is.. The instructions during the script.. Are these people from a different planet?

"In config, select run as root & browse as root"

Yea ok.. did this person even go into the config ??

THERE IS NOT OPTION FOR RUN AS ROOT!!!!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Sorry I didn't make it as IDIOT proof as I thought... so howabout you move along...

You're such a bad liar too
[Android Software/Hacking General [Developers Only]] swift2989:
Nice...call it as it bro
[Android Software/Hacking General [Developers Only]] hazard209:
You think that if people were having so many problems with it they'd just rewrite it themselves or figure out what they're doing wrong instead of insulting the people that can help them.
[Android Software/Hacking General [Developers Only]] brochador:
so how you close it? kill or leave in background
[Android Software/Hacking General [Developers Only]] -Thrive-:
I defer to Zep for the details but I believe Script Manager gets swapped out and reawakens to run the script on schedule. I don't think any resource is being used until it runs the script. Certainly not noticeable. So in answer to your question. I leave it in the background.

---------- Post added at 09:28 AM ---------- Previous post was at 09:20 AM ----------

Free scripts that make your phone hum. Free support. Free learning and entertainment. I won't be doing any complaining. One word: perspective.
[Android Software/Hacking General [Developers Only]] jntdroid:
Just want to clarify... read through a lot and just want to make sure I've done one thing right...

I ran the main supercharger script once, and set 99supercharger to run at boot - that's all I need to do to make sure everything is set all the time right?
[Android Software/Hacking General [Developers Only]] 07blackwater:
Ya, make sure you have script manager run the script as root too.

When you reboot run the main script again and it will tell you if the script ran at boot or not.
[Android Software/Hacking General [Developers Only]] cybervyrus8587:
Any ideas on what if anything might cause my fone to reboot constantly after un supercharging? I wanted to test out ram manager (paid) from the market to c any difference. I didnot run them togeather. Evo 4G decks 1.3 stable, savage SBC latest, was Overclocked but went back to 998 to test (still reboots), vipermod undervolted 50,25 but back to normal to test (still reboots). I dunno if I'm missing anything?!?? Every time I enable ram manager I get a few seconds of blissful speed and performance but then it freezes and reboots. At first it seemed to b just RM but upon boot I would revert to default. I've tried clearing cache and dalvic separately and together no setcpu enable RM then opposite. And just with setcpu at default but nothing works for long.

I'm sry if I'm rambling but I dunno what it could b. It all started happening right after I unsupercharged. That's y I'm here. :D anyway. Is there any leftover changes that stuck after unsupercharging?

nobody calls my EVO a fizzle and gets away with it!!
[Android Software/Hacking General [Developers Only]] brochador:
97bulletproof run in root and boot also?

one more thing, i don't really know whats causing this, but my phone battery drops faster now. all i can remember is after installing this nitro lag..
[Android Software/Hacking General [Developers Only]] -Thrive-:
I run 97Bulletproof_Apps.sh as root but not boot.

I believe it is being run at boot already by S97Bulletproof_Apps in /system/etc/init.d

Can't help with your battery drain question. Mine is as good as ever and I have Nitro Lag Nullifier installed but we are running different ROMs/kernels. I suggest you uninstall it using option 20 in the V6 Supercharger script to see if it makes a difference.

Edit: From what I read earlier in this forum, if you are on a stock ROM, you will need to run 97Bulletproof_Apps.sh as root and in boot.
[Android Software/Hacking General [Developers Only]] trailblazerz11:
Why does detailing vacumm and re index sqlite database (19 on rc5) not work if using /datadata partition?
[Android Software/Hacking General [Developers Only]] 07blackwater:
Download the adrenaline shot zip. Install through cwm, it will give you init.d support. Browse to etc/init.d then delete the juve... script. (sorry juve)

Then run v6 and integrate it.

.....Win!

If your on a stock ROM this will let you integrate v6 perfectly and allow you to use all the functions.
[Android Software/Hacking General [Developers Only]] trailblazerz11:
Uhh I have init.d support and rest of supercharger works fine. My question was why doesn't it vacumm reindex .db sqlite in /datadata partition? It worked reindexed fine when I wasn't on datadata but now no .db are getting reindex. Seems like script doesn't look in datadata?