[ROM][UNOFFICIAL] LineageOS 20 (Android 13) for the Motorola g200 5G / Edge S30 (xpeng)

Search This thread

ThE_MarD

Recognized Developer
Dec 10, 2014
3,578
4,225
Grande Prairie
LeEco Le Max 2
Moto X4
2okPze5.png



LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.



All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.



Code:
#include

/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/


SUPPORTED DEVICES

- xpeng (XT2175-1)


HOW TO INSTALL OR UPGRADE LINEAGEOS WITH LINEAGE RECOVERY

- Make sure your phone is running firmware from at least 12-S1RXS32.50-13-15. If not? Please download and flash it first before installing this ROM.



Please note! If you manually update LineageOS you MUST reboot to recovery and reflash GApps too before rebooting to system.

KNOWN BUGS/ISSUES
  • Users note performance isn't as high as it should be. Probably perf or thermal engine config related (will check into eventually)
  • Widevine L1 lost upon bootloader unlock (reverting to stock ROM and relocking bootloader does restore it)

MAIN DOWNLOADS

Lineage:

- Unofficial:

- Unofficial test builds:



GOOGLE APPS (GAPPS) DOWNLOADS

- MindTheGapps:
http://downloads.codefi.re/jdcteam/javelinanddart/gapps



DEVELOPER RESOURCES






HOW TO CONTRIBUTE

Send your patches up for review: https://review.lineageos.org/

Read the guides on the LineageOS Wiki: https://wiki.lineageos.org/

Source Code: https://github.com/LineageOS


Telegram Group



DONATIONS

 
Last edited:

ThE_MarD

Recognized Developer
Dec 10, 2014
3,578
4,225
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo! So I am Marc "ThE_MarD" Bourgoin and I don't actually own an xpeng... I was blindly building it and having users who owned the devices do all the testing. I cannot go official on LineageOS because of a charter rule that requires maintainers to own the device. So if you like my work and want to see an official build of LineageOS? Please donate to the crowdfunding campaign. I cannot link it here on XDA as they have rules against it, so you'll have to find it yourself on the Motorola S30 / g200 Telegram group.

Special Thanks

(From the Telegram group) Tomiiook for constantly testing all my builds and also passlines Isma2490 for helping test too. Broly for helping me diagnose issues. Emerson Honorato for finding the media codec fix for camera/videos.

Also special thanks to Electimon for sharing his tundra (Motorola Edge 30 Fusion) trees with me as he had some great fixes that I needed to get xpeng working!
 
Last edited:
  • Like
Reactions: Dieexe

ThE_MarD

Recognized Developer
Dec 10, 2014
3,578
4,225
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo @nessasary , thanks for letting me know, I'll look into this and find out what's going on.

Yeah I saw that xpeng should be mostly straightforward to support on the sm7325-common tree, so I decided to work on it even though I don't own it (y)

UPDATE: Ok please check the wiki again as the link is updated.

That version will be fine to continue using until we do any kernel rebase so it probably won't get updated unless we do something with the kernel
 
Last edited:

Larouge

New member
Jun 7, 2023
1
1
Hey, just installed it yesterday con my moto g200.
Everything going smooth so far, still don't know why Motorola wouldn't give us Android 13 but this is the stuff
 
  • Like
Reactions: ThE_MarD
Apr 19, 2015
48
2
Kathmandu
Heyyo @dequadim , I do intend to keep supporting xpeng at least unofficially for now as I can't go official without owning it. (y)
i tried it on my moto s30 . the rom installs smoothly . but when i try to install gapps , it gives me low storage error saying the system does not have enough storage . i installed the rom , clicked on advanced and reboot to recovery and apply update from adb . I tried MINDTHEGAPPS from this post and several other gapps on xda . EVEN NANO and PICO gapps . please help ;(
 

Jeanmassa01

New member
Jun 8, 2023
3
0
the ROM is working fine, looking forward to future updates, needs to improve performance and fix some bugs, congratulations.
 

ThE_MarD

Recognized Developer
Dec 10, 2014
3,578
4,225
Grande Prairie
LeEco Le Max 2
Moto X4
@techfreak.rawmess please ensure you are following the installation instructions which includes factory reset in Lineage Recovery and also that you follow the instructions on how to install the ROM and then install GApps as you must reboot to recovery and not to system. If you boot to system before flashing GApps it will cause issues

@Jeanmassa01 thanks man, can you please specify which bugs you are encountering?
 
  • Like
Reactions: Jeanmassa01
Apr 19, 2015
48
2
Kathmandu
@techfreak.rawmess please ensure you are following the installation instructions which includes factory reset in Lineage Recovery and also that you follow the instructions on how to install the ROM and then install GApps as you must reboot to recovery and not to system. If you boot to system before flashing GApps it will cause issues

@Jeanmassa01 thanks man, can you please specify which bugs you are encountering
This is my first time flashing a custom in a long time so I followed all the instructions carefully because I don't want to brick my device. Double checked everything . Installed both img images , partition and the rom . Advanced - reboot to recovery - sideload gapps through adb . I am using the gapps mentioned in this post . Is there something missing in the instructions ? The mindthegapps won't install after numerous attempts too so I tried NiKGapps minimal version . It doesn't abort during installation like mindthegapps but it skips gms core and play services installation saying there's not enough space so I ended up with a lineage os 13 with no play store . Tried installing play store and play services apk but it won't work . I really want to try this rom and everything else is smooth . Don't want to go back to stock rom .is there something I am doing wrong ? :(

{Mod edit: Quotation fixed. Oswald Boelcke, Senior Moderator}


Here's a screenshot btw

Thank you for this rom btw bcs this was the only custom rom I found for moto s30 . I forgot to mention i didn't boot to system after installing lineage os . I boot to recovery again like the instructions say and try sideloading gapps and the error won't fix .
 

Attachments

  • received_1214526295773752.jpeg
    received_1214526295773752.jpeg
    120 KB · Views: 107
Last edited by a moderator:
Apr 19, 2015
48
2
Kathmandu
@techfreak.rawmess Just to check, did you also perform the copy-partitions?

and when installing LineageOS from recovery did you factory reset?

There is also Pixel Experience and an experimental build of CrDroid, by broly and he posted them on Telegram groups for this device but not sure if he bothered with XDA though
Yes I performed copy-partitions and also factory reset when installing lineage so . I think I have done everything according to the instructions . The problem still persists . I have no experience using telegram but I will try looking for pixel experience rom .

sorry again and again but is the pixel experience rom on telegram or only the experimental build of crdroid . thank you

I searched on telegram but it says there’s no such group or contacts :(
 

1264582520

Member
Dec 27, 2017
13
1
I have successfully flashed it into my device, but I found there is a noticeable lag when pulling down the quick settings in the status bar. Although I switched to PixelExp, the lag is still there to some extent. I tried to compile Crdroid using the device tree you provided, but the same problem still persists. Can you provide any help?
 

ThE_MarD

Recognized Developer
Dec 10, 2014
3,578
4,225
Grande Prairie
LeEco Le Max 2
Moto X4
@techfreak.rawmess another user on Telegram just sent me logs of the same issue and there's errors with the system partition, so I think the stock ROM did something odd and Lineage Recovery might be unable to mount partitions it wants

Please try running through the Motorola Rescue and Smart Assistant and then try again



@1264582520 hmm, that might be something in the perf configs, I'll take a look if maybe xpeng has something different but afaik they should be similar to dubai and on dubai we don't have that lag

I just checked and they're the same on dubai for xpeng for lahaina targets so those configs are fine on xpeng, so it could be something else... anything in logcat about it?
 

1264582520

Member
Dec 27, 2017
13
1
@techfreak.rawmess another user on Telegram just sent me logs of the same issue and there's errors with the system partition, so I think the stock ROM did something odd and Lineage Recovery might be unable to mount partitions it wants

Please try running through the Motorola Rescue and Smart Assistant and then try again



@1264582520 hmm, that might be something in the perf configs, I'll take a look if maybe xpeng has something different but afaik they should be similar to dubai and on dubai we don't have that lag

I just checked and they're the same on dubai for xpeng for lahaina targets so those configs are fine on xpeng, so it could be something else... anything in logcat about it?
Thanks, looking forward to hearing from you soon

I currently use the official system as my regular phone and am unable to install a new ROM on it. I will try to obtain a logcat either from a Chinese cellphone community or extract it myself when I have time. I will reply promptly here with any updates. Thank you!
 
Last edited:
  • Like
Reactions: ThE_MarD
Apr 19, 2015
48
2
Kathmandu
@techfreak.rawmess another user on Telegram just sent me logs of the same issue and there's errors with the system partition, so I think the stock ROM did something odd and Lineage Recovery might be unable to mount partitions it wants

Please try running through the Motorola Rescue and Smart Assistant and then try again



@1264582520 hmm, that might be something in the perf configs, I'll take a look if maybe xpeng has something different but afaik they should be similar to dubai and on dubai we don't have that lag

I just checked and they're the same on dubai for xpeng for lahaina targets so those configs are fine on xpeng, so it could be something else... anything in logcat about it?
i tried using motorola rescue and also installing the latest stock rom and re installing lineage os . it didnt help . also , i couldnt activate mobile data on my phone ( not sure it will help but i'm living in japan using Rakuten mobile ) . tried changing apn setting and the network types but nothing helped . tried looking for the pixel experience rom for s30 ( hoping it had gapps included by default ? ) . Also tried looking for you on telegram ( it says no such user as @motorolaedges30) so i reverted back to stock rom :(
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    A new LineageOS test build is up! lineage-20.0-20230902-UNOFFICIAL-xpeng contains more kernel updates for the touchscreen driver. Please test the touchscreen and DT2W

    1
    Hey , thanks for continuing the work on this device, even when there are not many reactions to your test builds anymore.

    Have one question about your builds though: I have seen the android_device_motorola_xpeng repo in LineageOS github. Also, while Lineage project does not consider xpeng an officially supported device, I understand that the build process is the same for any device.

    I even came across https://wiki.oddsolutions.us/ where they have basically autogenerated build instructions for several Lineage unsupported devices, including xpeng.

    Question is: do you have to apply any trick to your build process to get these test builds out, or simply following the standard build instructions should work?

    Thanks in advance, regards JP
    Actually, I should have read your initial post: you also quote odd solutions wiki...
  • 6
    2okPze5.png



    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.



    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.



    Code:
    #include
    
    /*
    * Your warranty is now void.
    *
    * I am 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 me for messing up your device, I will laugh at you.
    */


    SUPPORTED DEVICES

    - xpeng (XT2175-1)


    HOW TO INSTALL OR UPGRADE LINEAGEOS WITH LINEAGE RECOVERY

    - Make sure your phone is running firmware from at least 12-S1RXS32.50-13-15. If not? Please download and flash it first before installing this ROM.



    Please note! If you manually update LineageOS you MUST reboot to recovery and reflash GApps too before rebooting to system.

    KNOWN BUGS/ISSUES
    • Users note performance isn't as high as it should be. Probably perf or thermal engine config related (will check into eventually)
    • Widevine L1 lost upon bootloader unlock (reverting to stock ROM and relocking bootloader does restore it)

    MAIN DOWNLOADS

    Lineage:

    - Unofficial:

    - Unofficial test builds:



    GOOGLE APPS (GAPPS) DOWNLOADS

    - MindTheGapps:
    http://downloads.codefi.re/jdcteam/javelinanddart/gapps



    DEVELOPER RESOURCES






    HOW TO CONTRIBUTE

    Send your patches up for review: https://review.lineageos.org/

    Read the guides on the LineageOS Wiki: https://wiki.lineageos.org/

    Source Code: https://github.com/LineageOS


    Telegram Group



    DONATIONS

    3
    Hello everyone,

    I just tested out the ROM. First of all, I'd like to express my deep gratitude to ThE_MarD for this wonderful work. The ROM is running quite smoothly on my device, and it feels great to be part of the LineageOS community.

    Regarding the ongoing discussion about GApps installation issues, I didn't face any such problem. I used MindTheGapps, followed the instructions to the letter, and everything installed just fine. This might not be very helpful, but I'm just sharing my experience.

    I am using the GCAM and it takes some very good photos. The only problem is that in the benchmarks it has a lower score than in the official operating system, but the system feels very good. I have Magisk installed with a couple of modules and everything works perfectly.

    In terms of bugs or issues, I haven't come across any so far. But, rest assured, I will report here if I find something that needs your attention. I am also interested in helping with updates in any way I can. Let me know how I can contribute to this fantastic community.

    Once again, thanks to ThE_MarD and everyone involved in this project. Looking forward to future updates and enhancements.

    Best regards.
    2
    @1264582520 sorry I've been super busy with work, 16 hour work days for almost the last 2 weeks and still a few to go... I'll try to look at the logcat once I'm on days off

    it's technically an sm8350 kernel as yupik (sm7325) is based upon Lahaina (sm8350). It's just the repo names we have since originally no one planned to work on sm8350 Moto devices when we were working on Edge 20 Pro and Edge 30.

    I'll have to check the perf configs on tundra Android 13 as we may need to switch to those, or decommonize them depending on how that is setup. Maybe A13 Dubai vendor blobs Motorola didn't modify the configs so much or did commonize among Lahaina and lahaina-based devices?

    Tbh though it might be a bit, I was donated a Motorola Edge 40 Pro (rtwo) by a member of the Motorola custom ROM community, so that is my main priority right meow. I don't own an xpeng and I did all this work on it blind sending out test builds and I'm glad it even works as good as it currently does
    2
    Finally this great piece of Hardware is getting some Custom Roms.
    Thank you so much and Please continue supporting this great Device.
    2
    So npjohnson was kind enough to add xpeng to his unofficial LineageOS build server so xpeng will get monthly Android Security Bulletin updates


    Here's the wiki entry for it too: