yashsingh1/xdaforums huggingface dataset:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] setecastronomy:
@kurtn Removing gapps is ultima ratio and I would like to avoid that, if possible. Bromite is nice, looks like a better Chrome. However, the memory usage in total is apparently worse than FF's when you open more than a couple of tabs.

@danwood76 Open Gapps Nano. Installed from scratch 1-2 years ago, during LOS 16-to-17 migration, regular Market updates since then. Except for GMS there are no google apps in the top 10 of memory eaters. The only extra google app here is Maps and maybe TTS, and I usually use F-Droid alternatives where possible.

I monitored the top output (CPU and RES sorting) for a while. kswapd0 kicks in quite often (in Top 5 for some seconds) even when switching from Terminal to some small app like Etar calendar. Swap usage varies between 300 and 900mb. AFAICS the cause is the variety of apps with persistent background services (like 5x messenger apps, the Corona app, weather warning app and other notification services, etc.).

So that's why I've asked for RAM compression, like zRam. In the meantime, I found https://xdaforums.com/t/module-magisk-zram-zswap-starter-for-j4-and-j6.4098659/ and "Performance Control" in F-Droid but a) they seem to be abandonware and b) /dev/block/zram* is missing so I guess that your kernel doesn't include CONFIG_ZRAM. While looking around I discovered that Xiaomi guys also tune some things for low-ram conditions, see https://github.com/BYZYB/android_device_xiaomi_libra/releases/tag/v2021.01.16 . However, I have some doubts regarding KSM, A310f doesn't really have lots of CPU power to spend on it.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Topster77:
Great to see the phone is still alive! I just discovered it and now I can use the phone again with recent updates - thanks!

Could someone explain the chances for getting LOS 18.1 (official)? I have no deeper understanding of software development, but the page above looks like this is still in preparation, needing some approval...? Or is this a dead initiative?

Thanks for your comment!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
We already have compressed RAM using "Samsung Swap" which is the swap usage you are seeing.

I will have a play with kernel Zram as it may be a better implementation than Samsungs.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Topster77:
@danwood76: Sorry to bother you, but I think you are maybe the only person to answer this... Thanks for your help and support!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
It is progressing.

Just waiting for a final review. We are all busy people but it will happen soon.

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Topster77:
Thanks again!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I have now backported a later ZRAM implementation to our kernel/devices and it seems to have made quite a difference. I think the Samsung implementation is old and slow.

This is only on the LineageOS 18.1 kernel right now. I don't think I will have time to port it back to the 17.1 kernel and device trees. Maybe I will upload my testing builds to an XDA thread later.

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] krocotavus:
I got the same issue. Using lineage-17.1-20210808-nightly-a3xelte-signed and twrp-3.5.2_9-0-a3xelte. Haven't checked if wifi direct worked before installing magisk. Can somebody point me where to look for why it is disabled? Many thanks

edit: seems like xbox gamepads don't work too.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] general.nie7:
Hey @danwood76, just wanted to thank and congratulate you for excellent work with this phone, I needed something small and cheap with official Lineage and finding out that you're working on bringing 18.1 I just got myself A3 2016.

I know it's usually not an easy task, but is a rough estimation of when official 18.1 possible? Is it more a matter of few days or few weeks? Only asking because if it rolls out within next days I'd skip configuring 17.1 now.

Cheers!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] general.nie7:
I've encountered one small bug - lock with delay (after certain time from screen going off) is not working - no matter the setting, the phone locks as soon as the screen goes black.

edit: another bug - audio recording from distance - say with Camera or Audio Recorder - is very silent. Perhaps secondary microphone not working? Tested on clean install. On stock records fine, so not a hardware problem.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Hereis a thread with my unofficial builds of 18.1:

https://xdaforums.com/t/unofficial-lineageos-18-1-for-a310-a510.4321901/

Thanks for your support.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Topster77:
I cannot start the SIM toolkit which I need to switch my phone line from private to business and back. Can someone advise? There is the symbol of "SIM Tool" in the app list, but when I tap it, there is no reaction.

Thanks a lot.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Unfortunately Sim Toolkit doesn't function correctly. Samsung RIL is implemented in a non standard way and it would require a lot of work to make it function. This is essentially in the same camp as IMS services.

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Topster77:
So this is not a general LineageOS issue, but Samsung-specific? Thanks again!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Certainly specific to any Samsung device which uses the open source RILD. I can't comment on any other devices.

Usually the sim tool kit only dials phone numbers or send text messages. You might find a number you can dial to achieve the same functionality.

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Is there a chance for LineageOS 18?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kurtn:
Yes. Unofficial already released
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] hchauvet:
Hi,

I got the same GPS fix issue on my device (LOS 17.1 without OpenGapps), sometimes fix appends (after few minutes), but it's very rare.

Do you have any advice to move on this issue?

Thanks for the lineage port on this device ! Apart from the gps fix everything works great!

Regards,

Hugo
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
GPS is working great here.

You will only get a quick GPS fix with AGPS enabled (a good LTE data connection is required) and if you are outside (GPS does not work indoors).

Without working AGPS you should get a 3D fix outside in around a minute (that is normal for GPS).

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] hchauvet:
The fix outside is very rare, usually I could wait 1h (with a clear sky above the phone and whiteout moving) and didn't get any fix. GPSTest brings some satellite into view with low signal level and then lose them before fix can occur.

I didn't find any clues with logcat.

Regards,

Hugo.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Strange.

Can you attempt to get a fix outside and then generate a lineage bug report and send it to me?

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] afterglow:
Ok that seems to me a little weird, but, aren't there the options to set up PIN or pattern for the screen lock?

im only having Swipe and of course it not very convenient for us to have everyone unlocking our phone , haha.

I have installed Nova 7 launcher and i had a look there too in case it messes with lineage settings but i dont think i can find anything related to this there either.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Try the security settings.

It is a basic feature.

Regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] afterglow:
i know..this is where it has always been. But .. Settings -> Security -> under Device Security there is "Screen Lock" -> None or Swipe are the only options. Nothing else.

:|
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] TwiceThrice:
Is it possible to install any custom kernel for tweakings? I can't find any except those supporting 7.0 os
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
No.

The kernel in LineageOS is heavily optimised, you really don't need or want to mess with any of them internals.

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I'm not sure what your have done to your device but I have a screen lock in my A3.

Try a clean install and make sure you format the data partition (backup your data first).

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] afterglow:
im not sure either haha.perhaps after upgrading to 18.1 things will get back to normal haha :D
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] exzemat:
Hello,

to be clear, is it your banking apps to control banking account or banking app to pay with NFC ?

Because no way to use paylib by CreditAgricole (franch bank) with this rom...
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
My banking app to control my account won't work without Magisk hide enabled (and all hide settings enabled for the app).

You also need to enable Magisk hide before you run it for the first time.

Good luck,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] exzemat:
ok.

somebody succeed to use banking app (paylib) to pay with NFC ?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Google pay works for me.

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
I wouldnt say that LineageOS is "heavily" optimized. If you take a look at the performance of ExOS ROM, then you clearly see a huge difference. Also the battery drain is much better under ExOS.

The only negative aspect of ExOS is that it was sadly abondomned.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Problem in the latest build:

After I downloaded and flashed the latest build, my Pixel Launcher got bricked and now force closes itself.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
The kernel is heavily optimised (which was the original users question) and LineageOS is very light (no real bloat on top of AOSP). LineageOS 18.1 still runs quicker and smoother than stock. But hey you of course know best with some crappy piece of abandon-ware.

Pixel Launcher requires hardware features that do not exist on these devices (I think it needs AOD or something).

I would guess that if your device is running slow and has high battery drain it is because you are using a bloated Gapps package and are running out of physical memory. Stick with OpenGapps Pico/Nano and you will have the best experience.

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Wow wow dude, whats your problem? Fact is ExOS runs thousand times faster than LineageOS - just try it if you dont belive me. That this rom (ExOS) was abondomned is an very other thing - thats why I said that its sad to see a performance ROM like ExOS got abondomned.

And yes, LineageOS is faster than the stock ROM of the A3 16 but ExOS is still faster.

And sorry if it sounds for you that I dont appreciate your work for the A3. Thank you for the updates and your work bud.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
I don't have a problem, you picked on a comment I made about the kernel. I simply responded to correct you.

You are also comparing apples and oranges. Your beloved ExOS is based on stock Nougat (7.1), LineageOS 18.1 is based on AOSP Android R (11). With the additional features and security it will have a larger memory footprint, if you bolt on a stupid bloated gapps package with pixel launcher then you will slow the device down (your ExOS doesn't appear to have pixel launcher either).

Usually people who have performance issues are using the largest Gapps package they can find, these devices are 5/6 years old and have limited RAM. Do not fill it with bloated gapps.

Regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Some strange things going on here.

I updatet to the latest build and like I mentioned above, my Pixel Launcher stops working. So **** that I thought and did a full wipe and installed the latest build on my full wiped phone. Now my phone is saying that there arent google play services installed on it (This time I installed GApps Nano and also tried now "Micro", which I had installed before but still the same problem).

What could it be?

Is there something that I missed?

I will try it with the aroma package now and then make a short edit.

EDIT:

The latest Open GApps package is the problem here. I downloaded the 20211008 one and it worked!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kurtn:
Full wipe also includes factory reset or formatting data. Then you flash lineageOS and gapps android 10 arm in one recovery session.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Thx for your reply but just like I said above, I wiped Dalvik, Cache, System but it didnt work for any reason.

Now I tried to install from internal storage and this also didnt work. The phone still says that google play services are missing.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
You need to wipe data, cache, system. (If coming from a stock based ROM you actually need to format data). Then install ROM and gapps in that order without booting in between.

I suspect you are trying to install gapps after booting (or not wiping the data partition).

Regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kurtn:
More wipes!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Guys the problem was the G Apps packages. The latest build that I downloaded, jsut dont installed Google Play Services for any reason. I tried with another build and it worked.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Is there a way to force PIN request if you want to turn off WIFI or Mobile Data durin the device is locked?

Makes no sense to me that everyone can theoretically turn off functions like GPS, WIFI and Mobile Data while the device is locked.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
No. But anyone can power off your phone? Essentially disabling all of those at once.

I really don't understand the need to have any of those behind a pin code (that is also the consensus of the LineageOS dev team as well).

Regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Is this not a high security risk then? I mean for what a PIN exists then? XD
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Sure, it is very high risk that someone could turn off your WiFi.

That is always my biggest worry. :ROFLMAO:
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Sure bud, do you have some problems to follow a conversation or something?

You talked about "Everyone can turn off your device and disable those at once".

Now Im talkin about why the **** is there no PIN query if someone try to tunr off the device?

Dont you think that this makes no sense?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
If someone wants your data and has physical access to your device your only protection from them getting your data is by encrypting it (the device supports FDE, enable that in the security settings).

An attacker can always power it off or force a reboot (force reboot is a hardware key combo which you cannot disable), there is literally nothing you can do to stop that and as you have an unlocked bootloader they can flash whatever they like.

Passkey protecting WiFi/Power/etc really won't help.

Either encyrpt your data or go back to stock (and do the same there).

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Suakey:
Agreed but why should I make it for an person even easyier to get access to my data?

Or imagine the situation of people who dont want to steal your device, they jsut want to **** you off so they disabling your WIFI or Mobile Data or even turn your device off even if its locked. Yeye I know, they also can force the device to turn off but there are no all nerds in this genre. For me personally it would be better if lineage had this stuff build in for more "light security".

Is there no app or even magisk addon that can do those fine tunings?

And the case with encryption. Do encryption impact the performance a lot of this device? I only do office stuff on this phone like messaging. And sometimes music **** and stuff.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
It is hardware backed so there should be no performance impact. I certainly never saw one when I ran my A3 encrypted on LineagsOS.

It is not "security" at all, just don't let people you don't trust touch your device.

If you want to add the feature LineageOS is open for public changes. Just write a patch and submit it to gerrit for review.

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Freddew:
deleted.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ono123:
I have a question, my Samsung a3 2016 still able to open TWRP recovery, download mode, but when I re-installed lineage it was successful but couldn't boot into the system. Is this a hardware problem? I tried to flash with stock rom with Odin but never success, I still use this cellphone as a secondary phone
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kurtn:
Yes. Smells like hardware issue. Did you try to do a factory reset after flashing lineageOS?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Have you tried a factory reset? (Wipe data/cache/system and reinstall)

Like regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] ono123:
yes i did factory reset first, and still nothing happens. it's time to say goodbye to this phone, i already bought other phone as my secondary phone😭

Thank you so much Danny and all contributors that keeps this phone up to date until now😉
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Jive_c64:
Hi Guys,

first of all thank you for bringing this cool rom for the good old a3 (2016)

I have been successful with installing the rom.

What i did:

- OEM activated

- usb debugging activated

- TWRP installed

- followed the above instructions.

Installation went smooth and the first start with android 10 was absolutely cool.

But: When is restarted the phone, I refused to boot. It said that it is blocked because of FRP.

I installed the original rom and tryed again, played it save with OEM and Debugging. But the error accured again.

Any idea what went wrong?

Thank you very much for helping me out!

Jive
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kurtn:
Some issue with GApps? Was there a Google account on your phone before oem unlock?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Jive_c64:
Yes, I think that was the way. There was a Google account, but I erased it (factory reset).

What should I do? The samsung original rom is now installed but I have not logged in on the phone.

Should I try out now? (but then USB debugging and OEM unlock is not active...)

Thanks again.

Jive
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kurtn:
That's nothing i usually do. But maybe you should setup the phone with the original Google account. Next remove Google account and oem unlock.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Jive_c64:
That was the way i did before. When i start the device now it will tell me that i have to declaire that i am the owner. After doing so, i can use it again with the org. google account.

Then I did OEM unlock and removed the google account.

I will try again. Maybe it is not working properly because it is a kid's account with family link? Although I used family link to unlock developer options and remove the googe account. The message in family link was like that i could give the phone to someonelese now.

I am a bit confused.

Is there a way to turn off the FRP? I thought i was doing so by unlocking OEM.

Maybe: After removing the account OEM is active again? Because it is the usual setting?

Thanks again folks and greets

Jive
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] sienleun:
Hi,

I flashed lineage os 17.1 to my A3 today, after the setup I looked to device information but I cant see software Information section. I'm worrying about it will frp lock error because I cant open the developer mode and oem unlock.

How can I fix that?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] sienleun:
I opened the developer mode but now I cant find unlock OEM.

Is it normal?
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kurtn:
Developer options get activated by tapping build number in "about phone". But there is no oem unlock in lineageOS.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kurtn:
That's normal.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Jive_c64:
I am still stuck. I tried again today. After reinstalling the original ROM i was asked to certify the identy with logging in. I did that i chose than to set up a new account.

After that i skipped google login. I activated usb debugging and oem unlock.

Then I installed TWRP via Odin and flashed the image.

I can setup the device. Without connceting with google account i can use the phone and restart it.

After login with google on the phone and restarting I get FRP blocked...

What is going on? What should I do?

Thanks a lot for helping me out!
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
Installing family link disables OEM unlock. So you will get instant frp lock.

No way to use family link on custom ROMs unless you can relock the bootloader which is only a few QC devices.

Kind regards,

Danny
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] sienleun:
Thanks you for help
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Jive_c64:
Hey danny,

thanks for explaining that. Now all the stuff makes sense. It is a pitty that there seems to be no? chance to use family link and that nice custom rom.

I used a custum rom and family link with a samsung s5, but that had probably not the same security stuff as the a3 (2016).

You said that I need to relock the bootloader. Is there anychance to do so? As far as i understood my a3 has NO qualcomm.

Thanks in advance.

Greets

Jive
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] danwood76:
You can't. You would need to digitally sign the recovery and system which we can't do.

Not sure if changing the frp partition pointer would fix family link.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Jive_c64:
Thanks, Danwood76 for explaining.

That is a pity. That's why I have to decide between Android 7 and Family Link and Android 10 without family link...
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Jules_1606:
I have the problem that my phone (A3 2016) no longer installs OS updates.

The updates can be installed without error message but after that everything is as before.

If you go back to the update menu after the update, you can install the same update again.

So it is not really installed.

At the moment it hangs on the following update:

LineageOS 17.1

February 14th 2022

463 MB

The phone has already been reset to factory settings and the dalvic cache has been cleared, unfortunately no improvement.

I hope someone can help
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Pierre49976:
There is no update to install since February 14th :

LineageOS Downloads

download.lineageos.org
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] Jules_1606:
@Pierre49976​

I know that the problem is that I can not install this update.

It always says that I have to download the update again.
[Galaxy A3, A5, A7, A8, A9 Original Android Develop] kurtn:
Can you take a look at android security patch level?