yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] midiwall:
Yeup, it seems to. If you redirect all those to /dev/null like you do elsewhere it should be fine... Or get fancy and only manipulate what's there in /dev/block, something like this:

# replacement for rw mount
mount -o remount,rw /system;
FILES=/dev/block/mtdblock*
for f in $FILES
do
mount -o remount,rw $f /system 2> /dev/null
done

# replacement for ro mount
mount -o remount,ro /system;
FILES=/dev/block/mtdblock*
for f in $FILES
do
mount -o remount,ro $f /system 2> /dev/null
done

Those will adapt to whatever is in the image...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Nice.

Yes I was actually thinking to do something like that.

A snippet of one of the tweaks for V8 is...

for i in $(ls -d /sys/block/*);
do
echo "noop" > $i/queue/scheduler;
done;

I was going to modify it accordingly... heh...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Uploaded update2.

Has user selectable scrolling speed, a couple of fixes for yesterday's update for issues that I never had, and tweaked the bootscript permission.

I hope the boot script works automatically for more people than before while not breaking it for those for which it already worked...

So for those that it already works, try this new one and see if it still works please...
[Android Software/Hacking General [Developers Only]] bgs_piece:
I have a Droid X with stock rom and ran the script and everything shows to be fine. I chose "Hard To Kill" and then rebooted and then chose "Multi-Tasking" and the min free values were set to 6,8,22,24,26,26 but after reboot it shows launcher is Hard To Kill but my minfree values have changed from the Multi-tasking. Is there a way to have those remain after reboot?

Also, the new setting for mega-memory devices looks interesting. Would this be a good choice for the Droid X?

Thanks in advance for any help; it is greatly appreciated!
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Zep, I have tried both updates and also modified the permissions on both but they still do not stick.

Make sure script manager is set to browse as root, then navigate to system\etc\init.d\99SuperCharger. Tap the file to open it and check run as root and run at boot. Tap save and exit. Reboot now and the settings should stick.
[Android Software/Hacking General [Developers Only]] bgs_piece:
Selecting "run as root" and "Run at boot" will work from any phone?
[Android Software/Hacking General [Developers Only]] PieceKeepr:
I would think so.

Actually you may only have to check run at boot, I'm not certain, but I checked both and it works for me.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Dammit...

Stock roms would have a /data/99SuperCharger file created that needs to be set to run as root and at boot with script manager.

The script would have indicated this.

Also, check the sd card for a detailed help html file
[Android Software/Hacking General [Developers Only]] _crAss_:
I need a small clarification.

I had manually bulletproofed the launcer back in the day before your scripts with your instructions. Script v6 says that my launcher is bulletproofed. Does this mean I have the rest of the OOM Grouping/Priority fixes installed or do I have to unbulletproof and bulletproof again?
[Android Software/Hacking General [Developers Only]] jrohwer:
minfree settings don't stick across reboot

Phone: LG GT540

ROM: SwiftDroid2.0 M6 by Mur4ik

I've also posted this on the thread in the GT540 general forum (http://xdaforums.com/showthread.php?t=1126940) but am re-posting here since it is the original thread and might get a larger exposure :) Sorry for cross-post...

Tried the script and all works great, except that the minfree memory settings don't stick across a reboot. I've traced it to the fact that the SwiftDroid2.0 ROM also has a file /init.swift.rc and this file applies custom minfree settings when it is sourced during boot. Obviously during boot, this file is sourced AFTER /init.rc and /system/etc/init.d/*.

This means that even though the 99SuperCharger script sets the minfrees they are overwritten later in the boot process when /init.swift.rc is sourced. Is there any way to fix this, short of re-creating the boot.img with a modified /init.swift.rc (this is cumbersome and will have to be done every time there is a ROM update)? (The file /init.swift.rc is part of the boot.img and as such cannot be edited persistently). Basically I'm looking for a way to run the 99SuperCharger script LATE in the boot process after /init.swift.rc has run.

I can of course get the correct minfrees by running the SuperCharger script manually after each reboot but this is not desirable for obvious reasons :p
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I had already replied in the other thread and as I said, as far as I know, init.d scripts run after all rc files.

Some phones are just driving me nuts with the settings not sticking automatically... pretty sure I've tried everything *sigh*

Do you notice anything different in the ownership and permissions of other init.d bootscripts that work?

Maybe if you find a difference you can make the appropriate change to the 99supercharger script and see if it works...
[Android Software/Hacking General [Developers Only]] jrohwer:
I sort of "fixed it". Well, I extracted my boot image, edited the /init.swift.rc to comment out the line that writes the minfree settings, and re-packed the boot image, flashed it back onto the phone. Now everything works beautifully as expected :)

I made sure that ownership and permission of the supercharger script are exactly the same as other init scripts in init.d. So that's not the issue. Also with I inserted some log statements into the script and with adb logcat I could see that the script was definitely being executed on boot. So my only conclusion is that /init.swift.rc is being run AFTER all the other init scripts. That sort of makes no sense to me but seems to be the way it is. It must be hard compiled into the init binary because I could find no settings file or properties (getprop) to change it. So this seems to be a peculiarity of the specific ROM (or of Cyanogenmod on which it is based).

The only option I can see would be to ask the developer of the ROM (Mur4ik) to change the place where /init.swift.rc is called during boot, or not to set the minfrees in that file. My knowledge of Android does not extend that far - although I'm a Linux power user and can do bash scripting, I wouldn't go so far as compiling my own Android OS from source ;)

HTH...

UPDATE: I guess I could get it to work "out of the box" using Script Manager, since I suppose you can tell SM when to run a particular script. However, I didn't want to go that root since I don't want to install and run an extra app (with all the overhead) if my rom has the ability to run init scripts...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
That's GREAT to know.

Thank you so much for figuring that out!

Somebody had suggested that I try going the /data/local/userinit.sh route.

I wonder if that would work on your rom... I will test today to see if it would run after the init.d scripts

Edit: ok tested it. Don't work. init.d runs after usrinit.sh... meh...
[Android Software/Hacking General [Developers Only]] w4tchout:
Hey Zep.. Got another little question for ya..

I flashed CM7 RC10 last night and all seems to run pretty fine. Except for one thing: Tasker (again).

The problem for Tasker not recognizing application starts is back on my CM7 RC10 together with the V6 Supercharger script.

What I don't get: the bug wasn't around with V6 Supercharger on CM6. I also disabled locking the home- and message-app in Cyanogen settings.

When I disable the Hard to kill launcher, Tasker is working fine again. Do you know why this problem is back in my CM7 install?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Was it with V6 update 2 that this happens?

If so, try the bulletproof option... its different than before as oom groupings are different in update 2
[Android Software/Hacking General [Developers Only]] w4tchout:
Nope it happened with the original V6 script. The same script I used with CM6..

I'll try the bulletproof option in update 2 :)

edit: tried the update2 script with agressive setting and hard to kill launcher -> problem solved :)

Thanks mate!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Awesome!

Can you let me know if htk is fine as well with update 2?
[Android Software/Hacking General [Developers Only]] w4tchout:
hmm.. I chose for option 2 (aggressive 1), but that turned out to be too aggressive. Anytime a phone call came in, it would kill the service responsible for connectivity. The phone would hang up on the person calling and prompt me for my simcard pincode again..

Will have a try with the other settings in update2 script
[Android Software/Hacking General [Developers Only]] nabildanial:
Zepplinrox,

After months of using your script, the latest one is the only script that really make my Ace faster, particularly when using the minfree calculator settings. The other settings made no improvement, as far as my Ace's speed is concerned. I have a question, how do the script can detect the optimal settings for my Ace since that I have tried hundreds of minfree settings, yet no improvement made but making it even slower.

Plus, the suggested adj setting (0,4,8,12,14,15) is something that I have never seen even once in my life. It is weird to me. Is it normal? Thanks.
[Android Software/Hacking General [Developers Only]] silberj:
Might want to spell his username correctly in your sig, he might light that ;-)
[Android Software/Hacking General [Developers Only]] nabildanial:
I insist you want to say "like" instead of "light" :)
[Android Software/Hacking General [Developers Only]] brochador:
yes, im running it as root and boot eversince.
[Android Software/Hacking General [Developers Only]] dearde4n:
so it doesnt stick... hurmm..
[Android Software/Hacking General [Developers Only]] IRASadPanda:
So does the script work on ICS as well? Getting ready to flash an ICS ROM for me G2x.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thanks man.

It doesn't register the find command at the end but that's what would come next.

Goto driver options regarding the prop questions.

Check the /data folder for Ran_SuperCharger or SuperChargerRan for info on when it ran.

Check /data/Ran_KickAssKernel to see when it ran.

You can also turn on debugging by reading the comments in 98kickasskernel.

The minfree calculator is in my head :p

Just playing the percentages, man... maybe I should gamble? lol

As for the adj setting, as far as I know, I'm the only one who has ever messed with it.

The 0,3,5,7,14,15 that you see floating around originated from me as well (see Update8) but I keep on perfecting it and nobody's keeping up lol

It will be different in the next update as well ;-]

lulz

lulz #2

See post #2 to hack ICS but GOOD.

So far I have had no reports of the TSH services.jar NOT working so it just may be universal after all.

I'm gonna try it :D

AND HEY, I need feedback as to the process name for different keyboards.

I need to get the launcher strenght figured out for ICS and the only way I can think of is to compare it to the adj/priority for the keyboard since there is no ADJ for visible apps or any apps when using getprop on ICS.
[Android Software/Hacking General [Developers Only]] dswaggz:
Help zep

via rebel W/ a cauze rebel rom 2.1 ;)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
hellz yeah... THS services.jar works MINT on the milestone.

Looks like a univesal zip file with install is gonna be available soon LOL
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Try newest version, silly ;)
[Android Software/Hacking General [Developers Only]] dswaggz:
Do I need to unsupercharge Just used up7 so lost help pm new script

via rebel W/ a cauze rebel rom 2.1 ;)
[Android Software/Hacking General [Developers Only]] Black_jackss:
So when will you release a new "pizza" with that problem fixed? :p
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Soon though it would be nice if somebody would post some info regarding 3rd party keyboards.

I need to know what process names they run under.
[Android Software/Hacking General [Developers Only]] metalspring:
heres one...swype keyboard-

com.swype.android.inputmethod

com.swype.android.inputmethod:SwypeConnect
[Android Software/Hacking General [Developers Only]] PillClinton:
SwiftKey = com.touchtype.swiftkey
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ah just what I was hoping for... it has the term "inputmethod" although just "input" alone would have been good enough.. heh..

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

btw I've tried services.jar from 4 or 5 different roms/devices and they all work on my milestone except for one - AOKP for galaxy nexus.

Most recent one tested is from blk_jack's CWM zip for Andromadus Alpha v11

http://xdaforums.com/showpost.php?p=22389025&postcount=2039

It worked mint :D
[Android Software/Hacking General [Developers Only]] pswin09:
Hey Zepp, your download link for KAK & 3G turbo charger still not working.
[Android Software/Hacking General [Developers Only]] shag_on_e:
It has to be snagged using a computer.

~~~~There is no spoon~~~~
[Android Software/Hacking General [Developers Only]] maurogg84:
It doesn't have to be that way, when you press on the link with your phone browser, it's going to open the script as new window or tab, just go to the menu or settings and press save page or save, and keep the default name, go find it in the browser download folder.

Eclipse 1.2 ROM

KAK & Supercharged!
[Android Software/Hacking General [Developers Only]] PieceKeepr:
I updated my kernel to the latest imo version found here. http://rootzwiki.com/index.php?/top...imalistic-Kernel-(V6.0.0,-2/11/12)#entry26094 But now KAK doesn't stick. It is running, but is apparently being overridden. What else can I provide to help troubleshoot? I have tried setting the 98KAK files to run as root and at boot but it still isn't sticking. It worked with version 5.1 but not with 6.0.
[Android Software/Hacking General [Developers Only]] tyfoxx:
i am unable to download, the scripts are opening in the browser, Am I missing something or doing it wrong all together?

Please advise,

Tyfoxx
[Android Software/Hacking General [Developers Only]] zeppelinrox:
If you wait a minute or 2 and then run the 98kickasskernel, does it stay in effect?

The kernel is probably applying settings on a delay.

Just gotta find out how long that delay is.
[Android Software/Hacking General [Developers Only]] zilan:
i have set SS99SuperCharger and set on oot and run as root but still have this problem:

OOM Grouping Fixes ARE NOT In Effect! Current Values DON'T MATCH Prior SuperCharge!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Check /data/SuperChargerRan or /data/Ran_SuperCharger to see if it applied settings.

FYI I'm getting close to finishing up next update...
[Android Software/Hacking General [Developers Only]] nhra1ss:
Just updated to U9 RC6 and all seems to be working fine. I was coming from U9 RC5 test 2 which I had set at 512 Super UL. Using Quadrant, I clocked a 2029 score. Been testing out RC6, noticed a little differences, or just me. I never tried running the Cust-OOMizer, but seen it showed readings for the Minfrees Calculator, so I thought I would try them. Getting a higher Quadrant score, just read 2341.

Running SwiftKey X also and just tried texting, no problems. If I notice anything acting differently in any apps, I'll post what is happening.

Thanks for such a great script, your the man !!
[Android Software/Hacking General [Developers Only]] maurogg84:
It doesn't have to be that way, when you press on the link with your phone browser, it's going to open the script as new window or tab, just go to the menu or settings and press save page or save, and keep the default name, go find it in the browser download folder.

Eclipse 1.2 ROM

KAK &
[Android Software/Hacking General [Developers Only]] dearde4n:
cant wait...:D
[Android Software/Hacking General [Developers Only]] zilan:
I've Check /data/Ran_SuperCharger it show applied settings from /data/99SuperCharger.sh ...

i'm confused what is the different SS99SuperCharger and 99superCharger?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Same thing.

99SuperCharger renames itself on boot if it's not the last init.d script to run ;)

SuperCharger likes to run last because it likes to be sticky n smooth.
[Android Software/Hacking General [Developers Only]] thelowend:
Hey guys, do I need autoscript manager if I'm on a custom rom? The instructions say its for stock roms. Just making sure. Thanks
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Yes it does. Looks like it'll stick until I reboot.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Nice.

Dontcha love pain in the ass kernels like that?

That's why 99supercharger re-executes itself untill android is loaded... then waits 90 seconds for it's final shot LOL

It even trumps AKMO or AMM settings when they load on boot ;]
[Android Software/Hacking General [Developers Only]] zilan:
still have error:

OOM Grouping Fixes ARE NOT In Effect! Current Values DON'T MATCH Prior SuperCharge!

i'm using busy box 1.19.3, is it supported?

and don't understand what to do :(
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Just run /data/99supercharger again.

Your rom/kernel is probably applying settings after supercharger.

What else is in /system/etc/init.d folder?

Maybe there is another script that runs after supercharger

Yeah I think so.

It would probably be a bad idea to make it re-execute itself since it sometimes KAKs when run normally... KAKs... yagettit?
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Yep, I guess a widget is easiest for now?
[Android Software/Hacking General [Developers Only]] zilan:
in /system/etc/init.d folder there is :

11link2sd

init.d.loader.test

link2sd

ss99supercharger

yes when i ran /data/99supercharger it works, but when phone restart/reboot settings not applied again.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
what's inside init.d loader test?

that may run after SS99SuperCharger.

For some reason, scripts that start with small letters run after capital letters

For example, "Zscript" would run BEFORE "ascript"
[Android Software/Hacking General [Developers Only]] frenccw:
Hmm damn i didn't realise there was a different method of supercharging for ICS.

I ran V6 the standard way on my phone with ICS will this be a problem? Things are running okay so far. How do i wipe everything if **** starts to hit the fan? :P

Edit: found the unsupercharge option in the script. Still, are there any benefits if I installed the standard way on ics?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ya I guess :p

You need to do both ways for ICS.

ICS won't read ADJ values from build.prop or local.prop so the launcher won't get supercharged, no bulletproof or die-hard launcher.

So the services.jar mod/patch does that job instead.

But, ICS would still benefit without the services.jar tweak as I optimized the groupings for stock ICS priorities as well.

oh btw... I posted an update ;)
[Android Software/Hacking General [Developers Only]] zilan:
hi, i think i found the problem, because i install script manager on sd card, when i switch back to phone, the problem gone, reboot many times, and supercharged 100%.

btw, i try latest script v6 Update 9 RC6.1 but when i run, it show

cmdline: not found

cmdline: not found

cmdline: not found

is it okay?
[Android Software/Hacking General [Developers Only]] metalspring:
hmm one of the newest updates seems to add an extra folder in the root of my phone for some reason whats up with that?

sqlite_stmt_journals

---------- Post added at 03:23 AM ---------- Previous post was at 03:16 AM ----------

i get the same error too...it comes up with a bunch of those lines right after determining root but everything still runs afterwards
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Which busybox do you have?

It shouldnt be a big deal if everything works.

My guess is that a couple of apps got killed before it was finished scanning for your launcher.

It's a fix for devices that use that folder for temp files but for some reason it doesn't get created and the side effect is that the script would create 0 byte files.

The script would delete the folder if it needs to makes it though.

Only way it's not deleted is if it's killed while it's in the middle of doing something since it would delete the folder before returning to the main menu.

Regardless, the folder would disappear on the next boot anyway.

Well ****... post the output will ya... ffs...
[Android Software/Hacking General [Developers Only]] blk_jack:
I'm all over this, downloading it now to test out in ICS!
[Android Software/Hacking General [Developers Only]] zilan:
busybox 1.19.3 is it okay? what version busybox should i have?

since i move script manager to phone v6 supercharge script works fine, it show 100% supercharged, rebooted many times :)

bulletproof apps script is not installed. may i know what is bulletproof apps script? how to enable it?
[Android Software/Hacking General [Developers Only]] tihimasmo:
TouchPal

TouchPalIME

com.cootek.smartinputv5

Daniel from Sweden
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok I found the error and put up the fix :p

Re download please.

Say "Hello" to 100% SuperCharged :)
[Android Software/Hacking General [Developers Only]] blk_jack:
Detects my launcher (Nova) perfectly as DIE HARD!! However, it says 75% Supercharged. I just Un-Supercharged everything & am going to reapply to see if that changes.

I know that even though it said 75% I'm good to go. I'm just curious to see what is causing the missing 25%!

---------- Post added at 04:12 AM ---------- Previous post was at 04:01 AM ----------

Just Un-Supercharged, rebooted & re-Superchargered and I'm at 100%!

Thanks again for your hard work zep, I've updated the post on my ROM's forum to let everyone know of your update since I've had quite a few people private message me & respond with questions about the script!
[Android Software/Hacking General [Developers Only]] metalspring:
zepp, i was hoping this wouldnt happen but, the one cdma tweak added is NOT universal and will kill cell signal

persist.ril.mux.noofchannels=10

(this is one i tested previously and changing it can do VERY odd things to signal)
[Android Software/Hacking General [Developers Only]] Black_jackss:
LATEST UPDATES SWEEETTSS!!

Hail ZEPPELINROX!
[Android Software/Hacking General [Developers Only]] dearde4n:
hi zepp.. noticed some prob.. i just turn on wifi but nothing happen it couldnt start.. i dont know since when it occcur that.. so i apply wifix but not solved... unturbocharger.unsuper.unkak.. but still same... :(
[Android Software/Hacking General [Developers Only]] LuvThyMetal:
So only people with ICS could be Supercharged 100 percent?? Mine is only supercharged 75%
[Android Software/Hacking General [Developers Only]] blk_jack:
UnSupercharge, reboot, then ReSupercharge. It shows 100% after that.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So not good for cdma? Would noof=8 be better?

When did this start happening?

Nitro lag nullifier caused this for some.

did you patch services.jar?

Hey I linked to your CWM services.jar in post #2 ;)
[Android Software/Hacking General [Developers Only]] metalspring:
if I remember correctly 8 did weird things too, it made the phone think it wasn't activated...

The only value I had working before was 5 and there was no noticeable benefit from it...

I'll look up everything again though
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok cool.

Hey so have you noticed if the adj adjustments work better in 6.1?