[HOW TO] Compile/Decompile ICS Apk easily|100% working - Android Software Development

We are all here to learn, take from community and give back to community!!!
@Lord ClockaN
Hya guys, after A LOT of requests, I decided to share with the community something that I found really REALLY useful for Dev's but also for other users too that want to mess up with compiling and decompiling process. Usually, non problems at all with that, but since ICS come out, many dev\users are not able to decompile\compile properly many ics apk (not all). This guide will ensure you a good result, 100% working, easy, and fastest way to mess up with ics for theming and resizing purposes, or whatever you want
BIG THX to my friend and Dev teammate @Bichon for this
Credits
@Beachon (yes, again)
@Xavierjohn22, the amazing author of AutoApktool! Visit his thread HERE, click his thanks button, and support his work with donations, and my personal thanks to author for this tool which is the most powerful and easiest tool ever.
@Brut_all for Apktool
@XDA Community
@Google
About Apktooll
Please consider to visit the original thread about this tool, because what I'm explaining here is just 1\10 of the real skill of this tool. You can do basically whatever you want with AutoApktool, themers will love it, Dev's will appreciate it a lot, I'm sure.
Why can't we use Apktool???
Well, you can, but it's more difficult, that's it.
Why do you say "must use 1.4.1 apktool version"??
The reason why is that since 1.4.2 version, apktool generate java code while recompiling process is going on, and this lead to errors that 9/10 makes decompile process fail.
Requirements (Windows environment, mine is Seven 64 bit)
Java (last version)
JDK (last version)
JDR (last version, usually included in JDK or Java)
SDK (last 3.0 version for ICS source code)
Auto_Apktool 2.0.0 (DOWNLOAD THIS ONE NOT OTHERS!!!)
HOW-TO (NOTE: before start, select Apktool version with option 21, YOU MUST CHOOSE 1.4.1 version!!)
1) Download and simply unpack Auto_ApkTool 2.0.0
2)Click on "autoapktoolmain.bat", prompt will open
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3)put the apk you want to mess up with in "_INPUT_APK"
4) you can chose more than one option to decompile (option 6 is strongly recommended)
5) when option 6 is being selected, drag the apk from _INPUT_APK folder into the windows prompt and click enter
6) A Note window will appear, and will show IF the decompiling process has been done properly. Once you close that window, you will see the decompiled folder in _INPUT_APK folder
7) do your edits (xml, snali, or png, doesn't matter)
8) recompile with option 7 (NOTE: this time you MUST drag all the FOLDER, NOT the apk)
9) Once recompiling finished, open the decompiled folder, go to "dist" folder, and here you got your edited apk
10) you MUST sign the apk with option 10 (NOTE: drag the apk from dist folder to the prompt, then press enter, and in the SAME folder, a signedxxx.apk will appear)
11) Rename the apk, and push it |NOTE: you can push the apk with 62 option or with sdk typing:
Code:
adb remount
adb push xxx.apk system/app
adb reboot
That's it

Exactly what I was looking for. Thanks a milli.

Dosnt work with stock deodexed SGS2 LPH rom. Log:
[*] C:\Users\Sale\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk
decompiling C:\Users\Sale\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk...
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)

salesale said:
Dosnt work with stock deodexed SGS2 LPH rom. Log:
[*] C:\Users\Sale\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk
decompiling C:\Users\Sale\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk...
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Click to expand...
Click to collapse
Just saw this exact issue, and I don't think it's a tool fault..what U edited before recompiling?
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk

Nothing, just decompile and always the fault

salesale said:
Nothing, just decompile and always the fault
Click to expand...
Click to collapse
First you must install framework-res.apk first then choose default option to select ur SystemUI.apk.
Then should be work fine....
If still cannot mean that apk files has been edited before !!!!!
Looks like 9png. files was edited...
Is it true that you edit any png files in res/drawable-* folder ?????

I have installed framework-res. I am not edit any file.
Here is CM9, stock LPB and stock LPH
CM9 http://dl.dropbox.com/u/28679276/CM9.7z
LPB http://www.mediafire.com/?yk9p9rezuv5r4bv
LPH http://dl.dropbox.com/u/28679276/XXLPH.7z
Can you try to decompile? Thanks

salesale said:
Nothing, just decompile and always the fault
Click to expand...
Click to collapse
R U ok with java and jdk? The fault is when U decompile or after edit and recompiling?
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk

Java is OK. Works with nexus, SGS1, GNex files. The fault is when decompile

salesale said:
Java is OK. Works with nexus, SGS1, GNex files. The fault is when decompile
Click to expand...
Click to collapse
Something wrong with that apk, which ics version is? Are you able to decompile some apk of the same base?
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk

Man, when i try to recompile the program give me the next error:
[*] "C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI"
recompiling "C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI"...
I: Smaling...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\alert_bar_background_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\compat_mode_help_divider_bottom.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\status_bar_call_ongoing_background.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\tw_plmn_bg.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\tw_quicksetting_divider_line.9.png
C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\values\public.xml:69: error: Public entry identifier 0x7f0200d0 entry index is larger than available symbols (index 208, total symbols 44).
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\KAI5SE~1\AppData\Local\Temp\APKTOOL8579198258812201192.tmp, -I, C:\Users\Kai5ser Z\apktool\framework\1.apk, -S, C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\KAI5SE~1\AppData\Local\Temp\APKTOOL8579198258812201192.tmp, -I, C:\Users\Kai5ser Z\apktool\framework\1.apk, -S, C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Sorry for put it all. maybe you can help me, when i try it to compilate, allways give me that error.
Kaiser Z

Pl. Explain what is the possible reason for showing PARSE error ( not installed) and installed but force close error ( not even start ).

KaiserZ said:
Man, when i try to recompile the program give me the next error:
[*] "C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI"
recompiling "C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI"...
I: Smaling...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\alert_bar_background_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\compat_mode_help_divider_bottom.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\status_bar_call_ongoing_background.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\tw_plmn_bg.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable-hdpi\tw_quicksetting_divider_line.9.png
C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\values\public.xml:69: error: Public entry identifier 0x7f0200d0 entry index is larger than available symbols (index 208, total symbols 44).
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\KAI5SE~1\AppData\Local\Temp\APKTOOL8579198258812201192.tmp, -I, C:\Users\Kai5ser Z\apktool\framework\1.apk, -S, C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\KAI5SE~1\AppData\Local\Temp\APKTOOL8579198258812201192.tmp, -I, C:\Users\Kai5ser Z\apktool\framework\1.apk, -S, C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, C:\Users\Kai5ser Z\Downloads\Auto_ApkTool_2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Sorry for put it all. maybe you can help me, when i try it to compilate, allways give me that error.
Kaiser Z
Click to expand...
Click to collapse
U are messin up with 9png mate, as themer who I am, I remember you that those png MUST be fixed with 9png patch...also remember that guys, messing up with png is always safer and cleaner when it's done on the stock apk, which means no xml edits, no smali, whatever! First of all, custom png, second recompile, third smali/xml edits, recompile again, that's the way..
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk

memnoc said:
U are messin up with 9png mate, as themer who I am, I remember you that those png MUST be fixed with 9png patch...also remember that guys, messing up with png is always safer and cleaner when it's done on the stock apk, which means no xml edits, no smali, whatever! First of all, custom png, second recompile, third smali/xml edits, recompile again, that's the way..
Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk
Click to expand...
Click to collapse
Man you gonna hate, but im so noob, can you explain me more easily every spet that you sed.....? please, i really wanna do that, i mean, i wanna to custom the apk, i hope you can help me, and if you do that, i gonna give mi gratitud . greetings. I hope you can understan what i sad, my english is not good XD
Kaiser Z

memnoc: can u make a mirror download. I can't download from https://rapidshare.com/files/1410893164/Auto_ApkTool_2.0.0.zip please i recomend u uplad from mediafire.com

Great guide... However, I am running into the same wall that I always to when I try and re-compile the ICS Systemui.apk from my Asus Transformer Prime. I get a aapt.exe crash, followed by the following error:
Code:
C:\Users\Troy\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI
recompiling C:\Users\Troy\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI...
I: Smaling...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Troy\AppData\Local\Temp\APKTOOL2330637792693006158.tmp, -I, C:\Users\Troy\apktool\framework\1.apk, -S, C:\Users\Troy\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, C:\Users\Troy\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Troy\AppData\Local\Temp\APKTOOL2330637792693006158.tmp, -I, C:\Users\Troy\apktool\framework\1.apk, -S, C:\Users\Troy\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, C:\Users\Troy\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
I made no changes to the systemui, I simply decompiled it (which worked fine) and then recompiled it.
Yes, I did apktool install the framework from the same system, before hand.
I have gotten this error everytime on the systemui, no matter which guide or apktool version I use. The framework-res works without a hitch, but the damn systemui is a ***** that has no mercy!
Thank you for any help you can throw my way. Me and a few others on the Prime thread are trying to get a % battery mod done for the Prime, but we need to be able to recompile the SystemUI.apk first.
- Thanks

Related

[Q] how to use apktool DeskClock.apk

hi devs,
is would like to modify an apk! after some google-work, i found apktool to decompile & to compile the modded! but without success!
what i have done? (OS=linux)
download (aapt,apktool,apktool.jar) to /usr/local/bin
adb pull /system/app/DeskClock.apk /home/htc/
cd /home/htc/
apktool d DeskClock.apk ./out
change the /res/values-de/strings.xml and save
apktool b -f -d out (compile the folder to new apk)
adb shell & cd /system/app & mv DeskClock.apk DeskClock.old & ^ctrl+D
adb push /home/htc/out/dist/DeskClock.apk /system/app/
ok, in my opinion that should be all, but it doesn't work!
i cant see the Clock App on my Droid.
Can anybody say me, were is my misstake?
I'm not very talented in Linux, but your steps seem to be right. I always used Windows at work, so I do only know the apk took for Win XP
But did you check if the recompiled file has the same size as the original one?
Apktool ERROR
Hey I'm trying to use apktool to recompile my SystemUI.apk but anytime i run apktool b SystemUI the following error pops up
C:\Windows\system32>cd C:\Windows
C:\Windows>apktool if C:\Windows\framework-res.apk
I: Framework installed to: C:\Users\Mama\apktool\framework\1.apk
C:\Windows>apktool if C:\Windows\SystemUI.apk
I: Framework installed to: C:\Users\Mama\apktool\framework\127.apk
C:\Windows>apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mama\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Windows>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Windows\SystemUI\res\values\styles.xml:3: error: Error retrieving parent for
item: No resource found that matches the given name '@*android:style/TextAppeara
nce.StatusBar'.
C:\Windows\SystemUI\res\values\styles.xml:8: error: Error retrieving parent for
item: No resource found that matches the given name '@*android:style/TextAppeara
nce.Large'.
C:\Windows\SystemUI\res\values\styles.xml:11: error: Error retrieving parent for
item: No resource found that matches the given name '@*android:style/Widget.But
ton'.
C:\Windows\SystemUI\res\values\styles.xml:16: error: Error retrieving parent for
item: No resource found that matches the given name '@*android:style/TextAppear
ance.StatusBar'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-ver
sion, 10, -F, C:\Users\Mama\AppData\Local\Temp\APKTOOL1762758136473137198.tmp, -
I, C:\Users\Mama\apktool\framework\1.apk, -S, C:\Windows\SystemUI\res, -M, C:\Wi
ndows\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 10, --target-sdk-version, 10, -F, C:\Users\Mama\AppData\Local\Temp\AP
KTOOL1762758136473137198.tmp, -I, C:\Users\Mama\apktool\framework\1.apk, -S, C:\
Windows\SystemUI\res, -M, C:\Windows\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:253)
... 6 more
C:\Windows>
I know that some of the .xml file might be wrong but i tried just decompiling and recompiling the SystemUI.apk and the same error appear...
Is there something im doing wrong??
Please help!!!!!!
maybe posting in the thread for apktool might get you help faster
and nice revive of a 10 month old dead thread

[HOWTO] enable on-screen buttons in ICS rom

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
sorry for my poor english.. i write this guide by request.
this is pretty simple thing..
1. decompile framework-res.apk
- you need apktool.jar 1.4.3 version to decompile ics apk.
download 1.4.3 : http://code.google.com/p/android-apktool/downloads/list
download 1.4.2 : http://code.google.com/p/android-apktool/downloads/detail?name=apktool1.4.2.tar.bz2&can=1&q=
(if you have problems with 1.4.3, use 1.4.2 instead)
2. open /res/values/bools.xml with a text editor
3. find "config_showNavigationBar" and set to true
4. to turn off capacitive buttons backlight, maybe you need to edit arrays.xml
- it does not work on my nexus s but seem to be working well on some other devices..
-----------------------------------------------------------------------------
* 5 [WVGA devices only] it would be better to slightly resize navigation bar height to avoid keyboard overlapping problem (see this post).
(or you have to lower lcd density but that cause app compatibility issues)
: open dimens.xml and find the line "navigation_bar_height".
and you need one more step to compensate buttons sizes.
download : http://www.mediafire.com/?758mnayrlt3dee4
this zip include 4 png files. add those files to SystemUI.apk (/res/drawable-hdpi/) using 7-zip or other program. (replace original PNGs to these files).
-----------------------------------------------------------------------------
6. recompile
- you need new aapt.exe from latest platform-tools.
download : http://www.mediafire.com/?0q52u6v8vdkpq1i
7. done
*if you don't know how to modify apk file, read this post first.
-
Where did you get apktool 1.4.2?
How would I disable the onscrwen keys in twlauncher 4. 5? Cause we already configured the ics keys to be our softkeus?
Sent from my SCH-I400 using xda premium
KBanause said:
Where did you get apktool 1.4.2?
Click to expand...
Click to collapse
yes interesting question
KBanause said:
Where did you get apktool 1.4.2?
Click to expand...
Click to collapse
here it is : http://www.multiupload.com/YWJHOSZ7GJ
you can find it here
ciscogee said:
How would I disable the onscrwen keys in twlauncher 4. 5? Cause we already configured the ics keys to be our softkeus?
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
sorry but you'd better ask your rom dev to do it..
evilisto said:
here it is : http://www.multiupload.com/YWJHOSZ7GJ
you can find it here
Click to expand...
Click to collapse
Thanks. At least I was able to recompile the framework-res.apk wothout any errors. Now I have to check if I can use it without bootloops
evilisto said:
here it is : http://www.multiupload.com/YWJHOSZ7GJ
you can find it here
sorry but you'd better ask your rom dev to do it..
Click to expand...
Click to collapse
Worked for me with this apktool
Edit: decompile that is
THX!
Could you got a little more in-depth on step 5? Whats the correct way to recompile the apk with aapt?
pingpongboss said:
Could you got a little more in-depth on step 5? Whats the correct way to recompile the apk with aapt?
Click to expand...
Click to collapse
just put aapt.exe in the same folder as apktool.jar. that's all
can someone please help me with using apktool and decompiling my framework-res?
I'm not having any trouble with decompiling, but after making the necessary changes to bools and array, I can not get it to recompile.
What am I doing wrong here?
to decompile....
Code:
apktool d framework-res.apk
....make the changes, then...
Code:
apktool b framework-res
and i get this:
Code:
c:\apktool>apktool b framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
c:\apktool>
Any help would be much appreciated.
EDIT -
Just noticed that I typed....
Code:
apktool b framework-res.apk
...instead of...
Code:
apktool b framework-res
When I tried it without the .apk, I get this....
Code:
c:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: c:\apktool\framework-res\res/drawable-sw600dp-h
dpi
invalid resource directory name: c:\apktool\framework-res\res/layout-sw600dp
invalid resource directory name: c:\apktool\framework-res\res/layout-w600dp
invalid resource directory name: c:\apktool\framework-res\res/values-h720dp
invalid resource directory name: c:\apktool\framework-res\res/values-sw600dp
invalid resource directory name: c:\apktool\framework-res\res/values-sw600dp-w10
24dp
invalid resource directory name: c:\apktool\framework-res\res/values-sw600dp-w12
80dp
invalid resource directory name: c:\apktool\framework-res\res/values-w360dp
invalid resource directory name: c:\apktool\framework-res\res/values-w480dp
invalid resource directory name: c:\apktool\framework-res\res/values-w500dp
invalid resource directory name: c:\apktool\framework-res\res/values-w600dp
invalid resource directory name: c:\apktool\framework-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\BRANDO~1.AMY\AppData\Local
\Temp\APKTOOL5284591862303952400.tmp, -x, -S, c:\apktool\framework-res\res, -M,
c:\apktool\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\BRANDO~1.AMY\AppData\Local\Temp\APKTOOL5284591862303952400.tmp, -x, -S, c:\
apktool\framework-res\res, -M, c:\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
sixfearstheseven said:
I'm not having any trouble with decompiling, but after making the necessary changes to bools and array, I can not get it to recompile.
What am I doing wrong here?
to decompile....
Code:
apktool d framework-res.apk
....make the changes, then...
Code:
apktool b framework-res
and i get this:
Code:
c:\apktool>apktool b framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
c:\apktool>
Any help would be much appreciated.
EDIT -
Just noticed that I typed....
Code:
apktool b framework-res.apk
...instead of...
Code:
apktool b framework-res
When I tried it without the .apk, I get this....
Code:
c:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: c:\apktool\framework-res\res/drawable-sw600dp-h
dpi
invalid resource directory name: c:\apktool\framework-res\res/layout-sw600dp
invalid resource directory name: c:\apktool\framework-res\res/layout-w600dp
invalid resource directory name: c:\apktool\framework-res\res/values-h720dp
invalid resource directory name: c:\apktool\framework-res\res/values-sw600dp
invalid resource directory name: c:\apktool\framework-res\res/values-sw600dp-w10
24dp
invalid resource directory name: c:\apktool\framework-res\res/values-sw600dp-w12
80dp
invalid resource directory name: c:\apktool\framework-res\res/values-w360dp
invalid resource directory name: c:\apktool\framework-res\res/values-w480dp
invalid resource directory name: c:\apktool\framework-res\res/values-w500dp
invalid resource directory name: c:\apktool\framework-res\res/values-w600dp
invalid resource directory name: c:\apktool\framework-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\BRANDO~1.AMY\AppData\Local
\Temp\APKTOOL5284591862303952400.tmp, -x, -S, c:\apktool\framework-res\res, -M,
c:\apktool\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\BRANDO~1.AMY\AppData\Local\Temp\APKTOOL5284591862303952400.tmp, -x, -S, c:\
apktool\framework-res\res, -M, c:\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Click to expand...
Click to collapse
Same here, getting the same error when recompiling it -_- 3 people have told me it's because aapt isn't the ICS version but I updated it 3 times and even asked someone to upload and I get that same error.
GazaIan said:
Same here, getting the same error when recompiling it -_- 3 people have told me it's because aapt isn't the ICS version but I updated it 3 times and even asked someone to upload and I get that same error.
Click to expand...
Click to collapse
Yep, i did the same thing with aapt. I triple and quadruple checked that it was the ICS compatible version, but still no dice.
I don't know. I'm still patiently waiting for a proper developer to throw together a version for the Incredible that has the on screen nav buttons since i know next to nothing about this stuff, but seriously, this process looks so simple yet I'm having so much trouble with it.
Even if i did get it to compile, I'd be stuck because adb never wants to push or pull files from my phone.
Sent from my Incredible using xda premium
sixfearstheseven said:
Yep, i did the same thing with aapt. I triple and quadruple checked that it was the ICS compatible version, but still no dice.
I don't know. I'm still patiently waiting for a proper developer to throw together a version for the Incredible that has the on screen nav buttons since i know next to nothing about this stuff, but seriously, this process looks so simple yet I'm having so much trouble with it.
Even if i did get it to compile, I'd be stuck because adb never wants to push or pull files from my phone.
Sent from my Incredible using xda premium
Click to expand...
Click to collapse
You can always copy it over and set permissions (although it usually crashes before you can), or put it in an update.zip. The update.zip method is my favorite.
GazaIan said:
You can always copy it over and set permissions (although it usually crashes before you can), or put it in an update.zip. The update.zip method is my favorite.
Click to expand...
Click to collapse
How does that work? Sorry, I'm pretty new to all of this. Do I just zip up the framework apk, name it update.zip, then flash it in CWM? Or is there more to it?
If it's that easy, that would be awesome, if only I could get the apk to compile.
I'm so frustrated with this that I'm about willing to offer a donation to someone who could do it for me, although it would be much more satisfying if I could get it done on my own. Maybe I could give a donation to someone who could successfully walk me through it. The offers out there of anyone wants to take it.
Sent from my Incredible using xda premium
sixfearstheseven said:
Yep, i did the same thing with aapt. I triple and quadruple checked that it was the ICS compatible version, but still no dice.
I don't know. I'm still patiently waiting for a proper developer to throw together a version for the Incredible that has the on screen nav buttons since i know next to nothing about this stuff, but seriously, this process looks so simple yet I'm having so much trouble with it.
Even if i did get it to compile, I'd be stuck because adb never wants to push or pull files from my phone.
Sent from my Incredible using xda premium
Click to expand...
Click to collapse
try again with this aapt... : http://www.mediafire.com/?0q52u6v8vdkpq1i
evilisto said:
try again with this aapt... : http://www.mediafire.com/?0q52u6v8vdkpq1i
Click to expand...
Click to collapse
Were you able to get it to work with that?
I found a work around two days ago. I took the customized XML files and put them in a Metamorph zip file. I ran it and it successfully changed framework-res.apk but the navigation buttons still wouldn't show. Now, I don't know much about this, so I'm not sure if doing it that way should have worked, but if it should have, it didn't, which would mean the instructions in the first post are incomplete.
I'm doing this on my Incredible, so maybe the ROM I'm using is missing something else. I have no idea. I've tried it on three different ICS ROMs and it didn't work on any of them.
When I get a chance, I'll try it with the new aapt.
Sent from my ADR6300 using xda premium
Thanks for that new aapt, it works. It recompiled everything, but the file size is 4mb smaller than the original framework-res.apk. I get nothing but bootloops now. I also compiled with APK Multi Tool which also worked, but with the same results - bootloops.
Would it be possible to enable the soft buttons on a gingerbread ROM?
~=[,,_,,]:3 <----nyancat
Futur Innovations said:
Would it be possible to enable the soft buttons on a gingerbread ROM?
~=[,,_,,]:3 <----nyancat
Click to expand...
Click to collapse
I highly doubt it, enough to confidently say no.
Sent from my GT-P7510 using xda premium

[Q] Sense Multitasking Recents Mod for CM10.1

Hello everyone! I beleive this is the correct forum, so let me begin.
My brother recently got an HTC Droid DNA. Ok phone, laggy in some aspects that it should not be, but overall pretty cool. I have fallen in love with Sense Multitasking. I love the sleek look of it, and the reflection at the bottom.
My question is:
Is there any way to get the Sense Multitasking Recents for the Nexus 4?​
I understand certain files would need to be edited and decompiled, and I would be up for doing this. A flashable mod would be preferable, but I have been unable to find one that works. I have however found these two mods, which do exactly what I'm looking for, but for other phones.
Link: http://forum.xda-developers.com/showthread.php?t=2245793
Link: http://forum.xda-developers.com/showthread.php?t=2227191
I have found guides, but most of those guides are for CM9/10 ROMS, and they do not work for CM10.1 for whatever reason.
Link: http://forum.xda-developers.com/showthread.php?t=2066740
Link: http://forum.xda-developers.com/showthread.php?t=1589963
Any help on the matter would be much appreciated!
Many thanks for your time,
Connor Baker
So, in a way I'm bumping this. By digging deeper through the interwebz, I managed to find this guide: http://forum.xda-developers.com/showthread.php?t=2188545
I've made all the edits, and am trying to recompile SystemUI.apk, but apparently something isn't working in the framework-res.apk\res\values\public.xml
Here's the error that I receive in CMD prompt (yes, I am using Windows):
Code:
C:\Users\Connor Baker\Downloads\apktool1.5.2>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\Connor Baker\Downloads\apktool1.5.2\fr
amework-res\res/drawable-ldrtl-xhdpi
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\CONNOR~1\AppData\Local\T
emp\APKTOOL3157169261723515344.tmp, -x, -0, arsc, -S, C:\Users\Connor Baker\Down
loads\apktool1.5.2\framework-res\res, -M, C:\Users\Connor Baker\Downloads\apktoo
l1.5.2\framework-res\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\CONNOR~1\AppData\Local\Temp\APKTOOL3157169261723515344.tmp, -x, -0, arsc,
-S, C:\Users\Connor Baker\Downloads\apktool1.5.2\framework-res\res, -M, C:\User
s\Connor Baker\Downloads\apktool1.5.2\framework-res\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\CONNOR~1\AppData\Local\Tem
p\APKTOOL3157169261723515344.tmp, -x, -0, arsc, -S, C:\Users\Connor Baker\Downlo
ads\apktool1.5.2\framework-res\res, -M, C:\Users\Connor Baker\Downloads\apktool1
.5.2\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Users\Connor Baker\Downloads\apktool1.5.2>apktool b SystemUI
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:94:
error: Public entry identifier 0x7f0204c0 entry index is larger than available s
ymbols (index 1216, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:94:
error: Public symbol drawable/nav_bar_bg declared here is not defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:93:
error: Public entry identifier 0x7f0204bf entry index is larger than available s
ymbols (index 1215, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:93:
error: Public symbol drawable/notification_header_bg declared here is not define
d.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:96:
error: Public entry identifier 0x7f0204c2 entry index is larger than available s
ymbols (index 1218, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:96:
error: Public symbol drawable/notification_icon_area_smoke declared here is not
defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:98:
error: Public entry identifier 0x7f0204c4 entry index is larger than available s
ymbols (index 1220, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:98:
error: Public symbol drawable/notification_item_background_color declared here i
s not defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:99:
error: Public entry identifier 0x7f0204c5 entry index is larger than available s
ymbols (index 1221, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:99:
error: Public symbol drawable/notification_item_background_color_pressed declare
d here is not defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:97:
error: Public entry identifier 0x7f0204c3 entry index is larger than available s
ymbols (index 1219, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:97:
error: Public symbol drawable/notification_shortcut_background_color declared he
re is not defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:95:
error: Public entry identifier 0x7f0204c1 entry index is larger than available s
ymbols (index 1217, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:95:
error: Public symbol drawable/system_bar_background declared here is not defined
.
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\CONNOR~1\AppData\Local\T
emp\APKTOOL467937039532912873.tmp, -0, arsc, -I, C:\Users\Connor Baker\apktool\f
ramework\1.apk, -S, C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res, -
M, C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\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\CONNOR~1\AppData\Local\Temp\APKTOOL467937039532912873.tmp, -0, arsc, -I,
C:\Users\Connor Baker\apktool\framework\1.apk, -S, C:\Users\Connor Baker\Downloa
ds\apktool1.5.2\SystemUI\res, -M, C:\Users\Connor Baker\Downloads\apktool1.5.2\S
ystemUI\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\CONNOR~1\AppData\Local\Tem
p\APKTOOL467937039532912873.tmp, -0, arsc, -I, C:\Users\Connor Baker\apktool\fra
mework\1.apk, -S, C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res, -M,
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Users\Connor Baker\Downloads\apktool1.5.2>
So yeah. I'm not sure what I'm doing wrong :l Any help would be gladly appreciated!
Connor Baker
Found what might be the problem (or one of them...):
https://code.google.com/p/android-apktool/issues/detail?id=424
The path appears to be invalid, "C:\Users\Connor Baker\Downloads\apktool1.5.2\framework-res\res/drawable-land-xhdpi". The backslash should be a forward slash. How would I fix this?
Connor Baker
Totally lost and way out my league.
Alright. So, because I really would like to have the Sense multitasking screen, I decided to re-install Ubuntu, in an attempt to see if a different OS fixed the problems I was having. Unfortunately, it didn't. So for whatever reason, I have decided to use the java version of the command.
I did find something interesting though.
When I run the java version of the command:
Code:
[email protected]:/usr/local/bin/apktool1.5.2$ java -jar apktool.jar b finished-framework-res
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
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.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)
at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
[COLOR="Red"][B]Caused by: java.util.zip.ZipException: error in opening zip file[/B][/COLOR]
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.zip.ZipFile.<init>(ZipFile.java:143)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)
... 7 more
I get quite a few errors. But what made me wonder is when I do the same command, except with the flag for aapt (-a), I not only get fewer errors, but a different "Caused by"
Code:
[email protected]:/usr/local/bin/apktool1.5.2$ java -jar apktool.jar b [COLOR="Red"][B]-a[/B][/COLOR] finished-framework-res
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
[B][COLOR="Red"]Caused by: brut.directory.PathNotExist: apktool.yml[/COLOR][/B]
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
I am now thoroughly, and utterly lost as to what to do. Again, any suggestions or ideas would be much appreciated.
Many thanks for your time and patience,
Connor Baker
EDIT:
I forgot to mention that I do Google a bunch of my errors and try to be as proactive as possible about solving my problems. I notice that a lot of people are getting the same errors that I am, and that different things will fix it.
I think it could be as simple as apktool not working correctly for me.
So, here's a list of things I have and have not done:
I did install Java (JRE, and JDK)
I did set up the Android SDK (Ubuntu)
I do have working adb (Ubuntu)
I did try to use a variety of programs to get the decompiled and editied .apk's to compile back
I did notice that if I decompiled framework-res.apk, and then tried to recompile it without editing it, I still got the same errors. I'm getting the creepy feeling that it may just be apktool. The latest version that I found was made back on the 2nd of February.
I did try Chainfire's fappt (fast aapt), and recieved the same results as the normal aapt.
I did switch out the aapt from the apktools package with the one in the Android SDK.
I DID NOT mess with any environmental varibales in Windows
I DID NOT add anything to my PATH file/directory "thingy" in Ubuntu
NEW: I have NOT edited SystemUI's public.xml, which may be causing some issues.
Thanks again,
Connor Baker
Pretty sure you need a sense port some guy says he got it booting just wait a while
Sent from my Nexus 4 using xda premium
randomnoob83 said:
Pretty sure you need a sense port some guy says he got it booting just wait a while
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I would like that and I am following development closely, but right now in the short term (and possibly for the long term as well), I really want to get the Sense Recents Menu look... I find it quite sexy.
Thanks for reminding me about the port though
Connor Baker
randomnoob83 said:
Pretty sure you need a sense port some guy says he got it booting just wait a while
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
The fact that this mod works on devices without sense would say otherwise.
I know there is a sense recent-apps mod for Xperia Arc S, also windows phone and more, cause I had an xperia arc s... What I mean is sense recent-apps could be ported
randomnoob83 said:
Pretty sure you need a sense port some guy says he got it booting just wait a while
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Actually this feature of sense recents was present for the galaxy nexus and worked on aosp roms. It was even included in aokp but it was eventually removed.
Sense port isn't necessary.
Sent from my Nexus 4 using Tapatalk 4 Beta
Oh. My. God.
I think I figured it out. I decided to use a different PC (my Dad's), and got the same error. I then read through it as closely as possible. I found out that I couldn't compile because it was a path error. I hadn't specified the correct directory. I feel like an idiot
Well, now that it's fixed, I will try to build an compile and test it out
Connor Baker
EDIT: Read my post on the next page :l
Well, it appears that only framework-res compiled successfully. SystemUI still won't compile.
Here's the code:
Code:
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects>apktool b SystemUI SystemUI.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout-land\status_bar_recent_panel.xml:5
: error: Error: No resource found that matches the given name (at 'id' with valu
e '@id/recents_transition_background').
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout-land\status_bar_recent_panel.xml:7
: error: Error: No resource found that matches the given name (at 'id' with valu
e '@id/recents_transition_placeholder_icon').
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout-land\status_bar_recent_panel.xml:1
1: error: Error: No resource found that matches the given name (at 'text' with v
alue '@string/recent_apps_title').
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\Brian\AppData\Local\Temp
\APKTOOL8099337422514245639.tmp, -0, arsc, -I, C:\Users\Brian\apktool\framework\
1.apk, -S, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Mult
i-Tool-Experimental-RELEASE\projects\SystemUI\res, -M, C:\Users\Brian\Downloads\
APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects
\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
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\Brian\AppData\Local\Temp\APKTOOL8099337422514245639.tmp, -0, arsc, -I, C:
\Users\Brian\apktool\framework\1.apk, -S, C:\Users\Brian\Downloads\APK-Multi-Too
l-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects\SystemUI\res
, -M, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Too
l-Experimental-RELEASE\projects\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 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\Brian\AppData\Local\Temp\A
PKTOOL8099337422514245639.tmp, -0, arsc, -I, C:\Users\Brian\apktool\framework\1.
apk, -S, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-
Tool-Experimental-RELEASE\projects\SystemUI\res, -M, C:\Users\Brian\Downloads\AP
K-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects\S
ystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:404)
... 6 more
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects>
Thank you again for your time guys!
Connor Baker
Connor Baker said:
Well, it appears that only framework-res compiled successfully. SystemUI still won't compile.
Here's the code:
Code:
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects>apktool b SystemUI SystemUI.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout-land\status_bar_recent_panel.xml:5
: error: Error: No resource found that matches the given name (at 'id' with valu
e '@id/recents_transition_background').
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout-land\status_bar_recent_panel.xml:7
: error: Error: No resource found that matches the given name (at 'id' with valu
e '@id/recents_transition_placeholder_icon').
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout-land\status_bar_recent_panel.xml:1
1: error: Error: No resource found that matches the given name (at 'text' with v
alue '@string/recent_apps_title').
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\Brian\AppData\Local\Temp
\APKTOOL8099337422514245639.tmp, -0, arsc, -I, C:\Users\Brian\apktool\framework\
1.apk, -S, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Mult
i-Tool-Experimental-RELEASE\projects\SystemUI\res, -M, C:\Users\Brian\Downloads\
APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects
\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
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\Brian\AppData\Local\Temp\APKTOOL8099337422514245639.tmp, -0, arsc, -I, C:
\Users\Brian\apktool\framework\1.apk, -S, C:\Users\Brian\Downloads\APK-Multi-Too
l-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects\SystemUI\res
, -M, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Too
l-Experimental-RELEASE\projects\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 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\Brian\AppData\Local\Temp\A
PKTOOL8099337422514245639.tmp, -0, arsc, -I, C:\Users\Brian\apktool\framework\1.
apk, -S, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-
Tool-Experimental-RELEASE\projects\SystemUI\res, -M, C:\Users\Brian\Downloads\AP
K-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects\S
ystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:404)
... 6 more
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects>
Thank you again for your time guys!
Connor Baker
Click to expand...
Click to collapse
for CM10.1
you have not add these lines :
- /res/values/strings.xml
add this line to the end
Code:
<string name="recent_apps_title">Recent apps</string>
- /res/values/ids.xml
add this line to the end
Code:
<item type="id" name="recents_transition_background" />
<item type="id" name="recents_transition_placeholder_icon" />
see my guide for CM10.1 http://forum.xda-developers.com/showthread.php?t=2296068
Adi Aisiteru Reborn said:
for CM10.1
you have not add these lines :
- /res/values/strings.xml
add this line to the end
Code:
<string name="recent_apps_title">Recent apps</string>
- /res/values/ids.xml
add this line to the end
Code:
<item type="id" name="recents_transition_background" />
<item type="id" name="recents_transition_placeholder_icon" />
see my guide for CM10.1 http://forum.xda-developers.com/showthread.php?t=2296068
Click to expand...
Click to collapse
I looked through the guide, and I'm slightly confused with the smali editing.
"
STEP - 2
DECOMPILE, SystemUI.apk
go to - smali/com/android/systemui/recent/RecentsPanelView.smali
find this line method :
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
Delete that line until its .end method
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
-
-
-
DELETE UNTIL .end method
-
-
-
.end method"
Does that mean that from that line onwards (line 861-2081 beleive), until the very end of the page, I just delete the 1000+ lines of code? Or do I stop at the first .end method that comes up after the desired line (.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V)?
By the way, thank you a ton for your help! I'm really eager to get this working!
Connor Baker
Connor Baker said:
I looked through the guide, and I'm slightly confused with the smali editing.
"
STEP - 2
DECOMPILE, SystemUI.apk
go to - smali/com/android/systemui/recent/RecentsPanelView.smali
find this line method :
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
Delete that line until its .end method
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
-
-
-
DELETE UNTIL .end method
-
-
-
.end method"
Does that mean that from that line onwards (line 861-2081 beleive), until the very end of the page, I just delete the 1000+ lines of code? Or do I stop at the first .end method that comes up after the desired line (.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V)?
By the way, thank you a ton for your help! I'm really eager to get this working!
Connor Baker
Click to expand...
Click to collapse
not until the very end line of the smali you delete it,
only on that .method..
and each method on the smali has their own .end method
or if you still dont undesrtand just upload me your RecentPanelView.smali , I'll edit it for you
Adi Aisiteru Reborn said:
not until the very end line of the smali you delete it,
only on that .method..
and each method on the smali has their own .end method
or if you still dont undesrtand just upload me your RecentPanelView.smali , I'll edit it for you
Click to expand...
Click to collapse
Many, many, MANY thanks dude!
I'm gonna try to do a fresh re-compile. Thanks for your awesome mod and guide
Connor Baker
Adi Aisiteru Reborn said:
not until the very end line of the smali you delete it,
only on that .method..
and each method on the smali has their own .end method
or if you still dont undesrtand just upload me your RecentPanelView.smali , I'll edit it for you
Click to expand...
Click to collapse
I'm getting this error now for the status_bar_recent_panel in both res\layout and res\layout-land. The only thing I can think of that would cause this problem is a typo or me not copying and pasting correctly into the .xml file.
Also, I attached the files that I thought you'd need if you wanted to take a look at the problem.
Code:
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects>apktool b SystemUI SystemUI.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout\status_bar_recent_panel.xml:11: er
ror: Error: No resource found that matches the given name (at 'text' with value
'@string/recent_apps_title').
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout-land\status_bar_recent_panel.xml:1
1: error: Error: No resource found that matches the given name (at 'text' with v
alue '@string/recent_apps_title').
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\Brian\AppData\Local\Temp
\APKTOOL2279690671510886495.tmp, -0, arsc, -I, C:\Users\Brian\apktool\framework\
1.apk, -S, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Mult
i-Tool-Experimental-RELEASE\projects\SystemUI\res, -M, C:\Users\Brian\Downloads\
APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects
\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
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\Brian\AppData\Local\Temp\APKTOOL2279690671510886495.tmp, -0, arsc, -I, C:
\Users\Brian\apktool\framework\1.apk, -S, C:\Users\Brian\Downloads\APK-Multi-Too
l-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects\SystemUI\res
, -M, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Too
l-Experimental-RELEASE\projects\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 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\Brian\AppData\Local\Temp\A
PKTOOL2279690671510886495.tmp, -0, arsc, -I, C:\Users\Brian\apktool\framework\1.
apk, -S, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-
Tool-Experimental-RELEASE\projects\SystemUI\res, -M, C:\Users\Brian\Downloads\AP
K-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects\S
ystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:404)
... 6 more
EDIT: I had to upload the files to my google drive, because XDA won't let me upload .xml files :l
Link: https://drive.google.com/folderview?id=0B3NRC75seiK4NXVTR0x6dm9uYjg&usp=sharing
Many thanks for your time,
Connor Baker
Connor Baker said:
I'm getting this error now for the status_bar_recent_panel in both res\layout and res\layout-land. The only thing I can think of that would cause this problem is a typo or me not copying and pasting correctly into the .xml file.
Also, I attached the files that I thought you'd need if you wanted to take a look at the problem.
Code:
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects>apktool b SystemUI SystemUI.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout\status_bar_recent_panel.xml:11: er
ror: Error: No resource found that matches the given name (at 'text' with value
'@string/recent_apps_title').
C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Expe
rimental-RELEASE\projects\SystemUI\res\layout-land\status_bar_recent_panel.xml:1
1: error: Error: No resource found that matches the given name (at 'text' with v
alue '@string/recent_apps_title').
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\Brian\AppData\Local\Temp
\APKTOOL2279690671510886495.tmp, -0, arsc, -I, C:\Users\Brian\apktool\framework\
1.apk, -S, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Mult
i-Tool-Experimental-RELEASE\projects\SystemUI\res, -M, C:\Users\Brian\Downloads\
APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects
\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
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\Brian\AppData\Local\Temp\APKTOOL2279690671510886495.tmp, -0, arsc, -I, C:
\Users\Brian\apktool\framework\1.apk, -S, C:\Users\Brian\Downloads\APK-Multi-Too
l-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects\SystemUI\res
, -M, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-Too
l-Experimental-RELEASE\projects\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 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\Brian\AppData\Local\Temp\A
PKTOOL2279690671510886495.tmp, -0, arsc, -I, C:\Users\Brian\apktool\framework\1.
apk, -S, C:\Users\Brian\Downloads\APK-Multi-Tool-Experimental-RELEASE\APK-Multi-
Tool-Experimental-RELEASE\projects\SystemUI\res, -M, C:\Users\Brian\Downloads\AP
K-Multi-Tool-Experimental-RELEASE\APK-Multi-Tool-Experimental-RELEASE\projects\S
ystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:404)
... 6 more
EDIT: I had to upload the files to my google drive, because XDA won't let me upload .xml files :l
Link: https://drive.google.com/folderview?id=0B3NRC75seiK4NXVTR0x6dm9uYjg&usp=sharing
Many thanks for your time,
Connor Baker
Click to expand...
Click to collapse
read my instruction very carefully
this line which haven't you add yet to the end of strings.xml
Code:
<string name="recent_apps_title">Recent apps</string>
Adi Aisiteru Reborn said:
read my instruction very carefully
this line which haven't you add yet to the end of strings.xml
Code:
<string name="recent_apps_title">Recent apps</string>
Click to expand...
Click to collapse
Wow. I didn't scroll all the way to the bottom and pasted it in the wrong place. :banghead::banghead::banghead::banghead::banghead::banghead:
Well. I should really sleep more.
I'm testing this now. I can not express my gratitude enough dude, and thanks for putting up with me and my... Well, my stupid mistakes.
Connor Baker
Ok. I'm getting stuck on the boot logo, but that's progress.
Both .apks succesfully compiled, but here's the thing: I compiled them using CMD pompt, not apk multi tool. So, I'm not sure if I need to compile the .apks in a certain way, and that's why this is happening, or if something is else going wrong :l
Uploaded the .apks that I compiled.
framework-res.apk: https://docs.google.com/file/d/0B3NRC75seiK4ZXUtOU84MU5Tb2M/edit?usp=sharing
SystemUI.apk: https://docs.google.com/file/d/0B3NRC75seiK4Sk85RDVMRHZlUU0/edit?usp=sharing
Connor Baker
Also, if you would like any logs, or if there is any way that I could help you to help me fix the problem, let me know.
Connor Baker said:
Ok. I'm getting stuck on the boot logo, but that's progress.
Both .apks succesfully compiled, but here's the thing: I compiled them using CMD pompt, not apk multi tool. So, I'm not sure if I need to compile the .apks in a certain way, and that's why this is happening, or if something is else going wrong :l
Uploaded the .apks that I compiled.
framework-res.apk: https://docs.google.com/file/d/0B3NRC75seiK4ZXUtOU84MU5Tb2M/edit?usp=sharing
SystemUI.apk: https://docs.google.com/file/d/0B3NRC75seiK4Sk85RDVMRHZlUU0/edit?usp=sharing
Connor Baker
Also, if you would like any logs, or if there is any way that I could help you to help me fix the problem, let me know.
Click to expand...
Click to collapse
My question is, you are having bootlop or systemUI closes ?
if bootlop , means something wrong with your framework-res.apk, try not to edit framework-res.apk yet,. just use your stok CM10.1 framework-res.apk.
but if you having systemui closes means something from with your editing the systemUI.apk

[Q] apktool recompilation error!

While using apktool to recompile the contacts apk, SecContacts_OSup.apk, I am getting the following error in cmd. This is unedited folder, and trying to compile it right after de-compilation. But still getting error.
I have tried different aapt, different apktool.jar, both java 6 and 7 and such but to no avail.
D:\apktool\112233>apktool b 11 wert.apk
I: Using Apktool 2.0.0-Beta9 on 11
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
D:\apktool\112233\11\res\layout\photo_selector_view_popup.xml:9: error: Error: No resource found tha
t matches the given name (at 'layout' with value '@layout/photo_updates_header').
aapt: warning: string 'remove_from_namecard_list_popup_title' has no default translation in D:\apkto
ol\112233\11\res; found: zh_SG
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.co
mmon.BrutException: could not exec command: [C:\Users\Keshav\AppData\Local\Temp\brut_util_Jar_7378085
831899028208.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --ve
rsion-code, 19, --version-name, 4.4.2-I9505XXUFNB8, -F, C:\Users\Keshav\AppData\Local\Temp\APKTOOL365
2482745200459136.tmp, -0, arsc, -I, C:\Users\Keshav\apktool\framework\1.apk, -I, C:\Users\Keshav\apkto
ol\framework\2.apk, -S, D:\apktool\112233\11\res, -M, D:\apktool\112233\11\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\U
sers\Keshav\AppData\Local\Temp\brut_util_Jar_7378085831899028208.tmp, p, --forced-package-id, 127, --
min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-I9505XXUFNB
8, -F, C:\Users\Keshav\AppData\Local\Temp\APKTOOL3652482745200459136.tmp, -0, arsc, -I, C:\Users\Kesh
av\apktool\framework\1.apk, -I, C:\Users\Keshav\apktool\framework\2.apk, -S, D:\apktool\112233\11\res
,-M, D:\apktool\112233\11\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Keshav\AppData\Local\Temp\bru
t_util_Jar_7378085831899028208.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk
-version, 19, --version-code, 19, --version-name, 4.4.2-I9505XXUFNB8, -F, C:\Users\Keshav\AppData\Loc
al\Temp\APKTOOL3652482745200459136.tmp, -0, arsc, -I, C:\Users\Keshav\apktool\framework\1.apk, -I, C:
\Users\Keshav\apktool\framework\2.apk, -S, D:\apktool\112233\11\res, -M, D:\apktool\112233\11\Android
Manifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more
Click to expand...
Click to collapse
If I import this raw project into Eclipse I get these 5 errors:
Description Resource Path Location Type
error: Error: No resource found that matches the given name: attr 'android:actionBarNonEmbeded'. styles.xml /DialtactsActivity/res/values-sw360dp-xxhdpi line 10 Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionBarNonEmbeded'. styles.xml /DialtactsActivity/res/values line 10 Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:searchViewTextField'. styles.xml /DialtactsActivity/res/values line 95 Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionBarNonEmbeded'. styles.xml /DialtactsActivity/res/values line 661 Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:searchViewTextField'. styles.xml /DialtactsActivity/res/values-sw360dp-xxhdpi line 63 Android AAPT Problem
Click to expand...
Click to collapse
Although not the right thing to do, I can remove the line with 'android:actionBarNonEmbeded' in them in Eclipse and there is no problem after deleting those 3 lines. But can't simply delete lines with 'android:searchViewTextField' as it throws up too many other errors, mostly same for other attrs.
I have surfed tons of pages at stackoverflow, xda and some other sites... but couldn't crack a solution. Can't add a simple + to @drawable either, obviously.
Reply by connor.tumbleson here on code.google.com might be answer but I couldn't figure out what to do.
url - code.google.com/p/android-apktool/issues/detail?id=441#c20
So, uh, pls help!
Note: Of course, I'm installing the framreworks first (framework-res.apk, twframework-res.apk and systemUI.apk). And have tried apkMultiTool v3.4 and some other apktool based solutions too. Nothing helped.
keshav13 said:
While using apktool to recompile the contacts apk, SecContacts_OSup.apk, I am getting the following error in cmd
Click to expand...
Click to collapse
look in \res\layout\photo_selector_vie w_popup.xml line 9, u must remove all references to photo_updates_header, common problem, sometimes system apk have been done badly ha ha ha
try this and report
worked but didn't work!
_alex74_ said:
look in \res\layout\photo_selector_vie w_popup.xml line 9, u must remove all references to photo_updates_header, common problem, sometimes system apk have been done badly ha ha ha
try this and report
Click to expand...
Click to collapse
First of all, thansk for the tip!
I removed the layout portion of that line that actually made reference to photo_updates_header file. So, that actually didn't got me those error, but it didn;t build an APK file despite showing exactly that in cmd. Here's what cmd says:
D:\apktool>apktool b c1 111.apk
I: Using Apktool 2.0.0-Beta9 on c1
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'remove_from_namecard_list_popup_title' has no default translation in D:\apkto
ol\c1\res; found: zh_SG
I: Building apk file...
I: Copying unknown files/dir...
There is no APK file built, tho. Which is bad, and surprising. What do you suggest?
[I'm using apktool 2.0 beta9, and have Java 7 installed on Win8.1.]
Edit:
Is there a way how I should remove the reference to photo_updates_header file? Should I just delete the whole of line 9 that is making the reference?
keshav13 said:
First of all, thansk for the tip!
Is there a way how I should remove the reference to photo_updates_header file? Should I just delete the whole of line 9 that is making the reference?
Click to expand...
Click to collapse
as posted apk must be builded in dist folder of your decompiled apk , no errors that says different.
that reference is about missing traslation, just warning u can keep it(no harm in apk compiling) or add a line like this:
<string name="photo_updates_header">photo updates header</string>
Click to expand...
Click to collapse
in res/values/strings.xml on bottom of all strings
lemme know
Nope :/
_alex74_ said:
as posted apk must be builded in dist folder of your decompiled apk , no errors that says different.
that reference is about missing traslation, just warning u can keep it(no harm in apk compiling) or add a line like this:
in res/values/strings.xml on bottom of all strings
lemme know
Click to expand...
Click to collapse
Hi _alex74_,
Adding the line <string name="photo_updates_header">photo updates header</string> didn't work. Very sad.
Please suggest something else.
Can you reproduce the problem at your end? Can you recompile it or not even when it's untouched?
Here's the link to contacts APK that's been torturing me: __www24.zippyshare.com/v/59685951/file.html__
Thanks a lot!

Use Apktool on Z1c

Official download here - http://www.coolapk.com/apk/per.pqy.apktool However, latest version is 6.1, and hasn't worked well for me with stock rom. 6.0.5 works perfectly - https://drive.google.com/file/d/0B1niPALD2vPeNmh6bVRjOU1mZ0k/view?usp=drivesdk
Steps (stock Sony 5.1):
- Download and install
- Make a folder in /sdcard called apktool, (or something), and copy 3 system app files there - framework-res.apk, Semcgenericuxp, (or whatever it's called... it's in framework folder).apk, and SystemUI.apk.
- Open apktool, navigate to apktool folder, and 1 by 1 tap on those 3 files and select 'import'. You should get success messages for each one. If not, don't bother going forward from here, it probably won't work. Framework-res will take a while. You can monitor status of import with 'task' option.
After that's done, you should be able to copy any apk to that folder and decompile. Here's how -
- Tap on apk file and select 'decomplie'. In the next screen, check box for 'run as root', then tap 'decompile'. When done, if successful, you will get a new folder called '(name of app)-src', with all decompiled files.
- Use a file explorer and editor to make changes.
- Go back to apktool and long-press on src folder, and choose 'recompile', and 'run as root'. If successful, a new apk will be created called '(name of app)-src.apk.
This is your new apk, but it has to be signed. Here's how -
For system apps:
- Using a file explorer that can explore apk files, (I prefer Mixplorer), go into the new apk, and delete android_manifest.xml file. Then go into the original of the same apk file, and copy android_manifest.xml file and META-INF folder to the new apk. It's now signed and ready to use. Just copy it to the appropriate system folder, and rename and set permissions 644.
For user apps, (installed into /data):
- Use apktool app, and tap on new apk and select 'sign'. A couple of seconds later you should get a new new apk called '(name of app)-src-signed.apk, which you can install normally.
(Updated)
Its works now for decompilling and recompile?
amodeos said:
Its works now for decompilling and recompile?
Click to expand...
Click to collapse
Yes
Found a newer version here - http://onhax.net/apktool-for-android-v5-2-0-all-versions-is-here-latest - I guess with version 5.0+, you don't need /sdcard/apktool folder but all files are included in app. Anyway, it has more promising-seeming settings, but I still couldn't get a successful recompile so far. I wish I knew how to understand the errors. I bet someone could tweak the app file to get it to work on our phone...
Update - got success on KK. Installed Munjeni's .108 ROM, used latest apktool set settings - 'apktool version: 1.5; aapt version: 4.4; device has root: yes', copied /system/framework/framework-res.apk, /system/framework/semcgenericuxp.apk, and /system/priv-app/systemui/systemui.apk to /sdcard. Tap each framework file and select 'import as framework', then tap systemui apk and select 'decompile all'. When done, you have systemui_src folder for editing. I didn't edit anything, but just for test tapped systemui_src folder, and chose 'recompile', and got success, with new apk created. Signed, and moved to system, and works.
Now I'll keep working on lp. Interesting, here is latest output on recompile -
I: Using Apktool 2.0.0-07ea41-SNAPSHOT on SystemUI.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /data/data/per.pqy.apktool/1.apk
I: Decoding Shared Library (com.sonyericsson.uxp), pkgId: 2
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
Seems to be no errors, but no new apk is created. Any ideas?
levone1 said:
Update - got success on KK. Installed Munjeni's .108 ROM, used latest apktool set settings - 'apktool version: 1.5; aapt version: 4.4; device has root: yes', copied /system/framework/framework-res.apk, /system/framework/semcgenericuxp.apk, and /system/priv-app/systemui/systemui.apk to /sdcard. Tap each framework file and select 'import as framework', then tap systemui apk and select 'decompile all'. When done, you have systemui_src folder for editing. I didn't edit anything, but just for test tapped systemui_src folder, and chose 'recompile', and got success, with new apk created. Signed, and moved to system, and works.
Now I'll keep working on lp. Interesting, here is latest output on recompile -
I: Using Apktool 2.0.0-07ea41-SNAPSHOT on SystemUI.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /data/data/per.pqy.apktool/1.apk
I: Decoding Shared Library (com.sonyericsson.uxp), pkgId: 2
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
Seems to be no errors, but no new apk is created. Any ideas?
Click to expand...
Click to collapse
apk is created in apktool\SystemUI\dist folder.
I tried 2.0.2 (with TMA) and it's working on 5.1.1.
Just a bump, in case anyone else is interested. Version 5.02 is working well with latest fw for modding 3rd party app, (see my recent posts here - http://forum.xda-developers.com/showthread.php?t=1929663&page=178#post64177685 Also, another user here - http://forum.xda-developers.com/showthread.php?t=2359240&page=12#post64180188 - seems to be getting success with system apps...
Pls help me eror
Code:
ERROR: Asset package include '/data/data/per.pqy.apktool/1.apk' not found.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 3010372, --version-name, 3.1.372.151210.15c3353_PRC, -F, /data/data/per.pqy.apktool/APKTOOL1247617767483554883.tmp, -0, arsc, -0, apk, -0, , -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/mod/NotificationCenter_src/res, -M, /sdcard/mod/NotificationCenter_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:472)
at brut.androlib.Androlib.buildResources(Androlib.java:410)
at brut.androlib.Androlib.build(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 3010372, --version-name, 3.1.372.151210.15c3353_PRC, -F, /data/data/per.pqy.apktool/APKTOOL1247617767483554883.tmp, -0, arsc, -0, apk, -0, , -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/mod/NotificationCenter_src/res, -M, /sdcard/mod/NotificationCenter_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:425)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:458)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 3010372, --version-name, 3.1.372.151210.15c3353_PRC, -F, /data/data/per.pqy.apktool/APKTOOL1247617767483554883.tmp, -0, arsc, -0, apk, -0, , -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/mod/NotificationCenter_src/res, -M, /sdcard/mod/NotificationCenter_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
... 6 more
I: Using Apktool 2.0.3
I: Smaling smali folder into classes.dex...
I: Building resources...
nvlinh.kaitoukid said:
Pls help me eror
Code:
ERROR: Asset package include '/data/data/per.pqy.apktool/1.apk' not found.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 3010372, --version-name, 3.1.372.151210.15c3353_PRC, -F, /data/data/per.pqy.apktool/APKTOOL1247617767483554883.tmp, -0, arsc, -0, apk, -0, , -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/mod/NotificationCenter_src/res, -M, /sdcard/mod/NotificationCenter_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:472)
at brut.androlib.Androlib.buildResources(Androlib.java:410)
at brut.androlib.Androlib.build(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 3010372, --version-name, 3.1.372.151210.15c3353_PRC, -F, /data/data/per.pqy.apktool/APKTOOL1247617767483554883.tmp, -0, arsc, -0, apk, -0, , -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/mod/NotificationCenter_src/res, -M, /sdcard/mod/NotificationCenter_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:425)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:458)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 3010372, --version-name, 3.1.372.151210.15c3353_PRC, -F, /data/data/per.pqy.apktool/APKTOOL1247617767483554883.tmp, -0, arsc, -0, apk, -0, , -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/mod/NotificationCenter_src/res, -M, /sdcard/mod/NotificationCenter_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
... 6 more
I: Using Apktool 2.0.3
I: Smaling smali folder into classes.dex...
I: Building resources...
Click to expand...
Click to collapse
What are you trying to do,(decompile, recompile, which apk, etc). Also, if you wipe data on Apktool app, you delete a necessary file in /data/data, so you have to reinstall the app.
Bump - new version 6.0 released - https://www.google.com/url?sa=t&sou...ggrMAQ&usg=AFQjCNE1AnZq9tew_xjnR7hOPN295_PWhw
Version 6.0.6, (a user's mod - I haven't found a difference from 6.0.5) - https://yadi.sk/d/pwh1wHLXkU3qB
New version works for SystemUI on stock 5.1. Successfully nodded navbar XML and recompiled. Make sure to check 'aapt 5.1' option in popup box when recompiling.
amodeos said:
Its works now for decompilling and recompile?
Click to expand...
Click to collapse
Yes
6.1 released - http://forum.xda-developers.com/showpost.php?p=65590715&postcount=200
levone1 said:
Bump - new version 6.0 released - https://www.google.com/url?sa=t&sou...ggrMAQ&usg=AFQjCNE1AnZq9tew_xjnR7hOPN295_PWhw
Version 6.0.6, (a user's mod - I haven't found a difference from 6.0.5) - https://yadi.sk/d/pwh1wHLXkU3qB
Click to expand...
Click to collapse
How do I get the key for that version of the app?? Every other version is free but it tells me I need a key for 6.0/6.1 apktool. Also I'm having a recompile error with ApkTOOl 5.2 it is unable to execute the aapt files I guess. I've tried aaptnew aapt5.1 aapt4.4 and aapt5.0 none of them work. But decompiling does work. In order to get decompile to work though I had to go online and download IBotPeaches apktool_2.1.1.jar and replace apktool_2.0.0.jar with it to decompile. I'm on my Note 5 running the first release of Marshmallow.
---------- Post added at 06:48 AM ---------- Previous post was at 06:15 AM ----------
ltsJames said:
How do I get the key for that version of the app?? Every other version is free but it tells me I need a key for 6.0/6.1 apktool. Also I'm having a recompile error with ApkTOOl 5.2 it is unable to execute the aapt files I guess. I've tried aaptnew aapt5.1 aapt4.4 and aapt5.0 none of them work. But decompiling does work. In order to get decompile to work though I had to go online and download IBotPeaches apktool_2.1.1.jar and replace apktool_2.0.0.jar with it to decompile. I'm on my Note 5 running the first release of Marshmallow.
Click to expand...
Click to collapse
Nvm, got a working copy of 6.0.6. Thanks for the link!!!!!!
ltsJames said:
How do I get the key for that version of the app?? Every other version is free but it tells me I need a key for 6.0/6.1 apktool. Also I'm having a recompile error with ApkTOOl 5.2 it is unable to execute the aapt files I guess. I've tried aaptnew aapt5.1 aapt4.4 and aapt5.0 none of them work. But decompiling does work. In order to get decompile to work though I had to go online and download IBotPeaches apktool_2.1.1.jar and replace apktool_2.0.0.jar with it to decompile. I'm on my Note 5 running the first release of Marshmallow.
---------- Post added at 06:48 AM ---------- Previous post was at 06:15 AM ----------
Nvm, got a working copy of 6.0.6. Thanks for the link!!!!!!
Click to expand...
Click to collapse
Great. Let me know... For some reason 6.05 works better for me than 6.06 or 6.10.
Bump for op update...
Just found this - https://www.androidfilehost.com/?fid=24572369242686015
Uses apktool 2.2 jar, and no startup wait time, and twice as fast as other one...

Categories

Resources