Does flashing stock ROM via Odin delete phone data? So my Galaxy S6 is stuck in a boot loop and I've literally tried EVERYTHING already and nothing will solve the problem. Safe mode won't work, clearing the cache partition won't work and USB Debugging was turned off so adb wasn't seeing my device either. I also tried Kies and Smart Switch. I am convinced my phone is soft bricked and I need to recover some very important pictures and files from it. At this point my last hope is to flash the stock ROM via Odin and I saw that some people have said that they have successfully done this without losing any of their data. Is this possible? If so how do I go about doing it properly? If you can give me a step by step of what settings to use in Odin to not lose my data I would greatly appreciate it!!

Thanks for any help!

Phone is not rooted and 100% stock. Recovery and Download screens are working.

Phone: T-mobile Galaxy S6 with Lollipop
None of your internal storage files i.e. Photos, Music, Videos, Docs etc., will not be removed until you do a repartition of the device using Odin. Your phone will be restored to perfect condition; just that all your personal information will be gone such as contacts that were on the phone storage and apps.

But I'm not responsible if anything goes wrong. Do it at your own risk.

OR

You can flash a custom recovery using Odin and use the MTP feature of the recovery and move the required files (which I assume would be safer).