[GSI][11] LineageOS 18.x GSI (all archs)

Search This thread

AndyYan

Recognized Contributor
Jan 30, 2012
4,242
3,465
Beijing
640px-Lineage_OS_Logo.png


Background:
This is a natural continuation/extension of the LineageOS 17.x GSIs I've been making since November 2019.
LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device.
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. 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 Gerrit Code Review.

Disclaimer:
This is still mostly a LineageOS team / PHH @phhusson effort, credits to them and all associated for making all this possible.
No flashing instructions will be offered. If you're here in this forum, you should know what you're doing.
No guarantees that everything would work. This is a GSI, bugs are bound to happen.

Download:
https://sourceforge.net/projects/andyyan-gsi/files/
Compressed as .xz archives - extract first.
Vanilla except for these changes:
  • Modifications needed to make it build/boot/feature-complete
  • Revived navbar layout tuning via sysui_nav_bar tunable
  • Disabled "vendor mismatch" warning on boot
  • Signature spoofing support from MicroG
  • Default stretch-to-fullscreen (force apps to render in longer than 16:9)

Stuff on GitHub (builders-only):
Since builders' stuff aren't really interesting to end users, I decided not to separately document the modifications needed in this post; instead just check out the scripts/patches, where most things should be self-explanatory: treble_build_los, treble_patches (PHH's treble_patches adjusted for LOS). Not the cleanest code, but should help if you need some clues.

Donate?
https://paypal.me/AndyCGYan
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,242
3,465
Beijing
Reserved

Couple of things to note:
  • I now have a rather taxing day job, and can't devote nearly as much time/effort into this as I did as a student.
  • As always, you are strongly advised to try PHH's AOSP first and identify/report issues there, before moving onto other GSIs that are based on his work. Please report bugs here only if it's specific to this GSI.
  • Magisk compatibility is mostly broken since Android 11 - use PHH-SU instead. Install the app and you'll get root for apps.
  • A-only and VNDKLite targets are now generated from AB images instead of built from source. Kinda hacky and might be buggy. Move on to an AB device if you can.
  • To mount /system RW on AB devices, refer to this.
  • exfat SD cards still don't seem to work. Any help related to this would be appreciated.
 

Tims Fong

Senior Member
Aug 23, 2020
220
26
Arm64 avS can't flash the beta versions of GApps and NikGApps, otherwise, constantly restart to TWRP.
Test again, it should be GApps problem, SD821 vndk27 Aonly everything is fine. Thank you.
 

Attachments

  • Screenshot_20201223-065654_Trebuchet.png
    Screenshot_20201223-065654_Trebuchet.png
    95.6 KB · Views: 760
  • Screenshot_20201223-065732_Trebuchet.png
    Screenshot_20201223-065732_Trebuchet.png
    313.8 KB · Views: 769
  • Screenshot_20201223-065846_Settings.png
    Screenshot_20201223-065846_Settings.png
    156.3 KB · Views: 793
  • Screenshot_20201223-065911_Updater.png
    Screenshot_20201223-065911_Updater.png
    112.8 KB · Views: 816
  • Screenshot_20201223-065958_Settings.png
    Screenshot_20201223-065958_Settings.png
    133.8 KB · Views: 783
Last edited:

koyo

Senior Member
Nov 12, 2015
279
47
The ROM bootlooped on Moto E6, though this is a very new ROM so I think I'll revert back to your LOS 17.1 ROM until things are a bit more ironed out.

I think this is the only Android 11 GSI so we all greatly appreciate your work. We're rooting for you
 

samrishar

Member
Dec 17, 2020
9
0
'just a report, tried it on oldies J730G booted fine wifi works, sim works, unable to play medias, reboots by itself about every 10mins or so, very snappy though. Thanks. Off to flashing another one, I'm developing a bad habit, just because I can doesn't mean I should :)
 

Kurt Krummbein

Senior Member
Jul 19, 2011
520
389
Successfully installed the a/b-GSI from 2020-12-19 on Xiaomi MI 10T lite (gauguin) via fastbootd (necessary to handle dynamic partitions!).
Camera quality is awefull (;-) ) but the rest i tested so far looks promissing (WiFi works, Fingerprint works ... well see what make problems ;-) ).

Well done guys!!!
Cheers Kurt
 

Kurt Krummbein

Senior Member
Jul 19, 2011
520
389
Installed it successfuly on my Honor 9 (A/B). Almost everything works. Except:
- SD-Card don't work (as mentioned)
- Can't flash gapps, because of missing twrp for my device
For my gauguin, i used root and Franko-Kernel-Manager to flash NikGapps ... had to mount /system rw manually, but at least it worked.

Cheers
Kurt
 

Hami_Do

Senior Member
Aug 24, 2013
338
277
Thanks. I now using phhusson gsi. With gapps.
Perhaps it is easier to mount r/w with a vndklite Version.

Does anybody know, if it possible to switch between this rom and phhusson rom, without loose data?
Already tested between caosR and los18, just wipe system, cache and dalvik/art via twrp , flash new system img (+gapps if existed before), and reboot.
 
Last edited:
  • Like
Reactions: Saftpresse99

MAREK10747

Senior Member
Feb 4, 2016
403
187
640px-Lineage_OS_Logo.png


Background:
This is a natural continuation/extension of the LineageOS 17.x GSIs I've been making since November 2019.


Disclaimer:
This is still mostly a LineageOS team / PHH @phhusson effort, credits to them and all associated for making all this possible.
No flashing instructions will be offered. If you're here in this forum, you should know what you're doing.
No guarantees that everything would work. This is a GSI, bugs are bound to happen.

Download:
https://sourceforge.net/projects/andyyan-gsi/files/
Compressed as .xz archives - extract first.
Vanilla except for these changes:
  • Modifications needed to make it build/boot/feature-complete
  • Revived navbar layout tuning via sysui_nav_bar tunable
  • Disabled "vendor mismatch" warning on boot
  • Signature spoofing support from MicroG
  • Default stretch-to-fullscreen (force apps to render in longer than 16:9)

Stuff on GitHub (builders-only):
Since builders' stuff aren't really interesting to end users, I decided not to separately document the modifications needed in this post; instead just check out the scripts/patches, where most things should be self-explanatory: treble_build_los, treble_patches (PHH's treble_patches adjusted for LOS). Not the cleanest code, but should help if you need some clues.

Donate?
https://paypal.me/AndyCGYan
640px-Lineage_OS_Logo.png


Background:
This is a natural continuation/extension of the LineageOS 17.x GSIs I've been making since November 2019.


Disclaimer:
This is still mostly a LineageOS team / PHH @phhusson effort, credits to them and all associated for making all this possible.
No flashing instructions will be offered. If you're here in this forum, you should know what you're doing.
No guarantees that everything would work. This is a GSI, bugs are bound to happen.

Download:
https://sourceforge.net/projects/andyyan-gsi/files/
Compressed as .xz archives - extract first.
Vanilla except for these changes:
  • Modifications needed to make it build/boot/feature-complete
  • Revived navbar layout tuning via sysui_nav_bar tunable
  • Disabled "vendor mismatch" warning on boot
  • Signature spoofing support from MicroG
  • Default stretch-to-fullscreen (force apps to render in longer than 16:9)

Stuff on GitHub (builders-only):
Since builders' stuff aren't really interesting to end users, I decided not to separately document the modifications needed in this post; instead just check out the scripts/patches, where most things should be self-explanatory: treble_build_los, treble_patches (PHH's treble_patches adjusted for LOS). Not the cleanest code, but should help if you need some clues.

Donate?
https://paypal.me/AndyCGYan
Thanks for your work . Your system working very fast , I share your system https://forum.xda-developers.com/t/gsi-11-lineageos-18-x-gsi-all-archs.4211857/ . Thanks for this system.
 

Sanket Kalore

Member
Jan 2, 2016
20
3
Sir ur BvS builds never pass safety net for me not even on A10 ur BvN were flawless....can u help please how to pass...I tried phh/secuize, magisk hide, changing fingerprint to various pixel devices, adding secure file but nothing works

I am on 18.1 rn and using Nokia 8.1 sdm 710

Or can u please just switch back to BvN
 

Attachments

  • Screenshot_20210107-122120_Magisk_Manager.png
    Screenshot_20210107-122120_Magisk_Manager.png
    67.1 KB · Views: 179

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Updated all variants with April security patches and in sync with PHH v304. [Insert obligatory backup-and-test warning here]
    1
    I tried to compile an own LOS-GSI with your current repos ans current LOS-repo according to your docu, but after running the compilers on my old 2-core box, system.img creation failed and i saw that patching had not been successful :-(. I can feel your pain now...
    Right, patches usually require taken care of every month, and sometimes I couldn't make time for that. This month might be a bit better, I'm already testing a device-specific build based on April patches.
    Last month's delay was because of something else - I was trying to solve the conflicts that happen during building GSIs and device-specific builds in one workspace, a problem that I generated for myself. In the end I simply made a new workspace, trading disk space for a little more peace of mind.

    Also, don't torture yourself with that kind of building environment, 16GB of RAM is barely enough nowadays... As recorded previously, I switched/upgraded my build environment multiple times just to keep this going.
    1
    Well my box has 32GB of RAM ... is an old Dell graphics workstation, but just 2 cores.
    Is there also an option like repo's -fast-fail to stop after the first error? For searching and fixing patch- or compile-errors that would be helpfull ... better than waiting 10 hours to finish and the find no result 'cause of failed patch :-(.

    ... axiously waiting for your first build with official released LOS18.1 :)
    Kurt
    With just two cores you'll probably have to wait for days, even with ccache enabled and fully populated.
    But just the patching process shouldn't take long - I reckon the lack of an abort-on-failure mechanism made you ignore it? Good point, I'll look into it later, or you can make a PR if you have an idea ready ;)

    In the meantime, I've finished updating the GSI patches last night, waiting on LOS to formally merge April SPL.
  • 28
    640px-Lineage_OS_Logo.png


    Background:
    This is a natural continuation/extension of the LineageOS 17.x GSIs I've been making since November 2019.
    LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device.
    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. 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 Gerrit Code Review.

    Disclaimer:
    This is still mostly a LineageOS team / PHH @phhusson effort, credits to them and all associated for making all this possible.
    No flashing instructions will be offered. If you're here in this forum, you should know what you're doing.
    No guarantees that everything would work. This is a GSI, bugs are bound to happen.

    Download:
    https://sourceforge.net/projects/andyyan-gsi/files/
    Compressed as .xz archives - extract first.
    Vanilla except for these changes:
    • Modifications needed to make it build/boot/feature-complete
    • Revived navbar layout tuning via sysui_nav_bar tunable
    • Disabled "vendor mismatch" warning on boot
    • Signature spoofing support from MicroG
    • Default stretch-to-fullscreen (force apps to render in longer than 16:9)

    Stuff on GitHub (builders-only):
    Since builders' stuff aren't really interesting to end users, I decided not to separately document the modifications needed in this post; instead just check out the scripts/patches, where most things should be self-explanatory: treble_build_los, treble_patches (PHH's treble_patches adjusted for LOS). Not the cleanest code, but should help if you need some clues.

    Donate?
    https://paypal.me/AndyCGYan
    10
    Reserved

    Couple of things to note:
    • I now have a rather taxing day job, and can't devote nearly as much time/effort into this as I did as a student.
    • As always, you are strongly advised to try PHH's AOSP first and identify/report issues there, before moving onto other GSIs that are based on his work. Please report bugs here only if it's specific to this GSI.
    • Magisk compatibility is mostly broken since Android 11 - use PHH-SU instead. Install the app and you'll get root for apps.
    • A-only and VNDKLite targets are now generated from AB images instead of built from source. Kinda hacky and might be buggy. Move on to an AB device if you can.
    • To mount /system RW on AB devices, refer to this.
    • exfat SD cards still don't seem to work. Any help related to this would be appreciated.
    9
    Updated all variants with March security patches and in sync with PHH v302. [Insert obligatory backup-and-test warning here]

    Two years of GSIs. Life is trying to rob me of this "hobby" - I'll keep this going as long as I can handle it.
    9
    March patch is ready, but due to lack of time, I'll have to postpone this month's update for a while. I worked on it yesterday but couldn't figure out a core problem in time.
    7
    Updated all variants with February security patches and in sync with PHH v300.m. [Insert obligatory backup-and-test warning here]

    Let me know if you experience USB-related regressions (as in, worked in the last version but not this one).
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone