• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Tutorial] Crossflash, Bypass OPID Mismatched Error

Search This thread

slashduff

New member
Oct 24, 2021
2
0
Hi =)
Please give me screenshot from "Download Mode" before and after performing "part B" instructions.
Before
IMG_20211024_164249724.jpg


After
IMG_20211024_165009486.jpg

For some reason, deleting the seven partitions didn't delete the download mode ID. It's still 3(SPR_US)
 
Last edited:

netmsm

Senior Member
Oct 3, 2010
227
119
Esfahan
For some reason, deleting the seven partitions didn't delete the download mode ID. It's still 3(SPR_US)
It's weird!
Try erasing these on both sides a and b: vendor, product, system and boot in addition to erasing ftm, modem, sid and op on both sides a and b one more time.
Before erasing create backup.
Consider that the phone should immediately get into "Download Mode" after restarting from EDL so quickly release Vol- and Power and press Vol+ after restart.
 

nedthehead

Senior Member
Feb 19, 2011
149
4
I am looking to try this tonight. I have an LGM850UM with the AT&T firmware that I'm looking to bring over to the Canadian firmware. I have two questions:

Is the LGE SM8150 Firehose safe to use with my model of G8X?
I assume this link is for the Canadian Version of Android 11 that was released recently. Would this be the correct KMZ to use for my phone?

Thanks!
 

cooledi

Senior Member
Mar 1, 2009
82
8
LG G8
we still cannot flash a modified OP partition on locked BL right? Just wondering because i'd like to get volte working by a modified op
this guide doesn't work anymore for you?

 

netmsm

Senior Member
Oct 3, 2010
227
119
Esfahan
is there a way to use LGUP to flash the whole ROM excluding the OP parititions? Thinking of doing a OPEN_EU ROM phone with the Korean U+ OP
Do as this thread says for how to flash all partitions except SIDs. I don't know what will happen after doing this, however you can just give it a try and it'd be good if you then inform us of the result =)
 

AsItLies

Senior Member
Nov 4, 2009
1,444
546
tucson
Samsung Galaxy S10
It's work on my spirnt g8x android 10 , now i can covert to g8x CAN ver . Tks so much. Buti lost my SN number.

that's pretty easy to get back, assuming u have it written down or u have the original ftm partition.

I got mine back by restoring the original ftm partition. Another way would be to take the ftm partition on there now (if u didn't back it up), and use a hex editor to put the s/n in it at offset position 12000. Save it and flash it back.

It's not critical, it doesn't really affect anything not being there, but it's kind of 'nice to have' it show up.

cheers
 

cooledi

Senior Member
Mar 1, 2009
82
8
LG G8
Thanks netmsm/asltlies for this guide/help, I did manage to flash a um ->qm (wanna try Amazon)

Now i have few questions, thanks for answering in advanced.

1. I bought g8 from tb web, the imei is zero, seller gave me a legit one back. How do I flash imei back to the phone? Is there a offset file like serial no.?

2. If I want to go back to original um kdz, do I have to redo the guide again to be safe? (Obviously I don't need to backup as I've already the partitions)

3. The guide say backup and erase 5 partitions, but the list have 7. I bk & erased all 7, shouldn't affect anything, right?

4. Is it possible to flash a10 kor n rom, then ota to a11? IF that's possible, is it impossible to get back to a10 rom?

Thx
 

netmsm

Senior Member
Oct 3, 2010
227
119
Esfahan
1. I bought g8 from tb web, the imei is zero, seller gave me a legit one back. How do I flash imei back to the phone? Is there a offset file like serial no.?
IMEI can be repaired using Octopus box only which costs some credits. When IMEI is 0 it means that modemst1 and modemst2 and fsg are gone. These partitions contain the new LG lock that allows modem partition to detect sim. Without the lock I'm not sure that IMEI repair can be successful.
However, sometime data in modemst1 and modemst2 may corrupt resulting in IMEI null or 0. In this case it is suggested to backup modemst1, modemst2 and fsg then erase modemst1 and modemst2 only. If the problem is data corruption then the original data will be restored from fsg automatically.
2. If I want to go back to original um kdz, do I have to redo the guide again to be safe? (Obviously I don't need to backup as I've already the partitions)
If you have the original KDZ it is not necessary to create a backup.
3. The guide say backup and erase 5 partitions, but the list have 7. I bk & erased all 7, shouldn't affect anything, right?
That 5 was a typographical garble =) 7 is correct.
4. Is it possible to flash a10 kor n rom, then ota to a11?
I didn't try it yet but there should be no problem.
IF that's possible, is it impossible to get back to a10 rom?
It's possible to roll back to a10.
 
  • Like
Reactions: cooledi

cooledi

Senior Member
Mar 1, 2009
82
8
LG G8
IMEI can be repaired using Octopus box only which costs some credits. When IMEI is 0 it means that modemst1 and modemst2 and fsg are gone. These partitions contain the new LG lock that allows modem partition to detect sim. Without the lock I'm not sure that IMEI repair can be successful.
However, sometime data in modemst1 and modemst2 may corrupt resulting in IMEI null or 0. In this case it is suggested to backup modemst1, modemst2 and fsg then erase modemst1 and modemst2 only. If the problem is data corruption then the original data will be restored from fsg automatically.
I've just tried erasing the modemst1&2 without success, so probably not data corruption... But the phone still works 100% and detecting sim OK.

Also, is there a way to tell if my g8 is a frankenstein phone? i.e. firmware come with um, but the hardware might not be, right?
 
Last edited:

cooledi

Senior Member
Mar 1, 2009
82
8
LG G8
So, try EFS Professional to write IMEI.

Check it with LG Bridge.
Yes, I will probably try vrz rom method code ##7764726710 to repair EFS in the future. But as the phone is working 100% with network, I will hold on until I have a problem with imei=0, thanks.

In LG bridge, the phone shows [msmnile] 633A B64 Official /E/L/RO/id: 0() and description is QM as it had been cross flash already, so I guessed I can't check real h/w of the phone?

Finally, which rom do you think is most versatile to flash for g8? I mean like one that has the most bandbase support, etc.?

thx
 
Last edited:

netmsm

Senior Member
Oct 3, 2010
227
119
Esfahan
Yes, I will probably try vrz rom method code ##7764726710 to repair EFS in the future.
That code is for LG G7, the proper code for LG G8 is ##7764726820 to get into hidden menu where you can enable "port check test". It is not necessary to have VRZ rom rather you can enable "port check test" on other roms too but the code to get into hidden menu is different. On Open_CA try *#546368#*820# then go to "SVC menu" and find "port check test" option.
But as the phone is working 100% with network, I will hold on until I have a problem with imei=0, thanks.
Does it mean that your phone is crazy? How is this possible to have network with IMEI=0?! Did I miss something?!
In LG bridge, the phone shows [msmnile] 633A B64 Official /E/L/RO/id: 0() and description is QM as it had been cross flash already, so I guessed I can't check real h/w of the phone?
Try flashing all partitions. Do not uncheck SID partitions. If it persists, then I guess you lost "device id". Also you can check "device id" using "tutty" - attached file. Select "Serial" in "Protocol" and choose the proper port number in "port". You can find the correct port number in device manager under "modem". Then hit "open" and a terminal window will be appeared. Type "at" and hit enter you should get "OK", it for testing if it works. You should get a 65 character string for the command "at%deviceid=?" and a 17 character one for "at%info=?". Here you can write your IMEI too with the command "at%imei='your IMEI number'".
Note: To get "tutty" to work, the "port check test" needs to be enabled.
Finally, which rom do you think is most versatile to flash for g8? I mean like one that has the most bandbase support, etc.?
Sorry, I don't know. I'm in Persia where there isn't much in the way of different vast bands and so I was never after band support things.
 

Attachments

  • tutty-0.60.2.0.zip
    784.3 KB · Views: 13
  • Like
Reactions: cooledi

AsItLies

Senior Member
Nov 4, 2009
1,444
546
tucson
Samsung Galaxy S10
Yes, I will probably try vrz rom method code ##7764726710 to repair EFS in the future. But as the phone is working 100% with network, I will hold on until I have a problem with imei=0, thanks.

In LG bridge, the phone shows [msmnile] 633A B64 Official /E/L/RO/id: 0() and description is QM as it had been cross flash already, so I guessed I can't check real h/w of the phone?

Finally, which rom do you think is most versatile to flash for g8? I mean like one that has the most bandbase support, etc.?

thx

The rom with the most bands would be us open, but it's at a10 and may not ever be updated to a11 (if that matters to you).

How did u lose imei? if it was the result of crossflashing, then, in the past anyway, people have had success seeing it again in settings by adding the imei to the ftm partition (I believe it goes at position 0000d000).

cheers
 

elaz2b

Member
Mar 17, 2017
5
0
Hi there ;)
Thanks to all other guys here who has made helpful development to tame this beautiful =)

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.
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 BREAK THE PHONE!!!
1. Make a backup of and erase these 5 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 restart.
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 Spring 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.
I would like to know the following:
(1) first, MAKE A FULL BACKUP OF ALL PARTITIONS; and I mean it!!! How, exactly, does one make this full backup? How does it get restored if needed?
(2) 1. Make a backup of and erase these 5 partitions: FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B. What does this mean, exactly? What tool is being used for this?
(3)If you are in Spring or other platforms you will get the message whether to change the model or not. Of course you know what to do =). I do not know what to do. It is not helpful to write such a vague, obtuse instruction.
 

AsItLies

Senior Member
Nov 4, 2009
1,444
546
tucson
Samsung Galaxy S10
I would like to know the following:
(1) first, MAKE A FULL BACKUP OF ALL PARTITIONS; and I mean it!!! How, exactly, does one make this full backup? How does it get restored if needed?
(2) 1. Make a backup of and erase these 5 partitions: FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B. What does this mean, exactly? What tool is being used for this?
(3)If you are in Spring or other platforms you will get the message whether to change the model or not. Of course you know what to do =). I do not know what to do. It is not helpful to write such a vague, obtuse instruction.

I don't speak for netmsm, and he's more than capable of doing that himself.

But, for myself, I just wanted to say I think your comments are very unfair. 1st) The guide does say exactly how to back up those partitions, you, obviously, just don't recognize that, and probably thus have no idea what the utilities mentioned in the guide do. (hint: see where qualcomm and qfil are mentioned - just before 'make a backup'.

2nd) If u don't understand something in the guide, read the comments others have made, because it's possible someone else has already asked that question. Re the 'Of course u know what to do', you'll find others have said they got that pop-up, and others didn't. From that u can deduce, it's not **critical**. And, if anything, u realize it's kind of a joke... as in 'who want's a sprint phone anyway?' Get it?

There's no reason to be disparaging because u can't follow a guide without having to do any thinking at all. Sometimes, a guide can be 'over our head'. I.E. u just don't have enough experience in this area. Remember, a guide writer faces a dilemma; how to get the information across, succinctly, without becoming too verbose. Too verbose and the guide becomes a book, and most of us that write guides have no desire to spend the time it takes to write a book.

If u don't understand, ask questions, but don't be disparaging. We should all be thankful netmsm even bothered to take the time to write this!

cheers
 

netmsm

Senior Member
Oct 3, 2010
227
119
Esfahan
If u don't understand, ask questions, but don't be disparaging. We should all be thankful netmsm even bothered to take the time to write this!
Thanks friend 🙏👍
I've benefited from XDA's guides, tools, etc. and I've been always thankful for all their benevolence. I feel obliged to share what I know with others here. This is the manner I was taught in this forum.
 

cooledi

Senior Member
Mar 1, 2009
82
8
LG G8
The rom with the most bands would be us open, but it's at a10 and may not ever be updated to a11 (if that matters to you).

How did u lose imei? if it was the result of crossflashing, then, in the past anyway, people have had success seeing it again in settings by adding the imei to the ftm partition (I believe it goes at position 0000d000).

cheers
V50 A11 just out, so us open will be soon too? why do u think there won't be any a11 for USA/ca?

na, I didn't lose imei, it was sold to me with imei=0 , seller did gave me a unique um one back though, that's why I want to try to write it back. Will rooting the phone make it more easy to write imei?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Does anyone know if everything will work just fine if I were to cross flash the A11 Korean update to my US version LG G8? They still haven’t released the US A11 as far as I can find. Would this work or will there be something to worry about?
    No, not everything will work. The camera app on the kor rom is for the 3 rear lens version (only Kor has that). I've tried a few things to get that app to work with 2 lens version, or install the apk from us version, or modify configs... none of them worked.

    The gcam ports work fine though. Also, could not get vowifi to work, it seems there are some basic system files missing for that and they won't install due to diff signature signing. But with just a few config mods you can get volte to work.

    personally, I'm waiting until one of the us variant roms come out with a11.
    2
    Thanks again netmsm for your help!
    1
    Has anyone successfully flashed Sprint V50 to A11 using this guide and kept bootloader locked?

    From information gathered from this guide, there is a need for another modem to get signal/data. Also, getting opid mismatch error is almost given since OP is not modified and intention is to keep this clean with booloader still locked to avoid problems with many apps detecting tampered device and refusing to work.

    More info is needed but this is all I got from this thread in regards to Sprint V50 and locked bootloader.
    I flashed and it is locked.
    The modem is from the cross flash v500em guide but you have to edit by hex editor your ftm, to make it work you have to erase your serial number and put the correct nt code to avoid no signal no errors. You lost key attestation so there is no way to use LG mobile switch but safety net pass. I don't know if widevine L1 changes for the A11 update or for the cross flash but now is L3.
    1
    Thank you very much for a very valuable and technical info about it! I have updated my original post to reflect on your findings.
    When/if you can, please tell us more about functioning of any apps that checks device security, like bank apps, or crypto wallets or some authenticators, are they working? Also about op id mismatch error, is it present and how in general you are satisfied with your crossflashed Sprint V50?
    Bank apps works without problem, about crypto wallets I don't know because never used that, safety check pass everything, there is not opid mismatch error. The Eu ROM have Hidden Menu with field test to activate voLTE so the system is smooth and even can use velvet 2 pro apps in the phone, so I'm very satisfied only con I found is the Everytime I want to update to newer software version I have to reinstall and setup everything because I can't make a backup in mobile switch but that's only a spending time problem
    1
    Yep. We have any one kdz for Verizon A11. Only two little issues - it tell me "SIM cart is not from Verizon and NT code error, but everything works perfect.
    Thanks
  • 21
    Hi there ;)
    Thanks to all other guys here who has made helpful development to tame this beautiful =)

    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 restart.
    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.
    4
    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!
    3
    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 ^_^
    3
    I would like to know the following:
    (1) first, MAKE A FULL BACKUP OF ALL PARTITIONS; and I mean it!!! How, exactly, does one make this full backup? How does it get restored if needed?
    (2) 1. Make a backup of and erase these 5 partitions: FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B. What does this mean, exactly? What tool is being used for this?
    (3)If you are in Spring or other platforms you will get the message whether to change the model or not. Of course you know what to do =). I do not know what to do. It is not helpful to write such a vague, obtuse instruction.

    I don't speak for netmsm, and he's more than capable of doing that himself.

    But, for myself, I just wanted to say I think your comments are very unfair. 1st) The guide does say exactly how to back up those partitions, you, obviously, just don't recognize that, and probably thus have no idea what the utilities mentioned in the guide do. (hint: see where qualcomm and qfil are mentioned - just before 'make a backup'.

    2nd) If u don't understand something in the guide, read the comments others have made, because it's possible someone else has already asked that question. Re the 'Of course u know what to do', you'll find others have said they got that pop-up, and others didn't. From that u can deduce, it's not **critical**. And, if anything, u realize it's kind of a joke... as in 'who want's a sprint phone anyway?' Get it?

    There's no reason to be disparaging because u can't follow a guide without having to do any thinking at all. Sometimes, a guide can be 'over our head'. I.E. u just don't have enough experience in this area. Remember, a guide writer faces a dilemma; how to get the information across, succinctly, without becoming too verbose. Too verbose and the guide becomes a book, and most of us that write guides have no desire to spend the time it takes to write a book.

    If u don't understand, ask questions, but don't be disparaging. We should all be thankful netmsm even bothered to take the time to write this!

    cheers
    3
    If u don't understand, ask questions, but don't be disparaging. We should all be thankful netmsm even bothered to take the time to write this!
    Thanks friend 🙏👍
    I've benefited from XDA's guides, tools, etc. and I've been always thankful for all their benevolence. I feel obliged to share what I know with others here. This is the manner I was taught in this forum.