Code: #include <std_disclaimer.h> /* * Your warranty is now void. * * 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 atyou. */









Code: fastboot erase boot fastboot flash boot boot.img fastboot flash system system.img

Hi everyone, here is my port of Oreo on OnePlus 5. Source is based on AOSP android-8.0.0_r3 (r9 since 20170916, r15 for 20171008), as it's for Pixel. Device repo, kernel and vendor etc are available at the end of the post.And the same note as before:I may not update this work regularly.Things went more smoothly than before.Majority of hardware features are working, including mobile network, WiFi, Bluetooth (file transfer, network, audio etc), GPS, camera / camcorder, fingerprint, sensors, HW-based encryption etc.There are some minor issues regarding HW:1. Virtual keys and hardware keys are enabled altogether. You can disable hardware keys at /proc/touchpanel/key_disable and /sys/module/fpc1020_tee/parameters/ignor_home_for_ESD . If you do want the virtual keys to hide, read first several pages of replies and there are some solutions.2. Slider is not working, but it produces key event. There are lots of tools that can be used to customize actions for key events, and examples can be found in the first several pages of replies as well.3. No offscreen gestures.4. No option for color profile switching (default, sRGB, DCI-P3). You can switch that manually at /sys/class/graphics/fb0/color_profile1. Permissive SELinux, and init allows services without a SELinux domain to start2. Behavior of camera is not consistent - it works on my phone, but it may crash yours.3. Sometimes the system does not show charging status (no flash sign in battery icon, but LED lights up as usual), while the battery is being charged just fine.4. No UI shown when alarm clock goes off. This is an AOSP bug (missing NotificationChannel parameters). Use Google Clock from Play Store instead.5. VoLTE is broken. Maybe we need to wait for an official release for updated blobs.And as you may have already known, AOSP does not include a fully functional browser nor a file manager. An `adb install` may be needed after flashing.20171008: https://drive.google.com/open?id=0Bw...HYwUE1BSGkxbTQ 20170924: https://drive.google.com/open?id=0Bw...2lUVEVQcDRuaDQ 20170916: https://drive.google.com/open?id=0Bw...kpMWFU1R1VLNDA 20170910: https://drive.google.com/open?id=0Bw...GsyZ3hYWkZZcFU 20170907: https://drive.google.com/open?id=0Bw...EVQX3h0UG1pUHM You will lose Magisk and GAPPS after upgrading since boot and system partitions are overwritte.This is NOT a flashable zip. Use fastboot to flash:And wipe data before usage.NOTE: This ROM requires. If your data partition is not encrypted,it. Moreover,Updated blobs to OxygenOS 4.5.12 (baseband version was not changed, but better use the new firmware bundled with 4.5.12)Updated to android-8.0.0_r15Switched to new kernel source used by MoKee (may solve some WiFi issue, and possibly some others)Some minor cosmetic changesNo new patches applied, the 0924 archive would be fine.Fixed voice translation in Google Translate (maybe other apps as well)Add a power HAL and double tap to wake is available in settings now (wondering if it actually works)Use RenderScript driver from OnePlus 3 Oreo beta. Stock one is too old for Oreo, thus it was not loading at all.Included navigation bar fix from this post (Also tried new kernel used in MoKee and Lineage OS, but it still causes stalls when remounting so I switched back to the old kernel)Bluetooth address should be correctFixed broken compress_offload feature (some music player (or ringtones) rely on this)Make DASH chargers recognized as standard AC charger with fast charging supportUpdate to android-8.0.0_r9Fixed Bluetooth audio. Now LDAC, AAC and SBC all work. If you want aptX / HD, find libaptX{,HD}_encoder.so elsewhere and push them to the phone.Fixed AOSP keyboard crash when switching to symbol / numbers panel: https://android-review.googlesource....nIME/+/469478/ Initial buildKernel: https://github.com/updateing/android...neplus_msm8998 (aosp-obranch)Device: https://github.com/updateing/android...s_cheeseburger (aosp-o branch)Vendor: https://github.com/updateing/android...s_cheeseburger (aosp-o branch)In order to build kernel with AOSP, you need build/core/tasks/{kernel,dt}.mk from other ROMs build system. And external/{libnfnetlink,libnetfilter_conntrack} needs to be forwarded to AOSP master.Source patches are attached to this post.MoKee/@XiNGRZ for this awesome kernelQualcomm for the great SoCAnd Google for the OSThank you all!