yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] Tomoms:
Hi,

no, I want gestures to be enabled by default;

I had already tried that in the past (someone had suggested it, maybe it was you?) and it did not work out well. I can try again, but I cannot promise anything;

this is not a bug. The padding is equal to the padding between the left edge of the screen and the clock (when it is placed on the left). Everything is perfectly symmetrical as is. If you think these two paddings should be reduced and made equal to the padding in between elements of the status bar, well...You should probably make the change and build the ROM by yourself.
[ONE Android Development] M4Master96:
Thanks for the reply.

1. Cool, it was just a suggestion. I use only 1 of them so just had to set all others to "Do Nothing".

2. Regarding launcher, I tried to replace the apk (took from Crdroid A11 installed on armv7 device) in /system/system_ext/priv-app/ folder but the launcher didn't work (which is why I think it didn't go well with your test too)

3. I keep the clock in Center (with seconds) which is why the right side looks cluttered. The padding would help in making some space in the right side which is why I requested for it. If it looks fine to everyone, then I too don't have a problem. I dont have magisk (use banking apps on OPO) so can't have statusbar padding modules. Project themer too is A12+

Thanks anyway, have been running your builds since 2 years and will stay on it until my OPO dies
[ONE Android Development] saphta:
If I go to Settings->Google I immediately see the Covid-19 tracking app that I don't want on my phone. Any ideas how can I remove it?
[ONE Android Development] M4Master96:
@Tomoms Sorry if this has been asked before (I tried "Search This Thread", there were no results) but have you tried to configure zram in unofficial builds before ?

Wanted to know if it's possible to have it (and your opinion about it) as it would give some breathing space to our bacon
[ONE Android Development] Tomoms:
It is surely possible to have it and it could actually improve performance under memory-intensive workloads (Google enables zram on Pixels with 4 or even 6 GB of RAM for the same reason). We can surely try it.
[ONE Android Development] M4Master96:
Thanks, that was exactly my point!

I faced some app crashes (mostly Maps and sometimes Owlgram) so I was thinking it might help.

1 time while using Maps, the phone did hard shutdown on its own (it wasn't that hot and battery too was around 50%). Was not able to collect logs as I was outside (and phone is root-less so can't use syslog) but if it happens again, will try to collect logs to see if its hardware issue or something else.
[ONE Android Development] Tomoms:
Hi,

December's build is available. It brings the newest security patches and has got zram enabled (the driver in the kernel has been updated starting from the standard 3.4 version).

@M4Master96
[ONE Android Development] to.xda:
hi..

regarding the app crash,

i've faced it since previous several build,

it got to the point of making app was barely usable..

so, i decided to learn how to get logcat and found OutOfMemoryError

12-12 21:52:39.859 D/BoundBrokerSvc( 3555): onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
12-12 21:52:40.054 W/com.shopee.id( 6360): buffer descriptor with invalid usage bits 0x2000000
12-12 21:52:40.063 I/chatty ( 6360): uid=10181(com.shopee.id) usap32 identical 2 lines
12-12 21:52:40.066 W/com.shopee.id( 6360): buffer descriptor with invalid usage bits 0x2000000
12-12 21:52:40.068 E/qdmemalloc( 6360): ion: Failed to map memory in the client: Out of memory
12-12 21:52:40.068 E/qdgralloc( 6360): Could not mmap handle 0xe225cc0, fd=530 (Out of memory)
12-12 21:52:40.069 E/qdgralloc( 6360): gralloc_register_buffer: gralloc_map failed
12-12 21:52:40.069 E/GraphicBufferAllocator( 6360): Failed to allocate (640 x 1138) layerCount 1 format 2141391876 usage 42000900: 2
12-12 21:52:40.069 E/BufferQueueProducer( 6360): [SurfaceTexture-1-6360-21](id:18d800000015,api:3,p:6360,c:6360) dequeueBuffer: createGraphicBuffer failed
12-12 21:52:40.069 E/ACodec ( 6360): dequeueBuffer failed: NO_MEMORY(-12).
12-12 21:52:40.094 D/SurfaceUtils( 6360): set up nativeWindow 0x11b24408 for 640x1152, color 0x7fa30c04, rotation 0, usage 0x42002900
12-12 21:52:40.098 W/libc ( 6360): malloc(1118208) failed: returning null pointer
12-12 21:52:40.166 W/libc ( 6360): pthread_create failed: couldn't allocate 1085440-bytes mapped space: Out of memory
12-12 21:52:40.166 W/com.shopee.id( 6360): Throwing OutOfMemoryError "pthread_create (1040KB stack) failed: Try again" (VmSize 2924904 kB)
12-12 21:52:40.305 E/CursorWindow( 6360): CursorWindow: mmap() failed: errno=12.
12-12 21:52:40.412 I/system_server( 1100): Background young concurrent copying GC freed 302938(12MB) AllocSpace objects, 36(1612KB) LOS objects, 39% free, 22MB/36MB, paused 551us total 142.603ms
12-12 21:52:40.421 W/System ( 1100): A resource failed to call release.
12-12 21:52:40.424 I/chatty ( 1100): uid=1000(system) FinalizerDaemon identical 8 lines
12-12 21:52:40.424 W/System ( 1100): A resource failed to call release.
12-12 21:52:40.424 W/System ( 1100): A resource failed to call close.
12-12 21:52:40.425 W/System ( 1100): A resource failed to call release.
12-12 21:52:40.428 I/chatty ( 1100): uid=1000(system) FinalizerDaemon identical 11 lines
12-12 21:52:40.428 W/System ( 1100): A resource failed to call release.

then, i found this..

solution

explanation

the solution works..

the app run smoother and very rarely crash anymore,

i noticed a bit lag but it's acceptable..

i try different combination and still experimenting until now,

dalvik.vm.heapstartsize -> set to 8m, my logic, no need to waste 16m for starter to get it reduce again, well for faster load probably set it to 16m

dalvik.vm.heapgrowthlimit -> 64m - 96m, i found in my case, higher than 128 makes my game crash often

dalvik.vm.heapsize -> 128m-256m, i just multiply heapgrowthlimit with 2 now, although i did try the formula is heapgrowthlimit=0.75/2*heapsize
[ONE Android Development] Tomoms:
Hi, actually you have a point here, we are using a dalvik memory setup meant for devices with 2 GB of RAM. The reason for this choice is that many years ago, we were using a setup meant for devices with 4 GB of RAM, and this was leading to sub-optimal memory usage. I remember that someone had proposed a setup that was calibrated for 3 GB of RAM, but it was never really discussed nor accepted in LineageOS. I could try to pull it in my builds, to see the result. By the way, you did not state which app is crashing for you. Can you please let me know?
[ONE Android Development] to.xda:
@Tomoms

you meant this?

https://review.lineageos.org/c/LineageOS/android_frameworks_native/+/70132

i've tried,

it didn't work,

app immediately crash with heapsize larger than 512m,

probably not enough memory to run all apps in background..

two of most noticeable apps are shopee and tokopedia,

it's kind of this region amazon..

on default, dalvik.vm.heapgrowthlimit=192m, dalvik.vm.heapsize=512m

while browsing for items, viewing reviews, add to cart,

app is usable for like few minutes with lags and then crash..

set dalvik.vm.heapgrowthlimit=72m, dalvik.vm.heapsize=144m

i can now buy things without worry of app keep crashing..

another app that get improvement is whatsapp,

it seems on default, i experience delayed notifications,

it happened since several builds ago,

new message may delayed up to an hour or until i check the app,

at first i thought it's because of doze,

i have disable battery optimization, but still delayed,

after looking around for solution,

i'm planning to use adb shell dumpsys deviceidle whitelist,

but i'm concerned of battery drain,

so, i just check manually each time,

lately after modifying dalvik, notifications come on time or minutes lates,

so, it's definitely a plus..

fdroid used to stuck when updating repo and apps,

it works well now..

the only things that keep stuck or crashing is game which i casually play summoners war,

it's frustating to see i lose to level 1 mob because the game deemed app freeze equal to default lose..

i feel it benefits from dalvik modification,

but it still crash or freeze here and there,

i'm out of idea on what to do,

my other phone can run the game just find without any crash,

i recalled playing the game one or two years ago on android 7 or 8 on oneplus one custom rom without issue too..

i suspect the problem is because wifi connection,

wifi didn't disconnect,

but i do feel that wifi often drop for like few seconds to a minutes when using apps including browser, shopping apps and other apps..

i suspect this crash cause by these,

Failed to get NL80211_ATTR_EXT_FEATURES or QTI PowerHAL Failed to acquire lock

i can't find more info about those errors,

can you help me take a look at logcat attached?

game crash on 19:59 and stuck on 20:04 just now..

the only possible fix, i find after searching around is

trying to disable ipv6

https://xdaforums.com/t/guide-app-r...-on-android-prevent-ipv6-leak-on-vpn.3298659/

but i don't know how to put the script..

or disable wpa3 upgrade,

https://review.lineageos.org/c/LineageOS/android_device_fairphone_FP2/+/303740

but i can't find config.xml location..

i've also tried modifying WCNSS_qcom_cfg.ini,

https://xdaforums.com/t/rom-r-bacon...geos-18-1-december-10th.3693223/post-86988423

game still crash and Failed to get NL80211 still logged..

and on latest change,

i do feel that enabling zram seems to improve the phone operation..

thank you..
[ONE Android Development] saphta:
Hi guys, I've replaced the default launcher with Nova and realized that the old launcher is still running in the background. I've used SD maid to freeze it but found out the square button (recent apps) and the round button on the navbar it's not working anymore. So, is there a workaround for this? Don't want to have 2 launchers working at the same time. Thanks!
[ONE Android Development] ze7zez:
https://xdaforums.com/t/rom-officia...0-mako-25-november-2020.3533873/post-87876115
[ONE Android Development] Tomoms:
Thanks for the numerous details.

No, I wasn't talking about that change you linked.

I've never experienced delayed WhatsApp notifications, nor WiFi drops.

Those two error messages you see in the log are not responsible of the problems you're facing.

I will look at the log you sent me tomorrow.

Thanks for the feedback about zram.
[ONE Android Development] therealresonix:
I think the DRM crashes sometimes. For example, Netflix gives me a -1033 error, but before that I could play DRM content. It can be fixed temporarily with a restart, but it is annoying. A while ago I tested this with the nightly and it worked there. Please look into it.
[ONE Android Development] kekerosberg:
So I finally dropped the phone in a way that caused a problem with the touch screen. What a great little device the OPO has been. In daily use since the launch in 2014. Oh well.

A special thanks once again to Tomoms for all the work.
[ONE Android Development] Tomoms:
I think someone already reported this in the past, but I wasn't able to fix this bug. Were that you? Can you provide another log?
[ONE Android Development] Tomoms:
Oh, what a pity! Thank you for the spare development device you provided me :)
[ONE Android Development] therealresonix:
Yep, this one is just before and after opening Netflix. I hope it is helpful.
[ONE Android Development] therealresonix:
Okay so I tried to attach it, but it wont let me do it. Am I doing something wrong?!
[ONE Android Development] Tomoms:
Make sure the file's name ends with .txt, or upload it somewhere else.
[ONE Android Development] therealresonix:
Gofile - Free Unlimited File Sharing and Storage

Gofile is a free, secure file sharing and storage platform. With unlimited bandwidth and storage, you can easily store and share files of any type without any limits. Our advanced features, such as CDN support and password protection, make Gofile the ideal choice for individuals and businesses...

gofile.io
[ONE Android Development] Tomoms:
Hi,

the new build with January's patches is here :)

It also brings lots of updates to our WiFi driver in the kernel. These updates could possibly fix a couple of WiFi bugs or problems, but I cannot guarantee they won't cause any side effect. For this reason, here's a kernel without these updates, so you can revert to the previous drivers, should you face some severe issues with the new ones: https://mega.nz/file/0ktyVL7B#-jCe6Iyz2-EFojriENGhUJ_8si00Dmtr0N7SYKe6PBs

Feedback is always welcome!

@therealresonix the issue I see in your log could possibly be on the app's side and not on the device's side. I found a similar bug report which showed very similar failures in the log, and it was an application bug. If you can, try any other streaming app and see if the issue persists.
[ONE Android Development] SamVVaeck:
The support for this phone is amazing, even more than the fact that mine still works. Sometimes I wonder if I will ever find a replacement that will last as long (meaning that the software is able to keep the hardware up to date).
[ONE Android Development] Tomoms:
Hi, apparently I was a bit too impatient and built January's build before the full set of security patches was available. This means the build is missing two of them. My bad! They will be implemented in the next build, which will come in February or even earlier.
[ONE Android Development] Cipcino81:
Hello, I tried new WiFi drivers but for me they caused a little instability to aawireless android auto connection, so I reverted to the old ones. Thank you and keep the good work.
[ONE Android Development] to.xda:
hi..

i've tried the new wifi drivers for like 2 weeks after update published,

things noticable to me were it seemed to have weaker wifi range reception, random timeout and sometimes slow reconnection..

probably just my feeling, my game was a bit stable using that driver, but i couldn't be certain..

so, i flashed back old driver,

still using it until today,

it definitely is more stable..
[ONE Android Development] Tomoms:
Yes, the old one is working better for me too. I'll reintegrate it in February's build and provide the new one as an optional flashable addon.
[ONE Android Development] gqukyo:
+1000!!

I came here to just check out if this phone is still supported and was very surprised there's still support. This is amazing! Much respect for all the effort and time spent on supporting this very very old phone. I haven't used this phone in ages and plan on trading it in now for the new 11 since they have a nice promo going on.
[ONE Android Development] _elgato:
what is this promo you talk about?
[ONE Android Development] gqukyo:
200 bonus dollars for trade-in for any OP phone. The OPO is worth only $10 so plus the 200 bonus, it's 210 against the cost of the OP11.
[ONE Android Development] _elgato:
i checked this promo and sadly is only for North America. it's a great promo, though
[ONE Android Development] remedya:
Look at the Google Pixel 7. Its quite cheap (£499 in the UK) and comes with 5 years of updates.
[ONE Android Development] Tomoms:
Guys, friendly reminder that you're going off topic :)
[ONE Android Development] Tomoms:
Hi, a new build is available. It brings February's security patches, and a couple of "deGoogling" tweaks: a more privacy-friendly and secure WebView implementation (Mulch, taken from DivestOS), and it uses non-Google endpoints to perform connectivity checking (default endpoint: http://captiveportal.kuketz.de/ by Mike Kuketz, fallback endpoint: http://connectivitycheck.grapheneos.network/generate_204 by GrapheneOS). The kernel WiFi driver updates have been reverted.
[ONE Android Development] Tomoms:
Hi, apparently I forgot to revert the kernel WiFi driver updates... So those of you who were facing WiFi issues on January's build should install the kernel I had provided here: https://xdaforums.com/t/rom-r-bacon...geos-18-1-february-16th.3693223/post-87950835
[ONE Android Development] Tomoms:
Hi, just a public acknowledgement from my side that LineageOS 18.1 (both official and my builds) has got some problems with NFC on bacon. Some use cases surely don't work (others probably will). I am aware of this and I'll do my best to fix this. Do not, however, expect a fix soon. It'll come, hopefully, sooner or later.
[ONE Android Development] mazzz:
Great to see there's still development going on for this device. Started android development and using my old opo as my debugging device. Gonna give this ROM a go
[ONE Android Development] Tomoms:
Hi, a new build is available, with March's security patches, some more deGoogling tweaks, and other minor updates. I'm working to improve the performance of the GPS: by partially aligning our configuration to OxygenOS's stock configuraton, I feel the situation has improved. If you use the GPS on your OPO, do let me know your impressions!

About the NFC issues I've been writing about a few weeks ago, I was wrong, the situation is not as bad as I'd thought. The only feature that doesn't seem to be working right now is reading Mifare Classic tags. I am starting to look for a fix for this too.
[ONE Android Development] to.xda:
hi,

my phone kept freezing after update since yesterday..

i can't seem to figure out the trigger,

tried clean flash now,

it still reboot or freeze randomly..

it freeze or reboot suddenly after few to several hours,

sometimes few times in an hour,

it happened in random,

i am considering of rolling back to february update..

i attached the log i got after reboot,

i forced shutdown by button because the os froze..
[ONE Android Development] Tomoms:
What Gapps package are you using?
[ONE Android Development] to.xda:
mindgapps linked on the first page..

before clean flash,

the one you made on sourcefourge,

this time clean flash,

the official one from androidhost..
[ONE Android Development] SamVVaeck:
Also just came to say that my phone has rebooted 4 times today. So something is a bit unstable. It has crashed during different apps. Don't remember what gapps at the moment, have just been updating for years.
[ONE Android Development] Tomoms:
I'm really sorry guys. Obviously, I haven't faced these issues, otherwise I wouldn't have released the build. Tomorrow I'll ask you to test a couple of things for me, ok? I'll send you some test kernels to flash.
[ONE Android Development] SamVVaeck:
Hey don't worry too much for me about it. A reboot doesn't take that long. I am a bit busy at the moment, so will probably have to wait till weekend to experiment a bit.
[ONE Android Development] Tomoms:
Better late than never! I'll just post instructions here, and you guys can give me feedback whenever you can :)
[ONE Android Development] to.xda:
here's another log in case needed..

take your time,

thank you...

i get a chance to test gps later today,

will report back after testing..
[ONE Android Development] to.xda:
i've tried using gps,

what i like most and also the most noticable improvement is its quick lock-on,

i happened to travel to area without any signal,

it used to be a bit slow when determining location..

definitely better on this build..
[ONE Android Development] indhimaga:
installing two times this week because the google account always ask me the password, and it didnt work properly log in even after inserted the password many times. any help apreciated
[ONE Android Development] to.xda:
i just happened to me,

clean flash and it worked again..
[ONE Android Development] to.xda:
i tried to get last_kmsg but my volume button is broken,

so i immediately boot to recovery after reboot, don't know if it's usable..
[ONE Android Development] Cipcino81:
Yes this problem always happens sooner or later for me too. It has happened something like 12 times, the quickest way of return it operational that I have found is loading a nandroid backup, and if it is old then restore app data with swift backup app . But this is not a recent problem, it has started about an year ago and always happens after phone reboots on his own.
[ONE Android Development] indhimaga:
yes i did... but just in a week its happened again... this the third times i did clean instal for same problem in a month... and happened twice in a week.
[ONE Android Development] indhimaga:
you restored just app not rom?
[ONE Android Development] Tomoms:
First thing: thanks @to.xda for the feedback about GPS.

Second thing: @to.xda @Cipcino81 @indhimaga I cannot explain why you're having so many issues. Can you tell me what is the quickest way to reproduce this issue? Do I just have to flash my ROM, Gapps, log into my Google account and wait for a while until it happens? How long should it take for the problem to appear?
[ONE Android Development] Cipcino81:
Hello Tom, it may take up to two months for it to happen , but it is not always the same. One time it happened after only two weeks. In addition to the ROM and gapps, I got installed magisk too, but I do not know if this have an influence on the issue.
[ONE Android Development] Cipcino81:
I restored the rom with the nandroid backup of TWRP. Restoring only the apps do not work.
[ONE Android Development] to.xda:
in my case, this is the first time it happened for several latest builds,

no particular action performed,

suddenly, a notification pop up about action required for google account,

pressing it asked me to login again,

after i entered password,

nothing happened and the notification persisted,

later it logged me out of play store,

but when i checked ny account from web, it listed on as active device just fine..

well, i had encountered it once or twice a long time ago,

so i was not surprised,

couldn't recalled what i did back then,

as i haven't fully setup my devices since last flash,

i just cleaned flash and it worked..

if it happened again,

i'll grab a logcat..

just to be sure,

did you flash gapps directly after flashing the rom on your first install as directed in lineage os wiki?

meaning no reboot between the process..

@Cipcino81 @indhimaga

i was curios and did a quick search,

apparently flashing separately can cause such issue too..

it just that i am quite sure i followed those steps properly,

i don't use magisk, so i don't think that's the problem..
[ONE Android Development] SamVVaeck:
Same happened here. But my pop up to log in to the google account did not even open, it just crashed the pop up every time.

I remembered this happening about a year ago as well. I looked up again what i did and for me this worked immediately:

Go to play services in settings, disable it, clear its chache and enable it again.
[ONE Android Development] indhimaga:
yes i always flash it directly, it listed on as active device with google account linked, but the same time all google apps force me to log out and ask a password, the past week when the problem occur, i even can't remove the account so it just stuck, i decided get back to the drawing board, but yesterday when it happened again, i can remove the account, but always same still cannot log in like you said every time notification pop up about action required for google account pressing it asked me to login again, after i entered password, nothing happened and the notification persisted, and i always totally immerse with magisk
[ONE Android Development] indhimaga:
it just happened unpredictably, just like random in a weeks or several month, but in my case now its twice in a week
[ONE Android Development] Tomoms:
Thanks for providing a workaround! I hope it is useful for the other users facing this problem.

Enable USB debugging on your phone and the next time it happens, before trying @SamVVaeck 's workaround, connect the phone to the PC and grab a logcat (adb logcat > log.txt). While you're grabbing the logcat try also removing the account, re-adding it, etc. (the more errors you trigger, the more informative the logcat is).

Of course, you don't have to reboot the phone at any time, otherwise the log will be useless.