yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] indestructible master:
also, download latest stock ROM

if it blocks on system, and you say it blocked while upgrading, then find latest available stock ROM (not original, like you had before upgrade, but newest stable stock ROM (issued by samsung, as a OTA update))

Because sometimes newer phones dont allow downgrade in android version, so if phone upgraded to android 11, it must be android 11 from now on, because kernel is updated, and kernel maybe have some important security patches, that should not be downgraded)

so flash newest stock ROM

also, if that doesnt work try installing twrp, also using ODIN (same method as flashing stock ROM):

UPDATE (FLASH THIS TWRP, AS OTHER ONE CAN CAUSE PROBLEMS TOO):

https://xdaforums.com/t/recovery-exynos-twrp-3-4-0-0-for-s10e-s10-s10-update-2020-06-12.4067765/
[Android Q&A, Help & Troubleshooting] Jalapeno123:
<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Added!!

<ID:0/003> Odin engine v(ID:3.1301)..

<ID:0/003> File analysis..

<ID:0/003> Total Binary size: 8253 M

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Set PIT file..

<ID:0/003> DO NOT TURN OFF TARGET!!

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> NAND Write Start!!

<ID:0/003> SingleDownload.

<ID:0/003> sboot.bin

<ID:0/003> param.bin

<ID:0/003> up_param.bin

<ID:0/003> cm.bin

<ID:0/003> keystorage.bin

<ID:0/003> uh.bin

<ID:0/003> vbmeta.img

<ID:0/003> boot.img

<ID:0/003> recovery.img

<ID:0/003> dt.img

<ID:0/003> dtbo.img

Now it stuck here and phone say custom binary blocked by oem lock
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Where can i get the stable stock version?
[Android Q&A, Help & Troubleshooting] Jalapeno123:
I am flashing the newest update
[Android Q&A, Help & Troubleshooting] bartleby999:
Try an older one. The one you originally had before trying to upgrade.

Also, your warrenty is expired, right?
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Yes my warranty is expired
[Android Q&A, Help & Troubleshooting] bartleby999:
Try flashing just the bootloader.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Should i go to recovery and press reboot to bootloader?
[Android Q&A, Help & Troubleshooting] bartleby999:
No. Just use Odin and only select BL then flash.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Ok i am in bootloader it says error validating footer 6
[Android Q&A, Help & Troubleshooting] bartleby999:
Now flash all files including bootloader again.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Same as before it is stuck at dtbo and phone says custom binary (boot) blocked by oem lock
[Android Q&A, Help & Troubleshooting] bartleby999:
What is the firmware you are trying to flash and where did you get it from?
[Android Q&A, Help & Troubleshooting] Jalapeno123:
I am flashing stock firmware of sm-g975f and i downloaded from frija tool
[Android Q&A, Help & Troubleshooting] indestructible master:
and if that dont work

try to boot into recovery mode (not download, not ODIN mode)

How to Boot Your Galaxy S10 into Recovery Mode & Download Mode

You don't need to be a hardcore modder to know the importance of booting your S10 into either recovery mode or download mode. In fact, these pre-boot menus are something everyone should be familiar with. The former can help you get out of soft bricks, while the latter lets you use utilities like...

android.gadgethacks.com

then go to "wipe data/factory reset"

after that reboot, and check if it works

if it doesnt then go again in recovery

and press, "apply update from ADB"

set up ADB on PC, and install samsung drivers if you didnt

Redirect Notice

connect phone to PC

put stock ROM zip in c:\ drive on computer for easier acess

and from command line in windows, type

adb devices

if it lists something, like your device, then you're good to go, if it doesnt work check adb and drivers to install properly (there is also minimal adb and fastboot available on xda, checkout that too)

then type this command:

adb sideload c:\stock_ROM.zip

and it should flash stock ROM via that

c:\stock_ROM.zip is path in your PC to stock ROM file

you can also try using SD card if you have one, put stock ROM in SD card, and instead of "apply update via ADB , you choose "apply update from SD card"

and i think, "apply update from SD card" will work with usb otg. juat buy usb otg cable for 2$, and usb stick. put stock rom zip in usb stick and it should work.

and try to download from sammobile

Latest Samsung Galaxy S10+ firmware

Download the latest Samsung firmware for Galaxy S10+ with model code SC-04L. Check out our free download or super fast premium options.

www.sammobile.com
[Android Q&A, Help & Troubleshooting] Jalapeno123:
i didnt have usb debugging enabled will it work?
[Android Q&A, Help & Troubleshooting] Jalapeno123:
factory reset didnt work
[Android Q&A, Help & Troubleshooting] Jalapeno123:
it says this no device under device attached
[Android Q&A, Help & Troubleshooting] Jalapeno123:
both platform tools and minimal adb doesnt show my device
[Android Q&A, Help & Troubleshooting] :
Use ADB / Fastboot drivers and also the Android USB driver what Samsung provide: The minimal version you use are bull****.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
I downloaded the minimal version from xda
[Android Q&A, Help & Troubleshooting] goodflood:
Dude... or dudess! I can help you. I have two S10e... just got one yesterday and went through all the steps. OEM unlock, flashing magisk patched AP, magisk patched recovery, flashing ROM, gapps, ... for the earlier phone in addition to all that.... flashed smali patcher (no gapps) including nanodroid.

When you have time... we can skype (if you wish). Reason: The steps are too many and you might make mistakes. Or, another platform!

ALTERNATIVELY, this is the best guide: https://xdaforums.com/t/rom-lineageos-17-1-for-s10e-s10-s10-exynos.4006917/page-77#post-83739341

But, you want to follow this (FIRST) as well: https://www.androidexplained.com/galaxy-s10-root-tutorial/

None of the mention OEM unlock. You have to clean install stock ROM. Enable wifi, then enable OEM unlock in dev settings (first enable this). Then, boot to download mode and do any of the ABOVE steps!

Good luck!
[Android Q&A, Help & Troubleshooting] :
Wondering why would Samsung offer these drivers tailored to their devices, for fun?
[Android Q&A, Help & Troubleshooting] zzz2002:
I am not an expert here, but I suggest you take a look at sammobile. I have no interests in sammobile, other than that they have a good reputation for obtaining/building ROMs.

They also have reasonably good documentation.

On a couple of occasions their ROM's and documentation have dug me out of some fairly deep holes.
[Android Q&A, Help & Troubleshooting] CXZa:
And those are not the drivers either... just tools as said...
[Android Q&A, Help & Troubleshooting] CXZa:
a duplicate.. remove this.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
I have downloaded adb drivers but my device doesnt show up
[Android Q&A, Help & Troubleshooting] Jalapeno123:
should i download these?
[Android Q&A, Help & Troubleshooting] goodflood:
@Jalapeno123

You don't need to do ADB and the rest of it, if you want restore to stock and start over.

You simply need to download stock firmware using frija and flash ALL in the respective slots (except CSC_HOME) and leave reboot enabled in DOWNLOAD MODE: BIXBY + VOL DOWN. Then, you have latest stock with baseband and bootloader. Clean flash! This should give you latest rom with 1 November security update.
[Android Q&A, Help & Troubleshooting] indestructible master:
i reccomended all those instructions, as i dont want to further complicate things for OP.

@goodflood problem is not learning how to install on working device, but problem is that device is bought new, OP newer touched anything in it, he did regular official update firmware from samsung, firmware update failed, phone crashed, OP tried to flash stock ROM via ODIN (as its usually done when software update fails and crash phone), and it failed because in log file (while flashing stock ROM in ODIN) it says:

custom binary blocked by oem lock

what is usually done is these situations is first, it shouldnt have done in first place because ROM is stock and official (or hope so, he downloaded from official sites or using most reccomended way to getting official stock ROM), second, when such error occurs, usually we need to boot into system, go to settings>developer options>enable OEM unlock and USB debugging

and it should work, but again in extreme situations (for samsung this is rare as there is ODIn for this purpose), we need to enable OEM unlock and boot into bootloader, and unlock bootloader, flash at least custom recovery in bootloader and carry on with fixing in custom recovery.

but in OP situation, he cant even boot system, especially when flashing is incomplete as it overwritten system already (see in log file), and so he cant enable OEM unlock, so he cant fix ODIN error, and neither unlock bootloader

so i suggested one method too, as i saw that recovery is fine, to flash stock ROM via stock recovery. I'm aware that it might not 100% work as stock recovery requires signed ROM, but why not give a try, as it's already broken and unbootable.

In stock recovery there are 2 methods of flashing stock method (he can choose which work easier), i recommended ADB sideload, you just need to install proper drivers (OP freely install samsung drivers, and set up ADB with complete guide here https://www.xda-developers.com/where-to-download-android-usb-drivers/ , i didnt wanted to overhelm you at first as minimal can do a job also)

and other options (if OP cant set up drivers) is to install from SD card, also from stock recovery, same as ADB method but no need for ADB, PC or USB cable.

also i would reccomend to double check and download original stock ROM, i cant reccomend best source out there, because times have changed and i didnt owned samsung device for 5 years, so i cant know for certain what chanell is best.

also i reccomend to download latest stock ROM because maybe samsung block downgrade for disabling security holes in previous kernels.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
I tried the option of applying update from sd card but when it says installing update the device turns off
[Android Q&A, Help & Troubleshooting] indestructible master:
so youre on right track, samsung recovery recognises it as signed official ROM

so now problem is sudden turning off of phone

i will check, if anyone have solution, write, as we can find root of the issue in this
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Oh thanks please find a solution for this
[Android Q&A, Help & Troubleshooting] goodflood:
@indestructible master Ah, Okay! It is still not clear to me. I ran into similar problem yesterday! Stock and Magisk_patched_AP file (separate times)... was hanging on userdata when flashing. I pulled the plug. I got smart switch restores message. I used ODIN to flash stock ROM right away. No need to drain battery to start over. I guess... I just need to accept that it is not going to work and another method is needed.

I kind of disagree... he should be able to CLEAN flash via ODIN... if the phone has not sustained hardware damage. Why flash custom recovery if OP wants to stay on stock? He doesn't need to boot into system, but download mode, and communicate to us whether there is OEM lock or not; this dosen't really matter if he is going for stock, which he should do to begin with. I had a similar error in ODIN, in RED, which I just ignored and went on to flash stock ROM, then custom ROM. Of course, you have to not auto reboot and do a wipe first.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
I am also confused as you as i am flashing stock rom but my device oem lock blocks it
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Should i download the firmware from sammobile now?
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 I think you are downloading/using the wrong firmware

Can you type the model number of your device from the box (eg: SM-G970F) so we can advice further?
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 do you know if your device has exynos or snapdragon? What location firmware are you getting and what location do you need?
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Sm-g975fzkdxsg
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 my device was giving errors on userdata.img and I pulled the plug and started over with stock rom. It somehow worked.

ALSO, please keep the phone on charge. My phone died once while doing the update. You want to be charged at least 10 percent. I had 20% because, I had to do all kinds of custom stuff.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
I bought from UAE and i need uae location
[Android Q&A, Help & Troubleshooting] Jalapeno123:
It

Its charged
[Android Q&A, Help & Troubleshooting] thoiapple265:
if y flash sytem mod need unlock bootloader , only flash offical firmware no need unlock
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 as you can see from here: https://www.sammobile.com/samsung/galaxy-s10-plus/firmware/#SM-G975F the latest is DTJA. You have two options:

Latest Samsung Galaxy S10+ (SM-G975F) - LYS firmware

All Samsung firmwares for Galaxy S10+ in United Arab Emirates with model code SM-G975F. We offer free and fast download options. Check them out now.

www.sammobile.com

Latest Samsung Galaxy S10+ (SM-G975F) - XSG firmware

All Samsung firmwares for Galaxy S10+ in United Arab Emirates with model code SM-G975F. We offer free and fast download options. Check them out now.

www.sammobile.com
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Yeah i have XSG
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 Use friya, to download either of those two firmwares: https://xdaforums.com/t/tool-frija-samsung-firmware-downloader-checker.3910594/
[Android Q&A, Help & Troubleshooting] goodflood:
@Jalapeno123 open, ODIN, put BL, AP, CP, CSC (NOT HOME) in their slots. Have reboot enabled.

ONE thing, use this.. I am using patched ODIN, that ignores hash checks: https://xdaforums.com/t/patched-odin-3-13-1.3762572/
[Android Q&A, Help & Troubleshooting] Jalapeno123:
I downloaded the previous firmware from frija
[Android Q&A, Help & Troubleshooting] indestructible master:
because ODIN dont flash stock ROM even if its supposed to

if nothing works, and it keep shutting suddenly, then flash twrp via ODIN

link for twrp instructions and download:

https://xdaforums.com/t/recovery-exynos-twrp-3-4-0-0-for-s10e-s10-s10-update-2020-06-12.4067765/

so with TWRP, you can have more options to trubleshoot at least, and as main thing here is to make phone bootlable, even if we have to use custom ROM temporarily, so we can reverse to stock ROM when it boots (same thing when you want to troubleshoot broken windows PC with linux)

for now, flash twrp (we are not going to flash custom ROM, we will try to troubleshoot from twrp if we succeed at installation of twrp

and also, if we can flash twrp we checked that ODIN itself is not at fault (maybe ODIN is buggy, or some partition)

but i really begin to suspect that one partition is strongly corrupted, maybe even on the hardware level, so it brings whole system in hell with itself.

so at least, we can try twrp recovery, to increase troubleshooting options.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
okay i am installing twrp
[Android Q&A, Help & Troubleshooting] goodflood:
@indestructible master so, your strategy is to install custom ROM, then revert to stock ROM... LOL! vemeta: https://android.stackexchange.com/q...-verified-boot-and-generation-of-vbmeta-image is not going to let that happen, unless it is disabled! Or, am I missing something? It won't boot? Or, will it?

It is a pain in a$$ to get custom recovery on there... I went though it yesterday! Took me a few hours, to get the steps right!
[Android Q&A, Help & Troubleshooting] Jalapeno123:
but how do i install twrp?
[Android Q&A, Help & Troubleshooting] Jalapeno123:
now what should i do?
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 I will leave @indestructible master to advise you on how to the install twrp.

I would have you try to flash stock firmware again, carefully following steps, using patched ODIN.
[Android Q&A, Help & Troubleshooting] fuad2003:
I once faced such a problem on my Note 5 N920. I flashed both 4 files and one. Exactly where this problem happened, he had android 7.0. (oddly enough, and now the same thing) In short, I solved the problem by flashing the version on below. For android 6.0. Do not believe if this will help you. But I think it won't get any worse.

I do not know what version of firmware S10 has. But my advice is to download the service firmware (4x file) for the version below which is now or was when this problem happened and install after flash with odin.
[Android Q&A, Help & Troubleshooting] :
ODIN requires Samsung's Android USB Driver to be installed. Only installing ADB / Fastboot drivers for Samsung device isn't enough.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
u flashed a previous version and that fixed the problem?
[Android Q&A, Help & Troubleshooting] Jalapeno123:
yes i have that installed
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 you can install this: https://developer.samsung.com/mobile/android-usb-driver.html on top, just to be sure!
[Android Q&A, Help & Troubleshooting] Jalapeno123:
@goodflood i tried your method but it didnt work and still the oem lock blocks the flash
[Android Q&A, Help & Troubleshooting] Jalapeno123:
now i should try twrp
[Android Q&A, Help & Troubleshooting] Jalapeno123:
i have installed that
[Android Q&A, Help & Troubleshooting] mslezak:
<ID:0/003> boot.img

<ID:0/003> recovery.img

<ID:0/003> dt.img

<ID:0/003> dtbo.img

Now it stuck here and phone say custom binary blocked by oem lock

[/QUOTE]

Sounds like you have an unsigned img in your copy you're trying to flash via Odin. Try finding a different version of the software. Or if I recall from my last Samsung, there is usually an UNLOCKED version of the phone (maybe you have that). They each have a different combination of the 4 files: BL, AP, CP, CSC or Home CSC. You can mix and match them and the phone will still work, at least that used to be the case. The phones were all the same at the time and just followed the software inside those files.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
Sounds like you have an unsigned img in your copy you're trying to flash via Odin. Try finding a different version of the software.

[/QUOTE]

i tried a different firmware and that got stuck too
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 did you try using the patched ODIN (link above)? Also, what versionS of custom ROM do you have? Can you please post the filenames?
[Android Q&A, Help & Troubleshooting] Jalapeno123:
SM-G975F_1_20201028025634_p90n1mn4i0_fac which i downloaded from frija

yes i used the patched version

SM-G975F_1_20200829062233_jjf89sulm2_fac which i downloaded today and is a previous version of the update but was of no luck
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno I think your situation might be similar to this person here: https://xdaforums.com/t/custom-binary-blocked-by-oem-lock.3916597/

Some asked the question (and I think this might help) is:

Have you tried entering download mode by holding vol down + bixby while plugging your cable in, while the phone is powered off?

If not, do this... and tell us: What do you see FRP lock: ON OR OFF; OEM LOCK: ON OR OFF?
[Android Q&A, Help & Troubleshooting] Jalapeno123:
now i have to wait for the device to turn off?
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 Oh, I remember not being able to turn off device from my first S10e.

I know there instructions are old (for S4), but it might work: https://www.combinationfirmwares.com/custom-binary-blocked-by-frp-lock/

Do the first part power + volume down... hold till the phone turns off. Then, immediately do the other part:

bixby + volume down (then connect cable).
[Android Q&A, Help & Troubleshooting] indestructible master:
go into recovery mode (as you did earlier), and at the bottom you will see "Power off"

and do what goodflood said
[Android Q&A, Help & Troubleshooting] Jalapeno123:
it says frp lock on

oem lock on(L)
[Android Q&A, Help & Troubleshooting] Jalapeno123:
for going into recovery i wait for the device to turn off lol
[Android Q&A, Help & Troubleshooting] Jalapeno123:
should i upload a screenshot of the screen
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 sure... screenshots are always welcome!

So, now my questions is... when you tried to use ODIN to flash STOCK firmware... Did you do it from that screen? (i.e. the screen that shows downloading with an arrow pointing down?)

Advice: I know you have two firmwares, but always use the latest, don't use older firmware, if you have flashed newer firmware, especially the Bootloader; it is not advisable. Use this as it is the latest: SM-G975F_1_20201028025634_p90n1mn4i0_fac
[Android Q&A, Help & Troubleshooting] Jalapeno123:
sometimes from the error has occured screen while sometimes in download mode
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 I am running out of ideas, so, I am searching for answers.

This: https://samsungcombination.com/custom-binary-blocked-by-frp-lock/ has one idea you could try.

Strategy is to boot to recovery (I think you have stock recovery that you can get into), the, perform factory reset, then, boot to download mode and try flashing stock firmware. Apparently, this might remove FRP lock.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
but to boot into recovery i have to wait for the device to drain out of battery
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 thank you for the screenshot. This confirms many things: product name, FRP status, OEM status, carrier ID.
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123 no, why?

From download mode, press vol down + power. When screen goes black, press BIXBY + vol up + power.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
i have seen videos that people go to unlock bootloader screen from here
[Android Q&A, Help & Troubleshooting] goodflood:
@jalepeno123

Second step, hold until you see recovery. I just did this, granted my phone is not having problem like yours.
[Android Q&A, Help & Troubleshooting] Jalapeno123:
OMG i am in recovery thanx
[Android Q&A, Help & Troubleshooting] goodflood:
@Jalapeno123 Send me those links.

To unlock bootloader, you have to have flash stock, have it installed, then, boot into it, then, connect to internet, enable dev setting, then, turn off OEM LOCK. Then, you go into bootloader and say, YES, leave it unlocked! I don't think we are there yet : )
[Android Q&A, Help & Troubleshooting] indestructible master:
download latest twrp for your device

just download my attachment and unzip it (so it shows only .tar), as odin requires .tar flashable (i used mentioned site, checked image, and latest)

go into odin mode

In options (to the right where log is), uncheck auto reboot and re-partition

click on AP and choose tar file (just extract zip and you will get tar file

connect phone and start
[Android Q&A, Help & Troubleshooting] Jalapeno123:
ok i resetted the device and rebooted to bootloader

the screen says

odin mode by param

cause bl recovery mode set by key