Post Reply

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

OP ChainsDD

17th May 2010, 01:20 AM   |  #1  
ChainsDD's Avatar
OP Retired Recognized Developer
Flag Suffolk, UK
Thanks Meter: 351
 
201 posts
Join Date:Joined: Feb 2009
Donate to Me
More
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:	55901
Size:	31.3 KB
ID:	377291   Click image for larger version

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

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

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

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

Last edited by ChainsDD; 31st January 2011 at 08:54 AM. Reason: 2.3.6.1 release
The Following 114 Users Say Thank You to ChainsDD For This Useful Post: [ View ]
17th May 2010, 01:39 AM   |  #2  
FHL09's Avatar
Member
Flag Hastings
Thanks Meter: 3
 
62 posts
Join Date:Joined: Dec 2009
Donate to Me
More
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.
Last edited by FHL09; 17th May 2010 at 01:46 AM.
17th May 2010, 01:43 AM   |  #3  
ChainsDD's Avatar
OP Retired Recognized Developer
Flag Suffolk, UK
Thanks Meter: 351
 
201 posts
Join Date:Joined: Feb 2009
Donate to Me
More
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.
The Following 33 Users Say Thank You to ChainsDD For This Useful Post: [ View ]
17th May 2010, 01:56 AM   |  #4  
FHL09's Avatar
Member
Flag Hastings
Thanks Meter: 3
 
62 posts
Join Date:Joined: Dec 2009
Donate to Me
More
Quote:
Originally Posted by ChainsDD

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.
17th May 2010, 05:55 AM   |  #5  
regunus's Avatar
Member
Flag Nea Filadelfeia
Thanks Meter: 4
 
91 posts
Join Date:Joined: Jan 2008
More
just flashed it. great work man
17th May 2010, 06:18 AM   |  #6  
Senior Member
Thanks Meter: 6
 
1,119 posts
Join Date:Joined: 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.
17th May 2010, 06:31 AM   |  #7  
Senior Member
Flag Lewiston, ID
Thanks Meter: 35
 
1,103 posts
Join Date:Joined: Jul 2006
More
Works great. Replaced the su and superuser files in OpenRecovery on my Milestone. Much nicer being able to see what has root access.


Thanks!
17th May 2010, 08:32 AM   |  #8  
themapleboy's Avatar
Senior Member
Flag Toronto
Thanks Meter: 4
 
263 posts
Join Date:Joined: Feb 2010
More
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?
17th May 2010, 09:09 AM   |  #9  
bartito's Avatar
Recognized Developer
Thanks Meter: 1,132
 
2,454 posts
Join Date:Joined: 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!
17th May 2010, 12:37 PM   |  #10  
Senior Member
Thanks Meter: 122
 
913 posts
Join Date:Joined: Mar 2007
Quote:
Originally Posted by Broken

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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Apps and Games by ThreadRank