There is a software specifically designed to clean up the data - Android Data Eraser. There is no doubt that the extent of this software to clear the data is very thorough. And in the process of erasing the data it will not cause any damage to your phone, after erasure, your phone can still be used properly. More importantly, Android Data Eraser is suitable for almost all Android phones in the market, including major brands, such as Samsung, Google, HUAWEI and HTC, etc.. So, it's a piece of cake for it to permanently erase all data from Samsung on Mac. You don't have to worry about using this software.
The following is a detailed description of the steps, if you are the first time to use this software, please read carefully.
Steps to Permanently Erase All Data from Your Samsung Phone on Mac
Step 1. Run the program and choose the wiping mode
First, you need to download and install the software on your Mac in advance, and then select the "Data Eraser" option in the primary interface while running it.
Step 2. Connect your Samsung device to computer
Move to the next scree, you will be asked to connect your Samsung phone to computer using a USB cable. Just do it and ensure that you have enabled USB debugging on your phone. If the Android os version is above 4.2.2, there will be a pop-up message on your phone asking you to allow USB debugging. Tap on "OK" to continue.
Step 3. Start erasing your Samsung phone
After successful connection, click on "Erase All Data" button to start erasing all the your data on your Samsung phone.
Because all data will be permanently remove without restored, so before wiping your Samsung devices, please make sure that you have backed up the needed data from your Samsung. If done, please type "delete" in the textbox to confirm the program, and the click on "Erase Now" to begin erasing your Samsung phone.
Note: Please close all background apps and wait for any updates to be completed if there are any running on your device. Besides, please keep your phone connected and wait patiently.
Step 4. Perform Factory Data Reset on Your Phone
After all the data has been erased, the software will ask you to tap on "Fatory Data Reset" or "Erase All Data" on the phone. This will help you completely wipe all the settings on the phone. Now your Android phone has been completely wiped and it's like a brand new one.
Related Tutorial: Backup Data from Samsung Phone to PC