Ho provato in tutti i modi ma non mi funziona: sembra che non copia bene quel che copia lo copia male
-dopo l'update mi trovo sistematicamente senza su e ssh. Insistendo riesco a copiarli, ma solo con degli update.zip che mi sono creato che comprendono i singoli files. Non ho firmato niente che non sono capace (????)
-con tutti i files presenti superuser in fase di aggiornamento crasha in fase di verifica della versione di su installata
-ho verificato (con es file manager del telefono) che md5 di su in /system/xbin non è uguale a quello che metto nello zip
Voglio ancora provare usando altra scheda sd (non uso la originale da 2G), in quanto l'impressione è che 'non fa in tempo a finire'
codice:
unmount("/system");
..la linea per montarlo è commentata?
..forse copia tutto tranne gli ultimi 2 perche /system viene smontato?
con questo script riesco a ripulire tutto: (avevo provato a mettere su in /system/bin)
codice:
assert(getprop("ro.product.device") == "GT-S5360" ||
getprop("ro.product.product") == "GT-S5360"||
getprop("ro.product.device") == "GT-S5570B" ||
getprop("ro.build.product") == "GT-S5570B" ||
getprop("ro.product.device") == "GT-S5670L" ||
getprop("ro.product.product") == "GT-S5670L"||
getprop("ro.product.device") == "GT-S5670B" ||
getprop("ro.product.product") == "GT-S5670B"||
getprop("ro.product.device") == "GT-S5830L" ||
getprop("ro.build.product") == "GT-S5830L" ||
getprop("ro.product.device") == "GT-S5830B" ||
getprop("ro.build.product") == "GT-S5830B" ||
getprop("ro.product.device") == "GT-S5830" ||
getprop("ro.build.product") == "GT-S5830" ||
getprop("ro.product.device") == "GT-S5570" ||
getprop("ro.build.product") == "GT-S5570" ||
getprop("ro.product.device") == "GT-S5670" ||
getprop("ro.product.product") == "GT-S5670"||
getprop("ro.product.device") == "GT-B7510" ||
getprop("ro.product.product") == "GT-B7510"||
getprop("ro.product.device") == "GT-S5369" ||
getprop("ro.product.product") == "GT-S5369"
);
#ui_print("Root for Galaxy Young...");
#ui_print("Installing su and Superuser.apk...");
show_progress(0.100000, 0);
# format("MTD", "system");
# mount("MTD", "system", "/system");
ui_print(" Deleting SYSTEM:bin/su...");
delete("/system/bin/su");
set_progress(0.200000);
ui_print(" Deleting SYSTEM:xbin/su...");
delete("/system/xbin/su");
set_progress(0.400000);
ui_print(" Deleting SYSTEM:xbin/sqlite3...");
delete("/system/xbin/sqlite3");
set_progress(0.600000);
ui_print(" Deleting SYSTEM:xbin/ssh...");
delete("/system/xbin/ssh");
set_progress(0.800000);
ui_print(" Deleting SYSTEM:xbin/busybox...");
delete("/system/xbin/busybox");
set_progress(0.900000);
ui_print(" Deleting SYSTEM:app/Superuser.apk...");
delete("/system/app/Superuser.apk");
set_progress(1.000000);
#package_extract_dir("system", "/system");
#set_perm(0, 0, 04755, "/system/xbin/sqlite3");
#set_perm(0, 0, 04755, "/system/xbin/su");
#set_perm(0, 0, 04755, "/system/xbin/ssh");
#set_perm(0, 0, 04755, "/system/xbin/busybox");
ui_print("UNInstalling OK...");
#ui_print("by yodeput...");
unmount("/system");
..se hai voglia mi metti md5 dei files in xbin e superuser rilevati proprio sul telefono con es file manager?
(..ma se hai voglia in quanto non vedo perche' dovrebbero essere diversi da quelli nello zip)