Some apps boot and run in the background when an Android phone boots. WeChat is one example. It starts automatically so that the user can receive messages in real time. My question is how to view and change the boot order of all auto-starting apps. Or else is it random?
The motivation for asking is that I installed Xposed and wanted to change some information of my phone. But unfortunately WeChat sometimes boots before Xposed and thus bypasses the Xposed hooks. I tried very hard to solve this, but to no avail. So any suggestions?
ACTION_BOOT_COMPLETED
broadcast oncesystem_server
is fully up on boot. Any app withandroid.permission.RECEIVE_BOOT_COMPLETED
can receive the broadcast and start a service or whatever. There's no boot order that Android defines. // As Robert said, Xposed replaces core framework libraries in/system
. So wheneverzygote
forks an app, it's loaded with modded libraries.