yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] :
As long as we havn't found the real cause (or causes - I still think it's quite probable that there is more then ONE lagging issue), this is guessing. I would opt for mismatching key-values pairs in settings, either by user failure (i.e. played around with settings and forgot to undo them) or by changed settings db structure by an update (i.e. styles api was massivly changed in Feb. if my memory doesn't fool me).

On the other hand, it's not impossible, that an app with the permission to change system settings is doing harm to the setup when restored with data, but working great if manually configured (i.e. kernel managers).

That's why it has been mandatory (and even if no one cares anymore, I still consider this helpful and a produvtive pattern of habbit) to clean flash with only the apps necessary to reproduce the issue before reporting an issue. Currently most people feel offended, if you tell them to get a logcat - and stop communicating at all. So it's pointless to ask for reproducing the issue with a clean install... Or people claim they did a clean flash (which they did), afterwards restoring a nandoid...

After reading [MENTION=4487956]S4turno[/MENTION]'s report on his journey to oos with reformating data and then back to los with lagging vanished, I'm pretty sure that reformating and clean flashing will solve lagging for some setups.

Another problem solved by clean flashing and following every single piont in OP to the word, is something I would call "indirect correlation of individualsim and knowledge". I.e. a user with some minor issues has the idea to format system (yep, system, not data) as f2fs just to HAVE f2fs without the need of reformating data... When I told him, not to do so, he answered: "But it's working"... Doing intentionally something, which is not supported, just to have a unique setup, doesn't proof it's working without side effects... At least this statement isn't tainted by knowledge. ;)

Yes, clean flashing helps on a lot of issues, but it's hard to know why exactly a clean flash is solving something, without knowing and understanding each and every aspect of the former setup.

To answer your original question: in doubt it's both - clearing system settings as well as clearing user app's data.

When it comes to SystemUI I wouldn't compare los to rr - too much changes amd additions.

I'm pretty sure a clean flash will solve this. To help you fixing this without clean flashing, there's missing something... ;)
[OnePlus 3 & 3T Cross Device Development] Dirk:
Pixel Blue for life! :silly:

Perservere and you might be able to change it between crashes. :fingers-crossed:

---------- Post added at 10:01 ---------- Previous post was at 09:58 ----------

Truism. A clean flash solves most things. :laugh:

In other news: The number of people on xda using an outdated Recovery is TooDamnHigh.jpg. So much "I don't know why i can't flash this Pie ROM on my two year old unofficial TWRP"
[OnePlus 3 & 3T Cross Device Development] cukierkas:
I was that silly guy, who was trying to play with /system under the f2fs. I returned back to safety, reformatted all the partitions with ext4. And yes, after all formats and clean instalation - problems vanished.
[OnePlus 3 & 3T Cross Device Development] Xzorg6:
110 hours uptime without lags with boot-no-swap.img too.

Since I didn't format for at least 6 months, I will probably do it soon and switch data filesystem to ext4.

Anyone having lags issues with data filesystem on ext4 ?

It seems only f2fs is concerned by this issue ?
[OnePlus 3 & 3T Cross Device Development] Notor1ouS-:
how is the idle power consumption right now?

i had to flash boeffla kernel every time, because otherwise i get 20% awake time.
[OnePlus 3 & 3T Cross Device Development] Dirk:
It's the end of a development cycle. Many people have been dirty flashing weeklies for months now. No surprise that the cracks are starting to show. Many of us are long overdue for a clean install. Fortunately i've gotten away with it. Haven't clean installed since the beginning and everything is hunky dory! :highfive:
[OnePlus 3 & 3T Cross Device Development] :
As stated quite some times: It's not limited to f2fs!

I'm on encrypted f2fs and have never ever expirienced that lagging issue, nor was I able to reproduce the lagging by intent.

Dosclaimer: I don't use f2fs on data because it's superior in any regard over ext4 (it's not!), but to catch up issues limited to f2fs. For a reliable daily driver setup I stromgly recommend ext4!!!

If it's related to reformating and reencrypting, my best guess is when and with which twrp the formatting and with which os the encryption is done. Maybe even the firmware used at the time of formating and encryption play in here, as for many issues with twrp, when switching from n to o.

if an especially ugly, unspecific, random, pita and *****ing issue - like this lagging - appears, updating firmware, twrp and gapps to the most current versions and clean flashing including formating data, is a truely good idea!

If one - like me - insists on using f2fs, keeping backups up to date on an usb stick, is not really a remarkable good idea, but mandatory... ;)
[OnePlus 3 & 3T Cross Device Development] Fritzy62:
Installed boot-no-swap.img now as well and will keep an eye on things. It sounds promising!

Now if only I could get the alarm clock from "Timely" to work again.... :)

Cheers,

F.
[OnePlus 3 & 3T Cross Device Development] bunu:
I know that it is ideal to get logs but it always happens when I am traveling or at work. If I want to use maps without risk of my phone hard freezing, I reboot my phone. I haven't tried the boot-no-swap.img yet. I will try to get logs next time. Does the logs stay there for a while? Maybe I can just look back at the dates that my phone froze and find it
[OnePlus 3 & 3T Cross Device Development] :
Hard to tell. You can increase the buffer size for the log to i.e. 4Mio. lines, but if you catch everthimg impprtant after coming home again depends on the time and the number of log entries...

For dmesg's output it's surely too late.

Give the noswap image a shot.
[OnePlus 3 & 3T Cross Device Development] tfae:
[MENTION=5091734]dianlujitao[/MENTION] I'm bringing an old bug back to the topic.

Wi-Fi hotspot and MMSs are not working on my 3T.

I have found this same issue on LOS Jira but it was not solved for me.

Carrier: NOS/WTF Portugal

MCC: 268

MNC: 03

I'm assuming the way to solve it is the same, tweaking the correct APN settings config file.

It works on OOS.

EDIT: bug report created: https://jira.lineageos.org/browse/BUGBASH-2328
[OnePlus 3 & 3T Cross Device Development] BillGoss:
I did a clean install yesterday and changed the accent colour to Cherry without any issues.

This morning, after catching up on XDA and reading this conversation, I tried changing my accent colour and I get the "LineageOS Settings has stopped" error.

So clean flashing isn't the solution.

I'm running Mady x39 kernel and Magisk 17.1.

Logs attached
[OnePlus 3 & 3T Cross Device Development] xpissio:
On the official post of XDA of the LaOS 15.1 features (https://www.xda-developers.com/lineageos-15-feature-list-overview-screenshots-video/) there is:

- RGB color calibration settings

- sRGB and DCI-P3 color management profiles (device dependent)

And there's a screenshot too:

Maybe from tomorrow builds there will be.
[OnePlus 3 & 3T Cross Device Development] Dirk:
It's the "Device Dependent" bit that worries me. Maybe Kernel dependent? Failing all else im sure custom kernels will have the options.
[OnePlus 3 & 3T Cross Device Development] xpissio:
Maybe these can be helpful for our questions/doubts.

https://review.lineageos.org/#/c/207232/

https://review.lineageos.org/#/c/207412/

https://review.lineageos.org/#/c/207411/
[OnePlus 3 & 3T Cross Device Development] anyone23:
I've noticed that there is no su/root for LineageOS 15.1 in the "Extras" section of the download page.

Are you guys using Supersu instead?

I don't think we can use the 14.1 su, right?
[OnePlus 3 & 3T Cross Device Development] Zelete:
14.1 su is working for me...
[OnePlus 3 & 3T Cross Device Development] :
+1

for me too
[OnePlus 3 & 3T Cross Device Development] Dirk:
Think i'm right in saying, LED customisation options are missing at the moment? Not a problem, but point me in the right direction if i'm wrong.
[OnePlus 3 & 3T Cross Device Development] :
Nope, it's already in.

In settings -> apps & notification -> notifications -> notification light ...

here you are!

Hope it helps
[OnePlus 3 & 3T Cross Device Development] Dirk:
Good man. Thanks for that.
[OnePlus 3 & 3T Cross Device Development] S4turno:
No crashes with the recommended gapps:

https://wiki.lineageos.org/gapps.html
[OnePlus 3 & 3T Cross Device Development] monojp:
The experimental build is also working great for me. Exchange is still missing, but I hope they port/merge/enable it soon
[OnePlus 3 & 3T Cross Device Development] anyone23:
Everything is working fine for me so far aside from the settings crashing on me when I try to open Settings - System - Buttons. :(

Unfortunately the buttons for Recent Apps and Back are reversed (like on a Samsung device) for me so I would really like to change this. Does anyone have the same issue?

I upgraded from official Lineage 14.1 without wiping data.
[OnePlus 3 & 3T Cross Device Development] michie:
You just described the problem and the culprit. Do a clean flash and your problem will be solved. ?
[OnePlus 3 & 3T Cross Device Development] Dirk:
I had buttons swapped after clean install but the option to change it is there if you can get to it. (Buttons-Additional Buttons). If a Cache wipe won't let you open the settings you could try dirty flash again and if not then, a clean install.
[OnePlus 3 & 3T Cross Device Development] DasBaumchen:
Everything works fine for me except for the camera. The default one is showing a black screen and the current google camera (Google Camera 5.1.018.177470874 (arm64) (Android 8.0+)) is crashing for me. Anyone else has this problem?
[OnePlus 3 & 3T Cross Device Development] michie:
No, both camera apps working perfectly here.
[OnePlus 3 & 3T Cross Device Development] Dirk:
Oreo SettingsUI is killing me. Is the option for 'wake on plug' missing or can i not find it?

i.e turning on the display, or not, when charger is plugged in/unplugged.
[OnePlus 3 & 3T Cross Device Development] :
[MENTION=5091734]dianlujitao[/MENTION]

While it's on ALPHA stage, maybe this is a good time my request would be considered..

Please bring back call blocking feature with wildcards like in CM before :(
[OnePlus 3 & 3T Cross Device Development] R55770:
The recommended GApps weren't enough for me, and flashing the Unofficial Aroma package alone didn't work, but when I flashed the Unofficial Aroma OpenGapps and the MindtheGapps package one after the other, success!
[OnePlus 3 & 3T Cross Device Development] Dirk:
If at first you don't succeed... throw everything at the wall and see what sticks! :)
[OnePlus 3 & 3T Cross Device Development] :
How can you know that "So clean flashing isn't the solution."? The log is not from a clean install (just rom and MindTheGapps or open gapps <=nano). Flashing a custom kernel is not part of a clean flash. kernel adiutor is not part of a clean flash.

If it has worked after the clean flash, but is crashing again later - maybe it's something you did to your device after the successfull color change... You may also think of this: if changing the color works for most setups and is crashing on some rare setups, what can be the reason?
[OnePlus 3 & 3T Cross Device Development] :
Would you like to check (rooted shell via adb):

oneplus3 / # settings get global tether_dun_required
null
oneplus3 / # getprop net.tethering.noprovisioning
true

If one of them doesn't look like the above, you can use these:

oneplus3 / # settings set global tether_dun_required 0

oneplus3 / # setprop net.tethering.noprovisioning true

(Check always the output of above commands! Check always with the first two commands if the value has really changed!)

Very interesting and some ideas to play around with, if the above commands doesn't change anything: https://www.reddit.com/r/Android/comments/77c1dj/android_tethering_and_apn_carrier_config/
[OnePlus 3 & 3T Cross Device Development] tfae:
Thank you for your interest on the matter.

The first two commands return exactly the expected: null & true.

I'll check the reddit post ASAP.

EDIT 1: when trying to add the dun type to the APN I have the exact same error message from the reddit post - "Carrier does not allow adding APNs of type default, dun.". Interestingly but not 100% sure, I believe that the OOS APN configuration had the type dun on it. I 'll have to confirm later.

EDIT 2: trying to run this command

OnePlus3T :/ $ settings set global tether_dun_required 0

throws the following error:

Invalid command: set
[OnePlus 3 & 3T Cross Device Development] :
You need root previlegs to set global settings. But if tether_dun_required is allready disabled it doesn't make sense to solve the issue, anyway. That's why I ask you to check the both values and onöy apply the other two commands, if they differ from the exmplary output.

Question: was tethering working for you with 14.1?

Since I don't have sources for oos I can only guess, but generally spoken (not only for this one, but also for i.e. oms restrictions, sepolicy and others) I'm pretty sure the more current the code base is, the more restrictive the resulting rom.

Oreo 8.0 with sec patches from July is less restrictive then oreo 8.1 with September's sec patches. This assumption is also congruent to the story the author of the reddit posting on his devices. It's also possible that those three commits breaks somethimg else, and as a side effect tethering for some carriers are broken... ...or those three commits are not all having effects on tethering.

I'm no genius. I've not a solution for each and every issue in my brain, and someone just needs to throw a logcat at me, and the solution is there. I've spend now 4h of reading logs, postings and code on an issue I can't even reproduce. I need more time to dive into this to answer your other questions. Sorry.

BTW: since I don't use rr but los, I'll continue my debugging of the issue here in the official los thread.

EDIT:

Question: is it working on oos 5.0.5? If so, the problem is not the apn settings:

ingo@adler /tmp $ apktool d -f -o framework-res-oos /mnt/export/data/src/oxygenos/system/framework/framework-res.apk
I: Using Apktool 2.2.4 on framework-res.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
ingo@adler /tmp $ apktool d -f -o framework-res-los /mnt/export/data/src/los15/out/target/product/oneplus3/system/framework/framework-res.apk
I: Using Apktool 2.2.4 on framework-res.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
ingo@adler /tmp $ colordiff -u framework-res-los/res/values-mcc268-mnc3/arrays.xml framework-res-oos/res/values-mcc268-mnc3/arrays.xml
ingo@adler /tmp $

...because the apn settings are the very same.

EDIT2:

Just found this one: https://xdaforums.com/showpost.php?p=77102240&postcount=607

Sadly, I've never received an answer.

Would you check, if you can ping ip-addresses (like 8.8.8.8 in that posting), please? Would you please also post the ip config from the connected device (incl. dns servers)?
[OnePlus 3 & 3T Cross Device Development] tfae:
I've never used 14.1. To be honest I never needed to use the Wi-Fi hotspot until a few months back when I began traveling a lot more. Now I really need it regularly.

But I have flashed it now to test: Wi-Fi hotspot is working on 14.1.

I've ran the 2 adb commands on 14.1 and interestingly (or not) the results were:

View attachment 4603447

In contrast with the Oreo ROMs (LOS/RR/OOS), there are 4 APN configurations on 14.1:

These are the APN settings used on the enabled configuration:

I'm using OB30 and it is working. I've never tried OOS 5.0.5 but I'll assume that it would work too.

Here's a screenshot of the APN settings on OB30:

The 2 adb commands returned the same results as on 14.1 (blank return on the second command):

View attachment 4603447

I cannot ping to any address from the connected devices.

These are the ip configs and the DNS servers configured on the first device (MacBook Pro):

View attachment ifconfig_MacBook.txt

These are the ip configs of the second device (Xiaomi Mi4c using unofficial RR 15.1 from 20180225), with the Magisk module to use the 1.1.1.1 DNS:

View attachment ifconfig_XiaomiMi4c_RR_8.1_20180225.txt

If you need something more, I'm glad to help!
[OnePlus 3 & 3T Cross Device Development] :
[MENTION=6415870]tfae[/MENTION]:

Awesome posting! You made my day! Reeding your posting is a wonderfull expirience: most of the time I need to double-beg for every single poece of information, you even answerd the question I would have asked, if I would have known, you are willing to flash 14.1... Thanx for that!

Back to business:

Would you try this, please: download https://raw.githubusercontent.com/n...e/nlos-15.1/prebuilt/common/etc/apns-conf.xml , boot to twrp and replace (after mounting system) /system/etc/apns-conf.xml with the downloaded file. Finally run

restorecon /system/etc/apns-conf.xml

and reboot to system.

14.1 has three more apn definitions for 'mcc="268" mnc="03"'. This commit brings them back to 15.1: https://github.com/nvertigo/android...f2e2e33#diff-88a8f4af39dc96e37de2afd231aa4628

BTW: Do I guess correctly, that the logcat in https://jira.lineageos.org/browse/BUGBASH-2328 doesn't contain a failed mms sending attempt? Maybe I've looked at too many logcat lines the last days and missed it...
[OnePlus 3 & 3T Cross Device Development] tfae:
It is my interest to have this solved, so I know that I'll have to provide as much info as I can. ;)

It is working! You're awesome! :highfive:

Oops, I totally forgot to include a MMS test on the logcat. I was so sure that it would be related with the APNs that I didn't even mind as MMS would probably be fixed if the Wi-Fi hotspot would too.

I will test if it was solved with the new apns-conf.xml and I'll be back when I have the answer. And with a logcat, if something goes wrong.
[OnePlus 3 & 3T Cross Device Development] :
I think the same. I'll wait for your verification that mms is working, before pushing this to gerrit.

You are welcome - it has been a pleasure to collaborate on this issue with you.
[OnePlus 3 & 3T Cross Device Development] tfae:
Sadly MMS still don't work. I can't receive or send.

Logcat: View attachment mms_issue.txt.zip

I'm using Google Messages right now and tested it on RR.

I can test it on LOS 14.1 and 15.1 stock messaging app if needed.

EDIT: one more interesting thing. Checking the APNs entries there are only the same 2 as before, but one of them has now the dun type. Trying to edit it or even when pushing the back button after opening it the same error "Carrier does not allow adding APNs of type default, dun." appears. I have to use the recents button to close it. But the Wi-Fi hotspot keeps working.
[OnePlus 3 & 3T Cross Device Development] tfae:
[MENTION=4405529]nvertigo67[/MENTION] new logcat with the MMS issue on LOS 15.1 after applying the fixed apns.config.xml: View attachment mms_issue.txt.zip
[OnePlus 3 & 3T Cross Device Development] :
Please try with los 15.1 with the shipped message (called SMS/MMS in the app drawer) app to get the logcat. Maybe you need to wipe data of the messaging app, because it saves the old settings for the mms apn - just guessing.

I'm not really surprised. That's the three google aosp commits. This matches the expiriences in the reddit post. BTW: it looks to me that the file entries are somehow aggregated with the respons from the carrier before being used in the gui - at least for type="default,...".

Do you have any chance to check the prxy and port values? Perhaps your carrier has changed something or they differ for different data plans.
[OnePlus 3 & 3T Cross Device Development] tfae:
Already attached the logcat with the test on the stock messaging app on LOS 15.1 in my latest comment (as you've already seen).

Proxy and Port values are both not set.

Clearing the messaging app data doesn't fix it.
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Hello all. In my case, Lithuania, telia, have no problems with the WiFi hotspot, nor MMS. All goes fine.
[OnePlus 3 & 3T Cross Device Development] :
The log looks good to me. Do you get any error message when trying to send?

Proxy and Port values are both not set.

Clearing the messaging app data doesn't fix it.[/QUOTE]

Uh?

(Out of curiousity - do NOT change roms to answer this!!!: Was mms working on 14.1???)

I know this is a pita, but you need to be my eyes. On a rom with working mms I need to see Settings->Network&Internet->Mobile Network->Advanced->Access Point Names; another one (ideally as long shot) from the mms apn (should be the one at the bottom without selection knob).

Can you tell me the carriers name as printed in small letters under Mobile network at the Network & Internet Setting's page, please?

And then the same for los 15.1 with the new apns-conf.xml?
[OnePlus 3 & 3T Cross Device Development] :
Since there is no single replay, I assume everybody can playback ogg audio files with Eleven. If only the author of BUGBASH-2293 and me are suffering from broken ogg playback, I'll abandon this one: https://review.lineageos.org/#/c/LineageOS/android_device_oneplus_oneplus3/+/229392/ . Is this ok for everybody?
[OnePlus 3 & 3T Cross Device Development] cukierkas:
I'm using vlc player. It's default at my site for music/video. So no mentioned problems. Plus streaming very well builded with lots of settings, so recommending.
[OnePlus 3 & 3T Cross Device Development] pedritopl:
Tried the linked ALAC file. Can't play it :-/
[OnePlus 3 & 3T Cross Device Development] tfae:
I don't get any error. It just stays "sending" eternally. The same when receiving a MMS.

MMS is working on 14.1.

I do not want anything to be lacking, so here you have all the APN configurations :D

14.1 - View attachment 4604190

15.1 - View attachment 4604203

OB30 - View attachment 4604227

14.1 - WTF

15.1 - NOS (after new apns-config: NOS). When I touch on the Mobile network, the tab is named as WTF. On the statusbar it appears as WTF.

OB30 - WTF

WTF is a sub-brand from NOS, in the past called Optimus, hence the plethora of names designing the same carrier.

NOTE: I don't know WTF (pun intended) I made but the fixed apns-conf.xml is not working anymore on LOS 15.1. I even made a clean install and then applied it but Wi-Fi Hotspot is not working anymore. :crying: If it was because of this warning:

… too late. I had already done it. ¯\_(ツ)_/¯
[OnePlus 3 & 3T Cross Device Development] :
The warning was just for your comfortability. I just want to save you from another rom switch.

I have to admit atm I'm clueless, why the modified file isn't working anymore for hotspot.

Yesterday you stated proxy and port for the mms apn are empty (what made me think, I've an idea what's going wrong), but now I see (for 15.1) the proxy and port are set.

From what I see (thanx fpr being my eyes), I would say, both - hotspot as well as mms - should work. I need to think about this.

---------- Post added at 10:06 ---------- Previous post was at 09:53 ----------

Thanx for the response.

Sadly both answers didn't answer my question: can you play ogg audio files with Eleven?

vlc comes with it's own decoders, so you can't tell with vlc if Eleven can play ogg files or not. Therefor "So no mentioned problems" isn't valid.

In https://jira.lineageos.org/browse/B...= 15.1 AND text ~ "ogg" AND Device = oneplus3 I clearly state that only ogg playback can be fixed, but alac and wma will remain broken. That's why I explicitly asked for ogg in my last posting.

Anyway, thanx for your answers.