Python Forum
ppadb classes - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: ppadb classes (/thread-24242.html)



ppadb classes - alejandroot - Feb-05-2020

Hello,

I inherited some automation scripts that use the packages below. I installed pure-python-adb to replace adb, but the ppadb does not have the classes. I googled them and can't really find it. There is an M2Crypto package but don't see the "sign". Does anybody know what they should be replaced with?

Thanks for your help,

from adb import sign_m2crypto
from adb import fastboot


RE: ppadb classes - buran - Feb-06-2020

It looks it is using this package
https://github.com/google/python-adb

However if you look at the history, sign_m2crypto was replaced on 22 May 2019 with py_cryptography
https://github.com/google/python-adb/commit/4b555e64d1e49d91ed851c59bb11b734b302f71d#diff-8c34f4501e41566cdbe8879fe291ec06
Maybe look for earlier version of that package...

That said, looking at README.md they recommend using adb_shell package as better maintained
Or maybe you can/need look for different options


RE: ppadb classes - alejandroot - Feb-06-2020

Thank you Buran. I did find those links and will try the py-cryptography

alejandro