[Q]Attempt to Build a ROM

lordsolrac2

Senior Member
Jul 6, 2012
178
17
38
Gurabo
I Understand that I posted this on the Q&A Secton but I didn't get anything so far.. So, :p I thought I posted here to make it a bit more noticeable..


Hey I'm new here but I've been around this place for a long while :p
I was reading NeroYoung's Tutorial to make a Custom ROM, I used ChocoBread 3.2.0 as a base. I did all the artwork I could so, I decided to re-compile it...

APKtool is 1.4.3, Used on both Cygwin, Windows.... Same error.

The APK I'm trying to compile is SystemUI.apk nearly completely modified xP

Anyways, I saw all the videos twice... I used Photoshop (CS6 :D) and Illustrator, I did some vector work for Notifications and Most of the Photoshopping is Coloring and Re-sizing. Also I have to admit I sorta used some Icons from my Favorite X11/Linux Theme (Azenis) :3 I also ported some sounds from the game Cave Story...

This is the error ::

Code:
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:36: error: Pub
lic symbol drawable/quickpanel_icon_gps_on declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:37: error: Pub
lic symbol drawable/quickpa-d\APKTool\SystemUI\res\values\public.xml:58: error: Pub
lic symbol drawable/stat_sys_data_connected_3g_plus declared here is not defined
.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:59: error: Pub
lic symbol drawable/stat_sys_data_connected_4g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:60: error: Pub
lic symbol drawable/stat_sys_data_connected_e declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:61: error: Pub
lic symbol drawable/stat_sys_data_connected_g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:62: error: Pub
lic symbol drawable/stat_sys_data_connected_h declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:63: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_1x declared here is not define
d.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:64: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_3g declared here is not define
d.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:65: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_3g_plus declared here is not d
efined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:66: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_4g declared here is not define
d.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:67: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_e declared here is not defined
.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:68: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_g declared here is not defined
.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:69: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_h declared here is not defined
.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:70: error: Pub
lic symbol drawable/stat_sys_data_fully_in_1x declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:71: error: Pub
lic symbol drawable/stat_sys_data_fully_in_3g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:72: error: Pub
lic symbol drawable/stat_sys_data_fully_in_3g_plus declared here is not defined.

C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:73: error: Pub
lic symbol drawable/stat_sys_data_fully_in_4g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:74: error: Pub
lic symbol drawable/stat_sys_data_fully_in_e declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:75: error: Pub
lic symbol drawable/stat_sys_data_fully_in_g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:76: error: Pub
lic symbol drawable/stat_sys_data_fully_in_h declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:77: error: Pub
lic symbol drawable/stat_sys_data_fully_inandout_1x declared Exception in thread
 "main" brut.androlib.AndrolibException: brut.common.BrutException: could not ex
ec command: [aapt, p, -F, C:\Users\Sorlac\AppData\Local\Temp\APKTOOL458464336594
2961008.tmp, -I, C:\Users\Sorlac\apktool\framework\1.apk, -S, C:\Users\Sorlac\Ap
ps\ROMod\APKTool\SystemUI\res, -M, C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\A
ndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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, C:\U
sers\Sorlac\AppData\Local\Temp\APKTOOL4584643365942961008.tmp, -I, C:\Users\Sorl
ac\apktool\framework\1.apk, -S, C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res,
 -M, C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more
here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:78: error: Pub
lic symbol drawable/stat_sys_data_fully_inandout_3g declared here is not defined
.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:79: error: Pub
lic symbol drawable/stat_sys_data_fully_inandout_3g_plus declared here is not de
fined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:80: error: Pub
lic symbol drawable/stat_sys_data_fully_inandout_4g declared here is not defined
.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:81: error: Pub
lic symbol drawable/stat_sys_data_fully_inandout_e declared here is not defined.

C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:82: error: Pub
lic symbol drawable/stat_sys_data_fully_inandout_g declared here is not defined.

C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:83: error: Pub
lic symbol drawable/stat_sys_data_fully_inandout_h declared here is not defined.

C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:84: error: Pub
lic symbol drawable/stat_sys_data_fully_out_1x declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:85: error: Pub
lic symbol drawable/stat_sys_data_fully_out_3g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:86: error: Pub
lic symbol drawable/stat_sys_data_fully_out_3g_plus declared here is not defined
.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:87: error: Pub
lic symbol drawable/stat_sys_data_fully_out_4g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:88: error: Pub
lic symbol drawable/stat_sys_data_fully_out_e declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:89: error: Pub
lic symbol drawable/stat_sys_data_fully_out_g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:90: error: Pub
lic symbol drawable/stat_sys_data_fully_out_h declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:91: error: Pub
lic symbol drawable/stat_sys_data_in_1x declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:92: error: Pub
lic symbol drawable/stat_sys_data_in_3g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:93: error: Pub
lic symbol drawable/stat_sys_data_in_3g_plus declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:94: error: Pub
lic symbol drawable/stat_sys_data_in_4g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:95: error: Pub
lic symbol drawable/stat_sys_data_in_e declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:96: error: Pub
lic symbol drawable/stat_sys_data_in_g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:97: error: Pub
lic symbol drawable/stat_sys_data_in_h declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:98: error: Pub
lic symbol drawable/stat_sys_data_inandout_1x declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:99: error: Pub
lic symbol drawable/stat_sys_data_inandout_3g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:100: error: Pu
blic symbol drawable/stat_sys_data_inandout_3g_plus declared here is not defined
.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:101: error: Pu
blic symbol drawable/stat_sys_data_inandout_4g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:102: error: Pu
blic symbol drawable/stat_sys_data_inandout_e declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:103: error: Pu
blic symbol drawable/stat_sys_data_inandout_g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:104: error: Pu
blic symbol drawable/stat_sys_data_inandout_h declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:105: error: Pu
blic symbol drawable/stat_sys_data_out_1x declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:106: error: Pu
blic symbol drawable/stat_sys_data_out_3g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:107: error: Pu
blic symbol drawable/stat_sys_data_out_3g_plus declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:108: error: Pu
blic symbol drawable/stat_sys_data_out_4g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:109: error: Pu
blic symbol drawable/stat_sys_data_out_e declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:110: error: Pu
blic symbol drawable/stat_sys_data_out_g declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:111: error: Pu
blic symbol drawable/stat_sys_data_out_h declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:112: error: Pu
blic symbol drawable/stat_sys_gps_acquiring declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:16: error: Pub
lic symbol drawable/stat_sys_gps_acquiring_anim declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:113: error: Pu
blic symbol drawable/stat_sys_no_sim declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:114: error: Pu
blic symbol drawable/stat_sys_r_signal_0 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:115: error: Pu
blic symbol drawable/stat_sys_r_signal_0_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:116: error: Pu
blic symbol drawable/stat_sys_r_signal_1 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:117: error: Pu
blic symbol drawable/stat_sys_r_signal_1_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:118: error: Pu
blic symbol drawable/stat_sys_r_signal_2 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:119: error: Pu
blic symbol drawable/stat_sys_r_signal_2_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:120: error: Pu
blic symbol drawable/stat_sys_r_signal_3 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:121: error: Pu
blic symbol drawable/stat_sys_r_signal_3_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:122: error: Pu
blic symbol drawable/stat_sys_r_signal_4 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:123: error: Pu
blic symbol drawable/stat_sys_r_signal_4_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:124: error: Pu
blic symbol drawable/stat_sys_ringer_silent declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:125: error: Pu
blic symbol drawable/stat_sys_ringer_vibrate declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:126: error: Pu
blic symbol drawable/stat_sys_roaming_cdma_0 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:17: error: Pub
lic symbol drawable/stat_sys_roaming_cdma_flash declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:127: error: Pu
blic symbol drawable/stat_sys_roaming_cdma_flash_anim0 declared here is not defi
ned.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:128: error: Pu
blic symbol drawable/stat_sys_roaming_cdma_flash_anim1 declared here is not defi
ned.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:129: error: Pu
blic symbol drawable/stat_sys_signal_0 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:130: error: Pu
blic symbol drawable/stat_sys_signal_0_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:131: error: Pu
blic symbol drawable/stat_sys_signal_1 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:132: error: Pu
blic symbol drawable/stat_sys_signal_1_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:133: error: Pu
blic symbol drawable/stat_sys_signal_2 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:134: error: Pu
blic symbol drawable/stat_sys_signal_2_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:135: error: Pu
blic symbol drawable/stat_sys_signal_3 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:136: error: Pu
blic symbol drawable/stat_sys_signal_3_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:137: error: Pu
blic symbol drawable/stat_sys_signal_4 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:138: error: Pu
blic symbol drawable/stat_sys_signal_4_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:139: error: Pu
blic symbol drawable/stat_sys_signal_flightmode declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:140: error: Pu
blic symbol drawable/stat_sys_signal_null declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:141: error: Pu
blic symbol drawable/stat_sys_tty_mode declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:142: error: Pu
blic symbol drawable/stat_sys_wifi_signal_0 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:143: error: Pu
blic symbol drawable/stat_sys_wifi_signal_1 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:144: error: Pu
blic symbol drawable/stat_sys_wifi_signal_1_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:145: error: Pu
blic symbol drawable/stat_sys_wifi_signal_2 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:146: error: Pu
blic symbol drawable/stat_sys_wifi_signal_2_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:147: error: Pu
blic symbol drawable/stat_sys_wifi_signal_3 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:148: error: Pu
blic symbol drawable/stat_sys_wifi_signal_3_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:149: error: Pu
blic symbol drawable/stat_sys_wifi_signal_4 declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:150: error: Pu
blic symbol drawable/stat_sys_wifi_signal_4_fully declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:151: error: Pu
blic symbol drawable/status_bar_background declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:152: error: Pu
blic symbol drawable/status_bar_call_ongoing_background declared here is not def
ined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:153: error: Pu
blic symbol drawable/status_bar_close_on declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:157: error: Pu
blic symbol drawable/status_bar_trans_background declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:154: error: Pu
blic symbol drawable/statusbar_background declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:155: error: Pu
blic symbol drawable/title_bar_portrait declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:156: error: Pu
blic symbol drawable/title_bar_shadow declared here is not defined.

C:\Users\Sorlac\Apps\ROMod\APKTool>

Emm... This error is actually new :s I tried to export the Error into a log file...

This is what I originally got

Code:
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:153: error: Pu
blic symbol drawable/status_bar_close_on declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:157: error: Pu
blic symbol drawable/status_bar_trans_background declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:154: error: Pu
blic symbol drawable/statusbar_background declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:155: error: Pu
blic symbol drawable/title_bar_portrait declared here is not defined.
C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res\values\public.xml:156: error: Pu
blic symbol drawable/title_bar_shadow declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Sorlac\AppData\Local\Temp\
APKTOOL1661178710873366496.tmp, -I, C:\Users\Sorlac\apktool\framework\1.apk, -S,
 C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res, -M, C:\Users\Sorlac\Apps\ROMod
\APKTool\SystemUI\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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, C:\U
sers\Sorlac\AppData\Local\Temp\APKTOOL1661178710873366496.tmp, -I, C:\Users\Sorl
ac\apktool\framework\1.apk, -S, C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\res,
 -M, C:\Users\Sorlac\Apps\ROMod\APKTool\SystemUI\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more
Any Suggestions?
 

speed_bot

Senior Member
Jan 18, 2012
1,604
1,273
0
Bangalore
first of you need to decompile the apk with dependencies as framework-res.app and
twframeworkres.apk....most of the pngs in systemui is dependant on twframework...decompile and see it for yourself
 
  • Like
Reactions: lordsolrac2

yajnab

Senior Member
Apr 1, 2012
709
2,793
133
23
Purulia
:good::good::good:Just add like this in the xml file u want. if u wanna add in the main page then add in settings.xml
<com.android.settings.IconPreferenceScreen android:title="@string/abc" settings:icon="@drawable/picture name">
<intent android:targetPackage="package name" android:action="android.intent.action.MAIN" android:targetClass="package name and function" />
</com.android.settings.IconPreferenceScreen>
Then add this line in values/string.xml
<string name="abc">The Setting name</string>

Then add like this in the values/public.xml
<public type="string" name="abc" id="0xabcded">

the 0xabcded is the next hex code after the last hex code for the string in the public.xml

after doing this recompile the apk:laugh::laugh::laugh:
 

lordsolrac2

Senior Member
Jul 6, 2012
178
17
38
Gurabo
Apk manager, I downloaded it from the official website .

Edward Cullen
I build it twice... 1st The Errors (Did You Install the dependencies?) Then I took the original APK files and took the META-INF and AndroidManifest.xml and put it in both the original and build folders, then I build them again. Everything went excelent :p except one fact... The Hell is the Status Bar? There's No Such Thing as a Status bar on my Built ROM V.v