Attached is a perl script to decode a kindle serial number into model and manufacture date information. If at least 12 S/N characters are entered, the full model and manufacture date information is printed. If fewer than 12 S/N characters are entered, the amount of information printed is reduced. Kindle Voyage and earlier models only need 4 characters, PW3 and later need 6. Serial numbers may be entered with or without embedded '-' characters. Serial numbers with embedded space characters must be in quotes.
The manufacture date calculation is based on the post
https://www.mobileread.com/forums/sh...20&postcount=5
The model information is based on the wiki page
https://wiki.mobileread.com/wiki/Kindle_Serial_Numbers
The script is attached below and is also at
https://github.com/jps-e/kindle_info.git
Examples
Code:
perl kindle_info.pl B00E15011395xxxx
Prefix: B00E
Model: Kindle 4 NoTouch Silver (2011)
Made: 20x1 Week 39 Day 5
Nicks: K4, K4S
perl kindle_info.pl G000-p8xx
Prefix: G000P8
Model: Kindle Oasis 2 (2017) WiFi 8GB (Germany, Italy, USA)
Nicks: KOA2, KOA2W8
Notes: [Support added in KindleTool 1.6.5]