HELP! I Still Cant Re-Lock bootloader - Moto G7 Power Questions & Answers

i have the official firmware downloaded using Lenovo Moto Smart Assistant: OCEAN_PPOS29.114_134_7_1_cid50_subsidy_DEFAULT_regulatory_DEFAULT_CFC.xml
running a batch file with the following
Code:
fastboot set_active a
fastboot reboot-bootloader
sleep 5
fastboot oem lock begin
fastboot oem lock begin
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.exe erase modemst1
fastboot.exe erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash dtbo dtbo.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 system system.img_sparsechunk.9
fastboot flash system_b system.img_sparsechunk.0
fastboot flash system_b system.img_sparsechunk.1
fastboot flash system_b system.img_sparsechunk.2
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot.exe erase carrier
fastboot.exe erase userdata
fastboot.exe erase ddr
fastboot oem fb_mode_clear
fastboot oem lock
pause
when i run
Code:
fastboot oem lock
the final time it tells me "Still Requires Signed Boot.Img"
flashing the boot.image results in "(bootloader) Still require signed boot.img"
any ideas where i can get a working boot.img?

MadMan29729 said:
i have the official firmware downloaded using Lenovo Moto Smart Assistant: OCEAN_PPOS29.114_134_7_1_cid50_subsidy_DEFAULT_regulatory_DEFAULT_CFC.xml
running a batch file with the following
when i run the final time it tells me "Still Requires Signed Boot.Img"
flashing the boot.image results in "(bootloader) Still require signed boot.img"
any ideas where i can get a working boot.img?
Click to expand...
Click to collapse
(coming from flashing stock)
fastboot oem lock begin
fastboot oem lock begin
fastboot oem lock
fastboot oem lock
fastboot oem lock
fastboot flash boot boot.img
fastboot oem lock

vinoxflame said:
(coming from flashing stock)
fastboot oem lock begin
fastboot oem lock begin
fastboot oem lock
fastboot oem lock
fastboot oem lock
fastboot flash boot boot.img
fastboot oem lock
Click to expand...
Click to collapse
that worked! Thanks!

that didn't lock mine
C:\ADB>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (32768 KB)...
OKAY [ 0.993s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.763s]
finished. total time: 1.760s
C:\ADB>fastboot oem lock
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.012s]
finished. total time: 0.014s

your going to have to root it with magisk or the option will be greyed out and say "bootloader already unlocked".. once you have a booted rooted rom, goto developer options and check enable Allow OEM Unlock..

MadMan29729 said:
your going to have to root it with magisk or the option will be greyed out and say "bootloader already unlocked".. once you have a booted rooted rom, goto developer options and check enable Allow OEM Unlock..
Click to expand...
Click to collapse
So have to to root it first, then lock the bootloader?

endleesss said:
So have to to root it first, then lock the bootloader?
Click to expand...
Click to collapse
Yeah that doesn't sound like a good idea.
Sent from my mata using XDA Labs
---------- Post added at 05:58 AM ---------- Previous post was at 05:56 AM ----------
Make sure you have the correct software channel
Sent from my mata using XDA Labs

yes cause that's what I had to do cause motorola won't let you relock it unless you flash the factory firmware along with the lock command but you can't lock it without checking allow oem unlock

endleesss said:
So have to to root it first, then lock the bootloader?
Click to expand...
Click to collapse
its the only way to get rid of the bootloader error that says you need to enable Allow OEM Unlock.. rooting with magisk just forces the allow oem unlock to be enabled.. so you can check it..
as far as locking.. once you run the lock commands you have to flash the factory images then run the lock command again.. therefore you won't be rooted in the end!

Question for anyone who may know ..
So if we're already rooted and we would like to lock our bootloader we have to flash our factory image and type in the bootloader lock command as well?
Anyone successfully locked there bootloader?
If we have an unlocked bootloader and we lock it can we return back to unlocked bootloader immediately afterwards? Has anyone done this? Do we use same method as we initially did to unlock our bootloader? I only say that because I do not have my original code for my bootloader unlock that I used. If we go about it same way will Motorola give us the code again or do we need to still have those #s that we originally used?
I'm on a mission now. Soon as I comment this I'll search my butt off for a while and see what all I can figure out. If I get any good solid information I shall return here and share it for sure. Good day to everyone.
---------- Post added at 07:21 PM ---------- Previous post was at 07:08 PM ----------
Credit to @smokinu from motp G7 River forum. I'm pasting the comment here below.
I saw the same thing on my end at first. Found this to work repeatedly....
fastboot oem lock (enter this a few times until i says something to the effect of...."you still need to flash a signed boot.img")
fastboot flash boot boot.img (this will now flash fine without saying the image is not signed)
fastboot oem lock (if you prefer to re-lock. You'll need the unlock key again if you plan to unlock).
Above is from post #34 here: https://forum.xda-developers.com/mo...are-29-114-t3913673/post79305396#post79305396 And I'm quite sure the same method will work for Power although I have not tested this. Pretty sure it will though.

In order to relock my bootloader, I had to root my phone using the magisk method.
After I was rooted I was able to go into develope options and turn on allow oem unlocking.
Then, I was able to flash the signed bootloader from an oem firmware and relock the bootloader.
You must use the same bootloader version that is currently on your phone. You can not downgrade the bootloader.
And yes, you can unlock it at a later time.
Sent from my moto g(7) power using Tapatalk

MrCamby said:
In order to relock my bootloader, I had to root my phone using the magisk method.
After I was rooted I was able to go into develope options and turn on allow oem unlocking.
Then, I was able to flash the signed bootloader from an oem firmware and relock the bootloader.
You must use the same bootloader version that is currently on your phone. You can not downgrade the bootloader.
And yes, you can unlock it at a later time.
Click to expand...
Click to collapse
Thanks for the info! I always just assume on any device that bootloader can't be downgraded. When I first get the device anyway.. thanks!

can you help me relock bootloader of motorola one p30 play? i am having same issue even after typing
fastboot oem lock begin
fastboot oem lock begin
fastboot oem lock
fastboot oem lock
fastboot oem lock
fastboot flash boot boot.img
fastboot oem lock
it still says "still require signed boot.img"
also i have a dual slot partition slot phone

Related

Relock the Bootloader

Hi,
I want to give my unlocked Moto G to a family member - and I'd like to relock the bootloader again, for security reasons.(I don't care about the warranty)
is there a way to do that?
RazorHail said:
Hi,
I want to give my unlocked Moto G to a family member - and I'd like to relock the bootloader again, for security reasons.(I don't care about the warranty)
is there a way to do that?
Click to expand...
Click to collapse
open FAQ
ctrl+f : "relock"
matmutant said:
open FAQ
ctrl+f : "relock"
Click to expand...
Click to collapse
thanks,
I've already tried that.
But when I enter "fastboot oem lock", I get:
(bootloader) FAIL: Please run fastboot oem lock begin first!
(bootloader) sst lock failure!
Click to expand...
Click to collapse
when I enter the suggested "fastboot oem lock begin", I get:
(bootloader) Ready to flash signed images
Click to expand...
Click to collapse
I'm not sure what that's suppose to mean.....I already downloaded the official firmware images and flashed those immediately after I get this message........but it still says that the bootloader is unlocked.
And immediately returning back to the bootloader and typing in "fastboot oem lock" still won't work - same message as before...
am I missing something?
RazorHail said:
thanks,
I've already tried that.
But when I enter "fastboot oem lock", I get:
when I enter the suggested "fastboot oem lock begin", I get:
I'm not sure what that's suppose to mean.....I already downloaded the official firmware images and flashed those immediately after I get this message........but it still says that the bootloader is unlocked.
And immediately returning back to the bootloader and typing in "fastboot oem lock" still won't work - same message as before...
am I missing something?
Click to expand...
Click to collapse
Yup, this "unlock-relock" is WIP yet ..
i done a relock last week and this works for me.use adb command "fastboot oem lock begin" go through the routine to flash factory firmware image and use "fastboot oem lock" command to finish after you flashed factory firmware.
akaygee said:
i done a relock last week and this works for me.use adb command "fastboot oem lock begin" go through the routine to flash factory firmware image and use "fastboot oem lock" command to finish after you flashed factory firmware.
Click to expand...
Click to collapse
So, steps are these:
1: fastboot oem lock begin
2: flash stock firmware
3: fastboot oem lock
And BL will be locked again. Correct me if i'm wrong.
Problem is that for "unlocked" we need always of a code by motorola atm.
denzel09 said:
So, steps are these:
1: fastboot oem lock begin
2: flash stock firmware
3: fastboot oem lock
And BL will be locked again. Correct me if i'm wrong..
Click to expand...
Click to collapse
thats how it works on most motorola android phones i have used ,it works fine on my moto g so yes that is right.
like so
fastboot oem lock begin
fastboot flash partition gpt.bin
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot oem lock
akaygee said:
thats how it works on most motorola android phones i have used ,it works fine on my moto g so yes that is right.
like so
fastboot oem lock begin
fastboot flash partition gpt.bin
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot oem lock
Click to expand...
Click to collapse
for me not working
{
"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"
}
danger2u said:
for me not working
Click to expand...
Click to collapse
you didn't flash factory firmware in between
akaygee said:
you didn't flash factory firmware in between
Click to expand...
Click to collapse
i have some problem when i try to flash the system img
this is just a quick howto am at work....
the files you need and will use are in moto g section of this forum.
firmware's here
http://forum.xda-developers.com/showthread.php?t=2546251
relock bootloader
=============
keep in mind this will remove any and all personal files and settings
like any self respecting android user you have made backups right....!!!! GOOD
download adb and fastboot extract or place into a directory.
now download the factory firmware image of your phone extract zip/rar and place into the same directory.
download "relock bootloader.txt" rename to "relock bootloader.bat" place this in the same directory as the files and double click it ,this would save you typing in all the commands from below in by hand and does it all for you.recap....if you did download and run relock bootloader.bat you dont need to type anything form below
open a command prompt as administrator ,navigate to the directory where you placed all the files we are working with and type as follows giving time for each command to finish.
fastboot oem lock begin
fastboot flash partition gpt.bin
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot oem lock
When we ask the motorola unlock code, this does not imply that we actually unlock the bootloader.
I mean, i can ask to motorola to unlock code but i can decide to unlock also after sometimes, who stops me.
So, i think that when we relock bootloader, also if previously we asked an unlock code, we are ok, for what i writed above. How can they to be sure that bootloader has been really unlocked in case of brick or hardware failure ?
denzel09 said:
When we ask the motorola unlock code, this does not imply that we actually unlock the bootloader.
I mean, i can ask to motorola to unlock code but i can decide to unlock also after sometimes, who stops me.
So, i think that when we relock bootloader, also if previously we asked an unlock code, we are ok, for what i writed above. How can they to be sure that bootloader has been really unlocked in case of brick or hardware failure ?
Click to expand...
Click to collapse
the boot loader has a status indicator.phone shops/retailers probably won't check it but motorola will.
akaygee said:
the boot loader has a status indicator.phone shops probably won't check it but motorola will.
Click to expand...
Click to collapse
Understood, i had read something in an other post, so to complete the "opera" we need to 'something' to reset that count/status? Like on samsung device, s2 et similia?
denzel09 said:
Understood, i had read something in an other post, so to complete the "opera" we need to 'something' to reset that count/status? Like on samsung device, s2 et similia?
Click to expand...
Click to collapse
yes that is right we would need to find out what file is responsible for storing the count or status of the boot loader as its not the boot loader its self that holds this information.even if you flash the whole system after relocking the bootloader the count is still there.
akaygee said:
yes that is right we would need to find out what file is responsible for storing the count or status of the boot loader as its not the boot loader its self that holds this information.even if you flash the whole system after relocking the bootloader the count is still there.
Click to expand...
Click to collapse
wth i just doing wrong???
the firmware is Blur_Version.14.91.11.falcon_umts.Retail.en.DE
he gives me this error and on the phone says failed to validate system image
akaygee said:
yes that is right we would need to find out what file is responsible for storing the count or status of the boot loader as its not the boot loader its self that holds this information.even if you flash the whole system after relocking the bootloader the count is still there.
Click to expand...
Click to collapse
Motorola talked about a fuse that is "burned" when unlocking, that's why they know, even after relocking
_________________________
i need to update FAQ about relocking (i never ever needed to relock a bootloader myself )
So for relocking, i would like to directly link your post @akaygee, please duplicate it in FAQ thread . then, i'll ask the current thread to be moved to Q&A.
@danger2u
interesting ,are you using a carrier branded phone.? that or the bootloader is locked
i used this method on a uk retail moto g and never run into any problems
akaygee said:
interesting ,are you using a carrier branded phone.?
i used this method on a uk retail moto g and never run into any problems.
Click to expand...
Click to collapse
no is not branded
i bought from italian retail store
now i will try to flash with uk firmware
matmutant said:
Motorola talked about a fuse that is "burned" when unlocking, that's why they know, even after relocking
_________________________
i need to update FAQ about relocking (i never ever needed to relock a bootloader myself )
So for relocking, i would like to directly link your post @akaygee, please duplicate it in FAQ thread . then, i'll ask the current thread to be moved to Q&A.
Click to expand...
Click to collapse
So it will be impossible to reset that status ?

Moto g errors when updating to lollipop

Hi had a moto g xt1039 on 4.4.4 yesterday finally got the official 5.0.1 update however my phone is rooted and the bootloader is unlocked. So I got the official stock from for my phone checked it and the cid number too. Followed the instructions on here to flash the rom back on. This all worked and a clean install was done. After a few apps updated the lollipop update message appeared again so downloaded and installed it however during the install it errored, restarted and once I was back on the phone dashboard it said an error occurred no changes made. The bootloader is still unlocked. Could this be the issue? If so how do you relock or what could cause the install error issue?
Many thanks
update so far while waiting for someone to help fix this current issue i have done some research on how to lock the boot loader. I found a guide on here to do so and the commands within mfastboot was as follows:
fastboot oem lock begin
fastboot flash partition gpt.bin
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot oem lock
So i executed this and now the problem is after restarting the phone the screen is stuck on the warning boot loader unlocked screen and wont move. Te phone still can boot into boot loader and communicates with the pc.
So i re flashed the firmware with the original guide ( without the fastboot oem lock) but still stuck on the boot loader unlock screen. Do i have to input a command to unlock the boot loader again?
Need this sorting asap as its my only phone for communication and i currently don't have a functioning phone.
Many Thanks
Unlocked Bootloader is not the reason for your original issue. I have never 'relocked.'
Download the XT1039 Fastboot Firmware image here:
http://forum.xda-developers.com/showpost.php?p=61445658&postcount=654​Use mfastboot to flash the files: https://www.androidfilehost.com/?fid=23578570567719065
TIP: Do not include the follow command for your own safety: mfastboot flash motoboot motoboot.img

Moto G4 Plus XT[1640-44] ATHENE NPJ25.93-14 FASTBOOT + Relock Bootloader

Disclaimer: I am not responsible for anything that happens as a result of flashing these files. Your destiny is your own.
This firmware can be flashed on Both locked and Unlocked Bootloaders
Moto G4 Plus [XT1640/XT1641/XT1642/XT1643/XT1644] ATHENE NPJ25.93-14 FASTBOOT + Relock Bootloader
Requirements:
1. Download the Minimal ADB and Fastboot = https://www.androidfilehost.com/?fid=745425885120698566
2. Install Minimal ADB and Fastboot = https://forum.xda-developers.com/showthread.php?t=2317790
3. Moto Drivers
For Windows: http://www.devfiles.co/download/5eExXq3a/MotorolaDeviceManager_2.5.4.exe
For Mac:http://www.devfiles.co/download/i51GYJjz/MDM_Installer_2.2.9.dmg
4. Download Fastboot ROM Zip : https://drive.google.com/file/d/0Bx6eXSiwEdFFWXZyYjB5S0xlZWs/view :good:
Firmware via FASTBOOT:
1. Download the rar file and unzip it.
2.Extract all the files to your fasboot folder.
3.Restart the Moto G4 in fastboot mode.
4. Make sure that usb debugging is on.
5.Connect the Phone in fastboot mode to the computer
Run the "OEM Flash.bat" script that is inside the folder that is created when you unzip the file.(If you want to lock your bootloader Use "OEM lock.bat")
You Can also do it Manually In adb fastboot folder shift+right click and then in the pop up click open command window here
fastboot oem lock begin
fastboot oem lock begin
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 erase customize (optional: will erase any customizations if ordered through motomaker)
fastboot erase clogo (optional: will erase the custom boot logo if ordered through motomaker)
fastboot oem lock
fastboot reboot
NOTE:
1. If you dont want to lock your bootloader just skip the "fastboot oem lock" and "fastboot oem lock begin" Commands
2. Since this file was compressed using 7zip you need 7zip to extract it using Winrar or Winzip will give you an error you can download 7zip from http://www.7-zip.org/download.html
3.Using the "OEM Flash.bat" or "OEM lock.bat" will wipe your data and all the Customizations like Root and Xposed and get it to Factory Condition if You are Reverting back to Stock from a Custom Rom Or Upgrading Stock it is Strongly Advised to Wipe your Data to avoid bugs and crashes(system/app)
In any case if you don't want to wipe data just remove this command "fastboot erase userdata" from the bat file or skip it if your flashing manually
HIT THANKS IF I HELPED YOU !
FOR FURTHER ASSISTANCE JOIN THE TELEGRAM GROUP FOR OUR G4 FAMILY https://telegram.me/g4plus
Works on XT1622 ?
kosmasgr said:
Works on XT1622 ?
Click to expand...
Click to collapse
May work not confirmed
kosmasgr said:
Works on XT1622 ?
Click to expand...
Click to collapse
Yes it does. Just used it to re lock my uk 1622. All seems to be working perfectly. Shows the correct model in about settings
oldsoulsong said:
Yes it does. Just used it to re lock my uk 1622. All seems to be working perfectly. Shows the correct model in about settings
Click to expand...
Click to collapse
Can confirm.
Just re-locked the bootloader on my European XT1622 with this.
Don't forget to enable OEM Unlocking and USB Debugging in Developer Options!
How about xt1641
Sent from my Moto G (4) using XDA-Developers Legacy app
Can i use this for rooted ressurection remix
Sent from my Moto G4 Plus using Tapatalk
tonypooyappallil said:
Can i use this for rooted ressurection remix
Click to expand...
Click to collapse
Yes
daeshawn said:
How about xt1641
Click to expand...
Click to collapse
Yes it works on xt1641
Greekgodmerwyn said:
Yes
Click to expand...
Click to collapse
So if i use this, i will relock my bootloader, then iam eligible for warranty?
Sent from my Moto G4 Plus using Tapatalk
tonypooyappallil said:
So if i use this, i will relock my bootloader, then iam eligible for warranty?
Click to expand...
Click to collapse
No you have received an unlock key from Motorola to unlock your bootloader hence when they enter your serial no they will find out in their data base that your device was unlocked
Greekgodmerwyn said:
No you have received an unlock key from Motorola to unlock your bootloader hence when they enter you serial no they will find out in their data base that your device was unlocked :good:
Click to expand...
Click to collapse
Okay. But the device will get locked bootloader right?
Sent from my Moto G4 Plus using Tapatalk
tonypooyappallil said:
Okay. But the device will get locked bootloader right?
Click to expand...
Click to collapse
Yes use the oemlock.bat or if you are doing it manually then use the OEM lock commands this will only work if you are upgrading
Greekgodmerwyn said:
Disclaimer: I am not responsible for anything that happens as a result of flashing these files. Your destiny is your own.
Moto G4 Plus [XT1640/XT1641/XT1642/XT1643] ATHENE NPJ25.93-14 FASTBOOT + Relock Bootloader
Requirements:
1. Download the Minimal ADB and Fastboot = https://drive.google.com/file/d/0B1M...ew?usp=sharing
2. Install Minimal ADB and Fastboot = https://forum.xda-developers.com/showthread.php?t=2317790
3. Moto Drivers
For Windows: http://www.devfiles.co/download/5eExXq3a/MotorolaDeviceManager_2.5.4.exe
For Mac:http://www.devfiles.co/download/i51GYJjz/MDM_Installer_2.2.9.dmg
4. Download Fastboot ROM Zip : https://drive.google.com/file/d/0Bx6eXSiwEdFFWXZyYjB5S0xlZWs/view :good:
Firmware via FASTBOOT:
1. Download the rar file and unzip it.
2.Extract all the files to your fasboot folder.
3.Restart the Moto G4 in fastboot mode.
4. Make sure that usb debugging is on.
5.Connect the Phone in fastboot mode to the computer
Run the "OEM Flash.bat" script that is inside the folder that is created when you unzip the file.(If you want to lock your bootloader Use "OEM lock.bat")
You Can also do it Manually In adb fastboot folder shift+right click and then in the pop up click open command window here
fastboot oem lock begin
fastboot oem lock begin
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 erase customize
fastboot erase clogo
fastboot oem lock
fastboot reboot
NOTE:
If you dont want to lock your bootloader just skip the "fastboot oem lock" and "fastboot oem lock begin" Commands
HIT THANKS IF I HELPED YOU !
FOR FURTHER ASSISTANCE JOIN THE TELEGRAM GROUP FOR OUR G4 FAMILY https://telegram.me/g4plus
Click to expand...
Click to collapse
The image is corrupted plz upload new image in google drive
a-2-k said:
The image is corrupted plz upload new image in google drive
Click to expand...
Click to collapse
Use 7Zip to Extract it is a 7zip file if you try to extract it with winrar or WinZip you will definitely get an error and please don't quote the whole thread while replying
Greekgodmerwyn said:
Use 7Zip to Extract it is a 7zip file if you try to extract it with winrar or WinZip you will definitely get an error and please don't quote the whole thread while replying
Click to expand...
Click to collapse
sorry I don't see....7zip
xploder270 said:
Can confirm.
Just re-locked the bootloader on my European XT1622 with this.
Don't forget to enable OEM Unlocking and USB Debugging in Developer Options!
Click to expand...
Click to collapse
What about your baseband version now ? Is it still EMEA ? (I am extra cautious not to lose European LTE bands).
a-2-k said:
sorry I don't see....7zip
Click to expand...
Click to collapse
download from here:
http://www.7-zip.org/download.html
rjtgupta84 said:
download from here:
http://www.7-zip.org/download.html
Click to expand...
Click to collapse
I think he meant to say that he didn't know that it was 7zip
Greekgodmerwyn said:
I think he meant to say that he didn't know that it was 7zip
Click to expand...
Click to collapse
Yes you got it

Flashing firmwire

Hi, I'm trying to flash firmware on moto g3 but when I write command "fastboot flash partition gpt.bin" it tells me "error: cannot found 'gpt.bin' ". I have got all files thats are necessary. What is wrong with my phone? Some one had this problem? Someone can help me?
I actualy did it. I used Minimal ADB and fastboot program. But now, when I'm trying to lock bootloader, it saies "Please fully flash the signed build before locking phone!". I flashed system stepbystep with https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750 ( without flashing gpt.bin because it saies "Preflash validation failed" ) Any ideas?
Theheero said:
I actualy did it. I used Minimal ADB and fastboot program. But now, when I'm trying to lock bootloader, it saies "Please fully flash the signed build before locking phone!". I flashed system stepbystep with https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750 ( without flashing gpt.bin because it saies "Preflash validation failed" ) Any ideas?
Click to expand...
Click to collapse
You can't relock the bootloader using a version of firmware that is older than what you have... that is what you are trying to do.
Don't preface the flash with "oem lock begin", just start with like this:
fastboot oem fb_mode_set
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash partition gpt.bin
<rest of stuff>
fastboot oem fb_mode_clear
fastboot reboot
Without a version of official firmware that is the same or newer than what you have installed, you cannot relock the bootloader... and we don't have the current releases.
acejavelin said:
You can't relock the bootloader using a version of firmware that is older than what you have... that is what you are trying to do.
Don't preface the flash with "oem lock begin", just start with like this:
fastboot oem fb_mode_set
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash partition gpt.bin
<rest of stuff>
fastboot oem fb_mode_clear
fastboot reboot
Without a version of official firmware that is the same or newer than what you have installed, you cannot relock the bootloader... and we don't have the current releases.
Click to expand...
Click to collapse
Any danger if I 'll use gpt.bin from other firmware of other version of phone which match?
Theheero said:
Any danger if I 'll use gpt.bin from other firmware of other version of phone which match?
Click to expand...
Click to collapse
Don't do it. Download the factory images for your specific device here https://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639, and flash them.

Moto X Play India & Brazil Official Final Firmware 7.1.1 (Fastboot Files)

I have tried the Indian Version and is working completely fine
If you can't download files from Motorola cloud then try using a VPN.
Indian Version
Motorola Cloud
Mega
Github
Drive
Brazilian Version
Motorola Cloud
AndroidFileHost
Mega
Github
If you don't know how to flash this files go to : How to Flash Fastboot files
To completely relock the bootloader use the below commands
Code:
fastboot oem fb_mode_set
fastboot oem lock begin
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 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 oem lock
fastboot oem fb_mode_clear
fastboot reboot
ALWAYS CHECK YOUR MODEL
FLASHING WRONG FIRMWARE CAN DESTROY A PHONE​
Thanks to Rickk (Japa) and kumeipark for the links
dheerajz said:
I have tried the Indian Version and is working completely fine
Hey, I am getting Access Denied while downloading the Indian version.
Click to expand...
Click to collapse
dheerajz said:
I have tried the Indian Version and is working completely fine
Indian Version
Brazilian Version​
If you don't know how to flash this files go to : How to Flash Fastboot files
To completely relock the bootloader use the below commands
Code:
fastboot oem fb_mode_set
fastboot oem lock begin
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 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 oem lock
fastboot oem fb_mode_clear
fastboot reboot
ALWAYS CHECK YOUR MODEL
FLASHING WRONG FIRMWARE CAN DESTROY A PHONE​
Thanks to Rickk (Japa) for the links
Click to expand...
Click to collapse
Getting access denied issue.
Can you post a mega or google drive link for the fastboot files.
Seems they verify the IP of client and give access depends on region. Maybe some proxy help.
Indian version link is not working
Uploading Indian Version: 1 Hr. left!
kumeipark said:
Uploading Indian Version: 1 Hr. left!
Click to expand...
Click to collapse
Is it same as above link
---------- Post added at 09:17 AM ---------- Previous post was at 09:15 AM ----------
dheerajz said:
I have tried the Indian Version and is working completely fine
If you can't download files from Motorola cloud then try using a VPN.
Indian Version
Motorola Cloud
Adding more Links
Brazilian Version
Motorola Cloud
AndroidFileHost
Mega
If you don't know how to flash this files go to : How to Flash Fastboot files
To completely relock the bootloader use the below commands
ALWAYS CHECK YOUR MODEL
FLASHING WRONG FIRMWARE CAN DESTROY A PHONE
Thanks to Rickk (Japa) for the links
Click to expand...
Click to collapse
Can I just flash these files through twrp
ssmmod293 said:
Is it same as above link
Click to expand...
Click to collapse
Untouched Version (Same as above)
Anyone who flashed the Indian Version Firmwire from Stock unlocked bootloader 6.0.1 ?
Can you post detailed step by step for installing this.
I mean there is a bigger risk in bricking through fast boot than TWRP . So a detailed step by step guide will be so useful.
TIA
XT1562 India Mirror:
https://mega.nz/#!ilBzhQCa!Sonpj4GZinqOIf3NcQldFK8nf9ZBz6iUAvh6OkNYq84
https://github.com/motoxplay/stock/...PD26.48-24-1_cid7_subsidy-DEFAULT_CFC.xml.zip
https://drive.google.com/open?id=0Bz08OrxbxDBsQVp6d1VHaUZhV1k
XT1563 Brazil Mirror:
https://github.com/motoxplay/stock/...D26.48-24-1_cid12_subsidy-DEFAULT_CFC.xml.zip
nishantmor_27 said:
dheerajz said:
I have tried the Indian Version and is working completely fine
Hey, I am getting Access Denied while downloading the Indian version.
Click to expand...
Click to collapse
Working for me If you guys want I can upload it to new link
Click to expand...
Click to collapse
ssmmod293 said:
Is it same as above link
---------- Post added at 09:17 AM ---------- Previous post was at 09:15 AM ----------
Can I just flash these files through twrp
Click to expand...
Click to collapse
Never sir. You have to used PC or laptop.
dheerajz said:
To completely relock the bootloader use the below commands[/SIZE]
Code:
fastboot oem fb_mode_set
fastboot oem lock begin
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 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 oem lock
fastboot oem fb_mode_clear
fastboot reboot
ALWAYS CHECK YOUR MODEL
FLASHING WRONG FIRMWARE CAN DESTROY A PHONE​
Thanks to Rickk (Japa) for the links
Click to expand...
Click to collapse
Why do we need commands to relock bootloader ? Does this unlock the bootloader ?
swaggy123 said:
Why do we need commands to relock bootloader ? Does this unlock the bootloader ?
Click to expand...
Click to collapse
This commands are for those who have an unlocked bootloader and want to relock the bootloader
swaggy123 said:
Why do we need commands to relock bootloader ? Does this unlock the bootloader ?
Click to expand...
Click to collapse
Not bootloader relock. Its oem lock.
---------- Post added at 05:34 PM ---------- Previous post was at 05:32 PM ----------
dheerajz said:
I have tried the Indian Version and is working completely fine
If you can't download files from Motorola cloud then try using a VPN.
Indian Version
Motorola Cloud
Adding more Links
Brazilian Version
Motorola Cloud
AndroidFileHost
Mega
If you don't know how to flash this files go to : How to Flash Fastboot files
To completely relock the bootloader use the below commands
Code:
fastboot oem fb_mode_set
fastboot oem lock begin
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 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 oem lock
fastboot oem fb_mode_clear
fastboot reboot
ALWAYS CHECK YOUR MODEL
FLASHING WRONG FIRMWARE CAN DESTROY A PHONE​
Thanks to Rickk (Japa) for the links
Click to expand...
Click to collapse
Brazil ROM have 7 system .image. Cmd should add one more command
dheerajz said:
I have tried the Indian Version and is working completely fine
Click to expand...
Click to collapse
Thank you so much.. was waiting for this from a long time..
Can anyone confirm that by going this method does the playstore is certified or not because I went by another method from another post by restoring backup image provided
ok, thanksssss!!!!
ssmmod293 said:
Can anyone confirm that by going this method does the playstore is certified or not because I went by another method from another post by restoring backup image provided
Click to expand...
Click to collapse
YES it shows certified on playstore
thuybang said:
not bootloader relock. Its oem lock.
---------- post added at 05:34 pm ---------- previous post was at 05:32 pm ----------
brazil rom have 7 system .image. Cmd should add one more command
Click to expand...
Click to collapse
thanks updating op

Categories

Resources