yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hisname:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

hmm..... i didn't have this problem while on CM10.1 my busybox is 1.21 by stericson. maybe I should use the busybox by u... i also don't have row scheduler on this kernel now:(, so no work around for it...

Sent from my supercharged :tank:
[Android Software/Hacking General [Developers Only]] Gameboy21:
Using CM10.1 JB..!!

I m getting only 50% supercharged..

It says launcher is not patched..so weak :(

*/storage/sdcard0/services.jar: No such file or directory..

sed: bad option in substitution expression..

I hacked services.jar using this file(Ultimatic_Jar_Patcher_Tools_RC6_ALL_DEX_ALL_OSes_NO_FLASH.zip) ..

What should i do..??
[Android Software/Hacking General [Developers Only]] Madaditya:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

Place it somewhere on your sd card...your services.jar ... :/

And zep,it seems that my rom ultimate hd ics on xperia pro is pre-supercharged...

Would that mean all your scripts are used?

What add-ons can I still from your scrit for my case?
[Android Software/Hacking General [Developers Only]] Jar3112:
R: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy 2

I did what you suggested..

Flashed Cyanogenmod, reboot 4 times (just to be REALLY sure this time :P)

http://db.tt/Hj6CPUaX

Installed Supercharger (i used bugfix 2, should be the same anyway am I right?).

Didn't patch services.jar, only minfrees from the custOOMizer. No kernel option either, I chose to leave my kernel's .

http://db.tt/KiNIxHVW

Sent from my Galaxy Nexus
[Android Software/Hacking General [Developers Only]] Gameboy21:
My patched services.jar is already present there..but its giving sed error..

I think Zepp. in his earlier post said that he missed some code..may be lets wait for him to fix it.. :cool:
[Android Software/Hacking General [Developers Only]] zgmfx20:
after supercharging, hd games like wild blood boot so long(takes 4 minutes before getting into game UI).After getting into the game, i get high fps,doesnt lag but stutters a little bit for 2 secs. im using jader's rom with lupus kernel and zRam swap of 60mb enabled(xperia arc)

For the kernel,(before applying supercharger tweaks)

vm.dirty_ratio=20;

vm.dirty_background_ratio=5;

vm.vfs_cache_pressure=300;

vm.oom_kill_allocating_task=0;

vm.min_free_kbytes=2048;

vm.dirty_expire_centisecs=200;

vm.dirty_writeback_centisecs=500;

vm.panic_on_oom=0;

vm.overcommit_memory=1;

vm.overcommit_ratio=50;

vm.swappiness=0;

kernel.panic_on_oops=0;

kernel.panic=10;

v6 tweaks

vm.min_free_kbytes=7577;

vm.oom_kill_allocating_task=0;

vm.panic_on_oom=0;

vm.overcommit_memory=1;

vm.swappiness=20;

kernel.panic_on_oops=0;

kernel.panic=0;

kernel.random.read_wakeup_threshold=1376; <---seeder

I also tried to remove kernel tweaks of the script, vm.swappiness and entropy generator still applies, but results still the same/

How could I fix my problem? Sorry im a noob but thanks in advance zep! :confused:

edit: hmm. engine flush-o-matic a bit buggy. It repeats 2 same questions of flush it all. I need to reconfigure again of how often should it run after I run option 17.
[Android Software/Hacking General [Developers Only]] gu5t3r:
What changed in T5?

---------- Post added at 02:42 PM ---------- Previous post was at 02:07 PM ----------

You didn't use grep -v in Line 6788

elif [ "\`busybox ps | grep Matic_is_In_Effect | wc -l\`" -gt 1 ]; then

as I said, grep fails to catch itself sometimes, then the script will die....

If I "busybox ps -w | grep -c no_way_to_be_found" every 3-10th time it is not 1 it is 0....

Shouldn't it be better to

elif [ "\`busybox ps | grep Matic_is_In_Effect | grep -vc "grep Matic_is_In_Effect"`" -gt 0 ]; then

this will find only grep "Engine_Flush-O-Matic_is_In_Effect!" and will not find "grep Matic_is_In_Effect"....

---------- Post added at 02:51 PM ---------- Previous post was at 02:42 PM ----------

In Line 7086

if [ "\`busybox ps\$w | grep "{.*}.*\${0##*/}" | wc -l\`" -gt 1 ]; then echo "cookie!" > /data/FOMtemp; \$0 &
elif [ "\`busybox --help | grep nohup\`" ]; then echo "cookie!" > /data/FOMtemp; (busybox nohup \$0 > /dev/null &)
elif [ "\`busybox --help | grep start-stop-daemon\`" ]; then echo "cookie!" > /data/FOMtemp; busybox start-stop-daemon -S -b -x \$0
else echo "cookie!" > /data/FOMtemp; \$0 &

should be

if [ "\`busybox ps\$w | grep "{.*}.*\${0##*/}" | grep -vc grep\`" -gt 0 ]; then echo "cookie!" > /data/FOMtemp; \$0 &
elif [ "\`busybox --help | grep nohup\`" ]; then echo "cookie!" > /data/FOMtemp; (busybox nohup \$0 > /dev/null &)
elif [ "\`busybox --help | grep start-stop-daemon\`" ]; then echo "cookie!" > /data/FOMtemp; busybox start-stop-daemon -S -b -x \$0
else echo "cookie!" > /data/FOMtemp; \$0 &

This bad behavior of pw -w | grep blah is I'm sure the reason script was dieing before after some time, because sometimes it would catch itself in pw -w and sometimes it wouldn't and then it would fail.....

---------- Post added at 02:52 PM ---------- Previous post was at 02:51 PM ----------

So, ps -w | grep blah | grep -v grep should be used....
[Android Software/Hacking General [Developers Only]] lukekaramazov:
you can fix that without factory reset. just go to cwm - advanced - fix permission

everything will be good

oh yeah zep you still get the hang of my comments. what if i added "cause your thanks meter will explode" is it still a junior troll which is i'm not trolling? and you ignored "i always press thanks on your v6 update post". and you ignored my post of dojodo problem which is the same as mine and can't be fixed by v6 fix permission and can be fixed by cwm fix permission. anyway i will always use your script and press thanks as i ALWAYS DO. and i don't know why you so allergic to jan 2013 registered member. oh well whatever i'll comment here on 2014. LOL.
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

I'm getting the same. Have you tried placing it manually in /system/framework? Need a root browser capable of RW and you'll have to change the permissions proper.
[Android Software/Hacking General [Developers Only]] Gameboy21:
Most probably i think i did it right..I copied services.jar manually to system/framework..Set permissions rw-r--r--..otherwise installing through script sed error still present.. :(

But still it failed to detect it..n ADJ values are not in effect.. its showing only 50% supercharged..

Hope i did it right..

U tried doing moving services.jar manually..?
[Android Software/Hacking General [Developers Only]] gu5t3r:
Hi zepp, I replaced !FastEngineFlush.sh as following:

#!/system/bin/sh
#
on=1;
flushOmaticHours=4;
########################
########################
cd "${0%/*}" 2>/dev/null

t2=1;
if [ "`busybox ps -w | grep "{.*}.*${0##*/}.*BaCkGrOuNd" | grep -vc grep`" -gt 0 ]; then t2=2; fi

if [ "`busybox ps -w | grep ".*${0##*/}.*BaCkGrOuNd" | grep -vc grep`" -eq 0 ]; then
echo "Going in background..."; ($0 BaCkGrOuNd &); exit;
elif [ "`busybox ps -w | grep ".*${0##*/}.*BaCkGrOuNd" | grep -vc grep`" -gt "$t2" ]; then
echo "Stopping...Already in background..."; exit;
elif [ "$1" = "BaCkGrOuNd" ] && [ "`busybox ps -w | grep Matic_is_In_Effect! | grep -vc "grep Matic_is_In_Effect!"`" -eq 0 ]; then
echo "Working";
while (("$on")); do
busybox sync;
busybox sysctl -w vm.drop_caches=3 1>/dev/null;
sleep 5 | grep "Engine_Flush-O-Matic_is_In_Effect!";
busybox sysctl -w vm.drop_caches=1 1>/dev/null;
sleep $(($flushOmaticHours*60*60)) | grep "Engine_Flush-O-Matic_is_In_Effect!";
done
else
echo "Already in background..."; exit;
fi

This works both if run with "/data/V6_SuperCharger/!FastEngineFlush.sh" and "sh /data/V6_SuperCharger/!FastEngineFlush.sh", cannot be run more then once, if you try both ways you exit in else "Already in background..." and

STARTS AT BOOT ONE INSTANCE =) =) =)

(previous version started 3 times as you executing it 3 times during boot, but this one starts corretly only once)

It even works without && [ "`busybox ps -w | grep Matic_is_In_Effect! | grep -vc "grep Matic_is_In_Effect!"`" -eq 0 ] but it don't hurts to be cautious...

If you follow the principle, you can just add if at the begining for running from menu 17

if [ "$1" = "menu" ]; then ...

for changing options with sed =)

change options and run it...if its not running it will start if its running you can inform user to restart for changes to take effect

didn't try to remove while loop and to make script run itself again like you do, maybe that works too...
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

Yeah, I did it manually as well, but saying the same as you. Though I do still think it's ROM or kernel related.
[Android Software/Hacking General [Developers Only]] zenosteam:
me too i have this problem i have try many time all the possible method but unsuccessful with different rom's too
[Android Software/Hacking General [Developers Only]] zeppelinrox:
damn I deleted the wrong part.

still on the road.

I meant to. ask you for boom stick without a patched services.jar

try the exe.

I will look later.

I can go over all that later.

But there is no while loop in t5.

You forgot to mention if it works.

If bp apps works for you, then t5 will.

Didn't change other code cuz I had no time... I was nearly late as it is.
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

???

Spoke to soon... it's nuts out there! I just said to myself screw this, I'll come back out when the wind dies down.

Anyway, I'll get a bOOM Stick without the patch.
[Android Software/Hacking General [Developers Only]] gu5t3r:
T5 works and starts on boot...

Killed its sleep few times and it survived.... =)

But, nevertheless you should use "grep -vc grep" instead "wc -l" because every time I check, grep fails to catch itself in 10-20% of tries...

(something will go wrong eventually)

And...why are you doing animation in backgroud? Can't you skip that when script is in background?

---------- Post added at 12:13 AM ---------- Previous post was at 12:06 AM ----------

:)
[Android Software/Hacking General [Developers Only]] phonetool:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

I have a seemingly simple question that I hope is easy to answer.

With the (wonderful) succession of test releases of the V6 script, I'm not sure how to make sure I've got the latest fixes in place.

Each time I run the script it says I'm 100% supercharged, but I know that the script is a shell of many other options. Should I be running all portions of the script each time? (I have been) Or is just executing the shell and exiting enough?

I guess it depends on which options I use...

-MROM on DInc2
[Android Software/Hacking General [Developers Only]] da__beast:
Usually on an upgrade you will need to re-run the fix emissions type options again to make sure that if there were any changes to those processes (the scripts that are generated and run) that they get updated. If there are more options, Zep is real good at checking for missing options and forcing into the options menu to set the options again.

Once you run the script and get 100% - running the script again is only good for changing options or checking supercharge level (such as after a reboot).
[Android Software/Hacking General [Developers Only]] zgmfx20:
zep please separate entropy generator, tried with and without tweak, doesnt work good for me. :(

edit: heh i think it's the flush-o-matic, disabled now and works well now since my device has low ram.
[Android Software/Hacking General [Developers Only]] giovannipaquier:
i just don't wanna lock launcher on memory. all the rest, yes.

there is a way to do it?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It really makes no difference.

whether you check if 1 is greater than 0...

or if you check if 2 is greater than 1...

It's the same thing.

You said the result was the same if you did with wc -l... you'd still get 1 too many "counts" no?

It doesn't really matter anyway because if it reaches that part, it's already set to go into a loop.

That part is merely deciding on how to re-launch itself.

It uses nohup or the daemon only if it was run with sh /blah or with script manager and only on the first run.

Otherwise, it always does my old trick $0 & exit

After the first run, it really doesn't matter how it's relaunched.

Are you sure that grep -vc grep counts properly?

Maybe you can test by puting that in the Test 4 script with the debugging on and see if it counts the right number of instances.

Because with the script NOT in memory beforehand, grepping without the -v spat out a 3... should have been 2.

That's the only reason why it wasnt working on your device.

Still have no clue why it was always one too many.

So... if you do that test with the -v grep... and the debugging shows a 2... that command does nothing different.

Did you try a different busybox?

in terminal type "echo $0"

Maybe your shell is a little different.

Or maybe use terminal instead of SManager?

I don't understand the reason for these sed errors all of a sudden... geezus

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

Ok so I'm bushed and gotta go back out in 4 hrs... see ya later
[Android Software/Hacking General [Developers Only]] GermanyGSG:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

someone, please gimme the BusyBox with "nohup" applets. my BusyBox and wrathdu's busybox doest include that. nohup applets for auto engine flushing. and my HH will lag without engine flushing. so please gimme...
[Android Software/Hacking General [Developers Only]] r_hippy:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

It's in post # 17875
[Android Software/Hacking General [Developers Only]] GermanyGSG:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

i've download it and install it. it says blah.... blah... blah... not found. and now the v6 script stuck in the driver test... help!
[Android Software/Hacking General [Developers Only]] gu5t3r:
I use 1.20.2-CM9 bionic from HERE and U9_RC12_T5 script works on it...

That link are custom busyboxes from Busybox app on Google Play...
[Android Software/Hacking General [Developers Only]] GermanyGSG:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

but i am using Stock GB EK25 Rom. is it okay to use CM9 busybox?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
use latest test

Just as I thought... Almost all apps are -15 Lol

That kernels not right

Oops almost over slept.

It still boils down to the same thing.

What if it misses the sleep message?

Margin of error is identical.

You can eliminate the grep result with the command line itself or changing the -gt value.

Besides, I think the error proof way is to have it drop a "I'm running" cookie which it would delete before any exit command.

Did you do that test I asked with t4?

And of course grep -c is cleaner than adding the WC -l

Update maybe Sunday.

==========

Now gotta plow Orenda... hubba hubba lol
[Android Software/Hacking General [Developers Only]] zano07:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

Why is this mod not made as an application?
[Android Software/Hacking General [Developers Only]] jr_718:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

Its up to the developer..imagine its time consuming.. If you can assist am sure with majority vote he can change the script to an app. And why do you want it as an apk?
[Android Software/Hacking General [Developers Only]] GermainZ:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

The app probably won't keep up with the speed of the updates.

Besides, who needs an application? Except lazy people who aren't welcome anyway.
[Android Software/Hacking General [Developers Only]] GermanyGSG:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

cuz its easier to install and run. plus u can post it at GPlay and make profits... but its up to developers. cuz this script is for Android Expert and not for newbies...
[Android Software/Hacking General [Developers Only]] jr_718:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

True

.we all know zepp is a millionaire:D..he don't need money(got a multi million dollars brain) ... As a matter of fact I helped do he's taxes... Damn I gotta do my taxes as well..damn you uncle Sam..if he's dead why am I still..nm:banghead:
[Android Software/Hacking General [Developers Only]] Gameboy21:
Currently i'm testing with old script (V6 SuperCharger Update 9 RC11) and it seems that sed error is gone..when i select install services.jar manually ,the operation is successful..

Edit: No success..still showing ADJ entries not patched..and Supercharged launcher not in effect.. (50% supercharged)
[Android Software/Hacking General [Developers Only]] abelle_abelle:
doesnt work with Jkay framework on Galaxy S3 after patching services.jar using Ultimate power jar

just keep getting services.jar unpatched error
[Android Software/Hacking General [Developers Only]] huseinn:
Zep, I'm using latest, yep T4, but after I look out data/Ran FOM, the log show that ur FOM doesnt run, because it doesnt change it last time

flushing, any idea? Or I miss something? Because I use my phone so cant look out few page backward :p FYI I set it to 3 hours auto flush... Hehe thanks :)
[Android Software/Hacking General [Developers Only]] gu5t3r:
the best way to check if FOM is in memory is to type in terminal

ps -w | grep Matic

if you get message Engine_Flush-O-Matic_is_In_Effect! then it is in memory, else not...

and on boot, fom starts delayed 1 or 2 min...it means you shold wait 2 min before checking

---------- Post added at 03:44 PM ---------- Previous post was at 02:49 PM ----------

grep -vc grep helps only with grep randomly hit itself or not

It won't help with the T4, because of the grep "$(0##*/)" test...when script is run with sh, `` execution quotes create another process

made a script to prove it

#!/system/bin/sh
set -x
busybox ps -w | grep "${0##*/}" | grep -v grep
busybox ps -w | grep "${0##*/}" | grep -vc grep
echo =======
echo "`busybox ps -w | grep "${0##*/}" | grep -v grep`"
echo "`busybox ps -w | grep "${0##*/}" | grep -vc grep`"

and the output is

root@android:/data/V6_SuperCharger # ./proba.sh
+ grep proba.sh
+ grep -v grep
+ busybox ps -w
19884 root 664 S {proba.sh} /system/bin/sh ./proba.sh
+ busybox ps -w
+ grep -vc grep
+ grep proba.sh
1
+ echo =======
=======
+ grep -v grep
+ grep proba.sh
+ busybox ps -w
+ echo 19884 root 664 S {proba.sh} /system/bin/sh ./proba.sh
19884 root 664 S {proba.sh} /system/bin/sh ./proba.sh
+ busybox ps -w
+ grep -vc grep
+ grep proba.sh
+ echo 1
1
root@android:/data/V6_SuperCharger # sh ./proba.sh
+ grep -v grep
+ grep proba.sh
+ busybox ps -w
19936 root 1204 S sh ./proba.sh
+ grep -vc grep
+ grep proba.sh
+ busybox ps -w
1
+ echo =======
=======
+ grep -v grep
+ grep proba.sh
+ busybox ps -w
+ echo 19936 root 1208 S sh ./proba.sh
19943 root 1208 S sh ./proba.sh
19936 root 1208 S sh ./proba.sh
19943 root 1208 S sh ./proba.sh
+ grep proba.sh
+ grep -vc grep
+ busybox ps -w
+ echo 2
2
root@android:/data/V6_SuperCharger #

as you can see when script is run with sh, check inside `` creates another process for check

elif [ "\`busybox ps\$w | grep "/\${0##*/}" | wc -l\`" -lt 3 ] && [ -f "/data/FOMtemp" ]; then

maybe to check for {.*}.*/${0##*/} instead /${0##*/} ?
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

Yep... thought that looked odd too. Lol

Damn... just didn't want to think it until you confirmed it - and I got no other kernel options with, what seems to be, the best daily JB driver for my device.

Oh, I attached the contents of my init.d folder in an earlier post... there's some kinda kernel script there that I've never seen before on other ROMs. When you get a chance please take a look. Quoted post:
[Android Software/Hacking General [Developers Only]] iluvamk:
Can someone please explain to me how to run Ultimate_Jar_Patcher_Tools_RC7_TEST2_ALL_DEX_Windows.exe.zip on Windows. I downloaded it and it comes up as a Compressed Zip file. I have Java installed and it checks out according to the link Zep has provided. I have tried removing .zip extension but it still will not let me do anything. Thanks in advance.
[Android Software/Hacking General [Developers Only]] huseinn:
@ gu5t3r okeey thanks, will try it :D
[Android Software/Hacking General [Developers Only]] iluvamk:
Okay, got Zeps patcher for window up and running, but it seems to be stuck on "What's UP." Has been like that for 15 min or so, just the blinking cursor. Any ideas?
[Android Software/Hacking General [Developers Only]] eddydc1:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

open it with cmd
[Android Software/Hacking General [Developers Only]] r_hippy:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

If you read before jumping into it a nooob can do it.... I did. Sorry your having issues. But this script / mod is by far the best....

And the support is outstanding..

My comador 64 runs like a I7 3rd gen ;)

Thanks to zeppelinrox
[Android Software/Hacking General [Developers Only]] GermanyGSG:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

If you used this script, then you are the Expert who tweaks their android phone in different ways and not the noobs

In fact, noobs can't use this script even after they read the entire help file.

my friend, for example he can't use this script cuz he doesnt know how to use Script Manager or Terminal emulator. He said "This just too hard to try" and then he ask me to SuperCharge his Phone. and many ppl in twitter asked me how to use this script cuz they dont know what is "Script" and what they do. even after i gave the link to this Thread for support. so, i think zepp made this in script because he dont want noobs use this script, ask silly question, and bricked their phone. CMIIW

and for quotes, there's nothing in this world which is very hard to try. and the Noobs in this world are very much. its up to your point of view of what the Noob is..
[Android Software/Hacking General [Developers Only]] rob rich:
AW: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

if everyone would read, even noobs could supercharge their phones with this script. everything is explained in the first posts, every step is clearly listet and also every download. you easily get script manager and the right busybox and its also explained step by step how to let the script run in script manager. those people who aren't getting this working (without having an error or something) are to lazy to read a few lines of text imho. i had never worked with scripts or script manager and never supercharged my phone before and it was so easy to do it with this script and this thread. cause i read a little bit ;) so "i dont get this, i'm a noob" is a cheap excuse, sorry
[Android Software/Hacking General [Developers Only]] r_hippy:
Re: [U9RC12T4]Put a V6 SuperCharger +DIE-HARD Launcher in Your Pocket=She'll B Happy

I had no idea how to use any of this a few weeks ago..

None of it.

Only reason I am this far is because my phone wouldn't take a screen shot! Of a game I was playing and wanted to send to a friend....

So I read and read the rest is history. The I am here wanting more that a screen shot app to work... I'm on a mission
[Android Software/Hacking General [Developers Only]] GermainZ:
A noob by definition won't succeed.

A newbie will, tho.