Converting Amazon version to Standard Unlocked? - Moto G7 Questions & Answers

Is there any way to do this? Don't want the amazon bloat on my device. Or if possible is there a list of amazon bloat to remove with a script or something?

You can unlock bootloader and flash stock unlocked firmware

B__B said:
You can unlock bootloader and flash stock unlocked firmware
Click to expand...
Click to collapse
Can I then relock?

Yes just don't know how to do it

B__B said:
Yes just don't know how to do it
Click to expand...
Click to collapse
From a G7 Play thread.
https://forum.xda-developers.com/showpost.php?p=79684645&postcount=5
* first reflash the 'boot.img' from the correct firmware file - 'fastboot flash boot boot.img' (in the Internet there are official images to the smartphone)
* then you can lock the bootloader again with 'fastboot oem lock'.
"bad key" is gone, SafetyNet test passed and OTA is working again.

Related

Is it possible to relock the bootloader?

I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Yes. Flash complete stock everything, boot into bootloader, connect to PC, and "fastboot oem lock".
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Kevinkuensken said:
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Click to expand...
Click to collapse
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Kevinkuensken said:
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Click to expand...
Click to collapse
Boot into bootloader, not EDL.
Erahgon said:
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Click to expand...
Click to collapse
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Locking it again is good for when you want to sell the device or send it in for warranty repair.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Yeah, the unlock procedure is the same as before. If you didn't restore the original boot image before the relock, then it's just a matter of booting into fastboot and unlocking the device. Note that this will cause your data to be wiped as well!
If you restore your boot.bin backup file from when your device was locked, does this lock the bootloader? "fastboot oem lock", "fastboot flashing lock" nor "fastboot oem device-info" does nothing for me. Is there any other way to check if your bootloader has been relocked?
Thanks
H0lmEd said:
I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Click to expand...
Click to collapse
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
joaste said:
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
Click to expand...
Click to collapse
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
sauerkraut17 said:
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
Click to expand...
Click to collapse
Thanks for the answer.
But there are a few files to flash before using that command according to this thread.
Doesn't anything need to be flashed again (e. g. stock files or anything)?
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
sauerkraut17 said:
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
Click to expand...
Click to collapse
My phone is only a few days old. I'm debating whether to keep it or not (considering the Mate 9, but the price is not the same - love the form factor and bigger screen though - sound won't be the same and I think I'll miss the MiPop button on the Axon (never thought that would happen )).
I'm on the latest MM (B10 - the A2017G model).
Following the mentioned thread, I got to the point of installing TWRP (the signed version), only to realize that besides making backups, there is not much else I can do with that without unlocking the bootloader. I really just wanted to flash supersu and install adaway fro the time being until development matured for this phone (maybe also play around with viper - had great results on my LG G4).
HI, I get the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock". Any way to fix this?
Guys, can anyone help me? I really need to lock the bootloader!
How can I fix the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock"?
I'm on MM B11 Stock.
https://i.imgur.com/fdkgYs6.jpg
Hi Guys,
The Axon 7 Model A2017U I just purchased has the bootloader locked and it is running LineageOS 14.1 - 2018032-Nightly-axon7. I need to relock the bootloader and get back to the stock MiFavor rom so that I can send the phone to ZTE for repair. Can you please explain to a newb in some detail how to achieve that.
Thank you.

Relock bootloader problem - Still require signed boot.img? [QUALCOMM]

I'm trying to get one of my E4's ready to sell (I have two of them) and need to relock the bootloader so that the N/A message goes away. I reinstalled the stock firmware provided here using fastboot (and followed the appropriate oem locking steps) but at the very end I get:
Code:
Still require signed boot.img
I am assuming nobody has found a workaround for this as Lenovo hasn't provided official stock firmware and I haven't seen any posts about a solution? Would appreciate any insight.
Not possible currently, just let the buyer know that the bootloader is unlocked and it's root ready lol.
Is it still currently not possible to relock the bootloader?
AZImmortal said:
Is it still currently not possible to relock the bootloader?
Click to expand...
Click to collapse
fastboot oem lock_bootloader
Then go to Motorola.com grab a stock image
Fastboot flash boot boot.img and everything else too.
Fastboot flash
bootloader
oem
Boot
Logo
system
Etc....
I did this and had to use my code that they emailed me to unlock the boot loader again.

How to Relock Bootloader in MiA1

Hello Guys,
I am trying to relock the bootloader of MiA1 but if I type command- "fastboot oem unlock" then my mobile cause stuck on bootloop. The same thing also happens with AIO Tool.
So please help me if anyone knows how to relock bootloader again? And also let me know whether unlocking bootloader affect warranty or not?
I know one method to lock bootloader that is, you can install stock ROM by mi flash tool but I need to install magisk and that require to unlock bootloader and if I unlocked once then unable to relock again.
The command in fastboot is fastboot oem lock
Have you done some modifications to the stock boot.img file, such as using magisk or something else?
goofball2k said:
The command in fastboot is fastboot oem lock
Have you done some modifications to the stock boot.img file, such as using magisk or something else?
Click to expand...
Click to collapse
yes
Dipesh17 said:
yes
Click to expand...
Click to collapse
Simply use MIflashtool bro. Flash a nougat fastboot rom via MIFlashtool. Choose option to lock and all
Rajeev said:
Simply use MIflashtool bro. Flash a nougat fastboot rom via MIFlashtool. Choose option to lock and all
Click to expand...
Click to collapse
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Dipesh17 said:
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Click to expand...
Click to collapse
U did something wrong bro. MI Flashtool can lock bootloader easily with a full firmware flash
Dipesh17 said:
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Click to expand...
Click to collapse
Not sure if I understood correctly, but it seems that you want to have Magisk + TWRP + locked bootloader. That is simply not possible. For locked bootloader you must have stock ROM (no root, in fact absolutely no modification).
Dipesh17 said:
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Click to expand...
Click to collapse
Bootloader lock is like a door.
If its open you can put nice things like magisk, root, modification like custom rom and kernel.
Now if you try to relock it it won't lock until and unless you take all the modifications out.
Hope this helps.
If you need technical information just let me know
flash stock boot.img and then probably you will be able to lock bootloader. I have done the same way.
mahla13 said:
flash stock boot.img and then probably you will be able to lock bootloader. I have done the same way.
Click to expand...
Click to collapse
With Nougat i flashed stock image selecting "save user data" and i had bootloader relocked without losing data. Root and twrp were gone. I don't know if it is so with Oreo.
So you need TWRP and Magisk root but want a locked bootloader? That just isn't a possible combination.
To install TWRP, you need unlocked bootloader.
If you need root and TWRP, you need to leave the bootloader unlocked.
You can't have both worlds bro. If you unlock and install Magisk and other stuff, you simply can't relock bootloader. That's why you get bootloop
alkesh95 said:
Bootloader lock is like a door.
If its open you can put nice things like magisk, root, modification like custom rom and kernel.
Now if you try to relock it it won't lock until and unless you take all the modifications out.
Hope this helps.
If you need technical information just let me know
Click to expand...
Click to collapse
Thanks man I'll try it on nougat. Please tell me one more thing, unlocking bootloader cause lose warranty or not?
Dipesh17 said:
Thanks man I'll try it on nougat. Please tell me one more thing, unlocking bootloader cause lose warranty or not?
Click to expand...
Click to collapse
Some people might say yes some might say no.
It depends on manufacturer.
OEMs don't explicitly say that it won't void your warranty.
So its grey area.
I am going to email Xiaomi about this and update this thread when i get reply.
Had various experiences with unlocked bootloader. So better to follow safe path.
Edit: Called xiaomi helpline two times.
1st said it will void warranty
2nd said it won't.
Emailed them.
I chatted with a support representative and they said that unlocking bootloader won't void the warranty
nicolasmart said:
I chatted with a support representative and they said that unlocking bootloader won't void the warranty
Click to expand...
Click to collapse
That's just what he said it to you. I got two responses.
Support representatives aren't authorised to send you sms or mail.
If there's an issue with your device (Unlocked BL) and you took it to service center. They might say out of warranty due to bootloader unlocking and what would be your reply to that?
Support representatives said it won't void warranty.
You can't back it up with anything since you dont have any proof of that conversation.
So unless it is written somewhere by xiaomi. Words are just words.
Is it possible to unlock the bootloader, root, make some minor modifications (activation of camera api, copying fm radio apk to system folder, etc), unroot, and finally relock (flashing stock boot.img before, of course) ?
I want to have it unrooted because of bank payments, banks apps and streaming TV apps, but I would like to have proper camera and fm radio... Is it possible??
erunamor said:
Is it possible to unlock the bootloader, root, make some minor modifications (activation of camera api, copying fm radio apk to system folder, etc), unroot, and finally relock (flashing stock boot.img before, of course) ?
I want to have it unrooted because of bank payments, banks apps and streaming TV apps, but I would like to have proper camera and fm radio... Is it possible??
Click to expand...
Click to collapse
Short answer:no.
Long answer: locked bootloader must have stock system and boot partition. Stock boot image will boot only unmodified system partition. However you can have bank and streaming apps with Magisk - use systemless modifications and magisk hide feature.
Lock bootloader after uninstalling Magisk in Mi A1
Thank you for information about Mi Flash Tool but I wanted to ask if it is possible to relock boot loader in Mi A1 after uninstalling Magisk by fastboot commands ?
I haven't tried locking again ,but I wanted to relock again so...
Why oem unlocking appears grey, now why is that am not able to install magisk
alkesh95 said:
Some people might say yes some might say no.
It depends on manufacturer.
OEMs don't explicitly say that it won't void your warranty.
So its grey area.
I am going to email Xiaomi about this and update this thread when i get reply.
Had various experiences with unlocked bootloader. So better to follow safe path.
Edit: Called xiaomi helpline two times.
1st said it will void warranty
2nd said it won't.
Emailed them.[/QUOTE
How to unlock oem unlock,
It appears grey
I unlocked mi account
And installed pixel camera and later I changed the settings in camera from Nexus 6p to pixel and it got stuck, and I uninstalled the application, now oem unlocking appears grey, how to unlock oem
Below It appears bootloader is unlocked, but oem cant be unlocked
Click to expand...
Click to collapse

Moto G4 plus bootloader question

Hi to all members,
I want to relock my G4 plus bootloader, I tried the guides to relock however seems there was a problem locking the bootloader after april 2018 securuty patch ( stock android 7 )
Any way to lock this bootloader ?
Many thanks
When you're relocking your bootloader, what errors are you encountering?
Make sure that OEM unlocking is enabled in Settings>Developers options, and also what device do you have? If your bootloader version is B1:07 you can use the April 2018 firmware. However, if your bootloader version is B1:09 you must use the Oreo firmware to relock - you cannot lock your bootloader with firmware older than the bootloader and you cannot downgrade the bootloader.
echo92 said:
When you're relocking your bootloader, what errors are you encountering?
Make sure that OEM unlocking is enabled in Settings>Developers options, and also what device do you have? If your bootloader version is B1:07 you can use the April 2018 firmware. However, if your bootloader version is B1:09 you must use the Oreo firmware to relock - you cannot lock your bootloader with firmware older than the bootloader and you cannot downgrade the bootloader.
Click to expand...
Click to collapse
Thank you Echo92,
So i flashed with Oreo 8.1.0 and still have bootloader message on screen on start up.. my bootloader version is B1.09 my device is moto g4 plus xt1642 with security patch Dec 1st 2018... What am I doing wrong ?
thanks
mercuryrob said:
Thank you Echo92,
So i flashed with Oreo 8.1.0 and still have bootloader message on screen on start up.. my bootloader version is B1.09 my device is moto g4 plus xt1642 with security patch Dec 1st 2018... What am I doing wrong ?
thanks
Click to expand...
Click to collapse
Alright, what commands are you using to lock your device? Are you using the OEM lock script or do your commands list include the three OEM lock commands?
Can you also confirm that your OEM unlocking toggle is on (in settings>developer options)?
echo92 said:
Alright, what commands are you using to lock your device? Are you using the OEM lock script or do your commands list include the three OEM lock commands?
Can you also confirm that your OEM unlocking toggle is on (in settings>developer options)?
Click to expand...
Click to collapse
Ok many thanks, my oem unlocking is greyed out ( says Bootloader is already unlocked )
I am using minimal adb and fastboot ( watched a Youtube video saying put the unzipped firmware ( Oreo 8 TWRP-athene-8.1.0-OPJ28.111-22 ) into the adbfolder and open a cmd but there is no oem lock script there !
Thanks
mercuryrob said:
Ok many thanks, my oem unlocking is greyed out ( says Bootloader is already unlocked )
I am using minimal adb and fastboot ( watched a Youtube video saying put the unzipped firmware ( Oreo 8 TWRP-athene-8.1.0-OPJ28.111-22 ) into the adbfolder and open a cmd but there is no oem lock script there !
Thanks
Click to expand...
Click to collapse
Mind if I ask which Youtube video you used?
That firmware zip you mentioned does not seem suitable for locking the bootloader (if it's a TWRP flashable zip as implied in the name, you cannot lock your bootloader with that). I would recommend getting the stock Oreo firmware from here https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 In addition, you could either download the OEM lock script as mentioned in that thread (it's separate to the firmware usually) or use the listed commands in the thread's procedure to lock your bootloader. I've used this firmware and those commands to re-lock my XT1642 (on the retgb software channel).
Whilst you're downloading the above firmware, also you may wish to root your device with magisk (you will have to temporarily boot into TWRP and flash magisk), which might also activate your OEM unlocking toggle. Ensure you're also signed into your Google account on your device. That should hopefully enable your OEM unlocking toggle and then permit your device's bootloader to be lockable again.
echo92 said:
Mind if I ask which Youtube video you used?
That firmware zip you mentioned does not seem suitable for locking the bootloader (if it's a TWRP flashable zip as implied in the name, you cannot lock your bootloader with that). I would recommend getting the stock Oreo firmware from here https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 In addition, you could either download the OEM lock script as mentioned in that thread (it's separate to the firmware usually) or use the listed commands in the thread's procedure to lock your bootloader. I've used this firmware and those commands to re-lock my XT1642 (on the retgb software channel).
Whilst you're downloading the above firmware, also you may wish to root your device with magisk (you will have to temporarily boot into TWRP and flash magisk), which might also activate your OEM unlocking toggle. Ensure you're also signed into your Google account on your device. That should hopefully enable your OEM unlocking toggle and then permit your device's bootloader to be lockable again.
Click to expand...
Click to collapse
Many thanks Echo,
This was the youtube video I watched - https://www.youtube.com/watch?v=qouoo1zGIJs&t=145s
I shall try the link you provided and post my results.
Once again many thanks
Sorted now !
mercuryrob said:
Many thanks Echo,
This was the youtube video I watched - https://www.youtube.com/watch?v=qouoo1zGIJs&t=145s
I shall try the link you provided and post my results.
Once again many thanks
Click to expand...
Click to collapse
All done ! Bootloader locked reflashed using your link . Many thanks Echo

I can't manually install any ota update after locking the bootloader on 12.0.9

I don't want to unlock the bootloader again and i don't like this update because it doesn't have google discover.. what can i do?
You can just stay on current version.
Or just install via fastboot and fastboot ROM
yaro666 said:
You can just stay on current version.
Or just install via fastboot and fastboot ROM
Click to expand...
Click to collapse
Without unlocking the bootloader? How?
Ok, so you stated that bootloader is locked, I thought you are considering locking it again.
In that case you have no option, but unlocking bootloader to flash different miui ROM
yaro666 said:
Ok, so you stated that bootloader is locked, I thought you are considering locking it again.
In that case you have no option, but unlocking bootloader to flash different miui ROM
Click to expand...
Click to collapse
I did exactly that. Thank you.

Categories

Resources