Search This thread

lofi2op

Member
Jun 6, 2021
14
21
Moto G40
  1. First Download Motorola USB Driver and Tiny Fastboot

  2. Then make sure you have enabled "OEM UNLOCK" / "Allow OEM to be unlocked" in Developer Options ( to turn on Developer Options, just go to the "About" Section in your Settings and click on the build number 7 times )

  3. After you've made sure that its all enabled, power off your phone and once its off, press and hold the Power Button + Volume Down Button and it should boot to a screen with an image of an Android with its stomach open.

  4. Once you've reached there, connect your phone to the PC and extract the Tiny Fastboot .zip file and run the flash.bat

  5. Now a cmd windows will upon and you will be asked to choose a fastboot verision, just type "1" and click Enter.

  6. Now choose the 8th option i.e Bootloader Unlock Menu by typing "8" and pressing Enter

  7. Now type in the 3rd option and the unlock code will be automatically copied.

  8. Open Unlock My Device Portal and paste the unlock code in the 6th step's input box and agree to the agreement and click on the "REQUEST UNLOCK KEY" button at the bottom of the page below the agreement

  9. Now you should have recieved a mail in your email account with which you linked to Motorola.

  10. Now again type the 3rd option in your cmd so that you can return to the "Bootloader Unlock Menu" and now press 2nd option and paste the unique unlock code you received in your registered email and voila, a message shall appear on your phone asking whether you wanna unlock your bootloader or not, just use volume buttons to switch between the 2 options and press home button to enter your choice

  11. Now click on the home button if the message shown on the right middle side near the two triangles is "START", if something else is shown then use your volume buttons to navigate back to the "START" option and press enter.

  12. Your Device will be reset in this process and you will be greeted with an Android Welcome Screen with a language choice and a "START" button

  13. To confirm whether your device is unlocked or not, just repeat step 2 and when you go to the specific option in Developer Options, it should show something like "Bootloader is already unlocked" and the option will be greyed out.
GOOD LUCK ! AND I HAVE ATTACHED THE FILES BELOW TOO !
 

Attachments

  • Tiny-Fastboot-Script_v1.7.4_EN_by_AlphaEva.zip
    13.6 MB · Views: 389
  • Motorola_End_User_Driver_Installation_6.4.0_64bit.zip
    3.4 MB · Views: 232

lofi2op

Member
Jun 6, 2021
14
21
Moto G40
If you're willing to use normal ADB Tool rather than this Tiny Fastboot, feel free to do so..

From the 4th to 7th step, instead of Tiny Fastboot use open ADB in cmd and type fastboot oem get_unlock_data then copy the unlock code you get from there, it should be something like (bootloader) 3A35315903679773#3498G234K23 to remove those bootloader from every line just open Data Scrub Tool and paste your code there and click on "Format My Data" and it will remove all unwanted text like "(bootloader)" from the code and you can copy it and then follow step 8 & 9 and come back to adb and type " fastboot oem unlock <unlock code> " where <unlock code> is the unlock code sent to your mail. enter the command and a message shall appear on your phone asking whether you wanna unlock your bootloader or not, just use volume buttons to switch between the 2 options and press home button to enter your choice, then proceed to follow step 11-13.

GOOD LUCK ! AND I HAVE ATTACHED AN ADB ZIP BELOW INCASE ANYONE NEEDS IT.
 

Attachments

  • platform-tools_r31.0.3-windows.zip
    11.4 MB · Views: 153

WILSON_LMS

New member
Aug 17, 2022
3
0
HOLA COMO ESTAN?, LEI TODOS SUS ARTICULOS UNO POR UNO Y HE PROBADO CADA COSA Y SIGO TENIENDO EL MISMO ERROR QUE TU TENIAS AL INICIO, LEI QUE ACTUALIZASTE EL PARCHE DE SEGURIDAD Y FUNCIONO PERO NO SE COMO ACTUALIZARLO MI DISPOSITIVO ES UN MOTO G9 PLAY MODELO (guamp XT2083 - 1) SI PUDIERA AYUDARE CON ESTE MODELO SE LOS AGRADECERIA
 

sd_shadow

Recognized Contributor / XDA Welcome Team
Sep 21, 2011
18,689
2
9,387
South Dakota
goo.gl
Motorola Droid X
Amazon Fire
HOLA COMO ESTAN?, LEI TODOS SUS ARTICULOS UNO POR UNO Y HE PROBADO CADA COSA Y SIGO TENIENDO EL MISMO ERROR QUE TU TENIAS AL INICIO, LEI QUE ACTUALIZASTE EL PARCHE DE SEGURIDAD Y FUNCIONO PERO NO SE COMO ACTUALIZARLO MI DISPOSITIVO ES UN MOTO G9 PLAY MODELO (guamp XT2083 - 1) SI PUDIERA AYUDARE CON ESTE MODELO SE LOS AGRADECERIA
English on XDA Please
Google translation
HELLO, HOW ARE YOU? I READ ALL YOUR ARTICLES ONE BY ONE AND I HAVE TRIED EVERYTHING AND I STILL HAVE THE SAME ERROR AS YOU HAD AT THE BEGINNING, I READ THAT YOU UPDATED THE SECURITY PATCH AND IT WORKED BUT I DON'T KNOW HOW TO UPDATE IT MY DEVICE IS A MOTO G9 PLAY MODEL (guamp XT2083 - 1) IF I COULD HELP WITH
 

WILSON_LMS

New member
Aug 17, 2022
3
0
HELLO HOW ARE YOU?, I READ ALL YOUR ARTICLES ONE BY ONE AND I HAVE TRIED EVERY THING AND I KEEP HAVING THE SAME ERROR THAT YOU HAD AT THE BEGINNING, I READ THAT YOU UPDATED THE SECURITY PATCH AND IT WORKED BUT I DON'T KNOW HOW TO UPDATE IT MY DEVICE IS A MOTO G9 PLAY MODEL (guamp XT2083 - 1) IF YOU COULD HELP WITH THIS MODEL I WOULD APPRECIATE IT
 

WILSON_LMS

New member
Aug 17, 2022
3
0
C:\Users\SO\Downloads\platform-tools_r33.0.2-windows\platform-tools>fastboot getvar all
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-guamp_retail-252ee94a782-211027
(bootloader) product: guamp
(bootloader) board: guamp
(bootloader) secure: yes
(bootloader) hwrev: PVT
(bootloader) radio: LATAM
(bootloader) storage-type: eMMC
(bootloader) emmc: 64GB SKHYNIX hC9aP3 RV=08 PV=01 FV=0000000031303030
(bootloader) ufs: N/A
(bootloader) ram: 4GB SKHYNIX LP4x DIE=16Gb M5-M8=06 05 00 11
(bootloader) cpu: SM_KAMORTA_H 1.0
(bootloader) serialno: ZY327KMT5P
(bootloader) cid: 0x0000
(bootloader) channelid: 0x00
(bootloader) uid: 9147803F
(bootloader) securestate: oem_locked
(bootloader) factory-modes: allowed
(bootloader) verity-state: enforcing (0)
(bootloader) iswarrantyvoid: no
(bootloader) max-download-size: 804464640
(bootloader) reason: Volume down key pressed
(bootloader) imei: 867685059931725
(bootloader) imei2: 355530110667141
(bootloader) meid:
(bootloader) date: 07-17-2020
(bootloader) sku: XT2083-1
(bootloader) carrier_sku: XT2083-1
(bootloader) battid: SB18C77591
(bootloader) battery-voltage: 3944
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) poweroffalarm: 0
(bootloader) ro.carrier: unknown
(bootloader) ro.build.fingerprint[0]: motorola/guamp_retail/guamp:11/RPX
(bootloader) ro.build.fingerprint[1]: S31.Q2-58-17-4-1/9f01c:user/releas
(bootloader) ro.build.fingerprint[2]: e-keys
(bootloader) ro.build.version.qcom: LA.UM.9.15.r1-02200-KAMORTA.0
(bootloader) version-baseband: HA10_29.11.02.88R GUAMP_LATAMDSDS_CUST
(bootloader) kernel.version[0]: Linux version 4.19.157-perf+ ([email protected]
(bootloader) kernel.version[1]: roid-build) (clang version 10.0.7 for An
(bootloader) kernel.version[2]: droid NDK, GNU ld (binutils-2.27-bd24d23
(bootloader) kernel.version[3]: f) 2.27.0.20170315) #1 SMP PREEMPT Wed O
(bootloader) kernel.version[4]: ct 27 05:16:38 CDT 2021
(bootloader) git:xbl: MBM-3.0-guamp_retail-0ed29cb2f-211027
(bootloader) git:xbl_config: MBM-3.0-guamp_retail-0ed29cb2f-211027
(bootloader) git:abl: MBM-3.0-guamp_retail-252ee94a782-211027
(bootloader) git:rpm: MBM-3.0-guamp_retail-834e250d-211027
(bootloader) git:tz: MBM-3.0-guamp_retail-13b6e616-211027
(bootloader) git:hyp: MBM-3.0-guamp_retail-13b6e616-211027
(bootloader) git:devcfg: MBM-3.0-guamp_retail-13b6e616-211027
(bootloader) git:keymaster: MBM-3.0-guamp_retail-4b088521-211027
(bootloader) git:storsec: MBM-3.0-guamp_retail-4b088521-211027
(bootloader) git:uefisecapp: MBM-3.0-guamp_retail-4b088521-211027
(bootloader) git:prov: MBM-3.0-guamp_retail-13b6e616-211027
(bootloader) git:qupfw: MBM-3.0-guamp_retail-2e25c72-211027
(bootloader) frp-state: no protection (77)
(bootloader) current-slot: b
(bootloader) running-bl-slot: _b/_b
(bootloader) running-boot-lun: 0
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: yes
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 7
(bootloader) slot-retry-count:_b: 5
(bootloader) logical-block-size: 0x200
(bootloader) erase-block-size: 0x200
(bootloader) is-userspace: no
(bootloader) pcb-part-no: SP69A6P9SN
(bootloader) primary-display: hlt_hx83102d_video_display
(bootloader) secondary-display:
all: listed above
Finished. Total time: 0.348s
 

arsradu

Senior Member
Apr 28, 2011
3,767
3,436
Motorola One Action
Moto G40 / G60
Thank you for the guide. :)

One thing I'd like to add, in case anyone else encounters this issue.

Try to use Gmail as your account email for Motorola, since that's what's gonna be used to send you the unlock code. I've got issues using other email providers.

So...just so you know. In case you don't receive the unlock code (which should come in about a minute or so), try to change your account email address and request the code again.
 

reejuu

Senior Member
Sep 20, 2022
93
2
29
INDIA
Moto G
Micromax Canvas A89 Ninja
after several trying i cant unlock my my boot loader...moto g60 running android 12. using laptop windows 11.. pls help me. i want to unlock bl and feel the taste of custom roms badly. @lofi2op @arsradu @WILSON_LMS @sd_shadow .
this is my new acount. i was a senior member in xda for several years since micromax ninja times somehow i lost that acount thatswhy i made this new acount...i will be very grateful if you guys help me out...dont know fastboot dont recognise my device somehow..i changed usb cable also...used vivo cable,samsunge cable..but no use....any other way to unlock bootloader from getting that code through email, like we do do previously in other moto phones earler? pls guide me...im confused and irritated.help me pls...waiting for u reply.
 
Last edited:

arsradu

Senior Member
Apr 28, 2011
3,767
3,436
Motorola One Action
Moto G40 / G60
after several trying i cant unlock my my boot loader...moto g60 running android 12. using laptop windows 11.. pls help me. i want to unlock bl and feel the taste of custom roms badly. @lofi2op @arsradu @WILSON_LMS @sd_shadow .
this is my new acount. i was a senior member in xda for several years since micromax ninja times somehow i lost that acount thatswhy i made this new acount...i will be very grateful if you guys help me out...dont know fastboot dont recognise my device somehow..i changed usb cable also...used vivo cable,samsunge cable..but no use....any other way to unlock bootloader from getting that code through email, like we do do previously in other moto phones earler? pls guide me...im confused and irritated.help me pls...waiting for u reply.
Well, you need to make sure the device is recognised in fastboot mode (maybe adb, too).

Try to use platform tools from here: https://developer.android.com/studio/releases/platform-tools

Also, did you get the unlock code via email?
Personally don't know another way to unlock the bootloader without fastboot and a data cable.
 

reejuu

Senior Member
Sep 20, 2022
93
2
29
INDIA
Moto G
Micromax Canvas A89 Ninja

arsradu

Senior Member
Apr 28, 2011
3,767
3,436
Motorola One Action
Moto G40 / G60
No didnt get the unlock code via email...can u pls help...in a elaborated way...i cant work out i tried many times
Well, pretty much everything is described on the Motorola site here: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b
Except for the SDK part.

Ok, let's see if we can make a better tutorial than Motorola did. Unlikely, but we can try. :)
  1. Get the Android Platform Tools. You can download it here.
    I see no point in downloading the whole SDK for this.
  2. Install the latest Motorola USB Drivers. Get them here.
Next, you will need to get your device ID.

1. Device in Fastboot mode (press the power button and volume down button at the same time and connect your device to your computer with a USB cable)
2. open up CMD prompt inside the platform tools folder
then type:
fastboot devices

3, make sure device is connected (you should see your serial number displayed if everything ok)
then type
fastboot oem get_unlock_data

you should get something like this:
(bootloader) 0A40040192024205#4C4D3556313230 (bootloader) 30373731363031303332323239#BD00 (bootloader) 8A672BA4746C2CE02328A2AC0C39F95 (bootloader) 1A3E5#1F53280002000000000000000 (bootloader) 0000000

4. Now copy the "code" part off of each line (basically exclude the (bootloader) part and remove all spaces) and make it a single string.
Should look something like this: 0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000

5. Now copy the resulting line (your line, not the one in my example) in the text input field on that page, and click "Can my device be unlocked?"

IF it can be unlocked, you will get a Request Unlock Key button.
Agree to the terms and get click Request Unlock Key.

Please, note that NOT ALL MODELS CAN BE UNLOCKED!

If anything unclear, please, let me know. Add screenshots or details so we can understand what the problem is.

Make sure you use a Gmail email address for your account. You can change it from your account in case it's not. There seem to be some issues with other email providers.
 
Last edited:

reejuu

Senior Member
Sep 20, 2022
93
2
29
INDIA
Moto G
Micromax Canvas A89 Ninja
Well, pretty much everything is described on the Motorola site here: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b
Except for the SDK part.

Ok, let's see if we can make a better tutorial than Motorola did. Unlikely, but we can try. :)
  1. Get the Android Platform Tools. You can download it here.
    I see no point in downloading the whole SDK for this.
  2. Install the latest Motorola USB Drivers. Get them here.
Next, you will need to get your device ID.

1. Device in Fastboot mode (press the power button and volume down button at the same time and connect your device to your computer with a USB cable)
2. open up CMD prompt inside the platform tools folder
then type:
fastboot devices

3, make sure device is connected (you should see your serial number displayed if everything ok)
then type
fastboot oem get_unlock_data

you should get something like this:
(bootloader) 0A40040192024205#4C4D3556313230 (bootloader) 30373731363031303332323239#BD00 (bootloader) 8A672BA4746C2CE02328A2AC0C39F95 (bootloader) 1A3E5#1F53280002000000000000000 (bootloader) 0000000

4. Now copy the "code" part off of each line (basically exclude the (bootloader) part and remove all spaces) and make it a single string.
Should look something like this: 0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000

5. Now copy the resulting line (your line, not the one in my example) in the text input field on that page, and click "Can my device be unlocked?"

IF it can be unlocked, you will get a Request Unlock Key button.
Agree to the terms and get click Request Unlock Key.

Please, note that NOT ALL MODELS CAN BE UNLOCKED!

If anything unclear, please, let me know. Add screenshots or details so we can understand what the problem is.

Make sure you use a Gmail email address for your account. You can change it from your account in case it's not. There seem to be some issues with other email providers.
Okay i will try it now and reply you shortly what will happen!
 

arsradu

Senior Member
Apr 28, 2011
3,767
3,436
Motorola One Action
Moto G40 / G60
Okay i will try it now and reply you shortly what will happen!

The links in the original tutorial (the one from Motorola) seem to be either outdated. So I've replaced them with hopefully the right ones.

Anyway, in short, the flow should look like this:

1. install driver
2. download and unpack the platform tools
3. enter the platform tools folder
4. connect your device
5. open a cmd prompt inside the platform tools folder (or navigate to it from CMD prompt; as you wish)
6. do a "fastboot devices" to make sure the device is detected
5. do a "fastboot oem get_unlock_data"
This should give you the request string. But it's in multiple parts so we need to make it a single one in the next step.
6. put the request string in a single part (remove "(bootloader)" and spaces, if there are any).
7. copy-paste the string in the field
8. try to see if the device is unlockable.
9. if it is, you should get an unlock key via email in a few minutes maximum. Just make sure your account uses a Gmail email address.

That's it.
 

reejuu

Senior Member
Sep 20, 2022
93
2
29
INDIA
Moto G
Micromax Canvas A89 Ninja
The links in the original tutorial (the one from Motorola) seem to be either outdated. So I've replaced them with hopefully the right ones.

Anyway, in short, the flow should look like this:

1. install driver
2. download and unpack the platform tools
3. enter the platform tools folder
4. connect your device
5. open a cmd prompt inside the platform tools folder (or navigate to it from CMD prompt; as you wish)
6. do a "fastboot devices" to make sure the device is detected
5. do a "fastboot oem get_unlock_data"
This should give you the request string. But it's in multiple parts so we need to make it a single one in the next step.
6. put the request string in a single part (remove "(bootloader)" and spaces, if there are any).
7. copy-paste the string in the field
8. try to see if the device is unlockable.
9. if it is, you should get an unlock key via email in a few minutes maximum. Just make sure your account uses a Gmail email address.

That's it.
How to make sure that that unlock key in received in gmail acount? How will it linked to fastboot?
 

arsradu

Senior Member
Apr 28, 2011
3,767
3,436
Motorola One Action
Moto G40 / G60
done successfully thanks a lot..now will install twrp...
Awesome!

You actually don't need to install TWRP. And...it might be better if you don't.

Some ROMs usually come with their own Recovery. PixelExperience for example will have its own recovery. So you don't need to flash TWRP. Just to boot into it, long enough to flash the actual ROM (with its own recovery). :)

The difference?

fastboot flash boot twrp.zip
this is for flashing TWRP.
vs

fastboot boot twrp.img
this is for booting TWRP.

Also, you can actually install TWRP from within itself. I think the option is called "install into ramdisk" or something like that.

But again...You usually don't need to install TWRP. Just to boot into it, so you can flash whatever ROM you want.

One thing to remember: if you ever want to go back to stock ROM, please, first try to boot into it, and see if the OEM Unlocking option is still ON! If it's not, better NOT lock back the bootloader! Careful with that. You can easily brick your phone!
 
Last edited:

reejuu

Senior Member
Sep 20, 2022
93
2
29
INDIA
Moto G
Micromax Canvas A89 Ninja
Awesome!

You actually don't need to install TWRP. And...it might be better if you don't.

Some ROMs usually come with their own Recovery. PixelExperience for example will have its own recovery. So you don't need to flash TWRP. Just to boot into it, long enough to flash the actual ROM (with its own recovery). :)

The difference?

fastboot flash boot twrp.zip
this is for flashing TWRP.
vs

fastboot boot twrp.img
this is for booting TWRP.

Also, you can actually install TWRP from within itself. I think the option is called "install into ramdisk" or something like that.

But again...You usually don't need to install TWRP. Just to boot into it, so you can flash whatever ROM you want.

One thing to remember: if you eve want to go back to stock ROM, please, first try to boot into it, and see if the OEM Unlocking option is still checked! If it's not, better NOT lock back the bootloader! Careful with that. You can easily brick your phone!
how to flash rom? and which rom is god for me first time?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    1. First Download Motorola USB Driver and Tiny Fastboot

    2. Then make sure you have enabled "OEM UNLOCK" / "Allow OEM to be unlocked" in Developer Options ( to turn on Developer Options, just go to the "About" Section in your Settings and click on the build number 7 times )

    3. After you've made sure that its all enabled, power off your phone and once its off, press and hold the Power Button + Volume Down Button and it should boot to a screen with an image of an Android with its stomach open.

    4. Once you've reached there, connect your phone to the PC and extract the Tiny Fastboot .zip file and run the flash.bat

    5. Now a cmd windows will upon and you will be asked to choose a fastboot verision, just type "1" and click Enter.

    6. Now choose the 8th option i.e Bootloader Unlock Menu by typing "8" and pressing Enter

    7. Now type in the 3rd option and the unlock code will be automatically copied.

    8. Open Unlock My Device Portal and paste the unlock code in the 6th step's input box and agree to the agreement and click on the "REQUEST UNLOCK KEY" button at the bottom of the page below the agreement

    9. Now you should have recieved a mail in your email account with which you linked to Motorola.

    10. Now again type the 3rd option in your cmd so that you can return to the "Bootloader Unlock Menu" and now press 2nd option and paste the unique unlock code you received in your registered email and voila, a message shall appear on your phone asking whether you wanna unlock your bootloader or not, just use volume buttons to switch between the 2 options and press home button to enter your choice

    11. Now click on the home button if the message shown on the right middle side near the two triangles is "START", if something else is shown then use your volume buttons to navigate back to the "START" option and press enter.

    12. Your Device will be reset in this process and you will be greeted with an Android Welcome Screen with a language choice and a "START" button

    13. To confirm whether your device is unlocked or not, just repeat step 2 and when you go to the specific option in Developer Options, it should show something like "Bootloader is already unlocked" and the option will be greyed out.
    GOOD LUCK ! AND I HAVE ATTACHED THE FILES BELOW TOO !
    5
    If you're willing to use normal ADB Tool rather than this Tiny Fastboot, feel free to do so..

    From the 4th to 7th step, instead of Tiny Fastboot use open ADB in cmd and type fastboot oem get_unlock_data then copy the unlock code you get from there, it should be something like (bootloader) 3A35315903679773#3498G234K23 to remove those bootloader from every line just open Data Scrub Tool and paste your code there and click on "Format My Data" and it will remove all unwanted text like "(bootloader)" from the code and you can copy it and then follow step 8 & 9 and come back to adb and type " fastboot oem unlock <unlock code> " where <unlock code> is the unlock code sent to your mail. enter the command and a message shall appear on your phone asking whether you wanna unlock your bootloader or not, just use volume buttons to switch between the 2 options and press home button to enter your choice, then proceed to follow step 11-13.

    GOOD LUCK ! AND I HAVE ATTACHED AN ADB ZIP BELOW INCASE ANYONE NEEDS IT.
    1
    Thank very much! Data scrub tool was also very useful
    1
    Thank you very much for sharing.
    1
    adb mode means fastboot mode?
    THANX FOR YOUR VALUABLE TIME BRO...FINALLY ROM IS FLASHED.....A TON OF THNX TO YOU....WORDS WILL BE LESS FOR YOU IF I SPEAK....U DID IMMENSLY HARD WORK PATIENTLY WHICH MAY BE NO OTHER SENIOR MEMBER WILL DO...THANX AGAIN...SEE YOU LATER..KEEP IN TOUCH...BTW I AM A REGISTERED DOCTOR PRACTICISING IN INDIA..IF U NEED ANY MEDICAL HEL OR ADVICE FEEL FREE TO ASK ME