[ROM][R][bacon] Unofficial, optimized LineageOS 18.1 - August 5th

Search This thread

EotT

Senior Member
Jul 29, 2013
129
63
Well... I clean flashed the lineageos nightly, but at first sight, it seems to be having the same problem. I was going to test it for a few days, but I wanted my apps, but I forgot to backup them (using migrate). So I restored my nandroid to be able to create the backup. But when I restored my nandroid, I noticed something: wifi was working a lot better (like right after I first flashed your test kernel, which seems to be working back then). And LiveDisplay was working again (which was broken for me). So I decided to keep using it for a few more days. Now, after it been using for a few days, LiveDisplay is still working, and wifi is still much better than before (still not perfect, but improved noticeable).
So I didn't test a clean flash for a long time, as my current setup is working better than before, and it's alot of work to setup and configure a complete new rom (and I would rather be using your rom, than the 'standard' LineageOs one).
I'll update to the new november build, hopefully it stays working the way it is now.
 
  • Like
Reactions: Tomoms

Tomoms

Senior Member
Feb 15, 2014
2,697
6,449
OnePlus One
Essential Phone
Well... I clean flashed the lineageos nightly, but at first sight, it seems to be having the same problem. I was going to test it for a few days, but I wanted my apps, but I forgot to backup them (using migrate). So I restored my nandroid to be able to create the backup. But when I restored my nandroid, I noticed something: wifi was working a lot better (like right after I first flashed your test kernel, which seems to be working back then). And LiveDisplay was working again (which was broken for me). So I decided to keep using it for a few more days. Now, after it been using for a few days, LiveDisplay is still working, and wifi is still much better than before (still not perfect, but improved noticeable).
So I didn't test a clean flash for a long time, as my current setup is working better than before, and it's alot of work to setup and configure a complete new rom (and I would rather be using your rom, than the 'standard' LineageOs one).
I'll update to the new november build, hopefully it stays working the way it is now.
But did you try the new kernel I posted on November 2nd?
 

to.xda

Member
Sep 13, 2021
6
1
hello,
sorry for being out of topic..

I don't root my phone as it will make my banking app unusable..
using this rom is okay as long as I modify these lines on build.prop and default.prop..

ro.secure=1
ro.debuggable=0

on last rom, I was able to modify those lines using abd push, pull, chmod,
maybe i am doing some wrong step this time but on latest rom i couldn't modify default.prop at /
it will revert on reboot..

build.prop and default.prop in /system or /system_root could be modified just fine..

is there a way for me to modify default.prop at / ?
I am not really techsavvy,
but I tried aik but I couldn't fine anything in ramdisk folder after unpacking boot.img,
well, I just used the boot.img from downloaded rom..

thank you..
 

Tomoms

Senior Member
Feb 15, 2014
2,697
6,449
OnePlus One
Essential Phone
hello,
sorry for being out of topic..

I don't root my phone as it will make my banking app unusable..
using this rom is okay as long as I modify these lines on build.prop and default.prop..

ro.secure=1
ro.debuggable=0

on last rom, I was able to modify those lines using abd push, pull, chmod,
maybe i am doing some wrong step this time but on latest rom i couldn't modify default.prop at /
it will revert on reboot..

build.prop and default.prop in /system or /system_root could be modified just fine..

is there a way for me to modify default.prop at / ?
I am not really techsavvy,
but I tried aik but I couldn't fine anything in ramdisk folder after unpacking boot.img,
well, I just used the boot.img from downloaded rom..

thank you..
ro.secure=1 is already set. Try to add ro.debuggable=0 in the /system/build.prop file, it should override the value in the default.prop.
 
  • Like
Reactions: to.xda

0ka

New member
Dec 11, 2021
2
0
hi, in my folder /data/system/dropbox/ there are a lot of files with the same content and they appear nonstop. i use your gapps. this is normal? I attach the file and logcat (log.txt)
another small problem is that systemUI often crashes if the lock screen is disabled, but with swipe unlock everything is fine. for some reason I cannot reproduce the crash, so there is no log.
 

Attachments

  • log.txt
    2.8 KB · Views: 5

Tomoms

Senior Member
Feb 15, 2014
2,697
6,449
OnePlus One
Essential Phone
hi, in my folder /data/system/dropbox/ there are a lot of files with the same content and they appear nonstop. i use your gapps. this is normal? I attach the file and logcat (log.txt)
another small problem is that systemUI often crashes if the lock screen is disabled, but with swipe unlock everything is fine. for some reason I cannot reproduce the crash, so there is no log.
I guess something is wrong, try to update to the latest official MindTheGapps: https://androidfilehost.com/?fid=7161016148664811245
BTW, December's build is coming tomorrow.
 
Jun 10, 2019
26
2
Had to return to my good old trusty OnePlus One after my Pixel 2XL's usb-c port fried itself and won't work with usb hub adapters anymore nor fast charge... such garbage from Google.

I'm so glad to see you're still developing @Tomoms! I just tried your kernel with /data and /cache formatted as f2fs running full disk encryption and it still won't boot since your last 2020 build where it stopped working... I noticed the official lineageOS 18.1 December '21 Rom/kernel work perfectly fine.

Is there something different with the f2fs drivers between your kernel and lineageOS's official one?

Happy holidays my friend
 

Tomoms

Senior Member
Feb 15, 2014
2,697
6,449
OnePlus One
Essential Phone
Had to return to my good old trusty OnePlus One after my Pixel 2XL's usb-c port fried itself and won't work with usb hub adapters anymore nor fast charge... such garbage from Google.

I'm so glad to see you're still developing @Tomoms! I just tried your kernel with /data and /cache formatted as f2fs running full disk encryption and it still won't boot since your last 2020 build where it stopped working... I noticed the official lineageOS 18.1 December '21 Rom/kernel work perfectly fine.

Is there something different with the f2fs drivers between your kernel and lineageOS's official one?

Happy holidays my friend
Let me check this - I'll let you know.
 
  • Like
Reactions: TheAlmightyOgreLord

ImmortAlex

Senior Member
Jan 3, 2012
160
125
42
Novosibirsk, Siberia, Russia
In my case, your last 6th November build do constant reboot at the time it shows decryption pattern.
I mean, it loads, shows first boot animation, then shows pattern (I'm using 4x4) and immediately reboots.
Previous build run fine.
OPO is my spare device now, and I have no time to install that build at the time you release it, so try it only today... :(
I do full format of /system and wipe /data and /cache. Also do fsck from twrp.
And, yes - I still have f2fs and FDE.
 
  • Like
Reactions: accuphase

Tomoms

Senior Member
Feb 15, 2014
2,697
6,449
OnePlus One
Essential Phone
In my case, your last 6th November build do constant reboot at the time it shows decryption pattern.
I mean, it loads, shows first boot animation, then shows pattern (I'm using 4x4) and immediately reboots.
Previous build run fine.
OPO is my spare device now, and I have no time to install that build at the time you release it, so try it only today... :(
I do full format of /system and wipe /data and /cache. Also do fsck from twrp.
And, yes - I still have f2fs and FDE.
I'll check everything and will update you in a few days!
 
  • Like
Reactions: accuphase

Tomoms

Senior Member
Feb 15, 2014
2,697
6,449
OnePlus One
Essential Phone
The new build is available. It brings December's security patches and it is built using a more up-to-date compiler (Clang 12.0.x). There are some relevant UI/UX changes, such as: removed excessive padding in between notifications (separating labels such as "Silent", "High priority" etc. are now gone), the autobrightness toggle in the top right corner of the Quick Settings screen is now bigger and easier to tap, the ripple effect when pressing on all buttons has been updated to be snappier (this gives the impression of a more responsive device, and according to kdrag0n's message here, this is how the ripple effect is implemented in iOS), touch sounds in Settings > Audio are disabled by default on clean installs now. The small screenshot preview in the bottom-left part of the screen also goes away faster after taking a screenshot. All in all, I really do prefer the Android experience after these changes, I hope you'll like them too.
In Settings > Display > Advanced > "Ambient display gestures" you'll find some neat new features to wake the phone and/or check notifications. They're still kind of WIP, though: those based on the proximity sensor work perfectly, the other two are less reliable and seem not to work after the phone has been idling for a while.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    New build available, with August's security patches and the refined fix for the speakerphone bug, which also addresses issues with 3rd-party apps such as Signal.
    7
    Hello, in today's build I have fixed a bug that has existed on CyanogenMod/LineageOS since more than 6 years: the dreaded speakerphone issue. Now, when calling someone and enabling the speakerphone, the other person should be able to hear you properly. Please test & confirm this is the case. Thanks!
    3
    Just attempted to upgrade (OTA as always). Download was OK, there was no flashing error, but when the system came back up, it presented me with the same update (and kept reporting it was still at Jul 8).
    Also booting into TWRP and running the install manually gave no hint at something going wrong (Magisk was renewed as expected).
    At the moment I have no way to check whether the version *in* the zip might be still at the old date, which is what I'd suspect now...
    I was just about to ask if anyone else has the same problem as me and @steve8x8 . Update seems to be fine in TWRP but the build date is still 8.7. after reboot.

    My mistake. I've linked the wrong build in the OTA updater. Will fix tomorrow.
    3
    Hi everybody,
    The issue reported by @kekerosberg will be fixed in the next build, which will come in August. In the meanwhile, you can apply the fix by hand, if needed.
    Download this file: https://mega.nz/file/AksyjJrQ#WXUvsVbiThfc3b6J2q-5Yje7haroPkRQ5FUKAGuAmZk
    Instructions:
    boot to TWRP, mount system, open an adb shell and cd to /system/vendor/etc
    Check the permissions of the mixer_path.xml file. I believe they are rw-r--r-- aka 644 but I'm not 100% sure.
    Push the file I linked to that directory, thus replacing the mixer_paths.xml that is already there.
    With chmod, if necessary, set its permissions so that they are equal to the ones of the old mixer_paths.xml.
    Then reboot.
    2
    @kekerosberg @steve8x8 and everybody else:
    Updater is now fixed! Be sure to force an update re-check and delete the currently downloaded build by tapping on the 3-dot menu displayed next to the "23 July 2022" entry and then on "Delete". In other words, the button that triggers the update should display "Download" and not "Install", otherwise it means it is set to reinstall again the old, cached build.
  • 96
    In this thread I'll share with you my personal builds of LineageOS 18.1 for the Oneplus One codename: bacon (older builds of 17.1, 16 and 15.1 are still downloadable). This project is inspired by idprophecy's LineageOS builds, to which I want to add my favorite features and, possibly, even more optimizations and improvements.

    MAIN FEATURES
    LineageOS 18.1 features:
    • support for MicroG (signature spoofing) - read the 2nd post!
    • improved & updated libraries: sqlite, zlib, libpng, jemalloc, libvpx, libyuv, freetype
    • critical system components built with -O3 optimizations (art, SurfaceFlinger, bionic)
    • built with the latest Clang 12.0.x
    • optimized & updated bionic routines
    • Android RunTime (ART) updates and improvements
    • several debugging & tracing components are removed from the system
    • reduced priority of the USB connection type & USB debugging notifications
    • partial/full screenshot QS tile
    • Ambient display gestures
    • in-built F-Droid Privileged Extension
    • materialized Toasts
    • support for OTA updates
    • several minor tweaks and improvements
    • my custom kernel (features listed below)
    LineageOS 17.1 features - development stopped:
    • all C/C++ components are build with -O3/-g0 flags (maximum optimization, minimum useless debug info)
    • support for signature spoofing (= MicroG supported) - read the 2nd post!
    • in-built F-Droid Privileged Extension
    • native support for WakeBlock by @GioBozza, for more info: WakeBlock on XDA
    • several updates & improvements to internal components: skia & libjpeg-turbo (temporarily reverted), art, bionic, libpng, sqlite, zlib
    • several debugging & tracing instructions are removed from the system
    • custom Screenshot QS tile
    • deGoogling tweaks: non-Google captive portal server & SUPL server
    • support for OTA updates
    • minor miscellaneous tweaks
    • my custom kernel (features listed below)

    Kernel features:
    • built with GCC 11
    • CPU underclocking (268 MHz) & max freq. limited to 1,9 GHz by default
    • several f2fs updates
    • power-efficient workqueues
    • cpu_input_boost by Sultanxda
    • bricked hotplug replaces mpdecision
    • CPU undervolting
    • maple I/O scheduler
    • userspace LMKD replaces the old in-kernel Low Memory Killer driver
    • DDR bandwidth boost on screen wake
    • minor adjustments and tweaks
    • several code updates and security/bug fixes
    BUGS
    Also present in official LineageOS 18.1/17.1:
    • kernel panic when changing USB mode to "File transfer" - fixed in the 20200811 build & later official nightlies
    • notification/charging LED not working - fixed in the 20200811 build & later official nightlies
    • low in-call microphone if speakerphone is enabled - fixed in the 20200811 build
    • charging hiccups when using certain 3rd-party chargers/cables - fixed in the 20200912 build
    • AUX audio output not working - fixed in all builds (unofficial & official) newer than 20200826
    • wrong time on boot until connected to a network - fixed in the 20201110 build, and in official nightlies starting from 20201224
    • the Music app is quite messed up (bug is already reported on Gitlab) - fixed by the LineageOS team as of January 2021.
    • flaky GPS - fixed (or at least improved) in the 20201213 build & official 18.1 nightlies newer than 20210415
    • manual mobile network scan not working - fixed in the 17.1 20210123 build, also fixed on official LineageOS
    • NFC not working - fixed in the 20210419 build & later official nightlies
    • 5 GHz hotspot is broken - but there's a workaround here
    • front camera often affected by overexposure - workaround: restart the app you're using until it's gone
    • low microphone volume during calls on speakerphone - completely fixed in 20220805 and in official nightlies starting from 20220804
    • stuttery playback of HD videos in some 3rd-party apps - fixed in the 20211106 build
    • weird noises while playing flac files if AudioFX's Bass option is enabled (17.1)
    Bugs that are specific to my builds:
    • encryption of f2fs-formatted /data partition is broken - fixed in the 20201028 build
    • corrupted thumbnails and weird visual artifacts in the system's color picker - fixed in the 20201028 build
    • libjpeg crashes in certain apps (NewPipe, Files, and others) - fixed in the 20201017 build
    • Telegram's (and, possibly, other apps') in-built camera not working - apparently fixed in the 20200811 build
    • WiFi issues affecting a minority of users - under investigation
    • encryption doesn't work - fixed in the 2022-01-13 build
    • some apps crashing due to permission quirks - fixed partially in the 2022-02-13 build, completely fixed in 2022-03-02

    Changelog for LineageOS 18.1:
    August 5th:
    • synced with LineageOS + August's security patches
    • all microphone/speakerphone issues are fixed also for 3rd party apps

    Changelog for older LineageOS 18.1 builds:
    July 23rd:
    • fixed low volume during calls in speakerphone mode

    July 8th:
    • synced with LineageOS + July's security patches
    • security fixes in the kernel
    • kernel logging disabled by default, to reduce overhead
    • a couple of sepolicy fixes

    June 16th:
    • synced with LineageOS, including June's security patches
    • materialized toast messages

    May 6th:
    • synced with LineageOS
    • May's security patches
    • updated SQLite library

    April 6th:
    • synced with LineageOS
    • April's security patches
    • link-time optimization applied to some critical system components
    • minor updates and tweaks to the core OS

    March 10th:
    • synced with LineageOS
    • March's security patches
    • removed rx_wakelock from the WiFi chip's driver (could lead to small power savings without affecting functionality)
    March 2nd:
    • ro.debuggable=0 by default (fixes root detectors reporting system as rooted when it is not)
    • fix for a permission bug that made apps misbehave when trying to access the phone's sensors
    • wallpaper zooming has been disabled
    • synced with LineageOS

    February 13th:
    • synced with LineageOS
    • fix for apps crashing on startup due to mishandling of the INTERNET permission
    • a few kernel updates & fixes for an infrequent kernel panic

    January 13th:
    • /data partition encryption is fixed

    January 11th:
    • synced with LineageOS
    • January's security patches
    • kernel: debloated WiFi driver
    December 12th:​
    • synced with LineageOS + December's security patches
    • general user interface improvements
    • build using the latest Clang 12.0.x compiler
    • minor fixes and updates here and there
    November 6th:​
    • synced with LineageOS
    • November's security patches
    • fix for laggy playback of HD videos in 3rd-party apps
    October 8th:​
    • synced with LineageOS + October's security patches
    September 10th:​
    • screenshot QS tile now fixed
    September 9th:​
    • synced with LineageOS
    • September's security patches
    • screenshot QuickSettings tile (first attempt, still broken - will fix it soon)
    August 23rd:​
    • synced w/ LineageOS (incl. August's patches)
    • WiFi display is back (thanks to the Lineage team!)
    • sporadic camera crashes are fixed (thanks to Nolen, the other bacon maintainer!)
    July 10th:​
    • synced with LineageOS + July's patches
    • DRM fixes (Clearkey support)
    June 16th:​
    • GPS improvements (hopefully now it'll work fine!)
    June 10th:​
    • synced with LineageOS (incl. June's security patches)
    • GPS fixes (work in progress)
    • some kernel updates and improvements
    May 7th:​
    • synced with LineageOS (w/ May's security patches)
    • updates for ART and bionic
    April 29th:​
    • synced with LineageOS
    • updated libyuv and libvpx
    • -O3 optimizations for critical system components
    • USB notifications have lower priority
    • minor miscellaneous tweaks
    April 19th:​
    • synced with LineageOS (NFC fix included)
    • GPS updates and improvements
    • touch response optimizations
    • minor tweaks and fixes
    April 8th:​
    • synced with LineageOS (w/ April's security patches + fix for display issue)
    • some kernel updates
    • lots of debugging code disabled
    • updates for jemalloc, sqlite, bionic, libcore and libpng
    March 9th:​
    • synced with LineageOS (w/ March's security patches)
    • some kernel updates
    • encryption is now working
    February 27th:​
    • synced with LineageOS
    • minor kernel updates
    February 9th:​
    • synced with LineageOS (with February's security patches)
    • some kernel fixes & updates
    • fix for the Gallery showing the previous photo instead of the new one, immediately after taking one
    Ferbuary 3rd:​
    • bootloop fix

    February 2nd:​
    • synced with LineageOS
    • WiFi hotspot fixed
    • Dynamic processing audio library
    • in-built F-Droid Privileged Extension
    • Dual-channel SBC codec for bluetooth headphones/speakers (untested, must be set in Developer Options)
    • minor tweaks to reduce memory usage (with negligible impacts on performance and/or graphic quality)
    • my custom kernel has been implemented
    January 21st:​
    • synced with LineageOS
    • updated & improved sqlite library (huge performance boost)
    • optimized zlib library
    • improvements for ART's memory usage
    • support for OTA updates
    January 6th:​
    • synced with LineageOS (January's security patches)
    January 3rd:​
    • synced with LineageOS
    • lockscreen PIN possibly fixed? Please confirm
    December 26th:​
    • fixed signature spoofing
    • synced with LineageOS
    December 21st:​
    • added support for signature spoofing (MicroG) and UnifiedNLP
    December 14th:​
    • initial build

    DOWNLOADS
    Unified download link for both 17.1 and 18.1: SourceForge
    Recommended Gapps package (official MindTheGapps): here
    Older 18.1 builds are available here: AFH
    Previous 17.1 builds are available either on AFH or on MEGA (17.1) / on MEGA (18.1).

    A BIG "THANK YOU" TO
    the whole LineageOS team, and the multitude of great developers of the Android custom ROM scene, such as kdrag0n, kerneltoast (Sultanxda), nathanchance, flar2, franciscofranco, frap129, the MSM-Xtended project, the crDroid project. I hope I have not forgotten anyone.
    23
    I'm happy and proud to announce that I am now an official LineageOS maintainer for our Oneplus One!
    23
    Hello! My first LineageOS 16 build works fine and even Argon kernel is working fine :)
    However, the ROM is not ready for you to use it, especially because I have to improve the kernel's implementation (currently it's very buggy and a normal user would go crazy to make it work properly). So I will not release this build, however I think that within a few days I'll get this stuff sorted and a new build will be ready!
    19
    Hello,
    I'm happy - and also a little bit proud :victory: - to inform you that I started making some small contributions to official LineageOS for bacon: I've submitted (and I'll keep submitting) some kernel bug/security fixes that got merged into our official LineageOS kernel. This way, both users of my builds and users of the official nightlies can benefit from them!
    Also, our LineageOS maintainer has fixed the LED issue, thus it'll work in the next nightly, and of course in the next build of mines too :)
    Talking about my next build, it'll come in a couple of days!
    19
    Hello guys,
    I'd like to inform you that I plan to switch to LineageOS 16 soon. I'll start by using TugaPower, to get used to the new OS and to finish setting up my building environment (I have to pull some files from LineageOS 16 before I can start building my own releases). Then I'll start sharing my own builds. Since it'll take me a while to implement in LineageOS 16 all the features and the optimizations that I've added to my 15.1 builds, the first LineageOS 16 builds will be very close to the standard LineageOS ones, but I'll gradually get to the point I've reached with Oreo.
    I might build and upload one last 15.1 build in the next days.
    I'll keep you informed :)