Commit Graph

667 Commits

Author SHA1 Message Date
Connor Tumbleson
e3ed1a448a refactor gradle version system for release, snapshots and non-git snapshots 2014-02-04 09:54:00 -06:00
Connor Tumbleson
c80e906f53 bump smali version to 2.0.3 2014-02-04 09:52:39 -06:00
Connor Tumbleson
dc2b2fecb8 cleanup new lines and fixup revision properties 2014-02-04 09:52:09 -06:00
Connor Tumbleson
a91e87bb04 update to smali 2.0.3 2014-01-19 10:37:31 -06:00
Connor Tumbleson
2af523d5d4 correctly handles apk's with one package named "android" 2014-01-13 17:43:09 -06:00
Connor Tumbleson
501a6df677 only store renamed-manifest-package if the apk requires the change 2014-01-07 15:06:45 -06:00
Connor Tumbleson
f6a61ba1b4 rename variables to help user understand, remove unneeded ones 2014-01-07 13:08:48 -06:00
Connor Tumbleson
e254cec648 rework manifest renaming
Issue #526, correctly handles apks where a renamed package is required, by comparing the package name present
in AndroidManifest.xml and resources.arsc. If different, we take the package name present
in resources.arsc (original) and replace it in the <manifest> tag of AndroidManifest.xml. The previous value in
AndroidManifest.xml (renamed) becomes the value to be passed to aapt on rebuild via --rename-manifest-package

Both these values along with the package id of the original are stored in apktool.yml, for use during the
rebuild
2014-01-07 10:59:37 -06:00
Connor Tumbleson
559a3024cc Ignore multiple types 2014-01-06 06:39:51 -06:00
Connor Tumbleson
3cdc026d86 add source - bitbucket to readme 2013-12-18 09:10:14 -06:00
Connor Tumbleson
b13fe7f690 markdown our readme 2013-12-18 09:01:40 -06:00
Connor Tumbleson
7a162fb80f add long-string unit-tests 2013-12-18 08:41:30 -06:00
Connor Tumbleson
1d745ac0ad correctly handles abused length strings - jtmuhone 2013-12-18 08:41:18 -06:00
Connor Tumbleson
52767a2a94 add unicode string unit-test and json string test 2013-12-17 16:50:48 -06:00
Connor Tumbleson
d5d03fe1e4 cleanup confusing logic - ntop001 2013-12-09 06:23:21 -06:00
Connor Tumbleson
259ff5ef01 fix nio2 windows problem - funorpain 2013-12-08 16:48:59 -06:00
Connor Tumbleson
0949a6c50f Merge branch 'wip-2.0' of github.com:eyecatchup/Apktool into eyecatchup-wip-2.0 2013-12-08 16:45:09 -06:00
Connor Tumbleson
f887709823 unused import removal 2013-11-23 08:37:20 -06:00
Connor Tumbleson
a1ca5019d8 fix spacing in ResArrayValue 2013-11-23 08:35:08 -06:00
Connor Tumbleson
e91790e676 correctly handle incorrect type labeled <array>'s 2013-11-23 08:34:33 -06:00
Connor Tumbleson
4b180bd13c handle MNC_ZERO correctly 2013-11-22 16:22:53 -06:00
Stephan Schmitz
b30f8e7f36 Revert "Windows build fix (skip checking files in /values* for test application)."
This reverts commit 98ed17ca9d.
2013-11-18 17:22:44 +01:00
Stephan Schmitz
98ed17ca9d Windows build fix (skip checking files in /values* for test application).
I didn't tracked down where the issue comes from and whether this is expected behaviour (actually I doubt). But when building on Windows, the test trys to create a strings.xml in "values-mcc004-mnc4-en-rUS-ldrtl-sw100dp-w200dp-h300dp-xlarge-long-land-desk-night-xhdpi-finger-keyssoft-12key-navhidden-dpad". This exceeds the max length for file/directory names in Windows and therefore the build aborts.

Because this was currently the only issue that breaks building on Windows (when 073019fa54 is applied), this workaround should do the trick (for now).
2013-11-18 13:42:46 +01:00
Stephan Schmitz
073019fa54 Merge of cross-platform fix for smali's AnalysisTest.java
Merge https://github.com/JesusFreke/smali/pull/20 into fork: Use System.lineSeparator() for cross-platform compatible line endings for runTest() method in AnalysisTest.java. The patch fixes build failures of type `org.jf.baksmali.AnalysisTest > DuplicateTest FAILED [junit.framework.ComparisonFailure at AnalysisTest.java:107]` on Windows systems.
2013-11-18 13:31:07 +01:00
Connor Tumbleson
6d5d889c27 adjust spacing in test files, removed unused imports 2013-11-15 13:08:27 -06:00
Connor Tumbleson
d2fc74d984 remove jre7 code from testing class, added comments for manifest changing 2013-11-15 13:07:07 -06:00
Connor Tumbleson
f89b51c74e Update to smali 2.0.2 2013-11-15 12:14:35 -06:00
Connor Tumbleson
8d0801e6db cleanup document related functions 2013-11-15 12:08:21 -06:00
Connor Tumbleson
497b2f9e11 fix locale problem on windows, due to launch script 2013-11-14 06:35:30 -06:00
Connor Tumbleson
f649f80026 2.0.0b8 2013-11-05 22:36:16 -06:00
Connor Tumbleson
feb71b2aa0 code cleanup (spacing) 2013-11-05 15:38:49 -06:00
Connor Tumbleson
f6623d8a12 add newer release api versions 2013-11-03 19:08:39 -06:00
Connor Tumbleson
acd0fcd9e3 update internal aapt's to API 19 2013-11-02 11:28:59 -05:00
Connor Tumbleson
9a31c135ac update internal framework to API 19 2013-11-01 20:11:52 -05:00
Connor Tumbleson
bdb718f8a9 added xxxhdpi, added DENSITY_400, added MNC_ZERO 2013-11-01 20:10:39 -05:00
Connor Tumbleson
2ef25fe5e2 fix jar disassembling 2013-10-16 19:48:43 -05:00
Connor Tumbleson
87e39c4bb9 add todo 2013-10-12 15:44:47 -05:00
Connor Tumbleson
68c1809a48 Handles multiple package framework files correctly. 2013-10-12 15:40:06 -05:00
Connor Tumbleson
64bcb32d81 add method to return size of resPackage, (count of ResSpecs) 2013-10-12 15:39:43 -05:00
Connor Tumbleson
009867e885 2.0.0b7 2013-10-11 11:48:58 -05:00
Connor Tumbleson
000353167c update to gradle 1.8 2013-10-11 11:47:08 -05:00
Connor Tumbleson
03fc77cca8 [smali] update to 2.0 final 2013-10-11 11:43:59 -05:00
Connor Tumbleson
5fa3c2d297 add returnOS() to OS, to help identify unknown aapt OS's 2013-09-17 21:52:35 -05:00
Connor Tumbleson
02ac674551 Add apktool version to output during decode/rebuild 2013-09-17 21:52:09 -05:00
Connor Tumbleson
27922bdb81 remove hardcoded seperator char 2013-09-17 21:48:31 -05:00
Connor Tumbleson
bd9dce78b4 add warning for unknown operating system and fix getFrameworkDir to use non hardcode seperator char 2013-09-17 21:44:57 -05:00
Connor Tumbleson
792188b9fe [smali] add untracked 2b6 files 2013-09-15 18:36:45 -05:00
Connor Tumbleson
0e33e2d477 update to use FileDataStore 2013-09-15 10:35:00 -05:00
Connor Tumbleson
79c68ed6d9 [smali] update to smali 2b6 2013-09-15 10:23:12 -05:00
Connor Tumbleson
9c957b9308 2b6 2013-09-14 12:41:59 -05:00