yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Guides, News, & Discussion] attack11:
Yes,I faced that too, you must flash and oreo rom and IMEI should be back, then for 4g you must do in fastboot (with the oreo rom):

fastboot erase modemst1

fastboot erase modemst2

And should be fine, then backup that efs and you can restore in stock rom to get signal, if hoy get an ota you must restore the efs backup again

That thread uses a persist backup from a moto g 4, Its a bad idea, some people report greenish/yellowish pictures with camera
[Moto G5 Plus Guides, News, & Discussion] tuxattack80:
Yeah that always worked before but not now, if I flash an Oreo rom the best I can get is 3G with 0 as my imei. Thinking my persist partition is corrupted or something similar. In the past I could see baseband version changes with OTA updates but now it stays at the same version number no matter how far back I go with stock, fastboot all the way back to initial with no change. May have to try boype's link as I'm out of options really other than pulling out my e4 and tossing this thing in a drawer till Oreo arrives. Being a US variant if it's even safe to flash the Moto g4 persist file but in this case I don't have to much to lose lol

Tried the Moto g4 presist file with no luck so I give up. 3G for me until Oreo drops or a good deal pops up on Amazon or bestbuy lol
[Moto G5 Plus Guides, News, & Discussion] tuxattack80:
Baseband version looks off after flashing different persist files don't remember seeing anything that ended in q before.
[Moto G5 Plus Guides, News, & Discussion] boype:
I know, but I have no problems with it whatsoever.
[Moto G5 Plus Guides, News, & Discussion] spandy992:
Bro my moto g1 was also trashed 3 years ago when i installed cyanogemmod on it , after that reverted to stock and upgraded to lollipop os. Phone went dead . lesson learnt was never mess up too much with motorola.

---------- Post added at 01:45 PM ---------- Previous post was at 01:08 PM ----------

Bro just backed up efs. It showed 0 mb size on twrp! And the size of persist backup.sha is 320 kb only! Is this normal?
[Moto G5 Plus Guides, News, & Discussion] thedr34m13:
.sha is a digest file, meant to verify the backup, not the actual backup.
[Moto G5 Plus Guides, News, & Discussion] spandy992:
Thanks. I checked persist.ext4.win that is also only 320 kb in size. Is that normal?
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Persist is small, and TWRP compresses everything too. So I'd say it's normal.
[Moto G5 Plus Guides, News, & Discussion] tuxattack80:
Yeah I'm starting to see why they can compete in the budget market. They're cheap for a reason and that reason is ****ty support and software. This my first Moto device since the old school days of the razor flip phones and will more than likely be my last. Either going back to HTC or giving Nokia or Sony a try.

Scratch that the last Moto phone I had was the OG Moto X and that was a real Motorola phone.
[Moto G5 Plus Guides, News, & Discussion] spandy992:
Yes motorola has changed drasticaly. Moto g1 was a good phone even for today ultra budget standards. Though i wont recommend nokia if you are into this custom rom and kernel stuff because there are none to very few roms(if any) for nokia.
[Moto G5 Plus Guides, News, & Discussion] tuxattack80:
Yeah I can see your point there but honestly with age I find myself getting to damn OCD for ROMs and only really seem to stick with ones that are close to stock anyways. I think for me it's about having the latest version of Android and not the millions of settings options so if I can find an oem that actually updates there phones more than once in the devices life time is be happy and kind of the reason both Sony and Nokia stand out to me right now
[Moto G5 Plus Guides, News, & Discussion] spandy992:
Same reason for me. Nokia is good. They just need to price them competitively.
[Moto G5 Plus Guides, News, & Discussion] iotku:
can't boot twrp 3.2.1

I've never been able to launch twrp 3.2.1 (or the twrp-3.2.1-potter_persist.img linked here) here so I've just stayed away from Oreo sadly.

Doing

.\fastboot.exe boot .\twrp-3.2.1-1-potter_persist.img

loads to the splash screen but doesn't appear to ever get past there

I currently have twrp 3.2.1-0 flashed and it works fine and the .img worked with boot so I'm hesitant to flash 3.2.1-1 when I can't get it to work properly with fastboot boot

Moto G5 Plus XT1687: Currently Lineage OS 14.1
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Nokia has no program for unlocking bootladers, that's a deal breaker for me.

At least they are thinking about it.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Others here have had persist TWRP work if you flash it, so as long as you have the official TWRP image on hand you should be fine to flash the persist one, then go back to official.

There's always been some issues with booting TWRP on this phone, not sure if it's device-specific or universal. Don't sweat it :svetius:
[Moto G5 Plus Guides, News, & Discussion] iotku:
Managed to work this time with flashing it, feeling much more confident having Persist backed up. Thanks! :good:
[Moto G5 Plus Guides, News, & Discussion] :
OP can you please add me as contributor? I'd like edit the thread with some more info on this subject. Then we can request mods to sticky this thread.
[Moto G5 Plus Guides, News, & Discussion] guillermohs9:
Hi, I was able to use the TWRP posted by [MENTION=7896819]Jrhotrod[/MENTION]. However, I couldn't just boot the recovery from fastboot. I had to flash it, otherwise it'd get stuck when doing the backup. I did:

# fastboot flash recovery twrp-3.2.1-1-potter_persist.img

from my Linux system. I guess it's the same for Windows, just be sure to be running the shell as administrator.

Anyway, I have to ask: I flashed the TWRP from OP and backed up every partition (especially EFS and persist). In my case, persist showed as 0 MB, and is around 300kb big. I then flashed LOS 15.1 and su addon. Everything went OK. But just to get it straight, if I ever try to go back to stock or flash LOS 14.1 for example, I'd automatically lose IMEI and 4G? Would I be able to fix it if I restore my EFS and persist backups from TWRP after flashing the firmware?

Thanks for this helpful thread! Cheers
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
1) The stock ROM is the only ROM on which you will lose your IMEI/4G. And this is only if you fastboot flash it; the TWRP flashable one linked in OP won't give you this issue. LineageOS 14.1 will not lose your IMEI either.

2) Supposing you did fastboot flash the stock ROM, yes, you would be able to restore your EFS and persist backups from TWRP to restore functionality. I just did this yesterday, in fact.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Sure! I'm not sure quite how to, though. I'll add you ASAP when I find out. :good:
[Moto G5 Plus Guides, News, & Discussion] guillermohs9:
Thanks for your answer! I flashed Los 14.1 because of increasing signal drops in 15.1, but the issues are still there. If I restore the persist backup that I have from the stock phone... would that help? What is this partition technically? I have an understanding of what the efs partition is but I couldn't find any info about persist...
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Persist partition which has ext4 file system contains DRM releated files, sensor reg file (sns.reg), wifi and bluetooth mac addresses and that kind of stuff.
[Moto G5 Plus Guides, News, & Discussion] guillermohs9:
Thanks for your answer! Are there any reported issues with 4g signal dropping for a few seconds on custom ROMs? I think it's actually messing my notifications from certain apps...
[Moto G5 Plus Guides, News, & Discussion] Yousie642:
I backed up EFS in TWRP but I don't have an EFS folder. I do have these files in the TWRP backup folder though:

efs1.emmc.win
efs1.emmc.win.sha2
efs2.emmc.win

Should I have a different EFS folder in my internal storage?
[Moto G5 Plus Guides, News, & Discussion] vwfan511:
Not necessarily, if you need a working persist file, this one worked for me on XT1687 retail unlocked:

[URL="https://nofile.io/f/RuxbqZAQayH/persist.ext4.win"]https://nofile.io/f/RuxbqZAQayH/persist.ext4.win[/URL]
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
You've read this?

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

If you follow that thread the persist file is unique for every single device and you won't be able to restore your IMEI if you use someone else's persist file or at least irreversible changes will be made.
[Moto G5 Plus Guides, News, & Discussion] tuxattack80:
Yep that's where I went wrong, once you use someone else's persist image you'll loose IMEI with no way of getting it back then you'll be looking for a new device like me. Just picked up the Verizon prepaid g6 play for 120 bucks and it's not too bad, and running Oreo out of the box. Yeah the 427 isn't close to the 625 and yeah the screen is only 720p (although not bad looking at all for most things) and yeah there's a little lag from time to time and you only have 16GB storage and 2GB ram but it's half the price and better supported then say a Blu phone for the same price. Performance and battery life remind me a lot of the e4 and that was a good phone in my opinion and the sound on g6 play is a lot better than that of potter. Plus you get the same Moto actions as potter minus the finger print gestures. It's good enough to get someone by until they can afford something else
[Moto G5 Plus Guides, News, & Discussion] david.gs.gm:
I already used a g4 persist and when I went back to the stock rom using fastboot and restored my EFS my IMEI was restored .... XT1683
[Moto G5 Plus Guides, News, & Discussion] :
Your imei is gone. You only restored a cache which included your imei. The upcoming Oreo modem may even not recognise that cache.
[Moto G5 Plus Guides, News, & Discussion] david.gs.gm:
how to know if it's just cache or IMEI true?
[Moto G5 Plus Guides, News, & Discussion] guillermohs9:
If I made a backup of all partitions using the recovery from OP before flashing LOS, will my entire system be back when restoring them? I was on stock nougat - only unlocked bootloader
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
It should be.

You can also backup all your partitions with official TWRP and then boot into TWRP and enter the following commands in TWRP terminal or PC:

adb shell
dd if=/dev/block/mmcblk0p30 of=/sdcard/persist.img

for backing up persist and

adb shell
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p30

for restoring it.
[Moto G5 Plus Guides, News, & Discussion] guillermohs9:
Thanks. I'm currently on this thread's TWRP. I wanted to check, as custom roms are giving me signal drops on lte.
[Moto G5 Plus Guides, News, & Discussion] david.gs.gm:
using the fastboot getvar all appears to my IMEI ... I'm trying to figure out if it's a real IMEI or a cache like you said.
[Moto G5 Plus Guides, News, & Discussion] Ae3NerdGod:
?????????????

[IMG="what??"]https://media1.tenor.com/images/ad481590f5acdb92f13330b5ccb4ddbf/tenor.gif?itemid=5922332[/IMG]

no solution?

ok you guys are on crack theres literally a post about fixing IMEI: 0

flashing the stock rom is how ive been getting my IMEI back everytime i lose it, works everytime. i have retus 64gb XT1687 and i use "POTTER_RETAIL_7.0_NPN25.137-92_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip cant say about volte because i have att us and i dont think it supports volte on phones they dont sell.

but for sure. restoring stock is the only real way to regenerate your EFS. i dont know what this guy is talking about, your imei is in the modem chip and cant be erased from a partition on the phone rom, theres other tools for that. im so sure that id literally erase my efs live on youtube and show everyone how to get youre imei back
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Than you're a luck guy, there are a lot of users who don't have that luck (I'm not one of them but they are there). If you are interested check this thread from someone who seems to know his stuff:

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

Btw, are you aware that you are flashing the wrong firmware for your device?

The ending 92-x is for devices from India and Brazil, the firmware for Europe and the US is ending on 93-x. You should have recognised that you don't receive any OTA as the updates in your country are pushed to devices that have a 93-x firmware. Here in Europe we had 93-4, 93-8 and 93-10 which include the security updates for january, march and april. June security patch is rolling out atm.

If you are rooted you may not have recognised that.
[Moto G5 Plus Guides, News, & Discussion] Ae3NerdGod:
yea i actually did that on purpose, even though i was rooted i kept getting the ota notifications and instead of just updating everytime or worse getting stuck in a bootloop while away from a computer i flashed the 92 and stopped getting otas at all. i dont care about security, solution to phone security: dont keep important things on a device most people "lose" twice a day
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
You could just have frozen the Motorola update service with Titanium or else like I did, no need to flash a wrong firmware instead.I don't wanted to flash stock for every single security patch again too. But to each his own.
[Moto G5 Plus Guides, News, & Discussion] Ae3NerdGod:
i did that and it didnt work. titanium gave me errors i decided were from magisk i think. i still get the same signal and coverage and battery life
[Moto G5 Plus Guides, News, & Discussion] david.gs.gm:
XT1683.... Only with EFS backup my IMEI return everytime too ?
[Moto G5 Plus Guides, News, & Discussion] munchy_cool:
anyone know the path to name of efs partition? i cant find efs in the partition list?

edit - got it

mmcblk0p27

mmcblk0p28

are efs.
[Moto G5 Plus Guides, News, & Discussion] munchy_cool:
I am a bit confused. using the modified TWRP in OP, the backup for persist is like 325KB.

Using dd, it's like 35mb? which one to trust?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Interesting question. I made a backup using the dd commands and it's about 32mb.

I'm on official TWRP so I can't compare but maybe [MENTION=4736004]rachitrawat[/MENTION] who posted the dd commands can bring some light into this.
[Moto G5 Plus Guides, News, & Discussion] munchy_cool:
i think it might be the fact that TWRP is compressing it, but I just want to double check.
[Moto G5 Plus Guides, News, & Discussion] :
dd takes bit-perfect backup of the entire partition (persist is ~30 MB). However, actual content is in kilobytes. Both twrp and dd images should work.
[Moto G5 Plus Guides, News, & Discussion] M1810:
if i go from 7.0 stock to 8.1 PE rom, will i lose my 4G and IMEI?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Make a full nandroid backup incl.efs and persist (as described in this thread) and you should be on the safe side. No guarantee.
[Moto G5 Plus Guides, News, & Discussion] M1810:
Thanks you!
[Moto G5 Plus Guides, News, & Discussion] ashu.mkb:
Can anybody guide how to backup everything using latest twrp(official) as it have the option to backup persist. I am skimming throughout the forum for last 2 hours and cant understand exactly how to backup everything before flashing pixel experience. I am on nougat with july patch. Please help, seeing so many devices losing imei and persist am scared.
[Moto G5 Plus Guides, News, & Discussion] antonio52:
Go to backup. Select all the items (attention: scroll down). Select internal or SD archive. Back up.
[Moto G5 Plus Guides, News, & Discussion] ashu.mkb:
Do i need root to backup using twrp? Also do i need to flash twrp or boot into twrp?
[Moto G5 Plus Guides, News, & Discussion] antonio52:
No you do not need root. Start from Twrp.
[Moto G5 Plus Guides, News, & Discussion] kash664:
I have already installed RR oreo but didn't backup efs and persist with the stock rom. My volte and imei are intact. Can I take a backup now or there is no hope left??
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
Back it up now
[Moto G5 Plus Guides, News, & Discussion] erkme73:
I hate to be such a noob, but better to ask than to guess. I am running rooted 7.1 and would like to move to Oreo. I'm scared to lose the efs and persist data. I'm running twrp 3.1.0n3-potter and just used terminal to run the persist.img backup to my sdcard. I ran the same command with the 27 and 28 partition (saving as esf1 and esf2 to sdcard) but don't know if that's sufficient.

In TWRP doing a complete backup with everything checked, doesn't explicitly show efs. Does that mean I'm not backing it up correctly? How can I verify that the backups are happening, and valid?

---------- Post added at 07:00 PM ---------- Previous post was at 06:28 PM ----------

Never mind... After updating to the current version of TWRP, I now had options for EFS, EFS2, and Persist. All backed up...
[Moto G5 Plus Guides, News, & Discussion] zdoe:
moto g5 not plus

there is no options in twrp for g5 EFS EFS2 & persist. the version they offer for g5 is twrp-3.2.3-0-cedric, that by version number should have this ability, but it doesn't.

i was able to backup some by using adb shell, but i'm not 100% if the partition numbers are the right

dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img

dd if=/dev/block/mmcblk0p10 of=/sdcard/modemst1.bin bs=512

dd if=/dev/block/mmcblk0p11 of=/sdcard/modemst2.bin bs=512

are they?
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
Best to use /dev/block/bootdevice/by-name/modemst1 and /dev/block/bootdevice/by-name/modemst2 for the two EFS partitions. The persist one is fine.
[Moto G5 Plus Guides, News, & Discussion] zdoe:
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell
cedric:/ $ su
cedric:/ # dd if=/dev/block/bootdevice/by-name/modemst1 of=/sdcard/modemst1.bin bs=512
4096+0 records in
4096+0 records out
2097152 bytes transferred in 0.939 secs (2233388 bytes/sec)
cedric:/ # dd if=/dev/block/bootdevice/by-name/modemst2 of=/sdcard/modemst2.bin bs=512
4096+0 records in
4096+0 records out
2097152 bytes transferred in 1.060 secs (1978445 bytes/sec)
cedric:/ #

thx.
[Moto G5 Plus Guides, News, & Discussion] Cycl0ps:
is there a solution now

I did the same mistake i flashed the custom rom and after that i switched to stock again and lost my imei and now there are no signals.

I have my efs backup at which signals were there but i was not able to access 4G Volte.

How to get my imei and signals back. Please help
[Lenovo ZUK Z2 (Plus) Questions & Answers] KellyGRRL:
delete
[Honor View 10 Questions & Answers] ThePrinoob:
Hello guys

I flashed a system.img which brought me to this weared Build-number.. I think I also destroyed my Boot partition, cause my phone do not get recognice by my pc and because of that I can't go back to the BL..

If somebody has any idea, write a comment and I'm gonna look if it works :)
[Honor View 10 Questions & Answers] shashank1320:
Try using dload method and flash the full stock update.app file
[Honor View 10 Questions & Answers] ThePrinoob:
Which UPDATE.app should I try?
[Honor View 10 Questions & Answers] shashank1320:
The one you had earlier. Check on firmware finder. Download the update.zip file.

Extract amd use it. Dload guide is given in my signature. Personally I have not used dload on oreo so cant be 100% sure but have used it more than 100 times on KK, LP, MM, and Nougat. But i saw a post mentioned this method for going back to stock on v10. Can give it a shot, no harm, dload doesn't break anything.
[Honor View 10 Questions & Answers] ThePrinoob:
Okey I will try. But I don't now which Version I should try, cause I used ComicOS before and then I flashed this system.img..
[Honor View 10 Questions & Answers] shashank1320:
The one you had before the cosmis or you cam even try the latest available for your model.
[Honor View 10 Questions & Answers] ThePrinoob:
Thank you, Im now downloading through in-App proxy :D
[Honor View 10 Questions & Answers] shashank1320:
I prefer to download on pc and save it unless i am pushing update to Updater for OTA
[Honor View 10 Questions & Answers] ThePrinoob:
At the moment i'm not at home, so I can't acces a PC
[Honor View 10 Questions & Answers] ThePrinoob:
I tryed 140 and 160b both gave me: System install failed!
[Honor View 10 Questions & Answers] shashank1320:
Can you try installing any custom ROM cosmic or other and then try to come back again but install with caution this time.
[Honor View 10 Questions & Answers] ThePrinoob:
How should I do this? I can't acces the BL and I installed stock recovery..
[Honor View 10 Questions & Answers] shashank1320:
You can't access fastboot? Difficult then. How about trying erecovery option to download the version and install
[Honor View 10 Questions & Answers] ThePrinoob:
Yes, if I could I wouldnt ask :) I will try this when I have Wifi.
[Honor View 10 Questions & Answers] ThePrinoob:
Got an Error message: Getting Package info failed
[Honor View 10 Questions & Answers] shashank1320:
Bad luck. Sorry mate. Camt help much then. May be you need to live with this build number or see if any future update fix it.
[Honor View 10 Questions & Answers] ThePrinoob:
Okey, so i'm gonna try any other version.. Thank you mate!
[Honor View 10 Questions & Answers] ThePrinoob:
What again is update_data_full_public? xD
[Honor View 10 Questions & Answers] alohahe3000:
I have exactly the same problem. No ideas how to fix it?
[Honor View 10 Questions & Answers] shashank1320:
Havent tried ever so cant comment.
[Amazfit] asassello:
Hi all!

I have Amazfit Bip, but it may be the same for Pace and Stratos. So 3 questions:

1. I'm quite sure that having seconds displayed on the screen consumes some more battery than screen without seconds (refreshing itself only once per minute and not every second). Am I correct?

2. Different situation, but without seconds displayed on the screen. Does displaying more data (like steps, distance, weather...) on the screen consumes more battery? So ie. only hour + minutes would consume less than hour + minutes + steps + distance?

3. Would light (white) background consume more battery than black background (assuming we have the same content on the screen)?
[Amazfit] elot01:
I have tested it in the beginning (earlier this year) and indeed, seconds display is 'eating' battery, but even then it is still lasting at least 2 weeks for me.

With all kinds of animations (constantly i mean) is the same, also 2 weeks battery.

For other info, it hardly changes anything about the battery.

What is worst for the battery are: GPS use (while on workouts) and vibrations on notificatons.

GPS can really drain your battery in 1 day, the notifications can drain (in my case) about 1 to 2 weeks of battery.

But with almost ALL apps, giving me notifications, and using my phone (dual-sim) for work and personal, i still get 4 weeks battery.

But NO GPS use for me.
[Amazfit] asassello:
And even white background won't eat much battery?
[Amazfit] Andrew_Co:
Huami declares the screens (for all 3 models) as Backlit LCD (I might be wrong). That means they are not behaving as AMOLED screens (wich shut off the pixels when black color is needed to display) , so the screen is having kinda the same baterry consumption, no matter the color it shows. The backlit-ing tough adds to the battery consumption compared to the screen in stand-by mode.
[General Questions and Answers] free.will:
Is there a way to reboot the phone into a safe mode?
[Samsung Galaxy Note 8 Questions and Answers] Limeybastard:
Samsung messages it's grayed out and cannot be changed to ON ? Normal?View attachment 4532394
[Samsung Galaxy Note 8 Questions and Answers] winol:
Mine is grayed, along with other system related apps, I think it is normal, as they need to run cotinously in background
[Samsung Galaxy Note 8 Questions and Answers] OnnoJ:
Indeed. If not running in background you would not receive messages unless you had app running in foreground....