Development [UNOFFICIAL][ROM][12.1] Pixel Experience Plus for A52 and A72

Search This thread

Ryzen5950XT

Senior Member
Mar 16, 2022
110
95
Samsung Galaxy A52 4G
Code:
/*
* Your warranty is now void.
*
* I am 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 features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/


Supported variants!
Both variations of A52 4G and A72 (A525F and A525M and A725F and A725M) are supported, but only A525F (6/128 variant) is well tested as I have this device. A72 also has lower support as I do not own one.


Working
  • Audio
  • Wifi
  • Hotspot
  • Calls
  • Wifi
  • Display
  • Bluetooth
  • OMX
  • Camera
  • NFC
  • Fingerprint
  • Mobile data
  • GPS
  • DT2W
  • 90Hz mode
  • USB C Audio
  • Proximity Sensor
  • Selinux Enforced
  • Encryption
  • Calls on second sim card

Bugs
  • You let me know

Based on June 2022 update


Downloads


A52

A72

Report bugs on this thread


Installation instructions

  • Make sure your device's bootloader is unlocked.
  • Make sure to have the latest available version of TWRP or Pixel Experience recovery installed.
  • If not done before, flash disabled VBMeta with Odin in AP slot (originally posted here).
  • Backup all your necessary partitions before flashing this in case something goes wrong.
  • Download the Pixel Experience build for your device from the link below. Gapps are included.
  • Flash the Pixel Experience zip.
  • Optionally, flash Magisk v24 or newer right after
  • Format data in TWRP or factory reset in Pixel Experience recovery as the very last thing, otherwise you may end up in a bootloop if using encryption or coming from stock ROM.
  • Wipe metadata and cache partitions (TWRP only).
  • Reboot.

Credits
To...
  • Me for spending my time on this project
  • jhenrique09 for PE sources
  • Simon1511 for his device trees and a ton of help while making the rom
  • Nico for his help with previous versions of the rom
  • Whoever made the VBMeta disabler
  • ShaDisNX255 for irritating me enough to speed up making the rom
  • geekmaster21 for orange fox
Telegram group for discussions and questions.
https://t.me/+qFANpTbDLbwzOGIy

Source code:
https://github.com/Simon1511/android_kernel_samsung_sm7125
In case you want to build another aosp based rom on your own, the aosp device trees are available here
https://github.com/Ryzen5950XT/android_device_samsung_a72q_AOSP
https://github.com/Ryzen5950XT/android_device_samsung_a52q_AOSP
https://github.com/Ryzen5950XT/android_device_samsung_sm7125-common-AOSP
 

Attachments

  • Screenshot_20220420-111450_Settings.png
    Screenshot_20220420-111450_Settings.png
    186.6 KB · Views: 1,174
  • Screenshot_20220420-111645_Settings.png
    Screenshot_20220420-111645_Settings.png
    164.5 KB · Views: 1,166
  • Screenshot_20220420-111703_Settings.png
    Screenshot_20220420-111703_Settings.png
    114.8 KB · Views: 1,132
  • Screenshot_20220420-064615_Pixel Launcher.png
    Screenshot_20220420-064615_Pixel Launcher.png
    466.3 KB · Views: 1,109
  • Screenshot_20220420-094622_Magisk.png
    Screenshot_20220420-094622_Magisk.png
    146.9 KB · Views: 1,055
  • Screenshot_20220420-111531_Settings.png
    Screenshot_20220420-111531_Settings.png
    188.4 KB · Views: 995
  • Screenshot_20220420-111749_Settings.png
    Screenshot_20220420-111749_Settings.png
    123.1 KB · Views: 1,196
Last edited:

Ryzen5950XT

Senior Member
Mar 16, 2022
110
95
Samsung Galaxy A52 4G
PATCH NOTES
V2.1 UPDATED TO ADD 90 HZ SUPPORT IN DISPLAY SETTINGS. JUST SET MINIMUM REFRESH RATE TO 90 USING THE DROP DOWN.

V2.2 ADDED PROXIMITY SENSOR SUPPORT

V3 Updated to May security patches, Updated audio hal and disabled DRC

JUNE UPDATE

Code:
-June security patch
-Enabled freeform windows
-Build SamsungDAP for dolby audio
-Show download mode instead of bootloader in advanced restart menu
-Re-enabled FM-Radio
-Enabled night display/bluelight filter
-Correctly detect phone variant and set props accordingly
-Removed unused partitions from fstab
-Fixed USB mode not being select-able
-Enabled MAC randomization for WiFi
-SeLinux enforcing
-Use correct default network mode (4G)
-Enabled adoptable storage to work with FBE
-Set props from stock ROM to make Netflix select DRM L1
-Fixed proximity sensor not working at all
-Updated kernel to A525FXXS4BVA2
-Enabled burn-in protection

Encryption fix- DO NOT USE TWRP OR ORANGEFOX, YOU WILL BOOTLOOP

June FINAL Update
Code:
-Switched to using Samsung's HBM implementation instead of lighting up the whole screen when touching the fingerprint sensor
-Dim the screen if touching the fingerprint sensor
-Wake the screen if touching the fingerprint sensor during screen off or AOD instead of killing doze
-Fixed fingerprint sensor on A72 by dimming the screen (You may need to hold your finger a bit tight on the sensor)
-Correctly reset brightness on fingerprint errors
-Fixed the screen not turning on again if removing the phone from your ear during a phone call
-Added custom audio impl to fix audio in calls with Sim 2
-Disabled Dolby again (doesn't seem to work correctly and messes with dolby atmos magisk modules)
-Show correct fast-charging values

July Update
Code:
-July Security Patches
-Fix OK Google Voice recognition
-Better RAM Management
-Enable QPower and Deep sleep at the same time
-Sarter decisions on whether to use a 2Ghz 5Ghz AP
-Add support for hotspot 2.0
-Set Zram size to 5GB
-Enable seamless transfer
-Edit RIL for better battery life

July FINAL Update
Code:
-Updated blobs to A525FXXU4BVG1 respectively A725FXXU4BVE3
-Fixed overlap of text on fod icon
-Implemented proper screen-off-fod support (Settings->Display->screen off fod)
-Improved FOD dimming values
-Switched to OSS camera provider to get access to all cameras
-Slightly decreased vibrator intensity
-Add Dolby audio effect (Actually works this time)
-Excluded AudioFX to improve Dolby effect
-Built FlipFlap to fix flip covers (Thanks for reporting @Peter_Petersen
-Switched to CAF USB audio configuration to fix audio in phone calls with USB headphones/headsets
-Enabled pickup gesture support
 
Last edited:

kingozilla

Senior Member
Sep 12, 2020
63
9
Saudi Arabia
Happy to see my device get enough supported. Nice ROM. Eventhough the topic is just 1 day, but I'm hurry to try. Especially after my official rom prompting me to update to 4.1 - Not ready for the whoopy 4GB + Format.
 

Top Liked Posts

  • 1
    New version installed on A72.
    Beautiful ROM and it gets better with every new version!
    The proximity sensor does a great job of turning the screen off and on during a call. The automatic screen brightness also works well, it doesn't seem to constantly change.
    The only downside I noticed is that you can't add a fingerprint to unlock the screen. The addition process starts, the screen reacts to the touch of the finger, the green circle under the finger lights up, but no fingerprint is recorded, the sensor does not vibrate even once to raise the finger further and lower the other part.
    Great ROM!
    Hmmmmm is night light on by any chance?
    1
    Now Is working with a Morning light! 😎
    Thank you for this ROM!
  • 6
    Hey people! Another month,another security patch.
    This update brings July security patches and a few performance and battery life tweaks, as well as a fix for ok google voice recognition.
    Download link
    A52
    A72

    Patch notes-
    Code:
    -July Security Patches
    -Fix OK Google Voice recognition
    -Better RAM Management
    -Enable QPower and Deep sleep at the same time
    -Sarter decisions on whether to use a 2Ghz 5Ghz AP
    -Add support for hotspot 2.0
    -Set Zram size to 5GB
    -Enable seamless transfer
    -Edit RIL for better battery life
    2
    Hey people! Another month,another security patch.
    This update brings July security patches and a few performance and battery life tweaks, as well as a fix for ok google voice recognition.
    Download link
    A52
    Havent built for A72 yet, but ill update this post when I do.
    You pro pro
    2
    Thanks for the hard work on this rom!
    Today I installed the new build for the A72 and I can confirm that the fingerprint scanner works better and faster than the stock rom!

    I'm using only one sim card and can't confirm that slot 2 is working.

    I have to report one bug I noticed, the screen doesn't turn off at all during a call and stays on all the time. Previously I used this rom in version v2 and then there was no such problem.

    Thanks and keep up the good work!
    I'm reporting another bug for the A72 rom version, the fingerprint sensor unlocks the screen when pressed with any finger, not just the memorized fingerprint. Another person tried it, it also unlocks the screen for unknown fingers.
    Also, during the night, the screen's adaptive brightness setting continuously changes the brightness, increases the brightness to a certain level, then decreases it by two or three levels, then increases it again, and so on and on. Quite annoying, so at night I turn off the adaptive brightness of the screen and switch to manual setting.
    I have to praise the battery life, which is significantly longer than on the factory rom.
    I'm still looking for a GCam version for this rom that will give photos closest to the stock camera. The preinstalled camera that comes with this rom doesn't have many features, but its photos are much more natural than any GCam version I've tried so far.
    Sorry for the long comments, but I really like the Pixelexpierince rom and would like it to work as well as possible, if not flawlessly.
    I have fixed for the the screen staying on and a possible fix for the brightness issue. Ill release both in my next update.
    2
    Hello! I just released an update and these are the patch notes. Downloads are on the main rom page as always.

    Code:
    -Updated blobs to A525FXXU4BVG1 respectively A725FXXU4BVE3
    -Fixed overlap of text on fod icon
    -Implemented proper screen-off-fod support (Settings->Display->screen off fod)
    -Improved FOD dimming values
    -Switched to OSS camera provider to get access to all cameras
    -Slightly decreased vibrator intensity
    -Add Dolby audio effect (Actually works this time)
    -Excluded AudioFX to improve Dolby effect
    -Built FlipFlap to fix flip covers (Thanks for reporting @Peter_Petersen
    -Switched to CAF USB audio configuration to fix audio in phone calls with USB headphones/headsets
    -Enabled pickup gesture support
    1
    Now Is working with a Morning light! 😎
    Thank you for this ROM!
  • 15
    Code:
    /*
    * Your warranty is now void.
    *
    * I am 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 features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */


    Supported variants!
    Both variations of A52 4G and A72 (A525F and A525M and A725F and A725M) are supported, but only A525F (6/128 variant) is well tested as I have this device. A72 also has lower support as I do not own one.


    Working
    • Audio
    • Wifi
    • Hotspot
    • Calls
    • Wifi
    • Display
    • Bluetooth
    • OMX
    • Camera
    • NFC
    • Fingerprint
    • Mobile data
    • GPS
    • DT2W
    • 90Hz mode
    • USB C Audio
    • Proximity Sensor
    • Selinux Enforced
    • Encryption
    • Calls on second sim card

    Bugs
    • You let me know

    Based on June 2022 update


    Downloads


    A52

    A72

    Report bugs on this thread


    Installation instructions

    • Make sure your device's bootloader is unlocked.
    • Make sure to have the latest available version of TWRP or Pixel Experience recovery installed.
    • If not done before, flash disabled VBMeta with Odin in AP slot (originally posted here).
    • Backup all your necessary partitions before flashing this in case something goes wrong.
    • Download the Pixel Experience build for your device from the link below. Gapps are included.
    • Flash the Pixel Experience zip.
    • Optionally, flash Magisk v24 or newer right after
    • Format data in TWRP or factory reset in Pixel Experience recovery as the very last thing, otherwise you may end up in a bootloop if using encryption or coming from stock ROM.
    • Wipe metadata and cache partitions (TWRP only).
    • Reboot.

    Credits
    To...
    • Me for spending my time on this project
    • jhenrique09 for PE sources
    • Simon1511 for his device trees and a ton of help while making the rom
    • Nico for his help with previous versions of the rom
    • Whoever made the VBMeta disabler
    • ShaDisNX255 for irritating me enough to speed up making the rom
    • geekmaster21 for orange fox
    Telegram group for discussions and questions.
    https://t.me/+qFANpTbDLbwzOGIy

    Source code:
    https://github.com/Simon1511/android_kernel_samsung_sm7125
    In case you want to build another aosp based rom on your own, the aosp device trees are available here
    https://github.com/Ryzen5950XT/android_device_samsung_a72q_AOSP
    https://github.com/Ryzen5950XT/android_device_samsung_a52q_AOSP
    https://github.com/Ryzen5950XT/android_device_samsung_sm7125-common-AOSP
    11
    PATCH NOTES
    V2.1 UPDATED TO ADD 90 HZ SUPPORT IN DISPLAY SETTINGS. JUST SET MINIMUM REFRESH RATE TO 90 USING THE DROP DOWN.

    V2.2 ADDED PROXIMITY SENSOR SUPPORT

    V3 Updated to May security patches, Updated audio hal and disabled DRC

    JUNE UPDATE

    Code:
    -June security patch
    -Enabled freeform windows
    -Build SamsungDAP for dolby audio
    -Show download mode instead of bootloader in advanced restart menu
    -Re-enabled FM-Radio
    -Enabled night display/bluelight filter
    -Correctly detect phone variant and set props accordingly
    -Removed unused partitions from fstab
    -Fixed USB mode not being select-able
    -Enabled MAC randomization for WiFi
    -SeLinux enforcing
    -Use correct default network mode (4G)
    -Enabled adoptable storage to work with FBE
    -Set props from stock ROM to make Netflix select DRM L1
    -Fixed proximity sensor not working at all
    -Updated kernel to A525FXXS4BVA2
    -Enabled burn-in protection

    Encryption fix- DO NOT USE TWRP OR ORANGEFOX, YOU WILL BOOTLOOP

    June FINAL Update
    Code:
    -Switched to using Samsung's HBM implementation instead of lighting up the whole screen when touching the fingerprint sensor
    -Dim the screen if touching the fingerprint sensor
    -Wake the screen if touching the fingerprint sensor during screen off or AOD instead of killing doze
    -Fixed fingerprint sensor on A72 by dimming the screen (You may need to hold your finger a bit tight on the sensor)
    -Correctly reset brightness on fingerprint errors
    -Fixed the screen not turning on again if removing the phone from your ear during a phone call
    -Added custom audio impl to fix audio in calls with Sim 2
    -Disabled Dolby again (doesn't seem to work correctly and messes with dolby atmos magisk modules)
    -Show correct fast-charging values

    July Update
    Code:
    -July Security Patches
    -Fix OK Google Voice recognition
    -Better RAM Management
    -Enable QPower and Deep sleep at the same time
    -Sarter decisions on whether to use a 2Ghz 5Ghz AP
    -Add support for hotspot 2.0
    -Set Zram size to 5GB
    -Enable seamless transfer
    -Edit RIL for better battery life

    July FINAL Update
    Code:
    -Updated blobs to A525FXXU4BVG1 respectively A725FXXU4BVE3
    -Fixed overlap of text on fod icon
    -Implemented proper screen-off-fod support (Settings->Display->screen off fod)
    -Improved FOD dimming values
    -Switched to OSS camera provider to get access to all cameras
    -Slightly decreased vibrator intensity
    -Add Dolby audio effect (Actually works this time)
    -Excluded AudioFX to improve Dolby effect
    -Built FlipFlap to fix flip covers (Thanks for reporting @Peter_Petersen
    -Switched to CAF USB audio configuration to fix audio in phone calls with USB headphones/headsets
    -Enabled pickup gesture support
    6
    Hey people! Another month,another security patch.
    This update brings July security patches and a few performance and battery life tweaks, as well as a fix for ok google voice recognition.
    Download link
    A52
    A72

    Patch notes-
    Code:
    -July Security Patches
    -Fix OK Google Voice recognition
    -Better RAM Management
    -Enable QPower and Deep sleep at the same time
    -Sarter decisions on whether to use a 2Ghz 5Ghz AP
    -Add support for hotspot 2.0
    -Set Zram size to 5GB
    -Enable seamless transfer
    -Edit RIL for better battery life
    4
    For gcam please refer to the gcam telegram group
    4
    Hey guys, Thanks to @Simon1511 I have another update with some great changes!
    In addition, I have finally stopped being lazy and built for the A72 as well.

    The biggest changes in this build are the following ones:
    1. He finally got audio with 2nd Sim card in calls to work!
    2. The fingerprint sensor on Galaxy A72 is now working ( However you may need to hold your finger a bit tight to the sensor sometimes.)
    3. Fingerprint dimming combined with Samsung's HBM!

    Downloads are on the main post, along with the instructions.

    Changelog:
    Code:
    -Switched to using Samsung's HBM implementation instead of lighting up the whole screen when touching the fingerprint sensor
    -Dim the screen if touching the fingerprint sensor
    -Wake the screen if touching the fingerprint sensor during screen off or AOD instead of killing doze
    -Fixed fingerprint sensor on A72 by dimming the screen (You may need to hold your finger a bit tight on the sensor)
    -Correctly reset brightness on fingerprint errors
    -Fixed the screen not turning on again if removing the phone from your ear during a phone call
    -Added custom audio impl to fix audio in calls with Sim 2
    -Disabled Dolby again (doesn't seem to work correctly for us)
    -Show correct fast-charging values