FORUMS
Remove All Ads from XDA

[ROM][AOSP][02/12] halogenOS 8.0 for OnePlus 5 [Clang kernel]

1,003 posts
Thanks Meter: 1,791
 
Post Reply Email Thread
Announcement from xdvs23: Let's roll the Oreos!


Android, Reimagined.

For the best experience, view the thread on a web browser like Chromium or Firefox.
Desktop: Brilliant. Mobile: Good. Tapatalk: OK. XDA-Labs: Horrible.




Code:
/*
  * The modifications performed to your device are
  * performed by yourself, thus you must perform the
  * leap of fate and accept the inevitable outcome, the
  * responsibilities of what to do with your device are passed to you.
  *
  * We are of no responsibility for any damages, data loss
  * or results of unexpected outcome, if you have **SERIOUS**
  * problems with this software, do not hesitate to contact
  * the developers or maintainers of your device port.
  *
  * We are not liable for anything that happens with your
  * device. Shall you somehow screw up and take the leap of faith
  * you may find that some companies may do indeed still honour
  * warranties, although we cannot give one ourselves.
  *
  * Don't be stupid and bet on that generosity of companies though,
  * please be responsible for what you do with your device.
  * Do not try overclocking up to glorious 1337 GHz thinking an OEM
  * would replace your glorious space heater only matched by the GTX480 etc.
  *
  * We recommend you to take the advice above regardless.
*/


XOS is a new generation Android-based cutting-edge OS based on the Android Open Source Project and Code Aurora Forum releases.

What is XOS?
halogenOS, also known as XOS is a new Android ROM which ships with the global aim to
become a modular ROM which keeps as high as potentially possible operating
performance on your mobile device while still maintaining a sufficient feature
base of nice, small and minimal features that would not be available via any
external feature base, extension, mod or plugin.

We hope you have a truly halogenified experience!

Internals of XOS
At core, the ROM is composed mainly of components from the
Android Open Source Project (AOSP) and Code Aurora Forum (CAF),
with extremely minor set of components from LineageOS (LaOS or LN) which
have been added to source in order to allow for better cross-device compatibility.

Our LOVE to others
A huge thanks goes to those behind the AOSP and CAF, the LineageOS Project and all of its
contributors for the sources used in the development of the base ROM which we
started with inclusive of all the work and dedication their team puts in order to
keep us updated on the awesome contributions that they make.

We will be keen on ensuring that we be up to date with the code from our base sources,
with regular ROM updates hopefully coming from time to time.

Please do not ask for ETA's (else you shall be spooked by Mr Skeltal). Almost all of us are
students, and with the current lifestyles and routines we have, it is not that easy to acquire
time to develop the ROM, though we'll be sure to keep you updated and release OTAs as
soon as they are available and ready for publication. If you want to be really updated quick,
then join us on Telegram: http://telegram.me/halogenos

Visit our website for features such as: Downloads, Information etc.
http://halogenos.org




Although no data should be lost or damaged by the flashing process,
we advise you to follow the following steps if you are coming from another ROM:
Code:
 * Please take a full Nandroid backup!
 * Please copy your back up to an external device.
 * Back up your Internal Storage
 * When completed, clean flash the build (format using fastboot --wipe-and-use-fbe)
Although you usually may dirty flash halogenOS over other ROMs, considering the other
ROM is built upon the same Android version, it is not guaranteed.
In case of performance issues or crashes please do a clean flash.

You can dirty flash halogenOS 8 over halogenOS 7, however, don't bother us with issues then.




Overall as a ROM, XOS is very stable. Our mission statement has always been of maintaining a clean and properly maintained ROM.
We take proper priority with ensuring that performance and stability are put first, features are considered an extra topping on the cake.

All Builds/Devices/Maintainers
Substratum Theming Support (coming soon)
Custom Lockscreen Visualizer
Offline Gesture Recognition
Upstream Security Patches
Support for `addon.d`
Application Signature Spoofing Toggle (for microG)
Various Kernel Optimizations
Long Press Home for Assist
System UX & Performance Optimizations
Audio Tweaks
Enhanced Media Support (Video, Audio, ...)
I/O Tweaks

OnePlus 5
Alert Slider & Gestures Support
Clang 5-compiled kernel
Linux 4.4.100
AOSP Hals
FDE/FBE/Decrypted support (please do a full format before flashing Oreo)

Possible issues
OTG broken
ADB on Linux only usable when running as root (sudo adb kill-server && sudo adb start-server)




Installing for the first time
Code:
* Download the current version of XOS for your device.
* Reboot into a compatible Android Recovery solution. (Note: We recommend TWRP)
* Wipe '/system' & '/cache', FORMAT /data preferably using fastboot --wipe-and-use-fbe (You will lose all your data incl. internal storage).
   (Optional: For `Dirty Flash`, do not wipe anything)
* Select the appropriate ROM zip and flash the current ROM build.
* Want Google Apps? Obtain and flash the latest GApps from http://opengapps.org/
* Flash any other system modifications you may want
* Reboot.
Manually updating the ROM
XOS ships with an OTA updater built-in (soon) which should automate the downloading and flashing process,
however should your wish be to manually update the ROM, you should be our guest.
Code:
* Download the current version of XOS for your device.
* Reboot into a compatible Android Recovery solution. (Note: We recommend TWRP)
* Please do not wipe anything, including Cache/Dalvik/ART, the ROM has you covered.
* Select the appropriate ROM zip and flash the current ROM build.
* Reflash any system modifications that do not survive updated (everything that is not addon.d-capable)
* Reboot.
You do not need to wipe Cache/Dalvik.
You do not need to flash Google Apps again*.
You do not need more than 5 minutes.

* Just make sure that you don't wipe system before flashing.



Screenshots

Currently right now, halogenOS will only include the stock Android theme.
We may one day decide to use a custom theme as soon as that theme is working perfectly fine.




@regalstreak
@xdvs23 (actually xdevs23, but that was already taken on XDA)
@sewer56lol
@jbw716
@marpe
@dango99
@hunter_bruhh
@MSF-Jarvis
@keessonnema



Download Links

Download halogenOS
Alternative link (archive)

You can find all builds on our website, for that view our download page.

ROM Sources
All Sources | ROM, Kernel, Trees etc. @ XOS GitHub Organisation.

OnePlus 5
Kernel source
Device tree
Vendor tree





Code Aurora Forums, LineageOS, ...
And everyone else who contributed and helps us!
In case you feel left out here, please contact us!





XDA:DevDB Information
halogenOS for OnePlus 5, ROM for the OnePlus 5

Contributors
xdvs23
Source Code: https://github.com/halogenOS

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: OOS 4.5.13 or later
Based On: AOSP

Version Information
Status: Stable
Current Stable Version: 20171202
Stable Release Date: 2017-12-02

Created 2017-08-02
Last Updated 2017-12-03
The Following 33 Users Say Thank You to xdvs23 For This Useful Post: [ View ] Gift xdvs23 Ad-Free
 
 
2nd August 2017, 02:05 PM |#2  
xdvs23's Avatar
OP Senior Member
Flag Bavaria
Thanks Meter: 1,791
 
Donate to Me
More
Reserved
IMPORTANT: File based encryption is not supported AS OF NOW.

If you want encryption, follow these steps (if you are not an advanced user, skip step 5 and 7, and wait for the next release):
  1. backup internal storage to external media
  2. make data backup to external media
  3. format /data (not wipe! Do a format in TWRP -> Wipe -> Format Data -> Type in yes and confirm!)
  4. restore data backup and copy internal storage back
  5. shrink data using resize2fs
  6. reboot and you should be decrypted
  7. now in settings you can do full disk encryption.

However, there is no guarantee that it is going to work! I did those steps yesterday and they worked.
The Following 6 Users Say Thank You to xdvs23 For This Useful Post: [ View ] Gift xdvs23 Ad-Free
2nd August 2017, 02:07 PM |#5  
gouthamgoumi's Avatar
Senior Member
Thanks Meter: 101
 
More
Awexxome!
2nd August 2017, 02:09 PM |#6  
aviraxp's Avatar
Senior Member
Flag Beijing
Thanks Meter: 521
 
More
Here comes the legend!
2nd August 2017, 02:11 PM |#7  
Senior Member
Flag 30530
Thanks Meter: 259
 
More
Awesome

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
2nd August 2017, 02:21 PM |#8  
Senior Member
Flag Stuttgart/Germany
Thanks Meter: 77
 
More
Will test it and report
Thank you very much for the great work
2nd August 2017, 02:55 PM |#10  
DespairFactor's Avatar
Recognized Developer / Recognized Contributor
Thanks Meter: 11,601
 
More
Wait, you have a working OP camera on this?
The Following 2 Users Say Thank You to DespairFactor For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes