yashsingh1/xdaforums huggingface dataset:
[Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)] phelpsphelpsphelps:
have u tried turning off dynamic refresh rate....i had stutters when i turned it on...
[Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)] KHSH01:
Redmi Note 11 Pro Plus 5g here. No issues on my device either. I notice the screen flickering slightly at night but it seems like a software issue on my end with vivid mode and auto brightness conflicting with one another.
[Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)] bressans:
I have this problem with my poco x4 as well, any updates on this?View attachment 5699361
[Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)] Khan Subhaan:
it's happening to me too my phone is POCO X4 PRO 5G (8,256) global variant and it wasn't back then when i had A11 but since there's A12 it's started flickering specially when it displays dark content and when it was on A11 it couldn't display true black when u put it on 10-25 brightness
[Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)] FhilipeCrash:
It's been a week since I got my Poco X4 Pro 5G and today I noticed that the screen keeps flickering, it is visible in apps that are not completely dark like Facebook or Google. I also noticed that this only happens when I leave the refresh rate at 120hz, at 60hz the screen is normal
[Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)] Khan Subhaan:
same here and also it started on a12
[Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)] MichiFirulais:
Hello, I have been using the Poco X4 Pro 5G for 1 month and I have the same problem, at a certain level of brightness the screen is gray black that is not amoled black and also flickers, it is most likely a software problem.

There is a solution but it is through an application and they have disadvantages the colors will not be as vivid:

https://xdaforums.com/t/app-official-v1-1-oreo-colorizer.3695676/
[OnePlus X Original Android Development] qsnc:
Introduction

If you don't know LineageOS and would like to read about it before installing it you can take a look at the official Website.

Features

Individuality

Security

Longevity

Installation:

If you are on stock OS, you need a custom recovery first. You can get the recommended recovery in the official installation instructions link below.

If you are coming from stock or other ROMs, you need to make a factory reset.

As always, make sure to backup before installing this ROM.

More detailed instructions at:

Install LineageOS on onyx.

Downloads

Download LineageOS 18.1 for OnePlus X

Download TWRP Recovery for OnePlus X

Recommended Google Apps package: Open GApps (Choose the arm pico package - NOT arm64)

Source code

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.

The device specific source code can be found in the LineageOS Github repo.

OnePlus X device tree

OnePlus X kernel

Changelog:

Initial

Bug reports:

Please submit bugs and other errors in this thread

Donate to support development:

Donate via PayPal to vware

Donate via PayPal to LineageOS

Contributors

Georg Veichtlbauer

ROM OS Version: Android 11

ROM Kernel: Linux 3.4.x

Version Information

Status: Experimental

Created 2022-06-12

Last Updated 2023-05-05
[OnePlus X Original Android Development] qsnc:
(reserved)
[OnePlus X Original Android Development] niravnn:
Thank you so much, I''ll be installing it tomorrow and will be active here if I found some bugs will report with logs :) once again thank you so much, much appreciated your work
[OnePlus X Original Android Development] niravnn:
The in call volume is very high even at the lowest volume level and screen doesn't go off when answering a call or dialing a call

let me know that do I need to post logs for this issue :)
[OnePlus X Original Android Development] qsnc:
thanks for trying it! i will be playing a bit trying to reintegrate into upstream lineage, if that does not work, i will continue down this path.

should have some news pretty soon, though it's summer ;)
[OnePlus X Original Android Development] ze7zez:
Hmmm... But these are sources for tree 15.1, not for 18.1.
[OnePlus X Original Android Development] qsnc:
as ive said in the other thread, this is pretty much just built on top of the trees of Yume. you can find the sources there, or on my github (linked in my profile).

however, also, just a post above, ive stated i am working on re-upstreaming the whole thing, i am not done yet. and its summer ;P once ive got news, i'll update the thread.
[OnePlus X Original Android Development] qsnc:
new release. beware: quite a lot of changes, mostly bringing configs back to stock (original maintainers didnt understand the usage of i2s in the sound config apparently). however: this may cause unexpected problems, so please let me know if anything new goes wrong here ;)

also, current source links are updated
[OnePlus X Original Android Development] niravnn:
just quick update

clean Installed it and so far it's fine. in call volume is perfect and screen also goes of now :)

I'll test it and see if I find any other bugs.. hopefully not 🤞

1 update: when it boots up it says signed with public keys
[OnePlus X Original Android Development] niravnn:
Random reboots keeps happening. Mainly when I try to switch between more than two apps or it could be something else. I've attached logs if it helps
[OnePlus X Original Android Development] liveordie:
Same here it crashes a lot and also the download manager seems to disappear.
[OnePlus X Original Android Development] Patjutzu:
I can confirm that it often crashes and just restarts for no reason
[OnePlus X Original Android Development] qsnc:
sadface. did the other build crash for you guys too?
[OnePlus X Original Android Development] niravnn:
no other build was fine it wasn't rebooting like your latest build. but the in call volume was so high at the lowest volume that it was unsable as daily driver and also screen wasn't turning off when receiving a call or dialing a call so it was also creating issue. so I only used your other build for like 30 minutes but not a single reboot at that time.

but with your latest build, it rebooted every 5 minutes. so it's completely unusable..
[OnePlus X Original Android Development] Patjutzu:
The version of the lineage-18.1-20220612-UNOFFICIAL-onyx.zip runs so far well with me no restart without reasons present.

Unfortunately, the display does not go off when making calls with the version lineage-18.1-20220612-UNOFFICIAL-onyx.zip when the phone is at the ear.

For me, the volume was ok, but not perfect either, I felt it was more quiet than loud.

It could be a bit louder.

Their new version lineage-18.1-20220623 I tested only briefly and then went back to the old one because of the constant reboots.
[OnePlus X Original Android Development] qsnc:
EDITED: pretty sure zram was the culprit in the new build, so please download from the first post again and try it, works okay on my device.

AFTER you have downloaded it, please let me know if volume issues still persist, it's been back and forth a bit ;)
[OnePlus X Original Android Development] Patjutzu:
Sorry I noticed something else

So for one the proximity sensor still doesn't work and the display doesn't turn off while on the phone and just stays on when the phone is at your ear.

What also does not work is the interactivity display.

My settings are set to: Wave On, Pick Up On and Pocket On.

however nothing happens so I guess the sensor is not working because the phone just stays dark when in standby.
[OnePlus X Original Android Development] qsnc:
new build is up, quite a lot of changes. proximity sensor works fine for me, in call and also during inactivity display. unless i make some progress on my "internal" goals, this will be the one to get for some time, as it works for everything i need it to.
[OnePlus X Original Android Development] Patjutzu:
Great respect good work thank you it runs as far as I can tell now everything.
[OnePlus X Original Android Development] Baron1971:
Good work for this old Phone!! And we have nothing to pay...! ;) One Question ist there an Option to customize the Navbar (center Clock, change Battery Icon, etc.)? I can't find anything.
[OnePlus X Original Android Development] andorxor:
Great job, qsnc. Just to let you know for a potential fix: after installation WiFi didn't work. I use a FritzBox 7590 router, with WPA2+WPA3. After switching to WPA2 (CCMP) it worked.
[OnePlus X Original Android Development] qsnc:
of course you can: settings -> system -> status bar

there you'll find most of the settings you want.

regarding wifi: yeah, wpa3 should be disabled actually

and you're welcome - you can still donate freely though ;)
[OnePlus X Original Android Development] jojovrtak:
Thanks for the smooth ROM, but the gallery shows the wrong GPSposition of the photos in the properties. My position in the mapsapp is OK. The same on LOS17.1...
[OnePlus X Original Android Development] Baron1971:
Will there be an Update with August Security fix?
[OnePlus X Original Android Development] ze7zez:
Do not ask about such matters. When it is, it will be and then you will thank it. 👌
[OnePlus X Original Android Development] qsnc:
that's not a device related issue i am afraid, so i'd have to ask you to file a report at the official lineage bugtracker.

most likely not. i'm mainly working on oneplus 5/5t devices, and we are getting ready for android 13. i am using my private resources (i.e. beefy build server) to build lineageos, and i don't have the capacity (time, space and these days money) to work on too many things at once.
[OnePlus X Original Android Development] lovechii:
You did a lot of effort! Thanks.
[OnePlus X Original Android Development] miradarya:
Is there any way to disable WPA3 on the device side until a new release might be published? I would very much prefer not to disable WPA3 generally for the entire network.

One thing I noticed when I tried this ROM was that I could only open the device settings via the app drawer but not the notification panel. The latter crashed the launcher. (I should note though that I dirty flashed this ROM over a previous YumeMichi 17.1 ROM just for a quick test. So might not be relevant in a clean install.)

Other than that this ROM looks very promising. Thanks for the effort put into this!
[OnePlus X Original Android Development] qsnc:
wpa3 is disabled actually
[OnePlus X Original Android Development] miradarya:
Ok, I understood your comment from July 25 to mean that WPA3 should be disabled in the build but actually isn't. My WiFi network shows up as WPA2/WPA3-Personal with this ROM (can this be if WPA3 is disabled in the ROM?), but the device doesn't connect, similar to what @andorxor observed. That's why I didn't try any further. Maybe I should give it another go with a clean install then...
[OnePlus X Original Android Development] qsnc:
good lord, i actually forgot updating the first post. now you should just be able to click the link in the OP.

thanks @ze7zez for making me aware of that... getting old
[OnePlus X Original Android Development] miradarya:
Hmm, you mean the version dated 20220724, so from before the above comment regarding WPA3? Still doesn't work for me, unfortunately, even with a clean install. I can only connect if I disable WPA3 on the WiFi network.
[OnePlus X Original Android Development] andorxor:
Just a remark regarding the WPA3 "issue": I configured my WiFi with a guest access using WPA2, and the internal WiFi still with WPA3. That way I can use the device with the guest account (but obviously cannot use my internal network attached printer with the phone - I can live with that). Maybe that's an interim solution for others as well.
[OnePlus X Original Android Development] Fostel:
I own bacon, onyx and dumpling too. Thank you for trying to keep onyx alive. How did you get around dying batteries after those years?
[OnePlus X Original Android Development] techjeed:
The rom works on my OPPO A30 everything is working, I used it as a daily driver.

Thanks to everyone that makes this happen.

We are still looking forward for the lineage 19 android 12
[OnePlus X Original Android Development] qsnc:
lineage 19 or newer is not going to happen on onyx (and for that matter, any device that has a kernel older than 4.4), due to google switching major functionality in android to use eBPF.

someone would have to port a 4.4 kernel to onyx, but for me, it's just not worth the massive effort. the only exception i know of right now is xiaomi 8996, someone ported a 4.4 kernel to that.

sorry to be the bearer of bad news, but you may stop waiting for pretty much all of these legacy devices.
[OnePlus X Original Android Development] ze7zez:
Your version of LOS 18.1 is good enough.

The undisputed record holder in terms of the number of successive versions of android (from 2.3.5 to 13) is the Samsung Galaxy S2 (i9100), which currently runs Lineage 20.
[OnePlus X Original Android Development] qsnc:
yeah, and don't get me wrong, with some trickery it's still doable (in a janky way), we also ran dumpling without the ebpf stuff... but random reboots, wrong stats, etc were observed... so no daily driver material
[OnePlus X Original Android Development] OPX2023:
Will this ROM enable me to combine phone storage with sd card storage? Most of my apps on stock onyx install them self on the phone storage and they do not allow me to move them to SD card storage. My phone storage is already full but I have plenty of SD card storage left.
[OnePlus X Original Android Development] najmulbappy:
Working fine for me. Thanks so much.
[OnePlus X Original Android Development] cxantia:
Hello People!

I am not a developer - but I put the kernel- and device-sources from qsnc into the actual lineage sources 18.1 and compile a version for the unofficial lineage build 18.1 for onyx.

I can't support if you have any problems - "I am not a developer - only a lineage fan".

You can download and install the version on your own risk!

New Versions - security patches are from May 2023.

I install it by using TWRP 3.4.0.0. and "adb sideload lineage...".

Download - May Update

Download - May Update with dwc3_otg Patch (see below in the newer posts)

Please note: After I installed the "dwc3_otg" version as an update, I could not go back to the normal version as an update. I need to reinstall the normal version as a clean installation to use USB OTG again.

But - maybe it was a mistake on my part. Another user did not have the problem.

qsnc - thank you very much for your work!

Have a lot of fun!
[OnePlus X Original Android Development] Baron1971:
Thanks for sharing. It works.
[OnePlus X Original Android Development] Mchasard:
Could we flash this new build over the actual dirty way or a clean install is required?

And is this build functional?
[OnePlus X Original Android Development] cxantia:
Hello,

i installed this build over qsnc's build. I haven't tested a clean install. My Oneplus X is a used phone. The previous owner installed a new battery. After that, the selfie camera and mobile radio no longer work. So I can't test that thinks. The rest works for me.

A backup might be a good idea.
[OnePlus X Original Android Development] Mchasard:
Thanks for your feedback...I'm actually under lineageos dd2022 all is working for me ...so I asks me if its does make sense to update ...
[OnePlus X Original Android Development] Baron1971:
Will there be an Update with March Sec Patch?
[OnePlus X Original Android Development] cxantia:
Yes i plan that. At the moment the security patches are not in the sources.
[OnePlus X Original Android Development] cxantia:
New version now online. See Post #42.
[OnePlus X Original Android Development] rogenth:
I'm having problems with Linux deploy (trying to set up a container). According to what I saw the issue seems to be the kernel. Any ideas?
[OnePlus X Original Android Development] cxantia:
Sorry - I can't help you. :-&
[OnePlus X Original Android Development] Brendanus:
Working really well! Many thanks for keeping this going. This is a very practical form of sustainability ... keeping older devices in service. :giggle:
[OnePlus X Original Android Development] cxantia:
Yes, that's right. All members of my family use used smartphones. Of course only if there is a current custom ROM.

If there is no official lineage but lineage sources are available, I compile the ROM myself.

In Post 42 I added a new image with the April Security Updates.
[OnePlus X Original Android Development] RiPLeY78:
Hi guys. Would you know if this last rom has OTG mode + charging simultaneously (OTG ACA)?. I've been trying to use Oneplus X as a Octo4a server for 3dprinting, but in order to do that, you need to charge and connect to the printer simultaneously. I've read some old posts on modifying the kernel to do that, but I am no developer and it is really overwhelming for me. Would be nice to know if the kernel used in this has this enabled or not, in the second case, there are some c sources on how to do that in https://github.com/sollapse/opo_dwc3_otg/ (though as I told you, i am quite limited on how to integrate that).

Thanks
[OnePlus X Original Android Development] cxantia:
Hello, I looked at this. I'm not a developer either.

The dwc3_otg.c file in the current kernel looks different than the modified one in your post. I can replace the modified dwc3_otg.c in the source and try to compile the ROM.

We'll see if that works. If it works, I'll upload the ROM for you. I'll get back.
[OnePlus X Original Android Development] cxantia:
Hello, the compiler ran without errors. You can download the ROM here. I haven't tested it though. Please test at your own risk. I hope it works. Much luck!
[OnePlus X Original Android Development] Fostel:
I've got Onyx for sale. First owner. Immaculate condition. Fully boxed. Still 60% battery. Where is the best place to sell it? Where do you guys sell your older phones? I am in the UK and not on eBay. Any suggestions are appreciated. (y)
[OnePlus X Original Android Development] RiPLeY78:
Hi, thank you for the effort. I flashed the rom, it went ok, and the phone works ok, but sadly charging and using OTG simultaneously still doesn't work. As soon as you connect a usb device to the Y splitter, it stops charging the phone.

Anyway, it was worth a try, again, thanks for taking the time.
[OnePlus X Original Android Development] cxantia:
Hello, thank you for your feedback.

Have you tried the following: "With the modified kernel flashed, open a terminal shell and as root, enter the following command: "echo Y > /sys/module/dwc3/parameters/aca_enable"?
[OnePlus X Original Android Development] cxantia:
Hello, I have no idea for the UK. In Germany we have "ebay Kleinanzeigen". It's like an online flea market (jumble market for used thinks).
[OnePlus X Original Android Development] RiPLeY78:
Well, this is working, though the setting doesn't survive a phone reboot. Have to do it again after every reboot to get it working.

Would it be possible to modify that file in the rom so it stays fixed?
[OnePlus X Original Android Development] cxantia:
:)

Hello, that's definitely possible. But I don't know how. My English is not good and unfortunately I don't have much time. If you look for a link that describes this, I'll put it in the ROM and compile it. Is this possible?
[OnePlus X Original Android Development] Fostel:
I am about to flash my onyx that runs /e/ OS https://doc.e.foundation/devices/onyx (Android 7 Nugat)

with Lineage OS 18.1 what version should I pick if I want the latest and stable?

Thanks.
[OnePlus X Original Android Development] cxantia:
Hello, I would take the ROM from post 42. However, I don't use my Onyx as a daily driver and my smartphone has hardware problems - mobile communications and the selfie camera no longer work. However, the feedback from other users in this thread are positive. I would definitely do a clean install.

Please note: GAPPS are not included in the ROM and I cannot provide any support for the ROM. In any case, I recommend a data backup beforehand!
[OnePlus X Original Android Development] Fostel:
Thank you! (y)

Do I need new firmware installed?

How do I check what FW is installed?

How do I flash new firmware?

Where do I get it from?

Apology for the many questions but I want to do it right the first time.
[OnePlus X Original Android Development] cxantia:
I think you should first take a look at the information in this link - https://wiki.lineageos.org/devices/onyx/install.

I can no longer say where I started from. I think it must have been the last stock ROM. Then I switched to the ROM from qsnc (Post No. 1) including GAPPs. Please also look at his information in Post No. 1.

After that I did a normal update to my ROM.

How to get the Stock ROM please search the web. I can't give you a safe site without trying it out first.

Maybe someone here has information on where to find the stock ROM and how to install it.
[OnePlus X Original Android Development] cxantia:
Have a look here

The download link is https://service.oneplus.com/de/search/search-detail?id=2096330&articleIndex=1

The prerequisite is twrp recovery on the smartphone.

After the stock ROM is on the smartphone, please check again whether there is an online update from Oneplus!
[OnePlus X Original Android Development] Fostel:
Got the latest TWRP 3.4.0.0.

Flashed latest OxygenOS 3.1.4 (Android 6.0.1, security 1 Nov 2016)

Now I am about to get a clean flash of LOS 18.1

@cxantia did you use @qsnc work and added security patches or there are further changes/ differences?

I need a stable system. Thanks.
[OnePlus X Original Android Development] cxantia:
That sounds good.

Yes - I took the sources from qsnc and only added the April security patches. The May patches are not yet available.
[OnePlus X Original Android Development] qsnc:
first post updated with the new build from april 2023, as discussed with @cxantia :)
[OnePlus X Original Android Development] Fostel:
@qsnc & @cxantia

Thank you for your work on this device. I would not believe that an 8-year-old phone that had Android 5 easily runs Lineage 18.1 (Android 11) if not tried it myself!

I believe that Oneplus devices back in the day were much much better.
[OnePlus X Original Android Development] cxantia:
Very nice - I'm glad that your Oneplus X is now running Lineageos 18.1!

The Oneplus X is a very nice smartphone. Unfortunately, you cannot simply change the battery.

Have fun with it anyway.
[OnePlus X Original Android Development] Fostel:
I am doing a clean flash of the April build. I hope that it is fine.

____________

What I've noticed.

When I flashed qsnc ROM after a stock ROM, the first startup took some minutes.

When I flashed the latest yesterday (clean) the device was up and running in seconds.

How come?
[OnePlus X Original Android Development] cxantia:
Hello, I think it's OK - April Build and Clean Install.

Did you flash Lineage via stock rom on the first try? I would not do that. When I change the "distribution" I always do a clean new install.
[OnePlus X Original Android Development] Fostel:
Always clean with an official TWRP and adb sideload
[OnePlus X Original Android Development] cxantia:
Hello, I asked the community - Include an individual file in the lineage sources. Now I have an idea how this can work. I'm trying it out now. Tomorrow we will see if it works. :unsure:
[OnePlus X Original Android Development] cxantia:
Well then I have no idea why it took so long on the first try. 🤷‍♂️
[OnePlus X Original Android Development] Fostel:
I was not surprised by the first one being 'long'.

I was shocked the second one was 'so fast'.
[OnePlus X Original Android Development] RiPLeY78:
Wow, that would be great. I have been doing some tries on getting a startup script through magisk to get it done when booted, but somehow i am not being too succesful with it for now, though it should be possible.
[OnePlus X Original Android Development] cxantia:
I can imagine that.

But no matter - the main thing is that the system is "up and running". 😁
[OnePlus X Original Android Development] cxantia:
Yes - I can imagine that with Magisk this possibility exists. But I don't know how to do that either.

The compiler runs tonight. I'll check the results tomorrow and report back. 🤞