yashsingh1/xdaforums huggingface dataset:
[Moto E4 Questions & Answers] motoe4user:
MotoE4 problem

I have successfully rooted my phone using twrp and magisk, but managed to lose my phone's identity, I screwed up because I did not make a backup first. I lost imei and baseband version, now the phone can't have a sim, no CDS info, only Wi-Fi is working. Model is XT1761, single-sim, already searched in the whole forum, couldn't manage to find nothing. Tried various nvram files without success. Please help, I am a beginner, and would appreciate if someone could help me understand better if I can repair this phone. Not my main phone, but still, I would be happy to repair it.
[Moto E4 Questions & Answers] KevMetal:
i don't have time to walk you through it ..you need to search for my guides and use my guides on restoring your imei
[Moto E4 Questions & Answers] motoe4user:
Thanks

thank you very much, I have managed to flash the nvram and nvdata on my phone, I am stuck with that IMEI (123456789 bla bla) because I don't have the BPLGUInfoCustomAppSrcP_MT*** ,so I don't know how to continue... Tried various methods, like maui meta, but it didn't work, because I don't know what is missing exactly. (And now it shows me 2 sim, instead of 1, Sku is 1762, instead of 1761, but I don't think there is a problem with that)
[Moto E4 Questions & Answers] KevMetal:
Okay man glad to hear you are okay.... My guide is 1762 so now your phone thinks it is 1762 but that's fine because everything in the two phones are the same apart from the fact that 1762 is dual sim...

Don't know if IMEI thing can become a problem if a dude on the same carrier as you uses the same guide and ends up with the same IMEI but that would be funny
[Moto E4 Questions & Answers] whodisname:
I wish someone would drop the subrmterfuge and save me an hour on candle searches whilst I KBOW you can like me to a spot from over gere. Want my darkside handle as proof? Gosh man.
[Moto E4 Questions & Answers] madbat99:
Translation? KBOW?
[Moto E4 Questions & Answers] DB126:
Lol - more sleep, less personal chemistry.
[Moto E4 Questions & Answers] nookin:
Can someone tell me how to block the update notifications on my Boost XT1766? It is rooted so that I can edit the APN use it with Tello. I accidentally took the update and I had to wipe everything. Would like to know a simple way to get rid of the system update nagging.
[Moto E4 Questions & Answers] KevMetal:
disable update apk using any root tool application like titanium or sd maid
[Moto E4 Questions & Answers] happymedium22026:
Anyone know how I can find device unlock apk for metro PC's it's not in the playstore or another way to unlock my Moto E4
[Moto E4 Questions & Answers] madbat99:
Unlock?

If it's a metro system app, and you deleted it, or not running stock, That's why it's not there. You need to extract it from the stock firmware. And it likely won't run.

If it's some other type of "unlock" you're out of luck there.
[Moto E4 Questions & Answers] happymedium22026:
So there isnt any way to unlock it?
[Moto E4 Questions & Answers] sd_shadow:
If unlocking bootloader isn't available via Motorola's official website, there is no unlocking.

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
[Moto E4 Questions & Answers] madbat99:
What do you mean "unlock"? Unlock the screen, unlock the bootloader? You said APK, so I thought it was a screen unlock app or something
[Moto E4 Questions & Answers] happymedium22026:
I was talking I was talking unlocking to use with another phone network
[Moto E4 Questions & Answers] beachfl:
https://www.apkmirror.com/apk/t-mob...se/device-unlock-2-2-31-android-apk-download/

I think that should do it. It matches the version number and proper name of the one on my E4.
[Moto E4 Questions & Answers] happymedium22026:
Magisk manager how to fix merge.img mount failed
[Moto E4 Questions & Answers] KevMetal:
flash workaround fix in recovery

or

format data ext4
[Moto E4 Questions & Answers] thatbritishguy:
Stuck in twrp

So I was using a method to root my moto e4 and I'm pretty new to this. After several hours I managed to unlock the bootloader and get into twrp.

Upon installing magisk it gave me error-1

Not entirely sure what that was about but I have seen threads on it.

Though the real problem is whilst messing around changing some files I've somehow totally screwed the phone up.

It wont even turn off. If I try it pop ups "n/a" in the top left of the screen and goes back to twrp.

No matter what I do it says that and then goes back to twrp.

I would REALLY appreciate anyone's help to try and get it back to factory settings as It seems i am destined not to be able to root a phone.

Side note: I also attempted rooting an s7 edge with Odin and when flashing it it always failed. Crazy stuff.

Thank you
[Moto E4 Questions & Answers] madbat99:
N/A is normal. It will be there after successfully rooting.

Booting to recovery is a different problem. While 8n recovery, try selecting reboot - bootloader. If it goes to fastboot mode, try using volume buttons to get to "start". Then tap power. It should boot system.

Before you flashed magisk, did you format data to remove encryption? Not just wipe, ---> format<-

Select wipe, at the bottom you'll see format data. Tap it. Then type yes when prompted.

Do not try to boot your phone if magisk did not install properly. DM verity will not let it boot. Have to flash magisk to remove dmverity.

So...

Format data, type yes

Reboot recovery (not system)

Flash magisk

Now you can boot system. If it still loops to recovery, reboot bootloader, select start. It will still say N/A. Don't worry. It sits there for a bit. Then boots.

If that all works, and you still have to start system from bootloader, report back. I have a fix once you're successfully rooted.

Or if you're done thinking about root, just flash the stock firmware with either fastboot or RSDlite.

Also, you never said which e4 you have. Model number or SKU?
[Moto E4 Questions & Answers] thatbritishguy:
I followed the steps and managed to get back into the phone. Though I got error 1 on flashing magisk 19.0

Root is not installed properly either.

From what I've seen from some other forums is that I need to flash a new rom? I could be wrong.

Thank you very much for your help thus far!
[Moto E4 Questions & Answers] madbat99:
Error 1 is fairly uninformative. Should have saved the recovery log after you flashed magisk. Did it install magisk manager? If not, either extract the APK, from the magisk zip, or get it from the magisk thread and install it. See if it says you're rooted.

I think magisk 19 is still beta, I would have gone with 18.1.

Did you format data to remove encryption before flashing magisk?

You don't need a new rom. You can use fastboot or RSDlite to flash the stock firmware if you want.

If you know the current firmware number that your phone is on now, and hopefully have the full package downloaded (really should have that before even attempting root) you can always extract the stock boot.img from it and start again.

---------- Post added at 11:42 PM ---------- Previous post was at 11:08 PM ----------

@thatbritishguy

I almost forgot, is your phone still booting to recovery instead of system? As in, do you still have to select reboot bootloader in TWRP then start system

If it stopped doing that and boots normally now, you can ignore this, if not

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
[Moto E4 Questions & Answers] happymedium22026:
I'm sorry but I'm not as teckie as you guys but can you explain in dumbie terms what that means we're is the recovery mode and how to get flash fix
[Moto E4 Questions & Answers] KevMetal:
you have posted in E4 thread since the beginning ..albeit sporadically but pretty certain you had magisk & modules installed in the past ...in this link you have all the info you need ..just read it & execute the instructions

-download module zip & put on external sd

-boot into twrp custom recovery you flashed with fastboot

-click install

-select zip from sd

*after magisk modules will work

https://www.google.es/amp/s/xdaforu...gisk-official-version-including-t3577875/amp/

if you have no twrp recovery installed ..google it and install it ...the guides for E4 mediatek have all been written
[Moto E4 Questions & Answers] happymedium22026:
I need to get sd card than
[Moto E4 Questions & Answers] KevMetal:
internal sd is fine
[Moto E4 Questions & Answers] happymedium22026:
ive looked where can i find that APP
[Moto E4 Questions & Answers] KevMetal:
it's in the link above
[Moto E4 Questions & Answers] DB126:
For absolute clarity "internal sd" is a location on your phone, not an app.
[Moto E4 Questions & Answers] happymedium22026:
ive never had modules installed
[Moto E4 Questions & Answers] KevMetal:
well if you have twrp ( team win custom reovery ) installed and you rooted with magisk ..download the .zip file in the link i provided

put it on your phone's internal memory ..boot into recovery using hardware key combination of power + volume ..or use adb command "adb reboot bootloader" .. or using a root reboot app that gives you the option to boot to recovery

click install button ...browse to location of .zip

flash zip ...reboot to system ..install modules inside magisk manager as per usual ..
[Moto E4 Questions & Answers] wavyyyy_sherlin:
I want to change my Emojis with emoji changer but is telling me that my device is not rooted
[Moto E4 Questions & Answers] cincyjohn:
Lifeline carriers/virgin mobile rom?

I had this phone originally from MetroPCS. I have unlocked it and confirmed that the unlock was successful. My question is if anyone knows if this phone will work with any of the Lifeline program carriers. I have been told from Safelink's customer service that it will but I wanted to know if anyone here has tried it themselves before I switch from Assurance Wireless (I've tried putting in the Assurance Wireless sim card and it wont work).

Assurance Wireless works with Virgin Mobile, is there a Virgin Mobile rom available for my xt1765? I think it's worth trying.
[Moto E4 Questions & Answers] happymedium22026:
Magisk manager safety net check both saying false anyone know a fix
[Moto E4 Questions & Answers] KevMetal:
universal safetynet patch
[Moto E4 Questions & Answers] Bagga252:
Help please!!!

Someone please help me restoring nrvam of Moto e4 xt1760 . I don't have any backup of nvram ram. It's not provided in stock rom also. An bp files are incorrect for helping.

Someone Please give me backup of nvram and data for Moto r4 xt1760.

I promise I will change your imei to my stock imei or what I got from company cause I have the box:crying:
[Moto E4 Questions & Answers] nookin:
Well, I tried last night. Titanium backup will not work because I did not set up Magisk. I only used Magisk because I need to enable APN menu for my Boost E4. I wonder if I can use "adb disable" to disable the update app? If yes, what would be the name of the package that I can disable?
[Moto E4 Questions & Answers] KevMetal:
what do you mean you didn't setup magisk ...do you have twrp ? the package has different names in different devices ..i sold me E4 .. so i don't remember ...usually something with fota or ota in the package name...

Run this adb command to get names of all packages

adb shell

pm list packages -e

-look for the packages with fota or ota then run commands below to disable ..they might come back aftee a reboot though ...i would just use file manager in twrp and "cut" the package from system and paste it somewhere safe in case you bootloop so you can paste it back the same waybut this way is permanent for sure...

adb shell

pm disable <package name>
[Moto E4 Questions & Answers] XDADoog:
Hello.

If by any chance, I bought an SPerry? (xt1766), besides the oem unlock, twrp and the no verity, what else do I need to install a custom rom?
[Moto E4 Questions & Answers] McTRASH692:
Hi guys,

I'm a little lost.

Yesterday I installed xposed onto my moto e4. I did a twrp backup beforehand.

it was working fine, rebooted a few time to change settings and such like, also did a few full power down cycles with no issues.

last night the battery went flat. Then the trouble started, I left it on charge for about 3 hours which is normally enough for a full charge.

It failed to boot after this, I restored the backup, still no boot. This morning I have gone to my absolute fallback and flashed the stock rom using sp flash tools. still nothing. The charging port has worn a bit and some chargers wont stay in my device, the one I'm using does and I have a replacement bottom signal receiver board on its way to replace it.

Anyone had a similar issue before and Is it possible that it is just a charging issue? Or could there be further problems?

EDIT: Figured out it was a charging issue however I can't get the TWRP backup to restore properly.

So I am trying to start at stock again but I've run into an issue, If I flash TWRP (using fastboot) when I boot back into system the system is writing over it with the stock recovery, if I boot into recovery first ( by holding volume down when I execute fastboot reboot) then when I try to boot to system it doesn't work.

Am I missing a step? I am 99% sure that last time the system didn't write over with stock recovery.

I've been working on this all day, any help would be appreciated.

---------- Post added at 01:56 AM ---------- Previous post was at 01:52 AM ----------

What have you tried mate?
[Moto E4 Questions & Answers] Thebigcraz:
Not sure what I did. Xt1766 sperry

I had previously rooted my phone with magisk TW RP DM verity. I am not skilled in this and was a long time ago. Phone has been working fine but accidentally updated while was in my pocket the other day and was stuck in recovery boot loop. Friend of mine took it and got it to boo'd up. Magisk is installed it shows I'm getting root access but the bootloader unlock option is not greyed out and phone says it's not charging, but shows it is and my computer will not pick up my phone no matter the USB setting. The wrong I have installed is stock debloated but cannot remember which one it was when I downloaded. Sorry for any typos using voice to text driving down the road. Thank you for any help
[Moto E4 Questions & Answers] HeathKliff:
Am interested in rooting an e4 xt1765

---------- Post added at 06:21 PM ---------- Previous post was at 06:18 PM ----------

Without a PC or computer
[Moto E4 Questions & Answers] RockDoctor:
Restoring a bricked Moto E4 XT-1768

Last year, I made some notes upon successfully unbricking my Moto E4 XT-1768. Given that the older the phone gets, the more likely I or another owner will attempt an update and have it go awry, I thought I'd post my notes here with the caveat, YMMV. My OS was Fedora Linux, and I ran the commands as root from the directory containing the unzipped contents of the zip file. Both adb and fastboot were previously installed .
[Moto E4 Questions & Answers] nabirosama:
Hi guys!

I need your help with my Moto E4 Woods. I left it charging overnight. In the morning, it had a black screen. I tried pushing the power button with no result. I removed the battery and tried to boot again with no result. I thought that maybe an intervention in the TWRP recovery is needed (yes, it is rooted). When I try to access recovery, I have the screen working in the fastboot screen (or whatever you call the screen where you select to launch recovery, factory reset, start, etc...).

Whenever I choose recovery or start, nothing, black screen!!!

It was working on stock ROM, so I flashed it again using SP flashtool. Still the same issue. It works when I push Vol- and power, just to let me choose recovery or start then dive in darkness again.

Could it be a software issue? or hardware? what makes the screen work in fastboot mode then refuses to work when I select start or recovery or even push the power button normally? I might have thought the screen needs replacement, but it works just fine in fastboot. It is really annoying me and would really appreciate your help in the matter.

Thank you in advance!
[Moto E4 Questions & Answers] Haellum:
Hi! First time posting but a lot of questions unanswered, unfortunately.

I don't get much about smartphones, so I'm suffering a lot to do a CrDroid 8.1 Oreo custom ROM installation in my oldie Moto E4 (XT1763), so I'll try to be clear as possible to what I did so someone can help me discover what is wrong.

Had a fight with ADB but won. First checked the OEM permission and USB debugging at Developer Options, did the adb reboot bootloader and finally got the right drivers for fastboot to recognize my device properly.

Got the flashboot oem unlock, now the screen was showing

So I suppose it went well. Did the Developer Options permissions again and all because of the wipe, but after that I went into bootloader again and sent fastboot boot twrp-3.5.2_9-0-woods.img accidentally, then booted my phone but it wasn't flashed, yet. Bootloaded again and then did it in the right order: flashboot flash recovery twrp-3.5.2_9-0-woods.img followed by fastboot boot twrp-3.5.2_9-0-woods.img, but instead of showing me TWRP interface just booted me to my old, now factory reset, Nougat 7.1.1, only showing the "Orange State" message before the boot.

Watched some videos to get a clue and did everything as shown, but I can't get into TWRP Recovery. When I try to manually enter it (Power + VolDown > select Recovery then Enter) I get the killed android with a red exclamation point popping out, so if I hold Power + VolUp then release it shows me the base (?) "Recovery Menu", saying it's the Recovery Mode of the Nougat 7.1.1.

Then I indeed tried to enter "Recovery Mode" from both adb and fastboot, to no avail - the same dead android subbed with "No command". I thought it was TWRP's version, so I flashed 3.4.0, didn't work; flashed 3.30, didn't work; flashed 3.2.2 - the oldest I could find at their site - didn't work either.

Did that accidental

fastboot boot

messed up the whole installation? Is there a solution? If not related, why am I stuck in this loop of trying to enter TWRP and never getting it because my phone just starts normally after the "Orange State" warning but should I force entering the "Recovery Mode" I just get the dead android?

Dunno if I can post this but the guide I'm following is this:

Spoiler content hidden.

Somewhat unrelated question too but, the Moto E4 seems to have a Cortex-A53 CPU, and on it's specifications I've read the following:

AArch64 for 64-bit support and new architectural features

Does that mean that I can install a x64 Android system on my device? If so, if you have a guide or suggestions it would help me plenty. If you don't think CrDroid is a good option either you can call me out, I just want to play some mobile games and save some battery, I work on PCs most of the time.
[Moto E4 Questions & Answers] cloneman1:
I have a new Verizon Moto E4 but my earpiece (call speaker) Doesn't work. Which is weird because it appears to use the same speaker as the loudspeaker/speakerphone, which works.

Confirmed in engineering test mode, the loudspeaker works but the earpiece is VERY VERY VERY faint (mostly inaudible unless shouting @ the other end, and pressing ear against earpiece, you can faintly make out a noise)
[Moto E4 Questions & Answers] :
I would say try a factory reset, and if it doesn't work right after that your speaker is probably defective.
[Moto E4 Questions & Answers] PhoenixGirl:
Yea. Pretty similar to what he said exept I would just send it back and ask for a replacement
[Moto E4 Questions & Answers] ewokmojo:
Is there a simple way to root this phone? Without deencrypting, and flashing SuperSU, yada yada yada... I just need basic root, for now...

(Are all phones to be rooted this way now, except for the Samsung ones?)

Also, I can't get Vlc video player working- the installer states that it's incompatible. Awful.

Thank you.

I have the MetroPCS version...
[Moto E4 Questions & Answers] sd_shadow:
no, you need to unlock the bootloader, and at least boot twrp so you can install supersu
[Moto E4 Questions & Answers] Sean89us:
Hello all,

I recently purchased a Verizon prepaid E4 variant (XT1767PP) and purchased an unlock code for it. Unlock code worked and it works fine on AT&T now, but I'm wondering would it be possible to flash the firmware from the standard carrier-free E4 onto this phone? I'm used to Samsung phones where you can flash whatever carrier variant you want onto your phone, not sure if the same thing applies to this one. The Verizon firmware isn't bad and the minimal bloat can be disabled but sometimes it does complain about a non-verizon SIM.
[Moto E4 Questions & Answers] andMego:
Nope, you can't flash a different carriers firmware.
[Moto E4 Questions & Answers] Sean89us:
I figured as much. No biggie, thanks
[Moto E4 Questions & Answers] mn1968:
[MENTION=2798771]Sean89us[/MENTION] You can uninstall Verizon bloat and the Verizon sim nag. Check here and here, or here. It's a semi-permanent uninstall, meaning it will "stick" during all reboots, however, factory resetting the phone will re-enable/install everything you removed.

I have the Verizon variant and don't get the sim nag. I also uninstalled the Verizon bloat, as well as Youtube, Photos, and Gmail.

I recently got a really good deal on a US Cellular Moto E4 that is basically the same as the retail unlocked version for $130. I use that instead of the Verizon phone now. More about the USC variant here.
[Moto E4 Questions & Answers] Sean89us:
Wow, this is great thank you!

---------- Post added at 02:02 PM ---------- Previous post was at 01:56 PM ----------

@mn1968 Just curious, why change from one E4 to another? Just for the root capability? The Verizon branding on this phone really isn't bad at all.
[Moto E4 Questions & Answers] mn1968:
Root! I thought it wouldn't bother me with the Verizon variant but it did. Couldn't stand the increasing ringtone, and a few other things. I also love all the customization root provides. Now that ROMs are being released, it's the perfect storm. All said and done, I got 2 E4's for about $99. The USC will be for daily use, and the Verizon a backup in case I screw up the USC somehow.
[Moto E4 Questions & Answers] cloneman1:
I found out something interesting about my broken earpiece. It worked briefly yesterday, until I tried the vibration test in engineering mode. Then it stopped working again. With a reboot, _sometimes_ I can get the earpiece of to work. So clearly, the phone needs to be returned.

It would appear to me like the earpiece and speaker are the same internal component, I wonder what the vibration motor has to do with this, maybe they are all tightly connected.
[Moto E4 Questions & Answers] ewokmojo:
Is there anyway to put the battery percentage at the top? I can't figure that out and it's driving me nuts.

I also heard there is a night mode display

easter-egg menu in settings in 7+ to enable night mode. I can't get that working either.

Rudimentary questions...
[Moto E4 Questions & Answers] andMego:
Swipe down from the top of the screen and hold the settings icon.
[Moto E4 Questions & Answers] :
It's really not hard to find. Go to settings and scroll almost all the way down and you'll see system ui tuner. It's in there. The night mode settings are in the moto display app in your app drawer. Also really not hard to find.