How To Guide UPDATED : How to root Galaxy A52S 5G (SM-A528B)

Search This thread

Arobase40

Senior Member
Nov 22, 2010
2,196
490
I also didn't have a problem (Switzerland) until I updated to 1. May patch. I strongly advise not to upgrade

Are you sure you did not met this issue originally such as with Android 11 or later, as Belgium, Luxembourg are also affected by this camera issue ??? Can't remember if Austria is also affected...

Once again, I never ever got this camera issue and I still don't have it including with 1. May patch !!!
 
Last edited:

Arobase40

Senior Member
Nov 22, 2010
2,196
490
Ok to make the camera work again in case you've updated to 1. May patch:

  1. Flash official stock 1. April patch with original AP file
  2. Go through the setup (options don't matter as we will wipe again)
  3. Shut down the phone, go into download mode and relock the bootloader (vol up long press)
  4. Phone will be wiped again, now go through the setup again and make sure to open the camera and check if it works again
  5. Now make sure OEM Unlock is enabled, reboot to download mode, unlock bootloader
  6. Phone will wipe again, go through the setup again and DON'T OPEN THE CAMERA
  7. Now go into Download mode again, flash the 1. April patch with the modified AP this time
  8. Go through the setup, complete the Magisk, Zygisk and SafetyNet Fix setup. Don't open the camera before finishing these steps!
  9. Profit

You made a mistake in 3) as to relock the bootloader you have to Volume Down long press !!!

Volume Up Long press will unlock the bootloader IF it was not already unlocked or if it was relocked after flashing an unmodified stock firmware...
 
  • Like
Reactions: zate27

bobfrantic

Senior Member
Aug 17, 2010
2,387
1,191
Samsung Galaxy A52s 5G
Ok to make the camera work again in case you've updated to 1. May patch:

  1. Flash official stock 1. April patch with original AP file
  2. Go through the setup (options don't matter as we will wipe again)
  3. Shut down the phone, go into download mode and relock the bootloader (vol up long press)
  4. Phone will be wiped again, now go through the setup again and make sure to open the camera and check if it works again
  5. Now make sure OEM Unlock is enabled, reboot to download mode, unlock bootloader
  6. Phone will wipe again, go through the setup again and DON'T OPEN THE CAMERA
  7. Now go into Download mode again, flash the 1. April patch with the modified AP this time
  8. Go through the setup, complete the Magisk, Zygisk and SafetyNet Fix setup. Don't open the camera before finishing these steps!
  9. Profit
All I did to get camera working was to install the magisk modified ap CVD1 along with stock BL, CP, and the non home CSC. Didn't have to lock or unlock bootloader and installed magisk, setup zygisk, and installed safetynet fix and all was fine...
 
  • Like
Reactions: zate27

Arobase40

Senior Member
Nov 22, 2010
2,196
490
All I did to get camera working was to install the magisk modified ap CVD1 along with stock BL, CP, and the non home CSC. Didn't have to lock or unlock bootloader and installed magisk, setup zygisk, and installed safetynet fix and all was fine...

Normal as your phone was already unlocked and with non HOME_CSC all your storage was resetted. lol
 
  • Like
Reactions: bobfrantic

Kyodaigumo

Member
May 13, 2022
12
1
Hi, I'm new, and I don't speak English, I use Google Translate, I bought this device, I'm from Latin America A528B with the problem that when I released the bootloader the camera broke.
I see that the guide is from 2021, as of today 05/2022 is there any solution to have root and the fully functional camera?

PD: maybe this is asking too much but a step by step video would be too much to ask? having to translate it costs me a lot trying to follow the guide

From already thank you very much.
 

Arobase40

Senior Member
Nov 22, 2010
2,196
490
Hi, I'm new, and I don't speak English, I use Google Translate, I bought this device, I'm from Latin America A528B with the problem that when I released the bootloader the camera broke.
I see that the guide is from 2021, as of today 05/2022 is there any solution to have root and the fully functional camera?

PD: maybe this is asking too much but a step by step video would be too much to ask? having to translate it costs me a lot trying to follow the guide

From already thank you very much.

You consider "having to translate it costs me a lot trying to follow the guide" but do you have an idea how much work and time I spent on writing this tutorial considering english is not my native language ???
I myself had to use translation with some parts of my tutorial... ^^

As already explained in another post creating a step by step video is much more time consuming, I don't have time nor the skill to do it.

Everyone must do their part ! Sorry bud.

Maybe you can ask a friend of yours to do the translation for you... if you really want and if you really need to root your phone...

I saw @Giaurone , an Italian guy using translation for almost if not every posts of mine... lol
 
Last edited:
  • Like
Reactions: Giaurone

zate27

Member
Apr 8, 2016
41
11
Are you sure you did not met this issue originally such as with Android 11 or later, as Belgium, Luxembourg are also affected by this camera issue ??? Can't remember if Austria is also affected...

Once again, I never ever got this camera issue and I still don't have it including with 1. May patch !!!
I didn't check Android 11 but I didn't have the Camera issue on Android 12 April patch. My friend who is on April patch too doesn't have the issue either

Crazy, so how did you update to 1. May patch?

Anyways thanks for the guide :)
 

Arobase40

Senior Member
Nov 22, 2010
2,196
490
I didn't check Android 11 but I didn't have the Camera issue on Android 12 April patch. My friend who is on April patch too doesn't have the issue either

My guess is that you always got the camera issue from start !
You and your friend could be living in the same country, but maybe he got his phone from another source and another country... So check it out !
France and Poland are not affected by this camera issue, and some other countries I can't remember...

I didn't see you in this @bobfrantic 's survey, so go ahead and tell us what is your CSC and your country :


Crazy, so how did you update to 1. May patch?

Just by following my own guide. :LOL:
Anyways thanks for the guide :)

You're welcome
 
  • Like
Reactions: zate27

Kyodaigumo

Member
May 13, 2022
12
1
Consideras "tener que traducirlo me cuesta mucho tratar de seguir la guía" pero ¿tienes una idea de cuánto trabajo y tiempo pasé escribiendo este tutorial considerando que el inglés no es mi idioma nativo?
Yo mismo tuve que usar la traducción con algunas partes de mi tutorial... ^^

Como ya se explicó en otra publicación, crear un video paso a paso requiere mucho más tiempo, no tengo tiempo ni la habilidad para hacerlo.

¡Cada uno debe hacer su parte! Lo siento amigo.

Tal vez puedas pedirle a un amigo que haga la traducción por ti... si realmente quieres y si realmente necesitas rootear tu teléfono...

Vi a @Giaurone , un chico italiano que usa la traducción para casi todas mis publicaciones, si no todas... lol
Hello, well, I will try to follow the guide step by step... my camera does not work since I opened the bootloader, does this guide make my camera work again?
 

Arobase40

Senior Member
Nov 22, 2010
2,196
490
Hello, well, I will try to follow the guide step by step... my camera does not work since I opened the bootloader, does this guide make my camera work again?

Yes but with a little constrain as explained in my guide !

I repeat it here so you will know it before you engage the root process :

"Once rebooted, there is a little quirk with non-functional camera when bootloader is unlocked as the first time you run the camera app it won't work, so close it or force close it and the camera will work again (until a new reboot...)."

Then don't use latest Samsung firmware of May 2022
(A528BXXU1CVE1) as Samsung introduces a new lock with the camera. So use the firmware from April 2022 : A528BXXS1CVD1 you can get from here :


Or use Frija if you know this Windows software...
 

Kyodaigumo

Member
May 13, 2022
12
1
¡Sí, pero con un poco de restricción como se explica en mi guía!
what restriction?

Entonces, no use el último firmware de Samsung de mayo de 2022 ( A528BXXU1CVE1 ), ya que Samsung presenta un nuevo bloqueo con la cámara. Entonces use el firmware de abril de 2022: A528BXXS1CVD1 que puede obtener desde aquí:
In my case I have a patch from April, from Argentina > ARO A528BXXU1CVC8. it serves?
 

Arobase40

Senior Member
Nov 22, 2010
2,196
490
To all A52S 5G (SM-A528B) owners with camera issue I urge you to create a petition against Samsung and for the more daring guys to engage a class action against Samsung !!!

This situation is totally unacceptable and it is no longer possible to let Samsung enact its own rules and laws against its own customers who have made and still make its success!

If we don't impact Samsung's reputation, nothing will change and things could even get worse like Samsung removing the SD card slot with the latest high-end smartphones of the brand. What will happen next if we do nothing?
 

Arobase40

Senior Member
Nov 22, 2010
2,196
490

This one I posted specially for you in my previous post !!! ^^

"Once rebooted, there is a little quirk with non-functional camera when bootloader is unlocked as the first time you run the camera app it won't work, so close it or force close it and the camera will work again (until a new reboot...)."

In my case I have a patch from April, from Argentina > ARO A528BXXU1CVC8. it serves?

Sorry, I though you were from Spain...

A528BXXU1CVC8 should be fine as it is a March 2022 update and not April 2022 as you didn't receive the April update yet. ^^
 
  • Like
Reactions: Kyodaigumo

Kyodaigumo

Member
May 13, 2022
12
1
"Once rebooted, there is a little quirk with non-functional camera when bootloader is unlocked as the first time you run the camera app it won't work, so close it or force close it and the camera will work again (until a new reboot...)."
With a little patience and step by step I was able to do the entire guide. The camera works effectively after a closing force...
Thank you so much.
I have a question regarding LSPosed, is it necessary to have it? I do not use it
 

Arobase40

Senior Member
Nov 22, 2010
2,196
490
With a little patience and step by step I was able to do the entire guide. The camera works effectively after a closing force...
Thank you so much.
I have a question regarding LSPosed, is it necessary to have it? I do not use it

LSPosed is needed mostly if you do care about your privacy or for additional features such as phone call recorder or others.

I thought LSPosed was needed for the camera issue with SafetyNet fix but if it works without LSPosed and if you don't care about your privacy, then forget it ! ;)
 
  • Like
Reactions: Kyodaigumo

Arobase40

Senior Member
Nov 22, 2010
2,196
490
I really don't understand the function, what privacy, what does this application do, could you tell me what privacy? I thought it was like xposed just to download modules

LSPosed is in some way a successor of xposed which is more or less a dead project... specially with newer android devices.

If you know what xposed stands for and if you know how to use xposed then you should understand the goal of LSPosed.

Privacy is privacy !

As most apps are stealing much more permissions and data than needed including very private data you wouldn't want to share to anyone such as SMS, mails, photos/pictures, your position/location, the camera or microphone to spy on you or anything else !!! ^^

That's the reason I placed these tools and descriptions in a separated and dedicated place...

Feel free to use them or not.
 

YouWotm8

Member
May 12, 2022
5
0
So I'll root my phone, in this guide should I use the files from the links you provided for the downloads or are there any new versions?
Also since I want to upgrade to android 12, should I just flash the correct firmware of April's update (A528BXXS1CVD1) or do I need to update anything through the phone first since it is a new one with June 2021 firmware?
Thanks for taking the time to respond to everyone and keep this guide alive :)
 

Arobase40

Senior Member
Nov 22, 2010
2,196
490
So I'll root my phone, in this guide should I use the files from the links you provided for the downloads or are there any new versions?

All files were latest at the time I published the updated guide, so you have to check for yourself if there are more recent versions. Otherwise you may receive notifications when new versions are available.

Also since I want to upgrade to android 12, should I just flash the correct firmware of April's update (A528BXXS1CVD1) or do I need to update anything through the phone first since it is a new one with June 2021 firmware?

I don't understand this question as how can you say June 2021 is newer than April 2022 or am I missing something ??? ^^
June 2022 firmware is still not available and this A528B phone was even not available by June 2021 but by September 2021...

Thanks for taking the time to respond to everyone and keep this guide alive :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    new release of safetynet.....
    2
    hello brothers and sisters can anyone please help me to get a twrp tree for my device a528b ?

    LOL

    If anyone had this TWRP tree you should guess this TWRP for A528B should already be available and published in this section !!!

    I have a partial device tree for the A528B but for now I'm unable to build a working TWRP as I'm missing the rest of the TWRP tree : Omniron and Cyanogen TWRP are not working and as explained earlier I have not enough spare time to work on it. Then I was mostly working on a Linux system but I got a new Laptop with both Windows and Linux I'm still configuring for this purpose and I don't know how long it will take before I can build a working TWRP as I'm missing some information to go further...

    EDIT : I meant Lineage TWRP tree and not Cyanogen... ^^
    2
    how to do the June update and keep the root?

    The same as you did the first time.

    Unzip the new firmware, download AP_xxxx file to your phone SD card (or internal storage if you have none).

    Patch AP file with Magisk, upload the Magisk_patch file to your PC and then flash BL, CP, Magisk_patched file, and HOME_CSC with PC Odin.

    Exactly as described in OP past the bootloader unlocking part.
    2
    There is one out for ARO with June Security Patch, but it's CVE5:
    2
    Noob question (first Samsung phone, but im used root xiaomis). The Knox thingy, is reversible like the unlock and relock bootloader in xiaomis? or once i trip it, it is lost forever?
    lost forever...
  • 26
    This is a highly updated tutorial on how to root the Galaxy A52S 5G (SM-A528B) phone based on new version of Magisk and from feedbacks I received from users after the release of the first guide version ! ;)
    This guide should work with other Samsung Galaxy models : phones or tablets


    Rooting your device with Magisk will trigger Knox, so you have been warned !!!

    This will also work with Galaxy A52S 5G (SM-528B) with a non working camera when the bootloader is unlocked, but with a little constrain which will be explained later.

    You can check if you fall into this position by unlocking your bootloader without rooting and check if your camera is still working. If you camera fails and if you don't want to root your phone, then relock your bootloader pressing long Volume Down button when in Download mode.

    This guide should not work with most US phones as they don't have access to the bootloader and/or the OEM toggle...


    This project has been possible thanks to the precious help from @Stonos who found out a new version of Magisk which will prevent the A52S 5G to fall into a bootloop after flashing the magisk_patched.tar file such as with Magisk v23 or below.

    Special thanks @
    topjohnwu who is the original dev who created this original Magisk version without which we could not root own device and some others models.



    You should be aware this is a very new version of Magisk with some limitations as the Magisk Hide function doesn't exist anymore : at least not the same way as with older versions.

    An alternative to the Magisk's modules download list can be find at the end of this tutorial !

    What that means is that as default you'll have to sideload all modules from your internal storage or from your SDCard (better use SDCard as the internal storage could be erased after patching)...


    Other issue is as we don't have TRWP we can't do a full system backup and restore, so backup all your apps and data by any means. I myself use Samsung SmartSwitch but you can use any other backup and restore solution of your choice because if something goes wrong you will have to reflash your phone from scratch... ^^

    So be very careful !!!


    As usual after rooting your phone your warranty may or may not be void, depending on where you are living : should be no problem in E.U countries...

    Finally, I won't be responsible if you encounter any troubles/issues even though I deeply tested this root app and I spent many hours to be sure it is working with different configurations !!!

    If you agree with this you can go on otherwise just give up and wait for a better solution...

    - Get Magisk-v24.3 at the end of my tutorial and install it.


    - Turn on the Wifi of your phone.
    - Download a stock firmware of your choice with Frija, Samfw, SamFrew, Sammobile or from any other source to a Windows PC.
    - Extract all files and upload the AP file on the root of your SDCard : better remove the MD5 extension to stay with a tar extension, so it will run faster.
    - The first time you run Magisk it may ask to download additional thing. Click on Yes and your phone will reboot by itself within 5 seconds.
    - Once rebooted, open up the Magisk app again (it may or may not ask you again to download additional thing, so just click on "Cancel", then on top of the screen, at the right of the Magisk name click on "Install", then "Select and patch a File" and select the AP file your uploaded previously.
    - Once done you will find the AP patched file in the Download folder of your internal storage.
    - You can upload and download files between your phone and your PC using the USB cable or by using Samsung Filemanager wirelessly if you are on the same network and if your PC is configure as FTP, SFTP or SMB "server"...

    - Upload this file to your Windows PC storage which should contain the Samsung Mobile Drivers.
    - Use PC Odin3 v3.14 (you can find alternative PC Odin versions in post #2 if this one is not working correctly for you) and select this patched file as AP.
    - Select BL file as BL, CP file as CP.
    - Now the choice of CSC file depends on what you are willing to do...
    * Selecting a CSC_OXM file will erase all your internal storage, all your apps and data and it may change your CSC if you got your firmware from a totally different country.
    * Selecting HOME_CSC should not erase your internal storage, your apps, data and settings but it may change your CSC without issue due to new Samsung policy specially with European Phones and countries...

    - DON'T PUSH START NOW !!!

    -Now the hardest work begins as you will have to unlocked your bootloader...

    - Be sure your phone is fully setup and turn on the OEM toggle and USB debugging in Developer Settings.
    - Check out in the development option the OEM toggle is still ON and/or greyed out.
    - Turn your phone off (You can change the behavior of the Power OFF button in the advanced settings instead of running Bixby) --> Customize the Side key.


    - Connect your USB cable onto your PC first.
    - While pressing Volume Up and Volume down all together, connect the second part of your USB cable to your phone and a blue screen should popup.
    - Long Volume+ Press to activate the download mode and to unlock the bootloader.
    If it's the first time you do this, your phone will reboot and the storage will be totally resetted... In that case you'll have to do a basic setup of your phone with your Google account once your phone is rebooted !
    Make sure the OEM Toogle is still ON and probably Greyed out.
    - Reboot into Download Mode.
    - A small blue bar should turn on in PC Odin software which means your phone is recognized and ready to Flash.
    - Press the Start button and wait until your phone reboots

    - You may have to wait between 5 to 15 mn before the welcome screen appears but could be much faster...
    - Do all the initial setup.

    - At this position your phone should already be rooted !


    - If you have Adaway or any other apps that need root, install it and you will know if root is working.

    If you want to install all the downloaded Magisk modules, run Magisk and at the bottom right you will find the Modules icon and when pressed this section should be empty.
    So click on "Install from storage" and choose the module you want to install : a reboot is mandatory after each Magisk modules installed.
    Otherwise you can install and use FoxMagiskModuleManager from which you can download, install Magisk modules without rebooting, exception from Zygist LSPosed module which needs to be rebooted to create the shortcut on the welcome screen in order to manage all other Magisk modules !

    Once in Magisk, click on the settings button (Top right icon of the display) and change the settings as you wish but click on
    Zygist (Beta) option, Enforce Deny List and optionally click on Configure DenyList which is some kind of Hide list...

    Once done,
    Download and install : LSPosed-v1.8.2-6519-zygisk-release.zip and safetynet-fix-v2.2.1.zip and reboot your device.

    Once rebooted, there is a little quirk with non-functional camera when bootloader is unlocked as the first time you run the camera app it won't work, so close it or force close it and the camera will work again (until a new reboot...).


    If you do care about your privacy and some custom functions you can download and install these modules :


    For the following modules you can download them on clicking on the name or via the Google Play Store when available.

    Download : XprivacyLua
    Download : XPrivacyLua Pro from the Google Play Store
    Download : AfWall+ from the Google Play Store
    Download : Firefds kit Alpha 2 for Android 12 if you want to record your phone call + some other customization...

    You have then to enable these modules from the LSPosed shortcut placed on your welcome screen !
    If not automatically done :

    - With AFWall+ : be sure System Framework is set.
    - XprivacyLua : be sure System Framework and Android providers settings are set.
    - Firefds kit Alpha 2, it is a little bit more complicated as there are many more settings to activate (if not automatically done...) :


      • Android System - android
      • Call - com.samsung.android.incallui
      • Call Settings - com.samsung.android.app.telephonyui
      • Camera - com.sec.android.app.camera
      • Contacts - com.samsung.android.contacts
      • Email - com.samsung.android.email.provider
      • Firefds Kit - sb.firefds.s.firefdskit
      • Messaging - com.samsung.android.messaging
      • MTP Application - com.samsung.android.MtpApplication
      • NFC - com.android.nfc
      • One UI Home - com.sec.android.app.launcher
      • Settings - com.android.settings
      • Smart Capture - com.samsung.android.app.smartcapture
      • Software Update - com.wssyncmldm
      • System UI - com.android.systemui
    When you run Firefds kit Alpha 2, it can show red, yellow or blue frame but whatsoever it should run fine.
    Make sure the Phone call recording is activated and quit the app. Place a call to another phone and if the other person is responding or if you get an automatic message all will be recorded and you will get a notification showing the call has been recorded, so simply click on the notification to have access to the registered .m4a file on the SDCard... if any (Folder Recordings/Call).

    Ah yeah, you can restore your apps, data and settings from your backup... lol


    Again, I have tested this procedure many times and I spent many hours to find out which is the best procedure with different configurations, flashing from scratch again and again, but as The Magisk Hide function is missing, some apps won't work such as Secure Folder, Samsung Pay, probably Netflix HD (I don't use it !), Samsung Health and some others.

    So until this version won't be merged with Magisk v23, we can't do better...


    Thank you all and special thanks to @Stonos

    Edit : Thanks to @lucas_54
    , we now have an alternative to the Magisk modules list
    It won't be integrated to Magisk but works side by side with it and we don't need to reboot after each module download and install :


    Edit : if you want to install a banking app, download and install it but don't run it for now !!!
    If it was already opened and it detected your device is rooted, stop the app in your apps settings and delete all data of the app storage.
    Add this banking app in the Magisk DenyList (may need a reboot to be sure).

    And finally you can set it up and it should work fine now.

    Edit 2 : If you own Galaxy Buds headsets you will hear sound and music with your rooted phone but not phone calls, so don't forget to put the Galaxy Buds manager in Magisk deny List, then reboot !!!
    2
    hello brothers and sisters can anyone please help me to get a twrp tree for my device a528b ?

    LOL

    If anyone had this TWRP tree you should guess this TWRP for A528B should already be available and published in this section !!!

    I have a partial device tree for the A528B but for now I'm unable to build a working TWRP as I'm missing the rest of the TWRP tree : Omniron and Cyanogen TWRP are not working and as explained earlier I have not enough spare time to work on it. Then I was mostly working on a Linux system but I got a new Laptop with both Windows and Linux I'm still configuring for this purpose and I don't know how long it will take before I can build a working TWRP as I'm missing some information to go further...

    EDIT : I meant Lineage TWRP tree and not Cyanogen... ^^
    2
    THIS WORKS!!! ROOT+CAMERA WORKS+SAFETYNET PASS + Zygisk + hided app GG 100% no fake!!
    -OEM on toggle
    -unlock boot loader
    -I used Frija(attached zip file) to download the SM-A528B_2_20220210164651_yls5f2v8f4_fac.zip file.
    -I also used the Samsung_USB_Driver_v1.7.43.0(file attached), which I do not know if was necessary, but check with the anti Virus and nothing found
    -I also used the direct Magisk apk(file attached) last version
    -also used the Odin version recommended here the 2° one(attached file)
    -I also waited the set up to finish twice.
    -reminder for the people, do not register yourself in Samsung account until you finish all of this if not you will be prompt with a 2 factor check which you can fill unless you put your SMS service elsewhere.
    -remove the extension and leave it to "tar"
    -select the AP file and process with the apk ,then move the output to the PC
    -flash with the APmagisk_patched file,wait 5 min
    -let it set up all, install modules, zygisk, safetynet-fix-v2.2.1(attached)
    -done

    I did this in a run, I can edit this.

    Good, fine but why did you feel the need to explain all of this in detail as this is what I already explained in different threads on this section and I was about to update OP ??? ^^

    You also forgot to install LSPosed-zygist-1.7.2 and some other modules to complete the full root...

    But you will have to wait after my update... ;)
    2
    THIS WORKS!!! ROOT+CAMERA WORKS+SAFETYNET PASS + Zygisk + hided app GG 100% no fake!!
    -OEM on toggle
    -unlock boot loader
    -I used Frija(attached zip file) to download the SM-A528B_2_20220210164651_yls5f2v8f4_fac.zip file.
    -I also used the Samsung_USB_Driver_v1.7.43.0(file attached), which I do not know if was necessary, but check with the anti Virus and nothing found
    -I also used the direct Magisk apk(file attached) last version
    -also used the Odin version recommended here the 2° one(attached file)
    -I also waited the set up to finish twice.
    -reminder for the people, do not register yourself in Samsung account until you finish all of this if not you will be prompt with a 2 factor check which you can fill unless you put your SMS service elsewhere.
    -remove the extension and leave it to "tar"
    -select the AP file and process with the apk ,then move the output to the PC
    -flash with the APmagisk_patched file,wait 5 min
    -let it set up all, install modules, zygisk, safetynet-fix-v2.2.1(attached)
    -done

    I did this in a run, I can edit this.
    2
    You can now find a working Samsung Health app compatible with rooted phone in post #3 !!! :giggle: