Author Topic: invalid context during scan issue  (Read 4360 times)

0 Members and 3 Guests are viewing this topic.

yanghuibian

  • Guest
invalid context during scan issue
« on: April 11, 2013, 08:47:20 AM »
I restored ams from previous backup using go backup.
the restored ams will report "invalid context during scan" every time I install a new app.
what does this mean exactly?

I can also see the firewall of the restored ams didn't work as it didn't get the root permit.
I need to manually disable/enable firewall to let ams ask for the root permit.

wondering whether there are other issue when ams  is installed in such way.

Thanks.

Offline Filip Havlicek

  • Avast team
  • Massive Poster
  • *
  • Posts: 2647
Re: invalid context during scan issue
« Reply #1 on: April 11, 2013, 09:15:23 AM »
Hi,

there might be such issues, yes. To "fix" the invalid context in such case, you need to delete AMS data via your device Settings. Should be fine after that.

Filip

yanghuibian

  • Guest
Re: invalid context during scan issue
« Reply #2 on: April 11, 2013, 12:08:49 PM »
The reason I restored app is I don't want to to through all the setup again especially for the firewall.
any workaround?

Offline Filip Havlicek

  • Avast team
  • Massive Poster
  • *
  • Posts: 2647
Re: invalid context during scan issue
« Reply #3 on: April 11, 2013, 12:11:47 PM »
Well... If you have a rooted device, you can try going to /data/data/com.avast.android.mobilesecurity and delete app_dex directory (AMS must be shut down first). If that doesn't work, you are out of luck.

Filip

yanghuibian

  • Guest
Re: invalid context during scan issue
« Reply #4 on: April 11, 2013, 12:56:01 PM »
thanks. this helps. Hopefully sometime later there is no need for such work around . :-)

Offline Filip Havlicek

  • Avast team
  • Massive Poster
  • *
  • Posts: 2647
Re: invalid context during scan issue
« Reply #5 on: April 11, 2013, 12:57:43 PM »
We'll see, but I have a lot of work scheduled at the moment so I don't have time to deal with this particular usecase :(

Filip

yanghuibian

  • Guest
Re: invalid context during scan issue
« Reply #6 on: April 11, 2013, 02:11:13 PM »
it is totally fine with me. I am a very satisfied user of ams so ........... :-)

grossetti

  • Guest
Re: invalid context during scan issue
« Reply #7 on: April 24, 2013, 09:08:04 AM »
I get this and I did not restore from backup.

Offline Filip Havlicek

  • Avast team
  • Massive Poster
  • *
  • Posts: 2647
Re: invalid context during scan issue
« Reply #8 on: April 24, 2013, 09:37:55 AM »
Hi,

there are other non-standard things you can do with apps that might break the definitions. If it doesn't fix itself after definitions update, deleting Mobile Security data always works.

Filip