yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] bjrmd:
Tutorial

Using Neutron player and it’s custom Usb driver to play Google music.

Requirements:

Neutron player

Bubble Player

Working tethering if you are not in a wifi zone.

Rational:

The current android usb-c audio driver defaults to max digital gain of the dongle, causing higher distortion than if it was set to a lower gain. The Pixel Gain control app addresses this. If you have root, this is the way to go.

If not rooted, there is a bit of a workaround that will be discussed here.

Basically we are going to use Bubble player to expose the Google music library/playlist for Neutron player serving as the front end. Neutron will play DLNA streams and will see Bubble as such.

Advantage-custom Usb driver to minimize distortion and allow custom sample rates not available in android (Pixel at least) such as 44.1 or 96 Khz if the Dac supports it.

All the great features of Neutron-up to 20 band parametric equalizer, crossfeed, surround.

Disadvantage- cumbersome workaround, you will lose headset non music audio while the Neutron driver is active (system notification, ringtones, phone).

Install both apps.

It is best if you have some playlists in Google music or radio stations already set up.

Bubble setup:

Enable local media server and advertise on lan.

Under Google music, enable + remote browsing.

Under Cloud, Google Music- refresh and choose playlists.

Set media volume ¾ of the way up in settings.

Open Neutron

Audio hardware:

Choose generic driver, not 32 bit out, Direct USB Driver

Tap on Direct Usb driver and make sure Volume control is off.

Choose follow source frequency

Go to Sources

Hit the + button

Choose DLNA:

Choose Bubble

Choose Stations

Choose Playlists

Hit the check button

Back out to Neutron Playlist menu

Here they are

Choose a playlist and start playing.

Go to the gain/equalizer screen.

Note the Dac setting bar on the right. That is the way to adjust the Usb Dac. Keep the slider less than 2/3 down from the top if possible.

Keep android volume high to compensate:

After a quit/reboot, you need to be on a wifi or hotspot, restart Bubble, open Neutron, go to sources. It may also be necessary to repeat the process of adding the DLNA server and all that follows

You may need to refresh the Google playlist/files from Bubble if anything changes in your Gmusic.

Proof of concept

Elimination of distortion playing a streamed 1kHz sine from Google on line, with Neutron:

Stock:

Neutron driver:

I am probably forgetting a fair amount of detail.

Will add to instructions as needed.
[Google Pixel 2 XL Guides, News, & Discussion] jasenko:
I guess it is worth mentioning, the only way to change the volume is via Replay Gain button. Maybe I pressed something wrong, but changing volume with a button does nothing.

I also could not find and do "Set media volume ¾ of the way up in settings." in BubbleUPNP. Any chance you can point this out.
[Google Pixel 2 XL Guides, News, & Discussion] bjrmd:
The volume slider on the equalizer screen controls the Dac gain. I thought that the volume rocker would handle the Android volume but it doesn't appear to.

Let me speak to the developer for clarification.

Thanks.
[Google Pixel 2 XL Guides, News, & Discussion] robobub:
I was interested in using the pixel dongle both for portable use and for travel from a laptop. Is the digital gain controllable from windows / linux? Is it simply the volume on that device, or something else? How about forcing selection between 3 impedance modes?
[Google Pixel 2 XL Guides, News, & Discussion] bjrmd:
You can't force the voltage change to my knowledge, it depends on the headset impedance. If you are using linux, then you can adjust the digital gain with Alsa (that's what I do in my app on the Pixel).

You won't find a better Dac at this price either.
[Google Pixel 2 XL Guides, News, & Discussion] robobub:
Nice, would love to find a way to do it on Windows as well. I'll look around as well
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Mod edit: Thread closed on request of OP @Homeboy76! Oswald Boelcke, Senior Moderator
[Google Pixel XL Guides, News, & Discussion] Papote3:
at #5 why do I need to wipe data if coming from 8.0.0? or is it just a precaution?
[Google Pixel XL Guides, News, & Discussion] jk8260:
FWIW, I am on 8.1 from 8.0 Nov patch and did not factory reset, just flash-all with -w removed (actually I run each command in that file myself). Everything works fine and no data/app loss...
[Google Pixel XL Guides, News, & Discussion] Papote3:
Yeah that's what I thought. I think he just writes it just as a precaution, in case anything goes wrong on 8.1, first factory reset and then write the problem if it still persist
[Google Pixel XL Guides, News, & Discussion] ekowwillis:
Supersu or Magisk

Which rooting method is best for the Pixel XL. Supersu or Magisk:confused:
[Google Pixel XL Guides, News, & Discussion] Juhler:
Update worked like a charm on my standard Pixel.

But somehow TWRP will not decrypt, keep asking for password even though I always had a pattern which worked flawlessly in TWRP. Any suggestions so I can get rooted again?

EDIT: After a few password attempts, removing the password altogether worked. When installing TWRP.zip the command window says E:This TWRP does not have synthetic password decrypt support, that must be why I had problems.

EDIT2: SuperSU does not seem to work :(
[Google Pixel XL Guides, News, & Discussion] HACK3DANDR0ID:
Password Encryption isnt working on the new TWRP3.2.0 gotta wait for an update or remove passwords all together...
[Google Pixel XL Guides, News, & Discussion] AP2FTW:
Supersu wasn't even in my app drawer after flashing the zip so after rebooting I just went into the zip and installed the apk manually
[Google Pixel XL Guides, News, & Discussion] rfranken:
Thank you for this thread....it worked. I did #9
[Google Pixel XL Guides, News, & Discussion] Droid1019:
Can confirm #10 works like a charm. Thanks for the separate thread. Both your guide threads should be stickies.
[Google Pixel XL Guides, News, & Discussion] NepoRood:
Just use adb sideload...

If you want to keep all your data, just sideload the OTA via adb, instead of flashing the full factory image...

My Steps:

1) Flash stock boot.img (November for me, I used TWRP)

2) Reboot recovery

3) Choose: Apply Update from ADB

4) adb sideload marlin-ota-opm1.171019.011-9e7f2bb8.zip

5) reboot system

6) set screen lock to "none"

7) copy twrp-pixel-installer-marlin-3.2.0-0.zip to your internal storage

8) reboot bootloader

9) fastboot twrp.img

10) Install: twrp-pixel-installer-marlin-3.2.0-0.zip

11) reboot recovery

12) Install: SR5-SuperSU-v2.82-SR5-20171001224502.zip

13) reboot system

14) profit!

If you knew this, great, if you didn't, you do now :good:

Regards,

Nepo
[Google Pixel XL Guides, News, & Discussion] NepoRood:
I did not flash those, I have no real need for either...
[Google Pixel XL Guides, News, & Discussion] cirenj:
Everything went well up to "erasing userdata"..... its been stuck there for 5 min... any advice?

Cancel that....Just finished...
[Google Pixel XL Guides, News, & Discussion] badabing2003:
Thanks

Don't you need stock recovery to be able to apply OTA?

I don't see a step doing that, and I suppose you're on TWRP, or were you already on stock recovery?

If so, then better make that a clear step.
[Google Pixel XL Guides, News, & Discussion] NepoRood:
That's covered with Step #1, friend

Since boot and recovery are on the same partition, flashing stock boot will give you stock recovery. I flashed my stock boot using TWRP, however, it can be flashed via fastboot as well.

AFAIK, this can be done for all updates (I've used this method since Oreo came out), it's just like taking the OTA from Gooble, you just download it yourself :good:

Regards,

Nepo

PS, I did flash full factory image when upgrading from Nougat to Oreo, just FYI
[Google Pixel XL Guides, News, & Discussion] badabing2003:
Thanks for the clarification, didn't know that was the case.

I never flashed boot using twrp, would it do it for all slots, I guess it would.
[Google Pixel XL Guides, News, & Discussion] xomikronx:
Is anyone getting this error?

wiping userdata...
/usr/local/bin/mke2fs failed with status 1
mke2fs failed: 1
error: Cannot generate image for userdata

I'm using the wipe option, but haven't ran into this one before.
[Google Pixel XL Guides, News, & Discussion] NepoRood:
I don't know exactly what causes this, but I was using Ubuntu 17.10 when it happened to me. Just use my steps here for side loading the OTA (can also be found in OP under #7) and you should be good to go.

I don't use Magisk, custom kernels or need to pass safetynet, if you do any, or all of those, YMMV
[Google Pixel XL Guides, News, & Discussion] Ermacaz:
UPDATE-suhide-v1.09-20171001222116.zip working for me so far on 8.1 alongside SR5-SuperSU-v2.82-SR5-20171001224502.zip. First time I flashed suhide I booted fine but upon reboot I bootlooped. Reflashed 8.1, supersu and suhide and so far no issues after several reboots...
[Google Pixel XL Guides, News, & Discussion] Valkyrie743:
Getting this after rebooting. Updated from 8.0 to 8.1 with ota zip. Installed elementx kernel and magisk. Have root and everything is working perfectly but I just get pop up if I reboot or power off then boot the phone. How can I fix this
[Google Pixel XL Guides, News, & Discussion] Gordietm:
Thanks, there already is an unofficial marlin posted on G+ but it's not a 100%.

This one works perfect and has all the latest commits?
[Google Pixel XL Guides, News, & Discussion] :
Yessir glad u like I fixed camera issues and a few other things I'll maintain it for a while if everybody would like
[Google Pixel XL Guides, News, & Discussion] Gordietm:
Will you post it in G+?
[Google Pixel XL Guides, News, & Discussion] :
Na I don't have Google plus u can if u want. Nitrogen is going now hopefully all goes well
[Google Pixel XL Guides, News, & Discussion] Gordietm:
No, I won't. Someone else has theirs posted. It includes gapps I assume. Just flash and go?

And please maintain it for awhile if you can, thanks so much.
[Google Pixel XL Guides, News, & Discussion] :
No gapps aren't included next build will as soon as I'm finished with nitrogen I'll fix
[Google Pixel XL Guides, News, & Discussion] Gordietm:
I can use razorlove's gapps?
[Google Pixel XL Guides, News, & Discussion] :
Yes if u have anymore questions pm me don't wanna take up this thread to much
[Google Pixel XL Guides, News, & Discussion] :
Cannot share there because of du laws with xda and I'm sorry we took up so much of ur thread. I wasn't trying to. I'll delete the post sorry
[Google Pixel XL Guides, News, & Discussion] :
U can keep it there I just can't make a rom thread
[Google Pixel XL Guides, News, & Discussion] saverio_22:
how to find fastboot folder

Hi everybody!

in #4-D (Copy the following files to the platform-tools folder or the folder that fastboot is in.) How can I find one of these folders?

I use windows!

Cheers
[Google Pixel XL Guides, News, & Discussion] saverio_22:
I have the latest version of android tools but from File Explorer on my computer I cannot find such a folder named "platform-tools".. I'm sorry for that but could you please provide me some more information?

Thank you very much!
[Google Pixel XL Guides, News, & Discussion] daddy2be2013:
Twrp errors cannot install roms

Hi i recently bought a new pixel xlon oreo 8.1 i recently unlocked the bootloader and installed twrp via fastboot then installed twrp installer zip via twrp after that i backed up my stock image via twrp then i wiped data internal storage ect to clean install a custom rom and kernels ect but im getting errors installing any zip files cannot install roms
[Google Pixel XL Guides, News, & Discussion] Rajaasim1980:
I have Pixel XL on 8.0 rooted with custom twrp recovery . Can i simply flash stock factory image of 8.1 ? or do i need to flash stock recovery and need to be unrooted before flashing 8.1 image?
[Google Pixel XL Guides, News, & Discussion] Rajaasim1980:
Thanks mate so just flashing stock firmware will remove root and replace TWRP with stock recovery?

and also for keeping data you said

" Edit flash-all. bat: Remove -w "

How to edit this "flash-all. bat" which is just 1kb size in firmware zip and where is "-w" which we need to remove?
[Google Pixel XL Guides, News, & Discussion] hosho:
hi

i did all the steps from the beginning of the thread to root and install Magisk. However a new OTA is available and the phone does not want to download and install it. It says "Couldn't update Installation problem". Did i do something wrong? How can I have the phone rooted and keep OTA. Magisk says that it passed the safetynet check.

Thank you all
[Google Pixel XL Guides, News, & Discussion] mochamoo:
A downloaded ota will not work because you aren't completely stock if you are rooted. Go back and read the OP again.

Sent from my Very Silver Pixel XL 128GB
[Google Pixel XL Guides, News, & Discussion] hosho:
Rather than saying that you could pin point the problem if you want to be helpful (or if you can be helpful). If not you are better off refraining from answering as you transmit no information, there's no learning value, and you waste thread space.

I did followed the steps. OTA is not working anymore. Was that supposed to happen? If yes then that's fine. If not how do i fix it. Member shampoo please refrain from answering.
[Google Pixel XL Guides, News, & Discussion] badabing2003:
There isn't more accurate statement than

You complain that he hasn't provided you valuable information.

I disagree.

If you have a problem reading and understanding perfectly clear OP instructions, what makes you think that you would have understood any better whatever else he might have provided you?

You cannot receive OTA with a modified phone.
[Google Pixel XL Guides, News, & Discussion] muppetmaster916:
P dev preview 1 was just released if y'all want something new to argue about.
[Google Pixel XL Guides, News, & Discussion] kmcrane:
I am new to the pixel xl.

I have a stock google pixel xl with march 8.1

i have tried the following 3 times and gotten the same results. I am probably missing a step.

1 i unlocked bootloader. all good.

2 flashed latest twrp img then installed (flashed the latest twrp) reboot recovery

3 install magisk 16.0 and reboot phone.

at this point i believe i have a rooted stock 8.1. i can use rooted aps and i can grant permission.version.

I have always ran ex kernel (since xoom days) so i reboot to recovery and flash the latest (march security)

then when the phone boots up there is no more root and magisk says its's uninstalled. i try to boot to the recovery and phone just goes dark(or off) forever.

I then fastboot and start over.

ex's forum says to flash kernel and reboot. am i suppose to flash something after?

i have only had the phone for 24 hours. But i believe i had 100%perfect stock rooted 8.1 working great 3 times and then installing a custom kernel

ruined my set up.

i would like to try a couple roms out eventually. but stock rooted with ex is where i planned on being while i get use to my new phone.

Thanks Kevin
[Google Pixel XL Guides, News, & Discussion] kmcrane:
thats what ive done #4 wipe(2 times) keep (once)

then #7...

follow it . all th way to the letter "L" if i quit im rooted and great. Right?

if i continue past "L" thats where i install ex kernel.. its all down hill from there.

maybe i'llgo to sleep.. wake up and look at it all over a new.
[Google Pixel XL Guides, News, & Discussion] unhappybirthday:
Install custom kernel before magisk. Works for me.
[Google Pixel XL Guides, News, & Discussion] badabing2003:
After all that, why are you flashing March security again?

That step removes root, magisk, recovery...
[Google Pixel XL Guides, News, & Discussion] kmcrane:
I wasn't clear. I'm saying that i have the error.. No root.. And phone won't boot to recovery.. So I flash March to get a clean start and try again.

I wouldn't flash March again if the ex kernel part worked. :)
[Google Pixel XL Guides, News, & Discussion] kmcrane:
Yes everything is great! It's written perfectly now. :)
[Google Pixel XL Guides, News, & Discussion] NickyKnuckles:
Although I've followed you guys for years, This is literally my first time ever writing anything on XDA. I love the structure and generosity, coupled with the occasional "friendly fire". I'm one of those unfortunate souls that is taking it in the shorts from Verizon, yet again. (First, Moto Z force. Now, Pixel XL with locked bootloader.)

I'm that fricken kid on Christmas Eve...... But Christmas never comes.:laugh:

Anyways, not for nothing, cause I'm as rookie as rookie gets. But, shouldn't you be using the "Marlin" vs the "sailfish"? Or should I just shut my mouth, and pay better attention?

Hopefully, someday, I'll join you boys in "rooted Pixel XL land".

Until then, I appreciate your time, patience, and professionalism.

Have a good day.
[Google Pixel XL Guides, News, & Discussion] NepoRood:
Not quite sure what you're getting at, lol.

Verizon locking the bootloaders on their devices is major BS, but it's been going on for years, apparently there's a way to unlock it now though, if you want to risk it.

The Pixel and the Pixel XL are basically the same device, only difference is the screen size/resolution...
[Google Pixel XL Guides, News, & Discussion] saverio_22:
Passage 4

Hi guys!

I start by apologizing if maybe I'm asking silly question but I'm a beginner in this world.

The passage number 4 is not very clear to me! I just would like to have the root on my pixel (without any custom rom).. is it therefore necessary passage number 4? After unlocked the bootloader, can't i just flash TWRP and Magisk, without installing a factory image?

In the case i mandatorily had to do passage 4: how can I edit "flash-all.bat" removing "-w"; and the command prompt to be opened, has to be opened in the fastboot folder in which i have all the needed files?

Thank you very much for your assistance!

All the best
[Google Pixel XL Guides, News, & Discussion] saverio_22:
Hi, I don't understand how can i edit "flash-all.bat" in order to wipe or not my data.

Thanks
[Google Pixel XL Guides, News, & Discussion] TonikJDK:
Open it in notepad. Find the -w near the end, remove them and one of the spaces and save it.
[Google Pixel XL Guides, News, & Discussion] paco8:
Hello again! So, did anyone here manage to root the new Android P DP? I just love to follow this thread when flashing the latest version. Your instructions are the best, you make the process so much easier to understand and I'm not afraid to brick my device anymore. :D Thanks!
[Google Pixel XL Guides, News, & Discussion] hdoraemonk:
There's an internal problem with your device. Contact your manufacturer for details.

Anyone had this warm after rooting?
[Google Pixel XL Guides, News, & Discussion] unhappybirthday:
Effect of a custom kernel.
[Google Pixel XL Guides, News, & Discussion] unhappybirthday:
Elemental on 8.1 stock ROM will cause this message to appear upon boot (at appearance of GUI before decryption passcode entry). No other issues beyond the warning. Don't know about other kernels...
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
Here is my issue. I am seriously going back to stock and staying there. Here is my error installing the factory IMG, any thoughts on how to resolve?

On March resurrection remix, TWRP 3.2.1.2, BL unlocked in fastboot, magisk 16.0.

Microsoft Windows [Version 10.0.16299.309]

(c) 2017 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>flash-all

target reported max download size of 536870912 bytes

sending 'bootloader_b' (32248 KB)...

OKAY [ 0.887s]

writing 'bootloader_b'...

(bootloader) Valid bootloader version.

(bootloader) Flashing active slot "_b"

(bootloader) Flashing active slot "_b"

OKAY [ 10.157s]

finished. total time: 11.050s

rebooting into bootloader...

OKAY [ 0.050s]

finished. total time: 0.053s

< waiting for any device >

target reported max download size of 536870912 bytes

sending 'radio_b' (57320 KB)...

OKAY [ 1.449s]

writing 'radio_b'...

OKAY [ 0.851s]

finished. total time: 2.305s

rebooting into bootloader...

OKAY [ 0.050s]

finished. total time: 0.053s

extracting android-info.txt (0 MB) to RAM...

extracting boot.img (29 MB) to disk... took 0.213s

target reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'boot_other.img'

archive does not contain 'dtbo.img'

archive does not contain 'dt.img'

archive does not contain 'recovery.img'

extracting system.img (1761 MB) to disk... took 33.210s

archive does not contain 'system.sig'

extracting system_other.img (551 MB) to disk... took 9.561s

archive does not contain 'system.sig'

archive does not contain 'vbmeta.img'

extracting vendor.img (251 MB) to disk... took 3.914s

archive does not contain 'vendor.sig'

archive does not contain 'vendor_other.img'

wiping userdata...

CreateProcess failed: The system cannot find the file specified. (2)

error: Cannot generate image for userdata

Press any key to exit...

What else do you need to know?
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
I want to keep data?

I redownloaded the March Marlin file from Google Factory images. Now I am missing, see below. I did extract the img to my mimimal adb and fastboot. I definitley want to wipe, and go factory after all of this. I attached screenshots of the files I have from Goog factory IMG.

extracting system.img (1761 MB) to disk... took 38.538s

archive does not contain 'system.sig'

extracting system_other.img (551 MB) to disk... took 11.788s

archive does not contain 'system.sig'

archive does not contain 'vbmeta.img'

extracting vendor.img (251 MB) to disk... took 5.306s

archive does not contain 'vendor.sig'

archive does not contain 'vendor_other.img'

wiping userdata...

CreateProcess failed: The system cannot find the file specified. (2)

error: Cannot generate image for userdata

Press any key to exit...

Better yet, what files do I need to have in my adb and fb folder to flash, before I start flashing?
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
I'll pay you to get me back to a functioning RR. :) Interested?
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
abso****ingoultley!
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
Homeboy76 are you getting my messages?
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
Here ya go.
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
Oh, I am lose baby!?

Actually I laugh a lot.
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
Here ya go.. LMK if it is okay.
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
Seriously it's all good. I am sure some of it looked panicked. Thanks for your help!
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
Done
[Google Pixel XL Guides, News, & Discussion] luckyluke113:
Unbrick!

Hi,

If I lock the bootloader before flashing the factory image, are there any luck to "unbrick" the phone? :(
[Google Pixel XL Guides, News, & Discussion] Scottay5150:
EDIT: I'm going to give it a few days to settle in. Then I will report back with any issues with more detail.
[Google Pixel XL Guides, News, & Discussion] b4u2:
I'm on Benzo ROM 8.1 March update currently. Having a few issues so I want to go back to stock to see if it's my device or something else. What point would I start in the instructions?
[Google Pixel XL Guides, News, & Discussion] b4u2:
Twrp 3.2.1-2 Slot A

I downloaded factory image and extracted to my adb folder. Unzipped it. Booted into boot loader. Ran Fastboot devices and I got my serial number. Ran Flash-all with the -w removed. I keep getting error about archive does not contain boot.sig, boot_other.img, and recovery.img

I followed all the instructions and have no idea what these errors mean.
[Google Pixel XL Guides, News, & Discussion] unhappybirthday:
You will see some errors. The script is generic for all Google devices and some don't apply to pixels.
[Google Pixel XL Guides, News, & Discussion] b4u2:
I finally got it all working and back on stock 8.1 I have no clue why it was so hard but after about 4 hours it's finally done.