Hi Friends,
Following Procedure helps you to fix hardware encryption issue in any Oreo or Pie rom
# Before Flashing
Step 1: Go to Settings > Security > Screen lock > change it to Swipe Or None
Step 2: again set new pin (only pin) at this time it will ask do you want to enable Secure Start...