cant flash nougat stock rom - Moto G4 Plus Questions & Answers

when try to attempt the commands to flash such as
fastboot flash partition gpt.bin and all of the next commands are failed
i had twrp recovery and lineage 14.1 and before flashing stock rom i even wiped the custom rom before flashing stock rom
please help i think i bricked my device when install the custom rom again my imei shows 0
:crying:

If you tried to flash nougat from command line, you wiped your imei as part of that process. Look up the "imei = 0" thread to restore it.

Related

Switching between N and MM roms

Good morning, (at least where I'm at) I want to test out a Nougat rom or two and I am currently on a Marshmallow rom (specifically Resurrection Remix). I know I have to flash the radios for Nougat, and also the vendor image. However,if I end up going back to my old rom will I have to flash MM radios again or will the new radios still work? Also will there be any other problems when going between Nougat and MM? I don't believe this question has been asked. At least I could not find it. If it was feel free to just leave the link below! Thanks for you help!
Hi mate.
Radios are backwards compatible, so the Nougat radio will work on MM, however in case you want to go back you can also do it.
About downgrading from N to MM this are the steps I used to return to stock MM. The only thing that cannot be downgraded is the bootloader.
1. Enabled OEM unlock in developer options.
2. Booted into bootloader and used "fastboot flashing unlock" to unlock bootloader.
3. Rebooted phone and went through initial setup (Still in Nougat).
4. Booted into bootloader and flashed radio.img and rebooted bootloader.
5. In bootoader, I booted TWRP without flashing it using "fastboot boot twrp.img"
6. In TWRP I did a factory reset, then went into advanced wipe and marked all the options and proceeded to wipe. Finally I used the option of wipe data.
7. Booted into bootloader again from the options in TWRP, and started doing the following commands:
a. fastboot flash boot boot.img
b. fastboot erase cache
c. fastboot flash cache cache.img
d. fastboot flash recovery recovery.img
e. fastboot format system
f. fastboot flash system system.img
g. fastboot erase vendor
h. fastboot flash vendor vendor.img
i. fastboot format userdata
8. Then proceeded to boot the phone and now I'm running MM again.
You do need only this...from Marshmallow just update to the last Nougat version NRD90U, with the stock factory image...then you can with a custom recovery, switch between N and M without any problem...just flash custom via recovery and it works...no need to flash boot, bootloader, vendor ecc any time... only rom
Thanks, if i would have known that i would have updated my stock to Nougut first before unlocking, when i get home tonight i will go back to stock and update. Then i will reflash twrp and my custom rom. Thanks!

Bootloader and Recovery not working

I was on CM 13 rom ,reboot recovery,reboot bootloader,were working properly.
then I flashed pre rooted rom.
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
then
fastboot oem reboot-recovery was not working.
From then recovery and bootloader was not booting
I had cm 13 Complete Nandroid Backup
So i restored the twrp backup
Now still previous cm 13 rom ,reboot recovery,reboot bootloader,were not working.
But Power+Volumeup ,and Power+Volumedown were working.
So i am not able to flash any rom files.
but flashing supersu and xposed sdk were flashing and working.
Where is the problem ?????
All system,recovery,boot partitions had backup so they Dont has problem
Is the Bootloader Patitions disturbed ?????
What is the way to Solve this Kind of Problem ?????
Thanks in Advance.
Niteesh kumar said:
I was on CM 13 rom ,reboot recovery,reboot bootloader,were working properly.
then I flashed pre rooted rom.
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
then
fastboot oem reboot-recovery was not working.
From then recovery and bootloader was not booting
I had cm 13 Complete Nandroid Backup
So i restored the twrp backup
Now still previous cm 13 rom ,reboot recovery,reboot bootloader,were not working.
But Power+Volumeup ,and Power+Volumedown were working.
So i am not able to flash any rom files.
but flashing supersu and xposed sdk were flashing and working.
Where is the problem ?????
All system,recovery,boot partitions had backup so they Dont has problem
Is the Bootloader Patitions disturbed ?????
What is the way to Solve this Kind of Problem ?????
Thanks in Advance.
Click to expand...
Click to collapse
u r saying that bootloader and recovery not booting, and then saying xposed and super su is getting flashed, how's it possible without recovery
I found the answer
So to solve this I was trying different ways
First open recovery
In the recovery
I found that the system was not mounted
When we use custom ROMs they are not installed in the system folder so the customs ROMs system will not be mounted
So As I was using a stock ROM system should be mounted So I mounted system and flashed resserection remix 5.8 N
I successfully booted inresserection remix 5.8N
yograjfire18 said:
u r saying that bootloader and recovery not booting, and then saying xposed and super su is getting flashed, how's it possible without recovery
Click to expand...
Click to collapse
In recovery reboot recovery ,reboot bootloader both we rebooting system not recovery and bootloader

need help urgent

hi everyone i am running on nougat stock rom successfully unlock my bootloader and follow this step to root my phone but after installing twrp and flash supersu and i restart my phone it again boots into twrpi am not able to boot into system.
It only boot into fastboot and recovery
plz help me here i have indian moto g4 plus.
this the link which i follow
https://www.youtube.com/watch?v=dK2uacpjGwc&t=64s
Yeah, that Youtube guide is for rooting under Marshmallow - Nougat is more stringent and rooting with the stock kernel, as you've found out, will cause boot issues. A reliable way to root on Nougat is to flash a custom kernel onto your device.
Do you have a backup in TWRP to fall back to?
If so, and you've restored it, or if you don't have a backup of your system, then try rebooting back to TWRP and flash ElementalX v1.04 onto your device (either from a SD card or by plugging your device into your computer and try using 'adb push' to transfer ElementalX v1.04 to your device's internal storage). https://forum.xda-developers.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836 for ElementalX. Hopefully then, you'll be able to boot.
For rooting under Nougat with SuperSU, have a look at this guide: https://forum.xda-developers.com/mo...de-root-moto-g4-plus-supersu-android-t3587918
I faced the same problem when I unlocked my bootloader because for some reason on some models the phone will wipe the whole system partition instead of just the data. If you want to use a custom rom then you are able to flash that with twrp no problems but if you want the stock rom back you will hava to flash it either with fasboot (will flash stock recovery) or use a twrp backup someone made of the stock rom (nougat) I just did a google search for *moto g4 plus stock rom twrp backup* and clicked on the first link which contains guides for both methods (I cannot post links sorry)
Hope I could help
echo92 said:
Yeah, that Youtube guide is for rooting under Marshmallow - Nougat is more stringent and rooting with the stock kernel, as you've found out, will cause boot issues. A reliable way to root on Nougat is to flash a custom kernel onto your device.
Do you have a backup in TWRP to fall back to?
If so, and you've restored it, or if you don't have a backup of your system, then try rebooting back to TWRP and flash ElementalX v1.04 onto your device (either from a SD card or by plugging your device into your computer and try using 'adb push' to transfer ElementalX v1.04 to your device's internal storage). https://forum.xda-developers.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836 for ElementalX. Hopefully then, you'll be able to boot.
For rooting under Nougat with SuperSU, have a look at this guide: https://forum.xda-developers.com/mo...de-root-moto-g4-plus-supersu-android-t3587918
Click to expand...
Click to collapse
Tried element kernel but the results will be same boot into twrp
Can anyone have stock rom for indian dual sim variant of moto g4 plus firmwares?
rakesh595160 said:
Tried element kernel but the results will be same boot into twrp
Can anyone have stock rom for indian dual sim variant of moto g4 plus firmwares?
Click to expand...
Click to collapse
If you're after Nougat v7.0 Dec 2016, NPJ25.93-14 https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369
Nougat v7.0 March 2017, NPJS25.93-14.4 https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
Bear in mind flashing either may wipe your device (and thus your data and internal storage), if you can, try to back up your key files via TWRP to your computer.
If you're downloading the same firmware as the build you have at the moment, you may be able to save your data and restore your system by using these commands, however be prepared to use all the flash commands (including wipes) if it doesn't work:
Code:
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
echo92 said:
If you're after Nougat v7.0 Dec 2016, NPJ25.93-14 https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369
Nougat v7.0 March 2017, NPJS25.93-14.4 https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
Bear in mind flashing either may wipe your device (and thus your data and internal storage), if you can, try to back up your key files via TWRP to your computer.
If you're downloading the same firmware as the build you have at the moment, you may be able to save your data and restore your system by using these commands, however be prepared to use all the flash commands (including wipes) if it doesn't work:
Click to expand...
Click to collapse
I just flash revivour os ut boots my phone well nkw how do i root my devices?
rakesh595160 said:
I just flash revivour os ut boots my phone well nkw how do i root my devices?
Click to expand...
Click to collapse
If you've flashed revivorOS, the rooting instructions are on the opening post of that ROM... https://forum.xda-developers.com/mo...om-npjs25-93-14-4-deodexed-debloated-t3587180

stuck in recovery

Hello!
I have unlocked recovery and flash twrp. As for now I have bootloader and gpt that can not be reflashed from fastboot using stock rom zips. Any ROM flashed lead me to boot to recovery rather than system.
Is it any way to flash original Moto firmware including gpt, bootloader and other stuff?
Problem fixed with _not_ formattingdata and cache and flashing any rom. Now I'm on AEX and all is ok.

IMEI=0

My moto g4 plus (XT1643) imei =0 after flashing the stock 8.1 android.
I execute the command fastboot gervar imei . It return the imei
I checked the persist partition there is no such file
Dhob.bin
Shob.bin
Id_00
Id_01
Maybe too late to reply but flashing latest official rom is the only solution.
Either use fastboot method or use TWRP flashable official roms,

Categories

Resources