yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] ashwin007:
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

#include
/*
* 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 at you.
*
* Submitting bug reports on nightly builds is the leading
* cause of male impotence.
*/

KNOWN ISSUES

- Report with logs

!!! BUG REPORTS WITHOUT LOGS WILL BE IGNORED !!!

Android: adb logcat

Radio: adb logcat -b radio

Kernel: adb shell dmesg

Full Bugreport: Developer Menu -> Bugreport

HOW TO INSTALL LINEAGEOS

- Make sure your phone is running Marshmallow bootloader

- Download the LineageOS zip(s). (see Downloads)

- Copy the LineageOS zip to internal sdcard.

- Unlock bootloader and install TWRP.

- Boot into TWRP.

- Perform a backup of your current ROM. (Optional)

- IMPORTANT: Do a Factory Reset. (Wipe data & cache)

- Flash LineageOS.

- Optional: Install the Google Apps addon package. (see Downloads)

- Reboot

DOWNLOADS

LineageOS:

https://download.lineageos.org/onyx

Old Downloads :

https://github.com/ashwinr64/LineageOSUpdater-API/releases/

Google Apps:

OpenGApps (recommended: arm, 7.1.1, nano)

SOURCECODE

Device tree: https://github.com/LineageOS/android_device_oneplus_onyx

Kernel: https://github.com/LineageOS/android_kernel_oneplus_onyx

HOW TO CONTRIBUTE

Use our code review system to send patches: https://review.lineageos.org

HOW TO BUILD

- repo init -u ssh://git@github.com/LineageOS/android.git -b cm-14.1

- add local manifest to .repo/local_manifests/

- repo sync -j4

- . build/envsetup.sh

- brunch onyx

Local manifest:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="LineageOS/android_device_oneplus_onyx" path="device/oneplus/onyx" remote="github" />
<project name="LineageOS/android_kernel_oneplus_onyx" path="kernel/oneplus/onyx" remote="github" />
</manifest>

SUPPORT ME

Do you like my work? Consider donating me some beer!

[IMG="DONATE"][url]https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif[/IMG]

[/URL]​

XDA:DevDB Information

LineageOS, ROM for the OnePlus X

Contributors

ashwin007

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

Version Information

Status: Stable

Created 2017-01-13

Last Updated 2017-01-27
[OnePlus X Original Android Development] ashwin007:
Reserved

Changelog:

17/1:

-Synced with Lineage.

-Sneak peak of our new bootanimation ;P

-Fixed the string derp in Settings dashboard.

-Added support for automatic updates.

NOTE: I'll look into the incall audio very soon. Users need to flash superSU separately in order to have SU , we are planning on an addon SU release

.

10/1:

-Rolled back to old RIL stack , no more network instabilities

-Enabled SDcardfs

-WiFi hotspot fixed.

-No need to flash 3rd party kernels ( sorry for the delay guys,no network here,STILL :/ )
[OnePlus X Original Android Development] Sactgr:
First!!

Going to flash it later today!

Edit- running smoothly with stock kernel and dynamic gapps!!

Hotspot working! And every thing else I tried.

One bug I guess(see ss ).
[OnePlus X Original Android Development] intoxicated.mad:
for me
[OnePlus X Original Android Development] dchrono:
Download queued ... Thank you

Edit: Finally get some LinOS logos, nice!
[OnePlus X Original Android Development] prarun2030:
Super Machi :)
[OnePlus X Original Android Development] ashwin007:
It isn't a bug :P but yeah will fix it in next build :)
[OnePlus X Original Android Development] BrokenBee:
[MENTION=5426059]ashwin007[/MENTION] Thanks a lot :) Happy new year, btw!

Did you manually fix the kernel because other builds (Lineage and AICP) still require you to flash the kernel? Just asking out of curiosity.
[OnePlus X Original Android Development] lcrponte:
I'm eager to see it here! Nicely done [MENTION=5426059]ashwin007[/MENTION]
[OnePlus X Original Android Development] unkdirkpitt:
Must've fixed something as it's listed as fixed in the changelog. ;)
[OnePlus X Original Android Development] Baron1971:
The Bug that the preferred Sim changes after every reboot from Sim2 to Sim1 still persists.
[OnePlus X Original Android Development] Kéno40:
Not official, but very close to what the first official weekly will be :)
[OnePlus X Original Android Development] aryaraj:
The bugs i found out-

1.In call volume control for earpiece(speaker works fine)

2.Split screen size changing.

3.The file explorer

4.In the camera app the shutter sound option doesn't work.

Btw huge thanks to [MENTION=5426059]ashwin007[/MENTION] to let us have a hands-on on possibly the best 7.1 rom till date.
[OnePlus X Original Android Development] unkdirkpitt:
Exciting!

Works fine so far!
[OnePlus X Original Android Development] shyamalgarg:
Shall i flash arsenic kernal or not?
[OnePlus X Original Android Development] BrokenBee:
Have you tried the other LineageOS builds?
[OnePlus X Original Android Development] unkdirkpitt:
Shall you or should you? You don't need to (see changelog).
[OnePlus X Original Android Development] Monitormann:
can i dirty flash this over CM14.1-20161207-UNOFFICIAL Build?
[OnePlus X Original Android Development] jmaa009:
I make it, and work fine, but in 20161222

Enviado desde mi ONE E1001
[OnePlus X Original Android Development] dchrono:
The ROM is perfect at least the way I use it. What I don't understand is why the signal strength fluctuates so much and drops off completely. It's not something I experienced in this ROM but in all nougat Roms. I'm getting a range of -90 to -109 dBm and I see the indicator drop off completely. I wonder if I may miss a call or text, if I initiate a call the indicator will jump up and once off call it drops off again. It something that is not present in OOS. (OOS avg. -70 to -90 dBm)

[IMG="signal strength"]https://imagizer.imageshack.us/v2/320xq90/r/922/J6tygG.png[/IMG]

[IMG="status indicator"]https://imagizer.imageshack.us/v2/320xq90/r/923/9YXU6l.png[/IMG]
[OnePlus X Original Android Development] TiedCone:
I do not use default file browser but it works fine with sdcard I have.
[OnePlus X Original Android Development] :
There isn't root access mode in Settings, so I have to stick with some other File Manager.

Mixplorer seems to be a good alternative.
[OnePlus X Original Android Development] bundysoat:
It's perfectly this theme, but if implemented theme engine similar CM in LineageOS, the dev have a other theme for this engine. In spite of the notification not work properly because this is integrated in system and if you apply cause bootloop right? Tilt in black all apps, settings, but not the notifications.
[OnePlus X Original Android Development] DerAxx:
I applied everything for testing and didn't get bootloop. Just FC with some apps.

So just try it, but be sure to have backup just in case.
[OnePlus X Original Android Development] cas0404:
Hi,

I have a technical question, how is it possible to run Android 7.0 on OnePlus x (Snapdragon 801) if we dont have have support to Vulkan (we don't have the drivers)?

I see that developers have go through this problem but, I just want to knwos how this is possible :D ?

Do we have Vulkan enabled on our OnePlus x?

I already read all the thread but nobody has ask this.

Thx.
[OnePlus X Original Android Development] Kir3:
Magic ?

The power of open source. Since Qualcomm didn't release drivers for that hardware people combined the code from older android and newer drivers from different chip. They write the driver themselves and it works.

This s just a simple explanation, if anyone have more technical explanation, feel free to explain it. ☺️
[OnePlus X Original Android Development] :
I am not very sure about this, but I think you are wrong. If the developers wrote the driver themselves, we would be able to run apps with Vulkan API (ex Vainglory: Vulkan Beta).

I just think they found a way to run Nougat without Vulkan and that's how there are Nougat ROMs even on older devices.
[OnePlus X Original Android Development] Bigmacro:
I do not get it, how do I get the correct bootloader? I can just find that "use the correct bootloader" but no one can tell what and where the correct bootloader is? I had Exodus but changed back to OOS after that I just get error 7...
[OnePlus X Original Android Development] DerAxx:
https://xdaforums.com/oneplus-x/general/guide-update-bootloader-firmware-to-t3478917
[OnePlus X Original Android Development] Bigmacro:
Yes tried that and when I go to recovery mode it's orange. But still I get error 7...?

/BigM
[OnePlus X Original Android Development] Calvin2394:
https://stats.lineageos.org/

We are the 23rd most used device of LineageOS, with 750+ installs already.

Kudos to [MENTION=5426059]ashwin007[/MENTION] for this! :D
[OnePlus X Original Android Development] Bigmacro:
I tried again for a third time and now it seems to work... Yiihaa.

Atleast no error 7 yet...

/BigM
[OnePlus X Original Android Development] Mc_Markx:
It's possible to install adaway on nougat? i tryed many thing but none worked or at least i dindn't to hard to make them work.
[OnePlus X Original Android Development] bundysoat:
Okey buddy. Then you get a tilt in black notifications? With the letter in white? Or not?
[OnePlus X Original Android Development] DerAxx:
Did update today and tried again and no, have white notifications.
[OnePlus X Original Android Development] bundysoat:
Thanks buddy, this is the problem, not obtain black notifications and if applied this, the bootloop is probably...
[OnePlus X Original Android Development] Calvin2394:
Yes, it is. Using AdAway right now.

Do you have root? Did you grant permissions to AdAway?

Check the above.

If you did, possibly take a log and send it to the AdAway devs.

Doesn't seem to be a ROM issue in my eyes.
[OnePlus X Original Android Development] Mayeen:
Smartphone companies will not be updating their phones to nougat which don't have support to Vulkan API. The same reason as to why the Oneplus X won't get an official Nougat update. But as far as I know ( I may be wrong :p), Android Nougat will run on devices that don't have support for Vulkan ... It will work even on the older API... the reason why custom ROM developers have been able to provide us with Nougat.

Newer versions of Android will need the newer Vulkan API... That's the time when even custom roms might not be available for us...
[OnePlus X Original Android Development] ckret:
AOSP runs on nearly every device even on Nexus One

The difference is that we will never get official support (from oneplus) because the hardware does not have encryption built in.
[OnePlus X Original Android Development] Kewal9821:
The reason why One Plus X don't got an official nougat update is that they (one plus) don't want to give an official update :') simple :P
[OnePlus X Original Android Development] Fstop:
What does OMS mean?

Sorry I'm trying to learn. Just updated by reverting to OOS 3.14 which I never tried since I'd moved to Sultan TWRP. Actually always did luv OOS but due to lack of dev & know how on my part went & stayed with Sultan.

How can one preserve Rom's likable Features & patch security & minor bugs??? Is OOS source available? How do I extend OOS ROM life? I think OOS Based Lineage ROM would be awesome. You? It has night mode panel
[OnePlus X Original Android Development] bundysoat:
Hi guys. I see that the led notifications not work for me, and the LiveDisplay... Anybody with the same problem?
[OnePlus X Original Android Development] Dinesh6252:
i had installed the 20 june version but unistalled because of network instability....are network issues resolved in this rom?
[OnePlus X Original Android Development] anuragpv:
Onyx commits are on fire! Thanks [MENTION=5426059]ashwin007[/MENTION], for your work.
[OnePlus X Original Android Development] night.shadows:
Nope
[OnePlus X Original Android Development] meliko:
[MENTION=5426059]ashwin007[/MENTION], thank you for your work.
[OnePlus X Original Android Development] tguadagno:
camera not working after 06/29 update

hi, is anyone else having this issue? after the latest lineage update, my camera does not work. when i start the camera app, the screen goes black, no camera or camera controls. i can use the home button to get back to the launcher. i tried force stop the camera app and rebooting and did not help. i am pretty sure this worked on the last update (6/22)

thanks
[OnePlus X Original Android Development] akoyaxd:
Is device encryption working with official TWRP? Sultan had made his own version of TWRP to allow decrypting in TWRP. Is it required to use a custom TWRP for device encryption with this ROM?
[OnePlus X Original Android Development] KleinMorschi:
A lot of picked commits from [MENTION=5426059]ashwin007[/MENTION]! Cool, thanks for that!
[OnePlus X Original Android Development] CheckYourScreen:
Released New builds :)

Try and report, if everything goes fine then i might push patches to lineage.
[OnePlus X Original Android Development] hafasranda:
Dark Mode

is there any way to try wide dark theme system just like oxygenOS?
[OnePlus X Original Android Development] svandasek:
greaaat, how about the jdc builds? are there also the network fixes? Aosp or laos based?
[OnePlus X Original Android Development] CheckYourScreen:
On its way, was busy in testing the ticker feature on it. yes all fixes are in device tree so they'll be there in AOSP-JDC too. As name suggest, its AOSP based. ;)
[OnePlus X Original Android Development] johnjohnyjohn:
try deleting the app cache in the 'app info' section.

Did you notice a huge battery drain when you use the camera too ?
[OnePlus X Original Android Development] willy1980:
Still loving this ROM it's been my daily ROM for ages thanks [MENTION=5426059]ashwin007[/MENTION] for continuing this ROM.
[OnePlus X Original Android Development] Aditiwari:
Minor bugs

Hi there

First thanks a lot for this os.

Is been only 24 hours now, but I am loving it

If I missed something please let me know, I am new to this forum n installing tomorrow (though I installed it successfully)

I have installed latest Lineage Os 14.1 nightly

With 7.1 mini gaps on my opx but having some issues (bugs) with it.

1. Sometimes silent mode activated automatically.

2. Draining my battery so fast.

3. Whenever I try to turn on my mobile data through status bar shortcut, it opens the complete "mobile data" option.

4. Google search bar is not minimized (like in other naughet)

5. In setting>buttons, no option to customize 'back' button

Some request :

I am Missing shelf, if any likewise option available plz let me know

OPX camera is really good, if any one let me know how to port /install it... Plz plz tell me.

Can't attach screen shots
[OnePlus X Original Android Development] RougeITA:
6th July release seems smoother to me. Have you noticed that?
[OnePlus X Original Android Development] Drycloud:
The July 6 ROM dirty flashed fine and seems to be running fine; a great thing is that it no longer needs anything extra to be flashed in order to get working downloads on the Netflix app. Ashwin rocks!
[OnePlus X Original Android Development] DashLightning:
Trying it right now.

Something has been filling up my internal storage again. I had to do the update without a back up. Unfortunately this time the update didn't fix the storage issue. Does anyone here know where all that garbage is stored so I can delete it manually?
[OnePlus X Original Android Development] weststander:
I'm back on Lineage after a few months, the Network bug was what made me abandon before. I've been on the 29th build for three days now.

Anyway - for some reason I couldn't load via TWRP this timeso ended up adb sideload-ing it.

Generally it's running beautifully, I've no network issues, but as I have crappy WiFi, I enabled "Mobile data always active" in Developer options. I've no idea if this actually is doing anything, but I've no problems Network-wise. I've had the Stock camera problem (black screen) but clearing the camera app cache fixed this although I'm using Open Camera atm with zero problems.

One thing I have noticed, GPS fixes far quicker than OOS. This is a good thing :)
[OnePlus X Original Android Development] ashwin007:
Hello all,

Sorry for leaving onyx unmaintained for a long time. I have patched several CVEs after a long time. Apart from that, I updated widevine blobs so now users can stream DRM protected content. I have been running onyx as my daily driver just to iron out almost all showstopping bugs.And I'm pretty convinced with it as I don't seem to have network drops, LTE connection randomly disrupted and issues while switching from WiFi to mobile data and vice-versa. This has been addressed here: https://review.lineageos.org/#/c/179664/ . Also, there was a bug wherein users weren't able to zoom while taking a video .It has been fixed now.

EDIT: Swipe gestures are added

Ashwin
[OnePlus X Original Android Development] MarioKempes:
Great to see you back again. Hope your exams went well.
[OnePlus X Original Android Development] RougeITA:
Swipe gesture are now available in the settings! Thanks [MENTION=5426059]ashwin007[/MENTION]
[OnePlus X Original Android Development] W!ld:
[MENTION=5426059]ashwin007[/MENTION] what about WhatsApp video bug
[OnePlus X Original Android Development] ashwin007:
What happens ? How to reproduce it ? Get logs !
[OnePlus X Original Android Development] raj102:
06.07.2017 weeklies Network bug gone for good, thanks [MENTION=5426059]ashwin007[/MENTION]. Now no network up done after restart, calls and other apps usage.
[OnePlus X Original Android Development] W!ld:
Oh I tried latest build

It seems fixed.

Ps: latest build is very stable no issues this is a very good rom now one of the best N based for onyx.

oms support though is still not there :(
[OnePlus X Original Android Development] aa_vi:
But functionality with these gestures are not available. It makes nothing increment in the build
[OnePlus X Original Android Development] ashwin007:
I haven't assigned responses for the swipe gestures , you should configure it in settings
[OnePlus X Original Android Development] bharganwar:
Guys I can't find touchscreen gestures in settings.

I clean flashed yesterday's build along with r9-FrancoKernel (was using the r8 version before). I am pretty certain that touchscreen gestures were there in the settings in earlier builds for me.

Is it an issue with the ROM or kernel?
[OnePlus X Original Android Development] Kéno40:
Kernel broke gesture. It's common...
[OnePlus X Original Android Development] Drycloud:
This ROM is fantastic. So long as it's secure, I don't really think it needs anything else! Guess it might be useful to update the lineage CVE tracker, which currently shows 0% of onyx's CVEs as fixed?
[OnePlus X Original Android Development] ashwin007:
Yes our cve tracker should be updated manually and I haven't got to it yet .I'll take a look at it very soon.
[OnePlus X Original Android Development] TioCareca:
The rom is great, i am getting a sot of 3h/3:30h with heavy usage, no problems except overheating when gaming ( around 50°C + in 30m of gaming)...
[OnePlus X Original Android Development] DashLightning:
It does get rather hot at times.

I'm having all kinds of annoying bugs, but many of them may be caused by the way I set and use my phone as other users seem to have a rather smooth experience.

---------- Post added at 22:25 ---------- Previous post was at 22:25 ----------

It does get rather hot at times.

I'm having all kinds of annoying bugs, but many of them may be caused by the way I set and use my phone as other users seem to have a rather smooth experience.
[OnePlus X Original Android Development] bundysoat:
Thanks for your return [MENTION=5426059]ashwin007[/MENTION]. The rom works fine, but I have the latest version now, I cheking it. In the past, after the latest commits, I see the Live Display, float notifications, and ambient display not work properly for me.

Y la señal de la red puede bajar mucho tiempo.

Enviado desde mi OnePlus X.
[OnePlus X Original Android Development] jstsmblaz:
Guys, how is data while roaming? Does it work for you? I can't make it work somehow...

Poslano z mojega ONE E1003 z uporabo Tapatalk
[OnePlus X Original Android Development] Aditiwari:
Camera stopped, not working

hi thr
[MENTION=479195]ashwin[/MENTION]

first thanks a lot again

1> camera stopped working completely, shows black screen n get stuck to it, cant go back using back button.

2> due to this I flashed oneplus camera from thread : https://xdaforums.com/ground-zero-roms/ground-

zero-roms-feature-development/roms-ground-zero-roms-validus-tesla-t3546588

3> Is it possible, OPX can have VoLTE support, can I have hope for the same ..

4> it heating lot than usual whenever i use mobile more than 30-40 min

if some bode could help me how to make log file for such issue ..I would like to do the same

(I tried using TWRP but its generating logs for recovery only)

n as already mentioned in my previous post some minor bugs are there
[OnePlus X Original Android Development] alabama20:
1, you should have force stopped the app and cleared the camera app cache

2, to solve this reflash this ROM

3, there's no software support from Oneplus to support the volte

4, try different power setting or a different kernel
[OnePlus X Original Android Development] Kurt Krummbein:
1> you can go back by home-button, clear camera cache and data then it works again (but don't try panorama, its a snap bug on almost/all platforms).

2> learn how to post urls ;) roms-ground-zero-roms-validus-tesla,

you may also try this one from OnePlus 5 ported to 32bit devices, port-oxygenos-stock-camera

3> Simple answer NOOOOOOOOO!!!!!!!

4> Find an app for throttling the cpu if you intend to use your device for longer times without heating up ;).

Gtz

Kurt
[OnePlus X Original Android Development] Aditiwari:
Thanks for quick reply

Pardon me, I am totally new to all this..

I mean, I this is first time I broke bootloader and successfully flashed ROM n got excited for hours, that new I am..

2> defiantly I will learn ...:D , and I had already gone through that link but afraid as its for OP3 n UNTESTED, but I can try now

---------- Post added at 12:02 PM ---------- Previous post was at 11:36 AM ----------

thanks for reply

2> I didnt understand completely,

are you saying if I reflash latest Lineage OS , along with Oneplus camera like from this page manual control of 'oneplus camera' will work??

3> I got big n bold answer :D from 'kurt' [MENTION=4179977]Kurt Krummbein[/MENTION] ,

but I dont get it, when team working from scratch for this OS, why cant build those library for VoLTE support???

(NOTE: I will try to understand from other source as well.. )

4> can you plz suggest which kernel/s I could install with lineage OS on my OPX.
[OnePlus X Original Android Development] DashLightning:
Are system profiles working reliably for you guys? I've set up a standard profile with activated lock screen and a home profile with deactivated lock screen. They should be triggered by entering or leaving my home wifi, but most of the time the lock screen doesn't get activated when I leave home.

Even worse, when it's activated and I reboot it defaults to my home profile.