Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,591 Members 36,669 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 652
Posts: 704
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 1276
Posts: 1,436
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 1276
Posts: 1,436
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


Secrecy Goes Open Source, Assures File Encryption

As some of you may remember, a while back we spoke about Secrecy, an effective file … more

[APK] Google News and Weather Gets Material Design Makeover, Minor Maps Updates

Although Google has somewhat gotten out of the habit of their … more

Software Build Automation with Jenkins – XDA Developer TV

Many members of the XDA community come to learn and begin in the exciting … more

Add Bits and Pieces of Honami to Your Current ROM

In the last few months, we’ve talked about quite a few Sony Honami-related projects. … more