Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ppadb classes
#1
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
Reply
#2
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/com...9fe291ec06
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
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

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

alejandro
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using classes? Can I just use classes to structure code? muteboy 5 4,978 Nov-01-2017, 04:20 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020