[T-Mobile LG G2x] raar:
Guys,

While I was trying to replace boot,system and recovery images with NVFlash using Modaco's tool for O2X, I forgot to replace the partitions and flashed O2X partitions stated below(Taken from android_fastboot_emmc_full.cfg). Is there anyway that I can find the sizes, id's and types of G2X's partitions so I can set a table like this and flash it to fix my partitions.

Ps. I did try Casper's way( using adb) but I can't go into recovery, and using KDZ flasher but since my phone stucked at LG icon bootloop my computer doesn't recognize the device. Is there anyway to recover the phone completely( Partitions, recovery, boot, and system images) using NVFlash?

[device]

type=hsmmc

instance=3

[partition]

name=BCT

id=2

type=boot_config_table

allocation_policy=sequential

filesystem_type=basic

size=3145728

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=PT

id=3

type=partition_table

allocation_policy=absolute

filesystem_type=basic

start_location=4194304

size=2048

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=EBT

id=4

type=bootloader

allocation_policy=sequential

filesystem_type=basic

size=1572864

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

filename=fastboot.bin

[partition]

name=MBR

id=5

type=master_boot_record

allocation_policy=sequential

filesystem_type=basic

size=1048576

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=APP

id=6

type=data

allocation_policy=sequential

filesystem_type=basic

size=367001600

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

filename=system.img

[partition]

name=CAC

id=7

type=data

allocation_policy=sequential

filesystem_type=ext3

size=67108864

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=MSC

id=8

type=data

allocation_policy=sequential

filesystem_type=ext3

size=2097152

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

# extended partition

[partition]

name=EB1

id=9

type=extended_boot_record

allocation_policy=sequential

filesystem_type=basic

size=113976

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=LNX

id=10

type=data

allocation_policy=sequential

filesystem_type=basic

size=8388608

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

filename=boot.img

[partition]

name=EB2

id=11

type=extended_boot_record

allocation_policy=sequential

filesystem_type=basic

size=131072

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=DRM

id=12

type=data

allocation_policy=sequential

filesystem_type=ext3

size=2306560

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=EB3

id=13

type=extended_boot_record

allocation_policy=sequential

filesystem_type=basic

size=131072

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=SOS

id=14

type=data

allocation_policy=sequential

filesystem_type=basic

size=20971520

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

filename=recovery.img

[partition]

name=EB4

id=15

type=extended_boot_record

allocation_policy=sequential

filesystem_type=basic

size=131072

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=UDA

id=16

type=data

allocation_policy=sequential

filesystem_type=ext3

size=1610612736

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=EB5

id=17

type=extended_boot_record

allocation_policy=sequential

filesystem_type=basic

size=131072

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0

[partition]

name=UDB

id=18

type=data

allocation_policy=sequential

filesystem_type=ext3

size=0xFFFFFFFFFFFFFFFF

file_system_attribute=0

partition_attribute=0

allocation_attribute=8

percent_reserved=0