FORUMS
Remove All Ads from XDA

[ROM][8.0.0_r4] AOSP Oreo for OnePlus One [Alpha]

366 posts
Thanks Meter: 1,472
 
View First Unread 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 though.

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.

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

Q : Is the ROM suited for daily usage ?
A : Not yet, but we're getting there.

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 : It says "No OS installed" when I try rebooting from TWRP. What should I do?
A : Just reboot, it's normal.

Q : It says "Process system isn't responding" after booting.
A : No worries, just press "Wait".

Q : The keyboard crashes when I try opening the symbols tray.
A : Blame AOSP. Sideload another keyboard for now.

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/AgentFabulous/and..._oneplus_bacon
Kernel Sources:
https://github.com/AgentFabulous/and...neplus_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

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: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Testing

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

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

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

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

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

Name:	5.png
Views:	26066
Size:	252.4 KB
ID:	4260397  
The Following 194 Users Say Thank You to Agent_fabulous For This Useful Post: [ View ] Gift Agent_fabulous Ad-Free
 
 
2nd September 2017, 02:08 PM |#2  
Agent_fabulous's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 1,472
 
More
What works?
Code:
- Boot : Okay
- GApps : Unknown
- 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 : Charges but no charger images. 
- USB : Ok
- Encryption : Unknown
- SEPolicies : Permissive
- Oppo common gestures: Working
- Ambient Display: Working
- HW keys and navbar: (see below)
HW Keys and navbar
AOSP doesn't properly support hardware keys. Thus navbar and HW keys are both enabled right now. Hardware keys are treated as Menu, home and back (left to right). I will try adding proper navbar/hw key switching soon.

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 73 Users Say Thank You to Agent_fabulous For This Useful Post: [ View ] Gift Agent_fabulous Ad-Free
2nd September 2017, 02:08 PM |#3  
Agent_fabulous's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 1,472
 
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
- Add Phonograph to the build
- 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.
The Following 45 Users Say Thank You to Agent_fabulous For This Useful Post: [ View ] Gift Agent_fabulous Ad-Free
2nd September 2017, 02:10 PM |#4  
Senior Member
Thanks Meter: 192
 
More
VOLTE plox
The Following 10 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, 02:12 PM |#5  
Pacer_456's Avatar
Senior Member
Flag London
Thanks Meter: 723
 
More
Woohoooooo!

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

Woohoooooo!

Bacon will live another year.

Indeed
The Following 7 Users Say Thank You to deadlyindian For This Useful Post: [ View ] Gift deadlyindian Ad-Free
2nd September 2017, 02:13 PM |#7  
Senior Member
Thanks Meter: 48
 
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, 02:17 PM |#8  
jlobo912's Avatar
Junior Member
Flag Setúbal
Thanks Meter: 8
 
More
Awesome work 😀 Thanks
2nd September 2017, 02:25 PM |#9  
mandar1997's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 54
 
More
Yay thanks gonna try it now
2nd September 2017, 02: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, 02:42 PM |#11  
Senior Member
Thanks Meter: 96
 
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