[Hardware Hacking General] FFDA:
NEN Terrain

General Device Name: NEC Terrain
Processor: Qualcomm Snapdragon 4S+ (MSM8960)
AOS version: Android GB 4.0.4

mount

rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p12 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p13 /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p15 /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p16 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p17 /tombstones ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p1 /firmware vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
tmpfs /data/camera_socket tmpfs rw,relatime,mode=775,gid=1000 0 0
tmpfs /data/secure/data tmpfs rw,nosuid,relatime,mode=755,gid=1000 0 0
/dev/block/vold/179:33 /mnt/external_sd vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/external_sd/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/vold/179:14 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

Partition names

lrwxrwxrwx root root 1970-01-06 06:02 GROW -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-06 06:02 MM -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 1970-01-06 06:02 aboot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-06 06:02 boot -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-06 06:02 cache -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-06 06:02 fatallog -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-06 06:02 flashbackup -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-06 06:02 fota -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 1970-01-06 06:02 fsg -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-01-06 06:02 misc -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-01-06 06:02 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-06 06:02 modemst1 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-01-06 06:02 modemst2 -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-01-06 06:02 pad -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-01-06 06:02 persist -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-06 06:02 recovery -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-01-06 06:02 rpm -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-06 06:02 sbl1 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-06 06:02 sbl2 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-06 06:02 sbl3 -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-06 06:02 ssd -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-01-06 06:02 system -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-06 06:02 tombstones -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-01-06 06:02 tz -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-06 06:02 userdata -> /dev/block/mmcblk0p13

cat proc/partitions

major minor #blocks name

179 0 7634944 mmcblk0
179 1 131072 mmcblk0p1
179 2 65536 mmcblk0p2
179 3 65536 mmcblk0p3
179 4 256 mmcblk0p4
179 5 256 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 10240 mmcblk0p9
179 10 512 mmcblk0p10
179 11 10240 mmcblk0p11
179 12 1081344 mmcblk0p12
179 13 819200 mmcblk0p13
179 14 4554752 mmcblk0p14
179 15 8192 mmcblk0p15
179 16 368640 mmcblk0p16
179 17 71680 mmcblk0p17
179 18 1024 mmcblk0p18
179 19 1 mmcblk0p19
179 20 8 mmcblk0p20
179 21 3072 mmcblk0p21
179 22 3072 mmcblk0p22
179 23 3072 mmcblk0p23
179 24 256 mmcblk0p24
179 25 2048 mmcblk0p25
179 26 512 mmcblk0p26
179 27 512 mmcblk0p27
179 28 512 mmcblk0p28
179 29 10240 mmcblk0p29
179 30 10240 mmcblk0p30
179 31 229376 mmcblk0p31
179 32 15434752 mmcblk1
179 33 15430656 mmcblk1p1

blkid

/dev/block/vold/179:33: UUID="0005-1FE0" TYPE="vfat"
/dev/block/vold/179:31: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/vold/179:17: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/vold/179:16: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/vold/179:15: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/vold/179:14: UUID="77C7-17F2" TYPE="vfat"
/dev/block/vold/179:13: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/vold/179:12: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/vold/179:1: UUID="00BC-614E" TYPE="vfat"
/dev/block/mmcblk1p1: UUID="0005-1FE0" TYPE="vfat"
/dev/block/mmcblk0p31: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p17: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p16: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p15: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p14: UUID="77C7-17F2" TYPE="vfat"
/dev/block/mmcblk0p13: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p12: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p1: UUID="00BC-614E" TYPE="vfat"

fdisk

Disk /dev/block/mmcblk0: 15269888 sectors, 14.5M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 32 entries
First usable sector is 34, last usable sector is 15269854

Number Start (sector) End (sector) Size Code Name
1 32768 294911 256K 0700 modem
2 294912 425983 128K 0700 flashbackup
3 425984 557055 128K 0700 fatallog
4 589824 590335 512 0700 sbl1
5 590336 590847 512 0700 sbl2
6 590848 594943 4096 0700 sbl3
7 594944 595967 1024 0700 aboot
8 595968 596991 1024 0700 rpm
9 596992 617471 20480 0700 boot
10 617472 618495 1024 0700 tz
11 618496 638975 20480 0700 recovery
12 638976 2801663 2112K 0700 system
13 2818048 4456447 1600K 0700 userdata
14 4456448 13565951 8896K 0700 GROW
15 13565952 13582335 16384 0700 persist
16 13582336 14319615 720K 0700 cache
17 14319616 14462975 140K 0700 tombstones
18 14462976 14465023 2048 0700 misc
19 14465024 14465025 2 0700 pad
20 14465026 14465041 16 0700 ssd
21 14465042 14471185 6144 0700 modemst1
22 14471186 14477329 6144 0700 modemst2
23 14477330 14483473 6144 0700 fsg
24 14483474 14483985 512 0700 sbl2_bkp
25 14483986 14488081 4096 0700 sbl3_bkp
26 14488082 14489105 1024 0700 aboot_bkp
27 14489106 14490129 1024 0700 rpm_bkp
28 14490130 14491153 1024 0700 tz_bkp
29 14491154 14511633 20480 0700 recovery_bkp
30 14511634 14532113 20480 0700 fota_config
31 14532114 14990865 448K 0700 MM

gdisk

GPT fdisk (gdisk) version 0.8.4

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/block/mmcblk0: 15269888 sectors, 7.3 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20
Partition table holds up to 32 entries
First usable sector is 34, last usable sector is 15269854
Partitions will be aligned on 2-sector boundaries
Total free space is 360875 sectors (176.2 MiB)

Number Start (sector) End (sector) Size Code Name
1 32768 294911 128.0 MiB 0700 modem
2 294912 425983 64.0 MiB FFFF flashbackup
3 425984 557055 64.0 MiB FFFF fatallog
4 589824 590335 256.0 KiB FFFF sbl1
5 590336 590847 256.0 KiB FFFF sbl2
6 590848 594943 2.0 MiB FFFF sbl3
7 594944 595967 512.0 KiB FFFF aboot
8 595968 596991 512.0 KiB FFFF rpm
9 596992 617471 10.0 MiB FFFF boot
10 617472 618495 512.0 KiB FFFF tz
11 618496 638975 10.0 MiB FFFF recovery
12 638976 2801663 1.0 GiB 8300 system
13 2818048 4456447 800.0 MiB 8300 userdata
14 4456448 13565951 4.3 GiB FFFF GROW
15 13565952 13582335 8.0 MiB 8300 persist
16 13582336 14319615 360.0 MiB 8300 cache
17 14319616 14462975 70.0 MiB 8300 tombstones
18 14462976 14465023 1024.0 KiB FFFF misc
19 14465024 14465025 1024 bytes FFFF pad
20 14465026 14465041 8.0 KiB FFFF ssd
21 14465042 14471185 3.0 MiB FFFF modemst1
22 14471186 14477329 3.0 MiB FFFF modemst2
23 14477330 14483473 3.0 MiB FFFF fsg
24 14483474 14483985 256.0 KiB FFFF sbl2_bkp
25 14483986 14488081 2.0 MiB FFFF sbl3_bkp
26 14488082 14489105 512.0 KiB FFFF aboot_bkp
27 14489106 14490129 512.0 KiB FFFF rpm_bkp
28 14490130 14491153 512.0 KiB FFFF tz_bkp
29 14491154 14511633 10.0 MiB FFFF recovery_bkp
30 14511634 14532113 10.0 MiB FFFF fota_config
31 14532114 14990865 224.0 MiB FFFF MM

parted

Model: MMC M8G2FB (sd/mmc)
Disk /dev/block/mmcblk0: 7818MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 16.8MB 151MB 134MB fat16 modem
2 151MB 218MB 67.1MB flashbackup
3 218MB 285MB 67.1MB fatallog
4 302MB 302MB 262kB sbl1
5 302MB 303MB 262kB sbl2
6 303MB 305MB 2097kB sbl3
7 305MB 305MB 524kB aboot
8 305MB 306MB 524kB rpm
9 306MB 316MB 10.5MB boot
10 316MB 317MB 524kB tz
11 317MB 327MB 10.5MB recovery
12 327MB 1434MB 1107MB ext4 system
13 1443MB 2282MB 839MB ext4 userdata
14 2282MB 6946MB 4664MB fat32 GROW
15 6946MB 6954MB 8389kB ext4 persist
16 6954MB 7332MB 377MB ext4 cache
17 7332MB 7405MB 73.4MB ext4 tombstones
18 7405MB 7406MB 1049kB misc
19 7406MB 7406MB 1024B pad
20 7406MB 7406MB 8192B ssd
21 7406MB 7409MB 3146kB modemst1
22 7409MB 7412MB 3146kB modemst2
23 7412MB 7416MB 3146kB fsg
24 7416MB 7416MB 262kB sbl2_bkp
25 7416MB 7418MB 2097kB sbl3_bkp
26 7418MB 7418MB 524kB aboot_bkp
27 7418MB 7419MB 524kB rpm_bkp
28 7419MB 7419MB 524kB tz_bkp
29 7419MB 7430MB 10.5MB recovery_bkp
30 7430MB 7440MB 10.5MB fota_config
31 7440MB 7675MB 235MB ext4 MM