Skip to content

Using agent as device owner #181

@sasamad2004

Description

@sasamad2004

Description:
I am failing to install agent as device owner as described in
https://docs.wso2.com/display/EMM330/Device+Ownership+Application

Device management shows device as "Removed". I am unable to login to agent again.

Affected Product Version:
3.2.0.

OS, DB, other environment details and versions:
Server side Ubuntu, Agent on Android 5.1.1

Might be relevant: This Android doesn't have micro USB port so I issued adb through TCP/IP.

Steps to reproduce:
As described in
https://docs.wso2.com/display/EMM330/Device+Ownership+Application
using "A command issued through the Android Debug Bridge (adb)."

I had agent running, removed Google account and then issued adb to get ownership.

...\AppData\Local\Android\Sdk\platform-tools>adb shell dpm set-device-owner org.wso2.iot.agent/.services.AgentDeviceAdminReceiver
Success: Device owner set to package org.wso2.iot.agent
Active admin set to component {org.wso2.iot.agent/org.wso2.iot.agent.services.Ag
entDeviceAdminReceiver}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions