yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] fairyshacker:
Ok, thanks. so once i'm back, can i follow below steps?

EDIT:-

-Flash ROM.zip

-Flash TWRP.zip

-Flash BootSigner.zip

-Reboot system

-Setup & Boot to TWRP

-Flash SuperSU.zip

-Flash BootSigner.zip

-Reboot system

-Boot to TWRP

-Flash EX Kernel.zip

-Reboot system

Done!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rickysidhu_:
Flash boot signer after flashing twrp as well

Also, I usually flash SuperSU before flashing a custom kernel
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] fairyshacker:
I have edited above steps. Thanks for your help.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rickysidhu_:
I also like to reboot to system after flashing SuperSU

Also, you don't need to flash boot signer after flashing EX Kernel! :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] fairyshacker:
Edited, done
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rickysidhu_:
You do need to flash the boot signer after SuperSU though! But other than that your steps look correct to me :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
You don't have to flash all if you still have the rom on your internal memory.

TWRP reads no OS because you wiped system (the OS). If you turn around and just flash the rom your issues would've been solved because it flashes the rom to system (the OS). No need to flash.all if you wiped system. As you already know a factory reset is all you need to install.

You didn't mention flashing vbs, and if you have issues where you are looping to twrp it's likely a boot.img (if you did flash vbs)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Sam5678:
same thing happens to my phone

---------- Post added at 06:01 AM ---------- Previous post was at 05:47 AM ----------

i think i just bricked my phone trying to revert to stock to reflash purenexus. lol rip
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
So you can't flash to stock?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] iamjimmy:
Doing a factory reset in TWRP would wipe the data. So it wouldn't be a dirty flash.

My understanding is that if one is going to dirty flash a ROM only the cache partition should be wiped in TWRP. Of course the system partition can also be wiped if one flashes the ROM immediately afterwards since ROM overwrites system anyway.

But wiping data partition in TWRP via a factory reset would be tantamount to a clean flash.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] 3aucla1r3:
FWIW, I just flashed the June PN version on top of the May PN version with only the Cache/Dalvik/ART wipe and left the data without wipe. I went through the series with ROM>TWRP>Boot signer>reboot>Vendor.img>SU>Boot signer>reboot>EX kernel>reboot with Cache wipes after each step. Only thing I lost was the WETA 9.1 mod. Even the substratum theme stayed, everything seems fine with the dirty flash. Not saying it's for everyone or that I won't find problems later but seems to be fine so far. If anything pops up, I can do a data wipe and still have the ROM, TWRP, SU, EX and WETA remain since they're system functions not data.

Edit: had to remove and reinstall Subtratum
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] cowsquad:
I really don't understand why people have some many issues with flashing roms. All I do is wipe data,cache and system. Flash PN and TWRP. Switched slot. Reboot. Bingo. Then I flash back to recovery and flash Gaps, vendor and whatever else. Quite simple
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] iamjimmy:
That is exactly my point. When dirty flashing a ROM all one needs to wipe is the cache or perhaps system if the GApps are bundled with the ROM. The settings should stay intact after the normal cycle of flashing a ROM , TWRP , SU etc. A full factory reset in TWRP would mean one is not dirty flashing.

Glad to know that you were successfully able to retain the data from the May PN. Did you have to change slots while flashing? Did you advance fastboot the latest radio and bootloader.

Also I usually flash the vendor image separately after flashing SU, VBS and rebooting. Did flashing vendor image and SU together work for you?

---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------

I'm assuming that your data and setting are gone if you're wiping data and system?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
I think attention to detail is a lot of the issue. For instance this particular rom comes with gapps so that gets confusing. You also don't have to wipe system. The rom zip over writes system. A factory reset is going to already wipe data and cache.

You state that you switched slots which is another point for confusion since it essentially happens on it own. Not saying you are wrong in your procedure or wording it just adds more steps to question.

Not enough people are reading and add to that the vbs zip that has to be flashed.

You have people coming back from the O beta and need to flash the stock N bootloader and boot.img in both slots. Or flash all both slots.

People that don't bother reading because they have been flashing since the Nexus whatever and why would it change. Etc etc etc.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] 3aucla1r3:
Didn't do anything with radio and bootloader, no problem so far :). Yeah the Vendor image and root took when flashing them together. I think that I did the Vendor image and SU together in the May version as well and it worked fine.

By the way, the contacts app is a different version with the June image so the substratum app has to be updated so it'll theme version 2 0 9 of the contacts app.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] cowsquad:
My point was just to state that I it is quite simple. I even flash panaroid with those steps easily LOL. The only thing I cannot get to work is magisk v12 with error 1 unable to mount system
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Are you using rc2 for twrp? And the pixel magisk zip?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] cowsquad:
Yes for both
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bjorktribe:
In the Changelog, "Feature: ability to change default dialer." Anyone found this? I'm not a fan of the AOSP apps. I looked in PN settings and the phone settings. Thanks!

To clarify - looking to change the IN CALL interface.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
lil question, do i have to flash Bootloaders & Radios separately when im flashing the ROM+TWRP+Vender IMG+ Boot Signer?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Sam5678:
i managed to flash back to stock then reflash PN june it needed to be rebooted into bootloader manually after it flashed the bootloader and again after it flashed the radio.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Flash vendor after a reboot from flashing rom

Fastboot modem and radio after that
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
Thanks buddy, i've never flashed modem and radio before
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] iamjimmy:
Thanks. Saves me an extra step with the vendor flash. Coz I would always do that and reboot before flashing SU.

I haven't tried substratum themes at all so far. But I was thinking of doing a dark theme this time.

Also it seems the June ROM reverted to AOSP dialer, contacts and keyboard. I am not a fan of AOSP and prefer the Google apps. Is this as simple as installing the Google dialer, contacts and gboard from playstore and then disabling the AOSP apps through app settings?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bjorktribe:
Found it! Setting is in App Ops for those curious.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Yes. Just make sure in app settings you make the other dialer your default.

---------- Post added at 04:16 PM ---------- Previous post was at 04:15 PM ----------

App ops as in permissions?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] 3aucla1r3:
That last part I'm not sure about but looks like the post above this one has found how to change the dialer.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bjorktribe:
Whoops! Took you too far: Settings > Apps > Settings Cog. Look under the "Default" header and change the Phone app.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] iamjimmy:
Thanks. I used to think that bootloader and modem should be flashed prior to the ROM. That is maybe old school coming from flashing ROMs on N6.

But like in Google's flash All bat file, basically adb flash bootloader. Reboot to bootloader. Adb flash radio. Reboot to bootloader. And then boot to TWRP and flash ROM, TWRP etc

I always thought ( maybe I am wrong here ) that the bootloader and the radio should be in the same slot as the ROM. But if we reboot and fastboot the bootloader and radio after flashing the ROM, don't they get flashed in the other slot where the ROM is not active? Thanks.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
I could always do that, are you sure? If you have two installed this screen stock is the same.

---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------

On the pixel if you start in slot b, wipe, flash rom, at next boot you will be in slot a.

This is because the rom (like otas do stock) flashes to the inactive slot. So if you flash kernel, bootloader, radio, modem, su, etc etc the same time as the rom, you are flashing to the wrong slot because everything else flashes to the active slot.

The only caveats are twrp zip and vbs

You need to reboot once so the inactive slot becomes active then flash what you need to flash.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
Flashed -Flash ROM.zip

-TWRP.zip

-BootSigner.zip

-Reboot system

> No OS installed. Evrytime reboot back to TWRP.. Any help?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Have you tried flashing again?

What version of twrp are you using?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
Yep several time. I've tried with both twrp-3.0.2-0 and 3.1.0 as well :crying:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
are you fastboot FLASHing twrp or BOOTing the twrp img?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
now this how my internal storage shows up .. happened just now.

I flashed the TWRP.zip filed via TWRP. Didn't go through that whole boot twrp.img and flash twrp.zip again.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Is there a picture I'm not seeing here?

I need your exact steps from fastboot of the twrp to the boot loop at the end.

Edit: I can see the screen shot now. Your os is encrypted.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
yes but i decrypted it while booting to TWRP..

those were my steps

-Flash ROM.zip

-Flash TWRP.zip

-Flash BootSigner.zip

-Reboot system

-Boot to TWRP

-Flash Vendor.img

-Flash SuperSU.zip

-Flash BootSigner.zip

-Reboot system

-Boot to TWRP

-Flash EX Kernel.zip

-Reboot system

But still no OS error and reboot back to TWRP
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] cowsquad:
Just switch to other slot. You will get the same message but reboot the phone it will boot up
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
What steps did you use to fastboot twrp to get recovery in the first place

---------- Post added at 05:43 PM ---------- Previous post was at 05:40 PM ----------

That's the thing tho. His device should swap slots automatically.

Rebooting into twrp is a symptom of fastboot flashing the twrp img.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] cowsquad:
It does not. It happened to me today. I flash pn and it gave me the no is installed so I reboot to slot b. It gave me the same message but I rebooted and everything went fine
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Then there is an issue with your slot. That will likely still be a problem at the next flash.

It also does that when you wipe system, either way it's not normal if everything is flashed correctly
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
i didn't even touch fastboot commands bro. i just transferred files to phone then flashed according to above noted steps. Again tried and no luck, manually switched slots also..
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
You're not understanding what I am saying. How did you get twrp on your phone? Do you remember the exact steps because if you fastboot FLASH the twrp img when you started. Twrp will work but you over wrote the whole boot.img. so you won't be able to boot into the OS.

IF that is what you did.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
Aha. After i unlock the bootload i did > fastboot boot path/to/twrp.img > flashed twrp.zip. Is this what you asked for?:confused:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Yes. I would recommend fastbooting your stock boot.img

To both slots then fastboot boot twrp.img again.. Make sure you are fastboot booting the img
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
highly appreciate your help. will do that and let know the progress :good:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Np, I hope it does work and please report back.

---------- Post added at 10:03 AM ---------- Previous post was at 09:59 AM ----------

I used some mixed wording but just remember fastboot flash the (stock) boot.img

Fastboot boot the twrp.img

Just wanted to clarify for anyone else that is curious. Sounds like you got it though.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] freddienuxx:
nice thank you
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] wiseguyy:
Can I flash this over Weta
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Paz9:
So you have to set up both slots fresh im assuming?
[MENTION=418212]beans[/MENTION] any possibility to disable flag_secure system wide?

Really annoying when im trying to screenshot and it tells me im unable because its protected.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rickysidhu_:
Probably not since the instructions for flashing this ROM include a factory wipe.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bajasur:
OK Google is working flawless for me with screen on and screen off with the Google beta app.

Are you subscribed to the beta program for the google app? I am having zero issues with OK Google not working
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Archangel:
That would be awesome if it were working,,,,I came from weta 2.0 which is an older firmware but I followed one of the post earlier which I think was yours with regard to flashing the bootloader and vendor in order to avoid mismatch problems. Pure Nexus loaded fine and everything is working except for Google app when screen is off and not plugged into a charger. I did sign up for the google beta program and am running 6.10.33.21 arm64,,,is that the latest?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ct_tec313:
I am encountering the same issue as well everything works I am on the latest firmware and it's still not working for me as well so it's not that we didn't follow instructions I flashed the ROM with zero issues and I have installed the latest Google app
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Archangel:
Yes sir,,,about the only thing I could do from here is to load the entire V firmware from scratch, set everything up from scratch and see if there is something that didnt line up correctly. Weird thing is when I go to settings>voice detection inside google app the options grey out real quick then light up as if I just checked them off?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ct_tec313:
Well your not alone there's definitely something going on... I was going to do the same thing but I didn't want set everything up for it to be the same issue
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Archangel:
I hearya thats a lot of setting up just to see if something works. I will wait a little bit and see whats what.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] D0CTOR:
Deleted
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Archangel:
Yeah there is a difference between the Google app on stock and this rom. In Stock it says it works while screen is off and the same Google app in this rom it says something different. It used to be due to build prop mods but I don't think it is that easy.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] elreydenj:
Same here. No chime.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] mannyalba:
For those that Ok Google isn't working when the screen is off and not charging, try first with the latest beta Google app and then disable "ok Google enrollment" in battery optimization, it should work after that.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] jamiejames:
Didn't work for me. Even tried clearing data, restart, retrain.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] elreydenj:
Trying that now. There has to be something (i bet it is so darn simple) that we arent seeing that conflicts or we are leaving out. (for those of us who dont have it working.....)

Edit: didnt work for me either.... Still cant get Ok Google hotword to work from within any app.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] TheUndertaker21:
I got two random reboot last night. I don't use any custom kernel. It rebooted whole I was using it then while I was on daydream. It hasn't rebooted since then though so.. ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] yahya1054:
Yes fresh install so you go from one slot ROM set up data accounts etc..then backup data twrp, wipe data & go to other slot do the same. Not that great of having slots work that way but it is what it is:fingers-crossed:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Mike02z:
Why not do a logcat when using daydream so the dev can look into it faster?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bajasur:
That's the version I am using. I skipped the setup during install and let up my apps update turn I enabled it from within the Google app and it's working perfect
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rickysidhu_:
When I said remove the -w to keep your data, I meant internal storage (so he could transfer all his media to his PC) before factory resetting in TWRP.

Also, I didn't know he wanted to dirty flash, I was just providing some help to get him booted with PN.

---------- Post added at 06:10 PM ---------- Previous post was at 06:06 PM ----------

Whenever I go advanced wipe and wipe system, that's when I get the no OS installed message, but when I swipe to factory reset, I don't - so that's why I recommended he flash-all just to get a fresh start and then repeat steps for PN, but with only swiping to factory reset.

You are more knowledgeable than me so you can probably provide better help, but I was just letting him know what I would have done in a situation like that (even though it may be a bit over the top/extra lol).
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
You're right about wiping the system. Going flash all isn't a bad idea but if time was a factor sometimes flashing certain portions of a firmware can restore functionality.

The other concern is even though the users can return to stock. We still hadn't found out the root cause so it could happen again
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] b4u2:
I'm about to move up to June in the hope it fixes my issues. Downloading Rom and vendor img now.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
Finally !!!!:laugh::laugh: You both [MENTION=1995200]cowsquad[/MENTION] and [MENTION=1164081]pcriz[/MENTION] are correct because yes i had to manually switch to other slot even after a reboot. What i did was i went back to MAY stock (because i was lazy to download JUNE one)

-Fastboot flash JUNEbootloader xxx.img

-Fastboot flash JUNEradio xxx.img

-Restart bootloader

-Booted twrp 3.0.2 img> flashed twrp 3.1.0 zip

-Reboot to recovery

-Flash ROM.zip

-Flash TWRP.zip

-Flash BootSigner.zip

-Reboot to recovery

-Boot to TWRP

-Flash Vendor.img

-Flash SuperSU.zip

-Flash BootSigner.zip

-Reboot to recovery

-Boot to TWRP

-Flash EX Kernel.zip

-Reboot system

Thank you both of you guys !!!!!:good::good:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Did you have the no OS warning? On the working boot you had to swap slots manually?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] crazykas:
no buddy no either "no OS warning" or "had to swap slots manually". But like i mentioned before i had to go back to stock for clean flash because i've massed up something before thats why i had those errors
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] shizumie:
So this is (I'm sure) a stupid question. I haven't updated bootloader, so no need for vbs. Though it seams time. I have ran the flash all before, and once tried to remove the ( - w) but it didn't work when I did. So i just ran again without editing anything.

My Q: do I delete the - w and 1 space before or after, or just the - w and nothing else?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
It shouldn't matter if you delete the space or not since there is no command present either way.

---------- Post added at 07:20 PM ---------- Previous post was at 07:20 PM ----------

Awesome glad you got it figured out.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] b4u2:
I'm going to use April Bootloader still and hope it all works out...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] shizumie:
As i am downloading june stock img flash all, i was curious if i should update any of these. I am using

SR3 Super SU v2.79

twrp vsn 3.0.3.0 RC1

with the new bootloader requirements (signing) should either of these be updated to a diff version?

also is the VerifiedBootSigner-v8zip what ill be wanting to use?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
I think the V8 vbs needs twrp rc2, so version 8 of vbs and RC2 of twrp

---------- Post added at 07:52 PM ---------- Previous post was at 07:46 PM ----------

https://xdaforums.com/android/software-hacking/signing-boot-images-android-verified-t3600606

The boot partition needs to be signed on any bootloader May and newer.

This means if you flash anything that modifies the boot.img then you need to resign it. This includes but not limited to SuperSU, magisk, twrp..

So if you are familiar with flashing prior to May, just make sure the vbs zip is the last thing you flash when rebooting/booting from twrp. It has a built in check that tells you if signing is required. Using the volume buttons you can choose not to sign or to force resign. So far I have always forced resigning because of my whole ignorance of the situation but it doesn't cause an issue to sign again so ymmv

Old flash

ROM, TWRP, Reboot, SU, TWRP

New Flash

ROM, TWRP, VBS, Reboot, SU, TWRP, VBS
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] b4u2:
This one? https://dl.twrp.me/marlin/

twrp-pixel-installer-marlin-3.1.0-0RC2.zip

I'm on April bootloader so I shouldn't need the VBS right?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Yes

---------- Post added at 11:56 AM ---------- Previous post was at 11:55 AM ----------

You can flash the L build, you will just need the B vendor.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] shizumie:
Following link and selecting rc2 I get 2 download able links. Rc2 and a pgp signature twrp rc2.

Do I just use top? Or do J need both?

Edit: I see now it's just to verify authenticity