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

sd_shadow

Recognized Contributor
Sep 21, 2011
16,628
7,539
253
South Dakota
goo.gl
If you have an update on your issue, please create a new post rather than edit an old post.
Most people rely on notifications to follow threads, and we don't get a notification if you edit a post.
New information may get someone to chime in with a possible solution.

Sent from my sailfish using XDA Labs
 
  • Like
Reactions: IronTechmonkey

blitzik

Member
May 10, 2014
14
1
0
Hi Guys,

Got a weird error on my phone, and now I can't get it to start up. Instead it boots to a text screen with a few different options, selectable with the volume up and down buttons.

Bootloader logs, Switch Tools mode, Start, Restart Bootloader, Recovery mode, Power off, Factory, Barcode, BP tools, Qcom

It starts up on the Bootloader logs screen with the message

Start up failed:
Your device didn't start up successfully.
Use the Software Repair Assistant on computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.

AP Fastboot Flash Mode (secure)

And under that is a mirror of whatever fastboot is doing, so luckily I at least know that the phone is still connecting.

I'm trying to start off flashing a new recovery, since I can't seem to get into twrp but whenever I do try to flash i can't get fastboot to recognize the recovery image file. I've tried to use the older recovery images I had but they aren't being recognized either. I have all the files sitting in the same folder, and am using the cmd-here icon to access fastboot. Any idea on what to do? Should I even be trying to flash recovery in this instance at all? I'm stuck!

I should mention that this phone was stock and rooted. I've been ignoring ota updates for months.
 

sd_shadow

Recognized Contributor
Sep 21, 2011
16,628
7,539
253
South Dakota
goo.gl
Hi Guys,

Got a weird error on my phone, and now I can't get it to start up. Instead it boots to a text screen with a few different options, selectable with the volume up and down buttons.

Bootloader logs, Switch Tools mode, Start, Restart Bootloader, Recovery mode, Power off, Factory, Barcode, BP tools, Qcom

It starts up on the Bootloader logs screen with the message

Start up failed:
Your device didn't start up successfully.
Use the Software Repair Assistant on computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.

AP Fastboot Flash Mode (secure)

And under that is a mirror of whatever fastboot is doing, so luckily I at least know that the phone is still connecting.

I'm trying to start off flashing a new recovery, since I can't seem to get into twrp but whenever I do try to flash i can't get fastboot to recognize the recovery image file. I've tried to use the older recovery images I had but they aren't being recognized either. I have all the files sitting in the same folder, and am using the cmd-here icon to access fastboot. Any idea on what to do? Should I even be trying to flash recovery in this instance at all? I'm stuck!

I should mention that this phone was stock and rooted. I've been ignoring ota updates for months.
What is the exact error you get when trying to flash

Sent from my perry_f using XDA Labs
 

blitzik

Member
May 10, 2014
14
1
0
What is the exact error you get when trying to flash

Sent from my perry_f using XDA Labs
I keep getting the message:
failed to validate boot image
ERROR: Failed to pass validation. backup to fastboot

When running fastboot to reflash recovery, It shows this during the recovery portion.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.1.1-athene_shreps.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (13674 KB)...
OKAY [ 0.453s]
writing 'recovery'...
(bootloader) Image recovery failed validation

(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.505s


after reboot it goes back to the screen I described, no change and no way to get into recovery mode.
 
Last edited:

echo92

Senior Member
Jan 1, 2017
3,730
1,987
223
Plymouth
I keep getting the message:
failed to validate boot image
ERROR: Failed to pass validation. backup to fastboot

When running fastboot to reflash recovery, It shows this during the recovery portion.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.1.1-athene_shreps.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (13674 KB)...
OKAY [ 0.453s]
writing 'recovery'...
(bootloader) Image recovery failed validation

(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.505s


after reboot it goes back to the screen I described, no change and no way to get into recovery mode.
Hmm, on the bootloader screen, do you see OEM_locked or flashing_unlocked status? Those pre flash errors look like a result of a locked/relocked bootloader...

Was there any flashing or anything that happened before this behaviour occurred?
 
  • Like
Reactions: sd_shadow

blitzik

Member
May 10, 2014
14
1
0
Hmm, on the bootloader screen, do you see OEM_locked or flashing_unlocked status? Those pre flash errors look like a result of a locked/relocked bootloader...

Was there any flashing or anything that happened before this behaviour occurred?
Crap.. oem_locked

I don't know how that could have happened. It's been unlocked for the better part of a year. My phone died, and I started getting all of this when I put it on the charger late last night.
 
Last edited:

blitzik

Member
May 10, 2014
14
1
0
Crap.. oem_locked

I don't know how that could have happened. It's been unlocked for the better part of a year. My phone died, and I started getting all of this when I put it on the charger late last night.
Now I'm having difficulty unlocking the bootloader. I found my old unlock key in email, but it does not seem to be working any longer!

C:\Program Files\Android>fastboot oem get_unlock_data
< waiting for device >
...
(bootloader) Unlock data:
(bootloader) read datablock error
(bootloader) Failed
OKAY [ 0.055s]
finished. total time: 0.056s

C:\Program Files\Android>fastboot oem unlock Y3YYLBU6GKPCFEKQCGEA
...
(bootloader) feature disabled
OKAY [ 0.011s]
finished. total time: 0.012s
 

echo92

Senior Member
Jan 1, 2017
3,730
1,987
223
Plymouth
Now I'm having difficulty unlocking the bootloader. I found my old unlock key in email, but it does not seem to be working any longer!

C:\Program Files\Android>fastboot oem get_unlock_data
< waiting for device >
...
(bootloader) Unlock data:
(bootloader) read datablock error
(bootloader) Failed
OKAY [ 0.055s]
finished. total time: 0.056s

C:\Program Files\Android>fastboot oem unlock Y3YYLBU6GKPCFEKQCGEA
...
(bootloader) feature disabled
OKAY [ 0.011s]
finished. total time: 0.012s
That's not a good sign - if this happened without warning as you described, it may suggest a flash memory or hardware failure. One thing to try is to flash the stock ROM - here's the link for the April 2018 fastboot ROM https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

If you want to try to save your data, flash using the following commands in fastboot:

Code:
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 reboot
See if that gets your device booting. That should flash the full stock firmware onto your device and satisfy the repair requirements if the flash was successful.
 
  • Like
Reactions: IronTechmonkey

IronTechmonkey

Recognized Contributor
Feb 12, 2013
7,301
9,473
263
This is a wonderful thread. Thanks op.
True that. Across several years of playing with CM/LOS on numerous devices this has been one of the most informative device-specific but non ROM specific threads that I've encountered. IMO that niche is sometimes overlooked since many such threads focus on the intersection of a specific device and a specific ROM. In turn some of the knowledge shared here spills back into the LOS specific threads.
 

jack_04

Senior Member
Apr 25, 2015
106
13
18
I want to install a ROM on my moto g4 plus but I have never installed a ROM before. Can anyone tell me exact steps/requirements to install any ROM?
 

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,655
8,643
253
prolific location
prolific-page.com
I want to install a ROM on my moto g4 plus but I have never installed a ROM before. Can anyone tell me exact steps/requirements to install any ROM?
You need to unlock your bootloader after that you have to install a custom recovery https://forum.xda-developers.com/moto-g4-plus/how-to/guide-newbie-resource-thread-t3386584

The recovery mentioned there isn't suitable for every rom, especially the 64bit based roms. So if you master to unlock bootloader you should decide which rom you want to install. In the roms thread there's mostly given a link to a special recovery that meets the requirements of the rom(like ressurection remix official).
 

Hari Haran

Senior Member
May 6, 2014
583
87
0
Coimbatore
Is there anyone who got benefited by AKT? I seriously doubt it did anything at all. Didn't notice any difference. Also does it mean if we add Hal3 manually in build prop we get pro mode in any rom? And what about slow motion? Can't it be obtained in a custom rom?
 

Tengakallan

Senior Member
Jun 19, 2014
263
53
58
Is there anyone who got benefited by AKT? I seriously doubt it did anything at all. Didn't notice any difference. Also does it mean if we add Hal3 manually in build prop we get pro mode in any rom? And what about slow motion? Can't it be obtained in a custom rom?
Same to me with akt
 

sohail_23

Member
Dec 15, 2016
41
3
0
Mumbai
Hello everyone i have a redmi note 3 in which i adopted sd card as internal storage using adb and migrated data to sd card now i want to revert back can anyone help me to migrate data back to internal storage using adb as miui does not allow it from settings i know its an off topic but believe me i am in a very big trouble plz help !!
 

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,655
8,643
253
prolific location
prolific-page.com
Hello everyone i have a redmi note 3 in which i adopted sd card as internal storage using adb and migrated data to sd card now i want to revert back can anyone help me to migrate data back to internal storage using adb as miui does not allow it from settings i know its an off topic but believe me i am in a very big trouble plz help !!
Wrong thread mate, this is g4 plus.
 
  • Like
Reactions: IronTechmonkey

sd_shadow

Recognized Contributor
Sep 21, 2011
16,628
7,539
253
South Dakota
goo.gl
Hello everyone i have a redmi note 3 in which i adopted sd card as internal storage using adb and migrated data to sd card now i want to revert back can anyone help me to migrate data back to internal storage using adb as miui does not allow it from settings i know its an off topic but believe me i am in a very big trouble plz help !!
https://forum.xda-developers.com/redmi-note-3

Sent from my perry_f using XDA Labs
 
  • Like
Reactions: IronTechmonkey
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone