[Galaxy 3 Android Development] god_md5:
i find something maybe can backup rom?

is the bml1 is bootloader?

stl8 is userdata?

only know 139 " tfsr " is NAND flash ..

137 is rom or ram?

138 is ?

$

cat /proc/mtd

/proc/mtd: No such file or directory

$

cat /proc/partitions

major minor #blocks name

139 0 513024 tfsr0/c

139 1 256 tfsr1

139 2 1280 tfsr2

139 3 512 tfsr3

139 4 8192 tfsr4

139 5 7680 tfsr5

139 6 225280 tfsr6

139 7 207360 tfsr7

139 8 38912 tfsr8

139 9 7168 tfsr9

139 10 16384 tfsr10

179 0 964608 mmcblk0

179 1 964543 mmcblk0p1

137 0 513024 bml0/c

137 1 256 bml1

137 2 1280 bml2

137 3 512 bml3

137 4 8192 bml4

137 5 7680 bml5

137 6 225280 bml6

137 7 207360 bml7

137 8 38912 bml8

137 9 7168 bml9

137 10 16384 bml10

138 4 4352 stl4

138 6 217600 stl6

138 7 200192 stl7

138 8 34816 stl8

================

Devices list on mounting:

rootfs / rootfs rw 0 0

tmpfs /dev tmpfs rw,mode=755 0 0

devpts /dev/pts devpts rw,mode=600 0 0

proc /proc proc rw 0 0

sysfs /sys sysfs rw 0 0

tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0

/dev/block/stl6 /system rfs rw,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0

/dev/block/stl7 /data rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0

/dev/block/stl8 /cache rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0

/dev/block/stl4 /efs rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0

/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

----------------------

/system/etc content:

total 1576

-rw-r--r-- 1 0 0 77663 Aug 11 08:20 NOTICE.html.gz

-rw-r--r-- 1 0 0 15712 Aug 11 08:20 apns-conf.xml

-rw-r--r-- 1 0 0 14199 Aug 11 08:20 asound.conf

drwxr-xr-x 1 0 0 0 Aug 11 08:20 bluez

-rw-r--r-- 1 0 0 2046 Aug 11 08:20 bookmarks.xml

-rw-r--r-- 1 0 0 1613 Aug 11 08:20 built-in-app.xml

-r--r----- 1 1002 1002 935 Aug 11 16:20 dbus.conf

drwxr-xr-x 1 0 0 0 Aug 11 08:20 dhcpcd

-rw-r--r-- 1 0 0 8319 Aug 11 08:20 event-log-tags

-rw-r--r-- 1 0 0 224 Nov 10 17:24 gps.conf

-rw-r--r-- 1 0 0 659964 Nov 11 00:31 hosts

-r-xr-x--- 1 0 2000 1176 Aug 11 08:20 init.goldfish.sh

drwxr-xr-x 1 0 0 0 Aug 11 08:20 kies

drwxr-xr-x 1 0 0 0 Aug 11 08:20 melfas

drwxr-xr-x 1 0 0 0 Aug 11 08:20 permissions

-rw-r--r-- 1 0 0 793800 Aug 11 08:20 poweron.snd

drwxr-xr-x 1 0 0 0 Aug 11 08:20 ppp

-rw-r--r-- 1 0 0 1162 Aug 11 08:20 purenandpackages.txt

-rw-r--r-- 1 0 0 1142 Aug 11 08:20 pvplayer.cfg

drwxr-xr-x 1 0 0 0 Aug 11 16:20 security

-rw-r--r-- 1 0 0 210 Aug 11 16:20 vold.conf

drwxr-xr-x 1 0 0 0 Aug 11 16:20 wifi

----------------------

fstab info:

No fstab in /system/etc

----------------------

lrwxrwxrwx root root 2010-08-11 13:35 init -> sbin/init -rw-r--r-- root root 471 2010-08-11 12:14 init.apollo.rc -rw-r--r-- root root 335 2010-08-11 12:14 init.apollo.sh -rw-r--r-- root root 18608 2010-08-11 13:33 init.rc

----------------------

commands PATH:

/system/bin:/usr/bin:/usr/sbin:/bin:/sbin:/system/sbin:/system/xbin:/system/xbin/bb:/data/local/bin/sbin:/system/sbin:/system/bin:/system/xbin:/sbin:/system/sbin:/system/bin:/system/xbin

----------------------

Root content:

total 60

drwxrwx--- 1 1000 2001 0 Nov 11 22:13 cache

dr-x------ 2 0 0 0 Nov 11 22:13 config

lrwxrwxrwx 1 0 0 17 Nov 11 22:13 d -> /sys/kernel/debug

drwxrwxrwx 1 1000 1000 0 Nov 12 00:23 data

-rwxr-xr-x 1 0 0 93 Aug 11 04:14 default.prop

drwxr-xr-x 9 0 0 13120 Nov 11 22:13 dev

drwxrwx--x 1 1001 1001 0 Nov 11 22:13 efs

lrwxrwxrwx 1 0 0 10 Aug 11 05:35 etc -> system/etc

-rwxr-xr-x 1 0 0 2047 Aug 11 04:14 fota.rc

lrwxrwxrwx 1 0 0 9 Aug 11 05:35 init -> sbin/init

-rw-r--r-- 1 0 0 471 Aug 11 04:14 init.apollo.rc

-rw-r--r-- 1 0 0 335 Aug 11 04:14 init.apollo.sh

-rw-r--r-- 1 0 0 18608 Aug 11 05:33 init.rc

drwxr-xr-x 3 0 0 0 Aug 11 05:35 lib

dr-xr-xr-x 103 0 0 0 Jan 1 1970 proc

-rwxr-xr-x 1 0 0 1153 Aug 11 04:14 recovery.rc

drwxr-xr-x 3 0 0 0 Aug 11 05:35 res

drwxr-xr-x 3 0 0 0 Aug 11 05:35 sbin

d--xrwxr-x 19 1000 1015 16384 Nov 12 00:19 sdcard

drwxrwxrwt 2 0 0 40 Nov 11 22:14 sqlite_stmt_journals

drwxr-xr-x 12 0 0 0 Jan 1 1970 sys

drwxr-xr-x 1 0 0 0 Nov 11 22:13 system

-rw-r--r-- 1 0 0 176 Aug 11 04:14 system.prop

drwxr-xr-x 3 0 0 0 Nov 11 22:13 tmp

----------------------

/data FS info:

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/block/stl7 198808 109568 89240 55% /data

total 32

drwxrwxrwx 1 0 0 0 Nov 12 00:23 MyDevice_GT-I5801

drwxrwx--x 1 1000 1000 0 Nov 11 08:14 anr

drwxrwx--x 1 1000 1000 0 Nov 12 00:18 app

drwxrwx--x 1 1000 1000 0 Oct 15 09:27 app-private

drwx------ 1 1000 1000 0 Nov 11 14:14 backup

drwxrwx--x 1 1000 1000 0 Nov 12 00:18 dalvik-cache

drwxrwx--x 1 1000 1000 0 Nov 12 00:18 data

-rw-rw-rw- 1 1000 1000 11 Nov 12 00:22 delay

-rwxrwxrwx 1 0 0 26496 Nov 11 22:13 dfta

drwxrwxrwx 1 1000 1000 0 Oct 15 01:28 gps

drwxrwx--x 1 2000 2000 0 Oct 15 09:27 local

drwxrwxrwx 1 1000 1000 0 Oct 24 08:21 log

drwxrwx--- 1 0 0 0 Oct 15 09:27 lost+found

drwxrwx--t 1 1000 9998 0 Nov 12 00:22 misc

drwx------ 1 0 0 0 Nov 10 23:55 property

drwxrwxr-x 1 1000 1000 0 Nov 12 00:18 system

drwxr-xr-x 1 1000 1000 0 Nov 3 02:08 tombstones

drwxrwxrwx 1 1010 1010 0 Oct 15 12:48 wifi

----------------------

/system FS info:

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/block/stl6 215680 189376 26304 88% /system

total 20

-rw-r--r-- 1 0 0 309 Aug 1 2008 CSCFiles.txt

-rw-r--r-- 1 0 0 12 Aug 1 2008 CSCVersion.txt

-rw-r--r-- 1 0 0 357 Aug 1 2008 SW_Configuration.xml

drwxr-xr-x 1 0 0 0 Nov 11 00:33 app

drwxr-xr-x 1 0 2000 0 Nov 11 00:33 bin

-rw-r--r-- 1 0 0 1696 Aug 11 16:19 build.prop

drwxr-xr-x 1 0 0 0 Aug 11 08:20 cameradata

drwxr-xr-x 1 0 0 0 Jan 1 2005 csc

-rw-r--r-- 1 0 0 506 Aug 11 16:20 default.prop

drwxr-xr-x 1 0 0 0 Aug 11 16:20 etc

drwxr-xr-x 1 0 0 0 Aug 11 08:20 firmware

drwxr-xr-x 1 0 0 0 Aug 11 16:19 fonts

drwxr-xr-x 1 0 0 0 Aug 11 16:19 framework

drwxr-xr-x 1 0 0 0 Aug 11 16:19 lib

drwxr-xr-x 1 0 0 0 Aug 11 16:20 media

drwxr-xr-x 1 0 0 0 Aug 11 16:20 usr

drwxr-xr-x 1 0 2000 0 Nov 10 16:33 xbin

----------------------

Listing /system/bin...

total 6996

-rwxr-xr-x 1 0 2000 18351 Aug 11 08:20 BCM4329B1_002.002.023.0417.0431.hcd

-rwxr-xr-x 1 0 2000 5588 Aug 11 08:20 PCInternet

lrwsrwsrwt 1 0 0 56 Nov 4 17:28 [ -> /system/bin/busybox

lrwsrwsrwt 1 0 0 56 Nov 4 17:28 [[ -> /system/bin/busybox

lrwsrwsrwt 1 0 0 56 Nov 4 17:28 acpid -> /system/bin/busybox

lrwsrwsrwt 1 0 0 56 Nov 4 17:28 addgroup -> /system/bin/busybox

lrwsrwsrwt 1 0 0 56 Nov 4 17:28 adduser -> /system/bin/busybox

-rwxr-xr-x 1 0 2000 115956 Aug 11 16:20 akmd2

-rwxr-xr-x 1 0 2000 191 Aug 11 08:20 am

-rwxr-xr-x 1 0 2000 5676 Aug 11 16:20 app_process

-rwxr-xr-x 1 0 2000 95192 Aug 11 08:20 applypatch

lrwsrwsrwt 1 0 0 56 Nov 4 17:28 ar -> /system/bin/busybox

lrwsrwsrwt 1 0 0 56 Nov 4 17:28 arp -> /system/bin/busybox

lrwsrwsrwt 1 0 0 56 Nov 4 17:28 arping -> /system/bin/busybox

lrwsrwsrwt 1 0 0 56 Nov

============================

on init

# GyuTae FIX : we should not use system partition!!!!!

#	export PATH /sbin:/bin

export PATH /sbin:/system/bin

export ANDROID_ROOT /system

export ANDROID_DATA /data

export EXTERNAL_STORAGE /sdcard

mkdir /sdcard

mkdir /system

mkdir /efs

mkdir /data

mkdir /cache

mount tmpfs nodev /tmp

insmod /lib/modules/fsr.ko

insmod /lib/modules/fsr_stl.ko

insmod /lib/modules/rfs_glue.ko

insmod /lib/modules/rfs_fat.ko

insmod /lib/modules/dpram.ko

insmod /lib/modules/param.ko

mkdir /sdcard 0000 system system

mkdir /data 0771 system system

mkdir /cache 0770 system cache

mount rfs /dev/block/stl6 /system check=no

mount rfs /dev/block/stl4 /efs check=no

on boot

#	write /sys/class/sec/switch/usb_sel PDA

ifup lo

hostname localhost

domainname localdomain

class_start default

chown system system /sbin/busybox

service busybox /sbin/busybox --install -s

oneshot

#service console /bin/sh

service console /system/bin/sh

console

service recovery /sbin/recovery

oneshot

service adbd /sbin/adbd recovery

on property:persist.service.adb.enable=1

start adbd

on property:persist.service.adb.enable=0

stop adbd