400 Commits

Author SHA1 Message Date
oSumAtrIX
c20dfe12d5
feat: improve logging 2022-06-23 02:10:43 +02:00
oSumAtrIX
dde5385232
feat: yield the patch result 2022-06-23 01:41:52 +02:00
oSumAtrIX
930768dfb3
fix: callback for each file instead of class 2022-06-23 01:41:52 +02:00
oSumAtrIX
caf2745805
feat: logging class 2022-06-23 01:23:35 +02:00
oSumAtrIX
a4529c3fee
refactor: logging and exception strings 2022-06-22 16:47:58 +02:00
Lucaskyy
39bb1b25dc
refactor: add logging 2022-06-22 16:13:23 +02:00
Lucaskyy
4fc63a4d8a
refactor: add callbacks for applyPatches & addFiles 2022-06-22 15:37:33 +02:00
Lucaskyy
273dd86b65
chore: remove ExtFile import 2022-06-22 15:04:05 +02:00
Lucaskyy
e8488b3e86
revert "feat: use of java.util.logging.Logger"
This reverts commit 9c39c9efdb5d48ddaffce7f711c275e732b0b2d9.
This reverts commit 8f66f9f606a785ac947b0e553822877f211d82df.
2022-06-22 15:03:30 +02:00
oSumAtrIX
8f66f9f606
feat: migrate logger to slf4j 2022-06-22 14:17:09 +02:00
oSumAtrIX
9c39c9efdb
feat: use of java.util.logging.Logger 2022-06-22 13:45:13 +02:00
oSumAtrIX
64bae884dc
feat: use streams to write the dex files 2022-06-22 03:19:39 +02:00
oSumAtrIX
68174bbd6b
feat: return a File instance instead of ExtFile 2022-06-22 02:53:37 +02:00
oSumAtrIX
5a2f02b97d
fix: String.toInstructions defaulting forStaticMethod to false
Fixes revanced/revanced-patches#46
2022-06-21 23:52:09 +02:00
Lucaskyy
6628b7870f
fix: add docs (trigger release) 2022-06-21 21:02:50 +02:00
Lucaskyy
1f75777cf9
fix: return resourceFile to caller 2022-06-21 20:43:47 +02:00
oSumAtrIX
835a421cc0
fix: InlineSmaliCompiler.compile using 0 registers instead of 1 by default 2022-06-21 17:46:43 +02:00
oSumAtrIX
e47b67d7ec
feat: simplify adding instructions 2022-06-20 21:20:51 +02:00
oSumAtrIX
ad6c5c8273
feat: parametersCount for InlineSmaliCompiler instead of parameters 2022-06-20 20:10:11 +02:00
oSumAtrIX
fd690acd61
refactor: add internal attribute to signatures field 2022-06-20 20:10:06 +02:00
Sculas
8f3ac7702a
fix: goodbye security 2022-06-17 18:12:18 +02:00
Lucaskyy
dfd8a24512
revert: "fix: enforce aapt v1"
This reverts commit cff87ff0770d774d7ef79eec5a22462eadbcb9c5.
2022-06-15 21:39:27 +02:00
Lucaskyy
cff87ff077
fix: enforce aapt v1 2022-06-15 00:25:06 +02:00
Lucaskyy
b68b0bf3d7
fix: enforce aapt v2 2022-06-14 22:34:10 +02:00
Lucaskyy
6a5c8735fb
fix: Patcher setting BuildOptions too late
This causes the Manager to crash, due to a stupid bug in Apktool which is prevented by setting a valid frameworkFolderLocation.
2022-06-14 18:23:40 +02:00
Lucaskyy
d3a580ea19
feat: allow custom framework path to be specified 2022-06-14 17:49:07 +02:00
Lucaskyy
8eb4a8f87a
feat: allow custom aapt path to be specified 2022-06-11 20:08:00 +02:00
oSumAtrIX
afcba5c212
refactor: simplify code by removing the with block 2022-06-11 19:45:11 +02:00
oSumAtrIX
2dcbd8d079
refactor: use include annotation parameter instead of excludeByDefault 2022-06-11 19:14:19 +02:00
Lucaskyy
22267883b1
refactor: get rid of all useless let blocks 2022-06-11 16:56:05 +02:00
oSumAtrIX
31815ca9ea
fix: resource patcher 2022-06-11 06:36:13 +02:00
oSumAtrIX
41e88605c3
feat: optional forStaticMethod parameter for InlineSmaliCompiler.compileMethodInstructions 2022-06-05 08:03:40 +02:00
oSumAtrIX
893d4c699b
feat: Dependencies annotation 2022-06-05 08:03:40 +02:00
oSumAtrIX
6c65952d80
feat: patch dependencies annotation and PatcherOptions 2022-06-05 08:03:39 +02:00
oSumAtrIX
849616dc2b
fix: JarPatchBundle loading non-class files to class loader 2022-06-05 08:03:38 +02:00
oSumAtrIX
8615798711
feat: migrate to DexPatchBundle and JarPatchBundle
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:37 +02:00
Lucaskyy
54511a4fc6
feat: utility functions to get metadata of patch & sigs 2022-06-05 08:03:37 +02:00
Lucaskyy
94f3c9116e
chore: fix typo 2022-06-05 08:03:36 +02:00
Lucaskyy
bf4894592b
fix: reformat (trigger release) 2022-06-05 08:03:36 +02:00
Lucaskyy
5a96f2d99f
refactor: use apktool fork
also fixed some compilation issues
2022-06-05 08:03:35 +02:00
oSumAtrIX
0ebdb100fd
refactor: use resourceData.get(path) instead of a reader/writer
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:35 +02:00
oSumAtrIX
4f60bea81e
perf: decode manifest only when not using resource patcher
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:34 +02:00
oSumAtrIX
5535eb4f01
refactor: improve ExampleResourcePatch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:33 +02:00
oSumAtrIX
a4d8be20fc
fix: using old instance of Androlib when saving
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:32 +02:00
oSumAtrIX
ec9fd15f9b
feat: PatchLoader
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:32 +02:00
oSumAtrIX
d20f7fd6e1
feat: use annotations instead of metadata objects
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:31 +02:00
oSumAtrIX
024fa867e1
fix: qualifying Element with wrong package
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:31 +02:00
oSumAtrIX
fc05fe79de
fix: failing tests temporarily
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:29 +02:00
j4k0xb
79909cf260
feat: add p naming scheme to smali compiler 2022-06-05 08:03:29 +02:00
oSumAtrIX
cc9416dd11
perf: depend on androlib instead of ApkDecoder
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-06-05 08:03:28 +02:00