• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM] Lineage 15.1 for Galaxy A3 2016 [UNOFFICIAL]

Search This thread
G

GuestK0017

Guest
Disclaimer
Code:
/*
 * Your warranty will be VOID after installing a custom ROM.
 *
 * Get notified yourself that 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.
 */
Downloads

Installation
  • Be sure you are running the last version of TWRP available for your device
  • Do a Nandroid Backup
  • Download and flash new TWRP 3.2.1 from TWRP Official Website
  • Download the last O build from mega
  • Put the zip on the sdcard and flash it
  • Boot it

Working
  • Telephony (Calls, SMS, Mobile Data)
  • Wi-Fi
  • Audio (Speaker and Microphone)
  • Bluetooth (A2DP and BLE is working too)
  • Camera (picture and video recording)
  • Flashlight
  • Enforcing kernel
  • NFC

Not working
  • NFC is sometimes buggy
  • No VoLTE (can't be fixed.)
Please note that i put here only bugs that i verified and reproduced on my phone /!\

Supported variants
  • All variants!

How to fix error 7
  • Error 7 is due to non-updated TWRP!
  • Download newer TWRP (3.2.1-0) on official website (twrp.me)
  • Flash it using Odin or directly on TWRP
  • Reboot to recovery then re-flash the ROM


Credits

Other details
  • Sources: Exynos7580 GitHub
  • Please follow rules and don't insult or off-topic talk in the replies !
  • Making a fully working system take much time, you can support and help me by doing a small donation : PayPal
 
Last edited:
G

GuestK0017

Guest
Changelog

21.01.2018
- Updated to LineageOS 15.1
- Fixed sensors (not included in this build)
- Fixed microphone
- Fixed enforcing kernel
- Fixed touchkeys and lights
- Fixed bluetooth (with A2DP and BLE)
- Smoother experience
- Improved Dual-SIM compatibility
- Surely much things....

Work remaining is :
- NFC
- Camera + Video Recording
- (maybe/untested) OpenMax Drivers (video playing, hw [de/en]coding).
28.02.2018
- Fixed sensors
- Fixed camera (picture and video - thanks to @danwood76 for helping)
- Fixed flashlight
- Optimized interface fluidity (really smoother now)

Work remaining is :
- NFC
- Random SMS and Data issue
02.03.2018
- Fixed NFC
- Re-enabled enforcing kernel
05.03.2018
- Fixed some sepolicy denials
- Switched to stock LineageOS PowerHAL (can maybe improve performances or battery)
- Binderized some services (can optimize some performances or tasks)
- Added Widevine libraries (this can fix some issues with streaming apps such as "MyCanal" or "Netflix")
- Finally fixed properly Mobicore
20.03.2018
- Fixed screen-recording (by Stricted)
- Fixed issues with WhatsApp, file-photo sharing (by Stricted)
- Improved some RIL-related things
- Updated Wi-Fi kernel driver
29.03.2018
Almost final build!
- Fixed earpiece problems
- Fixed most of RIL issues
- Reviewed screen-recording issues (it was maybe wrong built last time)
- Improved UX fluidity (this was for A5, but it could impact on A3)
- Much more small things (kernel updates, cleaned up some code and useless flags, etc...)
08.04.2018
- Switched to quad-core kernel for better battery life (note: i got much replies because some guys want to keep 8-cores. Actually we will STAY on 4-cores as it is the stock value. And our goal is to provide a new OS, not to unlock and/or overclock your phone.)
- Fixed sepolicy denials
- Disabled MSAA 4x enabled by default
- Updated Bluetooth configuration
- Added good DRM libraries, so Netflix, MyCanal and other apps are now really working.
- Fixed NFC tile (ref: LineageOS Gerrit)
- Some small edits
Discord Group
https://discord.gg/KZvUKPz
 
Last edited:
G

GuestK0017

Guest
Thanks for the donations and replies.
Did someone saw bugs I didn't reported?

Edit: I'll port soon TWRP 3.2
 
Last edited:

Vittario Vicci

Senior Member
Jan 10, 2017
68
21
25
Thanks for the donations and replies.
Did someone saw bugs I didn't reported?
Thanks u so much for this port!
Found a bug - with enabled two-factor authentication, in the initial setup code from the message is recieved, but not shown anywhere, so u can't confirm your account.
- no flashight, works from apps in markets
- blackscreen confirmed
And acceleration works fine for me, at least in the gallery
 
Last edited:
G

GuestK0017

Guest
Thanks u so much for this port!
Found a bug - with enabled two-factor authentication, in the initial setup code from the message is recieved, but not shown anywhere, so u can't confirm your account.
- no flashight, works from apps in markets
- blackscreen confirmed
And acceleration works fine for me, at least in the gallery

Thanks for reporting, that's exactly what I was expecting :)

I'll now use OmniRom (because they have a pretty stable 8.0 and TWRP 3.2 is included).

For flashlight, it's same effect as camera.
Black screen, I didn't took a look actually
 

NetfariousIntent

Senior Member
Nov 6, 2016
284
317
Server Room
Thanks for reporting, that's exactly what I was expecting :)

I'll now use OmniRom (because they have a pretty stable 8.0 and TWRP 3.2 is included).

For flashlight, it's same effect as camera.
Black screen, I didn't took a look actually
KMX can we make some kind of a developer group ?
It seems you've left telegram and you don't respond to my messages :(

---------- Post added at 09:46 PM ---------- Previous post was at 09:14 PM ----------

I found a bug: After installing gapps (STOCK) the phone freezes every reboot and then repeats
 

Vittario Vicci

Senior Member
Jan 10, 2017
68
21
25
And a little more:
Dual sim doesnt work
Wi-Fi direct doesnt work

And seems that is all
Fox crashes, but it doesnt matter, other browsers works fine ;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Hi,

    I have a new release today which should fix a couple of the major issues from the previous builds:
    https://mega.nz/#!GFxTVYQb!k1R324-8axK5lmorKKV8xFYLjFyEZ1iW195UU4hJcxI

    I tracked down a couple of camera bugs and found some workarounds so now the QR scanner works in snap and hopefully it will fix the other crashes people have seen.

    I also found a workaround for the NFC issue, it now works enables properly and doesn't eat battery (doesn't matter whether it is enabled or not when booting).

    There are also some power saving additions which have made quite a difference on my phone.

    Full change list since last release:
    • 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 @sekil for the initial wrapper)
    • Switched to the Bioshock CPU governor as this really saves battery (thanks @nr23730)
    • 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

    I may start my own thread now as this has become more than just a couple of builds here and there :).

    Hope you like it,
    Danny
    13
    thank you ansious to test

    Hi,

    Here is a new build:
    https://mega.nz/#!nIpgjaAb!xuGztNx6oYuc0KcfFTVzkhMrck0lTtdN--yN2TFVB98

    Changes since last:
    • 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

    I haven't noticed any camera FC for a while, just make sure you never click the QR reader in the camera app as that crashes it. One thing I have noticed is that you need to enable NFC before you reboot, that way you can switch it back off once rebooted to save power (if you power off with it disabled it doesn't come back on cleanly).

    Someone previously asked about source code, I simply use the Exynos 7580 git sources (from the OP) with custom a3 device/vendor tree and kernel available on my github page: https://github.com/danwood76.

    Regards,
    Danny
    12
    is this still active....whats the latest release please

    Unfortunately l-0-w and Stricted have stopped developing this project.

    I have been running custom builds of their code with a few tweaks for a couple of months now.

    The latest build in this thread is unfortunately missing a load of optimisations and fixes.

    Here is my latest custom build:
    https://mega.nz/#!acIG3Q4S!Gc8PKPZlPmuURUdL0zcHHFWkYInQGitIthnbMHfZY1k

    I'm not 100% sure of the changes since l-0-w's build but I think:
    • 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

    Most of these changes were not made by me but by the Exynos7580 group, so thanks go to alexax66, stricted, l-0-w, sekil, etc.

    Depending on my usage I can get up to 4 days between charges and all the apps I run are smooth and quick.

    Hopefully this build is useful to people.
    7
    Thread cleaned.

    If you have personal issues with a member, try to solve it a privately.
    XDA website is not meant for fighting. Please have respect towards your fellow members and stay civil when you post publicly.

    Here below a reminder of the forum rules, I ask you to read them carefully.
    https://forum.xda-developers.com/announcement.php?a=81

    Thanks for your understanding.

    Wood Man
    Senior Moderator
    7
    This Dany very good create your own topic your corrections are very good congratulations for your work.

    Thanks.

    I have created my own project now:
    https://forum.xda-developers.com/samsung-a-series/orig-development/lineage-os-15-1-a3-2016-t3813109

    Regards,
    Danny