rom tab s6 lite

aries4rr

Simdualero de Bronce
Mensajes
27
Puntos
38
no copia los apk ni el bootanimation.zip ala tablet

solo copia el wallpaper

que puedo aser

ayuda


set_progress(0.0);
ui_print("- Starting the install process");
set_progress(0.1);
ui_print("Copying tools to /tmp");
package_extract_dir("tools", "/tmp");
set_perm(0, 0, 0755, "/tmp/busybox");
ui_print("Copying system files to /tmp");
package_extract_dir("system", "/tmp/system");
set_progress(0.2);
ui_print("Mounting /data");
run_program("/tmp/busybox", "mount", "/data");
ui_print("Mounting /system");
run_program("/tmp/busybox", "mount", "/system");
set_progress(0.3);
ui_print("Mounting /sdcard");
run_program("/tmp/busybox", "mount", "/sdcard");
set_progress(0.4);
set_perm(0, 0, 0755, "/tmp/previnstall.sh");
run_program("/tmp/previnstall.sh");
ui_print("- Installing Apps");
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.2")=="1") then ui_print("Installing Nethunter");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/nethunter.apk", "/data/app/nethunter.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.3")=="1") then ui_print("Installing Custom Nethunter Jackpal Terminal");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Term-nh.apk", "/data/app/Term-nh.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.4")=="1") then ui_print("Installing Custom Nethunter VNC");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/VNC-nh.apk", "/data/app/VNC-nh.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.1")=="1") then ui_print("Installing BlueNMEA-2.1.3");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/BlueNMEA.apk", "/data/app/BlueNMEA.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.2")=="1") then ui_print("Installing Drivedroid-0.9.29");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Drivedroid.apk", "/data/app/Drivedroid.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.3")=="1") then ui_print("Installing Hackerskeyboard-1.0.3.7");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Hackerskeyboard.apk", "/data/app/Hackerskeyboard.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.4")=="1") then ui_print("Installing RFAnalyzer");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/RFAnalyzer.apk", "/data/app/RFAnalyzer.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.5")=="1") then ui_print("Installing Shodan");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Shodan.apk", "/data/app/Shodan.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.6")=="1") then ui_print("Installing NetHunterStorePrivilegedExtension");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/NetHunterStorePrivilegedExtension.apk", "/data/app/NetHunterStorePrivilegedExtension.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.7")=="1") then ui_print("Installing cSploit Nightly");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/cSploit-nightly.apk", "/data/app/cSploit-nightly.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.8")=="1") then ui_print("Installing NetHunterKeX");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/NetHunterKeX.apk", "/data/app/NetHunterKeX.apk");
endif;

set_progress(0.5);

if
file_getprop("/tmp/aroma/mods.prop","item.0.1") == "1"
then
ui_print("- Installing nano binary");
run_program("/tmp/busybox", "mount", "/system");
set_perm(0, 0, 0755, "/tmp/installnano.sh");
run_program("/tmp/installnano.sh");
endif;
if
file_getprop("/tmp/aroma/mods.prop","item.0.2") == "1"
then
ui_print("- Installing Nethunter wallpapers");
run_program("/tmp/busybox", "mount", "/data");
package_extract_dir("wallpaper", "/tmp/wallpaper");
set_perm(0, 0, 0755, "/wallpaper/setwallpaper.sh");
run_program("/tmp/wallpaper/setwallpaper.sh");
unmount("/data");
endif;
if
file_getprop("/tmp/aroma/mods.prop","item.0.3") == "1"
then
ui_print("- Installing Custom Boot Animation");
run_program("/tmp/busybox", "mount", "/system");
package_extract_file("system/media/bootanimation.zip", "/system/media/bootanimation.zip");
set_perm(0, 0, 0755, "/system/media/bootanimation.zip");
unmount("/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","item.0.4") == "1"
then
ui_print("- Installing Proxdroid");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
set_perm(0, 0, 0755, "/tmp/symlinkproxmark3.sh");
run_program("/tmp/symlinkproxmark3.sh");
endif;

set_progress(0.6);
ui_print("- Checking for busybox");
run_program("/tmp/busybox", "mount", "/system");
set_perm(0, 0, 0755, "/tmp/busyboxcheck.sh");
run_program("/tmp/busyboxcheck.sh");

set_progress(0.7);
ui_print("- Symlink bootkali");
symlink("/data/data/com.offsec.nethunter/files/scripts/bootkali", "/system/bin/bootkali");
symlink("/data/data/com.offsec.nethunter/files/scripts/bootkali_login", "/system/bin/bootkali_login");
symlink("/data/data/com.offsec.nethunter/files/scripts/bootkali_bash", "/system/bin/bootkali_bash");

set_progress(0.8);
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.1")=="1") then ui_print("Installing Magisk");
package_extract_dir("magisk", "/tmp/magisk");
ui_print("Magisk may lock Aroma installation display");
ui_print("Installation will still continue. Turn off/on in a minute.");
run_program("/tmp/busybox", "unzip", "-o", "/tmp/magisk/magisk.zip", "-d", "/tmp/magisk");
run_program("/tmp/busybox", "ash", "/tmp/magisk/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/magisk/magisk.zip");
endif;

set_progress(0.9);
ui_print("- Checking for Kali Chroot in installer...this can take a while...");
package_extract_dir("data/local", "/data/local");
set_perm(0, 0, 0755, "/tmp/extractchroot.sh");
run_program("/tmp/extractchroot.sh");

unmount("/data");
unmount("/system");
delete_recursive("/tmp");
ui_print("- Finished Install");
set_progress(1);
 
updater-script system permiso

no leda permiso al system ni data/app

por eso no lo pasa ala tablet

como se lo doy los permisos
 
si es root

y es una rom modificada

solo copia la wallpaper nada ma

no copia data/app ni system ala tablet

la unica rom de kali que funciona pero no copia nada
 
set_perm(0, 0, 0755, "/system/media/bootanimation.zip")

sale esto set_perm some changes failed

pero asi

set_perm(0, 0, 0755, "/tmp/system/media/bootanimation.zip")

ya no sale

sale esto set_perm some changes failed

si hacemos funciona la rom de kali nethunter lo comparto:innocent::innocent::innocent::blush::smile:
 
set_perm(0, 0, 0755, "/system/media/bootanimation.zip")

sale esto set_perm some changes failed

pero asi

set_perm(0, 0, 0755, "/tmp/system/media/bootanimation.zip")

ya no sale

sale esto set_perm some changes failed

si hacemos funciona la rom de kali nethunter lo comparto:innocent::innocent::innocent::blush::smile:
Si falla set_perm quiere decir que el zip de instalación tiene algo corrupto o esta fallando sin el set_perm no se guardan los permisos y para evitar bootloop o que no encienda mas este deshace los cambios lo mejor seria que pruebes con otra custom ROM o con la misma Stock con el modulo de magisk

Normalmente a los errores de set_perm lo veo mas cuando instalo mods o custom ROM desde un TWRP mas viejo o no compatible
 
Bueno el set_perm no se cambia dado a que es el que principalmente coloca los permisos para que posteriormente el sistema android lo lea si estas intentando instalar vía zip creo que no funciona (No probé la instalación vía zip pero lo probaré cuando tenga un teléfono compatible aunque sea con el paquete genérico que ofrecen) por otro lado como te dije yo en mi tablet primero instale magisk y luego buscando en los módulos que ofrece magisk encontre el de NH el cual me instalo las apps mas o menos y luego una descarga de 1.7GB del root (Si es el mismo procedimiento que hiciste o bien la app de root no anda bien me paso en mi tablet con SuperSU o bien la imagen root de NH descargo mal y este de problemas) hasta acá puedo ofrecer ayuda aunque voy a intentar a instalarlo vía zip haber que pasa
 

Del blog

Es tendencia

¿Ha terminado la locura de añadir tantas cámaras a los móviles?

  • Si

  • No

  • No lo se

  • Ya me gustaría...

  • Ya te gustaría...


Los resultados solo son visibles tras votar.
Atrás
Arriba