Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[WIP] SELinux-capable Superuser

$
0
0
Hi,

IT MIGHT BRICK YOUR DEVICE, YOUR POWER GRID, AND LAUNCH A NUCLEAR WAR.
Always ensure you have a way back.



I'm the author of a fork of Koush's Superuser, to handle SELinux: https://github.com/phhusson/Superuser
It is in early-stage, but thanks to recent events related to SuperSU, it got some spotlight.

I believe every complex matters have been handled (ie rewriting SELinux policy), but many things still remain.

So I would like your help to make this SuperUser a proud opensource SU app!

I have mostly two sides of things left to do:
- Device compatiblity/update.zip
- Application compatbility

I've tested my Superuser on Qualcomm/CAF 5.1 devices and on MTK 5.1 devices, and I believe it should work on most devices which are close enough to AOSP. But I always installed it with a root adb.
I created an update.zip for it, but it hasn't been tested yet. So first, I need people to test it (and perhaps fix it?), feedback is very much welcomed.

And then, I have missing steps to be compatible with SuperSU (see https://github.com/phhusson/Superuser#todo-list ). I'd like to have feedback from app developers about which features they need the most.
So if you have an application that requires root, and which needs specific SELinux configuration please ask!
I also wonder about displaying an user-understandable SELinux policy, so that root applications can be "more secure". That would be a lot of work. Would anyone be interested in such a feature?

Thanks !

Viewing all articles
Browse latest Browse all 3614

Trending Articles