Editing Clock Android

Standard
Edit Statusbar (Modified Statusbar)
1. Jam di Tengah (Center Clock)

TUTS Decompile-Compile SystemUI.apk

Decompile
Buka : SystemUI\res\layout\status_bar.xml
Cari kata-kata ini :

<com.android.systemui.statusbar.policy.Clock android:textAppearance=”@style/TextAppearance.StatusBar.Clock” android:gravity=”left|center” android:id=”@id/clock” android:paddingLeft=”6.0dip” android:layout_width=”wrap_content” android:layout_height=”fill_parent” android:singleLine=”true” />

Ganti dengan ini :

<com.android.systemui.statusbar.policy.Clock android:id=”@id/clock” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:gravity=”center_horizontal|center” android:textAppearance=”@style/TextAppearance.StatusBar.Clock” android:singleLine=”true” />

Pindahkan ke line 5 atau di bawah kata-kata ini :

xmlns:systemui=”http://schemas.android.com/apk/res/com.android.systemui“>

Compile
Happy Modding…

2. Menambahkan Detik Jam dan bikin jam analog

TUTS Decompile-Compile SystemUI.apk

Decompile
Buka : SystemUI\res\layout\status_bar.xml
Cari kata-kata ini :

<com.android.systemui.statusbar.policy.Clock …

Ganti dengan ini :

<DigitalClock … (untuk tampilan digitalnya)

Compile

<AnalogClock …. (untuk tampilan analog)
Happy Modding…

 

Source

Advertisements

29 thoughts on “Editing Clock Android

      • imam

        kaya gini bro I: Smaling…
        I: Building resources…
        /sdcard/apktool/apktool/SystemUI_src/res/layout/status_bar.xml:5: error: Error parsing XML: not well-formed (invalid token)
        Exception in thread “main” brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, –min-sdk-version, 16, –target-sdk-version, 16, -F, /data/data/per.pqy.apktool/APKTOOL2578020975260805264.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/apktool/SystemUI_src/res, -M, /sdcard/apktool/apktool/SystemUI_src/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: [/data/data/per.pqy.apktool/lix/aapt, p, –min-sdk-version, 16, –target-sdk-version, 16, -F, /data/data/per.pqy.apktool/APKTOOL2578020975260805264.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/apktool/SystemUI_src/res, -M, /sdcard/apktool/apktool/SystemUI_src/AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
        … 5 more
        Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, –min-sdk-version, 16, –target-sdk-version, 16, -F, /data/data/per.pqy.apktool/APKTOOL2578020975260805264.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/apktool/SystemUI_src/res, -M, /sdcard/apktool/apktool/SystemUI_src/AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:89)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
        … 6 more

        ane pke apktool android,, klo di apktool pc bener smua

  1. anonymous

    compile dan decompile itu sama kan sama extract n archived ?? trs d jdiin .apk lg ??
    ane udh nyoba pgn buat jam jadi analog di stock rom jb 4.2
    tp systemui crash ..
    pncerahan gan ….

  2. tovha

    gan saya cari tulisan ini kok gak ada ya
    xmlns:systemui=”http://schemas.android.com/apk/res/com.android.systemui“>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s