WhatsApp Messenger is a cross-platform mobile messaging app which allows you to exchange messages without having to pay for SMS. WhatsApp Messenger is available for iPhone, BlackBerry, Windows Phone, Android and Nokia.
Few months ago WhatsApp introduced Material Design for the app, which is really amazing. WhatsApp is having a default green Color which I don’t like much. So I thought of editing the App and changing the color. You can also do it with-out having knowledge of coding. Just need is some time and a little brain.
If you want to try out ready made WhatsApp with 13 different colors then check them here- WhatsApp now Available In Different Colors
So here’s the procedure for editing WhatsApp.apk.
Contents
Steps To Change The Default Green Colour Of WhatsApp:
REQUIREMENTS
- ApkTool Or ApkMultiTool for the purpose of Decompiling and Recompiling apk
- Notepad++ For editng
- WhatsApp.apk File
- Java Development kit installed on your PC
- Some patience
How To Decompile Apk Using ApkTool:
- I will be using Advanced ApkTool as it has automated setup and easy to use. Place the Whatsapp.apk File in the folder names “2-IN”
- Now Open Advance apktool. The Following window will open.
- Now Press the number in Front of “Decompile Files” i.e. press 2 and hit Enter.
- Select the number in front of WhatsApp.apk and press Enter.
- Now it will ask for your confirmation, Press “y” and hit Enter.
- Process of decompile will start and when the process is finished it will say Successful.
What To Do After Decompiling
- Now navigate to “3-OUT” Folder. Here you will find all the decompiled files of WhatsApp.
- Now Navigate to WhatsApp>res>values folder. Find “Color.xml” file and open with Notepad++.
- Now press Ctrl+F and find “075e54”. This is the Hex Color code for the default Green color of WhatsApp.
- Now change this value with the Hex color code of your choice. I have changed it to black as I wish to have a dark WhatsApp.
- Save the Changes.
- You can also experiment the other entry, if you want. But take care that you wont mess up everything.
- Now it’s time to Recompile the apk.
Bonus:
If you want to change the icon, ticks and simleys, etc then you can do it by replacing the files in Folder “drawable-hdpi”
Check next page for the process of recompiling and signing.- Page 2
Who has dealt with this issue?
Decompiling : WhatsApp.apk
Started : 31-07-2020 16:08:10.60
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
Complete : Yes
Success : No
Ended : 31-07-2020 16:08:10.64
Do You Want To See The Logs? (y/n):
When I try to decompile it says “Success: No”. Please help.
Unable to recompile,I successfully completed steps till to change values of color.Then I tried to recompile it but nothing happened .
Log For : WhatsApp.apk
Log Type : Recompiling
Log Recorded At : 15-10-2017 — 10:46:48.20
Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak
——————————————————
Exception in thread “main” brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:259)
at brut.androlib.Androlib.build(Androlib.java:271)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:105)
at brut.androlib.Androlib.readMetaFile(Androlib.java:255)
… 4 more
——————————————————
My file is not decompiling. It shows not successful.
Watch the video I made this on the same process.
When i want to compile Whatsapp.apk i get this error:
————————————————————————–
|za 04-03-2017 — 20:38:48,21|
————————————————————————–
java version “1.8.0_121”
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
Could Not Find C:\Users\Jarno\Desktop\ApkEditor2.2.0\place-apk-here-for-modding\../place-apk-here-for-modding/signedWhatsapp.apk
Could Not Find C:\Users\Jarno\Desktop\ApkEditor2.2.0\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedWhatsapp.apk
Exception in thread “main” java.lang.NullPointerException
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:58)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:516)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:267)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:108)
at brut.apktool.Main.cmdDecode(Main.java:163)
at brut.apktool.Main.main(Main.java:81)
Exception in thread “main” brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:258)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:105)
at brut.androlib.Androlib.readMetaFile(Androlib.java:254)
… 4 more
Press any key to continue . . .
You need to install java environment.
If you have already installed then check if a newer version is available or not.
Hi thanks for fast reply,
But i installed the newest java environment and it didnt work.
same 2 you bro how to solve it?
Hello!
I have problem with the APK file. The process above worked well for me except when I copied it on my phone and tapped on it, it said “Problem with parsing APK” although I followed the exact steps you have given above.
Please help!
Thanks!
It seem’s you haven’t signed the apk.
try to sign it again
I’ve tried doing it again but it just didn’t work. Is it possiblr that I may have done a mistake in the coding while changing the color?
what is the hex colour code of default notificatons of whatsapp
default notification means ?
there s no values folder in the latest version of whatsapp,, how can I find the colorss.xml file in tat,
Admin! Still Cant Find Solution????For Whatsapp Verification Error???? Pls Reply?
yes no solution for Unrooted device. 🙁
Rooted device can overwrite the original apk. 🙂
How and which files should be replaced?
plz shaif fix it
WhatsApp opens and wants my number to verify, when i entry my number it says: Download the newest version of WhatsApp…
PLS HELP ME
SENT ME ON MY EMAIL laceupkells66@g,mail.com
Anybody knows how to change the white background outside chats?
it is nt allowing to verify the no.
same problem
If i do this..is it will interfere with the system update whatsapp?
nope 🙂
in the folder 3-OUT, im seeing inside the Whatsapp folder there is only one file – AndroidManifest which is a XML Document.
JUST KEEP GREEN …LESS HASSLE !
I think must edit also smali code…
Hi, i decompiled,compiled,signed without error,but when i try verifacte my phone it pop up me
“Something is wrong with your version of WhatsApp. Please Download the latest version from our website”, thank you mate :).
yes 🙁
It might be something related to the signature which we use to sign the app. 🙁
Still can’t figure out how to fix it 🙁
Hi saif. i think must edit code (smali) because when i downloaded a modded whatsapp from the web and decompiled it , i saw the contents, and the code, name package etc..etc..were edited…i think it’s not very easy…
Yes you will see many new thingh in the modded version as it has many other features.
Let’s compare them with the stock version and let get the code from it so that we can pass the SMS verification.
When i gonna isntall the modified apk, appear ” app not installed”, if i install the original app i can do it…
Maybe you don’t signed correctly….
help me bro this is not working.This is done error again & again just show..
Log For : whatsapp.apk.apk
Log Type : Decompiling
Log Recorded At : Wed 10-08-2016 16:24:41.65
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
——————————————————
Exception in thread “main” java.lang.ClassCastException: brut.androlib.res.data.value.ResStringValue cannot be cast to brut.androlib.res.data.value.ResAttr
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:36)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:134)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:296)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
——————————————————
Im having the same error
Did you resolve the error? if so how
same error for me
When I try to decompling whatsapp.apk, my windows pop-up: 1-BDFreak\DecompileFile.exe not found! Help!
Check if on the folder “1-BDFreak” there is DecompileFile.exe , try with another mirror to Download AvdanceApkTool…
Hi
When I change my whatsapp en I install it and verify my number, he said: download the latest Version of whatsapp. Can u help plz??
I want blue whatsapp so much
You have my problem, i don’t know why…
am having an error while installing, it says “APK certified mismatch
Download the apk file again, this should fix it.
Hii there this is nice option need not to do much after advance apk tool but whatsapp uses some security not verified my number but it worked on hike nicely and also i need not to uninstall while installing it simply ask only new fetures installed and its running on apdating older hike.apk
Thanks and please give solutions for verification of whatsapp
I think they are using some signing security thats whay
Yes, they uses a signature which acts like a lock,
Once you decompile the .apk the signature is broken and it cannot be signed back with the same signature that WhatsApp uses 🙁
How to overcome this
Still finding the solution 🙁
Hey Saif! Can I upload this method on my website?
I will add your name on it. This is a great hack and if you find the solution to the security please let me know. I thought I would take your permission before uploading.
after step 6 it is showing…….. complete:yes success: no……. how to solve this problem????
Can you check the log?
yaa….. i was checked……. it is showing some JAVA related error…. like exception in thread “main”…… UndefinedResObject….. and some more errors begins with “brut.androlib.res.data…” and another thing exept “WhatsApp” all other APKs are perfectly decompiling and recompling…. and those were successfully installed in my mobile……
I’ve done the colour change but while installation verification it shows a msg like “there is something wrong with ur version of whatsapp download latest version of whatsapp from playstore”
What should i do¿¿¿
yes when recompiling whatsapp gets error,you need to use hard coding to code the registration information and package information the way GB whatsapp does, then whatsapp will work
Hi
When I change my whatsapp en I install it and verify my number, he said: download the latest Version of whatsapp. Can u help plz??
I want blue whatsapp so much
Hey buddies please give me a link to download advanced apktool.
Recompiling : WhatsApp.apkStarted : 22-03-2016
8:07:45.09I:
Using Apk tool 4.1.0-RC3 on WhatsApp.apkI: Smaling smali folder into classes.dex…I: Building resources…Complete : Yes
Success : No
Ended : 22-03-2016 8:08:06.21Do You Want To See The Logs? (y/n):
bro same problem u solve it?? how to solve it plz help me bro?
i solved it. turn off antivirus
Dear ,
this is error log. please help me, i am using AdvancedApkTool 4.2.0 BDfreak
D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\3-Out\WhatsApp.apk\res\values\public.xml:5333: error: Public symbol color/chat_info_activity declared here is not defined.
D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\3-Out\WhatsApp.apk\res\values\public.xml:5389: error: Public symbol color/list_item_info declared here is not defined.
D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\3-Out\WhatsApp.apk\res\values\public.xml:5424: error: Public symbol color/red_button_text declared here is not defined.
Exception in thread “main” brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\ASHRAF\AppData\Local\Temp\brut_util_Jar_3460309387805515537.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 23, –version-code, 451028, –version-name, 2.12.539, -F, C:\Users\ASHRAF\AppData\Local\Temp\APKTOOL426103853436027063.tmp, -0, resources.arsc, -0, arsc, -I, D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\3-Out\WhatsApp.apk\res, -M, D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\3-Out\WhatsApp.apk\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: [C:\Users\ASHRAF\AppData\Local\Temp\brut_util_Jar_3460309387805515537.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 23, –version-code, 451028, –version-name, 2.12.539, -F, C:\Users\ASHRAF\AppData\Local\Temp\APKTOOL426103853436027063.tmp, -0, resources.arsc, -0, arsc, -I, D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\3-Out\WhatsApp.apk\res, -M, D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\3-Out\WhatsApp.apk\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: [C:\Users\ASHRAF\AppData\Local\Temp\brut_util_Jar_3460309387805515537.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 23, –version-code, 451028, –version-name, 2.12.539, -F, C:\Users\ASHRAF\AppData\Local\Temp\APKTOOL426103853436027063.tmp, -0, resources.arsc, -0, arsc, -I, D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\3-Out\WhatsApp.apk\res, -M, D:\Advanced+ApkTool+v4.2.0+By+BDFreak\AdvancedApkTool\3-Out\WhatsApp.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
… 6 more
Can you describe what all changes you made?
Hi!! bro, this line is not showing there is below lines showing in 5-6 line: style name=”Base.TextAppearance.AppCompat.Widget.Button.Inverse” parent=”@android:style/AlertDialog”
style name=”Base.Widget.AppCompat.Button.Colored” parent=”@android:style/DialogWindowTitle”
there is all codes here in that file.
?android:actionBarItemBackground
?android:actionMenuTextAppearance
?android:actionMenuTextColor
@drawable/abc_control_background_material
?android:actionBarItemBackground
?android:actionMenuTextAppearance
?android:actionMenuTextColor
@drawable/abc_control_background_material
now which we need to remove. please explain
Hey i have a problem,
i am 100% sure that i am using the newest WhatsApp, but when i am finished with recompiling and install the apk.
WhatsApp opens and wants my number to verify, when i entry my number it says: Download the newest version of WhatsApp…
PLS HELP ME
Yaa know about this issue.
Will try to find the solution and let you know. 🙂
hmm oke thanks for the fast reply.. when do you have time to check it out?
cant wait for it :(((
I will be getting free by Saturday, but when ever I get some free time in between I will try to find solution. 🙂
TY and goodluck Saif !
Yea, also need help with this… removed some layout files that displayed the messagebox, but had no succes, the message still appears.
Thanks ! Good work. I was getting an error with other apktool while recompiling. But this worked perfect.
Good to hear that. 🙂
😛 But,
Later when I tried installing modded WhatsApp, there was certificate error. So, I used zipsigner app to sign modded WhatsApp.apk.
Then certificate error gone, but while verifying number, it said “your whatsapp version is not official”.
I think maybe they added some security now.
Yeah..I think the same..
But still I will try to find a solution for this..:)
Will inform you the solution once I find it..:-)
Sure. Thank you Saif !
I am a computer engineer, so ask If you want any help 🙂
Yeah Sure..:-)
If I need some help I will drop a mail to you. 😉
Great (y)
Same error …… please help me out
Log For : WhatsApp.apk
Log Type : Recompiling
Log Recorded At : 30 2016-01- 12:22:54.79
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
——————————————————
C:\AdvancedApkTool\3-Out\WhatsApp.apk\res\values-v23\styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name ‘@android:style/AlertDialog’.
C:\AdvancedApkTool\3-Out\WhatsApp.apk\res\values-v23\styles.xml:6: error: Error retrieving parent for item: No resource found that matches the given name ‘@android:style/DialogWindowTitle’.
Exception in thread “main” brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\ASHRAF\AppData\Local\Temp\brut_util_Jar_1910417264132790546.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 23, –version-code, 450881, –version-name, 2.12.429, -F, C:\Users\ASHRAF\AppData\Local\Temp\APKTOOL5361573821111384605.tmp, -0, arsc, -I, C:\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\AdvancedApkTool\3-Out\WhatsApp.apk\res, -M, C:\AdvancedApkTool\3-Out\WhatsApp.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
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: [C:\Users\ASHRAF\AppData\Local\Temp\brut_util_Jar_1910417264132790546.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 23, –version-code, 450881, –version-name, 2.12.429, -F, C:\Users\ASHRAF\AppData\Local\Temp\APKTOOL5361573821111384605.tmp, -0, arsc, -I, C:\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\AdvancedApkTool\3-Out\WhatsApp.apk\res, -M, C:\AdvancedApkTool\3-Out\WhatsApp.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
… 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\ASHRAF\AppData\Local\Temp\brut_util_Jar_1910417264132790546.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 23, –version-code, 450881, –version-name, 2.12.429, -F, C:\Users\ASHRAF\AppData\Local\Temp\APKTOOL5361573821111384605.tmp, -0, arsc, -I, C:\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\AdvancedApkTool\3-Out\WhatsApp.apk\res, -M, C:\AdvancedApkTool\3-Out\WhatsApp.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
… 6 more
——————————————————
Hey bro, solution for this error is,
Go to WhatsApp.apk\res\values-v23\styles.xml.
In style.xml you will find these two lines,
Delete these lines. This will fix this error. 😀
Dear Saif,
tell me which lines ?
Hi Muhasin,
Go to WhatsApp.apk\res\values-v23\styles.xml.
In style.xml you will find these two lines. Check line number 5 and 6 and delete the complete line.
style name="Base.TextAppearance.AppCompat.Widget.Button.Inverse" parent="@android:style/AlertDialog"
style name="Base.Widget.AppCompat.Button.Colored" parent="@android:style/DialogWindowTitle"
Delete these lines. 🙂
thanks buddy..its working ..u r awesome.
Exception in thread “main” brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_1260180046486151108.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 22, –version-code, 450753, –version-name, 2.12.317, -F, C:UsersFOTOSE~1AppDataLocalTempAPKTOOL6916634997955137687.tmp, -0, arsc, -I, C:UsersFotoservIDDesktopAdvancedApkTool1-BDFreakFrameworks1.apk, -S, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkres, -M, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkAndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
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: [C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_1260180046486151108.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 22, –version-code, 450753, –version-name, 2.12.317, -F, C:UsersFOTOSE~1AppDataLocalTempAPKTOOL6916634997955137687.tmp, -0, arsc, -I, C:UsersFotoservIDDesktopAdvancedApkTool1-BDFreakFrameworks1.apk, -S, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkres, -M, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkAndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
… 5 more
Caused by: brut.common.BrutException: could not exec command: [C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_1260180046486151108.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 22, –version-code, 450753, –version-name, 2.12.317, -F, C:UsersFOTOSE~1AppDataLocalTempAPKTOOL6916634997955137687.tmp, -0, arsc, -I, C:UsersFotoservIDDesktopAdvancedApkTool1-BDFreakFrameworks1.apk, -S, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkres, -M, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkAndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
… 6 more
Caused by: java.io.IOException: Cannot run program “C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_1260180046486151108.tmp”: CreateProcess error=5, Access is denied
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:84)
… 7 more
Caused by: java.io.IOException: CreateProcess error=5, Access is denied
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
… 11 more
Recompiling : WhatsApp.apk
Started : 28-10-2015 8:07:45.09
I: Using Apktool 2.0.0-RC3 on WhatsApp.apk
I: Smaling smali folder into classes.dex…
I: Building resources…
Complete : Yes
Success : No
Ended : 28-10-2015 8:08:06.21
Do You Want To See The Logs? (y/n):
Log For : WhatsApp.apk
Log Type : Recompiling
Log Recorded At : Wed 28-10-2015 8:07:45.09
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
——————————————————
Exception in thread “main” brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_5172698720002358434.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 22, –version-code, 450753, –version-name, 2.12.317, -F, C:UsersFOTOSE~1AppDataLocalTempAPKTOOL1420418338160445277.tmp, -0, arsc, -I, C:UsersFotoservIDDesktopAdvancedApkTool1-BDFreakFrameworks1.apk, -S, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkres, -M, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkAndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
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: [C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_5172698720002358434.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 22, –version-code, 450753, –version-name, 2.12.317, -F, C:UsersFOTOSE~1AppDataLocalTempAPKTOOL1420418338160445277.tmp, -0, arsc, -I, C:UsersFotoservIDDesktopAdvancedApkTool1-BDFreakFrameworks1.apk, -S, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkres, -M, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkAndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
… 5 more
Caused by: brut.common.BrutException: could not exec command: [C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_5172698720002358434.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 22, –version-code, 450753, –version-name, 2.12.317, -F, C:UsersFOTOSE~1AppDataLocalTempAPKTOOL1420418338160445277.tmp, -0, arsc, -I, C:UsersFotoservIDDesktopAdvancedApkTool1-BDFreakFrameworks1.apk, -S, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkres, -M, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkAndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
… 6 more
Caused by: java.io.IOException: Cannot run program “C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_5172698720002358434.tmp”: CreateProcess error=5, Access is denied
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:84)
… 7 more
Caused by: java.io.IOException: CreateProcess error=5, Access is denied
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
… 11 more
I was also getting same error some time before, but after Using Advance ApkTool i didn’t get it.
Can you try ApkMultiTool.
And can you say did you change any thing other than color.xml?
Can you say which color you are making? I will make for you.
Or you can check this – Link
These are Ready made Whatsapp with different color. 🙂
Delete all the decompiled files. And now decompile whatsapp again and make the changes and then try to recompile. This time it should work.
If still it doesn’t get recompliled then, Go to BDFrek > Frameworks and delete 1.apk.
And without installing the frameworks, decompile , do the changes and recompile .
Try this and tell what happened.
i got this error
Please help..
Log For : WhatsApp.apk
Log Type : Recompiling
Log Recorded At : Tue 27-10-2015 13:03:24.69
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
——————————————————
Exception in thread “main” brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_1260180046486151108.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 22, –version-code, 450753, –version-name, 2.12.317, -F, C:UsersFOTOSE~1AppDataLocalTempAPKTOOL6916634997955137687.tmp, -0, arsc, -I, C:UsersFotoservIDDesktopAdvancedApkTool1-BDFreakFrameworks1.apk, -S, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkres, -M, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkAndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
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: [C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_1260180046486151108.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 22, –version-code, 450753, –version-name, 2.12.317, -F, C:UsersFOTOSE~1AppDataLocalTempAPKTOOL6916634997955137687.tmp, -0, arsc, -I, C:UsersFotoservIDDesktopAdvancedApkTool1-BDFreakFrameworks1.apk, -S, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkres, -M, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkAndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
… 5 more
Caused by: brut.common.BrutException: could not exec command: [C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_1260180046486151108.tmp, p, –forced-package-id, 127, –min-sdk-version, 7, –target-sdk-version, 22, –version-code, 450753, –version-name, 2.12.317, -F, C:UsersFOTOSE~1AppDataLocalTempAPKTOOL6916634997955137687.tmp, -0, arsc, -I, C:UsersFotoservIDDesktopAdvancedApkTool1-BDFreakFrameworks1.apk, -S, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkres, -M, C:UsersFotoservIDDesktopAdvancedApkTool3-OutWhatsApp.apkAndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
… 6 more
Caused by: java.io.IOException: Cannot run program “C:UsersFOTOSE~1AppDataLocalTempbrut_util_Jar_1260180046486151108.tmp”: CreateProcess error=5, Access is denied
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:84)
… 7 more
Caused by: java.io.IOException: CreateProcess error=5, Access is denied
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
… 11 more
——————————————————