Skip to main content

Device Filter

Description

IDeviceFilter is used to set filters when selecting or generating a device in ZennoDroid. It allows you to restrict device parameters by various characteristics such as region, manufacturer, model, and hardware features.

Properties

Country

  • string Country { get; set; }
    Device country.

    Description:
    Sets the device region (e.g. us, ru, de or us|ru|de).


Manufacturer

  • string Manufacturer { get; set; }
    Device manufacturer.

    Description:
    E.g. Samsung, Xiaomi, Poco or Samsung|Xiaomi|Poco.


Brand

  • string Brand { get; set; }
    Device brand.

    Description:
    May match the manufacturer or differ (e.g. Redmi, POCO or Redmi|Poco).


Model

  • string Model { get; set; }
    Device model.

    Description:
    E.g. SM-A505F.


Version

  • string Version { get; set; }
    Android version.

    Description:
    E.g. 12, 13, 14 or 12|13|14.


GpuVendor

  • string GpuVendor { get; set; }
    GPU manufacturer.

    Description:
    E.g. ARM, Qualcomm.

Examples

var filter = new DeviceFilter();
filter.Country = "us"; // Choose country
filter.Version = "12|13|14|15"; // Choose Android version
filter.GpuVendor = "Qualcomm|ARM"; // Choose Gpu vendor

var options = new DeviceOptions();
options.AddCanvasNoise = true; // Add canvas noise
options.AddGpu = true; // Add fake GPU

var json = instance.DroidInstance.Settings.GenerateRandomLSPosedSettings(filter, options); // Generate random data for LSPosed spoofing based on the filter and options
instance.DroidInstance.Settings.SetLSPosedSettings(json); // Apply the spoofed data