Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,145 Members 44,749 Now Online
XDA Developers Android and Mobile Development Forum

Help me, how to create a patch file

Tip us?
 
xx214718247
Old
#1  
Member - OP
Thanks Meter 660
Posts: 85
Join Date: Aug 2013
Default Help me, how to create a patch file

For example:

https://github.com/munjeni/android_d...ework_av.patch


Who can tell me the steps?
Modify the framework/av

repo diff framework/av framework_av.patch ??????

cd framework/av
git diff > framework_av.patch ???????


thanks
The Following User Says Thank You to xx214718247 For This Useful Post: [ Click to Expand ]
 
DarkFalcon
Old
#2  
DarkFalcon's Avatar
Senior Member
Thanks Meter 661
Posts: 715
Join Date: Nov 2012
Location: Pune
May be @percy_g2 , @Abhinav2 @XperiaMT27 can help.
 
xx214718247
Old
#3  
Member - OP
Thanks Meter 660
Posts: 85
Join Date: Aug 2013
Quote:
Originally Posted by cpkunki View Post
May be @percy_g2 , @Abhinav2 @MT27 can help.
Thank you
 
xx214718247
Old
#4  
Member - OP
Thanks Meter 660
Posts: 85
Join Date: Aug 2013
@munjeni @DevSwift1
 
Andrewasth
Old
(Last edited by Andrewasth; 23rd February 2014 at 08:06 AM.)
#5  
Senior Member
Thanks Meter 1,277
Posts: 1,440
Join Date: Jan 2013
Location: Athens
Quote:
Originally Posted by xx214718247 View Post
For example:

https://github.com/munjeni/android_d...ework_av.patch


Who can tell me the steps?
Modify the framework/av

repo diff framework/av framework_av.patch ??????

cd framework/av
git diff > framework_av.patch ???????


thanks
If you have repo sync then make your changes and enter repo diff. If you git clone then apply your changes, cd to the dir you want and git diff > name _you_want.patch . then you just have to apply the patch
 
xx214718247
Old
#6  
Member - OP
Thanks Meter 660
Posts: 85
Join Date: Aug 2013
Quote:
Originally Posted by Andrewasth View Post
If you have repo sync then make your changes and enter repo diff. If you git clone then apply your changes, cd to the repository you want and git diff > name _you_want.patch . then you just have to apply it
Thank you
 
Andrewasth
Old
#7  
Senior Member
Thanks Meter 1,277
Posts: 1,440
Join Date: Jan 2013
Location: Athens
Quote:
Originally Posted by xx214718247 View Post
Thank you
Will you work on kitkat with us? The device tree is on my github. github.com/Andrewas

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes