yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
ProtonAOSP

Android 11 ROM​

ProtonAOSP is a minimal Android fork (custom ROM) focused on UI/UX and performance, with a touch of privacy.

Screenshots

Screenshots of the latest version

Installation

This ROM is currently distributed as factory images, similar to stock. Flash it the same way you would flash stock factory images. Don't forget to wipe all data using "fastboot -w" before booting the ROM.

Firmware is included, so there is no specific requirement for which version of the stock ROM you are coming from.

You can also use the quick & easy web installer, which allows you to install and update the ROM from any computer or phone without using the command line. The installer works entirely within your web browser and completes in as little as 4 minutes, depending on the speed of your internet connection. Consider using the web installer instead of installing manually.

More detailed installation instructions and guides

Features

List of current features, with accompanying screenshots and explanations

Downloads

Downloads and changelogs for all versions

Builds with and without minimal Google services (gapps) included are provided for convenience.

Using the quick and easy web installer is recommended unless you have a specific reason to download and install the ROM manually.

Support

If you have questions or concerns, please read the Frequently Asked Questions before asking. It saves time for everyone involved, especially you, and allows us to provide higher-quality answers for all users.

Website with comprehensive documentation

Join the Telegram group for support and extras

Please consider donating to support development if you found this helpful: recurring donation to keep the project alive in the long term or buy me a coffee

Kernel source code

ROM source code
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] palimatix:
Looks so tempting, downloading as I type.

Quick check - for the updates in future, would we still need to wipe data before booting if already in the previous ProtonAOSP version .

Thank you for bringing love to our pixel series ! :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Love to know what you have changed to alter battery usage before i download it, every other 11 ROM drains like a bathtub, even at idle :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] componentchunk:
According to the Pixel 5 thread this ROM passes safetynet w/o magisk. looks interesting. Downloading now!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
It may be like the other new 11 based ROM that turned up on here yesterday, and have its device name set to Pixel 5/5a to pass SafetyNet out of the box

https://xdaforums.com/showpost.php?p=83885115&postcount=12

Its not the way i would do it, but each to his own.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] twiddles:
Not booting for me. Stuck on splash screen. Clean flash of proton-aosp_taimen_11.2.0-gapps.zip on twrp-3.4.0-1-taimen then wipe data before reboot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Darian71:
fastboot flash boot boot.img (stock October). That booted it for me until he can update a fix. This ROM btw is phenomenal on battery life
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] componentchunk:
Same, I've tried flashing/sideloading from Lineage 17 and stock P/Q/R. Stuck on splash for 10+ mins before I force reboot into bootloader to retry each time
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pablo9023:
Hello. Proton is incredible. Very fast, smooth and tenacious. Tested it from the first version. Thank you very much. I want to clarify something else for myself: Do I need to flash in both slots if a stock is installed?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
No, you only need to wipe data if switching from another ROM.

I didn't do anything specific for battery; it's just that battery tends to be better on custom ROMs than it is on Pixel 2 stock, partially due to being less bloated.

My ROM reports a fake security patch level to SafetyNet so basic attestation will always pass. However, I've observed that Google has started to roll out hardware attestation for the Pixel 2, so I also modified the model name with an invisible character to revert it back to basic. The Pixel 5 name is not used.

Sorry for the inconvenience, the problem lies in a botched SafetyNet fix that was missed in testing due to not flashing all partitions. You can make it boot temporarily by flashing the stock boot image. A hotfix that boots out-of-the-box will be up shortly.

No, ideally the latest stock ROM would be installed in both slots beforehand but that's only because this build is missing firmware. A hotfix will be up shortly with the latest firmware included.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] componentchunk:
Nice, got gpay working with magisk.

Unfortunately stuck on splash after installing edxposed. This is definitely an unreasonable request but if xposed edge features could be built natively into the rom I wouldn't need xposed
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
Xposed will never be supported, you are on your own if it's broken. I wouldn't recommend using it because it can cause all sorts of weird bugs.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
A hotfix update has just been released to fix issues with a botched SafetyNet fix that caused most apps using HTTP outside of a browser to break, including Google Translate, SMS/MMS, and many others. I've figured out a new way to fix SafetyNet that doesn't come with those pitfalls, so SafetyNet is still passing out-of-the-box and apps will no longer break. A bug with sensitivity in the Active Edge settings has also been fixed, and missing firmware has been re-added so there is no need to flash the latest stock ROM first.

Re-download v11.2.0 from GitHub for the fixes. I've decided to re-upload it rather than bumping the version because the previous SafetyNet fix was very broken and also caused boot failures if boot.img wasn't replaced.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Blackfyre:
Great work, and thank you for the fast updates. Really looking forward to using the ROM when I clean format next time. Waiting for Google to release the last Security patch in December before making the jump, don't want to clean install every month. I usually stick with a ROM for a few months at a time.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
Just to clarify if anyone is confused: this is an Android 11 ROM, not Android 10. XDA DevDB has no option for 11 so I had to put 10. I've just edited the DevDB info out of the post now and added 11 to the header so there should be no more confusion.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
I am testing proton, so far its fast, snappy, and stable, one word of caution for anyone who uses my recommendations. Do not patch the boot.img as I always recommended, this landed me in a bootloop. Once I wiped the device clean, and started over (installed ROM+GAPP), then setup the device, then once setup, reboot to BL/TWRP (ADB TWRP), and installed MAGISK zip version from within TWRP, it booted fine. It only has an issue if you patch the boot.img from within MAGISK itself then ADB the boot.img. Normally this is the only method I use, but it will not work properly with this ROM (which is perfectly fine as the zip works great and passes safetynet out of the box)!

This ROM doesnt have all the goodies I am used to, BUT its a VERY decent, and stable 11 ROM so I DO recommend users to at least try it if you are looking for a decent 11 ROM. Battery life for me is on par with 10 so I do not see any major show stoppers using this as a DD. I will run it for a few days and report anything found (if anything is found), otherwise, its great.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MartinN6:
thank you very much for your assessment! I also find this rom to be very stable, snappy and the slight changes to the stock rom are very well thought out - next to perfect! big thanks to the dev krag0n!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sam0yed:
I'm coming from an Android 9 Custom ROM and I wanted to switch to this, the instructions states that it should just be a simple flash. Should I still start from a clean reinstall of stock Android 11 or does flashing this come with that already?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Stock has battery issues, all other 11 based ROMS ive tested have hadthe same battery issues. So i was asking in case you managed to find and fix the issue, because Google so far hasnt :)

I'll give it a crack anyways and see what its like, cheers

fwiw, there is no evidence that Google has or plans to force hardware attestation on Pixel 2/XL. i monitor reports of these things over in the magisk threads, and as part of my own magisk module, and theres no suggestion it will happen to Pixel 2/XL, more likely it will happen with 4+ than the old Pixel 2/XL....

Ill probably change the fingerprint back to Pixel 2/XL and Android 11, personally i dont see the point of spoofing another device when the Pixel 2/XL is still officially supported...just my opinion, no offence meant
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
My Pixel 2 XL has been getting hardware attestation in all of my tests recently if the model name is set to "Pixel 2 XL". It's possible that I'm being A/B tested and most users don't have this problem, but either way, I haven't been able to pass SafetyNet without changing the model name because of it.

Either way, I've added hacks into the system in my ROM to avoid spoofing the model name while still defying hardware attestation and passing SafetyNet despite being on a mismatching security patch level. I agree, I don't want to change the model name just to pass SafetyNet, so I've been coming up with other solutions to avoid doing that.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
double post due to intermittent ISP issue just as i posted my end, sorry

please enjoy this random kitten
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] AndroidClone:
Dang! Thanks for checking! I am wondering if I can build from source and enable it in an overlay somwhere.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Green-Bot:
I used it to uninstall some of the apps. It worked like a charm:) However, I still have 2 issues:

1. I didn't uninstalled AOSP Phone app & installed Google phone app. Hence, there are 2 icons in my app drawer. The first one is the AOSP one & 2nd icon is of google's phone app. I have attached the screenshots of all apps from debloat utility. Can you please let me know how to rid off the AOSP phone app?

2. After removing the LatinIME.apk(AOSP keyboard), I installed Google's Gboard keyboard. It has installed an icon in the app drawer. Is this a way I can get rid of this icon from app drawer?

Also, export the debloat list means the exporting the list of apps which are deleted by debloat?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
ProtonAOSP 11.3.0 is now available with security updates, bug fixes, a privacy dashboard, and many more changes.

Changes:

Download

As the ProtonAOSP project expands to support more devices, bandwidth and maintenance costs are increasing. You can help support the project and keep it alive with a recurring donation, or alternatively buy me a coffee. Everything helps, but a recurring donation is the best way to keep the project alive in the long term.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
A particular issue that I've seen several complaints about in this thread is banking apps and some Microsoft apps detecting root, which should hopefully be addressed now. The fix has at least been sufficient to make the Mandiri Online banking app work without Magisk Hide. Please let me know if some apps are still detecting root on this version.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ANDROIDISBETTER2020:
Thanks I'll try it out but note, even on official Google firmware I have to use magiskhide and hide the apps to get the apps to work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Green-Bot:
Magisk was taking care of the banking apps. However, there is one app "My JIO" which was still unable to work and detecting root before it lets us do anything. Under magisk settings, it was named Manager. I changed it to Pixel. And the app is working normally since then. Other than that, Magisk is takng care of apps as far as root status is concerned. Hopefully, it doesn't break in future.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] palimatix:
Thanks a lot for your effort. All my banking and MS apps are working fine without detecting root. And the best part.... I'm not even having magisk installed. Lean mean Proton!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
1. If you flash g-apps, generally it will overwrite the default dialler, so im not sure how you have 2 phone apps. In any event, its cosmetic, because really once you set the preferred dialler (Settings->Apps And Notifications ->Default Apps->Phone) it doesnt make any difference. If youre determined, i think you'll find its probably 5, then 17 in debloat.

Please note: this is not an invitation for everyone to ask me to track down x app in debloat....i have a life, its busy

2. Cosmetic, and no.

Yes, if you export the debloat list, as i said earlier is a list of debloated apps, which you can import via the import option if you clean flash the same ROM in the future, saves manually doing it again. Its explained in the debloat thread and in the script itself....tells where its saved to (default: /sdcard/import-debloat.txt), and where to place it after a clean flash (default: /sdcard/import-debloat.txt) if you use the import option in future. As i said, i keep a copy per ROM on my PC (under its own subfolder, so i dont overwrite them), which i then copy back to the ROM if i clean flash it and then import.

And thats the end of debloat support in this thread, it has its own thread and best to read tips and ask questions there beyond my general guide - thats where i found out how to use it :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ANDROIDISBETTER2020:
Are you saying that you do not have issues with apps detecting root but also that haven't installed root IE magisk app (or do you mean you just didn't install the magisk app itself but did root it through TWRP or patched the boot.img)? I ask because the issues with root detection and banking apps usually only happens when magisk is rooting the device (and root is present) but it sounds like you may not have rooted it. That would make sense for your apps to function normal as root isn't installed. It's unclear how you're using root/magisk so I'm not sure what you meant but that issue with root detection comes from rooting, not that OS.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] palimatix:
Correct i didnt root anything of sort, nor using Magisk hide for getting through safetynet. In 11.2, some apps needed to be hidden using MagiskHide but now I don't need that as well. All apps function and pass safety-net. it's one of the smoothest and complete A11 ROM for my taimen.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
I did a bit of further digging as to whether LineageOS supports it (LineageOS used as a base for most custom ROM's), and found references to it in build logs. But no overt mention of it anywhere else though.

Ive posted a query about it and will update you when i have an answer.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] AndroidClone:
Awesome 😎👍 thanks for the help.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
To clarify, I meant whether Magisk Hide was necessary to fix apps detecting root even when the ROM is not rooted. You will always need to use Magisk Hide if you are rooted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
As far as I can tell from a brief glance at the AOSP source code, it should be working out-of-the-box even if there are no extra options for it. Do you know of a way to confirm that without having a compatible device to pair with?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] AndroidClone:
@kdrag0n it didn't even occur to me that the feature could be enabled in the rom even though the system app is missing. I will be able to test this out tomorrow when I receive the hearing aids. I'll keep you posted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
Which app is normally responsible for it on stock?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Okay i got some feedback from some folks on LOS who say the hearing aid entry does come up in settings on LOS, but the hearing aids themselves do not connect:

I just tried it with some asha gatt protocol enabled hearing aids. No dice. I am still looking for an operating system that can enable them. if you search for hearing aid that does pop up in the settings but the menu is not enabled.

@kdrag0n

From what i saw, the support seems to be added as part of the bluetooth stack, as a protocol, the only references i found to it on LOS were in (failed) build logs....beyond that i have no idea as to how that protocol is administered on the system, thats dev stuff (above my pay grade)

So far my mate with stock Pixel 3 that i referred to earlier is the only one i know of to have it working....
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Green-Bot:
Trying to flash the dec update 11_3_0.zip via TWRP. Every time it gets sucked in dragon boot animation.

1. Enabled USB debugging

2. Remove PIN & Fingerprint security settings. None is selected as Security.

3. adb reboot bootloader

4. Fastboot boot TWRP-xxxx.img

5. Browse to the proton dec zip file & start flashing. The process gets completed without any errors.

However, I did not get passed that boot animation. And when I initiate reboot via long pressing power button, I simply land into the 11_2_0 nov version.

Also tried pushing the package into temp via adb push and tried installing via the ADB Shell TWRP command. Still going into boot animation endlessly and after reboot, I again land into the previous nov version.

I assume we could simply flash 11_3_0.zip version over the previous one without wiping our internal storage?Did anyone faced it?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neekless:
I have the hearing aids section in accessibility settings. Tapping it opens the Bluetooth pairing screen. I have settings_bluetooth_hearing_aid enabled in developer options > feature flags. Not sure if it's enabled by default.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ANDROIDISBETTER2020:
Understood, we're on the same page and basically answering two separate pieces. Your reference and OS/code fixes make them work as they should without root (when non-rooted). Prior, the apps were failing with detecting false root (when they device isn't rooted). Whereas my answer was regarding the MFA apps themselves (with root), and they must be hidden no matter what or they will not function normally and will detect root. This was that point I was driving home, MFA apps (azure, duo, O365 - which was the OP question), all must be hidden (with rooted devices) to pass the enrollment or device integrity issues will occur. I wouldn't have known that apps failed and being seen as rooted when they were not rooted, simply because I am ALWAYS rooted so it never came up.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] AndroidClone:
I am not sure.

That did it, boys! I just tested the hearing aids out as is and as expected it didn't work. I went into developer options and enabled Bluetooth hearing aids in the features flag section, repaired and they are now being recognized as hearing aids. I am able to stream audio from the phone and take phone calls! Thanks, everyone for getting to the bottom of this.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
Does the feature work fully, and does stock behave exactly the same way in terms of streaming, output, and settings? I've dug deeper and found the root cause, but it only appears to be enabled on the Pixel 3 and newer. The audio settings for Bluetooth hearing aids are also only present on the Pixel 3 and newer. So if it works, I'm not convinced that it will have full functionality.

A quick look at the Pixel 2's stock OS suggests that it doesn't support the feature either, but I can see it enabled in the Pixel 5 stock OS.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] AndroidClone:
I won't be able to test the full functionality of the hearing aids until I test them out on a supported phone. The only thing concerning is when a call phone call comes through the ringer does not stream to the hearing aids. Everything else seems to work as intended. Audio is streaming to both hearing aids and the hearing aid icon is enabled in the paired devices. On a stock pixel 2 this does not happen and both hearing aids show up as being connected instead of acting as one unit.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kdrag0n:
Thanks for narrowing it down. After further investigation, the Pixel 2 should have everything it needs for the feature to work, so it will probably be enabled by default in the next version of my ROM. From the looks of it, phone calls not streaming to the hearing aids is an intentional decision from Google as the Pixel 5 doesn't appear to have specific configuration for that either.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] AndroidClone:
Thanks for the update. I should clarify that I am able to stream phone calls to the hearing aids but the phones ringer is not being sent to the hearing aids prior to accepting a call.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mariospizza:
Is there a way to get the OCR feature on the Recents screen with this ROM?

I tried setting the latest Pixel Launcher (downloaded from APKMirror) as the Recents provider through QuickSwitch, and it gives me the "Select" option in recents, but OCR does not work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Like i said the only person i know who has it working has a stock Pixel 3 (thats not to say it doesnt work on newer devices, i just dont know anyone that has one that has an implant/hearing aid), you get it working on anything below that, or on a custom ROM at all, you'll be a hero! :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 我是十七:
从11.2安装使用了下，发现支付宝软件的最新版本，在这个ROM上无法显示内容，进入软件能够显示基本信息，但具体点击相关内容显示白屏！升级了11.3依然有此问题！望解决！感谢！

After installing and using 11.2, I found the latest version of Alipay software, the content cannot be displayed on this ROM, and the basic information can be displayed when entering the software, but a white screen is displayed when you click on a specific content! This problem still occurs after upgrading to 11.3! Hope to solve it! thank!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cydras:
With the new build with gapps i can not see calls. I get a ringtone, but no call visible.

I had clean install the rom.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] palimatix:
You need to set the phone app as default phone/dialerapp in system settings.. it'll work fine after that.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cydras:
Thanks, Dialer App is working now!

One question, i can't find always on display in settings. Is this disabled in the rom?

Apart from that everything works, and the rom ist very very fast!! Thanks for the work :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
Settings -> Display -> Lock Screen

Always show time and info

That will be $5, please send me your paypal id :)

Or $20 if youre a lazy millenial :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rob219:
has anyone got chat features to work in the Google message app? it says chat options not available for this device.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rob219:
nevermind it just randomly started working when i opened the app for some reason.