OSDN Git Service

Version 1.0.2.7
authorKoushik Dutta <koushd@gmail.com>
Sun, 1 Dec 2013 06:22:41 +0000 (22:22 -0800)
committerKoushik Dutta <koushd@gmail.com>
Sun, 1 Dec 2013 06:22:41 +0000 (22:22 -0800)
Leave binary setuid, as the daemon now guards for that.

Change-Id: I379005938bfb68954255ebe54e3cb482a0087e7d

Superuser/AndroidManifest.xml
Superuser/assets/update-binary

index 5107abd..318f953 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.koushikdutta.superuser"
-    android:versionCode="1026"
-    android:versionName="1.0.2.6" >
+    android:versionCode="1027"
+    android:versionName="1.0.2.7" >
 
     <uses-sdk
         android:minSdkVersion="8"
index f56f3e7..837b535 100755 (executable)
@@ -64,8 +64,6 @@ MIN=${MIN//.*}
 
 if [ "${MAJ}${MIN}" -ge 43 ]
 then
-  # on 4.3+, the daemon need not be setuid.
-  chmod 0755 /system/xbin/su
   # check for rom su daemon before clobbering install-recovery.sh
   if [ ! -f "/system/etc/.has_su_daemon" ]
   then