Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE] [MODS] Collection of mods for all gingerbread[2.3] phones...

OP lokeshsaini94

27th September 2012, 01:14 PM   |  #1  
lokeshsaini94's Avatar
OP Recognized Contributor / Themer
Flag Behind you!!!
Thanks Meter: 3,703
 
1,775 posts
Join Date:Joined: May 2012
Donate to Me
More
CREDITS:-
Master&Slave™ FOR MAKING ME UNDERSTAND ABOUT FEW STATUS BAR TWEAKS.
b16h22 FOR Settings Shortcut in StatusBar.
petrukgrinder for jelly bean style time, date in status bar
toxic77 for ICS Sliders and ICS Progress bar
evanlocked for Recent app Shortcut in StatusBar

WHAT YOU NEED:-
1. A COMPUTER AND A ROOTED AND DEODEXED SAMSUNG GALAXY ACE PLUS...
2. FILES MENTIONED IN EACH MOD CAN BE FOUND IN system/app OR system/framework FOLDERS OR OTHER FOLDERS AS MENTIONED IN EACH MOD.
3. LEARN EDITING APK FILES WITH apktool or similar. try this guide by me for how to compile/decompile apk files
4. notepad++ TO EDIT XML AND OTHER FILES.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~STATUS BAR MODS~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Center Clock

  1. Decompile systemui.apk with apktool or similar.
  2. Go to SystemUI.apk\res\layout\ and open status_bar.xml with notepad++
  3. Search for this line and remove it:-
    Code:
    <com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
  4. Search for this line
    Code:
      xmlns:android="http://schemas.android.com/apk/res/android">
  5. Paste these lines after the above line
    Code:
        <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>
  6. Save the file and close it. The whole status_bar.xml would look like this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>
        <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        </LinearLayout>
        <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            </ImageSwitcher>
            <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            </com.android.systemui.statusbar.TickerView>
        </LinearLayout>
        <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </com.android.systemui.statusbar.StatusBarView>
  7. Now compile back apk file and push back to system/app.


2. No Clock

  1. Decompile systemui.apk with apktool or similar.
  2. Go to SystemUI.apk\res\layout\ and open status_bar.xml with notepad++
  3. Search for this line and remove it:-
    Code:
    <com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
  4. Save the file and close it. The whole status_bar.xml would look like this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        </LinearLayout>
        <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            </ImageSwitcher>
            <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            </com.android.systemui.statusbar.TickerView>
        </LinearLayout>
        <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </com.android.systemui.statusbar.StatusBarView>
  5. Now compile back apk file and push back to system/app.


3. No Date

  1. Decompile systemui.apk with apktool or similar.
  2. Go to SystemUI.apk\res\layout\ and open status_bar.xml with notepad++
  3. Search for this line and remove it:-
    Code:
    <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
  4. Save the file and close it. The whole status_bar.xml would look like this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
            <com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>
        <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            </ImageSwitcher>
            <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
                <TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            </com.android.systemui.statusbar.TickerView>
        </LinearLayout>
    </com.android.systemui.statusbar.StatusBarView>
  5. Now compile back apk file and push back to system/app.



4. Pulldown Clock/Center Clear Button

4.1 Pulldown Clock
  1. Decompile systemui.apk with apktool or similar.
  2. Go to SystemUI.apk\res\layout\ and open status_bar_expanded.xml with notepad++
  3. Search for this line
    Code:
            <TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="7.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
  4. Replace above line with this
    Code:
            <com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
  5. Save the file and close it. The whole status_bar_expanded.xml would look like this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
            <com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="@color/status_bar_carrier_label_text" android:layout_gravity="center_vertical" android:id="@id/carrier_label" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
            <com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>
        <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
            <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
                <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_no_notifications_title" />
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_ongoing_events_title" />
                    <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_latest_events_title" />
                    <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                </com.android.systemui.statusbar.NotificationLinearLayout>
            </ScrollView>
            <ImageView android:id="@id/title_bar_shadow" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
        </FrameLayout>
    </com.android.systemui.statusbar.ExpandedView>
  6. Now compile back apk file and push back to system/app.


4.2 Center Clear Button
  1. Decompile systemui.apk with apktool or similar.
  2. Go to SystemUI.apk\res\layout\ and open status_bar_expanded.xml with notepad++
  3. Search for this line and remove it
    Code:
            <TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="7.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
  4. Search for this line
    Code:
                </com.android.systemui.statusbar.NotificationLinearLayout>
  5. Paste these lines before the above line
    Code:
           		 <TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="7.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
  6. Save the file and close it. The whole status_bar_expanded.xml would look like this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
            <com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="@color/status_bar_carrier_label_text" android:layout_gravity="center_vertical" android:id="@id/carrier_label" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
        </LinearLayout>
        <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
            <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
                <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_no_notifications_title" />
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_ongoing_events_title" />
                    <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_latest_events_title" />
                    <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                                    <TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="7.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
                </com.android.systemui.statusbar.NotificationLinearLayout>
            </ScrollView>
            <ImageView android:id="@id/title_bar_shadow" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
        </FrameLayout>
    </com.android.systemui.statusbar.ExpandedView>
  7. Now compile back apk file and push back to system/app.



5. Remove Carrier logo

  1. Decompile systemui.apk with apktool or similar.
  2. Go to SystemUI.apk\res\layout\ and open status_bar_expanded.xml with notepad++
  3. Search for this line and remove it
    Code:
            <com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="@color/status_bar_carrier_label_text" android:layout_gravity="center_vertical" android:id="@id/carrier_label" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
  4. Save the file and close it. The whole status_bar_expanded.xml would look like this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
            <TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="7.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
        </LinearLayout>
        <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
            <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
                <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_no_notifications_title" />
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_ongoing_events_title" />
                    <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_latest_events_title" />
                    <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                </com.android.systemui.statusbar.NotificationLinearLayout>
            </ScrollView>
            <ImageView android:id="@id/title_bar_shadow" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
        </FrameLayout>
    </com.android.systemui.statusbar.ExpandedView>
  5. Now compile back apk file and push back to system/app.
Last edited by lokeshsaini94; 13th June 2013 at 11:14 PM.
The Following 66 Users Say Thank You to lokeshsaini94 For This Useful Post: [ View ]
27th September 2012, 06:38 PM   |  #2  
lokeshsaini94's Avatar
OP Recognized Contributor / Themer
Flag Behind you!!!
Thanks Meter: 3,703
 
1,775 posts
Join Date:Joined: May 2012
Donate to Me
More
6. Carrier logo in bottom of status bar

  1. Decompile systemui.apk with apktool or similar.
  2. Go to SystemUI.apk\res\layout\ and open status_bar_expanded.xml with notepad++
  3. Search for this line and remove it
    Code:
            <com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="@color/status_bar_carrier_label_text" android:layout_gravity="center_vertical" android:id="@id/carrier_label" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
  4. Save the file and close it. now open status_bar_tracking.xml with notepad++
  5. search for this line
    Code:
    <ImageView android:layout_gravity="bottom" android:id="@id/close_on" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
  6. replace above line with this line
    Code:
            <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/status_bar_close_on" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
                <com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="@color/status_bar_carrier_label_text" android:gravity="center_horizontal" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" />
            </LinearLayout>
  7. Save the file and close it.
  8. The whole status_bar_expanded.xml would look like this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
            <TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="7.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
        </LinearLayout>
        <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
            <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
                <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_no_notifications_title" />
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_ongoing_events_title" />
                    <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                    <TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_latest_events_title" />
                    <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                </com.android.systemui.statusbar.NotificationLinearLayout>
            </ScrollView>
            <ImageView android:id="@id/title_bar_shadow" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
        </FrameLayout>
    </com.android.systemui.statusbar.ExpandedView>
  9. and The whole status_bar_tracking.xml would look like this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <View android:id="@id/tracking_background" android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
        <com.android.systemui.statusbar.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/status_bar_close_on" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
                <com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="@color/status_bar_carrier_label_text" android:gravity="center_horizontal" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" />
            </LinearLayout>
        </com.android.systemui.statusbar.CloseDragHandle>
    </com.android.systemui.statusbar.TrackingView>
  10. Now compile back apk file and push back to system/app.



7. Add settings shortcut in status bar




8. Jelly bean style Date, Time and Day on Status Bar

  1. Decompile systemui.apk with apktool or similar.
  2. Go to SystemUI.apk\res\layout\ and open status_bar_expanded.xml with notepad++
  3. Search for this line
    Code:
            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/carrier_label_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
  4. Replace above line with this line
    Code:
                <com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
  5. Save the file and close it.
  6. Download Jelly.zip from attachments of this post
  7. Extract jelly.zip and copy two files from jelly.zip to SystemUI.apk/smali/com/android/systemui/statusbar/(here)
  8. Now compile back apk file and push back to system/app.



9. Add Recent App shortcut in status bar

  1. Decompile systemui.apk with apktool or similar.
  2. Go to SystemUI.apk\res\values\ and open ids.xml with notepad++
  3. Add this line in end of code but before </resources>
    Code:
    <item type="id" name="recent_app_button">false</item>
  4. Now go to SystemUI.apk\res\layout\ and open statusbar_expanded.xml with notepad++
  5. Search for 'clear' and whole code will be like this or different
    Code:
    <Button android:textSize="15.0sp" android:id="@id/clear_all_button" android:paddingRight="6.0dip" android:layout_width="46.0dip" android:layout_height="46.0dip" android:text="@string/status_bar_clear_all_button" android:layout_alignParentRight="true" style="@style/Clear.Buttons" />
  6. Add this line above the code mentioned above
    Code:
    <com.android.systemui.statusbar.RecentAppButton android:textSize="10.0dip" android:id="@id/recent_app_button" android:background="@drawable/btn_recent_app" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_toRightOf="@id/settings_button" />
  7. Save the file and close it.
  8. Download sourcei.zip from attachments of this post
  9. Extract sourcei.zip and copy RecentAppButton.smali to SystemUI.apk/smali/com/android/systemui/statusbar/(here)
    and copy btn_recent_app.9.png to SystemUI.apk\res\drawable-mdpi\(here)
  10. Now compile back apk file and push back to system/app.



10. Jelly Bean 4.2.2 Status bar on Gingerbread.
Screenshots:
Quote:


Guide:
Last edited by lokeshsaini94; 13th June 2013 at 11:04 PM.
The Following 57 Users Say Thank You to lokeshsaini94 For This Useful Post: [ View ]
27th September 2012, 06:39 PM   |  #3  
lokeshsaini94's Avatar
OP Recognized Contributor / Themer
Flag Behind you!!!
Thanks Meter: 3,703
 
1,775 posts
Join Date:Joined: May 2012
Donate to Me
More
Reserved for more status bar stuff
Last edited by lokeshsaini94; 13th June 2013 at 08:57 PM.
The Following 17 Users Say Thank You to lokeshsaini94 For This Useful Post: [ View ]
27th September 2012, 06:39 PM   |  #4  
lokeshsaini94's Avatar
OP Recognized Contributor / Themer
Flag Behind you!!!
Thanks Meter: 3,703
 
1,775 posts
Join Date:Joined: May 2012
Donate to Me
More
Reserved for even more status bar stuff
Last edited by lokeshsaini94; 13th June 2013 at 09:31 PM.
The Following 36 Users Say Thank You to lokeshsaini94 For This Useful Post: [ View ]
27th September 2012, 06:40 PM   |  #5  
lokeshsaini94's Avatar
OP Recognized Contributor / Themer
Flag Behind you!!!
Thanks Meter: 3,703
 
1,775 posts
Join Date:Joined: May 2012
Donate to Me
More
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~System Apps Mods~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



1. Remove (ANNOYING) SMS LOG from Call log

  1. Decompile LogsProvider.apk with apktool or similar.
  2. Go to LogsProvider.apk\smali\com\sec\android\provider\lo gsprovider\ and open LogsProvider.smali with notepad++
  3. Search for word "SMS"
  4. Remove the whole code. As shown below
    Code:
        .line 216
        sget-object v0, Lcom/sec/android/provider/logsprovider/LogsProvider;->sURIMatcher:Landroid/content/UriMatcher;
    
        const-string v1, "logs"
    
        const-string v1, "sms"
    
        const/16 v2, 0x9
    
        invoke-virtual {v0, v3, v1, v2}, Landroid/content/UriMatcher;->addURI(Ljava/lang/String;Ljava/lang/String;I)V
  5. Save the file and close it.
  6. Now compile back apk file and push back to system/app.



2. Add own wallpapers to default wallpaper gallery.

  1. Decompile TwWallpaperChooser.apk with apktool or similar.
  2. resize wallpaper in two copies with some tool like "any pic image resizer". one copy of wallpaper of around 640x480 dimension and second copy of wallpaper of around 107x80 dimension(these values depends on whether your device is hdpi, mdpi, ldpi etc)(not much important only for proper re-sizing)
  3. Rename wallpaper of 1st copy to wallpaper_name and wallpaper of 2nd copy to wallpaper_name_small
  4. now copy these wallpapers to TwWallpaperChooser.apk\res\drawable-mdpi\
  5. Go to TwWallpaperChooser.apk\res\values-mdpi\ and open arrays.xml with notepad++
  6. Search for line
    Code:
    </string-array>
  7. Add this line for wallpaper copied in drawable-mdpi from first copy
    Code:
            <item>wallpaper_name</item>
    note: here we need to add only name of wallpaper from first copy. we won't add name of wallpaper from second copy i.e. wallpaper_name_small
  8. Now whole arrays.xml would look like this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <resources>
        <string-array name="wallpapers">
            <item>wallpaper_lock</item>
            <item>wallpaper_22</item>
            <item>wallpaper_23</item>
            <item>wallpaper_name</item>
        </string-array>
    </resources>
  9. Save the file and close it.
  10. Now compile back apk file and push back to system/app.



3. CRT OFF ANIMATION.
  1. Decompile framework-res.apk with apktool or similar.
  2. Go to framework-res.apk\res\values\ and open bools.xml with notepad++
  3. Search for line
    Quote:

    <bool name="config_animateScreenLights">true</bool>

  4. Replace true with false. As shown below
    Quote:

    <bool name="config_animateScreenLights">false</bool>

  5. Save the file and close it.
  6. Now compile back apk file and push back to system/framework.
  7. Now open your build.prop with root explorer or similar on your phone.
  8. search for
    Quote:

    debug.sf.hw=1

  9. add # infront of this line. Like this
    Quote:

    #debug.sf.hw=1

  10. save it and restart your phone.



4. ICS STYLE Progress bar and Sliders.
  1. Decompile framework-res.apk with apktool or similar.
  2. Go to framework-res.apk\res\drawable\ and open progress_horizontal.xml with notepad++
  3. Replace Whole code with this code
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <layer-list
      xmlns:android="http://schemas.android.com/apk/res/android">
        <item android:id="@id/background" android:drawable="@drawable/progress_bg_holo_light" />
        <item android:id="@id/secondaryProgress">
            <scale android:drawable="@drawable/progress_secondary_holo_light" android:scaleWidth="100%" />
        </item>
        <item android:id="@id/progress">
            <scale android:drawable="@drawable/progress_primary_holo_light" android:scaleWidth="100%" />
        </item>
    </layer-list>
  4. Save the file and close it.
  5. Now open progress_indeterminate_horizontal.xml
    and replace whole code with this
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <animation-list android:oneshot="false"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <item android:duration="50" android:drawable="@drawable/progressbar_indeterminate_holo1" />
        <item android:duration="50" android:drawable="@drawable/progressbar_indeterminate_holo2" />
        <item android:duration="50" android:drawable="@drawable/progressbar_indeterminate_holo3" />
        <item android:duration="50" android:drawable="@drawable/progressbar_indeterminate_holo4" />
        <item android:duration="50" android:drawable="@drawable/progressbar_indeterminate_holo5" />
        <item android:duration="50" android:drawable="@drawable/progressbar_indeterminate_holo6" />
        <item android:duration="50" android:drawable="@drawable/progressbar_indeterminate_holo7" />
        <item android:duration="50" android:drawable="@drawable/progressbar_indeterminate_holo8" />
    </animation-list>
  6. Save the file and close it.
  7. Go to framework-res.apk\res\values\ and open styles.xml with notepad++
  8. Search for Widget.ProgressBar.Horizontal and select whole code starting from <style name="Widget.ProgressBar.Horizontal" to </style>
  9. Now replace it with this code
    Code:
        <style name="Widget.ProgressBar.Horizontal" parent="@style/Widget.ProgressBar">
            <item name="maxHeight">16.0dip</item>
            <item name="indeterminateOnly">false</item>
            <item name="indeterminateDrawable">@drawable/progress_indeterminate_horizontal</item>
            <item name="progressDrawable">@drawable/progress_horizontal</item>
            <item name="minHeight">16.0dip</item>
        </style>
  10. Search for Widget.SeekBar and select whole code starting from <style name="Widget.SeekBar" parent="@style/Widget"> to </style>
  11. Now replace it with this code
    Code:
        <style name="Widget.SeekBar" parent="@style/Widget">
            <item name="focusable">true</item>
            <item name="maxHeight">13.0dip</item>
            <item name="indeterminateOnly">false</item>
            <item name="indeterminateDrawable">@drawable/progress_horizontal</item>
            <item name="progressDrawable">@drawable/progress_horizontal</item>
            <item name="minHeight">13.0dip</item>
            <item name="thumb">@drawable/seek_thumb</item>
            <item name="thumbOffset">16.0dip</item>
        </style>
  12. Save the file and close it.
  13. Now download progress_holo.zip from here and ics progress bar.zip from here
  14. Extract files from both zips to res/drawable-mdpi/(here)
  15. Now compile back apk file and push back to system/framework.



5. Modifying Settings app.

Screenshots:
Quote:


Quote:


5.1 Adding Categories in settings menu
  • Decompile Settings.apk with apktool or similar.
  • Go to Settings.apk\res\xml\ and open settings.xml with notepad++
  • Add this in it anywhere you want like in screenshot. (change ATOM Settings to whatever you want)
    Code:
    <PreferenceCategory android:title="ATOM Settings" />


5.2 Adding Options in settings menu
  • Decompile app you want to launch from the settings with apktool or similar. (in may case it is lidroid parts)
  • Open AndroidManifest.xml in notepad++ and in 2nd line search for package="com.something.else" (package="com.lidroid.parts" in my case)
  • Decompile Settings.apk with apktool or similar.
  • Go to Settings.apk\res\drawable-mdpi\ and copy and paste icon from the app. Remember the name of icon.
  • Go to Settings.apk\res\xml\ and open settings.xml with notepad++
  • Add this code where you want.
    Code:
    <com.android.settings.IconPreferenceScreen android:title="Atom Settings" settings:icon="@drawable/ic_gaple_part">
            <intent android:targetPackage="com.lidroid.parts" android:action="android.intent.action.MAIN" android:targetClass="com.lidroid.parts.MainActivity" />
        </com.android.settings.IconPreferenceScreen>
  • Change ic_gaple_part with name of your icon.
  • Change com.lidroid.parts to what it was yours in 2nd step.


5.3 Adding Text in About Phone section
Last edited by lokeshsaini94; 13th June 2013 at 10:44 PM.
The Following 17 Users Say Thank You to lokeshsaini94 For This Useful Post: [ View ]
27th September 2012, 06:40 PM   |  #6  
lokeshsaini94's Avatar
OP Recognized Contributor / Themer
Flag Behind you!!!
Thanks Meter: 3,703
 
1,775 posts
Join Date:Joined: May 2012
Donate to Me
More
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~Misc. Mods~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

1. CHANGING HARD KEY FUNCTION (REMAPPING BUTTON)

1. open /system/usr/keylayout/[phone model]-keypad.kl with notepad++
(Some phone may have different names, but it will always end with "keypad.kl)
it will look like this --
Code:
# Copyright (c) 2011, Code Aurora Forum.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

#
key 2     1
key 3     2
key 4     3
key 5     4
key 6     5
key 7     6
key 8     7
key 9     8
key 10    9
key 11    0
key 158   BACK              WAKE_DROPPED
key 230   HOME              WAKE
key 60    SOFT_RIGHT        WAKE
key 62    ENDCALL           WAKE_DROPPED
key 229   MENU         WAKE_DROPPED
key 59    MENU         WAKE_DROPPED
key 139   MENU              WAKE_DROPPED
key 228   POUND
key 227   STAR
key 231   CALL              WAKE_DROPPED
key 61    CALL              WAKE_DROPPED
key 232   DPAD_CENTER       WAKE_DROPPED
key 108   DPAD_DOWN         WAKE_DROPPED
key 103   DPAD_UP           WAKE_DROPPED
key 102   ENDCALL           WAKE_DROPPED
key 105   DPAD_LEFT         WAKE_DROPPED
key 106   DPAD_RIGHT        WAKE_DROPPED
key 115   VOLUME_UP         WAKE
key 114   VOLUME_DOWN         WAKE
key 212   SLASH
key 213   DEL               WAKE_DROPPED
key 355   DEL               WAKE_DROPPED

key 16    Q
key 17    W
key 18    E
key 19    R
key 20    T
key 21    Y
key 22    U
key 23    I
key 24    O
key 25    P

key 30    A
key 31    S
key 32    D
key 33    F
key 34    G
key 35    H
key 36    J
key 37    K
key 38    L
key 14    DEL
        
key 44    Z
key 45    X
key 46    C
key 47    V
key 48    B
key 49    N
key 50    M
key 51    COMMA
key 52    PERIOD
key 28    ENTER
        
key 56    ALT_LEFT
key 42    SHIFT_LEFT
key 215   AT
key 57    SPACE
key 53    SLASH
key 127   SYM
key 100   ALT_RIGHT

key 399   GRAVE

HERE YOU WILL FIND 3 ROWS...
Quote:

FIRST ROW
As you can see, there are different attributes defaultly assigned to each key. like this

Code:
key 102   #FOR HOME
key 139   #FOR MENU
key 158   #FOR BACK
key 115   #FOR VOLUME_UP
key 114   #FOR VOLUME_DOWN
SECOND ROW
Specific application/action launchers:
Code:
HOME                     #Launches "Home"
MENU                     #Launches "Menu"
BACK                     #Takes you back to the last activity
SEARCH                   #Launches "Universal Search"
CALL                     #Launches the "Phone" activity and corresponding .apk or initiates a call
ENDCALL                  #Ends a call
CAMERA                   #Launches "Camera" activity and corresponding .apk
FOCUS                    #Initiates Auto-Focus while using the Camera
VOLUME_UP                #Self explanatory
VOLUME_DOWN              #Self explanatory
THIRD ROW
And attributes saying if it should wake the phone at button push to complete the action, or if it should just complete the action without waking the screen.
Code:
WAKE                 #Completes the action without waking the screen
WAKE_DROPPED         #Wakes the phone to complete the action



2. NOW WE WILL EDIT SECOND AND/OR THIRD ROW
Erase the center row value for any key to completely disable it. To reassign the key, replace the center row value with another one from the same row. Change the right row value to either "WAKE" or blank to enable the wake function. Do not modify the left row.
NOTE: don't edit left row i.e. first row which contains specific key identity number.

FOR EXAMPLE I DO THESE CHANGES
DEFAULT VALUES ---
Code:
key 115   VOLUME_UP         WAKE
key 114   VOLUME_DOWN       WAKE
CHANGED VALUES ---
Code:
key 115   CAMERA         WAKE
key 114   FOCUS          WAKE
NOW VOLUME UP KEY WILL WORK AS CAMERA KEY AND VOLUME DOWN KEY WILL WORK AS FOCUS KEY....
NOTE: all words should be in BOLD letters i.e. capital letters...
Last edited by lokeshsaini94; 13th June 2013 at 09:33 PM.
The Following 16 Users Say Thank You to lokeshsaini94 For This Useful Post: [ View ]
28th September 2012, 04:22 PM   |  #7  
varun.chitre15's Avatar
Recognized Contributor / Recognized Developer
Flag Sangli
Thanks Meter: 12,269
 
2,949 posts
Join Date:Joined: Oct 2011
More
I don't see any difference between this and 'StatusBar Tweaks' thread by Master&Slave™
The Following 2 Users Say Thank You to varun.chitre15 For This Useful Post: [ View ]
28th September 2012, 07:02 PM   |  #8  
lokeshsaini94's Avatar
OP Recognized Contributor / Themer
Flag Behind you!!!
Thanks Meter: 3,703
 
1,775 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by varun.chitre15

I don't see any difference between this and 'StatusBar Tweaks' thread by Master&Slave™

yes those status bar mods are same but i am currently adding more mods also more status bar mods which are not from him...
The Following 3 Users Say Thank You to lokeshsaini94 For This Useful Post: [ View ]
7th October 2012, 07:42 PM   |  #9  
nrgmalik's Avatar
Senior Member
Flag Sonipat
Thanks Meter: 36
 
138 posts
Join Date:Joined: Aug 2012
More
How to push those apk back??? Can I replace them using Root browser??

---------- Post added at 11:12 PM ---------- Previous post was at 10:56 PM ----------

Quote:
Originally Posted by nrgmalik

How to push those apk back??? Can I replace them using Root browser??

Also, do I need to decompile it using framework-res.apk or systemui.apk???which one??

Also, i have a Ace Duos(GT-S6802) mdpi, so dimensions given by you in twwallpaperchooser must be same for my phone? Right?
7th October 2012, 08:22 PM   |  #10  
lokeshsaini94's Avatar
OP Recognized Contributor / Themer
Flag Behind you!!!
Thanks Meter: 3,703
 
1,775 posts
Join Date:Joined: May 2012
Donate to Me
More
Yes you can replace apk's with root explorer...
I don't understand what you are talking of systemui.apk and framework-res.apk...
If you are talking of while Decompileing apk you will need to install framework-res.apk...
YES you will have to resize images to same dimention...

Sent from my GT-S7500 using xda premium

The Following 4 Users Say Thank You to lokeshsaini94 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
galaxy ace plus, gingerbread 2.3, mods, status bar
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes