yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] MalarKeY007:
Oh MY Gosh!

This Scrip is AMAZING!!!

Work's PERFECTLY on My LG GT540 with CM7!!!!!111!!11!

My Musics never will stop again! LOL!

Its Very, Very simple to use!!

Thank You Very Much zeppelinrox!!!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thanks guys :)

I just looked up LG GT540... it came with donut?

I see you have CM7 but now I wonder how well supercharger makes donuts... lol
[Android Software/Hacking General [Developers Only]] hearts king101:
Thank u zeppelinrox.

I have a question :

Does your script ( V6 ) load automatically on CM6 pre-Final ?

If not, What to do to make it load auto. ?

Best of luck ;)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Of course... run the script and it will actually create a backup of /system/etc/rootfs/ (naming it /system/etc/rootfs/init.mapphone_umts.rc.unsuper) and the supercharging actually gets incorporated into the rom with an edited init.mapphone_umts.rc
[Android Software/Hacking General [Developers Only]] Abazel:
I have a small question - after copying the scripts in OR ("amenu" & "scripts"), I applied the "V6_SuperCharger_for_Android.sh" but the OR started to work on it's own... in an endless loop (the selection screen). No matter what I would press, it kept going. I stopped everything by pulling out the battery. Is it normal?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So you ran the script manager/interactive version in OR?

Sent from my Milestone Powered by my V6 SuperCharger
[Android Software/Hacking General [Developers Only]] Abazel:
I put those 2 folders in OpenRecovery then I ran the script (from OR). I thaught that at a certain moment it would stop and let me choose something but it kept going and going. Anyway, I used Script Manager and I put "Multitasking" script and seems to work fine. BTW, after removing the battery, I see that it shows me the "!" at SIM card and there is no signal. I hope there isn't a hardware issue. :)) I wiped everything and it does the same. I will reflash Ice&Fire to see if this solves it. 8-| Anyway, great work!
[Android Software/Hacking General [Developers Only]] killakrishook3r:
works great and did wonders on my droid eris running gsb Odex'd v1.0(aka 3.3)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Sweet! :)

Abazel, you should have seen a supercharger menu above the froyo modding menu on the main screen when AOR loads up.

Sent from my Milestone Powered by my V6 SuperCharger
[Android Software/Hacking General [Developers Only]] Abazel:
I have it... but at that moment, when I've run the script, it didn't stop until I pulled out the battery. That I was asking... Why it behaved like that? ^^
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well that file looks the way it shoulld but for some reason busybox isn't doing the for/do/done loops properly.

Try 1 or 2 for better battery but its all at the top of /system/build.prop
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Magic Mount Command!

Ok so to follow up on the mounting...

Do in terminal:

echo `busybox mount | grep system | awk '{print $1}'` /system

You should have output that looks like this:

/dev/block/mtdblock6 /system

To double check, do in terminal:

busybox mount | grep system

You should have output that looks like this:

/dev/block/mtdblock6

on

/system type blah blah blah...

If you DON'T have that "on" please let me know. It would look like this

/dev/block/mtdblock6 /system type blah blah blah...

If everybody gets the "on" its better and the below code can be even smarter...

So for now the command to mount system as read/write on any Android would be:

busybox mount -o remount,rw `busybox mount | grep system | awk '{print $1}'` /system

And to mount read/only:

busybox mount -o remount,ro `busybox mount | grep system | awk '{print $1}'` /system

Edit: Looks like wraithdu is indeed correct all I had to do is preface each "mount" with "busybox".

So this is it!

Mount System Read/Write (r/w):

busybox mount -o remount,rw `busybox mount | grep system | awk '{print $1,$3}'`

Mount System Read Only (r/o):

busybox mount -o remount,ro `busybox mount | grep system | awk '{print $1,$3}'`

Verify if it's working properly and finds /system by doing

busybox mount | grep system | awk '{print $1,$3}'

You should have output that looks like this:

/dev/block/mtdblock6 /system

and...

busybox mount | grep system

Be

sure

you have output that looks like this:

/dev/block/mtdblock6

on

/system type blah blah blah... (note the "on /system"!)
[Android Software/Hacking General [Developers Only]] silberj:
Vacuum error

Zep,

I have searched and can't find a good answer or reference to an issue I've been having of late. I can't even say when it started, or what the conditions were, but here goes my dilemna:

I run the vacuum/detail script, I've got all the root stuff right, and the script has run flawlessly since I've used it from the beginning, throught all the updates, etc. When I run the script (vacuum/detailing) I get several "too many open files" errors. It will just show these over and over. I even let it go all night thinking I wasn't being patient enough, but it's like it is stuck in a loop. One of the areas is /data/data/com.bleacherreport.teamstream which I have uninstalled a few days ago. I use root explorer to go find the file, and that directory is empty. Another one was (forgive the exact filename inaccuracy please) was /data/data/com.geniewidget.something or another. I have cleaned caches, supercleaned, rebooted, and nothing seems to get me past these errors. I have used it successfully in the past. Any ideas?
[Android Software/Hacking General [Developers Only]] 07blackwater:
So zep. To your knowledge has anyone tried this on a galaxy tab yet? I haven't rooted this puppy yet but probably will in the next few days. I'm loving this thing so far but with my phone dialed in with your script the redraws on the tab are unbearable!
[Android Software/Hacking General [Developers Only]] buckhunter:
I typed in the commands and I got a whole page of stuff. Like the 5th line said /dev/block/mtdblock6 on /data type yaffs2 (rw,nosuid, nodev, relatime)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Try using script manager' root explorer/browser.

It will show funky stuff like symlinks while root vexplorer doesn't.

Super Manager is also incredibly fantastic.

Yep there is a good supercharger thread in the tab forum :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I suggest you copy/paste its easy to miss those tiny `back` `ticks` :p
[Android Software/Hacking General [Developers Only]] tmz83:
I get /dev/stl12 system

I get /dev/stl12

on

/system type etc etc, with "on"

---------- Post added at 04:32 PM ---------- Previous post was at 04:31 PM ----------

Should I try with another busybox version?
[Android Software/Hacking General [Developers Only]] silberj:
Thanks for the quick reply Zep, Script Manager FC's when I try to go to that directory, as does root explorer, I'm trying other managers, I'll put super manager on the list, but no luck thus far.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
No try this 99SuperCharger.sh... the current 99 SC restarts your phone, right?

It has debugging on and this has the magic mounting... mmmuuuaaahahahahaha

#!/system/bin/sh
# V6 SuperCharger, OOM Grouping & Priority Fixes created by zeppelinrox.
#
# For debugging, delete the # at the beginning of the following 2 lines, and check the end of /data/99SuperCharger.log file to see what may have fubarred.
set -x;
exec > /data/99SuperCharger.log 2>&1;
#
echo "";
if [ ! "`id | grep =0`" ]; then
echo " You are NOT running this script as root...";
echo "";
echo " ...No SuperUser for you!!";
echo "";
echo " ...Please Run as Root and try again...";
echo "";
exit 69;
fi;
busybox mount -o remount,rw /system 2>/dev/null;
busybox mount -o remount,rw `busybox mount | grep system | awk '{print $1}'` /system;
chmod 644 /sys/module/lowmemorykiller/parameters/adj;
chmod 644 /sys/module/lowmemorykiller/parameters/minfree;
currentadj=`cat /sys/module/lowmemorykiller/parameters/adj`;
currentminfree=`cat /sys/module/lowmemorykiller/parameters/minfree`;
scadj=`cat /data/SuperChargerAdj`;
scminfree=`cat /data/SuperChargerMinfree`;
echo " To verify application of settings..."
echo ""
echo " ...check out /data/SuperChargerRan!";
echo ""
if [ -d "/system/etc/init.d" ] || [ -f "/system/etc/hw_config.sh" ]; then
if [[ -n "`pgrep android`" ]]; then
echo " Waiting 30 seconds (avoid conflicts)... then...";echo "";
echo " Gonna SuperCharge this Android... zoOM... zOOM!";
echo "";
sleep 30;
fi;
fi;
if [[ -n "$scminfree" ]] && [ "$currentminfree" != "$scminfree" ] || [ "$currentadj" != "$scadj" ]; then
echo $scadj > /sys/module/lowmemorykiller/parameters/adj;
echo $scminfree > /sys/module/lowmemorykiller/parameters/minfree;
sed -i '/.*_ADJ/d' /system/build.prop;
sed -i '/.*_MEM/d' /system/build.prop;
busybox sysctl -w vm.oom_kill_allocating_task=0;
busybox sysctl -w vm.panic_on_oom=0;
busybox sysctl -w vm.overcommit_memory=1;
busybox sysctl -w kernel.panic_on_oops=1;
busybox sysctl -w kernel.panic=0;
echo "";
echo "$( date +"%m-%d-%Y %H:%M:%S" ): Ran and Applied Settings from $0" >> /data/SuperChargerRan;
echo "";
echo " SuperCharger Settings Applied!";
else
echo "$( date +"%m-%d-%Y %H:%M:%S" ): Ran and DIDN'T Apply Settings from $0" >> /data/SuperChargerRan;
echo " SuperCharger Settings Were ALREADY Applied!";
fi;
echo "";
echo " $0 Executed...";
echo "";
echo " ===========================";
echo " ) SuperCharge Complete! (";
echo " ===========================";
echo "";
busybox mount -o remount,ro /system 2>/dev/null;
busybox mount -o remount,ro `busybox mount | grep system | awk '{print $1}'` /system;
# End of V6 SuperCharged Entries
[Android Software/Hacking General [Developers Only]] 07blackwater:
Yup, definitely works on the tab!

Just gonna have to find the right minfrees. Nitro works good and running htk with option 8 using local.prop right now.

edited: All good now!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Cool... yeah I forgot there's a couple of roms that are already SC'ed.

Task650 has done 2 anyway there may be others ;)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Magic Mount Command Final! lulz

I edited the "Magic Mount Command!" post but it may get overlooked so here is the final result.

In case you missed it, the idea is to mount system r/w and r/o on

all Androids

without using a "for loop"

Mount System Read/Write (r/w):

busybox mount -o remount,rw `busybox mount | grep system | awk '{print $1,$3}'`

Mount System Read Only (r/o):

busybox mount -o remount,ro `busybox mount | grep system | awk '{print $1,$3}'`

Verify if it's working properly and finds /system by doing

busybox mount | grep system | awk '{print $1,$3}'

You should have output that looks like this:

/dev/block/mtdblock6 /system

and...

busybox mount | grep system

Be

sure

you have output that looks like this:

/dev/block/mtdblock6

on

/system type blah blah blah... (note the "on /system"!)

So please test and let me know if things "don't add up"
[Android Software/Hacking General [Developers Only]] wraithdu:
Edit:

n/m, I'm sure you knew that already. Work puts me in 'dealing with children' mode...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Heh.. that gave me an error on the stock telus rom after rooting my phone.

It actually took a **** and spit out an error which is why I add 2>/dev/null to those line in my scripts :p
[Android Software/Hacking General [Developers Only]] silberj:
I have managed to access the directories in question, with none other than SD Maid (Market) Everything else forced closed when attempting to access the root data directory. I was able to get rid of the bleacherreport "corpse", but the android.google.geniewidget refuses to be deleted, and when I do get some of the directories deleted under it, they always regenerate on next boot. Running the vacuum/detailing script, it repeats the "too many open files" line over and over. I have been at it all day, and my limited knowledge on what to do next has hit a dead end.
[Android Software/Hacking General [Developers Only]] vulcan001:
Im trying to use script manager but theres a problem with my phone it isnt compatible with the app since i just flashed on over to ICS on my evo. Any alternatives i can use to install the script?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I recently had a fubar with an app2sdx script... no way to uninstall it and symlinks all over the ****ing place.

I tried deleting stuff but it always came back...

So the only way that i know that works is in terminal.

If you use script manager's console, files and folders are colour coded so this helps a lot when you're not sure what's a symlink or not.

Symlinks are cyan, I'm pretty sure.

So if your in root and type "ls" the etc folder is cyan because its really a link to /system/etc

So navigate to the folders in question and type "ls" to get a list of files.

Now paste this in there:

for i in `ls -a`; do if [ -h $i ]; then busybox rm $i; fi; done

That will obliterate any symlinks in that folder.

Then type "ls" again and there should be no more cyan :D

I started having fun navigating folders and looking for cyan and pasting the kill shot lol
[Android Software/Hacking General [Developers Only]] wraithdu:
find is also useful with the -type option

find . -maxdepth 1 -type l

For example that finds all symlinks in the current directory. -maxdepth can be tweaked to your preference. find also has the -exec option to directly act on found items.

To translate your example above

find . -maxdepth 1 -type l -exec rm '{}' \;

{} is replaced in the -exec command args with the file which is found. I think quotes are suggested to deal with paths with spaces.

EDIT:

Fixed syntax error, ending \; denotes the end of the -exec command. This allows for further options to be added for the find command.
[Android Software/Hacking General [Developers Only]] Mathias1:
Did anyone test this with LeeDroiD SuperSensational?

Results? Pro's? Con's? Tips? =)
[Android Software/Hacking General [Developers Only]] tmz83:
lulz! the magic of bash...

No restart with this one ;)

here the log

+ echo

+ id
+ grep =0
+ [ ! uid=0(root) gid=0(root) ]
+ busybox mount -o remount,rw /system
+ busybox mount
+ grep system
+ awk {print $1}
+ busybox mount -o remount,rw /dev/stl12 /system
+ chmod 644 /sys/module/lowmemorykiller/parameters/adj
+ chmod 644 /sys/module/lowmemorykiller/parameters/minfree
+ cat /sys/module/lowmemorykiller/parameters/adj
+ currentadj=0,4,6,8,14,15
+ cat /sys/module/lowmemorykiller/parameters/minfree
+ currentminfree=1536,2048,6656,7168,7680,8192
+ cat /data/SuperChargerAdj
+ scadj=0,4,6,8,14,15
+ cat /data/SuperChargerMinfree
+ scminfree=1536,2048,6656,7168,7680,8192
+ echo To verify application of settings...
To verify application of settings...
+ echo

+ echo ...check out /data/SuperChargerRan!
...check out /data/SuperChargerRan!
+ echo

+ [ -d /system/etc/init.d ]
+ [ -f /system/etc/hw_config.sh ]
+ [[ -n 1536,2048,6656,7168,7680,8192 ]]
+ [ 1536,2048,6656,7168,7680,8192 != 1536,2048,6656,7168,7680,8192 ]
+ [ 0,4,6,8,14,15 != 0,4,6,8,14,15 ]
+ date +%m-%d-%Y %H:%M:%S
+ echo 12-05-2011 20:27:22: Ran and DIDN'T Apply Settings from /data/99SuperCharger.sh
+ echo SuperCharger Settings Were ALREADY Applied!
SuperCharger Settings Were ALREADY Applied!
+ echo

+ echo /data/99SuperCharger.sh Executed...
/data/99SuperCharger.sh Executed...
+ echo

+ echo ===========================
===========================
+ echo ) SuperCharge Complete! (
) SuperCharge Complete! (
+ echo ===========================
===========================
+ echo

+ busybox mount -o remount,ro /system
+ busybox mount
+ grep system
+ awk {print $1}
+ busybox mount -o remount,ro /dev/stl12 /system

"OT" Question: I read this in V6 when I executed it: "You have 278 MB of ram in your device. 512HP settings are reccomended." Is it true? Can I use "512 HP Ledded"?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well I think I will have to refine recommendations.

Even with the lowest one, 40 mb in slot 3 may be too aggressive.

Either pick the 256 Super UL or customize with say 32 in slot 3 :)
[Android Software/Hacking General [Developers Only]] dpaine88:
did this guy steal your idea?

http://xdaforums.com/showthread.php?t=1305060
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ya I had it pulled until he called the broken launcher something other than the names I use so now he calls it "non killable"

He still has the hard to kill screenshot tho... maybe somebody should post a little beads up about that ;)

I voted his threads accordingly as others did I guess judging from the stars...
[Android Software/Hacking General [Developers Only]] buckhunter:
Damn thief!
[Android Software/Hacking General [Developers Only]] Lockdo6307:
so I installed the scripts on a dell streak 7 2.2.2 streakdroid 1.3 and I was wondering if these can affect gps and if they were compatable thanks for any info. I installed these and my gps stopped.working had to reflash to get gps to work. Wondering if these caused that problem thanks in advance
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Did you run them at boot with script manager or did they apply on boot automatically?
[Android Software/Hacking General [Developers Only]] Lockdo6307:
I installed them with script manager i am not sure how to apply on boot automatically. i am new to scripts i use these on my glacier and have had no problems just with my streak. these caused boot loops with the honeycomb rom i was using. also what version of the scripts should i be using would love to have all of them in effect.

just read up a little i am supposed to be checking run a t boot for these scripts?
[Android Software/Hacking General [Developers Only]] desaturated:
Option

too much option number, what is the best for my phone or which phone? need some detailed,,

my phone ST18 X ray
[Android Software/Hacking General [Developers Only]] Jar3112:
Just try...!

Sent from my Galaxy Ace on Cyanogenmod 7.2
[Android Software/Hacking General [Developers Only]] Yonnor:
Theres no perfect setup for any particular phones, each will take to the script differently, so you'll need to find which one works best for your phone.

What works best for one person might be terrible for another due to the shear about of differences that are between our phones, even ones that are of the same make an model.

morse coded via my DROID 3
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Use the latest versions.

I dunno which ones you applied.

Not sure if they stick on boot or not?

You check run at boot only if they don't stick.

My ESP is a little rusty so I can't give specific advice for troubleshooting :p

Run latest script then you need to read below the menu.
[Android Software/Hacking General [Developers Only]] Lockdo6307:
I didnt know to check to see if they stick thanks for the info will try in a bit
[Android Software/Hacking General [Developers Only]] Lockdo6307:
well they did stick but GPS still won't connect after I apply the script. It still won't connect even after I uninstall the script but before that it would connect anytime not sure what's going I use version 8
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So it still won't connect even after you run the unsupercharge option and reboot?

I don't get gps problem reports so it could be a rom issue since it isn't even installed.

Try wiping dalvik and cache partition (NOT data partition)
[Android Software/Hacking General [Developers Only]] Lockdo6307:
Possibly I'm getting a little aggravated I don't understand why my gps doesn't work after I install the script. And yes even after I uninstall it it still won't connect but before all that it does work I just reflashed the rom and probably going to leave the script out. The 3g turbocharger makes the internet fly on the device
[Android Software/Hacking General [Developers Only]] ahecht:
I installed the V6 (option #6) and 3G scripts on my CDMA (Sprint) Hero running TeamHeroC-7.2.0-RC0-30NOV

For each of the 7 settings (including UnTurboCharged)I ran a total of 8 speed tests (4 on a server near my physical location and 4 on a server located near Sprint HQ in Overland Park, KS). For each setting I threw out the highest and lowest values, and averaged the remaining 6. My results were as follows:

Ping	Down	Up
1	137	433	794
2	149	251	752
3	167	237	671
4	152	207	707
5	137	388	753
6	130	614	813
7	134	469	812

My phone was in an area with a steady 3 (out of 4) bars and a 3G signal and didn't move throughout the test.

As you can see, Option #6 (Experimental 2) was the winner for Ping, Down, and Up, but it was only slightly better than Option #7 (UnTurboCharged) for Ping and Upload. While the Download was 145kbps faster with Option #6, the Standard Deviation was 135, so this is not as statistically significant as it may seem. My absolute best downloads with #6 and #7 respectively were 929 and 890, while my absolute best uploads respectively were 918 and 925.

In conclusion, at least for my phone, Options 1-5 resulted in worse performance, while Option #6 resulted in slightly better performance.
[Android Software/Hacking General [Developers Only]] andreas__:
Hey zep,

i used to install all your scripts but today I ran the KAK just for fun and to see if it sticks correctly and it said, no it ain't, even not after re-apply and reboot. i checked the values and everything mathes the KAK settings except one value: lease-break-time

before it was 45 and after KAK it should be 10 but it seemed not to be ..

apparently, the other ones sticked quite well but why this one didn't ?
[Android Software/Hacking General [Developers Only]] DJ "suMo*:
Is the script working with ICS/Galaxy Nexus?

Sent from my GN
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I think most settings don't have an effect on cdma.

I'd like fo find some more cdma related tweaks indeed

Could be the kernel applying settings later or another script.

If you apply it and re-run kak immediately, they all match, yes?

I think there's a supercharger rom already but yes
[Android Software/Hacking General [Developers Only]] maneken25:
Any chance that supercharger script being update for ics builds ported on other non-ics devices like hd2. Tried few times but it messed up min free settings and gives few error on integration into roms.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You don't need init.rc integration for it to stick via init.d so that's no biggie.

Hey what's the weather in China like right now?

Just take a guess... no need to be specific or anything...
[Android Software/Hacking General [Developers Only]] dgcruzing:
Zep.. your are going off topic a bit.. lol..

but I can answer that one for you as an Aussy working here..

(made me laugh as having lunch in the office getting my daily V6 update)

Weather in Tianjin China - Grey, Wet, Cold..

but lucky there are many fine Chinese girls to take away the winter blues.. :p
[Android Software/Hacking General [Developers Only]] DaXmax:
Does the all ur script works on ICS??
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You're only the second person to ask about ICS... on this page :rolleyes:
[Android Software/Hacking General [Developers Only]] killersloth:
People should give ics a chance to breathe before they start trying to tweak it... LOL.

Especially the source port wip's, let them get out of beta stages first ffs :p
[Android Software/Hacking General [Developers Only]] Human_dude_007:
Mah fone got an adrenaline shot after getting this on my o1!!!just awesum...:-)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Heh... ya well a tweaker's gooltta tweak!

Cool beans :)