Android Power User Tip: Preserving The Xposed Framework Installation During Nightly Flashes
If you haven’t heard by now, the Xposed Framework(Fig. 1) has been extremely popular for Android users with root access these last couple months. It makes modifications extremely simple and safe due to the fact that it doesn’t touch or modify any system files but rather intercept what is called. Installation is extremely straight forward. A simple sideload of the Xposed installer is all it takes. However, you still need to install the modules you wish to use but I’m not getting into that, we’ll leave that for another day.
Like myself, I flash a nightly update to my favorite ROM on my Nexus 4 every night. Doing so causes the Xposed Framework to lose it’s integration and requires you to re-enable it by accessing the installer you have installed prior to the flash. Having to do this on a daily basis does get tedious and annoying. Luckily, there is a way to preserve that integration with a backup script.
Things you will need:
2) Root Explorer (or any root browser)
3) Device with root access
4) A ROM with init.d support (eg. CyanogenMod)
1) Download the backup script and save it to your phone
2) Using your file manager with root access, cut and paste 90-xposed.sh to the /system/addon.d directory(Fig. 2)
3) Set the permission to the file to RWX-RWX-RWX(Fig. 3)
4) That’s it! The Xposed Framework will be preserved during every nightly flash!