
Usage: ./honeycomb [OPTIONS]
Options:
-p, --policy-name <POLICY_NAME> Name of policy you want to enable/disable
--profile-path <PROFILE_PATH> Input file. For the primary user on android devices, this is typically /data/system/users/0.xml [default: /data/system/users/0.xml]
-o, --out <OUT> Output file name
--list-policies List available policies and exit
--overwrite Pass this argument to overwrite the original file
-h, --help Print help
-V, --version Print version
Warning: Honeycomb is still in development. It may fail to correctly modify the device policy files. Always take backups if you're using the --overwrite argument
> ./honeycomb --list-policies
no_install_unknown_sources
no_factory_reset
no_config_location
no_add_clone_profile
no_safe_boot
no_config_credentials
no_config_date_time
> ./honeycomb --policy-name no_install_unknown_sources --out out.xml
REMOVING the no_install_unknown_sources policy
Found no_install_unknown_sources with start offset 336 and end offset 367
Successfully disabled the no_install_unknown_sources policy
Wrote XML without policy to out.xml!
> ./honeycomb --policy-name no_install_unknown_sources --out out.xml
CREATING the no_install_unknown_sources policy
Successfully added the no_install_unknown_sources policy
Wrote XML with the new policy to out.xml!
Follow the guide for cross compiling Rust to Android here.
Honeycomb also works on Windows, Linux, and MacOS if you'd like to locally modify policies on a user profile file you already have.
rhythmcache for their awesome ABX converter & parser!
- Overwrite argument
- Add more safety checks