• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[ROM][10/11][A5|7 2017] LineageOS 17.1 Official / 18.1 Unofficial

Search This thread

Option58

Recognized Developer
Oct 27, 2011
1,529
2,152
Serbia
LineageOS 17.1 Official for Galaxy A5|7 2017


Lineage_OS_Logo_Wiki_main.jpg


LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (q), 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

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:
17.1 alpha/beta: androidfilehost
16.0 last official: mega
16.0 alpha/beta: get.mcfy.fr
14.1 last official: get.mcfy.fr


Donations
Isn't necessary. But if my work really helped you, you could 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.
  • @Stricted, @danwood76 and Dario for contribution to exynos platform.
  • @Simon1511 and others for the patches for this device uploaded to lineageos gerrit.
  • @SGTPresticle for doing the testing.
  • LineageOS Team
  • Me, for the infinite hours spent on this project. :p

XDA:DevDB Information
[ROM][10][A5|7 2017] LineageOS 17.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 10
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
 

Attachments

  • Screenshot_20181208-022847_Quickstep.jpg
    Screenshot_20181208-022847_Quickstep.jpg
    127.8 KB · Views: 46,782
  • Screenshot_20181208-022920_Settings.png
    Screenshot_20181208-022920_Settings.png
    123.6 KB · Views: 45,911
  • Screenshot_20181208-023023_Quickstep.jpg
    Screenshot_20181208-023023_Quickstep.jpg
    86.8 KB · Views: 45,452
  • Screenshot_20181208-022936_Settings.png
    Screenshot_20181208-022936_Settings.png
    124.7 KB · Views: 44,772
  • Screenshot_20181208-024143_Quickstep.png
    Screenshot_20181208-024143_Quickstep.png
    214.5 KB · Views: 44,572
Last edited:

Option58

Recognized Developer
Oct 27, 2011
1,529
2,152
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.

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

Option58

Recognized Developer
Oct 27, 2011
1,529
2,152
Serbia
LineageOS 18.1 Preview builds for Galaxy A5|7 2017

The same as each year so far, posting these here so the users get to test and see the work on the upcoming android version.

Android-11.jpg

Bugs:
  • Permissive sepolicy
  • Need to drop some hacks (won't affect the end user)
Download: MEGA | NikGapps or FlameGapps or OpenGapps

Kernel source:
 
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

Forum Moderator
Staff member
Jan 5, 2014
2,697
1,287
North West England
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
331
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

Forum Moderator
Staff member
Jan 5, 2014
2,697
1,287
North West England
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.
  • 7
    Hi guys,
    open your wallets an donate a couple of coins to keep this device alive! ;-)
    I have to say here that the device is going to stay alive or not stay alive regardless of donations. It's because I don't do this for money, but out of passion and when I have time and ability to.

    People can only donate to show appreciation of the work that is already done if they think it helped them, not much else. Thanks once again.
    1
    From 17.1 to 18.1: Yeah, I think so. Just be wary of matching the google apps package after you upgrade. Between 18.1 builds yeah of course.

    You should always backup however. And if you encounter any issues, you should clean flash.

    Hi, for me the upgrade was not working. I tried it's on my testphone, wich has allready los17 installed and full configured. It's got an encrypted storage with a pin passcode. After the upgrade with the adb sideload command the phone boots, take the encrypt key until the pin lock. But when I use my pin, I'll get back to the lockscreen! No login possible.
    I'll test the process again with twrp system wipe.
    Many thanks for your hard work. Los18 Sounds like christmas! Let's bring up to official. If I should further test something, let me know.
    Meanwhile I restore my backup ...
    Donation for your hard work is on the way (y):)
    1
    Where I can find your build to test?!
  • 112
    LineageOS 17.1 Official for Galaxy A5|7 2017


    Lineage_OS_Logo_Wiki_main.jpg


    LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (q), 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

    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:
    17.1 alpha/beta: androidfilehost
    16.0 last official: mega
    16.0 alpha/beta: get.mcfy.fr
    14.1 last official: get.mcfy.fr


    Donations
    Isn't necessary. But if my work really helped you, you could 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.
    • @Stricted, @danwood76 and Dario for contribution to exynos platform.
    • @Simon1511 and others for the patches for this device uploaded to lineageos gerrit.
    • @SGTPresticle for doing the testing.
    • LineageOS Team
    • Me, for the infinite hours spent on this project. :p

    XDA:DevDB Information
    [ROM][10][A5|7 2017] LineageOS 17.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 10
    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
    66
    LineageOS 18.1 Preview builds for Galaxy A5|7 2017

    The same as each year so far, posting these here so the users get to test and see the work on the upcoming android version.

    Android-11.jpg

    Bugs:
    • Permissive sepolicy
    • Need to drop some hacks (won't affect the end user)
    Download: MEGA | NikGapps or FlameGapps or OpenGapps

    Kernel source:
    29
    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: