Remove All Ads from XDA
Find Your Device:
Or Continue to Thread: [APP] Superuser - Now …
17th May 2010, 01:20 AM |#1  
ChainsDD's Avatar
OP Retired Recognized Developer
Flag Suffolk, UK
Thanks Meter: 352
Donate to Me
#include <std_disclaimer.h>
 * Your warranty is now void.
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
I got tired of the old, quite unreadable, Superuser app that's being used in most every build, so I refreshed it entirely. Some of the new features include:

- Each permission is shown by it's name, rather than it's UID
- Many translations (Spanish, German, Czech, Greek, French, Italian, Dutch, Russian and Danish (Some are full translations, some are only partial))
- Optional notifications
- A dialog that shows details of each permission
- Full logging system
- A much clearer request window.
- Permissions are removed when an app is uninstalled to prevent another app from possibly getting permissions you don't want it to have.
- A bunch of work behind the scenes to smooth things out.
(New for 2.2)
- Changed requests to a broadcast intent to prevent app murder.
- Using new permission scheme for better security
- Fixed several database leaks.
- Version display for app and binary in preferences.
(New for 2.2.1)
- Install fixed. Will clear old permissions, but it's the last time I'll delete your permissions.
- Fixed AndroidManifest to allow install on cupcake.
- Russian translation thanks to stari4ek
(New for 2.2.2)
- Install really fixed this time thanks to a trick little shell script in the
(New for 2.3)
- New layout of main app
- Full logging
- New request layout
- Fixed boot/widget bug
- Date/time format options
- Better notification system
- New icon
- Better allow system
- A whole mess of code cleanup
- Rearranged drawables so that only one apk needs to be built for any firmware
(New for 2.3.1)
- Big bugfixes
- Better support for landscape mode
- better support for ldpi devices
(New for
- Now lives in the market!
- Bugfixes
(New for 2.3.3)
- More bugfixes
- App can now update it's own binary without using
(New for 2.3.4)
- App downloads binaries if necessary
- Entry in Settings to check for updated binaries
(New for 2.3.5)
- Better handling of su binary versions (Thanks ATomCZ)
- Polish translation (Thanks Piter1225)
- Fixed bug that prevented Apps from showing up if they didn't have a log entry
- Added Clear Log button to preferences
- Added a check to ensure that no other apps are trying to respond to Superuser requests
(New for
- Traditional & Simplified Chinese translations
- Updated French & Greek translations
- Added clear log button to menu on log screen
- Bugfixes

And the best news, CM6 Stable users can update pain free from the market!

There are 2 versions, one for cupcake/donut, one for eclair/froyo. Pick the one appropriate for your firmware and flash via recovery mode.
md5: e1abb445d770075f49edc8810aa80758
- Cupcake/Donut
md5: 6d490575092a1c5d91af56b94c2328f4
- Eclair/Froyo

Or download from the market:

If install from the market fails, use adb to issue these commands:
adb remount
adb shell rm /system/app/Superuser.apk
adb shell pm uninstall
or from terminal:
$ su
# (remount for your phone, Nexus One is 'mount -o remount,rw /dev/block/mtdblock3 /system', other phones will use the same pattern, but may vary on the '/dev...' bit)
# rm /system/app/Superuser.apk
# pm uninstall
# (same remount command as above, but with 'remount,ro' instead of 'remount,rw')
After that, you'll be able to install Superuser from the market.

Special thanks go out to MotoCache1 for keeping this thread under control and repackaging the to work on more phones, velazcod for his huge help with this release, Zinx for the su app this is based off of, Cyanogen and koush for their help and support, Fnorder for motivating me to finally fix the allow system properly, bartito, sacarino2k2, thiasB, RedVirus, regunus, leonnib4, Eug89, MrSnowflake, MarkM83 and stari4ek for translations, and whoever it was that wrote fix_permissions for the help writing fixsuperm.

I make no guarantee that this will work on your particular setup, but I will try to help get it working. There's also the community that can help. Post your questions with logs here in the thread and we'll try to get you an answer. If your phone bursts into a ball of flame, I can't help at all.

If you have any issues, please post them to the issue tracker on my github. It'll make them easier to keep track of.

Note: You will have to re-authorize any apps you want to have permission, unless you are already (successfully) running a 2.2 or higher version.

Note: I don't have a phone to test the cupcake/donut version on, should work no problem tho. Please let me know if there are any problems.

Note: Apps may still crash if they try to get permissions on boot that have not been granted yet. Once an app is in the whitelist, it should have no trouble at all getting permissions on boot.

As always, source is located at my github in my sig.
Attached Thumbnails
Click image for larger version

Name:	su23-1.jpg
Views:	59289
Size:	31.3 KB
ID:	377291   Click image for larger version

Name:	su23-2.jpg
Views:	36861
Size:	27.5 KB
ID:	377292   Click image for larger version

Name:	su23-3.jpg
Views:	30379
Size:	42.9 KB
ID:	377293   Click image for larger version

Name:	su23-4.jpg
Views:	25620
Size:	32.7 KB
ID:	377298   Click image for larger version

Name:	su23-5.jpg
Views:	31535
Size:	23.6 KB
ID:	377299  
Last edited by ChainsDD; 31st January 2011 at 08:54 AM. Reason: release
The Following 115 Users Say Thank You to ChainsDD For This Useful Post: [ View ] Gift ChainsDD Ad-Free