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 3.3%
  • Yes, SM-F936B (please comment in thread)

    Votes: 11 36.7%
  • Yes, SM-F936N (please comment in thread)

    Votes: 4 13.3%
  • Yes, SM-F936U (please comment in thread)

    Votes: 3 10.0%
  • 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: 11 36.7%

  • Total voters
    30
Search This thread

bigchrizzieboy

Senior Member
Sep 30, 2007
797
308
38
Near Amsterdam
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.
Delay? No problem, don't rush this.

Copy AP file to phone (the big file).
Install magisk.apk on you phone (open the downloaded with file manager).
Open magisk, patch the ap file.
It will create a big patched file (with diffirent name).
Copy the patched big file to your computer.
Follow the steps (choose the files in Odin and flash).
Don't forget to install magisk after the odin proces and finish setup
 
  • Like
Reactions: Stray doggy

Stray doggy

Member
Jul 22, 2015
30
3
Delay? No problem, don't rush this.

Copy AP file to phone (the big file).
Install magisk.apk on you phone (open the downloaded with file manager).
Open magisk, patch the ap file.
It will create a big patched file (with diffirent name).
Copy the patched big file to your computer.
Follow the steps (choose the files in Odin and flash).
Don't forget to install magisk after the odin proces and finish setup
I think I got it. I'll do it later. Thank you very much for your very useful help.
Afterwards, will I still receive the Samsung automatic updates, or do I have to search for them?
 
Last edited:
i use a Note 20 Ultra 5G rooted with safetynet fixed, samsung health latest working.

i stumbled upon this thread as i was doing some research on Fold4 if it can be rooted and i can upgrade my phone 🙂

I am using this magisk module which fixes issues with Samsung Health app and Galaxy Wearable getting frozen at times due to it . This module after i installed has fixed Samsung Health and im using the latest version installed from playstore. Here is the link to the developers page on Github of the module 🙂

 
  • Like
Reactions: bigchrizzieboy

bigchrizzieboy

Senior Member
Sep 30, 2007
797
308
38
Near Amsterdam
i use a Note 20 Ultra 5G rooted with safetynet fixed, samsung health latest working.

i stumbled upon this thread as i was doing some research on Fold4 if it can be rooted and i can upgrade my phone 🙂

I am using this magisk module which fixes issues with Samsung Health app and Galaxy Wearable getting frozen at times due to it . This module after i installed has fixed Samsung Health and im using the latest version installed from playstore. Here is the link to the developers page on Github of the module 🙂

I will test this later when i got time.
Thank you very much offcourse!

EDIT: DOES NOT WORK, keeps connecting...
 
Last edited:

Handymann007

Senior Member
Mar 10, 2019
58
8
Hello I occasionally get the message.....Access denied... Unauthorized changes have been made to you phone. To get help, contact Customer Service how can I set it or what do I have to do so that it is no longer displayed?
 

bigchrizzieboy

Senior Member
Sep 30, 2007
797
308
38
Near Amsterdam
Has anyone found/have the firmware for the Zfold4U1 with csc code GCF????
Thanks in advance
Not on the sites i've used before...
https://samfw.com/firmware/SM-F936U1 not here
what is GCF (country, region)?
 
Not on the sites i've used before...
https://samfw.com/firmware/SM-F936U1 not here
what is GCF (country, region)?
Yea I wonder if you just need to be on a U1 firmware and the change csc, but apparently it's GCF=Global Certification Forum I figured it might have the OEM unlock showing
 

bigchrizzieboy

Senior Member
Sep 30, 2007
797
308
38
Near Amsterdam
Yea I wonder if you just need to be on a U1 firmware and the change csc, but apparently it's GCF=Global Certification Forum I figured it might have the OEM unlock showing

I think you can use US firmware if i read this site.
But of course I can't guarantee anything.
 
The the only thing after reading that is it makes me even more confused on what my correct firmware is supposed to be bought my Zfold right from att but my firmware doesn't match att csc code but matchs t-mobile ans meto csc etc under the f936u varient
 

Attachments

  • Screenshot_20221206_114714_DeviceKeystring.jpg
    Screenshot_20221206_114714_DeviceKeystring.jpg
    117.2 KB · Views: 29
As well would any one who has been able to root there device have logs of when the did oem unlocked there drive they could share, or even possibly have some emmc firehose's they know of to post here so I can continue testing with eld mode im not quite sure what I'm looking for sense eventing I search just brings me to different manufacturer phones
 

elchilverde

New member
Jan 23, 2019
2
2
I dont' mean to derail from the main thread. Just want to state that this guide worked for my Z Fold3 5G - SM-F926B/DS with the latest Android security level patch (1 December 2022)

Thanks for this guide, OP.
 
  • Like
Reactions: bigchrizzieboy

ghassan haddad

Senior Member
Apr 4, 2010
446
82
why do people even still root? We used to do that when we had obsolete Phones or when OS updates didn't exceed one year. But why now? and with the latest phone in the market?!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Do you mean that you carrier unlocked your UK phone?

    No they mentioned :
    - 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

    and i got the version SM-F936B(/DS) from uk (box said uk ) and was able to unlock the bootloader

    now i need help compiling the kernel for nethunter ... (https://forum.xda-developers.com/t/nethunter-build-help-kernel-system.4541193/ )
    1
    I believe I understand what they tried to explain to you.

    Basically you used the .md5 in Odin and you were not supposed to.

    they're telling you to use the other files that are named the same but not .md5 (which are bigger in size).

    Hope this help..!
    1
    I will test this later when i got time.
    Thank you very much offcourse!

    EDIT: DOES NOT WORK, keeps connecting...

    Got my GW3 to pair yesterday! I had to flash TWRP and a custom kernel and it all works now, if anyone is interested in getting their gear devices to work this is the way to do it.
    1
    Hey folks just want to let u know
    i was able to unlock the bootl. of the uk version

    via the method posted here , went on and also flashed twrp and the matching kernel !
    1
    Nice Thread...

    Anybody knows for sure or has experience in if that works with the newer "Fold 5" model?

    Thx
  • 6
    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
    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
    Here's my post for a VERY DETAILED WALKTHROUGH how to do it on a Samsung Tab S8. It's the same procedure on the Fold 4.

    2
    Is there already a TWRP?
    if you are willing to test contact me