yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Q&A, Help & Troubleshooting] Glebun:
the size is fine, it doesn't backup your sdcard, only the apps
[Galaxy S III Q&A, Help & Troubleshooting] blackhand64:
Ah so super su has an option to unroot. So can I just root and unroot without backing up and restoring and it will show device status as normal?
[Galaxy S III Q&A, Help & Troubleshooting] blackhand64:
When using framaroot do I just press either Sam or Frodo and it will do the rest?
[Galaxy S III Q&A, Help & Troubleshooting] TheRealFelix0212:
AW: Device Status: Modified

Sam and then reboot ya phone :)
[Galaxy S III Q&A, Help & Troubleshooting] blackhand64:
When I press either Sam or Frodo it sais "Failed :( ... Try another exploit if available"

What do I do now?
[Galaxy S III Q&A, Help & Troubleshooting] TheRealFelix0212:
AW: Device Status: Modified

Do you haven't got an international I9300?
[Galaxy S III Q&A, Help & Troubleshooting] blackhand64:
Yes I do have an international galaxy s3
[Galaxy S III Q&A, Help & Troubleshooting] blackhand64:
Can I just root with say cf root and do the same thing?
[Galaxy S III Q&A, Help & Troubleshooting] slaphead20:
If you want to root use cf root or cf auto root, have no idea what "framroot" is but why don't you just use the tools available instead of some obscure methods?
[Galaxy S III Q&A, Help & Troubleshooting] blackhand64:
Alright, here's what I did:

First I rooted using cf root 6.4

Then I used triangle away to reset the counter

Then I pressed full unroot in super su

Rebooted my phone

Checked system status and it still sais modified

Have I done not done something or done something wrong?
[Galaxy S III Q&A, Help & Troubleshooting] slaphead20:
The only way you will get flash counter=0/status= unmodified is if you do this

Run triangle away

Flash stock firmware

Factory reset
[Galaxy S III Q&A, Help & Troubleshooting] blackhand64:
Ok but as I've asked previously, will backing up my device with it modified with holo backup (simple adb backup), factory resetting and then restoring the backup cause the status to become modified again?
[Galaxy S III Q&A, Help & Troubleshooting] slaphead20:
I wouldn't be surprised if it did register as modified, but I guess trying it out is the best way to find out, and I say that as I have never seen anyone try it,, and I don't miss a great deal round here ;)
[Galaxy S III Q&A, Help & Troubleshooting] TheRealFelix0212:
AW: Device Status: Modified

Yep, when you use TriangleAway, you must reflash your ROM and perform a full wipe to get Device Status Normal....

Have u downloaded Framaroot from here? http://xdaforums.com/showthread.php?t=2130276

It can be that your firmware has some securityholes patched that Framaroot needs....
[Galaxy S III Q&A, Help & Troubleshooting] TheRealFelix0212:
AW: Device Status: Modified

I had even installed CyanogenMod and AOKP and have DeviceStatus Normal again...

Greetzzz...
[Android Software/Hacking General [Developers Only]] _n0p_:
A request:

If somebody owns Pro/Elite/other commercial Superuser or SuperSU - would you provide it's full Java class name?

For example, it's

eu.chainfire.supersu

com.noshufou.android.su

for free versions.
[Android Software/Hacking General [Developers Only]] arryhariyadi:
eu.chainfire.supersu.pro
[Android Software/Hacking General [Developers Only]] Androidmarketuser:
Can I avoid these little delays (the appearing popup of SuperSU or Superuser) with this alternative?

And if I have Superuser preinstalled can I delete it and are there other files which belongs to it and can be deleted?

Thank you for sharing your work :)
[Android Software/Hacking General [Developers Only]] ItzCrooK2UxD:
com.noshufou.android.su.elite for Superuser Elite
[Android Software/Hacking General [Developers Only]] Shree_Jamdar:
Hi

Have you noticed any improvement in terms of speed etc? Is superuser really that heavy? How much RAM can i get by using this and ditching the superuser app? We can use this in our Galaxy 3 forum !
[Android Software/Hacking General [Developers Only]] karandpr:
Get the list of all android activities from here

http://activities.droidicon.com/
[Android Software/Hacking General [Developers Only]] pawan1993:
Delete system/xbin/su and uninstall your superuser app from the system.
[Android Software/Hacking General [Developers Only]] _n0p_:
Oh. Looks SimpleSU got in news :)

You won't experience any delays - but in cost of manually editing the list. And no popups, it's simply a linux binary. After replacing su binary you may uninstall Java part.

I did experience lags when using Superuser and SuperSU. I don't think modern device would benefit from SimpleSU. I expect to free 15-20MB. Good for Streak with 512MB.

I may eventually write a list editor, but most probably won't.

Again, this tool would do as preinstalled SU solution in Custom ROM (though i can't test >2.3 compatibility):

Grant predefined (and included in ROM) apps the superuser rights.

Allow end-user to choose and install he's preffered SU solution right from Play Store.

--

Have fun,

Sergei
[Android Software/Hacking General [Developers Only]] Androidmarketuser:
Exactly what I searched, thanks :good:

I will test it on my old Desire with Android 4.1, I can tell you whether it's compatible or not.
[Android Software/Hacking General [Developers Only]] A_U:
nice tool...very lite. i m using this in extreme barebone roms for my galaxy mini. really nice, but the problem is only some apps r being granted permissions, some denied.

i hope u increase the list of activities. then this is a hit for me :)

good luck.. :)
[Android Software/Hacking General [Developers Only]] _n0p_:
Can you provide an example of app you have added to the access list, but it didn't work?
[Android Software/Hacking General [Developers Only]] P.Mobile:
i looked in the op and still dont understand how to install?? flash the simple SU zip in recovery.. then what???
[Android Software/Hacking General [Developers Only]] Hammerfest:
if you couldnt read/understand the OP, then your probably better off sticking with SuperSU or SuperUser...

Heres my non-developer understanding (potentially flawed):

Its a binary, with manual entry's (IE text editing) of pre-approved apps, it doesnt have a frontend/gui like SuperSU or SuperUser which allow you to graphically chose what to allow and what to deny...

OP: I like it so far, as for your thoughts on a graphical editor, I for one would love to see one, and before I get jumped for saying then whats the difference between the other options, an editor would be short and sweet, open, edit list, close, ram once again free (since that is the concern), instead of having it stay resident in RAM...

On that note, if I may, there are tools like Rays Toolbox and Android Tuner (formerly system tuner), that I would like to put in a feature request for them to add an editor in the app (Android Tuner already has a few editor's, adding a SimpleSU editor would just add to the overall completeness of the toolkit) to edit the list for SimpleSU, with your permission of course!

Thanks again!
[Android Software/Hacking General [Developers Only]] Dark Passenger:
Latest version working on Galaxy fit !!! It really imporves performance on low ram(We got 256mb) devices maybe OP might consider sharing it by moving thread to a more general location on xda rather than on a device forum my thoughts.
[Android Software/Hacking General [Developers Only]] Deadly:
Yes, exactly.. it works on galaxy y duos and galaxy yseries.. its better to move it to android app development section may be? as it will get more support there i feel.. Please do consider op.. And thanks for this cool app.. Its awesome. And i dont think it needs an editor, as we can have editors from many apps .. i have around 4-5 apps which has editors.. surely users who use this app will be bit advanced users..

and i bet all of them will have file editors.. and all file explorer apps comes with editors nowadays.. well , just my thoughts.. but if you can keep the file browser to bare minimum and keep size of apk less.. then i would surely like to see it too :)

i am hoping to use this from now on.. so i will give review for new updates.. have you pushed it to play store? i think you should do that.. many will like this idea!

Thanks again..

As far as i understood we can edit it to add new apk names to give permission.. Because Android_united kinda confused me.. So, asked this again.. i did use it and it did worked.. its just may be he didnt see that?
[Android Software/Hacking General [Developers Only]] domcale:
Works like a charm! The only problem I had is that I was doing this through Terminal Emulator, and for some reason, when i did all this, superuser perrmisions were not granted for Terminal Emulator. After a little digging i found that i have to add this line

jackpal.androidterm2

and leave the one that's there by default

jackpal.androidterm

to the dsc.su_list

Now it works, i have SU for Terminal Emulator, Adfree, and i added SetDNS (Impossible to use Google play on CM7.2 without it :))
[Android Software/Hacking General [Developers Only]] TwoPointZero:
I like the idea of this but be extra careful to only whitelist activities you really use.

I could imagine a malware somehow managing to enter your system and masquerading as one of the prepopulated entries in dsc.su_list, though of course no such vulnerability exists so far.
[Android Software/Hacking General [Developers Only]] _n0p_:
Thank you for feedback.

--

I cannot publish it on Play Store - it's not an Android app. To publish it, i need to write SimpleSU Installer, or something like that (see below).

--

Regarding editor - it would be nice if someone else would write it :) I really don't expect to have enough free time required.

--

A 0.4 version i consider as stable (revised potentially bad code with possible string overflows) attached to first post.

--

Malware that could act as Java class - i thought of several scenarios, but any requres root access beforehand. And if you install an app - it's your responsibily to be careful.

--

Have fun,

Sergei
[Android Software/Hacking General [Developers Only]] A_U:
titanium backup, es-file explorer. i tested wit only these 2. as these 2 weren't gaining root access, so i stopped using this. if u want me to test wit more apps, i can help u out.

will be using this surely once it receives more updates :good:

:good: gud luck..
[Android Software/Hacking General [Developers Only]] _n0p_:
Android_United, i've added

com.keramidas.TitaniumBackup

to dsc.su_list

and it works fine.

So it seems you're doing it wrong.

You need to add app Java class name to list to grant access.
[Android Software/Hacking General [Developers Only]] A_U:
i was still talking about v0.3 bro, dint kow u updated it. still dint try 0.4.. will try 0.4 thanx :)

great job..
[Android Software/Hacking General [Developers Only]] _n0p_:
0.4 has only code cleanup, but anyway let me know if 0.4 works for you.
[Android Software/Hacking General [Developers Only]] PurpleFries:
I know that it isn't particularly secure, but could you add an option to just whitelist all apps if the whitelist is empty or doesn't exist?

I've got my superuser set to grant all anyways, and I just make sure to not install things that I don't trust with superuser.
[Android Software/Hacking General [Developers Only]] _n0p_:
I can't add it as option (as a potential security hole), but here's attached insecure version.
[Android Software/Hacking General [Developers Only]] PurpleFries:
Damn, that was quick. Color me impressed. I'll give it a shot shortly.

Edit: Seems to be working perfectly. Thanks.

I would love to see updated insecure versions as well, assuming the changes aren't only related to the whitelisting components.
[Android Software/Hacking General [Developers Only]] xHausx:
Thread moved to the Android Software & Hacking forums.
[Android Software/Hacking General [Developers Only]] Rupert Rawnsley:
Problem running Android scrips

Unrelated: Awesome idea and exactly what we need for our custom firmware ROMs!

I am unable to run Android script commands like svc and pm from my Android applications. I have had this issue before with Superuser, but not with SuperSU. There is a detailed (if a little heated) discussion about the problem with Superuser here: https://github.com/ChainsDD/su-binary/issues/6

The problem goes away if you prefix LD_LIBRARY_PATH=/vendor/lib:/system/lib to your commands, but I leave it up to you to decide whether a code fix is required of if this is a documentation issue. For completeness, here is a reproduce (using RootTools):

// Works
//CommandCapture c = new CommandCapture(0, "LD_LIBRARY_PATH=/vendor/lib:/system/lib svc");
// Fails
CommandCapture c = new CommandCapture(0, "svc");
RootTools.getShell(true).add(c).waitForFinish(5000);

Do you plan to open source the development? We've had some push-back on using SuperSU in the past because it is closed source. Unless you plan to sell it in the future, open source might save you some support and feature request grief ;)
[Android Software/Hacking General [Developers Only]] _n0p_:
Yes, I have no concerns opening the source on our (dsc-team) github account.

Except shame on bad and reused code :)

Will do in a week or so.

Your problem seem to be related to

exec[l,v] vs exec[l,v]e function.

I'll review the code to make sure e function is used (if it's the case) and publish 0.5 today or tomorrow.

--

Sergei
[Android Software/Hacking General [Developers Only]] Rupert Rawnsley:
Let he who is without sin cast the first stone :D
[Android Software/Hacking General [Developers Only]] _n0p_:
Say, have you any output executing

su -c set

in terminal emulator?

Same in your code snippet?

--

Also, test attached (with ChainsDD patch) and tell if it works for you. I cannot test for >2.3
[Android Software/Hacking General [Developers Only]] PurpleFries:
Insecure version please?
[Android Software/Hacking General [Developers Only]] _n0p_:
Sure, but keep previous handy.
[Android Software/Hacking General [Developers Only]] Rupert Rawnsley:
Oddly I can't execute from the command line:

root@android:/ # su -c set
SimpleSU v0.4 (n0p, DSC Team) built Nov 10 2012 23:15:55
1|root@android:/ #

However, it executes fine from Java via RootTools so I used root mode and non-root mode shells to create the environment dumps:

Non Root

ADOBE_FONTS_DIR=/system/fonts/adobefonts/
ANDROID_ASSETS=/system/app
ANDROID_BOOTLOGO=1
ANDROID_DATA=/data
ANDROID_PROPERTY_WORKSPACE=13,32768
ANDROID_ROOT=/system
ANDROID_SOCKET_zygote=14
ASEC_MOUNTPOINT=/mnt/asec
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
COLUMNS=80
EBOOK_PAGE_VISIBLE_NUMBER=2
EXTERNAL_STORAGE=/mnt/sdcard
HOME
IFS='
'
KSHEGID=10062
KSHGID=10062
KSHUID=10062
KSH_VERSION='@(#)MIRBSD KSH R40 2011/10/07'
[COLOR="Red"]LD_LIBRARY_PATH=/vendor/lib:/system/lib[/COLOR]
LINES=24
LOOP_MOUNTPOINT=/mnt/obb
OPTIND=1
PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
PGRP=98
PIPESTATUS[0]=0
PPID=8888
PS1='$ '
PS2='> '
PS3='#? '
PS4='+ '
PWD=/
RANDOM=13965
RK_ADEPT_ACTIVATION_FILE=/mnt/sdcard/.adobe-digital-editions/activation.xml
RK_ADEPT_DEVICE_FILE=/mnt/sdcard/.adobe-digital-editions/device.xml
RK_ADEPT_DEVICE_SALT_FILE=/mnt/sdcard/.adobe-digital-editions/devicesalt
RK_ADEPT_DEVICE_TYPE=mobile
RK_ADOBE_DE_DOC_FOLDER='/mnt/sdcard/Digital Editions'
RK_ADOBE_DE_MOBILE=1
SECONDS=0
SECOND_VOLUME_STORAGE=/mnt/external_sd
SHELL
THIRD_VOLUME_STORAGE=/mnt/usb_storage
TMOUT=0
USER_ID=10062

Root

ADOBE_FONTS_DIR=/system/fonts/adobefonts/
ANDROID_ASSETS=/system/app
ANDROID_BOOTLOGO=1
ANDROID_DATA=/data
ANDROID_PROPERTY_WORKSPACE=13,32768
ANDROID_ROOT=/system
ANDROID_SOCKET_zygote=14
ASEC_MOUNTPOINT=/mnt/asec
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
COLUMNS=80
EBOOK_PAGE_VISIBLE_NUMBER=2
EXTERNAL_STORAGE=/mnt/sdcard
HOME
IFS='
'
KSHEGID=0
KSHGID=0
KSHUID=0
KSH_VERSION='@(#)MIRBSD KSH R40 2011/10/07'
LINES=24
LOOP_MOUNTPOINT=/mnt/obb
OPTIND=1
PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
PGRP=98
PIPESTATUS[0]=0
PPID=8711
PS1='# '
PS2='> '
PS3='#? '
PS4='+ '
PWD=/
RANDOM=7803
RK_ADEPT_ACTIVATION_FILE=/mnt/sdcard/.adobe-digital-editions/activation.xml
RK_ADEPT_DEVICE_FILE=/mnt/sdcard/.adobe-digital-editions/device.xml
RK_ADEPT_DEVICE_SALT_FILE=/mnt/sdcard/.adobe-digital-editions/devicesalt
RK_ADEPT_DEVICE_TYPE=mobile
RK_ADOBE_DE_DOC_FOLDER='/mnt/sdcard/Digital Editions'
RK_ADOBE_DE_MOBILE=1
SECONDS=0
SECOND_VOLUME_STORAGE=/mnt/external_sd
SHELL
THIRD_VOLUME_STORAGE=/mnt/usb_storage
TMOUT=0
USER_ID=0

This is on a Rockchip RK3066 device running Android 4.1
[Android Software/Hacking General [Developers Only]] dr911:
So far ver. 0.4 is working on my GNex with JB4.2. Thanks for that!

Couldn't stand those delays in granting su permissions I got using SuperUser and SuperSU anymore.

Also, this is perfect for everyone using JB4.2 on Nex7 with multiusers because SimpleSU works straight from system!
[Android Software/Hacking General [Developers Only]] _n0p_:
Rupert, would you test 0.5?

It contains ChainsDD's library path patch.

--

dr911, good. I think it's because this su is really simple :)
[Android Software/Hacking General [Developers Only]] Rupert Rawnsley:
Sure, do you want to PM me a link?
[Android Software/Hacking General [Developers Only]] _n0p_:
It's attached to fist post on this page :)
[Android Software/Hacking General [Developers Only]] Rupert Rawnsley:
:o

Yes, I can confirm the LD_LIBRARY_PATH environment is present when I run set and also that my pm commands now work. Thanks for the super-fast turnaround!
[Android Software/Hacking General [Developers Only]] _n0p_:
Good. Updated first post with it.

--

Edit: wrote GUI myself.
[Android Software/Hacking General [Developers Only]] _n0p_:
DSC SimpleSU ACL Manager

DSC SimpleSU ACL Manager

SimpleSU root rights management (GUI)

You need to add

dsc.SimpleSU.acl

to

/system/etc/dsc.su_list

Loads installed packages list.

White - usual app.

Red color - app has root.

Gray - app frozen.

Yellow - has root but frozen.

On item long press you can choose:

Grant root - Grant root rights for application.

Revoke root - Revoke root rights from application.

Freeze - Freeze (disable) application.

Thaw - Reenable application.

Changes take effect immediatly, don't shoot the leg.

Revoke will delete this exact app only from dsc.su_list, manual entries will be untouched.

Back key will fully exit DSC SimpleSU ACL Manager.

Edit - updated version attached to first post.
[Android Software/Hacking General [Developers Only]] somarani:
thanks for making!
[Android Software/Hacking General [Developers Only]] Spleeno:
great stuff, I just modified the list to fit my needs and now every time I install a new cm10.1 nightly all my root apps are working out of the box without any need for "popups" or additional apks to crowd the app list

really useful imho
[Android Software/Hacking General [Developers Only]] sonicfreak360:
Can you share your list?
[Android Software/Hacking General [Developers Only]] Spleeno:
ofc

org.adaway
com.googlecode.droidwall.free
com.elsdoerfer.android.autostarts
com.speedsoftware.rootexplorer

So thats Adblocker, Firewall, Autostart Cleanup and Root Explorer - all the root apps I use on a regular basis.
[Android Software/Hacking General [Developers Only]] UberUrban:
I'm having problems editing the dsc.su_list. Could anyone give instructions for the noob level? :silly:

Edit: Figured it out. Writing some instruction for the average noob:

1) Install Root explorer to edit dsc.su_list.

2) At this point, you might be wondering that how will you give Root explorer root privelages, when you cant even edit dsc.su_list. Trick is, smart OP has already included Root explorer (and other common file explorer/text editors) to the dsc.su_list. So, simply browse to /system/etc, long click on dsc.su_list and edit.

3) Add activity name of app. For example, to install Link2SD, when you go to its market link, the activity name is in the URL after id=.

4) Save and done. :highfive:
[Android Software/Hacking General [Developers Only]] _n0p_:
You could also edit list on PC and push it, or use GUI.
[Android Software/Hacking General [Developers Only]] UberUrban:
But for the GUI you do need to edit the list once to add dsc.SimpleSU.acl :)
[Android Software/Hacking General [Developers Only]] MetinKale38:
Is it possible just to add * or something lake that?

I never have denied any app the root access

Tapatalked with my HTC Desire

---------- Post added at 09:44 PM ---------- Previous post was at 09:43 PM ----------

Oh yes the insecure version

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] Spleeno:
Thats pretty much what the insecure version does, accept everything without a list
[Android Software/Hacking General [Developers Only]] MetinKale38:
Without the seperate java process it seems really to be faster.

But really difficult to notice.

It's a minor change but I like the idea of never granting the root access again.

Could you please make a flashable zip which automatically removes other su's like superuser and supersu to flash it directly after a new Rom.

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] _n0p_:
I'm not sure that installer command like

mount("MTD", "system", "/system");

will work on every device, so let's leave it to device rom makers.
[Android Software/Hacking General [Developers Only]] ammujee:
Sergei,

could you please make a streakmod flashable zip of simpleSU for cm7 based roms? I think many of us need it but don't know how to make a flashable zip.
[Android Software/Hacking General [Developers Only]] Emilml:
Here is a non signed, flashabel of the 0.5v insecure for HTC Desire.

Tried it with VJ CM 10.1 v4.5 and it works fine, also removes SuperUser.apk.

If you need to change it to fit your device, remember to change the update-binary and first line in updater-script and then just rezip it.
[Android Software/Hacking General [Developers Only]] ammujee:
But I want one for dell streak cm7. Dunno how to customize your zip for my device. :(
[Android Software/Hacking General [Developers Only]] Emilml:
The Upload wasn't really directed to you specificity, I just saw a few requested a flashabel for the HTC Desire and I made one yesterday for myself. The only thing that I think you would need to do, is as I said to take the update-binary from your rom and first line from the update script and add that to the file I uploaded. In any case, here is one for the rom you are using, since I don't have your device there is no way for me to check if this works, but fingers crossed :)
[Android Software/Hacking General [Developers Only]] ammujee:
Thank you. I can confirm that it worked partially. Root explorer is working but what I can't get working is simpleSU ACL app to grant root to other apps. I can't even find dsc su list to manually add any app. Please help.
[Android Software/Hacking General [Developers Only]] MarcoToo:
That's because it's the insecure version. It grants access, no matter what.
[Android Software/Hacking General [Developers Only]] Spleeno:
btw, If anyone is using this with cm10/10.1, the cm filemanager classname is: com.cyanogenmod.filemanager
[Android Software/Hacking General [Developers Only]] Rupert Rawnsley:
This tool is great and very useful for us, but it's worth pointing out that if you allow installation of applications outside of the Google Play store, there's nothing stopping someone using a white listed package name (such as com.noshufou.android.su) for a malicious app (unless the real app is already installed).

You can prevent this by disabling untrusted application installation or by removing these other apps from the white list.