Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

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

OP dr87

22nd May 2014, 09:10 AM   |  #1  
OP Recognized Developer / Recognized Contributor
Thanks Meter: 9,223
 
1,450 posts
Join Date:Joined: Apr 2013
Donate to Me
More
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.
Last edited by dr87; 23rd May 2014 at 08:08 AM.
The Following 95 Users Say Thank You to dr87 For This Useful Post: [ View ]
22nd May 2014, 10:01 AM   |  #2  
desireaftergod's Avatar
Senior Member
Flag Manchester, NH
Thanks Meter: 87
 
280 posts
Join Date:Joined: May 2013
More
Smile
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: [ View ]
22nd May 2014, 11:50 AM   |  #3  
amit_sen's Avatar
Recognized Contributor
Flag New Delhi
Thanks Meter: 2,631
 
1,362 posts
Join Date:Joined: Mar 2011
Donate to Me
More
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: [ View ]
22nd May 2014, 12:04 PM   |  #4  
Senior Member
Thanks Meter: 335
 
1,845 posts
Join Date:Joined: Nov 2005
More
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.
22nd May 2014, 12:28 PM   |  #5  
tnosz's Avatar
Senior Member
Flag Austin
Thanks Meter: 79
 
334 posts
Join Date:Joined: Jul 2010
More
You're a nice guy @dr87 for sharing to the other Devs.

Sent from my LG-D800 using XDA Premium 4 mobile app
22nd May 2014, 03:24 PM   |  #6  
Raagh's Avatar
Senior Member
Thanks Meter: 211
 
857 posts
Join Date:Joined: Jun 2013
This should be a bigg bigg sticky

Enviado desde mi LG-D802 mediante Tapatalk
22nd May 2014, 03:41 PM   |  #7  
Senior Member
Twin Cities
Thanks Meter: 1,288
 
535 posts
Join Date:Joined: Jul 2010
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: [ View ]
22nd May 2014, 04:08 PM   |  #8  
darkobas's Avatar
Senior Member
Thanks Meter: 1,441
 
1,707 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Anyone working on this with aospa sources? I am having media issues.

Sent from my LG-D802 using Tapatalk
22nd May 2014, 04:23 PM   |  #9  
Reginald476's Avatar
Senior Member
Flag Lansing
Thanks Meter: 511
 
690 posts
Join Date:Joined: Sep 2012
More
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.
The Following User Says Thank You to Reginald476 For This Useful Post: [ View ]
22nd May 2014, 04:51 PM   |  #10  
darkobas's Avatar
Senior Member
Thanks Meter: 1,441
 
1,707 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by Reginald476

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 Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes