Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,536 Members 53,983 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


XDA PORTAL POSTS

Return to Outer Space Outer Space with Ship Up Game

Since the release of Flappy Birds, we’ve had the “fortune” to see … more

Device Review: OnePlus One

Seemingly every day, there are a bunch of new devices being released. Some are budget devices and some are … more

Browse the Internet with the Innovative Atlas Web Browser

For the most part, Chrome, Firefox, and Dolphin Browser have no real rivals among … more

Choose from Over a Thousand Battery Styles with 3Minit Battery Mod

The battery style in stock Android looks pretty dull. It doesn’t … more