Permalink
Browse files

su: use prebuilt binary from SuperUser (v3.2)

Change-Id: I24b30b0dd5affccfe3cd2b2f04462e2993be20da
  • Loading branch information...
1 parent 614c428 commit a0965ce0bee557861c3708a1fac06da20f579f74 @tpruvot committed Nov 14, 2012
Showing with 3 additions and 4 deletions.
  1. BIN prebuilt/su
  2. +3 −0 releasetools/squisher.sh
  3. +0 −4 releasetools/updater-script
View
Binary file not shown.
@@ -16,6 +16,9 @@ rm -f $REPACK/ota/system/media/video/*.480p.mp4
# Smaller and smoother bootanimation
#cp -f $DEVICE_TOP/prebuilt/bootanimation.zip $REPACK/ota/system/media/bootanimation.zip
+# Fix for su (v3.2 downloaded from Market)
+cp -f $DEVICE_TOP/prebuilt/su $REPACK/ota/system/xbin/
+
# Apk required, (forbidden in product copy files in ics)
cp -f $VENDOR_TOP/app/* $REPACK/ota/system/app/
@@ -157,8 +157,4 @@ package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functio
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "restore");
-# temporary fix for su database
-mount("ext3", "EMMC", "/dev/block/mmcblk1p25", "/data");
-delete_recursive("/data/data/com.noshufou.android.su");
-
show_progress(0.100000, 5);

0 comments on commit a0965ce

Please sign in to comment.