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

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

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

[android@fwul ~]$ sudo dmesg -c >> /dev/null

[sudo] password for android:

[android@fwul ~]$ dmesg

[13324.923241] usb 1-2: new full-speed USB device number 11 using ohci-pci

[13325.594494] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid maxpacket 512, setting to 64

[13325.594499] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x2 has invalid maxpacket 512, setting to 64

[13325.618041] usb-storage 1-2:1.0: USB Mass Storage device detected

[13325.634811] scsi host3: usb-storage 1-2:1.0

[13326.672238] scsi 3:0:0:0: Direct-Access Mass Storage Device 1.00 PQ: 0 ANSI: 0 CCS

[13326.695215] sd 3:0:0:0: [sdb] 61857792 512-byte logical blocks: (31.7 GB/29.5 GiB)

[13326.707634] sd 3:0:0:0: [sdb] Write Protect is off

[13326.707636] sd 3:0:0:0: [sdb] Mode Sense: 03 00 00 00

[13326.722615] sd 3:0:0:0: [sdb] No Caching mode page found

[13326.722617] sd 3:0:0:0: [sdb] Assuming drive cache: write through

[13326.802629] sdb: sdb1

[13326.859174] sd 3:0:0:0: [sdb] Attached SCSI removable disk

[android@fwul ~]$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 29.5 GiB, 31671189504 bytes, 61857792 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 8192 61857791 61849600 29.5G c W95 FAT32 (LBA)

[android@fwul ~]$ cd /home/android/21y/

[android@fwul 21y]$ sudo -s

[fwul 21y]# dd if=PrimaryGPT.bin of=/dev/sdb

32768+0 records in

32768+0 records out

16777216 bytes (17 MB, 16 MiB) copied, 43.9727 s, 382 kB/s

[fwul 21y]# sync

[fwul 21y]# ls -la /dev/disk/by-partlabel/sbl1

lrwxrwxrwx 1 root root 10 May 3 09:17 /dev/disk/by-partlabel/sbl1 -> ../../sdb3

[fwul 21y]# cd /home/android/21y/

[fwul 21y]# sudo -s

[fwul 21y]# 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=factory.bin of=/dev/disk/by-partlabel/factory

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

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

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

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

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

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=recovery.bin of=/dev/disk/by-partlabel/recovery

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

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

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

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

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

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

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

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

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

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

[fwul 21y]# 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, 4.99972 s, 419 kB/s

4096+0 records in

4096+0 records out

2097152 bytes (2.1 MB, 2.0 MiB) copied, 5.16635 s, 406 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.42203 s, 369 kB/s

81920+0 records in

81920+0 records out

41943040 bytes (42 MB, 40 MiB) copied, 136.39 s, 308 kB/s

94208+0 records in

94208+0 records out

48234496 bytes (48 MB, 46 MiB) copied, 118.618 s, 407 kB/s

16384+0 records in

16384+0 records out

8388608 bytes (8.4 MB, 8.0 MiB) copied, 20.8579 s, 402 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.41575 s, 370 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.36919 s, 383 kB/s

98304+0 records in

98304+0 records out

50331648 bytes (50 MB, 48 MiB) copied, 121.167 s, 415 kB/s

176128+0 records in

176128+0 records out

90177536 bytes (90 MB, 86 MiB) copied, 219.763 s, 410 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.57476 s, 333 kB/s

65536+0 records in

65536+0 records out

33554432 bytes (34 MB, 32 MiB) copied, 82.7691 s, 405 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.48758 s, 352 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.36699 s, 384 kB/s

8192+0 records in

8192+0 records out

4194304 bytes (4.2 MB, 4.0 MiB) copied, 10.0502 s, 417 kB/s

8192+0 records in

8192+0 records out

4194304 bytes (4.2 MB, 4.0 MiB) copied, 10.0968 s, 415 kB/s

81920+0 records in

81920+0 records out

41943040 bytes (42 MB, 40 MiB) copied, 103.158 s, 407 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.43053 s, 366 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.37484 s, 381 kB/s

2048+0 records in

2048+0 records out

1048576 bytes (1.0 MB, 1.0 MiB) copied, 2.61353 s, 401 kB/s

2048+0 records in

2048+0 records out

1048576 bytes (1.0 MB, 1.0 MiB) copied, 2.616 s, 401 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.38069 s, 380 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.35592 s, 387 kB/s

1024+0 records in

1024+0 records out

524288 bytes (524 kB, 512 KiB) copied, 1.37754 s, 381 kB/s

884736+0 records in

884736+0 records out

452984832 bytes (453 MB, 432 MiB) copied, 26.0372 s, 17.4 MB/s

2048+0 records in

2048+0 records out

1048576 bytes (1.0 MB, 1.0 MiB) copied, 2.63721 s, 398 kB/s

2048+0 records in

2048+0 records out

1048576 bytes (1.0 MB, 1.0 MiB) copied, 2.6402 s, 397 kB/s

[fwul 21y]#