yashsingh1/xdaforums huggingface dataset:
[LG V40 Guides, News, & Discussion] abokamel:
Hello all, been a little while with LG V40 as my second device, and loved it so much but tried to follow the crossflash procedures as mentioned here:

https://xdaforums.com/lg-v40/how-to/guide-lgup-root-t3967858

and I succeeded with it, only few notes wanted to share as experience/question about them:

- wifi, 3G and 4G are working as it should and no other problem found.

1. after flashing, phone booted successfully to Android 10, giving strange error message :

"WARNING!

Current version is not available for user. Can't find matched carrier. Check NT-Code: 310410310150 310170,311180,310560,310030,3 10280,310950,313100,312670: FF,FF,FF,FF,FF,FF,FF,FF,FF,FF

2. there's no SN for the phone in the settings!

- attached some screenshots for errors, looking forward to seeing some feedback or help if possible with how to fix those problems.

thanks in advance for all for such great efforts done here.
[LG V40 Guides, News, & Discussion] 77an:
Hi, possible remove simlock after crossflash? Thanks.

P.S.

To remove message "WARNING!

Current version is not available for user. Can't find matched carrier......"

You must have root and edit file cust_path_mapping.cfg
[LG V40 Guides, News, & Discussion] abokamel:
thank you so much, i overcome it by crossflashing the latest EU Android 10.

and, about sim lock, it can't be done with cross flashing.
[LG V40 Guides, News, & Discussion] oscarillo:
Can you share the rom that you use?

Also, were you root?
[LG V40 Guides, News, & Discussion] abokamel:
no, it's stock, not rooted.

the current rom i use now is here
[LG V40 Guides, News, & Discussion] oscarillo:
Thanks a lot for your reply.

One more question.

Did you do a Refurbish or Upgrade option?
[LG V40 Guides, News, & Discussion] abokamel:
used the command line, i think it's making refurbish
[LG V40 Guides, News, & Discussion] AsItLies:
This is a bit of an older thread, but just recently did the same crossflash from pie on att device to korean open Q.

Decided on the KR instead of EBW because KR, I thought, had more of the t-mo LTE bands I needed. Unfortunately, the different sites with firmware specs aren't always accurate (which LTE bands supported). One site has EBW supporting every LTE band of every LG phone! Def inaccurate.

So I tested both EBW and KR Q versions. Use LTE Discovery (from playstore) to view LTE bands in your current location. One thing to note about that, the LTE bands it shows u are going to be the nearest towers it's using. Which means that another tower, a little farther away, won't show up.

So to verify a particular band, that you think the phone might be capable of, but you aren't sure, you have to go into the svc menu and select 'field test' and enable only that LTE band you're searching for. Then use LTE Discovery and see if it's connected with that band. If it isn't connected with it (usually it will default to a 3G band if that one u selected isn't available), that means 2 things; 1) either that band isn't used in your area 2) Your device doesn't support that band (or both 1 and 2).

But in my case, I know band 71 works in my area (from previous testing), but I have to select enable for only that band for it to show up, because other nearby towers with band 66 will 'drown it out'.

Thus, the point here, the KR firmware Band 71 **DOES WORK**. And, btw, no site indicates it included in supported bands. The following screenshot shows it connected to 71 and the KR 409 at the bottom.

Cheers

[IMG="b71 working on KR"]http://azitlies.com/temp-pics/b71.png[/IMG]
[LG V40 Guides, News, & Discussion] advancedtekniqs:
Just bought an unlocked AT&T V405UA I'm running on T Mobile. I've spent the last two days trying flashing and reflashing different roms and trying to root my phone and ran into the NT code errors as well. I'm now finally running V409NO30d_00_OPEN_KR_OP_0716 with Magisk root and no NT code error. Here's how I got rid of the NT code error.

You need to have root access to so you can open your /oem/OP/cust_path_mapping.cfg and a hex editor. I use HxD.

[IMG="cust_path_mapping.cfg"]https://i.imgur.com/ZZ7aSUc.png[/IMG]

Write down the number you have in the beginning, in my case "FFFFFF,60"

Reboot into 9008, open QFil and backup your FTM by choosing "READ" option

File will be stored at C:\Users\User\AppData\Roaming\Qualcomm\QFIL\COMPORT_9

Rename file to FTM_original.bin and open in HxD

Press ctrl + G to go to offset 14000

[IMG="FTM_Original"]https://i.imgur.com/d97ClYx.png[/IMG]

and replace first section with number you wrote down from cust_path_mapping earlier while deleting everything after

[IMG="FTM Edited"]https://i.imgur.com/JcVMiT6.png[/IMG]

Also, if you're missing a serial number you can add that in as well, located at offset 12000 in the FTM file

Replace the red FFFFFFFFFFFFFF with your serial #

[IMG="serial number"]https://i.imgur.com/yZJmfFy.png[/IMG]

Once done, hit "SAVE AS" so you have a backup of the original if things go wrong and rename to FTM_fixed.bin

Flash FTM_fixed.bin in QFil and reboot. Should be no more error.
[LG V40 Guides, News, & Discussion] AsItLies:
Wow thanks for that. First I've seen this idea to fix that issue. Other methods didn't work. Will try soon.

There are some other values you can change in cust.prop that can help also. Get's rid of most of the KR language in unexpected places. Will jot them down and add them here shortly.

cheers
[LG V40 Guides, News, & Discussion] advancedtekniqs:
I've only been using this rom for about 6 hours. I haven't really noticed any KR except on the phone dialer. Doesn't really bother me, but if you have a way to set that to ENG, I'd like to know as well.
[LG V40 Guides, News, & Discussion] AsItLies:
Yes u need to change the cust.prop in OP. Change the target region country to US (from KR) and same for target country. Change language prop to en_US.

Additionally, change featureset prop to OPENUS from OPENKR.

these changes disable most KR elements in firmware, most noticeably dual clock and call recording in dialer. They **may** also enable volte if supported by carrier.

This is from nice guy Neo on tele group who's played with this much more than I have ;)

Cheers

Oh yeah, lol, just remembered, the main reason I was asking for the info above was to get the 'field test' selection (so you can select LTE bands) in the SVC Menu from dialer. By default, it doesn't show up, but above changes fixes that also.
[LG V40 Guides, News, & Discussion] abokamel:
thank you so much for sharing such detailed fix for that strange problem., as a work around, I managed to flash OPEN US kdz, then reflashed the open KR, then it's gone now, but i can't find mt phone's serial number when showing it on settings.

thanks again for such amazing tutorial. keep up
[LG V40 Guides, News, & Discussion] abokamel:
that's terrific and brilliant to be honest! thank you so much for information you shared.
[LG V40 Guides, News, & Discussion] AsItLies:
So, just found something additional that works on open 409N. The 'buffer fix' can be a bit of a pain. Tried a magisk module supposedly for v40 Q but that didn't work. So did what I've done before and just copy the .so fix to the appropriate directory, but that didn't work, even the oem camera stopped working after that.

So, even though this says it's for 'custom roms' tried it, and boom, works in magisk and does what's needed to fix buffer.

cheers
[LG V40 Guides, News, & Discussion] advancedtekniqs:
Try this website to find your seriel# by IMEI
[LG V40 Guides, News, & Discussion] AsItLies:
So, interesting updates, for anyone using this Rom.

I went back to my AT&T rom, android 9. Then, just a few hours later... decided to go back to KR Open :) Don't ask, it's too confusing ;)

But, the point, this time, when flashing the KR rom, I did part DL, and then after booting did Refurbish. Had read on tele that doing that fixes some of the issues crossflashing causes. Sure enough, my NT-code issue went away (couldn't fix that even with hexedit of ftm)!

So, that was cool. But now, my S/N disappeared! IMEI was still okay though. So tried the hexedit ftm and added S/N, boom, now it's fine also. But the funny thing was, with the refurbish and no NT-code problem, I looked at what was in the newer ftm at that address, and it had nothing, no info at that address at all.

One thing to be aware of, attesting to why this is difficult to deal with, these values (IMEI, S/N - and others) get propagated from one partition to another, I don't know the chain of events or criteria involved, but it adds to the difficulty of trying to fix issues. Which specific place it looks for something is confusing also, and if it's doing compares of 2 or more places is a mystery.

But anyway, do a Part DL to crossflash, then do a Refurb and it appears to fix some of the issues.

cheers
[LG V40 Guides, News, & Discussion] fireblade20:
Awesome work, fellas!

What program and files do you all have success with during the flashing? Perhaps share a link to it?

Also, is a serial number necessary? For using the phone and having service? Seems you guys are taking the blank serial number very seriously. Thanks!

---------- Post added at 05:03 AM ---------- Previous post was at 05:00 AM ----------

So for an old sprint v40 running oreo, Just crossflash to the korean Q rom via partition DL, then again, with Refurb option? Or swap between different roms? Haven't done any crossflashing yet..hoping to avoid errors. Serial number loss won't stop the phone from working, right?
[LG V40 Guides, News, & Discussion] AsItLies:
Mine is an AT&T, but afaik, Sprint should be the same. Yes, do the part DL, let it reboot as normal, then shut off and do refurb. Is S/N a big deal? no, everything works, and the S/N is still in the phone, just not displaying properly. It's an individual thing how much effort you put into fixing that. Some people have lost either / or IMEI or dual IMEI (some roms have that), when cross flashing. That's a problem because they get no cell signal, but that's on a different rom.

Look in this thread for how to LGUP / crossflash.

cheers
[LG V40 Guides, News, & Discussion] fireblade20:
Thanks man!
[LG V40 Guides, News, & Discussion] cloud1250000:
did you still do this on your last flash? would you mind sharing every modification you made :)
[LG V40 Guides, News, & Discussion] AsItLies:
those mentioned are basically the only mods I've made. They do enable volte but not vowifi, haven't been able to get that to work. After the above changes, it's really about the same as a US Op a10 would be (which should be available eventually).

the only other thing I've done is use magisk module for a buffer fix, which then allows 7.x gcam mods to work. The 7.x gcams have astrophotography, which is pretty cool.
[LG V40 Guides, News, & Discussion] cloud1250000:
I'm a ?proud? v35 owner and honestly do not have a shred of hope for a USOPEN a10 :)

I assume the buffer fix is on the telegram! thanks!
[LG V40 Guides, News, & Discussion] AsItLies:
Well, for anyone reading this thread, some good news.

I don't know when / if there will be a USOPEN a10, I would think there would be eventually, I mean if LG announces that the V40 will get 10, I'm assuming they mean all the variants right? Anyone ever heard of them (or any mfg) only doing **some** of the variants and not others?

ANYWAY! There is a way to make the Korean V409N behave about the same, and have the same features, as the US Open would. I just copied the OPEN_US (from qa Pie version) folder into the OEM directory of the V409N. There's one cfg file you have to change in that OEM OP directory to point to the new OPEN_US (instead of OPEN_KR).

So now, both vowifi and volte work just as they do on US Open Pie, pretty awesome :) The only downside I've seen so far, a simple one is that the messaging app (korean) disappears, but easily replaced with the google msg app, and the 'carrier aggregation' that the KR is gone, so back to a 'normal' signal strength indication.

So, essentially, it's more or less exactly what I'd expect if there was a us_op Q version. very cool.

cheers
[LG V40 Guides, News, & Discussion] cloud1250000:
no luck on my side.. maybe because i replaced the common folder too imma try without\

edit.. nop no luck, it just doesn't get past lg logo

edit2.. followed what you said on telegram, its working, phone behave exactly like the v35 open us pie. no more shutter sound when using the camera too.

edit3.. this removes pretty much any bloatware lol so if you love qmemo, install it before doing the conversion.. also.. lg smart world doesnt work on open_us lol
[LG V40 Guides, News, & Discussion] AsItLies:
So, my bad, I was kind of excited when I made the first post about this, didn't mention every detail, was just happy to have vowifi and volte working properly!

To get this to work, a few things are necessary. You of course need Korean Open running on your device. It needs to be rooted and vbmeta disabled. You also need a root file explorer. Additionally, you need the OPEN_US folder from a device running US Open Pie (I'll provide gdrive share link).

1) With the root file explorer, copy the provided OPEN_US folder into directory ROOT/OEM/OP (you'll also see in this directory a folder called OPEN_KR).

2) Also in this directory you'll find a file called cust_path_mapping.cfg, edit this file to point to OPEN_US (instead of OPEN_KR)

3) Rename the OPEN_KR folder to something like OPEN_KR_ori (if you decide you'd prefer to delete it, be certain to back it up first).

reboot

That's pretty much it. Vowifi and Volte will work as expected, but, be aware, for both of those to work, your carrier and sim must be capable of them. Doing the above only makes the Device capable of them, if your carrier and sim aren't provisioned for them, the above changes will make no difference at all. And don't forget, some carriers restrict these abilities to only **their** devices.

This is the link for OPEN_US folder. It's from Pie, but it still works. About 75 meg in size (zipped).

cheers
[LG V40 Guides, News, & Discussion] poixninja:
Any chance you can write up a short guide to disabling vbmeta? I'm usually pretty savvy but im new-ish to a/b & verity stuff... no need for a ton of detail..

Thanks in advance
[LG V40 Guides, News, & Discussion] AsItLies:
Oh that's an easy one. First and always be sure to do this, save the original vbmeta_a image. Simplest way would be to use qfil. Then you flash an image (I'll put it on my gdrive later and provide a link) called vbmeta_blank. That's all there is to it.

flashing the blank vbmeta could easily be done with the eng abl - fastboot.

cheers

So here's a link to my gdrive folder that has vbmeta blank image and a txt file containing the command to fastboot flash it. Be sure to follow what's in the text file.
[LG V40 Guides, News, & Discussion] Gabriel51:
I flashed my v405ua (ATT) to the V405EBW30b_00_OPEN_EU_DS_OP_0806.kdz in an effort to get rid of the start-up error (current version) but the error still remains. Now I'm unable to flash back or to any other Kdz file, I get this notice Not support cross model download.

What can I do to fix this? Thanks
[LG V40 Guides, News, & Discussion] poixninja:
Thanks! i actually ended up figuring it out before you got a chance to reply, i did pretty much that, except the vbmeta i used was made by taking the one from the phone, removing the OP related stuff using hxd, and reflashing that.. hacky? probably, but it worked
[LG V40 Guides, News, & Discussion] abokamel:
you may use this working LGUP that supporting flash any other kdz.download
[LG V40 Guides, News, & Discussion] Gabriel51:
Thank you, I'll try it soon...
[LG V40 Guides, News, & Discussion] abokamel:
most welcomed
[LG V40 Guides, News, & Discussion] AsItLies:
Hi @camray00, so to continue this discussion...

This is the boot partition to use, it's the 30e boot with twrp installed. The way this should be done is a fresh lgup the kdz, go to qfil and flash this boot partition, then use the correct key combo to exit qfil and go directly to recovery (this twrp).

then format data, reboot to recovery, flash magisk and dm-verity.

Should be all set with that part then. The next thing would be to flash a blank vb_meta, so follow this link and be sure to read the txt file to get the command correct.

post back here if u have any further questions. Cheers
[LG V40 Guides, News, & Discussion] camray00:
I can't flash the vbmeta through fastboot either. I get the same error. Can I flash it through qfil?
[LG V40 Guides, News, & Discussion] AsItLies:
Okay, I'd have to guess you're not using the v35 eng abl then? If you were using that there should be no reason it can't flash the vbmeta blank as the txt file says.

Assuming that's correct, what many do is put the v35 eng abl on the 'b' slot (whichever one is inactive). Then in twrp set active slot to 'b' and then select reboot bootloader. Then you'll have the full fledged fastboot. Make the vbmeta change (to 'a') and then use fastboot to set 'a' active and reboot.
[LG V40 Guides, News, & Discussion] camray00:
I did everything right, and lineage 18 bootloops.
[LG V40 Guides, News, & Discussion] AsItLies:
so we're talking about a different issue now right? Did the vbmeta change work? If so, you would have then been using A10 Kr Open?

Now you're talking about an issue with lineage 10? There's a different procedure to get lineage up and running, not even mentioned or discussed in this thread...

Doing what we were talking about prior has nothing to do with getting lineage working...
[LG V40 Guides, News, & Discussion] camray00:
Everything worked that you told me, including the vbmeta. A10 Kr Open works properly. I was trying to get Android 11 working because my family all bought the v40 and I want to be able to perfect the process before I upgrade theirs.
[LG V40 Guides, News, & Discussion] AsItLies:
Hey cool, I understand. But this thread is for the 409N stuff. The lineage threads are in the rom sections and you'll find much more info / help there.

I can tell you one thing that, prior to other comments you've made, may be important; lineage / aosp roms on the LG phones don't have vowifi or volte. You may not have a critical need for those, but with 3g going away in the States, for us that means it's a non-starter, unfortunately.
[LG V40 Guides, News, & Discussion] smokinu:
Just read this thread. Excited to hear that WoWifi is working now with the Korean ROM. That was the only thing keeping me from attempting to switch from US Open Pie. Will give this a shot in a few days. Thanks for the wisdom.
[LG V40 Guides, News, & Discussion] Sherzaman Khan:
Can we use same method for recover imei no for 409n?
[LG V40 Guides, News, & Discussion] rjcarter3:
Hi All. Just curious why some settled on the Korean Open A10 instead of EU Open A10. Are there any major differences? It seems like there was a test earlier to confirm that Band 71 works on Korean, but it seems like that was unconfirmed on EU? Are there any other benefits or drawbacks to each? It was mentioned earlier that the KR dialer was a little different. I'm currently running Verizon A10 and just looking for a cleaner stock experience. Also, I'm getting the NT error on this build too, FYI.
[LG V40 Guides, News, & Discussion] AsItLies:
Yeah basically the biggest difference is the supported bands. Unfortunately, if you look at the lg firmware download site, they indicated the ebw has all the bands!

that's just not true. I suppose that some version somewhere of ebw has them, but the uk open one does not! I installed it and verified, it' does not do b71 not b66!

So for t-mo users, that's quite a limitation as 66 especially is used heavily. Don't know anything about dialers being different myself.

as far as the nt-error code, I've had the best luck by doing this procedure: Do the initial cross flash by doing an LGUP part D/L. Then, after it boots, shut it off and go back in LGUP and do a 'refurbish' with the exact same rom u just did part d/l.

That's worked for me every time. Cheers
[LG V40 Guides, News, & Discussion] hkguy80:
Hi,

Can you explain more on how to extract the OPEN_US from the rom? Because my phone already flashed as android Q, I may need to extract the OPEN_US by myself.

Also, which ROM did you use to extract the OPEN_US?

Thank for your help!
[LG V40 Guides, News, & Discussion] AsItLies:
the answers to your questions are in that post. As said, it's from open us Pie, and the link to the extracted folder is a link in that post. How to extract it? just use the mentioned file explorer and copy it ;)

the only thing I forgot to mention is that to get vowifi working you have to go into the service menu and enable it.

cheers
[LG V40 Guides, News, & Discussion] hkguy80:
Is the Open_US from Addroid Pie also applicable to the Korean Android 10?

Or, do i need to get another Open_US from Android 10 ROM?

Also, Is there anyways to confirm whether the vmbeta is disabled or not?

Should I flash the vbmeta_blank.img first to ensure that the vbmera is disabled?

Thanks again for your help!
[LG V40 Guides, News, & Discussion] AsItLies:
The vbmeta is very easy to simply flash the blank one again, if you can't remember if u did it or not. It has to be done, or the changes won't be permanent.

Is the open_us from pie applicable? Well, there is no 'open_us' from any other rom, as they will be vzw or sprint or att etc specific. There's only one open_us, and the latest version of it we have available is from the pie rom, which I gave a link to.
[LG V40 Guides, News, & Discussion] hkguy80:
I just able to copy and use the open_us in the phone.

If I want to use enable other frequency of other region (e.g. HK), should I flash the

V405EBW rom for HK to the phone first, then go to /oem/op to extract the related folder. And copied it to the phone that flashed korean rom. Is there anything I need to modify the open_hk before I copied it to the v409?

Is there anyway to enable specific frequencies in the phone with OPEN_US?

As shown in the attached video, after I cannot click the "Additional Settings" of the "Call" Setting. The phone automatically kick me out to the "Network & Internet" Menu. And the Mobile data is automatically disabled and enabled by the phone itself.

Is this normal? Is this also happened on your phone?

Really appreciate your help! Many Thanks!!
[LG V40 Guides, News, & Discussion] AsItLies:
So some basic things to know: You can't enable specific bands, you get the ones that the rom indicates it has, most of the lg websites that have the kdz also indicate which bands work for that rom (sometimes they can be inaccurate, but *most* of the time they are correct).

The only thing the open_us folder was intended to do was to enable volte and vowifi, it has nothing to do with bands.

Keep in mind though, not all carriers allow volte and vowifi, so no matters if the phone is capable of it, if the carrier doesn't allow it, you can't make it work.

I'd suggest just go with a rom that has the bands you need? Seems that would be what would work best.

cheers
[LG V40 Guides, News, & Discussion] hkguy80:
OK..

It seems that the open_us already solved my volte issue as the volte in the korean rom is not compatible with my carrier. it make my phone only have data traffic instead of voice traffic in some area. I just did a rough test, it seems the volte come with open_us seems more compatible with my carrier now.

Also, Is there anyway to confirm that the VoLTE and VoWiFi is enable or not?

Thanks!
[LG V40 Guides, News, & Discussion] AsItLies:
yes of course. With volte you'll see a little 'HD' indicator on the dialer, and possibly an indication on the icons on the top. With Vowifi, same thing and additionally you'll be able to make a call when just connected to wifi.

The most important thing for volte is that, at least in the US, many carriers are phasing out 2g and 3g, so without a phone with volte, you won't be able to make a call.

In HK not sure if it's that big of a deal or not.

cheers
[LG V40 Guides, News, & Discussion] kuapao:
This was most helpful. Thank you!!!
[LG V40 Guides, News, & Discussion] Opistorincos:
View attachment 6062301

Hey man, I followed this guide and result is the same as when I was on slot A. Any help will be appreciated. My device is LG v35 ATT