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

Search This thread

Option58

Recognized Developer
Oct 27, 2011
1,622
2,469
Serbia
LineageOS 18.1 Official for Galaxy A5|7 2017 [EOL]
k5tUT1V.png

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 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

Unfortunately, Google has stopped providing android 11 with the new security patches, forcing LineageOS team to drop all legacy devices, that were still on android 11. This includes our device, too, as it's simply too old to get any newer android version as official. (old kernel, FDE is old encryption method etc.)

20240305 is the last official build there will be and I have re-uploaded it to several different mirrors.


A5 2017: MEGA | androidfilehost | wiki.lineageos.org | twrp.me
A7 2017: MEGA | androidfilehost | 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 do helpful, you can support me by donating 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 (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

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:
Monthly

Created 2018-12-07
 

Attachments

  • Screenshot_20181208-022847_Quickstep.jpg
    Screenshot_20181208-022847_Quickstep.jpg
    127.8 KB · Views: 52,782
  • Screenshot_20181208-022920_Settings.png
    Screenshot_20181208-022920_Settings.png
    123.6 KB · Views: 51,682
  • Screenshot_20181208-023023_Quickstep.jpg
    Screenshot_20181208-023023_Quickstep.jpg
    86.8 KB · Views: 51,136
  • Screenshot_20181208-022936_Settings.png
    Screenshot_20181208-022936_Settings.png
    124.7 KB · Views: 50,310
  • Screenshot_20181208-024143_Quickstep.png
    Screenshot_20181208-024143_Quickstep.png
    214.5 KB · Views: 50,175
Last edited:

Option58

Recognized Developer
Oct 27, 2011
1,622
2,469
Serbia
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.

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.
 
Last edited:

Dbvyas96

Senior Member
Apr 20, 2018
63
7
Good job dude tq for work
But hotspot and speaker sound is important for daily usage
Try to fix them
And once again great job
 
Last edited:

ModatherM

Member
Jan 8, 2017
24
8
Giza
Here's the bugs that appeared in the ROM,
So been using the ROM for whole week, and here's the list of the bugs i faced them on A5 2017, Also same bugs on A7 2017,
• Hotspot not working.
• USB tethering not working.
• Ambient Display cause battery drain
• Phone speakers are cracking lil bit, which cause the sound unclear.
• When you are calling your friends, He can't hear your voice clearly, Even if you recorded a voice you will hear it unclear.
• Sometimes Internet calling (Telegram, Messanger etc...) not working, Both sides can't hear each other.
• Some people reported that GPS not working, But it worked for me well, with Mobile data and WIFI.
• VIPER4ANDROID not working ( Magisk Module ). [ Not so important but just for who care for it ]
• Blacklight are always on, I hope there will be solution soon to make it like TW roms.
• Camera (Front and Rear) need to be improved so much, As it lags with video recording in some third party apps, Also Sometimes it request me to restart the phone due to Camera Driver erorr.
• Huge battery drains, (FIXED them by clean re-flashing the rom).
• Enabling HWC cause some freezes and sometimes refuses to reboot.

Thats all I have found from 1 week of use, Once again thanks @Option58 for your efforts. :)
 
Last edited:

Metrogaming

Member
Aug 4, 2016
8
7
Hi, @Option58
• VIPER4ANDROID not working ( Magisk Module ). [ Not so important but just for who care for it ]
Actually works for me, just acts sometimes with some weird behaviors (requires a reboot to fix it most of the time/disabling audioFX fixed most of the issues for me)
• Some people reported that GPS not working, But it worked for me well, with Mobile data and WIFI.
Same here, works well.
• Enabling HWC cause some freezes and sometimes refuses to reboot.
Same here.
• Huge battery drains.
Clearly what had to be expected on an unoptimized rom. I checked on kernel Adiutor, cpu clock is always at maximum, probably not normal (honestly idk if it causes battery drain). Otherwise battery life is decent when phone is on agressive doze or plane mode (less than 1% in 10h)

Thank you for the work done, it's a huge step forward to a stable rom with pie.
 
  • Like
Reactions: lightning2861

ModatherM

Member
Jan 8, 2017
24
8
Giza
Yeah I also use that. But that's not A5/A7 stuff. That's a missing lineage rom feature for all devices, not just ours. And unfortunately it hasn't been ported to Pie yet.
I hope they do that, Because it's weird to hold your phone with backlight always on.


Hi, @Option58
• VIPER4ANDROID not working ( Magisk Module ). [ Not so important but just for who care for it ]
Actually works for me, just acts sometimes with some weird behaviors (requires a reboot to fix it most of the time/disabling audioFX fixed most of the issues for me)
• Some people reported that GPS not working, But it worked for me well, with Mobile data and WIFI.
Same here, works well.
• Enabling HWC cause some freezes and sometimes refuses to reboot.
Same here.
• Huge battery drains.
Clearly what had to be expected on an unoptimized rom. I checked on kernel Adiutor, cpu clock is always at maximum, probably not normal (honestly idk if it causes battery drain). Otherwise battery life is decent when phone is on agressive doze or plane mode (less than 1% in 10h)

Thank you for the work done, it's a huge step forward to a stable rom with pie.

About VIPER4ANDROID can you tell me how you made it work please? ( I have Audio modification library installed ). [ Never mind it worked, Didn't notice that AudioFX was on, after disabling it, V4A worked. ]
About Huge battery drains, i didn't face that issue again after i cleared flash the rom as i mentioned in my list, as before i was going from 100% to 15% in two hours but after reflashing it take around 10hrs on battery and 4hrs screen on time and by comparing that to STOCK ROM (As Hades can survive till 15hrs on battery and 7hrs screen on) it's not bad, so i suggest everyone facing battery drain to re-flash and turn off Ambient Display and he will get stock rom battery life (not hades).
 
Last edited:

moozer

Retired Forum Moderator
Jan 5, 2014
2,703
1,320
North West England
OPPO Reno 10x Zoom
I hear a lot of people experiencing the following bugs:
- Capacitive key lights always on
- Serious battery drain
- Sound crackling
Yet I don't seem to have one of them. How could that be? Does it depend on the region where you bought the phone or so?
No....depends on usage I suppose. However, u barely used it one day and battery drain is horrendous even with Naptime.

Also, can't seem to find an option to prevent accidental screen touches. Put it in my pocket and got it out 5 minutes later and I had browsers open, apps open, dialler ready to call someone, etc
 

vinz244

Senior Member
Jun 30, 2014
332
104
No....depends on usage I suppose. However, u barely used it one day and battery drain is horrendous even with Naptime.

Also, can't seem to find an option to prevent accidental screen touches. Put it in my pocket and got it out 5 minutes later and I had browsers open, apps open, dialler ready to call someone, etc

In the display settings, near the end you have "Prevent accidental wake-up". Should fix it


Here is a few complementary bugs:

- Google phone bubble doesn't work (overlay is enabled), and you will only be able to hear/speak when the phone app is on the foreground.
- traffic monitor doesn't work
- GPS won't work, those who say it's working are probably using Wifi and BT locations services
- fast charging is not working, or at least there is no indicator

Overall the ROM feels pretty reactive and fast.
 

fulgerul46

Senior Member
Aug 25, 2013
64
93
Tested it on a520f but I couldn't get the nfc to work(full wipe and flash tested using a mifare classic 1k card and nfc tools and mifare classic tools)
 

Dbvyas96

Senior Member
Apr 20, 2018
63
7
Will get new build with bugs fix or this is last like los15.1 i know it's early release but it useless until it gets 90 to 95 % stable
 

rorrE907

Member
Aug 16, 2018
6
0
Tested on A5 2017 (A520F)

cons:
1, backlights always on
2, battery drain
3, cracking sound

pros:
1, very stable and fast
2, easy to root and lots of features

question:
1,Can I root this rom with magisk? Currently rooted with supersu.
2, how do I fix battery drain?

Thanks for making this rom!
 

moozer

Retired Forum Moderator
Jan 5, 2014
2,703
1,320
North West England
OPPO Reno 10x Zoom
I dont use hotspot,call voice its oki i not calling 24/7,speker crack??Flash TW ROM and you wil be ok

What? Flash TW Rom?

---------- Post added at 12:26 PM ---------- Previous post was at 12:25 PM ----------

Tested on A5 2017 (A520F)

cons:
1, backlights always on
2, battery drain
3, cracking sound

pros:
1, very stable and fast
2, easy to root and lots of features

question:
1,Can I root this rom with magisk? Currently rooted with supersu.
2, how do I fix battery drain?

Thanks for making this rom!

Yes Magisk will root fine. If SuperSU works...leave it. It should be fine.

Battery drain is difficult to fix at the moment. I've tried naptime and greenify, but these are relatively ineffective
 
Last edited:
  • Like
Reactions: rorrE907

Top Liked Posts

  • There are no posts matching your filters.
  • 130
    LineageOS 18.1 Official for Galaxy A5|7 2017 [EOL]
    k5tUT1V.png

    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 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

    Unfortunately, Google has stopped providing android 11 with the new security patches, forcing LineageOS team to drop all legacy devices, that were still on android 11. This includes our device, too, as it's simply too old to get any newer android version as official. (old kernel, FDE is old encryption method etc.)

    20240305 is the last official build there will be and I have re-uploaded it to several different mirrors.


    A5 2017: MEGA | androidfilehost | wiki.lineageos.org | twrp.me
    A7 2017: MEGA | androidfilehost | 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 do helpful, you can support me by donating 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 (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

    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:
    Monthly

    Created 2018-12-07
    91
    LineageOS 18.1 is the last official version of LineageOS. The contents of this post have been moved to a new xda thread.
    40
    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.

    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.
    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: