bkerler / edl

Inofficial Qualcomm Firehose / Sahara / Streaming / Diag Tools :)
GNU General Public License v3.0
1.47k stars 354 forks source link

Support hex digits in OnePlus projid #549

Closed mkropat closed 1 month ago

mkropat commented 1 month ago

Most of the deviceconfig keys have only 0-9 digits, however the format is actually hex, as evidenced by a handful of entries, for example:

https://github.com/bkerler/edl/blob/8573eba1b576305fec3a068393283143ffc34342/edlclient/Library/Modules/oneplus.py#L115-L116

This change should fix the immediate error reported in: https://github.com/bkerler/edl/issues/237

(Even with this fix I'm having trouble getting writes to work for other reasons on the OnePlus 9 Pro, but I figure it make sense to fix the issues one at a time.)