Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SuperUser not working with Android 4.3 #166

Closed
realJoshByrnes opened this issue Jul 24, 2013 · 13 comments
Closed

SuperUser not working with Android 4.3 #166

realJoshByrnes opened this issue Jul 24, 2013 · 13 comments

Comments

@realJoshByrnes
Copy link

Model number: Nexus 4
Android version: 4.3
Baseband version: M9615A-CEFWMAZM-2.0.1700.84
Kernel version: 4.3.0-perf-gf43c3d9 android-build@vpbs1.mtv.corp.googe.com #1 Mon Jun 17 16:55:05 PDT 2013
Build number: JWR66V

I'm sure you're already aware, but I couldn't see an issue logged so I thought it might be an idea to add it.

What works:

  • adb shell is able to obtain root access using the 'su' binary
  • Superuser.apk is able to install itself if an insecure 'su' binary is installed.

What doesn't work:

  • Any app trying to obtain root access, including Superuser.apk.

Other info:
The changes appear to be identical to the ones in the leaked GE images. I can confirm that SuperSU v1.41 (by Chainfire) which I believe was designed for GE Devices works successfully on a clean install Nexus 4, Nexus 7 (2012) and Nexus 10 (despite some users claiming it doesn't)

@ogr3
Copy link
Contributor

ogr3 commented Jul 24, 2013

Confirmed not working on Samsung Galaxy Nexus either after update to 4.3.

@laurentdinclaux
Copy link

Confirmed on Nexus 4 too. Definitely a 4.3 related issue.

@koush
Copy link
Owner

koush commented Jul 24, 2013

setuid is disabled /system now. Looking into it.

@laurentdinclaux
Copy link

It seems like Chainfire's solution is to run it has a daemon ... (https://plus.google.com/+Chainfire/posts/WqS2E9kkN1L)

@koush
Copy link
Owner

koush commented Jul 25, 2013

Yeah, I posted this on Google+. Not ideal. Looking into other possibilities.

@laurentdinclaux
Copy link

Yeah, I saw your post after posting that here ... Good luck, that seems tricky to solve.

@rowntreerob
Copy link

4.3 gnexus adb shell
Su
Ls -l /data/data

FAils on permissions altho su looks like its running.

@ogr3
Copy link
Contributor

ogr3 commented Jul 25, 2013

@rowntreerob Since /system is mounted nosuid you will not be able to do that. Reboot the device into clockworkmod and it will work.

@tavianator
Copy link

@rowntreerob Use "su system", somehow 4.3 is applying the permissions from /data even to root.

@koush
Copy link
Owner

koush commented Aug 6, 2013

@rowntreerob I fixed this bug in the CM tree. I'll be pushing all my changes to this main repo soon.

@koush
Copy link
Owner

koush commented Aug 12, 2013

Fixed

@koush koush closed this as completed Aug 12, 2013
@rowntreerob
Copy link

thanks. ill clone it and build just the 'su' binary and put that in /system/xbin.

@rowntreerob
Copy link

?? still have the symptom and dont know if it is some new , usb , config thing with 4.3 and ubuntu. But , i cant use 'su' on the CLI in 'adb session'...

rob@ armeabi$ sudo /usr/local/src/android-sdk-linux/platform-tools/adb shell
shell@maguro:/ $ su system
255|shell@maguro:/ $ ls -l /cache
opendir failed, Permission denied
1|shell@maguro:/ $ ls -l /data
opendir failed, Permission denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants