[Help Thread][Moto G4 Plus] (2016) Ask Any Question, Noob Friendly - Moto G4 Plus Questions & Answers

This thread has been created
for
Questions & Answers/Troubleshooting
Specific to
Moto G4 Plus
XT1640, XT1641, XT1642, XT1643 XT1644
Please feel free to share issues, questions and offer help. Noob questions are welcomed.
It is always best to use the Thanks button , in lieu of simply posting "Thank you".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please keep discussion focused, on questions pertaining to this Device
List of supporters​@strongst​@sd_shadow​...​...​...​
To those seeking help: Please don't bombard the supporters with PMs asking for help. Instead, ask your question here in the thread so others can benefit from the solution to your problem as well. If you want to be sure someone particular gets notified of your question, put his / her username directly after an @.​If you have ROM-related questions, post in the relevant ROM Q&A thread (if there is one) or directly in the ROM development thread. Thank you!​​Supporters: If you want to be put on or off the list, just make a request here in the thread!​Before posting anything, I strongly advise you to read​
Forum Rules
[GUIDE] - XDA New User Guide - Getting started on XDA
XDA Tour
[Index]Motorola Flashing Utilities, Firmware, and more
[INDEX] Moto G4 Plus
[HELP] thread for custom ROMs
Please look for a similar thread when visiting another device forum.
If you would like to create a [Help Thread] please Click Here. ​

I'm not planning on adding every Rom or Mod,
but if you have a suggestion for other links
Please post them here.
FAQs
UnLocking the Bootloader
ReLocking the Bootloader
https://forum.xda-developers.com/mo...lus-xt1640-43-athene-npj25-93-t3549369/page43
[Fixing] Baseband <not found> / IMEI=0 / No Network After Flash / Issues
Fixing your Moto stuck in Qualcomm QHSUSB_Bulk or qloader mode
https://forum.xda-developers.com/moto-g4-plus/help/solved-unbrick-hard-bricked-dead-t3585016
Using Lenovo's MOTO Smart Assistant to Update/Repair/Backup
Custom Roms/Recovery/Root/
Firmware
https://mirrors.lolinet.com/firmware/moto/
Specs

Karumbaiah said:
@sd_shadow great work brother. I'm badly in need of some help from you.
I've got everything right from your tutorial. Except for, when I try to flash the firmware on RSD lite, flashing stops at with an error "Failed flashing process. 3/27 flash partition "gpt.bin" -> Phone returned FAIL"
I'm assuming this is because of a stupidest mistake that I did while I was trying to flash the nougat update zip on my Moto G4 Plus (XT1634). Out of my right sense, I used the firmware downgrade codes while flashing the updated zip. This might have incorrectly flashed the partition, boot image and the recovery image from the update file.
Now I'm stuck with the bootloader which gives my security version downgrade error when I try to flash even the latest MM firmware.
I was somehow able to flash an extracted recovery image from the nougat update zip. But, it just gives me a blank screen when I select the option ' apply update from SD card '
Attached is a picture of the bootloader and recovery screen. Any help in reviving my phone is greatly appreciated.
Click to expand...
Click to collapse
Did you try removing?
Code:
<step operation="getvar" var="max-download-size" />
<step operation="flash" partition="partition" filename="gpt.bin" MD5="....MD5 sum here...." />
<step operation="flash" partition="tz" filename="tz.mbn" MD5="...MD5 sum here...." />
as described in post #6 of my thread?

sd_shadow said:
Did you try removing?
Code:
no
<step operation="getvar" var="max-download-size" />
<step operation="flash" partition="partition" filename="gpt.bin" MD5="....MD5 sum here...." />
<step operation="flash" partition="tz" filename="tz.mbn" MD5="...MD5 sum here...." />
as described in post #6 of my thread?
Click to expand...
Click to collapse
Hi,
Yes. I tried removing those lines. Still did not work. I get the same error for every file (boot, recovery, oem etc.) that RSD lite tries to flash.

Karumbaiah said:
Did you try removing?
Hi,
Yes. I tried removing those lines. Still did not work. I get the same error for every file (boot, recovery, oem etc.) that RSD lite tries to flash.
Click to expand...
Click to collapse
what files are in the xml.zip ?
Sent from my XT1080 using XDA Labs

sd_shadow said:
what files are in the xml.zip ?
Sent from my XT1080 using XDA Labs
Click to expand...
Click to collapse
Hi,
I'm using the Moto_G4_Plus_XT1643_ATHENS_MPJ24.138-63_Stock _Img.zip file for flashing. Below is the list of files that are in this zip file.
adspso.bin
boot.img
Bootloader.img
Flashfile.xml
Fsg.mbn
Gpt.bin
Logo.bin
NON-HLOS.bin
OEM lock.bat
Oem.img
Recovery.img
regulatory_info_default.png
Servicefile.xml
slcf_rev_d_default_v1.0.nvm
system.img_sparsechunk.0
system.img_sparsechunk.1
system.img_sparsechunk.2
system.img_sparsechunk.3
system.img_sparsechunk.4
system.img_sparsechunk.5
system.img_sparsechunk.6
system.img_sparsechunk.7
PS - Bootloader is locked and there is no way I can unlock it now. I get the message "enable OEM unlock " error. I can't enable it as my phone doesn't boot.

@sd_shadow I'm willing to support in this thread, you can add me to the list :fingers-crossed:

Karumbaiah said:
Hi,
I'm using the Moto_G4_Plus_XT1643_ATHENS_MPJ24.138-63_Stock _Img.zip file for flashing. Below is the list of files that are in this zip file.
adspso.bin
boot.img
Bootloader.img
Flashfile.xml
Fsg.mbn
Gpt.bin
Logo.bin
NON-HLOS.bin
OEM lock.bat
Oem.img
Recovery.img
regulatory_info_default.png
Servicefile.xml
slcf_rev_d_default_v1.0.nvm
system.img_sparsechunk.0
system.img_sparsechunk.1
system.img_sparsechunk.2
system.img_sparsechunk.3
system.img_sparsechunk.4
system.img_sparsechunk.5
system.img_sparsechunk.6
system.img_sparsechunk.7
PS - Bootloader is locked and there is no way I can unlock it now. I get the message "enable OEM unlock " error. I can't enable it as my phone doesn't boot.
Click to expand...
Click to collapse
I was hoping there was a service.bat
I would setup adb/fastboot tools
see my setting up adb/ fastboot thread and Rootjunky video
links in my thread
Sent from my sailfish using XDA Labs

Setting up Adb and fastboot
http://forum.xda-developers.com/android/general/index-links-setting-using-adb-fastboot-t3495167
then try flashing boot.img
reboot bootloader
then
some of the other files
Sent from my sailfish using XDA Labs

Code:
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
... repeat for the rest of the chunks
fastboot erase cache
fastboot reboot
Sent from my sailfish using XDA Labs

sd_shadow said:
Setting up Adb and fastboot
http://forum.xda-developers.com/android/general/index-links-setting-using-adb-fastboot-t3495167
then try flashing boot.img
reboot bootloader
then
some of the other files
Sent from my sailfish using XDA Labs
Click to expand...
Click to collapse
Hi,
Thanks a lot for taking time in responding to me. just a bit confused here.
My device is already getting detected as a 'Motorola ADB Device,' under device manager. However, when I enter the code 'adb devices ' in Command window, it does not return any devices. Although my phone responds to all adb codes.
Should I still follow the adb and fastboot setup guide?
PS : 'fastboot devices ' code in Command window will show my device code listed.

Karumbaiah said:
Hi,
Thanks a lot for taking time in responding to me. just a bit confused here.
My device is already getting detected as a 'Motorola ADB Device,' under device manager. However, when I enter the code 'adb devices ' in Command window, it does not return any devices. Although my phone responds to all adb codes.
Should I still follow the adb and fastboot setup guide?
PS : 'fastboot devices ' code in Command window will show my device code listed.
Click to expand...
Click to collapse
adb commands are used in recovery and os
fastboot commands are used in bootloader/fastboot mode

sd_shadow said:
adb commands are used in recovery and os
fastboot commands are used in bootloader/fastboot mode
Click to expand...
Click to collapse
I totally understand that. My phone is responding to both adb and fastboot commands. Just that I get errors while in the process of flashing.

Hi everybody
I have installed cm13 on my moto g4 plus xt1642.
I have flashed elementalx-g4-0.07-cm.zip and installed mod wake gestures in xposed.
Here I'm getting a msg that wake gestures are not supported or they haven't been enabled .
Any suggestion is greatly appreciated.

Unable to call using Jio after updating to Nougat (Android 7.0)
Unable to make any calls using jio sim after updating to nougat of android 7.0 although mobile data is working completely fine. Also Jio4GVoice is online and no errors are shown regarding that app. Please help!

After Nougat update, I don't get navigation bar popping up when fingerprint scanner is touched while in full screen mode. For example while watching videos, I used to touch the scanner and navigation bar would pop up. Has this feature been removed?

shoaib033 said:
After Nougat update, I don't get navigation bar popping up when fingerprint scanner is touched while in full screen mode. For example while watching videos, I used to touch the scanner and navigation bar would pop up. Has this feature been removed?
Click to expand...
Click to collapse
On which rom was this for you working, what was your prior rom?

When we get features like pixel phone
Sent from my Moto G (4) using Tapatalk

strongst said:
On which rom was this for you working, what was your prior rom?
Click to expand...
Click to collapse
Preloaded stock marshmallow.

shivam kapoor said:
When we get features like pixel phone
Click to expand...
Click to collapse
When Motorola decides to implement it. Be happy to receive official N rom now.
---------- Post added at 02:53 PM ---------- Previous post was at 02:52 PM ----------
shoaib033 said:
Preloaded stock marshmallow.
Click to expand...
Click to collapse
Maybe it's removed as you can't configure too much as the N Stock rom is really near to aosp. Wait for others to confirm, be patient as the rollout has started

Related

[GUIDE] Restore Moto E Stock Firmware [UPDATED#2]

Pre-requisites:
a) Download and install Motorola Moto EDrivers
b) Download and extract the stock Firmware of your choosing
c) If the firmware file you downloaded is a .xml.zip file then download Motorola Fastboot View attachment 2427667 (attached to this post) and extract the .exe into the same folder as the stock firmware files (the same folder as the .bin and .img files). If your firmware is a .tar.gz file then skip this step.
d) Get ADB (if you don't already have this, I suggest downloading and installing Minimal ADB and Fastboot by shimp208:
Direct Download
Disclaimer:
Follow these instructions at your own risk. If something goes wrong don't blame me!
These are the original stock signed image files from Motorola it should work on all Moto E Variants.
Steps to restore stock firmware:
1) Reboot the phone into bootloader mode. There are 2 ways to do this.
I) The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' then power on the phone.
c) Connect USB cable to your computer.​
II) The 'software' way.
a) Enable developer mode on the Moto E (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
d) Open "Minimal ADB and Fastboot". Type:
Code:
adb reboot-bootloader
You should see the Moto E bootloader screen with the following options:
Code:
Normal Powerup
Recovery
Factory
Switch Console [NULL: null]
Barcodes
BP Tools
2) Open a command prompt / terminal (Start -> cmd.exe in Win7) and browse to the folder with the extracted firmware.
In my case:
Code:
cd c:\falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB
3)
Flash each of the partitions in sequence using mfastboot, you need to enter the following commands one-by-one checking that each one returns an [OKAY]
Code:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk1
mfastboot.exe flash system system.img_sparsechunk2
mfastboot.exe flash system system.img_sparsechunk3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
For Indian variants
Code:
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
[/HIDE]
Downgrading:​
4) Wait, you should now be rebooted into a fully stock Moto E firmware.
Original Thread
Creditstbon3
Downloads : Retail DSDS condor
FAQ
Q1: Will this work on locked bootloaders?
Ans: Yes as stock firmwares are digitally signed by Motorola.
Edit post as per the device.
There's Moto G written everywhere instead of Moto E.
Sent from my C2004 using Tapatalk
t-bon3 said:
Hope you all find it useful. No Moto E for me, i'm sticking with the 'G'.
Click to expand...
Click to collapse
#1 Thanks For your Guide
#2 I've corrected all the things in the OP post.
The system.img filenames can differ depending on the version of the firmware. For example with the 'O2 UK' firmware the commands would be:
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2​
help
i wanted to update with 4.4.3.
i did all the steps.
initially i got an error say adb....dll file is missing try reinstalling it etc.
i fixed the error by downloading the dll file and placing it in the extracted folder.
later when i typed the 1st command i.e mfastboot flash partition gpt.bin
i get <waiting for device>
it doesnt proceed further.
what am i supposed to do??
thanks in advance
:good:
---------- Post added at 08:15 PM ---------- Previous post was at 08:01 PM ----------
also i did not get the Switch Console [NULL: null] in the bootloader.
mine looks like this..
Normal Powerup
Recovery
Factory
Barcodes
BP Tools
what do i do?
HELLO
Im flashed a new firmware and im loser my signal... Any idea to fix this??
Want MOTO E Stock Boot Animation
Hello,
I rooted the moto e and with ROM Toolbox lite, changed Nexus Boot animation. Did not like it and deleted Bootanimation.zip from system folder.
The bootanimation now is only "android" page.
Can anyone help me get the stock Motorola Bootanimation?
jsbworld said:
Hello,
I rooted the moto e and with ROM Toolbox lite, changed Nexus Boot animation. Did not like it and deleted Bootanimation.zip from system folder.
The bootanimation now is only "android" page.
Can anyone help me get the stock Motorola Bootanimation?
Click to expand...
Click to collapse
Here is the stock boot animation
https://docs.google.com/file/d/0B72C6RSL0mQmcUlJRlRiNnZ3Ylk/edit?usp=docslist_api
Sent from my XT1022 using Tapatalk
Gogeta said:
Here is the stock boot animation
https://docs.google.com/file/d/0B72C6RSL0mQmcUlJRlRiNnZ3Ylk/edit?usp=docslist_api
Sent from my XT1022 using Tapatalk
Click to expand...
Click to collapse
@Gogeta Thanks, I would need access to google drive to access the file and I sent a request.
Granted
Sent from my XT1022 using Tapatalk
Gogeta said:
Granted
Sent from my XT1022 using Tapatalk
Click to expand...
Click to collapse
@Gogeta Thanks Man. Where do I place it, it is not taking up. I mean how to install it and remove the earlier one, any help would be greatly appreciated.
jsbworld said:
@Gogeta Thanks Man. Where do I place it, it is not taking up. I mean how to install it and remove the earlier one, any help would be greatly appreciated.
Click to expand...
Click to collapse
Take the bootanimation.zip file and put in system/media/
Like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my XT1022 using Tapatalk
Gogeta said:
Take the bootanimation.zip file and put in system/media/
Sent from my XT1022 using Tapatalk
Click to expand...
Click to collapse
@Gogeta I actually deleted previous bootanimation.zip from the same location. Now when I place the moto animation zip, it is still not coming up. Probably I shouldn't have deleted zip. Any solutions? Thanks
jsbworld said:
@Gogeta I actually deleted previous bootanimation.zip from the same location. Now when I place the moto animation zip, it is still not coming up. Probably I shouldn't have deleted zip. Any solutions? Thanks
Click to expand...
Click to collapse
Screenshot of system/media/ after putting the animation I gave?
Sent from my XT1022 using Tapatalk
Gogeta said:
Screenshot of system/media/ after putting the animation I gave?
Sent from my XT1022 using Tapatalk
Click to expand...
Click to collapse
@Gogeta Pls find the screenshot (another one, how do I take screenshot)
jsbworld said:
@Gogeta Pls find the screenshot (another one, how do I take screenshot)
Click to expand...
Click to collapse
Simultaneously press vol down and power for 2 seconds to take screenshot. Change permission of bootanimation.zip to rw-r-r using some file manager
Junior Einstein said:
Simultaneously press vol down and power for 2 seconds to take screenshot. Change permission of bootanimation.zip to rw-r-r using some file manager
Click to expand...
Click to collapse
@Junior Einstein & @Gogeta, Thanks a ton guys, I was able to restore it and could capture screenshots too.
Thanks again.
xperiafan13 said:
Im flashed a new firmware and im loser my signal... Any idea to fix this??
Click to expand...
Click to collapse
Hi what baseband did you flash. And what was your original baseband ?

[TOOL][OFFICIAL] The HotROM Box v2.1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The HotROM Box - Early Build
Hey people, I'm spamtheboss, former known on Titan forum on Miui V6 development and also a few tricks I've posted there. But, I have a project called The HotROM Box, which consists in a tool that provides almost everything you need to restore your device in no time, basically an automator. All you need is your adb and fastboot and (for now) your Stock FW.
Main Features
Stock ROM Flashing method
TWRP Recovery Flashing method
Phone Reboot option
Reboot to Bootloader option
Reboot to Recovery option
Dealing with The HotROM Box
1.1: Install
-Copy all files to the folder where your Stock ROM files are located.
1.2: Usabillity
Windows: .bat interactive menu
Linux: .sh interactive menu using Zenity
1.3: F.A.Q (Frequently Asked Questions)
- Q: ROM flashing doesn't work!
- A: You're probably using mFastboot, an alternative version of fastboot. Install the original version and this issue will be solved (until I release a alternative version)
- Q: TWRP flashing doesn't work!
- A: If you haven't downloaded this file via xda official thread some stuff may be corrupted. TWRP image is uploaded with the script and you must copy those to your ROM folder.
- Q: ETA?
- A: Please, do not ask this kind of question. I'm not a dev, I just like (very much) to program some cool stuff, and if something on the code goes wrong, warn me and i'll fix it and release a new version as soon as I can.
- Q: Will you add more features?
- A: Always, this tool will grow with features as the way I improve my programming skills.
Changelog
Initial Release (Stock ROM flashing, TWRP flashing and other minor options)
Added alternative mFastboot flashing method
Tool ported to THEA and OSPREY
Tool ported to Linux
Downloads
Mediafire Last update!
Github Repo (LINUX)
Github Repo (WINDOWS) Not available (yet).
Vote Poll
What you think about The HotROM Box? Vote your opinion about it!
Link: http://www.strawpoll.me/10664791
Updates
To update HRB, just paste the new files on the older files directory. Simple as that!
OSPREY-2.1
Source Code: http://github.com/lelufg
XDA:DevDB Information
The HotROM Box, Tool/Utility for the Moto G 2015
Contributors
spamtheboss
Version Information
Status: Nightly
Current Stable Version: 2.0
Stable Release Date: 2015-12-30
Current Beta Version: 2.0
Beta Release Date: 2015-12-18
Created 2015-12-31
Last Updated 2015-12-31
Reserved.
Was waiting for this to come to ospery
Never heard this one but impressive.. Will try it..
sounds cool, will try it as soon as factory image 6.0 is available ....
Bangbang_cannon said:
Was waiting for this to come to ospery
Click to expand...
Click to collapse
Well, thank you!
Glad I extended to Osprey then. I'll try to update it weekly but can't promise. Also I will create a repo for it on Github very soon.
FPThatea said:
Never heard this one but impressive.. Will try it..
Click to expand...
Click to collapse
Yes, I'm not that known lol. But I did created this tool formely for Moto G 2014 some months ago, and now I'm porting to other devices. I hope you have a good experience with it, and if anything weird happens during tool usage, tell me here. I will be glad to help and update it.
kiekeboeboe said:
sounds cool, will try it as soon as factory image 6.0 is available ....
Click to expand...
Click to collapse
I am waiting for it too. I think it will add or remove some file, and if my suspects are correct, I will have to update this tool in order to flash Stock MM firmwares too.
I used it yesterday. Flawless! Thanks!
Sent from my MotoG3 using Tapatalk
nelsonw said:
I used it yesterday. Flawless! Thanks!
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
You're welcome, bro.
nelsonw said:
I used it yesterday. Flawless! Thanks!
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
This tool looks to be amazing. I do however have the dumbest question ever. I'm use to using fastboot mode all the time. What's the exact steps after downloading THB? I have adb and fastbbot already and the stock rom in the same folder. Just wondering if I place THB in the same folder and run it from there? Thanks for any help.
professorfoxx said:
This tool looks to be amazing. I do however have the dumbest question ever. I'm use to using fastboot mode all the time. What's the exact steps after downloading THB? I have adb and fastbbot already and the stock rom in the same folder. Just wondering if I place THB in the same folder and run it from there? Thanks for any help.
Click to expand...
Click to collapse
Yes, it's a .bat file. You need the extracted ROM files and the Fastboot files on the same folder. It's pretty important to avoid brick the phone due to typos.
Sent from my MotoG3 using Tapatalk
nelsonw said:
Yes, it's a .bat file. You need the extracted ROM files and the Fastboot files on the same folder. It's pretty important to avoid brick the phone due to typos.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
Thank you very much. This tool is absolutely fantastic. It made getting back to stock the easiest! Definitely great work?????
professorfoxx said:
This tool looks to be amazing. I do however have the dumbest question ever. I'm use to using fastboot mode all the time. What's the exact steps after downloading THB? I have adb and fastbbot already and the stock rom in the same folder. Just wondering if I place THB in the same folder and run it from there? Thanks for any help.
Click to expand...
Click to collapse
nelsonw said:
Yes, it's a .bat file. You need the extracted ROM files and the Fastboot files on the same folder. It's pretty important to avoid brick the phone due to typos.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
Yes, as Nelson said, you need to put the .bat file and the .img into the same folder of the adb, fastboot and the Stock ROM. I'll push an update today just to bring it all together instead of pasting it to some weird directory (like the people who installed adb within android studio); Stock ROM direct download can be mentioned too, but just on a future version.
professorfoxx said:
Thank you very much. This tool is absolutely fantastic. It made getting back to stock the easiest! Definitely great work????
Click to expand...
Click to collapse
You're welcome, mate! Glad I'm helping.
2.1 update for Osprey!
2.1 update is out! It's also released for Moto G 2014 and Moto G 2014 LTE.
Changelog
Updated TWRP
Bugfixes
Added ADB and Fastboot directly
Download link on OP.
Commands Missing
Add: Missing commands in Bold
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
will it wipe internal storage
would flashing stock rom clean the internal storage.?
spamtheboss said:
Well, thank you!
Glad I extended to Osprey then. I'll try to update it weekly but can't promise. Also I will create a repo for it on Github very soon.
Yes, I'm not that known lol. But I did created this tool formely for Moto G 2014 some months ago, and now I'm porting to other devices. I hope you have a good experience with it, and if anything weird happens during tool usage, tell me here. I will be glad to help and update it.
I am waiting for it too. I think it will add or remove some file, and if my suspects are correct, I will have to update this tool in order to flash Stock MM firmwares too.
Click to expand...
Click to collapse
please update to flash mm firmwares. im waiting for it to be updated . gotta say its ur tool that saved me.
prasi.ram10 said:
please update to flash mm firmwares. im waiting for it to be updated . gotta say its ur tool that saved me.
Click to expand...
Click to collapse
I will, as soon as the whole firmware gets released! I am waiting too... xD
unkushad said:
would flashing stock rom clean the internal storage.?
Click to expand...
Click to collapse
Hello unkushad, sorry for the late answer. Yes, it will wipe the whole internal storage, because Android needs to clean all the remaining data from the other versions.
amansingh63 said:
Commands Missing
Add: Missing commands in Bold
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
Click to expand...
Click to collapse
They're missing because I removed them. This tool *for now* doesn't lock the bootloader. I will update it later to add this feature.
spamtheboss said:
They're missing because I removed them. This tool *for now* doesn't lock the bootloader. I will update it later to add this feature.
Click to expand...
Click to collapse
mm compatibility??

Need some advice for my xt1562

I'm new here, so sorry if this is a duff post.
I've done searches to no avail.
I bought my x play second hand. It's been rooted to a none stock android 7.0. I'm having issues with sd card being unrecognised. I've read that this could be a motherboard problem. I've checked it with a number of different cards that all work absolutely fine on other devices.
My question is, would it help if I returned my phone to stock then upgraded to the proper versions of android via the download direct to phone?
If so, is there an updated method? The one I tried to follow uses SDK but the instructions seem to be for an old version (it's a 2015 post) as the version of Android Studio I installed seems to be unrecognisable from what is being described. I'm not savvy enough with these systems to work out what I need to do instead.
Thanks in advance.
Another thought, would it be worth installing a different none stock ROM?
if you are rooted, install twrp and try other custom rom
if you need install marshmallow with fastboot:
marshmallow pack with update 1 october 2016 update
Code:
https://my.pcloud.com/publink/show?code=XZ7WHdZJvy0fTbyYKuY5rtBpSzQD79KkAey
adb fastboot app:
Code:
https://my.pcloud.com/publink/show?code=XZcmHdZk8WW37zD64Q158z63w8dFyNGH8zX
extract marshmallow pack in adb fastboot folder like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
install 6.0.1 with adb commands:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Click to expand...
Click to collapse
or faster - put this file in adb folder and use it:
Code:
https://my.pcloud.com/publink/show?code=XZv1HdZNploxJptYcYB2gNS28m2y5v8eqkX
wiemar said:
if you are rooted, install twrp and try other custom rom
if you need install marshmallow with fastboot:
marshmallow pack with update 1 october 2016 update
Code:
https://my.pcloud.com/publink/show?code=XZcmHdZk8WW37zD64Q158z63w8dFyNGH8zX
adb fastboot app:
Code:
https://my.pcloud.com/publink/show?code=XZcmHdZk8WW37zD64Q158z63w8dFyNGH8zX
extract marshmallow pack in adb fastboot folder like this:
install 6.0.1 with adb commands:
or faster - put this file in adb folder and use it:
Code:
https://my.pcloud.com/publink/show?code=XZv1HdZNploxJptYcYB2gNS28m2y5v8eqkX
Click to expand...
Click to collapse
Thanks for replying, I really appreciate the effort.
A lot of this is just words on my screen. I may be able to work out what some of this means given time. Which folders am I putting stuff in? On phone or PC? Also the top 2 http adresses are the same, is this intentional?
Thanks again.
my mistake. edited links. fastboot on pc and extract marshmallow pack inside adb folder. look at screen
Will LTE work on this MM 6.0.1 ROM?
wiemar said:
if you are rooted, install twrp and try other custom rom
if you need install marshmallow with fastboot:
marshmallow pack with update 1 october 2016 update
Will LTE work fine with this MM 1-Oct-2016 ROM?
Also instead of running all these commands one after another, can you please point me to a .zip file, which i can directly flash it from TWRP like other ROMs? Thats much easier for me than running all these commands manually.
Click to expand...
Click to collapse
lte works normaly.
you need find backup from stock that can be installed from twrp. i don't have it. adb fastboot method is faster. and you don't read all my answers. you don't need use commands, just 1 file.
Really appreciate the links and steps!!! Thanks.
wiemar said:
lte works normaly.
you need find backup from stock that can be installed from twrp. i don't have it. adb fastboot method is faster. and you don't read all my answers. you don't need use commands, just 1 file.
Click to expand...
Click to collapse
Currently I am running on LIneageOS Nougat 7.1.1. I am planning to do this downgrade to MM if I really don't like the battery backup on Nougat 7.1.1.
Really appreciate the links and steps!!! Thanks.
---------- Post added at 09:08 AM ---------- Previous post was at 08:46 AM ----------
wiemar said:
lte works normaly.
you need find backup from stock that can be installed from twrp. i don't have it. adb fastboot method is faster. and you don't read all my answers. you don't need use commands, just 1 file.
Click to expand...
Click to collapse
BTW, one question. How do you run that single batch file?
... restart phone to bootloader, connect to pc, and run this file.
Okay, I've now discovered that TWRP is already installed. Can I use any xt1562 zipped Rom or does it need to be specific to TWRP. I've put the zip on my phone ready to go and done a nandroid backup but wanted to check first before I hit install.
Thanks again

Brick moto g4 xt1622

Hi, yesterday i have unlock bootloader of my moto g4, xt 1622 , i have flashed twrp and this is perfect, but after i have flashed zip of magisk.zip for root permission, when i reboot i obtain only black screen and led white ( intermittence led) .
The device is recognize by windows 10 (in test mode and no signature driver verify ) but not in tray bar..
Mode recognized by pc are:
in fast boot like " fastboot athene_13mp S " in "other device"
In adb mode " sideload" ( from stock recovery) like "Moto g4 plus " in device manager/usb devices"
I have stock recovery and can't start blank flash because the device isn t recognized by pc like qualcomm device..
What can i do??? Thanks a lot my friends!!
The problem is that magisk is not compatible with the Stock kernel, so if you want magisk you need to flash a custom kernel, i recomend this: https://elementalx.org/devices/moto-g4/ you need to flash the kernel and after this flash magisk.
Regards
Wow! So the phone is save? ?
And what can i flash pther kernel, can i have a guide plz? Can i flash with sideload? Thanks!
Yes, you need to enter un recovery, conect your phone to pc and with adb put in the cmd adb sideload nameofyourzip.zip and then flash magisk with sideload if hoy wanr
Unfortunately i recive this error.. what can i do? Thanks!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok, first you need to install twrp: https://forum.xda-developers.com/mo...p-twrp-3-0-2-2-recovery-moto-g4-plus-t3386586
Then you need to go in twrp to avanced and adb sideload and flash it.
Hmm, can you confirm if you have stock Marshmallow (6.0.1) or Nougat (7.0) on your device? I see from the stock recovery version that it's 6.0.1/MPJ24.139-23-4 (a really old build of Marshmallow).
Thanks ismael! I m going to try it
@ECHO first of this mods, the smartphone have nougat full stock. When i have installed twrp the sistem started normally, but when i flashed magisk the sistem started with black screen, before this i ve factory reset and flash a zip of stock rom.. and start a very problem!!
Thaks a lot to all for help me and sorry for my bad english.
David
scossa1994 said:
Thanks ismael! I m going to try it
@ECHO first of this mods, the smartphone have nougat full stock. When i have installed twrp the sistem started normally, but when i flashed magisk the sistem started with black screen, before this i ve factory reset and flash a zip of stock rom.. and start a very problem!!
Thaks a lot to all for help me and sorry for my bad english.
David
Click to expand...
Click to collapse
Thanks, as Ismael034202 pointed out above, if you were on stock Nougat, then you will need to flash a custom kernel, as rooting on the stock Motorola Nougat kernel will cause a boot failure. If you were still on Nougat, then you could have followed this guide https://forum.xda-developers.com/mo...de-root-moto-g4-plus-supersu-android-t3587918 with flashing magisk instead of SuperSU.
As you've re-flashed the old Marshmallow stock ROM, then you do not need a custom kernel (Marshmallow stock ROM kernels are less strict about rooting), flashing TWRP and then flashing magisk should work on Marshmallow.
However, you need to be very careful if you revert back to full stock - as you've appeared to have downgraded from Nougat, taking OTA updates may hard brick your device. If you can remember what Nougat stock ROM you had before unlocking your device, I would recommend downloading a copy of that stock ROM and using the stock ROM to update. Try not to use stock OTA updates.
Very well explained echo92. +1 ?
what can i flash somethings?? because usb debug is off after wipe dataa, and i can t enter in android to activate it!! plz help
i think that android is stock nougat, with old stock recovery and magisk(the real problem) and stock kernel.
what can i solve?
thanks
scossa1994 said:
what can i flash somethings?? because usb debug is off after wipe dataa, and i can t enter in android to activate it!! plz help
i think that android is stock nougat, with old stock recovery and magisk(the real problem) and stock kernel.
what can i solve?
thanks
Click to expand...
Click to collapse
Hmm, in that case, the easiest way may be to flash the latest stock ROM to your device and start over again. As an alternative, do you have a TWRP backup of your device?
For XT1622, you'll likely want NPJS25.93-14-13 (Nougat, 7.0 stock, December 2017 security patch) firmware from here: https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
Download and extract as directed in the post, and to flash to repair your device, use the following flashing commands:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Click to expand...
Click to collapse
This should not re-lock your bootloader. Next, download TWRP, ElementalX and magisk and flash as I suggested in the guide above. The basic guide for rooting on Nougat is:
a)Flash/boot TWRP. Backup your device.
b)Flash ElementalX.
c)Flash magisk or SuperSU.
d)Wipe cache/Dalvik in TWRP.
e)Reboot and wait for boot.
f)Any issues, revert to your backup made in a)
Can i use fastboot within debug usb off? Because i recive an error, i m tryng and post a pic.
Thanks
This is my situation after try to use fastboot
Hace you installed Motorola drivers for pc, you can use fastboot without USB debugging
https://mobilesupport.lenovo.com/rola/es/solution/MS89882 This os the link for the fastboot drivers
Thanks guys!! I had write the stock 7.0!! Now the phone is perfect!! Thanks!!
I had wrong driver and pc not recognized the phone!! Now yes ??
Now install twrp, elementalX Kernel, magisk and enjoy
Hi i need urgent help. My Moto g4 plus is not starting anymore. I was using it and but suddenly switched off and nithing works now. Only the led light comes two times when charging cable is connected. Please help help
It was rooted.
Moto Singh said:
Hi i need urgent help. My Moto g4 plus is not starting anymore. I was using it and but suddenly switched off and nithing works now. Only the led light comes two times when charging cable is connected. Please help help
It was rooted.
Click to expand...
Click to collapse
Can you enter in bootloader pressing vol - and power?? If is possible is not problem because you can flash stock rom in fastboot.
scossa1994 said:
Can you enter in bootloader pressing vol - and power?? If is possible is not problem because you can flash stock rom in fastboot.
Click to expand...
Click to collapse
No nothing is working.
Moto Singh said:
No nothing is working.
Click to expand...
Click to collapse
I don t know.. the problem is the corrupted bootloader ( i think..)

Moto G6 Plus - No bootable A/B slot, device not detected with adb.

Hi,
I installed the PPW29.116-20 FIRMWARE for pie 9, it was working fine until I uninstalled magisk and now it will only boot to Fastboot mode saying "No bootable A/B slot".
The problem however it the device it no longer detected in adb to reinstall. adb devices returns no devices. This is odd as it was working fine before.
I have tried with both moto and universal adb drivers, changed cables and even changed computers - nothing it making it appear.
Any help would be much appreciated
Use Fastboot!
Ezcorpia said:
Hi,
I installed the PPW29.116-20 FIRMWARE for pie 9, it was working fine until I uninstalled magisk and now it will only boot to Fastboot mode saying "No bootable A/B slot".
The problem however it the device it no longer detected in adb to reinstall. adb devices returns no devices. This is odd as it was working fine before.
I have tried with both moto and universal adb drivers, changed cables and even changed computers - nothing it making it appear.
Any help would be much appreciated
Click to expand...
Click to collapse
Requirements:
Fastboot (because you're in Fastboot mode, lol) download links for Windows, Linux, Mac.
fastboot images for your ROM e.g. from this thread
fastboot flash file (contains flash commands, see in thread above)
Just unpack the zip file then open cmd/terminal, navigate to that folder and enter:
Code:
fastboot devices
When output looks like this your phone is detected:
Code:
XXXXXXXXX fastboot
'XXXXXXXXX' is your phone's serial number.
Unpack and copy the images and flash file into the same folder as fastboot. The folder contains following files:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
On Windows double-click 'flashfileNoErase.bat' (ROM thread).
Check for errors, press enter and the phone will reboot.
had the same issue before
i had the same issue happen to me i about freaked out because i thought i had really jacked my phone up but i found this app called Lenovo Moto Smart Assistant it is a life saver trust me. if this happens to you then just download this app and it will walk you through the rest it has a upgrade and a rescue option the rescue option reinstalls the stock rom and and restores evrything back to normal on your phone. definite must have when flashing roms to your phone. :good:
lassemacchiato said:
Requirements:
Fastboot (because you're in Fastboot mode, lol) download links for Windows, Linux, Mac.
fastboot images for your ROM e.g. from this thread
fastboot flash file (contains flash commands, see in thread above)
Just unpack the zip file then open cmd/terminal, navigate to that folder and enter:
Code:
fastboot devices
When output looks like this your phone is detected:
Code:
XXXXXXXXX fastboot
'XXXXXXXXX' is your phone's serial number.
Unpack and copy the images and flash file into the same folder as fastboot. The folder contains following files:
On Windows double-click 'flashfileNoErase.bat' (ROM thread).
Check for errors, press enter and the phone will reboot.
Click to expand...
Click to collapse
I just want to thank you for this, I have been crying all night because I bricked my phone just a few hours before buying it, please know that you helped a stranger greatly-
#Starlord37# said:
i had the same issue happen to me i about freaked out because i thought i had really jacked my phone up but i found this app called Lenovo Moto Smart Assistant it is a life saver trust me. if this happens to you then just download this app and it will walk you through the rest it has a upgrade and a rescue option the rescue option reinstalls the stock rom and and restores evrything back to normal on your phone. definite must have when flashing roms to your phone. :good:
Click to expand...
Click to collapse
Phone of a friend suddenly died without any reason and wouldn't boot anymore. Tried this software out and it worked straight away. Requires a quick account registration however, but no biggie.
Thank you so much!
lassemacchiato said:
Requirements:
Fastboot (because you're in Fastboot mode, lol) download links for Windows, Linux, Mac.
fastboot images for your ROM e.g. from this thread
fastboot flash file (contains flash commands, see in thread above)
Just unpack the zip file then open cmd/terminal, navigate to that folder and enter:
Code:
fastboot devices
When output looks like this your phone is detected:
Code:
XXXXXXXXX fastboot
'XXXXXXXXX' is your phone's serial number.
Unpack and copy the images and flash file into the same folder as fastboot. The folder contains following files:
On Windows double-click 'flashfileNoErase.bat' (ROM thread).
Check for errors, press enter and the phone will reboot.
Click to expand...
Click to collapse
I dont finding the flashfilenoeraser.bat
But i found...
see bellow
echo off
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot erase modemst1
fastboot erase modemst2
fastboot erase carrier
fastboot erase ddr
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin
fastboot oem fb_mode_clear
echo -------------------------------------------------------------------------
echo please scroll up and check your flash for any errors
echo -------------------------------------------------------------------------
pause
fastboot reboot
exit
flashfileNoErase.bat
chptr0 said:
I dont finding the file "Flashfilenoeraser". Can u help me?
Click to expand...
Click to collapse
It's an attachment to the ROM thread I linked to.
Here's the direct link (download G6PlusFlashPieOfficial_NoErase.zip, just unpack and you have the right file):
G6PlusFlashPieOfficial.zip
G6PlusFlashPieOfficial_NoErase.zip
lassemacchiato said:
It's an attachment to the ROM thread I linked to.
Here's the direct link (download G6PlusFlashPieOfficial_NoErase.zip, just unpack and you have the right file):
G6PlusFlashPieOfficial.zip
G6PlusFlashPieOfficial_NoErase.zip
Click to expand...
Click to collapse
Thanks for your help!!!

Categories

Resources