-
Notifications
You must be signed in to change notification settings - Fork 527
Conversation
Thanks for figuring this out! |
I made it so that it would work like always on pre-lollipop. In pre-lollipop you execute |
True, but I have made this more explicit. |
What is your XDA user name (for credits) ? |
It's the same as here, only with an underscore at the beginning (Github does not support that), so "dk_zero-cool". |
A test version is available here: #2162 |
Thanks, but I don't really use this at the moment, I don't need it as I am very strickt about what I install on my devices. I just followed the thread and got tired of the people that does not know how much time these things can take from the people working on it, and you seamed like you did not have that time currently. Since I like a challenge and had the time to spend, I thought that I would lend a hand. |
I am really glad you found this problem and probably a lot of other people too! |
And, yes, things like this are quite time consuming. Even testing your fix did cost time and waiting for a complete OAT each time a boot fails is no fun at all too. |
Yes it requires a lot of rebooting, recovery shell to disable the module each time and so on. Just a quick note, if you have anything in your module that adds hooks to native methods, those features will not currently work on Lollipop. The Lollipop versions of Xposed does not allow hooks on native methods, not sure why, but Rovo has disabled it until he has time to test it properly. Just a good idea to mention this on the thread if you have such features. |
I was aware of the limitation of hooking native methods, but some of the super alpha versions do support hooking of native methods (and it actually works). I will add a note about this, because I can imagine not everybody knows/remembers. |
Whether or not this is an Xposed issue I am not sure. But trying to add a hook to ActivityThread after it has been loaded will cause a boot loop issue. It seams that doing so destroys the entire dalvik cache for some reason. Moving the hook to ZygoteInit, like in pre-lollipop, fixes the boot loop issue.