yashsingh1/xdaforums huggingface dataset:
[Moto E4 Guides, News, & Discussion] ozmage:
Carlos The Solution Is This One

1. Boot loader unlock (through official Motorola boot loader unlock)

2. Flash twrp / any custom recovery via (fastboot flash recovery recovery.img)

3. Boot to recovery mode, Go to "Mounts" and put a check on "Persist"

4. Open command prompt and copy/paste this command: adb shell chmod 0700 /persist/rfs/msm/mpss/datablock/id_00

5. Reboot phone and insert SIM card (if phone show Invalid SIM card, than you'll have to unlock/re-unlock it via GC Pro or SigmaBox)

6. -------------------> There is no step 6 ￼

This will fix Radio off / No Service problem. Baseband will change to : M8920_15000.280.06.58.05R (Yes, R from E)

after that needs to be unlocked with GC PRO. GCKEYPRO Dongle BOx

...Port list end...

Using Version...1.0.0.0059

Selected Port WCDMA Diagnostics Interface COM449

Selected Model GT-I5500

Selected Task Moto Unlock

Searching phone...

Build...MPSS.TA.2.3.c1-00280-8953_GEN_PACK-1.98137.1.144357.1

No usable adb device found...

Motorola Unlock Started..

IMEI-1 := 99000572069xxxx

SPR Direct Unlock success...

!!! Success !!!!

Restart Phone if not auto...

Total Time Take...00:00:02

Log Saved

Source : >>>>> http://forum.gsmhosting.com/vbb/f783/moto-e4-e4-plus-sprint-no-service-radio-off-fix-2469196/

---------- Post added at 01:24 AM ---------- Previous post was at 01:21 AM ----------

There has to be some place in venezuela where have the box the sigma or gckey pro
[Moto E4 Guides, News, & Discussion] carlosvinuezap:
[MENTION=8371146]ozmage[/MENTION] thanks for the contribution, but I do not know how to do the 1st step, I also think that everyone knows how is the situation in my country, to save the 100 dollars that cost me the phone I had to save more than 2 years and sell a phone of the year 2012, pay a release we would be talking about 20 dollars which would be more than a minimum salary in venezuela, for me that is almost impossible ... if the payment could not afford food or basic services ... must have a simpler way to solve this problem, I do not understand why it has been so complicated ... excuse my ignorance on the subject

[MENTION=7383447]MotoJunkie01[/MENTION]
[Moto E4 Guides, News, & Discussion] madbat99:
Likely because they locked the phones down to carrier more than before. Sprint obviously doesn't want their carrier branded devices to be used on other networks.
[Moto E4 Guides, News, & Discussion] ALI12:
Just for the info guys - the guy who shared this on gsmforum ..::Angel::.. and ALI12 here on xda are same person :) [MENTION=9355256]carlosvinuezap[/MENTION] [MENTION=8371146]ozmage[/MENTION]

I first shared the solution here on xda forum and than made a thread on gsm forum as well...

The solution I posted here and on other forum was tested on more than 40-50 phones (XT1766, XT1776) some of them I did myself and some by my friends. All phones we had were already unlocked and working/other SIM cards, than customers updated their phones with OTA and got "No Service" - thanks to Motorola/Sprint for that... all my phones were on stock firmware, so I am not sure about custom firmware/lineage/RR if this will work or not...

If anyone have Sprint E4, E4Plus with No Service and Radio off (can check radio with this code *#*#4636#*#* -> Phone Information) and their Baseband is: M8920_15000.280.06.58.05E

Then this solution will work 100%: https://xdaforums.com/showpost.php?p=77594769&postcount=248

Ali
[Moto E4 Guides, News, & Discussion] carlosvinuezap:
and how do we who buy the phone released? return to pay to release? [MENTION=342404]ALI12[/MENTION]
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
This is great news [MENTION=9355256]carlosvinuezap[/MENTION].
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
I concur with you 100%. The Sprint compatible variants of Motorola smartphones have a very lengthy history of being network locked and carrier restricted. Back in the days of the Surnia Moto E LTE 2015, the xt1526 Sprint variant shipped with encryption based network restrictions, whereas the /hob, /dhob and /pds partitions were embedded with code to effectually disable domestic GSM functionality. Of course, these partitions were protected read only by the bootloader.

Nowadays, Sprint and its subsidiaries appear to be taking a direct firmware approach to carrier locking their devices, and restricting GSM functionality by way of the stock Android OS itself. When the providers learn of exploits (e.g. that GSM functionality is possible by using a custom ROM), OTA updates are rolled out to patch the loopholes. Such is the case here with the xt1766. However, I'm a but puzzled by the latest OTA restricting GSM support for international owners of the xt1766, as it has always been Sprint's policy to allow UICC unlocking of its devices for international GSM usage. It appears that the latest OTA included code to patch domestic GSM functionality, but that the patch inadvertently disabled international GSM support.

I've been trying for months to get access to Motorola Mobility's mobile provider manifests, which contain source code and information specific to carrier branded variants of Motorola devices. Unfortunately, Motorola's office of general counsel now considers these manifests "privileged work product information." As such, this information is deemed classified and exempt from open records inspection laws.
[Moto E4 Guides, News, & Discussion] madbat99:
That was a much more eloquent (and fact based) explanation of the conclusion I reached as well, based on member testimonials I've read. Of course I was mearly guessing based on the information given. but it seemed to make sense that's what was going on.

You have been truly diligent and your quest to make these Motorola devices better for all.

Hats off to you, [MENTION=7383447]MotoJunkie01[/MENTION]

Seeing your activities in the E5 forum has made up my mind to get one of those devices as soon as I have a minute free to go do it.
[Moto E4 Guides, News, & Discussion] ozmage:
Just MAde The 4 steps and see if the phone get signal if not you need to unlock by box but probably with the first 4 steps your problem can be solved unlock the bootloader and flash twrp and do the command adb inside twrp

---------- Post added at 07:02 PM ---------- Previous post was at 06:55 PM ----------

Step 0 : Enable Developer Options , Enable Oem Unlocking , Enable Usb Debugging , Run Adb On The Computer With The Phone Connected And Authorize ADB , run adb reboot bootloader on powershell or cmd or a terminal if is on linux

1. Boot loader unlock (through official Motorola boot loader unlock) https://motorola-global-portal.custh...-your-device-b

2. Flash twrp 2 times via (fastboot flash recovery recovery.img) https://xdaforums.com/mot...lcomm-t3655160

now [MENTION=9355256]carlosvinuezap[/MENTION]

3. Boot to recovery mode, Go to "Mounts" and put a check on "Persist"

4. Open command prompt and copy/paste this command: adb shell chmod 0700 /persist/rfs/msm/mpss/datablock/id_00

now maybe i dont know you are lucky and the phone gets signal do all this steps i wish you luck

if not happen after this you will need unlock by box but to know you really need to do this steps.
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
[MENTION=5752019]madbat99[/MENTION] thank you for your kind words, and I have no doubt that you would truly appreciate the Moto E5. I've got the Boost Moto E5 Play xt1921-5 and it's a great device for the dollar. And it's Project Treble supported. I've ported LineageOS 15.1 for it and working on a Pie port now. Your presence on the Moto E5 device forum would be great. I consider you to be a very knowledgeable person on Motorola devices and Android in general.
[Moto E4 Guides, News, & Discussion] carlosvinuezap:
(bootloader) invalid boot state :(
[Moto E4 Guides, News, & Discussion] ozmage:
you unlocked the bootloader ?

in here https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b

turn off the phone and turn on with pressed volume down + power and connect the phone to the computer

on the cmd prompt enter : fastboot oem get_unlock_data

read what says in that page
[Moto E4 Guides, News, & Discussion] carlosvinuezap:
When I do the steps to unlock the bootloader, that message comes out
[Moto E4 Guides, News, & Discussion] madbat99:
Dude, I am a [MENTION=7383447]MotoJunkie01[/MENTION] fan. This is my first Moto device actually. I haven't built a rom since Nexus 7 (2013). But I am fairly knowledgeable. If a bit behind the times. Getting old, just turned 42 on the 13th. Built a kernel on my old MetroPCS Galaxy indulge (2.2 froyo). Called it Electric Sheep. It's a reference to an old sci-fi novel from the 60's (before my time of course) about androids becoming sentient. Sounded clever at the time. Lol. But I have much catching up to do. No time these days.

Truly appreciate the kudos.
[Moto E4 Guides, News, & Discussion] Fear of Oneself:
Hello there, I have a Ting mobile/T-Mobile device. This guide successfully fixed my soft-bricked phone.

However, upon rebooting I don't have WiFi/Bluetooth/Cellular connectivity. I just have an error stating "invalid SIM card". I reckon this is because the radio in my phone does not line up with the Sprint/Boost radio. How can I fix this?

Much appreciated
[Moto E4 Guides, News, & Discussion] madbat99:
Looks like you did do something worse trying to fix what isn't broken. Sorry I didn't Answer you in the other thread fast enough. Your phone was never bricked and didn't need firmware restoration.

I explained in the other thread you posted in (twrp)

Did you flash firmware for sprint to a T-Mobile phone?
[Moto E4 Guides, News, & Discussion] Fear of Oneself:
Haha you bet I did! I goofed up because my carrier supports gsm and CDMA networks. They actually sent me two Sim cards when I bought this device. Furthermore they told me over the phone this morning that they're on Sprint for CDMA and T-Mobile for GSM.

To fix the "bad key" issue, I also went ahead and fished flashed the sprint XT1766 stock ROM to fix it. This further broke things, because the radio firmware is incorrect and it wouldn't see any wireless networks. I couldn't read the IMEI, the baseband would show up as "unknown" as well. Also, typing #*06* would crash the dialer.

After about 5 hours of reading posts on XDA I discovered that I must have the MetroPCS XT1765 (note, I have a Ting Mobile Qualcomm e4)

I then reflashed the metropcs stock ROM which fixed the radio issue, but left me with a corrupted ROM filled with sprint and metropcs gunk which would fail to make it through the initial setup. Still, the device was unusable

I then fixed this by flashing twrp, and sideload flashing lineage OS and gapps.

Finally the phone works perfectly again. Took 7 hours of my Sunday, and my wife wasn't impressed. But it works now!

I should post a guide or something, what a mess. I hate phone variants with the same name.
[Moto E4 Guides, News, & Discussion] madbat99:
I did answer you here
[Moto E4 Guides, News, & Discussion] jdcnosse:
So I followed all the steps on this...and now I'm just in a boot loop. It just keeps going "bad key" and then the Android update screen with the colorful circle and "Erasing" then back to bad key...
[Moto E4 Guides, News, & Discussion] carlosvinuezap:
hello @ motojunkie01 [MENTION=342404]ALI12[/MENTION] solve with the steps indicated by you, thanks to [MENTION=8371146]ozmage[/MENTION] I guide me by telegram, effectively I had to unlock the phone again, how can we get this information to Sprint and Motorolla ...
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
Motorola Mobility is fully aware that the last OTA caused radio issues for some device owners on the stock OS. For subscribers of Sprint, Virgin Mobile and Boost Mobile, the issue has been resolved with a server-side config update fix (by updating the PRL and Profile and performing a SCRTN network reset).
[Moto E4 Guides, News, & Discussion] nookin:
What was the radio issue? What is a SCRTN network reset? Does it apply to small carriers like Tello?
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
Tello Mobile does use Sprint's nationwide 4G/LTE network & towers, but the cell radio issue caused by the OTA appears to be specific to subscribers of Sprint, Virgin Mobile & Boost Mobile. So, unless your cell radio experienced problems after installing the latest OTA (on the stock OS), you are not affected.
[Moto E4 Guides, News, & Discussion] sidgallup:
So,after lineage OS was having a Radio Off problem, yesterday i decided to unlock the phone on stock ROM and it worked, now it gives me signal and calls, im not able to edit APNs so i decided to try once again by flashing a custom ROM.

However, now when i try to make a backup of the stock ROM with TWRP latest version, it always hangs at "updating partition details", i let the phone alone and came back after 20 minutes and it was still on that screen, so i turned it off, decided what the hell ill just flash the custom ROM without making a backup, however after flashing the ROM, now it hangs at the gapps installer with the message "mounting persist system vendor".

What could be causing this error? never had any problems making backups or flashing ROMs. Any help appreciated.

EDIT: Ok, **** IT, im done with this and not wasting more time, im back on stock using the package on this thread, everything works fine now, even data, i didnt realize i dont havo to manually put the APN config, it detected it autmatiaclly and its working fine.

Now, i only need some help preventing the phone from ever updating OTA again, is there a file or apk i can completely delete from the phone so it never even detects theres a system update? im giving this phone to a relative and i dont want him to suddenly havo a brick, no signal and having to mess around with it again, im done.

any help appreciated.
[Moto E4 Guides, News, & Discussion] DB126:
If rooted disable (freeze) Motorola Update Services. Works a treat.
[Moto E4 Guides, News, & Discussion] sidgallup:
Would that survive a factory restore? if not, then i need something else, some method to completely nuke updates, COMPLETELY.
[Moto E4 Guides, News, & Discussion] DB126:
Well, no...of course not. If you need (upper case) COMPLETE control invest in a hardware firewall. Or do what everyone else does and disable all radios until you root and subsequently kill the service. Or allow OTAs to download, defer installation and kill the pending download once root is secured. Or some variation of the above.
[Moto E4 Guides, News, & Discussion] madbat99:
Well if you install Twrp recovery, OTA updates should fail.
[Moto E4 Guides, News, & Discussion] DB126:
Jettisoning stock recovery could impact the ability to perform a factory reset as some ROMs have dependencies on items in the recovery partition to pull this off. Never tried it with a Moto ROM.
[Moto E4 Guides, News, & Discussion] madbat99:
True story. Didn't think of that.
[Moto E4 Guides, News, & Discussion] sidgallup:
Ive never been able to flash it on this model, i can boot it temporarily with ADB, but once it boots i dont know how to flash it permanently. Whats the correct way of doing it?
[Moto E4 Guides, News, & Discussion] madbat99:
Put a copy of the TWRP.img on your internal storage as well. Once you boot TWRP, select install, then select install image, then the partition to flash it to (recovery) and select the TWRP.img that you put on your internal storage. Swipe to flash. That should do it.
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
[MENTION=5752019]madbat99[/MENTION] I've had to do that very procedure on a number of Moto & Lenovo devices in order to make TWRP stick to the /recovery partition.
[Moto E4 Guides, News, & Discussion] DB126:
Excellent! Sure beats some of the other ill advised methods I've seen floating around (?? you do the hokey pokey and turn yourself around ...)
[Moto E4 Guides, News, & Discussion] Leodanis:
Hi, recently i recived NCQS26.69-64-10 update, with September segurity update, but when phone restart go directly to TWRP and update fail, how i can update?

Sorry for my english :svetius:
[Moto E4 Guides, News, & Discussion] DB126:
You can't without restoring moto's stock ROM and recovery. Perhaps one day TWRP flashable images will be available for those with custom recoveries. It doesn't appear likely in the short term.
[Moto E4 Guides, News, & Discussion] abarrett79:
Sept 1st security update

Installed a new update from Boost today and phone boots straight to recovery every time now. Backup before you install if you take the risk.

*edit* I gotta scan those last few posts better before I start typing.
[Moto E4 Guides, News, & Discussion] madbat99:
Are you talking about twrp recovery? If so,

This version of TWRP is not reading and clearing the bootloader control block (BCB). So, if you do a factory reset via Settings->Backup & Reset->Factory Data Reset, you'll be stuck in a TWRP bootloop.

The quick workaround is to reboot to bootloader, then proceed from there to Start. However, you'll need to do this *every* time until the BCB is cleared.

To clear the BCB manually, issue this command in TWRP terminal:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1M

Or alternatively, just issue the following command from the bootloader:

fastboot erase misc
[Moto E4 Guides, News, & Discussion] cloudblue:
I'm running stock rom and recovery, with Magisk and Xposed framework. Still, I will not take the latest OTA: NCQS26.64-69-10 until I hear more from you guys. I hear rumors of broken radios and such....
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
Install the NCQS26.69-64-8 firmware using the instructions I provided. Upon first reboot and after initial setup, you will be prompted to install the 26.221.3 OTA. Your device should successfully update to NCQS26.69-64-10, at which time you can reinstall TWRP, root, Xposed Framework, etc.
[Moto E4 Guides, News, & Discussion] cloudblue:
[MENTION=7383447]MotoJunkie01[/MENTION] I'm currently running 69-64-8. Are you saying I should go ahead and take 69-64-10 ??
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
Sure. I have heard of no adverse issues from taking the update. I have taken the OTA and everything seems fine. You may or may not be able to take the OTA with Magisk and Xposed installed. The OTA installer does run checksums for a pure stock boot image. So if the OTA fails, your option will be to flash a full firmware package for NCQS26.69-64-8 first.
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
This is the Blur_Version.26.221.3.sperry_sprint OTA update zip that brings the build up to NCQS26.69-64-10 build version, for any members needing the file for adb sideload or manual installation.

https://drive.google.com/file/d/1jUJKq8f0WhyQcu79t8mqnpDB_Mfb-VzK/view?usp=drivesdk
[Moto E4 Guides, News, & Discussion] MotoJunkie01:
TWRP Flashable NCQS26.69-64-10 Stock ROM thread added:

https://xdaforums.com/moto-e4/moto-.../rom-stock-android-7-1-1-rom-moto-e4-t3851213
[Moto E4 Guides, News, & Discussion] nookin:
Does NCQS26.69-48 still give the "Invalid SIM card" error? i.e. can I use it with GSM without mod?
[Moto E4 Guides, News, & Discussion] madbat99:
I think it's an even earlier build that does that but you won't be able to install it. You can try it without flashing the bootloader or any sensitive partition. But that's a risky procedure because if you accidentally flash the bootloader or one of the other sensitive partitions you'll have a brick. Do not flash gpt.bin or fsg.mbn or the bootloader obviously. I think others have tried it and failed though so it's not recommended
[Moto E4 Guides, News, & Discussion] skullkid383:
Any idea what happened with motojunkies account hope he is ok
[Moto E4 Guides, News, & Discussion] zahidm:
I got same problem than I tried latest Version and flashed via RSD Lite and solved the invalid sim Issue...
[Moto E4 Guides, News, & Discussion] CrazzyGamma:
I am trying to do a system dump on my Moto E4 XT1766 right now not only because mine is running on the latest stock firmware and the latest security patch i want to keep the files just in case but while waiting it seems its stuck at [ 19%] /system/vendor/etc/scve/textreco/textdetector/forestData.bin: 22% is that normal and should i wait or
[Moto E4 Guides, News, & Discussion] Betho180:
Hi everyone, works on Qualcom XT1767 Perry Verizon?

thanks in advance
[Moto E4 Guides, News, & Discussion] madbat99:
No of course not. Title says xt1766 SPerry
[Moto E4 Guides, News, & Discussion] yasir1arafat:
Not able to download above stock ROM files from google drive link, requested access for the files in your google drive. Kindly provide the access for the google drive download link. Thanks!
[Moto E4 Guides, News, & Discussion] madbat99:
Please do no quote entire op.

And the author of this thread's account is disabled. If you look at the first post you will see this by his name. Files are gone.

If you need stock firmware, check

https://mirrors.lolinet.com/firmware/moto/sperry/official/Sprint/

For xt1766
[Moto E4 Guides, News, & Discussion] Hammerdroid:
xt1765? metroPCS?

so time sensitive I cant out it into words

i THINK i see whats going here.... I found my exact build, which is 26.69-64-13... im thinking im gonna extract the package then flash each item?extract just so i have a list of what to flash, even tho i think i just need boot loader & recovery

[

C:\Android\platform-tools>fastboot devices

ZY224TRFL3 fastboot

C:\Android\platform-tools>fastboot flash recovery twrp.img

(bootloader) has-slot:recovery: not found

Sending 'recovery' (15280 KB) OKAY [ 0.585s]

Writing 'recovery' (bootloader) Image not signed or corrupt

OKAY [ 0.473s]

Finished. Total time: 1.251s

C:\Android\platform-tools>fastboot reboot recovery

fastboot: usage: unknown reboot target recovery

C:\Android\platform-tools>fastboot reboot recovery

fastboot: usage: unknown reboot target recovery

C:\Android\platform-tools>fastboot reboot bootloader

rebooting into bootloader OKAY [ 0.010s]

Finished. Total time: 0.012s

C:\Android\platform-tools>fastboot flash recovery twrp.img

(bootloader) has-slot:recovery: not found

Sending 'recovery' (15280 KB) OKAY [ 0.579s]

Writing 'recovery' (bootloader) Image not signed or corrupt

OKAY [ 0.477s]

]
[Moto E4 Guides, News, & Discussion] madbat99:
What are you trying to do? You say firmware, then try to flash TWRP? Are you trying to flash stock? Or root? What?...
[Moto E4 Guides, News, & Discussion] Amphetmine Gene:
I had 1766 that broke so I put the back of it in another Moto e4 plus....just wondering if I have any options...
[Moto E4 Guides, News, & Discussion] objectless:
XT1766

Found the firmware NCQS26.69-64-11 for xt1766

but since I can't post links, go to google and search the above firmware version and you'll find a YouTube vid with a mega download link, and then follow step 5 in MotoJunkie01's OP. Can confirm it works on Boost variant at least.
[Moto E4 Guides, News, & Discussion] madbat99:
1766 is E4. So you put the guts in an e4 plus? It booted? Try to fastboot flash stock firmware.

I don't know what you mean by options. What are you trying to do?
[Moto E4 Guides, News, & Discussion] Amphetmine Gene:
I had a broken e4 and put the chip set from it in the back of an e4 plus...but yeah booted fine. Only way u can even tell is the fingerprint scanner don't have any funtion and a persistent msg saying that mobile I'd cannot be found...but 2 days ago it said mobile I stalled was downloaded...the plus was from Sprint and e4 from boost...was just wondering if I could possibly flash twrp...
[Moto E4 Guides, News, & Discussion] madbat99:
Yeah you can Flash TWRP if you want. you probably won't be able to get that fingerprint reader working because it has the E4 bootloader which is going to stop you from flashing the plus firmware. So does it run as an e-4 or an E4 plus? Boost and Sprint use the exact same firmware on their e4's.

So basically just make sure you use the right TWRP. I would run getvar in fastboot. See what it says. If it says Perry or SPerry, use the t wrp for the E4. If it says whatever the E4 plus is, Owens I think, then use that one