Step 1: Download Stock Firmware foe SM-T525
"T525XXUANC4 Open Germany - Android 4.4.2 - einteilig"
https://www.usp-forum.de/threads/samsung-galaxy-tabpro-10-1-t52x-firmwares.113131/
Step 2: Install heimdall
Step 3: Boot device into odin mode
Hold down Power + Volume down
Confirm with Volume up
Step 3: Flash stock firmware obtained in step 1
./heimdall flash --APNHLOS NON-HLOS.bin --MODEM modem.bin --SBL1 sbl1.mbn --DBI sdi.mbn --ABOOT aboot.mbn --RPM rpm.mbn --TZ tz.mbn --BOOT boot.img --RECOVERY recovery.img --SYSTEM system.img.ext4 --CACHE cache.img.ext4 --HIDDEN hidden.img.ext4