Help Un-Bricking my LG-v480?

surfrock66

Member
Oct 14, 2011
27
30
0
Before I begin, I'm probably 8/10 competent with linux and 5/10 competent with android development. I've flashed many a phone with a new ROM, recovered from some bad flashes, etc. I've never screwed anything up as bad as this.

I had the v480 upgraded to Android 5.0, but wanted to get rid of that and try Lineage. To get TWRP on there, I needed to flash the Android 4.4 kdz, which I was able to do (V48010b0.kdz). Great. I got root, but no method I tried got TWRP to load; it would flash, but then it would never boot into the recovery, it would sit at the LG screen forever. I was using TWRP_2.8.6.0_v480_bumped.img from this thread: https://forum.xda-developers.com/g-pad-10/development/recovery-twrp2-8-5-0lgv400-410-t3049568

Here is the first screw up. I tried to re-flash the kdz file after screwing around for a while, and the Windows 7 laptop I was using with the LG tools bluescreened right in the god damned middle of the flash.. The tablet was DEAD. Full blown brick, no charging light, no nothing.

So, I found this thread and adapted it to my tablet. https://forum.xda-developers.com/an...9008-fix-tested-lg-v410g-pad-7-0-att-t3269057 I was able to make progress. I did NOT record the partition layout at the time, so I attempted to order the partitions based on the data in the partition filenames extracted from the kdz file:

Code:
Num		PartStart	PartName			Size	Size(K)	PartMapNumber
01		16384		modem_16384.bin			23.1M	22528	1
02		147456		sbl1_147456.bin			512K	512	2
03		149504		rpm_149504.bin			512K	512	3
04		150528		tz_150528.bin			512K	512	4
05		151552		sdi_151552.bin			512K	512	5
06		152576		aboot_152576.bin		1M	1024	6
07		156672		rpmb_156672.bin			512K	512	7
08		157696		tzb_157696.bin			512K	512	8
09		158720		abootb_158720.bin		1M	1024	9
10		212992		persist_212992.bin		5.2M	5120	15
11		278528		laf_278528.bin			18.4M	17920	16
12		327680		boot_327680.bin			12.6M	12288	17
13		376832		recovery_376832.bin		13.1M	12800	18
14		444416		sbl1b_444416.bin		512K	512	22
15		447488		rct_447488.bin			512K	512	24
16		492544		factory_492544.bin		14.2M	13824	28
17		688128		cust_688128.bin			9.4M	9216	31
18		901120		system_901120.bin		134.7M	131584	
19		1164296		system_1164296.bin		512K	512		
20		1168408		system_1168408.bin		131.6M	128516	
21		1429520		system_1429520.bin		133.2M	130048	
22		1692696		system_1692696.bin		131.6M	128512	
23		1953808		system_1953808.bin		133.2M	130048	
24		2216984		system_2216984.bin		131.6M	128512	
25		2478096		system_2478096.bin		133.2M	130048	
26		2741272		system_2741272.bin		131.6M	128512	
27		3002384		system_3002384.bin		133.2M	130048	
28		3265560		system_3265560.bin		131.6M	128512	
29		3526672		system_3526672.bin		132.1M	129024	
30		3788816		system_3788816.bin		132.1M	129024	
31		4050960		system_4050960.bin		47.7M	46592	
32		4308992		system_4308992.bin		512K	512		
33		4571136		system_4571136.bin		512K	512		
34		4833280		system_4833280.bin		512K	512		
35		15269855	BackupGPT_15269855.bin	512K	512
The "Part Map Number" column is something I added much later in the troubleshooting. SO...I basically guessed the partition layout for this, and got it close...doing this, and preparing an sd card, I was able to get TWRP to boot off of an SD card. HUZZAH. Now I'm able to get adb going and get into the tablet! I tried to flash a .zip file for CM12 or Lineage14.1...neither "worked" and rebooting to system/recovery/or bootloader just launched back into TWRP.

Now is where I'm in over my head. I was able to get the partition layout by doing this:
Code:
~ # ls -asl /dev/block/platform/msm_sdcc.1/by-name/
total 0
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
lrwxrwxrwx root     root              1970-01-02 21:57 DDR -> /dev/block/mmcblk0p25
lrwxrwxrwx root     root              1970-01-02 21:57 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root     root              1970-01-02 21:57 abootb -> /dev/block/mmcblk0p9
lrwxrwxrwx root     root              1970-01-02 21:57 boot -> /dev/block/mmcblk0p17
lrwxrwxrwx root     root              1970-01-02 21:57 cache -> /dev/block/mmcblk0p33
lrwxrwxrwx root     root              1970-01-02 21:57 cust -> /dev/block/mmcblk0p31
lrwxrwxrwx root     root              1970-01-02 21:57 drm -> /dev/block/mmcblk0p26
lrwxrwxrwx root     root              1970-01-02 21:57 eksst -> /dev/block/mmcblk0p10
lrwxrwxrwx root     root              1970-01-02 21:57 encrypt -> /dev/block/mmcblk0p23
lrwxrwxrwx root     root              1970-01-02 21:57 factory -> /dev/block/mmcblk0p28
lrwxrwxrwx root     root              1970-01-02 21:57 fota -> /dev/block/mmcblk0p29
lrwxrwxrwx root     root              1970-01-02 21:57 fsc -> /dev/block/mmcblk0p20
lrwxrwxrwx root     root              1970-01-02 21:57 fsg -> /dev/block/mmcblk0p19
lrwxrwxrwx root     root              1970-01-02 21:57 grow -> /dev/block/mmcblk0p35
lrwxrwxrwx root     root              1970-01-02 21:57 laf -> /dev/block/mmcblk0p16
lrwxrwxrwx root     root              1970-01-02 21:57 misc -> /dev/block/mmcblk0p14
lrwxrwxrwx root     root              1970-01-02 21:57 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root     root              1970-01-02 21:57 modemst1 -> /dev/block/mmcblk0p12
lrwxrwxrwx root     root              1970-01-02 21:57 modemst2 -> /dev/block/mmcblk0p13
lrwxrwxrwx root     root              1970-01-02 21:57 mpt -> /dev/block/mmcblk0p30
lrwxrwxrwx root     root              1970-01-02 21:57 pad -> /dev/block/mmcblk0p11
lrwxrwxrwx root     root              1970-01-02 21:57 persist -> /dev/block/mmcblk0p15
lrwxrwxrwx root     root              1970-01-02 21:57 rct -> /dev/block/mmcblk0p24
lrwxrwxrwx root     root              1970-01-02 21:57 recovery -> /dev/block/mmcblk0p18
lrwxrwxrwx root     root              1970-01-02 21:57 rpm -> /dev/block/mmcblk0p3
lrwxrwxrwx root     root              1970-01-02 21:57 rpmb -> /dev/block/mmcblk0p7
lrwxrwxrwx root     root              1970-01-02 21:57 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root     root              1970-01-02 21:57 sbl1b -> /dev/block/mmcblk0p22
lrwxrwxrwx root     root              1970-01-02 21:57 sdi -> /dev/block/mmcblk0p5
lrwxrwxrwx root     root              1970-01-02 21:57 sns -> /dev/block/mmcblk0p27
lrwxrwxrwx root     root              1970-01-02 21:57 ssd -> /dev/block/mmcblk0p21
lrwxrwxrwx root     root              1970-01-02 21:57 system -> /dev/block/mmcblk0p32
lrwxrwxrwx root     root              1970-01-02 21:57 tz -> /dev/block/mmcblk0p4
lrwxrwxrwx root     root              1970-01-02 21:57 tzb -> /dev/block/mmcblk0p8
lrwxrwxrwx root     root              1970-01-02 21:57 userdata -> /dev/block/mmcblk0p34
There is a msm_sdcc.2 as well with the same partition layout. At this point, I figured, I could push the .dz files for each partition to /sdcard (which was still populated with android stuff) then just flash the required partitions. I ran mount to see which was mounted where:

Code:
~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=441232k,nr_inodes=110308,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=441232k,nr_inodes=110308)
/dev/block/mmcblk0p34 on /data type ext4 (rw,seclabel,relatime,resuid=1000,data=ordered)
/dev/block/mmcblk0p34 on /sdcard type ext4 (rw,seclabel,relatime,resuid=1000,data=ordered)
/dev/block/mmcblk0p33 on /cache type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk1p1 on /external_sd type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
Then planned to completely destroy the system with this. I ran the following:

Code:
dd if=/sdcard/V48010b0/PrimaryGPT_0.bin of=/dev/block/mmcblk0; sleep 2
dd if=/sdcard/V48010b0/modem_16384.bin of=/dev/mmcblk0p1; sleep 2
dd if=/sdcard/V48010b0/sbl1_147456.bin of=/dev/mmcblk0p2; sleep 2
dd if=/sdcard/V48010b0/rpm_149504.bin of=/dev/mmcblk0p3; sleep 2
dd if=/sdcard/V48010b0/tz_150528.bin of=/dev/mmcblk0p4; sleep 2
dd if=/sdcard/V48010b0/sdi_151552.bin of=/dev/mmcblk0p5; sleep 2
dd if=/sdcard/V48010b0/aboot_152576.bin of=/dev/mmcblk0p6; sleep 2
dd if=/sdcard/V48010b0/rpmb_156672.bin of=/dev/mmcblk0p7; sleep 2
dd if=/sdcard/V48010b0/tzb_157696.bin of=/dev/mmcblk0p8; sleep 2
dd if=/sdcard/V48010b0/abootb_158720.bin of=/dev/mmcblk0p9; sleep 2
dd if=/sdcard/V48010b0/persist_212992.bin of=/dev/mmcblk0p15; sleep 2
#dd if=/sdcard/V48010b0/laf_278528.bin of=/dev/mmcblk0p16; sleep 2
dd if=/sdcard/V48010b0/boot_327680.bin of=/dev/mmcblk0p17; sleep 2
dd if=/sdcard/V48010b0/recovery_376832.bin of=/dev/mmcblk0p18; sleep 2
#dd if=/sdcard/V48010b0/TWRP_2.8.6.0_v480_bumped.img of=/dev/mmcblk0p18; sleep 2
#dd if=/sdcard/V48010b0/TWRP_3.0.3-0_v480.img of=/dev/mmcblk0p18; sleep 2
dd if=/sdcard/V48010b0/sbl1b_444416.bin of=/dev/mmcblk0p22; sleep 2
dd if=/sdcard/V48010b0/rct_447488.bin of=/dev/mmcblk0p24; sleep 2
dd if=/sdcard/V48010b0/factory_492544.bin of=/dev/mmcblk0p28; sleep 2
dd if=/sdcard/V48010b0/cust_688128.bin of=/dev/mmcblk0p31; sleep 2
My understanding is, in theory, this should COMPLETELY blow away the internal storage of the device (flashing the primary GPT table) and then write over the important partitions. If I can get to TWRP, I should be able to flash a rom zip. So I did that...removed the SD card, and the tablet won't do anything. Put the SD card back in, did the whole "boot from SD" thing from before...TWRP comes back, ADB is up...Android files in /sdcard are still there, so I'm wondering if it didn't wipe! So, I figure maybe the block device was the wrong one...I dd'd the partitions at "mmcblk1" instead of 0. Same thing. External SD is unmodified, /sdcard directory is still there.

By this point I was confused. I got another MicroSD card and tried to set it up like I did the first one. I cannot get the tablet to boot. Put the original microSD card back in...boot to TWRP and nothing else. I have no idea what is running from what. I finally, out of desperation, decide to "dd if=/dev/zero of=/dev/mmcblk0" just to be sure I'm starting from scratch...finish that, restart...tablet comes back up to TWRP when SD card is inserted WITH data in the /sdcard folder.

So now I'm stuck. I feel like having ADB access and a running linux shell means I should be able to get something loading somewhere. I have parted on there, but it just gives me partition errors based on what I assume is the GPT table being flashed insanely:

Code:
/sdcard # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
Error: The backup GPT table is not at the end of the disk, as it should be.
This might mean that another operating system believes the disk is smaller.
Fix, by moving the backup to the end (and removing the old backup)?
Fix/Ignore/Cancel? fix
fix
Warning: Not all of the space available to /dev/block/mmcblk0 appears to be
used, you can fix the GPT to use all of the space (an extra 15507456 blocks) or
continue with the current setting?
Fix/Ignore? fix
fix
Error: Can't have the end before the start!
Just to be thorough:

Code:
/sdcard # df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   430.9M     16.0K    430.9M   0% /dev
tmpfs                   430.9M     16.0K    430.9M   0% /tmp
/dev/block/mmcblk0p34
                         11.2G      3.7G      7.4G  34% /data
/dev/block/mmcblk0p34
                         11.2G      3.7G      7.4G  34% /sdcard
/dev/block/mmcblk0p33
                        888.5M     14.5M    874.1M   2% /cache
/dev/block/mmcblk1p1     64.0M     21.9M     42.0M  34% /external_sd
So, I'm not sure what to do now. I have all the .dz files from Android 4.4 and 5.0.2, I have 2 custom rom files for CM and LOS, 2 sets of OpenGapps, TWRP, kdz files, and a working adb shell from a TWRP install I'm not sure where it's being executed from. I feel like it's working to a state I should be able to get out of this, but everything I try is failing. Am I hosed or do I have an option to get out of this? I can provide any output needed...this was interesting to me:

Code:
/proc # cat partitions
major minor  #blocks  name

 179        0   15388672 mmcblk0
 179        1      65536 mmcblk0p1
 179        2       1024 mmcblk0p2
 179        3        512 mmcblk0p3
 179        4        512 mmcblk0p4
 179        5        512 mmcblk0p5
 179        6       2048 mmcblk0p6
 179        7        512 mmcblk0p7
 179        8        512 mmcblk0p8
 179        9       2048 mmcblk0p9
 179       10        512 mmcblk0p10
 179       11       2048 mmcblk0p11
 179       12       3072 mmcblk0p12
 179       13       3072 mmcblk0p13
 179       14      16384 mmcblk0p14
 179       15      32768 mmcblk0p15
 179       16      24576 mmcblk0p16
 179       17      24576 mmcblk0p17
 179       18      24576 mmcblk0p18
 179       19       3072 mmcblk0p19
 179       20        512 mmcblk0p20
 179       21        512 mmcblk0p21
 179       22       1024 mmcblk0p22
 179       23        512 mmcblk0p23
 179       24        512 mmcblk0p24
 179       25        512 mmcblk0p25
 179       26       8192 mmcblk0p26
 179       27       8192 mmcblk0p27
 179       28      24576 mmcblk0p28
 179       29      32768 mmcblk0p29
 179       30      32768 mmcblk0p30
 179       31     106496 mmcblk0p31
 259        0    2097152 mmcblk0p32
 259        1     925696 mmcblk0p33
 259        2   11911168 mmcblk0p34
 259        3 9223372036847026159 mmcblk0p35
 179       32       4096 mmcblk0rpmb
 179       64   31166976 mmcblk1
 179       65      65536 mmcblk1p1
 179       66       1024 mmcblk1p2
 179       67        512 mmcblk1p3
 179       68        512 mmcblk1p4
 179       69        512 mmcblk1p5
 179       70       2048 mmcblk1p6
 179       71        512 mmcblk1p7
 179       72        512 mmcblk1p8
 179       73       2048 mmcblk1p9
 179       74        512 mmcblk1p10
 179       75       2048 mmcblk1p11
 179       76       3072 mmcblk1p12
 179       77       3072 mmcblk1p13
 179       78      16384 mmcblk1p14
 179       79      32768 mmcblk1p15
 179       80      24576 mmcblk1p16
 179       81      24576 mmcblk1p17
 179       82      24576 mmcblk1p18
 179       83       3072 mmcblk1p19
 179       84        512 mmcblk1p20
 179       85        512 mmcblk1p21
 179       86       1024 mmcblk1p22
 179       87        512 mmcblk1p23
 179       88        512 mmcblk1p24
 179       89        512 mmcblk1p25
 179       90       8192 mmcblk1p26
 179       91       8192 mmcblk1p27
 179       92      24576 mmcblk1p28
 179       93      32768 mmcblk1p29
 179       94      32768 mmcblk1p30
 179       95     106496 mmcblk1p31
 259        4    2097152 mmcblk1p32
 259        5     925696 mmcblk1p33
 259        6   11911168 mmcblk1p34
 259        7 9223372036847026159 mmcblk1p35
 

jason2678

Senior Member
Jul 1, 2014
1,007
552
0
St. Paul
I have an idea, assuming you followed the instructions in that hard brick recovery thread exactly and skipped the laf partition. I would not mess with that SD card you made. That is a nice lifeline to have. However, try to make another recovery SD card just like it, except this time flash the laf partition onto it.

With a laf partition instead of ending up in fastboot, you should end up in LG download mode. That might let you use your kdz and LG flash tools to fix the tablet.

The reason we skip laf on the V410 is that AT&T never allowed a kdz to be released because they're anti-consumer a-holes who don't want their secret formula for bloat getting out. You have a kdz, so that laf partition is not useless to you.

Again, I wouldn't mess with that SD card you've already made. You've got a good thing going there in case this fails. However, make another one with a laf partition, and just maybe you can flash your way out of this.
 

surfrock66

Member
Oct 14, 2011
27
30
0
I actually tried that, and for some reason the 2nd SDCard won't boot. I will try it again.

When I flash "PrimaryGPT_xxx.bin" parted fails complaining about the grow partition AND the backup GPT table. I have a "BackupGPT_xxx.bin" but can't seem to figure out how to flash it. I considered manually extracting the partition information and making partitions by hand manually on a spare SD.
 

jason2678

Senior Member
Jul 1, 2014
1,007
552
0
St. Paul
I actually tried that, and for some reason the 2nd SDCard won't boot. I will try it again.

When I flash "PrimaryGPT_xxx.bin" parted fails complaining about the grow partition AND the backup GPT table. I have a "BackupGPT_xxx.bin" but can't seem to figure out how to flash it. I considered manually extracting the partition information and making partitions by hand manually on a spare SD.
Sorry, I'm out of ideas then. Maybe try other cards if you happen to have any available. This Qualcomm SD card fallback boot method is great, but sometimes it is really finicky. I've heard people say you need at least a class 10 card. I've heard other people say they've used two supposedly identical cards, and one works for it while the other won't

Good luck. You've come a long way.
 

surfrock66

Member
Oct 14, 2011
27
30
0
So, "Progress" update?

I got a new SD card. Flashed the stock partitions exactly as they came, no twrp or anything. I put the new SD card into the tablet...and it booted to TWRP. Not only that, /sdcard/ is still populated with my stuff.

So...somehow, the sd card enables the tablet to boot from TWRP located on some partition on the tablet's storage itself, and the /sdcard/ partition on /dev/block/mmcblk0p34 is actually the device's storage. Looking at the major/minor numbers in /proc/partitions, is it possible that partitions 32-35 are actually the onboard storage, but 1-31 are the sdcard? That doesn't make sense in regard to how TWRP is booting.

I ran strings against the partitions and diff'd them, and the ones on 0p18 and 1p18 are different. Still, I'm not sure the boot order of this recovery mode here. I THINK I can flash individual .bin files to individual partitions on the onboard storage, but now I'm worried about locking myself out of twrp. What does the sdcard method of booting actually boot from?

Here's a neat log I found, I'm analyzing it:
Code:
/tmp # cat recovery.log 
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 2.8.6.0 on Fri Jan  2 00:45:44 1970
 (pid 174)
RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
I:Found brightness file at '/sys/devices/f9925000.i2c/i2c-2/2-0036/backlight/lm3697/brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
Starting the UI...Pixel format: 800x1280 @ 32bpp
Pixel format: RGBX_8888
Not using qualcomm overlay, 'mdssfb_80000'
framebuffer: fd 4 (800 x 1280)
TW_SCREEN_BLANK_ON_BOOT := true
I:Scaling the curtain width 0.740741x and height 0.666667x
=> Linking mtab
=> Processing recovery.fstab
I:Processing '/system'
I:Processing '/data'
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Processing '/cache'
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/efs1'
I:Processing '/efs2'
I:Processing '/external_sd'
I:Created '/external_sd' folder.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/LGV4806aacc2f5'
I:Settings storage is '/data/media/0'
Updating partition details...
I:Data backup size is 0MB, free: 7606MB.
...done
I:Unmounting main partitions...


Partition Logs:
/system | /dev/block/mmcblk0p32 | Size: 2012MB Used: 41MB Free: 1971MB Backup Size: 41MB
   Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent 
   Primary_Block_Device: /dev/block/mmcblk0p32
   Display_Name: System
   Storage_Name: System
   Backup_Path: /system
   Backup_Name: system
   Backup_Display_Name: System
   Storage_Path: /system
   Current_File_System: ext4
   Fstab_File_System: ext4
   Backup_Method: files

/data | /dev/block/mmcblk0p34 | Size: 11420MB Used: 0MB Free: 7606MB Backup Size: 0MB
   Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage 
   Symlink_Path: /data/media/0
   Symlink_Mount_Point: /sdcard
   Primary_Block_Device: /dev/block/mmcblk0p34
   Display_Name: Data
   Storage_Name: Internal Storage
   Backup_Path: /data
   Backup_Name: data
   Backup_Display_Name: Data
   Storage_Path: /data/media/0
   Current_File_System: ext4
   Fstab_File_System: ext4
   Backup_Method: files
   MTP_Storage_ID: 65537

/cache | /dev/block/mmcblk0p33 | Size: 888MB Used: 19MB Free: 868MB Backup Size: 19MB
   Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent 
   Primary_Block_Device: /dev/block/mmcblk0p33
   Display_Name: Cache
   Storage_Name: Cache
   Backup_Path: /cache
   Backup_Name: cache
   Backup_Display_Name: Cache
   Storage_Path: /cache
   Current_File_System: ext4
   Fstab_File_System: ext4
   Backup_Method: files

/boot | /dev/block/mmcblk0p17 | Size: 24MB
   Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img 
   Primary_Block_Device: /dev/block/mmcblk0p17
   Display_Name: Boot
   Storage_Name: boot
   Backup_Path: /boot
   Backup_Name: boot
   Backup_Display_Name: Boot
   Storage_Path: /boot
   Current_File_System: emmc
   Fstab_File_System: emmc
   Backup_Method: dd

/recovery | /dev/block/mmcblk0p18 | Size: 24MB
   Flags: IsPresent Can_Flash_Img 
   Primary_Block_Device: /dev/block/mmcblk0p18
   Display_Name: Recovery
   Storage_Name: recovery
   Backup_Path: /recovery
   Backup_Name: recovery
   Backup_Display_Name: Recovery
   Storage_Path: /recovery
   Current_File_System: emmc
   Fstab_File_System: emmc
   Backup_Method: dd

/efs1 | /dev/block/mmcblk0p12 | Size: 3MB
   Flags: Can_Be_Backed_Up Has_SubPartition IsPresent 
   Primary_Block_Device: /dev/block/mmcblk0p12
   Display_Name: EFS
   Storage_Name: EFS
   Backup_Path: /efs1
   Backup_Name: efs1
   Backup_Display_Name: EFS
   Storage_Path: /efs1
   Current_File_System: emmc
   Fstab_File_System: emmc
   Backup_Method: dd

/efs2 | /dev/block/mmcblk0p13 | Size: 3MB
   Flags: Can_Be_Backed_Up Is_SubPartition IsPresent 
   SubPartition_Of: /efs1
   Primary_Block_Device: /dev/block/mmcblk0p13
   Display_Name: efs2
   Storage_Name: efs2
   Backup_Path: /efs2
   Backup_Name: efs2
   Backup_Display_Name: efs2
   Storage_Path: /efs2
   Current_File_System: emmc
   Fstab_File_System: emmc
   Backup_Method: dd

/external_sd | /dev/block/mmcblk1p1 | Size: 63MB Used: 21MB Free: 42MB Backup Size: 21MB
   Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage 
   Primary_Block_Device: /dev/block/mmcblk1p1
   Alternate_Block_Device: /dev/block/mmcblk1
   Display_Name: Micro SDcard
   Storage_Name: Micro SDcard
   Backup_Path: /external_sd
   Backup_Name: external_sd
   Backup_Display_Name: Micro SDcard
   Storage_Path: /external_sd
   Current_File_System: vfat
   Fstab_File_System: vfat
   Backup_Method: files
   MTP_Storage_ID: 65538

I:Loading package: TWRP (/script/ui.xml)
I:Load XML directly
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:Checking resolution...
I:Scaling theme width 0.740741x and height 0.666667x, offsets x: 0 y: 0
I:Loading resources...
open_png /twres/images/twrplogo.png
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
open_png /twres/images/menu-button.png
open_png /twres/images/file.png
open_png /twres/images/folder.png
open_png /twres/images/slideout.png
open_png /twres/images/indeterminate001.png
open_png /twres/images/indeterminate002.png
open_png /twres/images/indeterminate003.png
open_png /twres/images/indeterminate004.png
open_png /twres/images/indeterminate005.png
open_png /twres/images/indeterminate006.png
open_png /twres/images/indeterminate007.png
open_png /twres/images/progress_empty.png
open_png /twres/images/progress_fill.png
open_png /twres/images/checkbox_empty.png
open_png /twres/images/checkbox_checked.png
open_png /twres/images/radio_empty.png
open_png /twres/images/radio_selected.png
open_png /twres/images/medium-button.png
open_png /twres/images/sort-button.png
open_png /twres/images/minus-button.png
open_png /twres/images/plus-button.png
open_png /twres/images/home-icon.png
open_png /twres/images/back-icon.png
open_png /twres/images/slider.png
open_png /twres/images/slider-used.png
open_png /twres/images/slider-touch.png
open_png /twres/images/unlock.png
open_png /twres/images/keyboard1.png
open_png /twres/images/keyboard2.png
open_png /twres/images/keyboard3.png
open_png /twres/images/keyboard4.png
open_png /twres/images/cursor.png
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:PageSet::CheckInclude loading filename: '/twres/portrait.xml'
I:Loading included resources...
I:Loading included variables...
I:Loading mouse cursor...
I:Loading included pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page install_image
I:Loading page flashimage_confirm
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page refreshfilesystem
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/0/TWRP/BACKUPS/LGV4806aacc2f5'
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page selectstorage
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page screen
I:Loading page Vibrate
I:Loading page advanced
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page decrypt_pattern
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page fixperms
I:Loading page installsu
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
E:Cannot load volume /misc!
E:Cannot load volume /misc!
Startup Commands: 
ro.adb.secure=0
ro.com.google.clientidbase=android-google
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=true
ro.com.android.wifi-watchlist=GoogleGuest
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.boot.emmc=true
ro.boot.console=ttyHSL0
ro.boot.baseband=apq
ro.boot.hardware=e8wifi
ro.boot.serialno=LGV4806aacc2f5
ro.boot.bootdevice=msm_sdcc.1
ro.boot.dlcomplete=0
ro.omni.device=e8wifi
ro.omni.version=5.1.1-20150507-e8wifi-HOMEMADE
ro.twrp.boot=1
ro.twrp.version=2.8.6.0
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=msm8226
ro.build.id=LMY47V
ro.build.date=Thu May  7 02:29:22 CEST 2015
ro.build.date.utc=0
ro.build.host=shoxx-linux
ro.build.tags=test-keys
ro.build.type=userdebug
ro.build.user=shoxx
ro.build.flavor=omni_e8wifi-userdebug
ro.build.display.id=omni_e8wifi-userdebug 5.1.1 LMY47V eng.shoxx.20150507.021301 test-keys
ro.build.product=e8wifi
ro.build.version.sdk=22
ro.build.version.release=5.1.1
ro.build.version.codename=REL
ro.build.version.incremental=eng.shoxx.20150507.021301
ro.build.version.all_codenames=REL
ro.build.description=omni_e8wifi-userdebug 5.1.1 LMY47V eng.shoxx.20150507.021301 test-keys
ro.build.fingerprint=LGE/omni_e8wifi/e8wifi:5.1.1/LMY47V/shoxx05070215:userdebug/test-keys
ro.build.characteristics=default
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Argon.ogg
ro.config.notification_sound=pixiedust.ogg
ro.dalvik.vm.native.bridge=0
ro.secure=1
ro.zygote=zygote32
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.name=omni_e8wifi
ro.product.board=MSM8226
ro.product.brand=LGE
ro.product.model=e8wifi
ro.product.device=e8wifi
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=LGE
ro.baseband=apq
ro.bootmode=unknown
ro.hardware=e8wifi
ro.revision=6
ro.serialno=LGV4806aacc2f5
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=OmniROM-5.1.1-20150507-e8wifi-HOMEMADE
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
init.svc.adbd=running
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.set_permissive=stopped
twrp.crash_counter=0
dalvik.vm.isa.arm.features=div
dalvik.vm.lockprof.threshold=500
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
persist.sys.usb.config=adb
persist.sys.dalvik.vm.lib.2=libart.so
persist.sys.root_access=1
service.adb.root=1
keyguard.no_require_sim=true

I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: u:object_r:system_data_file:s0
I:Got default contexts and file mode for storage files.
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/LGV4806aacc2f5'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:TWFunc::Fixup_Time: Pre-fix date and time: 1970-01-01--19-45-47
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:TWFunc::Fixup_Time: no ats files found, leaving untouched!
I:Enabling MTP during startup
I:Starting MTP
Starting MTP
I:Get_Max_FileSize::maxFileSize: 17592186044416
I:sending message to add 65537 '/data/media/0' 'Internal Storage'
I:Message sent, add storage ID: 65537
I:Get_Max_FileSize::maxFileSize: 4294967296
I:sending message to add 65538 '/external_sd' 'Micro SDcard'
I:Message sent, add storage ID: 65538
MTP Enabled
I:Switching packages (TWRP)
created new mtpserver object
MtpServer::run fd: 12
mtppipe add storage 65537 '/data/media/0'
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpStorage id: 65537 path: /data/media/0
mtppipe add storage 65538 '/external_sd'
MtpStorage id: 65538 path: /external_sd
 
Last edited:

surfrock66

Member
Oct 14, 2011
27
30
0
Edit: One more thing I forgot, I got something to analyze PrimaryGPT.bin, here's the result:

Code:
[email protected]:~$ python /home/surfrock66/.scripts/gpt_parser.py /home/surfrock66/Projects/LG\ G-Pad\ 8\ LG-V480/V48010b_00.4.4.4/V48010b0/PrimaryGPT_0.bin 
<?xml version="1.0"?>
	<configuration>
		<!-- Primary GPT header: -->
		<!-- MD5: bd83a741d6ade1964e2f1e9d8eca86d0 -->
		<!-- Signature: EFI PART -->
		<!-- Revision: 65536 -->
		<!-- Header Size: 92 -->
		<!-- CRC32 of header: 35FCD6B2 (VALID) => Real: 35FCD6B2 -->
		<!-- Current LBA: 0x00000001 -->
		<!-- Backup LBA: 0x00E8FFFF -->
		<!-- First usable LBA for partitions: 0x00000022 -->
		<!-- Last usable LBA for partitions: 0x00E8FFDE -->
		<!-- Disk GUID: 98101B32-BBE2-4BF2-A06E-2BB33D000C20 -->
		<!-- Partition entries starting LBA: 0x00000002 -->
		<!-- Number of partition entries: 36 -->
		<!-- Size of partition entry: 0x00000080 -->
		<!-- CRC32 of partition array: 0x061F7AE8 -->
		<parser_instructions>
			<!-- NOTE: entries here are used by the parser when generating output -->
			<!-- NOTE: each filename must be on it's own line as in variable=value-->
			WRITE_PROTECT_BOUNDARY_IN_KB = 32768
			GROW_LAST_PARTITION_TO_FILL_DISK = true
		</parser_instructions>

		<!-- NOTE: "physical_partition" are listed in order and apply to devices such as eMMC cards that have (for example) 3 physical partitions -->
		<!-- This is physical partition 0 -->
		<physical_partition>
			<!-- NOTE: Define information for each partition, which will be created in order listed here -->
			<!-- NOTE: Place all "readonly=true" partitions side by side for optimum space usage -->
			<!-- NOTE: If OPTIMIZE_READONLY_PARTITIONS=true, then partitions won't be in the order listed here -->
			<!--       they will instead be placed side by side at the beginning of the disk -->

			<!-- Partition table: -->
				<!-- MD5: 482d7e5825d6e6482f61a84672aa6261 -->
				<!-- WARNING!! CRC32 Check : 8D21B11A (INVALID) -->

			<!-- #01 -->
			<!-- First LBA: 16384 / Disk Offset: 8388608 -->
			<!-- Last LBA : 147455 / Disk Offset: 75496960 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 0E07FD34-CEEF-05D0-118B-7633F67E84B4 -->
			<partition label="modem" size_in_kb="65536" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename="NON-HLOS.bin"/>

			<!-- #02 -->
			<!-- First LBA: 147456 / Disk Offset: 75497472 -->
			<!-- Last LBA : 149503 / Disk Offset: 76545536 -->
			<!-- SBL1 partition | Qualcomm -->
			<!-- GUID: A32B76D5-80DB-8436-53ED-57428A344C9F -->
			<partition label="sbl1" size_in_kb="1024" type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" bootable="false" system="true" filename="sbl1.mbn"/>

			<!-- #03 -->
			<!-- First LBA: 149504 / Disk Offset: 76546048 -->
			<!-- Last LBA : 150527 / Disk Offset: 77069824 -->
			<!-- RPM partition | Qualcomm -->
			<!-- GUID: F0530C51-AF1C-FC3D-4E2E-EC7CC121738F -->
			<partition label="rpm" size_in_kb="512" type="098DF793-D712-413D-9D4E-89D711772228" bootable="false" system="true" filename="rpm.mbn"/>

			<!-- #04 -->
			<!-- First LBA: 150528 / Disk Offset: 77070336 -->
			<!-- Last LBA : 151551 / Disk Offset: 77594112 -->
			<!-- QSEE partition | Qualcomm -->
			<!-- GUID: 3AC971AD-70FE-FDCF-E4ED-8C7A18FD6479 -->
			<partition label="tz" size_in_kb="512" type="A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4" bootable="false" system="true" filename="tz.mbn"/>

			<!-- #05 -->
			<!-- First LBA: 151552 / Disk Offset: 77594624 -->
			<!-- Last LBA : 152575 / Disk Offset: 78118400 -->
			<!-- WDOG debug partition | Qualcomm -->
			<!-- GUID: 100B777D-08D5-406B-742D-EE61D0D992FA -->
			<partition label="sdi" size_in_kb="512" type="D4E0D938-B7FA-48C1-9D21-BC5ED5C4B203" bootable="false" system="true" filename="sdi.mbn"/>

			<!-- #06 -->
			<!-- First LBA: 152576 / Disk Offset: 78118912 -->
			<!-- Last LBA : 156671 / Disk Offset: 80215552 -->
			<!-- APPSBL partition | Qualcomm -->
			<!-- GUID: 6DBC513E-06B4-1EDC-C178-310596E04CFB -->
			<partition label="aboot" size_in_kb="2048" type="400FFDCD-22E0-47E7-9A23-F16ED9382388" bootable="false" system="true" filename="emmc_appsboot.mbn"/>

			<!-- #07 -->
			<!-- First LBA: 156672 / Disk Offset: 80216064 -->
			<!-- Last LBA : 157695 / Disk Offset: 80739840 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: E539B3BB-A38F-27E0-A6AA-BB045F18786A -->
			<partition label="rpmb" size_in_kb="512" type="F1FC4C90-0705-4830-ADBD-291E78BD2E2A" bootable="false" system="true" filename="rpmb.mbn"/>

			<!-- #08 -->
			<!-- First LBA: 157696 / Disk Offset: 80740352 -->
			<!-- Last LBA : 158719 / Disk Offset: 81264128 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: 2EDA46BB-D7E3-C8DD-70CA-76E999FE6F36 -->
			<partition label="tzb" size_in_kb="512" type="80F07C88-5C6D-48D3-8EA6-B984F7EDD622" bootable="false" system="true" filename="tzb.mbn"/>

			<!-- #09 -->
			<!-- First LBA: 158720 / Disk Offset: 81264640 -->
			<!-- Last LBA : 162815 / Disk Offset: 83361280 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: C4B5B195-C1D7-7A1F-6D7E-2DF1436177C1 -->
			<partition label="abootb" size_in_kb="2048" type="0B8202FA-26A5-468F-B356-952D5EC60CEC" bootable="false" system="true" filename="abootb.mbn"/>

			<!-- #10 -->
			<!-- First LBA: 162816 / Disk Offset: 83361792 -->
			<!-- Last LBA : 163839 / Disk Offset: 83885568 -->
			<!-- QSEE partition | Qualcomm -->
			<!-- GUID: 340AF95D-306C-655D-C5C6-5F349E65F128 -->
			<partition label="eksst" size_in_kb="512" type="A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4" bootable="false" system="true" filename=""/>

			<!-- #11 -->
			<!-- First LBA: 163840 / Disk Offset: 83886080 -->
			<!-- Last LBA : 167935 / Disk Offset: 85982720 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 3DBF5F23-366C-6F37-8573-C85D63C300C9 -->
			<partition label="pad" size_in_kb="2048" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename=""/>

			<!-- #12 -->
			<!-- First LBA: 167936 / Disk Offset: 85983232 -->
			<!-- Last LBA : 174079 / Disk Offset: 89128448 -->
			<!-- MODEMST1 partition | Qualcomm -->
			<!-- GUID: 353DAF94-CD2F-9D08-F940-9516DD31F618 -->
			<partition label="modemst1" size_in_kb="3072" type="EBBEADAF-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #13 -->
			<!-- First LBA: 174080 / Disk Offset: 89128960 -->
			<!-- Last LBA : 180223 / Disk Offset: 92274176 -->
			<!-- MODEMST2 partition | Qualcomm -->
			<!-- GUID: E0EF0CF6-DC0F-08FB-EABA-0AA632B17D35 -->
			<partition label="modemst2" size_in_kb="3072" type="0A288B1F-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #14 -->
			<!-- First LBA: 180224 / Disk Offset: 92274688 -->
			<!-- Last LBA : 212991 / Disk Offset: 109051392 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: FDF56967-B5E9-79C2-349E-8B6B67832EF4 -->
			<partition label="misc" size_in_kb="16384" type="6CD30554-5F5D-40EF-82FE-1092359F92EE" bootable="false" system="true" filename=""/>

			<!-- #15 -->
			<!-- First LBA: 212992 / Disk Offset: 109051904 -->
			<!-- Last LBA : 278527 / Disk Offset: 142605824 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: DE7C6AF1-08D0-CAEC-374F-C50F5BB04F9D -->
			<partition label="persist" size_in_kb="32768" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename="persist.img"/>

			<!-- #16 -->
			<!-- First LBA: 278528 / Disk Offset: 142606336 -->
			<!-- Last LBA : 327679 / Disk Offset: 167771648 -->
			<!-- LG Advanced Flasher partition | LG -->
			<!-- GUID: 84F429AF-BED6-B22C-7C26-F632ACB1B033 -->
			<partition label="laf" size_in_kb="24576" type="98523EC6-90FE-4C67-B50A-0FC59ED6F56D" bootable="false" system="true" filename="laf.img"/>

			<!-- #17 -->
			<!-- First LBA: 327680 / Disk Offset: 167772160 -->
			<!-- Last LBA : 376831 / Disk Offset: 192937472 -->
			<!-- BOOT partition | Qualcomm -->
			<!-- GUID: 17CC51EE-45BD-6414-B4D3-B00D4FCAA07C -->
			<partition label="boot" size_in_kb="24576" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" filename=""/>

			<!-- #18 -->
			<!-- First LBA: 376832 / Disk Offset: 192937984 -->
			<!-- Last LBA : 425983 / Disk Offset: 218103296 -->
			<!-- BOOT partition | Qualcomm -->
			<!-- GUID: 2FEE5F7F-ABF0-199D-C730-E7D5A65FE3A0 -->
			<partition label="recovery" size_in_kb="24576" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" filename=""/>

			<!-- #19 -->
			<!-- First LBA: 425984 / Disk Offset: 218103808 -->
			<!-- Last LBA : 432127 / Disk Offset: 221249024 -->
			<!-- FSG? partition | Qualcomm -->
			<!-- GUID: D49FE5C0-07A7-E34A-D74F-7EDE3D513DD4 -->
			<partition label="fsg" size_in_kb="3072" type="638FF8E2-22C9-E33B-8F5D-0E81686A68CB" bootable="false" filename=""/>

			<!-- #20 -->
			<!-- First LBA: 442368 / Disk Offset: 226492416 -->
			<!-- Last LBA : 443391 / Disk Offset: 227016192 -->
			<!-- FSC? partition | Qualcomm -->
			<!-- GUID: 86E85F82-78BD-E7DF-FAD2-F7AD1A62C5F3 -->
			<partition label="fsc" size_in_kb="512" type="57B90A16-22C9-E33B-8F5D-0E81686A68CB" bootable="false" system="true" filename=""/>

			<!-- #21 -->
			<!-- First LBA: 443392 / Disk Offset: 227016704 -->
			<!-- Last LBA : 444415 / Disk Offset: 227540480 -->
			<!-- SSD? partition | Qualcomm -->
			<!-- GUID: 22F7B2BD-E1B2-550F-5B40-26075D735A6C -->
			<partition label="ssd" size_in_kb="512" type="2C86E742-745E-4FDD-BFD8-B6A7AC638772" bootable="false" system="true" filename=""/>

			<!-- #22 -->
			<!-- First LBA: 444416 / Disk Offset: 227540992 -->
			<!-- Last LBA : 446463 / Disk Offset: 228589056 -->
			<!-- SBL1 partition | Qualcomm -->
			<!-- GUID: E409BD0A-F38E-6489-EE12-4BCF7302E778 -->
			<partition label="sbl1b" size_in_kb="1024" type="DEA0BA2C-CBDD-4805-B4F9-F428251C3E98" bootable="false" system="true" filename="sbl1b.mbn"/>

			<!-- #23 -->
			<!-- First LBA: 446464 / Disk Offset: 228589568 -->
			<!-- Last LBA : 447487 / Disk Offset: 229113344 -->
			<!-- ENCRYPT? partition | Qualcomm -->
			<!-- GUID: 35210BDA-C2F0-5893-553B-7A6F0F57A180 -->
			<partition label="encrypt" size_in_kb="512" type="323EF595-AF7A-4AFA-8060-97BE72841BB9" bootable="false" system="true" filename=""/>

			<!-- #24 -->
			<!-- First LBA: 447488 / Disk Offset: 229113856 -->
			<!-- Last LBA : 448511 / Disk Offset: 229637632 -->
			<!-- unknown partition | UNKNOWN -->
			<!-- GUID: BBFBC60B-E92B-6486-CFB7-9B3061C09E20 -->
			<partition label="rct" size_in_kb="512" type="6CD30554-5F5D-40EF-82FE-1092359F92EE" bootable="false" system="true" filename=""/>

			<!-- #25 -->
			<!-- First LBA: 458752 / Disk Offset: 234881024 -->
			<!-- Last LBA : 459775 / Disk Offset: 235404800 -->
			<!-- DDR partition | Qualcomm -->
			<!-- GUID: 907DAA5A-1713-ADA4-0FDC-4A64C5AAF2D6 -->
			<partition label="DDR" size_in_kb="512" type="20A0C19C-286A-42FA-9CE7-F64C3226A794" bootable="false" filename="DDR.bin"/>

			<!-- #26 -->
			<!-- First LBA: 459776 / Disk Offset: 235405312 -->
			<!-- Last LBA : 476159 / Disk Offset: 243793408 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 9E679F90-683E-C2C5-C910-017FA0E97E59 -->
			<partition label="drm" size_in_kb="8192" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename="drm.img"/>

			<!-- #27 -->
			<!-- First LBA: 476160 / Disk Offset: 243793920 -->
			<!-- Last LBA : 492543 / Disk Offset: 252182016 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 3BD95A6E-A5BC-6A85-FA25-47960C9B76E3 -->
			<partition label="sns" size_in_kb="8192" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename="sns.img"/>

			<!-- #28 -->
			<!-- First LBA: 492544 / Disk Offset: 252182528 -->
			<!-- Last LBA : 541695 / Disk Offset: 277347840 -->
			<!-- BOOT partition | Qualcomm -->
			<!-- GUID: 4862F31F-3AE0-575D-A9AF-955BB06E0190 -->
			<partition label="factory" size_in_kb="24576" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" filename=""/>

			<!-- #29 -->
			<!-- First LBA: 541696 / Disk Offset: 277348352 -->
			<!-- Last LBA : 607231 / Disk Offset: 310902272 -->
			<!-- FOTA? partition | Qualcomm -->
			<!-- GUID: 1A4E6220-E30B-B8F5-7306-74DC8F0224D3 -->
			<partition label="fota" size_in_kb="32768" type="86A7CB80-84E1-408C-99AB-694F1A410FC7" bootable="false" filename=""/>

			<!-- #30 -->
			<!-- First LBA: 622592 / Disk Offset: 318767104 -->
			<!-- Last LBA : 688127 / Disk Offset: 352321024 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 8C45C424-E9A0-02B0-3351-BC48C6A29CDE -->
			<partition label="mpt" size_in_kb="32768" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename="mpt.img"/>

			<!-- #31 -->
			<!-- First LBA: 688128 / Disk Offset: 352321536 -->
			<!-- Last LBA : 901119 / Disk Offset: 461372928 -->
			<!-- Linux filesystem data | Linux -->
			<!-- GUID: 5FE7F6B1-3164-7FC5-E992-1879432B545A -->
			<partition label="cust" size_in_kb="106496" type="0FC63DAF-8483-4772-8E79-3D69D8477DE4" bootable="false" filename=""/>

			<!-- #32 -->
			<!-- First LBA: 901120 / Disk Offset: 461373440 -->
			<!-- Last LBA : 5095423 / Disk Offset: 2608856576 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 2A4EB1F7-80C5-CD24-0370-24EF0A56266F -->
			<partition label="system" size_in_kb="2097152" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename="system.img"/>

			<!-- #33 -->
			<!-- First LBA: 5095424 / Disk Offset: 2608857088 -->
			<!-- Last LBA : 6946815 / Disk Offset: 3556769280 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 9A07FCEA-C4AA-6447-22E3-E15597EB0F13 -->
			<partition label="cache" size_in_kb="925696" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename="cache.img"/>

			<!-- #34 -->
			<!-- First LBA: 6946816 / Disk Offset: 3556769792 -->
			<!-- Last LBA : 30769151 / Disk Offset: 15753805312 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 2F99BFD4-4229-899D-2F75-7BF1B788E210 -->
			<partition label="userdata" size_in_kb="11911168" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" filename="userdata.img"/>

			<!-- #35 -->
			<!-- First LBA: 30769152 / Disk Offset: 15753805824 -->
			<!-- Last LBA : 15269854 / Disk Offset: 7818165248 -->
			<!-- Basic data partition / Linux filesystem data | Windows / Linux -->
			<!-- GUID: 9515DDEC-BB9A-3524-3A2B-B2105D081A1C -->
			<partition label="grow" size_in_kb="-7749649" type="EBD0A0A2-B9E5-4433-87C0-68B6B72699C7" bootable="false" system="true" filename=""/>

		</physical_partition>
	</configuration>