ARTDeoptimiser - Hang Workaround

Xposed for Android N and above has known issues whereby hooked applications can hang or crash for seemingly no reason at all and there's virtually nothing that us developers can do to resolve the issue. This is due to a bug within Xposed and how android performs optimisations on applications so that they can run faster and consume less battery power.

This is through no fault of the Xposed Framework creator Rovo89. It is a significantly complicated problem to try and resolve however I decided I would at least try to create a workaround for this issue by creating a module that would allow users to turn off optimisations for specific apps (Thereby eliminating the bug).
WARNING: This module will decrease the performance of deoptimised applications and increase the battery consumption for them. This is NOT an optimal solution, but it a solution to those that need it quickly.

Brief Instructions:

  • Install Module
  • Activate in Xposed
  • Reboot
  • Open app
  • Mark which apps you want deoptimised (Not the xposed module for them)
  • Backup their data
  • Uninstall the apps
  • Reinstall the apps
  • Restore their data
Author(s): 
Package: 
com.ljmu.andre.artdeoptimiser
Version name: 
2.0.0b
Release type: 
Stable (low risk of bugs)
Number of downloads: 
1,773 in total · 16 in the last 24 hours
MD5 checksum: 
2d57579218d9c4bd643f760cc3a4d095
Uploaded on: 
Sunday, April 8, 2018 - 20:30
Changes: 

Now uses ROOT to assign a system property which holds all the data on which apps to deoptimise. This allows us to determine which apps to deoptimise even during boot time.

This system also no longer enforces VM_SAFEMODE and instead forces applications to be optimised with the "quicken" flag.

Version name: 
1.0.2
Release type: 
Stable (low risk of bugs)
Number of downloads: 
1,382 in total · 3 in the last 24 hours
MD5 checksum: 
d379ae07cdbb3b2bf63d2e78d056738e
Uploaded on: 
Sunday, February 25, 2018 - 14:35
Changes: 
  • Xposed Repo Upload
  • Fixed issue causing apps to re-optimise in the background.