• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][8.1.0_r29] AOSP Oreo for OnePlus One [Discontinued][23/05/2018]

Search This thread

thra1982

Senior Member
Jun 22, 2012
164
29
Svendborg
Why is backup disabled? Oo

Is this ROM based or GAPPS based?

Edit: Found some info here, but haven't tried the fix yet.
https://forums.oneplus.net/threads/...acking-up-to-debug-only-private-cache.291326/


- Anyone else experiencing a lack of weather info etc. on the Google app? Just coming from LOS15 where it did show.

- Also still got MMS issues when trying to send when on cellular. When on WiFi there's no problem. Worked fine in LOS15 too.

- And what's up with the small navbar icons?
@Agent_fabulous thanks for the great work!
 
Last edited:

Thedeadgod

Member
Dec 23, 2017
13
5
I'm having issues logging in to Instagram. I clean flashed the latest build ( beta 5). The moment I input my details and say log in it takes me to a blank screen and later on doesn't even let me log in. Anyone else having this issue?
 

spikypotato

Member
Sep 28, 2013
26
15
Dirty flashed Beta 5 over Beta 3. (cleaned Dalvik and Cache only)

Works great, but there's one thing that bugs me though:

- Dark theme doesn't work well. If turn on, some white-colored dialog box in Settings such as when opening Bluetooth device details or changing DPI, it will appear blank and only have OK or Cancel buttons visible only.

I'm not sure whether this problem exists on clean flash, but I'm tired of starting all over again lol.

EDIT: Oh, didn't see post #2009. Well, hope to see it resolved on the next build. Great job, keep it up, proud of you.
 
Last edited:
  • Like
Reactions: Agent_fabulous

JyoNoOB

Senior Member
Jun 19, 2017
185
44
Faridabad
Hi,

I tried this rom today.

The first issue was finding a compatible gapps, there is none on this thread that is compatible with Android 8.1, after googling and finding a gapps that would work. Everything was working fine, but whenever I try to download an image a popup comes on saying android.process.media has stopped with no options. To fix this I tried many things including clearing data and cache for gallery. When I do that and open gallery it says 0 images/videos found.

Can anyone help me out with this? Thanks.
 

areallytinydot

Senior Member
Jul 24, 2017
137
39
Hey everyone! I know I'm late again, but hey, the build is finally here :D

ROM Updated (Beta 4)
Happy Holidays!

Changelog:
- 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

Theme Related Changes:
By default, AOSP will interpret the wallpaper and turn QS settings panel dark if it thinks the wallpaper is dark.
I played around with this such that you can get Settings to turn dark too.
You can however choose to force dark or light styles. There are a couple of accents to choose from.
After you select an accent, hit home if you're using dark styles or have a dark wallpaper and have "Wallpaper based" set.
I am aware of some dialogs not being themed correctly (invisible text :D), this is a very early implementation of the idea. It should improve over time :)
For anyone interested in contributing, sources will be pushed by tomorrow.
This should not interfere with substratum, but if it does, force theme style to Light and set Pixel/stock accents.
Also, do not select "Dark" in the accents/"Device theme" menu. It'll automatically select after hitting home, if it applies the dark style.
Screenshots below ;)

This is hopefully the last beta. I'm aware of most issues on the builds and I hope to fix them in the near future. Once everything is resolved and sepolicy is enforced, the builds can be marked "stable".
Theoretically, you can dirty flash, but clean flash is recommended.

Download: (AndroidFileHost | BasketBuild)

Screenshots
Can we have a separate zip file for these theme related stuff and keep the main zip strictly AOSP?
 

Agent_fabulous

Recognized Developer
Apr 24, 2014
495
5,188
Bangalore
Can we have a separate zip file for these theme related stuff and keep the main zip strictly AOSP?

The theme changes have minor framework changes that cannot be separated out without breaking it entirely. I know this is AOSP, thus there's options to disable them (Force style + pixel and stock accents). About the "strictly AOSP" part, I'm primarily trying to find stuff that can be done with recent additions to AOSP itself, and hasn't been done before by other ROMs. AOSP has a fair number of things that aren't enabled by default. (You may remember round corners from previous builds.) I just try to enable them, yet keep them toggleable than just work on device side of things.

If you'd like, I can add options to disable the settings overlays. These changes do not affect performance or battery life of the ROM at all, for anyone wondering.
 

Diamond_htc_75

Senior Member
Dec 7, 2009
53
1
ITALY
Amazing OnePlus One :laugh:

Sent from my OnePlus One using XDA Labs
 

Attachments

  • Screenshot_20171223-095444.jpg
    Screenshot_20171223-095444.jpg
    41.9 KB · Views: 498

bick

Senior Member
Nov 29, 2007
394
170
Gloucester, UK
Not sure why people are have problems.
I tried an app called GPS Test and it locked in seconds!
Whatsapp, no problem either.
8.1 gapps on this thread OK.
Only thing I can suggest is start all over again, wipe, reinstall. I normally do rom +gapps, setup and then add root etc.

This my daily driver now.. Viper4A working too!
Well done dev.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 318
    DXzhFTi.png

    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 :D

    Flashing and updating

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

    Updates
    - Flash ROM
    - Reboot!
    (The ROM has backuptools. You shouldn't have to flash gapps again. Wipe system and flash rom+gapps only when specified in the release post ;) )

    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 : Is the ROM suited for daily usage ?
    A : Using it as a daily driver :D

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

    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: Official OpenGapps

    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 testing builds, and actively contributing :)
    - @McAwesomePL, @jlobo912, @Apayah and everyone else involved in testing :D

    Join the discussion thread by @pankspoo: https://forum.xda-developers.com/oneplus-one/general/discussion-thread-aosp-oreo-one-plus-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/Fabulous-Oreo

    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 2018-05-23
    149
    Reserved

    Changelog

    02/09/2017
    - Initial release​

    05/09/2017 (Experimental)
    - 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 (Experimental)

    - 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​

    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
    - 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​

    23/01/2018 (Stable)
    - Update to tag android-8.1.0_r7
    - Improve DarkUI dialogs
    - Enforce sepolicy (read below)
    - Fix Face Unlock (read below)
    - Fix DRM support (widevine)
    - Add instant face unlock
    - Fix slow GPS lock
    - Fix DT2W toggle in settings
    - Update PowerHAL
    - Fix notification dot colors
    - Add Google now page to Launcher3
    - Minor fixes to Pixel navbar
    - Cleanup some stuff
    - Speed up some animations
    - Performance and battery improvements
    - Maybe some more things I missed​

    27/02/2018 (Stable)
    - Update to tag android-8.1.0_r14
    - Fix call mute and echo in calls
    - Boost earpiece volume
    - Fix swipe to answer calls
    - Change URLs for connectivity tests
    - Theme changes
    - Finally fix GPS lock
    - Switch to 64 bit binder API
    - Upstream sdcardfs
    - Fix mpdecision service path
    - Add charge level interface
    - Early system mount
    - Other misc changes​

    31/03/2018 (Stable)
    - Update to tag android-8.1.0_r18
    - Use camera and power in hwbinder
    - Fix denials for the same
    - Fix HDR preview lockup issues
    - Fix mpdecision denials
    - Drop faceunlock hacks (use newer gapps)
    - Add larger pattern grids
    - Other misc changes​

    23/05/2018
    (Final)
    - Update to tag android-8.1.0_r29
    - Newer security patches
    - Fix NFC for Android Pay (You also need to bypass safetynet)
    - A few other things I don't remember​
    110
    What works?
    Code:
    [B]- Boot :[/B] Working
    [B]- GApps :[/B] Working
    [B]- Bluetooth :[/B] Working
    [B]- WiFi :[/B] Working
    [B]- WiFi Hotspot :[/B] Working
    [B]- RIL - Phone - Data :[/B] Working
    [B]- GPS :[/B] Working
    [B]- Camera - Camcorder:[/B] Working
    [B]- Sensors :[/B] Working
    [B]- Display :[/B] Working
    [B]- Touchscreen :[/B] Working
    [B]- Vibrator :[/B] Working
    [B]- Microphone :[/B] Working
    [B]- Audio :[/B] Working
    [B]- Music :[/B] Working
    [B]- Audio Playback:[/B] Working
    [B]- Video Playback:[/B] Working
    [B]- Bluetooth audio :[/B] Working
    [B]- NFC :[/B] Working
    [B]- Kernel :[/B] Stable
    [B]- Graphics :[/B] Working
    [B]- 3D Rendering :[/B] Working
    [B]- Offline Charging :[/B] Working
    [B]- USB :[/B] Working
    [B]- Encryption :[/B] Should work, untested
    [B]- Oppo common gestures:[/B] Working
    [B]- Ambient Display:[/B] Working
    [B]- HW keys and navbar:[/B] Working
    [B]- Face Unlock:[/B] Working
    [B]- SEPolicies :[/B] Enforcing

    Screenshots
    See the screenshots tab :p

    Want to chat about this project?
    https://t.me/FabulousOreo
    96
    ROM Updated

    Changelog:
    - 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

    If you feel the device runs hot, feel free to use a kernel tweaking app and lower throttle temperatures :)
    If you want to help translate the ROM, please fork the repository and pull request the change. I'll gladly merge it :D
    Since we have almost everything working now, I'm marking the builds as "Beta". Enjoy!
    The project is now located at https://github.com/Fabulous-Oreo

    Button settings: Settings -> Accessibility -> Button Settings (Under "Interaction controls")
    Doze Pulse: Settings -> Display
    OnePlus Gestures: Settings -> Display

    Clean Flash recommended.

    Download: (AndroidFileHost | BasketBuild)
    88
    ROM Updated (Stable)
    23/01/2018

    Changelog:
    - Update to tag android-8.1.0_r7
    - Improve DarkUI dialogs
    - Enforce sepolicy (read below)
    - Fix Face Unlock (read below)
    - Fix DRM support (widevine)
    - Add instant face unlock
    - Fix slow GPS lock
    - Fix DT2W toggle in settings
    - Update PowerHAL
    - Fix notification dot colors
    - Add Google now page to Launcher3
    - Minor fixes to Pixel navbar
    - Cleanup some stuff
    - Speed up some animations
    - Performance and battery improvements
    - Maybe some more things I missed

    SEPolicy
    So far, everything seems to be working well on enforcing. On MultiROM, the enforced builds will not boot as secondary. I can look into this later, but for now, feel free to patch up the bootimage to boot as permissive. Also, many mods don't seem to work well on enforcing (For instance Viper4Android; Some reported it to work fine when V4A was used with Magisk). As always, I emphasize on not using mods.

    Face Unlock
    So, OpenGapps appears to ship a 64 bit libfacenet.so. To work around this we have the correct lib at, /system/vendor/lib/libfacenet-32.so. This is mounted on boot over the faulty 64 bit library to effectively shadow it. Also, the current implementation of libprotobuf doesn't appear to work with the old 32 bit face unlock library. Thus, shimming libfacenet.so with an older prebuilt protobuf lib does the job.
    TL;DR: Any gapps package should work with the builds and have face unlock working, but I still recommend the ones I posted on the thread earlier. (Also added in OP)
    A few testers came across an issue where faceunlock would crash due to a selinux denial. Something appears to set the context of libfrsdk.so to "unlabeled". This is probably due to a third party mod as flashing just ROM + GApps doesn't have this issue. In any case, if you're a victim of this, you can either set the build to permissive or just pull the file, delete it on the device and push it back to set the right context. (Or set the context yourself, it needs to be system_file or vendor_file). If you're unsure, just post the log here and others can try guiding you to do the same.

    Here on, I'm marking the builds as "Stable" since pretty much everything device side works now. We can differentiate builds based on the build date which you can conveniently find in the thread title. To make life easier, I can try adding up an OTA solution too, in the near future. Feel free to return to this thread if you come across any major issues. Cheers! :D

    Clean Flash recommended.
    If you don't want to clean flash, just wipe system and cache and flash ROM and GApps. You potentially could still run into issues.

    Download: (AndroidFileHost | BasketBuild)