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

, ,

56 Responses to How to Change The Default Green Colour Of WhatsApp

  1. jack October 27, 2015 at 10:39 am #

    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

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

  2. Saif October 27, 2015 at 9:28 pm #

    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.

  3. jack October 28, 2015 at 5:39 am #

    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

    • Saif October 28, 2015 at 7:57 am #

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

  4. aashu January 30, 2016 at 12:25 pm #

    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

  5. aashu January 30, 2016 at 12:27 pm #

    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

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

    • Saif February 1, 2016 at 10:14 pm #

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

      • muhasin February 27, 2016 at 6:10 pm #

        Dear Saif,

        tell me which lines ?

        • Saif February 28, 2016 at 10:07 am #

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

          • muhasin February 29, 2016 at 12:12 pm #

            thanks buddy..its working ..u r awesome.

  6. Govind Borgaonkar February 20, 2016 at 12:29 pm #

    Thanks ! Good work. I was getting an error with other apktool while recompiling. But this worked perfect.

    • Saif February 20, 2016 at 2:47 pm #

      Good to hear that. 🙂

      • Govind Borgaonkar February 20, 2016 at 8:07 pm #

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

        • Saif February 20, 2016 at 8:12 pm #

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

          • Govind Borgaonkar February 20, 2016 at 8:14 pm #

            Sure. Thank you Saif !
            I am a computer engineer, so ask If you want any help 🙂

            • Saif February 20, 2016 at 8:16 pm #

              Yeah Sure..:-)
              If I need some help I will drop a mail to you. 😉

              • Govind Borgaonkar February 20, 2016 at 8:22 pm #

                Great (y)

  7. Karincagotu March 6, 2016 at 8:56 pm #

    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

    • Saif March 6, 2016 at 10:19 pm #

      Yaa know about this issue.
      Will try to find the solution and let you know. 🙂

      • Karincagotu March 6, 2016 at 10:39 pm #

        hmm oke thanks for the fast reply.. when do you have time to check it out?
        cant wait for it :(((

        • Saif March 6, 2016 at 10:41 pm #

          I will be getting free by Saturday, but when ever I get some free time in between I will try to find solution. 🙂

          • Karincagotu March 6, 2016 at 10:51 pm #

            TY and goodluck Saif !

          • Rodrigo March 16, 2016 at 11:07 pm #

            Yea, also need help with this… removed some layout files that displayed the messagebox, but had no succes, the message still appears.

  8. Ashraf Shaikh March 19, 2016 at 9:50 am #

    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

  9. Ashraf Shaikh March 19, 2016 at 9:58 am #

    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

    • Saif March 19, 2016 at 10:04 am #

      Can you describe what all changes you made?

  10. gaurav gs March 22, 2016 at 11:13 am #

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

  11. Adil Manjoor April 30, 2016 at 12:10 am #

    Hey buddies please give me a link to download advanced apktool.

  12. FlaM3Z May 8, 2016 at 4:22 am #

    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

  13. babyrocks May 19, 2016 at 7:58 pm #

    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¿¿¿

  14. Kartik Bhat June 11, 2016 at 6:51 pm #

    after step 6 it is showing…….. complete:yes success: no……. how to solve this problem????

    • Saif June 12, 2016 at 11:06 am #

      Can you check the log?

      • Kartik Bhat June 12, 2016 at 2:36 pm #

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

  15. Mohammad Mustafa June 20, 2016 at 12:47 pm #

    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.

  16. Kumar Jadhav July 6, 2016 at 9:21 am #

    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

    • Kumar Jadhav July 6, 2016 at 9:25 am #

      I think they are using some signing security thats whay

      • Saif July 6, 2016 at 3:15 pm #

        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 🙁

        • Kumar Jadhav July 7, 2016 at 6:40 pm #

          How to overcome this

          • Saif July 7, 2016 at 9:32 pm #

            Still finding the solution 🙁

  17. bob July 8, 2016 at 1:24 pm #

    am having an error while installing, it says “APK certified mismatch

    • Saif July 8, 2016 at 2:44 pm #

      Download the apk file again, this should fix it.

  18. Aashish vasave July 15, 2016 at 3:35 pm #

    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

    • Abdullah August 26, 2016 at 4:36 am #

      You have my problem, i don’t know why…

  19. Anna July 24, 2016 at 5:10 pm #

    When I try to decompling whatsapp.apk, my windows pop-up: 1-BDFreak\DecompileFile.exe not found! Help!

    • Abdullah August 26, 2016 at 4:35 am #

      Check if on the folder “1-BDFreak” there is DecompileFile.exe , try with another mirror to Download AvdanceApkTool…

  20. arvind garg August 10, 2016 at 4:27 pm #

    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)

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

  21. Corvus August 18, 2016 at 12:16 am #

    When i gonna isntall the modified apk, appear ” app not installed”, if i install the original app i can do it…

    • Abdullah August 26, 2016 at 4:34 am #

      Maybe you don’t signed correctly….

  22. Abdullah August 25, 2016 at 11:35 pm #

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

    • Saif August 27, 2016 at 8:14 am #

      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 🙁

      • Abdullah August 27, 2016 at 11:50 pm #

        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…

        • Saif August 28, 2016 at 8:25 am #

          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.

  23. Abdullah NAsr August 27, 2016 at 11:52 pm #

    I think must edit also smali code…

  24. Soumya M Mahato October 22, 2016 at 2:00 pm #

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

  25. Shafiz December 3, 2016 at 11:44 am #

    If i do this..is it will interfere with the system update whatsapp?

    • Saif December 4, 2016 at 9:53 am #

      nope 🙂

Leave a Reply