yashsingh1/xdaforums huggingface dataset:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] usrnm42:
Apps (e. g. OsmAnd, VLC)/Magisk + nanodroid functionality disappear after Update

Hello,

since this is my first comment let me begin by thanking the developers of this Lineage flavor for the SM-A510F.

I've been using it since the Unofficial days and it has been a pleasure all the time.

As you might have guessed, recently I have stumbled upon a problem.

Every time I use the built-in Updater functionality to update the OS to a current nightly - something I want to do about once a month - a couple of apps "disappear" and the functionality of some system-relevant software such as Magisk and microG cease working.

My solution so far has been to do a backup prior to an update - which is probably a good idea anyways - and to restore the disappeared apps (K9-Mail, OsmAnd, VLC, Snapseed, two more I can't recall) and to re-flash Magisk as well as the nanodroid subcomponents for FDroid, microG and do a nanodroid patch for signature spoofing.

Obviously this is not a real solution and I find it unnerving as well as confusing because of the diverse nature of apps and functionality "disappearing".

I would appreciate any input and ideas as to the cause of this - and of course hints for a proper solution.

Best
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] papypaprika:
Are you moving / installing your apps on the system partition? It might explain they disappear after an update.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Nokono:
I would also guess this is the only reason. No one non system app had disaapeared during my many updates. And magisk reflashes itself after update.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] usrnm42:
Hey all,

thanks for your replies.

I am not doing anything special with the apps I install.

I use F-Droid as provided via Nanolx NanoDroid-fdroid, which therefore gets flashed as a system app to regularly install any other apps. I also use Aurora Store, also as a system app, to install from the Google Play Store.

The weird thing is, that the apps, that disappear after an OS update, are from both sources, e. g. K9-Mail and OsmAnd (installed vie F-Droid), as well as Snapseed (installed via Aurora Store).

I cannot see any pattern here. :-/

I am not really sure right now, if Magisk survives an update. Need to pay attention to that next time.

Last time I re-flashed it as the first in the queue (before the NanoDroid packages) as the whole structure (Magisk, NanoDroid) seemed unstable.

Well, kinda confusing. Sorry.

Still happy about any further input.

Regards
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] jlucas95:
Any plans for Android 10?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I already have working builds of lineageos 17 for the A3 and A5. But 17 isn't ready yet (still quite a few bugs and missing features), when we get the first stable release our plan is to have the exynos7580 devices in the initial official device list.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Zappelphilip:
Hello,

I have installed LineageOS 16 on my son's A5. It is very nice, but sometimes a bit slow, for instance when starting apps like instagram, no matter if it is stored on internal or external memory.

So, I have two questions:

- Are there any perfomance tweaks for this version?

- If I don't need latest and greatest, but rather a fast and stable system, which one should I prefer (for my wife, also A5 2016)? 16 or 15.1?

Any hint/comment would be highly appreciated.

Thank you, in any case, for this nice work!

Kind Regards, Zappel
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Hi,

Official LineageOS 16 is currently supported and most stable.

I have not noticed any slowness when opening apps and this has certainly not been reported by any of the current userbase.

Are you running the latest official release from the LineageOS site?

Regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Zappelphilip:
Yes, my son is running latest OS, updating regularly. Also seen on release of 19th November. I thought, maybe his sd card is slow, but he claims, this also happens with apps from internal memory. It also takes some time, until the screen is completely build up. Maybe simply a hardware limitation.

Gesendet von iPhone mit Tapatalk
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] damocle81:
Hi,

is the FM Radio available in this ROM?

Thank you
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Zappelphilip:
Hello,

checked again. Yes, you need some patience, until an app like Instagram has loaded and until you can finally interact (e.g. scroll) within the app.

For the Amazon app (German), it is even worse, it crashes frequently.

My son has a dual sim version, with only one sim in, in case this makes a difference.

Is there anything I can do or provide for a solution?

Regards, Zappel.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ste.no:
Hi,

First of all thank you for this fantastic rom!

I have installed Lineageos 16 on my A5 and it's very fast and stable.

I saw you talk about instagram and I take the opportunity to report a problem on app.

Pratically video in stories and posts are blurry, they looks in very poor quality. This has happened since I installed this rom, when my device was running official Samsung Nougat rom, videos on Instagram looked good.

I don't know if the problem is related to instagram app or to android 9 or to the rom.

Thank you in advance!

Regards, Stefano
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Well, I do not have the dual SIM variant. Others have reported odd issues in those, maybe a mobile data issue?

I will test the Amazon app and instagrim here and see if I notice the same.

--edit--

One thing to check is that you are running the latest bootloader. If you post the version number here (shown in software info) I can check
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
No, Samsung use a proprietary implementation not supported by AOSP so we cannot support it.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Zappelphilip:
I hope I took the right screenshot.

See Attachment.

Thank you for your help, again!

Zappel
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] klemi71:
Does anyone know a trebuchet developer? I searched around and didn't find a way to request a feature: creating folders within app drawer to organize apps without creating folders on homescreen or having to use a different launcher. In my eyes this function would be really amazing.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
You are on the latest baseband/bootloader so that is fine.

I notice your battery symbol is a bit odd. Are you in power saving mode?

That will limit various things like animations and might slow down app load times (depending on what the app is doing), it might be worth disabling that and retesting to see if it makes a difference.

I tested Instagrim on my A3 and had no issues with app loading or scrolling through feeds/videos, etc. I have been doing some testing on my A5 but I will reflash it with LineageOS 16 today and retest Instagrim to see if it behaves any differently.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Trebuchet is great. Try an alternative if you want more "Samsung" like behaviour, you will not get a developer interested.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ste.no:
Hello,

Is the video quality in instagram very low even in your device?

I had explained the problem in post #496

Thank you!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I have now tested on both my A310F and my A510F with clean installs of LineageOS 16 with pico OpenGapps.

Videos on Instagram play at great quality, photos look great, video recording/taking pictures also looks fine.

So no issues with the app or its loading speed on either of my devices.

Low quality video playback could be caused by poor quality internet, I would expect to see quality to drop with low bandwidth availability.

Or maybe a mod you have installed. Did you install Instagram from the play store?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ste.no:
Thank you for the answer.

The problem isn't the internet connection because my download speed is about 100 Mb/s.

I have installed Instagram from the play store, if I install an older apk version (v. 73) the problem disappear and the videos looks fine.

I have tried to clear data and cache of app, but the problem persist.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Sparubens:
Hey mate, do you have a channel to test 10 builds or do you prefer to keep them private until everything works? Cheers & thanks for the continued effort
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Well if an older APK works then I would say it sounds like a bug in Instagram?

However I am running the latest version (v120) on my devices from the play store without issue.

I cannot fix bugs in external apps. You will need to take it up with the app developer.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] klemi71:
I like trebuchet a lot, too - so I don't want to use another one. I don't think giving the opportunity (enable/disable) to "group" apps within app drawer creating user defined folders is "Samsung" style in any way (at least stock launcher of this Samsung phone didn't offer it). In my eyes it's just structured for more efficiency and not a hello kitty effect.

Linux distros, ... for PC organize their start menu in groups instead of making users search for a program within one big alphabetical list. Why? Android is in progress and at least for me my smartphone replaces my PC for more and more things I did on my PC before and I like it fast, clear and simple.

I didn't want to offend anyone. In my eyes it would improve trebuchet.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
No.

They will be released when they are ready.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I think you are missing the point of the app drawer.

If you want to implement the feature then you can upload it to gerrit.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] klemi71:
Thanks a lot. This is what I asked for.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Sparubens:
Thanks man. If I want faster animations, do I still have to flash HWC Enable Exynos 7580 zip or is this already included in new builds?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Hwc is working in the official builds, no need to flash a temporary zip from months ago.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Zappelphilip:
Hello Danwood,

I talked to my son and you are right, he is using an energy saving mode - sorry, I missed this.

The reason is, that with the original Samung OS, the phone was working for one day. With LineageOS, without this energy saving mode, the battery drains within half a day, he says.

Is this an issue of Pie, of this phone, or should he activate some other features. From what I read in the press, energy saving has been improved with every version of Android?!?

Kind Regards, Zappel
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
There are a few things that can cause the battery to drain fast. Most are cured by installing greenify which stops quite a few apps running in the background.

He will also need to do a few full charge/discharge cycles before the phone will show the true battery percentage (this is the same as on stock).

Which gapps did you install? Pico gapps is best for low power consumption (you can switch opengapps packages by simply reflashing the new zip).
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] cra3y:
Hi

Any chances to make gps.conf file better? I attached the one that I had prepared long time ago and works perfectly.

The INTERMEDIATE_POS and ACCURACY_THRES allows Your GPS unit to report location (to Your apps) earlier (more quickly), when accuracy is less than 30-50 meters and improving. You don't have to wait till location accuracy is less than 10 meters to acquire Your position.

The content of gps.conf file

NTP_SERVER=europe.pool.ntp.org
XTRA_SERVER_1=http://gllto1.glpals.com/4day/v3/latest/lto2.dat
XTRA_SERVER_2=http://gllto2.glpals.com/4day/v3/latest/lto2.dat
SUPL_HOST=supl.google.com
SUPL_PORT=7275
INTERMEDIATE_POS=1
ACCURACY_THRES=3000

EDIT:

I have found small bug - I have enabled bluetooth and there is no bluetooth icon in top status bar (I have settings to show this icon on status bar switched on). Bluetooth is working ok.

Build is from 2019-11-22 (yesterday) + pico GApps + Magisk 20.

The BT icon appeared only when smartphone is connected to another device (car, bluetooth headphones etc).
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Klaerchen:
That's the normal behavior.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Thanks for the GPS tips. I will test your settings.

That is how Bluetooth works on most modern Android phones. You can check whether it is enabled by pulling down the quick tile bar.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] cra3y:
Ok. Thanks for info (about BT):)

How this quick (INTERMEDIATE) GPS-fix works in two screenshots (few seconds between two) - only GPS was used (without google-wifi aid). The first fix ("rough") acquiring is possible due to INTERMEDIATE option (and the circle radius provides by ACCURACY_THRES parameter - the greater one -> the less GPS accuracy is allowed to provide GPS position)

Without INTERMEDIATE option, You will not get first (intermediate) GPS-fix, because GPS will wait for better accuracy and will provide no data at all (only numbers of GPS SAT's and their signal strength), then, when fix accuracy is better - the acquired GPS position will be provided.

[IMG="First INTERMEDIATE GPS fix"]https://i.imgur.com/J002ZbX.png[/IMG] [IMG="Better accuracy"]https://i.imgur.com/GlDWfv6.png[/IMG]

EDIT:

I can confirm that something is wrong with fingerprint-unlock in this ROM. I can add one fingerprint, then I want to add second and the settings app hangs (not responding). After that (android ask to kill this one) I want to open fingerprint menu and again - not responding at all. I have to reboot to get things working again.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I have added you GPS changes to my local repository and can confirm you do get a quicker fix, this will be added to the GPS overlay in a future build.

I have not seen that fingerprint issue, I enrolled 2 fingers on my A5 the other day.

Can you produce a logcat showing the crash? You can use matlog to capture it (open matlog, crash the fingerprint settings, send logs from matlog).

Regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ste.no:
Thank you for the support.

If you have running latest version without problem I don't understand what's the problem in my device.

I will try to reinstall the rom, maybe the problem is this.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] cra3y:
It not crashed (no FC) - it hangs/freeze with blank screen (not responding) and I have to kill (by pressing back button and wait till system asking me to kill this app)
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Still, I need logs to be able to debug. So please run Matlog and then cause the hang and Austen prompting you to kill and then send the logs. I can't debug without logs.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] jangilbert23:
Working For Samsung SM-A510Y?

---------- Post added at 12:17 AM ---------- Previous post was at 12:12 AM ----------

working to Samsung Galaxy A5 2016 SM-A510Y???
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Yes it should do. Test and report back.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] klemi71:
It's there a setting to disable fastcharge? I cannot find it. ?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
No. Just use a standard usb rather than a fast charge plug.

Why would you want to disable it anyway?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] klemi71:
My phone is getting very hot whole charging. I just want to take care of battery if no need to charge it quick.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Nokono:
Then it looks like your battery would RIP soon.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] klemi71:
Maybe, but using fastcharge it was always hot. DevCheck tells battery state is fine.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
It sounds very much like your battery is on its way out. When I took my A3 one out it was swollen but was still behaving normally.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] usrnm42:
Apps disappearing with LOS update - oandbackup culprit?

I might have stumbled upon something related or even the cause of this.

"Upon updating LineageOS, any apps that were installed via the restore function in oandbackup are removed from the home screen and settings app list. When trying to reinstall the apps in question, it is prompted as an apk update rather than a fresh install of the apps."

(I can't paste a proper link due to my status as a newbie, sorry)

github.com/jensstein/oandbackup/issues/263

This sounds very similar to what I am experiencing.

Since I am about to do an update of your LOS build I will do a selective remove and then restore via oandbackup of two apps to see if this is actually the case here.

Are there any logs I could provide you with that might shed some light on my issue?

Regards
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] seujo:
Endless boot

Hi [MENTION=6707196]danwood76[/MENTION] ,

Thank you for your contributions to Lineage ! Very usefull :good:

I ask for your help because I have an endless boot on A510F when installing the nightly releases (last try on "lineage-16.0-20191130-nightly-a5xelte-signed"). No Gapps nor addonsu nor anything else. Clean flash. twrp-3.3.0-0-a5xelte.

It's not a bootloop, the screen stays on running boot animation, the circle slides the curve but never stops.

Note that I am able to successfully install "lineage-16.0-20190627-UNOFFICIAL-signed-a5xelte", but not the 20190707 unofficial and next ones.

Post #459 mentions the same behaviour.

Do you have an idea ?

I have another question: as my capacitive keys are defective, I would like to activate the on-screen navbar buttons, but the setting is missing. How can I display this setting in the Button menu ?

Thanks.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
The boot loop will be because the touch keys are defective. There is a driver that fails if it doesn't find the touch keys and the UI doesn't start.

I will fix this soon, it is on my list. :)
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Any apps installed to the system partition will be lost during an update. If you use the play store to install and Google backup to backup and restore your apps and you won't have issues.

The older way of backing up apps (titanium, nandroid, etc) are no longer advised.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] seujo:
It makes sense. With on-screen nav bar it would be all right.

Thanks again :)
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] maciekbe:
Keys backlit

Hi [MENTION=6707196]danwood76[/MENTION],

After a couple of years, I'm back, on XDA, to use a custom ROM. I played with Samsung ACE and S2 before.

I'm very happy with your ROM. My phone works like never before.

I want to set my keys backlit to always-on, the slider fully left. It looks like the backlit uses my screen timeout instead. I use the phone in my car, as permanent navigation. A navigation app keeps the screen on. Then keys backlit shuts off after screen timeout. Is it possible to keep them on together with a screen backlit?

(In my old rooted Samsung phones, I could install a mode to configure keys backlit behaviour, including brightness.)

Thanks!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Key backlight settings are in Settings -> System -> Buttons I think. There is no brightness setting as the hardware doesn't support that functionality.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] maciekbe:
Yes, there is not.

How about the keys backlit timeout? I can't set them to always-on.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] maciekbe:
If I set like at the pic below, and a navigation app keeps the screen on, the buttons illumination turns off after a screen timeout time. For example, when I use navigation and my screen timeout is 30 seconds, keys backlight turns off after 30 seconds. Isn't it a bug?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Sounds like it, if you set it to "don't turn off" you would expect them to stay on permanently.

I will look into it.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Tin40:
Hello Danny, I was just wondering if it's possible for you to add the "adjust torch brightness" feature in lineage os? since our device supports that feature on the official firmware.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
The torch tile uses the camera hal flashlight mode to switch on the torch. The hal doesn't have brightness settings so I'm not sure how Samsung do it.

They might manipulate the sysfs nodes directly, not sure.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Tin40:
Thanks for the answer, if you find out how they do it and figure it out how to add that to LineageOS I'd really appreciate that.

BTW good luck with LineageOS 17, hope we get it on our devices till Christmas ?❤️.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Zappelphilip:
Hello,

the last update has made the usage of my son's A5 almost impossible: The keyboard does not show up anymore, the GBOARD settings crash all the time, the play store crashes during start up. :crying:

How can I go back to an earlier version, without loosing the data, please? Is there any other remedy?

Kind regards, Zappel
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Nokono:
For the beginning flash the same update again. If it wont help - just flash one of previous rom versions on top of current wthout wipes
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Did you update opengapps? Sometimes Opengapps has issues, you do not need to update gapps when you do a system update as it gets updates from the play store. Just do the LineageOS OTA.

You should be able to reset the phone without loosing data.

Try this: wipe system (do not wipe data) and then reflash the ROM, OpenGapps (and magisk if required).

Wipe the caches and then reboot and you should be fine.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Zappelphilip:
Hello,

I assume, my A5 is now bricked. Maybe it has got something to do with Google family link. I installed it on my son's A5 and switched some options on.

It seems, for some reason, he rebooted the phone. Now we are stuck at "Custom binary blocked by FRP lock". I even can not get into TWRP anymore, only ODIN, with FRP Lock on.

Is there any known solution for this problem?

Regards, Zappel
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Family link is not compatible with custom ROMs on exynos devices from the 7580 onwards. It resets the OEM lock flag, no way to block it.

You will need to reflash stock from Odin, you can then reload TWRP and LOS
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Zappelphilip:
Puh, thanks, for the moment I am back to stock.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] android4me:
Hi,

today i wanted to connect to a wifi network, authenticated via SIM (802.1x EAP with EAP Method SIM). As a result the screen went black and phone rebooted. I could only stop the continuous reboot when i was outside the range of the access point. Seems that there is a bug in EAP SIM authentication implementation.

Regards, android4me
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I think that EAP-SIM is not supported as Samsung use a proprietary implementation. It shouldn't crash your phone though.

Are you able to dump the /proc/last_kmsg file and send it to me? (needs root)

Regards,

Danny