5,599,842 Members 46,667 Now Online
XDA Developers Android and Mobile Development Forum

Need pure SU binary

Tip us?
 
Summer Son
Old
#1  
Member - OP
Thanks Meter 17
Posts: 86
Join Date: Jun 2012
Default Need pure SU binary

Hi All,

I'm looking for a pure su binary that would simply substitute with root every time its invoked, like in Linux. No looking into databases, no interactions with any Superuser apps.

Thanks.
 
yashade2001
Old
#2  
yashade2001's Avatar
Senior Member
Thanks Meter 230
Posts: 328
Join Date: Sep 2012
Location: Ankara

 
DONATE TO ME
The su, which used by the superuser apps is the same with original linux su.

Sent from my Galaxy Nexus using Tapatalk 4.


Add Me To Your Circles On Google+ plus.google.com/u/0/102336505893640042592
 
Summer Son
Old
#3  
Member - OP
Thanks Meter 17
Posts: 86
Join Date: Jun 2012
Quote:
Originally Posted by yashade2001 View Post
The su, which used by the superuser apps is the same with original linux su.

Sent from my Galaxy Nexus using Tapatalk 4.
No, its not. The one with apps refers to the appropriate app's database to see whether this particular request should be granted, it may grant it if will find the requiring app in the database, or prompt or deny depending on Superuser app settings. Thus depends on Superuser app. The original Linux su has no app dependencies and grants all incoming requests. This is insecure, yes.
 
yashade2001
Old
#4  
yashade2001's Avatar
Senior Member
Thanks Meter 230
Posts: 328
Join Date: Sep 2012
Location: Ankara

 
DONATE TO ME
I will get it from my linux installed computer and send to you tomorrow.

---------- Post added at 09:56 PM ---------- Previous post was at 09:55 PM ----------

btw any source codes ?


Add Me To Your Circles On Google+ plus.google.com/u/0/102336505893640042592
 
Summer Son
Old
#5  
Member - OP
Thanks Meter 17
Posts: 86
Join Date: Jun 2012
Quote:
Originally Posted by yashade2001 View Post
I will get it from my linux installed computer and send to you tomorrow.

---------- Post added at 09:56 PM ---------- Previous post was at 09:55 PM ----------

btw any source codes ?
Thanks, but I already tried one from Gentoo compiled for ARM processor and it doesnt work. Probably it needs to be compiled for Android specifically. And I cant even find sources for a "Pure" su, I only found those for Superuser.apk.
 
yashade2001
Old
#6  
yashade2001's Avatar
Senior Member
Thanks Meter 230
Posts: 328
Join Date: Sep 2012
Location: Ankara

 
DONATE TO ME
https://github.com/ChainsDD/su-binary/blob/master/su.c yeah it seems it's different from original su.


Add Me To Your Circles On Google+ plus.google.com/u/0/102336505893640042592
Tags
root, su binary
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...