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


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
    Jan 20 '18 at 7:07
  • There may be Magisk modules too, though a quick search didn't show up. Worth checking that out as well
    – beeshyams
    Jan 20 '18 at 7:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.