I have a g710pm with a v35 unlocked bootloader that is completely dead I use qfil to fix but keep getting error fh_gpt_header is 0 any ideas?
Yeah obviously the gpt headers can't be read (for some reason, probably they were 'erased' by doing 'chip erase').
Before qfil can show you any partition info, you have to find the gpt headers for your rom variant / version, then flash them to the device.
If u don't find them, use kdz extractor to get them, assuming you have a rom that has a kdz available.
Not sure what info is in the guides thread here for G7, but the G8 guides thread has some great info for doing things like this.
cheers
Related
my phone somehow ended up from Taiwan to Romania and I'd like to change the baseband from 'LGE975AT-00-V10a-OPEN-TW-JAN-18-2013+0' to a more recent baseband for Romania or Europe without going all the way around and flashing the official kdz and then back to cm10.2. it would mean at least a day lost without learning anything.
I saw someone asking the same thing in the CM10.2 thread and the recommended solution didn't work for me. flashing the modem.img from http://downloads.codefi.re/houstonn/lgog/modem/E975_E977_E976 seems not to change that string displayed by cm (both 10.1 and 10.2).
I spent a couple of days trying several tools to retrieve the other partition images from the official kdz in order to maybe flash some of them with dd from cwm (modem, modemst1,modemst2 at least). I managed to obtain a dz file and a dll file and inside the dz I can see the msdos fat16 header of the modem image, but I'd rather not risk cutting it by myself.
so, does anybody know some tutorial/tool that can split the e975 kdz files or if the houstonn modem.img is ok and it's just the cm display of the baseband version that is broken?
CM 10.1 read baseband version from gsm.version.baseband
It is set on /system/bin/fetch-swv by:
setprop gsm.version.baseband `strings /dev/block/platform/msm_sdcc.1/by-name/misc | grep ^LG | tail -1`
You can set gsm.version.baseband manualy on /system/bin/fetch-swv (after every CM update) or try to modify misc partition.
t.
thanks a lot. I found that version string inside my misc partition. now I just need to find a way to extract that image from the official kdz. since freegee seems to modify it then there must be a way.
sonty said:
thanks a lot. I found that version string inside my misc partition. now I just need to find a way to extract that image from the official kdz. since freegee seems to modify it then there must be a way.
Click to expand...
Click to collapse
Here I posted the modem.img from version 10f.
http://forum.xda-developers.com/showthread.php?t=2459076
There are also instructions for backing up your current baseband.
Also, http://forum.xda-developers.com/showthread.php?t=1566532 .
This has instructions for unpacking kdz files. I didn't try this, so I don't know if it works.
dapaua said:
Here I posted the modem.img from version 10f.
http://forum.xda-developers.com/showthread.php?t=2459076
There are also instructions for backing up your current baseband.
Also, http://forum.xda-developers.com/showthread.php?t=1566532 .
This has instructions for unpacking kdz files. I didn't try this, so I don't know if it works.
Click to expand...
Click to collapse
it doesn't fully work because the kdz for optimus g apparently is not the same as the kdz for the p9*0 devices. it does open the kdz but after that there is no wdb file and it doesn't recognize some magic number.
as stated above the actual version string (and maybe other things also) are on the misc partition. if your phone is onlocked with freegee, could you please upload also your misc partition?
Hellomy name is korlan. First forgive me for english mistake i will made that's not my common language.
Here is my problem :
2 days ago i accidently flashed (./flashall.sh) the nexus 5x with the 5 files (hammehead files made for nexus 5)... Obviously it has ereased the bootloader and now the phone won't boot.
I made TONS of research because i can acces to the qualcom DLmode (the ref is 8992);
At this points i'm stuck. How recover emmc and flash again the phone.
Luckily i have another nexus 5X. I have dump all raw rom ( dd /dev/block/mmXXX and got a 16gb file wich coresspond to a raw valid rom).
I was happy but i faced a big problem : How download this bin file to the bricked phone.
I have the tool called QPST wich require a programmer (probably MPGR8992 ) the bin file and a rawprogram.xml (partition table). I don't have thoses files anone know how to obtain it or another way to unbrick this phone ?
thanks a lot hope you can help me inthis situation.
Have you tried flashing the bootloader for the 5x with fastboot?
Sent from my Nexus 9 using XDA Free mobile app
Yes, but I can't boot on bootloader, and so on fastboot mode ...
Its a lg phone , maybe you can turn on factory mode.
@nate0
Could try some solutions here if not already attempted...http://forum.xda-developers.com/showpost.php?p=67089762&postcount=55 ...have the same issue, as I have messed with the GPT/QC partitions...
To be able to send the raw binaries you do need the flash programmer for this phone, and potentially the MPGR8992 mbn file as well. These two are apparently not available anywhere I have looked. The issue I am running into is that my phone resets the connection to all the tools I have used.
nate0 said:
Could try some solutions here if not already attempted...http://forum.xda-developers.com/showpost.php?p=67089762&postcount=55 ...have the same issue, as I have messed with the GPT/QC partitions...
To be able to send the raw binaries you do need the flash programmer for this phone, and potentially the MPGR8992 mbn file as well. These two are apparently not available anywhere I have looked. The issue I am running into is that my phone resets the connection to all the tools I have used.
Click to expand...
Click to collapse
MPGR8992 mbn file , i think we need another 5x and back up using box or something .
LG TOT file was provided and it's possible to enter Qualcomm download mode for repairing now
i need help ican't find TOT file for nexus 5X h791 16 GB
@Vortex said:
LG TOT file was provided and it's possible to enter Qualcomm download mode for repairing now
Click to expand...
Click to collapse
Could you please elaborate how you got the TOT file and how you managed to enter Qualcomm download mode?
Device State - locked
Similar Problem, same solution with TOT File (32GB TOT File works also for 16GB Models)
look here:
http://forum.xda-developers.com/nexus-5x/help/device-locked-t3355549/page4
when i try to flash my lg g7 with uppercut and I insert the kdz file G710EM30c_00_1203.kdz in my phone with imei 355775092466539 i see this error : "0x81000302, please use latest dll laf protocol version is not match dll=109141688 device= 149581856". why? can you help me please?
Because you dont use uppercut for g7 thats old, never share your imei anywhere, edit the post as soon as possible. Also regarding lgup https://t.me/s/G710N_10/61
m4sterx said:
when i try to flash my lg g7 with uppercut and I insert the kdz file G710EM30c_00_1203.kdz in my phone with imei 355775092466539 i see this error : "0x81000302, please use latest dll laf protocol version is not match dll=109141688 device= 149581856". why? can you help me please?
Click to expand...
Click to collapse
Dude delete this post or hide your IMEI wtf...
Good day,
Bricked my G710VM a few weeks ago and trying to get back. I know the process to get back to stock but a lot of fails extracting etc. To make it easy, lets just say I deleted all my partitions one by one and loaded new ones from the KDZ extract getting me to this point
- Latest KDZ file from lgfirmwares.com will extract with LG Firmware Extract
- DZ Extract with LG Firmware Extract WILL NOT produce good .bin files
- Hovatech extract program seems to produce DZ files with data
- LGUP will not recognize phone, even using UPPERCUT
- NO DL Mode, only EDL
- Can't find XML Files to DL online. Plan to make my own but even if I succeed, no LGUP access.
Any help is greatly appreciated. My mom has the same phone on stock I could use to pull whatever I need assuming it connects to LGUP. I have scoured this site and most that use english, I find others with the same issues but only a few seem to resolve
i have lg g710vm only this files can use, then crossflash to verizon kdz. i lost imei but i can keep using my phone only whit kdz verizo..
you need add apn for 4g....
I hard bricked an LG G7 ThinQ G710EAW by flashing the wrong firmware (T-Mobile) onto it via LGUP. It now goes into EDL mode after shorting test points, but I'm unable to revive it by following this unbrick thread. Loading up the partition images via Partition Manager in QFIL "succeeds", but it doesn't revive my phone. Doesn't get me to fastboot. Still nothing on screen.
I also tried the rawprogram*.xml option using the XMLs in that thread, but QFIL keeps erroring out that the partition sizes defined in the XML are different from what it sees on the device.
The OP for the thread seems to not be active any longer.
Can someone here please help me understand how to recover my phone?
Anyone? Happy to donate for help as well.
Bumping up this thread.
If I had another EAW motherboard, would it help unbrick my motherboard? Wondering how I can fix my phone
So, I was able to finally figure this all out, recover my LG G710EAW and bring it back to life! It was a mix of information from many threads. No boxes, and no payment to anyone. All free.
The OP of this thread is active but has completely stopped responding to his thread and to his DMs - he's likely uninterested in a 4-5 year old phone at this point. In his first post he mentioned creating rawprogram* XMLs by hand, and it taking hour+ to do so. However, I'm unsure why it took him that long and in the end the files don't even work for QFIL since the sector size in the XMLs (512B) is different from device sector size (4096B). Nevertheless, I was able to flash these via command line 'edl' which ignored the sector size, but it didn't recover the device.
Generating rawprogram XMLs is easy if you can figure out how to run this Python program mentioned in this thread. However, the files attached there no longer work in 2022, the links are dead, and Python 2.7 is a dinosaur. Someone in that thread mentioned a different, fixed, repo but it didn't work with Python 2.7 for the 'undz' part. After a lot of head banging, I tried Python3 and 'undz' worked.
Here are the steps:
- Download the firmware for your model in KDZ format
- Install QPST
- Install Python3.x
- Run: pip3 install setuptools zstandard
- Download ZIP for kdztools from the repo: https://github.com/ErickG233/kdztools (or the attachment)
- Unzip kdztools and CD into that directory kdztools-master. This version is bug-fixed and also generates rawprogram files for us.
- Copy the firmware KDZ into kdztools-master directory
- Run: python3 unkdz.py -f G710EAW30e_00_0916.kdz -x. This creates a DZ file in a new `kdzextracted` folder
- Move the extracted DZ file from the kdzextracted folder back one level up, into kdztools-master dir
- Run: python3 undz.py -f G71030q_00_user-signed-ARB0_OPEN_ESA_DS_OP_0916.dz -c
- This creates a dzextracted folder here with all the files needed to recover your phone. Now all we need are the rawprogram XMLs.
- Run: python3 undz.py -f G71030q_00_user-signed-ARB0_OPEN_ESA_DS_OP_0916.dz -r. This will create all the rawprogram XMLs you need to flash. No patch files are created, but that is OK.
- In my case, QFIL complained it couldn't find file "PrimaryGPT_0.bin", so I copied file gpt_main0.bin_0 and renamed the copy gpt_main0.bin_0_copy > PrimaryGPT_0.bin
- Load your phone into EDL mode. If you want to use test points, see the image in this thread.
- Load QFIL. Use the ELF programmer file from any of the threads linked thus far. Select flat build. Load all rawprogram XMLs generated previously. Hit cancel when it asks for patch file XMLs.
- Hit Download.
This will recover your phone so it's able to boot and all. However, in my case, the phone had lost serial number and IMEI numbers (dual SIM) as well.
- To restore your IMEI numbers, you will need your QCN file or a backup of your FSG (fsg.img) partition from before bricking. In my case, I had flashed, via LGUP, T-Mobile firmware on my Indian phone. I then dumped all the partitions using command line EDL. I have not used QCN method since it seems to require a lot of steps to put the phone into diagnostics mode. I had a backup of the FSG partition, so I used that instead.
- If you have a backup of your FSG partition, load QFIL > Partition Manager. Erase modemst1 modemst2 and fsg partitions. Then, load the backup FSG.img file onto FSG partition. Restart phone.
- Now, if you have the serial number from your bill or box, see this thread to restore it. Pay extra attention to the Firehose configuration section, or else, it may create some issues. It's best to restore S/N after restoring IMEI in my experience, but this could just be some randomness or bad Firehose config during S/N restore.
This happiness was short-lived. When I was flashing all these KDZ via QFIL and LGUP trying to get my IMEIs back, I once saw "This phone is permanently locked and cannot be unlocked". That seems to have taken out my second SIM slot.
Now, after a fresh QFIL flash (with erase before download), my first SIM slot is also dead.
Neither of the SIM slots work now.
This has been so frustrating!
urover said:
This happiness was short-lived. When I was flashing all these KDZ via QFIL and LGUP trying to get my IMEIs back, I once saw "This phone is permanently locked and cannot be unlocked". That seems to have taken out my second SIM slot.
Now, after a fresh QFIL flash (with erase before download), my first SIM slot is also dead.
Neither of the SIM slots work now.
This has been so frustrating!
Click to expand...
Click to collapse
Any luck in recovering the phone ??