Is there any way to "mock" the Android date and time even while the option "automatic date and time" is turned on?

The reason I'm asking for such information is that my new app will have to operate offline while still being safe, thus I would need to know the "work arounds" in order to block/prevent the change of date and time even when checking for "automatic date and time" returns true

1 Answer 1


It's possible on a rooted device with Xposed module Per app hacking

Allow set a fake time to fake an app to a specific time just like time machine. Time format is YYYY-MM-DD HH:MI

  • Nice, I'll do some "reversing" on the app to see what exactly I can do to try to avoid it (I hope, I'll be able to), thank you
    – Kyle
    Commented Jan 20, 2018 at 7:07
  • There may be Magisk modules too, though a quick search didn't show up. Worth checking that out as well
    – beeshyams
    Commented Jan 20, 2018 at 7:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .