Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,784,382 Members 45,131 Now Online
XDA Developers Android and Mobile Development Forum

kitkat framework and SemcGenericUxpRes .757 not recompiling correctly?

Tip us?
 
santacruzdz
Old
#1  
santacruzdz's Avatar
Senior Member - OP
Thanks Meter 210
Posts: 392
Join Date: Sep 2008

 
DONATE TO ME
Default kitkat framework and SemcGenericUxpRes .757 not recompiling correctly?

Hi everyone,

Is there anyone here succefully recompiled both framework-res.apk and SemcGenericUxpRes.apk without getting errors on the latest version of kitkat .757 with apktool?
Phone : Sony Xperia Z1 Compact
 
santacruzdz
Old
#2  
santacruzdz's Avatar
Senior Member - OP
Thanks Meter 210
Posts: 392
Join Date: Sep 2008

 
DONATE TO ME
Quote:
Originally Posted by santacruzdz View Post
Hi everyone,

Is there anyone here succefully recompiled both framework-res.apk and SemcGenericUxpRes.apk without getting errors on the latest version of kitkat .757 with apktool?
no one really??? no themer for xperia Z1c there??!!!
Phone : Sony Xperia Z1 Compact
 
bosox01
Old
(Last edited by bosox01; 10th June 2014 at 04:25 PM.)
#3  
Junior Member
Thanks Meter 1
Posts: 26
Join Date: Dec 2011
Location: Lampung
Quote:
Originally Posted by santacruzdz View Post
no one really??? no themer for xperia Z1c there??!!!
same problem bro..
Iam sucses in decompile, But recompile error and warning


Quote:
D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse>apktool if fr
amework-res.apk
I: Framework installed to: C:\Users\bosox\apktool\framework\1.apk

D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse>apktool if Se
mcGenericUXPRes.apk
I: Framework installed to: C:\Users\bosox\apktool\framework\2.apk

D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse>apktool d Sys
temUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\bosox\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse>apktool b Sys
temUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\bosox\AppData\Local\Temp
\APKTOOL3631402430745771880.tmp, -I, C:\Users\bosox\apktool\framework\1.apk, -S,
D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemUI\res
, -M, D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemU
I\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:355)
at brut.androlib.Androlib.buildResources(Androlib.jav a:280)
at brut.androlib.Androlib.build(Androlib.java:203)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:214)
at brut.apktool.Main.main(Main.java:74)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:
\Users\bosox\AppData\Local\Temp\APKTOOL36314024307 45771880.tmp, -I, C:\Users\bos
ox\apktool\framework\1.apk, -S, D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal
Lovins Sundanesse\SystemUI\res, -M, D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By
Rizal Lovins Sundanesse\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:335)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:333)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 19, --target-sdk-version, 19, -F, C:\Users\bosox\AppData\Local\Temp\A
PKTOOL3631402430745771880.tmp, -I, C:\Users\bosox\apktool\framework\1.apk, -S, D
:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemUI\res,
-M, D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemUI\
AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:333)
... 6 more
aapt: warning: string 'compat_mode_help_body' has no default translation in D:\a
pktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemUI\res; fou
nd: et hy ms
aapt: warning: string 'compat_mode_help_header' has no default translation in D:
\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemUI\res; f
ound: et hy ms
aapt: warning: string 'jelly_bean_dream_name' has no default translation in D:\a
pktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemUI\res; fou
nd: et hy ms
aapt: warning: string 'quick_settings_wifi_display_label' has no default transla
tion in D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\Syste
mUI\res; found: et hy ms
aapt: warning: string 'quick_settings_wifi_display_no_connection_label' has no d
efault translation in D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Su
ndanesse\SystemUI\res; found: et hy ms
aapt: warning: string 'status_bar_help_text' has no default translation in D:\ap
ktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemUI\res; foun
d: et hy ms
aapt: warning: string 'status_bar_help_title' has no default translation in D:\a
pktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemUI\res; fou
nd: et hy ms
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.an
droid.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas
.android.com/apk/res/android); using existing value in manifest.
D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\SystemUI\res\
values\styles.xml:115: error: Error: No resource found that matches the given na
me (at 'android:background' with value '@drawable/cling_button_bg').

D:\apktool1.5.2\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse>
 
Pezo
Old
#4  
Senior Member
Thanks Meter 60
Posts: 227
Join Date: Apr 2006
Location: Linz

 
DONATE TO ME
I can recompile framework-res but not SemcGenericUxpRes, I get a similar error to bosox01.
If I try to execute the aapt command by hand I get a Segmentation fault...
Sony Xperia Z1 Compact (.757 rooted, locked BL)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes