[ROM][7.1.2_r33] AOSPlusone 7.1 [SultanXDA's Camera HAL][OMS] | 25/08/17

freshgiammi

Senior Member
Dec 2, 2012
513
2,029
0
Pesaro
Code:
#include 
/*
 * I am not responsible for bricked devices, dead SD cards, thermonuclear
 * war, or the current economic crisis caused by you following these
 * directions. YOU are choosing to make these modificiations, and
 * if you point your finger at me for messing up your device, I will
 * laugh at you.
 */

Hi everyone, freshgiammi here. Some of you may know me from my previous work on maguro (Galaxy Nexus), while some others may not. Here I am, presenting you an AOSP build of Nougat for our Oneplus One.

What does it differ from other ROMs?
Simple. It's philosophy is staying close to stock. Even closer that OmniROM. Closer to AOSP than AOSP itself.
Jokes apart, AOSP is the true philosophy, with a few tweaks to make it feel snappier but not too much intrusive changes.

HOW STABLE IT IS
Rock steady.
This ROM is designed with two things in mind: Security and Stability.
Everything is tested for multiple days (both from me, and from private testers) to be sure nothing lets the final user with instabilities. This makes the ROM stable and reliable, not making it go into full retard when you need it most.
And since this is AOSP based, with an AOSP philosophy in mind, remember that any feature that is not included in the official source code won't be added.

Beware. Since we have no N official builds, issues are to be expected. Devs are working hard to fix them as they get spotted, but some bugs only appear to certain users or under certain conditions. Because of that, if you encounter an issue please let me know.
Tag me in a reply, attaching a logcat/dmesg (last_kmsg if your phone reboots) with the steps to replicate and a short description of the problem. That way I can fix it faster.


WHAT DOES THIS ROM OFFERS, MORE THAN AOSP?
Well, there's some neat stuff aside from AOSP that's included here.
-SultanXDA's Camera HAL with Stagefright Hardening
-Night Light and Storage Manager (from Google Pixel)
-SELinux Enforcing
-F2FS Support (beware, you need to format to F2FS with TWRP 2.8.6.0 as 3.0.2.0 has issues with F2FS formatting.)
-Substratum is available! Go theme your device as you like it!

More? You tell me!

DOWNLOADS
Lastest Build: AOSPlusone_bacon_250817 FINAL RELEASE
Gapps: OpenGapps

Sources up at my Github!
Feel free to clone and create your own rom. Just make sure to prevent authorship and pull requests if you fix something!

Changelog is on #2, while FAQs and extra ZIPs are on #3!

XDA:DevDB Information
AOSPlusone, ROM for the OnePlus One

Contributors
freshgiammi
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Testing

Created 2016-10-11
Last Updated 2017-08-25
 

Attachments

Last edited:

freshgiammi

Senior Member
Dec 2, 2012
513
2,029
0
Pesaro
Reserved. (CHANGELOG)

14 Jun. 2017 -> 25 Aug. 2017
Code:
[B]ROM: Updated to 7.1.2_r33[/B]
HAL: Upstreamed code to match Sultanxda's sources
+ Something that I don't remember but hey everything works well
21 Mar. 2017 -> 14 Jun. 2017
Code:
[B]ROM: Updated to 7.1.2_r11[/B]
ROM: Updated Substratum and Interfacer to lastest versions

[B]Kernel: Updated to 3.4.113[/B]
Kernel: Updated to match lastest kernel/common source from Android (3.4 is now deprecated)
Kernel: Upstream patches from LOS-14.1
[B]Kernel: Camera-drivers fixups from CAF[/B]

[B]HAL: Upstreamed code to improve stability 
HAL: Fixed overexposure when taking picture with in good lightning conditions.
HAL: Fixed zooming in/out during video recording on Instagram/Snapchat[/B]
HAL: Merged patches from SultanXDA

[B]Vendor: Updated WDM libraries to match bullhead 7.1.1 ones[/B]
Vendor: Shimmed GraphicBuffer for camera libraries

[B]Snap: Merged upstream patches from LOS-14.1[/B]
Snap: Removed touch-to-screenshot during video recording
Snap: Fixed ZSL not re-enabling after disabling HDR
Snap: Added back 1440p resolution for videos
Previous Changelogs:

05 Feb. 2017 -> 21 Mar. 2017
Code:
[B]ROM: Updated to 7.1.1_r28[/B]
[B]ROM: Fixed Torch QS not working between reboots[/B]
[B]ROM: Substratum is now rootless[/B]
ROM: Substratum App is now bundled within the ROM

[B]HAL: Merged lastest patches from SultanXDA[/B]
[B]HAL: Moved nativehandle logic from CameraServer to HAL[/B]
Snap: Rebased Snap on CM14.1 sources
22 Jan. 2017 -> 05 Feb. 2017
Code:
[B][B]ROM[/B]: enabled F2FS support[/B]
ROM: Removed leftovers from Camera2 
ROM: Re-enabled textiles check (Textiles are not globally allowed anymore)
[B]ROM: Enabled backuptool (thanks to @mandaman2k)
ROM: Fixed ringtone and notifications not being set (thanks to @medic)[/B]
ROM: Fixed qti.tetherservice crashing at startup
[B]ROM: Merged some security patches on hardware/qcom/media-caf[/B]

[B]Kernel: Fixed fast-charging not working for some users[/B]
Kernel: Fixed MPDecision not turning off cores 2 and 3
[B]Kernel: Restored CONFIG_MACH_OPPO;.[/B] (This will probably make kernel more stable,
but can cause instabilities. Please report any reboots.)
[B]Kernel: Fixed NULLPointer (kernel panic) when watching WEBM videos or using Google Fit.[/B]
Kernel: Merged the latest patches from LOS

[B]Snap: Fixed crash when resuming a video paused during recording[/B]
Snap/CameraHAL: Merged lastest patches from Sultanxda.
16 Jan. 2017 -> 22 Jan. 2017
Code:
[B]Adapted Camera HAL to work with the new stagefright hardening![/B]
[B]SELinux is now enforcing![/B]
[B]*maybe*[/B] Fixed HW Encryption (Need confirms)
[B]Fixed most of HFR/HSR;[/B] Everything works besides [email protected] and [email protected]
[B]Fixed Ambient Display
Fixed audio misbehaving with AUX cords (>3 pins jack)[/B]
11 Jan. 2017 -> 16 Jan. 2017
Code:
[B]Replaced Camera2 with Snap: Enjoy all the functionalities of Sultan’s HAL![/B]
[B]Fixed HSR; Slow-Mo isn’t working yet.[/B]
Updated Camera Capabilities for a better HAL compatibility and features
[B]Updated Display-CAF with newer commits to fix the Split Screen issue[/B]
Fine tuned RT Scheduler priorities
[B]Enabled prefhint: (Layers are rendered faster now, resulting in a smoother experience)[/B]
Enabled “Moves” in Settings
[B]Fixed Face Unlock (Trusted Face)[/B]
09 Jan. 2017 -> 11 Jan. 2017
Code:
Changed kernel name for conformity (from -cyanogenmod to -bacon)
[B]Fixed USB tethering not working[/B]
Replaced Launcher2 with Launcher3 (Materialized version)
25 Nov. 2016 -> 09 Jan. 2017
Code:
Updated to 7.1.1_r13 (5 Jan. Security Patchset)
[B]ADDED SULTANXDA’S CAMERA HAL! Enjoy that sweet camera optimization
Enabled HSR (High speed recording). Slow-mo doesn’t work yet.[/B]
Added back Substratum, with improved functionalities and customization.
Updated bionic libraries to load shims correctly
[B]Enabled Night Mode
Enabled Storage Manager[/B]
Under-the-hood device optimization
05 Nov. 2016 -> 25. Nov 2016
Code:
[B]Updated to 7.0.0_r21 (5 Nov. Security Patchset)[/B]
Removed Music app
Removed Browser2 (WebView Shell) app
[B]Added Chromium [/B]
Updated audio: AOSPlusone now uses Google Nexus’s audio files.
[B]ENABLED MULTIROM COMPATIBILITY[/B]
[B]Updated Adreno libs to LA.BF.1.1.3_rb1.12 (from Onyx)[/B]
Updated Kernel to match CM-14.1 sources
[B]Updated Substratum to OMS7  [/B]
Added reboot back to Power Menu
[B]Cleaned frameworks/av patchsets: restored some code from Nougat to improve security.[/B]
Enabled init.d/addon.d support
A bunch of other misc fixes
09 Oct. 2016 -> 05 Nov. 2016
Code:
[B]05 Nov. 2016[/B]
Added On-Screen NavBar and HW Keys customization (Settings -> Buttons)
Fixed vulnerability for Dirty COW exploit
Android 7.0.0_r14
Sync’d Kernel with CM14.1 sources
Fixed Bluetooth MAC
Enabled SystemUI tuner hidden options
Fixed Snapchat with on-screen buttons
Added Swipe Libs for AOSP Keyboard
Added Nexus/Pixel Bootanimation
Updated Adreno Blobs to lastest source (HTC M8 MRA58K Update)
Fixed Gapps F/C after first flashing
Added SuperSU to settings (You still need to flash it)
Updated Substratum
 
Last edited:

freshgiammi

Senior Member
Dec 2, 2012
513
2,029
0
Pesaro
Reserved (FAQ)

Q: Plz add feature "X"
No. Just no. If it isn't in AOSP, it won't be added. Please stop asking. If you want themes there's substratum, for anything else XDA is full of mods and stuff. Just use the search button.
You can find more stuff in the "Themes and Apps" section.

Q: This thing is broken, please fix.
Please do not report bugs and issues this way. Attach to your message a log (dmesg or logcat, last_kmsg if it reboots) and if you can, the steps to replicate the issue. This way you help the dev track down bugs quicker.
Please don't report if you're on a different kernel or have mods installed.

Q: I've fixed stuff, how can I help?
Cool! Just submit a pull request on my repo or contact me via Hangouts.
 
Last edited:

freshgiammi

Senior Member
Dec 2, 2012
513
2,029
0
Pesaro
Wow great concept! Everything I ever wanted from a ROM :) AOSP + Substratum. Nothing else :)

Hope you can enable SE-Linux soon :)
That'll take time, but we all hope to have that soon. I'm just not very good at writing SELinux policies haha
Awesome! This is everything I wanted from a rom. Clean, with very minimal system level modifications.
I hope I can hit where OxygenOS didn't... :p


EDIT: Gah I forgot to add Substratum's App! But masquerade is installed, so you can get the app from the play store in the meanwhile, i'll make sure to add it in the next build.
 
Last edited:

beatbrot

Senior Member
Apr 12, 2012
193
99
58
Any bugs encountered yet? Other than the issues stated in the OP

Sent from my OnePlus One using XDA Labs
Currently setting it up..Pico TTS crashed once (and only once, so veeeerrry minor). I'll edit the post if i find more bugs :)

Edit 1: Whenever I tried to setup whatsapp without profile picture, it got into a endless loop. However, adding a picture and then removing it via settings worked just fine. (This is probably just a whatsapp-thing as I am also whatsapp-beta-tester)
 
Last edited:
  • Like
Reactions: anbinhv and C4SCA

freshgiammi

Senior Member
Dec 2, 2012
513
2,029
0
Pesaro
Currently setting it up..Pico TTS crashed once (and only once, so veeeerrry minor). I'll edit the post if i find more bugs :)

Edit 1: Whenever I tried to setup whatsapp without profile picture, it got into a endless loop. However, adding a picture and then removing it via settings worked just fine. (This is probably just a whatsapp-thing as I am also whatsapp-beta-tester)
Pico TTS crashes on my side too. Gapps issue I guess.
WhatsApp works fine here. (Stable, not beta)
 

shadekh

Senior Member
Dec 8, 2010
54
8
0
The GPS issue is solved then? Have been using the OPO as my primary driver, and it was near impossible to use ride hailing services and google maps with the last few builds.