[Samsung Galaxy A52 4G] ShaDisNX255:
OrangeFox Recovery Project

View attachment 5300327

Huge thanks to @geekmaster21 for making this a reality​

/*
* 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 doing this to your device
* 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.
*/

Disclaimer:

- I do not claim this work as my own, this thread was created to have an XDA thread for A52 OrangeFox Recovery. I will try my best to keep it up to date with @geekmaster21 's work, but can't promise that will remain for ever. If you want the latest OrangeFox Recovery and to be notified as soon as its published, be sure to join the Telegram channel.

- I am not responsible about any damage of any kind that this custom binary may cause.

- Please read the whole main post & related ones before proceed and follow the guide as it is wrote. I will not offer support for any issues that have been already stated.

- Your Knox Warranty Bit will be blown once you flash this or others custom binaries, preventing you to use Knox Features. It can't be reset in any way, so think twice before flashing this.

- Bugs can be reported here in XDA or via our Telegram Group. Please be more clear as possible and make sure you provide detailed info when reporting bugs (device variant and logcat).

How to Install:

First, you need to unlock the bootloader. Here's how to do it:

- Backup all media before proceeding, this will erase everything in your internal storage including music and photos

- Go to developer settings and enable [OEM Unlock]

- Reboot to download mode

- When prompted, press and hold VOL + to enter bootloader unlock mode

- Press VOL + to confirm you want to unlock bootloader, this will wipe your data

- If you think the bootloader is fully unlocked, it is actually not! Samsung introduced VaultKeeper, meaning the bootloader will still reject any unofficial partitions before VaultKeeper explicitly allows it.

- Go through the initial setup. Skip through all the steps since data will be wiped again later when we flash OrangeFox and magisk

- Enable developer options, and confirm that the OEM unlocking option exists and is grayed out. This means the VaultKeeper service has unleashed the bootloader. This step is MANDATORY

- Your bootloader now accepts unofficial images in download mode.

After finally unlocking the bootloader, proceed with installing OrangeFox Recovery(tar) with Odin:

- Boot to download mode and load VBMeta disabler tar file in AP of Odin

- Disable [Auto Reboot] in Odin

- Flash

- Force a reboot by pressing VOL - and POWER buttons at the same time

- After the screen goes black, IMMEDIATELY let go of all buttons and IMMEDIATELY press and hold VOL+ and VOL - button at the same time to boot to download mode again

- Now, add OrangeFox tar in AP of Odin

- Disable [Auto Reboot] in Odin

- Flash

- Force a reboot by pressing VOL - and POWER buttons at the same time

- After the screen goes black, IMMEDIATELY let go of all buttons and IMMEDIATELY press and hold VOL+ and POWER button at the same time to boot to OrangeFox Recovery

- After booting to recovery successfully, go to WIPE in OrangeFox

- You should see an option to FORMAT DATA. After you select it, you will be asked to type "yes" in your keyboard. If you do not see this, you probably selected the wrong option.

- After formatting data, flash the Multidisabler zip with OrangeFox. This is done to avoid future bootloops.

(Optional) Flash magisk.zip to root (google where to find it)

- Reboot to system

- Wait patiently for the device to boot for the first time

How to flash OrangeFox Recovery (img) or (zip):

- Reboot to recovery

- Select Install

- Select Install Image or zip and search for the OrangeFox Recovery img or zip file

- Flash as recovery

- Reboot to recovery

- Done

Downloads:

Android 12 versions

Linked REMOVED (Outdated, use official sources instead)

Android 11 versions

OrangeFox Recovery img by @geekmaster21

OrangeFox Recovery tar by @geekmaster21

OrangeFox Recovery zip by @geekmaster21

Multidisabler zip by Ianmacd

VBMeta disabler for A52

Source Code: https://github.com/geekmaster21/a52q

Source Code: https://gitlab.com/OrangeFox

Credits:

- Samsung for kernel source code

- OrangeFox team for their awesome recovery

- @geekmaster21 for compiling, updating and maintaining OrangeFox for A52