Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,150 Members 38,159 Now Online
XDA Developers Android and Mobile Development Forum

[APP] Superuser 2.3.6.1 - Now on the Market [2010-09-05]

Tip us?
 
ChainsDD
Old
(Last edited by ChainsDD; 31st January 2011 at 08:54 AM.) Reason: 2.3.6.1 release
#1  
ChainsDD's Avatar
Retired Recognized Developer - OP
Thanks Meter 349
Posts: 201
Join Date: Feb 2009
Location: Suffolk, UK

 
DONATE TO ME
Default [APP] Superuser 2.3.6.1 - Now on the Market [2010-09-05]

Code:
#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 update.zip
(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 2.3.2.1)
- Now lives in the market!
- Bugfixes
(New for 2.3.3)
- More bugfixes
- App can now update it's own binary without using update.zip
(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 2.3.6.1)
- 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.

su-2.3.6.1-cd-signed.zip
md5: e1abb445d770075f49edc8810aa80758
- Cupcake/Donut

su-2.3.6.1-ef-signed.zip
md5: 6d490575092a1c5d91af56b94c2328f4
- Eclair/Froyo

Or download from the market:

If install from the market fails, use adb to issue these commands:
Code:
adb remount
adb shell rm /system/app/Superuser.apk
adb shell pm uninstall com.noshufou.android.su
or from terminal:
Code:
$ 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 com.noshufou.android.su
# (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 update.zip 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:	55683
Size:	31.3 KB
ID:	377291   Click image for larger version

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

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

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

Name:	su23-5.jpg
Views:	28941
Size:	23.6 KB
ID:	377299  

Nexus One
CM6

Superuser 2.3.6.1

github.com/ChainsDD

Twitter: ChainsDD

Like what I've done? Buy me a Sunkist!!
The Following 113 Users Say Thank You to ChainsDD For This Useful Post: [ Click to Expand ]
 
FHL09
Old
(Last edited by FHL09; 17th May 2010 at 01:46 AM.)
#2  
FHL09's Avatar
Member
Thanks Meter 3
Posts: 62
Join Date: Dec 2009
Location: Hastings

 
DONATE TO ME
Default Dwang 1.17.1 (1.6, Donut) Tested!!

Hey Adam (ChainsDD)

Just flashed this puppy

Quote:
su-2.1-cd-signed.zip
md5: 5f6a1e4157f6a99831c17135bb4e0e49
- Cupcake/Donut
- Roms that are built from source or entirely re-signed
on my HTC Magic (MyTouch 3G) running Dwang 1.17.1 (Donut 1.6) & its working great love how easy it is to see whats using up permissions the old version made it tricky.

The downside although minor is you have to re-allow all apps that require root access...access again but thats really minor.

I had like 10 or so apps in the last version of your app all accessing root permissions & out of them I wanted to "cut" some apps from root access but didn't want to "cut" the wrong one now with this version its easy to see what one to "cut"

Thanks Adam its "absolutely" perfect, I see no issues & I am very very pleased.
Check Out My Website: http://www.FHL09.wordpress.com
Rooted & Running: Stock Galaxy Note 3 4.4.2 KitKat.

Thanks to antique_sonic, testadeferro & Buckycasuals for the recent assist.

Current Phones
  • Samsung Galaxy Note 3: SM-N9005 (22/03/2014)
  • Samsung Galaxy S3 (20/03/2012)
  • Samsung Galaxy S2
  • Sony Ericsson W910i (Dying, Crack Screen but still works...for now)

Dead/Sold Phones
  • Sony Xperia (Sold)
  • HTC Magic 32B (Dead)
 
ChainsDD
Old
#3  
ChainsDD's Avatar
Retired Recognized Developer - OP
Thanks Meter 349
Posts: 201
Join Date: Feb 2009
Location: Suffolk, UK

 
DONATE TO ME
Glad you like it. Sorry to keep you waiting so long...

Thanks for pointing out that you have to re-allow everything. I forgot to mention that. I'll put it up in the OP.
Nexus One
CM6

Superuser 2.3.6.1

github.com/ChainsDD

Twitter: ChainsDD

Like what I've done? Buy me a Sunkist!!
The Following 32 Users Say Thank You to ChainsDD For This Useful Post: [ Click to Expand ]
 
FHL09
Old
#4  
FHL09's Avatar
Member
Thanks Meter 3
Posts: 62
Join Date: Dec 2009
Location: Hastings

 
DONATE TO ME
Quote:
Originally Posted by ChainsDD View Post
Glad you like it. Sorry to keep you waiting so long...

Thanks for pointing out that you have to re-allow everything. I forgot to mention that. I'll put it up in the OP.
Haha, No problem I'm just glad to have it now, Thanks for getting it out so fast after my request.

Again can I say that re-allowing everything ain't a huge deal at least not for me I don't mind in fact I prefer it so I can see why the app wants access

If I come across any nasty bugs (which I doubt judging for the harsh break in I have done already) I will let you know about them but it seems fine.
Check Out My Website: http://www.FHL09.wordpress.com
Rooted & Running: Stock Galaxy Note 3 4.4.2 KitKat.

Thanks to antique_sonic, testadeferro & Buckycasuals for the recent assist.

Current Phones
  • Samsung Galaxy Note 3: SM-N9005 (22/03/2014)
  • Samsung Galaxy S3 (20/03/2012)
  • Samsung Galaxy S2
  • Sony Ericsson W910i (Dying, Crack Screen but still works...for now)

Dead/Sold Phones
  • Sony Xperia (Sold)
  • HTC Magic 32B (Dead)
 
regunus
Old
#5  
regunus's Avatar
Member
Thanks Meter 4
Posts: 91
Join Date: Jan 2008
Location: Nea Filadelfeia
just flashed it. great work man
Current Devices : GN, N1, Arc S
Sold : many many many...
Find me on Twitter
 
Wysie
Old
#6  
Senior Member
Thanks Meter 6
Posts: 1,119
Join Date: Jul 2009
ChainsDD: Weird. Coming from Cm5.0.7 I didn't have to re-allow anything. However, your previous releases (from the older thread) indeed made me re-allow everything :P.
 
Broken
Old
#7  
Senior Member
Thanks Meter 35
Posts: 1,102
Join Date: Jul 2006
Location: Lewiston, ID
Works great. Replaced the su and superuser files in OpenRecovery on my Milestone. Much nicer being able to see what has root access.


Thanks!
LG G3 black (Mine)
Motorola Moto X 16gb purple (Wifes)
 
themapleboy
Old
#8  
themapleboy's Avatar
Senior Member
Thanks Meter 4
Posts: 263
Join Date: Feb 2010
Location: Toronto
Did not work on a HTC dream with Cyanogen test 5 i flashed both eclair versions with the same end result

there is a superuser app in the tray but does not ask for permission Eg. SetCPU ask's if i have root and terminal says $ su: symbolic link loop

any ideas?
Nexus S I9020a /// ROM: CM 7
HTC-Dream BLK /// ROM:CM 6 /// RECOVERY: Amon RA-Cyan /// RADIO: 26i /// SPL: Death
 
bartito
Old
#9  
bartito's Avatar
Recognized Developer
Thanks Meter 1,118
Posts: 2,432
Join Date: Dec 2005

 
DONATE TO ME
hi,
has su 2.1 the ability to set the su shell in order to forze the use of bash or other?

command line: su -s /system/bin/bash

i have reported this issue in the 2.0.3 thread.

Agree!
 
hanschke
Old
#10  
Senior Member
Thanks Meter 116
Posts: 880
Join Date: Mar 2007
Quote:
Originally Posted by Broken View Post
Works great. Replaced the su and superuser files in OpenRecovery on my Milestone. Much nicer being able to see what has root access.


Thanks!
i have got a milestone too and replace it but dont see it. which one have you taken? i have 2.1 rooted.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes