yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] annoyingduck:
Moto G4 Plus US Variant XT1644

Build# MPJ24.139-64 Android 6.0.1

Stock Unmodified TWRP Backup

Stock Recovery.img & Logo.bin​

Description:

I could not find ANY stock images for the US XT1644 variant so I made my own for others that have modified their system partition and wish to restore to a factory state and take the 7.0 update. Backup created on a factory reset unmodified stock build (not previously rooted/xposed/modified in any way) via fastboot booting TWRP w/system write disabled. Stock recovery and logo extracted via DD from stock rooted rom after TWRP backup was made. I pulled the recovery and logo images as these are the most commonly modified partitions (other than the system). This backup will work if you stayed on 6.0.1 and rooted/exposed/changed boot logo/etc. If you played with the 7.0 updates made for other variants, I honestly don't know if this will work for you to take the OTA as the bootloader/modem were likely modified - Test and let us know.

Directions:

-Have ADB working on your PC (google it, not getting into that here)

-Download TWRP backup here: https://mega.nz/#F!vBgU3QJB!R5J5RgZkvUiWHwmIfN6BkA

-Move backup to your proper TWRP backup location on your sd or external sd

-Restore backup via TWRP and reboot

-Download stock recovery & logo images here: https://mega.nz/#F!eBpB3Z5C!J6hoLKdfcObSLavWCsLnyw

-Power off device/plug into pc/hold volume down for 5 seconds/press and hold power & volume down until fastboot appears

-Move files to adb location (Windows) or open terminal where you downloaded the files (Linux) on your pc

-Verify connection

fastboot devices

-Restore stock recovery:

fastboot flash recovery recovery.img

-Restore stock logo (if you changed it previously to get rid of warning):

fastboot flash logo logo.bin

-Reboot and enjoy stock 6.0.1 and be able to take OTA
[Moto G4 Plus Guides, News, & Discussion] panchoarcia:
You are the mvp here!

I have the exact model, and it worked out great

When I was setting up as a new device, it showed some errors like SystemUI stopped working, and File Manager, theres a way to fix that?

Will it show any problems in the future? Of those same ones?

My Compilation Number is "MPJ24.139-48", should be ...64

In stock recovery says i'm at MPJ24.139-64/65

Edit* I had to flash a XT1625-XT1644 MPJ24.139-64 Firmware, then I wiped the OS with TWRP, then I restored your backup and worked like a charm, now running 6.0.1 MPJ24.139-64 with no problems :laugh::good:
[Moto G4 Plus Guides, News, & Discussion] annoyingduck:
You must have been on the release prior to the one I was on when I got the phone this December. Something is not matching up. You likely have a different bootloader, and modem. When I get a chance I'll extract as many partitions that I can get access too for fastboot flashing. I'll try to do it later on this evening. It really sucks Moto won't give us full firmware for this phone.
[Moto G4 Plus Guides, News, & Discussion] panchoarcia:
I Will flash stock xt1644 firmware 64, then i restore your backup
[Moto G4 Plus Guides, News, & Discussion] pupamonkey:
Does XT1644 have an OTA available now? I didn't think it was pushed yet.:confused:
[Moto G4 Plus Guides, News, & Discussion] panchoarcia:
It's not available, we're still waiting for it, that's why we flashing stock firmware again
[Moto G4 Plus Guides, News, & Discussion] bmeek:
Thanks for doing this! It's essentially what I did to get the marshmallow update (restore stock system & boot via TWRP, then recovery & logo via fastboot).

Please let us know when you see moto/Lenovo push out the nougat update via OTA!
[Moto G4 Plus Guides, News, & Discussion] sublimeace:
you are the champ!! i have exact same model but i am yet to update to 64 release as i just got the phone today. Just doing some research before i grease my hands! thanks man!
[Moto G4 Plus Guides, News, & Discussion] bmeek:
Sigh... Sitting here in California with an XT1644. I restored the last official stock firmware (Marshmallow Build #: MPJ24.139-64), and the OTA update simply check says my "Software is up to date!". With India variants having received Nougat back in December, I'm wondering WTF is taking so long?

I'm mostly interested in getting the updated baseband, as I'm now running [MENTION=4551757]Silesh.Nair[/MENTION]'s unofficial LinageOS Nougat with few issues. I guess I'll keep waiting for the official modem update for this device in this country.

Hmmph.
[Moto G4 Plus Guides, News, & Discussion] annoyingduck:
Yeah, the US variant xt1644 still has not gotten the 7.0 update. So friggen annoying!! That's basically what I'm doing too, waiting for is the official OTA just for the radio. I'd rather have the 7.0 baseband/firmware before I start flashing any custom roms.
[Moto G4 Plus Guides, News, & Discussion] daboo55:
where to check?

i have the us variant from best buy as well , but i twicked it a lot .

How can i know when a nougat release is available? where can i check .
[Moto G4 Plus Guides, News, & Discussion] Hymizzle:
Where did you find file XT1625-XT1644 MPJ24.139-64 Firmware?

Did you flash it in TWRP as a zip file or fastboot?

Did you still have to fastboot stock recovery & logo images?

I'm on a unlocked bootloader/TWRP installed/rooted on MPJ24.139-48. Trying to get back to STOCK.
[Moto G4 Plus Guides, News, & Discussion] panchoarcia:
If you flash a XT1625-XT1644 firmware and you use it "normally" on a XT1644, at some point you will have ghost touch even with low brightness, but...

For upgrading, I'll recommend flashing XT1625-XT1644, (cause there's no

...139-64 XT1644 firmware, just a firmware for both)

Flash it via fastboot, boot it up, flash TWRP recovery, wipe the full system with it, download the TWRP backup that was posted here, restore it, then via fastboot flash the stock recovery (for removing TWRP) and stock logo, then you will have MPJ24.139-64 with no problems, just waiting for nougat OTA for retus version.

Here's the link for retus firmwares: https://mirrors.lolinet.com/firmware/moto/athene/official/RETUS/
[Moto G4 Plus Guides, News, & Discussion] TheDude1998:
didn't work from be coming back from flashing nougat firmware, didnt expect it to just pointing it out :)
[Moto G4 Plus Guides, News, & Discussion] annoyingduck:
Yeah I wouldn't think so, but thanks for letting us know.
[Moto G4 Plus Guides, News, & Discussion] bmeek:
getting the Nougat OTA

So now that an update to Nougat is getting pushed to xt1644 devices in the 'States, I'm having some challenges successfully applying the update with my unlocked bootloader.

I believe I've got the correct system, boot, logo & recovery images; I'm able to boot up, download the OTA, and initiate the update. Unfortunately, the update process eventually displays the green android character on its back with the red error symbol.

I was hoping to get the update, with the proper local and updated baseband, without going all the way back to stock with the locked bootloader, etc.

I know i had taken the October Marshmallow security update OTA with an unlocked bootloader... Can anyone share the minimum requirements for the current Nougat OTA?

Edit: I went ahead and returned my US xt1644 to the latest stock Marshmallow firmware (MPJ24.139-64) via fastboot and the script commands listed in this post by [MENTION=7920082]yeshwanthvshenoy[/MENTION]. Though I left the bootloader unlocked, the phone booted up and went through the OTA Nougat update process without any issue.

I stayed on the new/updated stock Nougat ROM just long enough to confirm that it's working well I'm on my network (Verizon LTE/CDMA), then I flashed [MENTION=4493088]Shreps[/MENTION]' build of TWRP 3.1 and backed up every partition before restoring [MENTION=4551757]Silesh.Nair[/MENTION]'s LineageOS-based InvictaOS. At last I have an up-to-date baseband (M8952_70030.25.03.62R) and appear to have no issues on custom Nougat ROMs - fingerprint registration works fine, for example.
[Moto G4 Plus Guides, News, & Discussion] dedik46:
If i fash stock mm via adb will my bootloader still unlock? and if upgrade via ota, bootloader still unlock too?
[Moto G4 Plus Guides, News, & Discussion] annoyingduck:
Yes your bootloader will still be unlocked unless you specifically enter the oem lock command. Read the tutorials, they all explain how to keep your bootloader unlocked.
[Moto G4 Plus Guides, News, & Discussion] Deleted member 6742307:
I had the exact same issue, and your solution worked perfectly. It's unfortunate how difficult Motorola has made it to find the stock firmware for the XT1644.
[Moto G4 Plus Guides, News, & Discussion] andriux1990:
Which of these 5 download? .
[Moto G4 Plus Guides, News, & Discussion] echo92:
If you're after the latest US Marshmallow firmware for XT1625 or XT1644, the MPJ24.139-64 build looks to be the one you want (4th one down, 2nd from the bottom, dated 2016/10/05, 1.2 GB in size). The other XT1625/XT1644 ROMs look to have the right firmware listed (139-48, 139-49 and 139-64 were released in the US, as far as I recall) though they're older than the 139-64 firmware.
[Moto G4 Plus Guides, News, & Discussion] calinb7:
How did you extract flashboot images from TWRP file structure?

Are you talking about the Linux command, "DD" or do you mean "disk drive." Can you please tell me how you did this? (Perhaps just an example of the command line you used will be sufficient.

I have a TWRP backup of the same MPJ24.139-64 build, which I made before I rooted my phone, but it's not quite as "virgin" as your backup. I don't know how to extract logo.bin from it and I need the stock logo. Where is logo located in the TWRP backup?

Not knowing the answers, your post and links to your shares is a lifesaver for me!

Thanks. If you can help me learn to do this myself, I'd sure appreciate it (and who knows who else might benefit from my use of the knowledge someday!

-Cal
[Moto G4 Plus Guides, News, & Discussion] annoyingduck:
The images are not contained within a TWRP backup, those images were extracted from a stock rooted rom using the DD command within adb shell (yes, the standard Linux DD command). Here is an excellent guide on using adb and extracting images using DD: https://xdaforums.com/showthread.php?t=2450045
[Moto G4 Plus Guides, News, & Discussion] calinb7:
Okay--that makes sense. Thanks for the quick reply and the links. I restored my TWRP /boot and /system partitions and used fastboot to flash your logo.bin. I'm no longer rooted but have not received an OTA copy of Nougat yet. (When I was rooted, I froze the Motorola update process using MaidSD.) Now I have to study more here on the forums to figure out how to get it! I'd rather get it via the wifi at the public library than OTA.

Thanks again for your help!
[Moto G4 Plus Guides, News, & Discussion] calinb7:
Problem with logo.bin in archive.

I had a problem with my XT1644 with your logo.bin image (recovery.img in the archive is okay) so I had to download the full ROM from FileFactory to get logo.bin and take the Nougat update. Before my Nougat update, I had MPJ24.139-64 Android 6.0.1.

Your logo.bin is 16.8MB but the correct file is only 1.9MB.

I used http://www.filefactory.com/file/3sqq4smnt511/XT1625-XT1644_ATHENE_RETUS_MPJ24.139-64_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

from

http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=created&order=DESC&show=100&page=2

Thanks,

-Cal

Edit: For anyone who needs the logo.bin file from the FileFactory archive but doesn't want to download the full gigabyte+ file, I uploaded the FileFactory logo.bin and recovery.img files here. The recovery.img is the same as the one provided in the OP's link (as verified with diff utility) but only this logo.bin worked for me to restore my phone to stock and take the Nougat OTA.

https://mega.nz/#!Z3onnSTQ!YGY-6JgWrl46kushTzo_TUoRUBU0UQoZ-ksCRnjMf9Q
[Xiaomi Mi 5s Questions & Answers] OberZine:
Hello,

I'm looking into getting the mi5s (not the plus)

Not sure which one to get! But want to spend the least money.

To explain I have cloud storage, Google...

I stream everything to my phone, so 64GB storage should be plenty, but 128GB sounds tempting as I could store more videos and music.

The question I'm asking is, is there a noticeable difference between 3GB RAM and 4GB RAM?

If I could afford it now, I would go for the more expensive option, but right now I can only afford the 3GB RAM 64GB ROM version.

So should I hold out to get the 4GB RAM version just for the extra 1GB RAM? Like I say I can make do with streaming my stuff, as where I live, work and play there's always WiFi or 4G.
[Xiaomi Mi 5s Questions & Answers] bananasiong:
More RAM is always welcomed in Android.

I have 4GB 128GB version. With MIUI global 7.1.5, available RAM is always 1GB or less.

There's only 1 game app installed.
[Xiaomi Mi 5s Questions & Answers] gnazio:
Exactly he same on my 3GB version, ~1GB free.

The fact is you can use the free RAM as a parameter.

The only OS I know that flush memory immediately is Windows, all the other OS I know give it back when need because the others use it also as "cache".

I don't have any problem with mine and the whole OS+apps are very smooth and fluid.

I would say, if you are on budget, buy 3GB version now. If you wait and you use free RAM as parameter 4GB will not be enough and you'll have to buy a 6GB device.
[Xiaomi Mi 5s Questions & Answers] OberZine:
Atm I'm still rocking the Moto x play, and I've always got 500MB RAM free, so having a gig free on 3GB RAM phone will be an increase for me.

Would it be it be possible to block ads on the mi5s without rooting? As I want to be able to use android pay.

Edit: just realised I can block ads without root, using adblock or dns66. Though will android pay still work?

I'm thinking of getting the 3GB version.
[Xiaomi Mi 5s Questions & Answers] Carlosbgx:
Still remember that Moto is Stock Android and that Xiaomi is MIUI, so i guess its heavier, if u know what i mean. If u r running that low maybe your option is going for the 4GB 128GB but not the Mi5S, 'just' the Mi5 lol

The mi5 is great and it actually has development, but the Mi5S basically nothing apart from MIUI official ROMS. So the Mi5s doesnt have cm or anything like that to go to just in case u rnt sure about miui and prefer to go back to aosp
[Xiaomi Mi 5s Questions & Answers] literadesign:
That is true. But that's temporary. When Xiaomi releases kernel sources for Mi 5s, there will be much more development as device has very affordable price for the hardware it provides which does make it rather popular...
[Xiaomi Mi 5s Questions & Answers] v0ne:
Mi 5s have cm ported :good: Right now, mi 5s have LineageOS and CM13 ported by Xiaobai112220
[Xiaomi Mi 5s Questions & Answers] Carlosbgx:
Great then :)

Was planning to buy one of those, but ill probably wait till mi6 hehe
[Xiaomi Mi 5s Questions & Answers] :
Where can this port be found? I would love to try it out, or is it still being tested?
[Xiaomi Mi 5s Questions & Answers] dzontra83:
https://drive.google.com/file/d/0B_SYQSdSx0sqa3UxQU5wYzJ4Yzg/view

And download open gaaps for 6.0 and install with the rom
[Xiaomi Mi 5s Questions & Answers] v0ne:
All you need to knw about the two (2) roms are here https://xdaforums.com/mi-5s/help/cm-to-support-mi5s-t3498417/page19

CM13 https://drive.google.com/file/d/0B_N06BmAJ75aM0dEU3g3NFRmelU/view?usp=drivesdk

LineageOS https://drive.google.com/file/d/0B_SYQSdSx0sqa3UxQU5wYzJ4Yzg/view?usp=sharing

Btw, lineageOs is more stable.
[Xiaomi Mi 5s Questions & Answers] OberZine:
The thing is I want to be able to use android pay
[HTC Typhoon] pgerrish:
I have successfully moved from Orange UK to T-Mobile UK and got MMS etc.. working after lot of problems. There are a few simple issues I would like to do and wondered if somebody could help.

Speed Dial position 1 is "reserved" for voice mail (presumably orange) - how do I change this?

Can I edit Start Menu item 4 to remove Orange folder?

On web icon at page bottom left hand strip of Orange desktop links to Orange web etc..- How do I edit these?

The only Bluetooth service I can find is DUN - can I install any others?

many thanks

Paul

Sheffield UK
[HTC Typhoon] princepavs:
well i can help a lil on this one... use smart explorer or resco explorer... then go to windows.. then u will find start menu folder... go to it then simply delete or edit da folder.. u dont want to use or see remembr if u use resco explorer it will ask for registration & smart explorer will ask to but will work better... :)
[Moto G Android Development] Dio_S:
MIUI 8 Global for Moto G 2013 Falcon!!

The wait is over!​

Features

-Dual Sim (Working)

-Native root

-Gapps Added

-Advanced Power Menu

-Version Center Clock

-Support for Xposed PS.: Do not report problems if using xposed

-Compatible on f2fs and ext4 /data

What does not work properly?

-Mobile network signal doesn't displays correctly sometimes (No SIM card) > FIX (2-Tap in power button)

-Secured WiFi hotspots doesn't work > FIX temporary: Install FoxFI app

-Custom Apns are not saved, but edit an existing one is possible

Install Guide:

-Don't forget to backup your files

-Reboot to recovery

-Copy the ZIP to phone storage

-Wipe Dalvik/ART Cache; System; Data; Cache in recovery

-Install ZIP

-Reboot and enjoy !!!

-First boot may take 10 to 15 minutes "wait..."

PS.: Guide to import and apply themes out of the store

##################################################

Download ROM

MOD Center Clock Version (7.2.xx): Here

Remove Mod Center Clock: Here

MIUI 8 Global Falcon - 7.2.18:

Download Theme Grey for Settings:

Download here

[IMG="preview"]http://i.imgur.com/DKPjmQX.png[/IMG]

[IMG="preview_1"]http://i.imgur.com/GlGCJ27.png[/IMG]

##################################################

Thanks to:

[MENTION=5275680]kowakx[/MENTION]

[MENTION=4811442]marcomarinho[/MENTION]

Prince.Paul.K's Moderator Miui Forum

Xiaomi by Patchrom

UkkyMS's (Miui Desing Team) for bootanimation

XDA:DevDB Information

MIUI 8, ROM for the Moto G

Contributors

Dio_S

Source Code: https://github.com/MiCode/patchrom

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

ROM Firmware Required: TWRP (3.0.x-x), Unlocked bootloader

Based On: Lineage OS

Version Information

Status: Beta

Current Beta Version: 7.2.18

Beta Release Date: 2017-02-18

Created 2017-01-11

Last Updated 2017-02-18
[Moto G Android Development] Dio_S:
Changelog:

(2-18-17) - Version 7.2.18

*Rebase to Lineage OS

*Security patch 01/01/2017 > special Thanks to [MENTION=5696327]anderson mendes[/MENTION]

*Fix three fingers screenshot

*Fix issue image in recent app

*Fix reboots to switch input method language

*Fix FC in quick ball

*Fix issues in MiuiTheme cannot be used after flash xposed

*Added T9 dialer support

*Changed icons forUSB charging and switching keyboards

*New - Swipe to delete Lockscreen notifications

*New - Home screen settings added to the Settings

*New - Added Audio Settings

*Updated Gapps

Changelog from previous versions:

(1-19-17) - Version 7.1.19

*Updated gapps

*New wallpaper for lockscreen

*Added support for variants CDMA (XT1028/XT1031)

*Navbar Black for keyboard and others apps (miui apps "white")
[Moto G Android Development] Dio_S:
reserved
[Moto G Android Development] himu_joy:
awesome!!! only rom I didn't tested yet.

DS support?
[Moto G Android Development] Dio_S:
Yes
[Moto G Android Development] ralp88:
really wait is over. flashing right now. thanks !! [MENTION=7096343]Dio_S[/MENTION]
[Moto G Android Development] JackyGreen:
No CDMA again? Well, still thank you for your great work
[Moto G Android Development] Dio_S:
falcon_cdma is compatible.

All variants Falcon is compatible.
[Moto G Android Development] ralp88:
mobile data doesnt open and cant access to internet. any solution ?
[Moto G Android Development] JackyGreen:
My friend has compiled a MIUI8 when Xiaomi released the source code of MIUI8, he repaired very few bugs and test it in falcon_cdma

RIL worked fine, but he thought MIUI8 is too stunky for a phone with 1G ram:eek:, so he stopped developing on it

After I requested again and again he finally found the rom file in his old drive and shared his MIUI8 with me

I tested it

RIL works perfect, then I got confused and asked him：“Why your MIUI is working with CDMA?:confused:"

He said some changes to the ROM will fix CDMA issues, but I don't understood what he was talking about (I'm not a developer:()

I was very exited about finding your MIUI8 and flashed it as soon as I can, then, you know:(

I don't think your MIUI8 is really uncompatible with CDMA, I believe you just need some changes, mabey you can learn the trick from his Flyme5
[Moto G Android Development] Dio_S:
I said that it is compatible since the base used CM 13 official snapshot is also
[Moto G Android Development] JackyGreen:
CM 13 official snapshot is also uncompatible with CDMA, but I tried an unofficial version, it is compatible with CDMA:fingers-crossed:
[Moto G Android Development] Dio_S:
I will look
[Moto G Android Development] kiodo1981:
Is MIUI camera working?
[Moto G Android Development] SunitTalwar:
No this rom does not have miui camera

Now this rom has lenovo (moto) camera by default :D

[MENTION=7096343]Dio_S[/MENTION] Awsome work here bro way too faster rom than previous built ,great work even faster than miui 8 on my xiaomi phone :p
[Moto G Android Development] haldson.parente:
some Fcs

but i like it.
[Moto G Android Development] jbanti:
finally u did it bud.. finally wait is OVER.. Thanks Man.

its working on DUAL Sim too COOL......
[Moto G Android Development] Eurofighter_ty:
The performance of the ROM seems okay, everything is fast & fluid :) For the battery I can't say anything beacuse I didn't install any apps or used more than 15-20 minutes.
[Moto G Android Development] Dio_S:
Added some prints for section "screenshots"
[Moto G Android Development] Danick8989:
Thanks for your work!

The Rom is pretty stable, but performance is a little laggy and sometimes when i press Home or Recents button in the Navbar the phone soft reboots!

Also the root seems to be not working properly
[Moto G Android Development] juancmb:
Thank you so much!!
[Moto G Android Development] TheRoyalSeeker:
Everything working fine [MENTION=7096343]Dio_S[/MENTION] and I really appreciate your work. Awesome ROM man.

For those who think root isn't working properly, install magisk 10.2 and phh superuser.

Here are some screenshots.
[Moto G Android Development] Mcccc1:
root

how to root

have archive to root on recovery

i needly
[Moto G Android Development] shabeeb chirakkal:
Great ROM

Great work man. The rom is fantastic, smooth, without lag. Everything works fine except the custom APN. This is my daily ROM now!!!
[Moto G Android Development] BryanByteZ:
Go to magisk subforum and flash phh su from magisk then magisk 10.2 after that install from Playstore magisk manager and phh superuser app.
[Moto G Android Development] slipknot31:
I think I will wait because there are many things that do not work or work badly for what I read
[Moto G Android Development] TripleMax:
Open Superuser and go to setting and Access and Default access to "Grant" fixed root issue in my case.

I have an another issue. I can't change the region. After change the region and reboot that always back to "China"
[Moto G Android Development] abeloman:
Any workaround for fix APN?

Enviado desde mi falcon mediante Tapatalk
[Moto G Android Development] Danick8989:
I got the root working, but i still have the reboot issue when i press home or recents on navbar. I think it have something to do with the little ram available
[Moto G Android Development] sk_nair:
BUG!

when using whatsapp .. the phone restarts itself.. think it is a memory management issue.. have tried clearing dalvik cache and cache memory.. still the problem exists.. kudos to the developer for this rom! awaiting a solution sooner :)
[Moto G Android Development] ralp88:
i am using whatsapp too but i dont have any problem. did you try uninstall and reinstall whatsapp ?
[Moto G Android Development] sk_nair:
yes i did reinstall whatsapp .. still the rebooting issue persists :(:(:(:(
[Moto G Android Development] shabeeb chirakkal:
Fix

You can try my fix: edit an existing APN. You cant create one, but edit one was my fix for that. Sorry for my bad english :P