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

[Tutorial] Crossflash, Bypass OPID Mismatched Error

Search This thread

reticuli

Member
Nov 17, 2017
46
11
Many thanks for this guide, managed to flash a LG G8X from at & t with android 9 to android 11, wonderful success. Tested to flash a LG V50S with G8X android 11 firmware, does not work nags about different partitions layout, however could flash to Open Korea firmware from LG U+ on the V50S.
 

AsItLies

Senior Member
Nov 4, 2009
1,357
527
tucson
Google Pixel 3
One thing I found, and another person mentioned same in tele group, I went from Sprint a10 to us open a10, worked fine. But after using magisk and flashing twrp-inject-a-b zip, can't get it to go into recovery.

Didn't think to try to get to recovery prior to flashing twrp, but no matters what button combo used, it won't go to recovery.

didn't try 'adb reboot recovery' because with this version of twrp, if u don't use button combo to get to it, touch screen don't work.

odd problem really.
 

AsItLies

Senior Member
Nov 4, 2009
1,357
527
tucson
Google Pixel 3
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!
 

AsItLies

Senior Member
Nov 4, 2009
1,357
527
tucson
Google Pixel 3
Another new and unfortunate development. If you're rooted and want twrp, doesn't look as though the twrp version we have is gonna work on a11. Just tried that with the install-twrp-a+b zip and it installs, u can get to twrp, but u can't mount any partitions. Thus, u can't format data.

we do have root, but twrp looks to be a problem.

cheers
 

AsItLies

Senior Member
Nov 4, 2009
1,357
527
tucson
Google Pixel 3
Sounds TWRP needs to get updated!
Yup sure does.

Another discovery, with the LGv40 and using the Korean Open rom, we would flash the OP partition from the US Open rom, thus giving us volte and vowifi, and some additional tid bits.

But, with the G8, and the a11 Kor open rom, we can't flash the a10 US Op partition, it's too big, would result in data overflow. Think the us OP was about 680 meg, the Kor OP is about 480.

Anyway, being able to xflash to the a10 US OP rom is about as good as we'll get, I'm guessing. Everything works, even twrp :) And my bet is there won't be other a11 roms (other than Kor Open), could be wrong and hope I am!

cheers
 
  • Like
Reactions: netmsm

netmsm

Senior Member
Oct 3, 2010
154
79
Esfahan
But, with the G8, and the a11 Kor open rom, we can't flash the a10 US Op partition, it's too big, would result in data overflow. Think the us OP was about 680 meg, the Kor OP is about 480.
If the only problem is the size of OP partition, it could be handled. We can use US GPT files or modify KOR GPT files.
The first way is to flash rom manually using modified KOR GPT files which is a complicated task.
The second solution is to flash GPT file of LUN0 using fh_loader, after flashing the rom with LGUP.
The third one is to flash the phone using US rom, then flash KOR rom while [0]PrimaryGPT and [0]BackupGPT partitions are unchecked, like what we do for SID partitions.

I just did the first solution and it was successful. Be aware that working on GPTs may result in hard brick, so before do anything create back up.
 
  • Like
Reactions: AsItLies

AsItLies

Senior Member
Nov 4, 2009
1,357
527
tucson
Google Pixel 3
If the only problem is the size of OP partition, it could be handled. We can use US GPT files or modify KOR GPT files.
The first way is to flash rom manually using modified KOR GPT files which is a complicated task.
The second solution is to flash GPT file of LUN0 using fh_loader, after flashing the rom with LGUP.
The third one is to flash the phone using US rom, then flash KOR rom while [0]PrimaryGPT and [0]BackupGPT partitions are unchecked, like what we do for SID partitions.

I just did the first solution and it was successful. Be aware that working on GPTs may result in hard brick, so before do anything create back up.
Yes the GPT can be mod / adjusted use from US OP, good write up to do such.

I'm hoping that there will be a US OP a11 kdz... some say that sprint phones are getting a11 now, so there's hope. If us op a11 doesn't come out, will prob do as u suggest, thnx

cheers
 

Bwangster12

Senior Member
Jan 3, 2011
950
103
New York
So since doing this, when I go to battery and choose the hamburger menu and choose "Show All Usage" it crashes. Anyone experience that?
 

maksimbl4

Member
Apr 10, 2013
24
2
Hi) every time
IMG_20211018_170136_371.jpg

IMG_20211018_170130_384.jpg


I try reinstall lgup, but every time this error. Please help 🥺 Stock Sprint 21f. Thanks.
 

netmsm

Senior Member
Oct 3, 2010
154
79
Esfahan
Oct 31, 2014
20
6
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!
thanks for the info, actually i'm on A11 Chilean FW and it works perfectly
 

DeislerX

Member
Jul 11, 2010
6
0
Hanoi
Hi. I have got a G8 AT&T version and now stuck at QFIL - Tool - Partition Manage as "sahara error". Any your recommendations are highly appreciated!
 

Top Liked Posts

  • 1
    Got it fixed had to use PARTITION.DL check all boxes too and flashed
  • 2
    Does anyone have a good source for and OPEN_US firmware for the LG LM850UM?
    I cross-flashed to OPEN_CAN and my IMEI got zeroed.
    All I can find are CAN and MEX NDZ's for this phone.

    This is the link for the US Open kdz. It's a little difficult to find as they are listed under g8 820QM and not 820UM.

    cheers
    2
    I followed all the steps but was impossible for me to get to the menu in lgup with all the options
    Please follow the preparation and change the attribute of "UI_Config.lgl" to read only.
    it flash the lg logo and then disappear for a while... no way to stop it.
    I've experienced that going from a firmware to another faces such issue. I don't know why, but you may better try a different firmware to make phone boot properly. Then go back and try the desired firmware.
    1
    Didn't know what u were trying to do. Unfortunately at&t mvno's have to follow the at&t rules, and last I read they don't allow phones on their network to use volte and vowifi unless it's a phone with their imei (an at&t phone) and it is running an at&t rom.

    The G8 is certainly capable of volte, but if the carrier is actually checking the imei, don't think there's any way around that. I use mint mobile (t-mo) and it works perfectly with a US OP partition on a Sprint G8.

    cheers
    Thank you again. I called Cricket and got it working, for now at least. You've been an absolute lifesaver.
    1
    Strongly advise NOT to flash any partition indicating 'data overflow'. Doing that will almost certainly (semi) brick the device as you'll overwrite nearby partition information.

    What's happened is you crossflashed to a rom that has a smaller partition size for the OP. You'll need the partition table for what u originally had, or xflash to a rom that has a bigger OP partition.

    edit: Look at netmsm's guide re fixing hardbrick. He has gpt tables for at&t in there and how to revert to them.

    Also, why are u doing this? Do u just want to sell or is something not working?
    Thanks, I was able to revert the partition table using edl bkerler.

    I made the mistake of crossflashing before I put in the network unlock code. So I needed to revert back to the AT&T version, put in the network unlock code, then I'll crossflash it again. At least that's the plan 🤞
    1
    Got it fixed had to use PARTITION.DL check all boxes too and flashed
  • 13
    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 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 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.
    3
    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!
    2
    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
    2
    me too
    they solved it?
    You can solve it, reading the comments. When u only get a few options it's because u didn't follow the original post. That UI file has to be 'read only' or it won't work properly.

    cheers
    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 ^_^
    Idk when i opened lgup it's only have 3 option refurbished, upgrade n fota update