yashsingh1/xdaforums huggingface dataset:
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] tumerossy:
good
[HTC 10 Questions & Answers] SiAmaze:
I am using Mi Router 3 to stream my camera videos to our 4K TV. But sometimes video freezes to buffer. Is Router 3 not sufficient? It supports 5 Ghz network type and about 900mbps data transfer.

Thanks.

Using Allconnect software for streaming
[HTC 10 Questions & Answers] blujay25:
This might be due to weak WiFi signal for 5 GHz. I know that our devices generally have weak WiFi, and 5 GHz means shorter range than 2.4 GHz. So combine the two factors and you get unstable WiFi. From personal experience, I've only ever experienced connection issues while on a 5 GHz network.

Maybe try to test on a 2.4 GHz connection?
[General Questions and Answers] BRainXstorming:
Hello I have no root and want to use the background mod but I cannot install a moddet youtube app because I cannot deinstall my old youtube, because its in system.

What can I do?
[General Questions and Answers] Tiqqy:
~ Unless you root your phone, you cannot uninstall system apps; you can only DISABLE them. You can install modded apps by disabling system apps.

~ To disable system apps: go to settings > apps > click on the app you want to disable > click on disable

~ Also, you have to enable "unknown sources" (In 'Developer Options') to install APK's.

~ To enable 'Developer Options': Find your build number > click on it 7 times > and you shall see 'Developer Options' under settings
[Moto G5 Plus Questions & Answers] Castell93:
Hi guys :D, this is one of my first contributions were i will explain how to recover the IMEI that some of us lost when flashing a 8.1 rom (in my case Pixel Experience) and when tried to return a stock we got the surprise that the IMEI had been erased and showed 0. Well, to the point:

You will need:

- TWRP 3.2.1: http://www.mediafire.com/file/8tz88d2y2v2i6ih/twrp-3.2.1-0-potter.img.zip

- Scripts:

Flash stock rom: http://www.mediafire.com/file/c0s90358uub78l4/Flash_Moto_G5_plus.bat

Relock Bootloader: http://www.mediafire.com/file/qn2yiih1zehdcpz/Relock_Bootloader_Moto_G5_Plus.bat

- Rom Pixel Experience 8.1: https://xdaforums.com/g5-...ience-t3704064

- Rom stock of your preference (tested with NPN25.137-83): https://mirrors.lolinet.com/firmware...ficial/RETAIL/

- And patience; P

Step by step:

1. Flash TWRP.

2. Flash Pixel Experience rom if we haven't flashed yet.

3. Turn on phone with flashed rom to obtain network signal

4. Here we will get the IMEI and only have 3g signal, so we need to restart the phone in bootloader mode and type in fastboot "fastboot erase modemst1" and "fastboot erase modemst2", these two command will give us IMEI and 4g signal.*

5. Turn on Pixel Experience again to obtain 4g(verify it pls), shutdown and enter bootloader mode.

6. In this point -and the most important to obtain IMEI and signal again- we must flash our phone with desired a right stock rom, execute fastboot command(if your want yo relock bootloader or not use the right posted above), just don't write "fastboot erase modemst1" and "fastboot erase modemst2"(in the scripts above are erased if you want to execute all in one time), because if we don't erase those two commands we will not obtain IMEI and signal.

7. We wait until finishes and write "fastboot reboot" and wait to turn on.

Y voilà!! you now have your phone with IMEI and bootloader relocked!!!!

* NOTE: It's very important to turn on the phone once flashed Pixel Experience to obtain IMEI info and turn on again to obtain 4G.

** voLTE not working.

Well I hope this guide has been as clear and understandable as possible, if there are any mistakes let me know since i'm a noob in this. Oh and sorry for my bad english lol.
[Moto G5 Plus Questions & Answers] fmboots:
All your links are dead!!
[Moto G5 Plus Questions & Answers] itzzmeshashi:
After flashing pixel experience still no signal

Can you please help!!!!!

---------- Post added at 08:26 AM ---------- Previous post was at 07:31 AM ----------

+Update

When i flashed pixel experience directly it didn't work.

I used fastboot erase modemst1 and st2 and then rebooted and 4g signal came up.

After that i flashed "NPN25.137-67-5" and was working like charm!!!

Many Thanks@Castell93 :):)
[Moto G5 Plus Questions & Answers] itzzmeshashi:
Sorry,

But 4g and VOLTE is not working
[Moto G5 Plus Questions & Answers] maqsur:
I also managed to get LTE back, but also no volte. I'm on T-Mobile usa
[Moto G5 Plus Questions & Answers] sprinter93:
I am also on T-Mobile USA and can only get 2g. I have flashed the modem files mentioned but that didn't work. Any suggestions.
[Moto G5 Plus Questions & Answers] jackydroid68:
Your bat files are all deleted. Can anyone tell me what fastbook commands we use?
[Moto G5 Plus Questions & Answers] Castell93:
Links updated, don't know why were diasbed.
[Moto G5 Plus Questions & Answers] Castell93:
Yeah, seems we can only get 4g at this moment, because we are using generics modems from the Pixel Experience. I think we will need to wait until Google deploys 8.0 with the official modems to obtain voLTE
[Moto G5 Plus Questions & Answers] sprinter93:
I'm still just getting 2g. Anyway to get to 4g. I've fastboot flashed the modem files mentioned (erased). Thanks. T-Mobile USA.
[Moto G5 Plus Questions & Answers] Teos_93:
Hello, [MENTION=8251608]Castell93[/MENTION] and thank you very much for this guide. I just want to ask you a question: should I be cautious to go fastboot stock if I'm in this situation: latest 8.1 oreo, then twrp flashable stock nougat (or debloated), then fastboot stock ? I would like to try to go to stock and re-lock bootloader so I can get new OTAs. But now I once went to Oreo roms, I'm afraid to go back to fastboot stock. Hope you can help me.
[Moto G5 Plus Questions & Answers] tarantula27:
Thanks for this guide!

Successfully restored LTE on resurrection remix ROM with this guide. Didn't even have to go back to stock. Thanks a ton! I was really struggling with 3g
[Moto G5 Plus Questions & Answers] jesus1993car:
Hello friend, how can you help me please?

My mojo g5 plus already deleted in stock and custom rom pixel and only raises 3g
[Moto G5 Plus Questions & Answers] praneeth2722:
4g is Not coming

Step by step:

1. Flash TWRP.

2. Flash Pixel Experience rom if we haven't flashed yet.

3. Turn on phone with flashed rom to obtain network signal

4. Here we will get the IMEI and only have 3g signal, so we need to restart the phone in bootloader mode and type in fastboot "fastboot erase modemst1" and "fastboot erase modemst2", these two command will give us IMEI and 4g signal.*

5. Turn on Pixel Experience again to obtain 4g(verify it pls), shutdown and enter bootloader mode.

6. In this point -and the most important to obtain IMEI and signal again- we must flash our phone with desired a right stock rom, execute fastboot command(if your want yo relock bootloader or not use the right posted above), just don't write "fastboot erase modemst1" and "fastboot erase modemst2"(in the scripts above are erased if you want to execute all in one time), because if we don't erase those two commands we will not obtain IMEI and signal.

7. We wait until finishes and write "fastboot reboot" and wait to turn on.

Note: My device is Moto g5(cedric 3gb 32gb indian)

I followed exactly the same steps and thanks first to get imei and 3g signal by flashing pixel experience rom

but when i type fastboot commands erase modemst1 and modemst2 the signals and imei shows 0 and when i flash a stock rom i couldnt get even imei and 3g signal

and i have stock rom NPP25.137-33

Pls help
[Moto G5 Plus Questions & Answers] Rakesh1b:
i too lost my signal after installing latest validus 8.1 beta 1.3 before it previous version worked fine but now i lost signal tried this i could only get 4g but volte is not showing up did any of you got solution?
[Moto G5 Plus Questions & Answers] nightwalkerx22:
Thanks for the tutorial, I managed to get my network back but it looks like VOLTE is gone forever, isn't it?

Never thought flashing ROMs would lead to this.
[Moto G5 Plus Questions & Answers] itsluquis:
The same happens to me, I can not get the imei, or the 4G in any step, I only have 3G. After executing the commands, I have no signal, and when searching for a signal manually, it signals me an error.

Me pasa lo mismo, no consigo obtener el imei, o el 4G en ningún paso, solo me queda en 3G. Despues de ejecutar los comandos, no tengo señal, y al buscar señal manualmente me señala error.

Moto G5 Plus
[Moto G5 Plus Questions & Answers] Naveencd:
but volte is not working

I managed to get 4g lte in my moto g5 plus.But i didn't get volte.is there any method to get volte again?flashing others efs backup can help me or not?
[Moto G5 Plus Questions & Answers] Aldo Chayanne:
Thanks a lot ir works:)
[Moto G5 Plus Questions & Answers] mohitzr:
No..They don't have any idea of it....? One good thing is they will replace mother board if in warranty.

O dint bcoz it was under 10 days amazon buyback
[Moto G5 Plus Questions & Answers] Cupcake 1.5:
Anyone with IMEI issues, do you have problems with text messages? Mine are not sending unless I switch to airplane mode and back ?

I just thought....are text messages secure with this IMEI issue? I bet my IMEI is same as some others 0 and Sv is 8
[Moto G5 Plus Questions & Answers] Vishalpatil0105:
Will the 3rd party retailer will repair my phone or they will also change motherboard

---------- Post added at 12:07 PM ---------- Previous post was at 11:59 AM ----------

And another thing my mobile is under warranty period if i got to service centre after locking my bootloader will they fix it or not.?
[Moto G5 Plus Questions & Answers] thedr34m13:
The warranty is void, but if somehow they don't realize, you're good. Expect to have to pay though.
[Moto G5 Plus Questions & Answers] Vishalpatil0105:
But what about 3rd pary retailer they will also tell me tht have to chage motherboard or they will repair uaing any type of box or qfil
[Moto G5 Plus Questions & Answers] swayanshu13:
I am still not getting any imei number while flashing pixel Rom please help me please suggest me any other way or other method by which I can get my imei back please. :crying::crying:
[Moto G5 Plus Questions & Answers] Jrhotrod:
Am I missing something, or do OTA updates still cause IMEI 0? I accept an OTA with my IMEI intact only to be back with 0 after thy update applies.
[Moto G5 Plus Questions & Answers] smartish123:
I'm experiencing the same problem too. I haven't been able to find a way to fix it. Has anyone else made progress on this issue?
[Moto G5 Plus Questions & Answers] Cupcake 1.5:
Any OTA will run the commands to erase modem, unless the devs that caused the problem in Oreo development find out why efs won't stick or how to get IMEI back, we are screwed. I'm not having a debate with anyone on that point, but I am certain the Oreo 64bit development caused all the problems we have, starting with volte being lost and then our efs being corrupted, finally we started losing IMEI. I'm not blaming the devs, it's our own choice to take the risks with these roms, but it would be sure appreciated if there was even a sign these top devs are looking into this. Unfortunately non of them post to XDA and use telegram, so for the most of us it seems we are left in the dark.
[Moto G5 Plus Questions & Answers] Jrhotrod:
To all struggling with applying OTAs, I have a workaround.

While you still aren't able to apply OTA updates, you can at least download the latest stock firmware and manually flash the updated images. So, when an update is available:

1) Download the latest version of stock firmware.

1b) As of now, latest stock for USA is NPNS25.137-93-10 and for India NPNS25.137-92-10

2) Unzip the folder.

3) Copy this script and turn it into a batch file (basic Windows skill) (credit to [MENTION=4618329]abeloman[/MENTION] for filtering the commands):

fastboot oem fb_mode_set
fastboot flash boot boot.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot oem fb_mode_clear

4) Move the script to the stock firmware folder.

5) Boot into fastboot and run the script.

Voila! Your device should now be updated to the newest version without any IMEI hassle!
[Moto G5 Plus Questions & Answers] Cupcake 1.5:
When you say no IMEI hassle, do you mean this will help those who have lost it too?
[Moto G5 Plus Questions & Answers] Jrhotrod:
The guide assumes that any person who flashes the updated software already has their IMEI and signal recovered. The script will not erase userdata or cause IMEI 0.
[Moto G5 Plus Questions & Answers] Cupcake 1.5:
Unfortunately, there are no working guides for that now:(. Really hoping the Oreo update can straighten the Oreo created problems.
[Moto G5 Plus Questions & Answers] Jrhotrod:
I'm no dev, but I'm inclined to think the issue is caused by the giant hack that is 64-bit software for this device. I have never encountered an issue like this when simply upgrading a phone to a newer version of Android - it has to have something to do with the 64-bit aspect. Maybe official Oreo won't fix it since it will undoubtedly be 32-bit... but we can certainly hope!
[Moto G5 Plus Questions & Answers] smartish123:
I'm assuming the precondition to running these commands is that you have not installed TWRP on your phone correct? I'm asking this because the installation of TWRP decrypts your data partition and you need to disable the verify-encrypt on your phone in order to boot into the OS. According to your script, you're flashing stock boot.img, which does not have verify-encrypt disabled.

Also, where can we find the latest firmware (such as the NPNS25.137-93-10)?
[Moto G5 Plus Questions & Answers] Randumb_User:
Don't run the update. While you have your IMEI get an EFS backup. Unfortunately requires unlocking the bootloader and TWRP, right after locking it. Or if you're already unlocked, skip relocking and just flash stock (minus lines erase modemst1/erase modemst2, skip those) <<<<Don't ask me why, worked for me. If you still have your IMEI, make an EFS backup then wait for the updated firmware to relock.

I lost IMEI once today playing around and the EFS backup restored IMEI. No clue about LTE or VoLTE restoration, I don't have any mobile data right now, Lifeline BYOD carrier issues, dealing with idiots.
[Moto G5 Plus Questions & Answers] jtct:
I tried using this method I am not getting any signal or getting my imei back ..but when i checked fastboot getvar all imei no: was there . does anybody know how to recover it?
[Moto G5 Plus Questions & Answers] vonwap:
Thank you!! it worked i was worreid AF. I think im just guna use pixle and not risk it for now.
[Moto G5 Plus Questions & Answers] brunoerthal1:
HELP

I did your method and did not get my IMEI back, help me
[Moto G5 Plus Questions & Answers] orvon.freeman:
thank you I used flashing 92-10 stock then went back and fastbooted 93-10 not relocking due to reported losing signal after update so ill wait until oreo then try to relock
[Moto G5 Plus Questions & Answers] SsandYy:
Need help here..

I have a problem in persist file, when i flash g4 persist file my both sim cards and volte works perfectly but problem in camera photos ( photos become yellowish when taken with flash lights ),

But when i flash g5 plus persist file my camera works perfect with no issue in flashlights photos, but here i lost my imei and networks..?

Help me for recovering my imei or networks with g5 persist file by which my camera flashlights also works fine..//

Sorry for my bad english,

Help
[Moto G5 Plus Questions & Answers] Harshil1999:
anyone help pls

i am not getting my imei back by this all method's.

thanks in advance.
[Moto G5 Plus Questions & Answers] SsandYy:
https://xdaforums.com/g5-plus/help/solved-problem-capturing-photos-flash-t3806691

Open link and try to restore this (link) persist file with TWRP in Oreo Pixel Rom and Reboot.. after

Again go to bootloader and type 2 commands

fastboot erase modemst1

fastboot erase modemst2

fastboot reboot

Try this..

(And if you have your EFS backup then restore after this, but may be this works without your efs backup)..

(You can also do this in Stock ROM but in stock rom once you recoverd your imei DON'T type these two commands in fastboot, In stock do-

Go to TWRP > Restore > persist (download file) > And then, restore your EFS backup > REBOOT )..
[Moto G5 Plus Questions & Answers] WhiteWidows:
Where is the method for to get back LTE?
[Moto G5 Plus Questions & Answers] V0idst4r:
Has anyone figured out a definitive fix for this? I've tried every possible fix under the sun and I'm still stuck with no 4G and no IMEI. This is probably the most stupid issue I've ever had with a phone when trying to flash stock. Motorola was ruined when Lenovo accuired them. Bye Moto!
[Moto G5 Plus Questions & Answers] Hymix:
On my XT1685 the first steps on this page got my 4G/LTE back. Had trouble beyond there but I've since changed ROMS and still 4G https://xdaforums.com/g5-plus/help/moto-g5-plus-potter-imei-0-volte-t3812905
[Moto G5 Plus Questions & Answers] V0idst4r:
Aren't those exactly the same instructions from this thread? I already tried PixelExperience + wiping modemst[1-2] a billion times.
[Moto G5 Plus Questions & Answers] SRocks281:
Thanks .. but I fixed mine another way

Flashed the ROM that I used before

Backed up EFS from twrp

Flashed stock and the backed up EFS

Worked like a charm

Can't confirm volte though ... I don't use it
[Moto G5 Plus Questions & Answers] triayah:
let's try using ufibox or sigmakey

:D:D:D
[Moto G5 Plus Questions & Answers] V0idst4r:
I couldn't even get the IMEI to come back on any ROM (and then there's no point in backing up/restoring the EFS)
[Moto G5 Plus Questions & Answers] Wolfcity:
Correct. Persist, not EFS holds things like IMEI and is UNIQUE for every device.

The only way to get your IMEI back is to restore your own previous made persist backup.

https://xdaforums.com/g5-plus/how-to/solved-volte-fix-lost-flashing-stock-rom-t3773524/post77068104
[Moto G5 Plus Questions & Answers] V0idst4r:
Unfortunately I didn't make one. I didn't expect it to be wiped when trying to go back to stock.
[Moto G5 Plus Questions & Answers] Dubzyr:
Thanks! I'll try it and update the comment.
[Moto G5 Plus Questions & Answers] henils1616:
Thanks! It worked! I have LTE now.

However I have one problem. When LTE/4G coverage is inadequate, the ROM will not switch to 3G/H+, therefore, I will be left having no internet. Is there any setting or fix to this networking issue? Thanks in advance!
[Moto G5 Plus Questions & Answers] messymatthew:
i have flashed pixel and followed the first few steps of this but havent done the flashing of the stock rom firstly because i have american verizon service cant find the right stock rom and 2nd i have no signal zero signal i am using an xt1687. I had signal before but data was very spotty usually didnt work and everytime i rebooted the phone i would lose service altogether and i had to fastnoot erase modemst 1 & 2 and reboot and my signal would come back. Now i have followed the first few steps many times and dont have any signal at all again. If i dont have a backup of my efs and persist am i basically screwed? should i try and continue with the flashing of the stock rom even with no signal?
[Moto G5 Plus Questions & Answers] the_vijaysharma:
Flashed the ROM that I used before

Backed up EFS from twrp

Flashed stock and the backed up EFS

Worked like a charm

Can't confirm volte though ... I don't use it

I couldn't even get the IMEI to come back on any ROM (and then there's no point in backing up/restoring the EFS
[Moto G5 Plus Questions & Answers] alwazeplayin:
Try This

https://xdaforums.com/g5-plus/how-to/dev-fixing-baseband-t3806064/page10

Thanks to rachitrawat , this is his post and solution....it worked for me

I'll break this post down into two sections - 1) How to 'fix' your persist, and 2) What happened

1) Fixing your persist

For this to work properly, YOU MUST BE ON STOCK ROM, and you must have ROOT access within STOCK ROM.

The following commands must be run in a root shell. I have only tested this through adb, so have the commands as run from the PC

Code:

adb shell

su

chown -R rfs:rfs /persist/rfs

chown -R rfs:rfs_shared /persist/hlos_rfs

reboot

The last command will reboot your phone and when it comes back, if you had lost your IMEI, you will have it back again now (fingers crossed!).

2) What happened

To understand what happened, you need to know a few things about filesystem permissions in Linux. Files and folders have user and group ownership, and permissions. Examples of owners are the system, root, user, etc. Examples of permissions are read access, write access, execute access. The permissions are applied at three levels 1) the user, 2) the group, 3) everyone else.

The OP's investigation into the failures showed that the issue was relating to the persist partition, specifically some files dhob.bin etc that are under the rfs sub folder in this partition. Under stock, these files/folders are owned by a user called rfs, and have group ownership under a group also called rfs. Additionally, the permissions on these files/folders are limited - only the rfs user can read/write/execute these files. Other users, groups, or everyone else, cannot access the files.

So something happened in the Oreo roms. If you flash and boot into an Oreo rom, and you look at the permissions/ownership, you will see exactly the same ownership patterns as stock. But there's a catch!

In Linux, all users and groups are assigned an ID, i.e. a number. So for example, on my phone, the rfs user has ID 3012 under stock. In lineage oreo, the rfs user has ID 2951. So something happened in lineage that changed the user IDs.

If you look at the ownership of persist files/folders within TWRP, you will see that a STOCK PERSIST has the owner of the rfs folder as rfs_old. Similarly in TWRP, a LINEAGE PERSIST has the owner of the rfs folder as rfs. So TWRP is seeing owners in a similar way to Lineage does. Trying to run the above commands in TWRP will not fix the issue, as it will use ID 2951 for the user rfs, but we need it to be 3012 in stock (which TWRP sees as rfs_old).

In addition to the rfs folder, there is also another folder that is impacted - hlos_rfs. Its user owner is rfs, but its group owner if rfs_shared. A stock rfs_shared is shown as rfs_shared_o in TWRP.

You can modify the commands above to work in TWRP, but to keep things simple, I'm only posting the commands as they are run from within stock.

Hope this helps out some of you!
[Moto G5 Plus Questions & Answers] NZedPred:
Actually that was my post (big credits to rachitrawat still, as he set the ground work), and just for completeness I'd prefer people now looked at this thread, as it is preferable that all support questions on the fix are in this one place:

Fix Persist, resolve IMEI=0, Explanation, Requirements
[Moto G5 Plus Questions & Answers] alwazeplayin:
Thank You NZedPred ,

I thought i was going to be stuck with 3G forever, it was great to finally have a fix.
[Moto G5 Plus Questions & Answers] Bhaskar1109:
will the persist backup from other roms work as i have forgot to take persist backup of stock rom. however i have taken EFS backup of stock rom
[Moto G5 Plus Questions & Answers] om arandolwala:
i followed every step not once or twice many time but still couldn't get the imei number and without imei number unable to get network back please help if u can omarandolwala@gmail.com please mail and help
[Moto G5 Plus Questions & Answers] Roary358:
Have you tried flashing the persist fix using twrp custom recovery?

If that didn't work and provided that you haven't flashed anyone else's persist you can recover your IMEI by flashing a custom Oreo ROM like pixel experience ROM to recover your IMEI, then you can return to stock with your IMEI number by skipping the modemst1 and modemst2 commands while flashing, then try applying the persist fix, that should resolve your problem.