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

Search This thread

Timmmmaaahh!

Forum Moderator
Staff member
Sep 11, 2012
4,346
7,882
Bruges
Anyone else having no icon and text on NFC tile?
Looks okay here [emoji16]

LFuc318J9Iuk70rImLD9-mrB5syag5p1IKOjvHpwFVIxo66MHgaQNOCOYYYSp5UEi2phebBMWZ3rxOVDqm-I8d-rxClNF0Z-foejaUX4SP9cbkGwMpFWycaKfjsRhr0vPMcKgKwxbho


Sizzled with Bacon ?
 

giaur

Senior Member
Aug 27, 2013
4,022
1,161
I took a look at the logs, and it seems like the XTRA-data can't be downloaded from the specified servers, or to be more accurate there are no servers found a all, even though they are existent in the config file (/system/etc/gps.conf).
Maybe @Agent_fabulous can take a look at it.
It might also be worth a shot to enable SUPL in gps.conf. People from outside US are recommended to change the NTP-server to the one from their region, like always.

You mean a-gps? Indeed it seems to be not working for me, no satellites visible initially. But it works for some people, is where am I located make any difference?
Maybe no problems in US, but outside US a-gps is not able to find any satellites
 

bageraz

Senior Member
May 31, 2012
184
53
Ipoh
Can confirm GPS is not working. Need to wait very long to get location fix. Already clear & update A-GPS and still does not get any reading.
 

Attachments

  • Screenshot_20180128-033912.png
    Screenshot_20180128-033912.png
    223.3 KB · Views: 500
  • Screenshot_20180128-033934.png
    Screenshot_20180128-033934.png
    100 KB · Views: 502
  • Screenshot_20180128-034001.jpg
    Screenshot_20180128-034001.jpg
    161.2 KB · Views: 508

Ruggerxpunk

Senior Member
Jul 8, 2010
722
157
Can confirm GPS is not working. Need to wait very long to get location fix. Already clear & update A-GPS and still does not get any reading.
I didn't have any problem locking GPS with Google Maps in a few seconds. Drove an hour away and back home yesterday with Maps Navigation without any issues.

You might want to clean flash.
 

Shadowghoster

Senior Member
Jul 28, 2013
483
409
I bet you want to know that
That's what I meant, A-GPS isn't working as intended. That's why the fix is taking ages or you get no (proper) fix at all. The broken XTRA-download leads to the need of downloading the GPS almanachs manually from all satellites in reach and each one of them transfers them every 12.5 minutes only.
Would be nice, if someone else can validate my XTRA-download errors on his/her phone. For further info on Android GPS infrastructure you can take a look here.

Regards
 
Last edited:

tpuserhp

Senior Member
Jul 1, 2013
582
210
For those who are experiencing slow gps first time fix, you might want to download the gps.conf for your country from this link:
https://m.box.com/shared_item/https://app.box.com/s/w57s1v1n3hie7l5lk28i
Back up your /system/etc/gps.conf . You might want to do a Nandroid backup too.
Copy the downloaded gps.conf to /system/etc .
Reboot (might not be required, but I always reboot after changing system file).
Retest and see if this helps.
I saw improvement of the first time fix after clearing the agps data. Couple of tests go down to 37,38 seconds. It might be due to other changes. I hope this helps.!
My country is Canada.
 
Last edited:
  • Like
Reactions: tetakpatak

Shadowghoster

Senior Member
Jul 28, 2013
483
409
I bet you want to know that
@tpuserhp please don't use them. There is a reason our gps.conf has the layout and config options in it, which it actually has. Defining tons of NTP-servers does only lead to problems if one fails (since every NTP-server is checked with an acceptable timeout, leading to long fix times). Using options like SUPL_TLS_CERT isn't helping anything, since this file does not exist and therefore isn't used at all. Same counts for SUPL_TLS_HOST=FQDN (FQDN just stands for Fully Qualified Domain Name, so no effect without entering an actual FQDN...) and C2K_HOST. The latter is even more irritating, since it's an engineering option used in testing environments. AgpsServerIp=3232235555 doesn't make any sense, since the string isn't an IP at all.

Be careful, there are tons of "optimized" gps.conf out there, most of them do not do, what you'd expect. There is a reason the stock gps.conf is commented with descriptions of the different options.

Edit: Something else I noticed while investigating this issue: There were some security problems with the standard-URLs set in gps.conf which are already adressed by december patches (klick). Currently we use XTRA3, which seems to be great.
 
Last edited:

tpuserhp

Senior Member
Jul 1, 2013
582
210
@tpuserhp please don't use them. There is a reason our gps.conf has the layout and config options in it, which it actually has. Defining tons of NTP-servers does only lead to problems if one fails (since every NTP-server is checked with an acceptable timeout, leading to long fix times). Using options like SUPL_TLS_CERT isn't helping anything, since this file does not exist and therefore isn't used at all. Same counts for SUPL_TLS_HOST=FQDN (FQDN just stands for Fully Qualified Domain Name, so no effect without entering an actual FQDN...) and C2K_HOST. The latter is even more irritating, since it's an engineering option used in testing environments. AgpsServerIp=3232235555 doesn't make any sense, since the string isn't an IP at all.

Be careful, there are tons of "optimized" gps.conf out there, most of them do not do, what you'd expect. There is a reason the stock gps.conf is commented with descriptions of the different options.
Thanks for your recommendation. I'm not a gps expert.
I noticed there are duplicate NTP server entries as you described and some entries like /data/xtra/bin not applicable. But since I'm just doing a quick test so I'm not changing the downloaded file. Surprising I saw the first time fix reduced from a minute and a half to 37 seconds. It could be just unique to my environment. But if not, may be the parameters used in the gps.conf can help the developer on addressing the gps issue.
 

giaur

Senior Member
Aug 27, 2013
4,022
1,161
I didn't have any problem locking GPS with Google Maps in a few seconds. Drove an hour away and back home yesterday with Maps Navigation without any issues.

You might want to clean flash.

Where are you located? Try to install GPS Test app, choose AGPS->Clear and update.
The see if it still works for you
 

Mathorlaz

Senior Member
Jul 19, 2012
123
47
Nexus 7 (2013)
OnePlus One
I clean flashed the stable version and I'm very happy with it, specially the battery life it's noticeably better than the beta 5.

The other day I had an issue with the stock alarm, where the alarm didn't go to full screen with the screen locked. This meant I had to unlock and then turn the alarm off. I've got a log of the problem attached.

And then, I've noticed a different issue when I wanted to edit the log with solid explorer, where the app crashed with a simple word selection on a txt file. I'm not sure it it's an app problem, but decided to also get a log of it.

I've also noticed that, as was already reported, the night light doesn't automatically turn on/off, even if that is the setting. I've been just turning it on/off using the QS tile, as an alternative.

In terms of GPS, I must confess I haven't used it yet, since updating to the release.

Cheers,
Mathorlaz
 

Attachments

  • alarm_log.txt
    8.6 KB · Views: 2
  • SolidExplorer_crash.txt
    3.1 KB · Views: 2
  • Like
Reactions: Timmmmaaahh!

X-Nemesis

Senior Member
Jun 12, 2012
419
52
Kitchener
First off, I just moved from Tuga's great Nougat ROM to this and am very pleased, so many thanks for the effort you've put into this Dev.

Is there a way in Oreo to take selective screenshots?
 

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