Fix name of 20120702 cm9 patches
[auto-patcher.git] / diff_tools / README
blob4cc9b574ea4a7729597e07cf19c1d2d885be57b4
1 # STRUCTURE of patch
3 patches/$MOD : the name of mod such as pdroid, v6supercharger, etc.
5 patches/$MOD/files.txt : the name of jar, apk, & img files to be patched or copied (needs *.patch)
6                                 when starts with +, file is copied
7                                 when starts with -, file is deleted
9 patches/$MOD/set_perm.txt : permission stuff for updater-script
10 patches/$MOD/special_instructions.sh : helper script
12 patches/$MOD/$ROM/files.txt : a ROM-specific override of patches/$MOD/*.txt
14 patches/$MOD/$ROM/$DATE/*.patch : a ROM-specific patches
16 patches/$MOD/common/$DATE/*.patch : common patches
17 patches/$MOD/common/system/* : common binary files to be copied specified in copies.txt
18 patches/$MOD/common/provisionals/system/* : smali files to be replaced when patching fails
21 # INSTRUCTION
23 1. build modules by "make framework core services"
24    and save under "diff_tools/built/$PATCH/$ROM/stock.$DATE.$DEVICE"
26 2. apply $PATCH patch
27    and build modules by "make framework core services"
28    and save under "diff_tools/built/$PATCH/$ROM/$PATCH.$DATE.$DEVICE"
30 3. run "./batch.sh"