yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Wow... I missed lotsa posts while at work lol

Of course, you can manually add juwe's minfree values via Option 10 - The Cust-OOMizer.

All the other sysctl tweaks from that script plus ALOT more are in the Kick Ass Kernel Tweaks script.

I had posted an early version of this at droid forums so please don't think that I borrowed or kanged from that thread!

(In the script itself I had inserted urls from which I did do my research tho)

In the Cust-OOMizer... whatever you put as the 3rd value will generally be how much free ram you have all the time no matter how many apps you load.

Note that beyond a certain point, more free ram doesn't give any added benefit and only detracts from multitasking without reason.

For example, on the milestone with 256mb of ram, the level is 30 mb. Anything more than 30mb free is very pointless.

Thanks man :) Without guys like you testing this out I would never make it there! :)

Auto Memory Manager. It can be used for adjusting minfree values but I had been using it to confirm OOM memory groupings.

If you install it, DISABLE super user permissions or else it will apply it's own minfree values on boot!

Compcache is only available on some custom roms.

If you rom supports running init.d boot scripts, you can ignore that altogether. If you're on a stock rom and you cannot find a similar way to enable init.d boot scripts, just use Script Manager to load /data/99SuperCharger.sh at boot and as root.

Actually, Evo4G has been very problematic for the settings to stick on boot, no matter what rom or busybox version.

The recommended BusyBox version is mainly for running the V6 SuperCharger installation script.

The boot script probably runs, but the rom probably applies minfrees later in the boot process so those ones stay in effect.

In your situation, you can have Script Manager load 99SuperCharger.sh at boot and as root.
[Android Software/Hacking General [Developers Only]] Cool Cake:
Oh 17 ok, thanks.

To manually add busybox do I download it and flash? I'm not sure.
[Android Software/Hacking General [Developers Only]] eoghan2t7:
Try this to install busybox

https://market.android.com/details?id=stericson.busybox&feature=search_result
[Android Software/Hacking General [Developers Only]] scottmahoney:
What would you recommend for Virtuous glite rom?
[Android Software/Hacking General [Developers Only]] MДЯCЦSДИT:
This thread manages to crash tapatalk :/
[Android Software/Hacking General [Developers Only]] takuhii:
Excellent News!
[Android Software/Hacking General [Developers Only]] kallexander:
So... was there any gain from doing this on a S3 or not? :p
[Android Software/Hacking General [Developers Only]] bsoplinger:
The original version 1 or the newer version 2? Should be obvious from my .sig that I'm using the transparent skinned version of Tapatalk version 2 and I'm not having any issues. Perhaps you're hitting a ram limit on your device instead?

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[Android Software/Hacking General [Developers Only]] RealPariah:
Hey Zeppelin,

OH Yeah I was looking at Newest Beta [9 RC9] on beta page of SuperCharger V6 Script for this...

I have a new one for you. I was about to try and incorporate it and if I can brush up on basics and have time to go through whole scripts to clean up references and place the checks in I may be able to do it myself.

Anyways, they finally have official CM9 for my device now!! YAY!! [SGH-T989]

So I noticed they have gone with the newer ICS directory structure [instead of changing it back so /sdcard is emmc emmc is removed and external_sd is under /sdcard instead of /emmc].

This means that unless the app [like script manager does and most file managers do] have a link they maintain as /sdcard to internal sdcard and external as /sdcard/external_sd

instead it is now /emmc links to /mnt/emmc [internal storage]

with external as /emmc/external_sd

/sdcard is linked to /mnt/sdcard [or external sd card]

For those of us without an sdcard [external plugged in] then we now get nothing under /sdcard/ and instead have to use /emmc/

So, as I am running supercharger it is failing to write anything to my actual storage [backups, html files, etc]

I figured it should be as easy as adding and if then to sed for /mnt/emmc and if found default to that [if we want to then copy it over to an external then that easy enough or if you get fancy enough prompt an option in driver options to specify].

If it is not found then default to /sdcard

That should cover both GB and ICS.

I was surprised on opening your scripts not to see variables set for storage locations for easy access and edits. Given enough time I am going to see about writing those in to the script which should also make it much easier for you to edit things further down the line. That will require me though to write the if variables, institute the if exist type loops to distinguish between locations automatically and then to go through the entire thing and replace direct directory references over to the variables.

I know you are pretty fast with updates so I am sure you have a nice setup of sections of the script that may make this easier for you to do then for me to go line by line by hand and adapt to your script writing style.

Typing on the fly while at work so not trying to be too long winded, if any of this needs further detail just let me know and I would be happy to ensure that the /emmc check will definitely work or how to best accommodate checking whether it is the ICS or GB style of lining to SDCard data.

I hope this helps, and man I love SuperCharged CM9!!!!
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Updated early this morning to V6 U9RC9 and KAK U3RC9 and both installed with no hiccups or problems. I did a clean install of both and everything is working great.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok it's reported properly... services.jar just isn't installed properly.

Any error when you ran the service centre/automatic transmission?

You said things aren't 100% smooth so you tell me after you try it.

Well I'm tired and that's confusing... what do you get if you paste this in terminal:

busybox df -h 2>/dev/null | awk '{print $5}' | grep mnt | grep -v secure
[Android Software/Hacking General [Developers Only]] Nabeel_Nabs:
Hi,i asked
[Android Software/Hacking General [Developers Only]] donj001:
Fixed segmentation faults by updating su binary, now I get an EOF unclosed, error. Any thoughts? It was previously supercharged. TIA

Sent from my HTC Glacier using Black Unicorn Resurrected v2
[Android Software/Hacking General [Developers Only]] ChaosMinionX:
No error.. I am going to attach the text output.
[Android Software/Hacking General [Developers Only]] bobAbooE:
Nice boost. Thanks!
[Android Software/Hacking General [Developers Only]] jova33:
What does this mean? Computers/networks are all in Chinese to me, I just follow inductions well. I have no clue what it's saying lol
[Android Software/Hacking General [Developers Only]] PieceKeepr:
It means that your phone is like mine and doesn't have the file needed in order to use the wifi tweak. Nothing can be done about it, we've tried.
[Android Software/Hacking General [Developers Only]] ChaosMinionX:
Zeppelinrox here is the extended output of everything I see... maybe you can spot something I didn't as to what is going on?

I have tried automatic and manually doing the services.jar as well.
[Android Software/Hacking General [Developers Only]] Looki75:
What about adding it manually?

Look at this thread: http://androidforums.com/galaxy-prevail-all-things-root/570840-tiwlan-ini-wifi-after-burner.html

Will that work?
[Android Software/Hacking General [Developers Only]] JokerAce:
Good things just keeps coming. :good::good:

Well, literally and very honestly, no harm trying. :)

May I ask what does this after-burner for wifi do?
[Android Software/Hacking General [Developers Only]] Starsream88:
The new updates are just awsome :D i updated every thing and it's fine, totally kiking ass and 100% supercharged ! :laugh:

Thanks man for making our phones better ;)
[Android Software/Hacking General [Developers Only]] metalspring:
Anyone try this on jellybean yet?
[Android Software/Hacking General [Developers Only]] takuhii:
Not unless they've got a Nexus S
[Android Software/Hacking General [Developers Only]] Heartlessangel2001:
not working on galaxy y
[Android Software/Hacking General [Developers Only]] metalspring:
Or gnex lol, I'm curious it it works but I don't wanna flash to jb and miss the customization of the ics roms
[Android Software/Hacking General [Developers Only]] RealPariah:
Here is output:

The thing is since I don't have an external card plugged in it fails everything (just copying script still makes modifications and I still see everything in /data/V6_Supercharger as expected for stuff cp'd there) when anything tries to copy like backups, even searching for services.jar in service center fails since /sdcard and /mnt/sdcard now is the external sd and /emmc or /mnt/emmc is the internal storage (this is new default in ICS and I have seen rhythm file manager default to /emmc where it used to default to /sdcard in ROMs where that used to be or is modified back to be internal storage (can modify fstab to do this basically and dunno if their code would be easily found and used) Easiest remedy I can figure is in driver options have it grep those and ask which to use and/or allow manual path specification to be set through driver settings that way the user can decide (or let script auto assume if no user specification) which path to use (i would default to /emmc in case where both exist and manual option (be it a quick 1 2 menu or typed in manually) should cover those who wish to use external sd when both exist.

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] metalspring:
hey zepp, one issue so far with jellybean...i cant use the scripts at all since default sdcard directory changed...its now /storage/sdcard0

obviously not sure if jb will use that in the official releases but if it does then all your scripts wont work, even if i move them to /data it still references sdcard

and it also doesnt detect root or busybox properly (says no root when i run as root and have superSU) and says bad busybox when its the exact same one i've been using with no issues at all before...

so lets hope the real official release will work better with all your scripts...

in the meantime do you want the services.jar to see if much changed from ics?
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Yes it did. The bottom 3 tests are "before" and the top 3 are "after". Thanks for finding that!

I would keep a copy of the file on your SD card so you can replace it when you flash a rom.
[Android Software/Hacking General [Developers Only]] Stupifier:
I just tried the latest RC9 on my Droid Inc running Gingerbread. It hangs on testing superuser binary file. I wiped caches via V6 Superclean option prior to trying this. I did not Re-flash my ROM though (That takes a long time).

I also have the latest Su Binary via Superuser app's update check in its app options.

Please help

Edit: Furthermore it appears trying to use the V6 Starter Kit screwed my SuperUser privledges and I may need to run a Nandroid backup......thanks

Edit2: Seems manually flashing the most recent Superuser SU Binary from recovery at least got my SuperUser privledges back without having to use an outdated Nandroid I have...thank god. I still have the above original Hanging issue though.

Please Help
[Android Software/Hacking General [Developers Only]] tyfoxx:
HTC ONE X

Hey All,

I have always enjoyed the benefits of using the supercharger scripts, and have been using them a while, and believe the effort that goes into them to be outstanding in order to establish the speed and performance the scripts delivers.

I was anxious to get away from my Desire HD and Upgraded to the HTC One X, I recently flashed a custom ROM (CleanRom 3.1.1), for the first time I am experiencing problems with the scripts.

Is anyone out there using CleanRom 3.1.1 and do you have recommendation for the scripts?

I'm my case whenever I try the script including the ICS functions; it seems to break sync accounts and stability in all kinds of weird and wonderful ways.

Please advise

tyfoxx
[Android Software/Hacking General [Developers Only]] RealPariah:
You can if you want open script in text editor and edit the storage and path refs to match new app zep would need all the new paths to su and storage in order to address it (unless he's magic of course ;-) )

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] RealPariah:
that sounds very odd, did you run a full wipe of system and data and cache and dalvick cache and did NOT restore ANY system apps or system settings with something like titanium backup? Try running super clean and fix emissions and use custom values given by the custoomizer and did not apply options 1-11 (those overwrite the custom derived values). Also, run starter pack to be sure you have everything needed/fixed and do above cleanings and restart (you can clear both cases and run fix perms in custom recoveries if needed) big thing is to kill cache and dalvick cache and wait for long boot.

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] RealPariah:
yes it replaces bad su, you need to wipe cache dalvick cache and restart (super clean does that).

If needed get chainfire super su flash pack from XDA and flash via recovery restart, open new super su app on restart and tap update binary when prompted and run again you will be fixed up.

Original super user seg faults unless patched or you change over to better chainfire super user as written many times in this thread.

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] RealPariah:
half right original super user also seg faults all over ICS causing all kinds of issues. Chainfire super user does not.

If in ICS don't user original super user and just grab chainfire super user flash pack on XDA flash in recovery open new supersu app after restart and update binary when prompted and all done.

DON'T JUST INSTALL CHAINFIRE SUPER SU FROM MARKET IF YOU HAVE ORIGINAL SUPER USER USE RECOVERY FLASH TO REPLACE ORIGINAL SUPER USER OR CONFLICTS WILL HAPPEN.

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] jova33:
I'm using original superuser. No issues. Used the supercharger starter kit.

If zepp says original is ok, I'm gonna have to go with him. He seems to know alot more about these things than me.
[Android Software/Hacking General [Developers Only]] RealPariah:
YES, as stated, starter pack had a PATCHED original su binary it replaces for you.

Chainfire is app much easier to manage and has some extra nice features that original super user does not and I can just flash chainfire zip at same time as ROM install flash without restart so I personally find it easier then breaking out starter pack though I do copy binaries for zip align that it has (manually myself and just adjust perms easily in rhythm software's file manager who you have rwx on owner and read and execute for other 2 (owner group and others)) and done.

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] Stupifier:
I've used SuperSU in the past and did not like it. This isn't really a solution to the problem I am having...its more a workaround. I'm looking to fix the issue....not just workaround it with another SU app.
[Android Software/Hacking General [Developers Only]] RealPariah:
then you have to use patched version in starter pack no other way to fix them to use patched original or use chainfire. You prolly had issues because you forgot to open super su app right after flash and tap update binary when prompted before running any super user apps or applying any updates to it from market.

Once I had to reflash the chainfire zip when it froze on open of its app and was super slow to prompt the grant super user prompt but that's one time in hundreds of install flashes (I am flashing a new ROM install at least every day if not multiple times a day as A I test a lot and B I use CM9 Nightly builds), but trust me I am working in android source and building my like 5th custom ROM. I promise chainfire handles super user soo much better on the code level it ain't funny (from what I have seen; thing is you get weird errors when original super user seg faults but you never know that's what happened unless app or script specifically checks and tells you and this is only script I have seen (and no apps) that actually addresses this problem.

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] tyfoxx:
Thanks a bunch, i will try as suggested.

Take care,

Tyfoxx
[Android Software/Hacking General [Developers Only]] RealPariah:
I always advise grabbing flash pack of XDA you don't just install from market as yes that's almost a guaranteed issue and its free on both XDA and in market there is a pro version that adds advanced logging and other more developer related stuff but the free version lacks nothing as far as quality of code and usage (free one even has option to do clean ups on binaries in it if installed from market in app settings, but I always just flash in recovery and always advise others to do likewise).

This is first I saw this so ok, but again there is chainfire su thread on XDA with recovery flash zip.

Could even grab zip and just throw it's binary in if that helps. Just being helpful and only passing along knowledge that is fully tested and verified.

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] Stupifier:
The Patched version isn't for Gingerbread.......when running that V6 Starter Pack....it won't install that patched SU cause it knows it will break things (as it says).

Either way, I just flashed SuperSU and V6 RC9 works. Also, my prior issues with SuperSU seem to have been resolved. I'll just stick with SuperSU.

I still feel like this is not a solution though.....only a workaround. Seems all Gingerbread V6 users are forced to flip to SuperSU.
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Not necessarily true. I run a GB rom with the original SuperUser and V6 works fine for me.
[Android Software/Hacking General [Developers Only]] RealPariah:
Yeah, seems problem is only in ICS. This makes sense as original super user written mostly for GB, and core system files changed between froyo and GB, but not to nearly the extent they did between GB and ICS. Chainfire's su written for ICS and GB. You can also grab a patched su binary (it's in starter pack already done for you just stating so people who read this know) that addresses this problem and still use original super user as always (I just wouldn't run the update binary from inside original super user app as that will get rid of the patched in fix).

Some GB ROMs May have the issue if they have the parts of ICS that can run in GB included in them (not many but I have seen some especially if device was slow to get ICS and developers wanted to include the features that can be copied in to GB ROMs). Those may see the same issues ICS ROMs can have as they may have some of the same system files (some are just themed to look like ICS some actually include some parts of ICS code).

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] zzandrewst:
Busybox nonexistent directory

The screen on my D3 stopped working so Verizon decided to send me a Samsung Stratosphere as a manufacturer warranty replacement. Upon receiving the phone the first thing I did was rooted and put V6 on the phone. I am happy to say that I am running at 100% supercharged. The only glitch I has was whwn trying to install the busybox in the starter pack, I received the following message: "busybox nonexistent directory" and it was not installed. What steps do I need to take to fix this?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Post a screenshot.

Sounds like an incomplete download

Well it looks fine.

Does it do the "optimizing apps" on reboot?

Should make it faster :)

Weird how there are supercharger threads in the galaxy y forum then... probably a guide too... You should let them know.

Looks like the command works.... it spit out /mnt/sdcard and /mnt/emmc

what happens if you do in terminal:

ls /mnt/sdcard

Sure post the service.jar if you like... also the java source if you find it anywhere ;)

Try in terminal:

1.

su

busybox df -h 2>/dev/null | awk '{print $5}' | grep mnt

2. (still as superuser)

id

3. which awk

I would have thought that it wouldn't work :p

Well you switched to SuperSU or else I would have asked you to turn on debugging and see where it gags.

Post the complete output please. I haven't heard of that one before.
[Android Software/Hacking General [Developers Only]] metalspring:
Busybox 1.20.1 from Busybox installer

Your Busybox installer won't work because of the different name of the sdcard directory
[Android Software/Hacking General [Developers Only]] zeppelinrox:
all the busybox commands aren't working... do these work?

busybox

busybox awk

busybox which

busybox grep

If so, try:

busybox df -h 2>/dev/null | busybox awk '{print $5}' | busybox grep mnt
[Android Software/Hacking General [Developers Only]] metalspring:
All the simple commands work, not sure if the last one does though since it didn't return anything...no errors though
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok looks like the installer didn't install symlinks to the applets.

So just do:

busybox df -h

btw what happens if you try uploading services.jar to android.mimic.ca?
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Same here. I was happy, but very surprised.
[Android Software/Hacking General [Developers Only]] metalspring:
upload worked, but I really don't want to do anything with it since none of your scripts work right now for jb
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Nice..

And hey... Jelly Bean is android 4.1... found it's deodexed rom and it looks like the android.mimic doesn't even need to be changed... strings that need to be edited are the identical... heh

Now you tell me... after I figured it out LOL

So what did that last command spit out?

I'd like to be able to determine external storage without bothering the user as to where their sd card is.

Edit: Also, what is the output from the busybox installer... theoretically that should actually still work since it was written with having no busybox installed in mind.
[Android Software/Hacking General [Developers Only]] metalspring:
hmm, they must finally be paying attention lol

Btw sdcard is /storage/sdcard0

Btw hopefully you can see a port of it since its not too fundamentally different than ics, just much much faster and prettier lol
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok now I'm gettin somewhere... try:

busybox df -h 2>/dev/null | busybox awk '{print $5}' | busybox grep /

Also, what was the output for my busybox install script?

Looks like it should still work :p
[Android Software/Hacking General [Developers Only]] metalspring:
/system

/factory

/cache

/data

/storage/sdard0

Busybox install script

All your other scripts spit out Busybox errors
[Android Software/Hacking General [Developers Only]] ivo850:
i can't download script!!!!! please help!!!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok at least the root check works on that...

It's probably got to do with it not being copied to data so everything else doesn't work (it uses the copy in data during the rest of the script)

try in terminal...

busybox which cat

I'll rethink the finding sdcard thing in the meantime...