yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well that's freaking weird...

The temporary one that gets copied to /data has proper permissions (I create that one just to do make directories)

But the copy that gets put into /data/local/busybox.v1.19.4/xbin doesn't get proper permissions (tho it still works for me) hence the errors... wonder why the same chmod command doesn't stick... crap

At least I know what's going on :p
[Android Software/Hacking General [Developers Only]] metalspring:
could it be bash not being in some earlier versions of the jellybean roms?

i thought bash was essentially some type of scripting?

Im going to update to a version that has bash and everything soon and will report back then

BTW i wouldnt worry too much about getting the scripts to fully work in JB yet, the current issues could mostly stem from the current roms simply being nandroid hacks, not built from source...i think the main issue to worry about was the change of sdcard directory
[Android Software/Hacking General [Developers Only]] JokerAce:
Yeah, it's is fully functional tho. But bugs are really.. annoying.

I read that you can't get minfrees to stick if I am not wrong? For me, it's running fine. I am 100% charged up. You wanna try using the starter kit?
[Android Software/Hacking General [Developers Only]] iluvamk:
Never Seen This Before

Zep - Just bought a Asus Transformer 300 which I promptly rooted. Flashed AOKP as my ROM and 1st thing I did after that was start installing V6 Supercharger. Ran into these to issues when installing the Supercharger Starter Kit:

-=zeppelinrox=- presents...

########################################

# SuperCharger Starter Kit Installer #

########################################

This installs...

su binary v3.1 (wraithdu)

(fixes Segmentation Faults on ICS!)

BusyBox v1.19.4(wraithdu)

(say buh bye to busybox errors!)

SQLite & ZipAlign Binaries

(DataBase Vacuuming & APK ZipAligning)

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

Hit the gas?

Enter N for No, any key for Yes: y

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

zOOM... zOOM...

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

sh: su_ics_v3.1_wraithdu_installer_v5.sh: No such file or directory

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

sh: busybox_v1.19.4_wraithdu_installer_v7.sh: No such file or directory

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

sh: sqlite3+zipalign_installer_v2.sh: No such file or directory

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

SuperCharger Starter Kit Installer Complete!

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

############################

# Thanks For Coming Out! #

############################

Also got this when trying just the sqlite3+zipalign_installer:

exec sh '/Removable/MicroSD/V6 SuperCharger/SuperCharger_Starter_Kit_RC5/SuperCharger_Starter_Kit/sqlite3+zipalign_installer_v2.sh'

rCharger_Starter_Kit_RC5/SuperCharger_Starter_Kit/sqlite3+zipalign_installer_v2.sh' <

-=zeppelinrox=- presents...

##########################################

# SQLite & ZipAlign Binaries Installer #

##########################################

This enables DataBase Vacuuming...

...and APK ZipAligning...

...on ALL Android devices!

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

Copying sqlite3 & zipalign binaries...

...to the /data/local folder

cp: can't stat 'xbin/sqlite3': No such file or directory

cp: can't stat 'xbin/zipalign': No such file or directory

Setting permissions...

Unable to chown /data/local/sqlite3: No such file or directory

Unable to chmod /data/local/sqlite3: No such file or directory

Unable to chown /data/local/zipalign: No such file or directory

Unable to chmod /data/local/zipalign: No such file or directory

...installing binaries to /system/xbin ;^]

cp: can't stat '/data/local/sqlite3': No such file or directory

cp: can't stat '/data/local/zipalign': No such file or directory

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

) SQLite & ZipAlign Install Complete! (

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

Any ideas for me?

EDIT!!!!: Found problem. Had the files on next. SD card. Moved them to internal storage and it fixed the problem. Yea!!!!!!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
heh... I'm an idiot... found the problem... as it happens... fixing one thing can break another...

Anyway, when I was copying a folder, I was overwriting the busybox binary AFTER I had applied its permissions... oops... :o

ALL FIXED!!

So your Jelly Bean can now SCREAM!!!!!

Hmm... Jelly Scream... NICE!

BusyBox Installers and SuperCharger Starter Kit updated with this fix :D

Odd how it got fixed by moving to internal storage.. since it shouldn't matter where they are located.

Anyway, glad you got it figured out because I wouldn't have guessed that one LOL
[Android Software/Hacking General [Developers Only]] sdojoin:
Quick question, does all the recent script are for Ics n Jellybean??? Cant seem to run it while on GB.:o Any thoughts???
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Of course it runs on everything.. what error do you get?
[Android Software/Hacking General [Developers Only]] sdojoin:
No error. It just hangs even after i run the starter kit.:confused: So what u suggest i do??:p
[Android Software/Hacking General [Developers Only]] Cinctus:
@Zeppelin -I must say I'm a very happy owner of a Revolutionized/Liberated Aria. I've been following your work for over a year now and it is outstanding. I was happy with my phone then, happier now that's supercharged with the latest. Still use original SU, busybox updated and performs like a charm. 100% of the time 100% Supercharged. Thank you for your hard work and effort and wish you the best. I'll keep following your work.

BTW, each night I receive the new postings notifications, it is like receiving CNNs headline news...all more enjoyable! :D

Sent from over the rainbow through my Revolutionized and Liberated Aria (2.2.2).
[Android Software/Hacking General [Developers Only]] Leechoonhwee:
So I just run the starter kit and it installs everything but I'm not sure whether it inserts the startup script into the init.d folder
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ah... have you tried terminal?

su

sh /sdcard/V6*

I'm not sure whether you know what the starter kit does
[Android Software/Hacking General [Developers Only]] sdojoin:
Yupp. Tried that. Still hangs.:p It always hangs at "testing su binary". But the u9rc8.2 runs perfect tho.:D I really dont undrstand why i couldn't run even the u9rc9.:confused: So mybe i stick wth u9rc8.2 till i figure out what seems to be the problem.:)

Just curious, did the u9rc8.2 script also testing our su binary on each run??:)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
oh can you turn on debugging and see where it gags?

Just read the comments on top... you just have to delete a # and run it
[Android Software/Hacking General [Developers Only]] hoodlikegaza:
Having a problem with minfrees not sticking. I'm using the latest cm7.02 nightly for the motorola atrix. Busy box 1.20.1 (default for rom). I've tried setting it to run at boot as root (the supercharge99.sh in init.d, and /data). That doesn't work either...

Everything else is applying correctly but not the minfrees... I was having the same issue before on cm7 with the latest updates and just gave up trying to get it to work. Tried it again tonight hoping some updates fixed the problems, still having minfree issues on the motorola atrix...
[Android Software/Hacking General [Developers Only]] ChaosMinionX:
OK so I simply cannot get 100% supercharger. I get 50% running 99supercharge.sh at boot; however the patched services.jar just won't take I keep getting told by the script that the adj values are not set and the launcher is not diehard.

I have manually and automatically tried installing services.jar and I just can't get it to go to 100% supercharged.. is this only an issue in the ATT s3 for some reason? I am using nova launcher.

Thanks
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ah I'm familiar with that CM7 on Atrix... I guess that kernel still applies minfrees after a delay.

Does /data/Ran_SuperCharger get created?

Anyway, you can try extending the sleep command in /init.d/*99SuperCharger.

Change the sleep 90 to sleep 120 or sleep 180

Ah... post the services.jar
[Android Software/Hacking General [Developers Only]] ChaosMinionX:
Here's the one the website gave me after uploading.
[Android Software/Hacking General [Developers Only]] sdojoin:
Thanx for the hint man. It just ran after i enable usb debugging.:D Works like charm now. 100% supercharge.:p By the way, is u9rc9 is a perfect script like u9rc8.2?? Also can u point out which # to be delete?? Coz its a lot # in da script.:p
[Android Software/Hacking General [Developers Only]] bscraze:
If you open the script one of the first few lines tells you which # to delete
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Oddly enough I've never had a problem with SU 3.0.3.2 but I updated the app to the new version today and then updated the binary to 3.1. Now when I run V6 U9RC10 T2 it prompts me to open a browser when it does the binary check.

I ran it again and closed the prompt real quick and grabbed a screen shot and the script reports that the binary is OK.

I ran RC10 T2 on my wife's phone before updating SuperUser and it does the same thing. I'm showing 100% supercharged so I'm not terribly concerned but if I can help troubleshoot let me know. Just FYI I did clear cache and dalvik cache and it does the same thing.

We both run the same GB rom.

Here's the screeny after I closed the browser prompt.
[Android Software/Hacking General [Developers Only]] sdojoin:
Which 1?? Did u do it in urs?? Can u show me which?? I dont wanna mess the script.:p
[Android Software/Hacking General [Developers Only]] Sux0r:
extweaks not working after supercharging

After supercharging, exTweaks doesnt seem to work for me.

It shows a message " No Data. No Compatible interfaces detected "

I checked after emptying extweaks caches, uninstalled and installed, reset extweaks profile and it still isnt working. Any fix ?
[Android Software/Hacking General [Developers Only]] hoodlikegaza:
Thanks, I tried what you suggested, but I'm not sure if I changed it right. Anyhow, it didn't work what I tried... Can you be a bit more specific about the line of code im looking for? Also, do I have to change the one in /data?

I tried changing the only references to sleep 90 that I saw, there were 2, and it looked as though they were just echos... I don't know for sure though.

And no, there's no /data/ran_supercharger
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Six lines down you'll see this ...

# For Debugging: Delete the # at the beginning of the next line and watch the output on the next run!

# set -x -o errexit

#

So follow the directons and and instead of "# set -x -o errexit" you'll have "set -x -o errexit" and post the output.
[Android Software/Hacking General [Developers Only]] LunaticSerenade:
Okay, so I am trying to patch the services.jar/.odex files for my Rezound (newtoroot's OnE XxX ROM, which is a Sense 4 ROM), and I get the following errors:

C:\Android\Super>java -jar baksmali.jar -x services.jar -o classout

UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file services.jar does not cont
ain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:269)

C:\Android\Super>java -jar baksmali.jar -x services.odex -o classout

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
5)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:104)
at org.jf.baksmali.main.main(main.java:297)

I grabbed the latest smali and baksmali files from the supplied links, and have followed the directions to the letter.

Any thoughts?
[Android Software/Hacking General [Developers Only]] bsoplinger:
This is a clue to your problem. There are issues with some of the versions of v1.20 of busybox. Try using the 19.4 wrathdu install shell script from the OP. Just unzip the file and run the script file with Script Manager to install it.

Sent from my Sprint Evo View 4G (PG41200) using Xparent Purple Tapatalk 2
[Android Software/Hacking General [Developers Only]] sdojoin:
R u sure?? Okay. This is the output i got running u9rc9 after running starter kit v6. It goes like this then stop automaticly....

exec sh '/mnt/sdcard/backups/V6 supercharger/Updated/V6_SuperCharger_for_Android-Update9_RC9.sh.pdf'

# SuperCharger_for_Android-Update9_RC9.sh.pdf'

+ line=================================================

+ echo

+ echo ================================================

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

+ echo NOTE: BUSYBOX v1.16.2 OR HIGHER IS RECOMMENDED!

NOTE: BUSYBOX v1.16.2 OR HIGHER IS RECOMMENDED!

+ echo ================================================

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

+ sleep 2

+ busybox mount -o remount,rw /data

+ busybox mount -o remount,rw /

+ busybox mount -o remount,rw rootfs

+ [ -d /sqlite_stmt_journals ]

+ mkdir /sqlite_stmt_journals

+ madesqlitefolder=1

+ [ ! -d /sqlite_stmt_journals ]

+ [ ! -d /data/V6_SuperCharger ]

+ [ ! -d /sdcard/V6_SuperCharger ]

+ cat

+ busybox mount -o remount,ro /

+ busybox mount -o remount,ro rootfs

+ echo Test Driving Your Android Device...

Test Driving Your Android Device...

+ echo ================================================

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

+ echo

+ sleep 1

+ which busybox

+ [ ! /sbin/busybox ]

+ which awk

+ [ ! /sbin/awk ]

+ which sed

+ [ ! /sbin/sed ]

+ which head

+ [ ! /sbin/head ]

+ which pgrep

+ [ ! /sbin/pgrep ]

+ [ ]

+ awk {print $1}

+ head -n 1

+ busybox

+ test1=BusyBox

+ awk {print $2}

+ head -n 1

+ busybox

+ test2=v1.19.4-wraithdu

+ awk -F , {printf "%.0f %.0f %.0f %.0f %.0f %.0f\n", $1/256, $2/256, $3/256, $4/256, $5/256, $6/256}

+ echo 1000,2000,3000,4000,5000,6000

+ test3=4 8 12 16 20 23

+ [ v1.19.4-wraithdu ]

+ echo BusyBox v1.19.4-wraithdu Found!

BusyBox v1.19.4-wraithdu Found!

+ echo

+ sleep 1

+ [ BusyBox = BusyBox ]

+ [ 4 8 12 16 20 23 = 4 8 12 16 20 23 ]

+ echo AWKing Awesome... AWK test passed!

AWKing Awesome... AWK test passed!

+ echo

+ sleep 1

+ pgrep ini

+ test4=1

+ [ 1 ]

+ echo Groovy... pgrep test passed too!

Groovy... pgrep test passed too!

+ echo

+ sleep 1

+ sed s/.*=//

+ sed s/(.*//

+ id

+ echo uid=0(root) gid=0(root)

+ [ 0 -eq 0 ]

+ echo Nice! You're Running as Root/SuperUser!

Nice! You're Running as Root/SuperUser!

+ echo

+ which su

+ /sbin/su -v

/sbin/su: invalid option -- 'v'

BusyBox v1.19.4-wraithdu (2012-02-16 23:47:29 CST) multi-call binary.

Usage: su [OPTIONS] [-] [USER]

Run shell under USER (by default, root)

-,-lClear environment, run shell as login shell

-p,-mDo not set new $HOME, $SHELL, $USER, $LOGNAME

-c CMDCommand to pass to 'sh -c'

-s SHShell to use instead of user's default

+ su=

Ideas???:confused:
[Android Software/Hacking General [Developers Only]] metalspring:
well i finally got to test your newest versions of all your scripts and they seem to work just fine, (didnt test kak since it still breaks smartreflex but i'd assume it would too if the others all work)

Only issue was v6 was throwing some odd errors (nothing really big though) and it didnt register the patched services.jar (though i know it copied it and set permissions correctly)
[Android Software/Hacking General [Developers Only]] bsoplinger:
Ok, looks like the su that's on your phone isn't too good or more likely the install is a bit off. Again in the OP there is a starter kit (Supercharger Starter Script). Sorry I don't know it's exact name. You want to run that and select the update superuser option.

We'll get you up and running. It may just take a bit of work. The good news is that once you can run this script correctly your phone will have good, working versions of the basic tools that many of the apps that use root need. This is why Titanium Backup has its own versions of these tools built right into their app to avoid just this sort of thing, bad tools or bad installs.

Sent from my PG86100 using Xparent Purple Tapatalk 2
[Android Software/Hacking General [Developers Only]] Ajsh:
Is there a way to remove

one

bulletproof app? or do I have to start over everytime?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well it ain't patched... the strings to be edited were not edited... probably because the string is a little different :p

Best ask in IRC about how to fix it but I'll look into it when I get the chance.

Oh... nice find... I always have USB debugging on :p

Ok I'll fix it today (I think).

It's a side effect of the su binary check (not using pm list packages and instead uses am start)

Dunno anything about that.

Using the latest U9RC10 test?

Used Starter Kit RC6?

Weird.. it's using a different su the second time... one in /sbin that doesn't have the -v switch available.

Good news is that I'm gonna take out the su binary check since the segfaults got fixed with the latest Superuser update (plus su binary)

Cool... KAK shouldn't break smartreflex anymore (did you read the changelog?).

It would be good if you tested it tho :D

I'd also like to see those odd errors.

Yes... it's not a secret.

Just use latest script
[Android Software/Hacking General [Developers Only]] metalspring:
you mean this for KAK?

if [ -d "/sys/kernel/debug/smartreflex" ]; then sed -i '/kernel\/debug/s/^	/	# /' /data/98KickAssKernel.sh; fi

I have no idea what that does but it's definitely the right directories where smart reflex is reported

i'll post the v6 log when i get a chance later...im about ready to fall asleep lol
[Android Software/Hacking General [Developers Only]] sdojoin:
Yupp. Starter kit rc6.:confused: Hope it'll get fix. Coz i need to enable usb debugging each time i run the script.:p Thanx for the respons tho.:) Will wait for the update.:D
[Android Software/Hacking General [Developers Only]] hoodlikegaza:
yeah. Started over, and now I'm getting the /data/run_supercharger.log

There's a couple entries when the phone boots that says "No need to apply settings from /data/99supercharger.sh !"

"No need to apply settings from /system/etc/init.d/99supercharger !"

I tried setting /system/etc/init.d/99supercharger.sh to run at boot with root again, and it does absolutely nothing. It doesn't even do anything if I run it manually.... The minfrees don't apply. It only applies when I run the actual v6 script, until I reboot, and they revert back to default.
[Android Software/Hacking General [Developers Only]] Ajsh:
Thanks! My bad for not checking the updates:)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Of course it's right! Do you doubt me?!?

LOL :D

Anyway that sed command disables the following lines:

busybox mount -t debugfs none /sys/kernel/debug 2>/dev/null;
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features 2>/dev/null;
busybox umount /sys/kernel/debug;

It does this by simply putting a # in front each command.

Speaking of sed... how do you like the thread title... that's what she sed.... nyuk nyuk...

Ok try the one I just posted... RC10 Test 3...

They do apply.

You get "No need to apply blah blah..." because they ALREADY match...

In fact... everything works... the supercharger service AND init.d...

But if they don't match after awhile, then repeat what you did before by extending those 2 sleep 90 commands.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok... download page updated...

Clickity...

And click thanks while you're at it :D
[Android Software/Hacking General [Developers Only]] sdojoin:
Yeah man!!!!:D It runs perfect!!!:p Thanx for the fast update. U da man brah!!!:):thumbup:
[Android Software/Hacking General [Developers Only]] hoodlikegaza:
If you say so, but when I run the script, it's clearly saying the minfrees don't match. It says it every time without fail, unless I manually rerun the entire v6 script and choose a supercharge option...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Think about it... how can that log file get created if 99SuperCharger doesn't run?

That's why it's called Ran_99SuperCharger.log

It only gets created if 99SuperCharger ran...

Doyagetit?

Edit: Oh and

why do ignore

where it says... "Applied settings from... blah blah..."
[Android Software/Hacking General [Developers Only]] hoodlikegaza:
I'll take your word for it, but I'm clearly getting an error saying that the minfrees don't match...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Which is why I said to extend the sleep time.

The kernel changes it AFTER 99supercharger's final run... so the point is to make the final run later... try sleep 300 as a test...

That 5 minutes should be enough of a delay

If that works, try lowering it to a number that isn't too long... and I can make the change from sleep 90 to whatever works :p
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Thanks for the quick V6 fix/update. FixAlignment T2 ran great also and I like the new counter.
[Android Software/Hacking General [Developers Only]] sdojoin:
Zep can u make a "Game booster" script?? Like the Pc game booster software??:p That givs all the ram we need to run app or more precise Games. U already hav that on v8 milestone right?? Can u make it on v6 as well?? Or mybe a separate script like KAK, 3GT n DHBC. Can u, plsz...:D
[Android Software/Hacking General [Developers Only]] pimpmaneaton:
Hey guys kinda new to supercharger, but have it set up and running on my EyeCandy rom, but want to create a new rom with v6 baked in. During the install process it had a statement that said the /data/init.rc can be baked into rom. Where would I put this file? I already have the 99SuperCharger in /system/etc/init.d

So do I need the init.rc file for /data as well? If so, where does it go to be baked in. Thanks in advance for a reply on this.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well ain't that a kick in the head... it says settings were already applied when the numbers don't match...

Seems some shells work a little different when using a command with multiple conditions :p

I'll have an update soon which fixes that nonsense... may as well revisit other multiple conditions just in case...

Well, how do the super unledded settings work for your ram grouping?

Or use the custOOMizer with your high numbers and make a widget for the resulting Power Shifting script...

It goes in your boot.img.

However, it would have little effect if it's an ICS/JB rom.

But if it is non-ics/jb... init.rc is all you really need but they are easily over ridden by init.d boot scripts - good thing or else I'd be outta business LOL
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok... uploaded U9 RC10 Test4...

Mainly the bugfix in 99SuperCharger and a couple of other minor things
[Android Software/Hacking General [Developers Only]] sdojoin:
Still starving on ram n smetimes it just reboot n go on a bootloop. Its like my phone having a strike for starving on ram.:banghead: Lol:D I own an R800i X-play. Obviously a'int lotta ram in it. Setting cpu freq high dont mean nothing if it dont get enough ram. Plus i dont really know how custOOMizer my own numbers.

A guide mybe...:p That'd be much appreciate.:)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
how much ram available and how low does it get with which settings?