So recently I bricked my deviced and I had to flash the original image that the phone came with - I have moto G4 XT1625.
My phone is unlocked although I have unsuccessfully tried to relock it.
Problem: Once I flashed the original version of android which was Marshmallow 6.0 I am unable to update to 7.0 as I had before I bricked my device.
How can I update to Nougat 7.0 and relock it. I cannot find any image for Nougat 7.0 anywhere as that is not the original for the Moto G4. Any ideas?
Edit: I tried relocking it the 2 ways -
1. fastboot oem lock
2. fastboot oem lock begin and then reflashing all the firmware and then locking
Nougat stock image
https://androidfilehost.com/?fid=673368273298955218
Sure?
zonggestsu said:
Nougat stock image
https://androidfilehost.com/?fid=673368273298955218
Click to expand...
Click to collapse
Do you know if this would be an official ROM or is this a custom copy where I wont get updates?
*XAOS* said:
Do you know if this would be an official ROM or is this a custom copy where I wont get updates?
Click to expand...
Click to collapse
Its the the official image. You should be able to flash it then remove your bootloader if you feel like it. Word of warning, it looks like, at least from my experience, that the g4 bootloader doesn't properly check the images properly unless you invoke
Code:
fastboot oem lock
twice. Then you can start flashing over the images such as oem.img and system.img_sparsechunck.0
The bootloader.img and gpt.bin need to be flashed before this though.
Thank you!!
Related
Hi everyone,
I would like to know if is possible to dowgrande to a different country firmware (I'm not interested in the dual sim option). Anyone know if this is possible? I have a locked and non rooted moto x play. I've tried to follow this thread REMINDER HOW TO DOWNGRADE from 6.0 to 5.1.1, but the installation fail with this error:
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Click to expand...
Click to collapse
lollo64 said:
Hi everyone,
I would like to know if is possible to dowgrande to a different country firmware (I'm not interested in the dual sim option). Anyone know if this is possible? I have an unlocked and non rooted moto x play. I've tried to follow this thread REMINDER HOW TO DOWNGRADE from 6.0 to 5.1.1, but the installation fail with this error:
Click to expand...
Click to collapse
Yes, downgrading is possible with unlocked bootloader (locked bootloader doesn't allow downgrading). The first 2 commands ("fastboot flash partition gpt.bin" and "fastboot flash bootloader bootloader.img") always fail when downgrading, and can be skipped without any issues, so if the error you got was for one of the first 2 commands just continue with the rest of the commands.
panart said:
Yes, downgrading is possible with unlocked bootloader (locked bootloader doesn't allow downgrading). The first 2 commands ("fastboot flash partition gpt.bin" and "fastboot flash bootloader bootloader.img") always fail when downgrading, and can be skipped without any issues, so if the error you got was for one of the first 2 commands just continue with the rest of the commands.
Click to expand...
Click to collapse
Thanks, I was start to supposing that the locked bootloader was the problem and you just confirmed. Unluckily right now I can't unlock the bootloader so I think I must wait for the release of the complete EU 6.0 Firmware.
lollo64 said:
Thanks, I was start to supposing that the locked bootloader was the problem and you just confirmed. Unluckily right now I can't unlock the bootloader so I think I must wait for the release of the complete EU 6.0 Firmware.
Click to expand...
Click to collapse
In your post you mentioned "unlocked" so i assumed you had unlocked the bootloader already. I'm afraid that downgrading is only possible if you unlock the bootloader, or you can wait for EU 6.0 full stock ROM to become available and try installing that (it might work as you'll be going from 6.0 ROM to 6.0 ROM).
panart said:
In your post you mentioned "unlocked" so i assumed you had unlocked the bootloader already. I'm afraid that downgrading is only possible if you unlock the bootloader, or you can wait for EU 6.0 full stock ROM to become available and try installing that (it might work as you'll be going from 6.0 ROM to 6.0 ROM).
Click to expand...
Click to collapse
Ooops, sorry. It was a typo, I've just fixed it. Yes, right now I'm waiting for the release of EU 6.0 full stock rom and then I'm going to retry to flash it!
lollo64 said:
Ooops, sorry. It was a typo, I've just fixed it. Yes, right now I'm waiting for the release of EU 6.0 full stock rom and then I'm going to retry to flash it!
Click to expand...
Click to collapse
Have you tried what panart said, about skipping the first 2 fastboot commands ?
I also downgraded to 5.1 skipping the first 2 lines and it was working fine.Only I had an unlocked bootloader at that moment ,but maybe it wil also works with a locked bootloader, not sure.
Sickaxis79 said:
Have you tried what panart said, about skipping the first 2 fastboot commands ?
I also downgraded to 5.1 skipping the first 2 lines and it was working fine.Only I had an unlocked bootloader at that moment ,but maybe it wil also works with a locked bootloader, not sure.
Click to expand...
Click to collapse
Yes, I've tried both. With and without the first two commands (fastboot flash partition gpt.bin / fastboot flash bootloader bootloader.img), but it fails in every case. Purposely I get the errors when I launch this commands:
Code:
- fastboot flash boot boot.img
- fastboot flash system system.img_sparsechunk.*
All the other instructions work fine.
http://forum.xda-developers.com/showpost.php?p=65423306&postcount=475
24.65-33 Full EU
You can flash it directly On any XT1562
I have moto g4 plus. recently i rooted it and everything worked fine
but when i applied the nougat ota upgrade
i m unable to downgrade it to mm stock ROM or stock ROM
neither, able to lock bootloader even cant flash with recovery
every time i flash it it shows "preflash validation failed " and "piv sign not valid " for the boot and recovery image
my stock ROM is not corrupt
one more thing it also display's "security version downgrade"
pls guys help me
1. enable developer option
2. enable oem unlock
3. get unlock code from motorola website
4. unlock via fastboot
Sorry, misread. I think you want to unlock BL.
Did you read XDA rules...? Did you search...?
There is already a thread for ReLock issue..
As you will read,
You can't downgrade bootloader if once updated...
Don't Mess with bootloader unless want a brick....
According to my views, there are no benefits for ReLocking unless want to sell phone and make buyer fool... LoL...
So, From where i start, Ahh Actually I recently updated my phone to Nougat from Marshmallow and Luckly After some days of installation my phone had some nice contact with water which somehow disturbed the ROM and it stucked into bootloops.
Situation as follows :-
*I can't Access into Rom or Recovery or Anything except past the Boot logo
*Bootloader is Locked
*On top of that OEM is locked and the permission to do so is not granted ( Developer Options > Allow OEM Unlock ) is not checked thus i can't unlock the bootloader with official code and fastboot
*Only Fastboot is Accessable and my phone is not charging at all
Now, I know i can't revert back to Marshmallow after the update wihtout unlocking the bootloader as I tried and it failed. It won't allow me to downgrade the security and validation fail.
So,
Here is the catch as per my view that i need to flash a fastboot flashable nougat zip as i can't flash the marshmallow one because when i flash gpt.bin of marshmallow i got the error but when i get the gpt.bin of nougat from update.zip it flashes easily without any error. So could someone here solve my situation please as i can't able to find a nougat fastboot zip anywhere on the internet.
Or can you suggest me some other way to make my phone work.
You will have to wait for stock nougat images,
Since nougat is not yet rolled out for everyone, i don't think Motorola is going to provide stock images in short time. Only you can is wait wait wait...!!
Post your model and maybe someone can use flashfire to create fastboot images for you.
@Damon7771 Like someone earlier had pointed out, it may take upto 1 or 2 months for firmware images to pop up. I am pretty much sure the water hasn't in anyway disturbed the ROM. It was something else. If you would like to revert back to stock marshmallow, then do as in http://forum.xda-developers.com/showpost.php?p=67031808&postcount=4 but skip gpt.bin and bootloader.img and everything should work fine. If you still got issues, take the device to the service center and they will do it for you. If it doesn't charge, I am not sure how you could even flash it since it requires device with atleast 60% battery.
I have a G4 Plus which i've flashed with a stock ROM. The phone is running Marshmallow 6.0.1 and the build number is: MPJ24.139-48 - the patch level is 1 May 2016. When I hit 'update' it doesn't update to July 2016 which is the latest available patch in the UK.
Does anyone have a UK marshmallow rom for the G4 Plus which I can load onto the phone and then update to the July 2016 patch??
Any help would be fantastic. Thanks in advance.
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images
Select I agree and then moto g from the dropdown menu. The instructions are fairly straightforward. XT1625 works for your device. Bootloader probably does not need to be unlocked if not downgrading**
Then execute the following
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot reboot
Edit: Use 7-Zip to extract the tarball from tgz file, and then again extract the files from the tarball.
**I'm not sure though, select allow oem unlocking in developer options just in case
mrinmaydhar - thank you very much. I will try that out now.
Which stock ROM did you flash, btw?
You may like to look at this stock ROM here https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1643-updated-signed-t3460695
Though it's for XT1643, I've previously successfully flashed it onto a UK XT1642, dual SIM G4 Plus and had no issues. It also brings the July security patch and build 139-63/64, and from what I remember, kept the EMEA baseband and IMEI numbers for both SIM ports.
echo92 said:
Which stock ROM did you flash, btw?
You may like to look at this stock ROM here https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1643-updated-signed-t3460695
Though it's for XT1643, I've previously successfully flashed it onto a UK XT1642, dual SIM G4 Plus and had no issues. It also brings the July security patch and build 139-63/64, and from what I remember, kept the EMEA baseband and IMEI numbers for both SIM ports.
Click to expand...
Click to collapse
Thanks i'll try that because it sounds like you've had a good success with it!
I flashed this one: ATHENE_MPJ24.139-48_cid50_subsidy-DEFAULT_CFC.xml
It worked but it was stuck on the 1st May 2016 security patch and kept saying it was up to date and wouldn't upgrade further.
Quick update: I tried echo's rom link because the other one had issues - WiFi wouldn't work.
Echo's xt1643 rom works well. It also includes the July 2016 patch level as mentioned in the posts above.
My next question is: when Nougat arrives, I assume we'll be able to upgrade to it. Will the nougat upgrade install the recovery file? For whatever reason, I don't think my recovery file installed properly when I flashed the rom. Just wondering ifnNougat will overwrite it when it is released?
motogfalcon said:
Quick update: I tried echo's rom link because the other one had issues - WiFi wouldn't work.
Echo's xt1643 rom works well. It also includes the July 2016 patch level as mentioned in the posts above.
My next question is: when Nougat arrives, I assume we'll be able to upgrade to it. Will the nougat upgrade install the recovery file? For whatever reason, I don't think my recovery file installed properly when I flashed the rom. Just wondering ifnNougat will overwrite it when it is released?
Click to expand...
Click to collapse
Nice one, from the sounds of it, everything's working
As for Nougat (whenever it arrives in the UK and Europe!), you should be receiving an OTA update, since you're up to the latest MM 139-63/64 build for our region. It also should flash onto your device provided no modifications have been made to the recovery/system (bootloader lock/unlock doesn't appear to matter).
What did you see that suggested your recovery wasn't properly installed? If it was an error such as 'not signed' or 'bad key', but reported OK after flashing, don't worry about it.
I got the 'not signed' message. Excellent! All seems to be working well. Looking forward to when Motorola release Nougat. It's a shame they haven't kept on top of the security patches because its a great device I think! Thanks again!
motogfalcon said:
Excellent! All seems to be working well.
Click to expand...
Click to collapse
What is your software channel now? Still retgb ?
Yes retgb. Apparently Lenovo are releasing Nougat soon in the UK so hopefully I'll get it on the retgb channel
So the only thing that has been done with this phone, is that the bootloader has been unlocked, officially with a code from Motorola. No custom recovery, ROM, or anything were installed on it.
I need to re-lock the bootloader so he can return it to warranty as his screen sometimes goes crazy and starts clicking everywhere. So I just download the latest firmware for Vodafone Australia, which I believe is:
XT1572_CLARK_RETASIA_6.0_MPHS24.49-20-8_cid7_subsidy-DEFAULT_CFC.xml
from:
https://firmware.center/firmware/Motorola/Moto%20X%20Style/Stock/XT1572/
And then follow the commands from this thread in the OP for the XT1575 (*should be the same codes, right?*).
https://forum.xda-developers.com/moto-x-style/general/guide-return-to-stock-relock-bootloader-t3489110
Also one final note, is the firmware I posted above the latest one for vodafone Australia? Just for confirmation, I am not sure, but according to this guide, it belongs to vodafone Australia:
https://forum.xda-developers.com/moto-x-style/general/australian-xt1572-guide-to-restore-t3292794
Qustion is what firmware on phone do you have?
Relock is possible by flashing the same or upper version only. @Blackfyre
dzidexx said:
Qustion is what firmware on phone do you have?
Relock is possible by flashing the same or upper version only. @Blackfyre
Click to expand...
Click to collapse
In the Bootloader it says:
Baseband: M8992_1255331.29.01.88.07R CLARK_APAC_CUST
Product/Variant: clark XT1572 32GB PC3
In the Phone Settings:
Build Number: NPH25.200-15
Any way to find out exactly if that's the same firmware as in the OP?
EDIT: His phone is running Nougat, I can't find a Nougat ROM for Clark ASIA or APAC (at all) from the link of firmwares above.
Blackfyre said:
In the Bootloader it says:
Baseband: M8992_1255331.29.01.88.07R CLARK_APAC_CUST
Product/Variant: clark XT1572 32GB PC3
In the Phone Settings:
Build Number: NPH25.200-15
Any way to find out exactly if that's the same firmware as in the OP?
EDIT: His phone is running Nougat, I can't find a Nougat ROM for Clark ASIA or APAC (at all) from the link of firmwares above.
Click to expand...
Click to collapse
There is no Nougat factory firmware image available, or even the "latest" Marshmallow version. Sorry, but without those it is no possible to lock the booloader. In order to lock the bootloader, you must flash a complete, signed image that is the same or a newer version than what you have.
Remember that relocking the bootloader will NOT remove the Unlocked Bootloader boot splash screen, nor will it hide the device has ever been unlocked (it is still plainly visibile on the bootloader screen and in a getvar all).
TBH, I have doubts we will ever see more factory firmware images... relocking the bootloader will probably never be possible.
@Blackfyre
This is Nougat, no flashable firmware.
Flash modified logo.bin and try warranty repair.
@acejavelin and @dzidexx
Thank you for the replies. I have a few questions.
If I root the device, can I install an old ROM on it, then update to the latest firmware available that is above, then lock OEM?
Would doing that result in Software = Modified? Because currently it's still Unmodified.
Flashing the modified logo.bin you mentioned above I am guessing will remove that warning that shows up at boot stating that the bootloader has been unlocked. Would flashing this .bin file result in Software = Modified or not?
And if not, then where can I find this modified logo.bin?
Thank you guys again for your help and replies.
https://forum.xda-developers.com/mo...e-unlocked-bootloader-warning-t3201141/page22
fastboot flash logo NameOfFile.bin
If after flashing still will be unmodified you can try relock:
fastboot oem lock begin
fastboot erase userdata
fastboot erase cache
fastboot oem lock @Blackfyre
dzidexx said:
https://forum.xda-developers.com/mo...e-unlocked-bootloader-warning-t3201141/page22
fastboot flash logo NameOfFile.bin
If after flashing still will be unmodified you can try relock:
fastboot oem lock begin
fastboot erase userdata
fastboot erase cache
fastboot oem lock @Blackfyre
Click to expand...
Click to collapse
Does that work though without flashing full firmware images?
quakeaz said:
Does that work though without flashing full firmware images?
Click to expand...
Click to collapse
No, you must flash a full, signed image... In some newer Moto devices you can get by with flashing only the signed system sparce_chunks and wiping data, in 3rd gen and older devices flashing a full signed image, even if already stock, is required.
acejavelin said:
No, you must flash a full, signed image... In some newer Moto devices you can get by with flashing only the signed system sparce_chunks and wiping data, in 3rd gen and older devices flashing a full signed image, even if already stock, is required.
Click to expand...
Click to collapse
Previous post - It was only my hope.
In Europe, Moto/Lenovo can not refuse to repair the components for two years.
dzidexx said:
Previous post - It was only my hope.
In Europe, Moto/Lenovo can not refuse to repair the components for two years.
Click to expand...
Click to collapse
Eh... Yeah, they can and do, often saying that what was done while unlocked is the cause of the problem... And then you have to fight it, by the time it's all said and done many people just give up as the process can take many months.