yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] ConnerJSP:
I was experiencing the same lag once the apps started installing; additionally, my phone lagged watching videos on YouTube (especially when PIP-ing it) or quite casually multitasking.

I flashed from 8/18 to 8/13 and still noticed the lag, but not on 7/30. It seems to be back to normal, so it must have been introduced in the 8/13 build.

[MENTION=6278018]WilderSu[/MENTION] I will mention that I also encountered some extreme battery drain when updating to 8/13 or 8/18 (I forget which it started on). Not sure what caused it, but reverting back to 7/30 fixed it as well. *Note: I did change the qcom.power file at the same time, so it could've been either. Also, no logs since I switched back so fast, sorry.

And regarding the CPU max frequency, I don't actively cap it so I am not sure if the file you shared fixed it, but I noticed that it changed the governor from impulse to performance which I didn't want to use. And since I don't use a kernel manager, I couldn't switch it back without replacing the original file.

Also, also. Smart lock seems to be misbehaving or something in the settings is. The problem is recurring and only happens in this particular circumstance: when I come home from work and my phone connects (automatically; my WiFi is still on from work) to my home WiFi with a system profile to disable the lock screen, I can't go to the recent apps menu or close apps. Only disconnecting from the WiFi and then unlocking the phone fixes it. Furthermore, after downgrading to 7/30, today at work I couldn't unlock my phone at all as it would go to a black screen then back to the lock screen. I managed to get in the phone once but couldn't go to the smart lock settings as the setting app would crash. Wiping /system and re-flashing has since fixed the black screen (probably some conflicts from downgrading), but it still has the problem when I come home as well as not being able to get into smart lock settings.
[ONE Android Development] :
[MENTION=5727088]Tomoms[/MENTION] I found out the issue I was experiencing weekly with my sim card disconnecting, had to do with updating a magisk module after patching the magisk-patched boot partition with selinux permissive patcher. Basically just gotta do a clean rom install whenever I want to do anything magisk related that involves the boot partition AFTER patching with selinux permissive patcher. Good to know for anyone else currently running 20190710 ??

Post edited; replied to other forum member by mistake
[ONE Android Development] Tomoms:
Hey guys, the lags while installing apps seems to have disappeared on a new build I've made for testing. It's on Mega but I advise you not to flash it, it's not ready for release yet. Anyway, the next public update will have the fix for this problem!

You keep having the most weird issues I've ever heard of. I hope to fix the f2fs issues soon so you can update to the newer builds.
[ONE Android Development] :
All I can say for now is that whatever you did with f2fs on 20190710 was perfect. Something changed afterwards unfortunately. Thank you for looking in to this
[ONE Android Development] :
Is it just me or has anyone else noticed the 5Ghz hotspot mode isn't working? When I set it to 5Ghz, it keeps crashing. I have to spam the tethering button a few times until it finally activates, but then I go to my PC and find out it's a 2.4Ghz signal. Last time I was able to use 5Ghz hotspot mode was on Jgcaap's cm13 rom, but I was also on ext4 then.
[ONE Android Development] Tomoms:
I got it to work by editing the configuration file of our WiFi chip. The problem is that once you force 5 GHz hotspot, the 2,4 GHz one won't work anymore... (Unless you undo the modification and reboot, of course). I'll check jgcaap's WiFi config, maybe it contains the fix for our problem.
[ONE Android Development] WilderSu:
In addition to what I've wrote about battery life there's something wrong with USB stack in the newest build.

I've been using DriveDroid for a long time without any issues but with this rom choosing USB mode force reboots phone.
[ONE Android Development] :
Is there any chance you could upload the edited wifi configuration file for me to replace manually in my rom, until you figure out a fix? I'm in dire need of a 5Ghz hotspot since my neighbors are retarded and set their 2.4Ghz router not only to wide 40Mhz, but they constantly jump between channels 5 and 9 jamming anyone attempting to get away from their frequency range lol.
[ONE Android Development] Tomoms:
I'm sick and tired of everything!

Hello dear users,

I'm writing this post to inform you that lately I started experiencing some unpleasant issues while using my ROM: the last 2 builds were quite choppy (and I don't know why), I had problems with certain apps, and I kept receiving feedback about strange problems (such as the USB one mentioned 2 posts above this one). What's more, I can't wrap my head around the CPU frequency issues we keep having at random times. All these facts put me in a bad mood, because it seemed to me that the main results of my efforts were just more and more issues. The fact that my sources are rarely synced between my hard disk and my Github, not to mention that they are super messy, with lots of work that has been paused and never resumed/cleared, made me realize that I have developed this ROM like an idiot, because now it's extremely difficult (if not impossible) to investigate the causes of most of the issues I've mentioned before.

Due to all of these problems, I have finally made up my mind and I'm ready to announce that it's time for a huge overhaul of this project. I've learnt the lessons and I'm ready to start doing the only thing that's left to do: restarting everything from scratch.

It'll take quite some time to go from plain LineageOS to my custom version, because my university semester is about to start and I want to do extremely well this year, and for this reason I really need people to help me thoroughly test my builds in every possible scenario, so that we can finally have a real fast, stable, bug-free, optimized version of LineageOS. Redoing everything from zero in a clean way will also save me quite a lot of time in the future, when I have to implement my changes into the upcoming LineageOS 17. The overhaul will involve Argon kernel as well.

So, dear users, if you are tired of issues and willing to test some builds which are surely going to be more stable than the current ones (because I'll implement features and tweaks very gradually), albeit less optimized (until I manage to reimplement most of my tweaks), let me know by writing me a PM. Help is very appreciated.

Sure, I'll post it soon.
[ONE Android Development] :
I know how big of a decision this must have been, and I sincerely applaud you for retaining what I like to call: "the fire" that only the greatest devs have in them. You have my support comrade ✊?

and thank you very much, looking forward to trying the patch!
[ONE Android Development] Tomoms:
Thanks for the kind words!

Coincidentally, yesterday I came across a kernel patch that is supposed to fix the 5 GHz hotspot (without breaking the 2,4 GHz hotspot) for another device. The dev who wrote the patch states that it is known that 5 GHz hotspot is broken (on some devices), and a temporary fix is to force the WiFi driver to use channel 44 when the hotspot is started. This apparently works but not in all situations (depending on the region that is set in the WiFi firmware config file, I guess). So if you want to keep using my latest custom build from August 18th, I can send you the modified WiFi config file that fixes 5 GHz hotspot but breaks 2,4 GHz. If you want to switch to my new builds (the ones I'm starting to develop from scratch - they're not public yet), I can try implementing that patch in the kernel, in hopes it fixes the issue without generating a new one. Let me know!

EDIT: it looks like the patch is for a different WiFi chip than the one our OPO uses.
[ONE Android Development] :
If you can find a way to get both the 2.4 and 5Ghz hotspot modes to work without any changing of WiFi configuration files then by all means! I always say effort towards the solution is better than taking sidesteps.

However it sounds like it would be harder than we thought, in that case if it won't take you long I'm 100% for a configuration file I can use for the time being, that way I can back up the old one and swap to 2.4 followed with a reboot when/if I need to.

Thank you very much! I'm still on 20190710 btw, the last release with stable f2fs for reference.

EDIT: I also believe I got that CPU underclock patch to work that you posted a few pages back. I completely deleted the original init.qcom.power.rc, then copy pasted your patched one in its place using Amaze root file manager. At this point I tried setting permissions to 0644 but it wouldn't stick. So I rebooted to recovery, found the file and manually set it to 0644 followed by a clearing of dalvik cache and /cache partition, then reboot. Phone didn't get hot to the touch through the whole boot.
[ONE Android Development] Tomoms:
Ok the kernel patch won't work for us, so for now we have to stick to the workaround that kills the 2,4 GHz hotspot. Unfortunately I can't remember very well what I had done to get it to work :D

I'm pretty sure this is what I did.

Remount /system with read-write permissions (apps such as FX file manager let you do this easily), open /system/vendor/firmware/wlan/prima/WCNSS_qcom_cfg.ini and replace this line:

gAPChannelSelectOperatingBand=0

with

gAPChannelSelectOperatingBand=2

(maybe =1 or =3 would do the trick as well)

Save and reboot! Then set the hotspot frequency to 5 GHz and it should work! Let me know :)
[ONE Android Development] :
Yes! It works!! Just copied the file, modified the value to 1 (5Ghz low range), rebooted to recovery, replaced the file with the edited copy and set permissions to 0644. Rebooted and 5Ghz works flawlessly, with the exception that it takes a few button presses sometimes but its actually 5 GHz on channel 44! I tried the value 2 like you recommend but it didn't work, just reverted to 2.4Ghz again. Haven't tried 3 yet, which is supposed to be 5Ghz high range. Thank you for your help, my ping went down by 15ms on battlefield 4 thanks to you ??
[ONE Android Development] pranavrocksharma:
Any updates with the wifi fix and latest security patches,just asking
[ONE Android Development] Tomoms:
You might have missed this: https://xdaforums.com/showpost.php?p=80226412&postcount=679

There's a lot going on in the background, a new build is not far from being released!
[ONE Android Development] pranavrocksharma:
Thanks for the contribution dev, hoping for the best rom which is useable in everyday life with 0 bugs almost,hope it will be released in the month of October , thanks again
[ONE Android Development] Tomoms:
Guess who's back?

Hello everyone!

I'm here to announce the first public release of my new project. For those who don't know/remember, I decided to restart the whole project (ROM + kernel) from scratch, and I've been working for around 2 months now, so I think the time has come to share the result of my effort. I hope it will satisfy you :)

The new ROM has only got part of the tweaks/optimizations the previous builds had got, because I'm focusing on improving its stability.

Let me repeat a thing that I've already written in the first post:

upgrading from one of the older builds is not possible. You need to clean flash this one!

Despite the fact that I'm very excited for this new start and I'd like to do dozens of different things to improve my ROM, I'm also moving towards a very busy moment of my life (I've started the last year of my undergraduate studies), so it is very possible that I will stop working "hard" on this ROM for long periods of time (weeks/months), during which I'll only release minor updates (to include monthly security patches, etc.). Anyway, the ROM as it is now should be solid enough for anyone not to require urgent updates to fix critical issues.

If you decide to give my latest build a try, let me know your opinion :)

Cheers!
[ONE Android Development] awtacular:
I'm definitely liking your latest version of LineageOS. It's a lot snappier over the stock LineageOS. Everything seems to flow a lot smoother. From switching screens and bringing up the app draw or even Google Now. Most of my apps seem to open quicker too. The only thing I changed was the launcher. I switched to Lawnchair v2 and it's running smooth. Keep up the great work!
[ONE Android Development] pranavrocksharma:
The rom is now ok and usable , but one bug that was also earlier present in your rom was Android auto is not working,when i plug my phone into car the app doesn't launch and the device is not recognized, please fix this bug , Android auto is very useful in day to day life
[ONE Android Development] Tomoms:
I haven't got a car that supports Android Auto (actually, I haven't got a car at all), so there's no way I can tell what's wrong. You could try capturing a logcat, it might tell me something useful to debug your issue.
[ONE Android Development] pranavrocksharma:
Will provide you the logcat ,do i need to perform logcat while connected to the car
[ONE Android Development] Tomoms:
You must install the Matlog app, open it, grant root access (before connecting to the car), then try to connect the phone to the car. Re-open the Matlog app and tap on the Pause button, then open the 3 dots menu and choose "Save zip".
[ONE Android Development] OnniXx:
Man this ROM is super smooth, and so far I haven't noticed any bugs. Really great job.

Only thing I'm missing is the 3 finger swipe gesture to take a screenshot. Does this ROM not have it or am I too blind to find it?
[ONE Android Development] Tomoms:
I'm glad you're liking the ROM! The feature you mentioned is not implemented. If you tell me the name of a ROM that has got it, I can try to add it in the next build.
[ONE Android Development] OnniXx:
I really am, the phone hasn't worked this well in quite some time

Havoc Os has it and I think Posp (I believe that's it's name) has it too, it would be cool if you managed to add it. My power button isn't working very well
[ONE Android Development] extrem0:
It's indeed very smooth. Scrolling speed is superb.

Only one bug I experienced so far. While connecting using built-in VPN works fine, when disconnecting it's hard rebooting. Didn't try any software VPN though. It might be on my end since I restore some apps using tibo.
[ONE Android Development] oviung:
[MENTION=5727088]Tomoms[/MENTION] whatever you did (or did not do:) with the last build is great. It really is a big improvement. Keep it up and please don't include unnecessary placebo optimizations in the future builds.

I stumbled on a problem though. It happened 2 times that the phone became unresponsive, it would not turn on whatever I did. It was not shut down because I could call it and it did not reject the call, but it just did nothing. Also adb would not list the device while in that state, so I can't post a log. The last_kmsg is garbage (it's a binary file, no text), nothing relevant in it (it's 900kb so I can't post it here).

Did anyone else experience this?
[ONE Android Development] Tomoms:
Upload a copy of /proc/last_kmsg after the next hard reboot you face, please.

Never happened to me, sorry, I can't help you.

The folks at LineageOS are about to merge November's security patches and I'm about to finish my November exams. As soon as both these things happen, I'll release a new build :)

EDIT: the new build will feature an updated kernel with custom a CPU governor and hotplugs. The default settings will be the ones I'm currently using right now on my device (on which I've been testing the new kernel for several weeks), as they seem to greatly reduce the phone's heating :)
[ONE Android Development] extrem0:
There it is. I hope you can track what's causing this. Thanks!
[ONE Android Development] Tomoms:
I've got some good news for you: I'm almost sure I've found the fix :)

I'll implement it in the next build, that will be ready on Thursday or Friday, I hope!
[ONE Android Development] extrem0:
Amazing! That was incredibly fast! Just take your time!

I don't use Vpn very often and no one else complained about it. Also, bacon still boots in a short time.

Thanks again!
[ONE Android Development] Pat603xx:
Hi, amazing. Really. Which gapps should we use?
[ONE Android Development] Tomoms:
Don't worry, it took me only 5 minutes to find it because someone had already complained about the same issue in the Oneplus X forums a couple of years ago. The cause was a mismerge after applying some security patches in the kernel. It looks like I made the same mistake so I just have to fix a couple of lines of code and the panic should be gone!

OpenGapps pico. Only if you want face unlock, OpenGapps nano.
[ONE Android Development] oviung:
I got another episode of that frozen phone problem, but now it happened while I was using it. Also, I was able to see it with adb and get some logs. Is there anything useful in them?
[ONE Android Development] extrem0:
Nice finding. I only understood the kernel panic line of that log I uploaded. :laugh:

Could you enable signature spoofing so it does work with microG out of the box? I used nanodroid patcher and it did work, but I think it's a bit slow when multitaksing (changing apps). Not sure if there's a difference if it's patched already or if it's already written to the ROM itself.

In case you're up to do so, there's guide teaching how to.

https://github.com/microg/android_packages_apps_GmsCore/wiki/Signature-Spoofing

Thanks!
[ONE Android Development] Tomoms:
Sure, it was enabled in my previous set of builds but I still haven't implemented in the new ones. The next build will support signature spoofing as well :)

It looks like you have the Banggood app installed, and it went crazy and started hogging 100% of the CPU. This lead to several system crashes and errors. I can't tell if this is the real cause of the problem but it surely is the only thing we can suspect. Try uninstalling it and see if these freezes happen again.
[ONE Android Development] Tomoms:
The new build is ready but the 3-finger swipe-to-screenshot gesture is broken and makes the Settings app crash. Therefore, I'll have to remove it and build again, then I'll release the update. I'll try to reimplement and fix that feature later on.
[ONE Android Development] OnniXx:
Thank you so much for trying to implement the 3 finger swipe thingy!
[ONE Android Development] eiwarmer:
Are you going to release this kernel separately? :angel:
[ONE Android Development] Tomoms:
New update available

The new update is out :)

It features:

enhanced support for signature spoofing. See here: https://github.com/steadfasterX/android_signature_spoofing/

kernel fix for the ppp driver (fixes panic when closing a VPN)

support for the latest Wakeblock by [MENTION=7087071]GioBozza[/MENTION].

In addition, the kernel comes with a new & updated default hotplug and CPU governor. This combination seems to improve overheating without any performance impact. Let me know if you think battery life is any better (or worse)!

Yes, but it's not my priority right now. You'll have to wait a little more.
[ONE Android Development] Pat603xx:
OTA didt'n works. Thx for update our beloved Bacon.
[ONE Android Development] Tomoms:
I know. Yesterday I couldn't use my home Internet connection so I had to upload the zip on Mega using my phone's mobile data. To send an update to you in the OTA updater, I must upload the zip on AFH as well (AFH gives me a direct link to the zip, which is needed for the OTA updater to work, while Mega does not give a direct link). Unfortunately, AFH is very unreliable and sometimes requires me to upload a zip 2 or 3 times before accepting it. I simply didn't want to waste too much of my monthly data, so I uploaded the zip on Mega only. Later I'll put it on AFH and enable OTA updates for the users who haven't updated manually yet :)

EDIT: now the update should be available via OTA as well.
[ONE Android Development] ze7zez:
Miracast - OK

I checked this ROM in July and there was no success.

Miracast now works correctly. :good:

Is it possible for the position of the Advanced Restart menu to rotate with the screen rotation?

Currently it is still glued to the right edge of the screen even during rotation. Only the fields themselves rotate.
[ONE Android Development] Tomoms:
It might be possible but I have no idea how to do it.
[ONE Android Development] pranavrocksharma:
Will it be possible for our device to get android 10 in near future?
[ONE Android Development] ze7zez:
If [MENTION=5840274]IamsKs[/MENTION] reads this forum and knows the answer, we'll find out.
[ONE Android Development] extrem0:
Thanks a lot Tomoms! This is one of the best roms I've tried in Opo in five years. It's performing like when I just bought it.
[ONE Android Development] Tomoms:
[MENTION=5203455]OnniXx[/MENTION]

Update about the screenshot gesture: it still doesn't work and I think it needs more work (porting some custom java classes and stuff and adapting them to LineageOS). For now, I think it's not worth the effort. Anyway, I'm sure there are some alternative ways (i.e. third-party apps) to take a screenshot if your physical buttons aren't working well.

A new build will come in a few days, with an updated kernel and a couple of cool features!

Glad to hear this :)
[ONE Android Development] OnniXx:
No problem, thank you for trying at least.

This rom works too well for me to be mad at it anyway

Just another question (sorry to bother so much) would it be hard to add a screenshot tile to quicksettings? That would be a decent enough way to replace the 3 finger gesture without using a 3rd party app if you think it's too much time consuming

I'll just try to find a way to screenshot without power buttons
[ONE Android Development] Tomoms:
This should be way easier. I'll try that soon!
[ONE Android Development] ze7zez:
Have you tried changing the position of Advanced Restart?

There is a hint.

Without this on the screen with an inactive touch area you can not in any way perform a reboot to recovery. :(
[ONE Android Development] Tomoms:
A new update is available!

It brings some code updates and improvements, plus some adjustments for our WiFi that could improve performance and throughput. However, we need to check if battery life is affected negatively or not. Let me know if you feel that battery life is worse in this build, or not.

The screenshot tile is not present. I've implemented it, but it's simply not showing up. I have no idea why...

I hope to get it to work in the next update.

Soon via OTA as well. As usual I'm having problems with file hosting websites.
[ONE Android Development] pranavrocksharma:
battery draining quickly now
[ONE Android Development] Pat603xx:
Me too:laugh:
[ONE Android Development] OnniXx:
I'm not noticing any battery differences but mine isn't in very good health, might be placebo but I think I'm having less wifi dropouts and seems a bit faster.
[ONE Android Development] Tomoms:
No worries, all the changes can be reverted easily in the next build. Can you tell me if the excessive drain happens only when connected to a WiFi network, or whether it happens even when you are on mobile data/no network connection?
[ONE Android Development] Pat603xx:
I think it was more drain on mobile data.
[ONE Android Development] Tomoms:
No, this doesn't make any sense, the drain should be either uniform or bigger when on WiFi.
[ONE Android Development] OnniXx:
Kinda unrelated but I'm having constant signal drops and unless I turn on airplane mode and then off I don't get signal again and can't text or make calls etc

This started like 4 or 5 days ago and at first I thought it was related to the bad weather,( it happenes, if it rains alot and there's thunders my signal normally gets alot weaker or is non-existent) but the waethers normal now and I'm still having issues

Anything I can do to find the problem?

Edit: I think I fixed it, not a problem with the rom at all