Working around assert failed: package_extract_dir("system","/system")
ok so i am TRYING to root my droid 1 and i have tried a one touch root and that didnt work and now i try this and i almost got it to work except when i go to install the update.zip the install goes normall until it gets to superuser.
Installing Superuser 2.3.2.3 - Eclair/Froyo...assert failed: package_extract_dir("system","/system")
E:Error in /sdcard/update.zip
(status 7)
Installation aborted is what it says and i looked at the mount setting and thats correct and i dont know what else to look at any help would be great
I encountered the same problem when following the instructions in the original post with my decommissioned Verizon Droid (original) with Android 2.2.3 (FRK76). Investigating via adb I found that /system/xbin was a file:
$ ls -l /system/xbin
-rw-rw-rw- root root 91980 2013-03-08 12:42 xbin
I modified the updater-script adding the delete_recursive command shown below and restarted at step 12. With this change everything worked.
diff --git a/META-INF/com/google/android/updater-script b/META-INF/com/google/android/updater-script
index 40b1307..8224abf 100644
--- a/META-INF/com/google/android/updater-script
+++ b/META-INF/com/google/android/updater-script
@@ -27,6 +27,7 @@ set_progress(0.428571);
ui_print("Installing Superuser 2.3.2.3 - Eclair/FroYo...");
delete("/system/bin/su");
delete("/system/xbin/su");
+delete_recursive("/system/xbin");
assert(package_extract_dir("system", "/system"));
set_perm(0, 0, 6755, "/system/bin/su");
symlink("../bin/su", "/system/xbin/su");