[LG G5 Questions & Answers] aaya888:
kdz extract linux sd card write done

command link https://mega.nz/#!cJ9WUAiA!TSt9L5G3C...n8vx0pQ9ToxCFw

https://xdaforums.com/g4/...-qfil-t3748946

sorry english

---------- Post added at 12:02 PM ---------- Previous post was at 11:57 AM ----------

aaya@aaya-Aspire-E1-531:~/Downloads$ sudo dmesg -c >> /dev/null

[sudo] password for aaya:

aaya@aaya-Aspire-E1-531:~/Downloads$ dmesg

aaya@aaya-Aspire-E1-531:~/Downloads$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 58,4 GiB, 62730010624 bytes, 122519552 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disklabel type: dos

Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type

/dev/sdb1 * 2048 122519551 122517504 58,4G c W95 FAT32 (LBA)

aaya@aaya-Aspire-E1-531:~/Downloads$ cd kdz

aaya@aaya-Aspire-E1-531:~/Downloads/kdz$ sudo -s

root@aaya-Aspire-E1-531:~/Downloads/kdz# dd if=PrimaryGPT.bin of=/dev/sdb

48+0 records in

48+0 records out

24576 bytes (25 kB, 24 KiB) copied, 0,0441583 s, 557 kB/s

root@aaya-Aspire-E1-531:~/Downloads/kdz# sync

root@aaya-Aspire-E1-531:~/Downloads/kdz# ls -la /dev/disk/by-partlabel

total 0

drwxr-xr-x 2 root root 60 Луу 18 19:32 .

drwxr-xr-x 7 root root 140 Луу 18 19:32 ..

lrwxrwxrwx 1 root root 10 Луу 18 18:35 EFI\x20System\x20Partition -> ../../sda1

root@aaya-Aspire-E1-531:~/Downloads/kdz# cd kdz

bash: cd: kdz: No such file or directory

root@aaya-Aspire-E1-531:~/Downloads/kdz# for i in $(ls *.bin |egrep -v "(GPT|userdata)");do echo dd if=$i of=/dev/disk/by-partlabel/${i/\.bin};done

dd if=abootbak.bin of=/dev/disk/by-partlabel/abootbak

dd if=aboot.bin of=/dev/disk/by-partlabel/aboot

dd if=apdp.bin of=/dev/disk/by-partlabel/apdp

dd if=boot.bin of=/dev/disk/by-partlabel/boot

dd if=cache.bin of=/dev/disk/by-partlabel/cache

dd if=cdt.bin of=/dev/disk/by-partlabel/cdt

dd if=cmnlib64bak.bin of=/dev/disk/by-partlabel/cmnlib64bak

dd if=cmnlib64.bin of=/dev/disk/by-partlabel/cmnlib64

dd if=cmnlibbak.bin of=/dev/disk/by-partlabel/cmnlibbak

dd if=cmnlib.bin of=/dev/disk/by-partlabel/cmnlib

dd if=ddr.bin of=/dev/disk/by-partlabel/ddr

dd if=devcfgbak.bin of=/dev/disk/by-partlabel/devcfgbak

dd if=devcfg.bin of=/dev/disk/by-partlabel/devcfg

dd if=devinfo.bin of=/dev/disk/by-partlabel/devinfo

dd if=dip.bin of=/dev/disk/by-partlabel/dip

dd if=dpo.bin of=/dev/disk/by-partlabel/dpo

dd if=drm.bin of=/dev/disk/by-partlabel/drm

dd if=eksst.bin of=/dev/disk/by-partlabel/eksst

dd if=encrypt.bin of=/dev/disk/by-partlabel/encrypt

dd if=factory.bin of=/dev/disk/by-partlabel/factory

dd if=fota.bin of=/dev/disk/by-partlabel/fota

dd if=fsc.bin of=/dev/disk/by-partlabel/fsc

dd if=fsg.bin of=/dev/disk/by-partlabel/fsg

dd if=grow2.bin of=/dev/disk/by-partlabel/grow2

dd if=grow3.bin of=/dev/disk/by-partlabel/grow3

dd if=grow4.bin of=/dev/disk/by-partlabel/grow4

dd if=grow5.bin of=/dev/disk/by-partlabel/grow5

dd if=grow6.bin of=/dev/disk/by-partlabel/grow6

dd if=grow.bin of=/dev/disk/by-partlabel/grow

dd if=hypbak.bin of=/dev/disk/by-partlabel/hypbak

dd if=hyp.bin of=/dev/disk/by-partlabel/hyp

dd if=keymasterbak.bin of=/dev/disk/by-partlabel/keymasterbak

dd if=keymaster.bin of=/dev/disk/by-partlabel/keymaster

dd if=keystore.bin of=/dev/disk/by-partlabel/keystore

dd if=lafbak.bin of=/dev/disk/by-partlabel/lafbak

dd if=laf.bin of=/dev/disk/by-partlabel/laf

dd if=misc.bin of=/dev/disk/by-partlabel/misc

dd if=modem.bin of=/dev/disk/by-partlabel/modem

dd if=modemst1.bin of=/dev/disk/by-partlabel/modemst1

dd if=modemst2.bin of=/dev/disk/by-partlabel/modemst2

dd if=mpt.bin of=/dev/disk/by-partlabel/mpt

dd if=msadp.bin of=/dev/disk/by-partlabel/msadp

dd if=persist.bin of=/dev/disk/by-partlabel/persist

dd if=pmicbak.bin of=/dev/disk/by-partlabel/pmicbak

dd if=pmic.bin of=/dev/disk/by-partlabel/pmic

dd if=raw_resourcesbak.bin of=/dev/disk/by-partlabel/raw_resourcesbak

dd if=raw_resources.bin of=/dev/disk/by-partlabel/raw_resources

dd if=rct.bin of=/dev/disk/by-partlabel/rct

dd if=recoverybak.bin of=/dev/disk/by-partlabel/recoverybak

dd if=recovery.bin of=/dev/disk/by-partlabel/recovery

dd if=reserve.bin of=/dev/disk/by-partlabel/reserve

dd if=rpmbak.bin of=/dev/disk/by-partlabel/rpmbak

dd if=rpm.bin of=/dev/disk/by-partlabel/rpm

dd if=sec.bin of=/dev/disk/by-partlabel/sec

dd if=sns.bin of=/dev/disk/by-partlabel/sns

dd if=spare1.bin of=/dev/disk/by-partlabel/spare1

dd if=spare2.bin of=/dev/disk/by-partlabel/spare2

dd if=ssd.bin of=/dev/disk/by-partlabel/ssd

dd if=system.bin of=/dev/disk/by-partlabel/system

dd if=tzbak.bin of=/dev/disk/by-partlabel/tzbak

dd if=tz.bin of=/dev/disk/by-partlabel/tz

dd if=xbl2bak.bin of=/dev/disk/by-partlabel/xbl2bak

dd if=xbl2.bin of=/dev/disk/by-partlabel/xbl2

dd if=xblbak.bin of=/dev/disk/by-partlabel/xblbak

dd if=xbl.bin of=/dev/disk/by-partlabel/xbl

root@aaya-Aspire-E1-531:~/Downloads/kdz# for i in $(ls *.bin |egrep -v "(GPT|userdata)");do dd if=$i of=/dev/disk/by-partlabel/${i/\.bin};done

4096+0 records in

4096+0 records out

2097152 bytes (2,1 MB, 2,0 MiB) copied, 0,0645802 s, 32,5 MB/s

4096+0 records in

4096+0 records out

2097152 bytes (2,1 MB, 2,0 MiB) copied, 0,033826 s, 62,0 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,0139195 s, 37,7 MB/s

81920+0 records in

81920+0 records out

41943040 bytes (42 MB, 40 MiB) copied, 0,538989 s, 77,8 MB/s

1048576+0 records in

1048576+0 records out

536870912 bytes (537 MB, 512 MiB) copied, 6,8639 s, 78,2 MB/s

8+0 records in

8+0 records out

4096 bytes (4,1 kB, 4,0 KiB) copied, 0,000314755 s, 13,0 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00478674 s, 110 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00568034 s, 92,3 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00660332 s, 79,4 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00483936 s, 108 MB/s

4096+0 records in

4096+0 records out

2097152 bytes (2,1 MB, 2,0 MiB) copied, 0,0297275 s, 70,5 MB/s

256+0 records in

256+0 records out

131072 bytes (131 kB, 128 KiB) copied, 0,00236585 s, 55,4 MB/s

256+0 records in

256+0 records out

131072 bytes (131 kB, 128 KiB) copied, 0,00274482 s, 47,8 MB/s

2048+0 records in

2048+0 records out

1048576 bytes (1,0 MB, 1,0 MiB) copied, 0,0135021 s, 77,7 MB/s

2048+0 records in

2048+0 records out

1048576 bytes (1,0 MB, 1,0 MiB) copied, 0,0120692 s, 86,9 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,0153506 s, 34,2 MB/s

20480+0 records in

20480+0 records out

10485760 bytes (10 MB, 10 MiB) copied, 0,13946 s, 75,2 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00688644 s, 76,1 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,0049967 s, 105 MB/s

135168+0 records in

135168+0 records out

69206016 bytes (69 MB, 66 MiB) copied, 1,01334 s, 68,3 MB/s

8192+0 records in

8192+0 records out

4194304 bytes (4,2 MB, 4,0 MiB) copied, 0,0511182 s, 82,1 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00611613 s, 85,7 MB/s

4096+0 records in

4096+0 records out

2097152 bytes (2,1 MB, 2,0 MiB) copied, 0,0170799 s, 123 MB/s

8+0 records in

8+0 records out

4096 bytes (4,1 kB, 4,0 KiB) copied, 0,000273026 s, 15,0 MB/s

8+0 records in

8+0 records out

4096 bytes (4,1 kB, 4,0 KiB) copied, 0,000179081 s, 22,9 MB/s

8+0 records in

8+0 records out

4096 bytes (4,1 kB, 4,0 KiB) copied, 0,000323429 s, 12,7 MB/s

8+0 records in

8+0 records out

4096 bytes (4,1 kB, 4,0 KiB) copied, 0,00018018 s, 22,7 MB/s

8+0 records in

8+0 records out

4096 bytes (4,1 kB, 4,0 KiB) copied, 0,000267083 s, 15,3 MB/s

7080+0 records in

7080+0 records out

3624960 bytes (3,6 MB, 3,5 MiB) copied, 0,0571791 s, 63,4 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00556187 s, 94,3 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00537099 s, 97,6 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00457723 s, 115 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,0146511 s, 35,8 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00600904 s, 87,2 MB/s

98304+0 records in

98304+0 records out

50331648 bytes (50 MB, 48 MiB) copied, 0,67333 s, 74,8 MB/s

98304+0 records in

98304+0 records out

50331648 bytes (50 MB, 48 MiB) copied, 0,616455 s, 81,6 MB/s

65536+0 records in

65536+0 records out

33554432 bytes (34 MB, 32 MiB) copied, 0,404057 s, 83,0 MB/s

176128+0 records in

176128+0 records out

90177536 bytes (90 MB, 86 MiB) copied, 1,1437 s, 78,8 MB/s

4096+0 records in

4096+0 records out

2097152 bytes (2,1 MB, 2,0 MiB) copied, 0,0244209 s, 85,9 MB/s

4096+0 records in

4096+0 records out

2097152 bytes (2,1 MB, 2,0 MiB) copied, 0,0240775 s, 87,1 MB/s

65536+0 records in

65536+0 records out

33554432 bytes (34 MB, 32 MiB) copied, 0,426183 s, 78,7 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00713832 s, 73,4 MB/s

65536+0 records in

65536+0 records out

33554432 bytes (34 MB, 32 MiB) copied, 0,405352 s, 82,8 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,0956617 s, 5,5 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00720851 s, 72,7 MB/s

8192+0 records in

8192+0 records out

4194304 bytes (4,2 MB, 4,0 MiB) copied, 0,0700125 s, 59,9 MB/s

8192+0 records in

8192+0 records out

4194304 bytes (4,2 MB, 4,0 MiB) copied, 0,0754277 s, 55,6 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,0422099 s, 12,4 MB/s

82944+0 records in

82944+0 records out

42467328 bytes (42 MB, 40 MiB) copied, 0,51604 s, 82,3 MB/s

82944+0 records in

82944+0 records out

42467328 bytes (42 MB, 40 MiB) copied, 0,542084 s, 78,3 MB/s

64+0 records in

64+0 records out

32768 bytes (33 kB, 32 KiB) copied, 0,00882342 s, 3,7 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,0230715 s, 22,7 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,0240835 s, 21,8 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,00557492 s, 94,0 MB/s

12288+0 records in

12288+0 records out

6291456 bytes (6,3 MB, 6,0 MiB) copied, 0,100289 s, 62,7 MB/s

8192+0 records in

8192+0 records out

4194304 bytes (4,2 MB, 4,0 MiB) copied, 0,0708991 s, 59,2 MB/s

4096+0 records in

4096+0 records out

2097152 bytes (2,1 MB, 2,0 MiB) copied, 0,042133 s, 49,8 MB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 0,0214201 s, 24,5 MB/s

dd: writing to '/dev/disk/by-partlabel/system': No space left on device

1740777+0 records in

1740776+0 records out

891277312 bytes (891 MB, 850 MiB) copied, 11,3213 s, 78,7 MB/s

dd: writing to '/dev/disk/by-partlabel/tzbak': No space left on device

1+0 records in

0+0 records out

0 bytes copied, 0,0257604 s, 0,0 kB/s

dd: writing to '/dev/disk/by-partlabel/tz': No space left on device

1+0 records in

0+0 records out

0 bytes copied, 0,0130488 s, 0,0 kB/s

dd: writing to '/dev/disk/by-partlabel/xbl2bak': No space left on device

1+0 records in

0+0 records out

0 bytes copied, 0,0112316 s, 0,0 kB/s

dd: writing to '/dev/disk/by-partlabel/xbl2': No space left on device

1+0 records in

0+0 records out

0 bytes copied, 0,00448855 s, 0,0 kB/s

dd: writing to '/dev/disk/by-partlabel/xblbak': No space left on device

1+0 records in

0+0 records out

0 bytes copied, 0,00429619 s, 0,0 kB/s

dd: writing to '/dev/disk/by-partlabel/xbl': No space left on device

1+0 records in

0+0 records out

0 bytes copied, 0,00457151 s, 0,0 kB/s

root@aaya-Aspire-E1-531:~/Downloads/kdz#