-
Notifications
You must be signed in to change notification settings - Fork 1
Basic modification of environment
Note: If you have not setup your environment, please do so. You can use the setup guide as a reference.
There are already default configurations in place, but if you want you can change them. You can use this page as a reference.
Open conf/emulation-detection-evasion.conf
in your favourite text editor and modify the it as described below.
system_img_dir_file
= This is the file containing the paths to the system image directories. Note
that this does not contain the paths themselves, but a file containing them.
backup_directory
= This directory is used to backup the state of the ramdisk and system disk image
before making any modifications to them. This is useful if you want to be able
to revert back to this earlier state. You can change the directory to your
liking but the default value should suffice.
backup_filename_postfix
= If a postfix is specified then it will be used, otherwise a timestamp will be used.
ramdisk_modification_file
= Path to a file describing the changes that are to be made to the ramdisk disk
image.
system_modification_file
= Path to a file describing the changes that are to be made to the system disk
image.
Open conf/sysimgs.txt
in your favourite text editor
Here you specify which system images are to be modified. Each line corresponds to a system image directory.
After modifying the configuration file you can run the following command:
bin/setup-env.sh --emulator conf/emulation-detection-evasion.conf
Important: Remember that the script must have the right access to the files and folders specified in the configuration file, so if they only are accessible to the super user, run the script with root privileges.
Did something go wrong? Here are a few suggestions.
- Read the output of the script, it will guide you in the right direction
- Check that all the values in the configuration file are correct
- Home
- Getting Started
- Emulation detection evasion
- Root detection evasion
- Manual guides
- For developers