yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Z Fold 5] exocetdj:
i recommend knox patcher after root. keeps most things working (bar samsung pay ans samsung pass) also bluetooth lib patcher (without this, bluetooth pairings are lost every boot)

play integrity fix is also useful for keeping basic attestation (for banking apps etc)

on F946B the camera IS NOT EFFECTED - this does not sadly seem to be the case on korean models

knox fuse will be tripped the second any custom images are installed, this is permanent and cannot be undone but only stops samsung pay and pass working (never stopped me from rooting lol as gpay works and im sure there are alternatives to samsung pass lolol)

i think that's it quirk-wise for rooting stock firmware

GitHub - 3arthur6/BluetoothLibraryPatcher

Contribute to 3arthur6/BluetoothLibraryPatcher development by creating an account on GitHub.

github.com

GitHub - salvogiangri/KnoxPatch: LSPosed module to get Samsung apps/features working again in your rooted Galaxy device.

LSPosed module to get Samsung apps/features working again in your rooted Galaxy device. - salvogiangri/KnoxPatch

github.com

https://github.com/LSPosed/LSPosed (lsposed for knox patcher)

GitHub - chiteroman/PlayIntegrityFix: Fix Play Integrity (and SafetyNet) verdicts.

Fix Play Integrity (and SafetyNet) verdicts. Contribute to chiteroman/PlayIntegrityFix development by creating an account on GitHub.

github.com
[Samsung Galaxy Z Fold 5] solid.snake:
Many thanks for your feedback, I've learned today...

Need to download those 3 patches :

- knox patcher

- Bluetooth lib patcher

- play integrity Fix (is this the Universal SafetyNet Fix ?)

I'm on the F946B, si good news there.

So, do you usually install custom rom on Samsung ? If So what was the latest model you did " custom romed "?
[Samsung Galaxy Z Fold 5] exocetdj:
used to do my own magisk based modpack (aka magisk rom) on z fold 3 but it became too time consuming (my wife has MS so don't have the time to mod these days) -> no others as yet but 1 or two may be in the works away from xda.

I may get a odin rom together now but it will be stock look with debloat and a few standard tweaks as im no developer sadly lol
[Samsung Galaxy Z Fold 5] solid.snake:
Awesome mate, thanks for the edit also.

Don't know what is MS, but I wish you both the best
[Samsung Galaxy Z Fold 5] exocetdj:
No worries and thanks man :)

Would be good if i can take ownership of this thread or if the info i have posted could be added to 1st post -> rooting and having everything still working is a bit more involved on samsung phones so theres a fair bit required there to keep (almost) full functionality

@白い熊 what do you think mate??
[Samsung Galaxy Z Fold 5] solid.snake:
You are litterally reading my mind. The OP's post is stupidly useless, or should not have the "how to guide" tag.

Just make one of your own, you have my support !

I would ne the first to follow you root instruction step-by-step
[Samsung Galaxy Z Fold 5] exocetdj:
lol, to be fair i think it was written when we were all finding our way with new zf5s just after release but it defo could do with a refresh - hopefuly can get this sorted as new users usually trickle over to new decices over the course of a year or so
[Samsung Galaxy Z Fold 5] burninghouse:
I dont know why nobody has made a video yet showing the process. It gives me extra confidence.
[Samsung Galaxy Z Fold 5] solid.snake:
A video or any step by step guide with proper screenshots aswell
[Samsung Galaxy Z Fold 5] exocetdj:
one thing i quite like about simple guides as it encourages (or should encourage) people to use google if they are unsure of any of the steps. you are developing both your initiative and knowledge (you shouldn't attempt to root such an expensive device without either of course)

also older versions of the fold range usually have more developed guides (z fold 3 and 4 have decent guides which i used to confirm the process is exactly the same for z fold 5)

I will do a dedicated thread as i have had no response from OP

HOWEVEVEVEVEVEVEVEVEVEVEVER!!!!!!!!!!!!!!!

This won't include screenshots or videos. I have faith that you guys can go without ;)
[Samsung Galaxy Z Fold 5] solid.snake:
Sure !

After my previous comment i went to the SGZF4 forum as both phones are nearly the same

That guide seems suitable (need to ne adapted to our SGZF5)

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

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 First things first: - This DOES...

xdaforums.com

yes, we may find some answer in Google, but personally, i've always trusted this community beyond any other else.

I've indeed always relied on Google just in case indead
[Samsung Galaxy Z Fold 5] ajp_anton:
Does one have to go through this process every time there's an update? Meaning all data is lost and everything has to be reinstalled and restored. Any way to keep a rooted phone updated while keeping my apps and data?
[Samsung Galaxy Z Fold 5] exocetdj:
No thankfully not. On oneui 6 we can update with root and keep data by following steps:

1, 2, 3, 8, 9, 10 & 11...

...of the guide I posted on this page above. All the bootloader unlock steps (4 to 7) only need doing once, unless you relock bootloader of course (which should only ever be done AFTER flashing stock firmware to unroot)

I will specify the steps for both methods when I get time
[Samsung Galaxy Z Fold 5] exocetdj:
To be specific on updating and keeping root and data intact:

1. Download preferred firmware files and unzip so you see 5 files. AP, BL, CP, CSC and HOMECSC. Install magisk app on device and copy AP to internal storage.

2. Open magisk app on device and select install, then "select and patch file". On the next screen, find and select the AP file in your devices internal storage. The magisk app will patch the file with root and send the file to downloads on internal storage.

3. Copy the patched AP file to PC and set aside for now.

Don't eat any children they are full of additives and covid (I dunno, just some random text to replace steps 4-7 lol 😆)

8. Open up odin and load BL firmware file in BL slot. Add the magisk patched AP file to the AP slot. Add CP to the CP odin slot and HOMECSC to the CSC slot. UNCHECK AUTO REBOOT and then start the flash.

9. If all files are loaded correctly, the flash will show as passed on odin. Hold volume down and power for 7 seconds to reboot to system.

10. If the device boots to recovery stating data is correct, don't worry, just select factory reset and reboot. (YOU DON'T WANT TO SEE THIS BUT I HAVENT SINCE UPDATING ON ONEUI6 AS HAVE TEST FLASHED SEVERAL TIMES. This would be what happens if attempting these steps on oneui 5.1.1)

11. Your device will now boot and have root. Go through setup normally then install magisk app if needed and open it. You'll be prompted to let the device to reboot after 5 seconds but select no and go to install, "direct install". After selecting that, your device will reboot and have full root.
[Samsung Galaxy Z Fold 5] ajp_anton:
Thank you. I'm still on OneUI 5 though, so I guess I still need to do one factory reset to get to 6, before I can do regular updates more freely?
[Samsung Galaxy Z Fold 5] exocetdj:
If you are rooted on oneui 5.1.1 you can update to oneui 6 without losing root or data using the steps I specified above (I.e the method minus steps 4-7).

The issue only effected 5.1.1 updates over 5.1.1 and not oneui 6 updates over oneui 5.1.1
[Samsung Galaxy Z Fold 5] nikerossxp:
correct me please, sir - if i has september 5.1.1 build nad want to upgrato to november 5.1.1 - a lose all my data, if i jump directly on ui 6, i don't lose it?
[Samsung Galaxy Z Fold 5] exocetdj:
correct - 5.1.1 seems to be a bit funny with updating and deletes user data EVEN if HOMECSC is used. This does fortunately NOT occur on oneUI 6 or if updating to OneUI6 from 5.1.1 with root
[Samsung Galaxy Z Fold 5] nikerossxp:
Thank you sir. Are you already tested upgrade ui6 to ui6? Cause there is 11.01 version and 12.01 version of A14, and some more oncoming. Is bug with data lost is fixed?
[Samsung Galaxy Z Fold 5] exocetdj:
I have tested both 5.1.1 to 6 and 6 to 6 and no data is lost when using my method 🙂
[Samsung Galaxy Z Fold 5] nikerossxp:
I confirm, the method is working. Upgraded from september 5.1.1 to december 6.0 directly.

In my case, i have bugged magisk module who halt all system, and trying to flash firmware again without magisk patch - catch a recovery "data corrupted" after boot, then flashed again patched and device boot well.
[Samsung Galaxy Z Fold 5] coyote73:
Hello is there a carrier unlock for the Z Fold 5 sm-f946u (TMobile) payments still owed?
[Samsung Galaxy Z Fold 5] StealthBlack:
So there is still no root for the US model? SM-946U?

is this one of those situations where there is never going to be a root?

I really like having rooted phones did loss my money on this phone?
[Samsung Galaxy Z Fold 5] 白い熊:
There is usually no root for Samsung US models —due to the widespread malpractice of operators enforcing sales of unlockable bootloaders.

If you want root in the modern times you're well advised to only by EU models. These are required to have unlockable bootloaders.
[Samsung Galaxy Z Fold 5] StealthBlack:
Damn I should of done my research before buying this phone. How awful.

In your opinion will there eventually be a root? Or is it more likely to never happen?
[Samsung Galaxy Z Fold 5] 白い熊:
Won't happen.
[Samsung Galaxy Z Fold 5] StealthBlack:
Damn one of the coolest phones around to use termux on and I can't get SU permissions. Ugh what a let down man.

Thank you for replying and letting me know tho.
[Samsung Galaxy Z Fold 5] jetsanix:
After you rooted the F346B, were you able to unlock all bands through band selection?

Is the camera still working properly?
[Samsung Galaxy Z Fold 5] ByteNick:
I got a chinese version of the Thom Browne Edition.

Any idea where I can get a firmware for that one?
[Samsung Galaxy Z Fold 5] melomanodav:
Do you have the watch also?
[Samsung Galaxy Z Fold 5] JazonX:
Is TWRP making any use lately ?

I see new builds are up on github thread here.

Your process would include to inject TWRP to AP file or flash right after patched AP, isnt it ?

And one more question - Stock AP TAR is almost 11GB, after patching with Magisk, it became 8GB.

Is this normal ?
[Samsung Galaxy Z Fold 5] ByteNick:
Yes, I do.
[Samsung Galaxy Z Fold 5] melomanodav:
Would you share those watchfaces on apk file?
[Samsung Galaxy Z Fold 5] nikerossxp:
confirmed work on may update

MAYBE for patching new AP file you need to update your magisk app to CANARY version!
[Samsung Galaxy Z Fold 5] tomking130:
Surprised to find that in F946B WWA-CSC SupportEsim=FALSE ，it can also use dual physical SIM cards in this version。
[Samsung Galaxy Z Fold 5] ajp_anton:
I really dragged my feet here, but I finally upgraded from UI5 to UI6 and it went fine in terms of not losing data.

However I had some problems with the latest Magisk version 27000. It just crashed when trying to patch, and the same happened when downgrading to previous versions. Only when going to newer alpha versions (I used 27003) did patching work, and now I guess I'm stuck with an alpha version of Magisk, because going to any stable version apparently means I have no root.

It looks like there's a fix for >8GiB AP's, but I've obviously done a patch on a >8GiB AP before when I did my first root on UI5, so I'm a bit confused here.
[Samsung Galaxy Z Fold 5] Dummyboy:
Hey guys, I’m hoping someone can help me figure out how to unlock my fold 5. I bought it in January from someone on offer up and used it with no issues for like 5 months then at the end of May I turned it on when I woke up one day and it was locked with this message, “” This device is disabled because it was reported as lost, stolen, or has a balance due for failure to meet trade-in terms. If purchased from Samsung.com, check the email used at the time of purchase for an email sent by Samsung for the next steps. If you didn't purchase this device from Samsung.com, please return the device to the place of purchase. “”
[Samsung Galaxy Z Fold 5] highlanderx:
So. Everything works with this root on he b version??
[Samsung Galaxy Z Fold 5] amritpal2489:
Is there any guide to root Fold 6?
[Samsung Galaxy Z Fold 5] JazonX:
Current method should work as the devices are almost identical.
[Samsung Galaxy Z Fold 5] amritpal2489:
Can you please point me to a specific post or guide for this? Coming back to samsung from pixels after a long time
[Samsung Galaxy Z Fold 5] JazonX:
How to ROOT S24 Ultra (Working)

How to Root Samsung S24 Ultra (SM-S928B) ⚠️ WARNING! Before you root your device you must be aware that This will void warranty. As of now you will lose Samsung Pay and Samsung Pass forever if you root once, even unrooting won't help. There...

xdaforums.com
[Samsung Galaxy Z Fold 5] amritpal2489:
Thanks a lot
[ONE Android Development] zhengz:
Always backup your phone before flashing the ROM.

NOTE: You have to repartition you /system to 1500MiB+ to flash the ROM. If you don't know how, please

see this guide

.

If you want to use Bluetooth, the

LineageOS 19.1

is recommended.

What's not working:

Bluetooth (Fixed in 10/25 build)

LiveDisplay

SELinux is permissive

Network traffic moniter (which requires eBPF kernel)

Maybe more

Downloads

Rom : 08/06 build

Rom : 10/25 build

Sources

Device bacon

Device msm8974-common

Device oppo-common

Kernel

LineageOS-UL

Thanks

LineageOS team

npjohnson (official 18.1 maintainer)

LineageOS-UL Project
[ONE Android Development] ROM_gamer987:
Any reason on why bluetooth is not working? i'd like to help if possible
[ONE Android Development] oneplusausage:
good stuff. i hope this opens the floodgates so others can make a proper rom with meaningful customization.

so what made it possible? a ton of devices are stuck on android 11 and since version 12 onwards a lot changed in the kernel or something, making it hard to backport to older phones. so the fact that the opo can boot this at all is impressive on its own.

in any case, this is a nice proof of concept!
[ONE Android Development] Tomoms:
There's nothing special about this ROM or the OPO. Old devices stuck on 11 can all boot 12 or 13 if you implement a patch to totally bypass & ignore the errors deriving from the new kernel requirements. This ROM simply contains such patch. The underlying functionality (network packet filtering) remains broken.
[ONE Android Development] zhengz:
Yes, it's not difficult to do this. There are no A12 roms for the OPO, so i simply downloaded LineageOS-UL sources and made builds for it.

All credit goes to the offical LineageOS 18.1 maintainer and the LineageOS-UL project.
[ONE Android Development] SoundDrill:
I am shocked at how fast and responsive this is, especially the QS

thanks a lot for the work!
[ONE Android Development] mrhamed:
Thank you developer(s)...

I hope more your efforts are made to ensure Enforcing SELinux and eBPF support are implemented for the future releases of this Rom.

Thank you again.🙏
[ONE Android Development] ChzeRub:
Nice work , Any idea why bluetooth isn't working ?
[ONE Android Development] ferlanero:
Really interesting. Could there be further development of the missing functionalities in this ROM?
[ONE Android Development] ferlanero:
[RECOVERY]LiteGapps_arm_13.0_v2.8_official.zip is working perfectly on this ROM

Source: https://litegapps.site/
[ONE Android Development] zhengz:
New build available

Changelog

1. Sync with latest LOS source / 2023-10-06 ASB.

2. Fixed Bluetooth.

Download

Rom : sourceforge
[ONE Android Development] ferlanero:
Amazing! Thanks for your efforts! I'll try it later (y)
[ONE Android Development] ferlanero:
Well, after trying Lineage 20 on the Bacon for this weekend I must admit I'm really surprised how butter this ROM is on the OnePlus ONE 😮 Everything here is smooth and fast even with Gapps (if you use litte Gapps as I have advised here:

Thumbs up and long life to our beloved OnePlus One! (y)(y)(y)
[ONE Android Development] Djiban:
Please update post #1 here, including working bluetooth, thanks
[ONE Android Development] tamirci62:
Wath
[ONE Android Development] zhengz:
Updated #1 Post
[ONE Android Development] GHOSTAHALLOWEEN:
Works great but needs some improvement and minor bugs fixing then it will be smooth asf like opening app drawer and notification panel and closing and overall user interface needs to be little bit more polished.
[ONE Android Development] Rijal25:
Hi ! I try to flash it with TWRP 3.6.2_9.0 it says Updater process ended with ERROR: 1 Anyone can HELP please ?
[ONE Android Development] SoundDrill:
Did you follow the repartition instructions?
[ONE Android Development] Rijal25:
Thanx a lot... I did and it works likea charm...
[ONE Android Development] chris.cook:
Good job,

Require to increase the system partition before upgrading to 20.0.

The provided link was very useful.

I have flashed LineageOS 20.0 build from your source code without any issue.

(y)
[ONE Android Development] Sergey St:
Hello? Where did you download the build from 2024.01.18 Lineage OS 20 for OnePlus One? How does the phone work on it? Does mobile internet and Wi-Fi work?
[ONE Android Development] chris.cook:
I have build this release from the sources provided by zhengz, thanks to him.

The Wifi works for me. I haven't yet try the phone part (no spare SIM with data).

I currently trying to build the February update.

I'll come back soon.
[ONE Android Development] Sergey St:
Tell LiveDisplay works on your build, did you manage to fix it? When you assemble the February build, can you provide a download link?
[ONE Android Development] SoundDrill:
Do you have a build server? I have an account on foss.crave.io that allows me to build los 20, arrow 13, derp 13, crdroid 10, etc, Feel free to ask if you want to queue some builds
[ONE Android Development] Sergey St:
I don’t have a build server and I don’t quite understand what it is. I’m not a programmer, although I would really like to learn how to build firmware and learn how to program. I would like to try installing Android 10, as I understand it, it’s on Android 13, I really like this firmware, it’s very functional and it has a beautiful launcher. Tell me, can you collect firmware for OnePlus One or other phones?
[ONE Android Development] SoundDrill:
What do you mean by collecting firmware? You can scour this forum for downloads for various phones(many might have dead links though)
[ONE Android Development] Sergey St:
Collecting firmware - create firmware. I can’t log into foss.crave.io I don’t have an account and I haven’t found how to create one.
[ONE Android Development] SoundDrill:
I don't quite get it but ok

Since rom building is disabled on the public instance, we use foss.crave.io. PM me if you'd like an account, I'll ask the crave team
[ONE Android Development] chris.cook:
Hello

Internet connection on french 4G network seems to be OK.

I'm waiting for source code including Ferbruary security patches in order to build the related rom.
[ONE Android Development] Sergey St:
The LiveDisplay works on your build?
[ONE Android Development] chris.cook:
Hello

I don't do any debugging, I only build the rom from source codes provided by zhengz and the most rescent from lineageos.

I will provide a link when the February security update will be tested and available.
[ONE Android Development] Sergey St:
Ok.
[ONE Android Development] Sergey St:
Will there be further support for this firmware from the official maintainer?
[ONE Android Development] zhengz:
No, because LineageOS 19+ does not support devices with armv7 socs and kernel 3.x
[ONE Android Development] chris.cook:
HI,

I have just build the LineageOS 20.0 including APRIL security update for our bacon device.

WARNING: installing it, requires to have an increased system partition as described at the beginning of this discussion. It's a risky procedure, so YOU DO IT AT YOUR OWN RISK

Once your bacon has the right system partition size, the installation steps are:

1- reboot in recovery mode using twrp

2-use adb sideload to flash the 3 following file without rebooting:

- adb sideload lineage-20.0-20240412-UNOFFICIAL-bacon.zip

- adb sideload bacon-resize-system.zip

- adb sideload MindTheGapps-13.0.0-arm-20231025_200806.zip

3-reboot

You can download the room using that link (sorry I haven't a permanent download space):

- https://get.hidrive.com/i/5tvWCwZ4

Have fun
[ONE Android Development] SoundDrill:
Is device, kernel, vendor, common enough to build the rom?

Any HALs needed?

I want to try building los 21 UL with this, see what errors we get
[ONE Android Development] chris.cook:
HI,

The following patch has to be applied to the current LineageOS-UL source code in order to bypass

the compilation error on DownloadStorageProvider.java source code:

https://review.lineageos.org/c/Line...s/downloads/DownloadStorageProvider.java#b310

I have just report that to a member of the LineageOS-UL team.

Except that patch, only the source codes listed by zhengz at the beginning of this discusion have been used for Lineageos 20.0 build.

NOTICE: LineageOS-UL source code has been updated and that patch is no more required.
[ONE Android Development] SoundDrill:
Thanks!
[ONE Android Development] chris.cook:
You can find LineageOS 20.0 including JUNE 24 security update for our bacon device here:

- https://get.hidrive.com/i/W29AAnBZ
[ONE Android Development] chris.cook:
You can find LineageOS 20.0 including JULY 24 security update for our bacon device here:

- https://get.hidrive.com/i/Yfz4UfrT

Best Regards
[Samsung Galaxy Note 8 Questions and Answers] Wildwind101:
Hi all,

My Galaxy Note 8 N950F mainboard will not power up but I could use ODIN to flash it. It only occurred after I put it in "suspect" frame for testing. The frame works with other m/b but not this one

Can anyone help?

Thanks.
[Samsung Galaxy Note 8 Questions and Answers] V0latyle:
The device would have to power on for download mode to work. Do you mean the screen isn't coming on?
[Samsung Galaxy Note 8 Questions and Answers] Wildwind101:
Yes. It does not power up using the power button but I could get into downloading mode and flash the firmware :(
[Samsung Galaxy Note 8 Questions and Answers] tekment:
Same here. Woke up to find my phone stuck in bootloop where it only shows galaxy note 8 logo and just stays there. After couple of minutes it reboots and just keeps looping. Trying odin to flash latest firmware with no luck. Tryied with an older version with same story. Also erased nand and used pit to remap nand and reinstall os which went ok but still same loop. Took it to a shop where they did fix it but only for 2 days it worked and started doing the same thing all over again. The shop wouldn't tell me what they did. All they would say that they fixed the cpu and nothing else, which is crazy.

One thing to note is that the after factory reset the mmc only showed around 30gb free out of 64. This makes me think the nand is dying.
[Samsung Galaxy Note 8 Questions and Answers] Wildwind101:
I have another m/b which does the same thing. Constant rebooting even after ODIN flash and factory reset :(
[Touch Diamond, MDA Compact IV General] takki83:
i just bid a 3G Australian Version diamond touch on ebay, but it said it can work in all Australian network, so does any one know it's ok to work with T-mobile or AT&T gsm? How about the 3G? thanks so much!!
[Samsung Galaxy S21 FE] kalwinder:
I want to use esim in my s21fe but there is no option for esim
[Samsung Galaxy S21 FE] Shuhan44:
S21Fe device (Be it Snapdragon or Exynos) does not have e-sim support.
[Samsung Galaxy S21 FE] kalwinder:
But when they released s21fe exynos .they gave promise about esim they will give ota update in future
[Samsung Galaxy S21 FE] Shuhan44:
Then wait for the future!
[OnePlus 9] andi_79:
Hi,

does someone know how can I disable this message which appears at each time I am coping a text?.

I am at Oxygen 13.01, Android 13 LE2123_13.1.0.590(EX01)

​

thank you
[OnePlus 9] TheNewHEROBRINE:
What message do you see? "App Services pasted from the clipboard"?