After agent upgrade to 15.1.2.1075 old SOTI Settings manager app is giving Package does not contain default activity

Solved
TK
Todor Kostadinov
ENERGO-PRO Varna EOOD

Hi,

We install all devices with afw#mobicontrol in enterprise mode.

About month ago we installed 500 devices (Samsung tablets).

The agent version was 15.0.1 build 1051, a month later installing devices with agent version is 15.1.1 build 1031 gave me troubles with some of my file rules - link to my discussion.

Now when reinstaling one of my test devices I run into another problem with current agent (15.1.2.1075)

The installation of my packages is very hard, it gives me a lot errors, for example:

Package "SOTI_settings_manager" version 1.0 failed to install. File IO error on device. Check Storage/Permissions.

and

Error message received from device (Package [net.soti.settingsmanager] does not contain default activity)

How to avoid this? Everything was working fine with previous versions of the agent.

Any way to enroll devices in Enterprise with controlled SOTI Mobicontrol agent version?

I want to use the working (from my point of view) version of the agent (15.1.1_1031 or 15.0.1_1051) for re-enrolling devices.

How to achieve this?

3 years ago
Android
ANSWERS
D
DRMOD@SOTI
3 years ago

Hi Todor Kostadinov,

Thanks for your answer. I will go through your questions:

  1. I would really need some help in order to be able to re-enroll devices with agent version of my choice!

It is a gamble to rely on the version from the Google Play Store!

How to achieve this with afw#mobiconrol method?

You may need to have a look in our enrollment by NFC or QR code. 

If you want to use an older AE agent, there is a method to setup a device using that older agent via the Stage Programmer APK. You would need to amend the nfcprovisioning.txt file via the below instruction and factory reset/enroll under fully managed as normal via QR Code method.

  1. On your helper phone install the Stage Programmer app
  2. Download the nfcprovisioning.txt file to the helper phone to: \Android\data\net.soti.mobicontrol.programmer\files\nfcprovisioning.txt
  3. Kill the Stage Programmer app (swipe it on the recents menu), to make sure it reads the new configuration from nfcprovisioning.txt
  4. Your device that you want to enroll to MobiControl needs to be on the Out of Box setup wizard (factory reset)
  5. Tap 7 times in the same spot on the setup wizard screen to bring up the QR code scanner and scan the helper phone's QR code.

File:

android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION=https://downloads.soti.net/apk/AEAgent/GoogleMobiControl1431_1050.apk

You can find more information in this post https://discussions.soti.net/thread/why-enrollment-by-afw-mobicontrol-and-qr-code-gives-different-results

Please consider that you will need to block the updates from play store so you may need to create a  profile (manage Google play) where you select 'never update'. This can have some disadvantages if you are planning to update other applications.

I would recommend that you contact our support team here and they can guide you through this process.

  1. How to automaticaly avoid "File IO error on device. Check Storage/Permissions." errors?

I think they are gone after manually giving MobiControl "Permission to all files".

But how to include the permission in enrollment?

The error that you mentioned is not specific to one situation. However if you want to add permissions at enrollment, the option is available in the MobiControl version 15.0 and above.
https://www.soti.net/mc/help/v15.0/en/console/reference/dialogs/rules/adddevice/androidplus/adddevice_permissions_androidplus.html

  1. I'm not able to use any version of Soti Settings manager higher than 14.4.0 - they are all not saving any changes at all.

I can't find the option to "Disable settings changes" in my lockdown profile, which is mentioned as solution in some of the threads here.

How to use recent version of Soti Settings manager?

If you are upgrading from Settings Manager app v13.2.0, build 91 or later, you must uninstall it from your devices before you can install the later version. To complete this process in a single step, include uninstall net.soti.settingsmanager as a pre-install script when creating a package containing the upgraded Settings Manager app.

https://soti.net/mc/help/v14.0/en/console/configurations/settingsmanager/installing_app.html

Additionally, I would recommend that you use Android enterprise binding, so you could have better control of your application with Google Play Store. Please find more information in the following link. https://www.soti.net/mc/help/v14.4/en/console/devices/managing/enrollment/androidplus/enterprise/bindings.html

Hope these helps. Please let us know any updates


Regards,

Solution
TK
Todor Kostadinov
3 years ago

Hi,

And thank you for your answer!

I was able to use Stage programmer and now I can control MobiControl version used during enrollment.

It was a bit complicated, becouse our server is behind firewall in our corporate network, but some network changes helped.

All others errors were gone, except my problem with Soti Settings Manager.

I'm not able to use recent versions, all of them are not saving any changes.

We we're not updating Soti Settings Manager from version 13, we are doing clean enrollment after hard reset. I tryed to update on already enrolled devices with suggested uninstalling previous version - still no luck. Both clean installed new versions are not saving any changes.

Maybe version 15 and later need some permissions on Samsung devices?

I remind that we are using a bit older Mobicontrol server Version: 14.4.3.1153

MB

Hi Todor,

did you have Android 11 Devices?

It could be that MobiControl has not the Permissions unter A11 to Download or install the Application on the Device.

TK
Todor Kostadinov
3 years ago

Are permissions changed in the new version of the agent?

MB

I had this Problem with Honeywell Devices what i had Upgrade to A11 that the MobiControl App has only the Media Permission.

There i had also the IO Error message or Check Storage/Permissions

TK
Todor Kostadinov
3 years ago

Hi,

I have the same problem described in this thread - Settings Manager settings changes not being applied to the device in lockdown

As a workaround I have used old version (SettingsManager14.4.0.apk).

But now, with the update of the Android Enterprise Agent to version (15.1.2.1075), I receive errors:

(Package [net.soti.settingsmanager] does not contain default activity)

If I try to use newer version of the SettingsManager, the setting are not saved.

But I cant find the option to "Disable settings changes" in my lockdown profile.

Where is this option located?

D
DRMOD@SOTI
3 years ago

Thank you for your post.  

In order to investigate further please confirm and provide the following details.

Please describe step by step how did you "reinstall", so we can recreate the issue. Which method did you use?

Please complete the table below:

Before

After

Mobicontrol server Version

Mobicontrol agent Version

15.0.1 build 1051

15.1.2 build 1075

Setting manager Version

Comments

Device Make, Model, firmware, OS version,  of the device affected?

Is it a single device or a group of devices, how many devices are affected?

Is the setting manager the only package. Which other packages?

Have you tried to deploy the packages through app Policy?

Have you tried to reenroll the device to test if the issue persists?

Send screenshot/video of any error message appearing?

This way I can check to see if this issue has been reported recently and/or troubleshoot your circumstances better.

Regards,  

TK
Todor Kostadinov
3 years ago

Hi,
By "reinstalling" I mean re-enroll devices.
We are using afw#mobiconrol method. And then most settings and all packages are distributed to devices with different profiles from SOTI.


Mobicontrol server Version: 14.4.3.1153 

Mobicontrol agent Version before: 15.0.1 build 1051 after: 15.1.2 build 1075

Setting manager Version: 14.4.0


Device Make, Model, firmware, OS version,  of the device affected?
Samsung Galaxy Tab Pro (SM-T545), Android 11

Is it a single device or a group of devices, how many devices are affected?
All devices are affected, when (and if) we try to re-enroll a device.

Is the setting manager the only package. Which other packages?
There are few other packages - pdf-reader, and our main FSMS package.

Have you tried to deploy the packages through app Policy?
No, I'm not sure what does this mean. All packages are deployed and installed within SOTI with profile.

Have you tried to reenroll the device to test if the issue persists?
Yes, it is constant issue.

My issues so far with the recent update of the agent:

1. I would really need some help in order to be able to re-enroll devices with agent version of my choice!
It is a gamble to rely on the version from the Google Play Store!
How to achieve this with afw#mobiconrol method?

2. How to automaticaly avoid "File IO error on device. Check Storage/Permissions." errors?
I think they are gone after manually giving MobiControl "Permission to all files".

But how to include the permission in enrollment?

3. I'm not able to use any version of Soti Settings manager higher than 14.4.0 - they are all not saving any changes at all.
I can't find the option to "Disable settings changes" in my lockdown profile, which is mentioned as solution in some of the threads here.
How to use recent version of Soti Settings manager?

4. I already have found solution to the message Package [net.soti.settingsmanager] does not contain default activity when using 14.4.0.
In my lockdown profile I've chahged "Launch://net.soti.settingsmanager" to "Launch://net.soti.settingsmanager/.WelcomeActivity".

Thank you!

Kind regards,

Todor Kostadinov