yashsingh1/xdaforums huggingface dataset:
[OnePlus X General] YumeMichi:
I don't have any camera issue on my mkp (sultan camera, too) branch.

https://github.com/YumeMichi/device_oneplus_onyx/commits/mkp
[OnePlus X General] sojusnik:
While I appreciate your engagement in creating a great ROM for the OPX, your wording does not meet the high standards your ROM stands for.

In the flash instructions of your first post it's not mentioned at all, that only formatting cache and dalvik could be enough, when having problems with the ROM after an update. Initially I've installed the ROM after a clean flash, because I was coming from LOS 15.1, but doing a clean flash after every LOS 16.0 update, thus loosing carefully adjusted system and app settings, is not an option for me. But in my case formatting cache and dalvik only was sufficient. Maybe this info will be of value to others as well.

So let's be more constructive and supportive to each other!
[OnePlus X General] psychem:
too bad you didn't like the wording, tough luck

next time follow instructions, no short cuts.
[OnePlus X General] Bunyip123:
Hello, thanks for the update to this outstanding ROM! I'm really pleased that because of your hard work, I can keep getting updates for this older device.

After flashing the July update, I'm having the same problem as some other users here are reporting: The camera apps are crashing with "Unknown error". If it would be helpful, I can get a logcat.

Does anyone have a fix or a workaround yet?
[OnePlus X General] jerryhou85:
Dear all,

Please remember to respect each other during your discussion. Share the love for the ROM, not the hate. ;)

Thank you for cooperation.

2. Member conduct. 2.1 Language: XDA is a worldwide community. As a result, what may be OK to say in your part of the world, may not be OK elsewhere. Please don't direct profanity, sexually explicit language or other offensive content toward Members or their work. Conversely, while reading posts from other members, remember that the word you find offensive may not be offensive to the writer. Tolerance is a two-way street.

2.2 Nudity: XDA is used by people of all ages, including minors. It is unacceptable to post nude or pornographic imagery, which includes the exposure of male or female genitalia and / or female breasts.

2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.

2.4 Personal attacks, racial, political and / or religious discussions: XDA is a discussion forum about certain mobile phones. Mobile phones are not racial, political, religious or personally offensive and therefore, none of these types of discussions are permitted on XDA.

2.5 All members are expected to read and adhere to the XDA rules.

Jerry

Forum Moderator
[OnePlus X General] sojusnik:
Have you already tried to format cache and dalvik in TWRP, as I've written some posts before?
[OnePlus X General] Kéno40:
Clean flash is needed nearly at each update.

You can try to dirty flash, but if you have that kind of problem, that's the proof clean flash was mandatory on your system.
[OnePlus X General] hlapatsas:
Delete this message please

------------------------
[OnePlus X General] Bunyip123:
I tried dirty flash first, and then I went back and did a clean flash. I'm still getting a camera error. Here's a logcat, in case it helps: https://paste.fedoraproject.org/paste/vuFk3oUS8MoW13l8kZf6uQ
[OnePlus X General] Bunyip123:
I did another clean flash, this time using the non-Sultan build, but I'm still getting errors. Logcat: https://paste.fedoraproject.org/paste/Cb3ZE3ZsvBUj1E-qh8Qn~Q

I think I'll roll back for now and try the next release. Thanks for doing these LineageOS releases; especially for including microG!
[OnePlus X General] Kurt Krummbein:
Well, loosing your settings, tweaks and all is realy annoying, and ... often not necessary.

Dirty flashing is often working (well, not if you jumb back and forth to different images), when single app's don't work, it's often enough to delete their data and cache.

If that is not working next step, should be deleting dalvik and cache.

If that is not working, search for workarounds or solutions in threads like this (but without annoying and complaining ;) ).

If that is not working, do a clean flash - sigh.

If that is not working ... ask yourself, what you are doing wrong ... or is it a systematic problem?

Now, it's time to write your experience, to prevent others to fall into the same trap :).

Cheers

Kurt
[OnePlus X General] psychem:
can you update the manifests for mkp?
[OnePlus X General] YumeMichi:
device: https://github.com/YumeMichi/device_oneplus_onyx branch: mkp (Revert the first two commits to build on LineageOS)

vendor: https://github.com/YumeMichi/vendor_oneplus_onyx branch: lineage-16.0-sultan (Revert the first two commits to build Sultan camera HAL from source)

kernel: https://github.com/YumeMichi/kernel_oneplus_onyx branch: lineage-16.0-sultan

dependencies:

- https://github.com/LineageOS/android_device_oppo_common

- https://github.com/LineageOS/android_packages_resources_devicesettings

- https://github.com/LineageOS/android_external_sony_boringssl-compat

And if you want 4K recording, revert https://github.com/YumeMichi/device_oneplus_onyx/commit/54d7b727255d48f06fee74c90d87680ed8ceefc9 and manually patch frameworks/{av,base}:

av: https://github.com/YumeMichi/patche...rderProfiles-Add-new-camcorder-profiles.patch and https://github.com/YumeMichi/patche...03-libmedia-Add-1440p-camcorder-quality.patch

base: https://github.com/YumeMichi/frameworks_base/commit/64a6803439487822fb0b4f45e4fd38b7d62f333c and https://github.com/YumeMichi/frameworks_base/commit/a8826c6bb4ed7e71203b28d0bc9b47fb0ea808f9
[OnePlus X General] hlapatsas:
Camera error

I confirm the camera not working with the latest microg sultanhal mod.

Always uber clean flash!
[OnePlus X General] psychem:
[MENTION=7093179]YumeMichi[/MENTION]

can you check the sultan camera manifest, it is stuck on bootlogo. tried a few builds.
[OnePlus X General] psychem:
looking into the issue with sultanhal build
[OnePlus X General] Tenroc:
Hi, Thanks for the rom!

I'm running the latest non-microg version (clean flashed) and I also have the camera app crash.

Trying to open the "button" sub menu under the "system" setting entry also causes a force close.

I'm attaching logs for both.
[OnePlus X General] sojusnik:
That's strange! I've dirty flashed and had the same issues, but after formatting cache and dalvik they disappeared, like written before.
[OnePlus X General] BuzzBradA:
Non microG variant with gapps stock no camera as well
[OnePlus X General] psychem:
withmicrog variant is fixed with the 16/07 build.

nomicrog variant 07/07 build is working fine.

sultanhal build camera is broken, waiting for YumeMichi to fix it upstream.
[OnePlus X General] YumeMichi:
I've told you to switch to the 'rebased' device, vendor and kernel trees. :)
[OnePlus X General] psychem:
okay i thought that was for building MKP!
[OnePlus X General] Gustl6500:
I use nomicrog from 0707, camera is broken sometimes..

sometimes helps to clear dalvik cache and cache, sometimes not ...
[OnePlus X General] YumeMichi:
https://xdaforums.com/showpost.php?p=79894418&postcount=228

mkp (Revert the first two commits to build on LineageOS)

branch: lineage-16.0-sultan (Revert the first two commits to build Sultan camera HAL from source)
[OnePlus X General] psychem:
i reverted 2 commits from device and kernel -b lineage-16.0-sultan and got this error. what command are you using to revert?

it is best if you can ad the hash of first two commits for device and kernel which have to be removed.
[OnePlus X General] psychem:
new build for sultanHAL is up. check and report, i didnt get time to test it.
[OnePlus X General] xdafanboii:
Build is less than day old but it still uses outdated MicroG Services Core version?

https://github.com/microg/android_packages_apps_GmsCore/releases

Could you bump it to GmsCore-v0.2.8.17785-mapbox over GmsCore-v0.2.7.17455-mapbox in the next build?

Also forgive me for asking such basic question but what's the advantage of SultanHAL over the normal version?

Camera appears to be working on both microg builds though.
[OnePlus X General] Kéno40:
Modified HAL which has different photo treatment and above HAL video options. Sultan's one unleashed 4K recording.
[OnePlus X General] psychem:
last stable GmsCore-v0.2.7.17455-mapbox works fine, you can flash the new version separately, i didnt have time to test the new version.

Good to know it is working fine!
[OnePlus X General] YumeMichi:
device: mkp (Revert the first 2 commits)

vendor: lineage-16.0-sultan (Revert the first 2 commits)

kernel: lineage-16.0-sultan (Nothing to do)
[OnePlus X General] psychem:
Yes built and uploaded yesterday:)
[OnePlus X General] hlapatsas:
4k video recording finally works!!!;)
[OnePlus X General] hlapatsas:
No notifications

The notifications are not appearing, I have to enter the application to see my new messages! Whats app, Viber, messenger. The notification switch is set to normal fanction.

Latest sultan hal rom.
[OnePlus X General] psychem:
working fine here. sultanhal build.
[OnePlus X General] thomas2605:
Is the WIFI/BT Bug fixed on this ROM?
[OnePlus X General] sojusnik:
See:
[OnePlus X General] Almost_Honest:
Hello everyone.

Let me start by saying that I really appreciate [MENTION=4302880]psychem[/MENTION] and [MENTION=7093179]YumeMichi[/MENTION] effort to offer a very stable ROM for the OPX.

I’m on this ROM from a while, am using the one from the 13/05 with Mini gapps from the 17/05, along with gapps just flashed SU after the ROM. Found this ROM perfect for my daily driver.

Was using official Lineage 14.1 ROM, did a clean flash wiped data /system / internal storage and / cache, and overall, I didn’t have any big issues aside from the (already mentioned on this Thread) very slow wi-fi speed but only on the very first day I used this ROM.

Aware that they may be late, I just want to share my noob views of the small issues I had and things I miss from 14.1 ROM, please note that I have no idea if they are linked to Android ASPO, Lineage Modifications, or your owns.

Couldn’t find a way to use Pixel launcher, and had to reinstall google photos for it to work. (perhaps it’s linked to the fact that you now have a ROM version with gapps included). These issues happened before any apps were restored.

Didn’t find a way to edit slider settings.

From what I can remember on the 14.1 I was able to remove the battery icon, just leaving the percentage on the home screen, it seems that I can’t do that anymore.

From the home screen I’m unable to choose “Wallpapers” says “App isn’t installed”.

If I move the clock to the middle, icons that are on the top-right-hand corner overlap the clock. (not sure if I ever let the notifications pile up to the point they got close to the clock as well.

Wasn’t able to find a feature that I really liked, the one to cancel consecutive notifications if one gets several messages in a short time…

After each reboot, the first time I use the default camera app it takes quite a while to open (roughly 6 seconds).

The last thing is that the Apps I set as “Hidden & Protected” can be accessed without the pattern set for them, if I go through the installed apps on Play Store, or if I click on any notification from those Apps. Only if I click on the App icon the system requires me to enter the pattern.

Hope you can find any of this information useful in case you haven’t realized meanwhile.

Cheers
[OnePlus X General] psychem:
you might want to try a clean install of the latest version. it solves some issues you have mentioned.
[OnePlus X General] sojusnik:
Can confirm that the camera works unreliable – can't open it anymore, "unknown error" appears – on a NoMicroG build with latest ROM version. Even a cache/dalvik wipe doesn't help anymore. A clean flash doesn't help either, as already reported here
[OnePlus X General] Swearinbag:
from what I've noticed, sometimes yes sometimes no
[OnePlus X General] psychem:
https://drive.google.com/open?id=1VGffa6sVZaTEHC0x37Ijx_CfJx86u3QO

can try the june build if you have an issue with the Nomicrog july build camera.
[OnePlus X General] Serv22:
Thank you so much for supporting our device! Updated firmware.
[OnePlus X General] Bunyip123:
August update Trust warning?

Hey, thanks for releasing another update for the OnePlusX! When I installed the August 11 build, I get a Trust warning on startup that says: "this build was signed with public keys".

Does anyone know if there are any risks associated with that alert?
[OnePlus X General] BuzzBradA:
A lot of good work in this build. Thanks for all the effort.
[OnePlus X General] Serv22:
New build lineage-16.0-20190823-UNOFFICIAL-Psychem-onyx
[OnePlus X General] jonafegi:
Tried dirty flash the new merged builds but had "no phonesky" in the microg settings app and youtube and stuff like this didn't work without saying "no playstore",

Then tried, wipe and then clean flash rom then nanodroid in twrp and still got the phone sky message in microg. Any specific instructions to install this new method?
[OnePlus X General] psychem:
yes new method is in the FAQ , first post.
[OnePlus X General] jonafegi:
:

This is what I did.. Wipe, flash ROM, flash Nandroid.

Guess I will try again
[OnePlus X General] psychem:
This is the file - NanoDroid-microG-22.4.20190811.zip
[OnePlus X General] kendallgreen:
Several users in Moto Z2 force Nash/Lineage forum have reported failure to update from 8/23/19 to current version. they had to fastboot to their other slot which held the older version to boot successfully. I am on 8/21/19 and will wait to update until the problems are solved.
[OnePlus X General] Kurt Krummbein:
... ehem, you have an Onyx, you do not have a second slot that might prevent booting...

Gtz

Kurt
[OnePlus X General] Schnackselhannes:
I did everything mentioned in the FAQ, but I have problems using the flashlight since I flashed the merged rom with the nanodroid-microg. Does anyone else mentioned that problem?

Also had problems with the phonesky signature but solved it by manually grant the signature spoofing permission over adb.

After all psychem I want to thank you for keeping my onyx still alive. :good:
[OnePlus X General] psychem:
clean flash the rom. torch is working fine.
[OnePlus X General] jonafegi:
Also had the issue with phonesky. How to grant the permission via ADB? what command? Thanks.
[OnePlus X General] psychem:
https://shadow53.com/android/no-gapps/faq/playstore-incorrect-signature/
[OnePlus X General] psychem:
auto rotate is not working in August build so i have added links to July builds.
[OnePlus X General] Schnackselhannes:
Hm, I'm using the August build and auto-rotate works fine on my device. But as I mentioned earlier I had trouble with the torch. Only thing that actually worked – because you mentioned a full wipe what at that time I already did – was to fully recover my device with Oxygen and afterwards flashing your August build. After that the torch and everything else worked fine for me.

Do you mean auto-rotate at all or for some special cases?

Btw. are you gonna provide the new secrurity updates for this device?
[OnePlus X General] psychem:
some devices reported this issue so it is for them, including my own device had this issue.

i dont mind providing new updates for lineage 17. i need the source code from YM for sultanHAL to work.
[OnePlus X General] psychem:
New build uploaded.

MERRY CHRISTMAS !!
[OnePlus X General] Tenroc:
[MENTION=4302880]psychem[/MENTION] thanks for your work on this ROM!

Is there something to do to enable signature spoofing on the December build? There's no option under apps/authorization and the signature spoofing check app report signature spoofing as disabled.
[OnePlus X General] psychem:
probably forgot to add the microg signature spoofing patch

download and flash patcher from here . https://downloads.nanolx.org/NanoDroid/Stable/ (flash from TWRP)
[OnePlus X General] Tenroc:
The patch works but it makes the UI laggy as hell. No idea why. It was already the case with yumechi's LOS 16.
[OnePlus X General] psychem:
Thats odd. Will see if i get time to build again. Else will include it in Jan build
[OnePlus X General] Tenroc:
Also the camera crashes when I try to take a picture (also tested with open camera and simple camera). I can capture a log if you want.
[OnePlus X General] psychem:
im using the latest build after dirty flashing over june build. cam is working ok. using default cam app of lineage. try clearing the cache of camera app
[OnePlus X General] Tenroc:
Yeah, I dirty flashed at first and it was working, but with a clean flash it's not.

---------- Post added at 07:03 PM ---------- Previous post was at 06:44 PM ----------

Do you have a link to the june build by the way?
[OnePlus X General] psychem:
https://drive.google.com/open?id=1xdDfkdFZ_InkfiY4qQKbBhXDAxuyL6SA
[OnePlus X General] SjBathavar:
So it is recommended to flash new ROM over June build to make camera work, am I wrong?
[OnePlus X General] psychem:
or you can use the august build https://drive.google.com/open?id=1ySiEc4Eyh5k_aJYx_H1_0oCKpaRVpZZq
[OnePlus X General] psychem:
is there any change in this post? build is getting stuck on the boot logo.
[OnePlus X General] Serv22:
psychem

Thank you for supporting the device!
[OnePlus X General] IamJahedShaikh:
Battery drainage by Mobile Network Standby. I am on latest December build. Happening from last few days.

Tried already:

1. Disabled mobile data always on from developer option.

2. Wipe dalvik cache.

No luck till now! Any solution???
[OnePlus X General] psychem:
stick with august and earlier builds. YumeMichi needs to update the source code of Onyx before builds after august will work properly.
[OnePlus X General] Hiempsal:
Hi there!

I am wondering, [MENTION=4302880]psychem[/MENTION], are working on making a LOS 17 Rom that includes microg, like for the LOS 16? (which has been running really great when it was on my phone)

By the way, juste like yume thank you for keeping the OPX alive!
[OnePlus X General] psychem:
The microg 17.1 build is available for download. It is untested.

https://drive.google.com/file/d/1xgpj1ileb4OxqU-bUYeOJ6L9YBrYnAGA/view?usp=drivesdk
[OnePlus X General] harley911:
:good::good:
[OnePlus X General] Hiempsal:
I've been testing your build during the last 3 days, no bug to report so far so long!

I have a location problem with gmaps and some web app on the browser but it's probably due to my microg setup. Will try to fix that myself if possible.

Thanks again for your work!!
[OnePlus X General] psychem:
Your welcome!

GPS issue is a bug. i use 23.08.2019 build for daily driver. fast GPS, microG support and 4k camera.
[OnePlus X General] GDorn:
Is there a version of SuperSU (or any other su binary) that works with this? I typically use Titanium Backup to restore apps after the sort of full wipe needed to go from 14.1 to 17.1...

The official LineageOS su addons only go to version 16.0, and that one won't install. I also have an older SuperSU (2.79) that installs but doesn't run.

Edit: After installing the 16.0 ROM and playing around with it, it's possible the SuperSU binary worked and Privacy Guard wasn't configured yet when I tried to run something that needed root. I'm sure most people would prefer a proper open-source package for it, so I can wait until Lineage officially releases 17.
[OnePlus X General] Hiempsal:
Hello,

After using the lineageos 17 as a daily driver for almost a month, I may have some bugs to report :

- alarm clocks don't work (I've tried with a custom app, same problem)

- data sometimes cuts off randomly, comes back only after reboot

- location doesn't work properly, I have to open the home page of microg settings and then come back to maps for example to make it work. Location is lost some minutes later and the same process has to be repeated over and over

Other than, everything runs smoothly and battery life is great.
[OnePlus X General] psychem:
This thread is for 16.0.

17.1 is just for experimenting. please do not report any bugs for 17.1
[OnePlus X General] Mr Raven:
After dirty flash of April 2020 image on August 2019 version everything looks OK but camera gives an error message and shuts down

Other camera apps do not work either.

A better camera and WhatsApp also does not take pictures.

Any suggestions? Could it be a permissions issue?
[OnePlus X General] gazeman:
can confirm that the camera is not working. currently using latest build with nanodroid and nothing else (not even magisk).
[OnePlus X General] Mr Raven:
I reverted to the previous installation. Thank God for TWRP backup.

When I booted I only had the selfie camera.

I have just switched back and forth from system to recovery so no complete shutdown.

Only after complete shutdown the main camera was available. Now everything is back to normal.

Hope this information helps in finding a solution.
[OnePlus X General] psychem:
23.08.2019 build has been made available for download again. cam was not working right in 27.04.2020 build. this is an upstream issue, some change in LOS security patch of April 2020 has broken the camera hopefully this will be fixed.
[OnePlus X General] Kéno40:
or [MENTION=5708792]gipsy.danger[/MENTION]

Can someone post a log here when launching the cam?

Thanks
[OnePlus X General] conta00:
Does this come with root?

Will some other camera app work?
[OnePlus X General] BladePricess:
No cam app will work for it's the drives error
[OnePlus X General] :
I'm going to give this ROM a try soon. LOS offers me all I need and I like to have the latest security patches. The dev's reassurances about being committed to the project are good to hear too :good:

Edit: just installed (my experiment with POSP didn't last long!) - looks good, except for camera not working. I know it's been said that it's a driver issue but camera's working on other LOS builds - I'm going to try different camera apks, see if I can find the OnePlus version.

Edit edit: camera working - I installed the oneplus camera and services apk and that worked, it also 'unblocked' the camera app on this ROM. I know have 2 working camera apps! Now, which one to delete ;)

I like LOS, it's simple and gives me all I need. With this ROM it seems (touch wood) that I have a good stable platform. :)
[OnePlus X General] psychem:
New build is up.
[OnePlus X General] :
:good: Excellent! I was about to post that I was going to swap back to Yume's LOS build because the camera had stopped working and I couldn't resolve it. The torch also didn't work, so it'll be (one of) my first tests on the new ROM.
[OnePlus X General] Anshumanopx:
.....its not even booting up ...stuck on the oneplus logo.....
[OnePlus X General] psychem:
if you dont have the patience for testing why do you download a test build? wait for the rom to move out of testing.
[OnePlus X General] psychem:
New Build 22.01.2019 is UP! Camera is fixed. MicroG is working fine!
[OnePlus X General] :
Same for me sadly. I don't know what messages are supposed to display when flashing a ROM but flashing completed OK without displaying anything that looked fatal/serious.
[OnePlus X General] psychem:
Can someone confirm if camera is working?

I'm using it it's working normally.
[OnePlus X General] :
Yes, it's working :good: As does the torch (which didn't work for me on the 21 Jan build) Oh, and the lock screen short cuts are gone too - which suits me - so that's everything fine for me!

The 22 Jan ROM updated cleanly, all my apps have restored ok and I'm in the process of re-personalising - so far so good. :)

Just a note to those using substratum themes; there is an issue (also on Yumi's builds) in that you can build the overlays but not apply them. I think (actually more of a guess!) that this is due to some kind of location/directory conflict between build and Substratum BUT I did manage to get it working by flashing (from TWRP) the 'SubstratumRescue.zip' script available here