yashsingh1/xdaforums huggingface dataset:
[Moto G Stylus 5G] jhjhjhjhjhjh:
It does work if you have r/w access.

I do. There is a script to gain r/w access called "superpack"..

If you don't want r/w access there is a magisk module that can change it but only with specified boot animations.

That's why we want our own boot animations.,

Gain RW access like we do...
[Moto G Stylus 5G] Cbayer86:
Thank you sir
[Moto G Stylus 5G] Cbayer86:
Where the roms had enough of this stock B's lol
[Moto G Stylus 5G] Electimon:
Been pushed to early Christmas, I have midterms todo.
[Moto G Stylus 5G] rawhide85:
@Electimon This work as been a long time coming! You have brought light to the end of the dev tunnel. Look forward to getting back to flashing. Cheers​
[Moto G Stylus 5G] rcll:
Thanks for working on this device!

Is it possible to flash TWRP on the Cricket carrier version of Denver?
[Moto G Stylus 5G] jhjhjhjhjhjh:
hey o.p I p.m you.

I really need that twrp.img to root android gsi 12..

this one I found is pretty stable just need to poke around with root...

thanks..
[Moto G Stylus 5G] jhjhjhjhjhjh:
Twrp boots but unable to flash anything.

adb sideload simi worked ..but error 2 is what I get unable to Mount data etc....all in red...

any feedback... tried to patch the boot via magisk but it won't boot only the stock boots...

Is it because its made for android 11?

how did u root your 12 ROM?

thanks again for your help...
[Moto G Stylus 5G] sosthenisRR:
*EDIT*

**IMPORTANT IMPORTANT IMPORTANT**

**NOTE NOTE NOTE NOTE NOTE NOTE**

DO NOT try to flash twrp if you are already using magisk modules in zygisk. It WILL bootloop your device to twrp until fresh flash of stock rom.

DO NOT switch to slot_b/_a without first running copy ab partitions zip file and have a MPboot.img ready to flash to the ramdisk part. of your kernel.

*END EDIT*

so far i have tested the recovery on yet another stylus 5g. (yea i know im addicted) I modified the fstab by handworking the properties into it with aik. im at a loss for a linux distro. soon though. (dont kill meh...XD

*IN order for you to get data enabled in the recovery you MUST have your security enabled as a PIN number in Android. ONLY the pin number setting will work so far i have found. This will decrypt your data if you put everything togethter right*

Firstly i booted to recovery from fastboot by fastboot boot boot.img and flashed the boot.img from the advanced tab with option flash/patch to ramdisk. seemings as you cannot get stuff working right unless you flash it and reboot to twrp to notice that the touch screen fails. all will be well

reboot bootloader and press the power key on start.

the next step is just follow your magisk boot.img patching process. And also the flashing process as afore mentioned.

boot-flash_to_ramdisk-reboot_bootloader-boot recovery-reboot(hard keys)_to system.

From here you need some kind of boot img flasher and rebooteing app. I use Franco Kernel manager

go to the flashing tab in your app and flash patched twrp boot.img then reboot to follow

mount everything and immediately do a backup

*if sd card troubles flash the ext sdcard fix zip. Google it. Then change partition type to f2fs and resize the partition. Finally factory wipe the sdcard. should be Profit from there*

BAckUP takes a while at the moent but nonetheless. Also i have USB otg listed 2times in the recovery somehow/somewhere. unsure why or how. ill post recovery logs in a little while.

As for now here is the fstab file for which i have the best definitions so far afaik.

*EDIT*

changed a factor in the fstab so i figured i would put it here as well. recoveryfstab-edit1.zip.
[Moto G Stylus 5G] jhjhjhjhjhjh:
Good information.

My problem is I can flash any boot.img via fastboot, issue is android 12 refuses to boot a modified magisk boot.img..

I've tried all methods here and googled elsewhere.

Alpha magisk canary magisk etc..

Vbmeta disable verity doesn't work either.

Thanks again for your info it is very helpful.

This android 12 pixel rom has just about everything working for a daily driver

I'm trying to fix that calls work only on 2g .

Calls are clear and the other party can hear just fine.. there's a volte fix but I need root ..

This rom has micro g preinstalled with signature spoof..

I'm so tired of trying to root it I need a solid guide..

Anyone please chime in....
[Moto G Stylus 5G] ShayBox:
Right now the best guide is just stick to stock and root, using gsi 12 has issues, wait for twrp and roms to come out of testing
[Moto G Stylus 5G] jhjhjhjhjhjh:
True but this gsi 12 rom i found is stable...

working...

data 5g too

in call sounds, mic

camera video photos

fingerprint scanner

gps

Bluetooth

wifi

volume controls

headphone jack

flashlight

youtube

bonus

micgro g preinstalled

spoof signature enabled

twist to open camera gesture

system ui turner preinstalled

not working

cant make calls or text unless on 2g

(only)

so i can fix the volte issue with root and r/w access

theres a superuser app preinstalled but i cant update it to get temp root...

i dont wanna give up on a solid 12 rom...
[Moto G Stylus 5G] sosthenisRR:
I know this may sound sophomoronic but when installing the gsi did you make the flags

ex.

fastboot flash --disable-verity --disable-verification system/product/vendor/etc.

sorry i just had to ask

also check out the repository from @Electimon that includes the repo for codeaurora which is the necessary files to get you on your way to having a great daily driver if you think of it.

btw where did you find your android 12 gsi?
[Moto G Stylus 5G] jhjhjhjhjhjh:
check the attached screenshot on my previous post , i cant recall the exact site i downloaded it from.

Its made by phusson ...google the build number and the roms creator name phusson.. i may have misspelled his name.

to install i used these commands

fastboot reboot fastboot

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

fastboot erase system

fastboot delete-Logical-partition product_a

fastboot flash system system-squeak-arm64-ab-floss.img (NAMEOFROM)

fastboot -w

fastboot reboot

only pure stock boot.img will boot

cant root it yet via magisk patched boot..

Android 12 doesnt like magisk..

i need help to root this rom...

twrp works on android 11 after i set up a pin.

tried that option on gsi 12 option to input pin never populated and in options it ask for a pin i entered the one i made unfortunately it said wrong pin... but i believe you cant decrypt android 12 yet.. so the twrp to flash magisk is a no go right now...
[Moto G Stylus 5G] AZsuperuser420:
Magisk isn't working because you deleted product. Instead of deleting, flash the blank resizable product.img from https://xdaforums.com/t/tutorial-magisk-on-gsi-on-devices-with-dynamic-partition.4311045/
[Moto G Stylus 5G] jhjhjhjhjhjh:
Genius. Many thanks to pointing me to what works..

yes i flashed the product.img then system.img..

flashed smoothly... and booted with magisk

i have root access..

now without twrp how do i switch su to magisk alpha...??

new commands

fastboot reboot fastboot

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

fastboot flash product product.img

fastboot flash system system-squeak-arm64-ab-floss.img (NAMEOFROM)

fastboot -w

fastboot reboot

again many thanks...
[Moto G Stylus 5G] AZsuperuser420:
Ask electimon for his TWRP beta. The backup to sd part works, but to restore you have to copy the backup to internal. I'm currently working on fixing the stupid camera cutout and getting magisk on the unofficial lineage os gsi, and trying to get it all hidden enough to play PUBG New state. Game crashes with any root access or USB debugging.
[Moto G Stylus 5G] PoochyX:
@Electimon could you pm me your beta twrp I just got the stylus 5G and would like to install twrp also is it possible for me to grab it from the telegram support group ?
[Moto G Stylus 5G] Electimon:
Yeah you can grab it from my group too.
[Moto G Stylus 5G] PoochyX:
Can u post the telegram link to the group I'm searching in telegram I can't find the group
[Moto G Stylus 5G] Electimon:
Electimon's General Group

🤕

t.me
[Moto G Stylus 5G] jhjhjhjhjhjh:
Appreciate the job you've done on twrp.

Quick question, I'm trying to flash the Qualcomm volte fix zip for this pixel android gsi 12 ROM.

Error when trying to flash.

'architecture UNKNOWN...."

Any thoughts? Thanks again..
[Moto G Stylus 5G] jdfjunk:
can we please get the recovery img file here without having to sign up for telegram?
[Moto G Stylus 5G] :
All you've gotta do is go back one level from the rom link..

index - powered by h5ai v0.30.0 (https://larsjung.de/h5ai/)

index - powered by h5ai v0.30.0 (https://larsjung.de/h5ai/)

2pwn.tk
[Moto G Stylus 5G] Electimon:
Bootctrl isn't fixed yet and you don't need to join telegram you could just PM me.
[Moto G Stylus 5G] Electimon:
Fixed slot switching and micro sd
[Moto G Stylus 5G] 333parad0x:
Thank you, that takes a lot of the room for error and makes my success rate alot more certain. I already managed to completely wipe my device, even the RSd couldn't fix it, but thanks to a flashfile.bat and some carefully renamed files I've been able to run the .bat and fix any serious disasters since then.

I'm doing the one thing I swore off of, I'm developing on a primary device, but I call it motivation.

One question; the Osaka lineage kernel (update zip) is labeled in a way that is confusing (possibly only to me) and I was hoping to get any amount of clarity as to what img files relate to what partition or if it's a package deal scenario that prohibits individual partition flashing ( I might be confusing, only because I'm confused 😅)
[Moto G Stylus 5G] Electimon:
Instructions for LOS-Modded is in its thread.
[Moto G Stylus 5G] yapr:
hi

i see i have similar problem to another member. i have lineage installed via directions. no errors. lineage recovery works. kernel installed. magisk installed. but....

lineage will not boot

i have tried :

1. reinstalling lineage many times

2. fastboot -w then fastboot update xxxx

3. fastboot oem fb clear

4. fastboot --disable-verity --disable-verification flash vbmeta

5 reinstalling stock then back to lineage install.

6. even aosp does not load

7. i do occassionally see an error in twrp if i try adb sideload but am able to adb sideload in fastboot d.

any ideas how to allow for boot lineage or how to diagnose? maybe file or partition messed up?

i use linux or can use windows to troubleshoot.

i appreciate any help possible.
[Moto G Stylus 5G] Electimon:
This is TWRP thread why not post in lineage thread?
[Moto G Stylus 5G] yapr:
sorry was a mistake. apologies.
[Moto G Stylus 5G] HampTheToker:
Can I flash the latest release in fastboot or should I only boot it from fastboot and leave the stock recovery intact?
[Moto G Stylus 5G] Electimon:
You can flash all releases in fastboot
[Moto G Stylus 5G] HampTheToker:
I got this error flashing with fastboot.
[Moto G Stylus 5G] Electimon:
This device does not have a recovery partition, you must boot the image first and install from within twrp
[Moto G Stylus 5G] HampTheToker:
Well, that's new. To me anyway. Thanks.
[Moto G Stylus 5G] NonStickAtom785:
They started doing this when releasing the Android Treble Project. Splitting the boot image into a recovery/boot type makes it easier on anyone trying to port a boot.img or recovery.img because they don't actually have to flash the file to test it. They just have to boot it 😛
[Moto G Stylus 5G] chrisdsj:
Hello Electimon can i have a working download link for the latest version of twrp for the denver variant? Please and Thank you.
[Moto G Stylus 5G] paradise13:
can someone who has downloaded this please reupload it and provide a mirror or email it to me please i need it ASAP jamari13x@outlook.com
[Moto G Stylus 5G] assolimany:
no faile re uploade pleas
[Moto G Stylus 5G] Electimon:
fixed!
[Moto G Stylus 5G] BobbyBlunt:
I boot this, and tried to install inside twrp. Everything works fine when I fastboot boot it. After I install it my touchscreen doesn't work in twrp. I joined the telegram group and looked through there, and the only mention I saw didn't help. Is this a known issue? Does it not work with the stock rom or is it incompatible? I did see mention of a custom kernel being needed, but I will assume that doesn't work with a stock rom
[Moto G Stylus 5G] Electimon:
You need to install a custom kernel, theres one in this device's section.
[Moto G Stylus 5G] BobbyBlunt:
I will give it a try as soon as I get to my PC. Thanks for the reply

Edit: Worked great. I had tried it before but it didn't work, but that is because I failed to read the instructions about how to flash the kernel.
[Moto G Stylus 5G] Smil3yWulf:
So TWRP on my device works well, the only issue it's that how do I make TWRP recovery permanently, and not loosing my magisk roots because i don't want go the PC and do fastboot boot TWRP img every time.
[Moto G Stylus 5G] Electimon:
Under advanced there should be an option called Install Recovery Ramdisk.
[Moto G Stylus 5G] BLeAk11:
So is this working or ..
[Moto G Stylus 5G] Electimon:
Why don't you find out
[Moto G Stylus 5G] BLeAk11:
i guess because I'm unclear as to how exactly I'm supposed to flash it. I understand there's no recovery partition anymore, I understand you now have to boot the twrp.img with fastboot, however, even after 'installing to ramdisk' TWRP doesn't stick after a fastboot reboot recovery and system reboot... so is the installation of the custom kernel necessary for all of this to work? is that, the part I'm not getting? and thank you for your development on this device Electimon
[Moto G Stylus 5G] BLeAk11:
Can anyone help me get this tWRP installed? I find the instructions? to be confusing
[Moto G Stylus 5G] jongcruz:
Has anyone TWRP touchscreen not working? I also had to flash it from Temp TWRP because when trying to flash from terminal I got: (bootloader) Invalid partition name recovery_b or recovery a.......any help will be appreciated.
[Moto G Stylus 5G] dagey:
Hey guys, I recently rooted my stylus 5g and went to install TWRP. I was able to get it to boot to TWRP, but I believe within TWRP I did the flash wrong as now my device is hard bricked. I cannot get it to show the initial logo, get to the bootloader or I think even EDL. I've tried the Lenovo recovery tool and the Moto all-in-one tool, but essentially all I get now is a black screen.

Any input on what I can do to either diagnose and possibly recover my device? I have the original firmware downloaded, but without being able to get to the bootloader, recovery, or even EDL, I'm at a loss as to how to proceed. I did grab a blankflash for the device, but I'm not clear on how to begin to use that to move forward.

Thanks for any advice you can provide.

-Ryan
[Moto G Stylus 5G] Electimon:
Please connect your phone to your PC and see if the 9008 mode shows in device manager, you most likely switched slots without flashing copy partitions
[Moto G Stylus 5G] Electimon:
You need to use the Sekiyama custom kernel for stock
[Moto G Stylus 5G] dagey:
Hello:

Thank you for your response. I have it connected to the PC, but honestly I cannot tell if the phone is on as the screen remains constantly black. I did not see anything with a 9008 in the device manager but I can try to ensure the phone is powered on and do it again.

If this is what I've done, what would be the procedure to resolve this?

Thanks again and I will try again while trying to ensure the phone has time to "power on" and connect.
[Moto G Stylus 5G] Smil3yWulf:
I done it but automatically replacement my magisk rooted boot img
[Moto G Stylus 5G] jongcruz:
Do you have the link for the correct version of this kernel?
[Moto G Stylus 5G] jongcruz:
Do you have the link?
[Moto G Stylus 5G] Electimon:
Its in the device forum
[Moto G Stylus 5G] csr.werkz:
i think im gonna miss out on them, i tried to unlock the bootloader but for some reason motorola is not validating my code (oem get_unlock_data), made sure it was one string, i have the xt2131dl variant, oem unlock and usb debugging are switched on, using the most recent sdk's, ive installed twrp on previous phones like g fast, g pro, before, and had no issue... im stuck at the moment, any ideas? maybe because is the "ratfone" version?
[Moto G Stylus 5G] Electimon:
Yeah TracFone variants can't be unlocked
[Moto G Stylus 5G] BLeAk11:
So is no one willing to help?
[Moto G Stylus 5G] Smil3yWulf:
So i used custom kernel , and i still haven't able to make recovery permanently, and i want to port to orange fox recovery, can someone point out the right direction, thank you
[Moto G Stylus 5G] Camadams1179!:
Any progress for XT-2211-2 Moto G Stylus 2022 (Non 5g) or this this just not a device people would typically put time in? Thanks, Cam :)
[Moto G Stylus 5G] Electimon:
I don't have that device, I would if I did have it
[Moto G Stylus 5G] rein013:
cant make calls yeah ouch did you ever find a resolution for this issue? and noob here so if you already answered i'm still reading and i'm using the 2131-1 boost/att variant how about you? and yeah the download link for the 12? thanks...
[Moto G Stylus 5G] BLeAk11:
Think they gave up development of this one.
[Moto G Stylus 5G] Electimon:
TWRP 3.6.2 pushed
[Moto G Stylus 5G] DrMacabre68:
Hello, i'm trying to flash the img but i get this error "Image size exceeds partition limits"

On google it says i should get an older img so i'm kinda lost here.
[Moto G Stylus 5G] koyo:
Apparently people here are able to flash GSIs while having TWRP but I can't seem to. Whenever I flash the Sekiyama kernel, it results in my phone saying "There is no valid OS and so the phone will not boot" (A bit of memory here, not the exact phrase). I can boot into GSIs with TWRP not installed, but it all goes to hell when I install the kernel.

Using the LOS recovery takes away the touch capability so the kernel is clearly necessary to have a custom recovery.

I install the GSIs using fastboot, and that requires me to delete the product_a partition, so I wonder if this has something to do with it. Is it perhaps important to keep that partition? Should I install the GSI via TWRP instead of fastboot?
[Moto G Stylus 5G] Kalel88:
I got your TWRP installed on my XT2131-1 MetroPCS and flashed magisk via TWRP. It works great but my only problem is that the touchscreen doesn't work in the TWRP recovery.. I had to plug in a mouse/keyboard to use TWRP and install magisk. Can you help me out on figuring out how to get the recovery touchscreen to work please?
[Moto G Stylus 5G] d3f4lt99:
Much as stated earlier in the thread the custom kernel fixes it
[Moto G Stylus 5G] Kalel88:
My apologies, do I download boot.img or skym3.zip? And flash via TWRP correct? And is there a way to do the flash without TWRP or computer?
[Moto G Stylus 5G] d3f4lt99:
skym3.zip is for flashing via TWRP

boot.img is for flashing via fastboot

As for without TWRP or a computer, if your phone is rooted you could use an app like FlashFire to flash either option
[Moto G Stylus 5G] Kalel88:
Found out FlashFire probably isn't a good option for flashing since chainfire is no longer doing updates. I used EX Kernel Manger and it did the charm. Thank you very much!
[Moto G Stylus 5G] Child's Play:
Why does my phone keep restarting while making a backup of stock ROM? I boot TWRP without flashing it. Does it have to do with permissions or something?
[Moto G Stylus 5G] Kalel88:
I had to flash TWRP and install magisk to be able to do backup.
[Moto G Stylus 5G] Child's Play:
You had the same issue? I don't mind flashing TWRP but if I flash it, the touch screen won't work and I'll need to flash the custom kernel, which I don't want to
[Moto G Stylus 5G] d3f4lt99:
The kernel seems to be a requirement for the touchscreen once TWRP is actually installed, not sure why but the touchscreen isn't going to work without it, any reason you don't want to install the kernel?
[Moto G Stylus 5G] Child's Play:
I'm worried that the custom kernel may not be stable. Any issues with it?
[Moto G Stylus 5G] d3f4lt99:
None that ive really seen, task switch will occasionally lag for a second but thats really it, ive been using it for a good few weeks
[Moto G Stylus 5G] winocelot:
is it possible to flash it?
[Moto G Stylus 5G] Child's Play:
I can flash back to stock kernel after using custom kernel but I don't know what I need to do because I rooted my phone via Magisk patched boot.img. Do I have to flash stock boot.img first then flash the patched boot.img or do I flash the patched boot.img?
[Moto G Stylus 5G] d3f4lt99:
Id say run the custom kernel boot image through Magisk then flash it
[Moto G Stylus 5G] Child's Play:
Yes, you can flash it. You need to flash the custom kernel first then flash TWRP. If you don't flash the custom kernel, TWRP touch screen won't work. OP should've stated that

Here's a link for the custom kernel https://xdaforums.com/t/kernel-1-6-2022-sekiyama-1-3-for-moto-g-stylus-5g-osaka.4382375/
[Moto G Stylus 5G] Child's Play:
There are two ways to flash the custom kernel. Flash skym3.zip through TWRP or flash boot.img through fastboot. Which one did you mean that? If I flash stock kernel, will I lose root?
[Moto G Stylus 5G] d3f4lt99:
If you flash the custom kernel boot.img or the stock boot.img it will remove root, the zip flashed through twrp should preserve both root and twrp if I remember correct. I had said that because you had specifically asked about the boot.img, I apologize for any confusion
[Moto G Stylus 5G] Child's Play:
Ahh! Too late. I just lost root and that's ok. I'm not worried. I'll reflash Magisk but is it safe to flash Magisk.zip instead of the patched boot.img? What I did was flash the custom kernel via fastboot then I flashed TWRP 3.6.2_11-0 by selecting "flash current TWRP" in TWRP. While I'm making a backup, my phone still restarts. Flashing TWRP didn't solve the issue. Is it because I didn't reflash Magisk yet or is it something else?

@Electimon

Could you tell me why I'm having the issue?

Update: Now I know why I'm having the issue. It's a data partition that causes the issue. I made a backup of other partitions except data and it went well. I'm gonna uninstall certain apps then make a backup of data again. I'm back. I uninstalled certain apps and the issue still persisted. I gave up, so I rescued my phone. I rooted it again by flashing Magisk 25.1.zip via TWRP and it went well. Thank you for trying to help me.
[Moto G Stylus 5G] BLeAk11:
so that custom kernel is ok to use on A12 right?
[Moto G Stylus 5G] Kalel88:
This is a forum for Moto g stylus 5g model XT2131-1, any other device is experimental. You can try it l, I feel like it would work. Just back up your stock rom first, uninstall magisk, and then flash.
[Moto G Stylus 5G] jay16509:
any way you can send me custom twrp recovery for denver
[Moto G Stylus 5G] Kalel88:
Any ideas on how to flash twrp after booting twrp.img? Would you flash the twrp.img file in twrp or is there a twrp.zip file to use? Also do I have to install to ramdisk?
[Moto G Stylus 5G] Kalel88:
Osaka is Denver. Denver is Osaka.
[Moto G Stylus 5G] jay16509:
OK, now to figure out how to flash the recovery image. It's been since the LG G3 that I last did any rom/recovery flashing. I've got my Moto G Stylus 5g rooted with Magisk, but no recovery image. Are there any good guides on here for flashing the TWRP recovery.
[Moto G Stylus 5G] Electimon:
You use install to ramdisk option
[Moto G Stylus 5G] oOde3zNu7zOo:
I just got this device and rooted via magisk. Fortunately, today I realized I was previously in the wrong Moto G Stylus forum. Mine is an XT2131 so I'm pretty sure I'm in the right place now. Is this the correct twrp for me? I believe so, but just wanted to double check. Also, am I correct in my understanding that I'm only to flash it to slot A? Some advice would really be great. Thanks.
[Moto G Stylus 5G] Kalel88:
So is there a reason why my ram use is so high after installing twrp/kernel/magisk? It's at like 80%+ and apps close when I open another app. If I'm casting to my tv and I want to open the other app, the ram shoots up and the casting app closes. How should I fix the high ram issue
[Moto G Stylus 5G] Electimon:
I don't think that has todo with TWRP
[Moto G Stylus 5G] BLeAk11:
Too messy. I'm just going to wait for the official twrp