There a test 2 floating around that fixes it.
Click the paperclip on the thread title
Thanks for the quick reply!
Keep up the Awesomeness
Last edited:
There a test 2 floating around that fixes it.
Click the paperclip on the thread title
sed() {
busybox sed "$@"
}
grep() {
busybox grep "$@"
}
sleep() {
busybox sleep "$@"
}
.
.
.
hw_random tested the same as urandom... anyhoo this is what I've got...
Code:if [ -e /dev/frandom ]; then chmod 664 /dev/frandom for dom in /dev/random /dev/urandom /dev/hw_random; do if [ -e "$dom" ]; then mv $dom $dom.unsuper ln /dev/frandom $dom if [ "$dom" = "/dev/hw_random" ]; then chmod 660 $dom else chmod 644 $dom fi fi done fi
mv $dom $dom.unsuper && ln /dev/frandom $dom
zep, would it not be a good idea to replace all busybox applets by "busybox applet" (currently it's "applet")?
Quick example:
If I install busybox and for some reason, it doesn't create symlinks automatically, Supercharger will warn that busybox doesn't have the necessary applets, when in fact they're here but not symlinked.
A very simple way to do that would be to define the functions at the beginning:
Code:sed() { busybox sed "$@" } grep() { busybox grep "$@" } sleep() { busybox sleep "$@" } . . .
Looks fine...
I only use && to ln if mv succeeded
Code:mv $dom $dom.unsuper && ln /dev/frandom $dom
it's easier to set BB=busybox
and use $BB command in script
this way you can use BB whatever you want...
hi guys i have i9000 and i use [4.2.2] Cyber-SGS IV Style how can i apply supercharger?? if anyone can help! thanks
I tried that in V6 for the echo command since the busybox version works properly but the default one has a bug when echoing \\\\ so you see \\ (2 slashies to see 1 but default echo will only show 1 slashie)zep, would it not be a good idea to replace all busybox applets by "busybox applet" (currently it's "applet")?
Quick example:
If I install busybox and for some reason, it doesn't create symlinks automatically, Supercharger will warn that busybox doesn't have the necessary applets, when in fact they're here but not symlinked.
A very simple way to do that would be to define the functions at the beginning:
Code:sed() { busybox sed "$@" } grep() { busybox grep "$@" } sleep() { busybox sleep "$@" } . . .
Sometimes, I like to know if something doesn't work in the form of an error spitting outLooks fine...
I only use && to ln if mv succeeded
Code:mv $dom $dom.unsuper && ln /dev/frandom $dom
Ah... howabout... after the above alias echo="busybox echo"it's easier to set BB=busybox
and use $BB command in script
this way you can use BB whatever you want...
root@android:/ # echo --help
[COLOR=Red]echo --help[/COLOR]
--help
root@android:/ # alias echo="busybox echo"
[COLOR=Navy]alias echo="busybox echo"[/COLOR]
root@android:/ # echo --help
[COLOR=Red]echo --help
BusyBox v1.21.0:-=zeppe-linaro=-[/COLOR]: (2012-12-16 19:52:51 EST) multi-call binary.
Usage: echo [-neE] [ARG]...
Print the specified ARGs to stdout
-n Suppress trailing newline
-e Interpret backslash escapes (i.e., \t=tab)
-E Don't interpret backslash escapes (default)
1|root@android:/ # alias busybox="/data/busybox"
[COLOR=Navy]alias busybox="/data/busybox"[/COLOR]
root@android:/ # echo --help
[COLOR=Red]echo --help
BusyBox v1.20.2-jb bionic[/COLOR] (2012-10-25 21:29 +0100) multi-call binary.
Usage: echo [-neE] [ARG]...
Print the specified ARGs to stdout
-n Suppress trailing newline
-e Interpret backslash escapes (i.e., \t=tab)
-E Don't interpret backslash escapes (default)
1|root@android:/ # echo \\\\
echo \\\\
[COLOR=Red]\\[/COLOR]
root@android:/ # unalias echo
[COLOR=Navy]unalias echo[/COLOR]
root@android:/ # echo \\\\
echo \\\\
[COLOR=Red]\[/COLOR]
Should be called uncommon sense these days. heh.The OP and script already help you, possibly too much. Read the output, use common sense.
Well it'd be something else if you unturbocharged.Hi, I have issues with wi-fi, and statusbar toggles after turbocharging jb with 3gtg Test 2. I installed tiwlan tweaks and created new tiwlan.ini file. Now wi-fi doesn't work and toggles too. Tried wi-fixer and unturbocharging without result.
Any idea ever much appreciated! Thanks!
Sent from my Desire HD using xda app-developers app
I tried that in V6 for the echo command since the busybox version works properly but the default one has a bug when echoing \\\\ so you see \\ (2 slashies to see 1 but default echo will only show 1 slashie)
But the function just wouldn't work right especially when using switches like echo -n "blah blah"
So... this works awesome...
alias echo="busybox echo"
However, I tend to use the default commands as much as possible which also avoids busybox issues lol (ln, chmod and mv are always present)
Sometimes, I like to know if something doesn't work in the form of an error spitting out
Ah... howabout... after the above alias echo="busybox echo"
You can even set a different busybox instead of the default one:
alias busybox="/data/busybox"
Example...toolbox's echo has no helpCode:root@android:/ # echo --help [COLOR=Red]echo --help[/COLOR] --help
Now alias it to the system's busybox and get help...bb 1.21 zeppelinaro is now used for the "echo" commandCode:root@android:/ # alias echo="busybox echo" [COLOR=Navy]alias echo="busybox echo"[/COLOR] root@android:/ # echo --help [COLOR=Red]echo --help BusyBox v1.21.0:-=zeppe-linaro=-[/COLOR]: (2012-12-16 19:52:51 EST) multi-call binary. Usage: echo [-neE] [ARG]... Print the specified ARGs to stdout -n Suppress trailing newline -e Interpret backslash escapes (i.e., \t=tab) -E Don't interpret backslash escapes (default)
alias to a different busybox build for testing...Now the shell is using 1.20.2 jb bionic... ta daaaaCode:1|root@android:/ # alias busybox="/data/busybox" [COLOR=Navy]alias busybox="/data/busybox"[/COLOR] root@android:/ # echo --help [COLOR=Red]echo --help BusyBox v1.20.2-jb bionic[/COLOR] (2012-10-25 21:29 +0100) multi-call binary. Usage: echo [-neE] [ARG]... Print the specified ARGs to stdout -n Suppress trailing newline -e Interpret backslash escapes (i.e., \t=tab) -E Don't interpret backslash escapes (default)
Just to show my echo problem being fixed...bb 1.20.2 jb bionic works properly... echo "\\\\" shows \\Code:1|root@android:/ # echo \\\\ echo \\\\ [COLOR=Red]\\[/COLOR]
Remove the alias (with the unalias command) and test the ROM's toolbox version...
Default echo only spat out a single s\lash...Code:root@android:/ # unalias echo [COLOR=Navy]unalias echo[/COLOR] root@android:/ # echo \\\\ echo \\\\ [COLOR=Red]\[/COLOR]
Anyway, using alias makes it easy for existing scipts especially if they're big.
Leave everything as is and put aliases at the top.
It also makes it easy for on the fly testing of different busyboxes (or is that busyboxii? lol)
wpa_supplicant.conf should get recreated when trying to make a wifi connection tho.Wi-Fixer says that both wpa_ supplicant.conf and wpa_ supplicant.conf.un3g don't exist.
Search says tiwlan.ini doesn't exist.
Thanks, zepp!
Sent from my Desire HD using xda app-developers app
ah that was a great show with a lousy ending.
He did a fair job with the Star Trek reboot movie.ah that was a great show with a lousy ending.
Which is why I had low hopes for Lost. That sucked so bad I haven't seen anything from JJ Abrams since then
It won't to create wpa_ supplicant.conf, tried to connect to other networks and tried wi-fi tethering (works only open hotspot). The file no long exists.
Sent from my Desire HD using xda app-developers app
I never got into that seriesHe did a fair job with the Star Trek reboot movie.
-MROM on DInc2
is there one in system/etc/wifi?It won't to create wpa_ supplicant.conf, tried to connect to other networks and tried wi-fi tethering (works only open hotspot). The file no long exists.
Sent from my Desire HD using xda app-developers app
Hi zep, would this CPU rendering thingy conflict with your supercharger?
http://xdaforums.com/showthread.php?t=1877183
Sent from my supercharged :tank:
ah that was a great show with a lousy ending.
Which is why I had low hopes for Lost. That sucked so bad I haven't seen anything from JJ Abrams since then
nope.I'm pretty certain zep talked about it a few months ago. Isn't it already added?
Was good until the last season.I liked Lost... probably the only show my wife and I could watch together, unless I want to start watching So You Think You Can Dance!
Main Download Page is HERE (V6 SuperCharger and all the latest RC/Beta/Tests for Kick Ass Kernelizer, 3G TurboCharger, and Die-Hard Battery Calibrator)
Latest V6 SuperChargers are Black Dog-63457-Fix and For Your Lag
Latest KAK and 3G TC are HERE
Post #2 Info! - This is for the application of the following 3 Mods to services.jar!
Mod 1. ICS and Jelly Bean - require the Jelly ISCream Mod done in conjunction with the V6 SuperCharger Script to SuperCharger your launcher!
Mod 2. Froyo and up - can have the New Maximum MultiTasking Mods (Maximum Overdrive and the Time Killer Killer)
Mod 3. Sense 4 and up - remove the Sense 4 limit of only 8 visible apps with the Non-Sense App Limit!
These 3 mods are applied with my:
-=Ultimatic Jar Patcher Tools=- (fully automated exe/bat/sh tools) OR...
-=Ultimate Jar Power Tools=- patcher script (formerly called Jelly ISCream Smali Patcher) to automate Step 5 in Post #2 - the smali edits
Note: The webapp needs updating (aka the "Automatic Transmission" in V6 SuperCharger) and won't work on JB!
System -16 (stock)
Persistent Process -12 (stock)
ForeGround app 0 (stock)
Home Launcher 1 (Die-Hard Launcher) (stock=6)
Perceptible app 2 (stock)
Visible app 3 (stock=1)
Heavyweight app 4 (stock=3)
Previous app 5 (stock=7)
Service 6 (stock=5)
Backup app 7 (stock=4)
Service_b 8 (stock)
Hidden app min 9 (stock)
Hidden app max 15 (stock)
Now copy /sdcard/services.odex to /system/framework and overwrite the original (backed up, yes?) services.odexCreate a new services.odex file from the new services.jar file:
In terminal, type: cd /sdcard, enter, dexopt-wrapper services.jar services.odex $BOOTCLASSPATH, enter.
Here's the "special sauce": copy over the "signature" from the current .odex file into the new .odex file. do NOT continue until this command succeeds!
Hint: the file size of the new services.odex file should not change!
In terminal, type: busybox dd if=/system/framework/services.odex of=/sdcard/services.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
fixed disappearing apps in zipalign/fixalign scripts (and no more problematic/skipped apps)
fixed frandom
fixed crosslink error in 99SC.sh
fixed bug when configuring boot options from within zepalign, fixfc and fixalign scripts
fixed bug in sdcard calculation
added frandom check
added 6i9 ass easter egg
added vm.vfs_cache_pressure=10
removed pm.sleep_mode
moved config options in boot scripts to the end (after script runs)
/init.d/92vac opens bootlog if no sqlite3 binary
/init.d/93zepalign and /init.d/95fixalign opens bootlog if no zipalign binary
ask before bp launcher
v6 does not run if running from int.d (duh)
tweaked FOM output/stats/user info
tweaked logic when resupercharging re. getting previous options/regenerating
tweaked launcher function (updated whenever you return to menu)
tweaked ram function
enhanced user infos and help file...
...example: Notes about init.d scripts making BootLogs
tweaked lots of code to be more efficient...
...example: No more `cat /file/name | awk or grep` (just awk or grep a file directly... duh...)
Hell... tons of code tweaking anyway lol
Fixed Fixalign and Fix Emissions Bugs
Couple of other smaller bugs