[DEV][GUIDE] Upgrading your Rom to 4.4.2 Sources
I have been getting a few PM's for help with upgrading to a 4.4.2 device base. I would like to share what I think is the most efficient way to upgrade to 4.4.2 sources with the least issues. This is the method I use on my Mahdi Rom. I see devs with issues stopping them from going to full 4.4.2 device/kernel/vendor trees and I would like to help get some more roms updated. If most roms follow the same methods we can also have custom kernels again.
4.4 device tree:
Heavily modified from our 4.2 CM device tree. I also fixed some RIL issues that would stop the new RIL from working in some roms.
4.4 vendor tree
: Completely remade using hammerhead as the base for the best aosp compatibility. Only added necessary blobs to run our hardware. The old vendor tree had way too many added files that didn't need to be used as prebuilts. Added missing files that should be present in kitkat. Sprint camera is currently broken and hopefully a LS980 dev can figure it out (Believe this to be vendor related)
4.4 kernel - clean branch
: Only added the commits required for the rom to function normally, specials thanks to rmcc (original author of ril, vibration, bt fixes in my kernel tree) and jackpotclavin for a lot of the original AOSP fixes and many things on the G2 tree. On the 4.4.2 tree I was unable to get call echo fixed and we had other strange audio bugs everywhere due to reliance on the stock rom and taiko file. I decided to replace all the vendor / kernel audio drivers with Nexus 5 wcd9320 drivers and use custom mixers and audio has been working perfectly so far. (All this is already in the links I posted)
must be added to display-caf
Qcom common folder
CM media repo
If anyone needs help with issues updating a rom post here and I will try to help.