[Dev][Modding]TW Lollipop, Torch, 5Way reboot, SystemUI patches [more] - Galaxy Note 3 Android Development

Before everything I am still a noob and this is what I read, dig and somehow have been trying to figure out so please be friendly if you got some of/his so-called guides are not complete or need to be more comprehensive. And as sharing is caring I would like to share some hack or patches to make our devices smarter.
Requirement:
apktool. I have been using Advanced ApkTool but there is some problem on Samsung Lollipop on which some apps cannot be decompiled/recompile correctly. Then, I found an apktool kit which is moddified specially for Samsung Lollipop android version and I repacked Advanced ApkTool with the proper apktool.
You can download it here. credit @BDFreak
Notepad++ program from here
Willing to learn, patience, sense of try and error and a little brain
Content:
5Way Reboot TW lollipop
Enable Torch Toggle in Settings
Add Internet Speed meter on Statusbar
Remove Sfinder and Quick Connect from notification panel:
3Minit Battery
Add lockscreen and recent shortcut on Notification panel header
Move WiFi and Data icons to left side of statusbar
3minit quick launch for TW Lollipop
Center Clock on statusbar
How to enable other Samsung lockscreen effects
Add Flashlight and Screenshot to Power Menu
TW Themeing guides
Remove green and orange banner when dialing/receiving calls
How to make Sun shape AOSP brightness handle on notification panel
How to make AOSP category divider on SETTINGS

5Way Reboot TW
Marshmallow
See here
Lollipop
Credit @darkera13 from http://samsungviet.vn/ :good:
And thanks @daxgirl for some hints :good:
I thought here is good place to post and keep some guides for future modifications.
Decompile android.policy.jar and go to smali /com/android/internal/policy/impl/GlobalActions.smali
Search:
Code:
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$[COLOR="SeaGreen"]8[/COLOR];
Change to:
Code:
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$[COLOR="Red"]99[/COLOR];
Search:
Code:
invoke-direct {v2, v0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$[COLOR="SeaGreen"]8[/COLOR];-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
Change to:
Code:
invoke-direct {v2, v0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$[COLOR="red"]99[/COLOR];-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
Save this file and now open smali/com/android/internal/policy/impl/GlobalActions $ SinglePressAction.smali
Search:
Code:
# Instance fields
Add following in red above it
Code:
[COLOR="SeaGreen"].end annotation[/COLOR]
# static fields
[COLOR="Red"].field public static rebootMode:I
.field public static final rebootOptions:[Ljava/lang/String;
.field public static final rebootString:[Ljava/lang/String;[/COLOR]
[COLOR="SeaGreen"]# instance fields
.field public customAction:I[/COLOR]
Search:
Code:
.method protected constructor <init>(II)V
Add entire method above it
Code:
# direct methods
.method static constructor <clinit>()V
.locals 9
const/4 v8, 0x5
const/4 v7, 0x4
const/4 v6, 0x3
const/4 v5, 0x2
const/4 v4, 0x1
const/4 v3, 0x0
new-array v0, v8, [Ljava/lang/String;
const-string v2, "Reboot"
aput-object v2, v0, v3
const-string v2, "Hot Reboot"
aput-object v2, v0, v4
const-string v2, "Download"
aput-object v2, v0, v5
const-string v2, "Recovery"
aput-object v2, v0, v6
const-string v2, "Safe Mode"
aput-object v2, v0, v7
sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootString:[Ljava/lang/String;
new-array v1, v8, [Ljava/lang/String;
const-string v2, "Reboot"
aput-object v2, v1, v3
const-string v2, "Hot Reboot"
aput-object v2, v1, v4
const-string v2, "Download"
aput-object v2, v1, v5
const-string v2, "Recovery"
aput-object v2, v1, v6
const-string v2, "Safe Mode"
aput-object v2, v1, v7
sput-object v1, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;
return-void
.end method
[COLOR="SeaGreen"].method protected constructor <init>(II)V[/COLOR]
Save. Now download attached files and copy them into smali/com/android/internal/policy/impl/here.
Make sure Lcom/android/internal/policy/impl/GlobalActions got the same access$, it's access$500 at my end it might be different in different devices. Compare GlobalActions.smali with GlobalActions$99.smali
There is an id in GlobalActions$99;
Code:
const v2, [COLOR="Red"]0x112000a[/COLOR]
that also needs to be same as in framework>public
Code:
<public type="bool" name="show_ongoing_ime_switcher" id="0x0112000a" />
Click to expand...
Click to collapse
Recompile and profit.
If you would like to change power menu's title, open GlobalActions$99.smali
Search for
Code:
const-string v2, "[COLOR="Red"]Reboot Options[/COLOR]"
and change it to whatever you wish

Enable Torch Toggle in Settings
Integrate In Settings
edit 1: Smali's are updated to cover all TW devices thanks @tdunham :good:
edit 2: Smali's are updated for Android MM compatibilty thanks @tdunham @edzamber :good:
Decompile Settings
Download attached torch_materials.zip and paste them accordingly
Go to values folder open arrays.xml and check whether following arrays are availble if not add them
Code:
<string-array name="torchlight_timeout_entries">
<item>15 seconds</item>
<item>30 seconds</item>
<item>1 minute</item>
<item>2 minutes</item>
<item>10 minutes</item>
</string-array>
<string-array name="torchlight_timeout_values">
<item>15000</item>
<item>30000</item>
<item>60000</item>
<item>120000</item>
<item>600000</item>
</string-array>
Go to values folder open plurals.xml and check whether you have following plurals if not add them
Code:
</plurals>
<plurals name="torchlight_timeout_minutes">
<item quantity="other">%d minutes</item>
<item quantity="one">1 minute</item>
</plurals>
<plurals name="torchlight_timeout_seconds">
<item quantity="other">%d seconds</item>
<item quantity="one">1 second</item>
</plurals>
Go to values folder open strings.xml and check whether you have following strings if not add them
Code:
<string name="torchlight_settings">Torch light</string>
<string name="torchlight_settings_title">Torch light</string>
<string name="torchlight_summary">Turn on the torch light by pressing and holding the volume up key while the screen is off.</string>
<string name="torchlight_timeout_title">Torch light time-out</string>
<string name="torchlight_timeout_summary">After %1$s</string>
Go to xml folder, open device_headers.xml and add following line in red
Code:
[COLOR="Red"] </header>
<header android:icon="@drawable/ic_settings_torchlight" android:id="@id/torchlight_settings" android:title="@string/torchlight_settings" android:fragment="com.android.settings.torchlight.TorchlightSettings" />[/COLOR]
<header android:icon="@drawable/ic_settings_powersaving" android:id="@id/power_saving_mode" android:title="@string/power_saving_mode_title" android:fragment="com.android.settings.powersavingmode.MenuPowerSavingModeSettings" />
add red line below in display_settings_2013.xml.
Code:
<CheckBoxPreference android:title="@string/intelligent_sleep_title" android:key="smartscreen_stay" android:summary="@string/intelligent_sleep_summary" />
[COLOR="Red"]<PreferenceScreen android:title="Torchlight" android:key="[COLOR="red"]torchlight[/COLOR]" android:fragment="com.android.settings.torchlight.TorchlightSettings" />[/COLOR]
<CheckBoxPreference android:title="@string/smart_pause_title" android:key="smartscreen_pause" android:summary="@string/smart_pause_summary" />
Now it's time to create ids, so recompile and rename settings as settings_new to avoid confusion
Now decompile settings_new
Go to TorchlightSettings.smali
Open public.xml too and check what I noted beside every id, match ids accordingly
Recompile and profit >
Integrate in ROM Control (MM)
Code:
<SwitchPreference
android:title="Torchlight"
android:key="[COLOR="Red"]torchlight_enable[/COLOR]"
android:summary="Turn on the torch light by pressing and holding the volume up key while the screen is off" android:defaultValue="0" />
<com.[COLOR="Red"]aryamod[/COLOR].romcontrol.prefs.MyListPreference
android:entries="@array/torchlight_timeout_entries"
android:title="@string/torchlight_timeout_title"
android:key="torchlight_timeout"
android:dependency="torchlight_enable"
android:entryValues="@array/torchlight_timeout_values" />
Add Auto Start Management
This mod would let you choose to prevent/allow selected apps of running on system startup.
Download attached zip and drop those files in your settings.
Now go to values open ids.xml and add following
Code:
<item type="id" name="autostarts_settings">false</item>
<item type="id" name="appName">false</item>
<item type="id" name="aryamod">false</item>
open strings.xml and add following:
Code:
<string name="autostarts_title">Autostarts</string>
<string name="autostarts_allowed">Has allowed</string>
<string name="autostarts_prohibited">Has prohibited</string>
<string name="autostarts_allow_progress_msg">Being restored boot, please wait...</string>
<string name="autostarts_prohibit_progress_msg">Prohibit boot, please wait...</string>
<string name="autostarts_empty_msg">No installation boot applications</string>
<string name="autostarts_optimize_empty_msg">No optimize the startup items</string>
<string name="autostarts_optimize_btn_title">Optimize the startup items</string>
<string name="autostarts_all_btn_title">Automatically Start All Applications</string>
You also need to add a header for it, which can be added anywhere in settings depending on your preference, I added in DEVICE tab like below:
Add line below in display_headers.xml.
Code:
<header android:icon="@drawable/ic_settings_autostarts" android:id="@id/aryamod" android:title="@string/autostarts_title" android:fragment="com.android.settings.autostarts.LewaManageAutostarts" />
Now it's time to produce ID, so recompile modified settings and decompile it again, go to autostart smali materials and check those IDs which I noted (starting with #<public type="...) in those smali, there might be several to check and match with your produced IDs.
How to enable UPSM for Note 3
In this guide we would mod service.jar and secsettings.apk, firstly download UPSM.zip and put EmergencyLauncher, EmergencyModeService and EmergencyProvider in app folder in attached zip.
service.jar
decompile service.jar and go to services\com\android\server
open SystemServer.smali and search for
Code:
.method static final startEmergencyModeService(Landroid/content/Context;)V
and change the entire method with following:
Code:
.method static final startEmergencyModeService(Landroid/content/Context;)V
.registers 6
:try_start_0
invoke-static {p0}, Lcom/sec/android/emergencymode/EmergencyManager;->getInstance(Landroid/content/Context;)Lcom/sec/android/emergencymode/EmergencyManager;
move-result-object v1
invoke-virtual {v1}, Lcom/sec/android/emergencymode/EmergencyManager;->readyEmergencyMode()V
:try_end_7
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_7} :catch_8
:goto_7
return-void
:catch_8
move-exception v0
const-string v2, "SystemServer"
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
const-string v4, "Starting emergency service failed: "
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v2, v3}, Landroid/util/Slog;->d(Ljava/lang/String;Ljava/lang/String;)I
goto :goto_7
.end method
OK now UPSM is enabled but there is a issue that after disabling it some widgets would be removed from the home screen so we need to correct the service
go to services\com\android\server\appwidget
open AppWidgetServiceImpl.smali and search for following method
Code:
.method private deleteProviderLocked(Lcom/android/server/appwidget/AppWidgetServiceImpl$Provider;)V
Now change the entire method the one in zip attached
same smali search for
Code:
.method private queryIntentReceivers(Landroid/content/Intent;I)Ljava/util/List;
change the entire method the one in zip attached
Search for this method
Code:
.method private readProfileStateFromFileLocked(Ljava/io/FileInputStream;ILjava/util/List;)I
change the entire method the one in zip attached
SecSettings.apk
Next we need to enable and access UPSM launcher that depends on you whether you have your own rom customizer or would like to add it in settings, I couldn't find proper smali to enable it as stock but I tired adding it in settings as following
decompile secsettings and add this in id.xml
Code:
<item type="id" name="aryamod">false</item>
open display_headers.xml and add UPSM header everywhere you would like to be shown like this:
Code:
<header android:icon="@drawable/ic_settings_powersaving" android:id="@id/aryamod" android:title="@string/powersaving_ultra" android:key="ultra_powersaving" android:fragment="com.android.settings.powersavingmode.PowerSavingModeUltra" />

Add Internet Speed meter on Statusbar
Decompile SystemUI.apk
Go to SystemUI.apk\res\layout open system_icons.xml
Add following line in red
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">
[COLOR="Red"] <com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.0dip" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
Go to Values folder and add this in styles.xml
Code:
<style name="TextAppearance.StatusBar.Traffic" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#bfffffff</item>
<item name="android:textAllCaps">false</item>
</style>
Open ids.xml and add following line at the bottom of page:
Code:
<item type="id" name="traffic">false</item>
copy the smali files to
smali/com/android/systemui/statusbar/policy/
Recompile and profit.
Additional Step about How to move Internet Speed meter to left side on Statusbar: Read here
[MOD] [GUIDE] Status Bar Network Traffic (Separate In/Out)
Remove Sfinder and Quick Connect from notification panel:
See here
3Minit Battery
How to add 3minit battery as this patch is changed on lollipop
You need to add red line in system_icons.xml, the rest (copying smali part) is same as the guide in main thread
Go to SystemUI.apk\res\layout and open system_icons.xml
Make sure it looks like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:id="@id/system_icons" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:alpha="0.74" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.0dip" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/battery_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.74" android:importantForAccessibility="no" android:fontFamily="sans-serif" android:layout_marginStart="@dimen/battery_text_marginStart" />
[COLOR="red"] <com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="0.74" android:layout_marginStart="3.0dip" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content"[/COLOR] />
</LinearLayout>
</LinearLayout>
Move WiFi and Data icons to left side of statusbar
Decompile SystemUI, go to layout and open system_icons.xml
Search for
Code:
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.0dip" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
Change it to
Code:
<include android:id="@id/signal_cluster" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.0dip" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
Go to status_bar.xml
Add following line in red
Code:
<ImageView android:id="@id/operatorLogoIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo" />
<ImageView android:id="@id/operatorLogoIcon_org" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo_org" />
[COLOR="Red"]<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginBottom="-5.0dip" android:layout_marginLeft="-5.0dip" layout="@layout/signal_cluster_view" />[/COLOR]
Now download my modified signal_cluster_view.xml and check with yours
Save, recompile.
3minit quick launch for TW Lollipop
Firstly go download 3minit quick launcher smali from main thread
As there are some changes in lollipop which is not same as the guide in the original thread we are going to edit our file as below.
SystemUI.apk\res\layout open quick_connect_layout_zero.xml
Make sure it's like following:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/sfinder_qconnect_layout" android:background="@drawable/quick_connect_layout_bg" android:layout_width="fill_parent" android:layout_height=[COLOR="red"]"wrap_content"[/COLOR]
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
[COLOR="Red"] <HorizontalScrollView android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="@dimen/finder_connect_layout_height">
<com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="@dimen/finder_connect_layout_height" android:layout_centerHorizontal="true" />
</HorizontalScrollView>[/COLOR]
<LinearLayout android:orientation="vertical" android:id="@id/sfinder_qconnect_layout" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="0.0dip" android:layout_height="0.0dip">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingLeft="@dimen/finder_connect_button_padding_right" android:paddingTop="@dimen/finder_connect_button_padding_top" android:paddingRight="@dimen/finder_connect_button_padding_left" android:paddingBottom="@dimen/finder_connect_button_padding_bottom" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="0.0dip" android:layout_height="0.0dip">
<RelativeLayout android:id="@id/sfinder_button_layout" android:background="@drawable/ripple_drawable" android:focusable="true" android:nextFocusLeft="@id/quick_connect_button_layout" android:nextFocusRight="@id/quick_connect_button_layout" android:clickable="true" android:layout_width="0.0dip" android:layout_height="@dimen/finder_connect_button_height" android:layout_weight="0.0" android:layout_marginEnd="0.0dip">
<TextView android:textSize="@dimen/tw_quick_panel_sfinder_qconnect_button_text_size" android:textColor="@drawable/tw_quick_panel_sfinder_qconnect_button_text_color" android:gravity="center" android:id="@id/sfinder_button_big" android:layout_width="0.0dip" android:layout_height="0.0dip" android:text="@string/accessibility_sfinder_button" android:singleLine="true" android:drawableLeft="@drawable/tw_quick_panel_quick_sfinder_button_image" android:drawablePadding="@dimen/tw_quick_panel_sfinder_qconnect_drawable_padding" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:fontFamily="sec-roboto-light" />
</RelativeLayout>
<ImageView android:id="@id/expanded_divider_3" android:background="@color/quickpanel_button_divider_color" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginTop="0.0dip" android:layout_marginBottom="0.0dip" android:alpha="@dimen/quickpanel_button_divider_alpha" android:layout_toStartOf="@id/sfinder_button_layout" />
<RelativeLayout android:id="@id/quick_connect_button_layout" android:background="@drawable/ripple_drawable" android:focusable="true" android:nextFocusLeft="@id/sfinder_button_layout" android:nextFocusRight="@id/sfinder_button_layout" android:clickable="true" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="0.0" android:layout_marginStart="0.0dip">
<TextView android:textSize="@dimen/tw_quick_panel_sfinder_qconnect_button_text_size" android:textColor="@drawable/tw_quick_panel_sfinder_qconnect_button_text_color" android:gravity="center" android:id="@id/qconnect_button_big" android:layout_width="0.0dip" android:layout_height="0.0dip" android:text="@string/accessibility_qconnect_button" android:singleLine="true" android:drawableLeft="@drawable/tw_quick_panel_quick_qconnect_button_image" android:drawablePadding="@dimen/tw_quick_panel_sfinder_qconnect_drawable_padding" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:fontFamily="sec-roboto-light" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
As we are removing Sfinder and Quick Connect for better interface all dpi regarding to Sfinder and Quick Connect should be set to 0 so check them all.
Now as 3minit quick launcher is bigger than Sfinder and Quick connect we need to modify that area related to those buttons to fit 3minit launcher
So go to values and open dimens.xml
Search for
Code:
<dimen name="finder_connect_layout_height">[COLOR="red"]57.0dip[/COLOR]</dimen>
Change to
Code:
<dimen name="finder_connect_layout_height">[COLOR="red"]75.0dip[/COLOR]</dimen>
Center Clock on statusbar
Go here
How to make a round corner for recent apps window
SystemUI.apk>dimens.xml
Change
Code:
<dimen name="recents_task_view_rounded_corners_radius">2.0dip</dimen>
to
Code:
<dimen name="recents_task_view_rounded_corners_radius">20.0dip</dimen>
credit @tkari4

How to enable other Samsung lockscreen effects
Read here and here
Add Flashlight and Screenshot to Power Menu
Read here
More Themes for TW Launcher
Find here
How to enable the native rotation in the TouchWizHome_K.apk
Here
How to disable signature checks
Here
Removing SysScope - Permanent "Official" Device Status
Here
[Guides & Links] THE GALAXY S5 UNIFIED MODS THREAD
Amazing guides and people, make sure to check

Remove green and orange banner when dialing/receiving calls
Read here
How to make Sun shape AOSP brightness handle on notification panel
Read here
How to make AOSP category divider on SETTINGS
Read here
How to change Action bar color:
Look for following in framework\color.xml
Code:
<color name="material_blue_grey_800"> tab background
<color name="material_blue_grey_900"> status bar background
Thanks @Breakcore_Rush for themeing guides

3Minit Battery
In res/layout/system_icons.xml
PHP:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:id="@id/system_icons" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:alpha="0.74" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.0dip" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/battery_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.74" android:importantForAccessibility="no" android:fontFamily="sans-serif" android:layout_marginStart="@dimen/battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="0.74" android:layout_marginStart="3.0dip" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>

kmokhtar79 said:
Maybe this one
Click to expand...
Click to collapse
Hi dev...great work done...thanks a lot. If you can plz make a tut to make apks multidpi, that would be very nice.

unisol107 said:
Hi dev...great work done...thanks a lot. If you can plz make a tut to make apks multidpi, that would be very nice.
Click to expand...
Click to collapse
For this we need to ask from master @tkari4
Sent from my SM-N9005 using Tapatalk

Hello @kmokhtar79,
Very usefull and very nice guide!! Perhaps it interested for you: http://forum.xda-developers.com/showpost.php?p=58056310&postcount=581

Figuring out AOSP Lollipop icons
Hi, do you guys know how to figure out implementing AOSP Wifi, Data, and Battery vector xmls like on Stock Lollipop? I see that the codes are already there when comparing SystemUI with a 5.0 Nexus 5's ROM, but I don't have time to figure out how it is implemented. Thanks!

@kmokhtar79
Do I have to sign & zipalign apk after recompiling?
There is no png file in lock_lock_patch.rar

nasif69 said:
@kmokhtar79
Do I have to sign & zipalign apk after recompiling?
There is no png file in lock_lock_patch.rar
Click to expand...
Click to collapse
Do NOT use sign for system files. After modification is done open your modded file and original file, drag and drop META-INF and AndroidManifs.xml from original one to modded one without extracting it. Sometimes app signature is corrupted after compilation. This would fix it. There are 2 white png file that you may not notice them just select all in folder they would be highlighted.
Edit: You you are correct, corrected home_lock_patch.zip.
Sent from my SM-N9005 using Tapatalk

kmokhtar79 said:
Do NOT use sign for system files. After modification is done open your modded file and original file, drag and drop META-INF and AndroidManifs.xml from original one to modded one without extracting it. Sometimes app signature is corrupted after compilation. This would fix it. There are 2 white png file that you may not notice them just select all in folder they would be highlighted.
Edit: You you are correct, corrected home_lock_patch.zip.
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Thanks.
Do I have to recompile & zipalign?
---------- Post added at 12:30 PM ---------- Previous post was at 11:57 AM ----------
@kmokhtar79
It works. But only lock screen & homebutton. No recent apps.
What I have to do for recent apps?

Good :good::good::good:

????

Mate can u add only speed network meter for this systemui.apk on this thread by Djimmy please
http://forum.xda-developers.com/showthread.php?t=2982939
Sent from my SM-N9005 using Tapatalk

thereassaad said:
Mate can u add only speed network meter for this systemui.apk on this thread by Djimmy please
http://forum.xda-developers.com/showthread.php?t=2982939
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
I am sorry mate, this thread is supposed to be modding thread, you just try following guides any step you got problem just post your problem and me or others would help you. I did it last night according to the same mentioned steps.

kmokhtar79 said:
I am sorry mate, this thread is supposed to be modding thread, you just try following guides any step you got problem just post your problem and me or others would help you. I did it last night according to the same mentioned steps.
Click to expand...
Click to collapse
Okay thanks btw my don't have laptop for 2 week its on service center thanks i will try to do it by apktool.apk from my phone thanks
Sent from my SM-N9005 using Tapatalk

thereassaad said:
Okay thanks btw my don't have laptop for 2 week its on service center thanks i will try to do it by apktool.apk from my phone thanks
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
In that case I can send you through pm.
Sent from my SM-N9005 using Tapatalk

Related

[MODz]Advanced Theming Mods Collection

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DISCLAIMER NOTE: I AND XDA IS NOT TO BE HELD RESPONSIBLE FOR ANY DAMAGES THAT YOUR PHONE MIGHT INCUR DURING THIS PROCESS, I HAVE TESTED IT IN MY BEST KNOWLEDGE TO WORK FOR OUR DEVICE BUT JUST TO BE SURE, PLEASE PERFORM ALL NECESSARY BACKUPS FOR THE PHONE TO PREVENT ANY DATA LOSS, IF YOU HAVE THE NEED TO DISAGREE AND/OR FAIL TO COMPLY JUST DONT FLASH IT AND GET ON WITH YOUR LIVES
Click to expand...
Click to collapse
PLEASE RESPECT MY WORK, DO NOT UPLOAD THIS TO OTHER WEBSITES, P2P, FTP AND OTHER MEANS OF FILE TRANSFER WITHOUT MY CONSENT, ALSO IF U WANT TO INCLUDE THIS IN YOUR WORK/ DEVELOPMENT, OR IF YOU BASE YOUR WORK IN ANY OF MY FILES THAT IS CONTAINED WITHIN THE DATA PLEASE CREDIT ME AND LINK THE FILES HERE OR ELSE IMMEDIATE LEGAL/ARBITRARY ACTION WILL BE UNDERTAKEN BY ME IN ORDER TO REMOVE THE FILES ON YOUR BEHALF IF EVER YOU NEED TO POST IT IN YOUR BLOG/WEBSITE, IF YOU FEEL YOU ARE NOT SATISFIED WITH MY WORK, CONSTRUCTIVE CRITICISMS IN A RESPECTFUL AND DECENT MANNER ARE ALWAYS WELCOME
Click to expand...
Click to collapse
IF YOU DON'T KNOW WHAT YOU ARE DOING,
BETTER NOT MESS WITH YOUR SYSTEM OR ELSE IT WILL CAUSE UNDESIRED OPERATION,
Prerequisites:
1. ANDROID GINGERBREAD DEVICE (Preferably deodexed Stock ROM)
2. Decompiling Studio (Apktool, VTS- (recommended), Apk Multi-tool, Android SDK)
3. Winrar (or any archive reader and writer software)
4. Patience
5. A keen eye
6. Coffee (lots and lots of em)
Click to expand...
Click to collapse
What's Not Covered in this Tutorial
1. Decompiling System App process
2. Recompiling System App Process
3. Installing Android SDK and Development Studio (VTS, Apktool, etc.)
Click to expand...
Click to collapse
[Moving Clock to status bar notifications]​
1. Decompile SYSTEMUI.apk
2. Navigate to res/layout/status_bar.xml
3. Search for this line and remove it from the xml
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
4. Go to res/values/ids,xml
add this below the last item type before </resources>
Code:
<item type="id" name="clock">false</item>
5. Now, Go to res/layout/status_bar_expanded.xml
Search for this code
Code:
<LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
then paste this code below the code above
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="20.0sp" android:gravity="center" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
6. Recompile the apk
Additional Instructions if Modified from a custom rom:
7. Extract inside classes.dex from the unmodified systemui.apk
8. Delete classes.dex from the new systemui.apk
9. Paste classes.dex from the unmodified systemui.apk to the new systemui.apk
[Moving Carrier Logo to bottom of status bar]​
1. Decompile SYSTEMUI.apk
2. Navigate to res/layout/status_bar_expanded.xml
3. Search for this line and remove it from the xml
Code:
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" 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. Create a PNG with dimensions of 240x26px (240 width 26 height by pixels) save it as deathnotice_shade.png save to res/drawable-ldpi
5. Go to res/values/ids,xml
add this below the last item type before </resources>
Code:
<item type="id" name="carrier_label_background">false</item>
6. Go to res/layout/status_bar_tracking.xml
7. Search for this line
Code:
<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">
then paste this code below the line above
Code:
<com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/deathnotice_shade" android:layout_marginTop="0.0dip" />
8. Recompile the APK
Additional Instructions if Modified from a custom rom:
9. Extract inside classes.dex from the unmodified systemui.apk
10. Delete classes.dex from the new systemui.apk
11. Paste classes.dex from the unmodified systemui.apk to the new systemui.apk
[Adding your own custom background to the statusbar]​
1. Decompile SYSTEMUI.apk
2. Navigate to res/layout/status_bar_tracking.xml
3. Create a PNG with dimensions of 240x301px (240 width 301 height by pixels) save it as status_bar_background.png save to res/drawable-ldpi
4. Search for this line
Code:
<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">
then paste this code below the line above
Code:
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
5. Recompile APK
Additional Instructions if Modified from a custom rom:
6. Extract inside classes.dex from the unmodified systemui.apk
7. Delete classes.dex from the new systemui.apk
8. Paste classes.dex from the unmodified systemui.apk to the new systemui.apk
[Adding your own custom background to all the overall android UI]​
1. Decompile FRAMEWORK-RES.apk
2. Navigate to res/values/styles.xml
search for this
Code:
<style name="Theme">
3. Again from res/values/styles.xml
search for this
Code:
<item name="colorBackground">@color/colorBackground</item>
delete the line and replace it with this
Code:
<item name="colorBackground">@color/transparent</item>
4. Create a PNG with dimensions of 240x301px (240 width 301 height by pixels) save it as deathnotice_bg.png save to res/drawable-ldpi
5. Again from res/values/styles.xml
search for this
Code:
<item name="windowBackground">@drawable/screen_background_dark</item>
6. Delete the entire line then replace with this
Code:
<item name="windowBackground">@drawable/deathnotice_bg</item>
7. Recompile APK
[Adding you own clear button to statusbar]​
1. Decompile SYSTEMUI.apk
2. Navigate to res/drawable/
3. Create a xml named deathnoticeclear.xml
4. Add this code to the deathnoticeclear.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_window_focused="false" android:state_enabled="true" android:drawable="@drawable/deathnotice_normal" />
<item android:state_window_focused="false" android:state_enabled="false" android:drawable="@drawable/deathnotice_disable" />
<item android:state_pressed="true" android:drawable="@drawable/deathnotice_pressed" />
<item android:state_focused="true" android:state_enabled="true" android:drawable="@drawable/deathnotice_normal" />
<item android:state_enabled="true" android:drawable="@drawable/deathnotice_normal" />
<item android:state_focused="true" android:drawable="@drawable/deathnotice_normal" />
<item android:drawable="@drawable/deathnotice_normal" />
</selector>
5. 4. Create 3 PNGs with dimensions of 24x24px (24 width 24 height by pixels) save it as
-deathnotice_normal.9.png
-deathnotice_pressed.9.png
-deathnotice_disable.9.png
save to res/drawable-ldpi
6. Navigate to res/values/styles.xml
search for
Code:
</resources>
then add this code above </resources>
Code:
<style name="Awesome.Button" parent="@android:style/Widget.Button">
<item name="android:textAppearance">?android:textAppeara nceSmallInverse</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:gravity">center</item>
<item name="android:background">@drawable/deathnotice</item>
<item name="android:focusable">true</item>
<item name="android:clickable">true</item>
</style>
7. Navigate to res/layout/status_bar_expanded.xml
find this code
Code:
<Button android:textSize="13.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />
delete the line above
then replace it with this code
Code:
<Button android:textSize="13.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="@style/Awesome.Button" />
8. Navigate to res/values/strings.xml
find this code
Code:
<string name="status_bar_clear_all_button">Clear</string>
delete the code above
replace it with this
Code:
<string name="status_bar_clear_all_button"></string>
9. Recompile APK
Additional Instructions if Modified from a custom rom:
10. Extract inside classes.dex from the unmodified systemui.apk
11. Delete classes.dex from the new systemui.apk
12. Paste classes.dex from the unmodified systemui.apk to the new systemui.apk
WILL ADD MOARE SOOOOON!
HIT THAT THANKS BUTTON YOU UNGRATEFUL PERSON!
Credits:
Kill3d
initial clear button idea
b16h22
helping me a lot with stuff
Click to expand...
Click to collapse
[/right]
post potato
2 potato
thanks......first comment
really like it
can u pls add that how to put lildroid toggels to bottom of status bar
thanks(pressed)
explodeaamir said:
thanks......first comment
really like it
can u pls add that how to put lildroid toggels to bottom of status bar
thanks(pressed)
Click to expand...
Click to collapse
thanks,
problem is i dunno how,
tried closedraghandle in statusbarservice.smali,
still nothing happens,
also tried changing gravity to vertical then right,
still nothing happends,
wierd mod is wierd,
ask evanlocked,
he's the best man on the job for that
Gonna try it out soon
can you also add how to edit settings.apk? i want to try and edit the settings,apk that killed post.
heirfister said:
can you also add how to edit settings.apk? i want to try and edit the settings,apk that killed post.
Click to expand...
Click to collapse
lol
think before u write
pls add tuts how to add aosp lockscreen
Teach us how to make/edit lock screens!
Saving the universe, one game at a time.
deathnotice01 said:
thanks,
problem is i dunno how,
tried closedraghandle in statusbarservice.smali,
still nothing happens,
also tried changing gravity to vertical then right,
still nothing happends,
wierd mod is wierd,
ask evanlocked,
he's the best man on the job for that
Click to expand...
Click to collapse
Take the statusbarservice.smali
In the code following
Code:
const v7, 0x3030003
invoke-static {p1, v7, v9},
Landroid/view/View;->inflate
(Landroid/content/
Context;ILandroid/view/ViewGroup;)
Landroid/view/View;
move-result-object v3
check-cast v3, Lcom/lidroid/
systemui/quickpanel/PowerWidget;
.line 352
.local v3, qsv:Lcom/lidroid/
systemui/quickpanel/PowerWidget;
invoke-virtual {v3}, Lcom/lidroid/
systemui/quickpanel/
PowerWidget;->setupWidget()V
change mExpandedView&ExpandedView to mCloseView&CloseDragHandle.
Sent from my GT-S5360 using xda app-developers app
thank i will try
death
u can add b16h22 post
Subscribed!
★ Sent from a Galaxy far far away... ★
Yes, I copied this, and there's nothin' you can do about it... :badpokerface:
thanks for the tut!
Nice
thanks everyone,
will update this earlier tonight,
i'm actually sneeking on the company's PC so i can't be too vigilant,
So good Guide!Thanks-------I will try it later:laugh:
A guide to change status bar like winter mod evo is appreciated. Seperation toggles and notification. Thanks a lot for other tutors.
Dont forget add credit. Just in case
Sent from my GT-S5360 using xda premium
Could please tell me how to apply transparent background in all apps.
Editing framework-res.apk what line to replace with...
Sent from my GT-S5360 using xda premium

Guide How To Natively Change Lock Screen Carrier Label Text Verizon S5

Guide How To Natively Change Lock Screen Carrier Label Text Verizon S5
First thing you need to do is decompile Keyguard.apk located in system/privapp
Find keyguard_emergency_carrier_area.xml in res/layout-sw360dp.
Look for line: "should be line 8"
<com.android.keyguard.CarrierText android:textAppearance="?android:textAppearanceMedium" android:textSize="@dimen/kg_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:id="@id/carrier_text" androidaddingBottom="5.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" android:shadowColor="#7f000000" android:shadowDy="2.0" android:shadowRadius="2.0" android:textAllCaps="@bool/kg_use_all_caps" android:fontFamily="roboto-regular" style="@style/keyguard_text_shadow" />
Change to and save file
<TextView android:textSize="@dimen/kg_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" androidaddingBottom="5.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:text="@string/mytext" android:singleLine="true" android:shadowColor="#7f000000" android:shadowDy="2.0" android:shadowRadius="2.0" android:textAllCaps="@bool/kg_use_all_caps" android:fontFamily="roboto-regular" style="@style/keyguard_text_shadow" />
Then open res/values/strings.xml
Look for line 304. Add a line right below line 304 as follows:
<string name="tts_temperature">Degree</string>
303 <string name="keyguard_guest_mode_help_text">"Swipe to switch to %s's home screen"</string>
304 <string name="keyguard_clock_with_battery">%s battery power</string>
305 <string name="mytext">PUT YOUR TEXT HERE</string>
306 </resources>
Where it says "PUT YOUR TEXT HERE" is where you enter whatever you want it to say on your lock screen.
Save file and compile Keyguard.apk
Push to System/privapp and Enjoy!!!

[GUIDE] How To Add Lollipop Like Owner Icon In SystemUI Expand

Hello Droiders!! The is a Tutorial About How To Add Lollipop Like Changeable Owner Icon In Statusbar Expand for ICS/JB/KK
Disclaimer:I or XDA Developers will not be responsible for any damage of your Device.A Backup is highly recomanded.
:::NOTE:::
- You Signature vefification must be disabled.you can disable it by using `Lucky Patcher` or editing your `services.jar`.
- You need to be "very patient" and have a lot of time as this is a time consuming tutorial.
- I won't explain how to do things like pushing the apps, setting the permission, or how to get a value in public.xml and use that to change something in a certain smali.
You can Try the LProfile_demo.apk from the attachment.
Things You Will Needed:
1) SystemUI.apk
2) Notepad++ or any other text editor.
3) Apktool/Any Other tool to deconlmpile apk.
4) Brain.jar Patient.apk
STEP 1:
• Decompile your Systemui.apk
• Download the LProfile_x.x.x.zip from the attachment,extract it and merge it into your decompiled systemui.
• Open statusbar_expand_header.xml in /res/layout and compare with this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="60.0dip" android:baselineAligned="false" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<RelativeLayout android:orientation="vertical" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true">
<com.android.systemui.statusbar.policy.CustomClock android:textSize="16.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/custom_clock" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
<com.android.systemui.statusbar.policy.DateView android:textSize="14.0dip" android:textColor="#b2ffffff" android:id="@id/date" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/custom_clock"/>
<com.bloody.badboy.DateView android:textSize="14.0sp" android:textStyle="normal" android:textColor="#b2ffffff" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/custom_clock"/>
</RelativeLayout>
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:paddingRight="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" android:layout_alignParentRight="true">
</LinearLayout>
[COLOR="Red"] <LinearLayout android:layout_width="27.0dip" android:layout_height="27.0dip" android:layout_marginRight="16.0dip">
<com.android.systemui.bloody.badboy.LProfilePicture android:id="@+id/image" android:background="@drawable/default_user_small" android:layout_width="27.0dip" android:layout_height="27.0dip" android:scaleType="centerCrop" android:onClick="LProfile" android:contentDescription="@null"/>
</LinearLayout>[/COLOR]
</LinearLayout>
• Open AndroidManifest.xml
add this at the bottom before </application>
Code:
<activity android:theme="@style/Theme.LProfile" android:name="com.android.systemui.bloody.badboy.LProfile">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
AndroidManifest.xml for compare
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:sharedUserId="android.uid.system" android:process="system" android:versionCode="19" android:versionName="4.4.4-bloody.badboy.creation" coreApp="true" package="com.android.systemui" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.STATUS_BAR_SERVICE"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.GET_TASKS"/>
<uses-permission android:name="android.permission.MANAGE_USB"/>
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<application android:label="@string/app_label" android:icon="@drawable/ic_launcher_settings" android:allowClearUserData="false" android:persistent="true" android:allowBackup="false" android:hardwareAccelerated="true">
<service android:name="SystemUIService" android:exported="true"/>
<service android:name=".screenshot.TakeScreenshotService" android:exported="false" android:process=":screenshot"/>
<service android:name=".LoadAverageService" android:exported="true"/>
<service android:name=".ImageWallpaper" android:permission="android.permission.BIND_WALLPAPER" android:exported="true"/>
<receiver android:name=".BootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
<activity android:label="@*android:string/usb_storage_activity_title" android:name=".usb.UsbStorageActivity" android:excludeFromRecents="true"/>
<activity android:theme="@*android:style/Theme.Dialog.Alert" android:name="com.android.internal.app.ExternalMediaFormatActivity" android:excludeFromRecents="true"/>
<activity android:theme="@*android:style/Theme.Holo.Dialog.Alert" android:name=".usb.UsbConfirmActivity" android:permission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true"/>
<activity android:theme="@*android:style/Theme.Holo.Dialog.Alert" android:name=".usb.UsbPermissionActivity" android:permission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true"/>
<activity android:theme="@*android:style/Theme.Holo.Dialog.Alert" android:name=".usb.UsbResolverActivity" android:permission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true"/>
<activity android:theme="@*android:style/Theme.Holo.Dialog.Alert" android:name=".usb.UsbAccessoryUriActivity" android:permission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true"/>
<activity android:theme="@*android:style/Theme.Holo.Panel" android:name=".net.NetworkOverLimitActivity" android:permission="android.permission.MANAGE_NETWORK_POLICY" android:exported="true" android:taskAffinity="com.android.systemui.net" android:excludeFromRecents="true" android:launchMode="singleTop" android:finishOnCloseSystemDialogs="true"/>
<activity android:theme="@*android:style/Theme.Black.NoTitleBar.Fullscreen" android:label="Nyandroid" android:icon="@drawable/nyandroid04" android:name=".Nyandroid" android:exported="true" android:excludeFromRecents="true" android:launchMode="singleInstance" android:hardwareAccelerated="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<receiver android:name=".statusbar.ConnectedReceiver">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
</intent-filter>
</receiver>
[COLOR="Red"] <activity android:theme="@style/Theme.LProfile" android:name="com.android.systemui.bloody.badboy.LProfile">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>[/COLOR]
</application>
</manifest>
• Open Styles.xml in /res/values and add this at the bottom before </resources>
Code:
<style name="Theme.LProfile" parent="@*android:style/Theme.Holo.Light.Dialog">
<item name="android:windowBackground">@*android:color/transparent</item>
<item name="android:windowNoTitle">true</item>
</style>
• Open SystemUIService.smali in /smali/com/android/systemui and find the method:
Code:
# virtual methods
And add this below the method:
Code:
.method public LProfile(Landroid/view/View;)V
.locals 3
.parameter "v"
.prologue
.line 2431
new-instance v0, Landroid/content/Intent;
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
.line 2432
const-string v1, "com.android.systemui"
const-string v2, "com.android.systemui.bloody.badboy.LProfile"
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
const/high16 v2, 0x1000
invoke-virtual {v0, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
move-result-object v0
.line 2433
invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
const-string v1, "statusbar"
invoke-virtual {p0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/app/StatusBarManager;
invoke-virtual {v0}, Landroid/app/StatusBarManager;->collapse()V
.line 1720
return-void
.end method
• Now recompile your SystemUI.apk and Sign it.Then Recompile it again.
STEP 2:
• Open LProfile.smali in /smali/bloody/badboy/here
•Search-
0x7f03003e
And replace with the value of
<public type="layout" name="lprofile_picture" from your public.xml
• Do the same for
• 0x7f0f00de <--- replace with <public type="id" name="photo_picker"
• 0x7f0f00df <--- replace with <public type="id" name="image_profile"
•0x7f020236 <--- replace with <public type="drawable" name="default_user"
• Open LProfilePicture$1.smali in smali/bloody/badboy
•0x7f020236 <--- replace with <public type="drawable" name="default_user"
• Open LProfilePicture.smali in smali/bloody/badboy
•0x7f020236<--- replace with <public type="drawable" name="default_user"
•0x7f0f0003 <--- replace with <public type="id" name="image"
• Now recompile your systemui.apk sign and push it into system/app/ and reboot.
If You Like it then Hit My Thanks Button.It will not cost but it will motivate me. :good: :good:
Awesome ...... Will there be updates
Yeah what he said.
sdeepb said:
Awesome ...... Will there be updates
Click to expand...
Click to collapse
kirito9 said:
Yeah what he said.
Click to expand...
Click to collapse
Great than..... Hope he'll remove androidmanifest editing in future

Failed to add Listview Animation on Mediatek Rom

I tried so many time to add list view animation.
but every time i failed.
Please help me......
i followed those thread.
Link:
http://forum.xda-developers.com/showthread.php?t=2685334
http://forum.xda-developers.com/android/themes/guide-how-to-port-mokee-listview-t2808288
Advance thanks
sorry bad english
And how about you tell your progress?
Any logcat . why it did not work?
Vivek_Neel said:
And how about you tell your progress?
Any logcat . why it did not work?
Click to expand...
Click to collapse
I followed this progress
Adi Aisiteru Reborn said:
Guide for CyanogenMod11 KOT49H
HOW TO PORT "Mokee ListView Animations" for CyanogenMod11 only !!
Hello guys, I want to share to you smali Guide how to port with settings. custom Mokee ListView Animation,.
credit to Mokee rom
ok lets go to Guide:
first of all need some requirement for this MOD-GUIDE
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk and JAR file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
Settings.apk
Decompile your CM11 Settings.apk
1. Settings.apk\res\values\arrays.xml
add this to end of it before
Code:
</resources>
so it will be like this
Code:
<string-array name="listview_animation_entries">
<item>@string/listview_off</item>
<item>@string/listview_wave_left</item>
<item>@string/listview_wave_right</item>
<item>@string/listview_scale</item>
<item>@string/listview_alpha</item>
<item>@string/listview_stack_top</item>
<item>@string/listview_stack_bottom</item>
<item>@string/listview_unfold</item>
<item>@string/listview_fold</item>
<item>@string/listview_translate_left</item>
<item>@string/listview_translate_right</item>
<item>@string/listview_rotate</item>
</string-array>
<string-array name="listview_animation_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
</string-array>
<string-array name="listview_interpolator_entries">
<item>@string/listview_off</item>
<item>@string/listview_accelerate_interpolator</item>
<item>@string/listview_decelerate_interpolator</item>
<item>@string/listview_accelerate_decelerate_interpolator</item>
<item>@string/listview_anticipate_interpolator</item>
<item>@string/listview_overshoot_interpolator</item>
<item>@string/listview_anticipate_overshoot_interpolator</item>
<item>@string/listview_bounce_interpolator</item>
</string-array>
<string-array name="listview_interpolator_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
</string-array>
[COLOR="Blue"]</resources>[/COLOR]
2. Settings.apk\res\values\strings.xml
add this to end of it before
Code:
</resources>
so it will be like this
Code:
<string name="listview_animation_title">ListView animation</string>
<string name="listview_off">Off</string>
<string name="listview_wave_left">Wave (left)</string>
<string name="listview_wave_right">Wave (right)</string>
<string name="listview_alpha">Alpha</string>
<string name="listview_scale">Scale</string>
<string name="listview_stack_top">Stack (top)</string>
<string name="listview_stack_bottom">Stack (bottom)</string>
<string name="listview_unfold">Unfold</string>
<string name="listview_fold">Fold</string>
<string name="listview_translate_left">Translate (left)</string>
<string name="listview_translate_right">Translate (right)</string>
<string name="listview_rotate">Rotate</string>
<string name="listview_interpolator_title">ListView interpolator</string>
<string name="listview_accelerate_interpolator">Accelerate</string>
<string name="listview_decelerate_interpolator">Decelerate</string>
<string name="listview_accelerate_decelerate_interpolator">Accelerate decelerate</string>
<string name="listview_anticipate_interpolator">Anticipate</string>
<string name="listview_overshoot_interpolator">Overshoot</string>
<string name="listview_anticipate_overshoot_interpolator">Anticipate overshoot</string>
<string name="listview_bounce_interpolator">Bounce</string>
[COLOR="Blue"]</resources>[/COLOR]
3. Settings.apk\res\xml\system_ui_settings.xml
add this line
Code:
<PreferenceScreen android:title="@string/listview_animation_title" android:key="listview_animation_settings" android:fragment="com.android.settings.adi.ListViewSettings" />
this is the example :
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/system_interface_title"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceScreen android:title="@string/status_bar_title" android:key="status_bar" android:fragment="com.android.settings.cyanogenmod.StatusBar" />
<PreferenceScreen android:title="@string/quick_settings_panel_title" android:key="quick_settings_panel" android:fragment="com.android.settings.quicksettings.QuickSettings" />
<PreferenceScreen android:title="@string/notification_drawer_title" android:key="notification_drawer" android:fragment="com.android.settings.cyanogenmod.NotificationDrawer" />
<PreferenceCategory android:title="@string/power_menu_expanded_desktop" android:key="expanded_desktop_category">
<ListPreference android:persistent="false" android:entries="@array/expanded_desktop_entries" android:title="@string/expanded_desktop_style" android:key="expanded_desktop" android:entryValues="@array/expanded_desktop_values" />
<com.android.settings.cyanogenmod.SystemSettingCheckBoxPreference android:title="@string/expanded_desktop_system_bars_visibility" android:key="expanded_desktop_system_bars_visibility" android:summary="@string/expanded_desktop_system_bars_visibility_summary" android:defaultValue="false" />
</PreferenceCategory>
<Preference android:key="touch_screen_gesture_settings">
<intent android:targetPackage="com.cyanogenmod.settings.device" android:action="com.cyanogenmod.action.LAUNCH_TOUCHSCREEN_GESTURE_SETTINGS" android:targetClass="com.cyanogenmod.settings.device.TouchscreenGestureSettings" />
</Preference>
[COLOR="Red"]<PreferenceScreen android:title="@string/listview_animation_title" android:key="listview_animation_settings" android:fragment="com.android.settings.adi.ListViewSettings" />[/COLOR]
<PreferenceScreen android:title="@string/ram_bar" android:key="recents_panel" android:fragment="com.android.settings.adi.RecentsPanelSettings" />
<PreferenceCategory android:title="@string/navigation_bar_category">
<CheckBoxPreference android:title="@string/navbar_enable_bar" android:key="enable_nav_bar" android:summary="@string/navbar_enable_bar_summary" android:defaultValue="true" />
<PreferenceScreen android:title="@string/navbar_style_dimen_title" android:key="navbar_dimen_settings" android:dependency="enable_nav_bar" android:fragment="com.android.settings.adi.NavbarDimenSettings" />
<PreferenceScreen android:title="@string/navigation_bar_title" android:key="navigation_bar" android:dependency="enable_nav_bar" android:fragment="com.android.settings.cyanogenmod.NavBar" />
<PreferenceScreen android:title="@string/navigation_ring_title" android:key="navigation_ring" android:dependency="enable_nav_bar" android:fragment="com.android.settings.cyanogenmod.NavRing" />
<com.android.settings.cyanogenmod.SystemSettingCheckBoxPreference android:title="@string/navigation_bar_left_title" android:key="navigation_bar_left" android:summary="@string/navigation_bar_left_summary" android:dependency="enable_nav_bar" android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/hw_keys_title" android:key="hw_keys_on_navbar">
<CheckBoxPreference android:title="@string/key_back_enabled" android:key="key_back_enabled" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/key_menu_enabled" android:key="key_menu_enabled" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/key_home_enabled" android:key="key_home_enabled" android:defaultValue="true" />
</PreferenceCategory>
</PreferenceScreen>
4. Download attached file and merge to your decompiled Settings.apk, done and recompile it
5. Decompile the newly Recompiled APK again
- Next go to res/values/public.xml
open it with Notepad++
search for this line
Code:
<public type="xml" name="adi_mokee_listview_animations" id="[COLOR="Red"]??????????[/COLOR]" />
and pay attention to this ??????????
leave it, but keep it open
6. from the second decompiled Settings.apk , go to Settings.apk\smali\com\android\settings\adi\ListViewSettings.smali
search for this line
Code:
const v6, 0x7f050076
change this ids value 0x7f050076 in the smali
from here
Code:
<public type="xml" name="adi_mokee_listview_animations" id="[COLOR="Red"]??????????[/COLOR]" />
7. Done and recompile your settings.apk
Click to expand...
Click to collapse
Adi Aisiteru Reborn said:
framework.jar
1. Decompile your CM11 framework.jar
go to framework.jar\classout\android\widget\
remove all AbsListView.smali and its subs file
replace them with attached file
2. Decompile your CM11 framework-res.apk
go to \framework-res.apk\res\values\public.xml
search for this lines :
Code:
<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
pay attention to the red highlight the last 5 digits of each line 0x010?????
3. open AbsListView.smali file I gave
and search for this
- const v0, 0x101006a
change the last 5 digits ids 1006a in the smali according to your own have in
Code:
<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />
do it too to all of line below
- const v2, 0x10301ed
Code:
<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10301ee
Code:
<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v1, 0x10900b8
Code:
<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v1, 0x1080062
Code:
<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0005
Code:
<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0006
Code:
<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0004
Code:
<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0007
Code:
<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0008
Code:
<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0009
Code:
<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a000a
Code:
<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
4. Done and compile your framework.jar
Click to expand...
Click to collapse
Vivek_Neel said:
And how about you tell your progress?
Any logcat . why it did not work?
Click to expand...
Click to collapse
i haven't logcat but i will get you soon

[Guide] Increasing the size of Avatars in Contacts

Hello guys and today i am back with another new guide that help you to change your Contacts Avatars(images) Size.
[This guide is only for Android 5.0+]
Credit:-
KachalkinGeorg (The GK)
Requirement (Deodexed):-
1.Contacts.apk
2.Dialer.apk
3.Mms.apk
4.NotePad++
5.Patience.. if you dont have try to get it
First part ( Contacts.apk )
1.Decompile Contacts.apk
2.Open Contacts\res\values\dimens.xml
find below demen
Code:
<dimen name="contact_browser_list_item_photo_size">40.0dip</dimen>
replace demen with this
Code:
<dimen name="contact_browser_list_item_photo_size">64.0dip</dimen>
You can change the value as you wish. example:-52.0dip
Click to expand...
Click to collapse
3.Open Contacts\smali\com\android\contacts\common\list\ContactListItemView.smali
find below method
Code:
.method public getNameTextView()Landroid/widget/TextView;
in the same method find below lines.
Code:
invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/android/contacts/common/list/ContactListItemView;->mNameTextView:Landroid/widget/TextView;
.line 993
iget-object v0, p0, Lcom/android/contacts/common/list/ContactListItemView;->mNameTextView:Landroid/widget/TextView;
[COLOR="Red"]const/4 v1, 0x1[/COLOR]
[COLOR="Blue"]const/4 v1, 0x0[/COLOR]
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setSingleLine(Z)V
find red line and replace with blue
Click to expand...
Click to collapse
4.Recompile Contacts and move to your device
Continued on next post
Continued.
Scond part ( Dialer.apk )
1.Decompile Dialer.apk
2.Open Dialer\res\layout\call_log_spinner_item.xml
find
Code:
<TextView android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="fill_parent" android:layout_height="40.0dip" style="@style/CallLogSpinnerStyle"
replace
Code:
<TextView android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="fill_parent" android:layout_height="64.0dip" style="@style/CallLogSpinnerStyle"
You can change the value "64.0dip" as you wish. example:-52.0dip
Click to expand...
Click to collapse
3.Open Dialer\res\layout\call_stats_nav_item.xml
find
Code:
<TextView android:textAppearance="?android:textAppearanceListItemSmall" android:gravity="center_vertical" android:id="@id/call_stats_nav_text" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="40.0dip" android:paddingStart="?android:listPreferredItemPaddingStart" android:paddingEnd="?android:listPreferredItemPaddingEnd"
replace
Code:
<TextView android:textAppearance="?android:textAppearanceListItemSmall" android:gravity="center_vertical" android:id="@id/call_stats_nav_text" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="64.0dip" android:paddingStart="?android:listPreferredItemPaddingStart" android:paddingEnd="?android:listPreferredItemPaddingEnd"
You can change the value "64.0dip" as you wish. example:-52.0dip
Click to expand...
Click to collapse
4.Open Dialer\res\values\dimens.xml
find
Code:
<dimen name="contact_browser_list_item_photo_size">40.0dip</dimen>
replace
Code:
<dimen name="contact_browser_list_item_photo_size">64.0dip</dimen>
You can change the value "64.0dip" as you wish. example:-52.0dip
Click to expand...
Click to collapse
find
Code:
<dimen name="contact_photo_size">40.0dip</dimen>
replace
Code:
<dimen name="contact_photo_size">64.0dip</dimen>
You can change the value "64.0dip" as you wish. example:-52.0dip
Click to expand...
Click to collapse
5.Recompile Dialer and move to your device
Continued on next post
Continued.
Final part ( Mms.apk )
1.Decompile Mms.apk
2.Open Mms\res\layout\conversation_list_item.xml
find
Code:
<com.android.contacts.common.widget.CheckableQuickContactBadge android:id="@id/avatar" android:visibility="gone" android:layout_centerVertical="true" android:layout_marginEnd="16.0dip" style="?android:attr/quickContactBadgeStyleSmallWindowMedium" />
replace
Code:
<com.android.contacts.common.widget.CheckableQuickContactBadge android:id="@id/avatar" android:layout_width="64.0dip" android:layout_height="64.0dip" android:visibility="gone" android:layout_centerVertical="true" android:layout_marginEnd="16.0dip" style="?android:attr/quickContactBadgeStyleSmallWindowLarge" />
You can change the value "64.0dip" as you wish. example:-52.0dip
Click to expand...
Click to collapse
3.Open Mms\res\layout\mailbox_msg_list.xml
find
Code:
<com.android.contacts.common.widget.CheckableQuickContactBadge android:layout_gravity="center_vertical" android:id="@id/avatar" android:visibility="gone" android:layout_marginEnd="16.0dip" style="?android:attr/quickContactBadgeStyleSmallWindowMedium" />
replace
Code:
<com.android.contacts.common.widget.CheckableQuickContactBadge android:layout_gravity="center_vertical" android:id="@id/avatar" android:layout_width="64.0dip" android:layout_height="64.0dip" android:visibility="gone" android:layout_marginEnd="16.0dip" style="?android:attr/quickContactBadgeStyleSmallWindowLarge" />
You can change the value "64.0dip" as you wish. example:-52.0dip
Click to expand...
Click to collapse
4.Open Mms\res\values\dimens.xml
find
Code:
<dimen name="contact_browser_list_item_photo_size">40.0dip</dimen>
replace
Code:
<dimen name="contact_browser_list_item_photo_size">64.0dip</dimen>
You can change the value "64.0dip" as you wish. example:-52.0dip
Click to expand...
Click to collapse
find
Code:
<dimen name="avatar_width_height">40.0dip</dimen>
replace
Code:
<dimen name="avatar_width_height">64.0dip</dimen>
You can change the value "64.0dip" as you wish. example:-52.0dip
Click to expand...
Click to collapse
5. Recompile Mms and move to your device.
Enjoy...

Categories

Resources