Development [LATEST][RECOVERY][UNOFFICIAL]TWRP 3.7.0_12-v2 for Moto G Stylus 5G 2021[XT2131-1][denver]

Search This thread

YTxIcyModz420

Member
Sep 6, 2021
8
2
looking forward too a12 version will defo test and report back after its released :D thanks so much for doing this the current version will boot but will not mount storage at all on android 12 :/
 
  • Like
Reactions: jpearson82
looking forward too a12 version will defo test and report back after its released :D thanks so much for doing this the current version will boot but will not mount storage at all on android 12 :/

I am definitely looking forward to the A12 version too.

I actually just got done with first test compile, havent tested it myself.. but if yall wanna try it I can send it to yall in PM to try.. just PM me...
 
UPDATE

Known Issues with Android 12 and TWRP
-For decryption to work, you must remove your pin/password and have only swipe set in security options
-Lag on splash screen. It might take up to 10-15 seconds before its fully booted. This is because the way I compiled my releases, is to mount the vendor partition and use your vendor partitions modules instead of including them in the img file. Just give it a second and it'll boot up.

//EDIT//
Tested pin number decryption and it works perfectly
.


Screenshot_2022-09-26-11-10-39.png Screenshot_2022-09-26-11-10-37.png

TWRP 3.6.2_12-v1 - Download attached below. Touchscreen works just like my Android 11 release. Tested myself, installed to ramdisk, flashed magisk.zip, etc.

//EDIT 10-2-2022//
I updated main thread post with the install directions and the downloads.
 
Last edited:
  • Like
Reactions: jpearson82
All sorted now thank you. I think it mustve been the wrong stock boot.img. Thanks for the help and your work on the recovery.

You're welcome. Glad you got it sorted. I updated the thread and removed the stock boot part of the directions and made it less complicated. :) Enjoy!


//UPDATE//
I am going to release an update soon to both recoveries fixing fastbootd mode
 
  • Like
Reactions: jpearson82

BLeAk11

Member
Jun 10, 2018
33
3
Moto G Stylus 5G
You're welcome. Glad you got it sorted. I updated the thread and removed the stock boot part of the directions and made it less complicated. :) Enjoy!


//UPDATE//
I am going to release an update soon to both recoveries fixing fastbootd mode
Yeah its maybe better to let folks extract their own boot.img from their stock rom, to avoid confusion.. I'm not sure. But thanks again
 

jpearson82

Member
Apr 28, 2019
33
7
UPDATE

Just updated the attachment on first post with latest A12 with Fastbootd working... A11 still doesnt work but I am phasing it out... wont update it anymore...
I should probably give you a heads up. I noticed when I am doing a backup in recovery. when it gets to the end it says the following:

createTarFork{} process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.

Yet when I go to the backup folder it still has the backup files in there. Do I just ignore this message or is the backup gonna be corrupted and unusable?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Installed this and root after OEM Unlocking was enabled after 72 hours. Everything working great. Can't wait to see a ROM
    2
    I don't see any XT numbers or code names in about phone, I bought the unlocked version currently on sale for black friday so I don't know if this is what I need? Can anyone verify?
    1
    Did you even read my original post?

    I want to know how to get to the recovery of an on a unrooted moto g stylus 5G XT2131-1!
    hace I confused you?
    When you get to the no command screen hold power button while tapping the volume up button. It works for me.
    1
    Thanks. I had no idea motoflash2sh is a thing. This will be very helpful.

    Where do I get the original firmware files from?

    As for re-rooting, my process is a little different. In the past, on my Moto G Fast (rav), I never permanently flashed the recovery to the phone. I used fastboot to boot TWRP, create a backup of the stock boot image (to make OTAs easier next time), use Magisk to create a patched version of that boot image, go back into fastboot, and flash that boot image with fastboot for root.

    Then, when OTAs came around, I would simply use fastboot to boot into TWRP again, restore the stock boot image from the backup I made previously, and then with that, I can perform OTA updates normally through the system updater. Once the update is finished, I repeat the steps of backing up the stock boot image, patching, and flashing.

    Similarly, with this denver device, I did not permanently flash TWRP. I simply booted it with fastboot and then flashed the Magisk .zip.

    It seems like an easier way to get the OTA update done would be to keep the boot.img from the most recent OTA update, flash that boot.img when the next OTA update comes around, update it, and then follow my usual rooting process.

    Would this still work on denver?

    It should still work.. Magisk has this nice little feature that if you are on stock boot.img when you flash the zip file it makes a backup of the original stock boot.img file on your phone, I think in the /data/ partition but dont quote me... and then you can go into Magisk and click uninstall (its for otas) and it will restore that backup of the original boot.img stock so you can do the ota.. then before reboot for ota... go back to magisk and pick install to other slot or something like that... so that when it reboots for ota it reinstalls magisk on the reboot


    i think thats how that works... either way... you can find the files a few ways... theres a telegram to get them and also https://mirrors.lolinet.com/firmware/motorola/denver/official/
    1
    Oh wow, that is really buried. Thanks once again. I never would have found that.
  • 7
    W9JMd4u.png

    Code:
    /*
    *Disclaimer
    *
    * Your warranty is now void.
    *
    * We're not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    */

    Introduction

    Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.

    Android 12 Installation Instructions
    DO NOT FLASH ZIP, UNZIP FIRST
    • First unzip the ANDROID-12-UNZIP-ME-FIRST.zip file to get a12v2-twrp-boot.img and Magisk-v25.2.zip files.
    • Copy a12v2-twrp-boot.img and Magisk-v25.2.zip to either internal storage or external SD card.
    Then do:
    Code:
    adb reboot bootloader
    fastboot boot a12v2-twrp-boot.img
    • Once TWRP boots up, go to Advanced > Install Recovery Ramdisk
    • Then choose the a12v2-twrp-boot.img
    • Then go to Install and choose the Magisk-v25.2.zip file to re-root the device
    • Then go to Reboot > System
    Working
    • Everything, including touchscreen. No need to flash 3rd party kernel.

    Troubleshooting
    If you get the error createTarFork{} process ended with ERROR: 255
    Go to /data/ folder and delete the fonts folder then reboot and try backup /data again.


    Screenshot_2022-10-04-03-22-07.png Screenshot_2022-10-04-03-22-01.png


    //DISCONTINUED//
    Android 11 Installation Instructions
    DO NOT FLASH ZIP, UNZIP FIRST
    • First unzip the ANDROID-11-UNZIP-ME-FIRST.zip file to get twrp-boot.img and Magisk-v25.2.zip files.
    • Copy twrp-boot.img and Magisk-v25.2.zip to either internal storage or external SD card.
    Then do:
    Code:
    adb reboot bootloader
    fastboot boot twrp-boot.img
    • Once TWRP boots up, go to Advanced > Install Recovery Ramdisk
    • Then choose the twrp-boot.img
    • Then go to Install and choose the Magisk-v25.2.zip file to re-root the device
    • Then go to Reboot > System
    2
    Thank you for this! I will give it a shot.
    2
    Alright. touch screen works after i turn off the screen and turn it back on. umm it also wont let me backup any data.

    Ok thank you. Yeah I didnt think decryption would work. It's meant for A11... but I will work on A12 compile version of it now. Just gotta get the right modules, etc from A12. Once It's done I'll add it to this thread in addition to the A11 version.
    2
    Really ? It reboots to system instead of to a brick? What's next custom ROM? People like you restore my faith in humanity. Confirmed working
    2
    I'll give it a try :}

    Awesome! Let me know. Decryption might not work on A12. I'm compiling A12 based TWRP now. Seeing if it compiles anyways, lol.