Remove All Ads from XDA

[ROM][8.1.0_r1] AOSP Oreo for OnePlus One [Beta 5]

385 posts
Thanks Meter: 2,318
Post Reply Email Thread

#include <std_disclaimer.h>
 * Your warranty is... still valid?
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
Now that I'm done saving my butt, let's proceed

Flashing and updating

Clean Install
- Backup all your data (Important)
- Wipe /system, /data and cache.
- Flash the ROM + GApps (Download link below)
- Reboot

- Install ROM + GApps
- Reboot

Note: The ROM does support MultiROM, but I do not support custom kernels and mods at this point.

Issues and reports
Before submitting a crash/issue/bug, make sure you:
- Are not using a custom kernel
- Are not using any mods.
(In case you are, make sure it's unrelated to the issue and mention it)
Submitting issues
Make sure you mention which build you're using and upload a:
- Logcat
- Dmesg/last_kmsg (optional)
Share a logcat using adb or an app like CatLog.

Frequently asked questions
Q : Is root access included into AOSP?
A : No it is not. It is however available via adb. Some testers have had success with Magisk too.

Q : Can I flash ABC mod? Does the ROM support it?
A : Yeah sure, but I will not support you. And no, the ROM probably does not support it.

Q : Can I flash XYZ kernel?
A : No, there's a fair number of kernel changes from Nougat to Oreo. Thunder kernel is compatible with oreo.

Q : What GApps should I flash?
A : I'm really not sure, you tell me

Q : Is the ROM suited for daily usage ?
A : Using it as a daily driver

Q : I see errors during the installation, is it normal ?
A : If it is E:unknown command [log] , ignore it for now

Q : I used unofficial oreo opengapps and it says that the android version doesn't match
A : According to a few people, mounting system before installing gapps lets it install. I haven't tried gapps myself though.

Q : I have FCs on GApps/I can't sign in! What should I do?
A : This is an issue starting from r21. Please boot without gapps, flash gapps and update play services and play store from apkmirror.

Q : It says "No OS installed" when I try rebooting from TWRP. What should I do?
A : Just reboot, it's normal.

A : I only post updates when there's a decent list of changes. I'm a college student and there's only so much I can do. Please do not spam my PM regarding this.
I will not respond to any messages demanding ETAs

ROM: ROM Download (BasketBuild|AndroidFileHost)
GApps: Unofficial by @deadlyindian

About the builds
Device Tree:
Kernel Sources:
AOSP Sources : Repositories available on

Thanks to:
- Google/AOSP for Android 8.0
- @AdrianDC, he's helped me a LOT right from preview stages.
- @forkbomb444 and the LineageOS team
- @sultanxda for work on Camera
- @updateing, @freshgiammi, @amardeep434 and everyone else contributing to AOSP for bacon
- @Pacer_456 for building for me sometimes and testing my retarded builds :P
- @deadlyindian for working on Unofficial Oreo gapps, thunder kernel and testing builds
- @McAwesomePL, @jlobo912, @Apayah and everyone else involved in testing

Join the discussion thread by @pankspoo:
Check out this video by @acervenky:
Also, do see this review by @adnan.techme:

XDA:DevDB Information
AOSP Oreo for OnePlus One, ROM for the OnePlus One

Source Code:

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Testing

Created 2017-09-02
Last Updated 2017-12-22
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	60716
Size:	75.1 KB
ID:	4260393   Click image for larger version

Name:	2.png
Views:	59234
Size:	136.2 KB
ID:	4260394   Click image for larger version

Name:	3.png
Views:	58388
Size:	85.5 KB
ID:	4260395   Click image for larger version

Name:	4.png
Views:	58842
Size:	154.0 KB
ID:	4260396   Click image for larger version

Name:	5.png
Views:	58270
Size:	252.4 KB
ID:	4260397  
The Following 265 Users Say Thank You to Agent_fabulous For This Useful Post: [ View ] Gift Agent_fabulous Ad-Free
2nd September 2017, 03:08 PM |#2  
Agent_fabulous's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 2,318
What works?
- Boot : Okay
- GApps : Working
- Bluetooth : Working
- WiFi : Working
- WiFi Hotspot : Working
- RIL - Phone - Data : Working
- GPS : Working
- Camera - Camcorder: Working
- Sensors : Working
- Display : Working
- Touchscreen : Working
- Vibrator : Working
- Microphone : Working
- Audio : Working
- Music : Working
- Audio Playback: Working
- Video Playback: Working
- Bluetooth audio : Working
- NFC : Working
- Kernel : Fairly Stable
- Graphics : Ok
- 3D Rendering : Ok
- Offline Charging : Working
- USB : Ok
- Encryption : Unknown
- SEPolicies : Permissive
- Oppo common gestures: Working
- Ambient Display: Working
- HW keys and navbar: Working
Okay, so let's talk camera.
Many of you will probably ask, "Can I use these custom camera blobs on oreo?".
Short Answer: No
Long Answer:
Earlier, the HAL used to pass camera id in the user field. The camera interface now calls set_callbacks with a pointer to the cameradevice and expects calls to the callbacks to use this pointer.
There's 2 ways of solving this.
Patching the HIDL: LineageOS introduced a patch to workaround this.
Patching the HAL: Since we have an OSS HAL, we can modify it to do the same.
So, if the ROM does have the HIDL built with the Lineage approach (and other relevant HAL1 patches of course), yes you can use prebuilt blobs.
We are using Sultan's Camera HAL, modified a bit to work on our config + some OOS libs and the builds have no HAL1 hacks or relocations, thus the chances of your flashable to work on these builds is extremely low.

See the screenshots tab :P
The Following 93 Users Say Thank You to Agent_fabulous For This Useful Post: [ View ] Gift Agent_fabulous Ad-Free
2nd September 2017, 03:08 PM |#3  
Agent_fabulous's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 2,318

- Initial release
- Update to tag android-8.0.0_r4
- Add keyhandler and configpanel (OnePlus Gestures)
- Fix Ambient display
- Add OnePlusDoze
- Enabled proximity check on wake
- Enabled night mode
- Fix an issue with NFC
- Added drm HIDL
- Add memtrack HIDL

- Fix System ANR on bootup
- Fix performance issues
- Speed up boot times
- Fix AOSP Keyboard symbols tray crash
- Fix video playback
- Build Snap
- Partially fix camera (Learn more)
- Add Pixel ringtones
- Enable SystemUI Tuner
- Add backuptools support
- Cleanup some useless AOSP apps
13/09/2017 (Alpha)
- Completely fix Camera
- Fix Camcorder
- Fix HFR/Slow-mo
- Switch to Thunder kernel by @deadlyindian (should fix the heating issues)
- Disable dex-preopt.
30/09/2017 (Beta 1)
- Update to tag android-8.0.0_r11
- Fixed alarms
- Fixed left and right music gestures not turning off
- Added hardware key rebinding
- Added runtime navigation bar toggling
- Added themes
- Set pixel theme to default
- Use round icons
- Fix offline charging
- Revert to old kernel
- Add Franco's simplified thermal driver
- Menus reorganised
- Added chinese translations
- Re-enable dexpreopt
- Might have missed a couple of things
- Misc stability and UI changes
02/11/2017 (Beta 2)
- Update to tag android-8.0.0_r23
- Switch to upstream WiFi HAL
- Fix WiFi on r21+
- Fix hidden WiFi
- Add back device sepolicy
- Potentially fix compatibility with 3rd party audio equalizers
- Disabled forced camera sounds
- Use Oreo's new rounded corners
- Add vibration on dt2w
- Add a few QS tiles
- Add webview selection
- Other misc changes
13/11/2017 (Beta 3)
- Update to tag android-8.0.0_r34
- Updates to sepolicy
- Fix media encoding in third party camera apps
(Like Instagram, Snapchat, etc)
- Fix screenrecord
- Add and enable kexec hardboot patch
- Fix issues with Bluetooth
- Fix webview crashes
- Fix some issues with gapps
- Add advanced reboot
- Add SIM Toolkit
- Remove round corners for now
(will be back soon as a toggle, can still be added via an overlay)
- General stability improvements
21/12/2017 (Beta 4)
- Update to tag android-8.1.0_r1
- Get rid of obsolete camera code
- Upsteam AOSP changes such as gallery, launcher, etc
- Add back demo mode
- Add Pixel Navigation bar with animation
- Introduce theme related changes (see below)
- Use new shutdown UI for advanced reboot
Tap for recovery, longpress for bootloader
- Fix lockscreen issues
- Fix some issues with media
- Move binaries to vendor
- Add AptX audio support
- Add soundtrigger HIDL (Fixes hotword)
- Fix V4A compatibility
- Potentially fix encryption (untested)
- Major updates to sepolicy (Thanks to @deadlyindian, we're almost enforcing now)
- Probably a few more things I missed
22/12/2017 (Beta 5)
- Fix WiFi Mac
- Fix Settings crash on search
- Fix home button size in landscape
- Remove "Dark" from Device theme
- Go home on theme change to apply correctly
- Add more Chinese translations
- Minor Menu cleanups
The Following 100 Users Say Thank You to Agent_fabulous For This Useful Post: [ View ] Gift Agent_fabulous Ad-Free
2nd September 2017, 03:10 PM |#4  
LPW00's Avatar
Senior Member
Thanks Meter: 221
VOLTE plox
The Following 13 Users Say Thank You to LPW00 For This Useful Post: [ View ] Gift LPW00 Ad-Free
2nd September 2017, 03:12 PM |#5  
Pacer_456's Avatar
Senior Member
Flag London
Thanks Meter: 737

Bacon will live another year.
The Following 30 Users Say Thank You to Pacer_456 For This Useful Post: [ View ] Gift Pacer_456 Ad-Free
2nd September 2017, 03:13 PM |#6  
deadlyindian's Avatar
Senior Member
Flag Pune
Thanks Meter: 723
Donate to Me
Originally Posted by Pacer_456


Bacon will live another year.

The Following 13 Users Say Thank You to deadlyindian For This Useful Post: [ View ] Gift deadlyindian Ad-Free
2nd September 2017, 03:13 PM |#7  
Senior Member
Thanks Meter: 73
Finally! Trying it now
The Following User Says Thank You to nightfireblaze8 For This Useful Post: [ View ] Gift nightfireblaze8 Ad-Free
2nd September 2017, 03:17 PM |#8  
jlobo912's Avatar
Junior Member
Flag Setúbal
Thanks Meter: 8
Awesome work 😀 Thanks
2nd September 2017, 03:25 PM |#9  
mandar1997's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 54
Yay thanks gonna try it now
2nd September 2017, 03:31 PM |#10  
pagaiba's Avatar
Thanks Meter: 94
How dare you. Congratz tho.
The Following 3 Users Say Thank You to pagaiba For This Useful Post: [ View ] Gift pagaiba Ad-Free
2nd September 2017, 03:42 PM |#11  
Senior Member
Thanks Meter: 98
finally got oreo.. thnx.. great job..
The Following User Says Thank You to A$h!$h For This Useful Post: [ View ] Gift A$h!$h Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread