Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,687 Members 39,880 Now Online
XDA Developers Android and Mobile Development Forum

[DEV][GUIDE] Upgrading your Rom to 4.4.2 Sources

Tip us?
 
dr87
Old
(Last edited by dr87; 23rd May 2014 at 07:08 AM.)
#1  
Recognized Developer / Recognized Contributor - OP
Thanks Meter 8,815
Posts: 1,434
Join Date: Apr 2013

 
DONATE TO ME
Default [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)


Other requirements

This commit 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.
The Following 93 Users Say Thank You to dr87 For This Useful Post: [ Click to Expand ]
 
desireaftergod
Old
#2  
desireaftergod's Avatar
Senior Member
Thanks Meter 62
Posts: 188
Join Date: May 2013
Location: Manchester, NH
Of course, I'm no developer, but I just wanted to say thanks for all your help for the developing community DR87...As an avid ROM flasher, I am very excited at seeing the prospect of more roms being updated to use with 24A
The Following User Says Thank You to desireaftergod For This Useful Post: [ Click to Expand ]
 
amit_sen
Old
#3  
amit_sen's Avatar
Recognized Contributor
Thanks Meter 2,510
Posts: 1,345
Join Date: Mar 2011
Location: New Delhi

 
DONATE TO ME
thnx @dr87 from all of G2 community .

hmmmm ...

looks like some goodies are coming for my vs980 buddies
Time to get back to work ....
The Following User Says Thank You to amit_sen For This Useful Post: [ Click to Expand ]
 
arifqur
Old
#4  
Senior Member
Thanks Meter 306
Posts: 1,773
Join Date: Nov 2005
Hey people don't leave us Sprint G2 users behind.
Looking forward to a unified kernel for G2.
Also if in some way compatibility for jdi and lgd display panels could be found to co-exist in the same kernel it would be much easier for the kernel devs to put out their stuff in fewer kernel variants.
Just a thought.
 
tnosz
Old
#5  
tnosz's Avatar
Senior Member
Thanks Meter 79
Posts: 327
Join Date: Jul 2010
Location: Austin
You're a nice guy @dr87 for sharing to the other Devs.

Sent from my LG-D800 using XDA Premium 4 mobile app
 
Raagh
Old
#6  
Raagh's Avatar
Senior Member
Thanks Meter 194
Posts: 786
Join Date: Jun 2013
This should be a bigg bigg sticky

Enviado desde mi LG-D802 mediante Tapatalk
 
arcardinal
Old
#7  
Senior Member
Thanks Meter 1,086
Posts: 502
Join Date: Jul 2010
Location: Twin Cities

 
DONATE TO ME
Thanks dr87. I've been meaning to hit you up on hangouts, but I've been so busy with work lately. This will definitely help.
The Following 2 Users Say Thank You to arcardinal For This Useful Post: [ Click to Expand ]
 
darkobas
Old
#8  
darkobas's Avatar
Senior Member
Thanks Meter 705
Posts: 1,419
Join Date: Jan 2011
Anyone working on this with aospa sources? I am having media issues.

Sent from my LG-D802 using Tapatalk
 
Reginald476
Old
#9  
Reginald476's Avatar
Senior Member
Thanks Meter 502
Posts: 682
Join Date: Sep 2012
Location: Lansing
Thank you so much for posting this, I am one of those PMers who were begging for the mighty wisdom of the doctor.

If any of the other devs/maintainers would like a Hangout, I think that might be a great idea, I would be all for joining/creating it.
Devices - Phone: VZW LG G3 | Tablets: Asus Nexus 7 (2013) running LiquidSmooth 3.0 | Asus TF700T running CROMi-X with stock kernel
My LiquidSmooth 3.0 builds: d800 | d801 | d802 | d803 | ls980 | vs980
The Following User Says Thank You to Reginald476 For This Useful Post: [ Click to Expand ]
 
darkobas
Old
#10  
darkobas's Avatar
Senior Member
Thanks Meter 705
Posts: 1,419
Join Date: Jan 2011
Quote:
Originally Posted by Reginald476 View Post
Thank you so much for posting this, I am one of those PMers who were begging for the mighty wisdom of the doctor.

If any of the other devs/maintainers would like a Hangout, I think that might be a great idea, I would be all for joining/creating it.
https://plus.google.com/+MarkoMan

Sent from my LG-D802 using Tapatalk

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes