Hello! I'm new to the forum and a casual android modder. I've really enjoyed digging into the Android world and have learned a lot from the forum. I was working with apktool and ran into a bit of a problem. I searched and found a post indicating that the environmental variables had to be tweaked which I did but this did not resolve the problem.
Thanks in advance,
-Adam
Environmental variables:
PHP:
C:\>echo %PATH%
C:\DMI\WIN32\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime Alternative\QTSystem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\QuickTime Alternative\QTSystem\;C:\Program Files\ZipGenius 6\;C:\PROGRA~1\JPSoft\4dos; C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools
apktool commands (minus a few more lines of errors for length):
PHP:
C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools>apktool d framework-res.apk
I: Loading resource table...
I: Decoding resources...
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_header_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi/statusbar_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_close_on.9.png". Renaming it to *.png.
I: Copying assets and libs...
C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\res\drawable-mdpi\status_bar_close_on.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\res\drawable-mdpi\status_bar_header_background.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\res\drawable-mdpi\statusbar_background.9.png
C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\res\values\public.xml:3342: error: Public entry identifier 0x1080252 entry index is larger than available symbols (index 594, total symbols 43).
C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\res\values\public.xml:3342: error: Public symbol drawable/APKTOOL_DUMMY_0252 declared here is not defined.
.
.
.
C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\res\values\public.xml:3340: error: Public symbol drawable/zz_stat_sys_signal_5_cdma declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Owner\LOCALS~1\Temp\APKTOOL1107807157838832304.tmp, -x, -S, C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\res, -M, C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Owner\LOCALS~1\Temp\APKTOOL1107807157838832304.tmp, -x, -S, C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\res, -M, C:\Documents and Settings\Owner\My Documents\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
I also need some help with apktool. I'm trying to get into changing xml files on my Droid X. I've been able to successfully use the tool to decode apk files but i've heard that you can use it to decode xml files. Every time I try to do that though I get an error.
Included is a capture of the code I type in and the erros i'm getting with the xml file. I am trying to manipulate the simple eri.xml file that Verizon uses.
@adam-c
Could you upload original apk and zipped dir with decoded app? What is in these drawable-mdpi/status_bar_header_background.9.png, etc. files in decoded app? Are there both status_bar_header_background.9.png and status_bar_header_background.png (without ".9") files, but first one is empty or what?
@homes315
For now you can't decode single xml file - decode whole apk instead.
I have been searching for two days, and have tried everything I could find to figure this out, to no avail.
Could someone please help me get the apktool working on my computer?
when I enter apktool I get:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/object
From what I can tell I have my CLASSPATH and PATH set up correctly.
Any help would be greatly appreciated.
BTW, I am running Windows 7 64bit
Can anyone give me a quick answer on this error in patchrom?
Code:
>>> Install framework resources for apktool...
install framework-miui-res.apk
/home/andy/patchrom/tools/apktool --quiet if /home/andy/patchrom/miui/system/framework/framework-miui-res.apk
unzip >/dev/null sensation_4.5.4.zip "system/framework/*.apk" -d out
install out/system/framework/com.htc.resources.apk
install out/system/framework/framework-res.apk
<<< install framework resources completed!
>>> build out/framework-res.apk...
add miui overlay resources
/home/andy/patchrom/tools/remove_redef.py >/dev/null out/framework-res
/home/andy/patchrom/tools/apktool --quiet b out/framework-res out/framework-res.apk
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/drawable-sw600dp-hdpi
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w360dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/layout-sw600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp-w1280dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-h720dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp-land
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w500dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w480dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w720dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/layout-w600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp-w1024dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL528070660894835237.tmp, -x, -S, /home/andy/patchrom/sensation/out/framework-res/res, -M, /home/andy/patchrom/sensation/out/framework-res/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, /tmp/APKTOOL528070660894835237.tmp, -x, -S, /home/andy/patchrom/sensation/out/framework-res/res, -M, /home/andy/patchrom/sensation/out/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [out/framework-res.apk] Error 1
I've checked a few resources and cant figure it out. any help will be much appreciated.
Thanks
ok so it an issue with the apktool and ics so have to wait for a fix.
Any update on the apktool with ICS?
http://forum.xda-developers.com/showthread.php?t=1608112
[Q] compile SystemUi.apk
Sent by Telepathy
I want to cook a Sense 4 rom and I unpacked the framework-res.apk in a folder with apktool. However, Which confused me is I can't zip the floder in an apk file and apktool shows these words below:"
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: XX\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name: XX\framework-res\res/layout-sw600dp
invalid resource directory name: XX\framework-res\res/layout-w600dp
invalid resource directory name: XX\framework-res\res/values-h720dp
invalid resource directory name: XX\framework-res\res/values-sw600dp
invalid resource directory name: XX\framework-res\res/values-sw600dp-land
invalid resource directory name: XX\framework-res\res/values-sw600dp-w1024dp
invalid resource directory name: XX\framework-res\res/values-sw600dp-w1280dp
invalid resource directory name: XX\framework-res\res/values-w360dp
invalid resource directory name: XX\framework-res\res/values-w480dp
invalid resource directory name: XX\framework-res\res/values-w500dp
invalid resource directory name: XX\framework-res\res/values-w600dp
invalid resource directory name: XX\framework-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, %users%\AppData\Local\Temp\APKTOOL4350327246804464168.tmp, -x, -S, XX\framework-res\res, -M, XX\framework-res\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, %users%\AppData\Local\Temp\APKTOOL4350327246804464168.tmp, -x, -S, XX\framework-res\res, -M, XX\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Click to expand...
Click to collapse
"
Thanks for any gus who can help me>
is there anyone here?
anyone who can help me?
PLS HELP
I need some one to help me/.
Try Apk manager. I always get problems with apk tool.
Did you run framework.if to load sources?
Sent from my SGH-T989 using xda premium
yes, I have installed them
dillym34 said:
Did you run framework.if to load sources?
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
I have run these in the CMD:"
apktool if framework-res.apk
apktool if com.htc.resources.apk
Click to expand...
Click to collapse
"
and then "1.apk" and "2.apk" show in the floder: %users%/apktool/ ,but it still not work.
dan-fish said:
Try Apk manager. I always get problems with apk tool.
Click to expand...
Click to collapse
thanks, I'll try it.
Hy all it's mee again :/
Today i try to add change ( http://review.cyanogenmod.com/#/c/25391/ ) i found this is in LatinIME.apk file then i download THIS AutoAPKTool and i do like this
1. Open AutoAPKTool.bat
2. Move the apk file whitch i want to edit in _INPUT_APK Folder
3. Press number 6 and drag the link of file in and press enter
4. Edit the Style.xml
5. Then again run the AutoAPKTool.bat
6. Press number 7 and drag the link of edited folder in
7. Then i get this error :/
[*] C:\Users\Nataça\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME
recompiling C:\Users\Nataça\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME...
I: Smaling...
I: Building resources...
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/drawable-xhdpi
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/values-sw600dp
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/values-sw600dp-land
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/values-sw768dp
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/values-sw768dp-land
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/xml-sw600dp
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/xml-sw600dp-land
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/xml-sw768dp
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/xml-sw768dp-land
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\NATAA~1\AppData\Local\Temp\APKTOOL4520095 777156111205.tmp, -I, C:\Users\Nataša\apktool\framework\1.apk, -S, C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res, -M, C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:301)
at brut.androlib.Androlib.buildResources(Androlib.jav a: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\NATAA~1\AppData\Local\Temp\APKTOOL4520095 777156111205.tmp, -I, C:\Users\Nataša\apktool\framework\1.apk, -S, C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res, -M, C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:191)
... 6 more
Unable to open '_INPUT_APK\LatinIME\dist\LatinIME.apk' as zip archive
Navedenega pogona ni mogoźe najti.
Click to expand...
Click to collapse
Can anyone tell me how to fix this ? :/
You seem to have a typo somewhere as the "_INP UT_APK" folder should not have a blank in it.
UPDATE:
This app is now obsolete as there is now a workaround to re-enable ADB using WhatsApp Key/DB Extractor.
SUMMARY:
The purpose of this script is to patch new versions of WhatsApp so the ADB backup method will continue to function.
This will allow apps such as Helium or Crypt Key File Extractors to continue backing up WhatsApp data over the ADB.
PREREQUISITES:
O/S: Windows Vista, Windows 7 or Windows 8/8.1
Java - If not installed: Download Java
Old WhatsApp MUST be removed from your device
INSTRUCTIONS:
Extract WhatsAppADBPatch.zip maintaining the directory structure.
Download latest WhatsApp.apk from: https://www.whatsapp.com/android/
Copy WhatsApp.apk into the same directory as ADBPatch.bat.
Drag WhatsApp.apk onto ADBPatch.bat.
Install the created WhatsApp_Patched.apk on your android device.
AUTHOR: TripCode
THANKS: Brut.all / iBotPeaches (Apktool) and Lionello Lunesu for FART (Find And Replace Text)
i get this error
this error keeps coming
m.a.r.k.i.94 said:
this error keeps coming
Click to expand...
Click to collapse
I think you are running WhatsApp Key/DB Extractor and not WhatsApp ADB Patch?
In any case your issue is because the latest version of WhatsApp blocks adb which is why this thread exists.
TripCode said:
I think you are running WhatsApp Key/DB Extractor and not WhatsApp ADB Patch?
In any case your issue is because the latest version of WhatsApp blocks adb which is why this thread exists.
Click to expand...
Click to collapse
sir
1.i downloaded latest whatsapp from website
2.patched the apk with the ADB patch
3.removed the existing one i had in my phone and installed the patched apk
4.then i went on to extract the key file using WhatsApp Key/DB extractor. i get the error then
m.a.r.k.i.94 said:
sir
1.i downloaded latest whatsapp from website
2.patched the apk with the ADB patch
3.removed the existing one i had in my phone and installed the patched apk
4.then i went on to extract the key file using WhatsApp Key/DB extractor. i get the error then
Click to expand...
Click to collapse
Double check that you have installed the patched apk. If still no joy try using WhatsApp-Key-DB-Extractor which some people have more success with.
Also, remember to take a manual backup of your whatsapp database after you install whatsapp (this process creates the crypt key). Another thing you could try is simply install an older official version of whatsapp that do not block adb and run the key extractor on the older version. Once you have the key you can then upgrade to the new version. Your key will stay the same.
I am getting error when tried to install whatsapp after the patch.
It seems like client has been updated please install the version from playstore. Whatsapp not letting me to activate.
Thanks,
-Sri
When trying to patch the newest Whatsapp-Version (2.11.491), I got the following errors. 2.11.481 worked.
Code:
C:\Users\xxx\WhatsAppKeyExtract>ADBPatch.bat WhatsApp.apk
I: Decompiling APK
I: Using Apktool 2.0.0-ec3fbf-SNAPSHOT on WhatsApp.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\xxx\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
testCleaning up unclosed ZipFile for archive C:\Users\xxx\apktool\framework\1.apk
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Patching AndroidManifest.xml
I: Recompiling APK
I: Using Apktool 2.0.0-ec3fbf-SNAPSHOT on WhatsApp
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\activity_corrupt_installation.xml:7: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\activity_corrupt_installation.xml:12: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\activity_incorrect_app_release_version.xml:8: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\activity_insufficient_storage_space.xml:8: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\activity_spam_warning.xml:5: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\activity_spam_warning.xml:8: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\backup_restore.xml:22: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\backup_restore.xml:23: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\qr_code.xml:5: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\qr_code.xml:11: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\voip_activity.xml:4: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\layout\voip_activity.xml:40: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\xml\widget_info.xml:2: error: No resource identifier found for attribute 'initialKeyguardLayout' in package 'android'
C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res\xml\widget_info.xml:2: error: No resource identifier found for attribute 'widgetCategory' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\xxx\AppData\Local\Temp\brut_util_Jar_665076819065385106.tmp, p, --forced-package-id,127, --min-sdk-version, 7, --target-sdk-version, 21, --version-code, 450227, --version-name, 2.11.491, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL3245343448066818719.tmp, -0, arsc, -I, C:\Users\xxx\apktool\framework\1.apk, -S, C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res, -M,C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\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\xxx\AppData\Local\Temp\brut_util_Jar_665076819065385106.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version,21, --version-code, 450227, --version-name, 2.11.491, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL3245343448066818719.tmp, -0, arsc, -I, C:\Users\xxx\apktool\framework\1.apk, -S, C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res, -M, C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\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\xxx\AppData\Local\Temp\brut_util_Jar_665076819065385106.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 21, --version-code, 450227, --version-name, 2.11.491, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL3245343448066818719.tmp, -0, arsc, -I,C:\Users\xxx\apktool\framework\1.apk, -S, C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\res, -M, C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
... 6 more
I: Signing APK
java.io.FileNotFoundException: C:\Users\xxx\WhatsAppKeyExtract\WhatsApp\dist\WhatsApp.apk (Das System kann den angegebenen Pfad nicht finden)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:320)
WhatsApp\smali\com - Das Verzeichnis ist nicht leer.
I: Done!
Would it be possible for the OP to atleast mention a version number. Just writing latest is vague. Being specific would be very kind.
Sent from my D5503 using XDA Free mobile app
pathaniya said:
Would it be possible for the OP to atleast mention a version number. Just writing latest is vague. Being specific would be very kind.
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
Tried on Z1 compact Kitkat 14.4.A.0.157 and whatsapp 2.11.481, also the Version 2.11.514 (latest) patched it didn't work. Mine is not rooted.
Thanks.
Hello everyone. first of all apologize for my English, I speak very little English ^^'. I'm a new user in XDA developers.
I used the patch and it has worked perfectly.
I have also installed and working without error. Thanks for your post ^^
I have android 4.2.1 Jelly bean and I'm root.
Thanks
Hey, I just came across an interesting issue when trying to install the patched apk - when verifying my number whatsapp gave me an error message saying that the version of whatsapp I was trying to install had been modified. Is there a work-around for this?
So annoying, why do they make it so hard for us to read our whatsapp messages on our PCs?!
Same as iceiceicex here.
Moreover, when I installed the older version, should I need to initialize/activate/register it first?
If I don't initialize/activate/register it first, the key extract replied that something like the path not found....
If I try to initialize/activate/register it first, it requires me to update to the latest version first....
As a result, I can't get the key in any ways....
install apk from pc to phone
Hi,
How could I install the patched apk to the phone via pc?
what kind of program should I use?
thank you
Hunkit said:
When trying to patch the newest Whatsapp-Version (2.11.491), I got the following errors. 2.11.481 worked.
Click to expand...
Click to collapse
Most likely as needed the latest version of apktool. I have updated the zip file.
pathaniya said:
Would it be possible for the OP to atleast mention a version number. Just writing latest is vague. Being specific would be very kind.
Click to expand...
Click to collapse
The patch is a wrapper for apktool so is therefore independent of any WhatsApp version numbers (the version is irrelevant). If it breaks then you will need to replace apktool.jar with the latest version. I have just updated the zip file in the first post.
Patch Whatsapp
Hello guys,
I’m tryin’ to patch the latest Whatsapp version (2.12.30) using WhatsAppADBPatch.zip (which was updated a few hours ago by TripCode).
However an error is displayed during the patching process:
Building resources... :\Users\alex\Downloads\WhatsAppADBPatch\WhatsApp\res\layout-v16\activity_corr tpt_installation.xml:7: error: No resource identifier found for attribute 'fontF mily' in package
I should mention that I have installed the latest Java version and tried this procedure on 2 different PCs (with W7 & W8).
Is there someone who has successfully patched this Whatsapp version?
If the answer is no then I will be very grateful if anyone of you can attach a patched Whatsapp version higher than 2.11.481 (this version will be outdated in a few days).
Thank you in advance!
Thanks for the useful pos
TripCode said:
UPDATE:
This app is now obsolete as there is now a workaround to re-enable ADB using WhatsApp Key/DB Extractor.
SUMMARY:
The purpose of this script is to patch new versions of WhatsApp so the ADB backup method will continue to function.
This will allow apps such as Helium or Crypt Key File Extractors to continue backing up WhatsApp data over the ADB.
PREREQUISITES:
O/S: Windows Vista, Windows 7 or Windows 8/8.1
Java - If not installed: Download Java
Old WhatsApp MUST be removed from your device
INSTRUCTIONS:
Extract WhatsAppADBPatch.zip maintaining the directory structure.
Download latest WhatsApp.apk from: https://www.whatsapp.com/android/
Copy WhatsApp.apk into the same directory as ADBPatch.bat.
Drag WhatsApp.apk onto ADBPatch.bat.
Install the created WhatsApp_Patched.apk on your android device.
AUTHOR: TripCode
THANKS: Brut.all / iBotPeaches (Apktool) and Lionello Lunesu for FART (Find And Replace Text)
Click to expand...
Click to collapse
thanxx a lot brofor this help