FIX: [aml] S812 can do 4K + check earlier
Merge pull request #5791 from koying/fixaml4k812