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

[Tutorial] Crossflash, Bypass OPID Mismatched Error

Search This thread

sasindu

Member
Oct 10, 2012
34
2
Hi,
My device is a LM-G820N. Currently iam running android 10 sk telecom firmware. I tried to flash android 10 open korean firmware with lg up by selecting upgrade option in lg up software. But it gives an error saying cannot change from skt to open korean firmware. Please advice, is this possible? What am i doing wrong?
 

AsItLies

Senior Member
Nov 4, 2009
1,442
545
tucson
Samsung Galaxy S10
Hi,
My device is a LM-G820N. Currently iam running android 10 sk telecom firmware. I tried to flash android 10 open korean firmware with lg up by selecting upgrade option in lg up software. But it gives an error saying cannot change from skt to open korean firmware. Please advice, is this possible? What am i doing wrong?

That isn't possible, the way you're trying to do it. You're running into the 'mismatched OPID' error that this thread is all about. Did you read the original post?

the point of the original post is to explain how to accomplish what u want and avoid the error you're getting.

cheers
 
  • Like
Reactions: netmsm

ohmediafire

Member
May 22, 2014
6
3
Mine is not working too.

I try to change from AT&T to Open Canada.

Before this I deleted all the files that you mentioned in QFIL and unchecked sid_a and sid_b in LGUP.
 

Attachments

  • cf.PNG
    cf.PNG
    30.4 KB · Views: 221

netmsm

Senior Member
Oct 3, 2010
227
118
Esfahan
Mine is not working too.

I try to change from AT&T to Open Canada.

Before this I deleted all the files that you mentioned in QFIL and unchecked sid_a and sid_b in LGUP.
There may be something missed.
Please send me screen shots of "Download Mode" before and after erasing partitions (FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B).
 

brigantti

Senior Member
Jul 25, 2013
161
20
Calexico
With this crossflash if i already have bootloader unlocked and root do i need to relock bootloader before crossflash?just want to know before attempt this guide.
 

netmsm

Senior Member
Oct 3, 2010
227
118
Esfahan
Do this tutorial also works with V60? with the same attachment files + KDZ from V60 firmware
You need the proper Firehose for SD865 and maybe a newer version of LGUP_Common.dll. Find proper files and give it a try (before doing anything, it is highly recommended to make a full backup).
With this crossflash if i already have bootloader unlocked and root do i need to relock bootloader before crossflash?just want to know before attempt this guide.
Nope =) it is working with modified and official bootloaders.
 
  • Like
Reactions: brigantti

sasindu

Member
Oct 10, 2012
34
2
That isn't possible, the way you're trying to do it. You're running into the 'mismatched OPID' error that this thread is all about. Did you read the original post?

the point of the original post is to explain how to accomplish what u want and avoid the error you're getting.

cheers
Thank you very much AsItLies for your reply. I was not sure as i was only going to flash to the open korean firmware. (Not to any other region). I will follow the tutorial. Thanks again.
 

ohmediafire

Member
May 22, 2014
6
3
There may be something missed.
Please send me screen shots of "Download Mode" before and after erasing partitions (FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B).

Sorry, I can't screen shot Download Mode before erasing partition, because i don't now how to go back.

how do I go back and restore my partitions with my backup ones?
My phone only enters FastBoot Mode right now.

or is the any way to enter EDL mode with this condition?
 

netmsm

Senior Member
Oct 3, 2010
227
118
Esfahan
Sorry, I can't screen shot Download Mode before erasing partition, because i don't now how to go back.

how do I go back and restore my partitions with my backup ones?
My phone only enters FastBoot Mode right now.

or is the any way to enter EDL mode with this condition?
First send me screen of the current Download Mode.
It's alright if it enters Fastboot since FTM is missing.

Boot into EDL (press and hold vol- and Power, when the screen goes black repeatedly press vol+ while holding vol- and power. You may need to repeat it for some tries.)
I hope you have made backup of partitions if so, do what you did to erase partitions but this time choose "load data" instead of "erase".
In pop-up window browse for backup and pick it.
Wait a few seconds for the process and close it.
Do it for all erased partitions.

Let me know if you haven't made backup of FTM.
 

AsItLies

Senior Member
Nov 4, 2009
1,442
545
tucson
Samsung Galaxy S10
Sorry, I can't screen shot Download Mode before erasing partition, because i don't now how to go back.

how do I go back and restore my partitions with my backup ones?
My phone only enters FastBoot Mode right now.

or is the any way to enter EDL mode with this condition?

Just to make sure it's clear, as netmsm is saying, you can get to edl mode from any screen, even with the device off.

The difference is that when the device is booted and you go to edl, you get a count down screen, but from any other state of the device, you won't get that count down, you just have to wait for it to go blank, then start spamming vol up.

cheers
 

Bwangster12

Senior Member
Jan 3, 2011
950
103
New York
Add me to the list of those this worked for. I always had trouble getting into fastboot, so this method was ideal. I did not get the switch carrier popup (coming from Sprint unlocked), but it is working perfectly. Ironically, I haven't been able to make outgoing calls on my phone, but now I can. Thanks!
 
  • Like
Reactions: netmsm

ohmediafire

Member
May 22, 2014
6
3
First send me screen of the current Download Mode.
It's alright if it enters Fastboot since FTM is missing.

Boot into EDL (press and hold vol- and Power, when the screen goes black repeatedly press vol+ while holding vol- and power. You may need to repeat it for some tries.)
I hope you have made backup of partitions if so, do what you did to erase partitions but this time choose "load data" instead of "erase".
In pop-up window browse for backup and pick it.
Wait a few seconds for the process and close it.
Do it for all erased partitions.

Let me know if you haven't made backup of FTM.
Thank you vary much @netmsm and @AsltLies , you are life savers =)

I don't know how and what's wrong before, but by following the steps again I can flash with Open Canada firmware now.

Here's my Screen Shots.
 

Attachments

  • Before Erase partitions.jpg
    Before Erase partitions.jpg
    1.4 MB · Views: 286
  • Old Firmware.jpg
    Old Firmware.jpg
    914.7 KB · Views: 194
  • Flash Progessing.jpg
    Flash Progessing.jpg
    1.4 MB · Views: 176
  • After Erase partitions.jpg
    After Erase partitions.jpg
    1.3 MB · Views: 251
  • New Firmwaree.jpg
    New Firmwaree.jpg
    1.7 MB · Views: 276
  • Like
Reactions: netmsm

AsItLies

Senior Member
Nov 4, 2009
1,442
545
tucson
Samsung Galaxy S10
Thank you vary much @netmsm and @AsltLies , you are life savers =)

I don't know how and what's wrong before, but by following the steps again I can flash with Open Canada firmware now.

Here's my Screen Shots.

Great, very cool. Suggestions though, u might want to mod that pic with your imei in it, people do actually try to steal those sometimes :(

Also, like me, you lost your s/n. Easy to fix that with a hex editor, assuming you have the s/n recorded somewhere. Extract the current ftm partition and at offset 12000 is where you start putting in the s/n. Flash it back and it will show up again.

cheers
 
  • Like
Reactions: sasindu

ohmediafire

Member
May 22, 2014
6
3
Great, very cool. Suggestions though, u might want to mod that pic with your imei in it, people do actually try to steal those sometimes :(

Also, like me, you lost your s/n. Easy to fix that with a hex editor, assuming you have the s/n recorded somewhere. Extract the current ftm partition and at offset 12000 is where you start putting in the s/n. Flash it back and it will show up again.

cheers
Oh crap, I forgot about that. Thanks for remind me and thanks for the information about S/N too.

you such a good guy =)
 
  • Like
Reactions: AsItLies

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
    how do you recover from a bad/partial crossflash ? because now its in a rapid bootloop and i cant use qfil to flash my backup files. i only have access to download and edl mode, but sahara error no matter what i try? is there another way to flash? i was going from sprint_US to G820UM20d_00_USC_US_OP_0511.kdz
    1
    i already did it but still no luck, same screen.
    Just to say thank you and help others, the solution was to reinstall lg up.
    1
    Thanks netmsm, your method works fine, I have used it to install the unlocked US kdz on a T-mobile phone. Nothing gained yet, but the method will prove to be very useful if Android 11 comes on only one of QM, TM or UM, can cross flash as needed.
  • 20
    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.