[ROM][A5|7 2017] LineageOS 18.1 Official / 19 Preview

Search This thread

UC666

Senior Member
Nov 11, 2021
76
28
The OEM unlock toggle only appears after a certain amount of time running stock and this is determined by checking a server, since the server is now dead the toggle won't appear
does this mean that if I go from a custom ROM back to stock firmware, the bootloader will not open as easily as before?
 

Mr-Dutch

Senior Member
May 25, 2010
62
2
Brabant
Will there be an official version of LineageOS 19 for this phone that someone might know?
I can't find a clear list of phones that are supported by them for 19.x.
 

js-xda

Senior Member
Aug 20, 2018
306
130
Will there be an official version of LineageOS 19 for this phone that someone might know?
I can't find a clear list of phones that are supported by them for 19.x.
See this post:
That's right, our kernel is 3.18 and there's no eBPF backport (yet). Fear not, I'm using a hack in core files to make everything work for my own a12 builds, but can't push that to official. However, that's just the current state, who knows what might happen eventually.
Up to date to my knowledge.
 
  • Like
Reactions: B.Force19

B.Force19

New member
Aug 2, 2022
1
1
Just an appreciation post for this rom (12L). A job well done. Loading as a daily driver and will report any issues that I find.
 
  • Like
Reactions: Option58

laconix00

Member
Jan 15, 2013
19
7
The current 18.1 build and the 19 preview has a buggy cast function - it seems to be present in all Lineage OS-based roms of A5 2017; since Samsung stock and port roms have a cast function working perfectly (upto Android 9; OneUI port).
 

Option58

Recognized Developer
Oct 27, 2011
1,598
2,372
Serbia
The current 18.1 build and the 19 preview has a buggy cast function - it seems to be present in all Lineage OS-based roms of A5 2017; since Samsung stock and port roms have a cast function working perfectly (upto Android 9; OneUI port).
At this point with how it's getting obsoleted, we should be glad that even works.
 

laconix00

Member
Jan 15, 2013
19
7
At this point with how it's getting obsoleted, we should be glad that even works.
Sad to hear there's no other way to get it working in the future. I mainly use the cast function for the screen mirroring function on my car headunit (which uses QDrive app to mirror the phone via USB) - on my test, this works on hadesrom (Android 9) and stock rom (Android 8); no longer working on ASOP and Lineage OS roms running Android 10 and above
 

js-xda

Senior Member
Aug 20, 2018
306
130
The OEM unlock toggle only appears after a certain amount of time running stock and this is determined by checking a server, since the server is now dead the toggle won't appear

It remains a bit of a mystery. Not challenging what you write - also seeing this thread - but I managed today to activate OEM Unlock on another phone (A5 2017) where the previous user confirmed to me to have done factory reset before handing it to me. Not sure whether it has to do with the global region - I am located in Germany. Just sharing for information.
 

yamansoso

Member
Jan 27, 2017
9
4
LineageOS 19 FE is good but battery drains quickly in sleep mode
Screenshot_20220814-123517_AccuBattery.png
 
  • Like
Reactions: Sage

Wezyk123

Member
Apr 7, 2021
7
2
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
28
12
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 8.7.64.478. I tried wiping all Spotify data, without success.
 
Mar 12, 2019
28
12
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.
 

Top Liked Posts

  • 1
    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.
  • 1
    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.
  • 125
    LineageOS 18.1 Official for Galaxy A5|7 2017


    Lineage_OS_Logo_Wiki_main.jpg


    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.

    Code:
    /*
    * 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
    Security
    • We merged all patches from now also deprecated 3.18 Android Common Kernel from Google, which is some 4 years ahead of latest stock rom.
    • 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.

    Downloads

    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


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

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

    Credits
    Huge thanks to:
    • @RaymanFX for the original work on lineage 14.1 and thus making this possible.
    • @forkbomb444 for valuable contribution to 7880 sources.
    • @Simon1511 for contributing to these devices via patches uploaded to lineageos gerrit.
    • @Stricted, @danwood76 and fcuzzocrea for contribution to exynos platform.
    • @SGTPresticle, @Jmackley 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

    Contributors
    Option58
    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
    Status:
    Weekly

    Created 2018-12-07
    Last Updated 2020-08-13
    89
    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.

    Android-12L.png

    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.

    Changelog:

    • 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
    38
    FAQ
    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.

    My camera flash doesn't work
    This is an issue with the camera app. Just tap to focus anywhere and it will start working.

    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'.
    18
    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

    https://www.androidfilehost.com/?w=files&flid=304603
    17
    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: