Development [A-Team Releases][UNOFFICIAL] Recoveries & Roms [Moto G Stylus 5G 2022 - XT2215-4 / milanf]

Status
Not open for further replies.
Search This thread

maddog3030

Senior Member
May 5, 2014
181
63
Nexus 7
Nexus 6
Clarify a few things for me please
How big is the SD card
And are you trying to multi-partition it using FAT32?
And is it already formatted in ext4?

Hey guys, thanks for all your hard work.

I'm using the stock rom currently with your TWRP as I'm getting a feel for all this, just recently got my device.

One of the next steps for me is to partition my SD card according to my intended use. I've tried to work with gparted, parted CLI, the TWRP SD partition tool, but no matter what I do I can't get any partition beyond the 1st fat32 partition to mount.

I keep getting the following error:


Any thoughts on where I'm going wrong or what I'm failing to realize here? On previous devices I've had this was fairly straightforward where I could create the partitions and mount with out any trouble.

Thanks again,

Ryan
 

dagey

Member
Aug 16, 2017
28
3
IN
Moto G 5G Plus
Moto G 5G
Thanks for you response. It's a 512gb SD card. I've been trying to setup as follows:
~100gb fat32
~100gb f2fs
~200gb f2fs
~100gb ext4
I've used this same setup before, but I've also just tried with 2 partitions, fat32 & ext4 or f2fs. No matter what I do I can't mount anything beyond the first partition.

Thanks,

Ryan

Clarify a few things for me please
How big is the SD card
And are you trying to multi-partition it using FAT32?
And is it already formatted in ext4?
 

maddog3030

Senior Member
May 5, 2014
181
63
Nexus 7
Nexus 6
Thanks for you response. It's a 512gb SD card. I've been trying to setup as follows:
~100gb fat32
~100gb f2fs
~200gb f2fs
~100gb ext4
I've used this same setup before, but I've also just tried with 2 partitions, fat32 & ext4 or f2fs. No matter what I do I can't mount anything beyond the first partition.

Thanks,

Ryan
ok
some things to try (if you have not tried them already)
format the card with the phones os first the use 3rd party apps to change partition sizes w/o modifying the original partitions for other than size.
check that your current kernel supports the other partition format you are using.
quick guess is that the primary partition (what ever is formatted in) is not recognized by the OS.
All been said format the entire SD Card with the phones OS, if it works then look some of the other option above.

as much as i use and like gpart it dose allow you to some UN-orthodocs things to storage
 

dagey

Member
Aug 16, 2017
28
3
IN
Moto G 5G Plus
Moto G 5G
ok
some things to try (if you have not tried them already)
format the card with the phones os first the use 3rd party apps to change partition sizes w/o modifying the original partitions for other than size.
check that your current kernel supports the other partition format you are using.
quick guess is that the primary partition (what ever is formatted in) is not recognized by the OS.
All been said format the entire SD Card with the phones OS, if it works then look some of the other option above.

as much as i use and like gpart it dose allow you to some UN-orthodocs things to storage

Thanks again for all your help (including the other ppl in this A-Team).

My 1st partition is fat32, when I formatted using the OS it changed to exfat so I tried setting up a second partition keeping the exfat partition as the 1st partition. Same result however whether I use ext3/ext4/f2fs for the 2nd partition.

I think the issue may be in that the first partition is mounted using fuse in the system, and I'm not sure how I can use fuse to mount a secondary partition? Sorry if that makes no sense, I'm very green in all of this still compared to you gurus.

I am going to go back and try to recreate the partitions in gparted or a similar windows tool as I also noticed when using fdisk to display the partitions with only 1 exfat partition versus when I add a second partition that the 1st partition doesn't start on the same sector (again this may make no difference, just something I noticed).

Your idea is starting from a partition table as per the device OS setup is a sound suggestion in my mind and something I may not have been doing, so I'm going to work through a few other troubleshooting steps with that in mind.

I recall from a prior Moto device that we needed to use TWRP to setup the SD card for this kind of advanced partitioning to work; while I've tried that with the A-Team TWRP and didn't get anywhere, I'm thinking I could try with the Orange recovery and see if that gets me anywhere.

If you have any other suggestions, I would be extremely grateful.

Thanks,

Ryan
 
  • Like
Reactions: maddog3030

sketchscarz

Senior Member
Hey guys, I looked around after Play Store revealed to me that the Android 13 custom OS wasnt compatible with any of the moto apps. Just couldn't find any reliable resources. Is there an alternate store or area where I can reload the moto app and the moto note app just for reasons for the stylus automation. Is there another A-Team Custom ROM with more or less of the moto apps?

Hey great fricking job on this project. Thanks in advance!! Happy Holidays
 

maddog3030

Senior Member
May 5, 2014
181
63
Nexus 7
Nexus 6
Hey guys, I looked around after Play Store revealed to me that the Android 13 custom OS wasnt compatible with any of the moto apps. Just couldn't find any reliable resources. Is there an alternate store or area where I can reload the moto app and the moto note app just for reasons for the stylus automation. Is there another A-Team Custom ROM with more or less of the moto apps?

Hey great fricking job on this project. Thanks in advance!! Happy Holidays
 

fddm

Senior Member
Feb 24, 2011
286
184
Any news for the unlocked Mediatek variants?
I haven't seen any threads for milan, but it's really just a matter of rebuilding your super.img with system replaced with a GSI image. Only need to pick some means of booting Linux (through a live usb/WSL/VM) and follow the guides on the forum. Worst case, I could do it for you, if you share a link to the stock firmware your currently running and the GSI distro/variant you would like to run.
 
D

Deleted member 11575455

Guest
opps, messup, lol. Botched response and edit, disregard...
 
Last edited by a moderator:
D

Deleted member 11575455

Guest
Any news for the unlocked Mediatek variants?

yessir, I made stuff for that device as well months ago, also available on my telegram releases channel

Can you create a GSI setup for Evolution X & crDroid?

I would love to but I could not get those booting, if that changes at any point, let me know and I will do releases based off those roms
I haven't seen any threads for milan, but it's really just a matter of rebuilding your super.img with system replaced with a GSI image. Only need to pick some means of booting Linux (through a live usb/WSL/VM) and follow the guides on the forum. Worst case, I could do it for you, if you share a link to the stock firmware your currently running and the GSI distro/variant you would like to run.

I made an identical to this release thread on here for Milan as well. Both devices also have super rebuilding packages on my telegram release channel that you can use to esaily and quickly build your own super images with any gsi you want to test. or if you are already running an A-Team gsi release on your device, you should be able to easily reboot to fastbootd and flash any gsi image you'd like, directly to system partition, without the need for a full super rebuild.

here is my Telegram Release Download Channel with only my files and releases
 
Last edited by a moderator:

arkansawdave74

Senior Member
Nov 1, 2014
277
57
48
San Antonio, TX
I built ArrowOS GSI from source with working MotoActions if anyone cares to test it out let me know. I really wanted to see if i could get the chop chop flashlight working on GSI and that appeared to be the only way and it worked
No Chop Chop is the very thing I dislike about GSI ROMs. I don't know if it's been tested or not but I'm sure going to try it. It will be my first on my new device. Thank you. That was a great idea.
 

arkansawdave74

Senior Member
Nov 1, 2014
277
57
48
San Antonio, TX
Android 12-13 Custom GSI Rom Prep Pack Download Section
Custom GSI Prep Pack


Android 12-13 Custom GSI Prep Pack Installation
*Only Needed If Coming From Stock Rom*
- Extract GSI_Prep_XT2215-4.zip
- Use The .sh File For Linux
or
- Use The .bat File For Windows
- 🥸Done!!👍😁

Excuse me @PizzaG, but when I follow the link to get the GSI Prep Pack, then unzip it, there are only 2 files and neither of them is a .sh nor a .bat.

The file is named

ANDROID-12-UNZIP-ME-FIRST.zip

and it only contains

a12v2-twrp-boot.img Magisk-v25.2.zip

Since your instructions say to run a script, I figured I should let you know.
 

jhjhjhjhjhjh

Senior Member
Mar 14, 2017
418
201
No Chop Chop is the very thing I dislike about GSI ROMs. I don't know if it's been tested or not but I'm sure going to try it. It will be my first on my new device. Thank you. That was a great idea.
I used to feel the same way about no moto apps or gestures on GSI roms.

But i have found three apps that make up for the gestures and moto type feelings i like.

1. CHOP Gesture for flashlight!!
(app call GRAVITY GESTURES)
see attachment below
Simply install and for best results install as a system app and set battery optimization to UNRESTRICTED..
Open settings menu in app and set to auto start on boot and screen off toggle clicked on
Then hit the plus symbol and select (toggle flashlight) Done..

For Moto Note i use the modded version
(see attachment below)

Lastly for off screen pen writing
i Use an app called AOA Always on Display
Once you set up the app to your liking theres an option under (Home Screen Shortcuts) theres an option to enable (Show Sketch Pad) very customizable
App on the playstore...

One day i hope we can get all moto gestures on gsi and custom roms..
Screenshot_20230129-094631.png
Screenshot_20230129-094702.png
Screenshot_20230129-095417.png
Screenshot_20230129-095944.png
Screenshot_20230129-095955.png
Screenshot_20230129-095904.png
 

Attachments

  • Gravity Gestures_1.5_apk-dl.com.apk
    3.9 MB · Views: 3
  • MotoStylus.apk
    7.5 MB · Views: 5
  • Like
Reactions: arkansawdave74
D

Deleted member 11575455

Guest
Friday night we just got our first native source built custom rom booting on this device, head on over to my Telegram group if anyone wants to try a very early test build. I'll release here when it's more user friendly and in a release state.
 
  • Like
Reactions: arkansawdave74
D

Deleted member 11575455

Guest
Excuse me @PizzaG, but when I follow the link to get the GSI Prep Pack, then unzip it, there are only 2 files and neither of them is a .sh nor a .bat.

The file is named

ANDROID-12-UNZIP-ME-FIRST.zip

and it only contains

a12v2-twrp-boot.img Magisk-v25.2.zip

Since your instructions say to run a script, I figured I should let you know.
hmm, I just double checked the same link from here and it works fine. I have never released any such zip named that and those files you list are not from me nor any file I have ever named like that. Screen shot I'm including is from the link provided here. I downloaded the file, extracted and everything is fine on my end, file should be 359mb.
 

Attachments

  • Screenshot from 2023-01-29 12-19-55.png
    Screenshot from 2023-01-29 12-19-55.png
    58 KB · Views: 20
  • Like
Reactions: arkansawdave74

dagey

Member
Aug 16, 2017
28
3
IN
Moto G 5G Plus
Moto G 5G
@PizzaG

I decided to give your ArrowOS a try. I get my downloads from your telegram BTW. I was coming from stock so I started with the GSI prep script, then followed this up with the ArrowOS script. Forgive me if I've made a blunder, but the device is in a bootloop now and worse is that I can't get TWRP to work. Everytime I load recovery (which worked fine previously), TWRP boots but I can't get it to do anything like a crashed script or something. I tried the PWR BTN trick, but the Swipe to Unlock likewise does not respond to touch. I've re-downloaded TWRP from this very thread, boot into fastboot and did a fastboot boot TWRP.img, and I get the same behavior. At this point all I can get working is fastboot and a non-responsive TWRP. I understand the next step would be to flash the blankflash, but without access to TWRP, I'm not sure how to proceed.

Any advice would be greatly appreciated

Thanks,

Ryan
 

dagey

Member
Aug 16, 2017
28
3
IN
Moto G 5G Plus
Moto G 5G
@PizzaG

I decided to give your ArrowOS a try. I get my downloads from your telegram BTW. I was coming from stock so I started with the GSI prep script, then followed this up with the ArrowOS script. Forgive me if I've made a blunder, but the device is in a bootloop now and worse is that I can't get TWRP to work. Everytime I load recovery (which worked fine previously), TWRP boots but I can't get it to do anything like a crashed script or something. I tried the PWR BTN trick, but the Swipe to Unlock likewise does not respond to touch. I've re-downloaded TWRP from this very thread, boot into fastboot and did a fastboot boot TWRP.img, and I get the same behavior. At this point all I can get working is fastboot and a non-responsive TWRP. I understand the next step would be to flash the blankflash, but without access to TWRP, I'm not sure how to proceed.

Any advice would be greatly appreciated

Thanks,

Ryan
I was attempting a restore to previous state, and when I re-flashed the stock boot image, everything started working with no issues. Not 100% what the issue is (my green mind believes it's related to the GSI scripts defaulting to slot A, while my boot seems to install into slot B, but I could be way off). Regardless, I'm now in ArrowOS and even TWRP is functional again.

Thanks,

Ryan
 
  • Like
Reactions: arkansawdave74

arkansawdave74

Senior Member
Nov 1, 2014
277
57
48
San Antonio, TX
hmm, I just double checked the same link from here and it works fine. I have never released any such zip named that and those files you list are not from me nor any file I have ever named like that. Screen shot I'm including is from the link provided here. I downloaded the file, extracted and everything is fine on my end, file should be 359mb.
Wow. I wish I could blame it on the vodka, but I stopped drinking years ago. Truth is, I screwed up whem I bought my last device and I've been stuck with a Moto G Power 2022 from Tracfone for many months. So, it's been a long time since I downloaded anything cool from Telegram since. Tracfones have perma-locked bootloaders. I forgot the Telegram downloads have to be rescued from the Android directory. Sorry about that @PizzaG .

I1. CHOP Gesture for flashlight!!
(app call GRAVITY GESTURES)
see attachment below
Thank you very much for that @jhjhjhjhjhjh . I'd found an app to do it, but it's a real batttery dreainer, so I will happily give yours a try. I had to hunt through my old posts to figure out what it was called. It was this one.

 

dagey

Member
Aug 16, 2017
28
3
IN
Moto G 5G Plus
Moto G 5G
In case anyone is interested, I successfully got the encryption disabled successfully on Stock using @PizzaG stock images using the Neo disabler located here


I'm going to play around with the supplementary system RW concept as well
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    If you are looking for a great case for $5 shipped (USA), Verizon is selling this: https://www.verizon.com/products/incipio-duo-case-for-moto-g-stylus-5g/


    I have one. The blue is darker than the pictures. It's a very high quality basic case. It makes the phone a little bulky, but that's mostly because it's a bulky phone already.

    They also have a clear case for $5, but I don't know anything about that one: https://www.verizon.com/products/verizon-slim-sustainable-case-for-moto-g-stylus-5g/

    You don't have to be a Verizon subscriber. If they start asking you for credit check info, check out as a guest instead.
  • 4
    D
    Deleted member 11575455
    1619298945338.png

    Proudly Presents
    Another Exclusive Release


    Supported Model
    *Snapdragon Only*
    Moto G Stylus 5G 2022
    XT2215-4
    Milanf


    Recoveries
    OrangeFox Recovery- 11_0
    TWRP Recovery- 12_1
    SkyHawk Recovery- 11_0


    Custom Roms
    Custom Stock: StylinStylusRom- WIP


    Custom GSI Roms
    AncientOS
    ArrowOS
    CherishOS
    Descendant
    DotOS
    KaleidoscopeOS
    KomodoOS
    MikuUi
    NitrogenOS
    OctaviOS
    ProjectBlaze
    ProtonOS


    Contributors
    @PizzaG
    @Electimon for general help
    @AndyYan for his Moto IMS Solution for GSI
    @rogjr1986 for touchscreen loader script & usb ideas
    Everyone involved in GSI and GSI Builders


    Recovery Device Trees
    Recovery Device Source


    Rom Device Trees
    Rom Device Source - WIP
    Rom Kernel Source


    A-Team Website
    A-Team Supported Devices


    TeleGram Live Support
    A-Team Digital Solutions
    3
    D
    Deleted member 11575455
    Android 12-13 Custom GSI Rom Prep Pack Download Section
    Custom GSI Prep Pack


    Android 12-13 Custom GSI Prep Pack Installation
    *Only Needed If Coming From Stock Rom*
    - Extract GSI_Prep_XT2215-4.zip
    - Use The .sh File For Linux
    or
    - Use The .bat File For Windows
    - 🥸Done!!👍😁




    Android 12 Custom GSI Rom Download Section
    AncientOS
    ArrowOS
    CherishOS
    Descendant
    DotOS
    KaleidoscopeOS
    KomodoOS
    NitrogenOS
    OctaviOS
    ProjectBlaze
    ProtonOS
    SuperiorOS




    Android 13 Custom GSI Rom Download Section
    CherishOS
    MikuUi
    SuperiorOS


    Android 12 - 13 Custom GSI Rom Installation Part 1
    *Part 1 Only Needed If Coming From Stock Rom*
    - Download & Extract GSI_Prep_XT2215-4 .7z File
    - Use The .sh File For Linux
    or
    - Use The .bat File For Windows


    Android 12 - 13 Custom GSI Rom Installation Part 2
    - Extract The Rom
    - Use The .sh File For Linux
    or
    - Use The .bat File For Windows
    - 🥸Done!!👍😁




    Recovery Realease Section
    *Not A Flashable Zip*


    Recovery Installation
    - Put Magisk zip, Downloaded Recovery Image & Stock Boot Image On External SD
    - fastboot boot the recovery image
    - Install Stock Boot Image
    - Select Advanced Tab & Select Install Recovery Ramdisk
    - Select the recovery image
    - Flash Magisk
    - 🥸Done!!👍😁
    3
    the only thing that i can tell is different from the roms that work and the ones that dont is in apn settings for the one that works it says verzion for that apn. The ones that wont work show spectrum as the apn. little odd that it seems to be the opposite. not sure why it works on verzion but not on spectrum. im also not sure how to change the apn to verzion from spectrum on the roms that dont work
    Just add the apn and select it as "active"
    well ill be damned. worked like a charm! for anybody coming along with spectrum just add the verizon apn and set it as active like he said. the actual spectrum apn is broken for some reason. thank you sooooo much for all this work :)
    3
    D
    Deleted member 11575455
    Any news on this device? I'm dying to use a custom ROM.
    you're in luck. just got service working on GSI roms, also just bought a good dev the device and he will get custom roms trees going. head on over to my telegram group if you want to give AncientOS GSI a go, all setup for our device.
    2
    D
    Deleted member 11575455
    Updates
    9-9-2022: Thread Setup, TWRP Recovery Release
    9-11-2022: SkyHawk Recovery Release, OrangeFox Recovery Release, TWRP Tree Posted, Kernel Tree Posted
    9-22-2022: TWRP Release Image Updated: fixed fastboot & ADB in fastbootd, mount and enable RW dynamic partitions on boot, code cleanup, seperate usb stuff into its own rc file, enable initial decryption support(untested)
    9-22-2022_2: TWRP Release Image Updated: disable decryption, it's broken and now encrypted devices should be able to boot twrp, added selinux permissive boot patch
    9-22-2022_3: OrangeFox Release Image Updated: fixed fastboot & ADB in fastbootd, mount and enable RW dynamic partitions on boot, code cleanup, seperate usb stuff into its own rc file, added selinux permissive boot patch
    10-29-2022: Custom GSI Roms Released
    11-2-2022_1: Android 13 Custom GSI Rom Released, Updating Thread with new procedures & Releases, ToDo: Fix settings bug in Prior Android 12 Custom GSI Releases as well as rebase their installer to be multi-install-option zip like the Android 13 Custom GSI release is now using.
    11-2-2022_2: TWRP Updated to twrp source 3.7.0, release version 0.07, added twrp ability to flash or dump images of system, product, system_ext or vendor
    11-2-2022_3: TWRP release version 0.08, updated pre-built kernel to 32.56.81-4, added ability to flash & dump product, system, system_ext, vendor in twrp, removed useless stuff from device tree, fixed manipulation of data formatting in twrp(oops, my bad)
    11-2-2022_4: Custom GSI Prep Pack v0.02 Released, used to go from stock encrypted Rom to Custom GSI Rom ready, it includes custom vendor with encryption disabled, dummy product and dummy system_ext since they aren't needed in gsi and free up more space. you then are free to flash a gsi rom after using the GSI Prep Pack
    11-4-2022: Realized MikuUi was Android 13 not 12 and adjusted thread to reflect, A12 SuperiorOS Custom GSI Released, Revised GSI Rom Installation Procedure
    11-5-2022: SuperiorOS Android 12 Released
    1-28-2023: First Source Built Native Custom Rom Booting!! Stay Tuned......