yashsingh1/xdaforums huggingface dataset:
[LineageOS Questions & Answers] wajahatfreelancing:
Hello XDA community,

I recently flashed a custom modem and kernel on my Samsung S6 Edge, but my device is now behaving strangely and not functioning properly. I believe the custom firmware may be the cause of the issues.

I am seeking assistance in flashing my Samsung S6 Edge back to stock firmware to restore it to its original state and resolve the problems. I would greatly appreciate it if anyone could guide me through the process or provide me with the necessary files and instructions.

Device Details:

Device: Samsung S6 Edge (SM-G925F)

Specifically, I need help with:

Obtaining the stock firmware files for my Samsung S6 Edge (SM-G925F).

Step-by-step instructions on how to flash the stock firmware using a custom recovery (e.g., TWRP) or Odin.

Any precautions or additional steps I should take to ensure a successful flash and avoid further issues?

Any assistance or guidance would be highly appreciated. Thank you in advance for your help!

Best regards,
[LineageOS Questions & Answers] wajahatfreelancing:
System status shows custom

Current binary shows custom

Binary shows 6

flashing stock firmware shows error dm verify error, drk missing,
[LineageOS Questions & Answers] wajahatfreelancing:
I flashed root file it does get passed boot and the mobile turns on but it turns off every 1 hour or 2, I want everything to be stock and not custom. When everything gets in its place then I will use lineage os.
[LineageOS Questions & Answers] wajahatfreelancing:
I have provided every information but if you need any information I will provide it.
[LineageOS Questions & Answers] wajahatfreelancing:
I have flashed 4 files stock firmware but it says the device doesn't have DRK, install DRK first. contact to SW PL

Please flash ENG binary then install DRK
[Motorola Edge 40 Pro  / Moto X40 (China)] MaxGorion:
Hi,

after question on lenovo forum, here is my installation guide.

Warning:

I dont know what happen if you relock the bootloader after flashing, so dont relock it.

There will be no OTA updates, software update chanel is still retcn.

Every part of this instruction is done at your own risk!

Pro:

5G is now working for me in Germany

Multi-language

Requirements:

Unlocked Bootloader

PC with ADB and Fastboot Tool and Motorola ADB Driver

Download ROM: https://androidfilehost.com/?fid=4279422670115730514

Download flashfile (you can skip this and do it manuelly): https://1fichier.com/?zd9n4g4vj0gf59577w64

Install:

Download ROM and flashfile and extract both in one folder

Unlock Bootloader

Boot phone in Bootloader (power off phone and start with power on + volume down)

run flashfile.bat
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
Any cons? Any bugs you're experiencing?

Also are you able to pass safety net with magisk? How can you later update the software if ota is not possible?
[Motorola Edge 40 Pro  / Moto X40 (China)] molni44:
Much appreciate the description:)

You can change retcn to reteu

command there: fastboot oem config carrier reteu

After relocking the bootloader the safety net will pass?? Could please send a snapshot of the safety net status after flashing?
[Motorola Edge 40 Pro  / Moto X40 (China)] molni44:
Have you sold already the X40? If 5G works on X40 , which one do you recommend? Oneplus11 or Motor x40? I have a same concern to loosing the safety net pass, and far as I know, the Edge 40 pro has 1-NanoSIM and 1-eSIM I am afraid to loosing the second SIM...
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
In my opinion Moto edge 40 pro is far better than op11 which I have now. But unfortunately I only paid 600£ for the global op11 and Moto is 800£, as the don't give any discounts. X40 is on AliExpress tho for 480£ so I might sell my op 11 and buy x40 and install global Rom, if there aren't any issues
[Motorola Edge 40 Pro  / Moto X40 (China)] molni44:
Currently I am using X40. I am little bit afraid to unlock the bootloader but I will do it soon because I need 5G but also need bank apps to be running. I will let you know about the results. Based on another forums feedback with the relocked bootloader will solve safety net issue.. let's try:)
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
If there is the possibility to lock the bootloader after flashing global, I am 100% getting one again and sell my op11
[Motorola Edge 40 Pro  / Moto X40 (China)] molni44:
I am pretty sure it is possible. Here is the thread from another forum: https://4pda.to/forum/index.php?showtopic=1029455&st=420#entry109158631
[Motorola Edge 40 Pro  / Moto X40 (China)] sentines:
I use it in UK and Poland. Bank apps work fine in both countries.

I didn't test 5g. Living in small village. x40 Chinese room.
[Motorola Edge 40 Pro  / Moto X40 (China)] VenomHanta:
great was thinking of getting the Moto x40 from AliExpress as it's far much cheaper than the global Edge 40 Pro
[Motorola Edge 40 Pro  / Moto X40 (China)] dotzi75:
Does anyone know the difference between T1TR33.43-20-5 and T1TR33.43-20-15 firmware? A security patch maybe? I have now installed version .43-20-5 on my X40. Rooted with Magisk and safetynet passed. Can I just flash the newer version .43-20-15 via fastboot without losing data? Thank you for the effort.
[Motorola Edge 40 Pro  / Moto X40 (China)] dotzi75:
Screenshots
[Motorola Edge 40 Pro  / Moto X40 (China)] fabus:
Few questions after flashing EU FW and with bootloader unlocked:

Is fingerprint scanner working?

Is gps working?

Is wifi working?

OTA Updates are working with unlocked bootloader?

Does something change after bootloader re-lock?

Cheers :)
[Motorola Edge 40 Pro  / Moto X40 (China)] dotzi75:
Everything is working fine. OTA updates haven't arrived yet so I can't say if it's working.
[Motorola Edge 40 Pro  / Moto X40 (China)] Estavan:
Anybody try to activate esim? Is it working?
[Motorola Edge 40 Pro  / Moto X40 (China)] fabus:
Actually everything is working except Google wallet. :(

Even after relocking bootloader it is not working.

Do you know when/how I can enable OEM unlocking? Now it is grayed out (after relocking).

Cheers
[Motorola Edge 40 Pro  / Moto X40 (China)] molni44:
Great job, well done!:) Could you please check the banking app and share the picture if it is working fine?
[Motorola Edge 40 Pro  / Moto X40 (China)] Sheldor_95:
Hey fellas,

I successfully flashed from CN to EU and locked the bootloader after. Safetynet is failed and i want to return to the stock ROM but the OEM unlock is greyed out for me. Do I have to wait till i can activate it again?
[Motorola Edge 40 Pro  / Moto X40 (China)] VenomHanta:
you might need to use the moto rescue and smart assistant toll to go back to original firmware
[Motorola Edge 40 Pro  / Moto X40 (China)] Mr.Blaze:
The flashing went well. At first there seemed to be no problems for me. Wifi, GPS, fingerprint etc all are working. But in the night the phone soft reboots every ~30min, which leads to 40-50% battery drop during the night.

Clean install doesn't help.

Waking the device every 15min seems to prevent reboots. First such test consumed 30% of battery during the night but I have to test it a bit more.

I tried flashing back the CN rom (2 releases), but now locksreen pattern/pin/password can't be set (the app freezes and then crashes).

Also the phone is not on the list of rescue software.
[Motorola Edge 40 Pro  / Moto X40 (China)] y17ousef:
today i receive the new update T1TR33.43-20-48

and FINALLLYYYY !!!! the OEM unlocking option is available now
[Motorola Edge 40 Pro  / Moto X40 (China)] NHQ Thang:
Just received the OTA and the OEM unlock is ready to be toggle. Now we can unlock boootloader again.
[Motorola Edge 40 Pro  / Moto X40 (China)] FatFuddedGoose:
Same!
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
Same here in the UK! Niceeeeeeee
[Motorola Edge 40 Pro  / Moto X40 (China)] maciej63:
Finally, Motorola made a good OTA. I got an update today too
[Motorola Edge 40 Pro  / Moto X40 (China)] Gianluk99:
Hey guys, i'm about to buy a new phone, and this Edge 40 Pro/X40 is probably the best quality/price that i found.

I live in Italy and the 256 Gb version costs around the 650€ and right now it's not even available on amazon, so i was taking the chinese version route. I'm kinda new to this world so i was insecure about buying it, also because i've read that there could be many problems after changing the ROM. There is another thread, abit older than this that said that there were some problems after flashing the global rom on it, and many ppl said that they bricked the phone, but reading this newer thread seems that now it's kinda fine flashing the global rom and there are no issues, so i'm just looking for some confirmation from you guys, is it safe now ?
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
It is safe. If you follow instructions
[Motorola Edge 40 Pro  / Moto X40 (China)] Pedro Alexandrino:
Hey guys. I'm from Brazil and I'm thinking about buying a moto x40 on aliexpress with a Chinese rom and later using the European rom.eu for the edge 40 pro. I would like to know if the main tasks such as 5G/4G, banking apps, Netflix, Google services and general performance are working?
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
Works perfectly mate
[Motorola Edge 40 Pro  / Moto X40 (China)] fitrockx:
Hello guys, if anyone here that was able to flash EU version can do me a favor. If you have Instagram can you try to take a photo with the Instagram camera and switch it from front camera to the rear camera and see if there is no black screen bug affecting the camera I would appreciate it. I have the retus version and it have that issue. I am asking so that I can flash EU if there is no issue with that. Thank you!
[Motorola Edge 40 Pro  / Moto X40 (China)] eemilv:
Black screen for me unfortunately
[Motorola Edge 40 Pro  / Moto X40 (China)] eemilv:
Thank you for the throughout explanation of the situation. If i convert current RETEU device to RETUS by Lenovo Rescue tool, will update channel be converted from RETU to RETUS aswell?
[Motorola Edge 40 Pro  / Moto X40 (China)] fitrockx:
Oh 😓 Thanks you for verifying.
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
Fine here. My camera works
[Motorola Edge 40 Pro  / Moto X40 (China)] fitrockx:
😲 The Instagram camera? Switching from front to rear works? If so, what's your device model and firmware version?
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
Yes mate, works fine. I'm on the latest firmware global. I have a x40 swapped to reteu and locked bootloader
[Motorola Edge 40 Pro  / Moto X40 (China)] fitrockx:
Ok I am going to try.

Edit: nevermind Motorola approved my RMA, I am returning it.

Thank you guys!
[Motorola Edge 40 Pro  / Moto X40 (China)] senuzulmee:
Hello everyone, does e-SIM work?
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
No
[Motorola Edge 40 Pro  / Moto X40 (China)] senuzulmee:
Is the hardware different in the Chinese version?

Is it blocked by software?
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
Hardware unfortunately
[Motorola Edge 40 Pro  / Moto X40 (China)] mxz55:
I don't think so.. over at LineageOS for this device, we've had our ROM users test eSIM support for all variants, X40 included. It works.

If it's not supported with stock or converted Moto X40, which i didn't know, i recommend those that want to use eSIM to switch to LineageOS. See https://xdaforums.com/t/rom-unoffic...orola-edge-40-pro-x40-edge-2023-rtwo.4613129/ @senuzulmee
[Motorola Edge 40 Pro  / Moto X40 (China)] XDRdaniel:
No way, really?
[Motorola Edge 40 Pro  / Moto X40 (China)] Oxofrmbl:
so is it safe to lock bootloader after converting the x40 to edge 40 pro?

i just need to go to bootloader, then use "fastboot oem lock"?

edit: nvm. did it. worked.
[Motorola Edge 40 Pro  / Moto X40 (China)] Pedro Alexandrino:
Mod edit - translated by https://www.deepl.com/translator. Oswald Boelcke, Senior Moderator.

Hello, I'm having the same problem trying to use the camera on instagram. Did you manage to solve it? My device is a Moto X40, bought on Aliexpress. The seller sent it with a "Global" rom. It's version T1TR33.43-20-5. I don't know if it's the latest one. I'd like to know how to install the latest one and how to check the bootloader. Can you help me?

**********************

Ola, estou com o mesmo problema ao tentar usar a camera no instagram. Conseguiu resolver ?. Meu aparelho é Moto X40, comprado no Aliexpress. Vendedor enviou com rom " Global ". Esta na versão T1TR33.43-20-5. Não sei se é a mais atual. Gostaria de saber como posso instalar a mais atual e como verificar o bootloader. Podem me ajudar ?
[Motorola Edge 40 Pro  / Moto X40 (China)] fitrockx:
No fix from Motorola yet. It's present in all firmware variants. I ended up returning the device and bought an S23 instead. Here you can follow up on the Motorola forum: https://forums.lenovo.com/t5/motoro...-and-bugging-device-camera/m-p/5252003?page=6
[Motorola Edge 40 Pro  / Moto X40 (China)] Pedro Alexandrino:
Mod edit - translated by https://www.deepl.com/translator. Oswald Boelcke, Senior Moderator.

Did you buy yours on aliexpress?

**********************

O seu foi comprado no aliexpress ?
[Motorola Edge 40 Pro  / Moto X40 (China)] fitrockx:
No. I bought it directly from Motorola's site.
[Motorola Edge 40 Pro  / Moto X40 (China)] Pedro Alexandrino:
Mod edit - translated by https://www.deepl.com/translator. Oswald Boelcke, Senior Moderator.

Hello, my device has the T1TR22.43-20-5 rom. The OEM Unlock option cannot be activated. Can I update my device to a more current version?

**********************

Olá, meu aparelho possui a rom T1TR22.43-20-5. A opção OEM Unlock não pode ser ativada. Posso atualizar meu dispositivo para uma versão mais atual?
[Motorola Edge 40 Pro  / Moto X40 (China)] Oswald Boelcke:
Hello and good afternoon, @Pedro Alexandrino Welcome to XDA! I hope you'll always get the support you require.

However, as a one-time courtesy I've translated your above posts. With reference to rule no. 4 of the XDA Forum Rules, please post in English or add at least an English translation to your Portuguese posts.

Spoiler content hidden.

Thanks for your cooperation.

Regards

Oswald Boelcke

Senior Moderator
[Motorola Edge 40 Pro  / Moto X40 (China)] elbra444:
Hi, I flashed EU rom on my X40 some time ago, I'm still on the september update, no OTA so far, anyone else with the same problem?
[Motorola Edge 40 Pro  / Moto X40 (China)] eemilv:
That is the latest update there is so no worries.
[Motorola Edge 40 Pro  / Moto X40 (China)] y17ousef:
could anyone remind me what is the command to change software channel by cmd please ?
[Motorola Edge 40 Pro  / Moto X40 (China)] Yotoprules:
fastboot oem config carrier reteu

Replace "reteu" with the channel you want
[Motorola Edge 40 Pro  / Moto X40 (China)] y17ousef:
Hello Again

after i tried the EU rom

i want to go back to the CN rom and i installed it

but i have an issue that when the device start at very first time and you make the instructions

the Screen Lock step is not working if i put Pin,Pattern or Password

i put first time and the confirming time , after the the screen got paralyzed and after a 1-2 mins it send me back to the first step

i can not make screen lock

the only way to finish this step is skipping it, so the phone is not secure with any pin or pattern and password

did anyone have a solution ?
[Motorola Edge 40 Pro  / Moto X40 (China)] redtfsi:
Hi, anyone facing issue with x40 flashed EU rom and 5G bands support? The kimovil site has the specs as if x40 and edge 40 pro is different in this aspect... I want to pull the trigger on the 512gb and I want to know this before. I am living in Greece by the way. Thanks guys
[Motorola Edge 40 Pro  / Moto X40 (China)] mxz55:
That's the known keystore bug (in stock firmware).. sadly they didn't fix it yet. It leads to that and certain apps not working/crashing upon launch. I don't know what exactly, if any, in your actions triggered it, but RETUS firmware and/or LineageOS for this phone - ideally combining RETUS firmware with LineageOS, which is as far the tested scenario goes - should make you no longer affected by it. In your shoes i would make a detour from converting back to RETCN.

// Revision: i've heard people say that the keystore bug only applies if your bootloader is unlocked (yours may still be, after converting back. While on stock ROM, re-locking it is safe, so if you really want to stay on it, give that a shot. Sidenote: NEVER re-lock bootloader on anything other than stock ROM, as this will brick your device)

Then the site is inaccurate, X40 and Edge 40 Pro have identical hardware (also radio and bands, per the equipment's capabilities). Any difference is up to software, which you can bridge by converting the device to global ROM or even going for LineageOS
[Motorola Edge 40 Pro  / Moto X40 (China)] y17ousef:
Updates ***

China Rom Got the Android 14 Update , i received already
[Motorola Edge 40 Pro  / Moto X40 (China)] NHQ Thang:
just updated to security update Nov, 2023. The battery drains so fast after updated. Anyone has the same issue ?

The update version is T1TR33.43-20-56
[Motorola Edge 40 Pro  / Moto X40 (China)] guta12:
Does anyone know when Android 14 will receive the EU version?
[Motorola Edge 40 Pro  / Moto X40 (China)] sentines:
Hi. I have X40 (Chinese version). Last update from August? Is it something wrong with my device? Did You all get newest updates?
[Motorola Edge 40 Pro  / Moto X40 (China)] cascade128:
lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors.lolinet.com
[Motorola Edge 40 Pro  / Moto X40 (China)] sentines:
Thanks! How to instal it? Do I have to unlock bootloader? If Yes can I relock it after?
[Motorola Edge 40 Pro  / Moto X40 (China)] thaihoc1908:
I convert x40 to edge 40 pro, but it haven't item 5g on setting. don't know how to use the 5g network
[Motorola Edge 40 Pro  / Moto X40 (China)] y17ousef:
that's weird

are you sure you install a right rom ?
[Motorola Edge 40 Pro  / Moto X40 (China)] thaihoc1908:
Yes. I instal right rom
[Motorola Edge 40 Pro  / Moto X40 (China)] y17ousef:
this is my screenshot ,

sorry but i don't know what the problem
[Motorola Edge 40 Pro  / Moto X40 (China)] Elgün Baba:
Hello, I have a question for you, I bought a new Moto X40, Chinese version. Are you having problems entering the camera? (focus problem
[Motorola Edge 40 Pro  / Moto X40 (China)] y17ousef:
Hi

yesterday i receive the Android 14 update EU region RETEU

up to now it's work smoothly
[Motorola Edge 40 Pro  / Moto X40 (China)] tensa:
Hello

I need some help regarding my converted x40

So i flashed my phone (RETUS) and relocked the bootloader. I'm receiving the OTAs ( just received the android 14 btw) , in dev menu unlocking bootloader is possible (i.e not grayed out) but play store says the device is not certified and I'm having issue with gpay because it is detected as a modified device

Thx for the help
[Motorola Edge 40 Pro  / Moto X40 (China)] frilalo:
Had the same with RETUS. Changed to RETAIL-ROM and with that everything works and I have also all the Options and Android 14. Just change ROM again and you will be happy.
[Motorola Edge 40 Pro  / Moto X40 (China)] tensa:
Thank you, i already tried with RETEU (after writing my first message) and when trying to lock bootloader again i had "no valid operation system installed" error when booting, i had to revert to RETUS to make the phone boot. I'll give the RETAIL a try. i guess i need to change the carrier config ("fastboot oem config carrier retail") like with retus and reteu ?
[Motorola Edge 40 Pro  / Moto X40 (China)] frilalo:
Does this mean you also have a Token so you can unlock again after locking the bootloader? Or how do you unlock again after locking with no valid operating system installed? And yes, you have to change Carrier.

On my phone I have this token and with it, I can relock the bootloader and use the ROM. If I remove the token, I have the same problem with the "no valid operating system". This is why I let the token on the Phone.
[Motorola Edge 40 Pro  / Moto X40 (China)] tensa:
hmmm sorry i think i don't understand fully what you are asking. So the first time i unlocked the bootloader i did the classic procedure, meaning i went to motorola's website to get the unlock "code string". I installed RETUS rom (unlocked bootloader, flashed rom, relocked bootloader), then i wanted to try RETEU to see if i can have a certiified device so i unlocked again using same 'code string" from Motorola, flashed the rom but this time after relocking and rebooting, i had this "no valid operating system installed". I then unlocked again using same "code string", reflashed RETUS and relocked, phone was booting fine after relocking with RETUS.

I don't know what you mean by "if i remove the token"
[Motorola Edge 40 Pro  / Moto X40 (China)] frilalo:
ah okay... On my phone it was not possible to unlock again with this code from Motorola. Someone from the community helped me and sent me a token, which I had to flash with fastboot to unlock again. But with this it worked.

let me know if your device gets certified with the RETAIL ROM. I'm really happy with that Phone and this ROM.
[Motorola Edge 40 Pro  / Moto X40 (China)] tensa:
WOW, it worked like a charm, i was sceptical after trying RETEU but it seems RETAIL solved my certification issue.

Thx a lot buddy
[Motorola Edge 40 Pro  / Moto X40 (China)] DemonXX:
Hi there,

I finally decided to relock the bootloader considering to ensure Gpay can always be used.

However, to avoid bricking my phone, I flashed the oldest ROM version "RETAIL_13_T1TR33.43-20-28" before relocking the bootloader.

But after relocked, I found that there is no OTA with latest version found.

Does anyone know how long should I wait usually? It's not convenient without VPN supported.

Thanks.
[Motorola Edge 40 Pro  / Moto X40 (China)] Shuvo_bd:
Donot flash Older Android 13 rom if u r on Android 14 already. It will hard brick the device.
[Motorola Edge 40 Pro  / Moto X40 (China)] Shuvo_bd:
Is it mandatory to relock the bootloader immediately after flashing the firmware if a person wish to relock the bootloader? Or he can relock it anytime knowing that it will erase the data and reset the phone?

And also what's the software channel for Retail rom? Currently I'm on RETEU software channel using latest RETEU android 14 rom (updated through OTA) my device is not certified either. So I'm considering the RETAIL firmware.
[Motorola Edge 40 Pro  / Moto X40 (China)] Tugamember:
Now im in android 14, but i loose the esim option...

Anyone can help me.

Thanks
[Motorola Edge 40 Pro  / Moto X40 (China)] quyenit:
Please help me. After Flash finished, my phone start still be Moto X40 :(
[Motorola Edge 40 Pro  / Moto X40 (China)] quyenit:
hello can you flash eu rom while your X40 still in Android 14? My X40 iss running android 14, but i cant Flash EU ROM, Affter flash succeed, my phone restart and it still be X40 huhu
[Motorola Edge 40 Pro  / Moto X40 (China)] thaihoc1908:
I use retus rom with carrie "retus". I want change retail rom, use carrie "retail", but don't receive update. Can you help me?
[Motorola Edge 40 Pro  / Moto X40 (China)] thaihoc1908:
Are you vietnamese?
[Motorola Edge 40 Pro  / Moto X40 (China)] Kkjin:
I remember turning off modem communication in airplane mode on the stock x40 and restarting it, and being able to connect to the network surprisingly quickly.

The touch sampling toggle has been improved, but how much does the sampling value increase?

I'm thinking about repurchasing the x40
[Motorola Edge 40 Pro  / Moto X40 (China)] PVTam:
Anyone who has unlocked the bootloader please backup all partitions for me, I need to repair the device
[Motorola Edge 40 Pro  / Moto X40 (China)] sentines:
Hi. I unlocked bootloader, tried flash retus but get this on every file.

"error: cannot load 'C:\Users\marco\Desktop\Nowy': No such file or directory"
[Motorola Edge 40 Pro  / Moto X40 (China)] GigogoHK:
Found this thread, looking to buy this phone on Aliexpress as soon the global ROM is fully working. From what I read, everything works except the NFC, I may wait a bit more.

https://xdaforums.com/t/convert-moto-x40-cn-to-motorola-edge-40-pro-eu.4573513/