Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,742 Members 37,640 Now Online
XDA Developers Android and Mobile Development Forum

[Q] [REQ] Modifing stock SystemUi.apk

Tip us?
 
Switiz
Old
#1  
Switiz's Avatar
Member - OP
Thanks Meter 19
Posts: 42
Join Date: Sep 2012
Prompt [Q] [REQ] Modifing stock SystemUi.apk

Hey guys




Since I'm a noob in editing apk's (everything has a start ) ,I see myself forced to ask you to help me with my problem.

I'm trying to make a IOS7 "like" status bar,and so far I only did the icon part (the easy one ),but I want to do more.
I wanna center the clock (and make it a little smaller) and move the signal and the wifi icons to the left (just like IOS7)

My problem is 1.I don't know how and 2.I tried to decompile the systemui.apk (after installing framework-res.apk and twframework-res.apk - cauze I'm on samsung stock rom) ,everything's ok but if I wanna compile it - Even if I don't touch nothing ,just decompile and compile - I get this error

PHP Code:
C:\apktool>apktool b systemui systemui1.apk
I
Using Apktool 2.0.0-Beta9 on systemui
W
Could not find sources
I
Checking whether resources has changed...
IBuilding resources...
C:\apktool\systemui\res\layout\system_bar_notification_panel_title.xml:14error
ErrorNo resource found that matches the given name (at 'style' with value '@
style/SystemBarNotificationText'
).
C:\apktool\systemui\res\layout\system_bar_notification_panel_title.xml:19error
ErrorNo resource found that matches the given name (at 'style' with value '@
style/SystemBarNotificationText'
).
C:\apktool\systemui\res\layout\system_bar_notification_panel_title.xml:21error
ErrorNo resource found that matches the given name (at 'style' with value '@
style/SystemBarNotificationText'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:5errorErrorNo
resource found that matches the given name 
(at 'style' with value '@style/System
BarPanelSettingsRow'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:6errorErrorNo
resource found that matches the given name 
(at 'style' with value '@style/System
BarPanelSettingsIcon'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:7errorErrorNo
resource found that matches the given name 
(at 'style' with value '@style/System
BarPanelSettingsContents'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:10errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:11errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsRow'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:12errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsIcon'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:13errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsContents'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:15errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:16errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsRow'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:17errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsIcon'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:18errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsContents'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:21errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:22errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsRow'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:23errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsIcon'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:26errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:27errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsRow'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:28errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsIcon'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:29errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsContents'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:32errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:33errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsRow'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:34errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsIcon'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:35errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsContents'
).
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:37errorErrorNo
 resource found that matches the given name 
(at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator'
).
Exception in thread "main" brut.androlib.AndrolibExceptionbrut.androlib.Androl
ibException
brut.common.BrutExceptioncould not exec command: [C:\Users\Thor\A
ppData
\Local\Temp\brut_util_Jar_5043757027982392701.tmpp, --forced-package-id,
 
127, --min-sdk-version18, --target-sdk-version18, --version-code18, --ver
sion
-name4.3-I9300XXUGNA5, -FC:\Users\Thor\AppData\Local\Temp\APKTOOL3701335
733549224557.tmp
, -0arsc, -IC:\Users\Thor\apktool\framework\1.apk, -SC:\ap
ktool
\systemui\res, -MC:\apktool\systemui\AndroidManifest.xml]
        
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
        
at brut.androlib.Androlib.buildResources(Androlib.java:363)
        
at brut.androlib.Androlib.build(Androlib.java:286)
        
at brut.androlib.Androlib.build(Androlib.java:258)
        
at brut.apktool.Main.cmdBuild(Main.java:236)
        
at brut.apktool.Main.main(Main.java:88)
Caused bybrut.androlib.AndrolibExceptionbrut.common.BrutExceptioncould not
 exec command
: [C:\Users\Thor\AppData\Local\Temp\brut_util_Jar_50437570279823927
01.tmp
p, --forced-package-id127, --min-sdk-version18, --target-sdk-version
18, --version-code18, --version-name4.3-I9300XXUGNA5, -FC:\Users\Thor\Ap
pData
\Local\Temp\APKTOOL3701335733549224557.tmp, -0arsc, -IC:\Users\Thor\apk
tool
\framework\1.apk, -SC:\apktool\systemui\res, -MC:\apktool\systemui\Andro
idManifest
.xml]
        
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a
:470)
        
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
        ... 
5 more
Caused by
brut.common.BrutExceptioncould not exec command: [C:\Users\Thor\App
Data
\Local\Temp\brut_util_Jar_5043757027982392701.tmpp, --forced-package-id1
27
, --min-sdk-version18, --target-sdk-version18, --version-code18, --versi
on
-name4.3-I9300XXUGNA5, -FC:\Users\Thor\AppData\Local\Temp\APKTOOL370133573
3549224557.tmp
, -0arsc, -IC:\Users\Thor\apktool\framework\1.apk, -SC:\apkt
ool
\systemui\res, -MC:\apktool\systemui\AndroidManifest.xml]
        
at brut.util.OS.exec(OS.java:89)
        
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a
:464)
        ... 
6 more

C
:\apktool




So,can any1 please help me with my request ? or at least someone to tell me how to not get that stupid error xD ?
In attach is my SystemUI.apk (it's the stock one from Galaxy S3 version I9300XXUGNA8 ) and the moddified one (only some png's changed,nothing more)




Thank you in advance
Attached Files
File Type: apk SystemUI.apk - [Click for QR Code] (3.81 MB, 2 views)
File Type: apk SystemUI - original.apk - [Click for QR Code] (3.70 MB, 2 views)
 
Switiz
Old
#2  
Switiz's Avatar
Member - OP
Thanks Meter 19
Posts: 42
Join Date: Sep 2012
Up

Help plz.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes