Related
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!!!
Dear friends,
Just a little HowTo thread to show how to make a cool S5 themed Power Menu.
The idea was to make the sound toggle like the S5 :
Old:
New:
The Idea :
- Remove the old sound icons,
- Replace and move old toogles.
Changing framework-res.apk:
- Decompile framework-res.apk,
- Copy the provided source files (drawable\tw_silent_mode_indicator, drawable-xxhdpi\PNgs),
- Change layout\global_actions_silent_mode.xml :
Old:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?listPreferredItemHeight"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:visibility="invisible" android:layout_width="4.0dip" android:layout_height="fill_parent" />
[COLOR="Red"]<LinearLayout android:orientation="vertical" android:id="@id/option1" android:background="?actionBarItemBackground" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:contentDescription="@string/globalactions_silent_mode_mute">
<ImageView android:layout_gravity="center" android:layout_width="34.0dip" android:layout_height="34.0dip" android:layout_marginTop="5.0dip" android:src="@drawable/tw_device_options_mute" android:scaleType="center" />
<TextView android:textSize="15.0dip" android:textColor="#fff5f5f5" android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/global_action_sound_mode_mute" />
<ImageView android:layout_gravity="center" android:background="@drawable/tw_silent_mode_indicator" android:duplicateParentState="true" android:layout_width="fill_parent" android:layout_height="5.0dip" android:layout_marginTop="1.0dip" android:layout_marginBottom="5.0dip" android:scaleType="center" />
</LinearLayout>[/COLOR]
<LinearLayout android:orientation="horizontal" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginLeft="4.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip">
<ImageView android:layout_gravity="center" android:layout_width="1.0dip" android:layout_height="fill_parent" android:src="@drawable/tw_device_options_divider" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:id="@id/option2" android:background="?actionBarItemBackground" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:contentDescription="@string/globalactions_silent_mode_vibrate">
<ImageView android:layout_gravity="center" android:layout_width="34.0dip" android:layout_height="34.0dip" android:layout_marginTop="5.0dip" android:src="@drawable/tw_device_options_vibrate" android:scaleType="center" />
<TextView android:textSize="15.0dip" android:textColor="#fff5f5f5" android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/global_action_sound_mode_vibrate" />
<ImageView android:layout_gravity="center" android:background="@drawable/tw_silent_mode_indicator" android:duplicateParentState="true" android:layout_width="fill_parent" android:layout_height="5.0dip" android:layout_marginTop="1.0dip" android:layout_marginBottom="5.0dip" android:scaleType="center" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/dynamic_spacer" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginLeft="4.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip">
<ImageView android:layout_gravity="center" android:layout_width="1.0dip" android:layout_height="fill_parent" android:src="@drawable/tw_device_options_divider" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:id="@id/option3" android:background="?actionBarItemBackground" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:contentDescription="@string/globalactions_silent_mode_sound">
<ImageView android:layout_gravity="center" android:layout_width="34.0dip" android:layout_height="34.0dip" android:layout_marginTop="5.0dip" android:src="@drawable/tw_device_options_sound" android:scaleType="center" />
<TextView android:textSize="15.0dip" android:textColor="#fff5f5f5" android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/global_action_sound_mode_sound" />
<ImageView android:layout_gravity="center" android:background="@drawable/tw_silent_mode_indicator" android:duplicateParentState="true" android:layout_width="fill_parent" android:layout_height="5.0dip" android:layout_marginTop="1.0dip" android:layout_marginBottom="5.0dip" android:scaleType="center" />
</LinearLayout>
<View android:visibility="invisible" android:layout_width="4.0dip" android:layout_height="fill_parent" />
</LinearLayout>
New :
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:background="#ff005060" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?listPreferredItemHeight"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:visibility="invisible" android:layout_width="4.0dip" android:layout_height="fill_parent" />
[COLOR="Red"] <LinearLayout android:orientation="vertical" android:id="@id/option1" android:background="#ff005060" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:contentDescription="@string/globalactions_silent_mode_mute">
<ImageView android:layout_gravity="center" android:background="@drawable/tw_silent_mode_indicator" android:duplicateParentState="true" android:layout_width="45.0dip" android:layout_height="45.0dip" android:layout_marginTop="3.0dip" android:layout_marginBottom="1.0dip" android:scaleType="center" />
<TextView android:textSize="15.0dip" android:textColor="#fff5f5f5" android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/global_action_sound_mode_mute" />
</LinearLayout>[/COLOR]
<LinearLayout android:orientation="vertical" android:id="@id/option2" android:background="#ff005060" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:contentDescription="@string/globalactions_silent_mode_vibrate">
<ImageView android:layout_gravity="center" android:background="@drawable/tw_silent_mode_indicator2" android:duplicateParentState="true" android:layout_width="45.0dip" android:layout_height="45.0dip" android:layout_marginTop="3.0dip" android:layout_marginBottom="1.0dip" android:scaleType="center" />
<TextView android:textSize="15.0dip" android:textColor="#fff5f5f5" android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/global_action_sound_mode_vibrate" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:id="@id/option3" android:background="#ff005060" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:contentDescription="@string/globalactions_silent_mode_sound">
<ImageView android:layout_gravity="center" android:background="@drawable/tw_silent_mode_indicator3" android:duplicateParentState="true" android:layout_width="45.0dip" android:layout_height="45.0dip" android:layout_marginTop="3.0dip" android:layout_marginBottom="1.0dip" android:scaleType="center" />
<TextView android:textSize="15.0dip" android:textColor="#fff5f5f5" android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/global_action_sound_mode_sound" />
</LinearLayout>
<View android:visibility="invisible" android:layout_width="4.0dip" android:layout_height="fill_parent" />
</LinearLayout>
- Add new resources in the public.xml file (PNG, tw_silent_mode_indicator2.xml & tw_silent_mode_indicator3.xml) :
Code:
[COLOR="Red"] <public type="drawable" name="tw_silent_mode_indicator2" id="0x01080fcf" />
<public type="drawable" name="tw_silent_mode_indicator3" id="0x01080fd0" />
<public type="drawable" name="tw_device_options_mute_off" id="0x01080fd1" />
<public type="drawable" name="tw_device_options_mute_on" id="0x01080fd2" />
<public type="drawable" name="tw_device_options_sound_off" id="0x01080fd3" />
<public type="drawable" name="tw_device_options_sound_on" id="0x01080fd4" />
<public type="drawable" name="tw_device_options_vibrate_off" id="0x01080fd5" />
<public type="drawable" name="tw_device_options_vibrate_on" id="0x01080fd6" /> [/COLOR]
- Recompile the framework-res apk and put it on you phone.
Now you should have something like this :
UPDATE:
Sound icons ipdated in V1.2, Should be OK now (proper tansparent colors & shapes).
For those who use Imperium V10, here is the compiled framework file (+ System UI to have the complete System Mod):
http://www.mediafire.com/download/r7ot40836ilrev7/S5SysTheme.zip
Perfect dude,
Can you make it for Ozcanrom v4.2?
hosseinito said:
Perfect dude,
Can you make it for Ozcanrom v4.2?
Click to expand...
Click to collapse
If you provide me the framework-res.apk file ...
nmeuret said:
If you provide me the framework-res.apk file ...
Click to expand...
Click to collapse
d-h.st/ulm
Here you go. Extract the zip...
hi i reworked the images
igot a problem when i recompile because of multiply image ids how can i change the ids
Code:
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10903: error: Multiple entry names declared for public entry identifier 0xfd0 in type drawable (tw_silent_mode_indicator2 vs tw_toolbox_edit_area_bg).
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:8718: Originally defined here.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10903: error: Public symbol drawable/tw_toolbox_edit_area_bg declared here is not defined.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10904: error: Multiple entry names declared for public entry identifier 0xfd1 in type drawable (tw_silent_mode_indicator3 vs tw_toolbox_edit_btn).
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:8719: Originally defined here.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10904: error: Public symbol drawable/tw_toolbox_edit_btn declared here is not defined.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10905: error: Multiple entry names declared for public entry identifier 0xfd2 in type drawable (tw_device_options_mute_off vs tw_toolbox_edit_btn_focus).
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:8720: Originally defined here.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10905: error: Public symbol drawable/tw_toolbox_edit_btn_focus declared here is not defined.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10906: error: Multiple entry names declared for public entry identifier 0xfd3 in type drawable (tw_device_options_mute_on vs tw_toolbox_floating_background).
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:8721: Originally defined here.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10906: error: Public symbol drawable/tw_toolbox_floating_background declared here is not defined.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10907: error: Multiple entry names declared for public entry identifier 0xfd4 in type drawable (tw_device_options_sound_off vs tw_toolbox_floating_btn_earphones).
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:8722: Originally defined here.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10907: error: Public symbol drawable/tw_toolbox_floating_btn_earphones declared here is not defined.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10908: error: Multiple entry names declared for public entry identifier 0xfd5 in type drawable (tw_device_options_sound_on vs tw_toolbox_floating_btn_earphones_open).
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:8723: Originally defined here.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10908: error: Public symbol drawable/tw_toolbox_floating_btn_earphones_open declared here is not defined.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10909: error: Multiple entry names declared for public entry identifier 0xfd6 in type drawable (tw_device_options_vibrate_off vs tw_toolbox_remove_area_bg).
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:8724: Originally defined here.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10909: error: Public symbol drawable/tw_toolbox_remove_area_bg declared here is not defined.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10910: error: Multiple entry names declared for public entry identifier 0xfd7 in type drawable (tw_device_options_vibrate_on vs tw_toolbox_remove_btn).
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:8725: Originally defined here.
C:\AdvancedApkTool\3-Out\framework-res.apk\res\values\public.xml:10910: error: Public symbol drawable/tw_toolbox_remove_btn declared here is not defined.
dack23 said:
hi i reworked the images
igot a problem when i recompile because of multiply image ids how can i change the ids
[/CODE]
Click to expand...
Click to collapse
Thanks. Concerning the IDS, you have to find the last available ID and increment it for each new entry. That's not very easy, take few minutes each time (don't know if there is a fast way ?).
nmeuret said:
Thanks. Concerning the IDS, you have to find the last available ID and increment it for each new entry. That's not very easy, take few minutes each time (don't know if there is a fast way ?).
Click to expand...
Click to collapse
maybe u can look at this it would be great
thanks
http://www37.zippyshare.com/v/41008646/file.html
dack23 said:
maybe u can look at this it would be great
Click to expand...
Click to collapse
Ok so in your public.xml you see that the last item of type="Drawable" is :
<public type="drawable" name="tw_ic_lock_screenshot" id="0x01081029" />
The first thing to check if ID 0x01081029 + 1 = 0x0108102a is available ... and it is.
The the next IDS should be 0x0108102a, 0x0108102b, 0x0108102c, etc ...
Hi @mmeuret,
Can you please make it for GF 1.2?
https://www.dropbox.com/s/jeyevc6fx67k3iy/framework-res.apk?dl=0
Thank you ?
nmeuret said:
Ok so in your public.xml you see that the last item of type="Drawable" is :
<public type="drawable" name="tw_ic_lock_screenshot" id="0x01081029" />
The first thing to check if ID 0x01081029 + 1 = 0x0108102a is available ... and it is.
The the next IDS should be 0x0108102a, 0x0108102b, 0x0108102c, etc ...
Click to expand...
Click to collapse
ok first id ok but last 2 dont work
<public type="drawable" name="tw_silent_mode_indicator2" id="0x0108102a" />
<public type="drawable" name="tw_silent_mode_indicator3" id="0x0108102b" />
<public type="drawable" name="tw_device_options_mute_off" id="0x0108102c" />
<public type="drawable" name="tw_device_options_mute_on" id="0x0108102d" />
<public type="drawable" name="tw_device_options_sound_off" id="0x0108102e" />
<public type="drawable" name="tw_device_options_sound_on" id="0x0108102f" />
dont work
<public type="drawable" name="tw_device_options_vibrate_off" id="0x0108110a" />
<public type="drawable" name="tw_device_options_vibrate_on" id="0x0108110b" />
<public type="drawable" name="tw_device_options_vibrate_off" id="0x0108102g" />
<public type="drawable" name="tw_device_options_vibrate_on" id="0x0108102h" />
need ur help
i followed this guide but i get error while i was compiling..this is the log..what can i do?
W: Could not find sources
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10895: error: Multiple entry names declared for public entry identifier 0xfd0 in type drawable (tw_silent_mode_indicator2 vs tw_toolbox_edit_area_bg).
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:11941: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10895: error: Public symbol drawable/tw_toolbox_edit_area_bg declared here is not defined.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10896: error: Multiple entry names declared for public entry identifier 0xfd1 in type drawable (tw_silent_mode_indicator3 vs tw_toolbox_edit_btn).
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:11942: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10896: error: Public symbol drawable/tw_toolbox_edit_btn declared here is not defined.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10897: error: Multiple entry names declared for public entry identifier 0xfd2 in type drawable (tw_device_options_mute_off vs tw_toolbox_edit_btn_focus).
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:11943: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10897: error: Public symbol drawable/tw_toolbox_edit_btn_focus declared here is not defined.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10898: error: Multiple entry names declared for public entry identifier 0xfd3 in type drawable (tw_device_options_mute_on vs tw_toolbox_floating_background).
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:11944: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10898: error: Public symbol drawable/tw_toolbox_floating_background declared here is not defined.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10899: error: Multiple entry names declared for public entry identifier 0xfd4 in type drawable (tw_device_options_sound_off vs tw_toolbox_floating_btn_earphones).
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:11945: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10899: error: Public symbol drawable/tw_toolbox_floating_btn_earphones declared here is not defined.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10900: error: Multiple entry names declared for public entry identifier 0xfd5 in type drawable (tw_device_options_sound_on vs tw_toolbox_floating_btn_earphones_open).
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:11946: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10900: error: Public symbol drawable/tw_toolbox_floating_btn_earphones_open declared here is not defined.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10901: error: Multiple entry names declared for public entry identifier 0xfd6 in type drawable (tw_device_options_vibrate_off vs tw_toolbox_remove_area_bg).
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:11947: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10901: error: Public symbol drawable/tw_toolbox_remove_area_bg declared here is not defined.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10902: error: Multiple entry names declared for public entry identifier 0xfd7 in type drawable (tw_device_options_vibrate_on vs tw_toolbox_remove_btn).
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:11948: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\public.xml:10902: error: Public symbol drawable/tw_toolbox_remove_btn declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Andrea\AppData\Local\Temp\brut_util_Jar_6156724742753412531.tmp, p, --forced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-I9505XXUGNF1, -F, C:\Users\Andrea\AppData\Local\Temp\APKTOOL9066347275687172668.tmp, -x, -S, C:\AndroidMultitool\Decompiled_apk\framework-res\res, -M, C:\AndroidMultitool\Decompiled_apk\framework-res\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Andrea\AppData\Local\Temp\brut_util_Jar_6156724742753412531.tmp, p, --forced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-I9505XXUGNF1, -F, C:\Users\Andrea\AppData\Local\Temp\APKTOOL9066347275687172668.tmp, -x, -S, C:\AndroidMultitool\Decompiled_apk\framework-res\res, -M, C:\AndroidMultitool\Decompiled_apk\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Andrea\AppData\Local\Temp\brut_util_Jar_6156724742753412531.tmp, p, --forced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-I9505XXUGNF1, -F, C:\Users\Andrea\AppData\Local\Temp\APKTOOL9066347275687172668.tmp, -x, -S, C:\AndroidMultitool\Decompiled_apk\framework-res\res, -M, C:\AndroidMultitool\Decompiled_apk\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more
Impossibile trovare il file specificato.
Impossibile trovare il file specificato.
EDIT: i saw now that is the same error of @dack23 .. Is there a solution? Thanks in advance
nmeuret said:
Ok so in your public.xml you see that the last item of type="Drawable" is :
<public type="drawable" name="tw_ic_lock_screenshot" id="0x01081029" />
The first thing to check if ID 0x01081029 + 1 = 0x0108102a is available ... and it is.
The the next IDS should be 0x0108102a, 0x0108102b, 0x0108102c, etc ...
Click to expand...
Click to collapse
thanks i got it u r awesome:good:
Thanks, great.
here is my Resault
dack23 said:
here is my Resault
Click to expand...
Click to collapse
How have you solved the problem? I want this too.. Thanks
Can u make it as flashabel zip please
Sent from my SM-G900F using Tapatalk
dack23 said:
here is my Resault
Click to expand...
Click to collapse
Good !
thereassaad said:
Can u make it as flashabel zip please
Click to expand...
Click to collapse
The problem is that the Mod depends on Rom framework and cannot be universal. I provided the Imperium version, if someone makes other versions I can put them in OP.
[ROM][I9505][XXUGNG8][4.4.2] *11.08.2014* Project X Rom LMS [Galaxy S5 Style]
DOWNLOAD Project X Rom LMS v.35
http://www.android-hilfe.de/samsung...8-2014-project-x-rom-lms-galaxy-s5-style.html
Including all working S5 Apps
And here The patch With The Better S5 Powermenu
DOWNLOAD LMS PATCHv.35.2
http://www46.zippyshare.com/v/50511746/file.html
Anyone knows why i have this square around the circle?
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
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
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...