La Cocina de ROMs Tutoriales, consultas, etc... sobre la Cocina de Roms

Respuesta
 
Herramientas
  #1  
Viejo 30/01/16, 10:17:20
Array

[xs_avatar]
allurba allurba no está en línea
Cocinero veterano
 
Fecha de registro: abr 2012
Localización: Vilaverd (Tarragona)
Mensajes: 1,547
Modelo de smartphone: Pixel 7a
Tu operador: O2
Ayuda META-INF para Huawei G8 y TWRP

Hola, soy nuevo en el tema, he cocinado mi primera rom, pero tengo un problema con el META-INF, me da error al principio con TWRP.

Como es un terminal nuevo, aún no hay roms y no puedo mirar el META-INF de otra rom.

La partición del system del Huawei G8 es esta:

/dev/block/mmcblk0p24

He echo lo siguiente i da error:

show_progress(0.1,, 0);
ui_print("================================");
ui_print("= G8-B170 =");
ui_print("== por allurba ==");
ui_print("================================");
format("ext4", "EMMC", "/dev/block/mmcblk0p24", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p24", "/system");
ui_print("Actualizando -system-...");
show_progress(0.5,, 18);
package_extract_dir("system",", ""/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
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/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
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/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
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");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/touchinput");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/playback");
symlink("toolbox", "/system/bin/du");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
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_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");


Que hago mal??? estoy super perdido.

He encontrado un update original de huawei g8 y esta diferente, pero tampoco me funciona.
Es este:

ui_print("Now hota starting...");
ui_print("Verifying current system...");
mount("vfat","EMMC","/dev/block/bootdevice/by-name/modem", "/firmware");
mount("ext4","EMMC","/dev/block/bootdevice/by-name/cache", "/cache");
mount("ext4","EMMC","/dev/block/bootdevice/by-name/system", "/system");
mount("ext4","EMMC","/dev/block/bootdevice/by-name/cust", "/cust");
mount("ext4","EMMC","/dev/block/bootdevice/by-name/userdata", "/data");
mount("ext4","EMMC","/dev/block/bootdevice/by-name/persist", "/persist");
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "HUAWEI/RIO-L01/hwRIO-L01:5.1/HuaweiRIO-L01/C432B140:user/release-keys" ||
file_getprop("/system/build.prop", "ro.build.fingerprint") == "HUAWEI/RIO-L01/hwRIO-L01:5.1/HuaweiRIO-L01/C432B160:user/release-keys");
ui_print("Checking patch files...");
show_progress(0.200000, 0);
set_progress(0.001499);
assert(apply_patch_check("/cust/hw/eu/xml/hw_launcher_default_workspace.xml", "777f317bfce5b29c0b6e33bcda57b9c6b72929d2", "90fd06e8bdf80af5b5a1cce96dd24cb7809753f4"));
set_progress(0.002998);
assert(apply_patch_check("/firmware/image/widevine.mdt", "4b8f4606042ce439d440fb631ce097c158207bdd", "5674c5734710a4612502860faa89e71da1941cb8"));
set_progress(0.004497);
assert(apply_patch_check("/firmware/image/fusetool.b03", "727b2f576055814b7ceadffc35fced012bc571ee", "1be92f657322129dc767d28625fbea97fae84e0a"));
set_progress(0.005997);
assert(apply_patch_check("/firmware/image/modem.b13", "6c602c0c0d93792422cdb10e6ea0b1ccee50e34f", "ebd5b295ddeb7ebc207930a037ddc81623025445"));
set_progress(0.007496);
assert(apply_patch_check("/firmware/image/widevine.b01", "f481301bc0b014ddcc02a407f8caf572bc856bb3", "6d1dcdf34f87973891ed295061c4271dd27cf47b"));
set_progress(0.008995);
assert(apply_patch_check("/firmware/image/signtool.b01", "888899707b0710a4cef235f8f51a3bbc7d48d159", "d8df948fe13af3bf477b7ccd6d3798b6e2edf0fb"));
set_progress(0.010494);
assert(apply_patch_check("/firmware/image/signtool.b03", "3873c5695a351e580263adb9915e72c2f8758fd3", "bb873832c0448d6b3873a19cee9fb84e6f20f84f"));
set_progress(0.011994);
assert(apply_patch_check("/firmware/image/modem.b09", "219757c58d1300fa9c7b2b65d5dc5c32b2bdfd53", "ad4e416cf961dcd985560455d1e0f881a95ee2c2"));
set_progress(0.013493);
assert(apply_patch_check("/firmware/image/fingerpr.b02", "566ebc9999d395a5512dc59e86f2adb124460abf", "525bf70f4c1f0d9d6e136ac0b7547b3e80d3e56b"));
set_progress(0.014992);
assert(apply_patch_check("/firmware/image/cmnlib.mdt", "35e2639dbfa1cc32f168158f37cb6e78b9fe6272", "06a37adf6c22e534f520c5704f3ac38667bfc01d"));
set_progress(0.016491);
assert(apply_patch_check("/firmware/image/modem.b01", "59e231b6d10d9c91dcb5decdd1fd90351ac7d80d", "19656d0b309ef3d3899284552e59bcc62645116e"));
set_progress(0.017991);
assert(apply_patch_check("/firmware/image/keymaste.b01", "ea1226eae0f85ac97d96f4c94883c5d12e380bc9", "25db01aa3f35f78ef5b1073e4e85f6700ea4157c"));
set_progress(0.019490);
assert(apply_patch_check("/firmware/image/modem.b00", "d12d7f657a5cc2f17f508e9c97fe6ace814effb1", "3eb828b518c00c1cf8bfd0eb0b077776a6dd790a"));
set_progress(0.020989);
assert(apply_patch_check("/firmware/image/keymaste.mdt", "dd58a8811a2ef14161872ed9112d1597418086f2", "fca539f9f66d3a6e7a12618ceda8ca539b9a15ce"));
set_progress(0.022488);
assert(apply_patch_check("/firmware/image/playread.mdt", "d1bc2d776c237691e049b258a7b4a4c3f5514cca", "81d9465c9955ad6d118a88d43692eaebcbbd2cc1"));
set_progress(0.023988);
assert(apply_patch_check("/firmware/image/modem.b05", "e2af482664d671d2bddf9ad50cb546ccfd416fab", "9aae9af8b21c293fcbecbd648b8a393ebed97ffa"));
set_progress(0.025487);
assert(apply_patch_check("/firmware/image/secure_s.b02", "00e124abcdb7439ce34b784cf2ca59fc9ce4aa2a", "0d9d125c793bcecb2af2667f5d74b3991fc568ea"));
set_progress(0.026986);
assert(apply_patch_check("/firmware/image/modem.b22", "d53160ba35c18313d67234d5a8eb0dfb40d1d5e5", "fbec4c8d320fcd42fcfe6b77cf3509f3f4e345d6"));
set_progress(0.028485);
assert(apply_patch_check("/firmware/image/fingerpr.b00", "dca0838a94130d51addc41e636832521913b3c34", "3c835789b91444d25a8671bb50c6b4d822d56647"));
set_progress(0.029985);
assert(apply_patch_check("/firmware/image/signtool.mdt", "e92c8db465285a286df01da15602613ad7f04a85", "7720f61437961233e74f45cb97df9205fb9f51fa"));
set_progress(0.031484);........................... .................................................. .................................Es mas largo pero lo corto aqui.

Me podeis guiar un poquito????

Saludos
Responder Con Cita


  #2  
Viejo 30/01/16, 11:48:45
Array

[xs_avatar]
allurba allurba no está en línea
Cocinero veterano
 
Fecha de registro: abr 2012
Localización: Vilaverd (Tarragona)
Mensajes: 1,547
Modelo de smartphone: Pixel 7a
Tu operador: O2
Me da el error este:

Error executing updater binary in zip
Responder Con Cita
  #3  
Viejo 30/01/16, 23:49:18
Array

[xs_avatar]
Juanro49 Juanro49 no está en línea
Colaborador/a
 
Fecha de registro: ene 2013
Localización: Extremadura
Mensajes: 11,585
Modelo de smartphone: Xperia 10 Plus
Tu operador: Yoigo
 Cita: Originalmente Escrito por allurba Ver Mensaje
Me da el error este:

Error executing updater binary in zip
Eso me pasa a veces en algunas roms del G7, cambia el update binary por otro y deberia funcionar
__________________
Consulta como ver TV y leer noticias desde tu movil en una sola app con FeedTV. Mis artículos en Plume.
Responder Con Cita
  #4  
Viejo 31/01/16, 05:22:23
Array

[xs_avatar]
allurba allurba no está en línea
Cocinero veterano
 
Fecha de registro: abr 2012
Localización: Vilaverd (Tarragona)
Mensajes: 1,547
Modelo de smartphone: Pixel 7a
Tu operador: O2
 Cita: Originalmente Escrito por Juanro49 Ver Mensaje
Eso me pasa a veces en algunas roms del G7, cambia el update binary por otro y deberia funcionar
Ya cambiare el update binary y probare.
Graciass


Enviado desde mi HUAWEI RIO-L01 mediante Tapatalk
Responder Con Cita
Gracias de parte de:
Respuesta

Estás aquí
Regresar   Portal | Indice > La Cocina de ROMs > La Cocina de ROMs



Hora actual: 01:03:14 (GMT +2)



User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.

Contactar por correo / Contact by mail / 邮件联系 /