Ausgangslage: Mit Clockwork Recovery und CM13 geflashtes Samsung Galaxy S3 mit sterbendem Akku (laed nicht immer, entlaedt sehr schnell). Die letzten Tage kam es immer wieder zu rabiaten Power Offs durch Akku-Entfernen. Nun haengt das Geraet nach Einschalten beim Vendor-Logo.

Wie bekommt man das geloest? Da das Entfernen des Akkus, auch fuer mehrere Minuten, keine Besserung bringt, scheint das kein selbstheilendes Zustandsproblem zu sein.

Man muss in den Recovery Modus booten, von hier aus hat man dann evtl. die Moeglichkeit das Problem zu fixen oder naeheres herauszufinden.

Boot in Recovery macht man in diesem Fall mit Vol Up + Power + Home gedrueckt halten, nach schwarzem Bildschirm direkt nach dem Erscheinen des Logos Power los lassen. Erstmal die Caches wipen und Reboot, oftmals hilft das. Hier leider nicht, also zurueck in die Recovery.

Dann mal versuchen den Inhalt des internen Speichers auf ne Steck-SD-Karte zu backuppen. Dies scheitert mit "Error: Can't mount /system", also Handy an Rechner ankabeln und ueber adb usb gefolgt von adb shell mal umschauen und relevante Daten mittels adb pull holen.

dmesg verrät einem jedoch bald mehr zum eigentlichen Problem:

<3>[   76.430514] c0 EXT4-fs (mmcblk0p13): VFS: Can't find ext4 filesystem
<5>[   80.394224] c0 melfas-ts 3-0048: finger [0] down, palm 0
<5>[   80.515729] c0 melfas-ts 3-0048: finger [0] up, palm 0
<4>[   80.581913] c0 printing data of superblock-bh
<3>[   80.581938] c0 As EXT4-fs error, printing data in hex
<3>[   80.581962] c0  [partition info] s_id : mmcblk0p13, start block# : 2940928
<3>[   80.581994] c0  dump block# : 1, start offset(byte) : 0, length(byte) : 1024
<3>[   80.582025] c0 -----------------------------------------------------------------------------
<3>[   80.582070] c0 0x0000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582113] c0 0x0010 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582155] c0 0x0020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582197] c0 0x0030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582239] c0 0x0040 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582280] c0 0x0050 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582322] c0 0x0060 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582365] c0 0x0070 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582407] c0 0x0080 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582449] c0 0x0090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582490] c0 0x00a0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582531] c0 0x00b0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582573] c0 0x00c0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582614] c0 0x00d0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582658] c0 0x00e0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582699] c0 0x00f0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582741] c0 0x0100 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582783] c0 0x0110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582824] c0 0x0120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582866] c0 0x0130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582907] c0 0x0140 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582951] c0 0x0150 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.582993] c0 0x0160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583034] c0 0x0170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583076] c0 0x0180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583117] c0 0x0190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583159] c0 0x01a0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583201] c0 0x01b0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583244] c0 0x01c0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583285] c0 0x01d0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583327] c0 0x01e0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583368] c0 0x01f0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583410] c0 0x0200 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583451] c0 0x0210 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583492] c0 0x0220 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583536] c0 0x0230 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583577] c0 0x0240 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583619] c0 0x0250 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583660] c0 0x0260 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583701] c0 0x0270 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583743] c0 0x0280 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583784] c0 0x0290 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583827] c0 0x02a0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583869] c0 0x02b0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583910] c0 0x02c0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583952] c0 0x02d0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.583994] c0 0x02e0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584035] c0 0x02f0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584077] c0 0x0300 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584120] c0 0x0310 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584162] c0 0x0320 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584204] c0 0x0330 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584245] c0 0x0340 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584287] c0 0x0350 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584328] c0 0x0360 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584370] c0 0x0370 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584413] c0 0x0380 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584454] c0 0x0390 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584496] c0 0x03a0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584537] c0 0x03b0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584579] c0 0x03c0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584620] c0 0x03d0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584662] c0 0x03e0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584705] c0 0x03f0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
<3>[   80.584741] c0 -----------------------------------------------------------------------------

Sieht so aus als ob das wiederholte Power Off ohne ordentlichen Shutdown den Header unserer /system Partition zerschossen hätte.

Aufgrund meines Irrglaubens, das Tool zum Fsck fuer ext4 Dateisystem würde mit ext2fs beginnen habe ich mir von Debian für die armhf Architektur e2fsck-static gezogen, inkl. statisch kompiliertem fsck. Stellt sich raus, mein fsck heisst e2fsck. Den lässt man gegen das Raw-Device laufen und bekommt ganz viele Änderungsvorschläge, die ich alle annehme:

~ # e2fsck /dev/block/mmcblk0p13
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: Superblock invalid, trying backup blocks...
One or more block group descriptor checksums are invalid.  Fix<y>? y
yes

Group descriptor 1 checksum is invalid.  FIXED.
Group descriptor 2 checksum is invalid.  FIXED.
Group descriptor 3 checksum is invalid.  FIXED.
Group descriptor 4 checksum is invalid.  FIXED.
Group descriptor 5 checksum is invalid.  FIXED.
Group descriptor 6 checksum is invalid.  FIXED.
Group descriptor 7 checksum is invalid.  FIXED.
Group descriptor 8 checksum is invalid.  FIXED.
Group descriptor 9 checksum is invalid.  FIXED.
Group descriptor 10 checksum is invalid.  FIXED.
Group descriptor 11 checksum is invalid.  FIXED.
Backing up journal inode block information.

system contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong for group #0 (0, counted=7159).
Fix<y>? yes

Free blocks count wrong for group #1 (1, counted=1759).
Fix<y>? y
yes

Free blocks count wrong for group #2 (32254, counted=411).
Fix<y>? yes

Free blocks count wrong for group #3 (1, counted=2).
Fix<y>? y
yes

Free blocks count wrong for group #4 (32254, counted=2030).
Fix<y>? yes

Free blocks count wrong for group #5 (1, counted=4195).
Fix<y>? y
yes

Free blocks count wrong for group #6 (32254, counted=885).
Fix<y>? yes

Free blocks count wrong for group #7 (17177, counted=1519).
Fix<y>? y
yes

Free blocks count wrong for group #8 (32254, counted=637).
Fix<y>? yes

Free blocks count wrong for group #9 (32157, counted=2068).
Fix<y>? y
yes

Free blocks count wrong for group #10 (32254, counted=13413).
Fix<y>? yes

Free blocks count wrong (242861, counted=66332).
Fix<y>? y
yes

Free inodes count wrong for group #0 (6281, counted=6308).
Fix<y>? yes

Directories count wrong for group #0 (189, counted=172).
Fix<y>? y
yes

Free inodes count wrong for group #1 (8192, counted=8109).
Fix<y>? yes

Directories count wrong for group #1 (0, counted=16).
Fix<y>? y
yes

Free inodes count wrong for group #2 (8192, counted=8180).
Fix<y>? yes

Directories count wrong for group #2 (0, counted=6).
Fix<y>? y
yes

Free inodes count wrong for group #4 (8192, counted=8157).
Fix<y>? yes

Directories count wrong for group #4 (0, counted=16).
Fix<y>? y
yes

Free inodes count wrong for group #6 (8192, counted=8180).
Fix<y>? yes

Directories count wrong for group #6 (0, counted=6).
Fix<y>? y
yes

Free inodes count wrong for group #7 (8192, counted=8182).
Fix<y>? yes

Directories count wrong for group #7 (0, counted=5).
Fix<y>? y
yes

Free inodes count wrong for group #8 (8192, counted=8182).
Fix<y>? yes

Directories count wrong for group #8 (0, counted=5).
Fix<y>? y
yes

Free inodes count wrong (96393, counted=96258).
Fix<y>? yes


system: ***** FILE SYSTEM WAS MODIFIED *****
system: 2046/98304 files (1.3% non-contiguous), 326884/393216 blocks

Anschliessend bootet das Geraet wieder normal, lediglich die Dalvik Caches muessen neu gebaut werden, da ich die ja vorher weggeworfen hatte. - BastianNeuburger - 2017-07-23
Topic revision: r1 - 2017-07-23, BastianNeuburger
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)