yashsingh1/xdaforums huggingface dataset:
[Motorola Edge 40 Pro  / Moto X40 (China)] Mr.Blaze:
Once you get the safetynet fixed it works. I'm using it for payments everyday.

Ps. you can also search for the phone on tradingshenzen, it used to be cheaper there.
[Motorola Edge 40 Pro  / Moto X40 (China)] kevinkuan:
Got the phone. Still on CN. Waiting for a more stable fix as it's my one and only working daily. Hopefully everything works out. Kudos to the Devs and testers for doing it for us
[Motorola Edge 40 Pro  / Moto X40 (China)] GigogoHK:
Thanks, @Mr.Blaze just ordered mine for $550 including Shipping. Waiting for it to arrive to flash it and share my experience. Hope everything works, including NFC payments and OTA
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
I hope that OTA updates will work. The reteu firmware on lolinet ist 43-20-15. The firmware in this thread is 43-20-5. I did not fix safetynet and banking apps still work for me. So even if you don't fix it, it seems to work fine. Only app which is not shown in play store is Netflix so far. So I downloaded the APK and installed it. Works fine.
[Motorola Edge 40 Pro  / Moto X40 (China)] Techguy777:
What's the difference with the moto x40 and moto edge 40 pro?
[Motorola Edge 40 Pro  / Moto X40 (China)] fabus:
Global rom on 40 pro ;)
[Motorola Edge 40 Pro  / Moto X40 (China)] Techguy777:
Thank you but I don't believe you understand. The moto x40 and the edge 40 pro look to be the same phone on paper to me. But one is 600 dollars and the other is over a $1000. Why? What does the edge 40 pro have over the x40?
[Motorola Edge 40 Pro  / Moto X40 (China)] fabus:
Nothing is different. Just in China is much cheaper ;)
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
the difference is: the x40 is for the chinese market whereas the edge 40 pro is for Europe. Same specs, different region+ firmware (Chinese Firmware X40 and European Firmware for Edge 40 Pro.
[Motorola Edge 40 Pro  / Moto X40 (China)] Techguy777:
So if I buy the chinese X40 is root and the edge 40 pro firmware a go? If so it seems like the logical one to get
[Motorola Edge 40 Pro  / Moto X40 (China)] cezarvrabie:
Also the Edge 40 Pro has a single SIM slot. There is a possibility to add a second SIM using an eSIM. Lastly, the included case is a clear hard shell instead of the rubber one. Other than that they are the same. I have the Edge 40 Pro that I've got for 750 euros. It wasn't worth the hassle for me to get it from China.
[Motorola Edge 40 Pro  / Moto X40 (China)] JakoDel:
as a warning to everyone here:

guys don't ever relock your bootloader, it's a death sentence with motorola devices since at least 2017. in some cases the OEM Unlocking button stays greyed out, and if it happens to your device you are screwed. the phone won't ever pass safetynet again.

instead of relocking, use the safetynet fix module and be done with it, or better yet, just use the official rom which should pass safetynet just fine (although there may be some minor issues like 5g not working, as others have mentioned).

Some users in a chinese forum have also tried converting it and there might be issues with the global rom, especially if you flash the whole package (BL+AP etc) instead of just the AP portion (which doesn't touch the bootloader and other things). if you have flashed the former, you might have permanent damage! Only flash AP and see how it goes for you. and OTA updates often install the global firmware components so they aren't really an option.

do your research guys, it's cheap but it's still half a thousand that you may end up having to throw in the bin, you don't mess with firmware this carelessly, this is no OPO (unfortunately).

if for some reason you really can't stand the chinese ROM one other possibility is installing a GSI like the LOS 20 one by TrebleDroid, but it's pretty much a gamble given that no one has ever tested it on the x40/edge 40 pro.

But really, if you can help it, use the official rom, which has little to no chinese bloatware. it's really the best chinese rom to use in the west.

wish you the best, I hope the damn button will stop behaving.
[Motorola Edge 40 Pro  / Moto X40 (China)] sentines:
Yes!

I just installed google play using instruction on traidingshanzen.com and change locale in setedit app (most of menu is still in English but apps launch in my local language Polish).

Everything work ok. Not sure about 5g because my sim not support 5g.

I was thinking about switching to global but in this case i will stay witch Chinese rom which is ok for me.
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Update:

Found someone on Telegram who unlocked flashing for my device again. After flashing back to the CN Rom, security options didn't work for me. The system freezed after setting up a PIN. So i flashed the RETEU 43-20-15 and boom everything works again. Safetynet passed, hardware backed and cts profile matched. Device is also certified now and everything works flawlessly! Do not flash the Firmware in this guide. It's a test Firmware where you will not be able to get safetynet passed and no OTA Updates for it! The only thing that doesn't work for now is VPN, but that's a bug. Motorola is going to fix that.

If you are going to flash, use the Firmware on lolinet as mentioned before.

lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors.lolinet.com
[Motorola Edge 40 Pro  / Moto X40 (China)] Knobi1205:
I'm fearly new to the "flashing community" so sorry for asking dumb questions...

I'm sitting here on the CN Firmware and 5g is not working for me in germany, so I'm thinking about flashing mine too. But is really everything working? I read some guides about flashing and they are saying NFC is not working for example. Is that the case?

Really dumb question at the end, does it matter if it has 256gb or 512gb? If I'm not mistaken the global Edge 40 Pro has only one storage option with 256gb
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Never used NFC but could try it. Since Safetynet is passed and CTS Profile matches there should be no issues with it. Everything else is working so far. I'll give an Update when OTA Updates work. It doesn't matter if you have 256 or 512GB.
[Motorola Edge 40 Pro  / Moto X40 (China)] gutikuvc:
Hi, in the first place thanks for your support.

I have this fantastic phone, but with CN rom having some issues, for example I have to open Gmail to know if have new mail, and I had to lock the app and unrestricted the battery, and same for some apps more like WhatsApp.

Anyway I want to change to EU but I need dual SIM, and is a difference between x40 and edge 40, that CN have dual SIM, but EU have 1 SIM and 1 esim, so that's mi question "Works dual SIM after flashing EU rom??"

Thanks again
[Motorola Edge 40 Pro  / Moto X40 (China)] dotzi75:
Yes it works.
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Hi,

You're welcome trying my best :) I'll give you a little advice. Use the app called device shield on your phone and switch to the utilities area. There you can setup your background usage of apps. I did that on the CN ROM before flashing and all my notifications worked without problems :)

Dual Sim is working too.

Glad I could help.
[Motorola Edge 40 Pro  / Moto X40 (China)] gutikuvc:
Well i have to say that opened bootloader and flashed EU ROM, and right now all working great.

Two things from the proccess:

1- If after flash, you set PIN or (i supose) another locking way, then wont work, and you can reflash and still no work. So you have to pass the assistant with just basics config, jump network, no account etc, then go to system and from there make a factory reset, after that all will work great.

(Update) this morning failed and after force power off and restart worked again)

2- I done this at fastboot, taked from thread convert x30 to edge 30, just for preparation for maybe future OTAs

Use the command "fastboot oem config carrier reteu" to set your update channel to reteu (Which is EU).

Great all now!! :)
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Great 👍:)

What about your safetynet? Did you test that? Is your device also certified after flashing?
[Motorola Edge 40 Pro  / Moto X40 (China)] gutikuvc:
Issues:

After waked up this morning and try to unlock my screen then again says wrong pin. Then after forcing power off and back on works again

My device don't pass safetynet, says CTS profile match failed. Also PlayStore says is Not certified.

Any suggestions?? Thanks
[Motorola Edge 40 Pro  / Moto X40 (China)] JakoDel:
thanks a lot for testing the conversion. I have some questions. have you encountered issues with the pin like @gutikuvc in the last few days? oh and, did you check if NFC is working?

thanks mate.

@gutikuvc are you sure you haven't flashed the ROM in the original guide? the one on lolinet is the correct build to flash.I'm asking because Sheldor seems to be chilling with everything working fine.
[Motorola Edge 40 Pro  / Moto X40 (China)] gutikuvc:
I flashed twice the ROM EU from lolinet, never used the first one mentioned on the beginning of thread.

And for flashing don't use the bat file. I use one utility from xda called Motoflash Pro v1.0.1 and the file flash.xml inside the ROM EU
[Motorola Edge 40 Pro  / Moto X40 (China)] JakoDel:
thanks! is everything working now for you? has the PIN issue ever popped up again?
[Motorola Edge 40 Pro  / Moto X40 (China)] cryptm:
I have same problem. BL locked and firmware -20-5. Do you know how unlock bootloader?
[Motorola Edge 40 Pro  / Moto X40 (China)] gutikuvc:
I ended up relocking bootloader(dangerous yes but I take the risk) because of my banking apps, after that device works perfectly, and pass safetynet and also is certified. And my update channel it's reteu also. Now have to wait for OTA.

The pin situation was that I have to force power off some times and ended up enrolling a fingerprint, but after that no more issues pin related or unlock

Now I'm really happy!!

And the option to open bootloader it's greyed out, but maybe after 7 days it will be available again, anyway I hope never need do it again!!

NFC theoretical works, but I dont like to pay with my phone. Tested reading tags with NFC tools and that was working ok.
[Motorola Edge 40 Pro  / Moto X40 (China)] JustHereForNow:
Recently just purchased the X40 on AliExpress. I'm in the US and I was wondering what's the difference between the retail EU firmware and the regular retail firmware? Since it seems like all the documentation is for the EU firmware I'll flash that and relock. I'm assuming still no issues and everything is fully functional for you? Thanks.
[Motorola Edge 40 Pro  / Moto X40 (China)] gutikuvc:
For me until now all working great, no issues!!!

The only thing right now unknown it's OTAs but just have to wait, and the another one it's if can be possible unlock the bootloader again after 7 days, I will confirm here when the option will be available again, but just that, because as I said hope don't need do that again.
[Motorola Edge 40 Pro  / Moto X40 (China)] sooyong94:
I just bought a X40 (12/512) and managed to convert it to Edge 40 Pro, and everything works fine (even the dual SIM slots), but the problem is that I cannot seem to flash Magisk (I used the patched boot.img from the Edge 40 Pro for Magisk, and root seems to be not working), and using the patched boot.img from the X40 resulted in a bootloop)
[Motorola Edge 40 Pro  / Moto X40 (China)] JustHereForNow:
Okay, thank you. I'll keep an eye out if there's another lolinet firmware released, if OTA works I won't hesitate to do the conversion, we appreciate your efforts
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Hi, sorry for the late response.

There is actually no way to unlock the BL on that specific firmware. As I told before, the version you're sitting on with 20-5 is a test firmware which isn't even listed on lolinet as official EU one. You won't be able to unlock the BL on this version , no ota updates and safetynet+ it won't be certified by Google.
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Hi,

I can set it up still haven't tested it cause I'm on vacation currently. But there should be no issues with it. Do not use the ROM in this guide as you will be stuck on an test rom and won't ever unlock the BL again. If you wanna flash use the one i linked before on lolinet. Everything works out for me so far , never had issue with the pin or fingerprint unlocking.
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Glad things worked out for you. Forgot to mention that you need to lock the BL to get safetynet and google certification. You won't pass it when you're sitting on a unlocked bootloader. Should have told it before sorry for that.

As far as I'm concerned, if you changed your region to reteu and passed safetynet+ got device certification you should receive ota updates. I will also Post an update when a never version is available for me. There should be an update this month.
[Motorola Edge 40 Pro  / Moto X40 (China)] Techguy777:
So whats bootloader uinlock method on this device? I had the moto g4 and I was disappointed. So im wondering is bootloader unlock the same use adb and get a bin file? I believe but it was 7 years ago.

Can anyone confirm magisk root and viper4android working?

Is the phone nice? Is there any problems with it?

Also where to buy?
[Motorola Edge 40 Pro  / Moto X40 (China)] Techguy777:
No one has tried to install viper4android ?
[Motorola Edge 40 Pro  / Moto X40 (China)] dotzi75:
I installed viper4android. but it only works partially. but it's enough for my purposes. I am attaching the files that I installed. the app must be installed first, then the magisk module. this is how it worked for me.
[Motorola Edge 40 Pro  / Moto X40 (China)] Techguy777:
That one sucks you guys haven't tried the original magisk module with jamesdsp, and audio modification library, selinux permissive and BusyBox? I'm not sure if you have tried to install it by itself and you probably weren't able to get it to work by just installing the magisk module by itself. It won't work like that. It never has since Android 10.

You have to install all of the modules I just named with it. When I say that viper sucks, it's not that it sucks, but it's not full viper it doesn't have the gain and it doesn't have the headphone surround sound. Would you like to main features of viper. I use it on my tab. S8 plus because the other ones will not work even with the things I just added. But if I can get the original I want the full thing.
[Motorola Edge 40 Pro  / Moto X40 (China)] Mr.Blaze:
You have to patch init_boot.img too (from EU ROM).

Thanks, that's the first V4A version that works for me :)

I hope that the greyed out options will be fixed soon, as I'm waiting for the convolver option.
[Motorola Edge 40 Pro  / Moto X40 (China)] fabus:
Is there any way to unlock bootloader again on fw 43-20-5?

What did you do with your phone? Or you did not relock bootloader?
[Motorola Edge 40 Pro  / Moto X40 (China)] Techguy777:
Its been over a year and now there hasn't been even one thing fixed in months. I hope I'm wrong and they do get it working but I just don't have that much faith. I feel like they had this much done a year ago and they just decided to release it because they couldn't finish getting all the features to work I could be wrong but that's what it seems like.

So you guys answered my question I am not interested in any phone that can't play the full viper. If this phone had a custom rom then you would be able to use the original viper for Android like the Google Pixel 7 can do and other phones that normally can't use viper4android on stock now. Its really what this phone needs. It's like there's no development
[Motorola Edge 40 Pro  / Moto X40 (China)] Techguy777:
It burns my ass that my devices from 4 years ago that were mid to low range cost are able to sound better with headphones or Bluetooth than brand-new flagship phones. It makes me sick inside
[Motorola Edge 40 Pro  / Moto X40 (China)] JustHereForNow:
Any update if the bootloader unlock option is available now?
[Motorola Edge 40 Pro  / Moto X40 (China)] trifos:
Just doing a software upgrade Motorola x40 cn convert edge 40 pro unlocked bootloader and carrier reteu.
[Motorola Edge 40 Pro  / Moto X40 (China)] fabus:
Can you please point me to the person who helped you?
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Hi been busy lately sorry.

His name on telegram is @Friend008
[Motorola Edge 40 Pro  / Moto X40 (China)] gutikuvc:
Just checked and still greyed out :(

Anyway the phone still working great
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Did you get the new software update? No update for me so far.
[Motorola Edge 40 Pro  / Moto X40 (China)] GigogoHK:
@trifos How you got the update? No OTA for me yet
[Motorola Edge 40 Pro  / Moto X40 (China)] Knobi1205:
Did you do anything different than mentioned in the guide? (except the different Software version obviously)

I flashed mine with the firmware from lolinet, changed the software channel to reteu and locked the BL for the banking apps. It seems like my device is able to find the OTA update but isnt able to install it..
[Motorola Edge 40 Pro  / Moto X40 (China)] trifos:
I did the same way, just didn't lock the bootloader.
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
It doesn't matter. You should still get ota updates even when the bootloader is locked.
[Motorola Edge 40 Pro  / Moto X40 (China)] GigogoHK:
I'm still on February update and no VPN with locked bootloader
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Yup me too.
[Motorola Edge 40 Pro  / Moto X40 (China)] GigogoHK:
Found the VPN solution here

https://www.reddit.com/r/motorola/comments/zo38xu/_/j1u5t9l
[Motorola Edge 40 Pro  / Moto X40 (China)] fabus:
Many thanks! Already taking to him :)
[Motorola Edge 40 Pro  / Moto X40 (China)] JustHereForNow:
Did you get the OTA to work?
[Motorola Edge 40 Pro  / Moto X40 (China)] Knobi1205:
Nope, I don't know how. And since the bootloader is locked I need to wait and hope my OEM unlock will be available again in the future.

I will try resetting the phone maybe at the weekend. But for now im Stuck on the firmware

If anybody has a suggestion what could solve my problem please let me know.
[Motorola Edge 40 Pro  / Moto X40 (China)] discoheaven:
Did you succeed in unlocking with the firmware 43-20-5?

Could you share the solution with us?
[Motorola Edge 40 Pro  / Moto X40 (China)] Zechosenjuan:
Dear all

Thank you for the lead. I've also managed to fix the VPN through App Ops and Shizuku.
[Motorola Edge 40 Pro  / Moto X40 (China)] Zechosenjuan:
I recently purchased a Moto X40 recently. I received it with:

Edge 40 Pro 43.20.5 ROM installed

Unlocked Bootloader

Play Protect is not certified

Basic integrity = Pass (per Yasnac app)

CTS profile match = Fail (per Yasnac app)

No rooting (per Root Checker premium app)

Experience out of the box:

- Love the phone.

- All other apps and banking apps not mentioned are working fine (surprisingly!)

- Blackberry and MS apps for my dayjob didn't install at first.

- Government ID app didn't work

- Cyberghost VPN doesn't connect

- NFC tap-to-pay function (ie Google Pay, Dash) are not working although the apps themselves are fine

Steps taken so far:

- complained and threatened seller that i'll refund (hahahaha though haven't pushed through)

- I re-locked bootloader via Fastboot, this fixed:

Government ID app

Blackberry work (for dayjob)

- Microsoft apps (for dayjob) are not yet working due to "security issue"

- VPN has been fixed through link shared by @GigogoHK

- Registered the Google Services Framework ID but that did nothing

- still pointing to retcn, no OTA received so far

Based on few readings, the issue right now seems to be the

CTS profile match

. Is there any way to fix this without rooting or re-flashing ROM? I read some guides that required Custom Recovery installation and Magisk (rooting), I plan to consider these to be the last resort.
[Motorola Edge 40 Pro  / Moto X40 (China)] JustHereForNow:
Well the problem is that you relocked the bootloader. The ROM installed by the Chinese resellers isn't official firmware, it's test firmware; so no OTAs. There is no way to unlock the bootloader right now, even on official. A couple of people on here have had luck with some more shady sources that unlocked their bootloader
[Motorola Edge 40 Pro  / Moto X40 (China)] Zechosenjuan:
Thanks for the response. How about future software updates? Will the unit be locked to this fimrware version?
[Motorola Edge 40 Pro  / Moto X40 (China)] molni44:
Finally CN rom update T1TR33.4-30-62 arrived and now CN rom unlocked the 5G restriction. No disadvantages with CN ROM from my point of view . Everything working fine just no languages supported.
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Only disadvantage I know is that the updates are infrequently for the Chinese region. You'll have to wait longer for updates than the eu region. You'll get consistent updates on the eu region.
[Motorola Edge 40 Pro  / Moto X40 (China)] GigogoHK:
Anybody got the T1TR33.4-30-62 EU ROM ?
[Motorola Edge 40 Pro  / Moto X40 (China)] Zechosenjuan:
Hi thanks for sharing. will this update be supported via RSA?
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Update:

The new update just arrived :) so everything works fine after changing the region to eu.
[Motorola Edge 40 Pro  / Moto X40 (China)] Knobi1205:
I got the system update too but "package verification failed". How do I fix that?
[Motorola Edge 40 Pro  / Moto X40 (China)] GigogoHK:
Confirmed here as well, it seems they improved the camera autofocus (but still I'm not happy)
[Motorola Edge 40 Pro  / Moto X40 (China)] gutikuvc:
Great, for me installed perfectly, without any problem.

Now I know that conversion works great.

Only had to point that open bootloader option still greyed out. But for me it's ok.
[Motorola Edge 40 Pro  / Moto X40 (China)] DNM-3:
Could you (or anybody else) please confirm that the following are working on CN rom ?

- Google Play + payments

- Banking apps

- Microsoft apps

- Netflix

- VPN

- Google sync (contacts)

So basically "Moto X40" would be the same thing as "Motorola Edge 40 Pro", right?
[Motorola Edge 40 Pro  / Moto X40 (China)] sooyong94:
Is your phone rooted?
[Motorola Edge 40 Pro  / Moto X40 (China)] __0__1:
it is ok ,only issue is that google one sync cant work.

x40=edge 40 pro(hardware)
[Motorola Edge 40 Pro  / Moto X40 (China)] GigogoHK:
All except VPN, that you need to use a different tool to enable it

Sync is working for me, only think is not is VPN selector
[Motorola Edge 40 Pro  / Moto X40 (China)] DNM-3:
Is there any chinese spyware installed on X40 China ROM?
[Motorola Edge 40 Pro  / Moto X40 (China)] __0__1:
i mean VPN is ok and Google One isnt working on CN rom
[Motorola Edge 40 Pro  / Moto X40 (China)] zlebors:
Google Maps (timeline history) not working
[Motorola Edge 40 Pro  / Moto X40 (China)] molni44:
I am using all, except VPN, and all works for me.
[Motorola Edge 40 Pro  / Moto X40 (China)] Knobi1205:
You can use the MoreLocal2 App and some fastboot commands to change the language. But after a restart everything returns to stock settings (English).

But don't be afraid, it's really really easy to do. Just Google a guide
[Motorola Edge 40 Pro  / Moto X40 (China)] Zechosenjuan:
Are you able to make Nearby Sharing work? I'm on the same model and ROM version.
[Motorola Edge 40 Pro  / Moto X40 (China)] discoheaven:
@Sheldor_95

@fabus

Could you share (if any) progress regarding how to oem-unlock devices with the test firmware of the version 43-20-5?
[Motorola Edge 40 Pro  / Moto X40 (China)] fabus:
It was not possible to unlock bootloader again, but @Friend008 flashed me somehowagically official firmware and now everything is working like it should :) of course money.
[Motorola Edge 40 Pro  / Moto X40 (China)] devils13:
And location history is not working for me either.
[Motorola Edge 40 Pro  / Moto X40 (China)] devils13:
Mine doesn't have the 4g calling toggle. I guess it is carrier dependant.
[Motorola Edge 40 Pro  / Moto X40 (China)] gunitmhs:
Hi there i've purchased the x40

Do you recomand to convert it to the europain version ? Or staying on cn rom?