No. If you are stopped by a traffic officer for not carrying a license or driving a defective vehicle, a PDF on your phone is not a substitute for the vehicle's logbook or your physical driver's license. The PDF is only for study purposes.
The official code won’t tell you everything. Here is local driving wisdom for Malawi: highway code 2 malawi pdf
The code specifies strict penalties for speeding. For example: highway code 2 malawi pdf