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

xVoidx

Member
Jul 14, 2008
19
1
So I have the Z Fold4 SM-F936U1 - XAA this is the unlocked US version and there is no "OEM Unlocking" after Developer options are enabled. Does this root method require an unlocked bootloader? I would assume so if flashing modified firmware is necessary?

I take it the US models and users will need to wait for a different method?
 

Cmccool8885

Member
Feb 26, 2022
10
1
OnePlus 7T
OnePlus 9 Pro
So I have the Z Fold4 SM-F936U1 - XAA this is the unlocked US version and there is no "OEM Unlocking" after Developer options are enabled. Does this root method require an unlocked bootloader? I would assume so if flashing modified firmware is necessary?

I take it the US models and users will need to wait for a different method?
Seems to be the case. So I was also wondering if you have to have the bootloader unlocked to flash firmware through Odin. And can you flash the EU firmware onto an American AT&T version with Odin, is it even worth it? I've wanted to see how Android 13 is.. Ive pretty much only rooted OnePlus phones.
 

szallenlian

Member
Apr 19, 2013
6
0

Attachments

  • BE50CC25-0C90-4A2B-A770-FCCCBE33E704.jpeg
    BE50CC25-0C90-4A2B-A770-FCCCBE33E704.jpeg
    2.7 MB · Views: 28

Thrudvangar

Senior Member
Sep 18, 2008
50
10
hmmm.

this is strange. i do not understand this.

i would try to do a factory reset, then do the initial setup, connect to wifi and look again in dev options
 

bigchrizzieboy

Senior Member
Sep 30, 2007
776
303
38
Near Amsterdam
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
 

Attachments

  • 1669187905112.png
    1669187905112.png
    104.9 KB · Views: 13
  • 1669189188235.png
    1669189188235.png
    109.1 KB · Views: 8
Last edited:
  • Like
Reactions: ps000000

Stray doggy

Member
Jul 22, 2015
22
2
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?
 

bigchrizzieboy

Senior Member
Sep 30, 2007
776
303
38
Near Amsterdam
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
 

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.
    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
  • 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
    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.