yashsingh1/xdaforums huggingface dataset:
[Moto E4 Guides, News, & Discussion] zoofie666:
NOTE: The below IS NOT Boost Mobile stock, it's sprint will update when I figure out Boost Stock

The sprint stock does fully work with the Boost Mobile device, LTE/data services seems to not work until you do a Factory Reset (in settings). ##72786# didn't work. It is now working for me fully after the factory reset from settings. The boost apps automatically install after the factory reset and after the celluar setup on first boot.. My Boost, etc.

After a few times of flashing and re-setup I've ended up with HFA error 701 which asks me to contact service provider to configure the device for service. Fixed by turning phone off for 20 minutes to an hour and the activation processed correctly.

If your experience differs, let us know!

Restoring to Stock

Install Motorola Drivers

Download RSDlite v6.2.4: http://rootjunkysdl.com/files/Android Programs/RSDLite6.2.4.zip

Download the Sprint firmware file: https://androidfilehost.com/?fid=673368273298975628

Rename the zip to sperry.zip, the reason for this is to avoid the long file name error in RSD in some locations

Let the flashing process complete

Some people reported RSD not working in Windows 10, this is not fully true, install all moto and android drivers and it will show up fine as seen in below image

http://imgur.com/a/vdQxG

Thanks!,

rootjunky for RSD mirror

moto firmware team for the e4 stock 7.1.1
[Moto E4 Guides, News, & Discussion] diego0125:
Have you check if this phone have gsm bands?
[Moto E4 Guides, News, & Discussion] Mensarius:
USA or International Variant?

Do you have the USA or international variant of the phone? The only bootloader unlocking guide I've found was for the international variant. :(
[Moto E4 Guides, News, & Discussion] andMego:
Read the root thread
[Moto E4 Guides, News, & Discussion] amarc78:
[MENTION=8454248]zoofie666[/MENTION] were you able to actually flash the moto g5 twrp or did you just boot it? I can get it to boot with fastboot but I get a not signed or corrupt error when trying to flash it.
[Moto E4 Guides, News, & Discussion] andMego:
You can only boot it
[Moto E4 Guides, News, & Discussion] amarc78:
Yeah, I came to that conclusion. Just read it elsewhere also. I'm going to see what I can do about building twrp.
[Moto E4 Guides, News, & Discussion] kartik verma:
is it possible to take backup of Moto E4 stock rom with RSD lite ?
[Moto E4 Guides, News, & Discussion] amarc78:
Not sure, but you can do so by booting the Moto G 5 twrp with fastboot. Restoring works also.
[Moto E4 Guides, News, & Discussion] andMego:
For the international variant?
[Moto E4 Guides, News, & Discussion] amarc78:
I have the Boost Mobile variant.
[Moto E4 Guides, News, & Discussion] amarc78:
Is there anyone with the Boost Mobile variant that made a working system and boot backup? If so, could you please upload it for me? Mine got corrupted somehow and won't restore.
[Moto E4 Guides, News, & Discussion] hitokage004:
[MENTION=5768732]amarc78[/MENTION] You should be able to use the Sprint firmware posted by zoofie666 - Boost is Sprint's prepaid brand.

The weirdness with the activation on Sprint/Boost seems to be normal, because I had trouble with two phones recently. The first was a retail unlocked e4 (to be used on Sprint), done before rooting, and activated at a Sprint corporate store last week by a rep who had trouble. The second phone was a retail unlocked Moto g4 Play (also to be used on Sprint), that I rooted first, got the SIM and back-end computer part taken care of by a rep at the same store yesterday, and did the rest myself.
[Moto E4 Guides, News, & Discussion] amarc78:
Yeah, I know all about that. I've already made a stock rom zip with sprint firmware but I want Boost so I can make a zip for that.
[Moto E4 Guides, News, & Discussion] CodyF86:
I can provide a backup of system but already rooted / disabled dm verity before I took the backup so /boot you'd have to snag the stock kernel, let me know if you want the nandroid tho.
[Moto E4 Guides, News, & Discussion] amarc78:
Dang bro, you pop up everywhere I go around here, lol. Remember me from the moto g helping getting data on cm? Your the one who posted the nasa gif when we got it right? Anyway, I would gladly take what you have rooted or not, and any other imgs you would be so kind to provide me with. I was about to buy another now that they're $20 cheaper than when I got my first. I knew that would happen. I wanted to get my wife one anyway. I was a dumb ass and ran a flash all script for sprint stock firmware and forgot to remove everything but the system sparse chunks. So now I really need full stock firmware. Thanks a lot for responding man!
[Moto E4 Guides, News, & Discussion] SykkNyzz:
I member..... 5.1 for falcon was a trial.... imma be getting this device next month. Love seeing the future happening before my eyes
[Moto E4 Guides, News, & Discussion] andMego:
Hey, don't you have a LG volt?
[Moto E4 Guides, News, & Discussion] apinkshidae:
Hello guys, i have two questions:

a) after you unlock bootloader on this device, is it possible to flash the non boost (international e4) rom on it? if so, have you done it?

b) i used to have a moto e2 from boost mobile (xt1526) and did this with the unlocked international e2 rom (xt1527) and i was able to use my gsm networks with it as i dont live in the U.S and CDMA bands dont work in my country, would it be possible with this device too? Because GSM bands are embeded in snapdragon chipsets, so flashing a stock unlocked firmware should make it work, but i want to know if you have tried it
[Moto E4 Guides, News, & Discussion] hafiz_binshah:
you bought boost variant?? If yes, could you make calls without any tweaks outside US?
[Moto E4 Guides, News, & Discussion] apinkshidae:
No, i ended up buying Verizon variant, i was able to unlock gsm bands but not bootloader
[Moto E4 Guides, News, & Discussion] hafiz_binshah:
You live outside US, right? Does the Verizon Moto e4 capable to make phones calls? I have a moto g4 play Verizon, it can't make calls without additional app.
[Moto E4 Guides, News, & Discussion] apinkshidae:
Yes i live in Venezuela and my moto e4 from verizon can make calls and send sms without any problem, moto g4 play from verizon too is known for not being able to make calls just data but e4 works fine
[Moto E4 Guides, News, & Discussion] hafiz_binshah:
yes, I know the g play have only data. I have one before. that's only why I just asked you. thanks for confirmation.
[Moto E4 Guides, News, & Discussion] Thexmastermind:
I saw something somewhere(of course now I can't find it again) about tethering. Anyone know how to by pass the cap?
[Moto E4 Guides, News, & Discussion] fountain1:
Wifi tether router app, except that you will have bandwidth limit 1 mb on sprint / boost stock rom, they seem to have built in smth to restrict data bandwidth for this app. however, if you download any vpn app and launch it before launching wifi tether router , it will give you full speeds.
[Moto E4 Guides, News, & Discussion] Thexmastermind:
Any recommendations for router app? I've tried like 8 and none seem to work.
[Moto E4 Guides, News, & Discussion] madbat99:
If you're rooted just edit your buildprop for tethering to work.
[Moto E4 Guides, News, & Discussion] Thexmastermind:
Building? Build.prop?
[Moto E4 Guides, News, & Discussion] madbat99:
D'oh. Lol, yes buildprop. Stupid autocorrect.
[Moto E4 Guides, News, & Discussion] Thexmastermind:
What would I change/edit there? I'm just learning about build.prop.

Edit: Did some googling. Add this line?

net.tethering.noprovisioning=true
[Moto E4 Guides, News, & Discussion] madbat99:
Yep.

1. you must be rooted.

2. add the line:

net.tethering.noprovisioning=true

to your build.prop file

3. From a terminal emulator app, run the following command AS ROOT:

settings put global tether_dun_required 0

4. Reboot

For most buildprop editors, you don't put = true at the end, you add the line and set it's value to true
[Moto E4 Guides, News, & Discussion] Thexmastermind:
Does this only fix USB tether or wifi or both?
[Moto E4 Guides, News, & Discussion] madbat99:
I haven't used USB tethering, just WiFi hotspot. And Bluetooth tethering works too.
[Moto E4 Guides, News, & Discussion] Thexmastermind:
As of now, I'm using wifi hotspot built into phone with my xbox360. My nephew is testing if it's working by playing destiny. So far, nothing has come up as far as hotspot usage in the my boost app since we've been connected. No VPN or 3rd party app. I did notice my Xbox wouldn't connect if VPN was active though.
[Moto E4 Guides, News, & Discussion] madbat99:
I've heard some say boost will register usage. I'm on virgin mobile and won't turn on unless you pre pay for it. But this method allows it to work and no usage gets recorded. But boost might.
[Moto E4 Guides, News, & Discussion] Thexmastermind:
I've gone up .2 GB in about 45 min of connection. So it still registers usage on boost, but I feel like we may have gone through more than that?
[Moto E4 Guides, News, & Discussion] madbat99:
Hey bro check this thread for some tips on how to get past boost registering usage.

Seems to be these lines

ro.config.nocheckin=1
ro.config.dun.nocheckin=1
net.tethering.nocheckin=1
[Moto E4 Guides, News, & Discussion] Thexmastermind:
I'll give it a go!

Edit: I've added those lines to build.prop just testing now. We're watching YouTube videos, would that be decent test for speed or should I try something else?

Edit2: did a speed test clocked [MENTION=919381]760[/MENTION]kbps
[Moto E4 Guides, News, & Discussion] fountain1:
tried on sprint, didn;t work, got 10 gb and connection slowed down to 32 kb/s... did I do smth wrong? phone is sprints moto e4..
[Moto E4 Guides, News, & Discussion] Thexmastermind:
What's your plan, if you don't mind me asking?
[Moto E4 Guides, News, & Discussion] fountain1:
Sure, my my plan is BYOD unlimited which includes unlimited hotspot for up to 10 gb and speeds slow down to 32 kb/s
[Moto E4 Guides, News, & Discussion] PimpMy5Ton:
Yes
[Moto E4 Guides, News, & Discussion] Bender0112:
Moto e4 boost

Hi, I'm kinda new here. I just wanted to say that I got the Moto e4 rooted but there is a bit more than you posted in this thread. I had to use Moto g4 twrp as a booted recovery. Not flashed. And I then pretty much followed your instructions. All went well..
[Moto E4 Guides, News, & Discussion] madbat99:
Why not just use the Twrp that's made for this device?
[Moto E4 Guides, News, & Discussion] Bender0112:
Moto e4 boost

I was reading over tons of threads and I could only find people having issues. So when I finally decided a method to use and give it a go, that is what I came across. Using motog5 twrp as boot and then flash like u said.. do you have a link to a twrp that is for this device and working properly.??
[Moto E4 Guides, News, & Discussion] madbat99:
I see you already found it. Sorry I didn't get back sooner. Most ppl having trouble, did something wrong. Don't do a factory reset from settings. It's an issue in alot of twrp builds. You'll get a recovery loop. If you do, you just have to boot to bootloader then system.
[Moto E4 Guides, News, & Discussion] Bender0112:
Hey thanks a lot.. I do have twrp working proper and I also flashed the reserectition ROM.. With magisk. Both working great. I love this ROM. It is super fast. So far bug free..
[Moto E4 Guides, News, & Discussion] carnivalrejectq:
Does data and everything work on that rom?
[Moto E4 Guides, News, & Discussion] PimpMy5Ton:
CDMA data doesn't work on any of the custom roms, still waiting on a fix for it :)
[Moto E4 Guides, News, & Discussion] carnivalrejectq:
Damn lol
[Moto E4 Guides, News, & Discussion] madbat99:
https://xdaforums.com/moto-e4/how-to/e4-qualcomm-los-cdma-data-fix-discussion-t3690873/post75305034
[Moto E4 Guides, News, & Discussion] synaethe:
Will unlocking the bootloader and flashing the Sprint firmware provided in this thread enable the phone to be used with other carriers like T-Mobile? Or will the phone be still locked to boost prepaid only?
[Moto E4 Guides, News, & Discussion] :
The only way you can unlock a Boost phone is to have it activated at least 1 year I believe, and call Boost customer service to ask them to unlock it.
[Moto E4 Guides, News, & Discussion] Bender0112:
UPDATE. Still no cellular activity.. At first I actually was able to use my phone, calling and text and WiFi.. Now after playing around experimenting, swoping roms doing different things. I have managed to make it to where I have no base band.. I tried going back to stock, recovery and all, and mucked things up.. I did get it to boot but I realized I still had all my apps and that's when things started going south.. Com.android.whatever errors left and right.. So I factory reset.. And could not get out of the Google sign in at the beginning because of the errors popping so fast.. And luck is my computer crashed.. I run Linux mint right now.. So my Mcgyver as borrowed a chromebook, put it into development mode and ran flashback from my external drive, and let me tell you.. That was new. But I managed to get back twrp and now I'm on xperia.. Still no baseband.. But running well..

---------- Post added at 08:38 AM ---------- Previous post was at 08:34 AM ----------

UPDATE. Still no cellular activity.. At first I actually was able to use my phone, calling and text and WiFi.. Now after playing around experimenting, swoping roms doing different things. I have managed to make it to where I have no base band.. I tried going back to stock, recovery and all, and mucked things up.. I did get it to boot but I realized I still had all my apps and that's when things started going south.. Com.android.whatever errors left and right.. So I factory reset.. And could not get out of the Google sign in at the beginning because of the errors popping so fast.. And luck is my computer crashed.. I run Linux mint right now.. So my Mcgyver as borrowed a chromebook, put it into development mode and ran flashboot from my external drive, and let me tell you.. That was new. But I managed to get back twrp and now I'm on xperia.. Still no baseband.. But running well.. So I had to learn chrome operating system and moto e4 at same time.. DIDNT DO BAD. ONLY took from 8am till 6 pm.. Shoot my head hurts..
[Moto E4 Guides, News, & Discussion] madbat99:
There are some Google apps in stock that ,if removed, will not let your phone boot if you factory reset. Sounds like those were removed. Have you flashed the stock firmware with rsdlite? (Or fastboot flashed the .img files). There are modem files and such in the stock firmware.

I see you said you went back to stock, was it with stock firmware package? Or just your twrp backup?
[Moto E4 Guides, News, & Discussion] Bender0112:
I have the software but no way to run it. Most all the tools like Rsdlite and many other update tools are. Exe... I am running Linux and have not figured a way to run it.. I have tried to run it in wine and play on Linux. But no USB support. I don't have a machine good enough to run Windows virtual machine.. So basically I'm stuck on that..
[Moto E4 Guides, News, & Discussion] Bender0112:
It was a xml package I found somewhere. I'll post link when I find it.. Filename is

(xt1766_Sperry_sprint7.1.1_NCQ26.69-56_Cid50_subsidy-default_regulatory-default-cfc.xml.zip)

I extracted using Archive manager.. Which left me with the files in the picture I attached here.... Then basically I found Motorola development page which gave a set of instructions to flash there development models and it had basically all same file names.. So I followed it.. The only thing I did not flash was bootloader.img and gpt.bin. Somewhere I read not to do It so I didn't.... After, I Did not erase username.img or cache.img it said it was optional.. So after all that when I rebooted it booted straight up.. Still had my apps from custom room installed.. But like I said.. It was just a few seconds later it was updating it started giving all the com.android errors.. Com.android.phone. Was the most persistent one of all.. Oh I flash with fastboot commands from my Linux mint 18.cinnimon desktop Terminal emulator as su...
[Moto E4 Guides, News, & Discussion] Bender0112:
More specifically I flashed this files.. Here in second uploaded pic..
[Moto E4 Guides, News, & Discussion] cw-sooner:
Boost moto e4

I have only manged to get the bootloader unlocked at this point and I don´t have data with Sprint DM continuing to try to ¨configure service¨. After reading more on this Boost thread about people having problems with no data after rooting, I don´t know if I want to go that far yet although I may not be able to put the phone back to a state where I have data again or not. I haven´t gotten that far in researching it yet.

Are all Boost e4 owners who´ve rooted had the problem with no data and is it worth it to those who don´t have data for now?
[Moto E4 Guides, News, & Discussion] madbat99:
The no data issue is only on custom roms
[Moto E4 Guides, News, & Discussion] borispavlov:
friends i have an E4 xt1766 is unlocked for GSM networks. Now i am asking if anyone knows a rom which i can flash in twrp to remove sprint apps and customisations.

Thanks
[Moto E4 Guides, News, & Discussion] Bender0112:
Hey bud.. This is one of my favorites.. When I flashed it though I had lost the ability to use my cellular data. Basically all I had was Wi-Fi.. But I am pretty sure they have put a fix out. So I suggest do a little research before flashing..

https://androidfilehost.com/?w=files&flid=223811

Good luck and happy flashing.

---------- Post added at 08:36 PM ---------- Previous post was at 08:19 PM ----------

Also just a friendly reminder, make sure to always take a full nandroid backup and ensure that you have it saved to a external location for safety.. You could end up like me without one.. Which if you need help at all I have put countless hours into learning that phone via losing everything over and over again until I got it how I wanted it.. I have many links and much software on an external that I will share ..Although I still have no cellular. It is only because I am lacking a sufficient computer right now to do the work from.. So I Bought a new phone for the moment.. I will say these guys have done great work in development and are superb when it comes to being there for you when you need help.. So if at all possible try to give contribution. Every little bit helps to keep these guys working.. Most of them do the work in there spare time and spend unimaginable hours and countless nights working hard to bring us their knowledge so we can enjoy the fruits of their labor to ensure freedom of information. .. If you run into trouble in available.. If I don't immediately contact u back I usually am on here at least once a day doing research so ill get back to you..
[Moto E4 Guides, News, & Discussion] madbat99:
Dude, if you have, sprint, boost or virgin mobile, there is a twrp flashable stock rom.

https://xdaforums.com/moto-e4/moto-...perry-sperry-stock-roms-t3757848/post75749222

You shouldn't flash any custom roms on CDMA like sprint unless you have the apn fix. But the stock rom should fox you up if all you did was flash a rom to break it. As long as you didn't wipe oem or modems or anything.

And that guy you were quoting said he's using GSM so that doesn't apply to him.

---------- Post added 3rd March 2018 at 12:00 AM ---------- Previous post was 2nd March 2018 at 11:58 PM ----------

But are you actually able to use it on GSM? All of the roms work on GSM, but I'm not sure about a CDMA e4 being used on gsm
[Moto E4 Guides, News, & Discussion] borispavlov:
yes am using on Gsm network, its a boost E4
[Moto E4 Guides, News, & Discussion] madbat99:
Then I can't say for sure if custom roms will work. Just gotta make a backup in twrp and try. Can't hurt. Report back with results if you try, might help someone.
[Moto E4 Guides, News, & Discussion] Bender0112:
Madbat99,

Hey man just looked at profile seen u live in NO.. That's what's up. I live n Biloxi.. Anyways. Hey I do have the apn-conf.zip and blob.zip as well but unfortunately I frickin found somewhere that I could. Open up an xml extract the system.imgsparse the recovery.img oem.img the boot.img and maybe a few other .img files and oh and fng.ing I think and a modem.img .. The problem I ran into was I frickin couldn't remember the exact process off top weather to erase each one thru fastboot first or erase one then flash it before moving to next.. So I ended up on Motorola's website and the only thing I could find was the dev model stuff and I found all the commands to flash .. The last thing it had me do was flash modem then erase modemst1 and modemst2.. I thought it was weird. But it was motor website so I said f it and did it.. Well I restored a sprint factory to my boost. Which I've read is normal and would fix itself.. All went good it rebooted I had factory sprint but it gave com.android errors for the apps that was still there because I never erased data or cache.. Oops.. So I factory reset.. I ran to another problem when it rebooted. I was getting com.android errors so fast I couldn't do anything else and low and behold I All ready flashed factory recovery because I was try n to relock bootloader.. I was driving tired and had a headache at that point so I went to bed.. I did fix it I got everything good.. But now won't read baseband.. No modem.. And I ended up putting it down and buying a new phone.. Havnt picked up since..

---------- Post added at 08:12 AM ---------- Previous post was at 08:09 AM ----------

No rsdlite I only have linux on all my stuff. I run Ubuntu 16. Kali. And mint with cinnamon desktop.. All 32bit because of one gig ram on this old ass up..so everything is slow as crap.. And I can't do allot of what I need at all..
[Moto E4 Guides, News, & Discussion] madbat99:
A member posted up a twrp flashable stock ROM for sprint/boost/virgin, not sure if it has modems in it though. Sounds like you did it pretty much right, let me look around a bit.

And maybe you should have done fastboot erase userdata

Or format data any other way besides factory reset. And I wouldn't relock bootloader unless you are 100% certain everything is done.

Yeah, I'm in New Orleans.
[Moto E4 Guides, News, & Discussion] Goose03:
[MENTION=7417067]Bender0112[/MENTION] here's a flashable modem.img/fsg.mbn pulled from my E4 when I had it activated which makes a difference whether or not it will work. The updater script also has the erase modemst1/st2 commands like stock firmware. It should clear up any lost data connection and missing baseband issues. As long as your flashing it on the newest stock ROM. It won't help while running the older firmware or a custom ROM.

https://www.androidfilehost.com/?fid=962187416754465456

I'll add it to my stock ROM thread.
[Moto E4 Guides, News, & Discussion] Bender0112:
Hey last nite I gave that rom a go and no matter what I did I ended up booting up to the setup just like a new phone.. But just like before when I pued the zips from the xml and flashed it didn't even let me get past my Wi-Fi password when it started giving the com.android.phone errors to point of the second you click ok it reappeared not letting me do jack.. I tried a bunch of ways.. From tarp I first when to . Wipe/advanced and did every last wipe.. System dalvic cache internal data. All but external and both.. I thought surely that would be fine.. So I flashed rom and got error.. Failed with exit node 7 I think.. So I wiped cash then did no opt verify. It went well.. Then rom flashed then magisks. Then I rebooted back to tarp then did a wipe cache then rebooted system. I got excited because I made to sign in.. Then errors.. So I started over. This time I did all the same but I couldn't get rom to flash.. So I went to wipe and did format data typed yes.. Did a tarp factory reset plus advanced and wiped everything. Basically I got it to flash just like b4 but still com.android.phone errors.. Wtf..
[Moto E4 Guides, News, & Discussion] Goose03:
It sounds to me like you never updated to the newer firmware. Or you only flashed part of it and not the complete firmware package. The new and old modem, oem and ROM don't work together. They have to be all from the same firmware or it will cause the exact problem your describing.