Setting up the Memu Player for ZebraTester Recording
If you have a Windows 10 PC and want to record an Android session with ZebraTester, this article describes how to set up Memu Player so ZebraTester can record an emulated mobile session using Memu.
Referred to below, ADB is also known as the "Android debug bridge". It is used by android developers or android enthusiasts to perform tasks related to the Android ecosystem such as development, installing custom ROM, and Fastboot.
Step
Screenshot
Locate ZT Root Certificate
Copy the root.cer file, located in the ZebraTester’s RunTime Data folder (macOS) or the ZebraTester main folder (Windows).
macOS
Windows 10
Create a New Folder
Paste the root.cer file into this folder for further processing
In this example (macOS) the new folder was called 'rootcertfolder'
You should see the original hashvalue.0 file increase in size when you add the output of the PEM file.
Memu Player Steps (Memu is a Windows Application ONLY)
Do the following steps in Memu in Windows 10
Enable Root Mode
Toggle the Root mode to ON
Finish by restarting the Memu Play to enable the Root Mode
Set Developer Mode
After restarting, you need to use Android’s Developer Mode to be able to use the Root Certificate that you created earlier.
From Android (Tablet or Phone) Settings, scroll to the About Tablet/Phone and click in. Then scroll to the very bottom to Build Number and click that section 7 or 8 times until you see that you are now a developer.
Enable USB Debugging
Under Settings, now that you are a developer, there will be a {} Developer Options that will include a USB debugging Mode
Turn On the USB debugging mode and confirm that you want to allow this mode
This will then allow the next step, with the Android Debug Bridge, to import the root certificate to the Android system.
Import the Certificate File to the Android System
Copy the hashvalue.0 file (the example file 9e8079bd.0) to the \adb subdirectory and Change Directory to \adb.
Connect ADB Server to the Memu Player
To start the server running at port 21503, enter:
C:\adb>adb connect localhost:21503
Proper response:
connected to localhost:21503
Push the new certificate into the Android System via ADB
Enter
adb push hashvalue.0 /system/etc/security/cacerts
Example
adb push 9e8079bd.0 /system/etc/security/cacerts
If you get the message:
failed to copy ‘9e8079bd.0’ to ,/system/etc/security/cacerts/9e8079bd.0’: couldn't create file: Read-only file system
this is because ADB is not running as root so do an ADP REMOUNT: