Cómo resolver el “Status 7 Error” al instalar una ROM

12

pac rom 4.4.2

A menudo en Androdvp.com os presentamos guías para la instalación de destinados a cambiar la ROM de nuestros dispositivos, pero puede ocurrir que no todo vaya tan bien como nos cuentan las guías. A veces podemos tener algun error seguramente en la lectura de los contenidos, por simple aleatoriedad.  El “Status 7 Error” es uno de los más comunes, y saber cómo solucionarlo puede serte muy útil. Veamos pues cómo solucionarlo .

[alert type=”info”]NOTA: Este error se produce normalmente cuando vamos a instalar una ROM personalizada y tenemos un dispositivo con acceso de root, además del ClockworkMod Recovery.[/alert]

Procedimiento para solucionarlo

  • Para empezar extrae la ROM con un programa como Winzip y seguir ve a la carpeta llamada “META_INF”, luego continua a la subcarpeta “COM ” y sigue adelante para llegar a la que se llama “GOOGLE”. Dentro de este última, debes encontrar otra carpeta llamada “android”.
  • Busque el archivo en esta carpeta llamado “updater -script” y cambiale el nombre a “updater-script.doc”
  • En este punto, haga doble clic y abra el archivo renombrado. Es posible que para abrirlo necesita Microsoft Word con la última versión.
  • Al abrir el archivo selecciona todo el párrafo que comienza con “assert” (primera línea) hasta llegar a == ” coconust “) , es decir, la sexta línea del texto. Elimina el texto seleccionado y guarde el archivo.
  • Ahora dentro de la carpeta “android” abre este archivo y elimina la extensión “.doc” que cambiaste. Para ello, simplemente cambia el nombre y elimina sólo esta parte del texto.
  • Una vez que hayas hecho esto vuelve a la carpeta principal en la que extrajo el archivo zip , seleccione los tres archivos y comprime como zip con el comando “añadir a ” …… “. Rar ” De esta manera tendrás los nuevos paquetes zip al igual que antes de extraerlo.
  • Ahora coge el archivo zip que has creado e instalalo como habías hechos antes del error, y verás que ya no tendrás este problema

Nota: Si el problema continúa, trata de verificar si el error es a causa del procedimiento, es decir algo has hecho mal, así que todo al pie de la letra para evitar este tipo de error

Llegamos al final de esta pequeña guía, y esperamos que estos pequeños pasos puedan serte de ayuda en los momentos en los que te pueda ocurrir.

Comparte para apoyar la comunidad.

About Author

Hola soy onubenese, y me encanta todo lo que tenga que ver con la tecnología y el Marketing Online Antonio Ramírez

  • tobias

    man no encuentro la linea assert para borrarla que mas puede pasar

  • alixsson

    no encuentro la linea coconust “) , tengo lg g rom a montar cyanogenmod ayudaaaa y gracias

  • Kevin

    Hola Amiigo No Encuentro Donde Dise Coconust

  • King of the Trojan

    Hi
    Bueno, a los de arriba os digo que no tiene por que ser coconust lo que debéis buscar, depende de vuestro móvil.
    Por ejemplo en un HTC Tattoo os podria salir en el recovery:
    assert failed: get prop(“ro.product.device”) == “click” || getprop(“ro.build.product”) == “click” || getprop(“ro.product.board”) == “click”

    En ese caso debéis eliminar :
    get prop(“ro.product.device”) == “click”
    getprop(“ro.build.product”) == “click”
    getprop(“ro.product.board”) == “click”

    Con eso debería servir, un saludo.

    Pasaros por mi foro de seguridad e inseguridad informática: http:// hack-clean .com

  • Ravel

    Gracias, funciona bien

  • Yunior

    hola mi cel es un samsung galaxy note uno y esto es lo q me sale diganme como me daria xq no se q borrar

    assert(getprop(“ro.product.device”) == “SGH-I717” || getprop(“ro.build.product”) == “SGH-I717” ||
           getprop(“ro.product.device”) == “quincyatt” || getprop(“ro.build.product”) == “quincyatt”);
    mount(“ext4”, “EMMC”, “/dev/block/mmcblk0p24”, “/system”);
    package_extract_file(“system/bin/backuptool.sh”, “/tmp/backuptool.sh”);
    package_extract_file(“system/bin/backuptool.functions”, “/tmp/backuptool.functions”);
    set_perm(0, 0, 0777, “/tmp/backuptool.sh”);
    set_perm(0, 0, 0644, “/tmp/backuptool.functions”);
    run_program(“/tmp/backuptool.sh”, “backup”);
    unmount(“/system”);
    show_progress(0.500000, 0);
    format(“ext4”, “EMMC”, “/dev/block/mmcblk0p24”, “0”, “/system”);
    mount(“ext4”, “EMMC”, “/dev/block/mmcblk0p24”, “/system”);
    package_extract_dir(“system”, “/system”);
    symlink(“/system/xbin/su”, “/system/bin/su”);
    symlink(“Roboto-Bold.ttf”, “/system/fonts/DroidSans-Bold.ttf”);
    symlink(“Roboto-Regular.ttf”, “/system/fonts/DroidSans.ttf”);
    symlink(“busybox”, “/system/xbin/[“, “/system/xbin/[[“,
            “/system/xbin/adjtimex”, “/system/xbin/arp”, “/system/xbin/ash”,
            “/system/xbin/awk”, “/system/xbin/base64”, “/system/xbin/basename”,
            “/system/xbin/bbconfig”, “/system/xbin/blkid”, “/system/xbin/blockdev”,
            “/system/xbin/brctl”, “/system/xbin/bunzip2”, “/system/xbin/bzcat”,
            “/system/xbin/bzip2”, “/system/xbin/cal”, “/system/xbin/cat”,
            “/system/xbin/catv”, “/system/xbin/chattr”, “/system/xbin/chgrp”,
            “/system/xbin/chmod”, “/system/xbin/chown”, “/system/xbin/chroot”,
            “/system/xbin/clear”, “/system/xbin/cmp”, “/system/xbin/comm”,
            “/system/xbin/cp”, “/system/xbin/cpio”, “/system/xbin/crond”,
            “/system/xbin/crontab”, “/system/xbin/cut”, “/system/xbin/date”,
            “/system/xbin/dc”, “/system/xbin/dd”, “/system/xbin/depmod”,
            “/system/xbin/devmem”, “/system/xbin/df”, “/system/xbin/diff”,
            “/system/xbin/dirname”, “/system/xbin/dmesg”, “/system/xbin/dnsd”,
            “/system/xbin/dos2unix”, “/system/xbin/du”, “/system/xbin/echo”,
            “/system/xbin/ed”, “/system/xbin/egrep”, “/system/xbin/env”,
            “/system/xbin/expand”, “/system/xbin/expr”, “/system/xbin/false”,
            “/system/xbin/fbsplash”, “/system/xbin/fdisk”, “/system/xbin/fgrep”,
            “/system/xbin/find”, “/system/xbin/flash_lock”,
            “/system/xbin/flash_unlock”, “/system/xbin/flashcp”,
            “/system/xbin/flock”, “/system/xbin/fold”, “/system/xbin/free”,
            “/system/xbin/freeramdisk”, “/system/xbin/fstrim”, “/system/xbin/fsync”,
            “/system/xbin/ftpget”, “/system/xbin/ftpput”, “/system/xbin/fuser”,
            “/system/xbin/getopt”, “/system/xbin/grep”, “/system/xbin/groups”,
            “/system/xbin/gunzip”, “/system/xbin/gzip”, “/system/xbin/halt”,
            “/system/xbin/head”, “/system/xbin/hexdump”, “/system/xbin/id”,
            “/system/xbin/ifconfig”, “/system/xbin/inetd”, “/system/xbin/insmod”,
            “/system/xbin/install”, “/system/xbin/ionice”, “/system/xbin/iostat”,
            “/system/xbin/ip”, “/system/xbin/kill”, “/system/xbin/killall”,
            “/system/xbin/killall5”, “/system/xbin/less”, “/system/xbin/ln”,
            “/system/xbin/losetup”, “/system/xbin/ls”, “/system/xbin/lsattr”,
            “/system/xbin/lsmod”, “/system/xbin/lsusb”, “/system/xbin/lzcat”,
            “/system/xbin/lzma”, “/system/xbin/lzop”, “/system/xbin/lzopcat”,
            “/system/xbin/man”, “/system/xbin/md5sum”, “/system/xbin/mesg”,
            “/system/xbin/mkdir”, “/system/xbin/mke2fs”, “/system/xbin/mkfifo”,
            “/system/xbin/mkfs.ext2”, “/system/xbin/mkfs.vfat”,
            “/system/xbin/mknod”, “/system/xbin/mkswap”, “/system/xbin/mktemp”,
            “/system/xbin/modinfo”, “/system/xbin/modprobe”, “/system/xbin/more”,
            “/system/xbin/mount”, “/system/xbin/mountpoint”, “/system/xbin/mpstat”,
            “/system/xbin/mv”, “/system/xbin/nanddump”, “/system/xbin/nandwrite”,
            “/system/xbin/nbd-client”, “/system/xbin/netstat”, “/system/xbin/nice”,
            “/system/xbin/nohup”, “/system/xbin/nslookup”, “/system/xbin/ntpd”,
            “/system/xbin/od”, “/system/xbin/patch”, “/system/xbin/pgrep”,
            “/system/xbin/pidof”, “/system/xbin/ping”, “/system/xbin/pipe_progress”,
            “/system/xbin/pkill”, “/system/xbin/pmap”, “/system/xbin/poweroff”,
            “/system/xbin/printenv”, “/system/xbin/printf”, “/system/xbin/ps”,
            “/system/xbin/pstree”, “/system/xbin/pwd”, “/system/xbin/pwdx”,
            “/system/xbin/rdev”, “/system/xbin/readlink”, “/system/xbin/realpath”,
            “/system/xbin/renice”, “/system/xbin/reset”, “/system/xbin/resize”,
            “/system/xbin/rev”, “/system/xbin/rm”, “/system/xbin/rmdir”,
            “/system/xbin/rmmod”, “/system/xbin/route”, “/system/xbin/run-parts”,
            “/system/xbin/rx”, “/system/xbin/sed”, “/system/xbin/seq”,
            “/system/xbin/setconsole”, “/system/xbin/setserial”,
            “/system/xbin/setsid”, “/system/xbin/sh”, “/system/xbin/sha1sum”,
            “/system/xbin/sha256sum”, “/system/xbin/sha3sum”,
            “/system/xbin/sha512sum”, “/system/xbin/sleep”, “/system/xbin/sort”,
            “/system/xbin/split”, “/system/xbin/stat”, “/system/xbin/strings”,
            “/system/xbin/stty”, “/system/xbin/sum”, “/system/xbin/swapoff”,
            “/system/xbin/swapon”, “/system/xbin/sync”, “/system/xbin/sysctl”,
            “/system/xbin/tac”, “/system/xbin/tail”, “/system/xbin/tar”,
            “/system/xbin/taskset”, “/system/xbin/tee”, “/system/xbin/telnet”,
            “/system/xbin/telnetd”, “/system/xbin/test”, “/system/xbin/tftp”,
            “/system/xbin/tftpd”, “/system/xbin/time”, “/system/xbin/timeout”,
            “/system/xbin/top”, “/system/xbin/touch”, “/system/xbin/tr”,
            “/system/xbin/traceroute”, “/system/xbin/true”, “/system/xbin/ttysize”,
            “/system/xbin/tune2fs”, “/system/xbin/umount”, “/system/xbin/uname”,
            “/system/xbin/uncompress”, “/system/xbin/unexpand”, “/system/xbin/uniq”,
            “/system/xbin/unix2dos”, “/system/xbin/unlzma”, “/system/xbin/unlzop”,
            “/system/xbin/unxz”, “/system/xbin/unzip”, “/system/xbin/uptime”,
            “/system/xbin/usleep”, “/system/xbin/uudecode”, “/system/xbin/uuencode”,
            “/system/xbin/vi”, “/system/xbin/watch”, “/system/xbin/wc”,
            “/system/xbin/wget”, “/system/xbin/which”, “/system/xbin/whoami”,
            “/system/xbin/xargs”, “/system/xbin/xz”, “/system/xbin/xzcat”,
            “/system/xbin/yes”,
            “/system/xbin/zcat”);
    symlink(“logcat”, “/system/bin/lolcat”);
    symlink(“mksh”, “/system/bin/sh”);
    symlink(“toolbox”, “/system/bin/cat”, “/system/bin/chmod”,
            “/system/bin/chown”, “/system/bin/cmp”, “/system/bin/cp”,
            “/system/bin/date”, “/system/bin/dd”, “/system/bin/df”,
            “/system/bin/dmesg”, “/system/bin/du”, “/system/bin/getevent”,
            “/system/bin/getprop”, “/system/bin/grep”, “/system/bin/hd”,
            “/system/bin/id”, “/system/bin/ifconfig”, “/system/bin/iftop”,
            “/system/bin/insmod”, “/system/bin/ioctl”, “/system/bin/ionice”,
            “/system/bin/kill”, “/system/bin/ln”, “/system/bin/log”,
            “/system/bin/ls”, “/system/bin/lsmod”, “/system/bin/lsof”,
            “/system/bin/md5”, “/system/bin/mkdir”, “/system/bin/mount”,
            “/system/bin/mv”, “/system/bin/nandread”, “/system/bin/netstat”,
            “/system/bin/newfs_msdos”, “/system/bin/notify”, “/system/bin/printenv”,
            “/system/bin/ps”, “/system/bin/r”, “/system/bin/reboot”,
            “/system/bin/renice”, “/system/bin/restart”, “/system/bin/rm”,
            “/system/bin/rmdir”, “/system/bin/rmmod”, “/system/bin/route”,
            “/system/bin/schedtop”, “/system/bin/sendevent”,
            “/system/bin/setconsole”, “/system/bin/setprop”, “/system/bin/sleep”,
            “/system/bin/smd”, “/system/bin/start”, “/system/bin/stop”,
            “/system/bin/sync”, “/system/bin/top”, “/system/bin/touch”,
            “/system/bin/umount”, “/system/bin/uptime”, “/system/bin/vmstat”,
            “/system/bin/watchprops”,
            “/system/bin/wipe”);
    set_perm_recursive(0, 0, 0755, 0644, “/system”);
    set_perm_recursive(0, 0, 0755, 0755, “/system/addon.d”);
    set_perm_recursive(0, 2000, 0755, 0755, “/system/bin”);
    set_perm(0, 3003, 02750, “/system/bin/netcfg”);
    set_perm(0, 3004, 02755, “/system/bin/ping”);
    set_perm(0, 2000, 06750, “/system/bin/run-as”);
    set_perm(1002, 1002, 0440, “/system/etc/dbus.conf”);
    set_perm(1014, 2000, 0550, “/system/etc/dhcpcd/dhcpcd-run-hooks”);
    set_perm_recursive(0, 2000, 0755, 0755, “/system/etc/init.d”);
    set_perm(0, 0, 0755, “/system/etc/init.d”);
    set_perm(0, 2000, 0550, “/system/etc/init.goldfish.sh”);
    set_perm_recursive(0, 0, 0755, 0555, “/system/etc/ppp”);
    set_perm_recursive(0, 2000, 0755, 0644, “/system/vendor”);
    set_perm(0, 0, 0644, “/system/vendor/etc/audio_effects.conf”);
    set_perm(0, 0, 0644, “/system/vendor/firmware/libpn544_fw.so”);
    set_perm(0, 0, 0644, “/system/vendor/lib/libbt-vendor.so”);
    set_perm_recursive(0, 2000, 0755, 0755, “/system/xbin”);
    set_perm(0, 0, 06755, “/system/xbin/librank”);
    set_perm(0, 0, 06755, “/system/xbin/procmem”);
    set_perm(0, 0, 06755, “/system/xbin/procrank”);
    set_perm(0, 0, 06755, “/system/xbin/su”);
    show_progress(0.200000, 0);
    show_progress(0.200000, 10);
    package_extract_file(“system/bin/backuptool.sh”, “/tmp/backuptool.sh”);
    package_extract_file(“system/bin/backuptool.functions”, “/tmp/backuptool.functions”);
    set_perm(0, 0, 0777, “/tmp/backuptool.sh”);
    set_perm(0, 0, 0644, “/tmp/backuptool.functions”);
    run_program(“/tmp/backuptool.sh”, “restore”);
    delete(“/system/bin/backuptool.sh”);
    delete(“/system/bin/backuptool.functions”);
    show_progress(0.200000, 10);
    package_extract_file(“boot.img”, “/dev/block/mmcblk0p8”);
    show_progress(0.100000, 0);
    unmount(“/system”);

  • yunior

    hola mi hermano a mi n o me sale nada de eso el mio es un samnsung note mira el codigo de mi rom y dime q borro
    assert(getprop(“ro.product.device”) == “SGH-I717” || getprop(“ro.build.product”) == “SGH-I717” ||
    getprop(“ro.product.device”) == “quincyatt” || getprop(“ro.build.product”) == “quincyatt”);
    mount(“ext4”, “EMMC”, “/dev/block/mmcblk0p24”, “/system”);
    package_extract_file(“system/bin/backuptool.sh”, “/tmp/backuptool.sh”);
    package_extract_file(“system/bin/backuptool.functions”, “/tmp/backuptool.functions”);
    set_perm(0, 0, 0777, “/tmp/backuptool.sh”);
    set_perm(0, 0, 0644, “/tmp/backuptool.functions”);
    run_program(“/tmp/backuptool.sh”, “backup”);
    unmount(“/system”);
    show_progress(0.500000, 0);
    format(“ext4”, “EMMC”, “/dev/block/mmcblk0p24”, “0”, “/system”);
    mount(“ext4”, “EMMC”, “/dev/block/mmcblk0p24”, “/system”);
    package_extract_dir(“system”, “/system”);
    symlink(“/system/xbin/su”, “/system/bin/su”);
    symlink(“Roboto-Bold.ttf”, “/system/fonts/DroidSans-Bold.ttf”);
    symlink(“Roboto-Regular.ttf”, “/system/fonts/DroidSans.ttf”);
    symlink(“busybox”, “/system/xbin/[“, “/system/xbin/[[“,
    “/system/xbin/adjtimex”, “/system/xbin/arp”, “/system/xbin/ash”,
    “/system/xbin/awk”, “/system/xbin/base64”, “/system/xbin/basename”,
    “/system/xbin/bbconfig”, “/system/xbin/blkid”, “/system/xbin/blockdev”,
    “/system/xbin/brctl”, “/system/xbin/bunzip2”, “/system/xbin/bzcat”,
    “/system/xbin/bzip2”, “/system/xbin/cal”, “/system/xbin/cat”,
    “/system/xbin/catv”, “/system/xbin/chattr”, “/system/xbin/chgrp”,
    “/system/xbin/chmod”, “/system/xbin/chown”, “/system/xbin/chroot”,
    “/system/xbin/clear”, “/system/xbin/cmp”, “/system/xbin/comm”,
    “/system/xbin/cp”, “/system/xbin/cpio”, “/system/xbin/crond”,
    “/system/xbin/crontab”, “/system/xbin/cut”, “/system/xbin/date”,
    “/system/xbin/dc”, “/system/xbin/dd”, “/system/xbin/depmod”,
    “/system/xbin/devmem”, “/system/xbin/df”, “/system/xbin/diff”,
    “/system/xbin/dirname”, “/system/xbin/dmesg”, “/system/xbin/dnsd”,

  • ricardo

    hola como estas amigo
    no puedo remarcar no puedo borrar

  • Edwin

    no me sale la linea assert empieza desde
    ui_print(” “);
    ui_print(“Installing DN4 v2.1 by E-Team”);
    ui_print(” “);
    ui_print(” – Formatting /system”);
    unmount(“/system”);
    format(“ext4”, “EMMC”, “/dev/block/mmcblk0p13”, “0”, “/system”);
    mount(“ext4”, “EMMC”, “/dev/block/mmcblk0p12”, “/cache”);
    delete_recursive(“/cache”);
    mount(“ext4”, “EMMC”, “/dev/block/mmcblk0p16”, “/data”);
    delete_recursive(“/data/dalvik-cache”);
    delete_recursive(“/dalvik/dalvik-cache”);
    delete(“/data/data/com.android.providers.settings/databases/settings.db”);
    delete(“/data/data/com.android.providers.settings/databases/settings.db-shw”);
    delete(“/data/data/com.android.providers.settings/databases/settings.db-wal”);
    delete_recursive(“/data/data/com.android.mms”);
    delete_recursive(“/data/data/com.sec.android.emergencylauncher”);
    delete_recursive(“//data/data/com.sec.android.app.music”);
    package_extract_dir(“data”, “/data”);
    set_perm_recursive(1000, 1000, 0771, 0644, “/data/cfw”);
    ui_print(” – Extracting apps to data”);
    run_program(“/sbin/mount”, “/system”);
    show_progress(1.34, 90);
    ui_print(” – Extracting ROM files”);
    package_extract_dir(“system”, “/system”);
    package_extract_file(“eteam/floating_message.sh”, “/tmp/floating_message.sh”);
    set_perm(0, 0, 0777, “/tmp/floating_message.sh”);
    run_program(“/tmp/floating_message.sh”);
    delete(“/tmp/floating_message.sh”);
    ui_print(” – Symlinking files”);
    set_perm_recursive(0, 2000, 0755, 0755, “/system/xbin”);
    set_perm(0, 1000, 0755, “/system/xbin/busybox”);
    symlink(“/system/xbin/busybox”, “/system/bin/busybox”);
    run_program(“/system/xbin/busybox”, “–install”, “-s”, “/system/xbin”);
    symlink(“libGLESv2.so”, “/system/lib/libGLESv3.so”);
    symlink(“mksh”, “/system/bin/sh”);
    symlink(“Roboto-Bold.ttf”, “/system/fonts/DroidSans-Bold.ttf”);
    symlink(“Roboto-Regular.ttf”, “/system/fonts/DroidSans.ttf”);
    symlink(“toolbox”, “/system/bin/cat”);
    symlink(“toolbox”, “/system/bin/chcon”);
    symlink(“toolbox”, “/system/bin/chmod”);
    symlink(“toolbox”, “/system/bin/chown”);
    symlink(“toolbox”, “/system/bin/clear”);
    symlink(“toolbox”, “/system/bin/cmp”);
    symlink(“toolbox”, “/system/bin/cp”);
    symlink(“toolbox”, “/system/bin/date”);
    symlink(“toolbox”, “/system/bin/dd”);
    symlink(“toolbox”, “/system/bin/df”);
    symlink(“toolbox”, “/system/bin/dmesg”);
    symlink(“toolbox”, “/system/bin/du”);
    symlink(“toolbox”, “/system/bin/freshsebool”);
    symlink(“toolbox”, “/system/bin/getenforce”);
    symlink(“toolbox”, “/system/bin/getevent”);
    symlink(“toolbox”, “/system/bin/getprop”);
    symlink(“toolbox”, “/system/bin/getsebool”);
    symlink(“toolbox”, “/system/bin/grep”);
    symlink(“toolbox”, “/system/bin/hd”);
    symlink(“toolbox”, “/system/bin/id”);
    symlink(“toolbox”, “/system/bin/ifconfig”);
    symlink(“toolbox”, “/system/bin/iftop”);
    symlink(“toolbox”, “/system/bin/insmod”);
    symlink(“toolbox”, “/system/bin/ioctl”);
    symlink(“toolbox”, “/system/bin/ionice”);
    symlink(“toolbox”, “/system/bin/kill”);
    symlink(“toolbox”, “/system/bin/ln”);
    symlink(“toolbox”, “/system/bin/load_policy”);
    symlink(“toolbox”, “/system/bin/log”);
    symlink(“toolbox”, “/system/bin/ls”);
    symlink(“toolbox”, “/system/bin/lsmod”);
    symlink(“toolbox”, “/system/bin/lsof”);
    symlink(“toolbox”, “/system/bin/md5”);
    symlink(“toolbox”, “/system/bin/mkdir”);
    symlink(“toolbox”, “/system/bin/mkswap”);
    symlink(“toolbox”, “/system/bin/mount”);
    symlink(“toolbox”, “/system/bin/mv”);
    symlink(“toolbox”, “/system/bin/nandread”);
    symlink(“toolbox”, “/system/bin/netstat”);
    symlink(“toolbox”, “/system/bin/newfs_msdos”);
    symlink(“toolbox”, “/system/bin/notify”);
    symlink(“toolbox”, “/system/bin/printenv”);
    symlink(“toolbox”, “/system/bin/ps”);
    symlink(“toolbox”, “/system/bin/readlink”);
    symlink(“toolbox”, “/system/bin/renice”);
    symlink(“toolbox”, “/system/bin/restorecon”);
    symlink(“toolbox”, “/system/bin/rm”);
    symlink(“toolbox”, “/system/bin/rmdir”);
    symlink(“toolbox”, “/system/bin/rmmod”);
    symlink(“toolbox”, “/system/bin/route”);
    symlink(“toolbox”, “/system/bin/runcon”);
    symlink(“toolbox”, “/system/bin/schedtop”);
    symlink(“toolbox”, “/system/bin/sendevent”);
    symlink(“toolbox”, “/system/bin/setconsole”);
    symlink(“toolbox”, “/system/bin/setenforce”);
    symlink(“toolbox”, “/system/bin/setprop”);
    symlink(“toolbox”, “/system/bin/setsebool”);
    symlink(“toolbox”, “/system/bin/sleep”);
    symlink(“toolbox”, “/system/bin/smd”);
    symlink(“toolbox”, “/system/bin/start”);
    symlink(“toolbox”, “/system/bin/stop”);
    symlink(“toolbox”, “/system/bin/swapoff”);
    symlink(“toolbox”, “/system/bin/swapon”);
    symlink(“toolbox”, “/system/bin/sync”);
    symlink(“toolbox”, “/system/bin/top”);
    symlink(“toolbox”, “/system/bin/touch”);
    symlink(“toolbox”, “/system/bin/umount”);
    symlink(“toolbox”, “/system/bin/uptime”);
    symlink(“toolbox”, “/system/bin/vmstat”);
    symlink(“toolbox”, “/system/bin/watchprops”);
    symlink(“toolbox”, “/system/bin/wipe”);
    ui_print(” – Fixing permissions”);
    set_metadata_recursive(“/system”, “uid”, 0, “gid”, 0, “dmode”, 0755, “fmode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata_recursive(“/system/bin”, “uid”, 0, “gid”, 2000, “dmode”, 0755, “fmode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/bin/app_process”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:zygote_exec:s0”);
    set_metadata(“/system/bin/auditd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:auditd_exec:s0”);
    set_metadata(“/system/bin/bintvoutservice”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:bintvoutservice_exec:s0”);
    set_metadata(“/system/bin/bootanimation”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:bootanimation_exec:s0”);
    set_metadata(“/system/bin/bugreport”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:bugreport_exec:s0”);
    set_metadata(“/system/bin/charon”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:charon_exec:s0”);
    set_metadata(“/system/bin/clatd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:clatd_exec:s0”);
    set_metadata(“/system/bin/connfwexe”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:connfwexe_exec:s0”);
    set_metadata(“/system/bin/createsystemfile”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:createsystemfile_exec:s0”);
    set_metadata(“/system/bin/debuggerd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:debuggerd_exec:s0”);
    set_metadata(“/system/bin/dhcpcd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:dhcp_exec:s0”);
    set_metadata(“/system/bin/dnsmasq”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:dnsmasq_exec:s0”);
    set_metadata(“/system/bin/drmserver”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:drmserver_exec:s0”);
    set_metadata(“/system/bin/drsd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:drsd_exec:s0”);
    set_metadata(“/system/bin/dumpstate”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:dumpstate_exec:s0”);
    set_metadata(“/system/bin/dumpsys”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:dumpsys_exec:s0”);
    set_metadata(“/system/bin/hostapd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:hostapd_exec:s0”);
    set_metadata(“/system/bin/icd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:icd_exec:s0”);
    set_metadata(“/system/bin/immvibed”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:immvibed_exec:s0”);
    set_metadata(“/system/bin/installd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:installd_exec:s0”);
    set_metadata(“/system/bin/ipruleset”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:ipruleset_exec:s0”);
    set_metadata(“/system/bin/iptables”, “uid”, 0, “gid”, 1000, “mode”, 0750, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/bin/keystore”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:keystore_exec:s0”);
    set_metadata(“/system/bin/logwrapper”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:logwrapper_exec:s0”);
    set_metadata(“/system/bin/mcDriverDaemon”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:mobicoredaemon_exec:s0”);
    set_metadata(“/system/bin/mdnsd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:mdnsd_exec:s0”);
    set_metadata(“/system/bin/mediaserver”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:mediaserver_exec:s0”);
    set_metadata(“/system/bin/mksh”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:shell_exec:s0”);
    set_metadata(“/system/bin/mtpd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:mtp_exec:s0”);
    set_metadata(“/system/bin/netcfg”, “uid”, 0, “gid”, 3003, “mode”, 02750, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/bin/netd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:netd_exec:s0”);
    set_metadata(“/system/bin/npsmobex”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:mobexdaemon_exec:s0”);
    set_metadata(“/system/bin/ping”, “uid”, 0, “gid”, 0, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:ping_exec:s0”);
    set_metadata(“/system/bin/pppd”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:ppp_exec:s0”);
    set_metadata(“/system/bin/prepare_param.sh”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:prepare_param_sh_file:s0”);
    set_metadata(“/system/bin/racoon”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:racoon_exec:s0”);
    set_metadata(“/system/bin/rild”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:rild_exec:s0”);
    set_metadata(“/system/bin/run-as”, “uid”, 0, “gid”, 2000, “mode”, 0750, “capabilities”, 0x0, “selabel”, “u:object_r:runas_exec:s0”);
    set_metadata(“/system/bin/samsungpowersoundplay”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:samsungpowersoundplay_exec:s0”);
    set_metadata(“/system/bin/scranton_RD”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:playready_exec:s0”);
    set_metadata(“/system/bin/sdcard”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:sdcardd_exec:s0”);
    set_metadata(“/system/bin/secure_storage_daemon”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:secure_storage_exec:s0”);
    set_metadata(“/system/bin/servicemanager”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:servicemanager_exec:s0”);
    set_metadata(“/system/bin/smdexe”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:smdexe_exec:s0”);
    set_metadata(“/system/bin/ss_conn_daemon”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:ss_conn_daemon_exec:s0”);
    set_metadata(“/system/bin/surfaceflinger”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:surfaceflinger_exec:s0”);
    set_metadata(“/system/bin/tc”, “uid”, 0, “gid”, 1000, “mode”, 0750, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/bin/tima_dump_log”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:tima_dump_exec:s0”);
    set_metadata(“/system/bin/vold”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:vold_exec:s0”);
    set_metadata(“/system/bin/wpa_supplicant”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:wpa_exec:s0”);
    set_metadata_recursive(“/system/etc/bluetooth”, “uid”, 1002, “gid”, 1002, “dmode”, 0755, “fmode”, 0440, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/etc/bluetooth/auto_pair_devlist.conf”, “uid”, 0, “gid”, 0, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/etc/bluetooth/bt_did.conf”, “uid”, 0, “gid”, 0, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/etc/bluetooth/bt_stack.conf”, “uid”, 0, “gid”, 0, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata_recursive(“/system/etc/dhcpcd”, “uid”, 0, “gid”, 0, “dmode”, 0755, “fmode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:dhcp_system_file:s0”);
    set_metadata(“/system/etc/dhcpcd/dhcpcd-run-hooks”, “uid”, 1014, “gid”, 2000, “mode”, 0550, “capabilities”, 0x0, “selabel”, “u:object_r:dhcp_system_file:s0”);
    set_metadata_recursive(“/system/etc/ppp”, “uid”, 0, “gid”, 0, “dmode”, 0755, “fmode”, 0555, “capabilities”, 0x0, “selabel”, “u:object_r:ppp_system_file:s0”);
    set_metadata_recursive(“/system/lib”, “uid”, 0, “gid”, 0, “dmode”, 0755, “fmode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_library_file:s0”);
    set_metadata_recursive(“/system/vendor”, “uid”, 0, “gid”, 2000, “dmode”, 0755, “fmode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/etc”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/etc/nxp”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/etc/nxp/BargeIn”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/etc/nxp/mVoIP”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/etc/nxp/mVoIPFMC”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/etc/nxp/mVoIPSec”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/firmware”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/lib”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata_recursive(“/system/vendor/lib/drm”, “uid”, 0, “gid”, 2000, “dmode”, 0755, “fmode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/lib/drm/libdrmwvmplugin.so”, “uid”, 0, “gid”, 0, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata_recursive(“/system/vendor/lib/hw”, “uid”, 0, “gid”, 2000, “dmode”, 0755, “fmode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata_recursive(“/system/vendor/lib/mediadrm”, “uid”, 0, “gid”, 2000, “dmode”, 0755, “fmode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/lib/mediadrm/libwvdrmengine.so”, “uid”, 0, “gid”, 0, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/media”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/pittpatt”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/pittpatt/models”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/pittpatt/models/detection”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.7”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.6”, “uid”, 0, “gid”, 2000, “mode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata_recursive(“/system/vendor/pittpatt/models/recognition”, “uid”, 0, “gid”, 2000, “dmode”, 0755, “fmode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N.bin”, “uid”, 0, “gid”, 0, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata_recursive(“/system/xbin”, “uid”, 0, “gid”, 2000, “dmode”, 0755, “fmode”, 0755, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0″);
    ui_print(” – Setting Permissions for Agni Kernel 4.3.4… “);
    set_metadata_recursive(“/system/etc/init.d”, “uid”, 0, “gid”, 2000, “dmode”, 0777, “fmode”, 0777, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/lib/egl/libEGL_mali.so”, “uid”, 0, “gid”, 2000, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/lib/egl/libGLESv1_CM_mali.so”, “uid”, 0, “gid”, 2000, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/lib/egl/libGLESv2_mali.so”, “uid”, 0, “gid”, 2000, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/lib/libMali.so”, “uid”, 0, “gid”, 2000, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0”);
    set_metadata(“/system/lib/libUMP.so”, “uid”, 0, “gid”, 2000, “mode”, 0644, “capabilities”, 0x0, “selabel”, “u:object_r:system_file:s0″);
    ui_print(” – Extracting reseter for agni kernel… “);
    package_extract_file(“reseter/AGNi_reset_oc-uv_on_boot_failure.zip”, “/data/media/0/AGNi_reset_oc-uv_on_boot_failure.zip”);
    set_perm(0, 0, 0777, “/data/media/0/AGNi_reset_oc-uv_on_boot_failure.zip”);
    ui_print(” – Updating status”);
    run_program(“/sbin/sh”, “-c”, “cd /system && find . -exec touch {} \;”);
    package_extract_file(“boot.img”, “/dev/block/mmcblk0p8″);
    ui_print(” – Tuning file systems”);
    run_program(“/sbin/mount”, “/data”);
    run_program(“/sbin/mount”, “/cache”);
    run_program(“/sbin/fstrim”, “-v”, “/system”);
    run_program(“/sbin/fstrim”, “-v”, “/data”);
    run_program(“/sbin/fstrim”, “-v”, “/cache”);
    unmount(“/data”);
    unmount(“/cache”);
    unmount(“/system”);
    ui_print(” “);
    ui_print(“DN4 v2.1 flashed with success”);
    run_program(“/sbin/busybox”, “sync”);

  • cesar

    hola, sigo tus pasos y no me sale en el documento la palabra coconust, la primera del inicio assertsi pero esta no asi que no se hasta donde seleccionar,gracias

  • Mega Windows CX

    no me aparece esas lineas, entonces como hago?

  • Carlos Tarazona

    No tengo la lineas que has dicho en el post, que puedo hacer?