[UNOFFICIAL BUILD] Samsung Galaxy A21s (a21s) for /e/OS-S

Yeah, I can also confirm that Lineage 20 works fine. That only makes it more annoying that I can’t figure out how to install e/OS/.

I’ve spent many hours trying to figure it out and look how many roms @ronnz98 made, it’s insane that none work.

Maybe I’m headstrong or just stupid but I’ll give it one final try. I have a few more ideas.

1 Like

Sources were updated… so next try:

e-2.5-s-20241120-UNOFFICIAL-a21s.zip

1 Like

Can I please ask you if it’s possible to build e/os/ version 2.3. or lower from this sources?

Thanks.

Just a little context for anyone who wants to try the latest build - this is the first fully functional version of e/os/ for A21s.

As always, there is catch 22 - everything works on the first boot but as soon as you reboot or power off your device, it goes in e/os/, restarts and ends with blank screen every time.

I think I can make it work with the older version of e/os/ (2.3. or lower) as I’ve seen this error before.

if you want to build using repo this would be instructions for 2.3 T:
repo init -u https://gitlab.e.foundation/e/os/releases.git -b refs/tags/v2.3-t
then
repo sync
and maybe also:
repo forall -c 'git lfs pull'

Sources for LOS19 are to be found here:
https://xdaforums.com/t/rom-android-13-unofficial-lineage-os-20-0-for-galaxy-a21s.4657154/

Just a thought, would it be possible to exchange the boot image and try?
Also did you perform a clean install or a dirty over the 2.3 T version?

1 Like

I could not build for LOS19 but as sources were updated I made a new /e/OS-S build:

e-2.5-s-20241123-UNOFFICIAL-a21s.zip

Sources were updated a lot, please see newest build and instructions:

e-2.5-s-20241127-UNOFFICIAL-a21snsxx.zip

https://xdaforums.com/t/rom-android-12-1-unofficial-lineage-os-19-1-for-sm-a217f.4704871/

3 Likes

Both work, the last one works better and I tried mobile data, wifi, calls and other primary functions and everything is fine.

Thanks a lot, it was a long journey but you succeed in the end. You are a real trooper.

For me, unfortunately it’s a bittersweet victory becasuse same as before, Advanced Privacy is not working fully on all @ronnz98 unofficial roms since 2.4. upgrade. On official builds I have no problems.

I believe most people won’t even notice it but in my country, banking and some location apps are not working without fully functional AP so I guess it’s the end of the road for me for your unofficial builds.

I’m already looking at the differences between your and official roms, I’m also trying my own builds. Of course, I’ll post an update if I find the solution.

So once again @ronnz98 - thank you for building so many roms, I stumbled upon e/os/ because of your thread on xda (for Samsung S6). Much appreciated.

Have you tried to install latest AP:

?

Whats not working with Advanced Privacy?
And which devices?

Yes, of course but it’s not enough to just install it but also set some system permissions.

Tutorial is this:

AdvancedPrivacy requirement against the system

AdvancedPrivacy needs to be installed as system app and whitelisting in order to grant some system specific permissions. Follow these steps to make it work properly on /e/OS

  1. From Developer options, enable Android debugging and Rooted debugging
  2. Sign the apk with platform certificate. You can use this command to do that
apksigner sign --key platform.pk8 --cert platform.x509.pem AdvancedPrivacy.apk app-e-release-unsigned.apk
  1. If you are running your tests on an /test build, you can find keys at target/product/security · v1-q · e / os / android_build · GitLab
  2. Install apk as system app and push permissions whitelist with following commands:
adb root && adb remount
adb shell mkdir system/priv-app/AdvancedPrivacy
adb push AdvancedPrivacy.apk system/priv-app/AdvancedPrivacy

Push permissions whitelist.

adb push privapp-permissions-foundation.e.advancedprivacy.xml /system/etc/permissions/

Allow the fake location service to run in background. Add in the file /system/etc/permissions/platform.xml .

I did all of that but this last step is elusive to me: Allow the fake location service to run in background. Add in the file /system/etc/permissions/platform.xml .

Do you know how to do that last step?

Tracking and set location through 3rd party apps.
I’ve already written about it before:

Samsung S6, S7, S7 edge, A20e, S20 Ultra, A40 maybe some more that I don’t remember.
On all of them I had the same problems and in the end I used official build or your older build.

1 Like

ok Thanks for letting me know. I will rebuild 2.6 repos completely new when available. Maybe its an issue that I did only a repo sync update and not a full repo rebuild

1 Like

It looks like problems with Advanced Privacy are related to the 2.5. version of e/os/ and not with AP app itself.

On the feedback section for the official e/os/ 2.5. version others have also noticed that some banking apps don’t appear in AdvancedPrivacy list and that set gps location doesn’t work.

Update for /e/OS-S 2.6

e-2.6-s-20241211-UNOFFICIAL-a21snsxx.zip

I believe the new device trees for Lineage OS 20 is provided for the A21s. It would be great if they try again with Android 13, or even 14. :blush:

This one failed to install for me.

I suggest to use 2.5. version which works perfectly (not a single reboot for me in over 10 days, very smooth and stable).
Those problems that I mentioned before are e/os/ specific, it’s not only on unofficial roms and I believe most people won’t even notice it.

1 Like

Does this version work? Sources were updated:

https://sourceforge.net/projects/eosbuildsronnz98/files/SamsungSmartphones/e-2.6.3-s-20241227-UNOFFICIAL-a21s.zip/download

1 Like

The system itself is fine, but the zip won’t install because of the dreaded error about partitions:

assert failed: update_dynamic_partitions(package_extract_file(“dynamic_partition_op_list”))

I managed to install it over 2.5. version by sideloading 2.6.3. zip with only system files (it ends with an error but it installs system files) so I can confirm that everything works on 2.6.3. version.

1 Like

Hello, my mobile phone is a21s of A217F version, does this ROM support volte and wifi direct well?