yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Guides, News, & Discussion] stormrider57:
ok , thanks for the reply, i have a question , if i go back to stock rom (nougat) am I going to lose automatically my IMEI ?

so , to sum up,

- i need to go back so stock rom

-root my device

-execute the chown command to change ownership,

and then reflashed any custom roms

it is okay ???

is it necessary to reflashed the stock rom, for the chown commands ?, i can not just execute the chown command and thats it ??!!:laugh:

thx a lot

u0_a130@android:/ $ su
u0_a130@android:/ # find /persist -type f
/persist/sensors/sensors_settings
/persist/sensors/sns.reg
/persist/data/prov/M698VQzLf5Qm6G-dCMt21CO7Zk+v2+LFIenI2viEGP
/persist/data/prov/prov
/persist/data/prov/prov.bak
/persist/data/prov/M698VQzLf5Qm6G-dCMt21CO7Zk+v2+LFIenI2viEGP.bak
/persist/data/prov/NWW5ynEaHI+OPSfhOp0KeIkvybIK-pZvFZzEQ0Lh8C
/persist/data/prov/NWW5ynEaHI+OPSfhOp0KeIkvybIK-pZvFZzEQ0Lh8C.bak
/persist/data/widevine/HsT1xbceabFrEoYQfKmSihV2X2ULBI2VFgUmHOaaIL
/persist/data/widevine/widevine
/persist/data/widevine/widevine.bak
/persist/data/widevine/HsT1xbceabFrEoYQfKmSihV2X2ULBI2VFgUmHOaaIL.bak
/persist/data/widevine/dg0sGL+Zcw-frs7MrqBkP0ky9QZjRQyHLlFlWNol6n
/persist/data/widevine/dg0sGL+Zcw-frs7MrqBkP0ky9QZjRQyHLlFlWNol6n.bak
/persist/camera/ledcal/rear
/persist/mdm/oma_dm_update
/persist/factory/audio/temp
/persist/factory/audio/cnt
/persist/factory/audio/acc
/persist/factory/audio/f0
/persist/factory/audio/ref_diff
/persist/factory/fti
/persist/public/hiddenmenu/data/mobile_data_rx
/persist/public/hiddenmenu/data/mobile_data_tx
/persist/public/hiddenmenu/data/wifi_data_rx
/persist/public/hiddenmenu/data/wifi_data_tx
/persist/public/hiddenmenu/life_calls
/persist/public/hiddenmenu/life_timer
/persist/security/18.bin
/persist/bluetooth/.bt_nv.bin
/persist/time/ats_1
/persist/time/ats_2
/persist/time/ats_15
/persist/time/ats_12
/persist/time/ats_13
/persist/time/ats_16
/persist/rfs/shared/server_info.txt
/persist/rfs/msm/mpss/datablock/id_00
/persist/rfs/msm/mpss/datablock/id_01
/persist/rfs/msm/mpss/server_check.txt
/persist/rfs/msm/mpss/dhob.bin
/persist/rfs/msm/mpss/shob.bin
/persist/rfs/msm/mpss/dhob.bin.bak
/persist/.twrps
/persist/chargeonly/cooldown
u0_a130@android:/ #
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
You could flash the stock ROM and the persist fix that are in the folder I linked to. In doing that there is no need to execute the commands - that is what the persist fix does. After that, reboot and test to make sure it is working. IMEI will not be lost on flashing these versions of stock.

If you then install a custom rom and find you have problems with volte, then that's an issue with the custom rom.

There's no point in executing the commands in a custom oreo rom, as they simply overwrite the ownership of those files and folders on boot.
[Moto G5 Plus Guides, News, & Discussion] stormrider57:
okay , thanks man ,you give good advice, i think i will try this tomorrow ( lol it is tomorrow !!)

:good:
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
Looks like this will be a little more complicated than other cases I've seen. Can you take a backup of your persist partition (refer to the second post of this thread), copy it to e.g. Google drive, and send me a private message with the link.
[Moto G5 Plus Guides, News, & Discussion] stormrider57:
is it me or ?? can some one give me a good twrp with persist back up capability ?

i red the second post of this thread, but it doensnt work for me.

Another question should i back up my persist after doing the stock flash or before ,with my custom rom ?

edit : its okay , i found the twrp trble r22
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
Back up your persist before doing the stock flash, just in case... When it's all working, back it up again :)
[Moto G5 Plus Guides, News, & Discussion] stormrider57:
i noticed one thing in your stock rom the security patch is from april , mine was from july, and when i want to update it says ,im up to date ???
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
First things first, have you got volte back? And is all other functionality working? If yes, then I can look to get a more up to date Sanders build for you.

Edit: oops, didn't see your previous post. You need to apply the persist ownership fix still.
[Moto G5 Plus Guides, News, & Discussion] stormrider57:
no i dont have volte back :(, i have 4g all the things are working, i applied the persist fix

should i restore my own persist before the stock flash ??

pff now im stuck in recovery mode, i wanred to to a factory reset in the system, and I landed into recovery (twrp) and i can't reboot to system, well ...
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
Whoah slow down. I'll send you a private message. Let's do this step by step...
[Moto G5 Plus Guides, News, & Discussion] stormrider57:
i have tried 2 differents sim cards and nothing

tried to reset my networks settings, nothing

following this tread, and my volte does not reappear

i wonder what I did wrong ?
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Try to follow NZed's instructions and be patient. I know it's easy to do everything a mile a minute when you're a newbie about to fix a major issue, but if you screw something else up because you took it upon yourself to try it, you will probably regret it.

So just take it slowly and do it one step at a time :)
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
We did manage to work through step by step. They couldn't get volte back yet. I do wonder if it's a case of a custom rom changing other things that have an impact on going back to stock. Back on their custom rom, although no volte, it at least has LTE. Only other option I can think of is trying an oreo soak test.

There's more to this wider issue than what I've been able to uncover...
[Moto G5 Plus Guides, News, & Discussion] ayad.phonex:
Hello everyone

Please someone help me it's been more than 4 months I have lost my IMEI numbers and I tried a lot of ways to get it back but I got nothing! And now I still don't have them ! I tried this way too but I still can't get it pleaseeee help I don't know what to do?

Need Help please !

1- I'm using the latest TWRP flashable nougat

2- I'm running on root through magisk

3- I think I've flashed someone else's persist cause I had no choice

4- my both IMEI numbers are zero and no volte and no signal

5- I get no error message when I try the commands

Please help !!!!!!
[Moto G5 Plus Guides, News, & Discussion] svapre:
Edit

Before rooting(long time ago) my device I made a nandroid backup with the then available TWRP . So after loosing my IMEI I tried restoring my backup , but it doesnt work (maybe faulty TWRP) . After that I tried different methods and came to know that in order to get my IMEI back I need to have a backup of persist and efs . So I checked my TWRP backup again only to find that it has only got efs to restore and no persist . Then after reading some posts I flashed someone else's persist and boom there goes my phone . Now I am a happy owner of an iPod .

Is there anything which could be done in my case since I have my efs backup ? Also when I try to restore efs my IMEI comes back but I get no signal on any sim whatsoever.

Edit :

I found some link on another forum but unfortunately I cannot download any stuff from there because of some weird restriction (Pay or contribute) so I couldn't test it . I am posting the link here so that the devs could take a look at it and maybe someone could test it out. It might be helpful for those who have lost their persist.

https://www.clangsm.com/forum/index.php?showtopic=486655
[Moto G5 Plus Guides, News, & Discussion] smitharro:
Number 3... You're doomed! Read the OP...
[Moto G5 Plus Guides, News, & Discussion] ayad.phonex:
then what should I do ??? Any other way to fix that?
[Moto G5 Plus Guides, News, & Discussion] smitharro:
Nothing... Enjoy your little tablet. It's not possible to bring the phone function back. By 'restoring' the imei of another phone, you deleted the unique imei that your phone had. Only if you still know the number and when you are able to program a new persist and efs... I don't know how.
[Moto G5 Plus Guides, News, & Discussion] ayad.phonex:
thanks bro for your clarification at least I have my signal sometimes
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Smitharro has arrived!

What made you come back? The nearly nonexistent dev support for the G6/Plus?
[Moto G5 Plus Guides, News, & Discussion] smitharro:
Nope, just a little interest and some adjustments I made on my daughters phone. But we are off topic here...
[Moto G5 Plus Guides, News, & Discussion] jingletard:
So just to recap:

If we used someone elses persist/efs if we went to Oreo then back to Nougat and had an IMEI of 0, we are completely boned?

https://xdaforums.com/g5-plus/how-to/solved-volte-fix-lost-flashing-stock-rom-t3773524

I'm talking about that thread. I used the persist backups to get my IMEI back but I guess now I'm completely screwed? The phone works and so does LTE (when it wants to) but I guess wiping or flashing the persist/efs was a super bad decision.

This might explain why LTE just stops working on occasion on my phone but I had no choice but to use that other persist/efs which was floating around because my IMEI was 0.

I hope I'm getting this right. So, if we used another EFS/Persist to get our IMEI's back from 0 we are completely screwed? Would flashing the new 8.0 Oreo official TWRP build fix the problem or make it worse?

Thanks!
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
Yeah a number of people have screwed their devices because of that and other similar guides.

A few people in similar situations have gone into the Oreo soak tests and have only been able to maintain a connection with the first soak test (using their current efs, which is in some cases quite old). The subsequent builds result in them having an IMEI, but no actual signal.

Some others that we able to fix their persist using this guide, although able to get their IMEI back, had issues such as disconnects or patchy 4G when they were on nougat. Feedback send to be that on the Oreo soak tests the connection is stable.

tldr; keep your efs backup with you for life, Oreo soak test 1 may give you a more stable connection.
[Moto G5 Plus Guides, News, & Discussion] jingletard:
Thanks Pred. Any idea or hope for us who have flashed those "backups" floating around that we might get a stable phone back some day? If I wind up having a good LTE connection and the IMEI on Soak Test 1 should I just keep that as a backup or is it still considered garbage?

I know you've been the authority on this so thank you for all your help. I just waned to make sure I'm absolutely clear on what's been going on with my phone when the LTE just won't work anymore for whatever reason.

I have found that going in to the secret menu (*#*#4636#*#*) and resetting/changing settings in there gets my LTE signal back, but only for a little bit. I still wind up missing calls, texts, and having data not work except on 3G most of the time.
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
I'd say that you should try out Oreo soak test one, and if it gives you a stable connection it is probably your best bet. Make sure to read the instructions carefully and have backups handy.

To regain full functionality looks almost certainly impossible. It would take Motorola to release a tool that recreates your persist (or at least the key files dhob.bin, etc), and I don't think that will happen.

[MENTION=4736004]rachitrawat[/MENTION] deserves most of the credit for the investigation he initiated, I merely found the last piece in the puzzle. I don't consider myself an Android expert by any stretch, but I've a good enough understanding of many things and I've worked with quite a few people to see the different permutations of the issue.
[Moto G5 Plus Guides, News, & Discussion] monpiere:
So, I followed the guide and have restored my IMEI. However, I still have no signal at all! I'm showing that it recognizes the sim card now, but it shows that my radio is off and I can't get it to turn back on.

---------- Post added at 09:37 PM ---------- Previous post was at 09:32 PM ----------

This is my problem exactly!

Quote:

Originally Posted by NZedPred

Yeah a number of people have screwed their devices because of that and other similar guides.

A few people in similar situations have gone into the Oreo soak tests and have only been able to maintain a connection with the first soak test (using their current efs, which is in some cases quite old). The subsequent builds result in them having an IMEI, but no actual signal.
[Moto G5 Plus Guides, News, & Discussion] shivm500:
I have used fastboot erase all command in moto xplay and imei is 0 in system settings (*#*#4636#*#*). Can it be fixed from the method given in this thread

Thanks.
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
I don't know about that device sorry. It would only work if the partition layout is similar, the dhob.bin files are held in persist, and your persist is actually intact aside from permissions/ownership. From what I understand about fastboot erase all however, it literally erases key partitions include those that are specific to your device, and if so you would be out of luck.
[Moto G5 Plus Guides, News, & Discussion] Dead_Dude:
I am not on stock. I have not lost my IMEI.

Am I safe?

I did the commands listed in this thread, and I have all the expected files everywhere.

Will the output of those commands on a custom ROM be different than listed in the OP? I am too damn nervous to flash stock, since I'm only having intermittent signal strength issues and rarely camera green splotches. Before flashing an OS, the camera was rock solid and so was the signal.

Current OS:

Latest Official Dirty Unicorns

Never flashed any other OS onto this puppy.
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
Oreo ROMs don't have the rfs used that nougat does, so the output will be slightly different. Oreo ROMs will all change the ownership of the key folders on each boot.

So you don't need to run the commands on Oreo, and even if you do, they are harmless. It's only important when going back to nougat.
[Moto G5 Plus Guides, News, & Discussion] Dead_Dude:
So my existing files, looking correct at the moment, are good then? I have literally the same listing of the directories as is posted. On Oreo.

Did I somehow dodge the bullet?
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
As long as you didn't flash anyone else's persist, you will be fine. The issue occurs when going from Oreo to nougat.

Edit: now is as good a time as ever to back up your persist and efs just in case anything were to go wrong in the future
[Moto G5 Plus Guides, News, & Discussion] Phanox:
Hi. I want to fix a problem I got. I don't have the dhob.bin.bak file, but I have the other two on the Persist thanks to the EFS backup I took from a Custom Oreo ROM, I can use it to get IMEI back when I install a Nougat ROM, but when I upgrade to the stock Oreo found here , the phone gets IMEI 0 and I don't know how to fix it.

Is there a way to fix this? Restoring the EFS on stock Oreo gives me IMEI, but no signal. I haven't used other's persist, btw.
[Moto G5 Plus Guides, News, & Discussion] nvntKriz:
Fixed IMEI & Volte
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
First of all, please don't quote the entire OP. If you have a question on something it says, please limit your quote to that specific section.

Now, to answer your question...

Like NZed said (hehe, rhyming) this issue occurs when you go back to Nougat from Oreo. If you go back to N, then back to O, then back to N again you're going to keep having the issue and have to do the procedure every time.
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
This is from the FAQ in the Oreo thread:

On soak test 2 or later, I have my IMEI but no signal. What can I do?

In all cases where this has happened, the user's phone has relied upon an EFS backup for IMEI, due to flashing another persist. In these cases, it appears that the only way to get a signal is to use the firmware (i.e. modem, fsg, dsp - refer previous FAQ) from soak test 1. We're probably seeing here that the EFS does in fact need to be recreated to be valid. Unfortunately for these users, by not having their own persist, they are stuck with an old EFS and the newer firmwares appear to not work.

So, it appears that your persist has been compromised. I've seen a few cases (look back in this thread) where people haven't flashed another persist, yet they have somehow been compromised. You will need to take the approach above - i.e. flash the firmware from soak test 1 (use the Soak 1 aroma installer, and just select 'firmware').
[Moto G5 Plus Guides, News, & Discussion] Rafiue_SRA:
Is persists backup option available at latest official twrp?
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
Yes it is.
[Moto G5 Plus Guides, News, & Discussion] Rafiue_SRA:
Right now I m on stock nouget. bootloader is locked. Want to install custom roms but confused bcoz most of the users got issue regarding imei and volte after revert back to stock rom. Plz tell me if I backup my original stock firmware and install custom Roms and switch back to stock rom by using restore to my backup can I get imei and volte issue?
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
As long as you back up your persist and efs and keep them safe (on the cloud is best, e.g. Google drive) you will be fine. The most recent official version of TWRP can back up persist.
[Moto G5 Plus Guides, News, & Discussion] Envirian:
Im having a problem with Volte, if I make a call the 4G+ turns off and H appears so the quality of mi voicecall sucks, i dont have any stock backup just the twrp backup thta i made after flashing a rom but my persist is "bad" but i cant find this numbers http://prntscr.com/ku921e can this tutorial help me?
[Moto G5 Plus Guides, News, & Discussion] ~Unify~:
I flashed NPNS25.137.92-14 over NPNS25.13-93-14. And my phone is unrooted and locked bootloader. Now after flashing my IMEI shows 0, What can i do , plz HELP.
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
So this guide is for rooted, unlocked phones. But for you to have gotten an IMEI of 0, I can only assume that you were unlocked at some stage and installed an Oreo ROM (assuming that you never tried upgrading to stock Oreo and then downgrading). Only option I can think of is to unlock and go through the steps.
[Moto G5 Plus Guides, News, & Discussion] ~Unify~:
after unlocking what should i do ?

No in past once i unlock n root my device but never flash oero rom.
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
If you never flashed Oreo, then I wonder if the problem is something else.

You said before you were on 93-14, but changed to 92-14. What channel are you on (e.g. retin, retus, etc - under Settings - About Phone - Software channel)? What roms did you install previously?
[Moto G5 Plus Guides, News, & Discussion] ~Unify~:
My channel is RETIN.in the past i rooted my phone, then later locked my bootloader of phone with NPNS25.137-93-14, but today when i flash the NPNS25.137-92-14 over it, im getting the IMEI 0 issue...what can i do to restore my imei
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
How did you managed to get onto 93-14, especially since only 93-10 is available as a fastboot zip, and you would have to side-load an OTA to get onto 93-14?

Regardless, you can try unlocking your bootloader, root, and following the steps in the first post. That will tell you whether or not you have the issue that I have identified, and whether or not it can be fixed.
[Moto G5 Plus Guides, News, & Discussion] Andrej_SK:
Tested even on Moto G5 (cedric) with NPPS25.137-93-14 build (July 2018 security patch) and it's working. After following this tutorial, IMEI came back for both SIM card slots and baseband letter changed to "R". :)
[Google Pixel 2 XL Questions & Answers] Eduardo1974:
Is anyone else's Pixel 2 XL (running the latest Android P Developer Preview) having issues with the Facebook app "closing unexpectedly" when attempting to read comments posted by other users within a respective story in the news feed?
[Google Pixel 2 XL Questions & Answers] EeZeEpEe:
No problems here.
[Google Pixel 2 XL Questions & Answers] CyberpodS2:
I actually have the issue every few weeks or so but it gets fixed in the next update. Are you in the beta program?
[Google Pixel 2 XL Questions & Answers] Eduardo1974:
No. I'm not in the Beta Program for Facebook. I've gotten a few updates the last couple of weeks (and I hope each one remedies the problem) but it still crashes when I try to view comments.
[Google Pixel 2 XL Questions & Answers] CyberpodS2:
On several occasions I have had to Uninstall and reinstall as just deleting data did not fix it. That would be my next move.
[Honor 9  Questions & Answers] alexssxda32:
Hi there,

I recently bought an external mic for my Honor 9.

Ever since I got this phone a year ago I've tried many well-known apps for recording video. However, I decided to stick with the stock app as it's able to take full advantage of the dual camera setup. The only app able to get a similar (but still not as good) performance to the stock app was Cinema FV-5.

When I recently purchased my new mic I realised I can't use it with the stock app, as it only records audio from the device's internal microphone.

Is there anything that can be done to make the stock app record audio from the external microphone?

Btw I have contacted Honor but I'll have to wait some days to get an answer.

My phone's model is STF-L09 and I'm running on Android 8.0.0.368 (C432).
[Tilt, TyTN II, MDA Vario III General] Boinng:
Okay, maybe it isn't the most devastating kaiser problem, what with the drivers and all, but - is anyone else's standby button starting to feel a bit loose?

After 5 months use, my button's still working fine, but it's a lot spongier and, well, wobblier than it was. Should I be worried? Is it likely to wear out completely soon? Is anyone else concerned?

I'm starting to think I'm over-using it - is it wrong to be using standby so much, is there some way I can break out of the standby habit without knackering the battery?

Thanks for any suggestions on this important issue...
[Samsung Gear S3] paggps:
Hello.

I am having something weird while at the gym and recording that activity under the "Other Workout":

I have the watch giving me the audible statistics ("audio guide") every 5 minutes (workout time, kcal, etc) even if I have set "Guide Frequency" to None. The setting is in the Gear S3 S-Health, Other Workout / Guide Frequency, I have set it to NONE.

But it seems that the setting it is not saved in the watch becuse once and again I find it again set to " every 5 minutes", and it gives the audio guide ALWAYS, every 5 minutes.

This is very annoying if listening to music via BT: it is interrupted every 5 mins.

Anyone having also this issue ? Any solution?

Thanks !
[Samsung Gear S3] Msleade1:
There is a separate guide frequency on the S3 itself. Before you start the workout scroll down to the bottom.
[Samsung Gear S3] Petscheb:
I've been having this problem also. I've gone into the SHealth app on the watch many times and changed it to "none", yet it just resets to 5 mins. Very frustrating!
[Xperia Z2 Q&A, Help & Troubleshooting] quickiwiki:
I can see the following quite often in dmesg

<3>[ 2695.992006] mmc0: CMD52: Command CRC error

<3>[ 2695.992024] mmc0: SDCC PWR is ON

<3>[ 2695.992033] mmc0: SDCC clks are ON, MCLK rate=100000000

<3>[ 2695.992043] mmc0: SDCC irq is enabled

<3>[ 2695.992166] mmc0: MCI_TEST_INPUT = 0x0000003e

<3>[ 2695.992259] mmc0: got_dataend=0, prog_enable=0, wait_for_auto_prog_done=0, got_auto_prog_done=0, req_tout_ms=10000

<3>[ 2695.992274] mmc0: PM: sdcc_suspended=0, pending_resume=0, sdcc_suspending=0

<3>[ 2695.992285] mmc0: RPM: runtime_status=0, usage_count=2, is_suspended=0, disable_depth=0, runtime_error=0, request_pending=0, request=0

Does that mean that eMMC is having hardware issues?
[Xiaomi Redmi Note 3 Questions & Answers] DS Kushwaha:
In future' its support 5g services?