[ROM][A5|7 2017][11] LineageOS 18.1 Official [MONTHLY]

Search This thread


Jan 27, 2017
LineageOS 19 FE is good but battery drains quickly in sleep mode
  • Like
Reactions: Sage


Apr 7, 2021
For people with a battery problem, I recommend testing the latest version of riseKernel from Simon1511.
Link :
  • Like
Reactions: Sage and Simon1511
Hey there, sorry for the dumb question but this won't maybe work on an A3 perhaps? The 2017 one.
Thanks :)
You could try to extract an arm64 boot partition from some A3 ROM (preferably Lineage or Lineage-based) and flash that directly after flashing the A5 ROM, maybe it works. But most probably no support from dev since this isn't really intended use. No guarantee it will even boot though!
Last edited:
Mar 12, 2019
I am unable to play songs on Spotify lately. I don't know when this started or if it was introduced with a LOS update or Spotify update.

The symptom is that Spotify crashes when starting playback. A fraction of a second of sound may be produced.

Logcat says this:

09-10 13:47:31.051 1319 1931 I OMXClient: IOmx service obtained
09-10 13:47:31.052 4028 19142 I OMXMaster: makeComponentInstance(OMX.google.aac.decoder) in android.hardwar process
09-10 13:47:31.036 0 0 I : [2:irq/7-s2mu004-i: 1080] s2mu004_chg_isr , 21
09-10 13:47:31.036 0 0 I : [2:irq/7-s2mu004-i: 1080]
09-10 13:47:31.052 0 0 I [2:irq/7-s2mu004-i: 1080] s2mu004_irq_thread: charger interrupt1(0x80)
09-10 13:47:31.053 0 0 I [2:irq/7-s2mu004-i: 1080] s2mu004_irq_thread: charger interrupt2(0x00)
09-10 13:47:31.053 0 0 I [2:irq/7-s2mu004-i: 1080] s2mu004_irq_thread: AFC interrupt(0x00)
09-10 13:47:31.054 0 0 I [2:irq/7-s2mu004-i: 1080] s2mu004_irq_thread: 0x48 (0x00)
09-10 13:47:31.056 0 0 I [2:irq/7-s2mu004-i: 1080] s2mu004_irq_thread: muic interrupt(0x00, 0x00)
09-10 13:47:31.061 4028 19142 E OMXNodeInstance: setConfig(0xf21c0320:google.aac.decoder, ??(0x6f800006)) ERROR: Undefined(0x80001001)
09-10 13:47:31.061 1319 1931 E ACodec : decoder can not set low-latency to 1 (err -2147483648)
09-10 13:47:31.061 1319 1931 E ACodec : [OMX.google.aac.decoder] configureCodec returning error -2147483648
09-10 13:47:31.061 1319 1931 E ACodec : signalError(omxError 0x80001001, internalError -2147483648)
09-10 13:47:31.061 1319 1931 E MediaCodec: Codec reported err 0x80001001, actionCode 0, while in state 3
09-10 13:47:31.062 1319 1319 E MediaCodec: configure failed with err 0x80001001, resetting...
09-10 13:47:31.056 0 0 I : [2:irq/7-s2mu004-i: 1080] s2mu004_chg_isr , a1
09-10 13:47:31.056 0 0 I : [2:irq/7-s2mu004-i: 1080]
09-10 13:47:31.056 0 0 I [2:irq/7-s2mu004-i: 1080] s2mu004_chg_isr: Vbus status 0xa1
09-10 13:47:31.056 0 0 I : [2:irq/7-s2mu004-i: 1080]
09-10 13:47:31.067 1319 1931 I OMXClient: IOmx service obtained
09-10 13:47:31.067 4028 19142 I OMXMaster: makeComponentInstance(OMX.google.aac.decoder) in android.hardwar process
09-10 13:47:31.069 1319 1319 D AndroidRuntime: Shutting down VM
09-10 13:47:31.069 1319 1319 E AndroidRuntime: FATAL EXCEPTION: main
09-10 13:47:31.069 1319 1319 E AndroidRuntime: Process: com.spotify.music, PID: 1319
09-10 13:47:31.069 1319 1319 E AndroidRuntime: android.media.MediaCodec$CodecException: Error 0x80001001
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at android.media.MediaCodec.native_configure(Native Method)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at android.media.MediaCodec.configure(MediaCodec.java:2127)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at android.media.MediaCodec.configure(MediaCodec.java:2043)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at com.spotify.playback.playbacknative.MediaCodecDecoderAdapter$Companion.preheatSpac(SourceFile:31)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at com.spotify.playback.playbacknative.MediaCodecDecoderAdapter._init_$lambda-8(Unknown Source:2)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at com.spotify.playback.playbacknative.MediaCodecDecoderAdapter.a(Unknown Source:0)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at p.jy.run(Unknown Source:9)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7664)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
09-10 13:47:31.069 1319 1319 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

I am running the 18.1 build from August 25th and Spotify. Afaics no changes have been made since then, so I didn't bother downloading the newer weekly builds. Spotify version is I tried wiping all Spotify data, without success.
Mar 12, 2019
I am unable to play songs on Spotify lately. I don't know when this started or if it was introduced with a LOS update or Spotify update.
An update: It seems that I can avoid the crash by making sure the audio quality is set to at least "high". In this case Spotify doesn't seem to use Android's codecs and handle stuff itself. So set wifi, mobile steaming quality, set download quality, disable data saver, disable automatic quality adjustment.

As such the issue can be old. Usually I listen to pre-downloaded songs, and download them with very high quality.
LineageOS 19 Preview for Galaxy A5|7 2017

Like each year so far, it's time for Lineage 19 preview builds to be released, based on Android 12L.


Firstly, bear in mind that Lineage 19 is known to be in an early state as a rom at this point and issues aren't to be unexpected. I've however managed to get most of the standard lineage features working (kudos to lineage team). And device-wise, although there is still a lot of work that needs to be done under the hood, all of the phone functions should be working as before.

Important! If you are using TWRP you need to be on version 3.6.0 or higher to flash this. Older versions do not work and will splash loop.

Download: MEGA | androidfilehost | google drive
Google apps: Look for them here

If you find the work I did helpful, you can buy me coffee/beer/whatever via this link.


  • 20220503
    • Added an FE edition with DotOS qs panel along with the regular build
    • Added a workaround for SafetyNet check
    • Small monet fixes and improvements
    • Synced with the latest LineageOS sources

  • 20220319
    • Upgraded to Android 12L
    • March security patch
    • Fixed network traffic monitoring
    • Fixed issues with camera force close after some period of usage
    • Drop the monet disabler zip
    • Synced with the latest LineageOS sources

  • 20220216
    • Switch to kdrag0n monet implementation
    • Add monet settings
    • Add black theme

  • 20220204
    • Make just one (monet) build and a disabler zip
    • Follow light/dark theme in quick settings and power menu
    • Fix scrolling in encryption menu
    • Place volume panel on the left by default
    • Enable call recording in aosp dialer

  • 20220119
    • Initial release
Android 12 is going to be super nice tysm:cool:


New member
Jun 7, 2022
NFC, for example, does not work for me on "SUBE" cards from Argentina (bus cards), I have not tried on credit cards, but the bus card does not read it. Could someone tell me why? Because in riseq it works fine


Senior Member
Aug 20, 2018
Now remains the crop problem on camera2. Latest camera.snap seems works without issues

Is anyone having issues with camera?
I have the official 18.1, with camera app 2.0.002 . It works, but bad quality, crops the image... not good.

A user of one of the A5s that I equipped with the LineageOS 18.1 ROM (currently on 20220818) provided here found by chance a workaround via the regular LineageOS camera app that I haven't seen reported here: Setting was "(4:3) 15,9 Megapixel" and cropping disappeared when choosing "(16:9) 11,9 Megapixel". Given that the image quality is anyway not that great, 11,9 MP seems well sufficient to me.

Just FYI.
  • Like
Reactions: coldgin_


Senior Member
Apr 11, 2011
Hello Option58,
I saw that in the Los19 version you added an option to manage Monet.
I can't find this option on another phone with Los19, what package did you use and can it be integrated into an official version? Do you have the src ?

Thanks Daniel


Oct 26, 2017
Am I only one having issue playing mp3 music thru Bluetooth headphones. Normal phone call or call thru messenger is working fine, but if I try to listen music true in build music player or third party app from play store, headphones are randomly disconnecting. Turning off battery optimization for music app did not helped. Does anybody have any solution?

p.s. using same headphone with same apps on s4 with lineage 18.1 works fine.


Senior Member
Aug 15, 2016
In LOS 18.1 build 20221013-nightly the UI will crash when I long-press any quick settings tile.
Anyone seen this behavior, know a solution, is it also in 19.1?
(I've cleared cache and dalvik. I use gapps pico)
Already reported a year ago but hmm https://gitlab.com/LineageOS/issues/android/-/issues/3715

EDIT: suddenly that problem went away.. nice 18.1 ROM but idle battery drain is so bad
Last edited:


Mar 9, 2021
I installed this ROM (LineageOS 19 Preview for Galaxy A5 | 7 2017) on the A7 phone. After two days of use, it's great, the battery consumption has decreased, and it's fast and beautiful. I think it can be used for daily use. Thanks to the creator of this ROM

ilias rak

Aug 27, 2017
  • Like
Reactions: tangoviking

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    On the state of this project:

    First of all I'm sorry for not being able to always reply to your posts. As you know real life gets in the way, but I always at least try to read them and I am already fixing what I am able to.

    So first bad news. It looks like LineageOS 18.1 (android 11) will be the last good-to-go official version of LineageOS for our devices. This is due to our linux kernel 3.18 being too old and later android versions requiring many hacks in core system files to bypass this limitation. Also the encryption method we are using (FDE) has been fully deprecated. These are just the consequences of our good ol' a5 and a7 getting older...

    LineageOS team also knows a lot of older devices aren't able to make it past 18.1 and because of that they decided not to drop 18.1 this year. Instead, they switched to providing monthly releases with regular security updates. So now I will leave this particular xda thread just for this last official version with everything done properly.

    And now good news. Just because it requires many workarounds and hacks to do it doesn't mean we can't push these devices further. And I've been working on and just finished a full android 13 bringup! ^^ For these builds after LineageOS 18.1 and discussion about them I've opened a new xda thread.
    Same. Well the app does only sometime crashes, but the camera always hangs.
    If you've got telegram, join our gcam group here, that's the best place to get help for gcam: https://t.me/+EXgim1munuBjOGEx

    For gcam on a5, you need bsg 8.1, the latest version of which is available here: https://www.celsoazevedo.com/files/android/google-camera/dev-bsg/f/dl88/
    (choose either ruler or scan3d apk)

    Then you'll need to apply the config: https://drive.google.com/drive/folders/1Om62A-y6ABdynmIPhSRBg68pPtbke6LC

    You'll also need google photos installed to use the camera's gallery shortcut. Sometimes it's normal for the camera to hang after taking a photo while it processes, I usually go through to the gallery and wait until the notification for processing goes away before I return to gcam.

    If you need any further help, reply to me or ask on the gcam group
    No more updates for LOS 18.1?
    Found the answer: LOS 18.1 moved to monthly build rooster - see https://www.lineageoslog.com/.
    How did you do it? Is it possible to change fingerprint to oreo stock without magisk?
    I dont know. Install magisk and use this module if you cant pass safety net: https://forum.xda-developers.com/t/...safetynet-prop-edits-and-more-v6-1-2.3789228/
    Hi, is it a known bug that lineage standard camera flash timing is wrong?
    Picture taken is too late i guess, so flash doesn't do anything useful.
    Yeah, a known bug only with the included camera app. The camera HALs are fine. This is actually fixed with the new camera app on 20. On 18.1 use a third party camera app.
  • 127
    LineageOS 18.1 Official for Galaxy A5|7 2017


    LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (r), which is designed to increase performance and reliability over stock Android for your device.

    * Your warranty is now void.
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit Gerrit Code Review.​

    What's working?

    • Audio
    • Calls
    • Wifi
    • Hotspot
    • Mobile data
    • GPS
    • Bluetooth
    • Fingerprint
    • Hardware composer
    • OpenMAX (hardware encoding/decoding)
    • Camera (photos + recording)
    • NFC
    • Sensors
    • Vibration
    • Double tap to wake
    • Always on display
    • Software encryption
    • Sepolicy
    • We are shipping with enforced selinux policy.

    Supported variants

    All variants of Galaxy A5 (2017) and Galaxy A7 (2017). Dual SIM is also supported.

    How to install
    1. Make sure you had Samsung's Oreo firmware bootloader and modem before installing this.
    2. Make sure you are using the latest official TWRP version.
    3. Download the lineage build and optionally google apps.
    4. In TWRP format data (if you still have stock rom encryption).
    5. In TWRP wipe data and cache.
    6. Flash LineageOS.
    7. Optional: Flash Google apps (rightafter).
    8. Reboot.

    LineageOS updater will handle updates automatically (OTA).
    If you're flashing manually, it's okay to dirty flash.


    A5 2017: download.lineageos.org | wiki.lineageos.org | twrp.me
    A7 2017: download.lineageos.org | wiki.lineageos.org | twrp.me
    Google apps (arm64): wiki.lineageos.org

    Old builds:
    18.1 beta: mega
    17.1 last official: androidfilehost
    17.1 alpha/beta: androidfilehost
    16.0 last official: mega
    15.1 last beta: androidfilehost

    If you find the work I do helpful, you can support me by donating via paypal or crypto.

    There's a telegram group made by A5|7 users where we hang out. Feel free to check it out.

    Huge thanks to (a lot of people):
    • RaymanFX for the original work on lineage 14.1 and thus making this possible.
    • Forkbomb for contribution to original 14.1 sources.
    • Simon1511 for contributing to these devices via patches uploaded to lineageos gerrit.
    • Stricted, Danwood76, Fcuzzocrea, Ivan Meler and others for contribution to exynos platform.
    • SGTPresticle, Jmackley, Simon1511, Arno and others for doing the testing.
    • LineageOS Team
    • Me, for the infinite hours spent on this project. :p

    XDA:DevDB Information
    [ROM][11][A5|7 2017] LineageOS 18.1 Official [WEEKLY], ROM for the Samsung Galaxy A Series 2017 A5 and A7

    Source Code: https://github.com/LineageOS/android_kernel_samsung_universal7880

    ROM OS Version: Android 11
    ROM Kernel: Linux 3.18.140
    ROM Firmware Required: Samsung oreo firmware

    Version Information

    Created 2018-12-07
    LineageOS 18.1 is the last official version of LineageOS. The contents of this post have been moved to a new xda thread.
    Help my sim doesn't work
    Please read the installation instructions more carefully. Oreo firmware bootloader and modem is a must.
    You can find the collection along with the guide in this xda thread.

    I'm sometimes having crackling sound when listening to music
    Turn off 'ok google now' functionality in google app settings. If you have troubles finding it you can as well go to settings>apps, find app called 'google' and disable microphone permission.

    Does this rom support VoLTE?
    No. And it likely won't in the near future. Samsung's exynos VoLTE implementation is proprietary and non-standard. It is not possible on AOSP based roms for the time being.

    I have weird issues with camera (wrong resolution, issues with flash etc.)
    Тhis could very well be an issue with the included camera app. Try a third party camera app.

    My device fails to encrypt
    1. You were likely using older TWRP, update to the latest version
    2. Backup your data somewhere (external sd, pc...)
    3. In TWRP Advanced -> Format data.

    My hardware keys light up whenever I touch the screen
    Navigate to Settings->System->Buttons->Backlight and tick 'Illuminate buttons only when pressed'. You might want to reduce time on the scaler to 1 second, too.

    How to switch to full screen gestures
    1. Navigate to Settings->System->Buttons->Backlight and tick 'Enable on-screen nav bar'.
    2. Navigate to Settings->System->Gestures->System navigation and tick 'Gesture navigation'.

    I need help with google camera
    Please see this xda post.
    New build up!

    This one is huge. The changelog list is big and I've probably fixed more bugs in the previous 7 days than I did in the past 6 months.
    Lineage 17.1 for this device is getting better and a lot of bugs are squashed now. We can now declare this a beta!

    All the changes for this build are now properly sorted and merged-in. You can easily find everything at github.com/LineageOS, build the rom yourselves and contribute with new code, if you are able to.

    • Beta 3.0
      • Pulled RIL blobs from G965F Q firmware (more modern, fixes signal strength)
      • Fixed issues with connecting to RILD (fixes in-call volume, fixes echo in calls)
      • Updated GPS blobs from A720S P firmware (better signal, we are actually able to acquire a lock)
      • Updated fingerprint blobs from A720S P firmware (works more reliably, dropped all hacks)
      • Pulled sensors from A720F O firmware (cleaner)
      • Updated DRM to support Widevine L1
      • More HALs are binderized
      • Build FlipFlap (a flip cover app)
      • Fully written and enforced selinux policy
      • Latest LineageOS sources

    Also I've just updated my sources so you can fully build the rom again.

    I've tested some roms like PixelExperience today on my device. It's not bad with the added 'google' feel to it. Later I might test RR and others.
    All that I'm asking from both developers and users is please be clear that these roms are based on LineageOS. Meaning that most of the hard work that actually got them to work was done here, on LineageOS. And unfortunately most of the issues they are facing as well :p Work was done by RaymanFX, forkbomb, and in the latest days by me. Not respecting this makes me less motivated to keep working on the device.

    Cheers :highfive: