[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,360
7,926
Bruges
The Universal SafetyNet Fix v2 Beta 5, mention in the title, did not help my SafetyNet issue. The TWRP log showed "unable to mount storage". Unfortunately I choose the option to reboot to system after install, and now system is stuck on boot screen. I'll do a clean install again.

I don't have any requirements for passing the SafetyNet, but tried the fix in case I need in the future.

If I had just read a few more posts I would have seen this:

That is an unfortunate set of events. However, "unable to mount storage" is most likely unrelated to flashing this module. That error usually shows when you have OTG storage enabled while there's no drive attached (check in Mount). Also, when you click on Download beta in the universal SafetyNet fix thread, it forwards to Post #1075 but the file attached there should not be used. There's a Magisk v14 hotfix leading to Post #1163 and there's the file you need: universal-safetynet-fix-v2-beta-5-magisk-v14.zip, which still works with Magisk 15 (at least for me).
And for the love of flashing, turn that auto-reboot feature off =)
 

Timmmmaaahh!

Forum Moderator
Staff member
Sep 11, 2012
4,360
7,926
Bruges
I flashed this ROM on 24th. Clean Install. I had some lag downloading media from whatsapp and big issues with facebook app.
That wasn't very specific now, was it? Care to elaborate? What defines as clean install to you? What specifies as "some lag"? And what are "big issues" exactly? So many questions... Oh and please add a log if you'll be so kind.
Cheers!
 
  • Like
Reactions: tetakpatak

wah_luck

Member
Aug 9, 2013
42
12
That is an unfortunate set of events. However, "unable to mount storage" is most likely unrelated to flashing this module. That error usually shows when you have OTG storage enabled while there's no drive attached (check in Mount). Also, when you click on Download beta in the universal SafetyNet fix thread, it forwards to Post #1075 but the file attached there should not be used. There's a Magisk v14 hotfix leading to Post #1163 and there's the file you need: universal-safetynet-fix-v2-beta-5-magisk-v14.zip, which still works with Magisk 15 (at least for me).
And for the love of flashing, turn that auto-reboot feature off =)

It worked.. Universal safety net fix.. Thanks..
 

jabounet

New member
Jan 26, 2018
4
0
hello all, and thanx for this great ROM.
I also face an issue with cellular data. In fact everything works well, until I send or receive an mms, then cellular data is lost and I have to reboot to get the cellular connection to work again.
Does someone else face this problem ?
Regards

---------- Post added at 05:28 PM ---------- Previous post was at 05:20 PM ----------

hello all, and thanx for this great ROM.
I also face an issue with cellular data. In fact everything works well, until I send or receive an mms, then cellular data is lost and I have to reboot to get the cellular connection to work again.
Does someone else face this problem ?
Regards

I reply to myself (sorry for that)
I managed to make it work by deleting the mms apn of my provider (merging the data and mms apn in a single one)
Don't know why it didn't work with 2 different apns, if someone has an explanation, it would be great !
Thanks all !
 

Flatric

Senior Member
Aug 31, 2013
901
363
Hey guys,

I love the ROM. Thx for the support and all your work you put into it.

I did a clean install (I came from TugaPower). So I wiped everything except internal storage. All is working fine except the mobile data connection. I have reception/signal and can receive calls, but the mobile internet connection i not working. I checked all settings and flashed the ROM again, but it is still not working. Anyone who was facing the same problem?

I flashed the Gapps which are linked in the first post and updated via apkmirror on the newest Google Play Store and Google Play Services. Maybe its related to this? I Have no idea.

Would be great if anyone could help me.

Regards
Just google youre providers APN settings and add those on your phone
 

giaur

Senior Member
Aug 27, 2013
4,022
1,161
Finally after 3 boots the GPS works fine.
In fact everything works fine.
This is the best ROM I never had

Not for me. GPS is still broken.

---------- Post added at 06:35 PM ---------- Previous post was at 06:34 PM ----------

Just google youre providers APN settings and add those on your phone

You should realize this is bug in rom. Apn has nothing to do with this issue
 

Flatric

Senior Member
Aug 31, 2013
901
363
Not for me. GPS is still broken.

---------- Post added at 06:35 PM ---------- Previous post was at 06:34 PM ----------



You should realize this is bug in rom. Apn has nothing to do with this issue

I think that was a misunderstanding, I'm not talking about GPS. He said he has no mobile internet connection. I had the same, added my APNs and since then it's working flawlessly.
 
  • Like
Reactions: Timmmmaaahh!

giaur

Senior Member
Aug 27, 2013
4,022
1,161
I think that was a misunderstanding, I'm not talking about GPS. He said he has no mobile internet connection. I had the same, added my APNs and since then it's working flawlessly.

First, GPS is still not working for me. Second, I can confirm MMS bug, exactly as it was described. Scenario:
- setup all apn settings as required
- enable mobile data, it works
- try to send mms - mobile data stops working, mms not sent. Need to reboot phone to get mobile data working again.

What is working flawlessly for you? Can you send MMS flawlessly? Please be specific
 
  • Like
Reactions: thra1982

jabounet

New member
Jan 26, 2018
4
0
First, GPS is still not working for me. Second, I can confirm MMS bug, exactly as it was described. Scenario:
- setup all apn settings as required
- enable mobile data, it works
- try to send mms - mobile data stops working, mms not sent. Need to reboot phone to get mobile data working again.

What is working flawlessly for you? Can you send MMS flawlessly? Please be specific

Hello !
Can you try to merge the 2 APNs in only one ? that's what I did, I rebooted, and then it worked (I could send/receive mms and keep connection working)
(I added mmsc from mms apn to data one and added 'mms' in data 'apn type')
 

giaur

Senior Member
Aug 27, 2013
4,022
1,161
Hello !
Can you try to merge the 2 APNs in only one ? that's what I did, I rebooted, and then it worked (I could send/receive mms and keep connection working)
(I added mmsc from mms apn to data one and added 'mms' in data 'apn type')

Hmn I don't think so. My operator needs separate apns for mms and internet. Apn name needs to be different.
 

Flatric

Senior Member
Aug 31, 2013
901
363
First, GPS is still not working for me. Second, I can confirm MMS bug, exactly as it was described. Scenario:
- setup all apn settings as required
- enable mobile data, it works
- try to send mms - mobile data stops working, mms not sent. Need to reboot phone to get mobile data working again.

What is working flawlessly for you? Can you send MMS flawlessly? Please be specific

The guy I replied was not the guy with MMS problem?:D His only problem is no mobile internet connection nothing else and as long as he doesn't want to send MMS my answer will solve his problem. For sending MMS some guy adviced to merge MMS and Internet APN, maybe you can try that
 

Djaentz

Member
Aug 14, 2017
45
5
The guy I replied was not the guy with MMS problem?:D His only problem is no mobile internet connection nothing else and as long as he doesn't want to send MMS my answer will solve his problem. For sending MMS some guy adviced to merge MMS and Internet APN, maybe you can try that

Thank you very much. I didn't think of the APN. That was my only problem. I'm not sending MMS, so it's not important.

Regards
 

Timmmmaaahh!

Forum Moderator
Staff member
Sep 11, 2012
4,360
7,926
Bruges
Mms not working?[emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23] mms in 2018[emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23] OMG

Sent from my OnePlus One using XDA Labs
Really? That's your contribution to a dev thread? At least they found, analyzed and solved a problem. Please stick to development and civilized conversation for that matter.
How to record screen.
Just download a screen recorder from Play Store like.. Well, Screen Recorder ;)

Sizzled with Bacon ?
 

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