How To Guide How to ROOT Fold 4 [UPDATED - ANDROID 13 WORKS]

Did you root your fold 4? If so, please post your experience (any issues?)

  • Yes, SM-F936 (please comment in thread)

    Votes: 1 5.6%
  • Yes, SM-F936B (please comment in thread)

    Votes: 6 33.3%
  • Yes, SM-F936N (please comment in thread)

    Votes: 3 16.7%
  • Yes, SM-F936U (please comment in thread)

    Votes: 1 5.6%
  • Yes, SM-F936W (please comment in thread)

    Votes: 0 0.0%
  • Yes, but i don't know the model (please comment in thread)

    Votes: 0 0.0%
  • No, not possible (please comment in thread)

    Votes: 0 0.0%
  • No, i don't want (please comment in thread)

    Votes: 7 38.9%

  • Total voters
    18
Search This thread

robsmith11

Senior Member
Jul 20, 2018
59
18
I successfully rooted a new Fold4 purchased from Thailand using this guide. I used the latest September firmware.

One issue I had was Heimdall didn't seem to recognize my phone, so I had to use Odin from a Windows VirtualBox VM. Anyone get Heimdall to work on Linux?

Btw pretty good prices here.. about $1300 for new in box with full warranty from MBK in Bangkok.
 
  • Like
Reactions: bigchrizzieboy

goldsonic

New member
Mar 30, 2013
4
1
First things first:

- This DOES NOT work on all models:
The US (and maybe more models) do NOT allow root.
Only the B, N, and /DS models are rootable at the moment.


- Also there are known issues with Samsung Health and Gear (connecting watch)
- See second post for F.A.Q.!


I was able to root my Fold 4 and under here are the steps.
I hope it make sense and otherwise i will answer questions/try to help.

Steps in short:
- Enable Developer Mode (on phone action).
- OEM unlock (on phone action).
- note the software version.
- Download needed firmware.
- Patch AP in Magisk (on phone action).
- Finish OEM unlock in Download mode (this will RESET the device)
- Setup phone again and connect wifi (that's important i guess).
- Flash patched AP with Odin


Steps with more explanation:

- Enable Developer mode (on phone action)
Navigate to Settings > About device > Software information >
Click on Build number (7 times) until you see a message that says: You are now a developer!

- OEM unlock (on phone action)
Navigate to Settings > Developer Options (at the Bottom) Find OEM unlock and toggle it to on.
If this option is not there then probaly your phone cannot be rooted (see second post)

- note the software version:
Navigate to Settings > About device > Software information > Software Version.
Example (bold is what is needed):
SSOAMC_SM-F936B_OXM_EUX_12_0045
EUX/-/EUX/EUX

- Download needed firmware:
https://samfw.com/firmware/SM-F936B/ (I downloaded from here)
https://www.sammobile.com/samsung/galaxy-z-fold-4/firmware/
https://samfrew.com/model/SM-F936B/

- Patch AP in Magisk (on phone action)
Download and install Magisk on your phone:
https://github.com/topjohnwu/Magisk/releases/latest
Copy the AP file to your phone example:
AP_F936BXXU1AVGA_F936BXXU1AVGA_MQB54005121_REV00_user_low_ship_MULTI_CERT_meta_OS12.tar.md5
to phone, patched file in Magisk and choose the AP file.
magisk_patched-25200_KYFoy.tar is created.
Copy this file back to computer next to the other firmware files.

Now you've got everything and you can start the proces:

- Finish OEM unlock in Download mode (this will RESET the device!)
This was hard to do; i hope the instructions are do-able, please comment.
power off, hold volume up&down, connect USB cable to PC.
the screen is dark and hard to read.
HOLD volume up key to unlock bootloader and press volume up again to confirm.

- Setup phone again and connect wifi (that's important i guess).
After finishing the setup check under developer options or bootloader unlocked is on and greyed out.

- Flash patched AP with Odin
I flashed the whole firmware (could be usefull with new samsung updates), took about 4 minutes:
BL
AP (patched file) <- i guess only this one was needed.
CP
CSC

- Setup the phone, install Magisk and check.
After finishing the setup, install Magisk, it will do some last finishing setup (and reboot) and you've got root!
My phone is rooted, LSPosed Zygisk also working without any problem.

screenshot my odin setup:
View attachment 5695933
Thank you so much for the steps.
 
  • Like
Reactions: bigchrizzieboy

bigchrizzieboy

Senior Member
Sep 30, 2007
781
305
38
Near Amsterdam

lvchi

Member
Nov 23, 2015
8
0
I'm pretty sure it works fine on all rooted Fold4 models. I haven't had anything break after rooting my F936B.
Many users say that the camera will be locked, but no one has given evidence, they say that only the European version will not lock the camera. Have you seen other versions that are not locked?
 

bigchrizzieboy

Senior Member
Sep 30, 2007
781
305
38
Near Amsterdam
Many users say that the camera will be locked, but no one has given evidence, they say that only the European version will not lock the camera. Have you seen other versions that are not locked?
What is your source? Never heard of the camera getting locked.
Thai, Vietnam, both rooted if you scroll through this thread. Nobody says camera is locked or anything...
 

lvchi

Member
Nov 23, 2015
8
0
What is your source? Never heard of the camera getting locked.
Thai, Vietnam, both rooted if you scroll through this thread. Nobody says camera is locked or anything...
The models in Thailand and Vietnam are both f936b, same as in Europe, but mine is f936n. The camera of the f926n of the fold3 will be locked, but the f926b will not
 

lvchi

Member
Nov 23, 2015
8
0
Strange, only thing i can think up right now is a poll so hopefully more users will react and clear it up for us.
So i started a poll in this thread :)
Now all the feedbacks are f936b users, and there is no information related to f936n. f936n can be bought very cheap in my country, but i need root and i'm not sure if the camera will work
 

xiaoxiaokeai

Member
Oct 23, 2022
5
1

F936N unlock bootloader will lock the camera。Please how to solve this problem​

 

Attachments

  • 4530.jpg
    4530.jpg
    1.3 MB · Views: 46
  • Like
Reactions: bigchrizzieboy

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I have the same model and can confirm I have the same issue. Even with Android 13. Is there a way to fix / work around this? I am hopeless.
    I wish i could, i don't know the solution. I think you need a special tool or something flashable in twrp. Once i know more i'll post it.
    2
    So the 1 person who voted that they rooted their sm-f936u.. I take it that was a typo? Man I miss root.. such a great phone irregardless tho
    1
    Time for Android 13 update, fresh install for me with root.
    Little effort to write down my steps (hope it helps somebody)
    2022_8_8_12_6_11_257.jpg


    Work in progress for me,
    I've writen down the steps for myself, hopefully it will work.
    I'll update this post and edit first one.

    I skipped the steps that where not needed, i was on my already rooted phone developer, oem unluck.
    See first posts how to do that basic steps (not possible on all phone's!).

    - In short the steps i used:
    1: Download file (i used FRIJA this time) - XDA - GIFTHUB -
    2: Unpacked the file - 7-ZIP
    3: Backup everything i want with Migrate - PLAY STORE LINK - XDA -
    4: Copied the backup files to my computer to be very safe - with USB cable
    5: copied the AP file to my phone - with USB cable
    6: patched the file with magisk and copied it back to computer - GIFTHUB -
    7: Reset my phone in (i've got everything prepared and a good backup, no stuff left). - On phone action in settings -
    8: Setup phone and enabled developer options and usb debugging (needed for Odin)
    9: rebooted phone in download mode (ADB: adb reboot download)
    10: Flash the files with Odin - HOMEPAGE -
    - I wanted a full wipe so is used the CSC_OXM_F936B.... file
    - If you want to keep data use the HOME_CSC_OXM_F936B... instead
    - Beware, i've NOT tested a update instead of clean install but that is what i read in other posts!
    Please comment if the HOME_CSC_OXM_F936B... method works for you

    11: Clicked through the setup (let the phone connect to internet)
    12: Installed Magisk on phone and finished setup- GITHUB -
    My phone is clean, uptodate and rooted :)
    13: Copied my backup files back and restore some apps what i want.

    - Same steps with screenshots:
    1: Download file (i used FRIJA this time) - XDA - GIFTHUB -
    1669121283918.png


    2: Unpacked the file - 7-ZIP
    1669122450143.png


    3: Backup everything i want with Migrate - PLAY STORE LINK - XDA -
    It gave some error on file size, i edited options in Migrate and will retry.
    This time i make migrate helper only backup.
    Again error, i left some apps and make smaller backups (not all apps at the same time now).
    Working by creating backups from 20 till 30 apps a time. Took long time, but better safe then sorry.

    lrJ83TIPJuARQL4zVcgrr6L3xPJT4tDzqnxXOJPx39cnLPiTimTofa2G5U3x4GHcG2F7MNdUIJDnPcJDAUwAXDrcUeaWeMrK29GdXsqA-nf0IcJHah2iU_Aw7iKoqdvE6iuWVXTrqO55gArzmIek__LFkpS_RZhOlOc0HteefrOm1gLG4n-xzYB6n8ZG09O9i5Dl_Nj7Fj_Pn-9Okvkpay0DLBOOzj4ovyJsE4v2VGFus0bxarkPQQe_GE_rtAXWybLtS6dgUaFbuOI8FBvSrZjztaEhsj_-gGQGu71QbUwmRlMT_daCcHy4h6DZ9dbeg_oO6vis5NG3l-rth2in4RSxv_YRa-b3rIY4YR7jhvXbPPBBsowgFWLsOvTKHtyxUGGvHVE1TEAy14f12XsMEIsKZSNbNKtULdjrWHYGdcIYOSRUMe5HOeQUeCsApt1SBa-pRZQqKn_pqL7Qnni5daD9yFTh4JyGS8EBlz_r_Alh3oIgZ6NKFJ4cPHbAY0TV-08nO-uHSSMfYlCQdbszHAESKOlpBXbqnPVicvc4c8wKCHB1xz_XqQO7gtDhuQdIKvuj5TrrvX9I-CDvXsWar5_5J7ABpC8HppSa2leDOR0sakhB160yAB7fNJiSIDyMGypvlQYGJK1GuLndqIHJ2r5LpeKz6VMv_yfa6OgCcFZkF3tIDn77gxUWQ6CkQf1ENd5iFY3hfyZ3EoVixGMMtBMZky0zekIQvqvogvV1HZs96SjS9gKBllB-BEJ0P9jnZyegmji7-pxuWh8j_x3_dYeU7NYHz2oJbQlN9bF70KuBx-AkzVgbqX-yM4Dl0KHUw0UxM0THyehob8QIi7b8uChpfVS3SrzcYSyJljBfZ5okC2I1HtLMMB-QaQHImnZ-1b_01bQ-Qxs51oVX0MXCjKbwGL_pVnfdLlgQ_cBJkb_-lhqrSP84aIMF5Obk71__ltExTRM6_uOgrg7tu2Uxfc89kYUs6Pn0WSPoieM2YqJS_09Kyvhe4ZIzwQ=w376-h961-no


    4: Copied the backup files to my computer to be very safe - with USB cable
    1669130040845.png


    5: copied the AP file to my phone - with USB cable
    1669131749007.png


    6: patched the file with magisk and copied it back to computer - GITHUB -
    1669131763835.png
    1669131715715.png


    7: Reset my phone in (i've got everything prepared and a good backup, no stuff left). - On phone action in settings -

    8: Setup phone and enabled developer options and usb debugging (needed for Odin)

    9: rebooted phone in download mode (ADB: adb reboot download)

    10: Flash the files with Odin - HOMEPAGE -
    - I wanted a full wipe so is used the CSC_OXM_F936B.... file
    - If you want to keep data use the HOME_CSC_OXM_F936B... instead
    - Beware, i've NOT tested a update instead of clean install but that is what i read in other posts!
    Please comment if the HOME_CSC_OXM_F936B... method works for you

    1669189314096.png


    11: Clicked through the setup (let the phone connect to internet)

    12: Installed Magisk on phone and finished setup - GITHUB -
    1669190090438.png


    My phone is clean, uptodate and rooted :)

    13: Copied my backup files back and restore some apps what i want.
    That is also working fine for me with Migrage Flasher and Migrate Helper.
    1669192992802.png
    1669193253470.png
    1
    I have flashed files with Odin, but I don't understand how to "Patch AP in Magisk (on phone action)", as I read on the tutorial. Can someone tell me how to do it, please?
    Sure:
    - Open magisk
    - Choose install
    - Select and Patch a File
    Choose your AP file here and Magisk will do the magic.

    I think screenshots below will help.
    Let me know if it worked :)

    Screenshot_20221126_184126.jpg

    Screenshot_20221126_184138.jpg
    1
    Sure:
    - Open magisk
    - Choose install
    - Select and Patch a File
    Choose your AP file here and Magisk will do the magic.

    I think screenshots below will help.
    Let me know if it worked :)

    View attachment 5771007
    View attachment 5771009
    Thank you for trying to help and sorry for my delay.

    As I see it, I have to patch the ROM file(s) with the Magisk-v25.2.apk before injecting it in the phone via Odin. But the Magisk .apk file is not executable on a computer. Hence, my question: How do I do that. How can I
    "- Open magisk
    - Choose install" ?

    This is the only thing I don't understand and don't know how to do on your well detailed tutorial.
  • 5
    Time for Android 13 update, fresh install for me with root.
    Backup and restoring apps, much work but it works and is worth it for me.
    Little effort to write down my steps (hope it helps somebody).
    See post 73
    2022_8_8_12_6_11_257.jpg


    First things first:

    - This DOES NOT work on all models:
    The US (and maybe more models) do NOT allow root.
    Only the B, N, and /DS models are rootable at the moment.


    - Also there are known issues with Samsung Health and Gear (connecting watch)
    - See second post for F.A.Q.!


    I was able to root my Fold 4 and under here are the steps.
    I hope it make sense and otherwise i will answer questions/try to help.

    Steps in short:
    - Enable Developer Mode (on phone action).
    - OEM unlock (on phone action).
    - note the software version.
    - Download needed firmware.
    - Patch AP in Magisk (on phone action).
    - Finish OEM unlock in Download mode (this will RESET the device)
    - Setup phone again and connect wifi (that's important i guess).
    - Flash patched AP with Odin


    Steps with more explanation and screenshots:

    - Enable Developer mode (on phone action)
    Navigate to Settings > About device > Software information >
    Click on Build number (7 times) until you see a message that says: You are now a developer!
    one-ui-developer-mode4.jpg


    - OEM unlock (on phone action)
    Navigate to Settings > Developer Options (at the Bottom) Find OEM unlock and toggle it to on.
    If this option is not there then probaly your phone cannot be rooted (see second post)
    1666691373282.png


    - note the software version:
    Navigate to Settings > About device > Software information > Software Version.
    Example (bold is what is needed):
    SSOAMC_SM-F936B_OXM_EUX_12_0045
    EUX/-/EUX/EUX

    - Download needed firmware:
    https://samfw.com/firmware/SM-F936B/ (I downloaded from here)
    https://www.sammobile.com/samsung/galaxy-z-fold-4/firmware/
    https://samfrew.com/model/SM-F936B/

    - Patch AP in Magisk (on phone action)
    Download and install Magisk on your phone:
    https://github.com/topjohnwu/Magisk/releases/latest
    Copy the AP file to your phone example:
    AP_F936BXXU1AVGA_F936BXXU1AVGA_MQB54005121_REV00_user_low_ship_MULTI_CERT_meta_OS12.tar.md5
    to phone, patched file in Magisk and choose the AP file.
    magisk_patched-25200_KYFoy.tar is created.
    Copy this file back to computer next to the other firmware files.

    Now you've got everything and you can start the proces:

    - Finish OEM unlock in Download mode (this will RESET the device!)
    This was hard to do; i hope the instructions are do-able, please comment.
    power off, hold volume up&down, connect USB cable to PC.
    the screen is dark and hard to read.
    HOLD volume up key to unlock bootloader and press volume up again to confirm.
    bootloader-unlock-2021.jpg


    - Setup phone again and connect wifi (that's important i guess).
    After finishing the setup check under developer options or bootloader unlocked is on and greyed out.

    - Flash patched AP with Odin
    I flashed the whole firmware (could be usefull with new samsung updates), took about 4 minutes:
    BL
    AP (patched file) <- i guess only this one was needed.
    CP
    CSC

    - Setup the phone, install Magisk and check.
    After finishing the setup, install Magisk, it will do some last finishing setup (and reboot) and you've got root!
    My phone is rooted, LSPosed Zygisk also working without any problem.

    screenshot my odin setup:
    odin_pass.png
    3
    FAQ: got questions? ask them in this thread and it it make sense i'll edit this post

    - Can all modeld be rooted? No, this doesn't work on all models (as stated here and some more info here):
    SM-F936U(/1) - US model - Unrootable
    SM-F936W - Canadian model - Unrootable
    SM-F936B EUX - European model - Rootable (my telephone)
    SM-F936N - South Korean model - Rootable
    SM-F936B(/DS) - Global model - Rootable***
    ***B models purchased in UK are not guaranteed to get an unlocked bootloader due to brexit as noted by user 白い熊 and confirmed by kaos_king

    The global model has the bands most similar to the American one. The south Korean model doesn't use the same 5G bands used in america. The only models that can be found on ebay are are U and N.
    Discussing is happening in the other thread from page 3 there's more information.

    More info/questions? please post here and i will edit this post if needed

    - Can i update my Fold 4 after root?
    :
    Automatic updates will not work!
    You can however download new firmware and keep your data: see pvillasuso his post
    in this thread: Update and keep root and data
    Grab your latest firmware , get the AP file and patch it with your magisk app
    Then Odin flash the full firmware , using the AP magisk patchfile @ AP Tab
    Use CSC_HOME file @ CSC Tab ( to keep all your data and actual setup )
    Done > Updated with root + data + setup

    - Any known problems with device after rooting it?:
    First off all rooting can have his downsides, think about global things like banking apps not working.
    Besides that; Not many Fold 4 users are rooted yet i guess, so it's possible there will come known issues.
    For now:

    - Gear WearAble is NOT working correctly (my buds work, my watch keeps pairing).

    - Samsung Health is NOT working correctly (error on opening)
    FIX: Version from here: https://adil.hanney.org/SamsungAppsPatcher/ is working fine.

    - Camera's are working fine as far as i know for now.

    More info/questions? please post here and i will edit this post if needed
    2
    Has anyone successfully rooted a phone purchased in Asia (outside of China and Korea)?
    If not, is there anything I can check at the store before purchasing to have a good idea whether root will work?
    I've bought Fold 4 in Vietnam and have rooted it very fast and easy. Now I can't connect we galaxy watch but samsung health works (instruction from 2nd post)
    2
    I root my phone for many years so the first thing i finded out was: how to root fold 4.
    It's easy and i can help you, just get the damn phone :p
    I have the us variant. So no root for me until I get the right variant. But still the region lock is a worry
    2
    Is there already a TWRP?
    if you are willing to test contact me