• 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
47
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,437
545
tucson
Samsung Galaxy S10
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,437
545
tucson
Samsung Galaxy S10
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,437
545
tucson
Samsung Galaxy S10
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,437
545
tucson
Samsung Galaxy S10
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
225
114
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,437
545
tucson
Samsung Galaxy S10
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
225
114
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

  • 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 again!

    Without your advice and the backup I made on your advice, I would be dead.
    Without the IMEI code, you can no longer fumble with your phone with QPSTConfig.
    I was taking apart the phone again, because he didn't even want to enter the EDL and only by shorting the points on the PCB I was able to restore the files from LUN5 and the phone works again

  • 19
    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.