[DISCONTINUED][GSI][9][Reference] LineageOS 16.0 GSI (all archs) and how to build them - Treble-Enabled Device Development A/AB ROMS

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Background:
We've been offered LOS 16 GSIs in the past (here, and here), but they haven't been updated in quite a while, so as a LineageOS lover, I decided to step up and do it myself. Turns out it wasn't so easy - there were a number of hurdles that prevented it from building properly, booting or being feature-complete. But here I am, having figured out most if not all what's needed, and verified booting on an arm64 ab device I own, I'm ready to share my findings as well as some builds with you.
Disclaimer:
This is still mostly a LineageOS team / PHH @phhusson effort, credits to them and all associated for making all this possible.
No 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.
Do not report hardware-related bugs in this thread. I am selfish and only care about getting it running on my device with whatever features I need working. Plus I'm not PHH and can't solve any either.
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, see below
Disabled "vendor mismatch" warning on boot
Re-enabled lockscreen shortcuts
Default stretch-to-fullscreen (force apps to render in 18:9)
Extra tip:
If you have a relatively low-end device and experience UI stutters, try this simple build.prop trick (technically a debug property, so use at your own risk). Thanks @SnapTheRipper for bringing it up!
Modifications needed (builders-only):
Now for the juicy part. On top of PHH's already fantastic build script, you'll need these:
device/phh/treble:
Revert Update lineage.mk for LineageOS 16.0 - add back LOS sepolicy, so that LOS-specific features like Profiles, LiveDisplay, Styles, Trust would work
Revert exfat fsck/mkfs selinux label - fix a conflict in doing so
build/make:
Revert Enable dyanmic image size for GSI - fix building
external/tinycompress:
Revert tinycompress: Use generated kernel headers - remove dependency on generated kernel headers
frameworks/base:
Revert Initial support for in-display fingerprint sensors - use PHH's implementation
vendor/lineage:
Apply build/soong/Android.bp: Disable generated_kernel_* - disable generating kernel headers, since GSIs don't have a kernel
Revert lineage: Enforce privapp-permissions whitelist, or change it to log
vendor/qcom/opensource/cryptfs_hw:
Revert cryptfs_hw: Use generated kernel headers - remove dependency on generated kernel headers
Apply [TEMP]: Header hack to compile for 8974 - fix a missing header
And that's it. Doesn't look like much, but most are pretty hacky solutions, and I don't expect them to be merged anywhere. As I said, I'm only interested in getting it running, I don't care what it takes.
Stuff on GitHub (builders-only):
I've also collected necessary scripts/patches and uploaded them: treble_build_los, treble_patches (PHH's treble_patches adjusted for LOS). Not the cleanest code, but should help if you still need more clues.
Donate?
https://paypal.me/AndyCGYan
Thanks for reading - I hope this could be of use to fellow LineageOS lovers / home builders.

Is there any chance for A-only 64 build?

Lecterr said:
Is there any chance for A-only 64 build?
Click to expand...
Click to collapse
I hope will be for A-only too.. many people would welcome it . :silly:

Lecterr said:
Is there any chance for A-only 64 build?
Click to expand...
Click to collapse
Dejvid50 said:
I hope will be for A-only too.. many people would welcome it . :silly:
Click to expand...
Click to collapse
Done, check OP. I can't spare an A-only device to test it though, try at your own risk.
EDIT: might have to wait for SF to mirror the file...

AndyYan said:
Done, check OP. I can't spare an A-only device to test it though, try at your own risk.
EDIT: might have to wait for SF to mirror the file...
Click to expand...
Click to collapse
Thank you very much!!! Will test and give feedback....ist it build on latest Phhs V111?

Cool, which one is the a-only? ...it's not clearly writen

odysseus84 said:
Cool, which one is the a-only? ...it's not clearly writen
Click to expand...
Click to collapse
I thought it's the avN one. (Didn't boot on my phone.)

As of now I've received 1 report of A-only booting up alright. Although I don't take hardware-related bug reports, it's advised to post whether it boots on your device so as to let other users know.
Lecterr said:
Thank you very much!!! Will test and give feedback....ist it build on latest Phhs V111?
Click to expand...
Click to collapse
Not sure how I could determine that, but it's fresh synced.
odysseus84 said:
Cool, which one is the a-only? ...it's not clearly writen
Click to expand...
Click to collapse
avN, bvN - not clear enough?

Thanks again for A-only build...tested and works great on MiMax3 with stock PIE vendor!!!
Only thing not working is equalizer for audio, opens a empty screen but no FC or error message...but ringtone, music etc. working.

Just tested this on a Nokia 7 Plus (B2N) with the bvN images. Everything seems to work just fine, except for VoLTE/VoWiFi (which I don't care that much about anyways...).
Voice calls, Camera, MusicFX, Fingerprint, Bluetooth, LTE, all work as expected. Will come back after some usage with more info about battery life and such.
@AndyYan Awesome stuff, Andy! Thank you for this guide--will try to build it myself soon enough after I run your build for a few days to test.
By the way, do you think this will get OTA updates from LineageOS? The updater seems to work as expected, but haven't seen any new options there yet.
Thanks again!

MadalinC said:
By the way, do you think this will get OTA updates from LineageOS? The updater seems to work as expected, but haven't seen any new options there yet.
Click to expand...
Click to collapse
Nope, LOS team even stated explicitly they won't be making any official GSIs.

AndyYan said:
Nope, LOS team even stated explicitly they won't be making any official GSIs.
Click to expand...
Click to collapse
Oh, that is very unfortunate. It is running really smooth as a GSI
So that means that each security patch comes out, I will need to start from scratch and reflash the image? That would make it a bit a pain each month
Anyways, thanks for the quick reply!

On the Galaxy S9: I dirty flashed it over vanilla phh 111 to see if it boots. It did with the usual force close of course.
Then I wiped and reflashed. But stuck at the boot animation. The splash screen was there for a half century too... my guess is the ramdisk stoff from the kernel. there are some other Kernel version I will try those later.

MadalinC said:
So that means that each security patch comes out, I will need to start from scratch and reflash the image?
Click to expand...
Click to collapse
Just flash the image on top (along with whatever mods you're using), no wipe needed. It works like flashing ROMs on a regular A-only device.

AndyYan said:
Just flash the image on top (along with whatever mods you're using), no wipe needed. It works like flashing ROMs on a regular A-only device.
Click to expand...
Click to collapse
Any chance of arm-a LOS16 build?

AndyYan said:
Done, check OP. I can't spare an A-only device to test it though, try at your own risk.
EDIT: might have to wait for SF to mirror the file...
Click to expand...
Click to collapse
Now I'm busy, at night I will try to flash and will report. Thanks for your work
EDIT: Ok, so I was try to flash on Huawei P10 Lite with OpenGapps, and can't boot, no logo, just goes to recovery, that's all.. I was WIPE system, data, cache, dalvik cache

Lecterr said:
Thanks again for A-only build...tested and works great on MiMax3 with stock PIE vendor!!!
Only thing not working is equalizer for audio, opens a empty screen but no FC or error message...but ringtone, music etc. working.
Click to expand...
Click to collapse
do you mind sharing the instructions for flashing the gsi? im on the latest pie beta on my max3.

drxllxffxct said:
do you mind sharing the instructions for flashing the gsi? im on the latest pie beta on my max3.
Click to expand...
Click to collapse
Do u have TWRP recovery?

Finally there's a LOS 16 GSI! I have been looking to try to compile my own with phh build script.
Sorry which one should I use _avN or _bvN if I have an A Only Arm64 (Wayne).
I tried to flash the _avN and got stuck at the Mi logo.
Thank you very much to do the work.
Sent from my Mi MIX 2 using XDA Labs

Boots on Razer phone 1 but no wifi or data. Everything else seems to work. Thank you for the rom (no wifi or data razer phone problem).

Related

[ABANDONED][ROM][Pie][OFFICIAL] COSP [9.0.0][18/03/2019]

COSP
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
**** Disclaimer: I'm not responsible if you destroy your device. Use at your own risk!!! ****
Welcome to COSP, your new future Android Operating System.
Our goal is to have an Pixel-like android ROM that isn't spying on you and uses as few system space as possible. Also, we provide the option to go completely without GApps using MicroG support.
Why us?
We are focusing on stability and performance, having an debloated ROM is essential for that. Also, we want Users to decide what kind of Store they want to use, either F-Droid or the Play Store.
Also, we take User requests serious. To suggest something, contact us on telegram.
Features:
1) All systemUI tuning elements
2) An handy Network indicator
3) Charging Information
4) Lawnchair and Quickstep as default
5) Quick Settings mods
6) Signature spoofing
OTA Updating for official devices enables Users to get the newest version with ease.
DOWNLOADS:
https://drive.google.com/uc?id=1Wau8S9PHyT5NvxgKx6i9KpXON4Xjwqyn&export=download
BUGS:
1. All the bugs that are common in Pie roms.
2. You tell me.
Sources:
ROM Source: https://github.com/cosp-project/
Kernel Source code: https://github.com/cedric-development/kernel_motorola_msm8937/
Device tree: https://github.com/cedric-development/device_motorola_cedric/
Special thanks to:
@m_vaisakh for helping me ever since the beginning.
@p8tgames for the rom, and helping me fix some errors.
@edi194 for the rom.
Subscribe to the thread to get notifications about every update.
-------------------------------------------------------------------------------------------------------------
Changelog:
06/02/2019:
1. Updated the ROM with the February security patches.
2. Added some new features to the manifest.
3. MotoActions still not working(unfortunately). But they will soon.
4. The OTA framework was totally changed, so this update won't be available as an OTA, the new framework will work in future builds. Hence, this update needs to be manually flashed.
08/02/2019
1. Fixed MotoActions.
2. This update, and the ones following this will be available via OTA.
18/03/2019
1. Merged the March security patch.
2. Fixed night light.
3. The OTA is out and should be available.
4. Full changelog can be found here
When we get the next build? @AyamDobhal
Can I use the dark theme on settings and can i move the clock from left to right?
lucki1000 said:
When we get the next build? @AyamDobhal
Click to expand...
Click to collapse
Can't tell ETA rn as I'm the only one working on this for cedric and I've got school and ****. But yeah might take a bit longer as the keyhandler service for MotoActions is missing and I'll have to add it.
lucki1000 said:
Can I use the dark theme on settings and can i move the clock from left to right?
Click to expand...
Click to collapse
The color accent picker is something I'm planning to add soon. And about the clock try the systemUI tuner
for dark mode, do try the night mode from developer options
AyamDobhal said:
Can't tell ETA rn as I'm the only one working on this for cedric and I've got school and ****. But yeah might take a bit longer as the keyhandler service for MotoActions is missing and I'll have to add it.
Click to expand...
Click to collapse
Okay understand ... so for the time being without moto actions. I try it if moto actions work, but i think you made a good job.
lucki1000 said:
Okay understand ... so for the time being without moto actions. I try it if moto actions work, but i think you made a good job.
Click to expand...
Click to collapse
Thanks man! Moto actions are something not worth trying as they're added but won't show up due to the missing keyhandler. I'll try to fix it asap though.
I just tried your rom and I love it! It's SUPER clean and the added features are great. Although I'm not happy with the AOSP gestures (OnePlus gestures) because this device has a front fingerprint so it just no make sense to me but I'm getting used to it and I think I'm staying here. Thanks a lot.
Sorry for bad english
franfilippa said:
I just tried your rom and I love it! It's SUPER clean and the added features are great. Although I'm not happy with the AOSP gestures (OnePlus gestures) because this device has a front fingerprint so it just no make sense to me but I'm getting used to it and I think I'm staying here. Thanks a lot.
Sorry for bad english
Click to expand...
Click to collapse
If mean the fingerprint gestures that comes in the next build this is meaning with Moto action.
lucki1000 said:
If mean the fingerprint gestures that comes in the next build this is meaning with Moto action.
Click to expand...
Click to collapse
I know, I'm waiting for it
Hi together,
I tried to flash this ROM today. I got an Error 255. What am I doing wrong?
I have Stock ROM Oreo and the original TWRP for Cedric.
Thanks in advance!
cylone said:
Hi together,
I tried to flash this ROM today. I got an Error 255. What am I doing wrong?
I have Stock ROM Oreo and the original TWRP for Cedric.
Thanks in advance!
Click to expand...
Click to collapse
The original TWRP is 32bit you need a 64bit TWRP to flash this rom.
lucki1000 said:
The original TWRP is 32bit you need a 64bit TWRP to flash this rom.
Click to expand...
Click to collapse
Well, this worked, thank you
I really like this COSP. Great work! :good:
But unfortunately my SIM cards weren't recognised
Perhaps I made a mistake?
cylone said:
Well, this worked, thank you
I really like this COSP. Great work! :good:
But unfortunately my SIM cards weren't recognised
Perhaps I made a mistake?
Click to expand...
Click to collapse
Did you make a twrp backup? If so, you can restore the EFS partition. You should then have a working signal/sim card.
franfilippa said:
I just tried your rom and I love it! It's SUPER clean and the added features are great. Although I'm not happy with the AOSP gestures (OnePlus gestures) because this device has a front fingerprint so it just no make sense to me but I'm getting used to it and I think I'm staying here. Thanks a lot.
Sorry for bad english
Click to expand...
Click to collapse
welcome mate thanks for your support, the new update(with feb patch and a few other features) is just around the corner.
AyamDobhal said:
welcome mate thanks for your support, the new update(with feb patch and a few other features) is just around the corner.
Click to expand...
Click to collapse
Don't forget the download link.
lucki1000 said:
Don't forget the download link.
Click to expand...
Click to collapse
coming in less than an hour
AyamDobhal said:
coming in less than an hour
Click to expand...
Click to collapse
You can edit your first post and and add what's new or added, as change log.
lucki1000 said:
You can edit your first post and and add what's new or added, as change log.
Click to expand...
Click to collapse
done already
Sorry for the delay guys but the March patch is out. Took some time as I had exams.

[ROM][10][OFFICIAL] lineage-17.1 for Pixels (marlin/sailfish)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.
All the source code for LineageOS is available in the LineageOS Github repo. If you would like to contribute to LineageOS, please visit our Wiki for more details.
IMPORTANT NOTES:
1. If you use twrp it will ask if you want to install the twrp app. Make sure you tap "DO NOT INSTALL".
2. If you care about your stuff, make a backup in TWRP first, just in case. Transfer it to a pc, along with all your stuff in internal storage.
3. The newest vendor, radio, & bootloader img's are included in the rom zip, so no need to worry about flashing those manually.
4. Lineage comes with adb root that you can enable in developer options, but if you want root for apps, flash magisk in recovery (after renaming magisk.apk to magisk.zip). Just don't flash it during initial lineage install, as it's known to cause bootloop if you do.
Downloads:
marlin rom: https://download.lineageos.org/marlin
sailfish rom: https://download.lineageos.org/sailfish
gapps: (gapps are optional) link WARNING: Only use nano or pico because the system partition is too small on our device.
google fi gapps addon: if your carrier is Google Fi, flash this zip right after flashing the gapps zip. https://androidfilehost.com/?fid=8889791610682871038
Instructions:
FOR INITIAL INSTALL
marlin: https://wiki.lineageos.org/devices/marlin/install
sailfish: https://wiki.lineageos.org/devices/sailfish/install
FOR UPDATING
For normal updating from official 17.1 to a newer official 17.1, follow these steps:
marlin: https://wiki.lineageos.org/devices/marlin/update
sailfish: https://wiki.lineageos.org/devices/sailfish/update
Protip: Enable "Prioritize update process" in the Updater preferences to make it go faster
NOTE: If you're updating from my unofficial build to the official nightlies, follow steps here.
Alternative manual updating instructions:
1. boot into lineage recovery.
2. install rom zip.
3. if you use gapps or magisk, select the "reboot into recovery" option, then install those zips.
FOR UPGRADING (From official 16.0 to official 17.1, for example)
marlin: https://wiki.lineageos.org/devices/marlin/upgrade
sailfish: https://wiki.lineageos.org/devices/sailfish/upgrade
Changelog
marlin
sailfish
Bug reporting
https://wiki.lineageos.org/bugreport-howto.html
Source Code:
Marlin Device tree: https://github.com/LineageOS/android_device_google_marlin/tree/lineage-17.1
Sailfish Device tree: https://github.com/LineageOS/android_device_google_sailfish/tree/lineage-17.1
Kernel tree: https://github.com/LineageOS/android_kernel_google_marlin/tree/lineage-17.1
Vendor tree: https://github.com/TheMuppets/proprietary_vendor_google/tree/lineage-17.1
Credits:
Many thanks to my fellow LineageOS team members and all the contributors out there in the community. :good:
Android version: 10
Kernel version: 3.18.137
Status: Nightly
That's great! Does this have Google dialer included?
Thank you for your awesome work
Intriguing ?.
<Mod edit: Quoted OP removed>
A lot of Google's apps crushing , the rest is all good . I know is a beta so no complaints
Hello!! I installed this assembly, I liked it, but later can I switch to nightly assemblies from this assembly?
alin919 said:
A lot of Google's apps crushing , the rest is all good . I know is a beta so no complaints
Click to expand...
Click to collapse
I had that but it was because I also wiped system and cache. I reflashed stock and only wiped data and now Google apps work except for Gmail
Just reporting, I am not passing safety net
alin919 said:
A lot of Google's apps crushing , the rest is all good . I know is a beta so no complaints
Click to expand...
Click to collapse
Do you have Magisk installed? I removed Magisk and now all Google apps work
Zehlek said:
Do you have Magisk installed? I removed Magisk and now all Google apps work
Click to expand...
Click to collapse
I do now , but is weird ... now drive is working and calendar and gmail not ( second time installed clean and downloads the apps from playstore before got root )
Try this, it helped me
Zehlek said:
Just reporting, I am not passing safety net
Click to expand...
Click to collapse
This video helped me pass safety-net
https://youtu.be/8ATH032lIXs
An easy fix, for anyone with the gmail issue, you just have to go to settings->apps->gmail->permissions, and allow permissions to contacts and calendar.
EDIT: I'll try to figure out the issue of why gmail is not being granting permissions automatically, like it should.
But in the meantime, i'll just include gmail in my builds. That way it has that right permissions and just works like it should. If you don't want the app, you can just go to settings and disable it.
EDIT#2: New builds are available in first post. One notable feature that was added is, network traffic monitor in statusbar. :good:
Note: I don't have a sailfish so that build is untested, but it should work fine. Please someone give it a try and let us know if it's ok. Confirmed, it's working good on sailfish too.
razorloves said:
EDIT#2: New builds are available in first post. One notable feature that was added is, network traffic monitor in statusbar.
Note: I don't have a sailfish so that build is untested, but it should work fine. Please someone give it a try and let us know if it's ok. :good:
Click to expand...
Click to collapse
Incredible thanks!! I'll test this out
Is the system mounted r/w on this rom?
razorloves said:
An easy fix, for anyone with the gmail issue, you just have to go to settings->apps->gmail->permissions, and allow permissions to contacts and calendar.
EDIT: I'll try to figure out the issue of why gmail is not being granting permissions automatically, like it should.
But in the meantime, i'll just include gmail in my builds. That way it has that right permissions and just works like it should. If you don't want the app, you can just go to settings and disable it.
EDIT#2: New builds are available in first post. One notable feature that was added is, network traffic monitor in statusbar.
Note: I don't have a sailfish so that build is untested, but it should work fine. Please someone give it a try and let us know if it's ok. :good:
Click to expand...
Click to collapse
So far so good, I saw this that root is disabled, is there anyway to enable it without using Magisk?
cyberbandit1998 said:
Is the system mounted r/w on this rom?
Click to expand...
Click to collapse
ikr, it was read only on the stock rom, immediately went back to Los16 lol
so, it seems as if there are no real game-breaking issues out of the gate?? I'm looking forward to trying this later but was holding off for some more feedback, so far it seems to be pretty positive... one (stupid) question... After flashing this can you easily just flash back to a PIE rom if need be, or once you go Android 10 you can't go back?
yes you can
johnblundon said:
so, it seems as if there are no real game-breaking issues out of the gate?? I'm looking forward to trying this later but was holding off for some more feedback, so far it seems to be pretty positive... one (stupid) question... After flashing this can you easily just flash back to a PIE rom if need be, or once you go Android 10 you can't go back?
Click to expand...
Click to collapse
I have flashed stock pie from Android 10 a couple of times
Zehlek said:
So far so good, I saw this that root is disabled, is there anyway to enable it without using Magisk?
Click to expand...
Click to collapse
not yet. have to use magisk.
johnblundon said:
After flashing this can you easily just flash back to a PIE rom if need be
Click to expand...
Click to collapse
yep, i did it the other day. went from lineage 17 to 16, with just a data wipe. no issues.
So device personalization services app kept crashing so I uninstalled it
also trying to enable black theme in settings makes settings app crash
Also had the Gmail permission bug thanks for posting the fix ?
Also why was twrp overwritten by stock Google recovery ?
I didn't see a warning about that anywhere in op
Note I did a clean install wiped all partitions but internal storage in twrp 3.3.0.0 before flashing rom and then magisk zip

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

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.
Click to expand...
Click to collapse
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
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.
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.
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 ?
Great job dude! I ammire you
Relesse 18 thank You my friend
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.
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
koyo said:
I think this is the only Android 11 GSI so we all greatly appreciate your work. We're rooting for you
Click to expand...
Click to collapse
Hey hey, it's still based on PHH's AOSP R, which has been out there for quite a while, just without an XDA thread. Let's all thank him first
Booted up just fine but no mobile data for me even after trying the IMS settings. Great work and thank you for the release!
Works perfectly on xt1962-1 or moto g7 river using LOS17.1 base
'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
Edited:
Thanks to Phh for fixing ussd on v300L
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
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
Saftpresse99 said:
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
Click to expand...
Click to collapse
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
Kurt Krummbein said:
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
Click to expand...
Click to collapse
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?
Saftpresse99 said:
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?
Click to expand...
Click to collapse
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.
AndyYan said:
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
Click to expand...
Click to collapse
AndyYan said:
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
Click to expand...
Click to collapse
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.
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

[OFFICIAL] LineageOS 18.1 for the Google Pixel XL

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Google Pixel XL
Code:
- Your warranty is now void.
- You have been warned.
- Use at your own risk.
Introduction:
This is the Official Lineage OS 18.1 thread for the Google Pixel XL.
Downloads:
Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.
Official Builds:
marlin
Unofficial - built once a month by me, includes GApps and Pixel goodies:
marlin
If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.
Known Bugs:
Sound Trigger (Screen-off "Hey Google" detection) is nonfunctional due to incompatibilities with older proprietary binaries, and lack of system space for needed Google Apps.
Find any? Report them according to this guide.
Notes:
Firmware is shipped in the ROM package for this device, so no need to worry about updating it on your own!
The only supported GApps package at the moment is OpenGApps pico, linked on our Wiki page about gapps.
Kernel Source: https://github.com/LineageOS/android_kernel_google_marlin
I'll be flashing this tonight, thanks for the hard work
Flashed this; great build.
npjohnson said:
Google Pixel XL
Code:
- Your warranty is now void.
- You have been warned.
- Use at your own risk.
Introduction:
This is my unofficial Lineage OS 18.1 thread for the Google Pixel XL.
Downloads:
Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.
marlin
If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.
Known Bugs:
IMS (VoLTE/ViLTE/WFC) is nonfunctional due to incompatibilities with older proprietary binaries
Sound Trigger (Screen-off "Hey Google" detection) is nonfunctional due to incompatibilities with older proprietary binaries.
Find any? Report them on this thread, and make sure to include logcat/dmesg as applicable.
Notes:
GApps are baked in, alongside other Pixel goodies - No, I will not be building without GApps included for this device. These builds are built, packaged, and signed by me, and not affiliated with LineageOS whatsoever. OTA is provided the same way officials would have them.
This will likely never be official. At minimum, IMS would need to be fixed, and I haven't cracked it (yet). If you can get IMS working, please contact me, and we can work together!
Firmware is shipped in the ROM package for this device, so no need to worry about updating it on your own!
Kernel Source: https://github.com/npjohnson/android_kernel_google_marlin
Click to expand...
Click to collapse
Hello.
Is it possible to update from Lineage 17.1 Official to this build without losing any data and settings? If so, what steps should I follow?
Thank you for keeping Pixels alive.
_Axios_ said:
Hello.
Is it possible to update from Lineage 17.1 Official to this build without losing any data and settings? If so, what steps should I follow?
Thank you for keeping Pixels alive.
Click to expand...
Click to collapse
No, you'll need to format data.
npjohnson I am delighted with your magnificent work, the ROM works very well, thanks for this!! So far I just don't work the select option of Android 11 on the multitasking screen. Thank you friend many blessings for you and yours.
Trebor97 said:
npjohnson I am delighted with your magnificent work, the ROM works very well, thanks for this!! So far I just don't work the select option of Android 11 on the multitasking screen. Thank you friend many blessings for you and yours.
Click to expand...
Click to collapse
Yeah, its some overlay somewhere I missed for Pixel Launcher. I'll figure it out at some point.
What Android Security Patch level does the latest version have?
gverma1 said:
¿Qué nivel de parche de seguridad de Android tiene la última versión?
Click to expand...
Click to collapse
5 de junio
where the download? I dont see it.
Does this rom show device as a pixel 1? Need it for Google photos unlimited back up at original quality, if it shows a later pixel model it will affect backup
Dragon Kumera said:
where the download? I dont see it.
Click to expand...
Click to collapse
Click the `marlin` link and it's in the wiki page contained in the instructions you should follow ;p
ryanfraser38 said:
Does this rom show device as a pixel 1? Need it for Google photos unlimited back up at original quality, if it shows a later pixel model it will affect backup
Click to expand...
Click to collapse
Of course! Like all ROMs should - backup works fine on LineageOS.
gverma1 said:
What Android Security Patch level does the latest version have?
Click to expand...
Click to collapse
I build every month within 5 days of the ASB usually. June as of typing this.
npjohnson said:
Click the `marlin` link and it's in the wiki page contained in the instructions you should follow ;p
Of course! Like all ROMs should - backup works fine on LineageOS.
I build every month within 5 days of the ASB usually. June as of typing this.
Click to expand...
Click to collapse
Thanks. I will check it out. Currently staying on 17.1 cause not upgrading to android 11 yet.
Hi. Does this rom have the apn issue that other pixel1 a11 roms have? Basically, apn settings don't persist after reboot.
Also, is there a telegram channel for this rom?
Trebor97 said:
npjohnson I am delighted with your magnificent work, the ROM works very well, thanks for this!! So far I just don't work the select option of Android 11 on the multitasking screen. Thank you friend many blessings for you and yours.
Click to expand...
Click to collapse
npjohnson said:
Yeah, its some overlay somewhere I missed for Pixel Launcher. I'll figure it out at some point.
Click to expand...
Click to collapse
Hi. I didn't understand the issue mentioned by Trebor97. And is that now rectified? I am thinking of jumping onto Android 11 and wanted to be sure before I go ahead. This is my daily driver and it takes about a couple of hours to set up from scratch. Thanks
gverma1 said:
Hi. Does this rom have the apn issue that other pixel1 a11 roms have? Basically, apn settings don't persist after reboot.
Also, is there a telegram channel for this rom?
Click to expand...
Click to collapse
No... Apn work in every reboot... Dont have to select it on every reboot...
gverma1 said:
Hi. I didn't understand the issue mentioned by Trebor97. And is that now rectified? I am thinking of jumping onto Android 11 and wanted to be sure before I go ahead. This is my daily driver and it takes about a couple of hours to set up from scratch. Thanks
Click to expand...
Click to collapse
No that specific issue, but that's no reason to wait, I can just issue an update to fix it when I have time.
npjohnson said:
No that specific issue, but that's no reason to wait, I can just issue an update to fix it when I have time.
Click to expand...
Click to collapse
Thanks for your response. But what exactly is the issue? I couldn't understand.
Flashed the 0714 build yesterday, everything seems great so far. Thank you @npjohnson for your efforts. I'm going to daily drive this
gverma1 said:
Thanks for your response. But what exactly is the issue? I couldn't understand.
Click to expand...
Click to collapse
I guess they're talking about the overview selection feature, where you can select text from recent apps. That doesn't seem to be working atm.
gverma1 said:
Thanks for your response. But what exactly is the issue? I couldn't understand.
Click to expand...
Click to collapse
I must be missing some overlay. Don't know what it is, it's not a big feature.

[GSI][12] LineageOS 19.x GSI (A64B/64B)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Background:
This is a natural continuation/extension of the LineageOS 18.x GSIs I've been making since 2020.
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.
Click to expand...
Click to collapse
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.
Must-read:
You are STRONGLY ADVISED to try PHH's AOSP of equivalent version FIRST and identify/report issues there, before moving onto other GSIs that are based on his work, including this one.
If you do find bugs on this GSI and want to report, then you MUST try reproducing on AOSP, and ONLY proceed to report here when it's specific to this GSI. This filters out bugs common to all PHH-based GSIs, which you should let PHH know, not me. I might silently ignore your report if you skip this.
Download:
https://sourceforge.net/projects/andyyan-gsi/files/
Compressed as .xz archives - extract first.
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 these repos, where most things should be self-explanatory. Not the cleanest code, but should help if you need some clues.
lineage_build_unified - my unified script for building
lineage_patches_unified - my unified patches for building, including patches from PHH
sas-creator - generates VNDKLite and secure variants, can be used without a building environment
Donate?
https://paypal.me/AndyCGYan
Reserved
Notes:
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.
GAPPS builds are offered as-is without guarantees. Read #10 for more.
/system is RO on regular builds and RW on VNDKLite builds. VNDKLite builds can be used on most non-VNDKLite devices as well.
ADB is intentionally insecure, even on first boot (turned on by default and no authentication needed). GSIs are more fragile compared to device-specific custom ROMs, both on first boot (no-boot issues) and on subsequent boots (after tuning certain Treble settings), and I insist that no-auth ADB is a must-have for debugging and general fail-safe.
Signature spoofing (MicroG) is supported, but only for priv-apps. This is a security consideration from PHH.
Magisk support should be on par with A11 (thanks @eremitein). The "abnormal state / unsupported SU" warning can be ignored. For devices that still don't play well with Magisk (e.g. kernel restrictions implemented by OEM), use PHH-SU instead. Install the app and you'll get root for apps.
Initial builds are based on PHH v400.c and November security patches.
Sigh, I don't really want to make a thread this early...
BTW, 32-bit and A-only users, you should really move on.
Big work thank You
Hey How to flash this Gsi Guys can someone answer me????
Thank you so much. Are gapps included ?
walid77dz said:
Thank you so much. Are gapps included ?
Click to expand...
Click to collapse
From an earlier post...
AndyYan said:
32*/A32* users, I'm not stopping your monthly builds just yet, but 32-bit is getting phased out, and you should upgrade soon. Similar goes for A-only. Ideally in the future we'll only have 64B, making room for other much needed variants such as GAPPS.
Click to expand...
Click to collapse
Their deprecation does seem likely now, so I'll try a GAPPS build or two when I have time.
Do you consider this alpha usable as daily driver?
And, does it require clean installation from LOS 18 GSI?
Avraham Tsaban said:
Do you consider this alpha usable as daily driver?
And, does it require clean installation from LOS 18 GSI?
Click to expand...
Click to collapse
I am using it as my daily driver - I enabled Gallery and LiveDisplay for just that purpose.
Out of curiosity I did try a dirty install from 18.1. It booted and most apps work, to my surprise, but Messaging won't allow me to select contacts properly no matter what, and that was a blocker, so don't.
People who love LOS, insist on using GAPPS with it, and had been asking me for such builds all this time - I now have a lil something for you, a test LOS19 build with GAPPS built-in. It's intentionally in the "personal" flavor to discourage use as your daily driver, but also shared-blocks (unlike previous "personal" builds) to save some space.
It was more trivial to build than I thought, but that doesn't mean I'll build it alongside vanilla yet...
Every variant takes disk space and build time
The image itself is huge and won't fit in even slightly older devices
Too many archs/variants confuse users
I cannot make any guarantees about it
I've seldom mentioned the last point, yet it's critical - I'm in China and I don't use GAPPS at all, so I have little idea about what counts as "properly working" for GAPPS and how to troubleshoot them. Even if I do eventually build with GAPPS, I can only provide builds as-is, and you'll have to help each other out on GAPPS-related/-induced issues. At the end of the day, I still recommend using other ROMs that are built around GAPPS, e.g. @ponces ' PE, for a more cohesive experience and better support.
For now, all I know is this test build logs in (after registering the device here), can open Play Store and download apps, nothing beyond that.
Huawei P20L mobile data doesn't work
confirmed working on huawei mediapad m5 (cmr-w09 model name)
thx so much AndyYan
first degoogled android 12
su working via phh su app - magisk wasn't working proper
I do the installation through fastboot, because I don't have twrp, The installation is successful, but when I start to start the installation it gives an error: Invalid sparse file format at header magic, and after that it installs normally, but when I start the system, it gets stuck in the logo of the manufacturer of my device, Any solution?
Flashed this ROM on my Oneplus 9 Pro and was surprised how great and smooth it is.
I read on a thread how to fix fingerprint issue on GSI ROM by editing /vendor/build.prop, tried it and ended up in bootloop and I have to start all over.
What's the right way to do this?
Thanks in advance.
Geoz said:
fix fingerprint issue on GSI ROM
Click to expand...
Click to collapse
You don't - no A12 GSIs support UDFPS yet.
AndyYan said:
You don't - no A12 GSIs support UDFPS yet.
Click to expand...
Click to collapse
Good to know. I appreciate you taking the time to explain this.
Thanks.
Geoz said:
Good to know. I appreciate you taking the time to explain this.
Thanks.
Click to expand...
Click to collapse
BTW, I believe most OPlus devices have read-only vendor, so even in the future you probably shouldn't head down that road.
AndyYan said:
BTW, I believe most OPlus devices have read-only vendor, so even in the future you probably shouldn't head down that road.
Click to expand...
Click to collapse
What of if I use Lineage OS as the base?
Thanks again.
Geoz said:
What of if I use Lineage OS as the base?
Thanks again.
Click to expand...
Click to collapse
That depends on your maintainer (LuK), and also PHH only deals with issues with stock vendors.
Speaking of which, looks like someone else also can't wait for LuK's 19.0, hehe...
AndyYan said:
That depends on your maintainer (LuK), and also PHH only deals with issues with stock vendors.
Speaking of which, looks like someone else also can't wait for LuK's 19.0, hehe...
Click to expand...
Click to collapse
First time on GSI ROM but I'm really impressed. I've learned a lot from you in a very short time. All information I read on the internet is not valid rather from a developer like you.
I appreciate you.

Categories

Resources