bkerler / oppo_decrypt

Oppo .ofp Firmware decrypter and oneplus .ops de-/encrypter
541 stars 186 forks source link

utf-8' codec can't decode byte 0xdb in position 30318: invalid continuation byte #67

Open xxroot opened 2 years ago

xxroot commented 2 years ago

E:\python\oppo_decrypt>python ofp_qc_decrypt.py R9sk_11_A.16_161228.ofp 1 Traceback (most recent call last): File "E:\python\oppo_decrypt\ofp_qc_decrypt.py", line 347, in main() File "E:\python\oppo_decrypt\ofp_qc_decrypt.py", line 300, in main xml=data[:data.rfind(b">")+1].decode('utf-8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdb in position 30318: invalid continuation byte