Skip to content

Instantly share code, notes, and snippets.

/*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2008-2010, Code Aurora Forum. All rights reserved.
* Author: Brian Swetland <swetland@google.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
--------- beginning of /dev/log/main
I/NPS_MOBEX( 119): task Start
I/NPS_MOBEX( 119): wscMessageGet msgid:4097
I/DEBUG ( 115): debuggerd: Jan 27 2011 17:09:17
E/AndroidRuntime( 121): /system/csc/sales_code.dat ==> cannot open file
/system/bin/linker
libdbus.so
waitpid
pthread_cond_signal
vsprintf
strerror
memmove
snprintf
__stack_chk_guard
__aeabi_unwind_cpp_pr0
conn@virtual:~$ adb shell
~ # e2fsck -yf /dev/block/mmcblk0p2
e2fsck 1.41.6 (30-May-2009)
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 (30288, counted=19803).
Fix? yes
~ # dd if=/sdcard/mmc-good.img of=/dev/block/mmcblk0p2 bs=4096
125000+0 records in
125000+0 records out
512000000 bytes (488.3MB) copied, 109.406085 seconds, 4.5MB/s
#1 - restore working copy of /sd-ext partition from backup
~ # dd if=/sdcard/mmc-good.img of=/dev/block/mmcblk0p2 bs=4096
125000+0 records in
125000+0 records out
512000000 bytes (488.3MB) copied, 109.406085 seconds, 4.5MB/s
#2 - check tune2fs output
~ # tune2fs -l /dev/block/mmcblk0p2
#1 - restore working copy of /sd-ext partition from backup
~ # dd if=/sdcard/mmc-good.img of=/dev/block/mmcblk0p2 bs=4096
125000+0 records in
125000+0 records out
512000000 bytes (488.3MB) copied, 109.406085 seconds, 4.5MB/s
#2 - check tune2fs output
~ # tune2fs -l /dev/block/mmcblk0p2
<5>[ 0.000000] Linux version 2.6.32.9-perf (conn@virtual) (gcc version 4.4.3 (GCC) ) #2 PREEMPT Mon Aug 29 13:19:06 IST 2011
<4>[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
<4>[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
<4>[ 0.000000] Machine: GT-I5500 Board
<6>[ 0.000000] Partition (from atag) mibib -- Offset:0 Size:6
Starting recovery on Mon Aug 29 12:21:51 2011
framebuffer: fd 4 (240 x 320)
CWM-based Recovery v4.0.1.5
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /boot bml boot (null)
2 /cache ext4 /dev/block/stl14 (null)
3 /data ext4 /dev/block/stl13 (null)
4 /recovery bml recovery (null)
@psyke83
psyke83 / arm11boot.txt
Created September 20, 2011 23:03
GT-I5500 arm11boot partition list
mibib
qcsbl
oemsbl
amss
efs2
nv_backup
fota
arm11boot
boot
recovery