[Samsung Galaxy A32 4G] Captain_cookie_200:
View attachment 5887763​

/*
*Disclaimer
*
* 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 Recovery
* 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.
*/

Introduction

Pitch Black Recovery is a fork of TWRP with many improvements to make your experience better. It's more flexible & easy to use.

Based On TWRP version: 3.7.0

PitchBlack version: 4.0

For device: a32

Maintainer: Ahnet (@Captain_cookie_200 )

PitchBlack source:

PitchBlack Recovery Project

Open-Source Android Recovery Project. PitchBlack Recovery Project has 216 repositories available. Follow their code on GitHub.

github.com

Device tree:

https://github.com/ahnet-69/pbrp_device_samsung_a32

Kernel source:

https://github.com/ahnet-69/android_kernel_samsung_a32-recovery

Features

Fully native android like UI
Supports Treble and non-Treble ROMs
Up-to-date kernel, built from sources
Full dark theme with changeable accents
Reorganized menus

Disable DM Verity
Use AromaFM as default file manager
Various tools are include
Universal flash-able file for all variant of a device
Many bug fixes & optimization & much more

Status

stable-ish

Tested on:

SM-A325F (by me)

other models unknown. But should work.

Please report back so i can update the op

Downloads

Click here.

Bugs

1. TWRP cannot decrypt userdata if you set lockscreen. (someone said it works, other it doesn't, so I'll just leave it here, YMMV)

2. Flashing anything shows many "unlock" red lines. (They are currently harmless by our knowledge).

3.USB-OTG

4. Saving settings
​

Installation Instructions

If you have TWRP or any custom recovery installed and bootable, you can upgrade instead; Look below.

<!> the installation will require WIPING DATA. You will also lose access to all Knox-based solutions like Secure Folder.
Backup every precious data you have on your phone.

<!> PC is required. Windows is preferred. (You probably know what you are doing when using Linux/Heimdall. We don't talk about Macs)

Unlock Bootloader:
1. Go to Settings > About Phone > About Software. Tap build number (10 times) until "you are now a developer" toast shows up.
2. Go back, go to Developer Settings.
3. Turn on OEM unlock toggle.
4. Turn off your phone, hold vol-up + vol-down, then plug in charging cable (please don't use 3rd-party charging-only cable, it must have data transfer capability).
5. Your device will boot into download mode with a warning. Accept it.

6. Hold volume-up until the phone shows the bootloader unlock panel "Unlock Bootloader?".
Press volume-up again. Now your phone bootloader is unlocked.
<!> It will now begin the process of wiping data. Let it do its job.
7. When it reboots to OS, finish setting up your device.
8. Double check to make sure OEM Unlock is still ON.

Preparing for the installation:
1. Download everything above onto your PC.
2. Rename PBRP recovery img file to recovery.img and add it to archive using any archiver and select gnu tar.
3. Install Samsung USB Driver.
4. Open Odin.
5. Connect your phone to your PC. There should be a COM entry on the top.
6. Make sure your phone is in Download Mode. (see step 4 of section Unlock Bootloader)
7. Make sure that OEM LOCK and REACTIVATION LOCK on your screen show "OFF". If it's not off, DO NOT PROCEED ANY FURTHER.

<!> For those with lock ON, use your device for 7 days without rebooting once. Then check the locks above again.
‎

Installing:
1. Ensure phone is in Download mode.
In Odin:
Load in Userdata: VBMeta_disabler.tar file.
Load in AP: PBRP TAR file.
2. Prepare yourself. keep your hand on Volume-up and Power button (don't press yet).
3. In Odin, press Start. It will flash, then reboot. When the screen turned off, quickly press Vol-up and Power button to boot to recovery (this should take about 20~30 seconds).
<!> You should have PBRP up and running now.

Post-Installation:
MUST: Trigger Multi-disabler.
1. In PBRP, go to Terminal.
2. Type multidisabler, then enter. If it fails with something about vendor free space, run it again.
3. Run multidisabler again.
4. Go to main screen. go to Wipe > Format Data, type yes then swipe.
5. Reboot to Recovery. Now you can do other stuff.

Should: Backup all vital partitions:
1. In PBRP, go to Backup
2. Backup: EFS, Modem, NVRAM.

Enjoy: Reboot your phone to have a rooted stock, install custom stuff or do whatever you want.

Upgrade:

<!> Use when you already have any custom recovery installed (TWRP, SHRP, Ofox and the likes)

1. Download the recovery image.
2. Copy it to phone, then reboot to PBRP (Combo is Power + Volume-up)
3. Go: Install > select recovery.img file > select Recovery
4. Swipe to confirm flashing.
5. If success, reboot to recovery.

<!> You can also use Odin to upgrade, the steps similar to the Install section. All Post-installation, if already done, is unnecessary to do again.

Credits:

To the PBRP and TWRP team and everyone involved in making this all work.

@Long266 For his kernel and amazing work.

@ianmacd For multidisabler.

@afaneh92 For his a32x base tree and MTK-Samsung multidisabler.

@KrutosVIP For his experimental lineage kernel source from here.

@LehKeda and his team for lzma compression tool from here.