Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] compiling su and sudo for android

OP poohtbear

1st March 2011, 11:22 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Aug 2010
Hi.
i recently rooted my work phone (ION , kind of like sapphire ,1.6).
Rooting was done by using the canyongen mod recovery image to load the device in recovery mode , backuup the original system image , change the default property ro.secure=0 and then flashing the system.img again to the rom.
So basically i didn't really change the original rom (thanks to Amon Ra in some post here in XDA).
I wanted to gain root access inside android apps and couldn't, short test shows no su or sudu executable exists on the device, even though when i'm not root and typing su ro sudo i get permission denied....

I never cmopiled anything for arm processor, i do have the source code checked out (for donut) but i'm not sure how can i compile the su (anyone knows which linux package contains it ? ) and if i need to twik it.
I'm not sure that in such a sensative pieace of software i can count on internet ready made builds.

Any help would be greatly appreciated!
Post Reply Subscribe to Thread

Tags
android, compile, sources, su executable
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes