[Tutorial] Crossflash, Bypass OPID Mismatched Error

Search This thread

AsItLies

Senior Member
Nov 4, 2009
1,611
599
tucson
Samsung Galaxy S10
did you manage to fix it? same issue here.

Sahara errors are very common with qfil because it's older sftware.

1) only use a usb 2.0 port, not 3.x
2) be sure to use a usb data cable, not a charging cable
3) In some cases the problem is Windows, in that it won't let an 'unsigned' driver run. then you have to change windows configuration to allow them.
4) Some have had to try a completely different computer / OS version to get it to work.

good luck
 
Mar 3, 2010
10
0
Hi guys, first of all thank you for the tutorial, based on it I was able to cross flash my G8X from AT&T android 9 to Europe Android 11. Mane reason to try it was because I seem to have troubles with the Network and as AT&T are kind of excluding 2G decided that this could be causing issues as I wasn’t able to change the network type my only options were LTE/CDMA/USMT. I live in Bulgaria and my previous G6 didn’t have issue and was including also WCDMA/GSM etc, so decided to reflash.



Currently if enter the “hidden menus” I See more options, but can’t really keep it active and in normal setting I’m on GSM/LTE/WCDMA, which in theory I think it should be fine, but still the phone doesn’t ring every time, people get “phone is turned off or out of network” kind of message. Strange thing is sometimes it can ring 6 out of 6 times but other times might not ring. I always get message that someone tried to reach me immediately and can call back. Most times when I’m using the phone for browsing etc doesn’t have issues and it rings, so I’m thinking that it could be “putting the network to sleep” after some time(doubt it but not really knowledgeable in this sphere so trying to find some logic behind it :D )



Another thing I find strange is that during calls I’m losing all kind of internet 2G/3G/4G in my old phones LTE was dropping but 3G(H/H+) was still active.
Otherwise after crossflash don’t see many issues I get the error for NT-Codes, but overall network is working so not something I worry about. And the other strange thing is that my LG Health is not tracking movement but again nothing that I really care that much about.


So my question is does anyone else have similar issues or suggestions what could be causing it and how can I improve the “network” or anything of that sort.

Thank you :))
 

Attachments

  • 284605179_755051845665882_2249947237465095935_n.png
    284605179_755051845665882_2249947237465095935_n.png
    144 KB · Views: 55
  • 284838689_424362699579921_8300377444448997530_n.png
    284838689_424362699579921_8300377444448997530_n.png
    427.9 KB · Views: 54
  • 281425178_508274617708519_8442431451614557260_n.png
    281425178_508274617708519_8442431451614557260_n.png
    350.5 KB · Views: 56

reachforthesky

Senior Member
Apr 28, 2012
61
24
@Why So Serious
I am using a LG G8x flashed from UM to G850QM30b. (A11), runs on Tmobile. Also have 2 more G8x as spare.
From the pictures in your post, I learned 2 things. 1: you have a AT&T unlocked phone, from the first 6 digits in the IMEI, 2 when your phone was on A1 Bulgaria network, the WiFi calling and volte were not Provisioned . The only thing I can think of is that you may not have the right carrier MBN.
You can check the hidden menu for Current MCFG Status. Make sure it says A1 Bulgaria ( I don't know the code for A1, TMO is T-Mobile for myphone). If not, you need to "inject" the right MBN and activate it. Check Wish30's How to add Volte support ....

When I put Tmobile SIM card into the flashed QM30b, for some unknown reasons, TMO MBNwas not loaded. Instead my phone "selected" ROW_ATT as MBN. My T-Mobile phone service was working fine, so I never noticed the error until T-Mobile emailed to warn me that I haven't activated VoLTE on my phone. ( TMobile shut down older networks by May 31). I fixed it by loading a TMO MBN into my phone using Wish30's guide.
 
Last edited:

olaglam

Member
Jun 3, 2022
16
1
Thank you for this tutorial, i want to crossflash my Lg G8x ATT to open can, but before i start , i just want to get this statement by the OP right " 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. is he referring to the step in B 1 "1. Make a backup of and erase these 7 partitions: FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B." thanks
 
Last edited:

AsItLies

Senior Member
Nov 4, 2009
1,611
599
tucson
Samsung Galaxy S10
Thank you for this tutorial, i want to crossflash my Lg G8x ATT to open can, but before i start , i just want to get this statement by the OP right " 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. is he referring to the step in B 1 "1. Make a backup of and erase these 7 partitions: FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B." thanks

No. Certain partitions serve certain purposes. The 'make a back up and erase' part is for the purpose of crossflashing.

The 'make a full backup or at least these partitions (etc)' serves a different purpose. Those partitions have vital information for your specific device in them, like imei etc. And, it's worth nothing, partitions like ftm are critical to have, as there are usually problems further down the process that can only be remedied by restoring the ORIGINAL ftm partition, that came with the device.

When someone says 'make a full backup', I'd say this, not doing it is at your own peril. There are things farther down the road you may not be aware of now, that you'll learn how important it would have been to have a full back up. The guide doesn't go to the trouble of explaining what all those possibilities are, it just says to make a full back up.

It would be wise to learn from their experience and do it. Or, you can not do it, and probably end up crying later.
 

olaglam

Member
Jun 3, 2022
16
1
No. Certain partitions serve certain purposes. The 'make a back up and erase' part is for the purpose of crossflashing.

The 'make a full backup or at least these partitions (etc)' serves a different purpose. Those partitions have vital information for your specific device in them, like imei etc. And, it's worth nothing, partitions like ftm are critical to have, as there are usually problems further down the process that can only be remedied by restoring the ORIGINAL ftm partition, that came with the device.

When someone says 'make a full backup', I'd say this, not doing it is at your own peril. There are things farther down the road you may not be aware of now, that you'll learn how important it would have been to have a full back up. The guide doesn't go to the trouble of explaining what all those possibilities are, it just says to make a full back up.

It would be wise to learn from their experience and do it. Or, you can not do it, and probably end up crying later.
Thanks for the reply, I am a complete begginer at this, that why my question sounds dumb, is this something I can do with the QFIL, or do I need another tool
 

AsItLies

Senior Member
Nov 4, 2009
1,611
599
tucson
Samsung Galaxy S10
Thanks for the reply, I am a complete begginer at this, that why my question sounds dumb, is this something I can do with the QFIL, or do I need another tool

Not a dumb question, but learn from others, if they say full backup, just do it.

Follow this thread for a guide using qfil qhloader to backup a g8, should be much the same as a v40.

Another option would be to use bkerler edl utilities. Search google for that and you'll find his git page. On that page there's an iso you can flash and it will be a bootable linux with all the utilities installed.

Ea option is a bit daunting, but once completed, you'll have an entire backup of the device, and in the case with at&t, which doesn't make it's kdz available, it would be pretty much the only way you could get back to oem full stock safely.

cheers, good luck
 

olaglam

Member
Jun 3, 2022
16
1
Not a dumb question, but learn from others, if they say full backup, just do it.

Follow this thread for a guide using qfil qhloader to backup a g8, should be much the same as a v40.

Another option would be to use bkerler edl utilities. Search google for that and you'll find his git page. On that page there's an iso you can flash and it will be a bootable linux with all the utilities installed.

Ea option is a bit daunting, but once completed, you'll have an entire backup of the device, and in the case with at&t, which doesn't make it's kdz available, it would be pretty much the only way you could get back to oem full stock safely.

cheers, good luck
Ok thanks will do this
 

10terryo1

Member
Jan 4, 2013
6
0
LG V30S
LG G8
thank you netmsn and as it lies for your patience and contributions. I am trying to preform this magic trick on my lmg820um 20f. unlocked sprint on att network and software i think. anyways when I go to download mode and open LGUP I get a DLL mismatch error and am infgormed I should update with a MSI file that includes the 820um20f. ive searched and am at aloss as I cannot procure a later version ofLGUP_Common.DLL. and my phone is in download mode as I am sending this. anybody ??!!
 

10terryo1

Member
Jan 4, 2013
6
0
LG V30S
LG G8
update on my last post current rejected software is lm820um21f. which evidently is not in the LG common.dll file and I dont know how to get ahold of a att 21f kdz to pull the lgupc.dll out of it but shjouldnt I be able to pull it with QFIL Partition manager fromwhichever part it is on?
 

netmsm

Senior Member
Oct 3, 2010
382
183
Esfahan
so when i click partition maneger this happens. this is the first time im doing something like this so if there are additional guidelines i should be ffollowing please let me know. do i need xml files? if so where do i get them? my phone is an lg g8 thinq from at&t
Two things, first, remove any space in path and name of the firehose file, second, have the Qfil open before going to EDL mode and be quick to start partition manager as soon as the phone gets into EDL mode.
 

dalponis

Member
Apr 12, 2013
25
1
Stratford
www.uniquehardware.ca
i was able to flash open ca to my ATT LG G8x thanks
You were able to change the NT code as well? I had no luck getting the NT code fixed on my LG G8(820UM).



Maybe there's something in hidden partitions that prevents NT Code from getting changed. There's one way to make sure about this: You need to flash the phone in "chip erase" mode. But before chip erase create backup. After flashing is completed you need to flash it again to bypass the OPID error.
Then go for flashing vbmeta...
Do not restore ftm and LUN5 partitions until after editing NT Code.
I'm not sure I understand what you're recommending I try. but I took a stab at it

a) Full backup
1) Use LGUP and this guide to flash my phone in "chip erase" mode and with the ca open firmware
2) You'll get OPID error, so follow this guide again and flash the CA open firmware
3) Do newly provided steps by you, (disable-verity steps on vbmeta and dev qfil)
4) Still can't get the NT Code

I'm interested octoplus LG digital edition, I'll see if that can resolve NT code and edit my IMEI.
 
Last edited:

olaglam

Member
Jun 3, 2022
16
1
You were able to change the NT code as well? I had no luck getting the NT code fixed on my LG G8(820UM).




I'm not sure I understand what you're recommending I try.

1) Use LGUP and this guide to flash my phone in "chip erase" mode and with the ca open firmware.
2) You'll get OPID error, so follow this guide again and flash the CA open firmware.

Won't this just put me back at the same state as if nothing has happened?
I am still seeing the NT code error but it's only when I restart my phone, I thought it was the reason i initially had problem with my mobile data connection after crossflashing but that was because of APN settings
 

dalponis

Member
Apr 12, 2013
25
1
Stratford
www.uniquehardware.ca
I'm sure that Octopus can resolve such issues. It is done through the process of repairing IMEI which costs 100 credits, about 13$ I think!
I found out that the only listed Canadian dealer apparently, "doesn't do this in house". So that option is out.

"Just put back on AT&T android 10 and sell the phone" seems like a better idea.

Ha, so I got back on AT&T firmware, I fixed my IMEI again, but apparently the nt CODE with "0" is still invalid. and my phone is perma locked.
 
Last edited:

10terryo1

Member
Jan 4, 2013
6
0
LG V30S
LG G8
I used key file to delete partitions after vacuum them up booted to download mode and opened LG up LG up says dll mismatch download correct MSI file.I tried every day as hell file I can find as well as making my own and nothing seems to work any ideas. 820 um Sprint on AT& t--
 

10terryo1

Member
Jan 4, 2013
6
0
LG V30S
LG G8
The first time LG said BLM this match with my particular model number and software number all other times just said cannot load dll all this happened as LGUP was loaded loading of course. All my drivers are correct the best I can tell. I am wondering if AT&t slipped a Mickey on me with the new 21 series software where my phone won't be detected by the 16 series LG up. I've also noticed that the LG website says to use the 17 series LG up. I am lost and I'm sitting here with my phone half empty wondering if I need to restore restore original partitions.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Might help someone with NT-Code problem
    (I'm not an expert or anything, just a dumdum who happened to fix his problem, hopefully yours too)
    I AM NOT RESPONSIBLE FOR ANY HARM TO YOUR PHONE!
    am also not sure if a tutorial like this already exists, or this is a common knowledge for everyone else
    I can't find something similar.. again.. just a dumdum :D

    **ROOT NEEDED**
    this is presuming you're already rooted (the app used needs root permission)
    you'll need Solid Explorer app, give it permission (I think you can use other root explorer but this is what worked for me)

    I experimented and just added a Line on
    cust_path_mapping.cfg

    FFFFFF,61=/product/OP
    ^
    this is the line I added (which worked for me)
    try rebooting after adding this line, and see if you still get the NT error, if not anymore.. then CONGRATULATIONS!
    if you're still getting error, then try replacing the number based on the error you're getting.


    again, I'm not an expert.. this may or may not help you on your error..
    sorry for my english, it's not my mother tongue.

    see attached pics for guide/reference and file path.
    2
    after that i can unroot and use my phone normally right ? another question how can i get rid of nt code error on boot ? thank you
    For NT-Code error read this.
    Yes you can unroot, but bootloader should remain unlocked.
    Remember, before modifying the phone you need to disable verity or else modification won't work.
    1
    From official sprint g850um to open ca g85030a to g850v40a.
    Ok nice thinking of moving to EMw a12 too from att um
    1
    I restored the FTM but no luck, what could be the next step? I don't mind going back to stock ROM as long the SIM works at least. I did backup for these partitions only FTM, Modem_A, Modem_B, SID_A, SID_B, OP_A, OP_B
    Your luck is as good as mine. A full backup is needed to restore to stock Sprint. Find someone who can give you a backup of all partitions. Here it is explained how to create a full backup and restore it.
    Otherwise, the phone should be unlocked using Octopus box.
    1
    @netmsm Hey whats up, long time no see. We talked some months ago when I was trying to crossflash a Mediatek powered LG K51.
    Well I finally figured out how to crossflash on LG Mediatek devices. You get the phone into BROM mode and just erase both OP_a and OP_b partitions, and LGUP will let you flash any firmware you want. I successfully flashed Korean LG Q31 Android 11 firmware onto a Spectrum Mobile LG K31 that had Android 10.

    It's still risky to crossflash because I then hard bricked a Spectrum LG Stylo 6 by trying to crossflash it to LG K71 Android 12 firmware. Something somehow went wrong and I had to use SP flash tool to unbrick it.
    20220808_1409482.jpg
  • 41
    Hi there ;)
    Thanks to all other guys here who have 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.
    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!
    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
    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
    3
    alright, G8x Sprint succesfully crossflashed to OPEN CA :cowboy: