[ROM][10][A5|7 2017] LineageOS 17.1 Official [WEEKLY]

Search This thread

Option58

Senior Member
Oct 27, 2011
1,520
2,110
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 A3, A5, A7

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

ROM OS Version: Android 10
ROM Kernel: Linux 3.x
ROM Firmware Required: Samsung oreo firmware

Version Information
Status:
Nightly

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,474
  • Screenshot_20181208-022920_Settings.png
    Screenshot_20181208-022920_Settings.png
    123.6 KB · Views: 45,613
  • Screenshot_20181208-023023_Quickstep.jpg
    Screenshot_20181208-023023_Quickstep.jpg
    86.8 KB · Views: 45,163
  • Screenshot_20181208-022936_Settings.png
    Screenshot_20181208-022936_Settings.png
    124.7 KB · Views: 44,491
  • Screenshot_20181208-024143_Quickstep.png
    Screenshot_20181208-024143_Quickstep.png
    214.5 KB · Views: 44,292
Last edited:

Option58

Senior Member
Oct 27, 2011
1,520
2,110
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

Senior Member
Oct 27, 2011
1,520
2,110
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

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.
  • 3
    Heads up! LineageOS 18.1 preview builds are now up in the third post of this thread.
    Dirty flash from official LOS 17.1 to test :
    0- Boot to TWRP (the latest)
    1- Wipe system and caches
    2- Flash lineage-18.1-20210522-UNOFFICIAL-a57y17lte.zip, open_gapps-arm64-11.0-nano-20210513-TEST.zip and Magisk-v23.0.zip
    3- Reboot to system
    4- Enjoy !

    Note:
    - I failed to flash MindTheGapps ("Could not mount /mnt/system Aborting")
    - This device is not my daily driver.

    No sweat so far (see screenshots)

    Thank you @Option58 for this great job !
    2
    Heads up! LineageOS 18.1 preview builds are now up in the third post of this thread.
    What did you change to the device/kernel/vendor to get it compiling? Is there a patch or new code trees i can tinker with?

    Also so far on my tiny old puter that i had dedicated for that it seems want to start with just 8gb of ram using -j1 on make and setting a 32gb swap file and setting the java heap to 6GB.
    1
    First off I have to say a huge thank you to @Option58 for developing this rom for us 2017 galaxy a5 and a7 users, you really are amazing for taking the time out of your day to do these things. You have extended the service life of our phones and saved us money o, so thank you!


    I do now have some feedback about my experience with lineage os 17.1 on my A5, and yes I did do a clean flash with TWRP recovery and erased all the storages, cache, dalvik etc. The issue I seem to be having occurs on youtube where the videos would constantly freeze and replay, or stutter, or the video would suddenly lag behind the audio and it would freeze and catch up again. I did do a factory reset and reloaded lineage with another clean flash but it did not help. I also have the same issue on youtube vanced.


    I also have an issue with ram useage being extremely high to the point where I can not multi task with youtube playing and go through my gallery or other apps. This would work without issue before hand on the stock rom.


    So is there any way to reduce ram useage and does anyone have any suggestions to fix my laggy youtube?

    Thanks so much and looking forward to lineage os 18.1!
    1
    First off I have to say a huge thank you to @Option58 for developing this rom for us 2017 galaxy a5 and a7 users, you really are amazing for taking the time out of your day to do these things. You have extended the service life of our phones and saved us money o, so thank you!


    I do now have some feedback about my experience with lineage os 17.1 on my A5, and yes I did do a clean flash with TWRP recovery and erased all the storages, cache, dalvik etc. The issue I seem to be having occurs on youtube where the videos would constantly freeze and replay, or stutter, or the video would suddenly lag behind the audio and it would freeze and catch up again. I did do a factory reset and reloaded lineage with another clean flash but it did not help. I also have the same issue on youtube vanced.


    I also have an issue with ram useage being extremely high to the point where I can not multi task with youtube playing and go through my gallery or other apps. This would work without issue before hand on the stock rom.


    So is there any way to reduce ram useage and does anyone have any suggestions to fix my laggy youtube?

    Thanks so much and looking forward to lineage os 18.1!

    i think for vanced if you streaming with max resolution try just capping it to 1080p and if its not on the streaming side try rolling back to an old build of vanced. And for ram usage im not facing that much problem but it only happens when any app is accessing the camera like if i just slide in instagram to access camera all the apps in the bg gets killed and which i think particularly not a ram usage problem either. Maybe the dev can explain you well.
    1
    So nice! I couldn't pass safety net on my galaxy a5 even with magisk canary - I believe I have to change finger print to do so.


    Did you have to make such adjustments to pass safety net or was it ok with magisk?
    MagiskHide = enabled
    Pick a certified FP (oreo - see screenshots)
  • 109
    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 A3, A5, A7

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

    ROM OS Version: Android 10
    ROM Kernel: Linux 3.x
    ROM Firmware Required: Samsung oreo firmware

    Version Information
    Status:
    Nightly

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

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