OP. After downloading Lineage last update through updater in settings, my phone was hardbricked.
I tried to follow this guide https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761 without success. My phone recovered from hardbricking with blankflash and now I'm into a barebone bootloader screen.
The point is I cannot continue with the steps because it seems I'm trying to downgrade the gpt and bootloader
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
Please, help me, thanks.
It lives now, I don't know why.
I tried a yolo and flashed a stock ROM in that barebone fastboot. Almost everything failed but, surprise, Lineage booted in a clean state.
Related
so im trying to downgrade by flashing marshmallow
i do everything im supposed to, i unlocked oem from developers settings or by using fastboot oem unlock, but it keeps saying device locked.
whenever i try to flash something it says (bootloader) Preflash validation failed and other things.
idk what to do.
when using oem unlock my data doesnt get wiped nothing happens, in cmd it says ok but nothing changes
it says this (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
1st
Downgrade botloader and partition table(gpt) is impossible.
2nd
What is your status code in bootloader screen? @reyfor11
I flashed a custom Oreo 8.1 ROM onto my Moto G4 Plus, and decided to go back to the stock firmware.
However, when attempting to restore the firmware with fastboot, several of the commands fail:
Code:
writing 'system'...
(bootloader) Security version downgrade
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
How can I restore the stock firmware? Is there another way, other than through fastboot?
Any help is greatly appreciated.
I installed the custom Oreo rom found here: https://forum.xda-developers.com/moto-g4-plus/development/rom-android-source-project-t3716697
I downloaded the firmware found here: https://forum.xda-developers.com/showpost.php?p=74467073&postcount=413
I followed the instructions found here: https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
I may have figured it out - looks like I was trying to flash the non-US firmware instead of the US firmware. I'll let y'all know if I get it figured out or not.
Never mind, it's all good!! A lesson to others to check the build numbers and software channels before flashing.
Hello!
Something went wrong, I think it's called a soft brick, although I'm not sure.
I was trying to root my Moto G4 / Athene / XT1622, which was running Android 7.0 (NPJ25.93-11). I followed the sticky guide, except for the backup (I lacked a free microSD card) and ElementalX kernel parts, AND I forgot to wipe dalvik cache when it was asked. I did a lot of mistakes, it'll teach me to be more careful. :-/
After flashing Magisk, when I tried to reboot into Android, all I got was a black screen. I'm still able to boot to bootloader or recovery using the volume down + power buttons combination.
So I went back to TWRP and tried to flash LineageOS 14.1 + pico OpenGApps, then stock NPJ25.93-11 (Android 7.0), then stock MPJ24.139-23 (Android 6.0.1), none of which worked.
It looks like that at some point in the process I messed up the partition table (TWRP reports errors about them when trying to flash LineageOS).
Yet, as soon as I launch "fastboot flash partition gpt.bin", which is the first part of a stock recovery, I get:
Code:
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.040s
(Same result with Android 6.0 or Android 7.0 factory images)
Any suggestion please?
try flash using RSDLite
Oops, I forgot to reply to myself, but I've been able to unbrick it following these steps: https://forum.xda-developers.com/showpost.php?p=75005815&postcount=5
So my problem is solved, thank you anyway!
For some reason I can't flash Magisk on the latest updates (November / December) getting "unable to mount /data" or "unable to mount /cache" errors in twrp (3.2.3-r1) so I wanted to roll back to one of the previous updates (July / August) and try flashing Magisk from there. However, every time upon starting the flashfile I get this error:
Code:
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote: '')
So I have two questions: 1) Was there something about the latest updates that prevents Magisk/root, and if so, how could I go about getting it done? Has anyone else run into this? I've read something about patching the boot.img, but I'm not sure what that has to do with this or how to accomplish that. 2) If there indeed was something in the recent updates that breaks the rooting process, is there a way to downgrade to an earlier update and get root from there?
Edit: rooted the phone by flashing a boot image that I patched through Magisk Manage. Didn't even know that's possible, as I used to always flash no-verity (as well as Magisk) through twrp on this phone.
Hello all,
I am not very familiar with flashing devices and therefore I'm asking for help before trying further be myself.
In short: I flashed Lineage OS 17.1 to my daughters Moto G4 Play (as described in the Lineage-Wiki), recognized an incompatibility of LineageOS with "Google Family Link", reflashed (not the latest) stock rom, started the phone, first ota-update went through, after the 2nd phone didn't start anymore.
Found the threat "[HARDBRIK] Moto G4 Play XT1603..."(didn't recognize the different "variant") , executed the blankflash but now :
my bootloader is locked again
my Product/Variant displays "harpia radio5" (instead of "harpia XT1601")
Could someone give me an advice how to proceed?
Many thanks, Chris
Tried to proceed by myself but didn't get far.
When trying to unlock my bootloader again I receive the following:
>fastboot oem get_unlock_data
(bootloader) Failed to get unlock data, please try again!
FAILED (remote: '')
fastboot: error: Command failed
When trying to flash an recovery image it fails:
>fastboot.exe flash recovery twrp-3.5.0_9-0-harpia.img
(bootloader) has-slot:recovery: not found
(bootloader) is-logical:recovery: not found
Sending 'recovery' (16106 KB) OKAY [ 0.623s]
Writing 'recovery' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
Can anybody give me a hint?
same problem here
you need the stock firmware of your variant flashing first the GPT.bin
you bootloader is lock when blankflash and you need flash all firmware ,then unlock the bootloader with your code without forgetting to put oem unlock in the developer options
angelgs826 said:
you need the stock firmware of your variant flashing first the GPT.bin
Click to expand...
Click to collapse
Thank you, your comment was very useful.