forked from mateor/auto-patcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
46 lines (28 loc) · 1.52 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Auto-Patcher
authored by pastime1971 and mateor(od)
A smali patcher that ports mods and themes across roms and devices. Extracts, decompiles/unpacks, patches, recompiles/repack, and outputs a flashable zip.
Requirements for execution
-jdk, cpio, patch
Designed to run on Linux, OSX and Windows (using Cygwin)
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:
$./batch.sh
For usage and patch availability, place a rom.zip into this directory and try
$./auto_patcher <ROMNAME>.zip -h
This will check our various dependancies and provide some useful information.
To patch a ROM,
$./auto_patcher <ROMNAME>.zip <MODTYPE> <ROMTYPE> <PATCHDATE>
where:
* ROMNAME is the literal name of the Rom.
* MODTYPE would be a list of offered mods (as seen in the -h menu), separated by
commas and NO SPACES.
* ROMTYPE is cm7,cm9,cm10,aokp,aokp-jb,aosp or aosp-jb.
* PATCHDATE is the date the patch was made, pick the one right before your build
date from the available patches.
example:
$./auto_patcher cm-10-OFFICIAL-20120820-grouper.zip pdroid,v6supercharger cm10 20120824
See our thread on XDA:
http://forum.xda-developers.com/showthread.php?p=27589651#27589651
If you are a developer who has a mod you would like supported, you can email me at the
address registered here at github or pm either of us on XDA.
We can support changes to boot.img, system.jars, apks and copy over files and/or img's!
Pull requests are treasured!