Ubuntu Touch v3.4 Kernel AppArmor v3 backport patch
Address 1:https://github.com/multirom-aries/ubuntu-phone_kernel_lge_msm8226/commit/ 447767477f591302462214f79685cffcf004a862.patch
Address 2:http://code.bulix.org/ohsl7o-101756
Well, as Ubuntu 14.10 (utopic) had become unsupported, that repository was probably not maintained anymore. I recommend cloning current branch, either 15.04 (Vivid) [1] (actually unsupported today, but still maintained because it's t He base for current phone image) or 16.04 (xenial) [2] repo.
To port AppArmor for your kernel tree, look for the branches for phone image, preferably for similar Linux version or Phon e Chipset/model, and then cherry-pick the commit saying "Sync to AppArmor 3-rc1 snapshot".
You ' ll also has to cherry-pick the commit that says "Binder:search for receiving context PID in global namespace", as it ' s required for trust-store system.
Note that if your phone's kernel is v3.4 or lower (maybe also some higher version, but I'm not so sure) and you'll have the to BA Ckport Bluetooth stack from newer kernel too. See commit is about this in those branches for information.
[1] http://kernel.ubuntu.com/git/ubuntu/ubuntu-vivid.git/
[2] http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/
[PATCH] Ubuntu:sauce: (no-up) Apparmor:sync to Apparmor3-rc1 (v3.4.x kernel)