openandroidinstaller-dev / openandroidinstaller

Makes installing alternative Android distributions nice and easy.
https://openandroidinstaller.org
GNU General Public License v3.0
412 stars 32 forks source link

Add support for `bathena` #535

Open vincentmoroz opened 1 month ago

vincentmoroz commented 1 month ago

Is your device already requested?

Brand

Motorola

Name

Defy 2021

Device code

Bathena

Model

XT2083-8

Device images

https://wiki.lineageos.org/devices/guamp/variant2/

Do you own the device and would be willing to test the installer?

Additional context

This device is in the same model group (XT2083) as the Moto G9/G9 Play and Lenovo K12 Note. Have attempted to use the LineageOS GUAMP build but this has failed at the adb sideload stage.
vincentmoroz commented 1 month ago

I corrected the issue of sideloading, GUAMP image side loads but does not boot. Endless boot loop results.

tsterbak commented 1 month ago

Hard to tell how to fix that. I'm not an expert in building lineage os...

anon1892 commented 1 month ago

If the device codename is not exactly the same as the codenames supported by the custom ROM & recovery you want to install, you may brick your phone (i.e. it will become as useful as a brick)

Your phone doesn't seem to have custom ROM : https://xdaforums.com/f/motorola-defy-2021.12369/ You can try installing a GSI, but you may encounter bugs, as GSI are not developed especially for your device. Also, OpenAndroidInstaller does not handle GSI installs.

vincentmoroz commented 2 weeks ago

Agreed, no custom ROMs for Motorola Defy 2021 BATHENA. The closest ROM is for GUAMP (Moto G9 Play) which is also an XT2083, but not the same model as BATHENA. LineageOS ROM for Moto G9 covers XT2083 models 1,3, 4 and 6, Defy is 8. Internal components for both are the same except for a slightly different screen resolution which is perhaps why GUAMP ROM won't boot on BATHENA. I was hoping someone who understands how to build a ROM might take an interest in getting a ROM working for the Defy 2021 given the work done so far with the G9. I have the vendor blobs extracted and can test the build to help but lack the programming ability to DIY. The Defy 2021 is a bit of a niche phone being a rugged model, so other people's interest may be a stretch.

I have used GSI images successfully, with Andy Yan's LineageOS lite one of the better working images. Works as a daily driver. Some of the GSI's have the Moto features as an option which is nifty, however, a real Lineage build with regular updates would be amazing.