Guides

How to Change The Default Green Colour Of WhatsApp

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.

Steps To Change The Default Green Colour Of WhatsApp:

REQUIREMENTS

  1. ApkTool Or ApkMultiTool for the purpose of Decompiling and Recompiling apk
  2. Notepad++ For editng
  3. WhatsApp.apk File
  4. Java Development kit installed on your PC
  5. Some patience

How To Decompile Apk  Using ApkTool:

  1. 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”Screenshot (13)
  2. Now Open Advance apktool. The Following window will open.     Screenshot (14)
  3. Now Press the number in Front of “Decompile Files” i.e. press 2 and hit Enter.
  4. Select the number in front of WhatsApp.apk and press Enter.Screenshot (15)
  5. Now it will ask for your confirmation, Press “y” and hit Enter.Screenshot (16)
  6. Process of decompile will start and when the process is finished it will say Successful.Screenshot (17)

What To Do After Decompiling

  1. Now navigate to “3-OUT” Folder. Here you will find all the decompiled files of WhatsApp.Screenshot (20)
  2. Now Navigate to WhatsApp>res>values folder. Find “Color.xml” file and open with Notepad++.Screenshot (23)
  3. Now press Ctrl+F and find “075e54”. This is the Hex Color code for the default Green color of WhatsApp.Screenshot (25)
  4. 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.
  5. Save the Changes.
  6. You can also experiment the other entry, if you want. But take care that you wont mess up everything.
  7. 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

84 Comments

Click here to post a comment

Email me when somebody replies to my comment.

  • 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):

  • 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

    ——————————————————

  • 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 . . .

  • 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!

  • 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

  • in the folder 3-OUT, im seeing inside the Whatsapp folder there is only one file – AndroidManifest which is a XML Document.

  • 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…

  • 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)

    ——————————————————

  • 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

  • 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

  • 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????

      • 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

  • 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):

  • 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

  • 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

  • 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. 😀

        • 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. 🙂

  • 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

    ——————————————————