Estoy intentando reparar un dispositivo Moto G (XT1008, desbloqueado).
Al arrancar normalmente, termina el splash de motorola y aparece el escritorio de Android durante un segundo, luego aparecen un montón de pop ups informando que las aplicaciones dejaron de funcionar. Al intentar hacer cualquier cosa (abrir el menú, la configuración, cualquier aplicación) aparecen más mensajes y lo que he intentado abrir se bloquea.
He probado a flashear un custom recovery al dispositivo con fastboot:
fastboot flash recovery twrp-3.0.0-0-xt1
032.img
target reported max download size of 536870912 bytes
sending 'recovery' (9456 KB)...
OKAY [ 0.328s]
writing 'recovery'...
OKAY [ 0.188s]
finished. total time: 0.516s
Como todo parecía haber funcionado bien, inmediatamente intenté arrancar el recovery, pero en su lugar apareció el de stock (con y Android y el logo !).
Sin embargo, pude arrancar el custom recovery directamente con:
fastboot boot twrp-3.0.0-0-xt1032.img
downloading 'boot.img'...
OKAY [ 0.344s]
booting...
OKAY [ 0.297s]
finished. total time: 0.641s
En la consola de TWRP aparecen los siguientes errores:
Error opening: '/data/data/com.motorola.motocare/databases/MotoCare.db' (I/O error)
Error opening: '/data/data/com.google.android.gm/shared_prefs' (I/O error)
(other 3 errors similar to this one)
Según la mayoría de los posts que he podido encontrar, la partición de datos parece estar dañada y la solución más probable era repararla o formatearla por completo, pero hasta ahora no he tenido suerte haciéndolo.
He intentado usar fsck.f2fs a través de adb con el siguiente resultado:
~ # [6nfsck.f2fs /dev/block/mmcblk0p36
fsck.f2fs /dev/block/mmcblk0p36
Info: sector size = 512
Info: total sectors = 27090688 (in 512 bytes)
Info: MKFS version
""
Info: FSCK version
from "Linux version 3.4.42-g41a696f (hudsoncm@ilclbld31) (gcc version 4.8 (GCC
) ) #1 SMP PREEMPT Fri Jan 23 18:14:39 CST 2015"
to "Linux version 3.4.42-gf2a818f-00578-g5e5969d (cpu@computer) (gcc version
4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Feb 7 22:24:16 CE
T 2016"
[FIX] (fsck_chk_orphan_node: 926) --> Discard orphan inodes: ino [0x17274]
[FIX] (fsck_chk_orphan_node: 926) --> Discard orphan inodes: ino [0x8fdf]
[is_valid_ssa_node_blk: 141] nid [0x92e3]
[is_valid_ssa_node_blk: 142] target blk_addr [0x2d4166]
[is_valid_ssa_node_blk: 145] summary blk_addr [0x5c70]
[is_valid_ssa_node_blk: 148] seg no / offset [0x1670 / 0x166]
[is_valid_ssa_node_blk: 150] summary_entry.nid [0x0]
[is_valid_ssa_node_blk: 151] --> node block's nid [0x92e3]
[ASSERT] (is_valid_ssa_node_blk: 152) --> Invalid node seg summary
[ASSERT] (sanity_check_nid: 217) --> summary node block is not valid. [0x92e3]
[FIX] (__chk_dentries: 779) --> Unlink [0x92e3] - Cookies len[0x7], type[0x1]
[is_valid_ssa_node_blk: 141] nid [0x418]
[is_valid_ssa_node_blk: 142] target blk_addr [0x2d4163]
[is_valid_ssa_node_blk: 145] summary blk_addr [0x5c70]
[is_valid_ssa_node_blk: 148] seg no / offset [0x1670 / 0x163]
[is_valid_ssa_node_blk: 150] summary_entry.nid [0x0]
[is_valid_ssa_node_blk: 151] --> node block's nid [0x418]
[ASSERT] (is_valid_ssa_node_blk: 152) --> Invalid node seg summary
[ASSERT] (sanity_check_nid: 217) --> summary node block is not valid. [0x418]
[FIX] (__chk_dentries: 779) --> Unlink [0x418] - MotoCare.db len[0xb], type[0x1
]
[ASSERT] (sanity_check_nid: 242) --> nid[0x458] blk_addr[0x33a9fe] footer.nid[0
x0]
[FIX] (__chk_dentries: 779) --> Unlink [0x458] - shared_prefs len[0xc], type[0x
2]
[is_valid_ssa_node_blk: 141] nid [0x1205]
[is_valid_ssa_node_blk: 142] target blk_addr [0x2d4165]
[is_valid_ssa_node_blk: 145] summary blk_addr [0x5c70]
[is_valid_ssa_node_blk: 148] seg no / offset [0x1670 / 0x165]
[is_valid_ssa_node_blk: 150] summary_entry.nid [0x0]
[is_valid_ssa_node_blk: 151] --> node block's nid [0x1205]
[ASSERT] (is_valid_ssa_node_blk: 152) --> Invalid node seg summary
[ASSERT] (sanity_check_nid: 217) --> summary node block is not valid. [0x1205]
[FIX] (__chk_dentries: 779) --> Unlink [0x1205] - mailstore.someone@somewhere.com.db-wal len[0x28], type[0x1]
[is_valid_ssa_node_blk: 141] nid [0x1064]
[is_valid_ssa_node_blk: 142] target blk_addr [0x2d4164]
[is_valid_ssa_node_blk: 145] summary blk_addr [0x5c70]
[is_valid_ssa_node_blk: 148] seg no / offset [0x1670 / 0x164]
[is_valid_ssa_node_blk: 150] summary_entry.nid [0x0]
[is_valid_ssa_node_blk: 151] --> node block's nid [0x1064]
[ASSERT] (is_valid_ssa_node_blk: 152) --> Invalid node seg summary
[ASSERT] (sanity_check_nid: 217) --> summary node block is not valid. [0x1064]
[FIX] (__chk_dentries: 779) --> Unlink [0x1064] - prefs_db len[0x8], type[0x1]
NID[0x418] is unreachable
NID[0x458] is unreachable
NID[0x459] is unreachable
NID[0x1064] is unreachable
NID[0x1205] is unreachable
NID[0x17c4] is unreachable
NID[0x41b1] is unreachable
NID[0x499a] is unreachable
NID[0x768c] is unreachable
NID[0x82a2] is unreachable
NID[0x8aa2] is unreachable
NID[0x8b20] is unreachable
NID[0x8f84] is unreachable
NID[0x8fdf] is unreachable
NID[0x92e3] is unreachable
NID[0xab8b] is unreachable
NID[0xacd9] is unreachable
NID[0xb00d] is unreachable
NID[0xb29c] is unreachable
NID[0xb87a] is unreachable
NID[0xbe61] is unreachable
NID[0xbefa] is unreachable
NID[0xc3e7] is unreachable
NID[0xce67] is unreachable
NID[0xf38b] is unreachable
NID[0x16e81] is unreachable
NID[0x17274] is unreachable
NID[0x17275] is unreachable
NID[0x17277] is unreachable
NID[0x1cd65] is unreachable
NID[0x1df3f] is unreachable
NID[0x1eb9f] is unreachable
NID[0x1eedf] is unreachable
NID[0x1f5b8] is unreachable
NID[0x1ff02] is unreachable
[FSCK] Unreachable nat entries [Fail] [0x23]
[FSCK] SIT valid block bitmap checking [Fail]
[FSCK] Hard link checking for regular file [Ok..] [0x0]
[FSCK] valid_block_count matching with CP [Fail] [0x15ca44]
[FSCK] valid_node_count matcing with CP (de lookup) [Fail] [0x55e7]
[FSCK] valid_node_count matcing with CP (nat lookup) [Ok..] [0x560a]
[FSCK] valid_inode_count matched with CP [Fail] [0x5282]
[FSCK] free segment_count matched with CP [Ok..] [0x651]
[FSCK] next block offset is free [Ok..]
[FSCK] fixing SIT types
[FSCK] other corrupted bugs [Fail]
[FIX] (nullify_nat_entry:1127) --> Remove nid [0x1eb9f] in nat journal
Error: Could not conduct fsync!!!
Done.
A juzgar por los 5 desenlaces, parece que está intentando reparar los 5 archivos mencionados anteriormente, pero sigue teniendo algunas comprobaciones fallidas al final, y el error de fsync.
Al intentar formatear, por el contrario, se obtiene el siguiente resultado:
mkfs.f2fs /dev/block/mmcblk0p36
F2FS-tools: mkfs.f2fs Ver: 1.4.0 (2014-10-18) [modified by Motorola to r
eserve space]
Info: sector size = 512
Info: total sectors = 27090688 (in 512 bytes)
Info: zone aligned segment0 blkaddr: 512
Info: format version with
"Linux version 3.4.42-gf2a818f-00578-g5e5969d (cpu@computer) (gcc version 4.9.
x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Feb 7 22:24:16 CET 201
6"
Error: Could not conduct fsync!!!
Info: format successful
A pesar del mensaje de "formato exitoso", después de montar de nuevo la partición, todos los datos de la partición están intactos, y los sectores defectuosos permanecen.
También he intentado hacer fastboot erase userdata e incluso empujando parted al sistema de archivos y utilizando la herramienta rm para tratar de deshacerse de la partición, pero aún así, la partición no se toca, y el mismo problema descrito en la parte superior del post persiste.
¿Me estoy perdiendo algo en la formación? o ¿podría ser que el almacenamiento interno está físicamente roto sin posibilidad de reparación?
Cualquier ayuda sería muy apreciada.
0 votos
Es extraño que TWRP siquiera intente abrir esos archivos.
0 votos
@Matthew Read: Dado que TWRP monta /data en el arranque por defecto, me imagino que podría estar haciendo un fsck por su cuenta. Pero eso es solo una conjetura, tampoco estoy completamente seguro de ello.
0 votos
¿Puedes probar con
fastboot format userdata
?1 votos
@Firelord: Acabo de probarlo y me aparece este mensaje: "El formato no es compatible con el sistema de archivos de tipo 'raw'". ¿Me falta algún parámetro en el comando, o podría ser una pista de lo que está pasando?