5,604,443 Members 48,335 Now Online
XDA Developers Android and Mobile Development Forum

[Tool]Advanced ApkTool v2.0.0[Windows][9/2/2014]

Tip us?
 
Nikunj Kubadia
Old
(Last edited by Nikunj Kubadia; 19th February 2014 at 11:39 AM.)
#31  
Nikunj Kubadia's Avatar
Member
Thanks Meter 94
Posts: 98
Join Date: Feb 2013
Location: Mumbai
Quote:
Originally Posted by karo222 View Post
Hi
I have yet problem with compiling and decompiling

this is screen shot and logs

compiling


recompile
Hello!!

Install all the framework files properly. In my case(Xperia) they are framework-res.apk and SemcGenericUxp.apk

Try and Leave Your Feedback
The Following User Says Thank You to Nikunj Kubadia For This Useful Post: [ Click to Expand ]
 
NewBieSS
Old
(Last edited by NewBieSS; 22nd February 2014 at 06:08 AM.)
#32  
Senior Member
Thanks Meter 34
Posts: 146
Join Date: Mar 2013


i am using apktool, cygwin,.... normally. Windows 8 64bit.

Solved
 
Crash 1976
Old
#33  
Crash 1976's Avatar
Senior Member
Thanks Meter 5915
Posts: 4,032
Join Date: Apr 2011
Location: Costa Rica

 
DONATE TO ME
Awesome tool thanks for share buddy

Sent from my Xperia Tab Z
The Following User Says Thank You to Crash 1976 For This Useful Post: [ Click to Expand ]
 
a546109781
Old
(Last edited by a546109781; 26th February 2014 at 03:40 AM.)
#34  
a546109781's Avatar
Senior Member
Thanks Meter 56
Posts: 137
Join Date: Apr 2013
Location: MLGB
done.thx.
SORRY FOR MY POOR ENGLISH!!!!

Computer:E3 1230V3/R9 280x/ASRock B75 Pro3/128GBssd/WD1TB/
 
Wechy77
Old
#35  
Wechy77's Avatar
Senior Member
Thanks Meter 1241
Posts: 1,226
Join Date: Dec 2011
Location: Here
@BDFreak

I use your great app. Today I tried to update v1 to v2 and norton antivirus tells me, that decompilefile.exe and recompilefile.exe is infected with "Suspicious.Cloud.5" and norton takes it automatic into quarantine. With v1 I have no problem.

Device Falcon | ROM PAC 4.4.Alpha-1
 
BDFreak
Old
#36  
BDFreak's Avatar
Recognized Themer - OP
Thanks Meter 1057
Posts: 346
Join Date: Jan 2013
Location: Mymensingh
Quote:
Originally Posted by Wechy77 View Post
@BDFreak

I use your great app. Today I tried to update v1 to v2 and norton antivirus tells me, that decompilefile.exe and recompilefile.exe is infected with "Suspicious.Cloud.5" and norton takes it automatic into quarantine. With v1 I have no problem.
I can assure you that it's totally false positive detection. There's is no virus in these files. If you have doubt then just use Shift+Delete+Enter.

- KNOCK KNOCK!
- Whois this?
- EXAM!

If you have lots of apps scattered all over your pc, then Apk File Manage is the solution.

Download : Apk File Manager

Are you having problem in Decompiling/Recompiling framework-res.apk?
Are you facing bootloop after Recompiling framework-res.apk?

Here is the Solution. Try Advanced ApkTool.
Download : Advanced ApkTool
The Following 2 Users Say Thank You to BDFreak For This Useful Post: [ Click to Expand ]
 
Wechy77
Old
#37  
Wechy77's Avatar
Senior Member
Thanks Meter 1241
Posts: 1,226
Join Date: Dec 2011
Location: Here
Quote:
Originally Posted by BDFreak View Post
I can assure you that it's totally false positive detection. There's is no virus in these files. If you have doubt then just use Shift+Delete+Enter.
Than I add it to ignore this files in Norton, thanks for the answer

Sent from my Moto G using Tapatalk

Device Falcon | ROM PAC 4.4.Alpha-1
 
HackitZ
Old
(Last edited by HackitZ; 15th March 2014 at 09:34 PM.)
#38  
HackitZ's Avatar
Senior Member
Thanks Meter 249
Posts: 855
Join Date: Jul 2009
Location: North of the Border

 
DONATE TO ME
tool is awesome and needed for xperia modders, thanks for the hard work BDFreak.
I do have an issue though.
I have had no problems editing the average apk file, but as soon as i try to edit a semc apk like SemcPhone.apk i get errors when recompiling.
here's my info and log.

base rom i'm pulling apk's from, xperia z1 compact android 4.3 uk generic.
tried framework from xperia z1 compact 4.3
have tried SemcGenericUxpRes, from z1 compact 4.3, xperia zl SemcGenericUxpRes from 4.2.2
I have tried to just decompile edit nothing and just recopmpile and still get this error, success : no

Log
Code:
 Log For : SemcPhone.apk 

 Log Type : Recompiling 

 Log Recorded At : Sat 15-03-2014 8:55:58.71 

 Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak 

------------------------------------------------------ 

invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000
invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000-zh-rCN
invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000-zh-rHK
invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000-zh-rTW
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\myname~1\AppData\Local\Temp\brut_util_Jar_3424579942404759717.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 18, --version-name, 4.3-22, -F, C:\Users\myname~1\AppData\Local\Temp\APKTOOL1593545305589120450.tmp, -0, arsc, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res, -M, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\AndroidManifest.xml]
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
	at brut.androlib.Androlib.buildResources(Androlib.java:363)
	at brut.androlib.Androlib.build(Androlib.java:286)
	at brut.androlib.Androlib.build(Androlib.java:258)
	at brut.apktool.Main.cmdBuild(Main.java:236)
	at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\myname~1\AppData\Local\Temp\brut_util_Jar_3424579942404759717.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 18, --version-name, 4.3-22, -F, C:\Users\myname~1\AppData\Local\Temp\APKTOOL1593545305589120450.tmp, -0, arsc, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res, -M, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
	... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\myname~1\AppData\Local\Temp\brut_util_Jar_3424579942404759717.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 18, --version-name, 4.3-22, -F, C:\Users\myname~1\AppData\Local\Temp\APKTOOL1593545305589120450.tmp, -0, arsc, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res, -M, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:89)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
	... 6 more

------------------------------------------------------
Do anything long enough and sooner or later thats who you will become!
The Following User Says Thank You to HackitZ For This Useful Post: [ Click to Expand ]
 
Ticklefish
Old
#39  
Ticklefish's Avatar
Recognized Themer
Thanks Meter 2463
Posts: 2,966
Join Date: Oct 2011
Quote:
Originally Posted by HackitZ View Post
tool is awesome and needed for xperia modders, thanks for the hard work BDFreak.
I do have an issue though.
I have had no problems editing the average apk file, but as soon as i try to edit a semc apk like SemcPhone.apk i get errors when recompiling.
here's my info and log.

base rom i'm pulling apk's from, xperia z1 compact android 4.3 uk generic.
tried framework from xperia z1 compact 4.3
have tried SemcGenericUxpRes, from z1 compact 4.3, xperia zl SemcGenericUxpRes from 4.2.2
I have tried to just decompile edit nothing and just recopmpile and still get this error, success : no

Log
Code:
 Log For : SemcPhone.apk 

 Log Type : Recompiling 

 Log Recorded At : Sat 15-03-2014 8:55:58.71 

 Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak 

------------------------------------------------------ 

invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000
invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000-zh-rCN
invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000-zh-rHK
invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000-zh-rTW
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\myname~1\AppData\Local\Temp\brut_util_Jar_3424579942404759717.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 18, --version-name, 4.3-22, -F, C:\Users\myname~1\AppData\Local\Temp\APKTOOL1593545305589120450.tmp, -0, arsc, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res, -M, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\AndroidManifest.xml]
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
	at brut.androlib.Androlib.buildResources(Androlib.java:363)
	at brut.androlib.Androlib.build(Androlib.java:286)
	at brut.androlib.Androlib.build(Androlib.java:258)
	at brut.apktool.Main.cmdBuild(Main.java:236)
	at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\myname~1\AppData\Local\Temp\brut_util_Jar_3424579942404759717.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 18, --version-name, 4.3-22, -F, C:\Users\myname~1\AppData\Local\Temp\APKTOOL1593545305589120450.tmp, -0, arsc, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res, -M, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
	... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\myname~1\AppData\Local\Temp\brut_util_Jar_3424579942404759717.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 18, --version-name, 4.3-22, -F, C:\Users\myname~1\AppData\Local\Temp\APKTOOL1593545305589120450.tmp, -0, arsc, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res, -M, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:89)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
	... 6 more

------------------------------------------------------
Have you tried deleting those folders?


- Tickle My Android 9.0 -

The Greatest Theming Tool In The World!


Decompile Files, Change Icons, Change Fonts,
Change Boot Animations, Create Flashable Zips, Deodex Roms
..And More!


http://forum.xda-developers.com/showthread.php?t=1633333
 
DaRk-L0rD
Old
#40  
DaRk-L0rD's Avatar
Recognized Contributor / Themer
Thanks Meter 3565
Posts: 1,721
Join Date: Sep 2012
Location: Isla de Muerta

 
DONATE TO ME
Thanks for this one mate!
Also on Xda Portal : http://www.xda-developers.com/androi...amework-files/

Congrats
If you like my work, please consider a donation. Thanks in advance!

Don't use any part of my work WITHOUT my permission!!
SONY XPERIA T

MY CONTRIBUTIONS

The Following User Says Thank You to DaRk-L0rD For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes