Everything that I had just shown you,
running all of those commands, what Mattia did
was he took all of those commands
and built a script that will do it for you.
Now, this script will work on Linux and Mac.
I have the most success on my Mac.
It will also work on Windows with a Linux subsystem
installed.
It is going to essentially support all the Linux commands,
the dumpsys extractions I just showed you, bug reporting.
You can do an ADB backup.
You can do an MTP extraction for emulated SD.
You can do system partition extractions, content provider
extractions, and more.
So when you launch the script, you're
going to see that you have different options.
It's a basic GUI, a basic Graphical User Interface,
where you say, OK, what do you want to do?
Do you want to collect basic information?
Do you want to execute live commands so you're
interacting back and forth?
Do you want to do a backup?
Do you want to do dumpsys?
What I recommend is run this script.
Extract everything before you give that Android device back.
Save it to a directory.
You may never need it.
But if you actually need it, it could be wonderful.
Think about, if you're trying to put a person at a location
and you can't find any location artifacts, what about that
dumpsys wifi?
It's going to have a lot of information there
that could assist you in your investigation.
Definitely, worth the time.
And thank you, Mattia, for creating this.