yashsingh1/xdaforums huggingface dataset:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] :
Device enters sleep mode almost immediately after screen turning off

Hi,

Thanks for this great ROM. Installed it a few days ago and i'm really happy with it !

I noticed one small thing... Maybe someone else can verify this on their phone or got an idea what the problem actually could be. When i'm using navigation apps (in my case OsmAnd) to navigate or record GPX-tracks i would turn off the screen to save some battery power. Normally the phone would wake up when it wants me to see the next navigation-instruction. When i'm recording a track it would keep GPS on and record the track even when the screen is off. For the track-recording OsmAnd starts a foreground-service which permanently shows a status-notification displaying the current navigation/track-recording status.

On my phone, when i'm turning off the screen, the phone seems to go to some sleep mode within seconds.

OsmAnd (and Google Maps) just pauses, GPS is turned off. When i turn on the screen, the app continues to navigate / record the track as soon as the phone gets a GPS fix having missed everything in between while the screen was off.

I tried turning off battery optimization for OsmAnd / Google Maps and disabling doze mode entirely via ADB. Did not work. I had this problem before with my Galaxy A3 on Resurrection ROM (7.1.2) and now after the update to this Oreo ROM it seems the issue is still there.

On my Galaxy S4 mini and my Galaxy Tab S 10.5 which run LineageOS 14.1 (7.1.2) everything is fine.

Thanks for your ideas and suggestions!

msw
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] teyfur:
file tarnsfer(copy) not working. Please help me
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] estantor:
I you except the battery drain, this rom is almost perfect.

Looking forward for the next version.

thanks for your work
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Naomoe:
The first thing I want to say is thank you very much for giving me the A3 2016 user as I can use android 8. After having experienced the rom with the latest update I encountered some problems i Can not use OpenGApp I tried to install a different version but have encountered a problem "google service stopped" and one more thing I want to ask if you can help the rom can play game Better yet, I play mob games and I get into the game later than other players. Sometimes 4G is unstable pinging high abruptly although the signal is quite strong and sometimes the game is suddenly rendered. I can not continue playing and hope you will make the device not overheat when playing the game. Beyond these problems, your rom is great thank you much :fingers-crossed::fingers-crossed:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] senemir:
You are absolutely right about the gaming performance and overheating problem. I'm playing pubg mobile and it's very smooth on pubg for 5 minutes. Than phone heats a lot and i cant play stable. Heating issue is making the games laggy. And my display's sensitivity distorting because of the overheating. I hope u guys can fix this issue in another builds. Thanks a lot !
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Prostokuche:
And so I have come around to trying this rom. Everything by far works splendid with minor insignificant bugs here and there but I have found that the second mic does not work which makes it hard for people to hear you in speaker mode or on any call over the internet. I'd be glad if this were fixed somewhere down the line as it's not that important right now either way. Thank you for your hard work!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Dono Twanna:
Thank you very much for bringing LineageOS 15.1 to the A310: A perfect starting point for a Google-/Facebook-free phone.

My (fairly clean) test-install has a couple of issues:

- The second mike doesn't seem to work, I have the same difficulty with calls on speaker as Prostokuche. Also the speaker volume is very low, despite being turned up all the way on the phone.

- When the screen turns off GPS-tracking stops (as reported by mswmsw) and weather doesn't update.

- Orbot-VPN blocks all internet access on mobile data and wifi, even Orfox.

Could the latter be connected to the May security patch for Oreo? It seems that this problem is inherent to Oreo before this patch.

I wonder if this security patch could also be the solution for the VoLTE problem?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kluknawa235:
wow, great work for a310f.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] NetfariousIntent:
KMX.

Why are you blankly ignoring Matthieu and Me ?

I believe we did nothing wrong to hurt your feelings and if we did; we did not know and we're terribly sorry for that.

You don't respond to Matthieu's SMS' and Calls, and you don't respond to my donation and messages.

You should start responding to people normally.

Where is the old good KMX ?

please.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] rekin79:
but you are raving, how are you gaining benefits, everyone loves kmx as something is wrong, how miserable it is ... childishness.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ÉNITSED?:
Good return and thanks!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] tys0n:
Offline charging seem to be buggy.

First try nothing happened, just black.

Second try, battery from param was showing, then black screen. No animation so I don't know if it charged or not.

Thirt try, phone booted normaly when cord was connected.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] :
You mean the black screen is battery related?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] tys0n:
No. This was when i tried charging with the phone off. Three tries gave me three different outcomes :P
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] xEmre66:
Yeah, off charge is not working.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] NetfariousIntent:
(deleted)
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Android66123:
I have tested this ROM. It is very nice and smooth. However, when I receive a notification when the device is sleeping, it causes a wakelock and screen gets black and needs to hard reset with the 3-button-combo. All other bugs I have found are:

-Bluetooth

-NFC

-Camcorder

Video playback works fine, although it only renders the video via SW instead of HW.

Great work! Keep it up!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Solonu:
Android 8.1?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ●CaloMarzi●:
No 8.0.0.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Solonu:
Yeah but I mean is android 8.1 coming
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Solonu:
When i install the rom without gapps its smooth but when i install it with gapps,its buggy

---------- Post added at 05:44 PM ---------- Previous post was at 05:42 PM ----------

Will you add the download link of twrp 3.2 in this thread or another thread?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] :
Actually i can't get a working TWRP 3.2, i don't know why.

But i'll do in new thread
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Solonu:
Ok
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Technoboss28:
Thank you so much!

This is the first Oreo ROM I've seen for the a3. Thanks you soooooo much:D
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] CStadler:
Share a link for the thread when u do, thanks
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] boudiobeid1:
Thank you
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] javad kh:
tanks!no more update?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ●CaloMarzi●:
Do not ask for ETA.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] robbsykes:
is this still active....whats the latest release please
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
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.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] pino222:
Hello, thank you for the Information about development of this ROM and providing your custom build :good: :)

The kernel used in this build is the 4 core or 8 cores enabled version?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
It's the 4 core version as is stock on the phone.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Wiltoncandido:
Thanks danwood76 and Congratulations on your version.:good:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] charlander:
it says error when i flashed it. how to install?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] erenunkun:
Use TWRP 3.2.1
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] charlander:
what gapps are you using? playstore won't open using the gapss on first page
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] erenunkun:
I am using nano gapps
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I use opengapps nano.

https://opengapps.org/

Select ARM, Android 8.1, and then nano.

"mindthegapps" was a stop gap whilst opengapps got up to the latest version.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] charlander:
camera won't open. do you encounter the same issue? I flashed gapps nano
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Is this a clean flash?

You can't flash opengapps over the top of mindthegapps AFAIK.

Camera works fine for me, only issue is that switching to the QR code reader crashes it and then a reboot is required to get it working again.

I have only used the lineageos camera though.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] charlander:
yes, i wipe everthing and then installed the lineage and gapps, after 3 shots camera won't open
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Which A3 variant do you have?

I have the A310F and the camera works well on that.

Which gapps are you using?

Did you install lineage and gapps at the same time (no boot in between)?

Which camera app (stock lineageos or google)?

Are you able to get a logcat of the issue?

Does a reboot of the phone help?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] charlander:
a310f 2016

gapps are 8.1 nano

lineage

unfortunately, i cant give you a logcat of the issue.

nope. i reboot a many times but still camera won't open
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I have not seen the problem you are experiencing.

I would recommend erasing everything (System, Data, Cache) and reinstall the ROM and gapps in one install queue.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kluknawa235:
i flash this gapps and all works for me on latest build

MindTheGapps-8.1.0-arm-20180320
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] chertVdetali:
Upstreaming it?

Hi, thanks for the efforts! Would you mind to share the sources?

And has anyone considering putting this port unto official LOS umbrella?

https://wiki.lineageos.org/submitting_device.html
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kluknawa235:
[MENTION=6707196]danwood76[/MENTION] please keep alive this rom and continue on developing
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Dono Twanna:
[MENTION=6707196]danwood76[/MENTION]

Please do keep it alive. The VPN bug makes this ROM pretty much useless despite all of the other strengths it has.

I'm not a developer, but I can't help but wonder if the newest security patch might not fix that and VoLTE. It seems to have done that for stock S7 ROMs.

Update: May 5th security patch on lineage-15.1-20180606-UNOFFICIAL-a3xeltexx does not solve the (Orbot) vpn problem. :(
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
The orbot vpn issue appears to be a bug in the app as it appears to affect quite a few devices running lineageos.

I did have a play with it and there was nothing obvious in the logs it created, one thing I did spot is that it needs the storage permission for the VPN to work (can be enabled in app->permissions). Once enabled it did connect but I couldn't get any internet.

I regularly use OpenVPN on my phone without issue so I think this must be a Tor or Orbot issue, neither of which I can fix.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] senemir:
[MENTION=6707196]danwood76[/MENTION] is there any problem in gaming? My fps is too low on Pubg Mobile with stock rom. If i install your build will i get overheating issue or fps drops? Maybe you are not interested in gaming but i need to know that if it has a overheating issue like other lineage os 14.1 and 15.1 builds.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I don't do gaming on my phone but I installed PUBG to have a play anyway.

It seems to run OK, it isn't the smoothest experience but certainly playable. Phone got warm but not hot (I think if you have it plugged in to charge it would get warmer).

Personally I'm not really sure why you would want to play a FPS on a phone but each to their own.

I guess you would need to test it out and report back as your measurement of playability will be very different to mine.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Kell5719:
Speakers don't work for calls, the other person couldn't hear me... :eek:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Wiltoncandido:
This happens sometimes with me, not always but sometimes
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] basimamata:
Fix call audio add this to build.prop ro.qc.sdk.audio.fluencetype=none
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
There is an audio fix that will be in my next build that should sort a few of the audio/call issues out. It seems to be working quite well for me at the moment.

The 'fix' from basimamata disables the audio noise cancelling which is usually undesired as the person on the other end will hear echos.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Wiltoncandido:
thank you ansious to test
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Kell5719:
What about camera FCs?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Kashyup808080:
Can any budy port this rom for galaxy a7 16
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
A port for the A7 was started but none of the devs had that phone so it made it very to develop for, not sure on its current status. It certainly was never released to the public.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Kashyup808080:
What about now if we want to port we have testers ready .

Because currently there is no stable aosprom for a7 16
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
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
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] lawliet80:
Thanks a lot!

I am going to try this out and tell you if something is wrong or not :good:

It's nice to see the a3 is not abandoned. :cowboy:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] dd147:
Hi. When you add a contact there is no function "save to SIM card". Only stores contacts in the phone memory. Can you add this function to the firmware? Thanks in advance.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Wiltoncandido:
LOS does not have this function she does not read your sim card contacts and this is not a problem.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] dd147:
Firmware quickly discharges the battery. Is there a solution to this problem?Thanks in advance
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] lawliet80:
[MENTION=6707196]danwood76[/MENTION] i also got the feeling the battery is less effective
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
This can be caused by the NFC, the NFC HAL is quite buggy (I have tried several fixes to get it more reliable but unfortunately all the exynos based ROMs seem to suffer with the NFC in one way or another).

The main issue on the A310F LOS ROMs is that on startup the NFC is always enabled, even if LineageOS thinks that it isn't.

The way to fix it is to try and switch it on (in the quick tile or settings menu) and wait for 5 seconds or so, if the NFC doesn't show as enabled you then need to reboot the phone.

Once rebooted the NFC should now show as enabled (wait for 10 seconds or so after boot) in the settings and you can disable it again to save power. In the broken state it never goes in to low power mode in sleep/doze so it is always scanning and draining battery. You can avoid this broken state by enabling NFC before you power off or reboot, there might be something I can add to the overlay to force it always on at boot.

One other thing that can zap battery are background WiFi scanning (enabled by google maps but sometimes not switched back off again when you disable location).

I get around 4 days out of one charge on these builds with light usage. I don''t play games I mainly use WhatsApp, calls, and web browsing.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] jrafael:
Please forgive my ignorance, how is the camera quality and performance of LOS (ie: photos/video) compared to stock TW, (don't care about beauty filters or things like that)

Thanks in advance
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Photos and videos are good, however I haven't used the stock camera for a very long time so I'm not sure how they compare with any tweaks the Samsung camera app makes after they are taken. If you use the google camera on Stock they should be the same quality as that as we use the stock camera HAL.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] knallfr0sch:
Hey guys. I'm running this build and my phone app won't show the call dialog when someone calls me or I call them. Audio works.

Edit: To be clear: People can call me, but i don't see the "pick up" options. When i call them back, eg by clicking on "Missed call from ...", my phone calls them but does not display any app for that; meaning i can't hang up.

I have a SM-A310F,

...20180625...,

Kernel from Jun 25 21:06:07,

Build number opm2.171026.006.c1 12f607597a test-keys

Is there a known solution? I got a german (+49) number, if that matters.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Very odd, I haven't seen this before

It sounds like the phone app is miss-configured for some reason. Was it a clean install or an update? I think some apps (like Facebook) try and be your phone app and screw settings up.

You might fix it by resetting the lineage phone app as your default phone app (Settings -> Apps & Notifications -> See All -> Scroll down and click phone -> Scroll down and select phone app and check it is the phone app in that menu) and then try making a call.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] sakuja90:
I saw the same issue on my A3. I´ve updated the phone app and other apps eg. messaging app from playstore. this helped me to get it working. I´ve also a german number (+49). If this does not help pls try to install a second phone app.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] knallfr0sch:
Thanks. Can't believe I have missed such a simple fix. It was probably WhatsApp or Telegram with their Call-ability.

The ROM is working completely fine for everyday use (I don't use NFC or things like that.) Thanks for porting, guys.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] batterytwo:
Mine too, the stock camera could not work normally .
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
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 [MENTION=5368296]sekil[/MENTION] for the initial wrapper)

Switched to the Bioshock CPU governor as this really saves battery (thanks [MENTION=5918415]nr23730[/MENTION])

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
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Wiltoncandido:
This Dany very good create your own topic your corrections are very good congratulations for your work.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Thanks.

I have created my own project now:

https://xdaforums.com/samsung-a-series/orig-development/lineage-os-15-1-a3-2016-t3813109

Regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] carvalho_:
Thank you so much! I just installed it and it is awesome!;)
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] sreekmtl:
Thanks for providing this wonderful OS

Lineage OS 15.1 based on Android O is a good upgrade for Samsung A3 2016 users from Nougat to Oreo. The OS is fast , simple and powerful. Every features are working fine except networking and battery.

I am feeling problem with dual sim support and the phone only support SIM card that i used during the first boot. To use another SIM, i want to restore the stock OS and re-install the entire firmware. The battery is draining very fast even if the device is idle. I am expecting a new update by fixing these problems.

---------- Post added at 06:30 AM ---------- Previous post was at 06:10 AM ----------

my battery drains upto 20 percentage during night time
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] pixelou:
EDIT: Wrong thread
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] sreekmtl:
Why VoLTE is not working in this ROM, but VoLTE is working in the same ROM in this youtube video link- [youtube]-Z29mW9rWuU[/youtube]