LG G4 MMCBLK0 Daatabase

Search This thread

leptdre

Senior Member
May 15, 2015
350
89
Hi guys,
there are tones of LG G4 phones that are bricked, i have tested a technic to get them back to life ( tested with H811) , but such a technic needs Emmc dumps ( all mmcblk0 partitions except userdata cache data and system ) so please i propose to make a database of all G4 dumps in Google drive or somewhere else to help people having bricked LG G4 phones

For me i need H815 dump now
Thanks
 

culot

Senior Member
Oct 11, 2014
435
177
Bay
Hi guys,
there are tones of LG G4 phones that are bricked, i have tested a technic to get them back to life ( tested with H811) , but such a technic needs Emmc dumps ( all mmcblk0 partitions except userdata cache data and system ) so please i propose to make a database of all G4 dumps in Google drive or somewhere else to help people having bricked LG G4 phones

For me i need H815 dump now
Thanks

Tell me more of your technique? I have an H811 sitting here that could use that. Is it copying the partition table to a microSD card? I've not had luck with that so far, maybe you could elucidate? Thanks!

I'm working on getting some firehose action going on. I think I've got most of the code and tools necessary to prepare the custom files needed, but it's such a steep task, especially as I don't understand its ways yet.
 

lept_2014

Senior Member
Nov 25, 2014
188
135
i9100
HTC Pico (Explorer)
Hi guys,
there are tones of LG G4 phones that are bricked, i have tested a technic to get them back to life ( tested with H811) , but such a technic needs Emmc dumps ( all mmcblk0 partitions except userdata cache data and system ) so please i propose to make a database of all G4 dumps in Google drive or somewhere else to help people having bricked LG G4 phones

For me i need H815 dump now
Thanks

For now, here you have a list of all particions into 'mmcblk0':
HTML:
Number Start        End          Size          File_system Name 
1      16777216B    106954751B   90177536B     fat16       modem 
2      117440512B   117964799B   524288B                   pmic 
3      117964800B   119013375B   1048576B                  sbl1 
4      119013376B   120061951B   1048576B                  tz 
5      120061952B   120586239B   524288B                   sdi 
6      120586240B   121110527B   524288B                   hyp 
7      121110528B   121634815B   524288B                   rpm 
8      121634816B   123731967B   2097152B                  aboot 
9      123731968B   124780543B   1048576B                  sbl1bak 
10     124780544B   125304831B   524288B                   pmicbak 
11     125304832B   126353407B   1048576B                  tzbak 
12     126353408B   126877695B   524288B                   hypbak 
13     126877696B   127401983B   524288B                   rpmbak 
14     127401984B   129499135B   2097152B                  abootbak 
15     129499136B   130023423B   524288B                   sdibak 
16     130023424B   130547711B   524288B                   limits 
17     130547712B   131071999B   524288B                   devinfo 
18     131072000B   131596287B   524288B                   apdp 
19     131596288B   132120575B   524288B                   msadp 
20     132120576B   132644863B   524288B                   dpo 
21     132644864B   134217727B   1572864B                  spare1 
22     134217728B   150994943B   16777216B                 misc 
23     150994944B   184549375B   33554432B     ext4        persist 
24     184549376B   186122239B   1572864B                  modemst1 
25     186122240B   187695103B   1572864B                  modemst2 
26     187695104B   189267967B   1572864B                  fsg 
27     189267968B   189792255B   524288B                   fsc 
28     189792256B   190316543B   524288B                   ssd 
29     190316544B   190840831B   524288B                   keystore 
30     190840832B   192937983B   2097152B                  DDR 
31     192937984B   193462271B   524288B                   sec 
32     193462272B   193986559B   524288B                   encrypt 
33     193986560B   194510847B   524288B                   eksst 
34     194510848B   195035135B   524288B                   rct 
35     195035136B   197132287B   2097152B                  persistent 
36     197132288B   201326591B   4194304B                  spare2 
37     201326592B   251658239B   50331648B                 laf 
38     251658240B   293601279B   41943040B                 boot 
39     293601280B   335544319B   41943040B                 recovery 
40     335544320B   343932927B   8388608B      ext4        drm 
41     343932928B   352321535B   8388608B      ext4        sns 
42     352321536B   385875967B   33554432B     ext4        mpt 
43     385875968B   434110463B   48234496B                 factory 
44     434110464B   444596223B   10485760B                 fota 
45     444596224B   448790527B   4194304B      raw_resources 
46     448790528B   452984831B   4194304B      raw_resourcesbak 
47     452984832B   4794089471B  4341104640B   ext4        system 
48     4794089472B  5062524927B  268435456B    ext4        cust 
49     5066719232B  6358564863B  1291845632B   ext4        cache 
50     6358564864B  31255953407B 24897388544B  ext4        userdata 
51     31255953408B 31268519423B 12566016B                 grow
 

culot

Senior Member
Oct 11, 2014
435
177
Bay
Variant: H811
Version: v20o

fdisk --> list:
Code:
Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 56 entries
First usable sector is 34, last usable sector is 61071326

Number  Start (sector)    End (sector)  Size       Code  Name
   1           32768          208895       86.0M   0700  modem
   2          229376          230399        512K   0700  pmic
   3          230400          232447       1024K   0700  sbl1
   4          232448          234495       1024K   0700  tz
   5          234496          235519        512K   0700  sdi
   6          235520          236543        512K   0700  hyp
   7          236544          237567        512K   0700  rpm
   8          237568          241663       2048K   0700  aboot
   9          241664          243711       1024K   0700  sbl1bak
  10          243712          244735        512K   0700  pmicbak
  11          244736          246783       1024K   0700  tzbak
  12          246784          247807        512K   0700  hypbak
  13          247808          248831        512K   0700  rpmbak
  14          248832          252927       2048K   0700  abootbak
  15          252928          253951        512K   0700  sdibak
  16          253952          254975        512K   0700  limits
  17          254976          255999        512K   0700  devinfo
  18          256000          257023        512K   0700  apdp
  19          257024          258047        512K   0700  msadp
  20          258048          259071        512K   0700  dpo
  21          259072          262143       1536K   0700  spare1
  22          262144          294911       16.0M   0700  misc
  23          294912          360447       32.0M   0700  persist
  24          360448          363519       1536K   0700  modemst1
  25          363520          366591       1536K   0700  modemst2
  26          366592          369663       1536K   0700  fsg
  27          369664          370687        512K   0700  fsc
  28          370688          371711        512K   0700  ssd
  29          371712          372735        512K   0700  keystore
  30          372736          376831       2048K   0700  DDR
  31          376832          377855        512K   0700  sec
  32          377856          378879        512K   0700  encrypt
  33          378880          379903        512K   0700  eksst
  34          379904          380927        512K   0700  rct
  35          380928          385023       2048K   0700  persistent
  36          385024          393215       4096K   0700  spare2
  37          393216          491519       48.0M   0700  laf
  38          491520          573439       40.0M   0700  boot
  39          573440          655359       40.0M   0700  recovery
  40          655360          671743       8192K   0700  drm
  41          671744          688127       8192K   0700  sns
  42          688128          753663       32.0M   0700  mpt
  43          753664          770047       8192K   0700  eri
  44          770048          778239       4096K   0700  raw_resources
  45          778240          786431       4096K   0700  raw_resourcesbak
  46          786432          819199       16.0M   0700  operatorlogging
  47          819200          901119       40.0M   0700  carrier
  48          901120          917503       8192K   0700  felica
  49          917504         1011711       46.0M   0700  factory
  50         1011712         1015807       2048K   0700  spare3
  51         1015808         1036287       10.0M   0700  fota
  52         1036288         1048575       6144K   0700  spare4
  53         1048576         9822207       4284M   0700  system
  54         9822208        12345343       1232M   0700  cache
  55        12345344        61046783       23.2G   0700  userdata
  56        61046784        61071326       11.9M   0700  grow

parted --> print:
Code:
Model: MMC 032G74 (sd/mmc)                                      
Disk /dev/block/mmcblk0: 31.3GB                                 
Sector size (logical/physical): 512B/512B                       
Partition Table: gpt                                            
                                                                
Number  Start   End     Size    File system  Name              F
 1      16.8MB  107MB   90.2MB  fat16        modem              
 2      117MB   118MB   524kB                pmic               
 3      118MB   119MB   1049kB               sbl1               
 4      119MB   120MB   1049kB               tz                 
 5      120MB   121MB   524kB                sdi                
 6      121MB   121MB   524kB                hyp                
 7      121MB   122MB   524kB                rpm                
 8      122MB   124MB   2097kB               aboot              
 9      124MB   125MB   1049kB               sbl1bak            
10      125MB   125MB   524kB                pmicbak            
11      125MB   126MB   1049kB               tzbak              
12      126MB   127MB   524kB                hypbak             
13      127MB   127MB   524kB                rpmbak             
14      127MB   129MB   2097kB               abootbak           
15      129MB   130MB   524kB                sdibak             
16      130MB   131MB   524kB                limits             
17      131MB   131MB   524kB                devinfo            
18      131MB   132MB   524kB                apdp               
19      132MB   132MB   524kB                msadp              
20      132MB   133MB   524kB                dpo                
21      133MB   134MB   1573kB               spare1             
22      134MB   151MB   16.8MB               misc               
23      151MB   185MB   33.6MB  ext4         persist            
24      185MB   186MB   1573kB               modemst1           
25      186MB   188MB   1573kB               modemst2           
26      188MB   189MB   1573kB               fsg                
27      189MB   190MB   524kB                fsc                
28      190MB   190MB   524kB                ssd                
29      190MB   191MB   524kB                keystore           
30      191MB   193MB   2097kB               DDR                
31      193MB   193MB   524kB                sec                
32      193MB   194MB   524kB                encrypt            
33      194MB   195MB   524kB                eksst              
34      195MB   195MB   524kB                rct                
35      195MB   197MB   2097kB               persistent         
36      197MB   201MB   4194kB               spare2             
37      201MB   252MB   50.3MB               laf                
38      252MB   294MB   41.9MB               boot               
39      294MB   336MB   41.9MB               recovery           
40      336MB   344MB   8389kB  ext4         drm                
41      344MB   352MB   8389kB  ext4         sns                
42      352MB   386MB   33.6MB  ext4         mpt                
43      386MB   394MB   8389kB               eri                
44      394MB   398MB   4194kB               raw_resources      
45      398MB   403MB   4194kB               raw_resourcesbak   
46      403MB   419MB   16.8MB               operatorlogging    
47      419MB   461MB   41.9MB               carrier            
48      461MB   470MB   8389kB               felica             
49      470MB   518MB   48.2MB               factory            
50      518MB   520MB   2097kB               spare3             
51      520MB   531MB   10.5MB               fota               
52      531MB   537MB   6291kB               spare4             
53      537MB   5029MB  4492MB  ext4         system             
54      5029MB  6321MB  1292MB  ext4         cache              
55      6321MB  31.3GB  24.9GB  ext4         userdata           
56      31.3GB  31.3GB  12.6MB               grow

---

Diagnosis: 9008, non-ILAPO, caused by me accidentally flashing the v20i bootstack.

I [shoddily] customized gpt_parser.py(based on source from here) to create partition.xml, which I then fed to ptool.py (source) to create the rawprogram0.xml and patch0.xml. Then I fed those into msp.py to create a singleimage.bin that I dd'd over to a microSD card. I inserted the microSD and surprisingly enough my G4 sprang to life instantly!

I booted into TWRP to copy over the what I thought were the correct v20o images to correct the faulty v20i images I had initially used to kill the mofo. That seems to have resulted in a total brick, when I rebooted there was no signs of life at all now, no 9008, no USB peeps at all now. But! the microSD card trick did bring it back from 9008, only it seems I shucked when I should have jived. (me >= woe.)

So maybe I flashed the wrong images *again*? Goddamnit. I should have dipped right into LAF download mode and flashed the stock KDZ. I've been a fool.

Anyway, I'm including the files I used to make all this happen in case anyone finds them useful: [download]

It turns out creating the partition.xml, rawprogram0.xml, and patch0.xml is incredibly simple. Too bad I could not get Firehose to work, it kept throwing this error at me whenever I tried:

Code:
{ERROR: OpenPort:4197 It took 10.01600000 seconds to open port. Which is longer than 3.000. This indicates your target is not stable

I *was* using a firehose 8992_lite.mbn file from who knows where, that could be why maybe? That is one file I'm not sure how to create yet, though the code to create it is in the same repo at the ptool.py link I posted above.
 
Last edited:

leptdre

Senior Member
May 15, 2015
350
89
Variant: H811
Version: v20o

fdisk --> list:
Code:
Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 56 entries
First usable sector is 34, last usable sector is 61071326

Number  Start (sector)    End (sector)  Size       Code  Name
   1           32768          208895       86.0M   0700  modem
   2          229376          230399        512K   0700  pmic
   3          230400          232447       1024K   0700  sbl1
   4          232448          234495       1024K   0700  tz
   5          234496          235519        512K   0700  sdi
   6          235520          236543        512K   0700  hyp
   7          236544          237567        512K   0700  rpm
   8          237568          241663       2048K   0700  aboot
   9          241664          243711       1024K   0700  sbl1bak
  10          243712          244735        512K   0700  pmicbak
  11          244736          246783       1024K   0700  tzbak
  12          246784          247807        512K   0700  hypbak
  13          247808          248831        512K   0700  rpmbak
  14          248832          252927       2048K   0700  abootbak
  15          252928          253951        512K   0700  sdibak
  16          253952          254975        512K   0700  limits
  17          254976          255999        512K   0700  devinfo
  18          256000          257023        512K   0700  apdp
  19          257024          258047        512K   0700  msadp
  20          258048          259071        512K   0700  dpo
  21          259072          262143       1536K   0700  spare1
  22          262144          294911       16.0M   0700  misc
  23          294912          360447       32.0M   0700  persist
  24          360448          363519       1536K   0700  modemst1
  25          363520          366591       1536K   0700  modemst2
  26          366592          369663       1536K   0700  fsg
  27          369664          370687        512K   0700  fsc
  28          370688          371711        512K   0700  ssd
  29          371712          372735        512K   0700  keystore
  30          372736          376831       2048K   0700  DDR
  31          376832          377855        512K   0700  sec
  32          377856          378879        512K   0700  encrypt
  33          378880          379903        512K   0700  eksst
  34          379904          380927        512K   0700  rct
  35          380928          385023       2048K   0700  persistent
  36          385024          393215       4096K   0700  spare2
  37          393216          491519       48.0M   0700  laf
  38          491520          573439       40.0M   0700  boot
  39          573440          655359       40.0M   0700  recovery
  40          655360          671743       8192K   0700  drm
  41          671744          688127       8192K   0700  sns
  42          688128          753663       32.0M   0700  mpt
  43          753664          770047       8192K   0700  eri
  44          770048          778239       4096K   0700  raw_resources
  45          778240          786431       4096K   0700  raw_resourcesbak
  46          786432          819199       16.0M   0700  operatorlogging
  47          819200          901119       40.0M   0700  carrier
  48          901120          917503       8192K   0700  felica
  49          917504         1011711       46.0M   0700  factory
  50         1011712         1015807       2048K   0700  spare3
  51         1015808         1036287       10.0M   0700  fota
  52         1036288         1048575       6144K   0700  spare4
  53         1048576         9822207       4284M   0700  system
  54         9822208        12345343       1232M   0700  cache
  55        12345344        61046783       23.2G   0700  userdata
  56        61046784        61071326       11.9M   0700  grow

parted --> print:
Code:
Model: MMC 032G74 (sd/mmc)                                      
Disk /dev/block/mmcblk0: 31.3GB                                 
Sector size (logical/physical): 512B/512B                       
Partition Table: gpt                                            
                                                                
Number  Start   End     Size    File system  Name              F
 1      16.8MB  107MB   90.2MB  fat16        modem              
 2      117MB   118MB   524kB                pmic               
 3      118MB   119MB   1049kB               sbl1               
 4      119MB   120MB   1049kB               tz                 
 5      120MB   121MB   524kB                sdi                
 6      121MB   121MB   524kB                hyp                
 7      121MB   122MB   524kB                rpm                
 8      122MB   124MB   2097kB               aboot              
 9      124MB   125MB   1049kB               sbl1bak            
10      125MB   125MB   524kB                pmicbak            
11      125MB   126MB   1049kB               tzbak              
12      126MB   127MB   524kB                hypbak             
13      127MB   127MB   524kB                rpmbak             
14      127MB   129MB   2097kB               abootbak           
15      129MB   130MB   524kB                sdibak             
16      130MB   131MB   524kB                limits             
17      131MB   131MB   524kB                devinfo            
18      131MB   132MB   524kB                apdp               
19      132MB   132MB   524kB                msadp              
20      132MB   133MB   524kB                dpo                
21      133MB   134MB   1573kB               spare1             
22      134MB   151MB   16.8MB               misc               
23      151MB   185MB   33.6MB  ext4         persist            
24      185MB   186MB   1573kB               modemst1           
25      186MB   188MB   1573kB               modemst2           
26      188MB   189MB   1573kB               fsg                
27      189MB   190MB   524kB                fsc                
28      190MB   190MB   524kB                ssd                
29      190MB   191MB   524kB                keystore           
30      191MB   193MB   2097kB               DDR                
31      193MB   193MB   524kB                sec                
32      193MB   194MB   524kB                encrypt            
33      194MB   195MB   524kB                eksst              
34      195MB   195MB   524kB                rct                
35      195MB   197MB   2097kB               persistent         
36      197MB   201MB   4194kB               spare2             
37      201MB   252MB   50.3MB               laf                
38      252MB   294MB   41.9MB               boot               
39      294MB   336MB   41.9MB               recovery           
40      336MB   344MB   8389kB  ext4         drm                
41      344MB   352MB   8389kB  ext4         sns                
42      352MB   386MB   33.6MB  ext4         mpt                
43      386MB   394MB   8389kB               eri                
44      394MB   398MB   4194kB               raw_resources      
45      398MB   403MB   4194kB               raw_resourcesbak   
46      403MB   419MB   16.8MB               operatorlogging    
47      419MB   461MB   41.9MB               carrier            
48      461MB   470MB   8389kB               felica             
49      470MB   518MB   48.2MB               factory            
50      518MB   520MB   2097kB               spare3             
51      520MB   531MB   10.5MB               fota               
52      531MB   537MB   6291kB               spare4             
53      537MB   5029MB  4492MB  ext4         system             
54      5029MB  6321MB  1292MB  ext4         cache              
55      6321MB  31.3GB  24.9GB  ext4         userdata           
56      31.3GB  31.3GB  12.6MB               grow

---

Diagnosis: 9008, non-ILAPO, caused by me accidentally flashing the v20i bootstack.

I [shoddily] customized gpt_parser.py(based on source from here) to create partition.xml, which I then fed to ptool.py (source) to create the rawprogram0.xml and patch0.xml. Then I fed those into msp.py to create a singleimage.bin that I dd'd over to a microSD card. I inserted the microSD and surprisingly enough my G4 sprang to life instantly!

I booted into TWRP to copy over the what I thought were the correct v20o images to correct the faulty v20i images I had initially used to kill the mofo. That seems to have resulted in a total brick, when I rebooted there was no signs of life at all now, no 9008, no USB peeps at all now. But! the microSD card trick did bring it back from 9008, only it seems I shucked when I should have jived. (me >= woe.)

So maybe I flashed the wrong images *again*? Goddamnit. I should have dipped right into LAF download mode and flashed the stock KDZ. I've been a fool.

Anyway, I'm including the files I used to make all this happen in case anyone finds them useful: [download]

It turns out creating the partition.xml, rawprogram0.xml, and patch0.xml is incredibly simple. Too bad I could not get Firehose to work, it kept throwing this error at me whenever I tried:

Code:
{ERROR: OpenPort:4197 It took 10.01600000 seconds to open port. Which is longer than 3.000. This indicates your target is not stable

I *was* using a firehose 8992_lite.mbn file from who knows where, that could be why maybe? That is one file I'm not sure how to create yet, though the code to create it is in the same repo at the ptool.py link I posted above.

i just wan ask a simple question. If you didn't see a signe of the EMMC memory, so why you bother creating rawprogram etc , i had the same phone , i downgraded from 10N , and i had a hard brick . i was able to turn it back on by the SDcard methode and never been able to see the emmc in TWRP ( /dev directory)
 

culot

Senior Member
Oct 11, 2014
435
177
Bay
Emmc was fully fleshed out, I perused it before I began dd'ing partitions over to it. Everything seemed normal.
 

leptdre

Senior Member
May 15, 2015
350
89
For the H815 variant. I found a working Dump that i flashed into an SD card. I was able to enter download mode and flash a firmware. but as expected the firmware goes to the SD card and the phone is unstable. I have IMEI = 0 and i could not unlock the bootloader.
Bottom line. Ithink that there is some hope of getting the phone to detects the EMMC memory, i dont know how may be a hardware switch or some custum SD card.

I hope that it will soon available :)
 

culot

Senior Member
Oct 11, 2014
435
177
Bay
i want to know what software did you use and did the phone show sign of life without SD card , cause i have a H811 that i got working with just the SD card and no tweaking what so ever

The software I used is detailed in my above post. If you have any specific questions about that let me know.

It was the typical 9008 mode, no signs of life other than showing a 9008 port when USB was plugged in -- that's with no SD card.

I inserted the microSD I formatted with the singleimage.bin, then as soon as I inserted the battery the phone gave its little vibe and began to boot normally. I rebooted into TWRP so I could flash the proper partitions, and then after I rebooted it was dead. Apparently I flashed the wrong ones? I'm not sure, but the microSD trick definitely worked to get it into a state where repair is possible. I should have put it into LAF download mode and flashed a KDZ.

I was overconfident, thinking that no matter what I'd be able to bring it back with that same microSD card. That is not the case: it turns out that whatever I flashed has well and truly bricked it, as now it shows no life signs at all. I was careless, stupid, reckless. So close! :)

How did you microSD method work? Just flashed full image to the microSD? Details and files are always nice. :)
 
Last edited:

leptdre

Senior Member
May 15, 2015
350
89
The software I used is detailed in my above post. If you have any specific questions about that let me know.

It was the typical 9008 mode, no signs of life other than showing a 9008 port when USB was plugged in -- that's with no SD card.

I inserted the microSD I formatted with the singleimage.bin, then as soon as I inserted the battery the phone gave its little vibe and began to boot normally. I rebooted into TWRP so I could flash the proper partitions, and then after I rebooted it was dead. Apparently I flashed the wrong ones? I'm not sure, but the microSD trick definitely worked to get it into a state where repair is possible. I should have put it into LAF download mode and flashed a KDZ.

I was overconfident, thinking that no matter what I'd be able to bring it back with that same microSD card. That is not the case: it turns out that whatever I flashed has well and truly bricked it, as now it shows no life signs at all. I was careless, stupid, reckless. So close! :)

How did you microSD method work? Just flashed full image to the microSD? Details and files are always nice. :)

1- first you need to resize you micro sd card with SD formatter ( give it its original size)
2- you must low level format it ( not quick format )
3- flash your bin file with win 32 Disk imager ( or DD command in linux ) ( if you dont have a working dump i will upload this evening)
4- put the sd card into the phone , put the battery on , press vol up button and plug a usb cable
5- now you will be able to enter download mode and flash a firmware using LG UP ( flash 10N or above )

obviously the firmware is going to the SD card , from twrp i listed the /dev/block directory , i found no sign of the EMMC memory what so ever, if someone happen to find it please share :eek:
 
  • Like
Reactions: aftabadil

aftabadil

Account currently disabled
Apr 15, 2012
21
2
GB
meettomy.site
Variant: H811
Version: v20o

fdisk --> list:
Code:
Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 56 entries
First usable sector is 34, last usable sector is 61071326

Number  Start (sector)    End (sector)  Size       Code  Name
   1           32768          208895       86.0M   0700  modem
   2          229376          230399        512K   0700  pmic
   3          230400          232447       1024K   0700  sbl1
   4          232448          234495       1024K   0700  tz
   5          234496          235519        512K   0700  sdi
   6          235520          236543        512K   0700  hyp
   7          236544          237567        512K   0700  rpm
   8          237568          241663       2048K   0700  aboot
   9          241664          243711       1024K   0700  sbl1bak
  10          243712          244735        512K   0700  pmicbak
  11          244736          246783       1024K   0700  tzbak
  12          246784          247807        512K   0700  hypbak
  13          247808          248831        512K   0700  rpmbak
  14          248832          252927       2048K   0700  abootbak
  15          252928          253951        512K   0700  sdibak
  16          253952          254975        512K   0700  limits
  17          254976          255999        512K   0700  devinfo
  18          256000          257023        512K   0700  apdp
  19          257024          258047        512K   0700  msadp
  20          258048          259071        512K   0700  dpo
  21          259072          262143       1536K   0700  spare1
  22          262144          294911       16.0M   0700  misc
  23          294912          360447       32.0M   0700  persist
  24          360448          363519       1536K   0700  modemst1
  25          363520          366591       1536K   0700  modemst2
  26          366592          369663       1536K   0700  fsg
  27          369664          370687        512K   0700  fsc
  28          370688          371711        512K   0700  ssd
  29          371712          372735        512K   0700  keystore
  30          372736          376831       2048K   0700  DDR
  31          376832          377855        512K   0700  sec
  32          377856          378879        512K   0700  encrypt
  33          378880          379903        512K   0700  eksst
  34          379904          380927        512K   0700  rct
  35          380928          385023       2048K   0700  persistent
  36          385024          393215       4096K   0700  spare2
  37          393216          491519       48.0M   0700  laf
  38          491520          573439       40.0M   0700  boot
  39          573440          655359       40.0M   0700  recovery
  40          655360          671743       8192K   0700  drm
  41          671744          688127       8192K   0700  sns
  42          688128          753663       32.0M   0700  mpt
  43          753664          770047       8192K   0700  eri
  44          770048          778239       4096K   0700  raw_resources
  45          778240          786431       4096K   0700  raw_resourcesbak
  46          786432          819199       16.0M   0700  operatorlogging
  47          819200          901119       40.0M   0700  carrier
  48          901120          917503       8192K   0700  felica
  49          917504         1011711       46.0M   0700  factory
  50         1011712         1015807       2048K   0700  spare3
  51         1015808         1036287       10.0M   0700  fota
  52         1036288         1048575       6144K   0700  spare4
  53         1048576         9822207       4284M   0700  system
  54         9822208        12345343       1232M   0700  cache
  55        12345344        61046783       23.2G   0700  userdata
  56        61046784        61071326       11.9M   0700  grow

parted --> print:
Code:
Model: MMC 032G74 (sd/mmc)                                      
Disk /dev/block/mmcblk0: 31.3GB                                 
Sector size (logical/physical): 512B/512B                       
Partition Table: gpt                                            
                                                                
Number  Start   End     Size    File system  Name              F
 1      16.8MB  107MB   90.2MB  fat16        modem              
 2      117MB   118MB   524kB                pmic               
 3      118MB   119MB   1049kB               sbl1               
 4      119MB   120MB   1049kB               tz                 
 5      120MB   121MB   524kB                sdi                
 6      121MB   121MB   524kB                hyp                
 7      121MB   122MB   524kB                rpm                
 8      122MB   124MB   2097kB               aboot              
 9      124MB   125MB   1049kB               sbl1bak            
10      125MB   125MB   524kB                pmicbak            
11      125MB   126MB   1049kB               tzbak              
12      126MB   127MB   524kB                hypbak             
13      127MB   127MB   524kB                rpmbak             
14      127MB   129MB   2097kB               abootbak           
15      129MB   130MB   524kB                sdibak             
16      130MB   131MB   524kB                limits             
17      131MB   131MB   524kB                devinfo            
18      131MB   132MB   524kB                apdp               
19      132MB   132MB   524kB                msadp              
20      132MB   133MB   524kB                dpo                
21      133MB   134MB   1573kB               spare1             
22      134MB   151MB   16.8MB               misc               
23      151MB   185MB   33.6MB  ext4         persist            
24      185MB   186MB   1573kB               modemst1           
25      186MB   188MB   1573kB               modemst2           
26      188MB   189MB   1573kB               fsg                
27      189MB   190MB   524kB                fsc                
28      190MB   190MB   524kB                ssd                
29      190MB   191MB   524kB                keystore           
30      191MB   193MB   2097kB               DDR                
31      193MB   193MB   524kB                sec                
32      193MB   194MB   524kB                encrypt            
33      194MB   195MB   524kB                eksst              
34      195MB   195MB   524kB                rct                
35      195MB   197MB   2097kB               persistent         
36      197MB   201MB   4194kB               spare2             
37      201MB   252MB   50.3MB               laf                
38      252MB   294MB   41.9MB               boot               
39      294MB   336MB   41.9MB               recovery           
40      336MB   344MB   8389kB  ext4         drm                
41      344MB   352MB   8389kB  ext4         sns                
42      352MB   386MB   33.6MB  ext4         mpt                
43      386MB   394MB   8389kB               eri                
44      394MB   398MB   4194kB               raw_resources      
45      398MB   403MB   4194kB               raw_resourcesbak   
46      403MB   419MB   16.8MB               operatorlogging    
47      419MB   461MB   41.9MB               carrier            
48      461MB   470MB   8389kB               felica             
49      470MB   518MB   48.2MB               factory            
50      518MB   520MB   2097kB               spare3             
51      520MB   531MB   10.5MB               fota               
52      531MB   537MB   6291kB               spare4             
53      537MB   5029MB  4492MB  ext4         system             
54      5029MB  6321MB  1292MB  ext4         cache              
55      6321MB  31.3GB  24.9GB  ext4         userdata           
56      31.3GB  31.3GB  12.6MB               grow

---

Diagnosis: 9008, non-ILAPO, caused by me accidentally flashing the v20i bootstack.

I [shoddily] customized gpt_parser.py(based on source from here) to create partition.xml, which I then fed to ptool.py (source) to create the rawprogram0.xml and patch0.xml. Then I fed those into msp.py to create a singleimage.bin that I dd'd over to a microSD card. I inserted the microSD and surprisingly enough my G4 sprang to life instantly!

I booted into TWRP to copy over the what I thought were the correct v20o images to correct the faulty v20i images I had initially used to kill the mofo. That seems to have resulted in a total brick, when I rebooted there was no signs of life at all now, no 9008, no USB peeps at all now. But! the microSD card trick did bring it back from 9008, only it seems I shucked when I should have jived. (me >= woe.)

So maybe I flashed the wrong images *again*? Goddamnit. I should have dipped right into LAF download mode and flashed the stock KDZ. I've been a fool.

Anyway, I'm including the files I used to make all this happen in case anyone finds them useful: [download]

It turns out creating the partition.xml, rawprogram0.xml, and patch0.xml is incredibly simple. Too bad I could not get Firehose to work, it kept throwing this error at me whenever I tried:

Code:
{ERROR: OpenPort:4197 It took 10.01600000 seconds to open port. Which is longer than 3.000. This indicates your target is not stable

I *was* using a firehose 8992_lite.mbn file from who knows where, that could be why maybe? That is one file I'm not sure how to create yet, though the code to create it is in the same repo at the ptool.py link I posted above.
plz give me the link of this file firehose 8992_lite.mbn for h811
 

aftabadil

Account currently disabled
Apr 15, 2012
21
2
GB
meettomy.site
1- first you need to resize you micro sd card with SD formatter ( give it its original size)
2- you must low level format it ( not quick format )
3- flash your bin file with win 32 Disk imager ( or DD command in linux ) ( if you dont have a working dump i will upload this evening)
4- put the sd card into the phone , put the battery on , press vol up button and plug a usb cable
5- now you will be able to enter download mode and flash a firmware using LG UP ( flash 10N or above )

obviously the firmware is going to the SD card , from twrp i listed the /dev/block directory , i found no sign of the EMMC memory what so ever, if someone happen to find it please share :eek:

please give me link bin file for g4 h811
thanks
 

Noksucow1

Senior Member
Jul 19, 2016
62
13
I kept getting Secure Boot Error when I figured out how to do this. We should just be able to use the KDZ, since everything is on there that is needed to get into Download mode.

LG still holding my phone hostage since the 16th...not happy!
 

culot

Senior Member
Oct 11, 2014
435
177
Bay
I kept getting Secure Boot Error when I figured out how to do this. We should just be able to use the KDZ, since everything is on there that is needed to get into Download mode.

LG still holding my phone hostage since the 16th...not happy!
Was your bootloadwr previously unlocked?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Variant: H811
    Version: v20o

    fdisk --> list:
    Code:
    Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
    Logical sector size: 512
    Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
    Partition table holds up to 56 entries
    First usable sector is 34, last usable sector is 61071326
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1           32768          208895       86.0M   0700  modem
       2          229376          230399        512K   0700  pmic
       3          230400          232447       1024K   0700  sbl1
       4          232448          234495       1024K   0700  tz
       5          234496          235519        512K   0700  sdi
       6          235520          236543        512K   0700  hyp
       7          236544          237567        512K   0700  rpm
       8          237568          241663       2048K   0700  aboot
       9          241664          243711       1024K   0700  sbl1bak
      10          243712          244735        512K   0700  pmicbak
      11          244736          246783       1024K   0700  tzbak
      12          246784          247807        512K   0700  hypbak
      13          247808          248831        512K   0700  rpmbak
      14          248832          252927       2048K   0700  abootbak
      15          252928          253951        512K   0700  sdibak
      16          253952          254975        512K   0700  limits
      17          254976          255999        512K   0700  devinfo
      18          256000          257023        512K   0700  apdp
      19          257024          258047        512K   0700  msadp
      20          258048          259071        512K   0700  dpo
      21          259072          262143       1536K   0700  spare1
      22          262144          294911       16.0M   0700  misc
      23          294912          360447       32.0M   0700  persist
      24          360448          363519       1536K   0700  modemst1
      25          363520          366591       1536K   0700  modemst2
      26          366592          369663       1536K   0700  fsg
      27          369664          370687        512K   0700  fsc
      28          370688          371711        512K   0700  ssd
      29          371712          372735        512K   0700  keystore
      30          372736          376831       2048K   0700  DDR
      31          376832          377855        512K   0700  sec
      32          377856          378879        512K   0700  encrypt
      33          378880          379903        512K   0700  eksst
      34          379904          380927        512K   0700  rct
      35          380928          385023       2048K   0700  persistent
      36          385024          393215       4096K   0700  spare2
      37          393216          491519       48.0M   0700  laf
      38          491520          573439       40.0M   0700  boot
      39          573440          655359       40.0M   0700  recovery
      40          655360          671743       8192K   0700  drm
      41          671744          688127       8192K   0700  sns
      42          688128          753663       32.0M   0700  mpt
      43          753664          770047       8192K   0700  eri
      44          770048          778239       4096K   0700  raw_resources
      45          778240          786431       4096K   0700  raw_resourcesbak
      46          786432          819199       16.0M   0700  operatorlogging
      47          819200          901119       40.0M   0700  carrier
      48          901120          917503       8192K   0700  felica
      49          917504         1011711       46.0M   0700  factory
      50         1011712         1015807       2048K   0700  spare3
      51         1015808         1036287       10.0M   0700  fota
      52         1036288         1048575       6144K   0700  spare4
      53         1048576         9822207       4284M   0700  system
      54         9822208        12345343       1232M   0700  cache
      55        12345344        61046783       23.2G   0700  userdata
      56        61046784        61071326       11.9M   0700  grow

    parted --> print:
    Code:
    Model: MMC 032G74 (sd/mmc)                                      
    Disk /dev/block/mmcblk0: 31.3GB                                 
    Sector size (logical/physical): 512B/512B                       
    Partition Table: gpt                                            
                                                                    
    Number  Start   End     Size    File system  Name              F
     1      16.8MB  107MB   90.2MB  fat16        modem              
     2      117MB   118MB   524kB                pmic               
     3      118MB   119MB   1049kB               sbl1               
     4      119MB   120MB   1049kB               tz                 
     5      120MB   121MB   524kB                sdi                
     6      121MB   121MB   524kB                hyp                
     7      121MB   122MB   524kB                rpm                
     8      122MB   124MB   2097kB               aboot              
     9      124MB   125MB   1049kB               sbl1bak            
    10      125MB   125MB   524kB                pmicbak            
    11      125MB   126MB   1049kB               tzbak              
    12      126MB   127MB   524kB                hypbak             
    13      127MB   127MB   524kB                rpmbak             
    14      127MB   129MB   2097kB               abootbak           
    15      129MB   130MB   524kB                sdibak             
    16      130MB   131MB   524kB                limits             
    17      131MB   131MB   524kB                devinfo            
    18      131MB   132MB   524kB                apdp               
    19      132MB   132MB   524kB                msadp              
    20      132MB   133MB   524kB                dpo                
    21      133MB   134MB   1573kB               spare1             
    22      134MB   151MB   16.8MB               misc               
    23      151MB   185MB   33.6MB  ext4         persist            
    24      185MB   186MB   1573kB               modemst1           
    25      186MB   188MB   1573kB               modemst2           
    26      188MB   189MB   1573kB               fsg                
    27      189MB   190MB   524kB                fsc                
    28      190MB   190MB   524kB                ssd                
    29      190MB   191MB   524kB                keystore           
    30      191MB   193MB   2097kB               DDR                
    31      193MB   193MB   524kB                sec                
    32      193MB   194MB   524kB                encrypt            
    33      194MB   195MB   524kB                eksst              
    34      195MB   195MB   524kB                rct                
    35      195MB   197MB   2097kB               persistent         
    36      197MB   201MB   4194kB               spare2             
    37      201MB   252MB   50.3MB               laf                
    38      252MB   294MB   41.9MB               boot               
    39      294MB   336MB   41.9MB               recovery           
    40      336MB   344MB   8389kB  ext4         drm                
    41      344MB   352MB   8389kB  ext4         sns                
    42      352MB   386MB   33.6MB  ext4         mpt                
    43      386MB   394MB   8389kB               eri                
    44      394MB   398MB   4194kB               raw_resources      
    45      398MB   403MB   4194kB               raw_resourcesbak   
    46      403MB   419MB   16.8MB               operatorlogging    
    47      419MB   461MB   41.9MB               carrier            
    48      461MB   470MB   8389kB               felica             
    49      470MB   518MB   48.2MB               factory            
    50      518MB   520MB   2097kB               spare3             
    51      520MB   531MB   10.5MB               fota               
    52      531MB   537MB   6291kB               spare4             
    53      537MB   5029MB  4492MB  ext4         system             
    54      5029MB  6321MB  1292MB  ext4         cache              
    55      6321MB  31.3GB  24.9GB  ext4         userdata           
    56      31.3GB  31.3GB  12.6MB               grow

    ---

    Diagnosis: 9008, non-ILAPO, caused by me accidentally flashing the v20i bootstack.

    I [shoddily] customized gpt_parser.py(based on source from here) to create partition.xml, which I then fed to ptool.py (source) to create the rawprogram0.xml and patch0.xml. Then I fed those into msp.py to create a singleimage.bin that I dd'd over to a microSD card. I inserted the microSD and surprisingly enough my G4 sprang to life instantly!

    I booted into TWRP to copy over the what I thought were the correct v20o images to correct the faulty v20i images I had initially used to kill the mofo. That seems to have resulted in a total brick, when I rebooted there was no signs of life at all now, no 9008, no USB peeps at all now. But! the microSD card trick did bring it back from 9008, only it seems I shucked when I should have jived. (me >= woe.)

    So maybe I flashed the wrong images *again*? Goddamnit. I should have dipped right into LAF download mode and flashed the stock KDZ. I've been a fool.

    Anyway, I'm including the files I used to make all this happen in case anyone finds them useful: [download]

    It turns out creating the partition.xml, rawprogram0.xml, and patch0.xml is incredibly simple. Too bad I could not get Firehose to work, it kept throwing this error at me whenever I tried:

    Code:
    {ERROR: OpenPort:4197 It took 10.01600000 seconds to open port. Which is longer than 3.000. This indicates your target is not stable

    I *was* using a firehose 8992_lite.mbn file from who knows where, that could be why maybe? That is one file I'm not sure how to create yet, though the code to create it is in the same repo at the ptool.py link I posted above.
    3
    Hi guys,
    there are tones of LG G4 phones that are bricked, i have tested a technic to get them back to life ( tested with H811) , but such a technic needs Emmc dumps ( all mmcblk0 partitions except userdata cache data and system ) so please i propose to make a database of all G4 dumps in Google drive or somewhere else to help people having bricked LG G4 phones

    For me i need H815 dump now
    Thanks
    1
    The software I used is detailed in my above post. If you have any specific questions about that let me know.

    It was the typical 9008 mode, no signs of life other than showing a 9008 port when USB was plugged in -- that's with no SD card.

    I inserted the microSD I formatted with the singleimage.bin, then as soon as I inserted the battery the phone gave its little vibe and began to boot normally. I rebooted into TWRP so I could flash the proper partitions, and then after I rebooted it was dead. Apparently I flashed the wrong ones? I'm not sure, but the microSD trick definitely worked to get it into a state where repair is possible. I should have put it into LAF download mode and flashed a KDZ.

    I was overconfident, thinking that no matter what I'd be able to bring it back with that same microSD card. That is not the case: it turns out that whatever I flashed has well and truly bricked it, as now it shows no life signs at all. I was careless, stupid, reckless. So close! :)

    How did you microSD method work? Just flashed full image to the microSD? Details and files are always nice. :)

    1- first you need to resize you micro sd card with SD formatter ( give it its original size)
    2- you must low level format it ( not quick format )
    3- flash your bin file with win 32 Disk imager ( or DD command in linux ) ( if you dont have a working dump i will upload this evening)
    4- put the sd card into the phone , put the battery on , press vol up button and plug a usb cable
    5- now you will be able to enter download mode and flash a firmware using LG UP ( flash 10N or above )

    obviously the firmware is going to the SD card , from twrp i listed the /dev/block directory , i found no sign of the EMMC memory what so ever, if someone happen to find it please share :eek:
    1

    I used the .img file from this thread with win32DiskImager. 32GB SD and the process worked. However the Download Mode is only there for about 5 seconds then it bootloops. Trying to get out of the looping but not very hard, as even if I do it does not seem like there is a way to re-flash the eMMc.
    1
    I also have H811. But did not work. Device is dead stuck on 9008. No charging no boot nothing is happening. However if i keep the device without battety for 2-3 days. Then it goes to download mode for few seconds. Download mode does not stay for long so that i flash it. Any possible solution??? It rarely shows lg logo with secure boot error.

    you have hardware failure :)