[Android Software/Hacking General [Developers Only]] zeppelinrox:
wraithdu's wizardry WOWS again!!

wraithdu's Wizardry WOWs Again!!

Okay here is a really fresh compile of the su binary!! ( superuser)

NO MORE SEGMENTATION FAULTS ON ICS!!

Update 2:

Attached new binary by wraithdu for ALL devices! (have a backup anyway! :p)

Update:

I made up an

installation script

with an even fresher su binary v3.1 (yes, the superuser.apk won't even go that high yet lol)

wraithdu grabbed the source from here https://github.com/ChainsDD/su-binary/tree/gc-ics

Obviously I tested it and it works great on ICS.

Installation Warning!

If you mess up you will probably lose root! Have a nandroid backup! (But if you can follow instructions, you can restore your su binary with permissions still intact via ADB if I'm not mistaken)

Edit

:

So you can

test to see if it would work BEFORE doing the procedure below.

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

Installation:

Manual Instructions

:

1. Backup! Copy current su binary to /system - It's in either /system/xbin or /system/bin. And if you copy the current su to sd card, permissions are LOST on that binary so

DO NOT COPY SU TO THE SD CARD

!

2. Download the attached zip file

3. Extract it.

4. Copy the su binary to /data

5. In terminal, do (press enter after each line):

su
chown 0.0 /data/su
chmod [B]06755 [/B]/data/su
cp -fr /data/su /system/xbin/su

If su is in /system/bin, copy to /system/bin instead of /system/xbin on the last line.

OR

Use The Installation Script

by me... :D

1. Download the attached zip file

2. Extract it to the root of your sdcard

Method 1 - Just run the script inside/sdcard/su_ics_v3.1 with Script Manager as root.

Method 2 - Run terminal and type su and enter

............... - Type sh /sdcard/su*/su*.sh and enter

3. That's It!

The script will search for and back up any su binary before installing the new one automagically ;)

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

Test if it works

: After installing wraithdu's su binary, open terminal and type su, enter, pm list packages, enter.

If you get no segmentation fault...

echo " SOUP'S ON BABY!"

echo " CLICK THANKS!"

echo "lulz"

exit 0

Edit May 22/12:

Updated to v2.1

- if superuser.apk is not found, it won't install since this would mess up SuperSU users

..................................................... - tweaked the root checker

Edit June 25/12:

Updated to v5

- It's been updated alot for SuperCharger Starter Kit so here it is on its own.

.................................................. - tweaked the root checker some more

.................................................. - Won't install if using SuperSU's su binary

.................................................. - Don't need to have busybox installed

Edit July 04/12:

Updated to v6

- Tweaked root checker again :p

Edit July 27/12:

Updated to v8

- Tweaked install... should work better for problematic roms.

Edit August 1/12:

Updated to v9

.................. - Tweaked code - more stock rom friendly

.................. - Will only install on ICS or Jelly Bean

Edit August 4/12:

Updated to v10

.................. - Will no longer install on JB... ONLY INSTALLS ON ICS! (Jelly Bean doesn't have the segfault issue anyway)

And hey... don't forget to hit THANKS :D