Merge pull request #145 from Urinophoria/master
[auto-patcher.git] / README
blob3804536d3792c122cb3bb9659da9c94af0c33229
1 Auto-Patcher
2         authored by pastime1971 and mateor(od)
4 A smali patcher that ports mods and themes across roms and devices. Extracts, decompiles/unpacks, patches, recompiles/repack, and outputs a flashable zip.
6 Requirements for execution
7    -jdk, cpio, patch
10 Designed to run on Linux, OSX and Windows (using Cygwin)
12 The main script expects the patches and patch_tools folders to be compressed. pastime has whipped up a script that gets you ready to use the program:
14 $./batch.sh
16 For usage and patch availability, place a rom.zip into this directory and try
18 $./auto_patcher <ROMNAME>.zip -h
20 This will check our various dependancies and provide some useful information.
22 To patch a ROM, 
23 $./auto_patcher <ROMNAME>.zip <MODTYPE> <ROMTYPE> <PATCHDATE>
25 where: 
26    * ROMNAME is the literal name of the Rom.
27    * MODTYPE would be a list of offered mods (as seen in the -h menu), separated by 
28         commas and NO SPACES.
29    * ROMTYPE is cm7,cm9,cm10,aokp,aokp-jb,aosp or aosp-jb.
30    * PATCHDATE is the date the patch was made, pick the one right before your build 
31         date from the available patches.
33 example:
34 $./auto_patcher cm-10-OFFICIAL-20120820-grouper.zip pdroid,v6supercharger cm10 20120824
36 See our thread on XDA:
38 http://forum.xda-developers.com/showthread.php?p=27589651#27589651
41 If you are a developer who has a mod you would like supported, you can email me at the 
42 address registered here at github or pm either of us on XDA.
44 We can support changes to boot.img, system.jars, apks and copy over files and/or img's!
46 Pull requests are treasured!