You can run sysdiagnose on your phone (press volume up, volume down, and lock button) all together for around a second. You will feel the phone vibrate. Wait a couple of minutes and then go to Settings -> Privacy and Security -> Analytics and Improvements -> Analytics Data.
You will then scroll down and look for a file titled: sysdiagnose_XXXXXXXX
You will click on that file and then click the arrow in the upper right hand corner and scroll down and click "Save to Files"
Once it is saved you will go into your files and click the file to unpack it. Within the folder that is unpacked you will click on the folder "ioreg" and then click the file "IODeviceTree". You will then use the magnifying search glass in the bottom right hand corner to search "raw-panel". It will then give you a serial number.
跟住係IODeviceTree search以下keyword再睇序號前3位
前置鏡頭: "FrontCameraModuleSerialNumString"
GCF: LG
F0W: 富士康
後置鏡頭: "BackSuperWideCameraModuleSerialNumString", "BackCameraModuleSerialNumString", "BackTeleCameraModuleSerialNumString"
DN8: LG
DNM: 高偉電子
Moon: "raw-panel-serial-number"
GVC, G3H: LG
G9N, G9Q, G9P: Samsung