yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] The Lich:
Ahh ok. Huh. I had no idea that would cause problems. I did flash that as part of initially flashing the vendor image (before you began including that in the builds IIRC)

Yep, that did the trick. Just wiped System and Data with TWRP, then reflashed, and it all works perfectly.

Thanks a ton! Killer ROM, by the way. We all appreciate you releasing your work. :good:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Vromandroid:
Problems with flashing LineageOS on a Marlin-Device

Hi there!

I hope there is somebody out there that can help me with the installation of LineageOS on a Marlin-Device. It´s the phone of my wife which wants a pure Android without Google. I use an old Motorola G from 2015 which still runs great on Lineage. That should say that I´m not that familiar with flashing phones :confused:

What I have done till now:

- Got the phone and updated it to Android 9

- Tried to use the manual of Lineage to flash 15.1

=> Result: Bootloop to Stock Recovery

- Got the information that I have to use Version 16

Now I tried the instructions razorloves:

1. if your device doesn't already have them, boot into bootloader/fastboot mode and install the correct radio & bootloader img's

=> Works fine

2. boot into twrp and wipe data and system.

=> Works fine

3. flash rom zip

=> I try to sideload the Zip-file but stops all the time at around 3%. Also a push to the internal storage doesn´t work.

[4. flash twrp zip

5. in twrp main menu, select reboot then recovery (this will reboot you into the other slot)

Reboot & enjoy.]

Any ideas how I can go on? My wife will kick my ass if I destroyed her beloved phone :eek:;)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Homeboy76:
Just Curious

Did you get your Radio.img and Bootloader.img from

here, and your ROM from here ?

Is your SDK Platform-tools 28.0.1?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Vromandroid:
well...

Hi Homeboy,

I`m using Ubuntu 18.04 with adb and fastboot installed by native sources. I`m using the files Razorloves mentioned in this thread.

Unfortunately I didn´t have time to go on with this project, but tonight I will.

My plans till now: Downloading the files another time and installing the whole Android SDK if it´s neccessary.

Regards Vroma
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] All-In-One:
Usually when doing a clean install I just move the ROM, Gapps, Magisk, and everything I need after flashing the stock ROM (you know, for the radio and bootloader images) and then once I've got those files on the internal storage I go to TWRP and install the ROM, because TWRP MTP is kinda wonky. It sometimes works but most of the time it doesn't (or at least for me).
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] SalsifiPourri:
is this rom stable enough to become official in no long time ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] razorloves:
Some new builds

Note: These builds include the vendor, radio, and bootloader images. So you don't need to worry about flashing those separately.

lineage-16.0-20190301-UNOFFICIAL-marlin.zip

lineage-16.0-20190301-UNOFFICIAL-sailfish.zip

ATTENTION PROJECT FI USERS:

New gapps for those of you on the project fi carrier.

MindTheGapps-ProjectFI-9.0.0-Unofficial-arm64-20190228.zip
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Phantop:
Do these new builds allow direct upgrade from 15.1?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] fire314:
Awesome, can't wait! Thanks and keep up the great work!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kkjb:
Thank You finally found with this build that Project Fi works....in my 3 cell providers coverage area. Sprint DM services would fail, or would never get data connection. US Cellular never data either. Now I don't use the Mind the gapps project Fi I use ShaggGapps with the configuration scrips to change out /system/dialer ( I'm guessing) Even get Call screening to work with out root system editing too. First 16 build to do so. Yeppy :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] buddwm:
I installed the latest ROM with the linked Gapps package (Google Fi user here), but I don't see any option to enable dark themes in the Google app. I also tried Substratum with root, but overlays don't seem to install. Is there any way to get dark themes working (sorry if this was asked before)?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] gaebler:
Play Services Draining Battery?

Hi,

I bought two unused boxed pixels for my kids, followed all procedures with install including gapps. During setup google installed all apps that were on the previous phone. One of the pixels (sailfish) works great, the other one only lasts for 2 hours with one charge. So I uninstalled most of the apps, etc. but it did not help. It seems that the play services are the problem. I flashed the march image and then after the first reboot, the google play services stopped every 30 seconds (message that they stopped and whether I want to wait or stop). After reflashing the initial gapps from december this message disappeared. But the battery drain is still there. But I saw the play services were updated by playstore to a recent version.

Any ideas what to do? Or how to figure out the offending component of play services? It seems after stopping the play services with show all active apps from the developer options, last night the battery drain was just 2%. But this is not really handy or a procedure for a teenage girl. I am also not sure, because I did several things, like manually clear cache of all apps in the list, use a task manager to stop all tasks including system apps and stop the tasks from developer options active apps.

It also seems, that after startup, the phone just eats up 10% charge within the first 10 minutes, I wonder if there is an app or a way to figure out the offending service?

The Battery settings do not show something useful. Is there an app that can drill down usage to sub services from the google play services?

Should I try gapps from opengapps? Or reinstall play services from apk? When using adb in twrp, there is the option wipe cache, but there is an error message, that cache partition was not found, is there any way to wipe cache of all apps, including system apps?

I also tried to wipe dalvik art cache, but there is just a longer startup, the battery drain remains the same.

Since the other Pixel is working without flaws and without drain, I really wonder what is different with the setup or app combination at this one. Any ideas?

Thanks, Denis.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] WishMi:
I had the same scenario last week. I ended up deactivating play and reinstalled it from apk and it solved the problem.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Vromandroid:
Hey guys,

finally I was successful flashing the rom. Today I had some time to tinker around with this problem.

I used the newest rom from razor (lineage-16.0-20190301-UNOFFICIAL-marlin.zip) and switched to a USB2 port.

Flashed rom and twrp via sideload. Got twrp working and Lineage tried to start but got me into a bootloop to twrp.

Flashed the rom a second time and got it running.

Wife is happy - weekend got saved ;)

Thanks to everybody!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Stealth111:
Glad to hear you got it all sorted out!

Stealth111
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] razorloves:
[MENTION=9766266]Vromandroid[/MENTION]

Thank you very much for the xda ad-free gift. Glad you like the rom. :good:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] GTX1:
just tried the most recent update hoping it would work with project fi, and sadly, it does not. tried the new gapps that were posted as well. just refuses to detect my sim card, something seems to have changed during the first January update.

back to the 1220 build it is, the last one that worked. ill be here next month to try again...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] buddwm:
I'm a Project Fi user and the latest ROM and Gapps package linked in this thread worked for me without issue. The only minor complaint would be that the Gapps package has somewhat aged now, but it still works.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] LeMoise:
I don't use the Project Fi builds but instead of MindTheGapps I've started using ShaGapps and it has been working well for me without any issues.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] razorloves:
there's a common phrase in the android dev community that some of you may have forgotten, or just don't know. so here you go...

[IMG="logs or gtfo"]http://www.quickmeme.com/img/94/94eb289f247f6e711a9975bed6783d1db4a15af4a9f2b7cd8f1a560a3bfb540a.jpg[/IMG]

lol.

i'm not on project fi carrier so i have no way to troubleshoot/fix your issue without seeing what's going wrong in the logs.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] juggalofr33k:
Im about to switch from AT&T to Fi... Should i do a complete wipe and flash of both ROM and Fi Gapps, or just the Gapps? What would be the best route to go?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] adm1jtg:
How hard will it be to upgrade from unofficial to official... Asked another way... Since we don't ask for eta in here would it be better to load unofficial tonight and upgrade to official after or just wait for official
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Lrs121:
I would wait for the official. Dealing with the signature changes is a pain in my opinion and it would be easier just to start freshish with the official.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] adm1jtg:
Thanks that was kinda my concern... will just wait
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] fire314:
I'm in the same boat.. Christmas is coming early any day now though, just hang in there!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] stepcrazy:
Works great but im having issues loading up gapps on this build. It just keeps crashing when i try to apply the update via sideload or push.

Sideload the LineageOS .zip package:

On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.

On the host machine, sideload the package using: adb sideload filename.zip

(Optional): Once more, use fastboot to temporarily boot a custom recovery following the steps outlined above and install any additional packages by choosing “Apply Update”, then “Apply from ADB”, and then sideloading the packages like you did above. The reboot is necessary on devices with A/B (seamless) system updates.

adb push MindTheGapps-9.0.0-arm64-20190216_211116.zip /sdcard/ ## it doesnt find the file in recovery mode for the apply update

adb sideload MindTheGapps-9.0.0-arm64-20190216_211116.zip ## get the zip then it rejects it.

what am i doing wrong :(
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Love4Taylor:
EDIT: I don't know why but it's working again...

I encountered a very strange thing, I can not open any version of Telegram X, only show these toast. I thought it was a problem caused by the new version,but the problem still exists after I reinstall the old version, but these old versions worked fine before.

#400: Can't init files directory "/storage/emulated/0/Android/data/org.thunderdog.challegram/files/": [PosixError : Connection refused : 111 : Can't create directory "/storage"]

* No other things except Magisk and FrancoKernel.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] nerviozo:
when will be the official rom released?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Lrs121:
Unspoken rule #1

Never ask when a release will happen. It will be done when it is ready.

Side effect:

Maintainer may delay release because they feel like it.(Not that I'm saying razor would do that to us)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] nerviozo:
Im new there, sry bro!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] jmichael2497:
that is weird, i've read that mentioned about not asking for ETAs often enough, that... i would've sworn that was a written rule here on xda (apparently they need to add it as rule #0) but it seems i was thinking of the official Lineage OS and other similar sites.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Lrs121:
Its done so often that its told to many people. I think if I had said 'unofficial rule' it probably would be more accurate.

I'm with you, I vaguely remember having seen it somewhere. For me, it was probably on the op of a project I was following.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] blu.italia:
Hey razorloves,

first thanks for your hard work! Second: Please can you revise your first start post on page one? There you write that we need to flash radio and bootloader, but now it seems to be that this isn't any necessary anymore.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] NepoRood:
It's not against the rules, it's just rude to ask.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] gfunkzero:
[MENTION=614507]razorloves[/MENTION]

Hey mate love your work, quick question will you continue to update this rom once an official build is released? one guy mentioned it would be hard to swap over (?)

Also I found this thread by accident might be worth making a post in the sailfish pixel roms section that links here
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] razorloves:
it's happening :D

https://review.lineageos.org/c/LineageOS/hudson/+/244070

get it from the download portal.

Note: Official 16.0 builds have the vendor img built-in, so you don't flash that anymore. The radio & bootloader imgs don't come built-in, so you have to flash those separately. Our infrastructure still needs some work to include them. You can get them here for marlin or sailfish.

EDIT: Correction. The radio and bootloader imgs are included in the rom. No need to flash them.

Going from official 15.1 to official 16.0

No wiping needed. Just reboot into twrp and flash the official 16.0 rom zip and twrp zip, then reboot to recovery, then flash pie gapps zip (linked below).

Going from unofficial 16.0 to official 16.0

Normally you'd wipe data in this scenario. But if you don't want to wipe, you can use the lineage-migration-signed.zip. It's located here.

No wiping needed. Just reboot into twrp and flash the official 16.0 rom zip and lineage-migration-signed.zip and twrp zip, then reboot to recovery, then flash pie gapps zip (linked below).

Note: There's one extra step you need to do if you don't wipe data when going from unofficial 16.0 to official. My unofficial builds have a couple features that aren't merged into lineage source yet. Like circle battery icon. This will cause a bootloop when going to official build without wiping. To avoid the bootloop, just open the file manager while you're in twrp and navigate to the '/data/user_de/0/org.lineageos.lineagesettings' folder. You will see a few folders in there (cache,code_cache,databases,shared_prefs). Tap the blue checkbox icon in the bottom right and select the delete option to delete the 'org.lineageos.lineagesettings' folder. that's it. Note: One minor side effect of deleting that folder is some of your settings on lineage features will reset to the default setting.

New gapps

normal mindthegapps (almost the same as official mindthegaps. i just added faceunlock & wellbeing)

https://www.androidfilehost.com/?fid=1395089523397912604

project fi mindthegapps (added the following apps. project fi, google connectivity services, hangouts, carrier services, faceunlock, wellbeing)

https://www.androidfilehost.com/?fid=1395089523397912605

Note: I made several changes to project fi stuff to attempt fixing it. Just a shot in the dark. No one has provided logs so who knows. lol

If you still see the same issue, grab logs. Then reboot to twrp and repeat install steps but with the normal mindthegapps linked above. They should work, but you'll have to install project fi app from the play store.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Spike97:
Still 15.1

Hi, i saw the build up on portal but it still say it.s version 15.1, should we wait for 16?

UPDATE: Sorry, the build isn.t up yet, i was blinded by enthusiasm when i was looking at the date of last rom on download portal
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Therev86:
Just performed the update to the official ROM using the lineage migration zip and deleting the "org.lineageos.lineagesettings" folder, everything went smoothly and the ROM is running great! Thanks for all your hard work on this [MENTION=614507]razorloves[/MENTION]!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] グリッチ:
Congrats on the official release! I'm still on stock but I have been watching this thread for a bit. I will wait for a bit more user reports before finally flashing, and I'm watching the changelogs too.

Is there a list of features available for official 16.0? And what features are in unofficial that aren't in official, etc... will they be made official ever?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Andrew_Low:
Big thumbs up to [MENTION=614507]razorloves[/MENTION] for providing this unofficial build.

I seem to have hit a problem using this for work stuff which requires I install some stuff that makes use of 'Android for Work'

It seems this problem was found and fixed in 14.1 https://review.lineageos.org/c/LineageOS/android_vendor_cm/+/212628

but when I go searching in the repos listed

Marlin Device tree: https://github.com/LineageOS/android...e/lineage-16.0

Sailfish Device tree: https://github.com/LineageOS/android...e/lineage-16.0

Kernel tree: https://github.com/LineageOS/android...e/lineage-16.0

Vendor tree: https://github.com/TheMuppets/propri...e/lineage-16.0

I don't find the file that the patch appears to create.

When I dig into the error message from the work profile install stuff -- this is what I see

> 03-11-2019 13:48:17.543 | W | main | bth | Device doesn't supports Android for Work Accounts, waiting for a minute to error enrollment PLAY_STORE_NOT_FOUND

It was based on this error message that sent me looking into what was wrong.

Anyone else having issues with this?

[edit: tonight I'll go do the upgrade to the official version.. but I suspect the same issue will persist]
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] razorloves:
Took a quick look and I think I see what's wrong. The way AFW is implemented changed in Pie.

https://source.android.com/devices/tech/admin/implement#required_apps

That's an easy fix. If I make you a build with the fix can you test it?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Spike97:
The ROM works just fine but i have some trouble with gapps aroma installer, every time i try to sideload them, i get "adb: failed to read command: No error".

FIXED by flashing mind gapps

Video for Google Camera not working, it closes the app without any error.

FIXED by removing it from privacy guard
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Andrew_Low:
Yes - I'm on the unofficial build "lineage-16.0-20190301-UNOFFICIAL-marlin.zip" right now, so if there was a straight forward patch from there - I'm in.

I'm a fairly experienced Lineage / Cyanogen person from way back - so you shouldn't have to spoon feed me too much. I hack code for a living.

I just moved from a Moto X Play (lux) to a Pixel XL -- so re-doing everything, while a pain, isn't a big deal.

Thanks!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rallyemax:
[MENTION=614507]razorloves[/MENTION]

Does the LOS built-in updater work now that things are official? I suspect not, since there is no mechanism yet to update radio and bootloader, but I don't actually remember how this was handled on the 15.1 releases...

Thanks!!!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kkjb:
Razorloves.....thank you....and YES...project Fi gapps works in this build, so Fi works ! Thanks :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pWEN:
I found some free time so I thought I'd flash the latest and greatest to my Pixel. But I'm having an issue with it not going past the "checking for updates" screen during first-time setup. Used to be that you could just hit the back button and try again, and it would work, but that doesn't do it anymore. It either kicks me back to the wifi network screen or shows the crashed app screen.

Here's what I did:

Flashed the February* firmware image to both slots

Rebooted to bootloader, then into TWRP image

Factory reset, then advanced wipe > wiped data and system

ADB sideloaded the latest version of LOS

ADB sideloaded TWRP zip

Rebooted to recovery

ADB sideloaded OpenGapps

Rebooted to system

*I chose February because I misread the filenames on the recommended bootloader and radio images and thought they were from that build.

Once I realized my mistake with the February images, I started over with the March official firmware build. Did the exact same steps, starting with flashing each slot back to stock. Once it was back into LOS, I encountered the same problem. I started mashing the "skip" button on the wifi network screen and eventually the app gave a crashed screen and finally let me skip to the fingerprint setup, and I was able to follow the rest. Once it was done, I opened the settings and it prompted me to "finish setup". Trying that brought me back to the wifi network screen, where it tried checking for updates again, and continued failing. I closed it out and set up my accounts manually.

Here are the files I used:

Pixel firmware - sailfish-pq2a.190305.002-factory-73582e64.zip

TWRP image - twrp-3.2.3-1-sailfish.img

LineageOS version for sailfish - lineage-16.0-20190311-nightly-sailfish-signed.zip

TWRP recovery - twrp-pixel-installer-sailfish-3.2.3-1.zip

OpenGApps - open_gapps-arm64-9.0-pico-20190310.zip

I should also note that I do not have a SIM card in this phone.

I'm not sure what I did wrong. The instructions are pretty basic and easy to follow. Did I need to do the unofficial-to-official steps with the "lineage-migration-signed.zip"? That seemed specific to already being on unofficial LOS 16. I think it's also too late now to grab a logcat (sorry, forgot about it); should I start over and grab one? At what point should I get it?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] razorloves:
cool. sent you a pm

yes

opengapps is like perpetually broken for one thing or another. especially on pixel 1,2,3 and a/b devices. constant issues for months.

use mtg
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] razorloves:
A correction to my previous statement... The official marlin & sailfish nightlies do include the vendor, radio, and bootloader img's. So no need to flash those separately anymore.

Updated instructions in first post.

What a relief. This is great. I know that was a big pain for a lot of users. :good:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] gfunkzero:
Awesome timing... thanks razorloves!

I have clean flashed v16 along with the gapps you linked and magisk, up and running will let you know if any issues come up, cheers
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pWEN:
Oh. Well then. That's unfortunate! I'll give MtG a shot.

This is great, because I was also wondering if I would have to update those every month!

*Edit:* Started from scratch and used MindTheGapps. No issues! Thank you!!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ZMOT7S:
Any chance wifi preferred calling works in the official releases? I'm still on 15.1 because I couldn't get wifi preferred calling on the unofficial 16.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] adm1jtg:
Well I am on the first release of official and wifi calling wont even setup, turn on advanced calling and that works fine, turn on wifi calling it clocks for a while the says to try again later.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] AndroidNoob47:
so, i'm having a very strange issue with installing opengapps

it says "This GApps pkg is for 9.0.x ONLY

Please download the correct version for your ROM: 9 (SDK 27)"
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ZMOT7S:
I got it fixed by installing this APK from Razorloves. https://xdaforums.com/showpost.php?p=77592759&postcount=206