yashsingh1/xdaforums huggingface dataset:
[Android Software Development] jackq:
As i wrote earlier:

GS2 ROM CM10.1 4.2.2 nightly.
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

so did you install twframework res also?

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software Development] zelendel:
There is no TWframework in AOSP roms. That is a Samsung rom only file. Like com.htc.resources for Sense roms
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

so at the lines with the errors quoted, do they match with the resources quoted? look for case sensitive or misspelings.

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software Development] jackq:
This pngs doesnt present in systemui or framework-res.

I just only decompile, edit some smali and xml but nothing compared with pngs.

Now try to recompile and got earlier mentioned error. I dont edit any xmls in drawable and dont touch any pngs. So its weird for me cos i modded so many apks... and never had that issue.

I think maybe i change in this xmls path for other drawable. Recompile and only replace classes dex and some of xmls what i needed. I think is only way.
[Android Software Development] iBotPeaches:
Minor news update

After working with SmaliDebugging for awhile. I couldn't get my breakpoints to be triggered due to the fact that NetBeans / Eclipse treat smali as a large comment and don't allow comments on breakpoints. Even forcing a comment there, didn't allow it to be hit. This could still be a bug in my coding, but at this point, I'm putting that back on hold to get back to resource related updates. However, I merged the branch back into /master. So you at least can do the debug mode in v1.5.3, and maybe someone else can figure out why the breakpoints aren't triggered :)

Lets take an example string of.

<!-- Exposure settings in preference -->
<string name="pref_exposure_title">Exposure</string>
<string name="pref_exposure_default" translatable="false">0</string>

Obviously, apktool will remove the comment. It also though removes the attribute "translatable". So this becomes...

<string name="pref_exposure_title">Exposure</string>
<string name="pref_exposure_default">0</string>

The more and more I see people decompile OPPO / MIUI Roms. The more I see them translating strings that are meant for the system. Then their ROM has tons of FC issues due to editing non-translatable values. Working on adding support for other attributes to be retained in XML.

Just a heads up, as this might be shocking for heavy users of Apktool to all of a sudden start seeing this other attributes in their code.
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

not wanting to cause offence O:) but is the framework and systemui from the Same rom? as in, you've by accident installed framework from another rom ect, as a wild out there question :D

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software Development] jackq:
Downloaded ROM again, de/recompiled systemui.apk perfectly :D

Thanks for help.
[Android Software Development] 1982Strand:
Hi devs!

I got this apk which won't recompile, throws this error:

/home/dan/buildtool/apk_in/decompiled/WeatherBZ.apk/res/xml/widget_4x1.xml:2: error: No resource identifier found for attribute 'widgetCategory' in package 'android'
/home/dan/buildtool/apk_in/decompiled/WeatherBZ.apk/res/xml/widget_4x1_ext.xml:2: error: No resource identifier found for attribute 'widgetCategory' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 17, -F, /tmp/APKTOOL1254655414374403734.tmp, -0, arsc, -I, /home/dan/apktool/framework/1.apk, -S, /home/dan/buildtool/apk_in/decompiled/WeatherBZ.apk/res, -M, /home/dan/buildtool/apk_in/decompiled/WeatherBZ.apk/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 17, -F, /tmp/APKTOOL1254655414374403734.tmp, -0, arsc, -I, /home/dan/apktool/framework/1.apk, -S, /home/dan/buildtool/apk_in/decompiled/WeatherBZ.apk/res, -M, /home/dan/buildtool/apk_in/decompiled/WeatherBZ.apk/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 17, -F, /tmp/APKTOOL1254655414374403734.tmp, -0, arsc, -I, /home/dan/apktool/framework/1.apk, -S, /home/dan/buildtool/apk_in/decompiled/WeatherBZ.apk/res, -M, /home/dan/buildtool/apk_in/decompiled/WeatherBZ.apk/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more

The error here being the No resource identifier found for attribute 'widgetCategory' in package 'android'

Which i was told was because i had to change api level to 17.. (or delete the lines in the corresponding xmls..)

But i'm a little confused, i thought apktool 1.5.2 DID support api level 17? Or is there a way to specify apktool to use level 17 when recompiling? Not really sure how to "switch to api level 17"..

I can decompile the apk fine though...

I'm using linux, with my own aapt,built from latest source, including the MIUI patches..

(If i use the miui aapt provided by iBot for linux, i get a segmentation fault when running it.. )

Let me know if more info is needed :)

Thanks!
[Android Software Development] RomWiz:
Sv: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Problem when compiling

I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3079: error: Pu
blic resource string/xposed_frameworks_settings has conflicting type codes for i
ts public identifiers (0xb vs 0x10).
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3080: error: Pu
blic resource string/xposed_dpi_settings has conflicting type codes for its publ
ic identifiers (0xb vs 0x10).
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Tem
p\APKTOOL3325692844454988854.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -
S, C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\W
izardRom\settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\Daniel\AppData\Local\Temp\APKTOOL3325692844454988854.tmp, -I, C:\Users\Da
niel\apktool\framework\1.apk, -S, C:\Users\Daniel\apktool\WizardRom\settings\res
, -M, C:\Users\Daniel\apktool\WizardRom\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Temp\
APKTOOL3325692844454988854.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -S,
C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\Wiz
ardRom\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more

Cheers

Daniel
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Think this may help :D

http://xdaforums.com/showthread.php?p=19231637

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software Development] RomWiz:
I don't really understand what to do there :confused:

C:\Users\Daniel\apktool\WizardRom>apktool b settings settings.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:2996: error: Pu
blic resource string/xposed_frameworks_settings has conflicting type codes for i
ts public identifiers (0xb vs 0xb0).
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:2997: error: Pu
blic resource string/xposed_dpi_settings has conflicting type codes for its publ
ic identifiers (0xb vs 0xb0).
C:\Users\Daniel\apktool\WizardRom\settings\res\xml\settings_headers.xml:45: erro
r: Error parsing XML: mismatched tag
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Tem
p\APKTOOL6885715322551691068.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -
S, C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\W
izardRom\settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\Daniel\AppData\Local\Temp\APKTOOL6885715322551691068.tmp, -I, C:\Users\Da
niel\apktool\framework\1.apk, -S, C:\Users\Daniel\apktool\WizardRom\settings\res
, -M, C:\Users\Daniel\apktool\WizardRom\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Temp\
APKTOOL6885715322551691068.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -S,
C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\Wiz
ardRom\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
[Android Software Development] CosmicDan:
Delete public.xml so apktool can regenerate it. Isn't this on the Wiki? If not, it should be. If it is, RTFM FFS.
[Android Software Development] RomWiz:
C:\Users\Daniel\apktool\WizardRom>apktool b settings settings.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Daniel\apktool\WizardRom\settings\res\xml\settings_headers.xml:45: erro
r: Error parsing XML: mismatched tag
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Tem
p\APKTOOL6451791015878804427.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -
S, C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\W
izardRom\settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\Daniel\AppData\Local\Temp\APKTOOL6451791015878804427.tmp, -I, C:\Users\Da
niel\apktool\framework\1.apk, -S, C:\Users\Daniel\apktool\WizardRom\settings\res
, -M, C:\Users\Daniel\apktool\WizardRom\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Temp\
APKTOOL6451791015878804427.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -S,
C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\Wiz
ardRom\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

mismatch tag is usually layout related, every layout, must end with a end tag

eg

<relativeLayout start tag

</relativeLayout> end tag

if that makes sense. :)

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software Development] georgiecasey:
Anyone know if there's some bash or shell script out there that combines Apktool, jarsigner, adb uninstall and adb install on device? Would be a nice timesaver. I know it won't take long to code it up myself but no point reinventing the wheel if it's been done :p
[Android Software Development] raziel23x:
http://xdaforums.com/showthread.php?t=1310151
[Android Software Development] georgiecasey:
wow, that's great stuff, works perfect, cheers for developing it!

i must really search harder before posting questions
[Android Software Development] 1982Strand:
Okay, i'll try a different approach to my last question :)

Can anyone tell me what it takes to recompile the attached apk?

It's a standalone app, not from a specific rom.
[Android Software Development] iBotPeaches:
http://pastebin.com/F8kS89LW

No problem.
[Android Software Development] 1982Strand:
Sv: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Hmm. Now Im really puzzled :-\

I used both the apktool 1.5.2 and one built from latest Source. I tried using both the aapt you provide for Linux and one i built from android Source too..

And I just Updated the android sdk, so it's also the latest..

Any ideas?

@ my commodore 64
[Android Software Development] iBotPeaches:
Per the Wiki,

Which you probably forgot.
[Android Software Development] 1982Strand:
Sv: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Ok, Ill try that..

But just out of curiosity, why would that work? Is It because a framework with api 16 is Loaded as 1.apk and the apk i attached needs api 17? And then by deleting the api 16 apk, apktool doesn't Load the resources from that?

Sorry if that's a dumb question :)

@ my commodore 64
[Android Software Development] iBotPeaches:
Apktool has the "most" up to date framework built inside of it. If you don't have a framework at /apktool/frameworks/1.apk, it uses its built in one to produce it. I believe yours is out of date, as it doesn't understand that some of those elements actually are a part of the android package.

Instead of asking you to track down the newest framework and installing it, just delete the old one and let Apktool do the work.
[Android Software Development] 1982Strand:
BINGO!!

Never would have thought of deleting the input frameworks! Also, because in the wiki, it states to do this when migrating from an old version, so i wouldn't logically link that to this :)

Anyways, thanks for the info ;)
[Android Software Development] SalimKeady:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Decompiled an app the recompile it and signed it ... Parse error on install ... Any ideas ?
[Android Software Development] iBotPeaches:
As per the thread rules.

9) If you need support. Search this thread. If no luck, post your problem, but it better be with either an apk / output / log.
[Android Software Development] shockwaverider:
Attached a logcat. Hopefully I did it right. It was my first time. Since it was too big to attach, I trimmed away the (hopefully) irrelevant stuff from the beginning. Thanks for any help with this.
[Android Software Development] joeyfettucine:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

First, for future reference check out pastebin.com.

Second decompile the new apk I to a new folder and compare the public.xml to the public.xml in the original folder. Are there any differences?

Also, how are going about rebuilding the apk? Are you using the one from the dist folder? If so, try browsing the apk archive with 7zip and dropping the contents of the build folder into the apk. Resign it, rename it to remove any "-signed" and push.
[Android Software Development] shockwaverider:
Will do! :)

Using the contents of the build folder gave me the exact same results, and the logcat looks pretty much the same as well.

I diffed the public.xml from the original framework-res.apk and my rebuilt version. Every single id value in it is different. Specifically, every value in the original begins 0x010xxxxx, whereas in the recompiled version every one starts 0x030xxxxx. Here's where my noobness comes in again (and yes, I will google it) - I honestly don't know enough about how public.xml is built during compile to know if this is out of the ordinary. I do know that when I did the same thing with SystemUI.apk to see what would happen, the diff showed identical files. So there's that, hopefully it's potentially useful.
[Android Software Development] iBotPeaches:
Apktool or aapt ignores package id, thus the IDs of the package (the first few bytes) are wrong. I've been trying to figure it out.
[Android Software Development] joeyfettucine:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Yeah, that has been a common issue that Ibot has commented on the past that he's trying to fix. It plagues many if us trying to mod the manufacturer's proprietary frameworks. The only work arounds are to hex edit it or go through every jar and system apk and redirect those IDs to the android framework-res, which you can edit. Pita
[Android Software Development] shockwaverider:
Thank you both. Now I'm off to learn how to use VBinDiff!
[Android Software Development] devabhishek:
how exactly do u sign , the problem can be there , problems come if u use some apktool wrappers

just replace the META-INF folder and AndroidManifest.xml from the orignal apk once your editing is completed u will never get errors :good:
[Android Software Development] SalimKeady:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Thank you actually was trying to rename app com.. see ? But i did rename it in all files same as android manifest .. amw thank you

ViperS Rom User

If I Helped Hit Thanks Button
[Android Software Development] slim80:
I have a problem with compile SecPhone.apk (Samsung Galaxy S3). I changed any smali files. But, I also tried without making any changes.

This is the Apktool Multi tool log:

And tjis is the Windows cdm screen whit Apktool:

Wath's the problem?
[Android Software Development] CosmicDan:
Update your AAPT. Read the FAQ. Etc.
[Android Software Development] slim80:
Apktool and apktool dependencies (aapt and apktool.bat) are updated. Apktool v.1.5.2 (Feb 2) and apktool dependencies r05 (Dec 23).
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

morning, have a read of posts #1279/1280.:)

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software Development] slim80:
Thank you very much. Now works perfectly :D
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

No worrys, but with the greatest respect, please have a read of the apktool threads first, the're a great source of knowledge and answers to questions asked over and over, and you'll get to learn something new along the way :) with the greatest respect :)

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Software Development] iBotPeaches:
MIUI is stupid and made its own AAPT. I have a patched MIUI one for Linux / Win here: http://miui.connortumbleson.com/other/aapt/

Or heres the DIFF, if you wanna build it from current source.

diff --git a/tools/aapt/AaptAssets.cpp b/tools/aapt/AaptAssets.cpp
index 3d6537a..e4c069c 100644
--- a/tools/aapt/AaptAssets.cpp
+++ b/tools/aapt/AaptAssets.cpp
@@ -1019,6 +1019,18 @@ bool AaptGroupEntry::getUiModeTypeName(const char* name,
(out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
| ResTable_config::UI_MODE_TYPE_TELEVISION;
return true;
+ } else if (strcmp(name, "smallui") == 0) {
+ if (out) out->uiMode = (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) | 0x0c;
+ return true;
+ } else if (strcmp(name, "mediumui") == 0) {
+ if (out) out->uiMode = (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) | 0x0d;
+ return true;
+ } else if (strcmp(name, "largeui") == 0) {
+ if (out) out->uiMode = (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) | 0x0e;
+ return true;
+ } else if (strcmp(name, "hugeui") == 0) {
+ if (out) out->uiMode = (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE) | 0x0f;
+ return true;
}

return false;
[Android Software Development] iBotPeaches:
To those who are anxious about future updates, I wrote a tiny little blog post which explains my plans for Apktool and the future.

https://plus.google.com/112346535434889804882/posts/BJ1gmQy4Mpr

We're gonna release a version of Apktool worthy of being called "Apktool 2.0" and hopefully fix a lot of problems.
[Android Software Development] nick1313:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Sounds great. Looking forward to it.
[Android Software Development] JBO0560:
Thank you this solved my problem :)
[Android Software Development] 1982Strand:
If you're on windows, use notepad ++ and run through the strings quickly by hovering over the first part of <String> and pressing the down key. If it's complete, it'll be highlighted purple, otherwise it won't be highlighted at all and you have found your error.. You'll be able to catch that mismatched tag pretty fast :)
[Android Software Development] bgcngm:
Hmmm... you dig up a 4 month old post. :p Thanks, I already knew that but it is a useful info anyway for other users. ;)
[Android Software Development] plegdroid:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files
[Android Software Development] datagutt:
iBotPeaches: Can you get me an updated aapt for MIUIv5 that works on OSX?
[Android Software Development] RomWiz:
Sv: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

It should be apktool b settings settings.apk
[Android Software Development] Rittik:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Ok settings settings.apk? You sure? None of the guides have that..

-Rik[Rittik]
[Android Software Development] xxScoobxx:
Re: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

To decompile - apktool d settings.apk

And to compile - apktool b settings

Sent from my SAMSUNG-SGH-I747
[Android Software Development] RomWiz:
Sv: [UTIL][Feb 02 2013] Apktool v1.5.2 - a tool for reverse engineering apk files

Yes, apktool b settings Settings.apk

(settings app is upercase I think)