[LG V30 Guides, News, & Discussion] herb9876:
hi i got it all worked out except the last two lines i included below.

only reason im posting this is i havent seen this error at this point of the process yet. ive seen it a few steps up but im a bit stumped.

using a converted h931 now US998 thanks

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell

~ # ←[6ncd /external_sd/repartition/

/external_sd/repartition # ←[6nsgdisk /dev/block/sda --b=/external_sd/GPT_orig.b

in

The operation has completed successfully.

/external_sd/repartition # ←[6n./make_vendor.sh

/vendor missing

sh: -lt: argument expected

*********Resize /system to 1569792 = 1682309 - 112518 + 1 (inclusize) = 1569792

To really repartition, copy the following commands, and execute them

e2fsck -f /dev/block/bootdevice/by-name/system

resize2fs /dev/block/bootdevice/by-name/system 1569792

Setting name!

partNum is 21

REALLY setting name!

Setting name!

partNum is 25

REALLY setting name!

Disk /dev/block/sda: 15525888 sectors, 59.2 GiB

Logical sector size: 4096 bytes

Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20

Partition table holds up to 32 entries

First usable sector is 6, last usable sector is 15525882

Partitions will be aligned on 2-sector boundaries

Total free space is 0 sectors (0 bytes)

Number Start (sector) End (sector) Size Code Name

1 6 12293 48.0 MiB FFFF laf

2 12294 24581 48.0 MiB FFFF lafbak

3 24582 32773 32.0 MiB FFFF mpt

4 32774 35333 10.0 MiB FFFF drm

5 35334 36869 6.0 MiB FFFF sns

6 36870 37125 1024.0 KiB FFFF misc

7 37126 45317 32.0 MiB FFFF ftm

8 45318 49413 16.0 MiB 0700 operatorlogging

9 49414 51461 8.0 MiB 0700 eri

10 51462 61701 40.0 MiB 0700 carrier

11 61702 78597 66.0 MiB FFFF factory

12 78598 78725 512.0 KiB FFFF encrypt

13 78726 78853 512.0 KiB FFFF eksst

14 78854 78981 512.0 KiB FFFF rct

15 78982 79109 512.0 KiB FFFF ssd

16 79110 79237 512.0 KiB FFFF keystore

17 79238 95621 64.0 MiB FFFF persdata

18 95622 103813 32.0 MiB FFFF persist

19 103814 105861 8.0 MiB FFFF srtc

20 105862 112005 24.0 MiB FFFF qni

21 112006 112517 2.0 MiB FFFF pstore

22 112518 1682309 6.0 GiB 8300 system

23 1813382 2343813 2.0 GiB FFFF cache

24 2343814 15525881 50.3 GiB FFFF userdata

25 15525882 15525882 4.0 KiB FFFF grow

26 1682310 1813381 512.0 MiB 8300 vendor

sgdisk --pretend --delete=22 --new=22:112518:1682309 --change-name=22:system --n

ew=26:1682310:1813381 --change-name=26:vendor --print /dev/block/sda

This will format system and vendor again, so it can be used

make_ext4fs /dev/block/sda22

make_ext4fs /dev/block/sda26

/external_sd/repartition # ←[6ne2fsck -f /dev/block/bootdevice/by-name/system

e2fsck 1.43.3 (04-Sep-2016)

Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

system: 9683/419328 files (0.0% non-contiguous), 1191095/1674328 blocks

/external_sd/repartition # ←[6nresize2fs /dev/block/bootdevice/by-name/system 15

0579

2

resize2fs 1.43.3 (04-Sep-2016)

Resizing the filesystem on /dev/block/bootdevice/by-name/system to 1505792 (4k)

blocks.

The filesystem on /dev/block/bootdevice/by-name/system is now 1505792 (4k) block

s long.

/external_sd/repartition # ←[6nsgdisk --pretend --delete=22 --new=22:112518:1682

309

--change-name=22:system --n

sgdisk: option `--n' requires an argument

/external_sd/repartition # ew=26:1682310:1813381 --change-name=26:vendor --print

/dev/block/sd←[←[Jec←[←[←[Jexit

/sbin/sh: --change-name=26:vendor: not found

/external_sd/repartition # ←[6nsgdisk --pretend --delete=22 --new=22:112518:1682

309

--change-name=22:syste←[←[←[←[←[←[←[←[←[←[←[←[←[←[←[←[←[←[←[Jexit

sgdisk: unrecognized option `--chexit'

/external_sd/repartition # ←[6nsgdisk --pretend --delete=22 --new=22←[←[←[Jexit

/external_sd/repartition # ←[6nsgdisk --pretend --delete=22 --new=22:112518:1682

309

--change-name=22:system --new=26:1682310:1813381 --change-name=26:vendor --print

/dev/block/sda

Setting name!

partNum is 21

REALLY setting name!

Setting name!

partNum is 25

REALLY setting name!

Disk /dev/block/sda: 15525888 sectors, 59.2 GiB

Logical sector size: 4096 bytes

Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20

Partition table holds up to 32 entries

First usable sector is 6, last usable sector is 15525882

Partitions will be aligned on 2-sector boundaries

Total free space is 0 sectors (0 bytes)

Number Start (sector) End (sector) Size Code Name

1 6 12293 48.0 MiB FFFF laf

2 12294 24581 48.0 MiB FFFF lafbak

3 24582 32773 32.0 MiB FFFF mpt

4 32774 35333 10.0 MiB FFFF drm

5 35334 36869 6.0 MiB FFFF sns

6 36870 37125 1024.0 KiB FFFF misc

7 37126 45317 32.0 MiB FFFF ftm

8 45318 49413 16.0 MiB 0700 operatorlogging

9 49414 51461 8.0 MiB 0700 eri

10 51462 61701 40.0 MiB 0700 carrier

11 61702 78597 66.0 MiB FFFF factory

12 78598 78725 512.0 KiB FFFF encrypt

13 78726 78853 512.0 KiB FFFF eksst

14 78854 78981 512.0 KiB FFFF rct

15 78982 79109 512.0 KiB FFFF ssd

16 79110 79237 512.0 KiB FFFF keystore

17 79238 95621 64.0 MiB FFFF persdata

18 95622 103813 32.0 MiB FFFF persist

19 103814 105861 8.0 MiB FFFF srtc

20 105862 112005 24.0 MiB FFFF qni

21 112006 112517 2.0 MiB FFFF pstore

22 112518 1682309 6.0 GiB 8300 system

23 1813382 2343813 2.0 GiB FFFF cache

24 2343814 15525881 50.3 GiB FFFF userdata

25 15525882 15525882 4.0 KiB FFFF grow

26 1682310 1813381 512.0 MiB 8300 vendor

/external_sd/repartition # ←[6nsgdisk --delete=22 --new=22:112518:1682309 --chan

ge-n

ame=22:system --new=26:1682310:1813381 --change-name=26:vendor --print /dev/bloc

k/sda

Setting name!

partNum is 21

REALLY setting name!

Setting name!

partNum is 25

REALLY setting name!

Disk /dev/block/sda: 15525888 sectors, 59.2 GiB

Logical sector size: 4096 bytes

Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20

Partition table holds up to 32 entries

First usable sector is 6, last usable sector is 15525882

Partitions will be aligned on 2-sector boundaries

Total free space is 0 sectors (0 bytes)

Number Start (sector) End (sector) Size Code Name

1 6 12293 48.0 MiB FFFF laf

2 12294 24581 48.0 MiB FFFF lafbak

3 24582 32773 32.0 MiB FFFF mpt

4 32774 35333 10.0 MiB FFFF drm

5 35334 36869 6.0 MiB FFFF sns

6 36870 37125 1024.0 KiB FFFF misc

7 37126 45317 32.0 MiB FFFF ftm

8 45318 49413 16.0 MiB 0700 operatorlogging

9 49414 51461 8.0 MiB 0700 eri

10 51462 61701 40.0 MiB 0700 carrier

11 61702 78597 66.0 MiB FFFF factory

12 78598 78725 512.0 KiB FFFF encrypt

13 78726 78853 512.0 KiB FFFF eksst

14 78854 78981 512.0 KiB FFFF rct

15 78982 79109 512.0 KiB FFFF ssd

16 79110 79237 512.0 KiB FFFF keystore

17 79238 95621 64.0 MiB FFFF persdata

18 95622 103813 32.0 MiB FFFF persist

19 103814 105861 8.0 MiB FFFF srtc

20 105862 112005 24.0 MiB FFFF qni

21 112006 112517 2.0 MiB FFFF pstore

22 112518 1682309 6.0 GiB 8300 system

23 1813382 2343813 2.0 GiB FFFF cache

24 2343814 15525881 50.3 GiB FFFF userdata

25 15525882 15525882 4.0 KiB FFFF grow

26 1682310 1813381 512.0 MiB 8300 vendor

Warning: The kernel is still using the old partition table.

The new table will be used at the next reboot.

The operation has completed successfully.

/external_sd/repartition # ←[6nmake_ext4fs /dev/block/sda22

Creating filesystem with parameters:

Size: 6966738944

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 26576

Label:

Blocks: 1700864

Block groups: 52

Reserved block group size: 415

Created filesystem with 11/425984 inodes and 57060/1700864 blocks

/external_sd/repartition # ←[6nmake_ext4fs /dev/block/sda26

filesystem size too small

/external_sd/repartition # ←[6nmake_ext4fs /dev/block/sda26

filesystem size too small

/external_sd/repartition # ←[6n