• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][7.1.2][A310F] LineageOS 14.1 for the Galaxy A3 2016 (A310F/Y/M/N0)

Status
Not open for further replies.

xEmre66

Senior Member
Apr 23, 2016
776
425
0
Vienna
Disclaimer:

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 14.1
for the a3xelte (all variants)

What works+Features:
Features:
-8 cores enabled
-all LOS features
-Magisk is flashable (no more "patched boot image detected")
-CPU underclock (soon OC too!!)
-Fast charge support

Working:
-RIL (SMS,3G,2G,LTE,Mobile data)
-Dual-SIM (2nd SIM incoming calls are broken)
-WiFi
-WiFi-Direct
-all native tethers
-Sensors
-HWComposer
-Graphics
-MTP
-Video playback
-Camera (both, video/pic mode)
-NFC
(fully fixed!)
-Ambient display/LiveDisplay
-Audio
-VoIP calls
-Fully working and fast stable getting GPS/A-GPS/GLONASS
-Fully working FMRadio (Stock LOS app)
-inbuilt screen recorder
-Bluetooth audio
-Bluetooth
-Bluetooth calls in car and audio streaming
-a2dp


Known Issues:
2nd SIM isn't receiving calls but can make calls without any problems. (Data works too, only incoming calls are broken)

Known issues for N0 and M variants: Touchkeys aren't working (WIP).

Download: see 2nd post

TWRP: Required for installation!
Removed

gapps: removed

Installation process:

1. Download the ROM AND GAPPS and copy it to your phone's storage.
2. Reboot to recovery.
3. Nandroid backup your current ROM first in case of failures (will never happen tho, just in case)
4. Factory reset (use the standard option in TWRP)
5. Flash the ROM and the GApps.
6. Wipe cache/dalvik
7. Reboot
8. ENJOY!


If you appreciate our work, give a thumbs up!

Credits to all who helped us!
@sekil for helping to fix all the bugs
@alexax66 for his help
@aapav01 for his great sources
and to me for helping..

Source is available at GH. github.com/Exynos7580




XDA:DevDB Information
LineageOS 14.1 , ROM for the Samsung Galaxy A Series

Contributors
xEmre66, sekil, aapav01, alexax66
Source Code: [url]http://github.com/Exynos7580[/URL]

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Any Bootloaders and Modems from Stock ROMs

Version Information
Status: Stable
Current Stable Version: 2017-11-09
Stable Release Date: 2017-10-25

Created 2017-10-26
Last Updated 2017-11-10
 
Last edited by a moderator:

xEmre66

Senior Member
Apr 23, 2016
776
425
0
Vienna
DOWNLOADS & CHANGELOGS

Latest build:

2017-12-02 build download: Removed
Changelog:

-Updated LOS sources
-Fully fixed sound issues incall and sound cracking sounds when set to full volume.
-Fixed BT calls issues (No need to enable BT HCI snoop log anymore)
-Some fixes in camera permissions
-improved WiFi stability

NOTE: don't use the Stock/aroma gapps as these cause system glitches etc.
 
Last edited by a moderator:
Apr 7, 2017
33
8
0
London
@xEmre66

I still have the sound bug, disabling AudioFX did nothing! Surely I cant be the only one experiencing this? If i'm listening to a song on Spotify or any music app with my headphones in and I go to the home screen or lock/unlock the screen or even open the notification menu, the music skips. However, if the music app is open on the screen and you lock/unlock the screen or go to notifications area then it doesn't skip! Strange, i don't know what to do. Plz help. Its the only thing that isn't working for me.

Thanks @sekil and the devs
 

xEmre66

Senior Member
Apr 23, 2016
776
425
0
Vienna
@xEmre66

I still have the sound bug, disabling AudioFX did nothing! Surely I cant be the only one experiencing this? If i'm listening to a song on Spotify or any music app with my headphones in and I go to the home screen or lock/unlock the screen or even open the notification menu, the music skips. However, if the music app is open on the screen and you lock/unlock the screen or go to notifications area then it doesn't skip! Strange, i don't know what to do. Plz help. Its the only thing that isn't working for me.

Thanks @sekil and the devs
Strange. I don't have this bug. For me sound is fine. Some other users also experience this.

Sent from my Samsung SM-A310F using XDA Labs
 
  • Like
Reactions: samsuffit

xEmre66

Senior Member
Apr 23, 2016
776
425
0
Vienna
@xEmre66

I still have the sound bug, disabling AudioFX did nothing! Surely I cant be the only one experiencing this? If i'm listening to a song on Spotify or any music app with my headphones in and I go to the home screen or lock/unlock the screen or even open the notification menu, the music skips. However, if the music app is open on the screen and you lock/unlock the screen or go to notifications area then it doesn't skip! Strange, i don't know what to do. Plz help. Its the only thing that isn't working for me.

Thanks @sekil and the devs
Could you make a logcat for me? I will try to fix.

Sent from my Samsung SM-A310F using XDA Labs
 
Apr 7, 2017
33
8
0
London
Last edited:

xEmre66

Senior Member
Apr 23, 2016
776
425
0
Vienna
Apr 7, 2017
33
8
0
London
Ok. Everything is normal in this logcat. So this is not a bug. I can't work on this as I don't have any errors in the log.

Sent from my Samsung SM-A310F using XDA Labs
@xEmre66

Ok, well I will create another one and compare it to this one just be sure. Thanks anyways

---------- Post added at 05:20 PM ---------- Previous post was at 05:14 PM ----------

Thats interesting, while playing music and recording a logcat, everytime I went to the home screen from spotify, it skipped the music and this happened:

10-26 18:18:02.189 2229 19015 V audio_hw_primary: ***** select_devices: SOUND_DBG adev_in_devices=0x10, adev_out_device = 0x4, output_device_id=0x2
10-26 18:18:02.189 2229 19015 V audio_hw_primary: ***** select_devices: devices=0x4, input src=6 -> output route: media-headset, input route: recording-headset-mic
10-26 18:18:02.190 3407 18421 I MicrophoneInputStream: mic_started [email protected]
10-26 18:18:02.256 2229 19015 V audio_hw_primary: select_devices: Applying gain [gain-media-headset] for route [media-headset]
10-26 18:18:02.256 2229 19015 V audio_hw_primary: select_devices: Applying gain [gain-recording-headset-mic] for route [recording-headset-mic]

What is it doing here?

Update:

It also happens when locking/unlocking the phone and when i open/close the notification area, which is exactly when the skipping happens, so the problem must be related to applying gain?
 
Last edited:
  • Like
Reactions: Kell5719

xEmre66

Senior Member
Apr 23, 2016
776
425
0
Vienna
@xEmre66

Ok, well I will create another one and compare it to this one just be sure. Thanks anyways

---------- Post added at 05:20 PM ---------- Previous post was at 05:14 PM ----------

Thats interesting, while playing music and recording a logcat, everytime I went to the home screen from spotify, it skipped the music and this happened:

10-26 18:18:02.189 2229 19015 V audio_hw_primary: ***** select_devices: SOUND_DBG adev_in_devices=0x10, adev_out_device = 0x4, output_device_id=0x2
10-26 18:18:02.189 2229 19015 V audio_hw_primary: ***** select_devices: devices=0x4, input src=6 -> output route: media-headset, input route: recording-headset-mic
10-26 18:18:02.190 3407 18421 I MicrophoneInputStream: mic_started [email protected]
10-26 18:18:02.256 2229 19015 V audio_hw_primary: select_devices: Applying gain [gain-media-headset] for route [media-headset]
10-26 18:18:02.256 2229 19015 V audio_hw_primary: select_devices: Applying gain [gain-recording-headset-mic] for route [recording-headset-mic]

What is it doing here?

Update:

It also happens when locking/unlocking the phone and when i open/close the notification area, which is exactly when the skipping happens, so the problem must be related to applying gain?
This is setting microphone paths when you have headset inserted. I will try research and fix. Thanks for logcat btw.

Sent from my Samsung SM-A310F using XDA Labs
 

wooser

Senior Member
Jun 14, 2013
233
61
0
Thank you to all of you guys for making this ROM so great! My question is, could the latest build from today be dirty flashed over this previous build by @sekil from yesterday? http://zalil.su/6993558

Also, it would be really nice from the moderators, if the forum could be cleaned up a bit, so the other 2 Lineage OS for A3 2016 threads should be closed.

Thank you again for your outstanding work!
 
Last edited:
  • Like
Reactions: xEmre66

xEmre66

Senior Member
Apr 23, 2016
776
425
0
Vienna
Thank you to all of you guys for making this ROM so great! My question is, could the latest build from today be dirty flashed over this previous build by @sekil from yesterday? http://zalil.su/6993558

Also, it would be really nice from the moderators, if the forum could be cleaned up a bit, so the other 2 Lineage OS for A3 2016 threads should be closed.

Thank you again for your outstanding work!
Yes dirty flash works always. You could contact the OPs from the other threads to close their threads by requesting it. I can't close them...

Sent from my Samsung SM-A310F using XDA Labs
 
Apr 7, 2017
33
8
0
London
Just an idea, but the initial builds of Lineage for this phone (I think by @alexax66) were based off of a j7 port, what if j7 audio driver was patched into the latest build? Surely if they wanted to build off of the j7, there must be some relation in the hardware? May not work but worth a shot maybe?
 

sekil

Senior Member
Jul 27, 2013
270
556
93
@xEmre66

Ok, well I will create another one and compare it to this one just be sure. Thanks anyways

---------- Post added at 05:20 PM ---------- Previous post was at 05:14 PM ----------

Thats interesting, while playing music and recording a logcat, everytime I went to the home screen from spotify, it skipped the music and this happened:

10-26 18:18:02.189 2229 19015 V audio_hw_primary: ***** select_devices: SOUND_DBG adev_in_devices=0x10, adev_out_device = 0x4, output_device_id=0x2
10-26 18:18:02.189 2229 19015 V audio_hw_primary: ***** select_devices: devices=0x4, input src=6 -> output route: media-headset, input route: recording-headset-mic
10-26 18:18:02.190 3407 18421 I MicrophoneInputStream: mic_started [email protected]
10-26 18:18:02.256 2229 19015 V audio_hw_primary: select_devices: Applying gain [gain-media-headset] for route [media-headset]
10-26 18:18:02.256 2229 19015 V audio_hw_primary: select_devices: Applying gain [gain-recording-headset-mic] for route [recording-headset-mic]

What is it doing here?

Update:

It also happens when locking/unlocking the phone and when i open/close the notification area, which is exactly when the skipping happens, so the problem must be related to applying gain?
This not bug this super feature - use as is!
Bug - if you no sound or some app cant play sounds.
;)
 
Status
Not open for further replies.