Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,856 Members 45,463 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 649
Posts: 693
Join Date: Nov 2012
Location: Pune
May be @percy_g2 , @Abhinav2 @XperiaMT27 can help.
"The more you explain it, the more I don't understand it"
-Mark Twain

My Device:
 
Sony Xperia Sola {pepper}

Stock JB 4.1

Modified Munjeni's JB Kernel

 
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 1274
Posts: 1,434
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 1274
Posts: 1,434
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