Having Trouble unlocking the bootloader on Motorola Moto G22

Search This thread

Joshch96

New member
Sep 8, 2022
4
0
Hi so today I Recieved a Motorola Moto G22 that I'd brought online.

Now upon booting the phone a number of things became apparent.

1) the stock image the phone comes with is seriously bad, from further inspection it appears google bloatware eats the ram.
2) upon thinking okay prehaps i should use a custom rom , however after many hours looking and trying diffrent things I've had no success.

So from trying many of the basic guides for unlocking motorola's bootloader, I've found an issue where i can't unlock it, when trying fastboot oem get_unlock_data
i get the following error " FAILED (remote: 'unknown command') " , I got this error with many other commands other guides suggested the only command that actually worked was "fastboot getvar all " which returned the varibles but with nothing really useful other than that the bootloader is locked.

so my question is : is it possible to unlock this thing and put better software on it?

software details which might help:
version: Moto G22 (XT2231-2} with android 12 RETGB 4GB ram 64GB space

I brought it to replace a sadly broken S9 which was working until the microphone stopped working for evering. (that and the buttons falling off)

Many Thanks in advance.

Josh
 

Vinniciusf

Member
Nov 16, 2022
5
2
I managed to unlock the bootloader and install magisk smoothly, but after unlocking the bootloader I get a message in the initialization boot described "dm verity corruption..." and then "orange state your device..." I tried to remove it and I can't apart from reinstalling the rom using the lenovo "rescue" program, I managed to ignore these messages by holding the volume + key, but it is necessary to do this procedure every time I restart the device, so I gave up and left the official rom, until I got a complete method of unlocking bootloader and root on moto g22
 

ChkNET

New member
Nov 19, 2022
1
1
oi eu consegui desbloquear o bootloader e fazer o enraizamento muito facillmente asim que diquiri o aparelho MotoG22 pelo Softwere "mtkclient" segue o link do github "https://github.com/bkerler/mtkclient" pode ser piscado e obtido o flash seguimdo o tutorial do canal do eduardo sabino "https://www.youtube.com/@polycrusAct" la ele ensina o metodo do LG k41s,LG k61 e o mesmo metodo funciona no MOTO G22
 

Attachments

  • 1.png
    1.png
    638.6 KB · Views: 114
  • 2.png
    2.png
    86.5 KB · Views: 101
  • 3.png
    3.png
    86.8 KB · Views: 93
  • 4.png
    4.png
    87 KB · Views: 82
  • 5.png
    5.png
    87.9 KB · Views: 112
  • Like
Reactions: Vinniciusf

Vinniciusf

Member
Nov 16, 2022
5
2
oi eu consegui desbloquear o bootloader e fazer o enraizamento muito facillmente asim que diquiri o aparelho MotoG22 pelo Softwere "mtkclient" segue o link do github "https://github.com/bkerler/mtkclient" pode ser piscado e obtido o flash seguimdo o tutorial do canal do eduardo sabino "https://www.youtube.com/@polycrusAct" la ele ensina o metodo do LG k41s,LG k61 e o mesmo metodo funciona no MOTO G22
Meu caramara, fica aparecendo "dm verity corruption..." and then "orange state your device..." essas mensagens no boot?

Mod translation: My dear, is appearing "dm verity corruption..." and then "orange state your device..." these messages at boot?
 
Last edited by a moderator:

lilkiddev

New member
Nov 20, 2022
1
0
Hi so today I was just exploring the internet to unlock the bootloader for my moto g22 to unlock bootloader and I found this post luckily I unlocked the bootloader and flashed the android 13 google gsi+gms and set the refresh rate to 90 by adb commands and so far it is working smoothly and have experienced no bugs on this gsi and the performance is very good than the stock Motorola ROM . I tried to root this mobile but I can't there is no custom recovery for this moto g22 I hope developers will make a custom recovery for moto g22 . the hardware is good but the Motorola software is full of bloat and is crap I have experienced zero bugs in the gsi
 

fulalas

Member
May 31, 2012
30
12
Hi so today I Recieved a Motorola Moto G22 that I'd brought online.

Now upon booting the phone a number of things became apparent.

1) the stock image the phone comes with is seriously bad, from further inspection it appears google bloatware eats the ram.
2) upon thinking okay prehaps i should use a custom rom , however after many hours looking and trying diffrent things I've had no success.

So from trying many of the basic guides for unlocking motorola's bootloader, I've found an issue where i can't unlock it, when trying fastboot oem get_unlock_data
i get the following error " FAILED (remote: 'unknown command') " , I got this error with many other commands other guides suggested the only command that actually worked was "fastboot getvar all " which returned the varibles but with nothing really useful other than that the bootloader is locked.

so my question is : is it possible to unlock this thing and put better software on it?

software details which might help:
version: Moto G22 (XT2231-2} with android 12 RETGB 4GB ram 64GB space

I brought it to replace a sadly broken S9 which was working until the microphone stopped working for evering. (that and the buttons falling off)

Many Thanks in advance.

Josh
I have the same problem and saw some other people experiencing the same thing. I guess Moto G22 is not ready to be unlocked. Luckily there are different ways to debloat (if that's what you're looking for) that don't require root, like UAD (https://github.com/0x192/universal-android-debloater/releases). If you're interested I have a list of all the garbage that is safe to remove from Moto G22.
 

zezim2

New member
Nov 30, 2022
1
0
THE STEPS ARE PRETTY EASY IF YOU KNOW TO USE ANDROID SDK COMMANDS


THE FIRST STEP WILL BE TO DOWNLOAD LATEST ANDROID SDK (PLATFORM TOOLS)

THEN YOU HAVE TO DOWNLOAD THE GSI ANY GSI WILL WORK ABOVE ANDROID 12 FOR THIS I HAVE CHOSEN https://forum.xda-developers.com/t/gsi-unofficial-12-pixel-experience.4354695/
YOU COULD ALSO USE ANDROID 13 GSI BUT IT IS BIT LAGGY

AFTER DOWNLOAD IS DONE OPEN CMD ON YOUR PLATFORM TOOLS FOLDER AND USE THE COMMANDS GIVEN BELOW

fastboot devices

fastboot set_active a

fastboot flash product product_gsi.img

fastboot erase system

fastboot flash system system.img

after it is done reboot your phone

use the product image given here otherwise you will get error

you can get a message to format your device dont worry and just format it , also use fastbootd for the gsi flash

Now you will experiance some lag in system ui but dont worry just open settings select phh treble settings then misc features and there you will see the option force fps click on it and select [email protected] this will set the refresh rate to 90 and boom the phone will work smooth like a butter
would you be able to post a video tutorial for laymen like us
 

aosp_android

New member
Dec 4, 2022
1
0
would you be able to post a video tutorial for laymen like us
Use mtkclient to unblock bootloader and read instructions for installation.


Use only on linux, in windows not work for the Moto G22 (tested for me)

To expedite the process, download the live iso with the programs already ready (create a live usb to boot on usb, example: ventoy you can search on youtube for tutorials)


Please update the mtkclient if is necessary on


Open mtkclient console (in desktop), not mtkclient-gui


Once open, enter python mtk_gui completely turn off your phone and enter your usb to your computer, if it enters charging mode, disconnect the usb from your cell phone and try within 15 seconds.

Once it has read your device, select in the option of the application, "unblock bootloader" and your device will be unlocked.

Good luck, after that you will be able to flash the GSI without problems on your Moto G22.

I was able to do it this way on my Moto G22 (XT2231-5) (Argentina)

If you need more help, let me know here, I was also like you. Excuse me for my English, I'm new to this.
 

Arthur G22

New member
Dec 21, 2022
1
0
OS PASSOS SÃO MUITO FÁCEIS SE VOCÊ SABE USAR OS COMANDOS DO SDK DO ANDROID


O PRIMEIRO PASSO SERÁ BAIXAR O ANDROID SDK MAIS RECENTE (FERRAMENTAS DA PLATAFORMA)

ENTÃO VOCÊ TEM QUE BAIXAR O GSI QUALQUER GSI VAI FUNCIONAR ACIMA DO ANDROID 12 PARA ISSO ESCOLHI https://forum.xda-developers.com/t/gsi-unofficial-12-pixel-experience.4354695/
VOCÊ TAMBÉM PODE USAR O ANDROID 13 GSI, MAS É UM POUCO LAGADO

APÓS O DOWNLOAD FINALIZAR, ABRA O CMD NA PASTA DE FERRAMENTAS DA PLATAFORMA E USE OS COMANDOS ABAIXO

dispositivos de inicialização rápida

inicialização rápida set_active a

produto flash de inicialização rápida product_gsi.img

sistema de apagar fastboot

sistema flash de inicialização rápida system.img

depois de terminar, reinicie o telefone

use a imagem do produto fornecida aqui, caso contrário, você receberá um erro

você pode receber uma mensagem para formatar seu dispositivo, não se preocupe e apenas formate-o, use também o fastbootd para o gsi flash

Agora você experimentará algum atraso na interface do usuário do sistema, mas não se preocupe, apenas abra as configurações, selecione as configurações de agudos do phh e, em seguida, os recursos diversos e lá você verá a opção forçar fps, clique nela e selecione [email protected] , isso definirá a taxa de atualização para 90 e aumentará o o telefone funcionará suave como uma manteiga
junte-se ao meu grupo de telegrama para g22 custus romshttps://t.me/+BycREBWlUbZlMGQx
 

SETSERO70

New member
Dec 24, 2022
2
0
i managed to install, it worked all fine but bluetooth audio devices and earphone jack are not working, if someone had same problem, pls tell me how to fix
 

nachiva

Member
Dec 26, 2022
6
0
THE STEPS ARE PRETTY EASY IF YOU KNOW TO USE ANDROID SDK COMMANDS


THE FIRST STEP WILL BE TO DOWNLOAD LATEST ANDROID SDK (PLATFORM TOOLS)

THEN YOU HAVE TO DOWNLOAD THE GSI ANY GSI WILL WORK ABOVE ANDROID 12 FOR THIS I HAVE CHOSEN https://forum.xda-developers.com/t/gsi-unofficial-12-pixel-experience.4354695/
YOU COULD ALSO USE ANDROID 13 GSI BUT IT IS BIT LAGGY

AFTER DOWNLOAD IS DONE OPEN CMD ON YOUR PLATFORM TOOLS FOLDER AND USE THE COMMANDS GIVEN BELOW

fastboot devices

fastboot set_active a

fastboot flash product product_gsi.img

fastboot erase system

fastboot flash system system.img

after it is done reboot your phone

use the product image given here otherwise you will get error

you can get a message to format your device dont worry and just format it , also use fastbootd for the gsi flash

Now you will experiance some lag in system ui but dont worry just open settings select phh treble settings then misc features and there you will see the option force fps click on it and select [email protected] this will set the refresh rate to 90 and boom the phone will work smooth like a butter
Hi!
I've followed your tutorial step by step, and after flashing the gsi img (I tried with the 12 and 13 versions of the link you provided) the phone gets stucked at the booting initial screen.
After unlocking the bootloader, it started showing me the "orange State your device has been unlocked and can't be trusted" message, but I was able to keep using it, I don't know if this has anything to do.
Do you have any idea what my problem is and how can I solve it? Thanks!
 

SETSERO70

New member
Dec 24, 2022
2
0
Hi!
I've followed your tutorial step by step, and after flashing the gsi img (I tried with the 12 and 13 versions of the link you provided) the phone gets stucked at the booting initial screen.
After unlocking the bootloader, it started showing me the "orange State your device has been unlocked and can't be trusted" message, but I was able to keep using it, I don't know if this has anything to do.
Do you have any idea what my problem is and how can I solve it? Thanks!
I had this problem, i solved just after flash, do a delete data/factory reset in the fastboot menu, sry for bad english
 

nachiva

Member
Dec 26, 2022
6
0
Nevermind! I managed to flash Pixel Experience 13 after saving the phone with the Lenovo program. The rom works much better than the stock one, but the one thing bothering me is that it only gets LTE signal, but no 4G.
Anyone knows of any rom that works with 4G?
Also, any way to unlock camera2api?
Thanks!
 
Last edited:
Nov 10, 2022
27
10
Hi!
I've followed your tutorial step by step, and after flashing the gsi img (I tried with the 12 and 13 versions of the link you provided) the phone gets stucked at the booting initial screen.
After unlocking the bootloader, it started showing me the "orange State your device has been unlocked and can't be trusted" message, but I was able to keep using it, I don't know if this has anything to do.
Do you have any idea what my problem is and how can I solve it? Thanks!
You should factory reset the phone and try
 
Nov 10, 2022
27
10
I was able to unlock bootloader and install Android 13 gsi. I had to delete and recreate partitions since the stock system partition size was not sufficient for gsi 13 build.

Its smooth and great but gsi images are bare minimal and the stock dialer app is not working properly. It doesnt show the inprogress call and hence cant end it.

Is there a way to download a stable custom gsi like maybe pixel experience and install it? I tried to download a img file from an unofficial source and sideload it but it fails. Also is there a working twrp build that I can flash for moto g22?
you could just flash the product img so you dont have to do the resizing stuff
 

Top Liked Posts