Question TWRP files for g stylus 5g 2022 (XT2215-4)

Search This thread

Tokth

Member
May 25, 2022
16
5
I have recently acquired a carrier unlocked Motorola G Stylus 5G 2022 (XT2215-4) and have successfully unlocked the boot loader.

I have been looking for TWRP recovery files/images for my device but have been unsuccessful up to this point. I am considering compiling some from source, if need be, at which point I will likely compile lineage from some source for it as well.

Does anyone know if the 2021 (Denver/Osaka) models can or should be used as a template for attempting this? Additionally is anyone looking into porting to this device? I am a bit new to this and wouldn't mind a bit of assistance.

Thanks!
 
Last edited:

TheLoonyRebel

Senior Member
Mar 20, 2010
2,355
1,258
Amazon Fire TV
Nexus Player
Just got the device the other day but haven't bootloader unlocked it. I'm assuming due to the different processor alone it's likely we'll need our own device tree. I haven't really done that stuff before but maybe if we get a Telegram group going we could get some Moto vets to help out maybe?
 

Tokth

Member
May 25, 2022
16
5
I have been able to extract the dtb.* files from the firmware's dtbo.img however I have not attempted to compile it into the dts.img via the dtc utiliity like many of the tutorials on the subject say you need to do. This is because none of the ones I found say anything about having to deal with multiple dtb files like the ones I was presented with when I extracted the dtbo.img from the device firmware. I didnt want to try it and have it be totally wrong.

On the motorola github I have posted an issue requesting the release of the kernel, device tree, and any other pertinent files, pertaining to the stock firmware for the XT2215-4. Hopefully they come back in an reasonable time so that I can move forward with compiling Lineage OS for it.


Rooting:
Once you get the bootloader unlocked, you can root it by flashing the boot.img that has been patched with Magisk using fastboot. Perhaps Ill post a step by step guide for this for the XT2215-4 in the next day or so.
 
  • Like
Reactions: IronDwarf

IronDwarf

Senior Member
Nov 1, 2013
116
18
OnePlus 7 Pro
Redmi Note 8 Pro
I have been able to extract the dtb.* files from the firmware's dtbo.img however I have not attempted to compile it into the dts.img via the dtc utiliity like many of the tutorials on the subject say you need to do. This is because none of the ones I found say anything about having to deal with multiple dtb files like the ones I was presented with when I extracted the dtbo.img from the device firmware. I didnt want to try it and have it be totally wrong.

On the motorola github I have posted an issue requesting the release of the kernel, device tree, and any other pertinent files, pertaining to the stock firmware for the XT2215-4. Hopefully they come back in an reasonable time so that I can move forward with compiling Lineage OS for it.


Rooting:
Once you get the bootloader unlocked, you can root it by flashing the boot.img that has been patched with Magisk using fastboot. Perhaps Ill post a step by step guide for this for the XT2215-4 in the next day or so.
I would love a guide or at least the boot.img file
 
I have recently acquired a carrier unlocked Motorola G Stylus 5G 2022 (XT2215-4) and have successfully unlocked the boot loader.

I have been looking for TWRP recovery files/images for my device but have been unsuccessful up to this point. I am considering compiling some from source, if need be, at which point I will likely compile lineage from some source for it as well.

Does anyone know if the 2021 (Denver/Osaka) models can or should be used as a template for attempting this? Additionally is anyone looking into porting to this device? I am a bit new to this and wouldn't mind a bit of assistance.

Thanks!
This is a mediatek phone, you will have to wait on the Milan files from Moto directly, and last I checked they haven't released the tree yet.
 

ghettiguru

Member
Jul 23, 2009
26
2
This is a mediatek phone, you will have to wait on the Milan files from Moto directly, and last I checked they haven't released the tree yet.
XT2215-4 is not mediatek it's Qualcomm snapdragon SDM695 w same sm6375 chipset as the xiaomi note 11 Pro, I would rather have Orange box recovery cuz I'm spooled to the OTA update block, I was about to bust out studio and Android kitchen myself and see if I could Port it from the xiaomi note 11 Pro but I know the kernel going to have different drivers as the 11 pro has a lot better camera like 100 megapixel versus 50 megapixel a few other small details different LTE bands.. maybe enough to just swap the kernels out and Android kitchen to get a buggy twrp up in there interim as we're I'm waiting the kernel ource code and devised tree Moto has only posted like three of their 12 devices I was about to supposed to request when I saw his already posted I'll try to back him up maybe if we bug the crap out of them the xiaomi people had to do that.. they have ricedroid, PE, lineage evolution x, Sapphire, and arrow all kinds of ROMs for the same chipset Xiaomi note 11 pro / Poco note 4 (apparently the Paco is the same device just different country branded and somehow it's the only one that's allowed to play like pubg battlegrounds and stuff cuz they're trying to push the pacos or whatever) i ran across it all in the telegram and I still don't think they have gotten their source code yet. I'm not sure how they even ported all this. Because the telegram thread with all the ROMs I was looking at ror porting and still requesting people to spam xiaomi' about releasing the source
 
Last edited:
XT2215-4 is not mediatek it's Qualcomm snapdragon SDM695 w same sm6375 chipset as the xiaomi note 11 Pro, I would rather have Orange box recovery cuz I'm spooled to the OTA update block, I was about to bust out studio and Android kitchen myself and see if I could Port it from the xiaomi note 11 Pro but I know the kernel going to have different drivers as the 11 pro has a lot better camera like 100 megapixel versus 50 megapixel a few other small details different LTE bands.. maybe enough to just swap the kernels out and Android kitchen to get a buggy twrp up in there interim as we're I'm waiting the kernel ource code and devised tree Moto has only posted like three of their 12 devices I was about to supposed to request when I saw his already posted I'll try to back him up maybe if we bug the crap out of them the xiaomi people had to do that.. they have ricedroid, PE, lineage evolution x, Sapphire, and arrow all kinds of ROMs for the same chipset Xiaomi note 11 pro / Poco note 4 (apparently the Paco is the same device just different country branded and somehow it's the only one that's allowed to play like pubg battlegrounds and stuff cuz they're trying to push the pacos or whatever) i ran across it all in the telegram and I still don't think they have gotten their source code yet. I'm not sure how they even ported all this. Because the telegram thread with all the ROMs I was looking at ror porting and still requesting people to spam xiaomi' about releasing the source
I have a Mediatek variant. I have CPU-Z as a confirmation. I also have made it quite clear in my guides that I have a Factory Unlocked version purchased from Best Buy. So I'm on Milan, Mediatek Helio P65 MT6768 board.

It would behoove you to read and do research before spouting out unconfirmed information.
 
I have a Mediatek variant. I have CPU-Z as a confirmation. I also have made it quite clear in my guides that I have a Factory Unlocked version purchased from Best Buy. So I'm on Milan, Mediatek Helio P65 MT6768 board.

It would behoove you to read and do research before spouting out unconfirmed information.
I'm unclear what you are responding to. My xt2215-4 is also qualcomm. It also reports the board as holi. Mine was also purchased carrier unlocked from best buy. After sifting through the internal guts of the rom after super and partitions inside have been extracted, it's def a qualcomm device. What is your model # ?

I have also rebuilt the super image to use a GSI rom but I cannot seem to get service fully functional. If anyone would like to help me work on it, join my Telegram Android group and let me know. I have twrp built but also need some help getting the touchscreen script working as well as usb functioning. I know my device is using a Novatek screen as repoted by fastboot getvar all

PizzaG Telegram Android Group
 
Last edited:
  • Like
Reactions: fddm
I'm unclear what you are responding to. My xt2215-4 is also qualcomm. It also reports the board as holi. Mine was also purchased carrier unlocked from best buy. After sifting through the internal guts of the rom after super and partitions inside have been extracted, it's def a qualcomm device. What is your model # ?

I have also rebuilt the super image to use a GSI rom but I cannot seem to get service fully functional. If anyone would like to help me work on it, join my Telegram Android group and let me know. I have twrp built but also need some help getting the touchscreen script working as well as usb functioning. I know my device is using a Novatek screen as repoted by fastboot getvar all

PizzaG Telegram Android Group
I'm responding to your original post where you insinuated I didn't have a Mediatek device, which I do. I think the issue is, I thought you were referring to my G Stylus 2022, which is

Moto G Stylus (2022) XT-2211 Mediatek Variant.​

and not the 2215.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Just purchased this device, twrp done for it yet ?
    2
    I dumped and built up a recovery device tree for xt2215-4, then built twrp from source with the twrp 12.1 branch

    -STATUS-
    twrp boots
    touch currently broken
    usb currently broken

    Will post more when I have more to post
    1
    I have been able to extract the dtb.* files from the firmware's dtbo.img however I have not attempted to compile it into the dts.img via the dtc utiliity like many of the tutorials on the subject say you need to do. This is because none of the ones I found say anything about having to deal with multiple dtb files like the ones I was presented with when I extracted the dtbo.img from the device firmware. I didnt want to try it and have it be totally wrong.

    On the motorola github I have posted an issue requesting the release of the kernel, device tree, and any other pertinent files, pertaining to the stock firmware for the XT2215-4. Hopefully they come back in an reasonable time so that I can move forward with compiling Lineage OS for it.


    Rooting:
    Once you get the bootloader unlocked, you can root it by flashing the boot.img that has been patched with Magisk using fastboot. Perhaps Ill post a step by step guide for this for the XT2215-4 in the next day or so.
    1
    Yes because the chipset differs between 2021 and 2022 models, you cannot use same device trees :/