FORUMS
Remove All Ads from XDA

[ROM][8.0.0_r34] AOSP Oreo for OnePlus One [Beta 3]

374 posts
Thanks Meter: 1,947
 
Post Reply Email Thread

Code:
#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

Updates
- 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.

Q : WHEN UPDATE?? GIB UPDATE PL0X.
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

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

About the builds
Device Tree: https://github.com/Fabulous-Oreo/device_oneplus_bacon
Kernel Sources: https://github.com/Fabulous-Oreo/kernel_oneplus_msm8974
AOSP Sources : Repositories available on https://android.googlesource.com/

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: https://forum.xda-developers.com/one...s-one-t3666935
Check out this video by @acervenky: https://youtu.be/DxNnGT6zdac
Also, do see this review by @adnan.techme:



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

Contributors
Agent_fabulous
Source Code: https://github.com/AgentFabulous/android_oreo_bacon

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-11-13
Attached Thumbnails
Click image for larger version

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

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

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

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

Name:	5.png
Views:	43584
Size:	252.4 KB
ID:	4260397  
The Following 230 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: 1,947
 
More
What works?
Code:
- 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
Camera
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.

Screenshots
See the screenshots tab :P
The Following 87 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: 1,947
 
More
Reserved
Changelog

02/09/2017
- Initial release
05/09/2017
- 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
13/09/2017

- Fix System ANR on bootup
- Fix performance issues
- Speed up boot times
- Fix AOSP Keyboard symbols tray crash
- Add USB HIDL
- 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
The Following 84 Users Say Thank You to Agent_fabulous For This Useful Post: [ View ] Gift Agent_fabulous Ad-Free
2nd September 2017, 03:10 PM |#4  
Senior Member
Thanks Meter: 215
 
More
VOLTE plox
The Following 13 Users Say Thank You to I'm a total Noob For This Useful Post: [ View ] Gift I'm a total Noob Ad-Free
2nd September 2017, 03:12 PM |#5  
Pacer_456's Avatar
Senior Member
Flag London
Thanks Meter: 733
 
More
Woohoooooo!

Bacon will live another year.
The Following 28 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: 667
 
Donate to Me
More
Quote:
Originally Posted by Pacer_456

Woohoooooo!

Bacon will live another year.

Indeed
The Following 11 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: 60
 
More
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
 
More
Awesome work 😀 Thanks
2nd September 2017, 03:25 PM |#9  
mandar1997's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 54
 
More
Yay thanks gonna try it now
2nd September 2017, 03:31 PM |#10  
pagaiba's Avatar
Member
Thanks Meter: 93
 
More
How dare you. Congratz tho.
The Following 2 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
 
More
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)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes