FORUMS
Remove All Ads from XDA

[ROM][8.1][A5 2017][Unofficial] LineageOS for microG - 15.1 alpha

67 posts
Thanks Meter: 26
 
By ~babel, Member on 3rd May 2019, 09:05 PM
Post Reply Email Thread
[Unofficial] LineageOS for microG - 15.1 - Galaxy A5 2017


LineageOS for MicroG logo


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.


Disclaimer

This thread deals with a LineageOS unofficial fork with built-in microG gapps implementation, as described here.
It should not be used with Google apps.


Supported variants
Galaxy A5 (2017) SM-A520F

How to install
  1. Make sure you have 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 for microG build
  4. Copy them to the phone
  5. In TWRP wipe dalvik/cache/system/data
  6. Flash LineageOS
  7. Optional: Flash root package
  8. Reboot

Downloads
Version Information
  • OS Version: 8.1 Oreo
  • Kernel: Linux 3.18.x
  • Android patch level: may 2019
  • Firmware Required: Samsung Oreo firmware
  • Status: alpha, beta, you name it : I'm using it since a while without issue.
  • Created 2019-04-30
  • Last update 2019-05-24

Credits
RaymanFX, forkbomb444, Corsanicu, Option58, LineageOS team, microG team

XDA:DevDB Information
[ROM][8.1][A5 2017] LineageOS 15.1 alpha, ROM for the Samsung Galaxy A Series 2017
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190504-125148_Settings.png
Views:	926
Size:	134.6 KB
ID:	4753105   Click image for larger version

Name:	Screenshot_20190504-125608_microG_Services_Core.png
Views:	920
Size:	174.5 KB
ID:	4753106   Click image for larger version

Name:	Screenshot_20190504-125617_microG_Services_Core.png
Views:	902
Size:	113.3 KB
ID:	4753107   Click image for larger version

Name:	Screenshot_20190508-211645_Settings.png
Views:	706
Size:	162.8 KB
ID:	4755867  
The Following 6 Users Say Thank You to ~babel For This Useful Post: [ View ] Gift ~babel Ad-Free
 
 
3rd May 2019, 09:06 PM |#2  
OP Member
Flag Brussels
Thanks Meter: 26
 
More
Building instructions
https://github.com/lineageos4microg/docker-lineage-cicd

Known issues
  • (mostly comparable to any LOS based rom out there)
  • battery life could be better (compared to 14.1) I guess : idle consumption is low, BT on the contrary consumes a lot.
  • camera doesn't work flawlessly (same as other LOS based rom)
The Following 3 Users Say Thank You to ~babel For This Useful Post: [ View ] Gift ~babel Ad-Free
4th May 2019, 09:30 AM |#3  
shiftyHungary's Avatar
Senior Member
Flag Budapest
Thanks Meter: 328
 
Donate to Me
More
Thanks for contributing

How is battery life as of your tests? How bad is it compared to stock and to other LOS builds?

What are the flows of camera? Is it only quality, or some functions are lost?

Keep it up! :
The Following User Says Thank You to shiftyHungary For This Useful Post: [ View ] Gift shiftyHungary Ad-Free
4th May 2019, 09:37 AM |#4  
OP Member
Flag Brussels
Thanks Meter: 26
 
More
Hi, battery life is significantly better than last 15.1 build from Option58, at least when idle ; most of the "to-be-improved" consumption is related to BT.
Cameras flows are the one already reported for all LOS based rom (nothing less, nothing more) : quality seems sub-optimal, 16:9 needs to be selected in settings and from times to times crashes may happen.
The Following 2 Users Say Thank You to ~babel For This Useful Post: [ View ] Gift ~babel Ad-Free
6th May 2019, 08:02 PM |#5  
Junior Member
Flag Gorakhpur
Thanks Meter: 26
 
More
Sir, wonderful rom indeed.
The only thing I want for my A5 2017 is a custom kernel for AOSP based roms. I know it is stupid to ask something like this. But please get us a kernel. This will improve battery using profiles, support for overclocking/underclocking, and just usual Basics. On the other hand this rom is fabulous, and would love to see it growing more.
7th May 2019, 12:03 PM |#6  
OP Member
Flag Brussels
Thanks Meter: 26
 
More
I'm providing a clean LineageOs with microG build, i.e. no custom kernel.
The basic idea of this thread is to offer an alternative to the Google-based ecosystem.
The Following 4 Users Say Thank You to ~babel For This Useful Post: [ View ] Gift ~babel Ad-Free
7th May 2019, 08:50 PM |#7  
Junior Member
Thanks Meter: 2
 
More
Have you tested NFC? Is it working properly?
8th May 2019, 06:49 AM |#8  
OP Member
Flag Brussels
Thanks Meter: 26
 
More
Seems so, yes.
The Following 2 Users Say Thank You to ~babel For This Useful Post: [ View ] Gift ~babel Ad-Free
8th May 2019, 08:34 AM |#9  
shiftyHungary's Avatar
Senior Member
Flag Budapest
Thanks Meter: 328
 
Donate to Me
More
Okay, after a day of usage, I've occured some problems.

Aforemention that I've done a clean install:

- GPS not working - High accuracy is on, yet neither GMaps, neither Waze can locate, saying that no GPS signal is available. I don't know if this is correlated with microG, if it's caused by some Google framework is missing - since that should be the point of microG, but it's definitely a problem.

- Login with Google is not working - I assume this is a problem rooting from microG, and my misunderstanding, but it would be nice to make this available somehow.

Apart from that, it seems to be a nicely functioning ROM, which is nice to see on LOS.

Not to only mentio negativities, here's something on the pro side: I'm using an Amazfit BIP, which requires constant BT connection to the phone. However, I haven't occured any unreasonable battery consumption caused by BT.
8th May 2019, 04:26 PM |#10  
moozer's Avatar
Senior Member
Flag Manchester, UK
Thanks Meter: 883
 
More
Quote:
Originally Posted by shifty.hungary

Have you tested NFC? Is it working properly?


Quote:
Originally Posted by shiftyHungary

Okay, after a day of usage, I've occured some problems.

Aforemention that I've done a clean install:

- GPS not working - High accuracy is on, yet neither GMaps, neither Waze can locate, saying that no GPS signal is available. I don't know if this is correlated with microG, if it's caused by some Google framework is missing - since that should be the point of microG, but it's definitely a problem.

- Login with Google is not working - I assume this is a problem rooting from microG, and my misunderstanding, but it would be nice to make this available somehow.

Apart from that, it seems to be a nicely functioning ROM, which is nice to see on LOS.

Not to only mentio negativities, here's something on the pro side: I'm using an Amazfit BIP, which requires constant BT connection to the phone. However, I haven't occured any unreasonable battery consumption caused by BT.

Why the names?
8th May 2019, 06:10 PM |#11  
OP Member
Flag Brussels
Thanks Meter: 26
 
More
Yes, GPS is indeed not working ; location service cannot be accessed as well. I need to figure out why.
Strangely, this was working perfectly fine with (older) LOS 15.1 builds without microG.

Regarding signing at google, I will not look at it, but you can go through the https://lineage.microg.org/ (where do I report a bug) logic to find out where the issue is.



Edit: I've just installed GPStest and selected the "device only" option (to use the GPS only) ; it is now working. what puzzles me is that whenever I'm trying to access the security/location settings page, it will crash. I guess there is something wrong in those bits, that will eventually be corrected upstream.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190508-210024_GPSTest.png
Views:	302
Size:	141.9 KB
ID:	4755687  
The Following User Says Thank You to ~babel For This Useful Post: [ View ] Gift ~babel Ad-Free
Post Reply Subscribe to Thread

Tags
a5y17lte, lineageos, microg

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes