[Samsung Galaxy S7 Edge Questions and Answers] TreekoX:
My S7 edge had been acting weirdly for a few weeks, things like random restarts once a few days so I didn't pay much attention and over excessively heating up to 50/55 degrees (I usually checked the temperature through CPU_Z), and just a few hours ago I ran into problems like the phone restarting on its own, never getting past the samsung logo on boot, so I did the normal thing everyone else would do and just factory reset the device through recovery mode, a point to add here the device took an absolute age to load into recovery mode, this wasn't a case of bad key combination or anything like that, the device would load this the dmverity tree hash verification thing and sit there for a good 2-3 mins which is unusual, same thing happens with factory reset takes an absolute age and comes back with the following text-:

"E: format_volume: make ext4 failed on /dev/block/platform/155a0000.ufs/by-name/USERDATA with 1(I/O error)

-- Set Factory Reset done...

Data wipe failed."

booting up the device in this state would show up with an error "Device storage corrupt" with a " reset device" button in the bottom of the screen which didn't respond to any touches which was weird as well because holding the power button and then selecting the power off option worked with no issues so it wasn't an issue with the touchscreen.

searching for a solution on google led me to flash a official firmware that I downloaded from updato, just a heads up my device has never been tampered with or had any kind of software modifications this includes flashing any roms or even official firmwares before, so I download the firmware and flashed it as usual this is the firmware that I flashed through odin 3.12.3 firmware version was G935FOJV1DQAV also my device model is SM-G935FD while the firmware I flashed was for SM-G935F but this shouldn't be an issue because when I usually got updates over the air on the device they would be for SM-G935F so if there were any issues with this they should have popped up a long time ago, so everything went smoothly and the phone booted up again as usual, did the initial setup and adding accounts, recovery everything, hooked up the charger and left the phone to download all the necessary stuff through samsung and google cloud recovery, comeback after a few minutes to find that the device just wouldn't respond to the power button or the home button to wake the device up but the led on the phone was flashing in blue color which means I did receive some notifications, so I hard reset the phone by holding down power+volume down key, same issues pop up like before the firmware I flashed getting stuck on the boot samsung logo, went back to recovery to do another factory reset again it keeps freezing on the dm-verity tree hash thing, but this time the factory reset happens properly with no errors, but the device doesn't boot up at all, gets stuck on the samsung logo and the led on top starts flashing in several different colors, just like when you boot up a brand new S7 edge.

As a last ditch effort I try initializing the device through smart switch, everything goes normally but when the flashing process starts it gets stuck on 7% indefinitely, tried everything else but to no avail, tried flashing through odin again but it gets stuck on the same point as smart switch, tried installing the firmware in parts through odin again gets stuck on the same point when flashing AP but other parts get installed without any problems, download mode boots up fine, recovery mode now boots up very slowly with a dm-verity error "E:failed to mount / system (invalid argument).

I have 1 month warranty left on my S7 edge from where I purchased it, I want to send it back for a refund or a replacement but the only thing thats kind of worrying me is that in download mode the knox switch hasn't been tripped still shows 0 (0*000), but shows system status as custom, will this effect my warranty claim if they check my device?