Help me, how to create a patch file

Search This thread

Andrewasth

Senior Member
Jan 27, 2013
1,459
1,294
Athens
For example:

https://github.com/munjeni/android_device_sony_lotus/blob/android-4.4_r1/patches/framework_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
 
Last edited:

Top Liked Posts