[Tutorial] Crossflash, Bypass OPID Mismatched Error

Search This thread

NaughtyDescent

Senior Member
May 26, 2012
124
23
Faisalabad
LG G8X ThinQ
Realme 7 Pro
I followed your whole tutorial, but LG UP is giving this error. Can you help please?
I am trying to crossflash Japan Model to Global Model using G850EMW40a_00_0627.kdz.
I am currently in Android 12. you can see the version in screenshot. @netmsm
 

Attachments

  • Screenshot 2023-05-28 001934.png
    Screenshot 2023-05-28 001934.png
    31.9 KB · Views: 40
  • COM9_PartitionsList.xml
    19.5 KB · Views: 4

NaughtyDescent

Senior Member
May 26, 2012
124
23
Faisalabad
LG G8X ThinQ
Realme 7 Pro
@netmsm Can you please modify your codes to backup all LUN partitions, using my partition list attached, for my G8x so that if anything goes south, I can restore my device?
or your g8 codes from here will be fine?
I am also attaching my current download mode picture and backed up lun partitions for your information and favorable action in this regard plz.
 

Attachments

  • COM9_PartitionsList.xml
    19.5 KB · Views: 7
  • 20230528_014008.jpg
    20230528_014008.jpg
    3 MB · Views: 18
  • Screenshot 2023-05-28 015318.png
    Screenshot 2023-05-28 015318.png
    29.4 KB · Views: 18
Last edited:

Surgemanxx

Senior Member
Jun 21, 2022
369
156
LG V30
LG G7 ThinQ
@netmsm Can you please modify your codes to backup all LUN partitions, using my partition list attached, for my G8x so that if anything goes south, I can restore my device?
or your g8 codes from here will be fine?
I am also attaching my current download mode picture and backed up lun partitions for your information and favorable action in this regard plz.
These should give you a solid backup!Just modify your port number of choice.

Spoiler
LUN 0
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=4068999 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=3067 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

By the way,these are for the U.S. G8x which I own.I changed LUN 0 to match your partition list.Here's my list for the G8x U.S. variant as well.

LUN 0
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=4863623 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=3067 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
 

NaughtyDescent

Senior Member
May 26, 2012
124
23
Faisalabad
LG G8X ThinQ
Realme 7 Pro
These should give you a solid backup!Just modify your port number of choice.

Spoiler
LUN 0
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=4068999 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=3067 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

By the way,these are for the U.S. G8x which I own.I changed LUN 0 to match your partition list.Here's my list for the G8x U.S. variant as well.

LUN 0
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=4863623 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=3067 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\COM16 --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
Thanks a lot. Much appreciated.
I hope I can cross flash now :)
Will Update you.
 
  • Like
Reactions: Surgemanxx

NaughtyDescent

Senior Member
May 26, 2012
124
23
Faisalabad
LG G8X ThinQ
Realme 7 Pro
@netmsm @Surgemanxx
I followed tutorial, also erased both sides A & B: boot, system, vendor, product and user data along with sid a, sidb, modema , modem b and ftm. Still this error comes in LG UP.
I am attaching my log file too.
SHould I Use refurbish option or what?
 

Attachments

  • Screenshot 2023-05-28 001934.png
    Screenshot 2023-05-28 001934.png
    31.9 KB · Views: 30
Last edited:

wulolx

Member
Sep 18, 2022
9
0
LG G8
LG Quantum
我原来刷过一个国产包,发现包里的名字都是一样的,包的名字跟开源的都不一样,好像加密了,并且自已精简了TWRP 是3.4的版本,我想升级加功能,结果卡在TWRP的界面也没有按扭进不去,操作了几回,root 也不能用了,所以我找了好久,看到这个贴子非常详细,按这个操作,成功的刷入了G820UM40b_00_OPEN_CA_OP_1129.kdz这个版本,现在开机出现了个Current version is not available for user.Can't find matched carrier. Check NT-CODE:310120,312531:FF,FF,在大陆地区,电信能上网,但是不能打电话。现在我想ROOT刷入TWRP,不知道怎么风险小,我的手机是820N,用软件Device Info HW 查看,原来的型号LM-820N,刷机后型号是LM-820,刷的KDZ是UM版本的,谁能告诉我怎么做,要重新软KDZ还是继续使用这个,安装ROOT和TWRP?现在有个问题是,进入不了fastboot ,关机状态下,按音量下连接USB,没有进入FASTBOOT ,只会出现充电的界面。有没有哪位高手指点一下,我自已可以查资料,手机KDZ版本对吗,他们说韩国版的相机多了一个,我手机后面只有2个相机,就没有选择韩国版的,我应该刷哪一个?
 

wulolx

Member
Sep 18, 2022
9
0
LG G8
LG Quantum
I used to flash a domestic package, and found that the names in the package are the same, and the name of the package is different from the open source one. It seems to be encrypted, and I have simplified the TWRP version 3.4. I want to upgrade and add functions, but the result is stuck There is no button to enter in the TWRP interface. After several operations, the root can not be used, so I searched for a long time, and saw this post is very detailed. According to this operation, I successfully flashed the G820UM40b_00_OPEN_CA_OP_1129.kdz Version, now there is a Current version is not available for user.Can't find matched carrier.
Check NT-CODE: 310120, 312531: FF, FF, in mainland China, Telecom can access the Internet, but cannot make calls. Now I want to flash into TWRP with ROOT, I don’t know how the risk is small, my mobile phone is 820N, check it with the software Device Info HW, the original model is LM-820N, the model after flashing is LM-820, and the KDZ flashed is UM version, Can anyone tell me how to do it, to resoft KDZ or keep using this, install ROOT and TWRP? Now there is a problem that I can’t enter fastboot. In the shutdown state, press the volume down to connect to the USB. If I don’t enter FASTBOOT, only the charging interface will appear.
Is there any expert who can give me some advice? I can check the information myself. Is the KDZ version of the mobile phone correct? They said that the Korean version has an extra camera. I only have 2 cameras on the back of my phone, so I didn’t choose the Korean version. Which one should I use? ?
 

netmsm

Senior Member
Oct 3, 2010
559
265
Esfahan
LG V30
@netmsm @Surgemanxx
I followed tutorial, also erased both sides A & B: boot, system, vendor, product and user data along with sid a, sidb, modema , modem b and ftm. Still this error comes in LG UP.
I am attaching my log file too.
SHould I Use refurbish option or what?
I just remembered there was a similar case with the same phone and problem but I cannot remember whether the problem was solved or not!
If you got the complete backup (at least FTM and LUN5 partitions) you can risk trying the method here we use to unbrick.
To do this you need to erase all partitions at first which is somehow risky. I recommend to have a complete backup before doing this.
 

NaughtyDescent

Senior Member
May 26, 2012
124
23
Faisalabad
LG G8X ThinQ
Realme 7 Pro
@netmsm Thank you so much for getting back to my issue. I have made back up of all lun (0-6) using codes shared by @Surgemanxx above.

1. Do you think it's safe to move forward now?

2. Should I create back up of my current GPT partitions as well (please guide me how to) because my current partitions don't have OP_a & OP_b partitions.

3. Can I use modems of other ROMs for better band support because I usually have network issued with my current ROM. While on 3g my phone does not make calls while data transfers works. Also my phone don't switch between 3g and 4g automatically. I need to turn off option in settings which says "use 4g network instead of 3g."

4. Changing modems can mess my IMEI or not.

Thanks in advance.
 

netmsm

Senior Member
Oct 3, 2010
559
265
Esfahan
LG V30
1. Do you think it's safe to move forward now?
Once you got a full backup yes.
2. Should I create back up of my current GPT partitions as well (please guide me how to) because my current partitions don't have OP_a & OP_b partitions.
The backups contain GPT info since they are starting at sector 0.
3. Can I use modems of other ROMs for better band support because I usually have network issued with my current ROM. While on 3g my phone does not make calls while data transfers works. Also my phone don't switch between 3g and 4g automatically. I need to turn off option in settings which says "use 4g network instead of 3g."
I'm not sure I got you said but after crossflashing the device will have relative modem partition files. And, the issue of not changing network automatically will maybe gone.
4. Changing modems can mess my IMEI or not.
We haven't experienced such problem yet and logically we do not expect it. However, got backup of LUN5 partitions separately using Qfil just in case some jinxy thing happens!

and no sweat ;)
 

Lzlz3

Member
May 23, 2023
10
2
hi op, great work on those tuts !

Just wanted to ask, will this work using the newer lg mobile driver? yours are v4.4.2 while mine already using v.4.8.0 and its refusing to install the earlier version of the lg mobile driver
 

Lzlz3

Member
May 23, 2023
10
2
Some pictures of flashing my LMG820UM, unlocked from Sprint, into OPEN_CA 20j. In normal mode you cannot flash SPR_US to OPEN_CA which is shown in the pictures. But using this thread instruction it allows to flash, even it asks to change the model from SPR_US to OPEN_CA :D
Until performing the instructions, it shows the "id: 2(SPR_US)" on the Download Mode screen, but after that it cannot recognize the phone model id and shows "id: 0()" :D
Have fun ^_^
Hi op, I found the same problem like you but I cant change the region as shown below and now I cant even boot into OS, any help?

EDIT:
I tried to crossflash my V500N to V450EM, at first it shown as V500N and after a reboot it shown as completed on the progress bar as the version changed to V45040a and I decided to unplug the phone, and now it show like the attachment 🥴
1685729057938.png
 

netmsm

Senior Member
Oct 3, 2010
559
265
Esfahan
LG V30
Hi op, I found the same problem like you but I cant change the region as shown below and now I cant even boot into OS, any help?

EDIT:
I tried to crossflash my V500N to V450EM, at first it shown as V500N and after a reboot it shown as completed on the progress bar as the version changed to V45040a and I decided to unplug the phone, and now it show like the attachment 🥴
View attachment 5924449
Hi =)
Please read the original post thoroughly. I put everything I know there.
 

Lzlz3

Member
May 23, 2023
10
2
Hi =)
Please read the original post thoroughly. I put everything I know there.
hi op, thank you for reply!

Now I've been successfully booted into OS, but now my V50 cant detect any simcard, it's written as "no simcard, service disabled", got the SN but the NT-Code is missing, should I fix the NT-Code so I can use my simcard again or what I need to do?

EDITED:

Tried to fix the FFFFFF code using HxD but it already shown like this (pls ignore the 63 in red, it was already there but deleted mistakenly so I'd to write it again)
1685763918142.png
 
Last edited:

netmsm

Senior Member
Oct 3, 2010
559
265
Esfahan
LG V30
hi op, thank you for reply!

Now I've been successfully booted into OS, but now my V50 cant detect any simcard, it's written as "no simcard, service disabled", got the SN but the NT-Code is missing, should I fix the NT-Code so I can use my simcard again or what I need to do?

EDITED:

Tried to fix the FFFFFF code using HxD but it already shown like this (pls ignore the 63 in red, it was already there but deleted mistakenly so I'd to write it again)View attachment 5924705
Hi bro :)
You got backups, right? So just restore LUN5 partitions and FTM.
 
  • Like
Reactions: Lzlz3

Lzlz3

Member
May 23, 2023
10
2
Hi bro :)
You got backups, right? So just restore LUN5 partitions and FTM.
ah geez, seems I forgot to backup the LUN5 😅😅 any link that could lead me to LUN5?

EDITED:
Seems it cant be help if using other's V50 LUN5, welp, I'll try it later tonight using Octopus fix just like you said. About the FTM, should I restore using FTM that I've backed up before the crossflashing or after the crossflash?

And also, op, referring to your first post:
"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."

the original ftm and modem_a was the file before I did the crossflash right?

EDIT 2:
Just to make clear, so I need to restore my LUN5 using Octoplus tools, right?

sorry im a bit panic lol
 
Last edited:

netmsm

Senior Member
Oct 3, 2010
559
265
Esfahan
LG V30
Seems it cant be help if using other's V50 LUN5, welp, I'll try it later tonight using Octopus fix just like you said. About the FTM, should I restore using FTM that I've backed up before the crossflashing or after the crossflash?
That's right, other phone's LUN5 backup is not useful but Octopus can help.
After flashing/cross-flashing we restore FTM.
the original ftm and modem_a was the file before I did the crossflash right?
The ones before making change in those partitions.
Just to make clear, so I need to restore my LUN5 using Octoplus tools, right?
You said you got no backup so there will be no restoration. Use Octopus/Octoplus to break IMPL lock which make you able to change NT-Code via hidden menu (*#546368#*500#). Although, after breaking the lock, you'll get network even with NT-Code "0". To break it just try to perform either IMEI Repair or Direct Unlock functions on Octopus; it costs some credits.
 
  • Like
Reactions: Lzlz3

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    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 times 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, boot and userdata. Do not make backup of userdata partition.
    16. How can I write IMEI?
    A) Dump 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.
    6
    Some pictures of flashing my LMG820UM, unlocked from Sprint, into OPEN_CA 20j. In normal mode you cannot flash SPR_US to OPEN_CA which is shown in the pictures. But using this thread instruction it allows to flash, even it asks to change the model from SPR_US to OPEN_CA :D
    Until performing the instructions, it shows the "id: 2(SPR_US)" on the Download Mode screen, but after that it cannot recognize the phone model id and shows "id: 0()" :D
    Have fun ^_^
    6
    First off, big THANKS to the OP (netmsm) and other people who contributed to this thread and made this guide very clear and useful!

    So, after perusing this thread for a long time, trying to understand the ins and outs of the process and any possible snafus, I decided to take the plunge after the Open_CA A12 (40a) got released recently, and to flash it onto my G8 originally from US Cellular. The crossflash went smoothly with no issues at all. A nice surprise was that the BL remained unlocked - I was prepared to go through the whole unlocking process again before rooting, but didn't have to. I got the empty S/N (easy fix), and the infamous NT-Code error. This is where I got stuck for a while. I tried fixing it by editing the cust_path_mapping.cfg file as suggested in the thread. The problem is that I couldn't save the changes in that stupid file by using ANY root explorer/editor! :mad: Tried half a dozen different apps with no luck at all. BTW, anyone has any ideas what I may have been doing wrong?? Yes, I am properly rooted with Magisk.

    Anyway... Everything worked fine on the phone, but that lame error was really getting under my skin - I could have ignored it, but I hated not being able to get rid of it. So... After more reading, I came across some info on hex-editing the FTM partition (in a totally unrelated topic). The NT-Code in FTM binary is stored at the offset 00014000. My error message was referring to the code "FFFFFF,85". The original cust_path_mapping.cfg file (which I couldn't edit) had a line referring to "FFFFFF,82". So, having all backups available, I decided, just for the heck of it, to change the last digits of the NT-Code in the FTM partition to match the "82" listed in the file. What could go wrong? I can always restore a backup... After flashing the edited FTM in QFIL, rebooted the phone, and - bingo! The NT-Code error was gone, and the phone was still fully functional. This was my happy face after spending a good hour and a half trying to get rid of it, and finally succeeding: 😁

    Cheers, and thanks again for all the info!
    Thanks, netmsm and kt-froggy for the guides.
    I figured out how to remove the NT code error without root.
    You will first need a file manager that can access the root directory.
    I personally used "Solid Explorer File Manager" to access the cust_path_mapping.cfg file to read the NT-Code that came with the firmware.
    You can use the Solid Explorer File Manager to access the root directory by going to settings then scrolling down and checking the box "show root storage". You will now be able to access the root storage.
    You can access the cust_path_mapping.cfg by going to root/system/product/OP. Then open the file and note the code. Mine was FFFFFF,82=/product/OP.
    Create a backup of the FTM partition the open the FTM file with HxD app. (Make sure you have a copy of the FTM file in case something goes wrong)
    Go to line 00014000 and edit the line. depending on the phone, edit the first 2 sets of numbers/letters with 3 characters separated by a comma. ("FFF,FFF), then the last set of numbers/letters with 2 characters to match the code in the cust_path_mapping.cfg file.
    (Mine was
    "2","310,120,FFFFFFFF,FFFFFFFF,FF","312,530,FFFFFFFF,FFFFFFFF,FF" and I changed to
    "2","FFF,FFF,FFFFFFFF,FFFFFFFF,82","FFF,FFF,FFFFFFFF,FFFFFFFF,82") because I was getting NT code error
    310120, 312530 ; FF, FF

    Note:
    1. The line could span from 00014000 to 00014040 like mine. Each line is separated with "". I had 2 lines and had to change both lines. You can have only 1 line
    2. Make sure you don't delete the line but just select the content and overwrite it with new text. deleting might affect other lines below with content. ( I deleted some lines and my phone factory reset)


    After that just save the FTM and load it to your phone using QFIL and the error will be gone.

    I've only tested it on my LG G8, OPEN CA firmware so I'm not sure if it will work on others.
    5
    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!

    So, we just got this sorted. Thanks to SGMarkus as he mentioned it's the ftm partition that controls recovery access and fastboot access. So, with the newly flashed kdz, as it is, you can't even get to fasboot although u flashed the eng abl to it.

    But! Restore your old ftm, after flashing, and then you'll get access to both recovery and ability to get to fastboot after flashing eng abl.

    cheers!
    4
    First off, big THANKS to the OP (netmsm) and other people who contributed to this thread and made this guide very clear and useful!

    So, after perusing this thread for a long time, trying to understand the ins and outs of the process and any possible snafus, I decided to take the plunge after the Open_CA A12 (40a) got released recently, and to flash it onto my G8 originally from US Cellular. The crossflash went smoothly with no issues at all. A nice surprise was that the BL remained unlocked - I was prepared to go through the whole unlocking process again before rooting, but didn't have to. I got the empty S/N (easy fix), and the infamous NT-Code error. This is where I got stuck for a while. I tried fixing it by editing the cust_path_mapping.cfg file as suggested in the thread. The problem is that I couldn't save the changes in that stupid file by using ANY root explorer/editor! :mad: Tried half a dozen different apps with no luck at all. BTW, anyone has any ideas what I may have been doing wrong?? Yes, I am properly rooted with Magisk.

    Anyway... Everything worked fine on the phone, but that lame error was really getting under my skin - I could have ignored it, but I hated not being able to get rid of it. So... After more reading, I came across some info on hex-editing the FTM partition (in a totally unrelated topic). The NT-Code in FTM binary is stored at the offset 00014000. My error message was referring to the code "FFFFFF,85". The original cust_path_mapping.cfg file (which I couldn't edit) had a line referring to "FFFFFF,82". So, having all backups available, I decided, just for the heck of it, to change the last digits of the NT-Code in the FTM partition to match the "82" listed in the file. What could go wrong? I can always restore a backup... After flashing the edited FTM in QFIL, rebooted the phone, and - bingo! The NT-Code error was gone, and the phone was still fully functional. This was my happy face after spending a good hour and a half trying to get rid of it, and finally succeeding: 😁

    Cheers, and thanks again for all the info!