[AT&T LG G4] petermg:
Ok, so I successfully rooted my H810 G4 via LER. I was impressed with being able to dump the system.img of my phone, inject root into it, then write it back to my phone. So, I thought, why can't we just back up ALL the partitions of our phones this way and if something goes wrong, those of us who do NOT have a KDZ or TOT file to flash back to original factory can just go into download mode and dd our phones back to factory!! Now I have followed this tutorial here:

http://xdaforums.com/showthread.php?t=2450045

to learn how to dump partitions. HOWEVER, what I do NOT yet understand is why he does not use any of the bs,skip,count variables in the dd command. So I need help understanding these and I am doing more reading on it here and there. What I don't know is are these variables partition specific, or are they only PHONE specific and we can just use the same variables for each partition?

I have an ATT H810 running H81010b firmware. Here is all my partition info!

C:\Users\petermg\Downloads\G4>adb shell
shell@p1:/ $ cat /proc/partitions
cat /proc/partitions
major minor #blocks name

253 0 721784 zram0
179 0 30535680 mmcblk0
179 1 88064 mmcblk0p1
179 2 512 mmcblk0p2
179 3 1024 mmcblk0p3
179 4 1024 mmcblk0p4
179 5 512 mmcblk0p5
179 6 512 mmcblk0p6
179 7 512 mmcblk0p7
179 8 2048 mmcblk0p8
179 9 1024 mmcblk0p9
179 10 512 mmcblk0p10
179 11 1024 mmcblk0p11
179 12 512 mmcblk0p12
179 13 512 mmcblk0p13
179 14 2048 mmcblk0p14
179 15 512 mmcblk0p15
179 16 512 mmcblk0p16
179 17 512 mmcblk0p17
179 18 512 mmcblk0p18
179 19 512 mmcblk0p19
179 20 512 mmcblk0p20
179 21 1536 mmcblk0p21
179 22 16384 mmcblk0p22
179 23 32768 mmcblk0p23
179 24 1536 mmcblk0p24
179 25 1536 mmcblk0p25
179 26 1536 mmcblk0p26
179 27 512 mmcblk0p27
179 28 512 mmcblk0p28
179 29 512 mmcblk0p29
179 30 2048 mmcblk0p30
179 31 512 mmcblk0p31
259 0 512 mmcblk0p32
259 1 512 mmcblk0p33
259 2 512 mmcblk0p34
259 3 2048 mmcblk0p35
259 4 4096 mmcblk0p36
259 5 49152 mmcblk0p37
259 6 40960 mmcblk0p38
259 7 40960 mmcblk0p39
259 8 8192 mmcblk0p40
259 9 8192 mmcblk0p41
259 10 32768 mmcblk0p42
259 11 8192 mmcblk0p43
259 12 4096 mmcblk0p44
259 13 4096 mmcblk0p45
259 14 16384 mmcblk0p46
259 15 40960 mmcblk0p47
259 16 8192 mmcblk0p48
259 17 47104 mmcblk0p49
259 18 2048 mmcblk0p50
259 19 10240 mmcblk0p51
259 20 6144 mmcblk0p52
259 21 4636672 mmcblk0p53
259 22 1261568 mmcblk0p54
259 23 24100864 mmcblk0p55
259 24 12271 mmcblk0p56
179 32 4096 mmcblk0rpmb
shell@p1:/ $

ls -al /dev/block/platform/f9824900.sdhci/by-name

shell@p1:/ $ ls -al /dev/block/platform/f9824900.sdhci/by-name
ls -al /dev/block/platform/f9824900.sdhci/by-name
lrwxrwxrwx root root 2015-01-01 15:37 DDR -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 2015-01-01 15:37 aboot -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2015-01-01 15:37 abootbak -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2015-01-01 15:37 apdp -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2015-01-01 15:37 boot -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 2015-01-01 15:37 cache -> /dev/block/mmcblk0p54
lrwxrwxrwx root root 2015-01-01 15:37 carrier -> /dev/block/mmcblk0p47
lrwxrwxrwx root root 2015-01-01 15:37 devinfo -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2015-01-01 15:37 dpo -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2015-01-01 15:37 drm -> /dev/block/mmcblk0p40
lrwxrwxrwx root root 2015-01-01 15:37 eksst -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 2015-01-01 15:37 encrypt -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 2015-01-01 15:37 eri -> /dev/block/mmcblk0p43
lrwxrwxrwx root root 2015-01-01 15:37 factory -> /dev/block/mmcblk0p49
lrwxrwxrwx root root 2015-01-01 15:37 felica -> /dev/block/mmcblk0p48
lrwxrwxrwx root root 2015-01-01 15:37 fota -> /dev/block/mmcblk0p51
lrwxrwxrwx root root 2015-01-01 15:37 fsc -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 2015-01-01 15:37 fsg -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 2015-01-01 15:37 grow -> /dev/block/mmcblk0p56
lrwxrwxrwx root root 2015-01-01 15:37 hyp -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2015-01-01 15:37 hypbak -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2015-01-01 15:37 keystore -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 2015-01-01 15:37 laf -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 2015-01-01 15:37 limits -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2015-01-01 15:37 misc -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2015-01-01 15:37 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2015-01-01 15:37 modemst1 -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 2015-01-01 15:37 modemst2 -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 2015-01-01 15:37 mpt -> /dev/block/mmcblk0p42
lrwxrwxrwx root root 2015-01-01 15:37 msadp -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2015-01-01 15:37 operatorlogging -> /dev/block/mmcblk0p46
lrwxrwxrwx root root 2015-01-01 15:37 persist -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2015-01-01 15:37 persistent -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 2015-01-01 15:37 pmic -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2015-01-01 15:37 pmicbak -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2015-01-01 15:37 raw_resources -> /dev/block/mmcblk0p44
lrwxrwxrwx root root 2015-01-01 15:37 raw_resourcesbak -> /dev/block/mmcblk0p45
lrwxrwxrwx root root 2015-01-01 15:37 rct -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 2015-01-01 15:37 recovery -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 2015-01-01 15:37 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2015-01-01 15:37 rpmbak -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2015-01-01 15:37 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2015-01-01 15:37 sbl1bak -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2015-01-01 15:37 sdi -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2015-01-01 15:37 sdibak -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2015-01-01 15:37 sec -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 2015-01-01 15:37 sns -> /dev/block/mmcblk0p41
lrwxrwxrwx root root 2015-01-01 15:37 spare1 -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2015-01-01 15:37 spare2 -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 2015-01-01 15:37 spare3 -> /dev/block/mmcblk0p50
lrwxrwxrwx root root 2015-01-01 15:37 spare4 -> /dev/block/mmcblk0p52
lrwxrwxrwx root root 2015-01-01 15:37 ssd -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 2015-01-01 15:37 system -> /dev/block/mmcblk0p53
lrwxrwxrwx root root 2015-01-01 15:37 tz -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2015-01-01 15:37 tzbak -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2015-01-01 15:37 userdata -> /dev/block/mmcblk0p55
shell@p1:/ $

Model: MMC 032G74 (sd/mmc)
Disk /dev/block/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 16.8MB 107MB 90.2MB fat16 modem
2 117MB 118MB 524kB pmic
3 118MB 119MB 1049kB sbl1
4 119MB 120MB 1049kB tz
5 120MB 121MB 524kB sdi
6 121MB 121MB 524kB hyp
7 121MB 122MB 524kB rpm
8 122MB 124MB 2097kB aboot
9 124MB 125MB 1049kB sbl1bak
10 125MB 125MB 524kB pmicbak
11 125MB 126MB 1049kB tzbak
12 126MB 127MB 524kB hypbak
13 127MB 127MB 524kB rpmbak
14 127MB 129MB 2097kB abootbak
15 129MB 130MB 524kB sdibak
16 130MB 131MB 524kB limits
17 131MB 131MB 524kB devinfo
18 131MB 132MB 524kB apdp
19 132MB 132MB 524kB msadp
20 132MB 133MB 524kB dpo
21 133MB 134MB 1573kB spare1
22 134MB 151MB 16.8MB misc
23 151MB 185MB 33.6MB ext4 persist
24 185MB 186MB 1573kB modemst1
25 186MB 188MB 1573kB modemst2
26 188MB 189MB 1573kB fsg
27 189MB 190MB 524kB fsc
28 190MB 190MB 524kB ssd
29 190MB 191MB 524kB keystore
30 191MB 193MB 2097kB DDR
31 193MB 193MB 524kB sec
32 193MB 194MB 524kB encrypt
33 194MB 195MB 524kB eksst
34 195MB 195MB 524kB rct
35 195MB 197MB 2097kB persistent
36 197MB 201MB 4194kB spare2
37 201MB 252MB 50.3MB laf
38 252MB 294MB 41.9MB boot
39 294MB 336MB 41.9MB recovery
40 336MB 344MB 8389kB ext4 drm
41 344MB 352MB 8389kB ext4 sns
42 352MB 386MB 33.6MB ext4 mpt
43 386MB 394MB 8389kB eri
44 394MB 398MB 4194kB raw_resources
45 398MB 403MB 4194kB raw_resourcesbak
46 403MB 419MB 16.8MB operatorlogging
47 419MB 461MB 41.9MB carrier
48 461MB 470MB 8389kB felica
49 470MB 518MB 48.2MB factory
50 518MB 520MB 2097kB spare3
51 520MB 531MB 10.5MB fota
52 531MB 537MB 6291kB spare4
53 537MB 5285MB 4748MB ext4 system
54 5285MB 6577MB 1292MB ext4 cache
55 6577MB 31.3GB 24.7GB ext4 userdata
56 31.3GB 31.3GB 12.6MB grow

(parted)

So if you guys can chime in and help get this figured out, also I will post updates for what I learn about it. Hopefully we can get this so that we can do backups this way until we get a custom recovery for the most of us with locked bootloaders!:good: