[OFFICIAL] LineageOS 18.1 for the OnePlus One

Search This thread

netbuzz

Senior Member
May 16, 2012
565
594
Here's my dirty flash process (everything works afterward):
On Lineage 17.1:
set creen lock to None
upgrade TWRP to version 3.5.2
backup everything

Boot to TWRP and then:
delete /data/system/locksettings.db
wipe /system, /dalvik, /cache (don't wipe /data)
install latest Lineage 18.1
install OpenGapps pico ARM test package
install Magisk 22.1

After first boot:
set screen lock back

With that process, I did not need to recover any apps and everything works great after the upgrade.
 
  • Like
Reactions: daniga74

lom4x

Member
Apr 18, 2010
26
6
Here's my dirty flash process (everything works afterward):
On Lineage 17.1:
set creen lock to None
upgrade TWRP to version 3.5.2
backup everything

Boot to TWRP and then:
delete /data/system/locksettings.db
wipe /system, /dalvik, /cache (don't wipe /data)
install latest Lineage 18.1
install OpenGapps pico ARM test package
install Magisk 22.1

After first boot:
set screen lock back

With that process, I did not need to recover any apps and everything works great after the upgrade.
Did you have encryption enabled on you phone before the upgrade?
 

npjohnson

Recognized Developer
  • @npjohnson, can you please clarify your comment on this PR https://review.lineageos.org/c/LineageOS/android_system_vold/+/304821.
    What were fixed on bacon regarding HW FDE if you stated here and on LG G3 review that HW encryption is broken and should be replaced by dm_crypt as i understand?
    HW backed encryption works fine on bacon with that, the issue is the OS side framework removal of legacy credential support, which breaks PIN/Pattern.

    I could have left he crypto enabled, but PIN would never work. Better to fall back to dm_crypt and software encryption them have half working.
     

    mt.

    New member
    Apr 5, 2021
    4
    0
    @npjohnson thanks for the fixes, the 15.4 build is now working without changes to the file system.

    One question according the AOSP dictionaries:
    Currently the AOSP keyboard spellchecker has the default languages included (de, en, es, fr, it, pt_br, ru)
    Is it possible to include also the additional .dict files to the build? The most of them are already included in (java/res/xml/spellchecker.xml) but the .dict files are missing. although they are committed to the LOS code.
    The unneeded ones can be later uninstalled from the menu and that was working fine the previous versions, thanks.

    Additional .dict files:
    https://github.com/LineageOS/androi...s/packages/inputmethods/LatinIME/java/res/raw
     
    Last edited:

    Seb512

    New member
    Apr 19, 2021
    1
    0
    Hello all,

    I've been reading this forum for a couple of years but only recently got an account. Anyways, I recently clean installed the latest official build of LOS 18.1 and an unofficial openGAPPS build on my OnePlus One, and it runs well except the camera and torch is broken. When I open the stock camera app, even after a reboot it crashes instantly, and I cannot use any third party apps, as they say "camera in use". When trying the torch, it also says camera in use and is greyed out. Any ideas? Thanks
     

    peter53

    Member
    Feb 6, 2011
    12
    2
    OnePlus One
    Hello all,

    I've been reading this forum for a couple of years but only recently got an account. Anyways, I recently clean installed the latest official build of LOS 18.1 and an unofficial openGAPPS build on my OnePlus One, and it runs well except the camera and torch is broken. When I open the stock camera app, even after a reboot it crashes instantly, and I cannot use any third party apps, as they say "camera in use". When trying the torch, it also says camera in use and is greyed out. Any ideas? Thanks
    I think it is a bug in this build now. I have rebooted my phone several times and about 1 out of 4 or 5 times I can get both front and rear cameras working. Sometimes only the rear camera is working, sometimes both camera are not working.
     
    • Like
    Reactions: Seb512

    npjohnson

    Recognized Developer
  • @npjohnson thanks for the fixes, the 15.4 build is now working without changes to the file system.

    One question according the AOSP dictionaries:
    Currently the AOSP keyboard spellchecker has the default languages included (de, en, es, fr, it, pt_br, ru)
    Is it possible to include also the additional .dict files to the build? The most of them are already included in (java/res/xml/spellchecker.xml) but the .dict files are missing. although they are committed to the LOS code.
    The unneeded ones can be later uninstalled from the menu and that was working fine the previous versions, thanks.

    Additional .dict files:
    https://github.com/LineageOS/androi...s/packages/inputmethods/LatinIME/java/res/raw
    unsure - if you have a way to include them, push a patchset to gerrit!
     

    lom4x

    Member
    Apr 18, 2010
    26
    6
    I've successfully dirty flashed to the 18.1 from 17.1. Here is my story.

    I've had lineageOS 17.1 with encrypted /data with some 2FA apps like Google Auth and banking apps which i don't want to reinstall. First thing I've tried is to disable encryption on 17.1 as it were mentioned that full wipe required because incompatibility in encryption support between 17.1 and 18.1.

    * I backup my /sdcard data with adb, than /data /system with TWRP.
    * pulled backup data to the PC
    * formatted /data from TWRP confirming that i want to remove encryption.
    * rebooted to TWRP
    * pushed backup back to the TWRP
    * restored /data from backup
    but next time I've booted to los 17.1 to temporarily remove lockscreen pattern as were suggested in this thread, OS welcomed me with encryption in progress with ETA to complete.
    So i
    * repeat formatting /data from TWRP second time
    * rebooted to TWRP
    * pushed backup to TWRP
    * restored /data from backup
    * removed /data/system/locksettings.db
    * WITHOUT reboot i've installed official los 18.1 from 22.04 and Opengapps from Tomoms thread.
    After the boot to LOS18.1 I were again welcomed with ENCRYPTION in progress screen now from los18.1
    Than I've set a lockscreen key from 18.1 setting and that's it.
     

    lom4x

    Member
    Apr 18, 2010
    26
    6
    Just curious, what is the difference between this and Mindthegapps? Can you get Live Captions from the Opengapps? Thanks!
    I don't have it in Settings. After a quick search it looks like it is Pixel's feature based on some AI engine in recent Pixel phones.
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 3
      With the latest update the camera is still not responding. Anyone found something to fix that already or am I missing something?
      After the last update i had also a problem with camera app, it doesn't open. I solved it with following, boot into recovery mode and delete cache and dalvik/art cache in twrp, then reboot to system. After that camera is working again. Maybe this helps you.
      2
      Hi, A complete Noob here - I flashed to lineage OS 17 in Jan 2021. I am not sure if I should update to 18.1, as it says it would be even slower due to software encryption instead of device . can anyone give comment on the performance of Oneplus one with lineage 18.1 - was it slower or not much different?
      It's about the same!
      1
      Hello all,

      I've been reading this forum for a couple of years but only recently got an account. Anyways, I recently clean installed the latest official build of LOS 18.1 and an unofficial openGAPPS build on my OnePlus One, and it runs well except the camera and torch is broken. When I open the stock camera app, even after a reboot it crashes instantly, and I cannot use any third party apps, as they say "camera in use". When trying the torch, it also says camera in use and is greyed out. Any ideas? Thanks
      I think it is a bug in this build now. I have rebooted my phone several times and about 1 out of 4 or 5 times I can get both front and rear cameras working. Sometimes only the rear camera is working, sometimes both camera are not working.
      1
      Is anyone else having the UI app crashing as soon as settings is accessed from the quick settings?
      I figured it out, it is a small bug, if you encrypt without a lock screen, then that bug occurs.
      1
      Thanks for the effort dev npjohnson
      Works well.
      Can I get a advanced power menu
      Advanced reboot option, my volume rockers are broken
      Thanks in advance
      Already there - Settings -> System -> Gestures -> Power Menu -> Advanced Reboot.
    • 26
      lineage-os-logo.png

      OnePlus One

      Code:
      - Your warranty is now void.
      - You have been warned.
      - Use at your own risk.

      Introduction:
      This is the Official Lineage OS 18.1 thread for the OnePlus One.

      Downloads:
      Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.
      If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

      Known Bugs:
      • None.
      • Hardware-backed encryption is broken thanks to Google dropping support for legacy credential storage from AOSP 11.0, so we just feel back to software-backed encryption. This means it is a little slower, and taxing on the CPU, in addition to the fact upgrades from older LineageOS versions are not supported. The Wiki upgrade guide notes this as well.
      • Find any? Report them according to this guide.
      Notes:
      • The only supported GApps package at the moment is MindTheGapps, linked on our Wiki page about gapps!

      Kernel Source: https://github.com/LineageOS/android_kernel_oppo_msm8974
      3
      @npjohnson Thank you for your continued efforts into maintaining official builds for bacon. Thanks a lot. Really appreciate this. :)
      3
      With the latest update the camera is still not responding. Anyone found something to fix that already or am I missing something?
      After the last update i had also a problem with camera app, it doesn't open. I solved it with following, boot into recovery mode and delete cache and dalvik/art cache in twrp, then reboot to system. After that camera is working again. Maybe this helps you.
      2
      Dirty flash from :
      • Lineage OS 17.1
      • TWRP 3.5.1
      • Deactivate your unlock protection (pattern, PIN etc.) so it unlocks by simply sliding up
      Now, boot into TWRP and install (in same order and without rebooting inbetween)

      • Lineage OS 18.1
      • GApps (must be Android 11 )
      • Remove or rename the file /data/system/locksettings.db by using TWRPs explorer functionality
      • Magisk
      • Reboot and unlock into Lineage 18.1 like normal and reactivate your unlock protection of choice
      2
      @npjohnson mate, I successfully installed it but there's this weird bug which isn't allowing me to get past the security lock. After entering the security pattern, the screen kind of blanks out and then refreshes back to the lock screen. After a while, the entire screen shuts off.

      I did the whole installation process again, now the display is kinda dead. The lockscreen doesn't show, but the power options after long pressing the power buttin is shown. Is this a first build bug?? I'm reverting to LOS 17.1 for now
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone