Related
Introduction
This is the bootloader unlock from ZTE. It was provided to me in private email by a ZTE engineer.
Warning
This package is for the USA version of the Axon 7 Mini (tulip) running 7.1.1 b14 firmware. If you are running any other device or firmware version, it may not work.
Note
After some testing, it appears that the Axon 7 Mini is not locked in any way. In other words, apparently neither this package nor tuliptool's unlock are required to flash custom ROMs. The only apparent advantage to flashing this is to get access to fastboot, which provides a way to flash a custom boot and recovery (among other things).
Flashing Instructions
Place axon_mini_unlock.zip on the root of your sdcard.
Reboot into recovery.
Select "Apply update from SD card".
Select axon_mini_unlock.zip.
Usage Instructions
After the package is flashed, you may boot into the bootloader:
adb reboot bootloader
Once in the bootloader, you will see an on-screen menu. Additionally, you may access the typical fastboot commands:
fastboot oem device-info
fastboot oem unlock
fastboot flash ...
... etc ...
Download
axon_mini_unlock.zip
md5: ea8f1a21c8a46b3045d00f17a37fe359
So, after this is done, I can flash TWRP through fastboot and tuliptool is no longer necessary, correct?
Yes, that is correct.
JoeGatto said:
So, after this is done, I can flash TWRP through fastboot and tuliptool is no longer necessary, correct?
Click to expand...
Click to collapse
This package is for the USA version of the Axon 7 Mini (tulip) running 7.1.1 b14 firmware. If you are running any other device or firmware version, it may not work.
Click to expand...
Click to collapse
Is this something your contact mentioned or something that you believe based on your experience?
Any harm in trying it on verdandi/other versions without any risk of bricking?
After some testing, it appears that the Axon 7 Mini is not locked in any way. In other words, apparently neither this package nor tuliptool are required to flash custom ROMs. The only apparent advantage to flashing this is to get access to fastboot.
Click to expand...
Click to collapse
Any way to confirm this is also the case with other versions as well?
Thanks TDM.... you're going to have a lot of Canadians asking about verdandi as it is quite cheap here at the moment. Better get those questions out of the way early. The source is released, same kernel version as the U.S. one with some small differences with drivers (from what I can see) and I am sure that if people know that custom roms are possible on that version (not bootloader locked forever) it would be appreciated.
trpn111 said:
Is this something your contact mentioned or something that you believe based on your experience?
Any harm in trying it on verdandi/other versions without any risk of bricking?
Any way to confirm this is also the case with other versions as well?
Thanks TDM.... you're going to have a lot of Canadians asking about verdandi as it is quite cheap here at the moment. Better get those questions out of the way early. The source is released, same kernel version as the U.S. one with some small differences with drivers (from what I can see) and I am sure that if people know that custom roms are possible on that version (not bootloader locked forever) it would be appreciated.
Click to expand...
Click to collapse
Yeah...verdandi is stuck on Marshmellow. But since it has different hardware it could brick if this is tried.
The ZTE engineer is USA based, he is not on the China development team (read: probably a support engineer). He said: "I attached the unlock update zip package, please try it. It is based on B14 build."
Sorry, that's all I have to go by for "official" information.
I do not want to be responsible for anyone bricking their device, so I cannot claim that this bootloader will work with anything other than a tulip device running 7.1.1 b14.
If you want to try and report back, I'm sure others will appreciate it. But I can't be responsible for the results.
trpn111 said:
Is this something your contact mentioned or something that you believe based on your experience?
Any harm in trying it on verdandi/other versions without any risk of bricking?
Any way to confirm this is also the case with other versions as well?
Thanks TDM.... you're going to have a lot of Canadians asking about verdandi as it is quite cheap here at the moment. Better get those questions out of the way early. The source is released, same kernel version as the U.S. one with some small differences with drivers (from what I can see) and I am sure that if people know that custom roms are possible on that version (not bootloader locked forever) it would be appreciated.
Click to expand...
Click to collapse
Oh, and here is some more information to help you decide...
The volume key combo to enter EDL is handled by aboot (bootloader, eg. the thing we are flashing). This means even if you aren't currently able to use the key combo, you should be able to use it with the new aboot here. And if you can get to EDL, you can never really brick the device.
The volume key combo is detected very early in the aboot code. Like, first thing after basic platform init. So even if this isn't compatible with your device, it's likely we could restore the old aboot (assuming you back it up first, of course).
I'm convinced that the tulip is not locked based on my investigation today. So I have no idea if this aboot is properly signed. If your device is locked and this aboot is not signed properly, the lower boot loader won't load it. I'm not quite sure if that kicks you into EDL or not.
Not sure if that makes the decision easier or harder...
How did you come to the conclusion that tulip is not locked to begin with? If we don't need tuliptool or this aboot, how can I check verdandi if the device is the same 'locked but not really locked' state?
I will have a read about backing up aboot and see what I come up with concerning getting into edl.
So here's the deal...
I initially assumed the bootloader was locked because... well... it's supposed to be. So I found the place in aboot code where it checks the lock flag in the devinfo partition. I used the firehose to write unlocked to that flag. Then I built TWRP, flashed it and it booted. So I assumed everything was working just as I expected.
Today, I flashed the aboot with fastboot support and ran "fastboot oem device-info". It said that my device was locked. So I went to look and, sure enough, my devinfo partition flag was still set. Hmm, that's odd.
So I wrote locked back to the flag. TWRP still booted. Now things are looking pretty suspicious.
But maybe the new aboot doesn't even support locking? So I flashed the original b14 version of aboot and TWRP still booted.
That's pretty hard evidence that aboot is ignoring the lock flag. I don't know what they did -- whether they just removed the code that reads the lock flag or introduced a bug or what.
This does not necessarily mean that the lower layers are unlocked. That is, the lower boot loader may still required a properly signed aboot. I don't know, and I'm not ready to brick my device trying to find out.
trpn111 said:
How did you come to the conclusion that tulip is not locked to begin with? If we don't need tuliptool or this aboot, how can I check verdandi if the device is the same 'locked but not really locked' state?
I will have a read about backing up aboot and see what I come up with concerning getting into edl.
Click to expand...
Click to collapse
Hmm... Looks like this package incompatible with ZTE/P852A11/tulip.
Got error while trying to flash it by stock recovery. Error message says that it is for A12 version of tulip.
Ah, yes, you have the euro model. See the "calling all mini owners" thread, posts #76 and #77.
maestromony said:
Hmm... Looks like this package incompatible with ZTE/P852A11/tulip.
Got error while trying to flash it by stock recovery. Error message says that it is for A12 version of tulip.
Click to expand...
Click to collapse
i get a message saying "cant update from sd card?"
yeshivabachur said:
i get a message saying "cant update from sd card?"
Click to expand...
Click to collapse
Make sure battery level is at least 30% before applying any update. It's a standard protection feature.
JoeGatto said:
Make sure battery level is at least 30% before applying any update. It's a standard protection feature.
Click to expand...
Click to collapse
My battery was 80%+ mine still said can't update from sdcard
Aries2010 said:
My battery was 80%+ mine still said can't update from sdcard
Click to expand...
Click to collapse
Try turning on the OEM unlock setting in developer settings.
JoeGatto said:
Try turning on the OEM unlock setting in developer settings.
Click to expand...
Click to collapse
Thank you so much that worked I appreciate the it . Now I have one more question I have been searching for a way to root stock rom but I can't find any instructions on it. Could you walk me through it or post a link for me if possible? I have the USA mini 7 with B14 firmware
Aries2010 said:
Thank you so much that worked I appreciate the it . Now I have one more question I have been searching for a way to root stock rom but I can't find any instructions on it. Could you walk me through it or post a link for me if possible? I have the USA mini 7 with B14 firmware
Click to expand...
Click to collapse
Rooting the stock ROM will require that you remove verity, so that the OS won't refuse to boot once you've made any changes to the system partition. You'll need to use tuliptool to flash a new boot image, which you can find in this section of the forum. Then, you could either install TWRP through fastboot or using tuliptool.
JoeGatto said:
Rooting the stock ROM will require that you remove verity, so that the OS won't refuse to boot once you've made any changes to the system partition. You'll need to use tuliptool to flash a new boot image, which you can find in this section of the forum. Then, you could either install TWRP through fastboot or using tuliptool.
Click to expand...
Click to collapse
Thank you sir I appreciate it I shall try it tomorrow.
here's a stupid question.... I have only dealt with Samsung devices so, I have trouble understanding any other kind of process that is not Samsung. If a new update comes out while my device is bootloader unlocked can i update it? or will it brick my device?
The "standard" (not Samsung) method of updating via OTA is to ship:
1. Full images of any firmware partitions (rpm, tz, aboot, etc.)
2. Full image of boot.
3. A delta (patch) to system.
Also note that custom recoveries generally do not work with vendor OTA's.
This means that if you wish to apply an OTA, you must first have stock recovery and a completely pristine, unmodified system partition. The rest doesn't matter.
yeshivabachur said:
here's a stupid question.... I have only dealt with Samsung devices so, I have trouble understanding any other kind of process that is not Samsung. If a new update comes out while my device is bootloader unlocked can i update it? or will it brick my device?
Click to expand...
Click to collapse
Now Motorola supported has updated to support G7. You should be able to unlock open market model.
Prerequisites:
1. ADB installed
2. Motorola drivers installed
3. Your phone has enabled OEM unlock (hit build number few times to enable developers options) and USB debugging
4. Backup your internal storage. ALL PERSONAL DATA ON INTERNAL STORAGE WILL BE WIPED DURING OEM UNLOCK PROCESS!
----------------
Process:
1. Enter bootloader. After your phone connected to host computer, use the following:
Code:
adb devices
After your phone has been shown up, use the following command to enter bootloader
Code:
adb reboot bootloader
2. Retrieve your phone unlock data and submit
Go to https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
Retrieve your phone unlock data using the following and open notepad or any text editor
Code:
fastboot oem get_unlock_data
You should see 5 lines of data starting (bootloader). Right click and mark the data on the line 2-5, drag until all data highlighted and right click once.
Paste the 4 line data on your favorite text editor and locate the cursor to the end of the line and press delete once, and repeat until 4 lines of data become a single line, and press Ctrl+a (select all) followed by Ctrl+c (copy)
Paste the single line to the box under #6 and verify. Accept the terms and press the blue button
3. Unlock your bootloader
After the unlock code delivered, highlight and copy 20 characters code
Enter the following command and press space once and paste the code
Code:
fastboot oem unlock
It should be fastboot oem unlock XXXXX (20 characters code)
You have to enter same command again to finish the process.
Your phone bootloader now unlocked and it's ready to install root
is there a way to relock once unlocked?
shaDNfro said:
is there a way to relock once unlocked?
Click to expand...
Click to collapse
Yes. fastboot oem lock but doing so will wipe the device back to factory settings.
adb backup -all
will back up your phone to a cable connected laptop. Is there anything else one needs to back up before unlocking the bootloader wipes your data off the phone?
**Specifically, will it backup
1. Documents folder
2. Download folder
3. Other custom created folders like saved photographs, etc.
Thank you.
For anyone looking at this thread and wondering, yes, Amazon branded device's bootloaders can be unlocked.
Could someone with an unlocked bootloader test out how well the Android Q GSI works?
kaiomatico said:
Could someone with an unlocked bootloader test out how well the Android Q GSI works?
Click to expand...
Click to collapse
Until a custom recovery is created, we're stuck on stock
Omegapsy said:
Until a custom recovery is created, we're stuck on stock
Click to expand...
Click to collapse
Nope, the beauty of GSI's are that you can simply do an "fastboot flash system NameOfGSI.img" and the rom is flashed. No need for a custom recovery
Now that TWRP is finally available I'm picking up my courage to unlock and root my Moto G7. Thank you for all your instructions here and in the root thread.
Because I'm not an android expert and am scared I want to be sure I understand everything correctly.
1. ADB is installed and works. (I used adb to create an adb backup to my laptop).
2. Not sure what you mean by installing Motorola drivers. (I can see the Moto G7 when I connect it by cable to my W 10 laptop).
4. Backing up:
I used a cable connection to copy all the visible files to my laptop using Windows file explorer. I also have the adb backup mentioned above.
Final question:
What will need to be restored after unlocking the bootloader? Everything I backed up or only parts?
Thank you.
I would appreciate someone helping to answer @maybeme2 questions above in post #9. Specifically question 2 about drivers. I've downloaded the Lenovo MOTO Smart Assistant and can ADB connect to my device. However when I set the device to fastboot mode then the connection is dropped.
5 seconds delay on boot after unlocking bootloader
I unlocked my bootloader using the excellent instructions above. But now, everytime I reboot I get a screen that says
Your device has been unlocked and can't be trusted.....
ID (is blank)
your device will boot in 5 seconds.
bad key
Click to expand...
Click to collapse
How do I get rid of that?
Thanks.
maybeme2 said:
I unlocked my bootloader using the excellent instructions above. But now, everytime I reboot I get a screen that says
How do I get rid of that?
Thanks.
Click to expand...
Click to collapse
That's part of unlocking and that warning is there for a reason. That said you can either relock or find another logo.bin to flash that covers it up. Flashing another logo.bin does not make your phone secure again it's just cosmetic.
ptn107 said:
That's part of unlocking and that warning is there for a reason. That said you can either relock or find another logo.bin to flash that covers it up. Flashing another logo.bin does not make your phone secure again it's just cosmetic.
Click to expand...
Click to collapse
Thank you for replying.
My next step is to root the phone. Will that get rid of it?
If not, where do I get another compatible logo.bin?
Thank you again.
maybeme2 said:
Thank you for replying.
My next step is to root the phone. Will that get rid of it?
If not, where do I get another compatible logo.bin?
Thank you again.
Click to expand...
Click to collapse
It will not remove the warning. In fact rooting is even less secure fyi.
You'll have to search on xda for a modified logo.bin.
ptn107 said:
It will not remove the warning. In fact rooting is even less secure fyi.
You'll have to search on xda for a modified logo.bin.
Click to expand...
Click to collapse
Less secure than letting Google access all my data? ? I have firewalls and tools to protect me. I'm just new to Moto.
maybeme2 said:
Thank you for replying.
My next step is to root the phone. Will that get rid of it?
If not, where do I get another compatible logo.bin?
Thank you again.
Click to expand...
Click to collapse
I used the information from this thread.
https://forum.xda-developers.com/moto-g7/themes/mod-custom-boot-logos-t3923110
The logo.bin file has several images. I found that the image named "orange" was the one displayed when my device boots.
cou94114 said:
I used the information from this thread.
https://forum.xda-developers.com/moto-g7/themes/mod-custom-boot-logos-t3923110
The logo.bin file has several images. I found that the image named "orange" was the one displayed when my device boots.
Click to expand...
Click to collapse
Thank you.
Does removing "orange" also remove the 5 second delay?
maybeme2 said:
Thank you.
Does removing "orange" also remove the 5 second delay?
Click to expand...
Click to collapse
I never said that I removed the image named "orange". I did extract the "orange" image from logo.bin, edited the orange.png to black out the warning text, replaced the orange.png file in logo.bin and then flashed the modified logo.bin "fastboot flash logo modified-logo.bin".
I concur with ptn107's recommendation that you lock your bootloader and return your device to stock. That way you won't have to wait the five seconds which seems to be your concern.
cou94114 said:
I concur with ptn107's recommendation that you lock your bootloader and return your device to stock. That way you won't have to wait the five seconds which seems to be your concern.
Click to expand...
Click to collapse
Yes it is the imposed delay that I objects to. I've had other rooted phones and none had this warning and delay after unlocking the bootloader. So it is not part of android but something added by Moto.
It's not a big deal, but an unnecessary annoyance which is why I asked in a moto thread.
Help me, I got oem unlock but I can't enable it!
Want to buy this phone. Need it rooted to do a couple things. Has anybody gotten TWRP and root on it yet?
You can root it by first unlock the bootloader then install magisk via patch boot image method.
How should I get the boot image to actually use that method?
You can download the firmware here: https://mirrors.lolinet.com/firmware/moto/foles/official/RETUS/
Inside zips, find boot.img
Does anyone know anything about custom recovery TWRP yet that's what I'm looking for
there is no custom recovery
ahalol said:
You can root it by first unlock the bootloader then install magisk via patch boot image method.
Click to expand...
Click to collapse
What is the way to unlock the bootloader? I don't believe Motorola officially released it for the phone yet. Have you rooted this phone?
Thereplierbro said:
What is the way to unlock the bootloader? I don't believe Motorola officially released it for the phone yet. Have you rooted this phone?
Click to expand...
Click to collapse
Official unlock from Motorola is available, as long as you aren't referring to the Verizon version.
wraith1932 said:
Official unlock from Motorola is available, as long as you aren't referring to the Verizon version.
Click to expand...
Click to collapse
Does the Verizon one have a greyed out "OEM Bootloader unlock"
Because I bought one off offer up that had the button available but it was purchased from Verizon
Also I asked Motorola for the unlock website an they said they haven't released it yet for Moto z4
Can't say for sure myself, I got the carrier unlocked version. But I believe that button in the options is there no matter what, I remember it on my original Z Force Droid (Verizon only version, no bootloader unlock, official or not).
I would bet that, if it was bought at Verizon, then there won't be a bootloader unlock available - ever.
Dunno what that last part is supposed to mean... Never saw a device-specific Moto Bootloader Unlock page, going all the way back to the original Moto X. There's the page explaining the unlock process, a disclaimer ("anything you do from here isn't our fault, or responsibility to fix" basically), and a link to the next step (with a "log in to Moto" in between). After login, it brings you to instructions to get a code to put in, and the button to check if the device is eligible for unlocking the bootloader.
I would include a link to the first page if I could. Almost there, just one more post...
wraith1932 said:
Official unlock from Motorola is available, as long as you aren't referring to the Verizon version.
Click to expand...
Click to collapse
wraith1932 said:
Can't say for sure myself, I got the carrier unlocked version. But I believe that button in the options is there no matter what, I remember it on my original Z Force Droid (Verizon only version, no bootloader unlock, official or not).
I would bet that, if it was bought at Verizon, then there won't be a bootloader unlock available - ever.
Dunno what that last part is supposed to mean... Never saw a device-specific Moto Bootloader Unlock page, going all the way back to the original Moto X. There's the page explaining the unlock process, a disclaimer ("anything you do from here isn't our fault, or responsibility to fix" basically), and a link to the next step (with a "log in to Moto" in between). After login, it brings you to instructions to get a code to put in, and the button to check if the device is eligible for unlocking the bootloader.
I would include a link to the first page if I could. Almost there, just one more post...
Click to expand...
Click to collapse
All other phones, if the button is not greyed out and you can press the option (and it asked for your password) then it's unlockable. I know because I got a few freaking pixel phones with non usable Bootloader. Wasted about $1,000 looking for a cellphone to use with Sprint that I can root. Every one of them is Verizon.
https://support.motorola.com/us/en/solution/ms87215
DM Verity disabled too?
What about DM verity? Has anyone figured out how to disable that? I need to add a couple of lines to the build.prop file, but can't seem to change the write permissions even with root; any edits made directly on the phone using an editor with root permissions, don't persist after a system reboot. Edits made to the build.prop file externally, and pushed pre-boot via ADB, result in boot loop due to DM verity failing.
(For clarity, I do not have this phone, yet, I have a Z2 Play, but I faced these challenges with that device too)
Jade Eyed Wolf said:
What about DM verity? Has anyone figured out how to disable that? I need to add a couple of lines to the build.prop file, but can't seem to change the write permissions even with root; any edits made directly on the phone using an editor with root permissions, don't persist after a system reboot. Edits made to the build.prop file externally, and pushed pre-boot via ADB, result in boot loop due to DM verity failing.
(For clarity, I do not have this phone, yet, I have a Z2 Play, but I faced these challenges with that device too)
Click to expand...
Click to collapse
I hope a real dev jumps on board to this cellphone. It's pretty decent for what it is honestly
Thereplierbro said:
I hope a real dev jumps on board to this cellphone. It's pretty decent for what it is honestly
Click to expand...
Click to collapse
One of my main reasons for waiting to get one
Jade Eyed Wolf said:
One of my main reasons for waiting to get one
Click to expand...
Click to collapse
It's basically useless until then
Could I get a little guidance on how to patch and flash the boot image? I have ADB/Fastboot setup as well as the XT1980-4 firmware downloaded.
Do I just place the boot.img file on my phone, patch it in Magisk Manager, and flash with fastboot? Anything I need to be careful of?
Also, how should I go about backups here? I've only messed with this stuff when I had a Galaxy S4, everything was super simple with easy bootloader unlock and custom recovery.
battleof3 said:
Could I get a little guidance on how to patch and flash the boot image? I have ADB/Fastboot setup as well as the XT1980-4 firmware downloaded.
Do I just place the boot.img file on my phone, patch it in Magisk Manager, and flash with fastboot? Anything I need to be careful of?
Also, how should I go about backups here? I've only messed with this stuff when I had a Galaxy S4, everything was super simple with easy bootloader unlock and custom recovery.
Click to expand...
Click to collapse
What you said was correct. That's how you patch and flash. Nothing particular to be careful. The only thing would be in order to receive future OTA, you should not modify you /system and /vendor partition during your use of the phone.
ahalol said:
What you said was correct. That's how you patch and flash. Nothing particular to be careful. The only thing would be in order to receive future OTA, you should not modify you /system and /vendor partition during your use of the phone.
Click to expand...
Click to collapse
Dug a little deeper and bootloader is locked tight, no flashing for me. Returning and buying a secondhand LG V30 for cheap. It's unfortunate that carriers love their walled gardens.
See, this is why I was asking about DM Verity. You need to disable that first before flashing anything via ADB/Fastboot.
With DM Verity on, at system startup, the device generates a hash of the /system and /root directories. If the hash does not match the one from the factory, due to changes pushed via ADB or Fastboot or patching other system files with something different, the system reboots, again and again.
I had this same issue with my Z2 Play, which is why I brought it up here.
Rooting these devices is useless, unless you also disable DM Verity.
I tried to follow this method and ended up flashing the wrong boot image (I did go to the right software variant but it was outdated) so i had to go through and try all the images they had and none of them worked so i had to look elsewhere.
After some digging i found a VERY handy tool made by lenovo themselves that lets you update and recover the firmware.
If you use the rescue option and enter your phones info (it seems to verify your phones info so you can only download for devices you have) and it'll download the latest zip for you so you can get the boot image.
Here's the link to the smart assistant
TL;DR Open smart assistant, click flash, click "Go rescue", Click "Moto Phone", enter your phone's info (make sure your phone is connected in fastboot mode), click the download icon next to the file name.
Make sure you DO NOT click the rescue button when the download is finished as that will factory reset your phone, just copy the zip or boot image and close it
Prerequisites:
Your G 5G/One 5G has bootloader unlocked
LMSA installed
ADB is up to date
Your phone battery should be at least 60%
Your phone is wiped during bootloader unlock process
It's recommended to run LMSA rescue in order to have build version up to date, and you will get required boot.img for patching. Observe the ROM download process, and when it's close to finishing, go to the folder link on the bottom right, and go to ROM files. It's recommended to copy entire .zip file to download folder, and make sure you get boot.img and copy to the phone (set USB mode to file transfer) Download folder, and set USB mode to charging after it's done
Install Magisk Manager and update to the latest, and patch boot.img.
Change USB to file transfer and get patched_boot.img back to host computer
Open command, and go to ADB folder
Reboot the phone to bootloader
Code:
adb reboot bootloader
Code:
fastboot flash boot
Press spacebar once, and drag and drop patched boot to command window and press enter
Before doing restoration, make sure you do the following
1. Setup Magisk Manager and enable Magisk Hide and Systemless Hosts. You will be prompted to run "environmental setup" and the phone reboots during process. Check CTS and it should pass
2. Wipe Google Play Store
3. Reboot and install AdAway
4. Reboot again
5. Restore your phone
You should be able to install Netflix but you will lose L1
Update: you need these additional steps in Magisk to pass
1. Install latest riru in Magisk
2. Download and install Safetynet fix https://github.com/kdrag0n/safetynet-fix
Your phone will reboot twice
Apparently the us version is not able to be rooted as the bootloader cannot be unlocked . Device not supported for bootloader unlock according to the portal.
Can anyone confirm that this bootloader is locked and cannot be unlocked? Anyone else have the US unlocked version and went to the motorola portal and tried to unlock theirs with the same results?
swes013 said:
Apparently the us version is not able to be rooted as the bootloader cannot be unlocked . Device not supported for bootloader unlock according to the portal.
Click to expand...
Click to collapse
You can not trust the official supported unlock list, it's never been complete.
You can check if the device's CID is eligible for unlocking, and if the OEM unlocking is greyed out you cannot.
If the CID is good and OEM can be toggled, you need to request the unlock code to be sure.
sd_shadow said:
You can not trust the official supported unlock list, it's never been complete.
You can check if the device's CID is eligible for unlocking, and if the OEM unlocking is greyed out you cannot.
If the CID is good and OEM can be toggled, you need to request the unlock code to be sure.
Click to expand...
Click to collapse
Well I have enabled developer settings. In that I have enabled usb debugging as well as oem unlocking. I tried to unlock the bootloader. No joy. I talked to a moto rep who said in a chat it was not available for unlock at this time according to the list. The usual B.S.
swes013 said:
Well I have enabled developer settings. In that I have enabled usb debugging as well as oem unlocking. I tried to unlock the bootloader. No joy. I talked to a moto rep who said in a chat it was not available for unlock at this time according to the list. The usual B.S.
Click to expand...
Click to collapse
Correction Folks I got it. Apparently I had bad format. Sorry.
swes013 said:
Apparently the us version is not able to be rooted as the bootloader cannot be unlocked . Device not supported for bootloader unlock according to the portal.
Click to expand...
Click to collapse
Mine is US unlocked version and rooted
Okay so I have been down the road and back again folks. I now have my Moto one 5g ace fully bootloader unlocked as well as Magisk root installed and my root explorer and titanium backup are being granted Super user permissions. Yes Finally. Now If anyone and I mean anyone needs help or has a issue please message me. i have created a list of fastboot commands in order specific to the Moto one ace 5g that WILL RESTORE THE FACTORY IMAGES IN PROPER ORDER FOR THE ROM. FORGIVE ME i AM STILL NEEDING TO MAKE A FLASH ALL.BAT FOR THIS. HOWEVER, IT WORKS FLAWLESSLY IF DONE INDIVIDUALLY TO RESTORE YOUR ONE ACE 5G BACK TO STOCK. So I am a very happy One ace 5g owner with unlocked bootloader and, Root privilege's. Now awaiting some further development for the Recovery image and some custom Roms from some Developers smarter than Me. Ha Ha Ha. So for now I wait. I will update if i get the Flash all.bat file accomplished.
Thanks to XDA for their years of instruction and direction.
swes013 said:
Okay so I have been down the road and back again folks. I now have my Moto one 5g ace fully bootloader unlocked as well as Magisk root installed and my root explorer and titanium backup are being granted Super user permissions. Yes Finally. Now If anyone and I mean anyone needs help or has a issue please message me. i have created a list of fastboot commands in order specific to the Moto one ace 5g that WILL RESTORE THE FACTORY IMAGES IN PROPER ORDER FOR THE ROM. FORGIVE ME i AM STILL NEEDING TO MAKE A FLASH ALL.BAT FOR THIS. HOWEVER, IT WORKS FLAWLESSLY IF DONE INDIVIDUALLY TO RESTORE YOUR ONE ACE 5G BACK TO STOCK. So I am a very happy One ace 5g owner with unlocked bootloader and, Root privilege's. Now awaiting some further development for the Recovery image and some custom Roms from some Developers smarter than Me. Ha Ha Ha. So for now I wait. I will update if i get the Flash all.bat file accomplished.
Thanks to XDA for their years of instruction and direction.
Click to expand...
Click to collapse
That's why you have original ROM or boot in order to revert.
Should everything get messed up, you can fully restore with LMSA rescue (data will be wiped during process)
mingkee said:
That's why you have original ROM or boot in order to revert.
Should everything get messed up, you can fully restore with LMSA rescue (data will be wiped during process)
Click to expand...
Click to collapse
FYI I DID NOT USE LMSA TO RESTORE I USED FASTBOOT. HENCÈ THE POST THAT SAID IF ANYONE WANTED HELP OR HIT A ROADBLOCK OR SNAGS PER SAY TO MESSAGE ME. THANKS. I COULD NOT USE LMSA AFTER ATTEMPTING THE PROCESS YOU STATED. WHEN I DID YOURS EXACTLY I GOT A BOOT UP WITH A DISABLED TOUCHSCREEN. HERE TO HELP. THANKS AGAIN
swes013 said:
Okay so I have been down the road and back again folks. I now have my Moto one 5g ace fully bootloader unlocked as well as Magisk root installed and my root explorer and titanium backup are being granted Super user permissions. Yes Finally. Now If anyone and I mean anyone needs help or has a issue please message me. i have created a list of fastboot commands in order specific to the Moto one ace 5g that WILL RESTORE THE FACTORY IMAGES IN PROPER ORDER FOR THE ROM. FORGIVE ME i AM STILL NEEDING TO MAKE A FLASH ALL.BAT FOR THIS. HOWEVER, IT WORKS FLAWLESSLY IF DONE INDIVIDUALLY TO RESTORE YOUR ONE ACE 5G BACK TO STOCK. So I am a very happy One ace 5g owner with unlocked bootloader and, Root privilege's. Now awaiting some further development for the Recovery image and some custom Roms from some Developers smarter than Me. Ha Ha Ha. So for now I wait. I will update if i get the Flash all.bat file accomplished.
Thanks to XDA for their years of instruction and direction.
Click to expand...
Click to collapse
Could you please post the CA combo data for your variant?
Went to try out this phone, had no idea would be able to root it, was just looking for a basic phone with a decent display and battery. Thanks for the guide @mingkee! My first device borked on the LMSA update, it broke the wifi on it. Returned for a new phone, unlocked the BL and this one working just fine. Nice and rooted and no more ads.
What's the CA combo data exactly.?
swes013 said:
What's the CA combo data exactly.?
Click to expand...
Click to collapse
Its the carrier aggregation configuration for the different bands supported by the hardware and ths software of the phone. It usually differs by region for the same phone model.
The following site is a good reference point for this information.
https://cacombos.com/
swes013 said:
What's the CA combo data exactly.?
Click to expand...
Click to collapse
Its the carrier aggregation configuration for the different bands supported by the hardware and ths software of the phone. It usually differs by region for the same phone model.
The following site is a good reference point for this information.
https://cacombos.com/
Reporting that bootloader unlock works PERFECTLY on the MetroPCS variant. But don't format the string yourself, use the Moto Data Scrub Tool they have on the unlock page. If you do it yourself it will come up error.
swes013 said:
Okay so I have been down the road and back again folks. I now have my Moto one 5g ace fully bootloader unlocked as well as Magisk root installed and my root explorer and titanium backup are being granted Super user permissions. Yes Finally. Now If anyone and I mean anyone needs help or has a issue please message me. i have created a list of fastboot commands in order specific to the Moto one ace 5g that WILL RESTORE THE FACTORY IMAGES IN PROPER ORDER FOR THE ROM. FORGIVE ME i AM STILL NEEDING TO MAKE A FLASH ALL.BAT FOR THIS. HOWEVER, IT WORKS FLAWLESSLY IF DONE INDIVIDUALLY TO RESTORE YOUR ONE ACE 5G BACK TO STOCK. So I am a very happy One ace 5g owner with unlocked bootloader and, Root privilege's. Now awaiting some further development for the Recovery image and some custom Roms from some Developers smarter than Me. Ha Ha Ha. So for now I wait. I will update if i get the Flash all.bat file accomplished.
Thanks to XDA for their years of instruction and direction.
Click to expand...
Click to collapse
Please Post the Commands for the Restore from Factory image as they are slightly different than the G series prior to 2019. Thanks.
swes013 said:
FYI I DID NOT USE LMSA TO RESTORE I USED FASTBOOT. HENCÈ THE POST THAT SAID IF ANYONE WANTED HELP OR HIT A ROADBLOCK OR SNAGS PER SAY TO MESSAGE ME. THANKS. I COULD NOT USE LMSA AFTER ATTEMPTING THE PROCESS YOU STATED. WHEN I DID YOURS EXACTLY I GOT A BOOT UP WITH A DISABLED TOUCHSCREEN. HERE TO HELP. THANKS AGAIN
Click to expand...
Click to collapse
My touchscreen is indeed fronzen after boot.img flash. Please again, post the commands. It is much appreciated.
Articul8Madness said:
Please Post the Commands for the Restore from Factory image as they are slightly different than the G series prior to 2019. Thanks.
Click to expand...
Click to collapse
The flash commands are included in the flashfile.xml, which should always be referred to because the commands do change from time to time.
I suggest using the online flash file convertor.
Then copy the commands to a text file, save, rename the file extension to .bat
done you have your own flashall.bat
only exception is if your device uses the new fastbootd mode.
sd_shadow said:
The flash commands are included in the flashfile.xml, which should always be referred to because the commands do change from time to time.
I suggest using the online flash file convertor.
Then copy the commands to a text file, save, rename the file extension to .bat
done you have your own flashall.bat
only exception is if your device uses the new fastbootd mode.
Click to expand...
Click to collapse
Well I definitely have an issue since I can't use the touchscreen I can't boot into fastboot right now or reboot the phone manually.
Update for the challenged: Hold the power button with the up volume rocker for forced reboot.
DO NOT LOCK THE BOOTLOADER WHILE ROOTED!
When locking the bootloader while rooted, the boot image will fail verification and the system will fail to boot. You cannot flash a stock boot image with a locked bootloader.
Locking the bootloader will not fix most issues. It will allow you to use apps that check for an unlocked bootloader without the need for any additional modification. That is the ONLY benefit.
If you still want to lock your bootloader, make sure you can say yes to each of the following:
1. Have you restored the stock boot.img / vendor_boot.img and the phone functions normally?
Spoiler: Restore Stock Boot
Boot / DTBO Images [Root / Stock] - 5 / Pro / Ultimate (NOT S)
These images are NOT built from source. These are the stock images from the firmware provided by Asus that are extracted with payload dumper and uploaded without modification. 18.0840.2202.231 18.0840.2201.226 18.0840.2112.211...
forum.xda-developers.com
Follow the instructions in the thread above.
Use only the boot and vendor_boot images.
Do NOT flash any images that end with "-magisk.img"
2. Have you made a backup of everything you do not want to lose when wiping the phone?
Spoiler: Make a Backup
The sdcard is part of the internal storage and is cleared by a factory reset
Copy everything you want to keep to a computer or USB-C storage device
Apps and settings can be backed up by enabling the Google Backup option
Open Settings
Select Google
Select Backup
Select Back up now
Wait for the backup to complete
3. Have you flashed raw firmware and made sure the phone and updates function normally?
Spoiler: Flash Raw Firmware
RAW Firmware Collection and Guide
All fastboot / adb commands require using the side USB-C port https://developer.android.com/studio/releases/platform-tools.html#download Make sure you have fastboot installed Add platform tools to PATH (post 2) Make a backup of anything...
forum.xda-developers.com
Follow the instructions in the thread above.
If you perform a wipe, you may skip step 4.
4. Have you performed a factory reset and made sure the phone functions normally?
Spoiler: Factory Reset
Open Settings
Select System
Select Reset options
Select Erase all data (factory reset)
Follow the instructions
Once you have verified all of the above requirements, you are now ready to lock the bootloader.
Spoiler: Lock Bootloader
From the bootloader (volume up + power):
Code:
fastboot oem asus-csc_lk
Reserved for QA information
I don't want to spread false information here, but here is a question post I created recently with two replies showing me contacting the help center (two different agents) confirming that I can use the app more than once to unlock the device's bootloader: https://forum.xda-developers.com/t/...nlock-relock-for-asus-rog-phone-5-5s.4367047/ . @Andrologic also confirms the case there for global (EU) version. I have a feeling that for the Tencent version it is because the sellers lock it on a wrong official ROM, or wrong ROM in general, e.g. global ROM, and therefore it confuses the unlock app. I am surprised the device did not even get hard bricked from locking on not the original ROM. By the way, I have contacted the help center of the US store, but I have a feeling it should work on the global (EU) version as well.
falhumai96 said:
I don't want to spread false information here, but here is a question post I created recently with two replies showing me contacting the help center (two different agents) confirming that I can use the app more than once to unlock the device's bootloader: https://forum.xda-developers.com/t/...nlock-relock-for-asus-rog-phone-5-5s.4367047/ . @Andrologic also confirms the case there for global (EU) version. I have a feeling that for the Tencent version it is because the sellers lock it on a wrong official ROM, or wrong ROM in general, e.g. global ROM, and therefore it confuses the unlock app. I am surprised the device did not even get hard bricked from locking on not the original ROM. By the way, I have contacted the help center of the US store, but I have a feeling it should work on the global (EU) version as well.
Click to expand...
Click to collapse
Based on new information, it does seem possible to repair the issues caused by converting.
That said, this guide is still quite relevant. After all, most of the issues people were having were caused by unlocking the bootloader, converting, rooting, and locking the bootloader. The warning for possibility of not being able to unlock have been removed, but the info about restoring to stock before locking has been left.
I send mine in for a motherboard repair I was rooted and everything I unrooted installed stock firmware and locked the bootloader again once I got the phone back I unlocked the bootloader once again and I am rooted again
chairman011 said:
I send mine in for a motherboard repair I was rooted and everything I unrooted installed stock firmware and locked the bootloader again once I got the phone back I unlocked the bootloader once again and I am rooted again
Click to expand...
Click to collapse
@chairman011 what variant of the phone it is (e.g. CN or WW or US, ...etc.)? Also, when they returned it to you and you were able to unlock it again, was it on the original firmware (or any version in its lineage (i.e. not a ROM that's not original))?
If by using ASUS unlock utility one was able to oneself unlock the boot-loader once, then is it safe to say that (after relocking it) it'd be possible to unlock it again?
nexusnerdgeek said:
If by using ASUS unlock utility one was able to oneself unlock the boot-loader once, then is it safe to say that (after relocking it) it'd be possible to unlock it again?
Click to expand...
Click to collapse
Some people have reported that you can't unlock the bootloader again after relocking, using the official "Unlock Device App", but I suspect it is an OS mismatch. This issue has only been observed on Tencent (CN) version with global ROM. Have anyone been able to unlock->relock->unlock on the same version of the phone, but not relocking while on the global ROM (i.e. relocking while on stock CN ROM)?
I am surprised the phone did not hard brick. Usually, and this is a general case in almost all Android phones with bootloader unlock capability, when you relock on a different ROM your phone hard bricks. Always restore to original ROM before relocking. Can people with Tencent (CN) phones with global ROM and locked bootloader flash the original CN ROM without unlocking the bootloader? If so, can you test the "Unlock Device App" to see if it works while on the CN (official) ROM? I gotta a feeling it might work in that situation.
falhumai96 said:
Some people have reported that you can't unlock the bootloader again after relocking, using the official "Unlock Device App", but I suspect it is an OS mismatch. This issue has only been observed on Tencent (CN) version with global ROM. Have anyone been able to unlock->relock->unlock on the same version of the phone, but not relocking while on the global ROM (i.e. relocking while on stock CN ROM)?
I am surprised the phone did not hard brick. Usually, and this is a general case in almost all Android phones with bootloader unlock capability, when you relock on a different ROM your phone hard bricks. Always restore to original ROM before relocking. Can people with Tencent (CN) phones with global ROM and locked bootloader flash the original CN ROM without unlocking the bootloader? If so, can you test the "Unlock Device App" to see if it works while on the CN (official) ROM? I gotta a feeling it might work in that situation.
Click to expand...
Click to collapse
It's an identification mismatch. It's similar to when you throw your SIM card in a different phone and your carrier lists you as having a different phone. Based on the information that has been discovered, it would appear that CN to WW conversions were wiping out the stuff that makes your device your device.
twistedumbrella said:
It's an identification mismatch. It's similar to when you throw your SIM card in a different phone and your carrier lists you as having a different phone. Based on the information that has been discovered, it would appear that CN to WW conversions were wiping out the stuff that makes your device your device.
Click to expand...
Click to collapse
So, basically the bootloader unlock for tencent devices will always locked unless asus uodate their unlock app or has their been another way around it yet?
The unlock app should unlock the bootloader at least once. Unlocking it a second time has mixed results.
Hi there, can you guys help me? I'm one of those unlucky ones who got my phone corrupted and won't boot anymore due to the boot loader. is there a way to fix this?? I've got an ROG phone 5s 16/512 on android12.
Hope you guys can help me! I know you guys have amazing brain cells than me when it comes to these things lol
Oh! and my rog is not the china version thanks
0v3rkill said:
Hi there, can you guys help me? I'm one of those unlucky ones who got my phone corrupted and won't boot anymore due to the boot loader. is there a way to fix this?? I've got an ROG phone 5s 16/512 on android12.
Hope you guys can help me! I know you guys have amazing brain cells than me when it comes to these things lol
Oh! and my rog is not the china version thanks
Click to expand...
Click to collapse
TYou should be able to RAW flash yourself out of it if a factory reset doesn't work. This does happen when re-locking the WW.
Andrologic said:
TYou should be able to RAW flash yourself out of it if a factory reset doesn't work. This does happen when re-locking the WW.
Click to expand...
Click to collapse
Hi there mate, thanks heaps for taking time.on my post. how do i do that? can you send me a link of the step by step guide? again thanks
0v3rkill said:
Hi there mate, thanks heaps for taking time.on my post. how do i do that? can you send me a link of the step by step guide? again thanks
Click to expand...
Click to collapse
Below post from the help guide (credits to the contributors) has links to RAW firmware packages. You just need any one of the WW packages. Download it and with your device in bootloader mode, run one of the .bat flash scripts that you'll find in the RAW package. The version doesn't matter, you can simply update to the latest firmware once you're back up.
RAW Firmware Collection and Guide
All fastboot / adb commands require using the side USB-C port https://developer.android.com/studio/releases/platform-tools.html#download Make sure you have fastboot installed Add platform tools to PATH (post 2) Make a backup of anything...
forum.xda-developers.com
Andrologic said:
Below post from the help guide (credits to the contributors) has links to RAW firmware packages. You just need any one of the WW packages. Download it and with your device in bootloader mode, run one of the .bat flash scripts that you'll find in the RAW package. The version doesn't matter, you can simply update to the latest firmware once you're back up.
RAW Firmware Collection and Guide
All fastboot / adb commands require using the side USB-C port https://developer.android.com/studio/releases/platform-tools.html#download Make sure you have fastboot installed Add platform tools to PATH (post 2) Make a backup of anything...
forum.xda-developers.com
Click to expand...
Click to collapse
Hi there, I did follow and did the raw setup it did got me through the boot loop. However, its stuck on the system start up updating screen and stays in 0%.
Darn i thought im already dead! i didn't even know how i fixed it hahahaha! but its working now successfully downgraded to android 11 because its the only firmware i found and managed to make it work again combination of alot of research in google and here xda. working 100% imei two of them, finger print and sn are all intact. thanks guys
For these few reasons I have to give up root & lock the boot-loader: 1. Financial apps stop working from time to time causing much grief; 2. I've used root functionality precisely for nothing for a year I've had it; 3. It was getting all too complicated to keep up with it all.
(The original intention for unlocking/rooting was to get some sort of unofficial VoLTE and VoWiFi for the mobile operator of my choice; however, it didn't help. Then a newer firmware implemented VoLTE and VoWiFi! So my impatience, admittedly couldn't be known at that point in time, backfired.)
I've nothing to preserve on the phone, due to having a Moto G 5G backup phone. I only had it working with adb & fastboot in my Linux laptop (up to date Fedora 36). I had no working Windows laptop then. But I do now. However, adb on Windows says the device is "unauthorised" (as expected); fastboot in it doesn't list the device. So I might be limited to my Linux laptop only. The phone was previously working on the last A11 WW firmware fine.
I've tried to follow the steps from the original post of this thread. First one worked with vendor_boot, dtbo & boot images (used only 18.0840.2202.231 versions of them). Second N/A. With third step, flash_raw_and_wipe_data.sh fails by core dumping.
Right now, the phone boots to fastbootd & not further. Any help is much appreciated.
(I think I'm inching towards fully bricking this phone. I'm not there yet, but getting closer . It'd be nice to get it working again without root & with locked boot loader. Any help is much appreciated.)
This is where I'm at while executing step 3 of the initial guide in this post:
When powered on, in the usual boot loader unlocked warning page, it prompts for power key to be pressed to continue.
(Here if power switch is not pressed within 30 odd seconds, phone powers down automatically.)
Once power key is pressed, it lands in boot loader. Selecting Start, it goes back to boot loader. I think this is called a boot loop.
While in boot loader, selecting "Recovery mode", it progresses to "Android Recovery". Here selecting "Enter fastboot" appears to take it furthest in the booting process of landing at "Android Fastboot".
(The version info showed in Fastboot -- 18.0840.2202.231-0 -- matches with the last A11 update I downloaded from Asus website & had it installed late March this year.)
I don't think it can boot any further at the state that it's in now.
I think this is where it needs a raw firmware to be flashed. This step keeps core-dumping in my Linux laptop when trying to use WW_ZS673KS_18.0840.2106.83_M3.13.24.40-ASUS_1.1.92_Phone-user.raw file that was linked in the original post. This version appears to be quite old. Could the version mismatch between what the phone was running recently (18.0840.2202.231) and the raw file (18.0840.2106.83) cause the core-dump issue? IOW, would somebody have a link for 18.0840.2202.231 raw file please?
I couldn't use my work Windows laptop due to an issue I cannot overcome (installation of driver needed for the phone is somehow blocked in it). So, soon I'll try it from a personal Windows laptop of my neighbor. Let's see if it can progress any further with the help of Windows platform.
In the meantime, I can appreciate to be informed about any tips and tricks such as if this is something that the phone cannot be recovered from. Or even somebody highly skilled would like to help me to achieve a fully functional phone (with bootloader locked please) for a fair compensation. Please let me know. Thanks for any guidance.
nexusnerdgeek said:
This is where I'm at while executing step 3 of the initial guide in this post:
When powered on, in the usual boot loader unlocked warning page, it prompts for power key to be pressed to continue.
(Here if power switch is not pressed within 30 odd seconds, phone powers down automatically.)
Once power key is pressed, it lands in boot loader. Selecting Start, it goes back to boot loader. I think this is called a boot loop.
While in boot loader, selecting "Recovery mode", it progresses to "Android Recovery". Here selecting "Enter fastboot" appears to take it furthest in the booting process of landing at "Android Fastboot".
(The version info showed in Fastboot -- 18.0840.2202.231-0 -- matches with the last A11 update I downloaded from Asus website & had it installed late March this year.)
I don't think it can boot any further at the state that it's in now.
I think this is where it needs a raw firmware to be flashed. This step keeps core-dumping in my Linux laptop when trying to use WW_ZS673KS_18.0840.2106.83_M3.13.24.40-ASUS_1.1.92_Phone-user.raw file that was linked in the original post. This version appears to be quite old. Could the version mismatch between what the phone was running recently (18.0840.2202.231) and the raw file (18.0840.2106.83) cause the core-dump issue? IOW, would somebody have a link for 18.0840.2202.231 raw file please?
I couldn't use my work Windows laptop due to an issue I cannot overcome (installation of driver needed for the phone is somehow blocked in it). So, soon I'll try it from a personal Windows laptop of my neighbor. Let's see if it can progress any further with the help of Windows platform.
In the meantime, I can appreciate to be informed about any tips and tricks such as if this is something that the phone cannot be recovered from. Or even somebody highly skilled would like to help me to achieve a fully functional phone (with bootloader locked please) for a fair compensation. Please let me know. Thanks for any guidance.
Click to expand...
Click to collapse
Confirm that you can send fastboot commands to the device. It's a prerequisite for flashing the original boot img back or doing a RAW flash if boot looped. That's the very first step you need sorted and confirmed. Sounds like you may not be in the right Fastboot mode. The RAW version doesn't matter too much as long as it's in line with your device version, you just need it to get back up and can upgrade normally to other versions.