My shell answers:
Please run 'e2fsck -f /dev/block/mmcblk0p20' first.
Since I have actually run this in advance, I just added the force parameter:
resize2fs -f /dev/block/mmcblk0p20 6798327
I’ll try to encrypt the phone later when the battery is fully charged.
Edit:
It worked very well. The process took about six minutes.