yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] steveobob:
anybody able to get auto rotate working?
[ONE Android Development] gil80:
Yes, auto rotate is working.

What I'm not sure is if Google Pay is working. I used Magisk hide for Gpay but it's not working for me when I tap Gpay supported POS.
[ONE Android Development] Tomoms:
Good morning/afternoon/evening to everybody!

Some news from me: my Pie builds are still unable to boot due to a SystemUI crash that appeared out of the blue and I'm not able to track its cause down to a specific change I've implemented, so I'll have to work on it some more (I suspect it might be caused by some Substratum overlay I have installed on my phone, but I need to investigate further to confirm this hypothesis). If anybody would like to help me test some builds (the worst scenario is that you get a broken OS and you have to dirty-flash the previous build to restore the phone to a working state), drop me a PM. Any help is appreciated! Thanks.

In the meanwhile, I'll build a new 15.1 build in the next few days as promised, and I'll keep building them approximately every 2 weeks.

I'll keep you informed on the evolution of the situation :)

EDIT: Damn it! My hypothesis has found confirmation. There was nothing wrong with the builds I tested in the past days. The problem was caused by some Substratum overlays. I'm a bit upset because I've wasted so much time to revert changes & rebuild stuff... A new LineageOS 16 build will come tomorrow, and maybe a 15.1 one as well!
[ONE Android Development] maseegal:
NFC doesn't work on the 16 Pie build.

Made for an awkward situation when I went to pay for stuff with my phone and nothing would happen.
[ONE Android Development] gil80:
I had the exact same scenario :)
[ONE Android Development] Jfufyjskofjcekrfjud:
Where is tutorial how to root it?
[ONE Android Development] Beep-Bop:
Can you add 3FingerScreenshot to Lineage16. Thanks
[ONE Android Development] Tomoms:
Sorry, I wasn't aware of this issue.

You don't need a tutorial, it's easy: just flash Magisk (or SuperSU).

I'll see.

--

I've finally released a new update. It's dated February 17th because I've actually built it yesterday.

This update brings many additional improvements and optimizations (check Github for detailed info), many external libraries have been updated as well (sqlite, skia, libjpeg-turbo...), and I've added a couple of bug fixes in the kernel. February's security patch is included, as well as all the other upstream LineageOS updates.

Warning: if you're using Substratum themes, uninstall them before flashing the new build, and reinstall them afterwards.
[ONE Android Development] janice1234:
Thanks for the rom.

btw, is there anyway we can disable the underclock beside rooting and using kernel adiutor?

and there is a bug with the alarm and wifi icon in status bar where it will turn into a dot.

[IMG="https://i.imgur.com/XMAtkm6.jpg"]https://i.imgur.com/XMAtkm6.jpg[/IMG]

step to reproduce:

- enable airplane mode

- on alarm

- on wifi

- alarm and wifi icon become a dot?
[ONE Android Development] Jfufyjskofjcekrfjud:
After flashing magisk i dont see it in app drawer, or i dont have root rights, maybe there is some additional steps?

and auto-rotate dont work :(
[ONE Android Development] Tomoms:
When I released the first build I stated that after flashing Magisk you have to install Magisk Manager manually.

Exactly, there's no other way to disable the CPU underclock besides rooting.

I followed your steps but on my phone the WiFi and the alarm icons didn't glitch.
[ONE Android Development] JT1510365:
Auto rotation sensor is broken in your latest los 16 build:( I went back to lineage 14.1 and its working again so its not my device and its not a hardware issue.
[ONE Android Development] CedArctic:
Things are running smooth here, great work [MENTION=5727088]Tomoms[/MENTION]! :D Enforcing SELinux is great to have. Just wanted to ask if you could implement signature spoofing so we can use Nanodroid and microG? Thanks once more!
[ONE Android Development] Tomoms:
Yes, it'll be implemented in the next build (not the one I'll release today or tomorrow, but in the following one!).

I know. I'll look into the problem soon.

EDIT: it's yet another issue related to SELinux! With Permissive SELinux, rotation works fine. Adding it to the first post.
[ONE Android Development] ynamojn:
I think all sensors aren't working including compass. If I use Quick System Info, it shows the phone has 0 sensor. I think it will be the same with other utility apps. It doesn't happen with the KiD3991's LOS 16 build although the SELinux is also enforce
[ONE Android Development] Daemir:
Hey Tomoms great work!

Sadly I have some issues with Whatsapp. If I try to download any sent pictures it crashes the app. Also I get delayed messages (battery manager?).

I installed the latest Magisk 18.1 (no modules) and the recent Pico Gapps.

Anyone else got that problem? I didn't read anything recent about it.

How can I make a log for you?
[ONE Android Development] Tomoms:
Thanks for reporting. I'll look into these issues.

Let me check if I have this problem as well. To take a log, download Matlog and open it after WhatsApp has crashed. Then tap on the pause button and then save the log to a file. Then attach that file here.

--

I've released a new build. It should finally fix the LED with Enforcing SELinux & it's up-to-date with Lineage's code base.
[ONE Android Development] JT1510365:
Woot Woot! My selinux is permissive now and everything is working fine now with your build:)
[ONE Android Development] Daemir:
Can confirm the strange 0 sensor error with Aida64 (that's why automatic screen dimming does not work?)

Gonna try the new version today. Maybe no more strange errors :D
[ONE Android Development] ynamojn:
I have tried the new version. Still the same problem. I think it is all caused by sepolicy. Including can't download whatsapp pictures & videos, can't backup whatsapp to local, some settings crash, etc. You can try changing SELinux to permissive.
[ONE Android Development] Daemir:
Yeah, I made a clean wipe with just the new version and gapps - still got problems with Whatsapp :(

Edit: Flashed Thunder Kernel and no improvement
[ONE Android Development] Tomoms:
On the latest build w/ Permissive SELinux, WhatsApp freezes while sending a video, but the video is actually delivered to the recipient. Downloading pictures received by other people is fine.

Flashing another kernel has absolutely no effect on sepolicy issues. I'm sorry for the problems, I lack SELinux knowledge so I'm unable to fix them, but I promise I'll do my best.
[ONE Android Development] xRexMartinus:
I just wanted to say that NFC is working for me with the February 3rd build of LOS16 and SElinux enforcing
[ONE Android Development] Tomoms:
Hello there!

I've been silent for a while but I'd like to announce the release of a new build that'll be available in the weekend. It will be a minor update, but still, worth installing.

Also I apologize to [MENTION=4293978]AliasOfiuco[/MENTION] and to any other user who was waiting for a new Oreo build (which I had promised a few days ago), but I'm afraid it'll never come. My 15.1 sources are kind of broken due to a hard drive failure and I feel that reviving them is not worth the hassle and the time I should spend to get the work done properly.
[ONE Android Development] Taurus_XDA:
Hi [MENTION=5727088]Tomoms[/MENTION],

Thanks for the work in overcoming issues and in providing us with a ROM with optimizations and as stable as possible.

What is the status of the problems reported in the last pages in the new build (pending release)?

- NFC is not working (Google Pay).

- Faulty setup process after fresh install of ROM (#482).

- Sensors not working (#501).

- WhatsApp freezes while sending a video (#509).

Also I have noticed that some commits have been published in 'android_device_oppo_msm8974-common' by LineageOS, in case you consider it's worthwhile to include them in the next build.
[ONE Android Development] strankasi:
Lineage OS

Hi Mr. Tomoms,

LineageOS official build is out.

Please optimize this build to have long battery life and high performance.

Best regards.

BTW: Thank you for all work and make my bacon alive.
[ONE Android Development] Tomoms:
None of those issues has been addressed in today's build. The simple truth is that I have no idea how to fix them. We'll have to wait until our maintainers and/or someone who's more skilled than me intervene and do their magic.

New upstream commits are always included in my builds.

I don't "optimize" the official build. I am completely independent from Lineage's release roadmap, I just keep doing my job while they do theirs! As a consequence, my builds are always based on the latest official nightly.

--

Today's build features a new kernel (Argon v12, it'll be released separately soon), some miscellaneous bug fixes and a few library updates.
[ONE Android Development] Taurus_XDA:
Honesty and sincerity are always appreciated. In my case I was asking that because I want to try an Android Pie rom as stable as possible. I'll wait a bit more keeping an eye to the progress, thanks for the effort ;)
[ONE Android Development] maskelisuvari:
[MENTION=5727088]Tomoms[/MENTION]

Thsnk you for your great rom and effort.

İ would like to know how to supply substratum theme there is only "build&update" option, no "build&enable" option, that's why i cannot apply swift black theme[emoji853]
[ONE Android Development] Tomoms:
Build & update, followed by a reboot, will apply the theme :) If it's still not enabled, enable it manually from susbtratum's overlay manager.
[ONE Android Development] Taurus_XDA:
Hello [MENTION=5727088]Tomoms[/MENTION],

Regarding the problem with the initial setup, this commit may be useful:

# SetupWizard

https://review.lineageos.org/c/LineageOS/android_packages_apps_SetupWizard/+/241766

On the other hand, in LOS they've adopted a somewhat different approach in relation to the problem with the notification LED. I simply put it as a reference in case it could creates some conflict in next builds:

# Notification LED

https://review.lineageos.org/c/LineageOS/android_device_oppo_msm8974-common/+/242925

https://review.lineageos.org/c/LineageOS/android_system_sepolicy/+/242951

https://review.lineageos.org/c/LineageOS/android_device_oppo_msm8974-common/+/243645

https://review.lineageos.org/c/LineageOS/android_device_qcom_sepolicy-legacy/+/243505
[ONE Android Development] Tomoms:
Thanks for letting me know. I'll give a look at this stuff in the next days!
[ONE Android Development] Taurus_XDA:
A couple more interesting commits. The first one would be related to the problems in sensors, at least with screen rotation.

https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/244133

The second one seems to solve the payment with Google Pay through NFC. It has already been tested on TugaPower.

https://review.lineageos.org/c/LineageOS/android_packages_apps_Nfc/+/243485

Anyway, both commits are WIP but I hope they will soon be included in LOS' sources.
[ONE Android Development] Tomoms:
Very good, thanks!

I'll prepare a new build in the weekend, I'll try to add all these fixes :)
[ONE Android Development] samg42:
Hi I installed version 15.1(last version) and wanted to ask you for two information:

the first concerns the alarm clock, in practice setting the alarm and turning off the phone this does not start automatically. I don't know if it has been disabled or not.

Secondly I installed facebook (standard) but once opened it remains in a white screen. to remedy the problem I installed the lite version.

I thank you in advance if you could help us.

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Android Development] Taurus_XDA:
Hi [MENTION=5727088]Tomoms[/MENTION],

As I've read in Telegram, it's common to find some lag in Android Pie regardless of the ROM, and in particular in WhatsApp and similar applications.

It would be interesting if you could try to add this line at the bottom of the build.prop file in /system:

"debug.hwui.renderer=opengl"

On the other hand, it disables the option to delete a screenshot from the notification bar. But many users report that the experience is more smooth in general.
[ONE Android Development] Tomoms:
About the alarm problem: auto-turn on before an alarm is a kernel feature that can be implemented on a per-device basis. I don't know if anybody did it for bacon, I wanted to check it out some time ago but in the env, I've never bothered. I might do it someday in the future. For some reason, if you install Facebook via Play Store you'll end up with an ancient version of the app. This bug has been fixed in the latest LineageOS 16 nightlies and it'll be fixed in my next build as well. On 15.1, I suggest you to download & install the most up-to-date Facebook apk from the web.

Thanks, we'll test this soon.

The new build I had planned for the weekend is delayed because I tried updating the compilers & implementing some new optimizations but ended up destroying everything xD

Let me clean up the mess and I'll release a new build compiled with the old compilers, then I'll work on implementing the new ones :)
[ONE Android Development] Tomoms:
Hey guys, I have a beta build that someone should test & report back whether it boots or not. Possibly someone who doesn't use any Substratum overlay/theme on his phone. In case of bootloop, just dirty-flash the last public build.

Thanks in advance.

Link: https://drive.google.com/open?id=1m6zd_OK1eDRb6sX6MNjzomlU4hLjWyal

EDIT: the build is working perfectly. I'll release it officially in a few minutes.
[ONE Android Development] Tomoms:
Hello! I've released a new build :) It's dated 03.20 because I've actually build it yesterday. It brings some interesting fixes (for Google's Setup Wizard, Google Pay & rotation sensor) and a couple of optimizations as well. The security patch is the latest available (March 5th). I strongly suggest you to remove all Substratum overlays, if you use any, before flashing the new build. You can safely re-install and enable them again afterwards.
[ONE Android Development] Tomoms:
I've uploaded a new build :)

Just some small bug fixes & a couple of small improvements in this update. Anyway, I think it's worth flashing :D
[ONE Android Development] gil80:
Is is still using selinux enforcing?
[ONE Android Development] j4ckp0t:
all seems ok. just a question: is there a way to get pixel stock launcher working instead of trebuchet? i like the dot implementation to be swiped for task manager and app list

Edit: telegram keep crashing when opening groups with links inside.

Tried data clean, version downgrade installing the app from scratch.
[ONE Android Development] ConnerJSP:
Yes, it is still enforcing by default, but you can flash the SELinux patcher if you need it to be permissive.

There is a way; some stuff is missing for the pixel launcher to work properly. I fixed it with this: https://xdaforums.com/showpost.php?p=78029447&postcount=483. You can use the builtin.zip, but the launcher may not be the latest version. This is what I did:

Flash ROM and GApps (with stock PL)

Boot and Setup

Install Magisk Manager*

Reboot to recovery

Flash Magisk, then Pixel-stuff.zip*

Reboot

*For Magisk, its tricky because I can't get it to install before first boot, so I have to flash it after setting up and installing the Manager.

Note: You won't be able to use Trebuchet anymore.

There are a couple methods, but I thought this was the cleanest.

You can try these if you want:

https://xdaforums.com/android/apps-games/app-unmodified-pixel-3-launcher-t3852857/post77849817#post77849817

https://xdaforums.com/oneplus-one/themes-apps/pie-pixel-stuff-t3846143

And sorry, no fix for Telegram; I don't use it.
[ONE Android Development] gil80:
Where is the setting to turn off the LED when charging?
[ONE Android Development] ConnerJSP:
A quick search would tell you the general area to look.

Settings>Apps & notifications>Notifications>Battery light>Switch off

---------- Post added at 14:23 ---------- Previous post was at 13:57 ----------

I was hesitant to try LOS 16 because I use the stock version of GApps and the Pixel Launcher wasn't working, but I found a way to fix that. So, I finally did a clean install of your LOS 16 and I'm glad I did. It has much better RAM management and is smooth all over, not to mention up-to-date!

The sensors still don't seem to be working; I had to change SELinux to permissive.
[ONE Android Development] gil80:
Since the last update the auto brightness doesn't seem to respond.

It is set to auto but I keep adjusting it manually since it's not working.

Previous build from early February it worked fine.

Update: Whatsapp keeps crashing when downloading videos/gifs. ES Explorer crashes when trying to access folders.

Feel that this build is not as solid as previous build.
[ONE Android Development] bollt.zain:
I'm facing bootloops in latest build

Clean flashed the the TOMOMS LAOS with OPENGAPPS

Is there an another way of flashing it? Was it my mistake?

Please let me know the right way of flashing it.

THANKS, waiting for reply
[ONE Android Development] Tomoms:
WhatsApp crashes on each and every build when handling media, as far as I know/remember. For auto brightness to work reliably, I guess you must flash the SELinux permissive patcher. I have no idea what ES Explorer does when it accesses storage, I'm using other file managers such as FX and they all work properly. Give me logs, otherwise your report is quite useless...
[ONE Android Development] gil80:
ES explorer is not a big deal, I can find an alternative.

Is there a specific way to generate the logs? some system settings I need to access to generate?

The interesting thing is that with the early february build, auto brightness and whatsapp worked flawlessly.
[ONE Android Development] gil80:
With the latest build I'm getting the "proximity sensor when I call doesn't work" bug as well.

I don't know how to provide logs for this.

In any case, the screen doesn't go off during a call.
[ONE Android Development] Tomoms:
Hey there, a quick message to announce that I've released a new build with only upstream LineageOS updates, because it apparently fixes WhatsApp's crashes, and I thought that some of you might be interested in this. A bigger update, with more improvements and optimizations, will follow.
[ONE Android Development] gil80:
Flashed latest build, WhatsApp still crashing.

I did a dirty flash.

Sensors still don't work unless flashing selinux permissive.

Thanks.
[ONE Android Development] Tomoms:
Please tell me exactly what you did before facing the WhatsApp crash. I'll try to reproduce it on my device.
[ONE Android Development] gil80:
Every time I click on a gif/image that is not fully downloaded, the app will crash. I only tested it in group chats.

The images/gif looks blurry at first, so I click on it to download. Then the WhatsApp download animation will start (it's that green circle) the it will crash.
[ONE Android Development] Tomoms:
This doesn't happen here on my side. I'm using permissive SELinux, by the way. I've received 2 photos in a group chat yesterday, and I've been able to download & open them. What's more, I can now send a previously-taken photo and/or a screenshot, whereas previously, this led to a crash of the application.
[ONE Android Development] gil80:
Next time it happens I'll do a screen capture and I'll upload it here.

Thanks.
[ONE Android Development] Beep-Bop:
What firmware you use? The name of the zip that I can download. Using anything but oxygen OS firmware for first boot causes bootloop just saying
[ONE Android Development] Tomoms:
I've been working on compiling the ROM with Qualcomm's sdclang in the past days but the resulting ROM didn't boot. I did everything in a rush so it's highly possible that I did some mistakes. While I keep attempting to fix this issue, I'll build and release a new update in the next few days. Stay tuned!

I'll include this tweak in the new build.
[ONE Android Development] WilderSu:
I have a request. Since CM 13, all ROMs, including Lineage, have broken direct access to Qualcom's DAC, result is that players like PowerAMP [easiest to check with], or UAP Pro , have broken/disabled direct Hi-Res output. It's the sole reason why I'm still holding onto jgcaap's CM 13. With this I can listen to hq music for daaays on my aging opo. Is there any possibility you could check what is this about, or should I ask somewhere else?
[ONE Android Development] Tomoms:
I know, and I'm afraid there's nothing I can do about it. When I started developing for the OPO, I investigated a bit on this issue but then gave up and now I can't even remember what I learnt about it. The only thing I remember is that, as you've stated, for some reason jgcaap's CM13 is the last ROM that supported this feature.
[ONE Android Development] WilderSu:
Since we have source of both, wouldn't it be possible to compare the audio stack, I'm guessing you did just that? OR is it because we're stuck with old blobs? As I remember some more blobby 7+ roms exposed this but it wasn't working... Sorry, I'm shooting in the dark, have no knowledge about this whatsoever
[ONE Android Development] Tomoms:
I'm sure I didn't compare the audio stacks because back then I knew very little about ROM development. It'd be interesting to do so but I don't know if I'll be able to actually do it. Unfortunately, due to lack of time, I'm afraid I'll never do half of the things I'd like to try to do with my OPO, and this is one of those features I don't really care about, because I have no hi-res music to play.
[ONE Android Development] Tomoms:
New build available!

It includes the new Argon kernel v14 (will release it in its thread in a short while), all of Lineage's latest updates and some small improvements/optimizations such as this one: https://xdaforums.com/oneplus-one/d...ptimized-lineageos-14-1-t3693223/post79145684

Mobile network reception might be better (LTE only, if I recall correctly).

Next step is to finish implementing & start using Qualcomm's sdclang, to reach the highest level of optimization :)
[ONE Android Development] cheshire5:
Thank you for update! But I have some errors:

1. I have bootloop after clean install. But after dirty install everything ok. Can you check it, please?

2. Telegram crashes when I see message with multiple photos grouped into album. But there are no problems with official lineageos.
[ONE Android Development] Tomoms:
1. I really don't see a reason for that to happen. It must have been a coincidence or something else. If the ROM boots after a dirty flash, all the more so it should boot after a clean install. What's more, debugging this problem without logs would require me to clean flash the ROM, which surely I won't do.

2. I'll look into the issue. Thanks for reporting it.

--

By the way, manual network selection is broken, but the fix has been found and is being discussed by the LineageOS team. If, for some reason, they won't merge it soon, I'll manually implement it in the next build.

EDIT: [MENTION=6967753]cheshire5[/MENTION] the Telegram crash you faced is most likely related to the updated libjpeg-turbo update I added in this ROM. I'm missing some small parts of it, so for now I'll revert back to the old version, then I might try to update it fully again. This should also fix the WhatsApp crashes!
[ONE Android Development] Tomoms:
Hello! I've released a new update that finally fixes all WhatsApp & Telegram crashes!

Also, I've added some fixes in the kernel and synced my code with Lineage's. I've also tried (unsuccessfully) to fix manual network selection, but the official fix that has been proposed by the devs is still not fully working.
[ONE Android Development] gil80:
Hi TomToms, thank for fixing this! :)

Re: SELinux

Does all LinageOS based ROMs have this issue with things not working until flashing SELinux permissive? or is it only this ROM?

I find it strange that in previous LinageOS ROM's there were no issues with having SELinux Enforcing, but now one must flash permissive to get sensors and LED working.