How to Install TWRP Recovery on Galaxy Z Fold 4

twrp

The instructions given below are listed under separate sections for ease of understanding. Make sure to follow the same order as mentioned. Pixelroms and its members will not be held responsible in the event of a thermonuclear war, if your alarm does not wake you up, or if something happens to your device and data.

Follow the Steps to install TWRP Recovery on Galaxy

1: Unlock the Bootloader on Galaxy Z Fold 4

First and foremost, you will have to unlock the bootloader on your device.

2: Boot Samsung Galaxy Z Fold 4 to Download Mode

You will have to boot your device to Download Mode so that you are able to flash the required mods. 

  1. To begin with, power off your device.
  2. Then press and hold the Power and Volume Up keys and your device will be booted to Stock Recovery.
  3. Now highlight the Reboot to Bootloader option using the Volume keys and then press the Power key to confirm it.
  4. Your device should now boot to the Download Mode.

3: Install Odin

Next up, you will have to download and install the Odin Tool onto your PC. This is needed to flash the TWRP and to disable AVB on your device. So get hold of the latest Odin from here: Download: Odin3-v3.14.4.zip. Once downloaded, extract it to any convenient location on your PC.

4: Disable Android Verified Boot on Samsung Galaxy Z Fold 4

Next up, you will have to disable AVB on your device which would then allow you to flash the desired custom binary (in this case, TWRP and Magisk).

  1. So start off by downloading the vbmeta_disabled.tar file onto your PC.
  2. Now connect your device to the PC via USB cable (make sure that it is booted to Download Mode)
  3. Then launch the Odin Tool and click on the Userdata button.
  4. Navigate to the vbmeta_disabled.tar file, select it and click Open.
  5. Finally, click on the Start button. You shall now get a prompt on your device, stating that “You have to reset your device to factory settings”.
  6. So use the Volume Keys to select the reset option and hit the Power key to confirm it.

Your device will now undergo a reset and then, the AVB stands disabled. You may now proceed ahead to install the TWRP Recovery and root Samsung Galaxy Z Fold 4.

5: Download Magisk App

Next up, download the Magisk APK file. This will be used to root your Samsung Galaxy Z Fold 4. So download it from the below link and then rename the APK to ZIP (i.e change the file extension from APK to ZIP). This will make the file TWRP flashable. Along the same lines, you will also have to flash a custom kernel on your device. So download both of them from the below links and then transfer them to your device

Download Magisk: Latest Magisk APK
Download Custom Kernel: waipio-gki_kernel_5.10.81-afaneh92.zip

6: Download TWRP Recovery for Samsung Galaxy Z Fold 4

You could now grab the latest custom recovery for your device from the below link. Credits: XDA Senior Member afaneh92

TWRP Recovery for Samsung Galaxy Z Fold 4: twrp-3.6.2_12-1_afaneh92-q4q.tar

7: Install TWRP Recovery on Samsung Galaxy Z Fold 4

  1. Launch the Odin Tool on your PC and click on the AP button.
  2. Navigate to the downloaded TWRP.tar file, select it and click Open.
  3. Finally, hit the Start button and TWRP will be flashed onto your device.
  4. Now use the hardware key combinations to boot your device directly to TWRP.

8: Disable Encryption on Galaxy Z Fold 4 via TWRP

  1. Once your device boots to TWRP, go to Advanced > Terminal.
  2. Then type in the below command and hit Enter
multidisabler
  1. Your device will now resize the vendor and will ask you to run multidisabler again.
  2. So again execute the below command and hit Enter
multidisabler

9: Install Custom Kernel on Samsung Galaxy Z Fold 4

  1. Once you have disabled encryption, you’ll have to format it. So go to Wipe and select Format Data.
  2. Then type in YES in the space provided and tap on the checkmark situated at the bottom right.
  3. Once the format is complete, you will have to reboot the device to TWRP. So go to Reboot and select Recovery.
  4. Now go to Install, select the custom kernel ZIP and perform a right swipe to flash it.

10: Root Samsung Galaxy Z Fold 4 via Magisk

  1. It’s now time to flash Magisk and root your device. So go to Install, select the Magisk ZIP and perform a right swipe to flash it.
  2. Once Magisk has been flashed, you may reboot the device to the OS. So go to Reboot and select System.
  3. That’s it. Your device will now boot up to the rooted OS with TWRP permanently installed.

You may also like:

Leave a Reply