Quick question...I have done the cross-flash (US_ATT to US_OPEN) with the .KDZ that is a 20f....now that it is done, can I upgrade to 30c via a "normal" LGUP upgrade?
Does No 16 Note Write IMEI means I can repair IMEI if lost it, Right like I don't have to pay octapus or any other ti repair IMEI I can get network for free, Write my 2nd LG IMEI will work rightWhy didn't you just rename the ".bin" to ".img"?
It needs a factory reset, I'm afraid! But if there's another solution, I'm not aware of.
I do not think so!
Right.if i got ok imei ok sn then it must allow me netork is it right
Yes if your phone does not have IMPL lock. Write IMEI and if it throws perm.lock then it has that IMPL lock and the only way to get work is through Octopus.Does No 16 Note Write IMEI means I can repair IMEI if lost it, Right like I don't have to pay octapus or any other ti repair IMEI I can get network for free, Write my 2nd LG IMEI will work right
If you got backup of modemst1 and modemst2 then restore them and network will be all right.
No. It is an example of crossflashing which can be done via the guide.Quick question...I have done the cross-flash (US_ATT to US_OPEN) with the .KDZ that is a 20f....now that it is done, can I upgrade to 30c via a "normal" LGUP upgrade?
Hey GOAT Look at this interesting thing happened here LOL! Plz tell me solutionI do not think so!
Right.
Yes if your phone does not have IMPL lock. Write IMEI and if it throws perm.lock then it has that IMPL lock and the only way to get work is through Octopus.
If you got backup of modemst1 and modemst2 then restore them and network will be all right.
It's been too long that I rooted G8 for the last time but I remember that I had some problems too. I think it was Magisk 23 by which I got results.Hey GOAT Look at this interesting thing happened here LOL! Plz tell me solution
Congs! I Successfully have crossflashed Verzon to open_Can with bootloader unlocked,
But i have serious Problem about Magisk root i.e When i try to root my lg g8 with magisk manager v8.0.7 (out dated) its working fine but we need everything in work like zygisk n lposed so i tried latest magisk app v25.2 by simply updating through magisk app(i also tried magisk v25.2 latest after fresh crossflash n factory reset) so my LG G8 Stuck at LG G8 THINQ LOGO ( sometime its screen just go blank at screen lock) my PC was Detecting its storage and ADB Was working(luckily i turned it on) so i tried all cmds to recover this but at last i got my phone into EDL MODE Using blind eyes bcz screen was working but no display after edl i flashed backed up boot_a/b but still same thing then i flashed stock rom in LG UP Which solved this issue so i again tried same magisk v25.2 and same thing happen screen goes black at lock screen so again i flashed stock rom. at last again i rooted my phone with old magisk manager v8.0.7 and now its working fine but i still want latest magisk on my phone with all latest features tell me solution.
I will try testing this when I go to Europe next summer. For now, here in Canada I can confirm that the FTM you provided works fine but I am not able to tell if it enables new frequency bands since my provider only uses 3 bands, B66, B7 and another one that is not in my area. For now I reverted to my original FTM because of the "Check NT-code" issue.I don't know but you can try this:
1. Make backup of FTM partition.
2. Unzip and restore the attached file to FTM.
3. Check for bands.
If it doesn't work restore the original FTM.
Kindly explain 16 number note about imei write, I dont have IMPL Lock so this guide will be helpful for me to write imei, Right?Hi there
Thanks to all other guys here who have made helpful development to tame this beautiful =)
To crossflash models other than LG G8 please read post 3.
Before asking any question please read the troubleshooting section at the bottom of the page.
If you still need some specific help I would appreciate if you bring it up just in the thread instead of sending direct messages.
LG has made things difficult in flashing custom and even stock roms by this new OPID thing! It prevents us from crossflashing but we have been able to use TWRP and change the system and some other partitions to have a different rom. We had to make some changes into OP partition using HxD editor.
But now, through this tutorial, we're able to flash any rom without the need to change OPID in OP partition. Also, there is no need to root or unlock boot-loader.
I was successful to do this on some G8 (LMG820UM) but I AM NOT RESPONSIBLE FOR ANY HARM TO YOUR PHONE!
By continuing to read the following instructions you are actually accepting the risk.
IMPORTANT!
first, MAKE A FULL BACKUP OF ALL PARTITIONS; and I mean it!!!
at least, for your sake, make a backup of "modemst1, modemst2, fsg, fsc, ftm" partitions, for emergency.
Requirements
QPST and Qualcomm USB Driver (get)
LGE SM8150 Firehose (get)
LGUP 1.16.0.3 (get)
LGUP_Common.dll (get)
UI_Config.lgl (get)
LG Mobile Driver 4.4.2 (get)
Preparation
1. Install QPST and Qualcomm USB Driver.
2. Install LGUP.
3. Find the folder named "model" in the installation directory of LGUP, then Create a folder named "common" in the "model" folder.
4. Move "LGUP_Common.dll" and "UI_Config.lgl" into "common" folder. Change the attribute of "UI_Config.lgl" to read only.
5. Install LG Mobile Driver 4.4.2.
Steps
A)
1. Open QFIL.
2. Change "Storage Type" to UFS.
3. Select "Flat Build".
4. Browse for "LGE SM8150 Firehose" and pick it.
5. Now, connect the phone to PC and boot into EDL mode.
6. Open "Select Port" and select the phone, press OK.
7. In "Tools" open the "Partition Manager".
B)
!!!BE CAREFUL TO DO EXACTLY AS THE INSTRUCTIONS SAY OR YOU WILL BRICK THE PHONE!!!
1. Make a backup of and erase these 7 partitions: FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B.
1.1. You have to left-click on a partition then right-click on it and select "Manage Partition Data".
1.2. In the pop-up window, you have 4 choices: I. Erase (to erase data on the partition), II. Read Data (to dump or back up the partition), III. Load Image (to restore the partition), IV. Close (to close the window).
1.3. First dump/back up the partition by choosing "Read Data" then Erase it.
2. Close the "Partition Manager" window.
3. Wait for 5 seconds then press Vol- and Power until it restarts.
3.1. Immediately after rebooting, Release the Vol- and Power buttons and press Vol+ to get into Download Mode.
Note: Do not let the phone to begin to boot! If it begins to boot, it may regenerate the SID and FTM partitions data and so you need to redo the whole step B.
C)
1. Open LGUP.
2. Pick your favorite KDZ.
3. Select "PARTITION DL".
4. Press Start. And a pop-up window will appear. In this window you can select which partitions to be flashed.
5. Here, uncheck these partitions: SID_A and SID_B. It will make it able to bypass the OPID Mismatched Error.
6. If you are in Sprint or other platforms you will get the message whether to change the model or not. Of course you know what to do =)
after completing the process it will boot up in some minutes and before starting the customization it will do one restart. just be patient.
ERRORS, QUESTIONS, TROUBLESHOOTING
1. Can I crossflash V50, V60, G8X or other LG devices using this method?
I did it on V50. Maybe it'll work on your devices maybe won't. There's one way to find out; make backup and give it a try.
2. SN is gone, zero, etc.
Restore your original FTM.
3. I can't get into recovery.
Restore the original FTM.
4. I got NT-Code error.
It's been discussed many time in the thread and some solutions have been presented (such as this one, thanks to @animo214 and this, thanks to @kt-Froggy as well as this one, thanks to @StvOchi ). However, you can ignore it if the phone got network.
Note: You need to disable verity on the phone in advance otherwise changes in cust_path_mapping.cfg won't be saved.
5. IMEI is lost, zero, null etc.
Restore LUN5 partitions. If you have no backup it should be repaired using Octopus box. Go to 16.
6. I got "permanently locked" error.
This is because of IMPL lock and you have to restore LUN5 partitions. In case of having no backup you should use Octopus box.
7. All partitions are deleted accidentally.
Follow this instructions.
8. I need to get into PDM mode.
Unzip and restore the attached PDM to FTM partition. Remember, you need to restore your FTM to get into OS.
9. Can I use another phone's LUN5 backup?
NO.
10. Can I use another phone's FTM backup?
Yes. All partitions can be restored from another phone's backup except LUN5 partitions.
11. My phone is stuck in boot-loop.
Restore the original FTM and if it doesn't help redo the whole crossflash process and use a different KDZ this time.
12. Which KDZ is the best (for any matter of use)?
I do not know.
13. Can I crossflash from any source variant to Korean variant or vice versa?
Yes it is possible but you may get error on opening stock camera application because of hardware differences. There are some methods to solve the issue which you can search and find them.
14. Can I downgrade using this method?
Yes.
15. I erased partitions (ftm, op_a, op_b, modem_a, modem_b, sid_a, sid_b) but it still does not let me to crossflash.
Redo the whole process and this time make backup of and erase these partitions too, on both sides A and B: vendor, product, system, userdata and boot.
16. How can I write IMEI?
A) Dump the modem_a and create a copy of it. Then open it in UltraIso and remove IMEIPROT files from image folder. Save and restore it in place of modem_a and modem_b partitions.
B) Make backup of FTM and then flash or restore the PDM file (attached) into your ftm partition. Restart the phone; you'll get into PDM mode.
C) Open Tutty (attached). Select "Serial" in protocol and the proper port of your phone's modem driver. Click open. To test if you have selected the proper port number type "at" and hit enter it should respond"ok". Type the code at%imei=# (replace # with your IMEI) and hit enter. It doesn't matter you get "error" or "ok" after that, just check if IMEI is written via this code at%imei=?. If IMEI is written so you'll have the right MEID and ESN too.
D) Restore the original ftm and modem_a in place of modem_a and modem_b. Restart the phone.
I've already tested this method on V30, V50 and G8. Remember, if the phone has IMPL lock it'll throw "perm. locked" error even if you have written the IMEI.
17. I have lost GPT files of my LG G8, G8X, G8S, V50, etc. and Qfil partition manager does not show anything in the list.
You need to flash GPT files to your device with fh_loader (see this, part C). For that matter use KDZ_Tools to Extract DZ from a KDZ of your device. Then extract the DZ using -c at the end of extracting command. For example: unkdz -f FILE_NAME.kdz -c. It will extract all files besides all GPTs.
18. Which are the LUN5 partitions?
SM8150 has 7 physical partitions known as LUNs which are numbered from 0 to 6. Each LUN is split into several partitions. In Qfil Partition Manager you can see all partitions except those of LUN3 and LUN6 which are hidden. The number of LUNs are shown under the first column named LUN. Therefore, all partitions in front of number 5 are LUN5 partitions.
It shows the variant NA6_US which seems to me that the "NA6" stands for North America but I have no idea that the number "6" refers to which operator.
Yep =)Kindly explain 16 number note about imei write, I dont have IMPL Lock so this guide will be helpful for me to write imei, Right?
Can i use QCN Backup then edit Imei And Restore back through QFIL to Reapir/Edit imei in LG G8 G820N/UM or Tutty/PDM Mode Edit imei method is more stable and reliableHi there
Thanks to all other guys here who have made helpful development to tame this beautiful =)
To crossflash models other than LG G8 please read post 3.
Before asking any question please read the troubleshooting section at the bottom of the page.
If you still need some specific help I would appreciate if you bring it up just in the thread instead of sending direct messages.
LG has made things difficult in flashing custom and even stock roms by this new OPID thing! It prevents us from crossflashing but we have been able to use TWRP and change the system and some other partitions to have a different rom. We had to make some changes into OP partition using HxD editor.
But now, through this tutorial, we're able to flash any rom without the need to change OPID in OP partition. Also, there is no need to root or unlock boot-loader.
I was successful to do this on some G8 (LMG820UM) but I AM NOT RESPONSIBLE FOR ANY HARM TO YOUR PHONE!
By continuing to read the following instructions you are actually accepting the risk.
IMPORTANT!
first, MAKE A FULL BACKUP OF ALL PARTITIONS; and I mean it!!!
at least, for your sake, make a backup of "modemst1, modemst2, fsg, fsc, ftm" partitions, for emergency.
Requirements
QPST and Qualcomm USB Driver (get)
LGE SM8150 Firehose (get)
LGUP 1.16.0.3 (get)
LGUP_Common.dll (get)
UI_Config.lgl (get)
LG Mobile Driver 4.4.2 (get)
Preparation
1. Install QPST and Qualcomm USB Driver.
2. Install LGUP.
3. Find the folder named "model" in the installation directory of LGUP, then Create a folder named "common" in the "model" folder.
4. Move "LGUP_Common.dll" and "UI_Config.lgl" into "common" folder. Change the attribute of "UI_Config.lgl" to read only.
5. Install LG Mobile Driver 4.4.2.
Steps
A)
1. Open QFIL.
2. Change "Storage Type" to UFS.
3. Select "Flat Build".
4. Browse for "LGE SM8150 Firehose" and pick it.
5. Now, connect the phone to PC and boot into EDL mode.
6. Open "Select Port" and select the phone, press OK.
7. In "Tools" open the "Partition Manager".
B)
!!!BE CAREFUL TO DO EXACTLY AS THE INSTRUCTIONS SAY OR YOU WILL BRICK THE PHONE!!!
1. Make a backup of and erase these 7 partitions: FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B.
1.1. You have to left-click on a partition then right-click on it and select "Manage Partition Data".
1.2. In the pop-up window, you have 4 choices: I. Erase (to erase data on the partition), II. Read Data (to dump or back up the partition), III. Load Image (to restore the partition), IV. Close (to close the window).
1.3. First dump/back up the partition by choosing "Read Data" then Erase it.
2. Close the "Partition Manager" window.
3. Wait for 5 seconds then press Vol- and Power until it restarts.
3.1. Immediately after rebooting, Release the Vol- and Power buttons and press Vol+ to get into Download Mode.
Note: Do not let the phone to begin to boot! If it begins to boot, it may regenerate the SID and FTM partitions data and so you need to redo the whole step B.
C)
1. Open LGUP.
2. Pick your favorite KDZ.
3. Select "PARTITION DL".
4. Press Start. And a pop-up window will appear. In this window you can select which partitions to be flashed.
5. Here, uncheck these partitions: SID_A and SID_B. It will make it able to bypass the OPID Mismatched Error.
6. If you are in Sprint or other platforms you will get the message whether to change the model or not. Of course you know what to do =)
after completing the process it will boot up in some minutes and before starting the customization it will do one restart. just be patient.
ERRORS, QUESTIONS, TROUBLESHOOTING
1. Can I crossflash V50, V60, G8X or other LG devices using this method?
I did it on V50. Maybe it'll work on your devices maybe won't. There's one way to find out; make backup and give it a try.
2. SN is gone, zero, etc.
Restore your original FTM.
3. I can't get into recovery.
Restore the original FTM.
4. I got NT-Code error.
It's been discussed many time in the thread and some solutions have been presented (such as this one, thanks to @animo214 and this, thanks to @kt-Froggy as well as this one, thanks to @StvOchi ). However, you can ignore it if the phone got network.
Note: You need to disable verity on the phone in advance otherwise changes in cust_path_mapping.cfg won't be saved.
5. IMEI is lost, zero, null etc.
Restore LUN5 partitions. If you have no backup it should be repaired using Octopus box. Go to 16.
6. I got "permanently locked" error.
This is because of IMPL lock and you have to restore LUN5 partitions. In case of having no backup you should use Octopus box.
7. All partitions are deleted accidentally.
Follow this instructions.
8. I need to get into PDM mode.
Unzip and restore the attached PDM to FTM partition. Remember, you need to restore your FTM to get into OS.
9. Can I use another phone's LUN5 backup?
NO.
10. Can I use another phone's FTM backup?
Yes. All partitions can be restored from another phone's backup except LUN5 partitions.
11. My phone is stuck in boot-loop.
Restore the original FTM and if it doesn't help redo the whole crossflash process and use a different KDZ this time.
12. Which KDZ is the best (for any matter of use)?
I do not know.
13. Can I crossflash from any source variant to Korean variant or vice versa?
Yes it is possible but you may get error on opening stock camera application because of hardware differences. There are some methods to solve the issue which you can search and find them.
14. Can I downgrade using this method?
Yes.
15. I erased partitions (ftm, op_a, op_b, modem_a, modem_b, sid_a, sid_b) but it still does not let me to crossflash.
Redo the whole process and this time make backup of and erase these partitions too, on both sides A and B: vendor, product, system, userdata and boot.
16. How can I write IMEI?
A) Dump the modem_a and create a copy of it. Then open it in UltraIso and remove IMEIPROT files from image folder. Save and restore it in place of modem_a and modem_b partitions.
B) Make backup of FTM and then flash or restore the PDM file (attached) into your ftm partition. Restart the phone; you'll get into PDM mode.
C) Open Tutty (attached). Select "Serial" in protocol and the proper port of your phone's modem driver. Click open. To test if you have selected the proper port number type "at" and hit enter it should respond"ok". Type the code at%imei=# (replace # with your IMEI) and hit enter. It doesn't matter you get "error" or "ok" after that, just check if IMEI is written via this code at%imei=?. If IMEI is written so you'll have the right MEID and ESN too.
D) Restore the original ftm and modem_a in place of modem_a and modem_b. Restart the phone.
I've already tested this method on V30, V50 and G8. Remember, if the phone has IMPL lock it'll throw "perm. locked" error even if you have written the IMEI.
17. I have lost GPT files of my LG G8, G8X, G8S, V50, etc. and Qfil partition manager does not show anything in the list.
You need to flash GPT files to your device with fh_loader (see this, part C). For that matter use KDZ_Tools to Extract DZ from a KDZ of your device. Then extract the DZ using -c at the end of extracting command. For example: unkdz -f FILE_NAME.kdz -c. It will extract all files besides all GPTs.
18. Which are the LUN5 partitions?
SM8150 has 7 physical partitions known as LUNs which are numbered from 0 to 6. Each LUN is split into several partitions. In Qfil Partition Manager you can see all partitions except those of LUN3 and LUN6 which are hidden. The number of LUNs are shown under the first column named LUN. Therefore, all partitions in front of number 5 are LUN5 partitions.
The method of editing IMEI via QCN backup is no longer working on these new devices.Can i use QCN Backup then edit Imei And Restore back through QFIL to Reapir/Edit imei in LG G8 G820N/UM or Tutty/PDM Mode Edit imei method is more stable and reliable
How to enable Diag Port treid all but failed in LG g8 crossflashedThe method of editing IMEI via QCN backup is no longer working on these new devices.
Dial *#546368#*820#How to enable Diag Port treid all but failed in LG g8 crossflashed
That's right or you can flash a KDZ with lower version. Remember you do not need to flash or restore LUN5 partitions just make backup of them.After some time of use, my brother's phone started freezing and just lost performance in some instances, like gaming. I made backup for all of the partitions mentioned in the post, including those you mentioned in the replies. I want to know if the process for downgrade is just restoring all the partitions to its originals
Try working on another PC and USB cable.Have tried to reinstall the Qualcomm USB Driver, disabled driver signature enforcement, installing the ADB Driver. Any suggestions at what can I do to fix this problem? Please advise
Pull the FTM and edit it in hex.Should be offset 14000 for the NT-Code.Make sure to paste write it and save.Write it back,should fix that.Hi.
Thanks for the answer. Of course I didn't proceed with flashing.
The file is correct, I kept it on my disk since I flashed it last time few months ago. I have backed up original FTM and modded one with NT-code error fix. None of them work now...
Just few minutes ago I dumped FTM which is currently on my phone and the file size is also 32 MB so there is no mistake on my side.
BTW does anyone know why the NT-code error remains even after flashing the original firmware back on the device? I'm just curious if there is a way to restore the phone to manufacture state.
Yeah, I know it's important not to use usb 3.0. I've read about that before I attempted to use QFIL
I thought flashing kdz file and choosing "refurbish" option in LGUP would be sufficient to make the phone like new one from factory. Thanks for clarifying.
I fixed the NT-code error by editing ftm file in hex editor. But as I mentioned before I cannot flash the file wiht QFIL anymore... Maybe I just try to edit the ftm file I dumped today.
Are you talking about this method or some other? The other method probably needs the phone to be rooted?
I would do a factory clear,and re-pull the FTM again and make the edits.If you try to edit the FTM manually in hex it will make the file size slightly larger and give you the error you're describing.Key thing when writing a new NT-Code to the FTM is copy and paste write it in hex so it doesn't increase in size at all.Yeah, I know it's important not to use usb 3.0. I've read about that before I attempted to use QFIL
I thought flashing kdz file and choosing "refurbish" option in LGUP would be sufficient to make the phone like new one from factory. Thanks for clarifying.
I fixed the NT-code error by editing ftm file in hex editor. But as I mentioned before I cannot flash the file wiht QFIL anymore... Maybe I just try to edit the ftm file I dumped today.
Are you talking about this method or some other? The other method probably needs the phone to be rooted?
Hey good for you, so the Open a11 must be the Kor version right? Either way, could u do a big favor and try to get to recovery? Of course don't erase anything, but just verify you can get to the recovery screen?
thnx!