Actually RIGHT now, I have figured out, why I get into bootloop... damn selinux :@ Like it is not enough manace on normal linux distributions, they included it into android.
Currently I am not aware how to disable it (on linux it is simple, on android it looks like it is done build time and enforced by default on post 4.x versions) , but I am digging trough...
services.jar is deodexed and properly patched, I have decompiled the patched code and it seems legit.
Looks like there are following options:
- one is boot.img and disabling selinux by rebuilding kernel, this is the most annoying part, I am reluctant to touch boot.img
- creating a new rule for services.jar (prefered option, I want it running due to potential that applications are checking for it)
- find some other way to disable it
If anyone knows anything about selinux on android, some help would be appreciated (just consider, that I am not running the rom - I have system.img mounted on linux and doing changes there)... I will eventually figure it out but any shortcut is welcome