How To Guide How to root Samsung A52s (SM-A528B/DS) with working Camera

Search This thread

bobfrantic

Senior Member
Aug 17, 2010
2,409
1,211
Samsung Galaxy A52s 5G
Okay so I've tested around with some apps and somehow WhatsApp and Snapchat were able to access the camera though I have no idea why and why the main camera app can't.

Install the MagiskHide Props Config with magisk, use a terminal emulater and type SU then enter then type props and enter, wait for a list of options. take #2 then select "c" (without the quotes) to set a custom value and enter and then type SM-A526B and enter, say Y to the next two options, then Y to reboot. That will get camera working by spoofing a phone other than the A52S.
 

Vega56

Senior Member
Install the MagiskHide Props Config with magisk, use a terminal emulater and type SU then enter then type props and enter, wait for a list of options. take #2 then select "c" (without the quotes) to set a custom value and enter and then type SM-A526B and enter, say Y to the next two options, then Y to reboot. That will get camera working by spoofing a phone other than the A52S.
Perfect. Works.

Thank you.
 
  • Like
Reactions: bobfrantic

InternetStranger

New member
Aug 24, 2022
3
0
Install the MagiskHide Props Config with magisk, use a terminal emulater and type SU then enter then type props and enter, wait for a list of options. take #2 then select "c" (without the quotes) to set a custom value and enter and then type SM-A526B and enter, say Y to the next two options, then Y to reboot. That will get camera working by spoofing a phone other than the A52S.
What terminal emulator are you using? Termux doesn't seem to have the SU command
 

bobfrantic

Senior Member
Aug 17, 2010
2,409
1,211
Samsung Galaxy A52s 5G

Attachments

  • Screenshot_20220826-122535_Termux.jpg
    Screenshot_20220826-122535_Termux.jpg
    109.8 KB · Views: 110

akatarmo

Senior Member
Aug 20, 2009
54
10
Hi guys.

I also bought an A52s 5G. I am very satisfied, perhaps the best current mid-range smartphone. I want to root but I read somewhere that Magisk Hide doesn't work. So neither banking apps nor Google Pay and others work. I'm right?

Thanks, greetings.
 
Last edited:
Hi guys.

I also bought an A52s 5G. I am very satisfied, perhaps the best current mid-range smartphone. I want to root but I read somewhere that Magisk Hide doesn't work. So neither banking apps nor Google Pay and others work. I'm right?

Thanks, greetings.
Nope everything working fine here in all banking apps, google wallet, paying with nfc etc.
 
  • Like
Reactions: akatarmo

jonearthur

New member
Oct 27, 2022
4
0
Guys, I DID IT !!!!
Working Samsung A52s (SM-A528B/DS) with Unlocked Bootloader, Rooted (Magisk), Passing SafetyNet and WORKING CAMERA (yaaay).

Problem is that I have no idea how I did it, because it was 3 days of flashing, patching, reinstalling and phone bricking too (unfortunately).

I am attaching a screenshot I did with the phone while writing this post in Word. Someone wanted screenshots in split screen as a proof so.. boom, here ya go.

I have a lot of pictures that I made in last 3 days, so I will try to write some more detailed instructions soon. But now at least try this:
This should work for anyone, even people without working camera after unlocking bootloader

1. Download latest Firmware and Odin from samfw.com (don’t know why but these was only one that worked for me, bricked my phone earlier with different fw)
2. Unpack downloaded firmware and copy AP to a phone with Magisk 24.1
3. Use Magisk app to patch the AP file and download it back to PC
4. Unlock bootloader (first in developer settings, then in the download mode)
5. Reboot
6. Go to Download mode (You should see OEM: OFF (U))
7. Flash with Odin all the Firmware files you downloaded, but to AP put the patched file
8. Reboot
9. Go to magisk, do what he wants, reboot, in settings activate seamless host, activate Zygisk, reboot, download and install module kdrag0n’s safetynet-fix v2.2.1 (https://github.com/kdrag0n/safetynet-fix/releases)
10. reboot
11. yaaay

UPDATE: Ok, It seems that the Camera software will fail after reboot once. When you close it and open it again, it works. Acacia wood
CONFIRMED: I had to reflash after trying some TWRP and now I can confirm that patching the "safetynet-fix v2.2.1" will allow you to use the camera after one run. The Samsung Cam App will fail on the first run, so when you kill it in the app switcher and run again, it works in a normal way (switching cameras, front/back and everyhing).
Have a look at this link. This may help you
 

DarkD3v1L

Member
Feb 11, 2017
13
1
Install the MagiskHide Props Config with magisk, use a terminal emulater and type SU then enter then type props and enter, wait for a list of options. take #2 then select "c" (without the quotes) to set a custom value and enter and then type SM-A526B and enter, say Y to the next two options, then Y to reboot. That will get camera working by spoofing a phone other than the A52S.
Hello.

I already have the phone rooted and everything is perfect but the camera does not work.

I am doing this tutorial but when I type "props" I get the message: inaccessible or not found

What should I do?

Thanks
 

bobfrantic

Senior Member
Aug 17, 2010
2,409
1,211
Samsung Galaxy A52s 5G
Hello.

I already have the phone rooted and everything is perfect but the camera does not work.

I am doing this tutorial but when I type "props" I get the message: inaccessible or not found

What should I do?

Thanks
did you install the MagiskHide Props Config via magisk modules?
 

Attachments

  • MagiskHidePropsConf-v6.1.2.zip
    95.7 KB · Views: 14
  • Like
Reactions: DarkD3v1L

MAPABE

New member
Nov 29, 2022
2
0
Hi , Hallo ich habe immer noch ein Kamera Proplem Nach Root und TWRP installation habe alles aus euren Beiträgen auspropiert ohne erfolg hat jemand vieleicht noch eine idee?
 

bobfrantic

Senior Member
Aug 17, 2010
2,409
1,211
Samsung Galaxy A52s 5G
Hi! Will this method work in Android 13?
there is a better method now that we have twrp. install twrp with the vbmeta file at the post for it and follow all instructions completely. have magisk apk on your phone, and also rename a copy of it to magisk.zip on your phone in the external card. reboot to the twrp and install the magisk.zip. then when back into your phone, install the magisk.apk and open it. it will say it has to reboot so do so. when it has rebooted, you are done

 
  • Like
Reactions: heal3r

heal3r

Member
Nov 30, 2022
10
1
there is a better method now that we have twrp. install twrp with the vbmeta file at the post for it and follow all instructions completely. have magisk apk on your phone, and also rename a copy of it to magisk.zip on your phone in the external card. reboot to the twrp and install the magisk.zip. then when back into your phone, install the magisk.apk and open it. it will say it has to reboot so do so. when it has rebooted, you are done

Even in Android 13? No more camera issue?
 

LemondeX

Member
Apr 24, 2020
14
6
Hamburg
Even in Android 13? No more camera issue?
Even no camera issue on Android 13!
But you have to install the MagiskHide Props Config Modul via Magisk.
Now you use a Terminal App.
Type "su" press Enter, to get root rights
Type "props" press Enter, wait until the list has loaded.
Type "2" press Enter, for Edit device fingerprint
Type "d" press Enter, to Pick value from device
Type"26" press Enter, to select Samsung
Type "18" press Enter, to select Samsung Galaxy A52 4G, instead of A52S 5G
Type"y" press Enter, to confirm
Type"Y" press Enter, to Reboot.
Camera should work now.
 
  • Like
Reactions: heal3r

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hello.

    I already have the phone rooted and everything is perfect but the camera does not work.

    I am doing this tutorial but when I type "props" I get the message: inaccessible or not found

    What should I do?

    Thanks
    did you install the MagiskHide Props Config via magisk modules?
    1
    did you install the MagiskHide Props Config via magisk modules?
    Now perfect, thanks mate.
    1
    Hi! Will this method work in Android 13?
    there is a better method now that we have twrp. install twrp with the vbmeta file at the post for it and follow all instructions completely. have magisk apk on your phone, and also rename a copy of it to magisk.zip on your phone in the external card. reboot to the twrp and install the magisk.zip. then when back into your phone, install the magisk.apk and open it. it will say it has to reboot so do so. when it has rebooted, you are done

    1
    Even in Android 13? No more camera issue?
    Even no camera issue on Android 13!
    But you have to install the MagiskHide Props Config Modul via Magisk.
    Now you use a Terminal App.
    Type "su" press Enter, to get root rights
    Type "props" press Enter, wait until the list has loaded.
    Type "2" press Enter, for Edit device fingerprint
    Type "d" press Enter, to Pick value from device
    Type"26" press Enter, to select Samsung
    Type "18" press Enter, to select Samsung Galaxy A52 4G, instead of A52S 5G
    Type"y" press Enter, to confirm
    Type"Y" press Enter, to Reboot.
    Camera should work now.
  • 11
    Guys, I DID IT !!!!
    Working Samsung A52s (SM-A528B/DS) with Unlocked Bootloader, Rooted (Magisk), Passing SafetyNet and WORKING CAMERA (yaaay).

    Problem is that I have no idea how I did it, because it was 3 days of flashing, patching, reinstalling and phone bricking too (unfortunately).

    I am attaching a screenshot I did with the phone while writing this post in Word. Someone wanted screenshots in split screen as a proof so.. boom, here ya go.

    I have a lot of pictures that I made in last 3 days, so I will try to write some more detailed instructions soon. But now at least try this:
    This should work for anyone, even people without working camera after unlocking bootloader

    1. Download latest Firmware and Odin from samfw.com (don’t know why but these was only one that worked for me, bricked my phone earlier with different fw)
    2. Unpack downloaded firmware and copy AP to a phone with Magisk 24.1
    3. Use Magisk app to patch the AP file and download it back to PC
    4. Unlock bootloader (first in developer settings, then in the download mode)
    5. Reboot
    6. Go to Download mode (You should see OEM: OFF (U))
    7. Flash with Odin all the Firmware files you downloaded, but to AP put the patched file
    8. Reboot
    9. Go to magisk, do what he wants, reboot, in settings activate seamless host, activate Zygisk, reboot, download and install module kdrag0n’s safetynet-fix v2.2.1 (https://github.com/kdrag0n/safetynet-fix/releases)
    10. reboot
    11. yaaay

    UPDATE: Ok, It seems that the Camera software will fail after reboot once. When you close it and open it again, it works.
    CONFIRMED: I had to reflash after trying some TWRP and now I can confirm that patching the "safetynet-fix v2.2.1" will allow you to use the camera after one run. The Samsung Cam App will fail on the first run, so when you kill it in the app switcher and run again, it works in a normal way (switching cameras, front/back and everyhing).
    3
    Okay so I've tested around with some apps and somehow WhatsApp and Snapchat were able to access the camera though I have no idea why and why the main camera app can't.

    Install the MagiskHide Props Config with magisk, use a terminal emulater and type SU then enter then type props and enter, wait for a list of options. take #2 then select "c" (without the quotes) to set a custom value and enter and then type SM-A526B and enter, say Y to the next two options, then Y to reboot. That will get camera working by spoofing a phone other than the A52S.
    1
    Guys, I DID IT !!!!
    Working Samsung A52s (SM-A528B/DS) with Unlocked Bootloader, Rooted (Magisk), Passing SafetyNet and WORKING CAMERA (yaaay).

    Problem is that I have no idea how I did it, because it was 3 days of flashing, patching, reinstalling and phone bricking too (unfortunately).

    I am attaching a screenshot I did with the phone while writing this post in Word. Someone wanted screenshots in split screen as a proof so.. boom, here ya go.

    I have a lot of pictures that I made in last 3 days, so I will try to write some more detailed instructions soon. But now at least try this:
    This should work for anyone, even people without working camera after unlocking bootloader

    1. Download latest Firmware and Odin from samfw.com (don’t know why but these was only one that worked for me, bricked my phone earlier with different fw)
    2. Unpack downloaded firmware and copy AP to a phone with Magisk 24.1
    3. Use Magisk app to patch the AP file and download it back to PC
    4. Unlock bootloader (first in developer settings, then in the download mode)
    5. Reboot
    6. Go to Download mode (You should see OEM: OFF (U))
    7. Flash with Odin all the Firmware files you downloaded, but to AP put the patched file
    8. Reboot
    9. Go to magisk, do what he wants, reboot, in settings activate seamless host, activate Zygisk, reboot, download and install module kdrag0n’s safetynet-fix v2.2.1 (https://github.com/kdrag0n/safetynet-fix/releases)
    10. reboot
    11. yaaay

    UPDATE: Ok, It seems that the Camera software will fail after reboot once. When you close it and open it again, it works.
    CONFIRMED: I had to reflash after trying some TWRP and now I can confirm that patching the "safetynet-fix v2.2.1" will allow you to use the camera after one run. The Samsung Cam App will fail on the first run, so when you kill it in the app switcher and run again, it works in a normal way (switching cameras, front/back and everyhing).
    Ok, I confirm this works!! Way to go sir. Thanks so much and I encourage everyone to do this method. WooHoo :D
    1
    Guys, can anybody explain to me , why Samsung is apparently making it so hard for the customers to root their devices? Is it a problem with Samsung or with Magisk, or both?

    Not being able to root via Magisk is a real dealbreaker to this otherwise well-specced phone (at least it is to me!).
    1
    Yeah i saw it and i use Frija so far to download roms. I suppose it will appear for Europe soon.

    Now please can someone paste me the code that exist in vendor/build.prop please ?
    Attached is the one I have. It's from the July update I haven't even downloaded the August one.


    EDIT: Looks like the XDA app attach files option is faulty lol let me do it with my PC

    EDIT AGAIN: Looks like XDA doesn't allow .prop extensions. What the actual heck... so freaking weird
    Anyway, I renamed to .txt so I can finally upload it. You can just copy the text from there or you can rename to build.prop and replace in vendor.