[SOLVED]Please Help to compile SystemUI - Huawei Ideos X6

Please Help,,I was decompile SystemUI.apk to make center clock mod
but when I build systemui I get invalid directory
Code:
C:\Documents and Settings\Administrator>apktool b -f systemui SystemUI2.apk
I: Smaling...
I: Building resources...
invalid resource directory name: C:\Documents and Settings\Administrator\systemu
i\res/drawable-sw600dp-hdpi
invalid resource directory name: C:\Documents and Settings\Administrator\systemu
i\res/layout-sw600dp
invalid resource directory name: C:\Documents and Settings\Administrator\systemu
i\res/values-sw600dp
invalid resource directory name: C:\Documents and Settings\Administrator\systemu
i\res/values-sw600dp-port
invalid resource directory name: C:\Documents and Settings\Administrator\systemu
i\res/values-sw720dp
invalid resource directory name: C:\Documents and Settings\Administrator\systemu
i\res/values-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
APKTOOL5715618181950052760.tmp, -I, C:\Documents and Settings\Administrator\apkt
ool\framework\1.apk, -S, C:\Documents and Settings\Administrator\systemui\res, -
M, C:\Documents and Settings\Administrator\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:\D
OCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL5715618181950052760.tmp, -I, C:\Documents
and Settings\Administrator\apktool\framework\1.apk, -S, C:\Documents and Setting
s\Administrator\systemui\res, -M, C:\Documents and Settings\Administrator\system
ui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
then I try delete invalid resource and come to
Code:
C:\Documents and Settings\Administrator>apktool b -f systemui SystemUI2.apk
I: Smaling...
I: Building resources...
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:288: erro
r: Public symbol drawable/ic_sysbar_ime_pressed declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:289: erro
r: Public symbol drawable/ic_sysbar_zoom_default declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:290: erro
r: Public symbol drawable/ic_sysbar_zoom_pressed declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:70: error
: Public entry identifier 0x7f02012a entry index is larger than available symbol
s (index 298, total symbols 295).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:70: error
: Public symbol drawable/notification_header_bg declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:74: error
: Public symbol drawable/notification_icon_area_smoke declared here is not defin
ed.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:73: error
: Public entry identifier 0x7f02012d entry index is larger than available symbol
s (index 301, total symbols 295).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:73: error
: Public symbol drawable/notification_item_background_legacy_color declared here
is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:71: error
: Public entry identifier 0x7f02012b entry index is larger than available symbol
s (index 299, total symbols 295).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:71: error
: Public symbol drawable/notification_tracking_bg declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:291: erro
r: Public symbol drawable/notify_panel_clock_bg_normal declared here is not defi
ned.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:292: erro
r: Public symbol drawable/notify_panel_clock_bg_pressed declared here is not def
ined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:293: erro
r: Public symbol drawable/notify_panel_notify_bg declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:294: erro
r: Public symbol drawable/recents_bg_protect_tile declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:72: error
: Public entry identifier 0x7f02012c entry index is larger than available symbol
s (index 300, total symbols 295).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:72: error
: Public symbol drawable/recents_callout_line declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:69: error
: Public entry identifier 0x7f020129 entry index is larger than available symbol
s (index 297, total symbols 295).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:69: error
: Public symbol drawable/status_bar_notification_row_background_color declared h
ere is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:68: error
: Public entry identifier 0x7f020128 entry index is larger than available symbol
s (index 296, total symbols 295).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:68: error
: Public symbol drawable/status_bar_recents_app_thumbnail_background declared he
re is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:67: error
: Public entry identifier 0x7f020127 entry index is larger than available symbol
s (index 295, total symbols 295).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:67: error
: Public symbol drawable/status_bar_recents_background_solid declared here is no
t defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:328: erro
r: Public symbol layout/compat_mode_help declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:329: erro
r: Public symbol layout/status_bar_compat_mode_panel declared here is not define
d.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:330: erro
r: Public symbol layout/status_bar_input_methods_item declared here is not defin
ed.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:331: erro
r: Public symbol layout/status_bar_input_methods_panel declared here is not defi
ned.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:332: erro
r: Public symbol layout/status_bar_notification_area declared here is not define
d.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:333: erro
r: Public symbol layout/status_bar_notification_panel declared here is not defin
ed.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:334: erro
r: Public symbol layout/status_bar_notification_panel_title declared here is not
defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:335: erro
r: Public symbol layout/status_bar_notification_peek declared here is not define
d.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:325: erro
r: Public entry identifier 0x7f030015 entry index is larger than available symbo
ls (index 21, total symbols 18).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:325: erro
r: Public symbol layout/status_bar_notification_row declared here is not defined
.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:336: erro
r: Public symbol layout/status_bar_pocket_panel declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:337: erro
r: Public entry identifier 0x7f030017 entry index is larger than available symbo
ls (index 23, total symbols 18).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:337: erro
r: Public symbol layout/status_bar_recent_item declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:338: erro
r: Public entry identifier 0x7f030018 entry index is larger than available symbo
ls (index 24, total symbols 18).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:338: erro
r: Public symbol layout/status_bar_recent_panel declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:339: erro
r: Public symbol layout/status_bar_recent_panel_footer declared here is not defi
ned.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:340: erro
r: Public symbol layout/status_bar_settings_view declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:341: erro
r: Public symbol layout/status_bar_ticker_compat declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:342: erro
r: Public symbol layout/status_bar_ticker_panel declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:326: erro
r: Public entry identifier 0x7f03001d entry index is larger than available symbo
ls (index 29, total symbols 18).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:326: erro
r: Public symbol layout/status_bar_toggle_slider declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:327: erro
r: Public entry identifier 0x7f03001e entry index is larger than available symbo
ls (index 30, total symbols 18).
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:327: erro
r: Public symbol layout/status_bar_tracking declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:549: erro
r: Public symbol dimen/notification_panel_min_height declared here is not define
d.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:548: erro
r: Public symbol dimen/notification_panel_width declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:546: erro
r: Public symbol dimen/notification_ticker_width declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:550: erro
r: Public symbol dimen/panel_float declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:547: erro
r: Public symbol dimen/status_bar_panel_bottom_offset declared here is not defin
ed.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:551: erro
r: Public symbol dimen/status_bar_recents_width declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:569: erro
r: Public symbol style/StatusBarNotificationText declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:572: erro
r: Public symbol style/StatusBarPanelSettingsContents declared here is not defin
ed.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:571: erro
r: Public symbol style/StatusBarPanelSettingsIcon declared here is not defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:573: erro
r: Public symbol style/StatusBarPanelSettingsPanelSeparator declared here is not
defined.
C:\Documents and Settings\Administrator\systemui\res\values\public.xml:570: erro
r: Public symbol style/StatusBarPanelSettingsRow declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
APKTOOL2338558209568623011.tmp, -I, C:\Documents and Settings\Administrator\apkt
ool\framework\1.apk, -S, C:\Documents and Settings\Administrator\systemui\res, -
M, C:\Documents and Settings\Administrator\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:\D
OCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL2338558209568623011.tmp, -I, C:\Documents
and Settings\Administrator\apktool\framework\1.apk, -S, C:\Documents and Setting
s\Administrator\systemui\res, -M, C:\Documents and Settings\Administrator\system
ui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
whats the problem??
Im using ApkTool from google code
JDK and SDK installed correctly
please help me
thanks

anyone??

sorry man, im not that good at compiling and decompiling stuff.
anyway, my best wishes to ur endeavor.
^▁^

aeoi said:
sorry man, im not that good at compiling and decompiling stuff.
anyway, my best wishes to ur endeavor.
^▁^
Click to expand...
Click to collapse
I just want to mod your CM9 to centering clock mate
If I may asking,,would you like give me original services.jar your CM9 RC1 latest please??I need it
Sent from my Spice Mi-410 using Tapatalk 2

Arya_3RDNumber said:
I just want to mod your CM9 to centering clock mate
If I may asking,,would you like give me original services.jar your CM9 RC1 latest please??I need it
Sent from my Spice Mi-410 using Tapatalk 2
Click to expand...
Click to collapse
Hye mate if you know porting rom try porting CM9 stable v 9.1.0..I already port it but I can't shared it because very busy my life time and with rom icecoldsandwicth ..

elol said:
Hye mate if you know porting rom try porting CM9 stable v 9.1.0..I already port it but I can't shared it because very busy my life time and with rom icecoldsandwicth ..
Click to expand...
Click to collapse
Hi elol
we know that you are busy but it is a request to please find time to upload 9.1.0 for all of us.as we want to taste it
Thanks in advance

elol said:
Hye mate if you know porting rom try porting CM9 stable v 9.1.0..I already port it but I can't shared it because very busy my life time and with rom icecoldsandwicth ..
Click to expand...
Click to collapse
So sorry mate,,I dont have skill to port/develop yet,,I still learn about it
Sent from my Spice Mi-410 using Tapatalk 2

do you try from this guide?
http://forum.xda-developers.com/showpost.php?p=23087245&postcount=363

rcset said:
do you try from this guide?
http://forum.xda-developers.com/showpost.php?p=23087245&postcount=363
Click to expand...
Click to collapse
This is guide I was followed,,I just looking for center clock mod only
http://forum.xda-developers.com/showthread.php?t=1773930
Sent from my Spice Mi-410 using Tapatalk 2

Arya_3RDNumber said:
This is guide I was followed,,I just looking for center clock mod only
http://forum.xda-developers.com/showthread.php?t=1773930
Sent from my Spice Mi-410 using Tapatalk 2
Click to expand...
Click to collapse
Arya_3RDNumber said:
So sorry mate,,I dont have skill to port/develop yet,,I still learn about it
Sent from my Spice Mi-410 using Tapatalk 2
Click to expand...
Click to collapse
i tried to mod systemui.apk with my CM9.0 but dont test it yet, i'm not on cm9 now
http://d-h.st/Sza
pls backup your rom befor if you want to test
i think you maybe not install framework-res.apk before decompile

rcset said:
i tried to mod systemui.apk with my CM9.0 but dont test it yet, i'm not on cm9 now
http://d-h.st/Sza
pls backup your rom befor if you want to test
i think you maybe not install framework-res.apk before decompile
Click to expand...
Click to collapse
Thanks RCset,,
I was use install command both systemui and framework
In google code issue thread,,they said because aapt and SDK outdated
Is it true??Right now I'm AFK,,cant try to solve it
But,,I just Install SDK only,,not download additional data i.e SDK platform and 4.0.3 android platform
Sent from my Spice Mi-410 using Tapatalk 2

Thanks man,,it works
But,clock doesnt dissapear on lockscreen,,
Also,,I really2 want know,,why I get invalid resource,,I want try to mod other stuff in CM9
Edit : getting FC when click "turn on USB Storage"
I think,because false systemUI version,,I still use CM 9.0.0 20120730 Nightly by AEOI
Sent from my Spice Mi-410 using Tapatalk 2

Arya_3RDNumber said:
I just want to mod your CM9 to centering clock mate
If I may asking,,would you like give me original services.jar your CM9 RC1 latest please??I need it
Sent from my Spice Mi-410 using Tapatalk 2
Click to expand...
Click to collapse
Man.
I think I lost the un-Supercharged services.jar.
I really am sorry mate.

rcset said:
i tried to mod systemui.apk with my CM9.0 but dont test it yet, i'm not on cm9 now
http://d-h.st/Sza
pls backup your rom befor if you want to test
i think you maybe not install framework-res.apk before decompile
Click to expand...
Click to collapse
Hey bro ... its long time you are not on any forum, ... you stated you are not on CM9, then??? are on CM 10 or something else...

aeoi said:
Man.
I think I lost the un-Supercharged services.jar.
I really am sorry mate.
Click to expand...
Click to collapse
Owh man
Your latest ROM is very great,,but getting lag and freeze because RAM pushed off cause service.jar patched in
Is another way to get original services jar??
Sent from my Desire HD using Tapatalk 2

Related

Framework Editing Help

ok guys this is really pissing me off, i have been trying for a few days now to do a simple extended power menu mod, the problem is apktool. I have a galaxy i9000 and no matter what i edit in framework-res /values, it always comes up with a bunch of errors ending in :
....... declared here is not defined, it is not the mod i am adding in, it is perfectly fine, it just says for example:
"C:\Users\Webstar1\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2612: error: Public symbol string/Reboot declared here is not defined."
it would be nice if i got some help, will also give a few thanks if it works.
You need to check what is at the top of the error list, as the 'not decleared' are just caused by something else. If it is something like .9 files, remove them before trying to recompile
l0st.prophet said:
You need to check what is at the top of the error list, as the 'not decleared' are just caused by something else. If it is something like .9 files, remove them before trying to recompile
Click to expand...
Click to collapse
OK I will report back in the morning , thanks for the reply.
Sent from my GT-I9000 using XDA App
some one please help. i have done every thing i can find, searched everywhere, and tried all the ways to decompile and compile i can find. i have been have this same thing happing. i just tried deleting the .9.png at the top but now im getting this error
c:\apps\framework-res\res\values\public.xml:2891: error: Public entry identifier
0x1080406 entry index is larger than available symbols (index 1030, total symbo
ls 1030).
c:\apps\framework-res\res\values\public.xml:2891: error: Public symbol drawable/
selected_day_background declared here is not defined.
c:\apps\framework-res\res\values\public.xml:3529: error: Public symbol drawable/
statusbar_background 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\Roscoe\AppData\Local\Temp\
APKTOOL7709919181824916577.tmp, -x, -0, arsc, -S, c:\apps\framework-res\res, -M,
c:\apps\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:\U
sers\Roscoe\AppData\Local\Temp\APKTOOL7709919181824916577.tmp, -x, -0, arsc, -S,
c:\apps\framework-res\res, -M, c:\apps\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
c:\apps>
Don't delete the .9.pngs!!!

framework-res.apk and apktool errors ? [ sloved ]

Hi.
I modified xml file in the framework-res.apk.
I did : apktool d framework-res.apk
I modify the file xml , and build : apktool b framework-res framework-res_ok.apk
Here part of errors :
/sauv/home/franck/Desktop/xml/framework-res/res/values/public.xml:2135: error: Public symbol string/lockscreen_screen_locked declared here is not defined.
/sauv/home/franck/Desktop/xml/framework-res/res/values/public.xml:2134: error: Public symbol string/lockscreen_service_detached declared here is not defined.
/sauv/home/franck/Desktop/xml/framework-res/res/values/public.xml:2133: error: Public symbol string/lockscreen_service_disabled declared here is not defined.
/sauv/home/franck/Desktop/xml/framework-res/res/values/public.xml:2157: error: Public symbol string/lockscreen_sim_corporate_locked_message declared here is not defined.
/sauv/home/franck/Desktop/xml/framework-res/res/valuException in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL7805925130020059301.tmp, -x, -S, /sauv/home/franck/Desktop/xml/framework-res/res, -M, /sauv/home/franck/Desktop/xml/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, /tmp/APKTOOL7805925130020059301.tmp, -x, -S, /sauv/home/franck/Desktop/xml/framework-res/res, -M, /sauv/home/franck/Desktop/xml/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Thanks ( sorry for my bad English )
Solved Delete please
apk toll
you may change if you with apktool do not work normal bilder....
Best of all you push originalbilder again in apk and try it over again
franck1135 said:
Solved Delete please
Click to expand...
Click to collapse
How!!?
I have this problem too.
hello mate
could u tell us how did u find the way ??... i have the same problem... the images are not defined....
share with us your experience and guide us.... tx
I figured this out with help from the apk manager thread. The problem seems to be related to corrupt image resources in non-stock apks and the solution I found was to decompile a stock framework-res.apk file and copy the png files from "drawable-hdpi" into the one you are working on.
Keep in mind that I am own a Samsung Epic so my experience might not be the same as yours. I was trying to edit and recompile the framework-res.apk from srf 1.1 rom.
I put the framework-res files from the srf and stock roms, plus the required touchwiz framwork file in on dir and did the following...
Code:
C:\apkedit>apktool if framework-res-srf.apk
C:\apkedit>apktool if twframework-res.apk
C:\apkedit>apktool d framework-res-srf.apk
C:\apkedit>apktool d framework-res-stock.apk
C:\apkedit>copy /y framework-res-stock\res\drawable-hdpi\*.png framework-res-srf
\res\drawable-hdpi
C:\apkedit>apktool b framework-res-srf
The first build resulted in the following error....
Code:
res\drawable-hdpi\statusbar_background.png:0: error: Resource entry statusbar_ba
ckground is already defined.
res\drawable-hdpi\statusbar_background.9.png:0: Originally defined here.
I fixed it by deleting res\drawable-hdpi\statusbar_background.png...
Code:
C:\apkedit>del framework-res-srf\res\drawable-hdpi\statusbar_background.png
C:\apkedit>apktool b framework-res-srf
Success!!
I then took the resources.arsc from the .\framework-res-srf\build\apk directory and replaced the one in the original apk file and my phone booted and the replaced strings showed up.
Thanx pall...i shall try it... i thought that my problems where comes from some problem with the path of java...

[Q]Help Needed From Experienced Themers

Decompiled SystemUI.apk with framework-res.apk as dependee
(freshly pulled .apks from phone)
Trying to compile Gets me this before it even asks me if it's a system app
Any thoughts?
fined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:51: error
: Public symbol drawable/stat_sys_data_fully_inandout_4g declared here is not de
fined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:52: error
: Public symbol drawable/stat_sys_data_fully_inandout_e declared here is not def
ined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:53: error
: Public symbol drawable/stat_sys_data_fully_inandout_g declared here is not def
ined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:54: error
: Public symbol drawable/stat_sys_data_fully_inandout_h declared here is not def
ined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:55: error
: Public symbol drawable/stat_sys_data_fully_out_1x declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:56: error
: Public symbol drawable/stat_sys_data_fully_out_3g declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:57: error
: Public symbol drawable/stat_sys_data_fully_out_4g declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:58: error
: Public symbol drawable/stat_sys_data_fully_out_e declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:59: error
: Public symbol drawable/stat_sys_data_fully_out_g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:60: error
: Public symbol drawable/stat_sys_data_fully_out_h declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:61: error
: Public symbol drawable/stat_sys_data_in_1x declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:62: error
: Public symbol drawable/stat_sys_data_in_3g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:63: error
: Public symbol drawable/stat_sys_data_in_4g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:379: erro
r: Public symbol drawable/stat_sys_data_in_4g_lte declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:64: error
: Public symbol drawable/stat_sys_data_in_e declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:65: error
: Public symbol drawable/stat_sys_data_in_g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:66: error
: Public symbol drawable/stat_sys_data_in_h declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:67: error
: Public symbol drawable/stat_sys_data_inadnout_e declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:68: error
: Public symbol drawable/stat_sys_data_inandout_1x declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:69: error
: Public symbol drawable/stat_sys_data_inandout_3g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:70: error
: Public symbol drawable/stat_sys_data_inandout_4g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:380: erro
r: Public symbol drawable/stat_sys_data_inandout_4g_lte declared here is not def
ined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:71: error
: Public symbol drawable/stat_sys_data_inandout_e declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:72: error
: Public symbol drawable/stat_sys_data_inandout_g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:73: error
: Public symbol drawable/stat_sys_data_inandout_h declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:74: error
: Public symbol drawable/stat_sys_data_out_1x declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:75: error
: Public symbol drawable/stat_sys_data_out_3g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:76: error
: Public symbol drawable/stat_sys_data_out_4g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:381: erro
r: Public symbol drawable/stat_sys_data_out_4g_lte declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:77: error
: Public symbol drawable/stat_sys_data_out_e declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:78: error
: Public symbol drawable/stat_sys_data_out_g declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:79: error
: Public symbol drawable/stat_sys_data_out_h declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:382: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_0 declared here is not defi
ned.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:383: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_0_fully declared here is no
t defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:384: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_1 declared here is not defi
ned.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:385: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_1_fully declared here is no
t defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:386: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_2 declared here is not defi
ned.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:387: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_2_fully declared here is no
t defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:388: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_3 declared here is not defi
ned.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:389: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_3_fully declared here is no
t defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:390: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_disconnected declared here
is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:391: erro
r: Public symbol drawable/stat_sys_data_wimax_signal_idle declared here is not d
efined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:80: error
: Public symbol drawable/stat_sys_gps_acquiring declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:5: error:
Public symbol drawable/stat_sys_gps_acquiring_anim declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:81: error
: Public symbol drawable/stat_sys_gps_on declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:392: erro
r: Public symbol drawable/stat_sys_mhp_connection_0 declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:393: erro
r: Public symbol drawable/stat_sys_mhp_connection_1 declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:394: erro
r: Public symbol drawable/stat_sys_mhp_connection_2 declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:395: erro
r: Public symbol drawable/stat_sys_mhp_connection_3 declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:396: erro
r: Public symbol drawable/stat_sys_mhp_connection_4 declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:397: erro
r: Public symbol drawable/stat_sys_mhp_connection_5 declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:398: erro
r: Public symbol drawable/stat_sys_mhp_stop declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:82: error
: Public symbol drawable/stat_sys_no_sim declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:83: error
: Public symbol drawable/stat_sys_r_signal_0 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:84: error
: Public symbol drawable/stat_sys_r_signal_0_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:85: error
: Public symbol drawable/stat_sys_r_signal_1 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:86: error
: Public symbol drawable/stat_sys_r_signal_1_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:87: error
: Public symbol drawable/stat_sys_r_signal_2 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:88: error
: Public symbol drawable/stat_sys_r_signal_2_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:89: error
: Public symbol drawable/stat_sys_r_signal_3 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:90: error
: Public symbol drawable/stat_sys_r_signal_3_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:91: error
: Public symbol drawable/stat_sys_r_signal_4 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:92: error
: Public symbol drawable/stat_sys_r_signal_4_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:93: error
: Public symbol drawable/stat_sys_ringer_silent declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:94: error
: Public symbol drawable/stat_sys_ringer_vibrate declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:95: error
: Public symbol drawable/stat_sys_roaming_cdma_0 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:6: error:
Public symbol drawable/stat_sys_roaming_cdma_flash declared here is not defined
.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:96: error
: Public symbol drawable/stat_sys_roaming_cdma_flash_anim0 declared here is not
defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:97: error
: Public symbol drawable/stat_sys_roaming_cdma_flash_anim1 declared here is not
defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:399: erro
r: Public symbol drawable/stat_sys_roaming_custom declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:7: error:
Public symbol drawable/stat_sys_roaming_custom_cdma_flash declared here is not
defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:98: error
: Public symbol drawable/stat_sys_signal_0 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:99: error
: Public symbol drawable/stat_sys_signal_0_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:100: erro
r: Public symbol drawable/stat_sys_signal_1 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:101: erro
r: Public symbol drawable/stat_sys_signal_1_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:102: erro
r: Public symbol drawable/stat_sys_signal_2 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:103: erro
r: Public symbol drawable/stat_sys_signal_2_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:104: erro
r: Public symbol drawable/stat_sys_signal_3 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:105: erro
r: Public symbol drawable/stat_sys_signal_3_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:106: erro
r: Public symbol drawable/stat_sys_signal_4 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:107: erro
r: Public symbol drawable/stat_sys_signal_4_fully declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:108: erro
r: Public symbol drawable/stat_sys_signal_flightmode declared here is not define
d.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:109: erro
r: Public symbol drawable/stat_sys_signal_null declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:400: erro
r: Public symbol drawable/stat_sys_signal_null_ho declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:110: erro
r: Public symbol drawable/stat_sys_tty_mode declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:111: erro
r: Public symbol drawable/stat_sys_wifi_signal_0 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:112: erro
r: Public symbol drawable/stat_sys_wifi_signal_1 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:113: erro
r: Public symbol drawable/stat_sys_wifi_signal_1_fully declared here is not defi
ned.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:114: erro
r: Public symbol drawable/stat_sys_wifi_signal_2 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:115: erro
r: Public symbol drawable/stat_sys_wifi_signal_2_fully declared here is not defi
ned.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:116: erro
r: Public symbol drawable/stat_sys_wifi_signal_3 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:117: erro
r: Public symbol drawable/stat_sys_wifi_signal_3_fully declared here is not defi
ned.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:118: erro
r: Public symbol drawable/stat_sys_wifi_signal_4 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:119: erro
r: Public symbol drawable/stat_sys_wifi_signal_4_fully declared here is not defi
ned.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:361: erro
r: Public symbol drawable/stat_vibrate_off declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:362: erro
r: Public symbol drawable/stat_vibrate_on declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:363: erro
r: Public symbol drawable/stat_wifi_ap_off declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:364: erro
r: Public symbol drawable/stat_wifi_ap_on declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:365: erro
r: Public symbol drawable/stat_wifi_off declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:366: erro
r: Public symbol drawable/stat_wifi_on declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:120: erro
r: Public symbol drawable/status_bar_background declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:121: erro
r: Public symbol drawable/status_bar_close_on declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:367: erro
r: Public symbol drawable/status_bar_header_background declared here is not defi
ned.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:368: erro
r: Public symbol drawable/status_bar_item_app_background_normal declared here is
not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:369: erro
r: Public symbol drawable/status_bar_item_background_focus declared here is not
defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:370: erro
r: Public symbol drawable/status_bar_item_background_normal declared here is not
defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:371: erro
r: Public symbol drawable/status_bar_item_background_pressed declared here is no
t defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:122: erro
r: Public symbol drawable/statusbar_background declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:123: erro
r: Public symbol drawable/title_bar_portrait declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:124: erro
r: Public symbol drawable/title_bar_shadow declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:372: erro
r: Public symbol drawable/zz_stat_sys_r_signal_5 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:373: erro
r: Public symbol drawable/zz_stat_sys_signal_5 declared here is not defined.
C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res\values\public.xml:13: error
: Public symbol drawable/zzz_stat_sys_battery_1 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\Jason\AppData\Local\Temp\A
PKTOOL3998964335368796013.tmp, -I, C:\Users\Jason\apktool\framework\1.apk, -S, C
:\Users\Jason\Desktop\APK\projects\SystemUI.apk\res, -M, C:\Users\Jason\Desktop\
APK\projects\SystemUI.apk\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\Jason\AppData\Local\Temp\APKTOOL3998964335368796013.tmp, -I, C:\Users\Jason
\apktool\framework\1.apk, -S, C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\r
es, -M, C:\Users\Jason\Desktop\APK\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Press any key to continue . . .
Not defined would most likely mean that the file isn't there no more.
I posted a fix for you over in the Drt-E-Kangwich theme thread =)

[GT-S6310][GUIDE] how to add lidroid 23toggles

Decompile SystemUI.apk
-Open ids.xml
-paste this code :
Code:
<item type="id" name="exp_power_stat">false</item>
-above code </resources>
-like this :
Code:
<item type="id" name="exp_power_stat">false</item>
</resources>
open tw_status_bar_expande.xml
-paste this ini,
Code:
<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
-above :
Code:
<HorizontalScrollView android:id="@id/quicksetting_scroller"
N change android:layout_height="0.0dip on <HorizontalScrollView android:id="@id/quicksetting_scroller"
-like this
Code:
[COLOR="Red"]
<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/COLOR]
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content" [COLOR="Red"]android:layout_height="0.0dip"[/COLOR]>
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
</HorizontalScrollView>
-Done,save
Recompile SystemUI.apk
Decompile SystemUI.apk again
-open PhoneStatusBar.smali
smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
-add code ++ [whitout++]
Code:
.field mPostCollapseCleanup:Ljava/lang/Runnable;
[COLOR="Red"]++.field mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;[/COLOR]
.field private mPreviousConfigFontScale:F
find:
Code:
# virtual methods
.method public addIcon(Ljava/lang/String;IILcom/android/internal/statusbar/StatusBarIcon;)V
.locals 5
-add code ++
Code:
invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
invoke-virtual {v1, v0, p3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
[COLOR="Red"]++iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
++invoke-virtual {v1}, Lcom/wanam/systemui/quickpanel/PowerWidget;->updateWidget()V[/COLOR]
.line 1170
return-void
.end method
-open Public.xml
SystemUI.apk/res/values/public.xml
-find :
public type="id" name="exp_power_stat"
Click to expand...
Click to collapse
put hex public exp_power_stat
Code:
<public type="id" name="exp_power_stat" id="[COLOR="Red"]0x7f0d012e[/COLOR]" />
find method
Code:
.method protected makeStatusBarView()Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
-Scroll down and find this code
Code:
.line 714
new-instance v9, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;
iget-object v10, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
invoke-direct {v9, p0, v1, v10}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V
iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTicker:Lcom/android/systemui/statusbar/phone/Ticker;
-the above code
paste this,
Code:
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;
.line 444
const v10, [COLOR="Red"]0x7f0d012e[/COLOR]
invoke-virtual {v9, v10}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;
.line 445
move-result-object v9
check-cast v9, Lcom/wanam/systemui/quickpanel/PowerWidget;
iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
RED CODE ,PUBLIC "exp_power_stat"
Click to expand...
Click to collapse
next, find :
Code:
.line 869
const-string v9, "android.intent.action.SCREEN_ON"
invoke-virtual {v2, v9}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
.line 872
:cond_7
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
-add code ++
Code:
.line 872
:cond_7
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
[COLOR="Red"] ++iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
++invoke-virtual {v9}, Lcom/wanam/systemui/quickpanel/PowerWidget;->setupWidget()V
[/COLOR]
-Save,
open "AndroidManifest.xml"
-find
Code:
<manifest android:versioncode=16 android:versionname="4.1.2-blablabla.."
-add code
Code:
android:sharedUserId="android.uid.system" android:process="system"
-between
Code:
<manifest android:versioncode=16
-like this :
Code:
<manifest [COLOR="Red"]android:sharedUserId="android.uid.system" android:process="system"[/COLOR] android:versionCode="16" android:versionName="4.1.2-blablabla.."
-find
Code:
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
-below code
add this,
Code:
<uses-permission android:name="android.permission.CAMERA" />
SAVE,RECOMPILE,SIGN,PUSH TO SYSTEM
NEED SIGN, OR DISABLE CHECK SIGNATURE APPS [SERVICE.JAR]
READ HERE : http://forum.xda-developers.com/showthread.php?t=1621289
Download file :
smali :
http://d-h.st/45p
lidroid-res & lidroidsettings:
http://d-h.st/HIa
Credit :
-LIDROID
-WANAM
-Adi Aisiteru Reborn
if You like my GUIDE
Please pool n rate my Device to have Sub Forum
here :
http://forum.xda-developers.com/show....php?t=2550846
Having trouble in recompiling...
I'm using dual sim varient GT-S6312. Decompiled Successfully. But Having These errors when i try to recompile. Please help. I can provide you my systemui.apk, framework-res.apk and anything you need. please compile one forme.
text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1614: error: Public symbol id/new_mobi
le_combo declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1639: error: Public symbol id/noNotifi
cationsText declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1638: error: Public symbol id/noNotifi
cationsTitle declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1533: error: Public symbol id/notifica
tionArea declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1643: error: Public symbol id/notifica
tionCart declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1455: error: Public symbol id/notifica
tionIcons declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1645: error: Public symbol id/notifica
tionItems declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1559: error: Public symbol id/notifica
tionTrigger declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1423: error: Public symbol id/notifica
tion_adaptive_wrapper declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1573: error: Public symbol id/notifica
tion_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1453: error: Public symbol id/notifica
tion_icon_area declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1705: error: Public symbol id/notifica
tion_inspect_item declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1451: error: Public symbol id/notifica
tion_lights_out declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1464: error: Public symbol id/notifica
tion_panel declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1565: error: Public symbol id/notifica
tion_scroller declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1474: error: Public symbol id/number d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1640: error: Public symbol id/onGoingC
art declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1642: error: Public symbol id/onGoingI
tems declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1641: error: Public symbol id/onGoingN
otificationText declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1629: error: Public symbol id/operator
LogoIcon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1393: error: Public symbol id/padding
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1575: error: Public symbol id/preview
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1694: error: Public symbol id/quick_la
unch declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1646: error: Public symbol id/quickpan
el_dualsim_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1636: error: Public symbol id/quickset
ting_container declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1635: error: Public symbol id/quickset
ting_scroller declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1613: error: Public symbol id/readingm
ode_checkbox declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1612: error: Public symbol id/readingm
ode_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1417: error: Public symbol id/recent_a
pps declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1707: error: Public symbol id/recent_i
nspect_item declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1511: error: Public symbol id/recent_i
tem declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1706: error: Public symbol id/recent_r
emove_item declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1439: error: Public symbol id/recents_
RemoveAll_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1435: error: Public symbol id/recents_
bg_protect declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1515: error: Public symbol id/recents_
callout_line declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1436: error: Public symbol id/recents_
container declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1438: error: Public symbol id/recents_
google_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1437: error: Public symbol id/recents_
launch_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1517: error: Public symbol id/recents_
linear_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1440: error: Public symbol id/recents_
no_apps declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1656: error: Public symbol id/recents_
no_apps_string declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1433: error: Public symbol id/recents_
root declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1434: error: Public symbol id/recents_
transition_background declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1516: error: Public symbol id/recents_
transition_placeholder_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1599: error: Public symbol id/right_ic
on declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1631: error: Public symbol id/right_ic
ons declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1413: error: Public symbol id/rot0 dec
lared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1422: error: Public symbol id/rot270 d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1421: error: Public symbol id/rot90 de
clared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1585: error: Public symbol id/rotate d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1588: error: Public symbol id/rotate_c
heckbox declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1586: error: Public symbol id/rotate_i
con declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1587: error: Public symbol id/rotate_l
abel declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1589: error: Public symbol id/rotate_s
eparator declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1471: error: Public symbol id/rotation
_lock_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1443: error: Public symbol id/s_app_ic
on declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1442: error: Public symbol id/s_app_ic
on_parent declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1444: error: Public symbol id/s_app_la
bel declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1441: error: Public symbol id/s_app_pa
nel_apps_item_parent declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1447: error: Public symbol id/s_apps_c
ontainer declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1448: error: Public symbol id/s_apps_c
ontainer_settings declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1446: error: Public symbol id/s_apps_p
arent declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1445: error: Public symbol id/s_recent
s_bg_protect declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1467: error: Public symbol id/scroll d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1634: error: Public symbol id/scrollCa
rt declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1519: error: Public symbol id/search_b
g_protect declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1518: error: Public symbol id/search_p
anel_container declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1615: error: Public symbol id/separate
_mobile declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1617: error: Public symbol id/separate
_mobile_inout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1616: error: Public symbol id/separate
_mobile_type declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1595: error: Public symbol id/settings
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1472: error: Public symbol id/settings
_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1655: error: Public symbol id/settings
_button_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1700: error: Public symbol id/settings
_label declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1701: error: Public symbol id/settings
_underline declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1660: error: Public symbol id/shortcut
1_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1659: error: Public symbol id/shortcut
1_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1661: error: Public symbol id/shortcut
1_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1663: error: Public symbol id/shortcut
2_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1662: error: Public symbol id/shortcut
2_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1664: error: Public symbol id/shortcut
2_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1666: error: Public symbol id/shortcut
3_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1665: error: Public symbol id/shortcut
3_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1667: error: Public symbol id/shortcut
3_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1669: error: Public symbol id/shortcut
4_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1668: error: Public symbol id/shortcut
4_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1670: error: Public symbol id/shortcut
4_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1657: error: Public symbol id/shortcut
_line declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1457: error: Public symbol id/signal_b
atException in thread "main" tery_cluster declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1458: error: Public symbol id/signal_c
luster declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1618: error: Public symbol id/sim_icon
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1527: error: Public symbol id/slider d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1690: error: Public symbol id/slider_g
roup declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1692: error: Public symbol id/slider_s
plit declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1691: error: Public symbol id/slider_s
plit_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1693: error: Public symbol id/slider_s
plit_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1678: error: Public symbol id/smallVie
ws declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1677: error: Public symbol id/smallVie
ws_parent declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1427: error: Public symbol id/spacer d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1456: error: Public symbol id/statusIc
ons declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1450: error: Public symbol id/status_b
ar declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1528: error: Public symbol id/status_b
ar_container declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1577: error: Public symbol id/status_b
ar_touch_proxy declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1563: error: Public symbol id/system_b
ar_notification_panel_bottom_space declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1703: error: Public symbol id/systemno
ti declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1598: error: Public symbol id/text dec
lared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1683: error: Public symbol id/thumbnai
l declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1461: error: Public symbol id/ticker d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1462: error: Public symbol id/tickerIc
on declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1463: error: Public symbol id/tickerTe
xt declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1600: error: Public symbol id/ticker_e
xpanded declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1633: error: Public symbol id/ticker_t
ext_view_new declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1632: error: Public symbol id/ticker_t
ext_view_old declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1566: error: Public symbol id/title_ar
ea declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1525: error: Public symbol id/toggle d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1506: error: Public symbol id/top_glow
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1695: error: Public symbol id/traybar_
handler declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1601: error: Public symbol id/traybar_
handler0 declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1602: error: Public symbol id/traybar_
handler90 declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1552: error: Public symbol id/use_phys
ical_keyboard_label declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1392: error: Public symbol id/user_col
lapsed_tag declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1390: error: Public symbol id/user_exp
anded_tag declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1391: error: Public symbol id/user_loc
k_tag declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1507: error: Public symbol id/veto dec
lared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1399: error: Public symbol id/view_cen
ter_bar declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1400: error: Public symbol id/view_cen
ter_bar_arrow declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1394: error: Public symbol id/warning_
text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1424: error: Public symbol id/wifi_com
bo declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1570: error: Public symbol id/wifi_dir
ection declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1569: error: Public symbol id/wifi_ico
n declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1426: error: Public symbol id/wifi_ino
ut declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1425: error: Public symbol id/wifi_sig
nal declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1571: error: Public symbol id/wifi_tex
t declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1698: error: Public symbol id/wifidire
ct declared here is not defined.
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-s
dk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL68445917489919198
30.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\apktool\S
ystemUI\res, -M, C:\apktool\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Shampod\AppData\Local\Temp\APKTOOL6844591748991919830.tmp, -0, arsc, -I,
C:\Users\Shampod\apktool\framework\1.apk, -S, C:\apktool\SystemUI\res, -M, C:\ap
ktool\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp
\APKTOOL6844591748991919830.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framewor
k\1.apk, -S, C:\apktool\SystemUI\res, -M, C:\apktool\SystemUI\AndroidManifest.xm
l]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\apktool>
Help
Dear developers....
I'm continuously getting these error for compiling SystemUI.apk. I just decompiled my stock SystemUI.apk in several ways like apktool, AndroidMultitool and few other methods. all of them successfully decompile. But when i want to recompile it shows the following errror every time. even i dont modify my SystemUI.apk it showsthe same errror. Please help me.
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'am' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'quickpanel_data_roaming_disable_toast' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'quickpanel_data_roaming_enable_toast' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'today' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarNotificationText').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarNotificationText').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarNotificationText').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL7479172 192445785852.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\AndroidMultitool\Decompiled_apk\SystemUI\res, -M, C:\AndroidMultitool\Decompiled_apk\SystemUI\Androi dManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:353)
at brut.androlib.Androlib.buildResources(Androlib.jav a:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL7479172 192445785852.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\AndroidMultitool\Decompiled_apk\SystemUI\res, -M, C:\AndroidMultitool\Decompiled_apk\SystemUI\Androi dManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL7479172 192445785852.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\AndroidMultitool\Decompiled_apk\SystemUI\res, -M, C:\AndroidMultitool\Decompiled_apk\SystemUI\Androi dManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:404)
... 6 more
The system cannot find the file specified.
The system cannot find the file specified.
shampod said:
Dear developers....
I'm continuously getting these error for compiling SystemUI.apk. I just decompiled my stock SystemUI.apk in several ways like apktool, AndroidMultitool and few other methods. all of them successfully decompile. But when i want to recompile it shows the following errror every time. even i dont modify my SystemUI.apk it showsthe same errror. Please help me. :
Click to expand...
Click to collapse
Add this to styles.xml above </resources>
<style name="StatusBarNotificationText" />
<style name="StatusBarPanelSettingsRow" />
<style name="StatusBarPanelSettingsPanelSeparator" />
<style name="StatusBarPanelSettingsContents" />
<style name="StatusBarPanelSettingsIcon" />
</resources>
try again to recompile..
goodluck
dugeriss said:
-open PhoneStatusBar.smali
smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
-add code ++ [whitout++]
Code:
.field mPostCollapseCleanup:Ljava/lang/Runnable;
[COLOR="Red"]++.field mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;[/COLOR]
.field private mPreviousConfigFontScale:F
find:
Code:
# virtual methods
-add code ++
Code:
invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
invoke-virtual {v1, v0, p3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
[COLOR="Red"]++iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
++invoke-virtual {v1}, Lcom/wanam/systemui/quickpanel/PowerWidget;->updateWidget()V[/COLOR]
.line 1170
return-void
.end method
-open Public.xml
SystemUI.apk/res/values/public.xml
-find :
put hex public exp_power_stat
Code:
<public type="id" name="exp_power_stat" id="[COLOR="Red"]0x7f0d012e[/COLOR]" />
find method
Code:
.method protected makeStatusBarView()Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
-Scroll down and find this code
Code:
.line 714
new-instance v9, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;
iget-object v10, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
invoke-direct {v9, p0, v1, v10}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V
iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTicker:Lcom/android/systemui/statusbar/phone/Ticker;
-the above code
paste this,
Code:
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;
.line 444
const v10, [COLOR="Red"]0x7f0d012e[/COLOR]
invoke-virtual {v9, v10}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;
.line 445
move-result-object v9
check-cast v9, Lcom/wanam/systemui/quickpanel/PowerWidget;
iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
next, find :
Code:
.line 869
const-string v9, "android.intent.action.SCREEN_ON"
invoke-virtual {v2, v9}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
.line 872
:cond_7
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
-add code ++
Code:
.line 872
:cond_7
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
[COLOR="Red"] ++iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
++invoke-virtual {v9}, Lcom/wanam/systemui/quickpanel/PowerWidget;->setupWidget()V
[/COLOR]
-Save,
open "AndroidManifest.xml"
-find
Code:
<manifest android:versioncode=16 android:versionname="4.1.2-blablabla.."
-add code
Code:
android:sharedUserId="android.uid.system" android:process="system"
-between
Code:
<manifest android:versioncode=16
-like this :
Code:
<manifest [COLOR="Red"]android:sharedUserId="android.uid.system" android:process="system"[/COLOR] android:versionCode="16" android:versionName="4.1.2-blablabla.."
-find
Code:
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
-below code
add this,
Code:
<uses-permission android:name="android.permission.CAMERA" />
SAVE,RECOMPILE,SIGN,PUSH TO SYSTEM
Click to expand...
Click to collapse
Not Clear from here. please make it more simplified that i can easily understand. I found my PhoneStatusBar.smali is little diffrent on my GT-S6312. please help me. i provided my systemui.apk, framework-res.apk and twframework-res in the attachment.
Error Again...!
dugeriss said:
Add this to styles.xml above </resources>
<style name="StatusBarNotificationText" />
<style name="StatusBarPanelSettingsRow" />
<style name="StatusBarPanelSettingsPanelSeparator" />
<style name="StatusBarPanelSettingsContents" />
<style name="StatusBarPanelSettingsIcon" />
</resources>
try again to recompile..
goodluck
Click to expand...
Click to collapse
Thank you dear. But again got stuck again. i got the following error.
I: Checking whether sources has changed...
I: Smaling...
[10743,4] The register number must be less than v16
[10746,4] All register args must fit in 4 bits
[10748,4] mismatched tree node: I_STATEMENT_FORMAT21t expecting I_CATCHES
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\AndroidMultitool\Decompiled_apk\SystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:36)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:256)
at brut.androlib.Androlib.buildSources(Androlib.java:217)
at brut.androlib.Androlib.build(Androlib.java:208)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
The system cannot find the file specified.
The system cannot find the file specified.
shampod said:
Not Clear from here. please make it more simplified that i can easily understand. I found my PhoneStatusBar.smali is little diffrent on my GT-S6312. please help me. i provided my systemui.apk, framework-res.apk and twframework-res in the attachment.
Click to expand...
Click to collapse
try this, http://d-h.st/hKX
awesome bro, :good:
Denz Juand said:
awesome bro, :good:
Click to expand...
Click to collapse
ur welcome sir!
dugeriss said:
ur welcome sir!
Click to expand...
Click to collapse
can try this guide for GB??
Denz Juand said:
can try this guide for GB??
Click to expand...
Click to collapse
NO sir, different source with GB, like dormant mode, powersaving mode, etc
ok ,thanks u sir, btw how to grid lidroid on GB,
sorry i cant coment on your trhead about grid lidroid :crying:
Denz Juand said:
ok ,thanks u sir, btw how to grid lidroid on GB,
sorry i cant coment on your trhead about grid lidroid :crying:
Click to expand...
Click to collapse
i think same with JB guide
try here sir ; http://forum.xda-developers.com/showpost.php?p=44182527&postcount=38
dugeriss said:
i think same with JB guide
try here sir ; http://forum.xda-developers.com/showpost.php?p=44182527&postcount=38
Click to expand...
Click to collapse
woah.. thnks u very very much, very helpfull :good:
---------- Post added at 08:20 PM ---------- Previous post was at 07:54 PM ----------
dugeriss said:
i think same with JB guide
try here sir ; http://forum.xda-developers.com/showpost.php?p=44182527&postcount=38
Click to expand...
Click to collapse
working sir , thnks :good:
Denz Juand said:
woah.. thnks u very very much, very helpfull :good:
---------- Post added at 08:20 PM ---------- Previous post was at 07:54 PM ----------
working sir , thnks :good:
Click to expand...
Click to collapse
thnks for fb
dugeriss said:
thnks for fb
Click to expand...
Click to collapse
:highfive:
Up papah
Sent from my GT-S6310 using XDA Premium 4 mobile app
belel69 said:
Up papah
Sent from my GT-S6310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
up for whatn
dugeriss said:
up for whatn
Click to expand...
Click to collapse
for future
up again

PROBLEM IN COMPILING systemUI.apk of my moto g(2014)

ok so i read how to port home button animations fro google pixel to other phones so i decided to try it out on my moto g 2014 running CM 14.1
i downloaded latest apktool and also installed latest java runtime but whenever i try to recompile my systemui.apk after decompiling andporting the recources it gives error
K:\1pixel_project\m\Apktool>java -jar apktool.jar b SystemUI -c
I: Using Apktool 2.2.1
I: Checking whether resources has changed...
I: Building resources...
W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2126: error: Error
retrieving parent for item: No resource found that matches the given name '@and
roid:style/TextAppearance.StatusBar'.
W:
W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2127: error: Error
retrieving parent for item: No resource found that matches the given name '@and
roid:style/TextAppearance.StatusBar'.
W:
W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2132: error: Error
retrieving parent for item: No resource found that matches the given name '@and
roid:style/TextAppearance.StatusBar'.
W:
W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2142: error: Error
retrieving parent for item: No resource found that matches the given name '@and
roid:style/TextAppearance.StatusBar'.
W:
W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2352: error: Error
retrieving parent for item: No resource found that matches the given name '@and
roid:style/Theme.DeviceDefault.Light.Dialog.NoActionBar.FixedSize'.
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec (exit code = 1): [C:\User
s\almash\AppData\Local\Temp\brut_util_Jar_6240443644379257488.tmp, p, --forced-p
ackage-id, 127, --min-sdk-version, 25, --target-sdk-version, 25, --version-code,
25, --version-name, 7.1, -F, C:\Users\almash\AppData\Local\Temp\APKTOOL88538327
96008194591.tmp, -0, arsc, -0, arsc, -I, C:\Users\almash\AppData\Local\apktool\f
ramework\1.apk, -S, K:\1pixel_project\m\Apktool\SystemUI\res, -M, K:\1pixel_proj
ect\m\Apktool\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478)
at brut.androlib.Androlib.buildResources(Androlib.java:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec (exit code = 1): [C:\Users\almash\AppData\Local\Temp\brut_util_Jar_6240443
644379257488.tmp, p, --forced-package-id, 127, --min-sdk-version, 25, --target-s
dk-version, 25, --version-code, 25, --version-name, 7.1, -F, C:\Users\almash\App
Data\Local\Temp\APKTOOL8853832796008194591.tmp, -0, arsc, -0, arsc, -I, C:\Users
\almash\AppData\Local\apktool\framework\1.apk, -S, K:\1pixel_project\m\Apktool\S
ystemUI\res, -M, K:\1pixel_project\m\Apktool\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\
almash\AppData\Local\Temp\brut_util_Jar_6240443644379257488.tmp, p, --forced-pac
kage-id, 127, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 2
5, --version-name, 7.1, -F, C:\Users\almash\AppData\Local\Temp\APKTOOL8853832796
008194591.tmp, -0, arsc, -0, arsc, -I, C:\Users\almash\AppData\Local\apktool\fra
mework\1.apk, -S, K:\1pixel_project\m\Apktool\SystemUI\res, -M, K:\1pixel_projec
t\m\Apktool\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:433)
... 6 more
i am running windows 8.1 ... please someone help me what i am doing wrong
probabaly its a noobish mistake
PLEASE HELP:crying:

Categories

Resources