[ROM][A320FL/F/Y] LineageOS 16.0

Search This thread

TheAsKo

Member
Mar 7, 2017
6
2
Latest Build

@McFy

I did clean install (except boot , so only wipe all things in TWRP) + gapps pico + magisk 19

But SafetyNet is still nt recognized and now i cannot even see Netflix in Play Store :/ (Also i think that AOD is still very low brightness)

Can you please look into this ? Except this , this ROM is only thing that keeps me from changing phone youre are really bringing life to this (older) device :3

Ty for your work :)

(BTW: Is there way to donate you?)
 

McFy

Recognized Developer
Aug 31, 2016
549
1,475
22
Angers
mcfy.fr
@McFy

I did clean install (except boot , so only wipe all things in TWRP) + gapps pico + magisk 19

But SafetyNet is still nt recognized and now i cannot even see Netflix in Play Store :/ (Also i think that AOD is still very low brightness)

Can you please look into this ? Except this , this ROM is only thing that keeps me from changing phone youre are really bringing life to this (older) device :3

Ty for your work :)

(BTW: Is there way to donate you?)

Safetynet doesn't pass because I didn't found an A3
fingerprint working yet, using some other's phone one work but it's not the proper fix so I continue to search.
AOD is on low brightness because it yet use a lot of battery.
Glad to heard this :)
Sure my paypal is : PayPal.me/McFy49
 
Last edited:

MartinYTCZ

Senior Member
Apr 16, 2017
140
265
Duchcov
I am trying to build from sources and i get the following error:
Code:
[1/1] /home/user/lin16/out/soong/.minibootstrap/minibp /home/user/lin16/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/stl.bp
[80/80] /home/user/lin16/out/soong/.bootstrap/bin/soong_build /home/user/lin16/out/soong/build.ninja
/home/user/lin16/out/build-lineage_a3y17lte-cleanspec.ninja is missing, regenerating...
/home/user/lin16/out/build-lineage_a3y17lte.ninja is missing, regenerating...
[1037/1037] including vendor/samsung/on7xelte/Android.mk ...
build/make/core/Makefile:28: warning: overriding commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/etc/init/android.hardware.wifi@1.0-service.rc'
build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/etc/init/android.hardware.wifi@1.0-service.rc'
build/make/core/Makefile:28: warning: overriding commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/etc/init/android.hardware.media.omx@1.0-service.rc'
build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/etc/init/android.hardware.media.omx@1.0-service.rc'
build/make/core/Makefile:28: warning: overriding commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/etc/init/android.hardware.power@1.0-service.rc'
build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/etc/init/android.hardware.power@1.0-service.rc'
build/make/core/Makefile:28: warning: overriding commands for target `/home/user/lin16/out/target/product/a3y17lte/system/etc/bluetooth/bt_did.conf'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/user/lin16/out/target/product/a3y17lte/system/etc/bluetooth/bt_did.conf'
build/make/core/Makefile:28: warning: overriding commands for target `/home/user/lin16/out/target/product/a3y17lte/system/etc/bluetooth/bt_stack.conf'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/user/lin16/out/target/product/a3y17lte/system/etc/bluetooth/bt_stack.conf'
build/make/core/Makefile:28: warning: overriding commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/lib/hw/android.hardware.bluetooth@1.0-impl.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/lib/hw/android.hardware.bluetooth@1.0-impl.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/user/lin16/out/target/product/a3y17lte/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/user/lin16/out/target/product/a3y17lte/system/lib/libsecril-client.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/user/lin16/out/target/product/a3y17lte/system/lib/libsecril-client.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/user/lin16/out/target/product/a3y17lte/system/lib/libsensorservice.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/user/lin16/out/target/product/a3y17lte/system/lib/libsensorservice.so'
[ 99% 793/794] glob vendor/qcom/opensource/interfaces/wifi/supplicant/2.0/src
ninja: error: '/home/user/lin16/out/target/common/obj/JAVA_LIBRARIES/vendor.lineage.livedisplay-V1.0-java_intermediates/javalib.jar', needed by '/home/user/lin16/out/target/product/a3y17lte/dex_bootjars/system/framework/boot.prof', missing and no known rule to make it

McFy told me to remove it from hardware/samsung but i do not know how to to it. Can anyone help me?

Go to this Telegram group: http://t.me/a32017ot
It's the official group and you can resolve all issues with McFy there
 

Filipe Baltazar

Senior Member
Jun 21, 2015
159
35
Xiaomi Poco X3 Pro
Hey @McFy
Thank you for persisting with software development for this obscure phone. Really wish I could send you a hundred bucks but life finds a way of sucking us dry.
Btw, can I dirty flash from 08042019 to 10042019? or should I do a clean install?
I don't know if it's an issue with discord or the ROM but I can't input sound. Built in Voice recorder app only records static. Everything else works just fine. Battery is on par with other Lineage builds. No more crashes due to accent color changes.
Also, are Lineage sources still without an icon changer for Trebuchet on LOS16 and no shortcuts in the lock screen?
Given your increased workload with other phones and primarily LOS development on them too, do you have plans for RR 7 development on this phone and/or others?
 

plstanchev

New member
Apr 12, 2019
2
0
need help

guys i need some help i bought this a3 2017 yesterday from online shop should have been unlocked but my sim card VIVACOM bulgaria Three-UK does not work on any modem i try its sim locked i cant get around this , i managed to install twrp even flashed lineage before i tryed several stock firmwares that were supposed to be unbranded but im very confused all day been strugling with this my head is a mess ...i rly like this phone want to keep it can anyone sa something usefull dont know what else to do i did everything i could i believe without any success my sim is always locked
 

nishfrog

Member
Dec 4, 2010
13
4
Big thanks for bringing Pie to my A320FL.

Has this ROM been compiled to include the FlipFlap package? (android_packages_apps_FlipFlap)

I have Samsung's Neon Flip Cover which seems to work using a magnet.
The 20190411 version of the ROM doesn't seem to detect the magnet and doesn't enable additional FlipFlap setting for it.
 

McFy

Recognized Developer
Aug 31, 2016
549
1,475
22
Angers
mcfy.fr
Hey @McFy
Thank you for persisting with software development for this obscure phone. Really wish I could send you a hundred bucks but life finds a way of sucking us dry.
Btw, can I dirty flash from 08042019 to 10042019? or should I do a clean install?
I don't know if it's an issue with discord or the ROM but I can't input sound. Built in Voice recorder app only records static. Everything else works just fine. Battery is on par with other Lineage builds. No more crashes due to accent color changes.
Also, are Lineage sources still without an icon changer for Trebuchet on LOS16 and no shortcuts in the lock screen?
Given your increased workload with other phones and primarily LOS development on them too, do you have plans for RR 7 development on this phone and/or others?

That's not a problem, I do this project for free as learning purpose and not for money even if I am really thankful to the donators ;)
As always you can try to dirty flash but if you end having unespected bugs you must clean install.
I am still not sure to do RR but I know this is waited by some users :)

What is up with the MicroG ROM? Are you trying to Google just enough without Googling the ROM with GAPPS?
MicroG rom is there for people interested in the MicroG project: https://microg.org/ It doesn't have OTA added to it yet but that is not excluded to be added in the future. It have signature spoofing patch as well :)

guys i need some help i bought this a3 2017 yesterday from online shop should have been unlocked but my sim card VIVACOM bulgaria Three-UK does not work on any modem i try its sim locked i cant get around this , i managed to install twrp even flashed lineage before i tryed several stock firmwares that were supposed to be unbranded but im very confused all day been strugling with this my head is a mess ...i rly like this phone want to keep it can anyone sa something usefull dont know what else to do i did everything i could i believe without any success my sim is always locked
Your phone seems to be sim locked, ask the store you bought it from.

Big thanks for bringing Pie to my A320FL.

Has this ROM been compiled to include the FlipFlap package? (android_packages_apps_FlipFlap)

I have Samsung's Neon Flip Cover which seems to work using a magnet.
The 20190411 version of the ROM doesn't seem to detect the magnet and doesn't enable additional FlipFlap setting for it.
I removed FlipFlap package as far I don't have a case to try if it works, I can add it in future updates :).
 
Last edited:
  • Like
Reactions: paf22

starbright_

Senior Member
Apr 11, 2010
1,471
262
MicroG rom is there for people interested in the MicroG project: https://microg.org/ It doesn't have OTA added to it yet but that is not excluded to be added in the future. It have signature spoofing patch as well :)
I am a fan of "degoogle" phone, so I use it too. Use nanodroid to get this. Right now I don't get notifications, nor I see apps registered for GCM (as ebay for instance). Anyone here have better experience?
Big thanks to you for the ROM. It is probably the smallest and lightest with LOS, so I hope it will have a long life!
 

Filipe Baltazar

Senior Member
Jun 21, 2015
159
35
Xiaomi Poco X3 Pro
I am dirty flashing as of the past few daily updates you release. Working just as well as a clean install.

Mic issues have been fixed. WiFi lock on to networks is a little bit slower than los15.1 builds. Battery is as good as 15.1 if not better. Haven't had a single crash or reboot, I'm using Magisk too. Do you know any working gcam ports?

I was thinking about using some of your work to jump start RR7 development for this phone but my computer is not powerful enough for that.

Also, are you still working on the 64bit ROM?

Thanks.
 

cyberbix

Senior Member
Nov 17, 2017
71
39
Anyone here have better experience?

I´m on McFys microG LOS16 from 20190412 and I do not encounter any problems with GCM or Nanodroid itself. As the documentation of Nanodroid reads, only new installed applications can be recognized for the push tokens. So if you did a dirty flash, this could be the problem. For Threema I had the same problem, but Threema allows to re-register with a new push token, that helped for me. For Threema it was also important to disable battery optimization and allow background data. Otherwise push notifications will come in delayed by a couple minutes.

Try the Push Notification Tester from Bernd Bindreiter, it allows to have a delayed delivery, so you can even test your phones sleep state behaviour. After installation it shows up as registered in microG settings app in the GCM Menu.

I use a stable Nanodroid 20190310 with customized setup through Nanodroid setup wizard. I will post details on your "Live without GApp" thread.
 
  • Like
Reactions: textmarker007

starbright_

Senior Member
Apr 11, 2010
1,471
262
I´m on McFys microG LOS16 from 20190412 ...
I use a stable Nanodroid 20190310 with customized setup through Nanodroid setup wizard. I will post details on your "Live without GApp" thread.
Hey, how cool is that - we have a microG LOS! I missed that. Many many thanks to @McFy!
I 'll just repeat my (this time clean) installation, so even wipe data. I have backuped this with "migrate"-tool, let's look how it works - whether this counts as a fresh installation or not.
Do you see any apps that are registered for push notication? Is registering at google a precondition. I am not sure whether I need this or not.
Thanks for update this thread. :)

---- My steps to microG (---
https://downloads.nanolx.org/NanoDroid/Stable/):
Install "migrate" or TB and create a backup
TWRP: Wipe cache, dalvic, system, data
run nanodroid-setupwizard
select: FDROID, MapsV1, init scripts, Full installation, GSMCore from nanodroid, no Backend, Yalp Store
install LOS for microG (spoofed), Magisk 18.1, microG
reboot.
check the microG-setting, enable Google registration and GCM.
First install just apps only (to get registration for GCM they have to be installed after microG)
than in a second step recover data of apps
 
Last edited:

starbright_

Senior Member
Apr 11, 2010
1,471
262
Wifi problem, MAC 02:00:00:00:00:00

My problem is still Wifi. With older versions it happens from time to time, mainly after a reboot, that Wifi couldn't be switched on. At that time I could get it working with Wipe Cache/Dalvik and reboot.
As I did a dirty flash, I decided to reinstall all new with a clean flash of data too and hope this issue will disappear.

To my surprise problems even get bigger. At least with the microG version 0412. I have to do 3 steps after cleaning:
Flash LOS, Magisk 18.1, microG core. Tried in in one shot, or with reboots inbetween - result was same.
The MAC shown as 02:00:00:00:00:00 as indication (or reason) that something goes wrong.
There is a lot to find about this MAC error, for instance the recommendation to reset network/BT-settings. I did this without success.
I tried several reinstallations, once with just LOS. Wifi was working than (at least this one time). But without root it is not useable for me and after flashing Magisk the MAC was again 02:00.... and Wifi couldn't be enabled.

Please guys, hope someone has a good idea what might be the reason here.
 

cyberbix

Senior Member
Nov 17, 2017
71
39
microG and Push Messages

Do you see any apps that are registered for push notication? Is registering at google a precondition. I am not sure whether I need this or not. Thanks for update this thread. :)

Yes. Every app using GCM is showed as registered in microG-Setup. And this is essential as long as I read the issues section of NanoDroid - https://gitlab.com/Nanolx/NanoDroid/blob/master/README.md#issues - massive battery drain can happen, I´ve encountered this with Threema until I´ve re-registered the GCM-Token through the troubleshooting feature of Threema. And yes, as long as I read the documentation - without device registration GCM won´t work. You do not need an account, since GCM relys on device-id as long as I understand.

Read the "Push Messages" Section of NanoDroid carefully. Even restoring data of an app does sometimes not help - this IS the case for Threema - since the Push Token is stored in App-Data somehow. If your App does not support a manual re-register und you must rely on restored data, try to re-register from CLI:

Taken from the Issues of "Push Messages" section of https://gitlab.com/Nanolx/NanoDroid/blob/master/README.md#microg
"...when restoring the ROM from a TWRP backup GCM registration for apps is sometimes broken. You may use the following command to reset GMS settings for a given app using it's appname, or if no appname is given for all applications. Apps will re-register when launched afterwards:

nutl -r APPNAME (eg.: APPNAME = com.nianticlabs.pokemongo) or nutl -r
..."

GCM works like a charm for me, even with the long time being unusable Threema App in microG ! Threema now even works in "Battery saver" mode., what mainly reduces CPU frequency from my understanding. Battery life of the LOS-microG-20190412 is incredible !
 
Last edited:
  • Like
Reactions: starbright_

cyberbix

Senior Member
Nov 17, 2017
71
39
Wifi problem, MAC 02:00:00:00:00:00

Please guys, hope someone has a good idea what might be the reason here.

I encounter exactly the same problems and I think McFy knows about the actual Wifi kernel problems. WiDi, Wifi Cast, WiFi direct, P2P - however you call it - is still not working in LOS 16. In LOS 15 WiDi works like a charme.

What I can say - I´ve got rid of ALL my WiFi problems after device encryption. Even the WiFi state from powering off is restored. But be careful - you MUST use the "ask for PIN" option from LOS device encryption. Otherwise it won´t work. The "fast boot" option brings the same effects.

I know this sounds funny, but I assume there is a timing problem on loading the kernel module during normal boot. The boot delay caused on an encrypted device by the PIN dialog, could be the thing that solves this. But I don´t have a clue of it and maybe this idea is complete nonsens ;)

The WiFi problems occur in LOS 16 and in LOS 16 microG versions. No difference here (of course it should be the same kernel module)

So let´s wait for a possible solution from McFy on this....
 
  • Like
Reactions: starbright_

Top Liked Posts

  • There are no posts matching your filters.
  • 75
    main-qimg-eae07393a6257f6f44f3a6f2a0be5cbb


    Lineage OS 16.0



    LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (pie), which is designed to increase performance and reliability over stock Android for your device.

    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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.


    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.


    Working

    • All features must work


    Bugs/Issues :

    • You tell me


    Supported Models
    • A320F
    • A320Y
    • A320FL (the more reliable as I own it)
    • Dual Sim is supported


    DOWNLOAD : TWRP, ROM & GAPPS
    last build
    all builds
    GAPPS
    TWRP


    Instruction

    • Download the latest build
    • Download GAPPS for 32 bit, arm, pie device
    • Recommended : Do a Nandroid Backup
    • Wipe System, data, Cache and Dalvik
    • Flash ROM using latest TWRP Recovery
    • Flash GAPPS (if you want them)
    • Reboot
    • Enjoy!



    Enjoy and if you like my work, give a thumbs up :)

    Credit:

    • LineageOS team & Exynos7870 developpers working with me
    @McFy(me)
    • All peoples supporting me
    • Unbekannt1998 for lending me his VPS

    donators :

    - Peter S.
    - Rogier L.
    - Alex F.
    - Daniel M.
    - Markus R.
    - Jean-François R.
    - Paul F.
    - Ivann M.
    - Kim M. N.
    - Zalan N.
    - Thierry C.
    - Martin B.
    - Adrian A.
    - Alexander B.
    - Tribe of frog
    - Marc S.
    - Mathias E.
    - Valentin G.
    - Moritz D.
    - Emmanuel P.
    - Rafael E.
    - Manuel S.
    - Patrick G.
    - Georg W.

    Thanks you ! :)

    If you like my work you can put a thanks or give me to my paypal or my bitcoin:36zAbcB1patxNdt21cknwYg2k9jyCdj1GX
    as making rom is much time ! ;)

    If you want to get news or talk to me and other user you can join this group telegram : Lineage A3 2017




    XDA:DevDB Information
    LineageOS 16.0 , ROM for the Samsung Galaxy A Series 2017 A3, A5, A7

    Contributors
    McFy
    Source Code: [url]https://github.com/McFy49[/URL]

    ROM OS Version: 9.0 pie
    ROM Kernel: Linux 3.x

    Version Information
    Status: WIP

    Created 2018-12-27
    27
    Changelog
    Code:
    [B]27th December 2018[/B]
        - Initial build
    
    [B]28th December 2018[/B]
        - Enabled HWC
    
    [B]9th March 2019[/B]
       - February security patch
       - Selinux enforced
       - Fixed the wrong video lenght issue
       - latest LineageOS sources
       - Fixed the Wi-Fi in a better way
       - Removed magisk
    
    [B]30th March 2019[/B]
       - Labelized Selinux DRM denials
    
    [B]4th April 2019[/B]
       - April Security Patch
       - Updated LineageOS sources
       - Added custom update over the air (OTA)
       - Boosted mic gain
    13
    11
    Hey everyone, I am glad to share you a new build !

    The changelog is:

    - February security patch
    - Selinux enforced
    - Fixed the wrong video lenght issue
    - latest LineageOS sources
    - Fixed the Wi-Fi in a better way
    - Removed magisk

    Thanks for support I can see around the threads

    Stay Tuned !

    Download : here
    More info on first post
    9
    Today I found this ROM, I decided to test it, my expectation was low, but at the end I was amazed! :victory:

    The first boot is going to take like 8-12 Min. I never have functional WiFi in the first boot, so just reboot the phone 1 time in order to fix it and proceed with the initial configuration.

    Many thanks for your work McFy and the Teams that are working with you!
    If there is way to help you to improve the development of this ROM please let me know, I will donate soon!

    Sorry for my bad English.

    Device: A320Y
    Previous ROM: Android 8.0
    ROM: lineage-16.0-20181215-UNOFFICIAL-a3y17lte.zip
    TWRP: recovery_a3y17lte-050318.tar.md5
    GAPPS: Mini

    Pros:
    -Stability. 5/5
    -Battery life. 5/5
    -Sound, Video, Call, all the Apps I have tried works.
    AFwall
    WhatsApp
    YouTube
    PlayStore
    Opera Browser
    Nova Launcher
    Clover
    etc.

    Cons:
    -WiFi stop working after a reboot. When I reboot the phone I could lost the WiFi. (SOLUTION: Reboot the phone one more time solves the problem.)
    -I can't update to the new Magisk version, when I tried, the phone do a boot loop. (SOLUTION: Reinstall the Stock ROM (Oreo 8.0) with Odin and proceed to reinstall this ROM again)
    -SElinux Disabled :(

    Extra comment. When I want to charge it with the phone turned off there is no battery percentage % to know the level of charge, I was used to disconnect it around the 80% of battery charge, but now I can't do it. I think this is something about the Lineage ROMs, I have another phone with LOS 15 MotoE and its the same case, I cant see the battery % while charging it turned off. Maybe in the future this "Feature" will be added.

    Some Screenshots:
    Desktop


    System




    StatusBar & Desktop




    Many thanks McFy! Please keep improving this ROM and fix the SElinux issue

    Thanks for your support as well as the one from the others users.

    I am here to give you some update on what is going on :
    - first of all I want to give a big thanks to Peter who sent me an A3 2017 so I can work faster thanks to that unit that I don't need to be reliable!
    - a new build is comming soon ;)
    - I fixed the loops that some of you get with the encryption
    - I wrote the sepolicy rules so the next build will have selinux enforced
    - I fixed the wifi on a better way so now it's more stable
    - I am testing that everything work and looking about few last things so expect a build soon :)