[UNOFFICIAL][a3xelte][SM-A310F]Lineage OS 15.1 for A3 2016

Search This thread

jabieff

Senior Member
Jan 26, 2018
69
88
25
Baku
Xiaomi Redmi 4X
I ran into such a problem. What is the reason? :crying:
 

Attachments

  • Screenshot_Ayarlar_20180807-225720.png
    Screenshot_Ayarlar_20180807-225720.png
    69.2 KB · Views: 373

JaneKPL312

Senior Member
Nov 4, 2017
74
17
Goleniów
Known issues
- Low microphone volume reported in some apps

In my opinion its not the low volume but some apps uses microphone from the top of phone (mic for calls)

Problem can be seen in Facebook Messenger, Snapchat and Instagram
On Camera app it works fine
 
  • Like
Reactions: danwood76

jabieff

Senior Member
Jan 26, 2018
69
88
25
Baku
Xiaomi Redmi 4X
There is another problem. The battery consumes excessively while watching the video. The kernel needs to be edited. The idle single core work is great.
 

lawliet80

Senior Member
Nov 10, 2012
180
65
Amiens
I don't know why but it has been 3 times that my phone, after locking it (power button), and some minutes, when i press the power button to use my phone nothing happens.

I have to reboot the phone using the hard way.
It didnt occured with the ancient rom, i don't know if it's the heat or else, weird.
 

danwood76

Recognized Developer
May 23, 2015
1,412
2,318
I don't know why but it has been 3 times that my phone, after locking it (power button), and some minutes, when i press the power button to use my phone nothing happens.

I have to reboot the phone using the hard way.
It didnt occured with the ancient rom, i don't know if it's the heat or else, weird.

I've not seen this issue. Is there any chance of grabbing a logcat next time it does it?
 

thebinf

Senior Member
Jan 6, 2016
50
17
Cannot change preferred network mode

Hi, I've tried the workaround for switching to LTE but they did not work for me. Actually I found out that I can't change the preferred network mode at all. I've attached a logcat while switching network mode. Probably that helps to resolve the issue.
Best regards, thebinf
 

Attachments

  • catlog-network-settings2.txt
    11 KB · Views: 13

danwood76

Recognized Developer
May 23, 2015
1,412
2,318
Hi, I've tried the workaround for switching to LTE but they did not work for me. Actually I found out that I can't change the preferred network mode at all. I've attached a logcat while switching network mode. Probably that helps to resolve the issue.
Best regards, thebinf

Hi,

Unfortunately the logcat doesn't reveal much.

What I have found in testing is that although you don't get LTE after a fresh install it usually comes online after an hour or so of just leaving the phone on and moving between cells. For example this morning I did a clean install and then I went out to the shops, when I got back home LTE had come online. It's almost like the modem is not provisioning the LTE until after some delay, but once it is provisioned it always comes straight back up after every boot. This might explain why I managed to force it online by re-registering on the network a couple of times (my previous workaround).

It may be something to do with the RIL blobs we use and and a combination of the latest modem firmware so I might try updating the blobs to see if it helps.

The only thing I can suggest is to make sure you are running the latest modem firmware (can be flashed using ODIN from the samsung firmwares available here: https://updato.com/firmware-archive-select-model).

Regards,
Danny
 

thebinf

Senior Member
Jan 6, 2016
50
17
Hi,

Unfortunately the logcat doesn't reveal much.

What I have found in testing is that although you don't get LTE after a fresh install it usually comes online after an hour or so of just leaving the phone on and moving between cells. For example this morning I did a clean install and then I went out to the shops, when I got back home LTE had come online. It's almost like the modem is not provisioning the LTE until after some delay, but once it is provisioned it always comes straight back up after every boot. This might explain why I managed to force it online by re-registering on the network a couple of times (my previous workaround).

It may be something to do with the RIL blobs we use and and a combination of the latest modem firmware so I might try updating the blobs to see if it helps.

The only thing I can suggest is to make sure you are running the latest modem firmware (can be flashed using ODIN from the samsung firmwares available here: https://updato.com/firmware-archive-select-model).

Regards,
Danny
Thanks for the hints. I thought that probably the exception of my device not being a CDMA phone might be related to the issue. I was already on the latest Samsung firmware before flashing Lineage OS the first time. Will that change anything if I flash the baseband using Odin?
 

danwood76

Recognized Developer
May 23, 2015
1,412
2,318
Thanks for the hints. I thought that probably the exception of my device not being a CDMA phone might be related to the issue. I was already on the latest Samsung firmware before flashing Lineage OS the first time. Will that change anything if I flash the baseband using Odin?

If you were on the latest firmware then you should already have the latest modem firmware, this may actually be the cause of the issue if they introduced a new feature in the latest firmware that the HAL is not taking advantage of. I will play with the blobs and see if I can solve anything.

Also I am in the UK so I am also on a GSM network and not CDMA.
 

4nndee

Member
Apr 6, 2014
26
7
I'm trying to get microG working with this ROM, but I have problems to activate signature spoofing with Tingle. It says the ROM is odexed, is that correct? I thought all the Lineage builds are deodexed?
 

julian77200

New member
Jul 28, 2014
2
0
Hi, the Hardware Buttons like menu and tab switch buttons dont work with the rom on my A310X
The Phone needs the Software from the A310F and the Kernel from the A310M to work correctly
 

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    https%3A%2F%2Fimg.xda-cdn.com%2FpcscAfEjxfDt7UPGeamYS042gKY%3D%2Fhttps%253A%252F%252Fcdn.neow.in%252Fnews%252Fimages%252Fuploaded%252F2018%252F02%252F1519557694_lineageos.jpg

    Code:
    #include <std_disclaimer.h>
    /*
     * Your warranty is now void.
     *
     * We are 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 us for messing up your device, we will laugh at you. Hard & a lot.
     *
     */
    Introduction

    Lineage OS 15.1 for the SM-A310F is based upon the hard work of both @Stricted and I in creating new clean device trees for Exynos7580 devices. This release is a stable release build on the new device trees.

    What works
    Calls, SMS, Mobile Data
    Camera
    NFC
    WiFi
    Bluetooth
    Torch
    SELinux Enforcing​
    What doesn't work
    VoLTE (will never work on LOS)
    You tell me​
    Installation
    1. Download the latest LOS build and transfer it to your phone
    2. Install the latest TWRP (Available Here)
    3. Make a full backup (just in case something goes wrong)
    4. Do a full wipe (Cache, Dalvik Cache, Data, System)
    5. Install LOS
    6. If you are installing GApps do it at the same time (preferably in the same install queue)
    7. And finally boot, the first boot can take several minutes as it optimises all the apps

    Downloads
    Latest releases are uploaded HERE
    OpenGapps HERE
    TWRP is availableHERE
    Magisk is available HERE
    Source
    Exynos7580 Device Trees here
    LineageOS sources here
    Thanks
    @Stricted
    @l-0-w
    @sekil
    @alexax66
    @macs18max (BT call audio fix)
    @Borduni
    All the testers on the Discord group (https://discord.gg/bXe7dN)
    And all others who have contributed to the Exynos projects

    A special thanks to my donors
    XDA:DevDB Information
    Lineage OS 15.1 for A3 2016, ROM for the Samsung Galaxy A Series

    Contributors
    danwood76, stricted, borduni
    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.10.x
    Based On: LineageOS

    Version Information
    Status: Stable

    Created 2018-07-06
    Last Updated 2019-05-16
    17
    Changelog

    Code:
    Changes in the 09/07/19 release:
    [INDENT]July Android Security Patch
    LOS updates[/INDENT]
    Older changes listed below:

    Code:
    Changes in the 23/06/2019 release:
    [INDENT]camera: added new workaround to fix remaining HAL crashes (Google Camera should work now)
    June Android security patch
    LOS updates
    [/INDENT]
    Code:
    Changes in the 16/05/2019 release:
    [LIST]
    [*]kernel: fixed non charging issue if USB is not plugged in for 20+ hours
    [*]WiFI: fixed MAC address loading
    [*]NFC: default to slower but more reliable firmware loading mechanism
    [*]system: optimised the vfs_cache_pressure which improves FS performance and fixes most MTP issues
    [*]vendor: Added missing magnetomoter configuration file
    [*]vendor: Updated blobs to February security patch
    [*]Android May security update
    [/LIST]
    Code:
    Changes in the 08/04/2019 release:
    [LIST]
    [*]kernel: CPU governor updates and fixes (improved battery life)
    [*]kernel: fix issues with WiFi connections dropping randomly due to ipreachability monitor failing incorrectly
    [*]APN: added correct "La Poste" entries
    [*]Android April security update
    [/LIST]
    Code:
    Changes in the 10/03/2019 release:
    [LIST]
    [*]Kernel: Updated Android ION driver (should fix some ION crashes I have seen)
    [*]Kernel: Updated Android Binder to a much more recent version (should speed up binder transactions and fix bugs)
    [*]MDNIE: Fix accessibility SEPolicy so it actually works now
    [*]Moved the BT calling fix into our local device tree (now building with no repo picks)
    [*]Android March security update
    [/LIST]
    Code:
    Changes in the 12/02/2019 release:
    [LIST]
    [*]Kernel patched up to version 3.10.108 (many security and stability fixes)
    [*]USB MTP stability improvements
    [*]Updated vendor blobs from A310FXXU4CRH1
    [*]Updated gps config to use closest NTP server (thanks [user=7377908]@Borduni[/user])
    [*]Wired up MDNIE features
    [*]LineageOS February security patches
    [/LIST]
    Code:
    Changes in the 25/01/2019 release:
    (Clean flash suggested as large update)
    [LIST]
    [*]New cleaner device tree and kernel (better performance/battery)
    [*]New HWC/Gralloc (much better performance/battery and smoother UI)
    [*]Finally fixed the Snapchat (and others) Audio distortion issue
    [*]New camera wrapper (faster flashlight turn on and better bug fixes)
    [*]LOS updates
    [*]Probably some other fixes I have forgotten about
    [/LIST]
    Code:
    Changes in the 12/01/2019 release:
    [LIST]
    [*]Faster NFC turn on
    [*]Fixed camera wrapper (should not crash now)
    [*]Updated WiFi driver (should improve battery usage)
    [*]Fixed battery health save/restore (fixes battery level changing on reboot)
    [*]January Andoird Security Patch
    [/LIST]
    Code:
    Changes in the 27/11/2018 release:
    [LIST]
    [*]Added fix for BT headsets/devices that use the WBS profile
    [*]Added call recorder fix
    [*]November LOS security update
    [/LIST]
    Code:
    Changes in the 09/11/2018 release:
    [LIST]
    [*]Bluetooth Call audio fixed (thanks @macs18max)
    [*]Better 'cancelAutoFocus' camera fix
    [*]LOS updates
    [/LIST]
    Code:
    Changes in the 14/10/2018:
    [LIST]
    [*]Fix network data type selection (thanks @Borduni)
    [*]Properly fix encryption
    [*]Switch to using OSS mobicore drivers
    [*]LOS October security patches
    [/LIST]
    Code:
    Changes in the 28/09/2018 build:
    [LIST]
    [*]Switched back to open source power HAL
    [*]Enabled more verbose camera debugging
    [*]Latest LOS updates
    [/LIST]
    Code:
    Changes in the 21/09/2018 build:
    [LIST]
    [*]Builds now signed with a private digital key
    [*]Min CPU frequency increased back to 400MHz to stop music playback issues when screen is off
    [*]Issue fixed with battery max_capacity being incorrectly set during boot
    [*]AGPS now pulls data over SSL
    [/LIST]
    Code:
    Changes in the 14/09/2018 build:
    [LIST]
    [*]Increased microphone volume of the camcorder and media recording profiles
    [*]Fixed default power HAL profiles (restores performance and power saving in some modes)
    [*]Fixed some default settings in the Power HAL 
    [*]Updated vendor blobs to A310FXXU4CRG2 (vendor security now 30/07/2018)
    [*]September Android security patch
    [*]LOS updates
    [/LIST]
    Code:
    Changes in the 08/09/2018 build:
    [LIST]
    [*] Updated Mobicore (again) which improves battery and overall system stability
    [*] Updated power profiles to latest
    [*] Reapplied WiFi config update patches
    [/LIST]
    Code:
    Changes in the 30/08/2018 build:
    [LIST]
    [*]Cleaned and upstreamed patches to Exynos7580 project (now clean builds from upstream repos)
    [*]Video recording audio gains fixed
    [*]Added patch required for encryption support (should allow encryption but not tested)
    [*]Disabled DT2W for now as it seems to cause quite a few issues
    [*]Added LOS updates
    [/LIST]
    Code:
    Changes in the 26/08/2018 build:
    [LIST]
    [*]Added possible fix for low mic volumes in some apps
    [*]Added fix for HAL1 camera recording in the august security update
    [/LIST]
    Code:
    Changes in the 22/08/2018 build:
    [LIST]
    [*]Updated PowerHAL based on latest TeamNexus source
    [*]Updated RIL blobs from A310FBTU3CQL2
    [*]Updated power profiles so that the "ScreenOff" profile is almost the same as the "PowerSave" profile
    [*]Android August security patch level
    [/LIST]
    Code:
    Changes in the 03/08/2018 build:
    [LIST]
    [*]Disabled bioshock CPU governor as it really doesn't work well for common loads
    [*]Fixed limiting of GPU speed in the Power HAL
    [*]Created full set of power profiles (and fixed screen off profile)
    [*]Fixed touch button LED state when waking up the device when they are disabled
    [*]Added Double Tap to Wake setting in the display config menu (enabled by default)
    [*]Updated the BCMDHD_1_77 WiFi driver from A3 2017 Oreo source (A320FLXXU2CRE3)
    [*]Lots of kernel fixes (thanks again [user=5925090]@alexax66[/user])
    [*]LOS Updates
    [/LIST]
    Code:
    Changes in the 29/07/2018 build:
    [LIST]
    [*]Created new HIDL based power HAL (thanks [user=5925090]@alexax66[/user] for his input)
    [*]Lots of Kernel bug fixes
    [*]Partially reverted previous camera wrapper change
    [*]Updated WiFi config
    [*]Updated LOS
    [/LIST]
    Code:
    Changes in the 13/07/2018 build:
    [LIST]
    [*]Kernel: Copy display colour correction tables from the A3 2017 to fix green tinge in low light mode
    [*]Device: Updated cancel_auto_focus logic in camera wrapper to try and solve a battery drain issue
    [/LIST]
    Code:
    Changes in the 11/07/2018 build:
    [LIST]
    [*]Kernel: ION allocator fixes
    [*]Kernel: Sync binder with latest android-4.9-Oreo
    [*]Kernel: Fix CPUFREQ memory leak
    [*]Kernel: Underclock min frequency to 200MHz by default (more power saving)
    [*]Device: Reverted brightness tables to that of 06/06/18
    [*]Device: Suppressed camera logcat output
    [*]Device: Updated to July security patch release
    [/LIST]
    Code:
    Changes in the 05/07/2018 build:
    [LIST]
    [*]NFC wrapper added to aid in debugging issues
    [*]NFC work around added for the startup issue
    [*]Suppressed NFC logging output (it spews a lot of crap over logcat)
    [*]Camera wrapper added to fix a couple of bugs in the HAL, some random lockups fixed, QR scanner now works (thanks [user=5368296]@sekil[/user] for the initial wrapper)
    [*]Switched to the Bioshock CPU governor as this really saves battery (thanks [user=5918415]@nr23730[/user])
    [*]Updated more mobicore blobs that seemd to have been missed from before
    [*]Updated some GPS settings in the overlay
    [*]Added updating of backlight brightness during doze to fix issues with dark notifications
    [*]Added Sekils audio fix for libsec-ril.so blob
    [*]Added lots of CVE patches to kernel
    [*]Updated to latest LOS
    [/LIST]
    Code:
    Changes in the 26/06/2018 build:
    [LIST]
    [*]Added latest audio fixes (thanks to stricted)
    [*]Added exynos OMX blobs from stock to fix codec issue (thanks to stricted)
    [*]Modified display colour temperature and LCD brightness logic
    [*]Increased call volume on speaker phone
    [*]Updated mobicore to latest A310F nougat versions
    [*]Updated to latest LOS
    [/LIST]
    Code:
    Changes in the 06/06/2018 build:
    [LIST]
    [*]Lots of kernel optimisations
    [*]Interactive governor fixes (improves battery life and performance)
    [*]Updated WiFi driver
    [*]Fix headset microphone path
    [*]Updated NFC blobs
    [*]Tweaked screen auto brightness levels
    [*]Lots of LineageOS fixes
    [/LIST]
    11
    I am currently uploading a new release.

    Thanks in part to a patch from @macs18max we now have working Bluetooth call audio.
    I have tested this on my cheap Bluetooth headset and my TomTom satnav, both work great now!

    Changes in the 09/11/2018 release:
    • Bluetooth Call audio fixed
    • Better 'cancelAutoFocus' camera fix
    • LOS updates
    11
    Uploading a new release now (built on 14/09/2018).

    Changes:
    • Increased microphone volume of the camcorder and media recording profiles
    • Fixed default power HAL profiles (restores performance and power saving in some modes)
    • Fixed some default settings in the Power HAL
    • Updated vendor blobs to A310FXXU4CRG2 (vendor security now 30/07/2018)
    • September Android security patch
    • LOS updates
    11
    Hi,

    I am off on holiday for a week so thought I would upload a quick update before I go.

    There are only a couple of fixes:
    • Kernel: Copy display colour correction tables from the A3 2017 to fix green tinge in low light mode
    • Device: Updated cancel_auto_focus logic in camera wrapper to try and solve a battery drain issue

    I have only applied part of Sekils panel changes to my tree, it does appear to have fixed the green screen issue but I will need your feedback as I may need to add the rest of the mdnie logic in as well.

    Regards,
    Danny