Commit Graph

  • 3703384df9 Changed version to 1.3.0 . Ryszard Wiśniewski 2010-06-12 21:22:56 +02:00
  • 2748ef833a Added possibility to choose output location when building. Ryszard Wiśniewski 2010-06-12 17:57:47 +02:00
  • 0ea7744625 Changed default name of built apk from out.apk to a name of original apk. Ryszard Wiśniewski 2010-06-12 17:56:19 +02:00
  • 517877c665 ApkDecoder.writeMetaFile(): don't write isFrameworkApk and usesFramework if apk doesn't contain resources. Ryszard Wiśniewski 2010-06-12 17:26:34 +02:00
  • 18c3f0cf7b ApkDecoder: use getResTable() instead of mResTable directly. Ryszard Wiśniewski 2010-06-12 17:22:01 +02:00
  • b15179c8bc ApkDecoder +hasSources() +hasResources(). Ryszard Wiśniewski 2010-06-12 17:11:00 +02:00
  • 80c9806214 Fixed issues related to apks without res directory. Ryszard Wiśniewski 2010-06-12 16:58:15 +02:00
  • 4af9f005b1 Added 9patch decoding. Ryszard Wiśniewski 2010-06-12 16:06:18 +02:00
  • 710d7b54d7 Changed version to 1.2.0. Ryszard Wiśniewski 2010-06-03 15:02:04 +02:00
  • 2c587188db Updated android framework to 2.2r1. Ryszard Wiśniewski 2010-06-03 14:56:30 +02:00
  • 1747353955 StringBlock: added support for UTF8 strings (Froyo compatibility). Ryszard Wiśniewski 2010-06-03 14:44:50 +02:00
  • 4ea40577bf StringBlock.getString(): decoding strings using CharsetDecoder. Ryszard Wiśniewski 2010-06-03 13:42:17 +02:00
  • a7fd5fd70a StringBlock: changed type of m_strings from int[] to byte[]. Ryszard Wiśniewski 2010-06-03 12:51:44 +02:00
  • 397d69c72a +Androlib.installFramework() Ryszard Wiśniewski 2010-06-03 09:25:42 +02:00
  • 5fda5dbf00 ARSCDecoder: modified interface to be more flexible - added ARSCData class. Ryszard Wiśniewski 2010-06-02 14:51:33 +02:00
  • 58e7d6960f Moved publicizeResources() implementation to AndrolibResources. Ryszard Wiśniewski 2010-06-02 13:27:42 +02:00
  • be3743e967 Removed HTC resources. Ryszard Wiśniewski 2010-06-02 11:45:00 +02:00
  • 2eb8b20d40 Use framework files from hard disk when building apk. Ryszard Wiśniewski 2010-06-02 11:39:35 +02:00
  • 51a429ebd9 AndrolibResources.getFrameworkApk(): fixed small bug, occuring when frameTag is null. Ryszard Wiśniewski 2010-06-02 11:21:37 +02:00
  • c3fc711ee2 AndrolibResources.aaptPackage(): added include argument, removed some bad magic. Ryszard Wiśniewski 2010-06-02 11:07:17 +02:00
  • c410a27cd8 AndrolibResources.aaptPackage(): create args array using List. Ryszard Wiśniewski 2010-06-02 10:31:25 +02:00
  • 3d69eb9fd5 +ResTable.listFramePackages() Ryszard Wiśniewski 2010-06-02 10:12:00 +02:00
  • 0ad4f262a6 Androlib.writeMetaFile(): use default intendation. Ryszard Wiśniewski 2010-06-02 10:11:24 +02:00
  • ebfb9e3038 Storing isFrameworkApk bool in apktool.yml instead of guessing it at build time. Ryszard Wiśniewski 2010-06-02 09:37:19 +02:00
  • 1826c7f65f Added apktool.yml file for storing project meta-data. Ryszard Wiśniewski 2010-06-02 09:32:12 +02:00
  • c57b79ff27 +Androlib.getVersion() Ryszard Wiśniewski 2010-06-02 09:08:54 +02:00
  • ce9c6304af AndrolibResources.loadFrameworkPkg(): added check for loaded pkg id. Ryszard Wiśniewski 2010-06-02 00:43:31 +02:00
  • 28d4457481 Moved OutDirExistsException to package brut.androlib.err . Ryszard Wiśniewski 2010-06-02 00:10:52 +02:00
  • d2fdeb5a73 Reading framework files from hard disk. Ryszard Wiśniewski 2010-06-02 00:09:38 +02:00
  • 43797e0c0d Throwing exception when decoding to existing directory. Ryszard Wiśniewski 2010-06-01 14:30:08 +02:00
  • 25ec196cfa From now there is no need to use -s/-r switch, when apk doesn't contain sources/resources. Ryszard Wiśniewski 2010-06-01 14:06:13 +02:00
  • f07aae158a TypeName.fetchFromInternalName(): fixed a bug occuring when parsing class name without a package. Ryszard Wiśniewski 2010-06-01 13:30:09 +02:00
  • 0aa2015fda ResFileDecoder: rewritten file type recognition algorithm. Ryszard Wiśniewski 2010-06-01 13:09:46 +02:00
  • e4ecd30a27 ResFileDecoder: continue on exception. Ryszard Wiśniewski 2010-06-01 11:52:06 +02:00
  • 620b71abd3 ARSCDecoder: automatically adding missing resources. Ryszard Wiśniewski 2010-06-01 10:25:38 +02:00
  • 7e060064ac DebugInjector: removing ".end local" directives. Ryszard Wiśniewski 2010-04-29 22:22:19 +02:00
  • e6d2e9c605 DebugInjector: types recognition using dexlib code analyzer. Ryszard Wiśniewski 2010-04-29 22:20:44 +02:00
  • d459a4bb8b AndrolibResources.escapeForResXml(): fixed a bug when there are many spaces at the end. Ryszard Wiśniewski 2010-04-28 21:31:06 +02:00
  • add6fbc24d ResReferenceValue: omitting type in theme references only if it equals to "attr" Ryszard Wiśniewski 2010-04-28 21:12:33 +02:00
  • e520d13d6b Added HTC resources from Desire rom. Ryszard Wiśniewski 2010-04-28 20:47:45 +02:00
  • 9503976b59 Publicized all framework resources. Ryszard Wiśniewski 2010-04-28 12:33:00 +02:00
  • 329d9b4b3f +Androlib.publicizeResources() Ryszard Wiśniewski 2010-04-28 12:17:48 +02:00
  • dc190d9210 ARSCDecoder: added possibility to get flags offsets of ARSC file. Ryszard Wiśniewski 2010-04-28 12:15:57 +02:00
  • 2aec8cbcbb AndrolibResources.escapeForResXml(): proper escaping of whitespaces. Ryszard Wiśniewski 2010-04-28 10:09:34 +02:00
  • 07ad2a1a36 Moved DexFileBuilder to package brut.androlib.src . Ryszard Wiśniewski 2010-04-27 21:49:38 +02:00
  • 78f0899921 Deleted old AndrolibSmali class. Ryszard Wiśniewski 2010-04-27 21:47:19 +02:00
  • fe6580427f Androlib, ApkDecoder: added support for debug mode. Ryszard Wiśniewski 2010-04-27 21:44:59 +02:00
  • 2891abf96b Androlib: using SmaliDecoder and SmaliBuilder instead of AndrolibSmali. Ryszard Wiśniewski 2010-04-27 21:40:17 +02:00
  • 060572e824 Added new mechanisms of smali decoding and building. Ryszard Wiśniewski 2010-04-27 21:31:52 +02:00
  • f9c9588f1d DexFileBuilder: added possibility to name streams. Ryszard Wiśniewski 2010-04-27 21:29:49 +02:00
  • 853d807f59 DexFileBuilder: added possibility to smali InputStream. Ryszard Wiśniewski 2010-04-26 18:37:24 +02:00
  • 5afc491ebc +DexFileBuilder Ryszard Wiśniewski 2010-04-26 18:28:12 +02:00
  • 3955e7082c Added interface of Java decoding and building. Ryszard Wiśniewski 2010-04-23 14:23:08 +02:00
  • 3cee5a0b02 Updated to use (bak)smali 1.2.2 . Ryszard Wiśniewski 2010-04-23 13:31:45 +02:00
  • 476ddbfa27 . Ryszard Wiśniewski 2010-04-03 22:44:28 +02:00
  • cd56ffadd0 . Ryszard Wiśniewski 2010-04-02 20:14:58 +02:00
  • 651f4d37d8 Fixed support for apk without any sources. Ryszard Wiśniewski 2010-04-02 20:08:04 +02:00
  • 02c93c725d ResPluralsValue: escaping values when serializing to XML. Ryszard Wiśniewski 2010-04-02 18:45:50 +02:00
  • 85a767c9e3 . Ryszard Wiśniewski 2010-04-02 18:43:25 +02:00
  • ec1abd3f9b ResFlagsAttr: use smallest possible number of flags to describe decoded value. Ryszard Wiśniewski 2010-04-02 18:16:14 +02:00
  • 6ce6d76484 ResBagValue.serializeToXml(): serializing as style, array or plurals value depending on type of ResResource. Ryszard Wiśniewski 2010-04-02 14:56:51 +02:00
  • c9f298fdea ResArrayValue: added support for empty arrays. Ryszard Wiśniewski 2010-04-02 14:53:36 +02:00
  • 916e872330 Marking items of enum and flags attrs as synthesized. Ryszard Wiśniewski 2010-04-02 14:20:20 +02:00
  • e9db0b3426 Added possibility to mark resource as synthesized, so it won't be included in value XMLs. Ryszard Wiśniewski 2010-04-02 14:19:09 +02:00
  • 08a95d754c . Ryszard Wiśniewski 2010-04-02 14:17:13 +02:00
  • 5c27cba88a Rewrited bags factoring mechanisms. Ryszard Wiśniewski 2010-04-02 13:46:26 +02:00
  • 024b369a6e ResReferenceValue: added type name. Ryszard Wiśniewski 2010-04-02 13:45:46 +02:00
  • b636373e1d AndrolibResources.escapeForResXml(): don't insert new-line char to XML output. Ryszard Wiśniewski 2010-04-02 13:42:24 +02:00
  • 4bd9ea4b60 Storing resources.arsc uncompressed in framework apk files. Ryszard Wiśniewski 2010-04-02 13:38:50 +02:00
  • 602fd95f8a AndrolibResources.escapeForResXml(): escaping quotes. Ryszard Wiśniewski 2010-04-02 12:44:43 +02:00
  • 432146c8bb Ryszard Wiśniewski 2010-04-01 18:38:22 +02:00
  • 9234017707 Added support for framework apks. Ryszard Wiśniewski 2010-04-01 17:38:30 +02:00
  • 5a6e684f80 AndrolibResources.aaptPackage(): added possibility to package framework resources. Ryszard Wiśniewski 2010-04-01 17:37:23 +02:00
  • 79a1b564e7 ResTable +hasPackage() Ryszard Wiśniewski 2010-04-01 17:34:16 +02:00
  • b8bbbad458 ResFileDecoder: disabled xml-decoding of .html files. Ryszard Wiśniewski 2010-04-01 17:31:57 +02:00
  • f4a5e7f910 XmlPullStreamDecoder: added some log messages. Ryszard Wiśniewski 2010-04-01 15:16:33 +02:00
  • 453d5d1751 Added support for apks which do not have sources or resources. Ryszard Wiśniewski 2010-04-01 14:52:17 +02:00
  • f1742c1956 ARSCDecoder: added support for config chunks of size other than 32. Ryszard Wiśniewski 2010-03-27 22:24:05 +01:00
  • 8094115fbc AndrolibResources.escapeForResXml(): fixed bug triggered when empty string given. Ryszard Wiśniewski 2010-03-27 21:33:42 +01:00
  • d35120da35 Added automatic 9-patch workaround. Ryszard Wiśniewski 2010-03-27 21:09:16 +01:00
  • dc1a645396 Androlib +buildLib() Ryszard Wiśniewski 2010-03-27 20:02:43 +01:00
  • 4e49612c18 Androlib: completely rewritten build methods, added changes checking, etc. Ryszard Wiśniewski 2010-03-27 19:49:05 +01:00
  • 901035d240 ApkDecoder: moved outDir creating from setOutDir() to decode(). Ryszard Wiśniewski 2010-03-27 19:47:09 +01:00
  • a955495284 AndrolibResources.aaptPackage(): added assetDir argument. Ryszard Wiśniewski 2010-03-27 19:44:48 +01:00
  • 43b28c7ee5 AndrolibResources.decode(): get apkFile as ExtFile. Ryszard Wiśniewski 2010-03-26 16:43:36 +01:00
  • c09e74c4dd Make messages outputing/logging consistent between files. Ryszard Wiśniewski 2010-03-26 15:40:54 +01:00
  • 3561384aec +ApkDecoder Ryszard Wiśniewski 2010-03-26 14:32:00 +01:00
  • 336f61db83 Androlib: replaced decode() by many decode*() methods. Ryszard Wiśniewski 2010-03-26 14:31:34 +01:00
  • ecca0d80b7 Androlib: updated to interface changes in brut.directory . Ryszard Wiśniewski 2010-03-26 14:28:51 +01:00
  • da2b3d8313 AndrolibResources: using ExtFile to get contents of apk file. Ryszard Wiśniewski 2010-03-26 14:25:43 +01:00
  • c41f46cf08 +ExtFile Ryszard Wiśniewski 2010-03-26 14:24:44 +01:00
  • 96e62f955b ExtMXSerializer.setProperty(): fixed a bug, which makes impossible to set PROPERTY_DEFAULT_ENCODING. Ryszard Wiśniewski 2010-03-26 14:23:16 +01:00
  • 35efa39be3 Removed unused class ApkFile. Ryszard Wiśniewski 2010-03-25 21:33:31 +01:00
  • 64fe894062 ExtMXSerializer: added possibility to set default encoding. Ryszard Wiśniewski 2010-03-25 21:15:44 +01:00
  • ac1bc7ca54 ExtMXSerializer.startDocument(): new line depends on serializer setup. Ryszard Wiśniewski 2010-03-25 21:01:12 +01:00
  • d42798fd92 ResXmlSerializer -> ExtMXSerializer Ryszard Wiśniewski 2010-03-25 21:00:41 +01:00
  • a9ab437ae0 Platform-independence improvement. Ryszard Wiśniewski 2010-03-25 13:35:44 +01:00
  • 3fdde30939 AndrolibResources: added possibility to decode resources.arsc from InputStream. Ryszard Wiśniewski 2010-03-25 11:11:12 +01:00
  • 51e1a28bda Removed some old code. Ryszard Wiśniewski 2010-03-25 10:53:47 +01:00
  • 0045fb5479 Removed brut.androlib.jni module. Ryszard Wiśniewski 2010-03-25 10:52:01 +01:00