Development [ROM][PORT][OneUI4.1] RayOS S21FE Port for Galaxy A52s 5G [SM-A528B]

Search This thread

ShaDisNX255

Senior Member
Apr 3, 2014
2,621
1,648
Matamoros
Samsung Galaxy A52 4G
RayOS S21FE Port for Samsung Galaxy A52s 5G
Here it is, finally the full port installable with TWRP which is finally released thanks to the hard work of @BlackMesa123
Enjoy!



Code:
* Warning, your warranty is now void.
* We are 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 flashing this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you. HARD!

Supported variants!
  • SM-A528B


Features!
  • Based on S21 FE September firmware (G990BXXU2CVH7)
  • DeX working (wireless and wired to PC via USB)
  • Live Blur
  • Advanced Reboot options
  • Remaster Picture in Gallery
  • Native AppLock
  • Fixed camera with change of prop
  • Allow screenshots on secure apps
  • Fixed Private Share and Secure Wifi
  • Secure Folder fixed
  • Smart Widgets (Already on S21FE FW by default)
  • Object eraser (Already on S21FE FW by default)
  • Debloated
  • Edge Lighting fully enabled (Already on S21FE FW by default)
  • Smart View fixed
  • Higher audio quality (Disabled DRC, which deeply compresses audio)
  • High-End Animations (Already on S21FE FW by default)
  • Enhanced pocessing (this also probably doesn't do anything, but give it a try) (Already on S21FE FW by default)
  • CSC Features like:
    • Stock call recording
    • Speed meter on statusbar
    • Spam call blocker
    • AppLock line
  • Added camera privacy toggle to remove camera access across apps (Already on S21FE FW by default)
  • Added HDR10+ lines (improves effect in HDR content)
  • Added optional AOD to clock animation. Avoid using it with FOD. You can disable it in the installer.

Sources!
I decided to show my work so to speak on GitHub. You can see the list of all the apps I removed and all the lines that were added to camera and floating features. Feel free to take a look and make pull requests if you want me to add something on potential future releases.

Bugs!
  • Scanning a document with camera is still broken, this will be my next goal
  • You tell me


Changelog!
  • 29/September/2022: Release based on September S21FE firmware (G990BXXU2CVH7)
    • Fix Portrait Mode in stock camera
    • Fix for switching camera when recording video
    • Fix for Samsung Health, no need for patched app now [Huge thanks to @DavidArsene ]
    • Added Advanced Reboot Menu [Huge thanks to @quadraticfunction here in XDA]
    • Added Screen capture (Screenshot) and VoLTE buttons in quick settings
    • Removed wide angle in Pro Video, was buggy
    • Renamed MagiskHide Props module
  • 27/August/2022: Release based on August S21FE firmware (G990BXXU2CVG7)
    • Fixed Remaster Picture in Gallery (thanks to @ananjaser1211 )
    • Fixed CTS profile breaking
    • Fixed punch hole location when using Face Unlock
    • Fixed Single Take in camera
    • Made DeX Standalone optional in installer to fix DeX to PC
  • 24/July/2022: Release based on July S21FE firmware (G990U1S3CVF3)
    • Added native AppLock
    • Edited installer
    • Removed Samsung security
    • Fixed SSRM warning
    • Added DeX standalone to activate without a monitor
  • 07/June/2022: Release based on May S21 FE Firmware (G990U1UES3CVD3)


Links!



Prequisites
  • TWRP
  • Being unencrypted (recommended)



Instructions!
  • Add zip to either internal memory or SD card
  • OPTIONAL but recommended: Format data. This will erase media too.
  • Flash zip via custom recovery
  • Be sure to select the option to install Super first
  • After it's finished, reboot your phone to recovery and flash the zip again
  • This time in the installation, select the option to install RayOS S21FE Port (step 2)
  • Follow instructions and make the selections based on your preference



Credits!
@SuperR. For his Super R's Kitchen which you can find here: https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
@topjohnwu for Magisk
@BlackMesa123 for compiling and working on TWRP for A52s
@BlassGO for dynamic installer, which makes this installation easy. You can find dynamic installer here: https://forum.xda-developers.com/t/...ler-stable-3-5-android-10-or-earlier.4279541/
@kirbynx for allowing me to use some aspects of her setup of Dynamic Installer and for the Samsung Services disabler.
@SkylinesHD for his continued work in the A72 scene and continuing to share his knowledge
@ricci206 for various fixes and mods posted here: https://forum.xda-developers.com/t/mods-samsung-not-android-mods-collection-exynos.3772017/
@ananjaser1211 for always being there willing to help on all my questions and support.
@Simon1511 for his help with kernel and development in general.
@Flylarb for helping me fix Remaster Picture
@Didgeridoohan for his Magisk Module MagiskHide Props Config that I used to modify a bit to change the prop ro.boot.flash.locked to 1 to fix camera. You can find the original thread on the following link, please visit and leave your like: https://forum.xda-developers.com/t/...safetynet-prop-edits-and-more-v6-1-2.3789228/
@quadraticfunction for his work on Extended Reboot Menu, getting it to work on Android 12 and sharing the method here: https://forum.xda-developers.com/t/...-mods-collection-exynos.3772017/post-87443799
@DavidArsene for his method to bypass the Samsung Health knox check which was shared in the Telegram Development group
@ All my testers
@ Samsung for the firmware
@ To users like you!

If you feel I missed you, please give me a PM so I can add you
 
Last edited:

ShaDisNX255

Senior Member
Apr 3, 2014
2,621
1,648
Matamoros
Samsung Galaxy A52 4G
Join our Telegram group


Code:
Check out the latest projects on our Telegram group, where we share our advancement on new things and try to help as best as we can.
For anything already released, please ask here in XDA


Link: Telegram Group



Follow our Telegram channel

Code:
Check out the latest updates on our Telegram Channel. Here you'll find the latest news in regards to custom releases (ROMs, TWRP, etc)...
For anything already released, please ask here in XDA


Link: Telegram Channel



Follow our Telegram Spanish group


Link: Grupo en español
 
Last edited:

ShaDisNX255

Senior Member
Apr 3, 2014
2,621
1,648
Matamoros
Samsung Galaxy A52 4G
FAQ
Q: Why is my camera failing? This ROM promised a fixed camera
A: In order to fix the camera, we need to use a Magisk module to add a prop in userspace (whatever that means :D) that says our bootloader is locked. So, just open Magisk and make sure that the camera magisk module is working properly and once it is, your camera should work

Q: Only Power is showing in my power off menu, how can I fix it?
A: Simple, just open Settings -> Advanced features -> Global actions settings and you can add other reboot options

Q: Will this work on A52 4G or A52 5G?
A: No, I included A52s 5G specific vendor with hw libs. This will only work on A52s 5G. There is already an A52 4G version here: https://forum.xda-developers.com/t/...s21fe-port-for-galaxy-a52-sm-a525g-f.4454855/

Q: Will this work on A73/M52?
A: I have no clue. I've been told HW is very similar with a few lib exceptions but I honestly have no interest on supporting this device. Anyone else is free to try and flash and fix it for A73/M52, you've got my support.

Q: How can I report a bug?
A: Try and be as detailed as possible on how you encountered the bug. If you can include a logcat then even better. The more information provided the more likely it is to get the bug fixed. Check also the bug list to see if the bug has already been reported.

Q: Will you port OneUI 5 BETA or final release when the S21 lineup gets it?
A: No :)




I don't do this for monetary compensation. I have fun making edits and personally using my own creations. I don't mind sharing my work for all to use. If you want to invite me a coffee, you can give a small donation to my PayPal or Wise account. It motivates me to improve my work and I like coffee :)
Donate to:

PayPal:

Wise: [email protected]
 
Last edited:

GreenIce

Senior Member
Jun 13, 2008
99
40
Thank you for publishing this awesome ROM.

I am having some difficulty trying to download the August link... and it says contact the owner. Kindly check this for me please.

I am glad that you have included the stock call recording features. For clarity, is this the native original Samsung automatic call recording feature that is available in some regions?

Also, does this ROM include double-tap to switch-on / switch-off gestures too?

With kind regards,
 

ShaDisNX255

Senior Member
Apr 3, 2014
2,621
1,648
Matamoros
Samsung Galaxy A52 4G
I am having some difficulty trying to download the August link... and it says contact the owner. Kindly check this for me please.
You may need to log in to your Google account. I don't have any lock on it, anyone with the link should be able to view it and download it, I don't know why you're getting this problem unfortunately.

For clarity, is this the native original Samsung automatic call recording feature that is available in some regions?
This is correct. This is obviously only available if you select CSC features in the installer

Also, does this ROM include double-tap to switch-on / switch-off gestures too?
Yes, just like stock.
 

GreenIce

Senior Member
Jun 13, 2008
99
40
Thank you for the prompt reply,

Ah, I do not have a google account. Is there any other way that I could download this large file please?
possibly from gitHub ?
 

GreenIce

Senior Member
Jun 13, 2008
99
40
Thank you for the mirror link at Android File Host. Download was completed successfully.
 
Can i ask something? In rom description says
"Added HDR10+ lines (improves effect in HDR content)"

What this means? i know that A52s doesnt have HDR play ability (except maybe YT)... with this rom it can play movies in HDR?? Basically Netflix or Disney+ will recognise it as HDR capable device?
 

rockadz9

Senior Member
Apr 15, 2014
231
94
XDA
RayOS S21FE Port for Samsung Galaxy A52s 5G
Here it is, finally the full port installable with TWRP which is finally released thanks to the hard work of @BlackMesa123
Enjoy!



Code:
* Warning, your warranty is now void.
* We are 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 flashing this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you. HARD!

Supported variants!
  • SM-A528B


Features!
  • Based on S21 FE August firmware (G990BXXU2CVG7)
  • DeX working (wireless and wired to PC via USB)
  • Live Blur
  • Remaster Picture in Gallery
  • Native AppLock
  • Fixed camera with change of prop
  • Allow screenshots on secure apps
  • Fixed Private Share and Secure Wifi
  • Secure Folder fixed
  • Smart Widgets (Already on S21FE FW by default)
  • Object eraser (Already on S21FE FW by default)
  • Debloated
  • Edge Lighting fully enabled (Already on S21FE FW by default)
  • Smart View fixed
  • Higher audio quality (Disabled DRC, which deeply compresses audio)
  • High-End Animations (Already on S21FE FW by default)
  • Enhanced pocessing (this also probably doesn't do anything, but give it a try) (Already on S21FE FW by default)
  • CSC Features like:
    • Stock call recording
    • Speed meter on statusbar
    • Spam call blocker
    • AppLock line
  • Added camera privacy toggle to remove camera access across apps (Already on S21FE FW by default)
  • Added HDR10+ lines (improves effect in HDR content)
  • Added optional AOD to clock animation. Avoid using it with FOD. You can disable it in the installer.

Sources!
I decided to show my work so to speak on GitHub. You can see the list of all the apps I removed and all the lines that were added to camera and floating features. Feel free to take a look and make pull requests if you want me to add something on potential future releases.

Bugs!
  • Scanning a document with camera is still broken, this will be my next goal
  • You tell me


Changelog!
  • 27/August/2022:Release based on August S21FE firmware (G990BXXU2CVG7)
    • Fixed Remaster Picture in Gallery (thanks to @ananjaser1211 )
    • Fixed CTS profile breaking
    • Fixed punch hole location when using Face Unlock
    • Fixed Single Take in camera
    • Made DeX Standalone optional in installer to fix DeX to PC
  • 24/July/2022:Release based on July S21FE firmware (G990U1S3CVF3)
    • Added native AppLock
    • Edited installer
    • Removed Samsung security
    • Fixed SSRM warning
    • Added DeX standalone to activate without a monitor
  • 07/June/2022: Release based on May S21 FE Firmware (G990U1UES3CVD3)


Links!



Prequisites
  • TWRP
  • Being unencrypted (recommended)



Instructions!
  • Add zip to either internal memory or SD card
  • OPTIONAL but recommended: Format data. This will erase media too.
  • Flash zip via custom recovery
  • Be sure to select the option to install Super first
  • After it's finished, reboot your phone to recovery and flash the zip again
  • This time in the installation, select the option to install RayOS S21FE Port
  • Follow instructions and make the selections based on your preference
  • To fix camera: Flash magisk with TWRP



Credits!
@SuperR. For his Super R's Kitchen which you can find here: https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
@topjohnwu for Magisk
@BlackMesa123 for compiling and working on TWRP for A52s
@BlassGO for dynamic installer, which makes this installation easy. You can find dynamic installer here: https://forum.xda-developers.com/t/...ler-stable-3-5-android-10-or-earlier.4279541/
@kirbynx for allowing me to use some aspects of her setup of Dynamic Installer and for the Samsung Services disabler.
@SkylinesHD for his continued work in the A72 scene and continuing to share his knowledge
@ricci206 for various fixes and mods posted here: https://forum.xda-developers.com/t/mods-samsung-not-android-mods-collection-exynos.3772017/
@ananjaser1211 for always being there willing to help on all my questions and support.
@Simon1511 for his help with kernel and development in general.
@Flylarb for helping me fix Remaster Picture
@Didgeridoohan for his Magisk Module MagiskHide Props Config that I used to modify a bit to change the prop ro.boot.flash.locked to 1 to fix camera. You can find the original thread on the following link, please visit and leave your like: https://forum.xda-developers.com/t/...safetynet-prop-edits-and-more-v6-1-2.3789228/
@ All my testers
@ Samsung for the firmware
@ To users like you!

If you feel I missed you, please give me a PM so I can add you
hi ShaDisNX255
How to Root after install RayOS? Flash magisk with TWRP on file?
And How to reboot to recovery mode TWRP?
can u tell me after done installation rom (TWRP) reboot system or power off?
 

ShaDisNX255

Senior Member
Apr 3, 2014
2,621
1,648
Matamoros
Samsung Galaxy A52 4G
Can i ask something? In rom description says
"Added HDR10+ lines (improves effect in HDR content)"

What this means? i know that A52s doesnt have HDR play ability (except maybe YT)... with this rom it can play movies in HDR?? Basically Netflix or Disney+ will recognise it as HDR capable device?
I don't think it will be detected as an HDR10+ device anywhere. I just added this because someone shared HDR10+ video and with these lines, it was definitely improved the quality than without them
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    RayOS S21FE Port for Samsung Galaxy A52s 5G
    Here it is, finally the full port installable with TWRP which is finally released thanks to the hard work of @BlackMesa123
    Enjoy!



    Code:
    * Warning, your warranty is now void.
    * We are 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 flashing this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you. HARD!

    Supported variants!
    • SM-A528B


    Features!
    • Based on S21 FE September firmware (G990BXXU2CVH7)
    • DeX working (wireless and wired to PC via USB)
    • Live Blur
    • Advanced Reboot options
    • Remaster Picture in Gallery
    • Native AppLock
    • Fixed camera with change of prop
    • Allow screenshots on secure apps
    • Fixed Private Share and Secure Wifi
    • Secure Folder fixed
    • Smart Widgets (Already on S21FE FW by default)
    • Object eraser (Already on S21FE FW by default)
    • Debloated
    • Edge Lighting fully enabled (Already on S21FE FW by default)
    • Smart View fixed
    • Higher audio quality (Disabled DRC, which deeply compresses audio)
    • High-End Animations (Already on S21FE FW by default)
    • Enhanced pocessing (this also probably doesn't do anything, but give it a try) (Already on S21FE FW by default)
    • CSC Features like:
      • Stock call recording
      • Speed meter on statusbar
      • Spam call blocker
      • AppLock line
    • Added camera privacy toggle to remove camera access across apps (Already on S21FE FW by default)
    • Added HDR10+ lines (improves effect in HDR content)
    • Added optional AOD to clock animation. Avoid using it with FOD. You can disable it in the installer.

    Sources!
    I decided to show my work so to speak on GitHub. You can see the list of all the apps I removed and all the lines that were added to camera and floating features. Feel free to take a look and make pull requests if you want me to add something on potential future releases.

    Bugs!
    • Scanning a document with camera is still broken, this will be my next goal
    • You tell me


    Changelog!
    • 29/September/2022: Release based on September S21FE firmware (G990BXXU2CVH7)
      • Fix Portrait Mode in stock camera
      • Fix for switching camera when recording video
      • Fix for Samsung Health, no need for patched app now [Huge thanks to @DavidArsene ]
      • Added Advanced Reboot Menu [Huge thanks to @quadraticfunction here in XDA]
      • Added Screen capture (Screenshot) and VoLTE buttons in quick settings
      • Removed wide angle in Pro Video, was buggy
      • Renamed MagiskHide Props module
    • 27/August/2022: Release based on August S21FE firmware (G990BXXU2CVG7)
      • Fixed Remaster Picture in Gallery (thanks to @ananjaser1211 )
      • Fixed CTS profile breaking
      • Fixed punch hole location when using Face Unlock
      • Fixed Single Take in camera
      • Made DeX Standalone optional in installer to fix DeX to PC
    • 24/July/2022: Release based on July S21FE firmware (G990U1S3CVF3)
      • Added native AppLock
      • Edited installer
      • Removed Samsung security
      • Fixed SSRM warning
      • Added DeX standalone to activate without a monitor
    • 07/June/2022: Release based on May S21 FE Firmware (G990U1UES3CVD3)


    Links!



    Prequisites
    • TWRP
    • Being unencrypted (recommended)



    Instructions!
    • Add zip to either internal memory or SD card
    • OPTIONAL but recommended: Format data. This will erase media too.
    • Flash zip via custom recovery
    • Be sure to select the option to install Super first
    • After it's finished, reboot your phone to recovery and flash the zip again
    • This time in the installation, select the option to install RayOS S21FE Port (step 2)
    • Follow instructions and make the selections based on your preference



    Credits!
    @SuperR. For his Super R's Kitchen which you can find here: https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
    @topjohnwu for Magisk
    @BlackMesa123 for compiling and working on TWRP for A52s
    @BlassGO for dynamic installer, which makes this installation easy. You can find dynamic installer here: https://forum.xda-developers.com/t/...ler-stable-3-5-android-10-or-earlier.4279541/
    @kirbynx for allowing me to use some aspects of her setup of Dynamic Installer and for the Samsung Services disabler.
    @SkylinesHD for his continued work in the A72 scene and continuing to share his knowledge
    @ricci206 for various fixes and mods posted here: https://forum.xda-developers.com/t/mods-samsung-not-android-mods-collection-exynos.3772017/
    @ananjaser1211 for always being there willing to help on all my questions and support.
    @Simon1511 for his help with kernel and development in general.
    @Flylarb for helping me fix Remaster Picture
    @Didgeridoohan for his Magisk Module MagiskHide Props Config that I used to modify a bit to change the prop ro.boot.flash.locked to 1 to fix camera. You can find the original thread on the following link, please visit and leave your like: https://forum.xda-developers.com/t/...safetynet-prop-edits-and-more-v6-1-2.3789228/
    @quadraticfunction for his work on Extended Reboot Menu, getting it to work on Android 12 and sharing the method here: https://forum.xda-developers.com/t/...-mods-collection-exynos.3772017/post-87443799
    @DavidArsene for his method to bypass the Samsung Health knox check which was shared in the Telegram Development group
    @ All my testers
    @ Samsung for the firmware
    @ To users like you!

    If you feel I missed you, please give me a PM so I can add you
    5
    Please don't ask for ETAs. It'll get here when it gets here. Just be assured that yes I am working on it.
    5
    After weeks of being busy and new developments happening, I should be able to finally release the September build this week

    The changelog so far in September is the following:
    - Portrait mode on stock camera should be fixed
    - Attempt to fix wide angle camera on Pro video/camera mode, I don't remember if this is available in stock
    - Advanced Reboot Menu, allow you to add things like "Reboot to recovery" or "Reboot to Download Mode" to your power menu
    - Permanent fix for camera. No more need for Magisk module (permanent as long as you stay in my ROM or keep my vendor, of course)
    - Fix for Samsung Health. You will no longer need to download any patched version, you will be able to just download the app from Galaxy Store
    - Added Screenshot and VoLTE buttons in quick settings [CSC features, make sure to install them when asked in installer]

    And I think overall stability. I'm still on testing phase but hopefully a release should be available this week
    Thanks for being patient
    So after testing a bit, unfortunately there are 2 fixes that didn't work

    - Attempt to fix wide angle camera on Pro video/camera mode, I don't remember if this is available in stock
    Comment: Looks like it's still broken. Will try to fix it before release but if I can't then this will remain as a bug


    - Permanent fix for camera. No more need for Magisk module (permanent as long as you stay in my ROM or keep my vendor, of course)
    Comment: It looks like this doesn't work on my testing but it did when I first added it. It looks like I'm still going to have to depend on a Magisk Module to fix camera

    Still trying my best to fix the first. Also, the screenshot and volte buttons will no longer be CSC features, they will be included in the SystemUI by default so you won't have to worry about installing CSC features just to get them.




    EDIT: Ok so today's status is:
    - Portrait mode on stock camera should be fixed
    - Attempt to fix wide angle camera on Pro video/camera mode, I don't remember if this is available in stock
    Comment: It's not available in stock, so removed it. Ultra wide is not available now in Pro Video mode to avoid this bug
    - Advanced Reboot Menu, allow you to add things like "Reboot to recovery" or "Reboot to Download Mode" to your power menu
    - Permanent fix for camera. No more need for Magisk module (permanent as long as you stay in my ROM or keep my vendor, of course)
    Comment: As mentioned previously, this didn't work so I'm sticking to a modified Magisk Module to fix camera for now
    - Fix for Samsung Health. You will no longer need to download any patched version, you will be able to just download the app from Galaxy Store
    - Added Screenshot and VoLTE buttons in quick settings
    - NEW: Fixed switching cameras while recording (no longer bugged, previously it would be showing upside down)
    5
    After weeks of being busy and new developments happening, I should be able to finally release the September build this week

    The changelog so far in September is the following:
    - Portrait mode on stock camera should be fixed
    - Attempt to fix wide angle camera on Pro video/camera mode, I don't remember if this is available in stock
    - Advanced Reboot Menu, allow you to add things like "Reboot to recovery" or "Reboot to Download Mode" to your power menu
    - Permanent fix for camera. No more need for Magisk module (permanent as long as you stay in my ROM or keep my vendor, of course)
    - Fix for Samsung Health. You will no longer need to download any patched version, you will be able to just download the app from Galaxy Store
    - Added Screenshot and VoLTE buttons in quick settings [CSC features, make sure to install them when asked in installer]

    And I think overall stability. I'm still on testing phase but hopefully a release should be available this week
    Thanks for being patient
    4
    Join our Telegram group


    Code:
    Check out the latest projects on our Telegram group, where we share our advancement on new things and try to help as best as we can.
    For anything already released, please ask here in XDA


    Link: Telegram Group



    Follow our Telegram channel

    Code:
    Check out the latest updates on our Telegram Channel. Here you'll find the latest news in regards to custom releases (ROMs, TWRP, etc)...
    For anything already released, please ask here in XDA


    Link: Telegram Channel



    Follow our Telegram Spanish group


    Link: Grupo en español