yashsingh1/xdaforums huggingface dataset:
[LineageOS Questions & Answers] papperlapapp:
Hello,

LOS 17.1 2020-12-15 on a Moto G7 plus.

Installation went thru with no error messages.

NFC,Wifi works. But no cellular/mobile networking, no telephony, "no service" message at the top bar.

When trying to dail a number, I get the message "please disable flight mode", flight mode actually is disabled.

In the settings the SIM is detected, IMEI is detected.

Chosing different network types, like LTE,GSM did not help.

Is this a known bug in 17.1, or is this a device specific bug? Any hint what I could do? Downgrade to previous LOS version?

I read somewhere someone suggested to use

fastboot erase modemst1 +2

But that made things even worse (lost IMEI, SIM not detected at all)
[Samsung Galaxy Note 20 Ultra Questions & Answers] Yossim766:
Hi

I have note 20 Ultra N986B version.

After I flash custom rom I notice that the device model in about phone I'd "N950F.".

Strange.

I don't know if it change in last flash or before.

How can correct this issue?

Thank you.
[Samsung Galaxy Note 20 Ultra Questions & Answers] raul6:
unfortunately, it maybe that it is the model name that's wrong
[Samsung Galaxy Note 20 Ultra Questions & Answers] Yossim766:
That I know.

My question is how to fix it.
[Xiaomi Mi 9 Questions & Answers] WahyuWiji:
Hi, I want to ask about why my phone can’t charge but when i put headset on , the headset is connected

Xiaomi Mi9

#sorry for my bad english
[Samsung Galaxy A40 Questions & Answers] TapioH:
Hi, so i have a A40 with completely shattered screen - unresponsive + black screen.

I would like to know if there's any chance of me getting the files that are on the phone through adb or fastboot. Problematic here is the fact that phone is OEM locked.

I cannot enable USB debugging with just keys, or can i?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] edgett:
Can you remap the softkey that silences an incoming call?

Ideally, I would want the right softkey to silence the call (instead of Send Text Message) and the left softkey would immediately answer the call.

Any help would be appreciated.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Vampire2800:
Me too, have searched & searched with no success.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] monx®:
I think if u scroll down ur jogwheel, the incoming call ring will silence.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Vampire2800:
Yes, but it's the convenience of the "old school". Just hit the soft key or touch the screen in the bottom right hand corner & the call silences, ya know.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] monx®:
I think it is HTC Dialer/ROM version related bc if I'm not mistaken there is Dismiss/Silent option when incoming call notification popup. Sorry I dont remember exactly because cant test incoming call to my phone rite now :p
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] edgett:
I think my original message must have been confusing.

What I want to do is remap the left softkey to be an answer key.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] monx®:
why dont just press ur call button?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] NotATreoFan:
As stated earlier, it is a feature of the dialer that Dutty used. Install a different dialer, and your left soft-key will return to "Answer".
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] AllTheWay:
You did not follow the fules.

Post a ROM specific question in that thread.
[General Questions and Answers] StrickerBRA:
Hello there

I've recently buyed a Redmi 9 and the single bottom-firing speaker was not the greatest, so ive searched for earpiece sound mods and only found some apps that SWITCH the sound source to the earpiece, but disable the bottom speaker (i also find some mods that require rooting the phone, but the app one from Play Store did the trick just fine). And that make me wonder if the kernel is able to redirect the source to the earpiece why there isnt any app that "duplicate" it to both speakers.

Later ive found the various Xiaomi phones mods that people made on YouTube, but none to my specific phone, Im not afraid of rooting it but the redirecting app made me question if all the trouble was really need.

The final question im here to make is, is there any app that behave as i described on the begining of the thread, if not, the other devices mods can work on my phone (since there is no one specific yet) or it will most prbly have driver erros due to different devices?
[Moto G5 Plus Guides, News, & Discussion] DwightKBrute:
My 3 year old Moto G5 Plus running android 8 suddenly restarted a few days ago and went into Start up failure. It no longer shows My product or IMEI number. It just shows potter 000000000000000 32GB P3B

Bootloader logs read " Start up failure. Your device didn't start up successfully. Use the Software Repair Assistant on computer to repair your device. Connect your device to your computer to get the Software Repair Assistant" written in red.

I have my IMEI and product numbers saved on my pc in a notepad file, but the LMSA software does not recognise my device to even try to rescue it. I want to retrieve files from my phone before attempting a factory reset.

On using the LMSA, it says "lmsa doesn't match appropriate firmware. you can try to select a firmware manually" but then it has no option to select anything manually. I have my phone previously registered on the software on my PC.

I have not rooted my phone, nor used anything other than stock android. My bootloader is locked. I cannot remember if I had Developer options selected or not, most probably not.

On trying to go to recovery mode it says the same message " Start up failure. Your device didn't start up successfully. Use the Software Repair Assistant on computer to repair your device. Connect your device to your computer to get the Software Repair Assistant"

When I connect the phone to the computer, it recognises it (I hear a notification sound) and under Devices it shows under Unrecognised as "Fastboot potter s"

I've never flashed my phone but would it be possible to recover the files in the internal storage of the phone by installing TWRP (in a non rooted, bootloader locked phone) without data loss?

How does it work?

Please help! I really need to recover my photos and notepad notes. Is there any way? Any software?

Is there any way to flash stock ROM without losing data? I haven't attempted anything in the off chance that there is a way to recover internal storage data. It's absolutely essential to me. I don't care about the phone, I'm gonna replace it anyway.

If I can even switch on the phone for long enough to backup data from the phone, it will be enough.

I read in another thread that downgrading a Moto with a locked bootloader will hard brick the device. This thread. My bootloader/oem is locked. I've attached a screenshot from when I once connected my phone to LMSA a few weeks before it crashed, it showed my current version I was running at the time. I never got around to taking a backup of the phone, then.

These are the screens I get. I try to charge the phone in fastboot every day to keep it from dying completely.

I'm desperate.
[Moto G5 Plus Guides, News, & Discussion] DwightKBrute:
Also Lolinet seems to be down. I tried to download RETIN firmware from the link you provided, but I only get

404 Not Found

nginx

What to do now?

I downloaded the firmware from Motorola Stock Room. Will that do?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
I downloaded the firmware from Motorola Stock Room. Will that do?

[/QUOTE]

I also recognised that lolinet.mirrors has some problems but it seems it's been working on it (see attached screenshot).

The firmware from Motorola Stock ROM should work, it's the same build and also the last firmware for the Moto G5+ so no risk of bootloader downgrading.

Let me know if you were successful.

View attachment 5162915

Edit: No way to save your data from an unroofed device with locked bootloader, I'm sorry.

You can omit the "fastboot erase userdata" command (see above thread) to save your internal storage when flashing the firmware but as you have problems with your device a complete clean start may be the only solution. But you can give it a try.
[Moto G5 Plus Guides, News, & Discussion] DwightKBrute:
I also recognised that lolinet.mirrors has some problems but it seems it's been working on it (see attached screenshot).

The firmware from Motorola Stock ROM should work, it's the same build and also the last firmware for the Moto G5+ so no risk of bootloader downgrading.

Let me know if you were successful.

View attachment 5162915

[/QUOTE]

I will follow your instructions on this post.

The download from the Motorola stock room has adb, flashboot and everything else (including a .bat file) in its folder.

View attachment 5162925

View attachment 5162923

How can I use your .bat file (from the link you provided) instead of the one from Motorola Stock Room?

Also I want to preserve the internal storage, so I can erase the fastboot erase userdata command. But how do I open the .bat file? There is no open with option.

View attachment 5162927
[Moto G5 Plus Guides, News, & Discussion] DwightKBrute:
Also since I'm missing my IMEI and SKU, should I keep the erase modemst1 and fastboot erase modemst2 commands in the file?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
I will follow your instructions on this post.

The download from the Motorola stock room has adb, flashboot and everything else (including a .bat file) in its folder.

View attachment 5162925

View attachment 5162923

How can I use your .bat file (from the link you provided) instead of the one from Motorola Stock Room?

Also I want to preserve the internal storage, so I can erase the fastboot erase userdata command. But how do I open the .bat file? There is no open with option.

View attachment 5162927

[/QUOTE]

Copy this content and put it into a notepad:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot erase modemst1

fastboot erase modemst2

fastboot flash dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.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 system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash oem oem.img

fastboot erase cache

fastboot erase userdata

fastboot erase DDR

fastboot oem fb_mode_clear

fastboot reboot

Delete the fastboot erase userdata line and save it as .bat file (if your notepad has no option to save it as .bat save it as .txt and change the ending from .txt to .bat by hand).

And deactivate your Windows Defender when doing that and also when using the .bat file.
[Moto G5 Plus Guides, News, & Discussion] DwightKBrute:
Copy this content and put it into a notepad:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot erase modemst1

fastboot erase modemst2

fastboot flash dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.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 system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash oem oem.img

fastboot erase cache

fastboot erase userdata

fastboot erase DDR

fastboot oem fb_mode_clear

fastboot reboot

Delete the fastboot erase userdata line and save it as .bat file (if your notepad has no option to save it as .bat save it as .txt and change the ending from .txt to .bat by hand).

And deactivate your Windows Defender when doing that and also when using the .bat file.

[/QUOTE]

So let me just recheck the steps.

1. Downloaded the firmware from Motorola Stock Room

2. Downloaded and installed Mini Adb.

3. Extracted the firmware to the same folder as the mini adb

4. Deleted the .bat file already present in the extracted firmware folder from MSR. Replaced that with the .bat file you have provided.

5. Erase userdata command removed.

6. Run the .bat file.

7. Wait for flashing to complete

Yes?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
I will follow your instructions on this post.

The download from the Motorola stock room has adb, flashboot and everything else (including a .bat file) in its folder.

View attachment 5162925

View attachment 5162923

How can I use your .bat file (from the link you provided) instead of the one from Motorola Stock Room?

Also I want to preserve the internal storage, so I can erase the fastboot erase userdata command. But how do I open the .bat file? There is no open with option.

View attachment 5162927

[/QUOTE]

Download (or copy) my flashallO.bat file delete,the erase userdata line

So let me just recheck the steps.

1. Downloaded the firmware from Motorola Stock Room

2. Downloaded and installed Mini Adb.

3. Extracted the firmware to the same folder as the mini adb

4. Deleted the .bat file already present in the extracted firmware folder from MSR. Replaced that with the .bat file you have provided.

5. Erase userdata command removed.

6. Run the .bat file.

7. Wait for flashing to complete

Yes?

[/QUOTE]

Sounds ok. The bat file has to be copied into the ADB & Fastboot folder (mini ADB) too.

Deactivate Defender and start the bat file.

Be patient.

And collect as many data from the flashing process as possible (screenshots etc.)
[Moto G5 Plus Guides, News, & Discussion] DwightKBrute:
Well. I wasn't able to get many screenshots, it happened too quickly. But the phone is still stuck on fastboot, but this time the fastboot reason is given as: Last time flashing failed.

Oh well. I'll try again without removing the flashboot erase userdata?

failed to validate recovery image
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Seems your device has problems to erase partitions before flashing new stuff to them. Maybe search for blankflash files.
[Moto G5 Plus Guides, News, & Discussion] DwightKBrute:
Where to find the blankflash file?
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
https://mirrors.lolinet.com/firmware/moto/potter/
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
Hello. I have a rooted Moto G5 Plus (Magisk) and I have also installed a Custom ROM with TWRP. I want to unroot the device and return it to absolute stock. Will this guide work in that case? If no, can anyone direct me to the correct guide?
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
The above guide https://xdaforums.com/t/guide-moto-g5-plus-flashing-stock-firmware-rooting-2021.4205293/ should be helpful for you. Flashing the latest signed stock firmware as described in the first part will take you to absolute stock.

A few points to take care of:

- Make sure that you chose the correct firmware for your location.

- Don´t delete the fastboot erase userdata command from the flashallO.bat so that it will be omitted because some parts of Magisk or other root apps may reside at that location.

- You have to

erase everything

to be on the safe side.

- So save your internal userdata like pictures, documents, music etc. to a PC or a SD card before you start the

process!

- Flashing stock will overwrite the recovery.img (TWRP) and the boot.img (Magisk) so you don´t have to unroot or reflash stock recovery.

If you want to relock your bootloader too (remember that you won´t get to the "nerver unlocked" state again, the device will flag the bootloader as "has been unlocked" even when you lock it):

-After flashing stock firmware open a command prompt in the ADB & Fastboot folder again and give the following commands one by one or use the attached relockO.bat file. the same way you did it with the flashallO.bat:

relockO.bat:

relockO.bat

drive.google.com

fastboot oem lock
fastboot oem lock
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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash boot boot.img
fastboot oem lock

You can do that anytime, it hasn´t to be right after the firmware flash.
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
I flashed the ROM today and everything went well, except the IMEI is 0 and I cannot use VoLTE. What can I do?
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
What does getvar all say?

post it here after you remove imei line.

fastboot getvar all
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
(bootloader) version: 0.5

(bootloader) version-bootloader: moto-msm8953-C0.92

(bootloader) product: potter

(bootloader) board: potter

(bootloader) secure: yes

(bootloader) hwrev: P3B

(bootloader) radio: 6

(bootloader) storage-type: emmc

(bootloader) emmc: 32GB SAMSUNG RX14MB RV=08 PV=07 FV=0000000000000007

(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=5F

(bootloader) cpu: MSM8953

(bootloader) serialno: ZY2244FVLG

(bootloader) cid: 0x0032

(bootloader) channelid: 0xc0

(bootloader) uid: 10E5EE5600000000000000000000

(bootloader) securestate: flashing_unlocked

(bootloader) iswarrantyvoid: yes

(bootloader) max-download-size: 534773760

(bootloader) reason: Volume down key pressed

(bootloader) meid:

(bootloader) date: 05-23-2017

(bootloader) sku: XT1686

(bootloader) carrier_sku:

(bootloader) battid:

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time: "Thu Aug 30 2:39:28 UTC 1973"

(bootloader) ro.build.fingerprint[0]: motorola/potter_n/potter_n:8.1.0/O

(bootloader) ro.build.fingerprint[1]: PSS28.85-13-3/72e4:user/release-ke

(bootloader) ro.build.fingerprint[2]: ys

(bootloader) poweroffalarm: 0

(bootloader) ro.build.version.full[0]: Blur_Version.28.201.4.potter.reta

(bootloader) ro.build.version.full[1]: il.en.US

(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08600-89xx.0

(bootloader) version-baseband: M8953_41.50.07.82u POTTER_INDIADSDS_CUST

(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g70fa69f (hud

(bootloader) kernel.version[1]: soncm@ilclbld35) (gcc version 4.9.x 2015

(bootloader) kernel.version[2]: 0123 (prerelease) (GCC) ) #1 SMP PREEMPT

(bootloader) kernel.version[3]: Wed Oct 10 11:58:58 CDT 2018

(bootloader) sbl1.git: git=MBM-NG-VC0.92-0-gd009c3b

(bootloader) rpm.git: git=92e5e21-dirty

(bootloader) tz.git: git=26cc248-dirty

(bootloader) devcfg.git: git=26cc248-dirty

(bootloader) keymaster.git: git=26cc248-dirty

(bootloader) cmnlib.git: git=26cc248-dirty

(bootloader) cmnlib64.git: git=26cc248-dirty

(bootloader) prov.git: git=26cc248-dirty

(bootloader) aboot.git: git=MBM-NG-VC0.92-0-g3ea8df0

(bootloader) frp-state: no protection (0)

(bootloader) ro.carrier: retin

(bootloader) current-slot:

(bootloader) slot-suffixes: _a

(bootloader) slot-count: 1

(bootloader) slot-successful:_a: INVALID

(bootloader) slot-successful:_b: INVALID

(bootloader) slot-bootable:_a: INVALID

(bootloader) slot-bootable:_b: INVALID

(bootloader) slot-retry-count:_a: unknown

(bootloader) slot-retry-count:_b: unknown

all: listed above

Finished. Total time: 0.062s
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
Have you ever flashed someone else's persist file?
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
No I have not. Only the PixelExp zip and now, the stock rom.

Anyways, after panicking a bit yesterday, I flashed the custom rom again and my IMEI and LTE returned, but I cannot place/receive calls. What can be done if I wanted to stay on the ROM but gain calling capabilities?

EDIT: I'd prefer to have everything working on the stock ROM if possible.
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
Did you flash RetIN firmware from here?

lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors.lolinet.com

XT1686_POTTER_RETIN_8.1.0_OPSS28.85-13-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
I did, yes
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
What's the bootloader screen say?
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
What exactly do you mean?

Currently, when I open the bootloader I get:

AP Fastboot Flash Mode (Secure)

BL: <some_text>

Baseband: <some_text>

Product/Variant: <some_text>

Serial No: <some_text>

.

.

.

Console[NULL]: null

Tools Mode Config: DISABLED

Battery OK

flashing unlocked

Connect USB Cable

edit: Do you mean the "Your bootloader has been unlocked and blah blah blah" Screen?

If yes, then the ID comes as N/A. But when I was on the flashed stock ROM it came as 'bad key'
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
I was curious what the <some text> said.

Bad key is pretty normal for motos

I suggest opening the flash_file.XML in the firmware folder and use the online flashfile converter to get the official flashing commands

https://xdaforums.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
Do I need to be on the stock rom for this? Also, this is another way to flash or..?

EDIT: Okay, so I pasted the XML onto the portuguese website and got the fastboot commands. So, all that I need to do is run those commands like the flashallO.bat mentioned in the original message on this thread? And hopefully this will reinstate the IMEI/VoLTE?

EDIT2: After looking for a bit, these are the same commands as in the flashallO.bat . Don't understand how it will change anything.
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
Very strange that device works on custom rom and not stock.

I would reflash the working rom, and then use LMSA'S rescue option to flash stock. Do not relock the bootloader until stock is working correctly.

https://xdaforums.com/general/general/update-moto-lenovo-moto-smart-assistant-t3951714
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
Okay, so since I am on the PixelExp ROM, I should just use LMSA to flash stock, right? Or should I flash the PixelExp ROM again and then flash stock using LMSA?
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
LMSA requires a baseband and imei to work, if the phone is showing those try LMSA.
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
Yeah, both are visible, but the Baseband is of the custom rom, no?

Both are visible, except the baseband no in the settings doesn't match the one on the bootloader.
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
I would try LMSA,

but I suspect it won't work.

Just about every time I see this in getvar all

(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID

The solution is using a blankflash.

Edit.

It's possible the persist is corrupted

but if LMSA doesn't work I would try a blankflash.
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
Okay, just hear me out.

Is it possible just to get IMEI on the stock ROM? Because I'm probably going to exchange this phone for another phone, so I couldn't care less about the VoLTE.
[Moto G5 Plus Guides, News, & Discussion] DEJAVU54:
@sd_shadow

Are you sure blankflash would work (and restore VoLTE)?

I'd even take VoLTE on Custom ROM for that matter.