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

Should I build *B with EXT4 share duplicate blocks?

  • Yes - my /system is small, I need every bit of space saving to make it fit

    Votes: 14 51.9%
  • No - I'm not short on space, and/or I prefer mountable /system

    Votes: 13 48.1%

  • Total voters
    27
  • Poll closed .
Search This thread

AndyYan

Recognized Contributor
Jan 30, 2012
4,445
3,787
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: lineage_build_unified, lineage_patches_unified (where patches_treble_phh contains PHH's treble_patches adjusted for LOS). Not the cleanest code, but should help if you need some clues.

Donate?
https://paypal.me/AndyCGYan
 
Last edited:

AndyYan

Recognized Contributor
Jan 30, 2012
4,445
3,787
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.
  • Thanks to patches from @eremitein , Magisk compatibility is partially restored. For devices that still don't play well with it (e.g. kernel restrictions implemented by OEM), 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, see sas-creator. 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.
 
Last edited:

Claudio4780

Senior Member
Feb 6, 2016
177
48
Port Elizabeth
Dear AndyYan. Thank you very much for all your work on these Roms. Do you think that I can flash the latest BitGapps R19 which was available a few weeks ago on the BitGapps website ?
 

Tims Fong

Senior Member
Aug 23, 2020
585
61
Lenovo Zuk Z2 Pro
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: 2,530
  • Screenshot_20201223-065732_Trebuchet.png
    Screenshot_20201223-065732_Trebuchet.png
    313.8 KB · Views: 2,415
  • Screenshot_20201223-065846_Settings.png
    Screenshot_20201223-065846_Settings.png
    156.3 KB · Views: 2,427
  • Screenshot_20201223-065911_Updater.png
    Screenshot_20201223-065911_Updater.png
    112.8 KB · Views: 2,406
  • Screenshot_20201223-065958_Settings.png
    Screenshot_20201223-065958_Settings.png
    133.8 KB · Views: 2,467
Last edited:

koyo

Senior Member
Nov 12, 2015
312
55
Redmi 9
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
 
  • Like
Reactions: blazzer12

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
554
406
OnePlus X
OnePlus 3T
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
 

Saftpresse99

Senior Member
Sep 11, 2015
124
20
Hessen
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
 
  • Like
Reactions: kev15059

Hami_Do

Senior Member
Aug 24, 2013
376
381
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
410
197
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
23
9
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: 523

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Updated all variants with May security patches. [Insert obligatory backup-and-test warning here]

    EDIT: Some bootloops happened below. Until those are cleared (resolved, or at least figured out why), exercise extra caution.
  • 49
    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: lineage_build_unified, lineage_patches_unified (where patches_treble_phh contains PHH's treble_patches adjusted for LOS). Not the cleanest code, but should help if you need some clues.

    Donate?
    https://paypal.me/AndyCGYan
    19
    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.
    • Thanks to patches from @eremitein , Magisk compatibility is partially restored. For devices that still don't play well with it (e.g. kernel restrictions implemented by OEM), 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, see sas-creator. 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
    Initial builds are based on PHH v300.j and December security patches.
    Building-related bits have been published, but only for AB targets - I'm not sure if I want to integrate sas-creator yet.
    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.
    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.