Set warranty Bit Kernel and Set warranty Bit Recovery both errors faced in rooted Samsung mobile phone to fix this follow this process. lets fix this Set warranty Bit Recovery.
Set warranty Bit Kernel/Recovery

Many users faced after rooting their device after downgrade or a back to official firmware but they faced set warranty bit Kernel and set warranty bit recovery error on your mobile phone.
Table of Contents
How to fix Set warranty Bit Kernel/Recovery
REQUIREMENTS
INSTRUCTIONS
- First, install the USB drivers into the PC if the drivers already installed then skip this step.
- Now download Odin flash tool and extract it anywhere on the computer.
- You need a firmware file for your mobile phone it must be according to the mobile model number.
- extract firmware files on your desktop
- Run Odin flash tool and choose device firmware into PDA section.
- Now just click on Start flash. It will flash the mobile phone just do not disconnect the mobile phone while flashing is going on.
- after flash mobile will restart automatically.
- It will fix the issue.
Caution:
This process is working on all Samsung mobile phone. If it doesn’t work you have to use another version firmware.
Want to get download
I use a Samsung galaxy j5_2016 with model as j510fn
And also after installing the initial root md5 file it will write sraatrong not enforcing then belw it will