yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] metalspring:
Busybox which cat returns /system/bin/cat

Btw that sounds kinda funny like "which cat? This cat or that cat?"

Yeah, you might also want to wait until a proper build for other phones come out, I'm thinking the whole /storage/sdcard0 is designed for phones that can use internal memory like an sdcard and external memory as an sdcard... for example sdcard0 would be internal and sdcard1 would be external, maybe even an sdcard2 for devices that can have 2 external storage points...but that's just my guessing...

Full sources should be out in a week or 2 though so we'll see
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well if you have cat.. it should work...

If you just type "cat" in terminal, does it error?

Ok another try on the sdcard thing...

busybox df -h 2>/dev/null | busybox awk '{print $5}' | busybox grep -E "sdcard|emmc" | busybox grep -v secure

That should find it but the downside is that I have to put in all possibilities in the grep -E part

oh...

hey this is SERIOUS man! hehehe
[Android Software/Hacking General [Developers Only]] metalspring:
Yeah, cat works by itself, which, and awk don't though

And the other command returns the sdcard directory fine /storage/sdcard0
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok cool got the sdcard thing maybe... could be iffy if there is more than one hit tho :p

I wonder if bb installer would work if I just use cp instead of cat...

I'll put up a test script...

What do you get if you just put "cp" in terminal?
[Android Software/Hacking General [Developers Only]] metalspring:
Just cp doesn't work but busybox cp does
[Android Software/Hacking General [Developers Only]] ChaosMinionX:
Yes it says optimizing apps from the dalvik clear... but I relaunch the script and get 0% supercharged.. and it still says ADJ not in services.jar
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yeah... that won't work

Oh maybe it's because mkdir doesn't work... it won't "cat" busybox to /data/local/busybox.v1.19.4/xbin if that folder doesn't get made...

Does mkdir work in terminal?

If not, do busybox which mkdir

You can also create that folder and see if busybox gets installed.

hmm... post the services.jar that gets downloaded from mimic
[Android Software/Hacking General [Developers Only]] metalspring:
Odd, mkdir works and those files are in /data/local
[Android Software/Hacking General [Developers Only]] zeppelinrox:
heh.. that's actually great news...

Is your phone rooted? ROFLMAO

Couldn't resist... heh...

Well there MUST be a reason for the permission denied all over the place... strange that one...

Maybe system isn't getting mounted as r/w for some reason... that's the only thing I can think of

Edit: put this on the second line of the bb installer script and run it.. it should spit out all the background details.

set -x
[Android Software/Hacking General [Developers Only]] metalspring:
Yeah, definitely rooted lol

And it's odd but root explorer mounted system rw and I copied a new boot animation just fine... oh well maybe once an aosp or cm build gets out it'll be fixed...I mainly wanted to try zipalign and the db defrag but oh well it's super fast as is
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok... That's cool... The main thing is that JB will be supercharged :D

I did make an edit to my prior post...

Put this on the second line of the bb installer script and run it.. it should spit out all the background details.

set -x

That may help :)
[Android Software/Hacking General [Developers Only]] metalspring:
Does it try to run busybox from /data/local? It seems to spit out errors right after it gets copied to /data/local
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ehhh... hard to read... LOL...

Howabout adding something else... so it reads:

set -x

exec > /data/bbinstallerror.log 2>&1

Then post the log file... Basically, I'd need to see the very first error.
[Android Software/Hacking General [Developers Only]] metalspring:
http://db.tt/UJw61r1y
[Android Software/Hacking General [Developers Only]] ShoeVan:
Looping

Hello

So I've been facing this problem ever since I decided to apply this script.

I'm using a Sony Xperia S, with the stock ICS rom (which is odexed). I've done the odex fix thing for ICS using the automated script.

The first screenshot is using RC9 of this script, bear in mind that I never actually keyed in '29' as the script did it itself. I've gone through the drivers option before but it keeps looping at that bit and as you'll see in the second screenshot, I didnt put in 29 but it went back to drivers options.

The third screenshot is using RC8.2. Whenever I put in ANY menu value (for this one its 21) itd just loop back to the menu without doing anything? Even when I try to exit itd loop back to the menu.

I'm sorry if a similar question has already been asked, I've done a little searching around but I'm not sure what other people would classify this problem as (i looked up looping but it mostly referred to boot loops).

Thanks
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Hmm... wow I'm not figuring this one out at all :(

But I did find out something else I think... in terminal... does this tell you something?

echo $EXTERNAL_STORAGE

The last one only happens if the script was modified.

I'll look into the first situation but I don't see how that can happen... I always show the option number before going to that option.. in the second shot, there is no option number showing but still going to driver options... maybe you should attach the output.
[Android Software/Hacking General [Developers Only]] metalspring:
It gives the same /storage/sdcard0 directory
[Android Software/Hacking General [Developers Only]] zeppelinrox:
NICE... there ya go... sdcard storage is the value of the $EXTERNAL_STORAGE variable :D

That's alot easier than that other long ass command :)
[Android Software/Hacking General [Developers Only]] ShoeVan:
Here you go
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So what happens when you use a busybox that doesn't give errors? :|
[Android Software/Hacking General [Developers Only]] ShoeVan:
Well I used your supercharger starter pack RC4, installed all of that. Whenever I go to use the script it always detects busybox v1.19.0 when to my knowledge your starter pack installs v.1.19.4

So now I downloaded the busybox installer, downloaded v.1.20.1. Even then the script detects v1.19.0.

So maybe thats the problem?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Could be... try the boot reinstaller version in the OP
[Android Software/Hacking General [Developers Only]] Looki75:
I like this script! It gives good results on my CM9 ROM!!!

Some questions:

* When you upgrade ROM, is there an easy way to re-apply everything quickly and easy?

* In the Nitro Nullifier menu, it says "could give Wifi, 3G or BT issues". What kind of issues?

* Could the Wifi "Turbo" (I don't remember the exact name) result in higher battery consumption in standby + wifi ON? (Airplane Mode)

Thanks!
[Android Software/Hacking General [Developers Only]] ShoeVan:
Thank you thank you thank you!!!!!!!!!!!!

It worked a charm, I had to redo editing the services.jar but after that I achieved 100% supercharged! Spent my whole morning and half my afternoon trying to get this sorted!! THANKS AGAIN!!

And btw, my Xperia S feels better now, a million thanks for the script as well!
[Android Software/Hacking General [Developers Only]] Keirnoth:
Alright, I have a T-Mobile G2 / HTC Desire Z. I got the whole thing installed, but I don't know which setting I want.

I do multitask a lot, but I also want the phone to run faster (especially when I'm launching apps and switching between apps). Which are the recommended settings to use? What about the OOM Grouping Fixes? What benefit do I get from applying them?
[Android Software/Hacking General [Developers Only]] variance:
I'd like to confirm to probably no one's surprise that the ICS method of modding the services.jar for V6 supercharger does not appear to be working well in 4.1 Jellybean on a Galaxy Nexus LTE toroplus

Automatic fails. the install manual from the script iteslf fails.

I'm in the process of manually chmodding/replacement through terminal

to see if that makes any difference. but seems futile.
[Android Software/Hacking General [Developers Only]] Experiences:
i used 6th thing and then 1st thing in the script. it still says your launcher is weak, it is prior supercharger etc. although i rebooted. :confused:
[Android Software/Hacking General [Developers Only]] vlc_marcos:
can someone tell me if i need to take off somescript from my u8800 ics? I dont know if i have some because i have install the rom and i am with it without any changes.

I want to install this charger because a lot of people are saying that it helps to save battery and give smodness on the scrolling.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Re-SuperCharger

Some people report that stuff stops working

Wifi Afterburner wouldn't increase battery consumption.

I'd like to confirm that this kind of report is totally and 100% useless which verges on trolling.

No error specified? No reading of the past couple of pages?

STFU and GTFO.

And don't come back.

And you're on ignore, just to be safe.

And don't piss me off before I have coffee.

Problem is mkdir

do in terminal:

mkdir --help
[Android Software/Hacking General [Developers Only]] rerp:
When it says 1000HP values recommended, is it referring to option 9?

And if so, which is better? The 1000HP values or the custoomizer calculated values at option 10? I went for 10 and the script said it was cool too. :P But I want to be sure.

Also, can anyone please confirm if the script doesn't stick on a CM9 rom, particularly ParanoidAndroid? Applied a patch from here before the whole process: http://xdaforums.com/showpost.php?p=27948689&postcount=5268

Finally, if it really can't stick, does anyone have any remedies for SManager as well as the supercharger script still being open after boot? I'm a little annoyed with the script done but still running as well as the app. Or do I really have to close them myself everytime? I was considering an alternative app to use the script on boot but I can't find any.
[Android Software/Hacking General [Developers Only]] RealPariah:
Ok, problem is not that it doesn't detect the mount point, problem is since I don't use an sdcard there is nothing to list there, save to, or restore from.

Mount points changed in ICS /sdcard is only external card and /emmc is internal storage.

If I went and bought a card and plugged it in it would work. Since I don't have a micro sd to plug in there is no storage to be used in /sdcard.

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] astrovasilis:
Hello i tried to follow the instructions...

I have a rooted X10i and first i installed Script Manager

Then i installed SuperCharger Starter Kit and auto start script.

Then i tried to run V6 SuperCharger through script manager and it says that i have busybox 1.18 4 and it needs 1.19 or 1.182 etc.

Also i have two printsc. from supercharger kit and V6 supercharger..

What can i Do?

Prior its said " Problem is mkdir

do in terminal:

mkdir --help "

Whats that?
[Android Software/Hacking General [Developers Only]] LiberOz:
hey everyone

am i doing correct?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Use which minfrees work best for you when you factor in multitasking.

If you don't notice a difference in snappiness, just go with the lower values.

As for the patches, what happens if you just use Auto Transmission or the mimic site patching site directly?

Read the last couple of pages... you notice a neat system variable... do in terminal:

su

echo $EXTERNAL_STORAGE

While you're at it, also do:

grep export /init.rc

I'll do up a fix for the mkdir error... seems some builds don't like the -p switch... so much for shortcuts... meh... :(

As for the busybox, try the boot reinstaller version but I'll update stuff today with the mkdir fix.

100% is as high as it gets.
[Android Software/Hacking General [Developers Only]] rerp:
Using auto transmission...

Well it says services.jar already been patched, then still doesn't stick. :O
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So the minfree/grouping don't stick.

Do you have a /data/Ran_SuperCharger.log file?
[Android Software/Hacking General [Developers Only]] Daniel D.:
@zeppelinrox

Here is a screenshot of my error. I forgot to show you the picture. If you've already fixed/changed it, don't care about this post.
[Android Software/Hacking General [Developers Only]] zzandrewst:
Terminal said "Permission denied" when typing in this command.
[Android Software/Hacking General [Developers Only]] Pons:
Try su first.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well I've always chowned it as 0.0... not 0.2000 so I dunno why it would fubarr unless something else changed it.

Oh... try...

su

mkdir --help

if that don't work, try which mkdir

If you don't have any mkdir by default, before installing busybox, I guess I'm gonna have to just use an existing directory
[Android Software/Hacking General [Developers Only]] kj13569:
So did project butter kill this thread zep? or have you found a way to supercharge jelly bean's butter? not trying to be an ass, serious question i use your scripts all the time just want to know what you're planning next sir (if you wanna share).
[Android Software/Hacking General [Developers Only]] Daniel D.:
I think it depends on the phones which are able to install 4.1. I don't know how many will get a converted version of Jelly Bean.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
The hard part's the same as ICS... services.jar patch/smali edit is exactly the same.

The webapp still works fine.

The only difference is in the script syntax itself and different paths for sdcard - so it's nothing major
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Updated busybox installer scripts in the OP... should fix that mkdir error

Also updated Starter Kit on download page and die-hard battery calibrator (just improved the root check on that... no biggie)

Was about to update V6, 3G and KAK as well but found a small bug in KAK not sure if it's in all 3 so should have them up later
[Android Software/Hacking General [Developers Only]] zzandrewst:
Thanks! Seems to have done the job!
[Android Software/Hacking General [Developers Only]] RealPariah:
Right, I don't dispute there is a variable, just figured to let you know ROMs that don't adjust it won't have your script working as intended (if they don't have an external sdcard plugged in) and figured you may want to accommodate it is all I was getting at. I just adjusted the fstab myself.

Sorry if it came across differently back there just figured getting the original grep that gives you /mnt/sdcard and /mnt/emmc (well from my results posted back there those were results) would be am easy way to just list mount point and allowing user selection in driver options menu, also sounds as if it may help with Jellybean (4.1) ROMs as well.

Sent from my SAMSUNG-SGH-T989 using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] zeppelinrox:
No its easier to get it from init.rc directly.

If there is no $EXTERNAL_STORAGE then I can use the secondary whatever...

This way, it works if they change the default folder to "/kissmyass" and it would still work.

If you can't bother to run those 2 commands, then so be it as somebody else can do it.
[Android Software/Hacking General [Developers Only]] rerp:
Yes I do. I check everytime I reboot to find out if it stuck. Works normally when I put the script on boot and says it applied the minfrees. Works normally and tells me that there's no need to apply the minfrees when I check the status after that. Works normally and doesn't have an entry when I disabled the boot script on S Manager.

Works normally still when I run the script to match the minfrees again and it said it applied the minfrees. I'm assuming that if it did stick, this part would've given an entry saying 'no need to apply.'

Am I stuck with having to use boot scripts? :( I'm willing to re-flash anytime. :P
[Android Software/Hacking General [Developers Only]] Obartuckc:
Why does the RC9 script report android.acore as my home launcher, when it use to recognize GO Launcher in CM7 ROMs?

~Sent from my Unlocked, Rooted, Faux 1.45gHz Motorola Atrix 4G~
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Has to be the rom... are you sure that other init.d scripts run?

Does your KAK stick? :p

U RUN SCRIPT Y U NO READ SCRIPT OUTPUT?
[Android Software/Hacking General [Developers Only]] rerp:
How can I tell for sure? The only items in my init.d folder besides the supercharger stuff are a couple of scripts which were there to begin with and I can't really tell if they run. (or more of I don't know how to tell) These were named 00 to 09.

As with the KAK, I ran it again and this is the only weird thing I found:

ls: can't open '/system/etc/init.d': Value too large for defined data type

.../system/etc/init.d/98KickAssKernel!

I think that's quite important. XD

After checking (s)tick, all options = KAK. Unfortunately, it doesn't stick when rebooting as well. :|
[Android Software/Hacking General [Developers Only]] Obartuckc:
U RUN SCRIPT Y U NO READ SCRIPT OUTPUT?

It didn't use to read that my launcher was .acore, but when I flashed a CM9 ROM, it started saying this. However, upon going back to a CM7 build, it only reads the launcher as .acore still. Sorry if this seems stupid, just couldn't figure it out, even after reviewing the output.

~Sent from my Unlocked, Rooted, Faux 1.45gHz Motorola Atrix 4G~
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yeah that's one buggy rom :p

It says quite clearly that the launcher is probably hidden within android.process.acore... it's quite straightforward and not confusing at all.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Updated Download Page and OP... If you were one of the first to download busybox from the OP or the SuperCharger Starter Kit RC5, redownload please (touched up busybox install script in both)
[Android Software/Hacking General [Developers Only]] rerp:
So I'm stuck with SManager boot scripts then. Do you have any way to easily kill the boot script after boot? As I said before, using the boot script leaves it and the app running. Or I have to go stop it manually every reboot? :silly:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You can either flash a different rom or make widgets for the boot scripts - just tap them after a reboot.
[Android Software/Hacking General [Developers Only]] rerp:
Okay, I'm going with boot scripts. Question: does the boot script ever stop?

I just watch it there and it doesn't ever `kill` itself. If it doesn't, when is it safe to kill?
[Android Software/Hacking General [Developers Only]] dswaggz:
Hey zepp I ran sk4 but still stucc w/ the same bb any ideas I'm 100% though an u9rc9 will not sc my phone for nothing using u9rc8 only one that seems to work

via da v6'd sge4g beast courtesy of camcory
[Android Software/Hacking General [Developers Only]] Stupifier:
Just wanted to report that the latest version of Superuser (just NOW released) fixed my issues with the latest V6. If you were having SU binary issues, try the latest Superuser version. I knew there would be a solution soon instead of just working around the issue and using SuperSU instead.
[Android Software/Hacking General [Developers Only]] xquartzite:
Question

I can install busybox in SuperchargerstarterKit rc 1,2,3 but I can't install in SuperchargerstarterKit rc 4,5. How How to fix.

exec sh '/storage/sdcard0/SpeedSoftware/Extracted/SuperCharger_Starter_Kit_RC5/SuperCharger_Starter_Kit/busybox_v1.19.4_wraithdu_installer_v7.sh'

_Kit/busybox_v1.19.4_wraithdu_installer_v7.sh' <

-=zeppelinrox=- presents...

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

# BusyBox v1.19.4 (wraithdu) Installer #

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

This installs BusyBox v1.19.4(wraithdu)...

...to it's default location or /system/xbin.

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

/storage/sdcard0/SpeedSoftware/Extracted/SuperCharger_Starter_Kit_RC5/SuperCharger_Starter_Kit/busybox_v1.19.4_wraithdu_installer_v7.sh[74]: /data/local/busybox.v1.19.4/xbin/busybox: can't execute: Permission denied

/storage/sdcard0/SpeedSoftware/Extracted/SuperCharger_Starter_Kit_RC5/SuperCharger_Starter_Kit/busybox_v1.19.4_wraithdu_installer_v7.sh[74]: /data/local/busybox.v1.19.4/xbin/busybox: can't execute: Permission denied

/storage/sdcard0/SpeedSoftware/Extracted/SuperCharger_Starter_Kit_RC5/SuperCharger_Starter_Kit/busybox_v1.19.4_wraithdu_installer_v7.sh[74]: /data/local/busybox.v1.19.4/xbin/busybox: can't execute: Permission denied

/storage/sdcard0/SpeedSoftware/Extracted/SuperCharger_Starter_Kit_RC5/SuperCharger_Starter_Kit/busybox_v1.19.4_wraithdu_installer_v7.sh[74]: /data/local/busybox.v1.19.4/xbin/busybox: can't execute: Permission denied

/storage/sdcard0/SpeedSoftware/Extracted/SuperCharger_Starter_Kit_RC5/SuperCharger_Starter_Kit/busybox_v1.19.4_wraithdu_installer_v7.sh[74]: /data/local/busybox.v1.19.4/xbin/busybox: can't execute: Permission denied

/storage/sdcard0/SpeedSoftware/Extracted/SuperCharger_Starter_Kit_RC5/SuperCharger_Starter_Kit/busybox_v1.19.4_wraithdu_installer_v7.sh[74]: /data/local/busybox.v1.19.4/xbin/busybox: can't execute: Permission denied

System Partition has

Ideally, and to be safe, free up 2.5 MB

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

# Make Space & Try Again! #

#############################
[Android Software/Hacking General [Developers Only]] metalspring:
hey zeppelin, could this have been the issue before with copying the busybox over to /system/xbin ?

Changelog: 06/30/2012

Added:

sysro sysrw

bash

nano

those werent in the version I tried before
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Nearly all stop automatically when it reaches the end.

Only time it doesn't is if it is in an endless loop (like 97 bulletproof apps is)

Older app would only update to su binary version 3.0.3.2 and it gave segfaults.

But after updating the app in market, it would TRY to update to su binary 3.1 but it would fail on the last step... checking if it works.

I tried many times but still no luck.

What... RC1 2 and 3 work?

They shouldn't since they use the same chown and chmod command on the temporary busybox copy... which is why it isn't working (I think...)

Try in terminal:

su

chown

chmod

Post the output

I think you had the above permission issue... are you still on jelly bean?

If so, can you run those commands above?
[Android Software/Hacking General [Developers Only]] metalspring:
they seem to work just fine

chown <user>[:group] <file1> [file2] ...

chmod [option] <mode> <file>

-R, --recursive change files and directories recursively

--help display this help and exit
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Hmmm... do you still have those files in data/local?

If so do:

ls -l /data/local/busybox.v1.19.4/xbin/busybox

I'd like to see if permissions got applied
[Android Software/Hacking General [Developers Only]] xquartzite:
u0_a96@android:/ $ export PATH=/data/local/bin:$PATH

u0_a96@android:/ $ su

u0_a96@android:/ # chown

Usage: chown <USER>[:GROUP] <FILE1> [FILE2] ...

10|u0_a96@android:/ # chmod

Usage: chmod [OPTION] <MODE> <FILE>

-R, --recursive change files and directories recursively

--help display this help and exit

busybox.v1.19.4/xbin/busybox <

-rw------- root root 2009476 2012-06-30 21:16 busybox

u0_a96@android:/ #