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

Search This thread

kkowarkar

Member
Nov 26, 2017
21
5
Camera issue still present in the update, camera apps stucks after taking the first shot

---------- Post added at 04:42 AM ---------- Previous post was at 04:41 AM ----------

Goto Settings --- Security-- Set some pattern lock -- then go back to security menu and goto to smart lock and follow screen to register face as Trusted Face for face unlock.

I tested this and working very fine.

Also Working for me
 
  • Like
Reactions: ShreyasGupta

tpuserhp

Senior Member
Jul 1, 2013
582
210
Last edited:

SK3407

Senior Member
Jun 27, 2014
70
10
Bangalore
Goto Settings --- Security-- Set some pattern lock -- then go back to security menu and goto to smart lock and follow screen to register face as Trusted Face for face unlock.

I tested this and working very fine.

Not getting trusted face option ? :rolleyes:
 

Attachments

  • Screenshot_20180124-130947.png
    Screenshot_20180124-130947.png
    73.1 KB · Views: 1,024
  • Screenshot_20180124-131007.png
    Screenshot_20180124-131007.png
    106.7 KB · Views: 1,022

SK3407

Senior Member
Jun 27, 2014
70
10
Bangalore
What Gapps did you flash? Face Unlock is only included in Nano or higher. Pico doesn't have it.

Oooops my bad I wasn't aware of this I have flashed pico. I will flash nano right away and check. Thanks :good:

---------- Post added at 08:58 AM ---------- Previous post was at 08:56 AM ----------

Which gapps variant do u use??
I use this one, faceunlock working well https://androidfilehost.com/?fid=673791459329073151


I am using Pico. I will use this and check
 

SK3407

Senior Member
Jun 27, 2014
70
10
Bangalore
Oooops my bad I wasn't aware of this I have flashed pico. I will flash nano right away and check. Thanks :good:

---------- Post added at 08:58 AM ---------- Previous post was at 08:56 AM ----------




I am using Pico. I will use this and check


Got it now after flashing nano and it works! awesome :laugh:. Thanks
 
  • Like
Reactions: Segner

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)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone