[SHARE] com.x.x-res.apk Collection For a SONY Xperia , Customizing -res APKs - Sony Xperia M
hi,
in different customization of the same device , we find some option in system configuration enabled in some and other no then we can do it by changing variable value in application files in system by decompiling and recompiling after modifying ( bools or arrays...etc ) it take a lot of time
so customization Sony has choose to make a little files for a region customization or enabling or disabling option in system app without modifying the original app file by using {real_application_name}-res.apk what will be adding in /system/vendor/overlay
in 4.0.4 and before sony ericsson used /system/etc/customization/ folder for enabling and parameterizing apps, so in JB 4.2 and 4.3or 4.4these files are incompatible only 4.3 and 4.4 are compatible (attached files)
for JB 4.2
4.3 and 4.4
How to use ??
example :
for enabling data traffic notification and status icon in status bar we must change in or semcphone.apk phone.apk this line after decompiling Phone.apk or SemcPhone.apk in res/value/bools/xml we find a default value of application :
Code:
<bool name="data_connection_except_mms_can_clear_icon">true</bool>
<bool name="data_connection_except_mms_show_icon_when_disabled">true</bool>
<bool name="data_connection_except_mms_show_icon_when_enabled">false</bool>
Click to expand...
Click to collapse
they must be change to :
Code:
<bool name="data_connection_except_mms_can_clear_icon">false</bool> ----->[COLOR="red"] icon always visible can't be removed[/COLOR]
<bool name="data_connection_except_mms_show_icon_when_disabled">true</bool>
<bool name="data_connection_except_mms_show_icon_when_enabled">true</bool>
Click to expand...
Click to collapse
then it can be inserted in com.phone-res.apk and injected in system/vendor/overlay and rebooting after that the options are activated.
just know what value to want be activated in the main application apk
Another exemple :
in this post http://forum.xda-developers.com/showthread.php?t=2703113 to have mod for activating low cost in conversations.apk but with decompiling main apk conversations.apk but the simple one is using -res.apk
default value are :
Code:
<bool name="character_conversion">false</bool>
<bool name="character_conversion_visibility">false</bool>
Click to expand...
Click to collapse
and must be changed to
Code:
<bool name="character_conversion">true</bool>
<bool name="character_conversion_visibility">true</bool>
Click to expand...
Click to collapse
then modifing com.sonyericsson.conversations-res.apk
after decomiling
we have
Code:
[CODE]
[/CODE]
res
|-------> bools.xml -------------> to be modified
|-------> public.xml ---------------important contains all variable defined
bools.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="three_digit_number_linkify">true</bool>
<bool name="delivery_report">true</bool>
<bool name="mms_retrieval_during_roaming_visibility">true</bool>
[COLOR="Red"]<bool name="character_conversion">true</bool>
<bool name="character_conversion_visibility">true</bool>[/COLOR]
</resources>
public.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="bool" name="three_digit_number_linkify" id="0x7f020000" />
<public type="bool" name="delivery_report" id="0x7f020001" />
<public type="bool" name="mms_retrieval_during_roaming_visibility" id="0x7f020002" />
[COLOR="red"]<public type="bool" name="character_conversion" id="0x7f020003" />
<public type="bool" name="character_conversion_visibility" id="0x7f020004" />[/COLOR]
<public type="bool" name="enable_send_empty_message" id="0x7f020005" />
<public type="integer" name="max_recipients" id="0x7f030000" />
<public type="integer" name="mms_max_size" id="0x7f030001" />
<public type="integer" name="sms_max_segments" id="0x7f030002" />
<public type="integer" name="mms_trigger_sms_segments" id="0x7f030003" />
</resources>
and recompile, push it. and done.
the files contains :
For JB 4.2 taken from diffrent cutomization for xperial L (perhaps orange france)
android-res.apk
com.android.browser-res.apk
com.android.email-res.apk
com.android.internal-res.apk
com.android.phone-res.apk
com.android.providers.partnerbookmarks-res.apk
com.android.settings-res.apk
com.android.systemui-res.apk
com.sonyericsson.capabilities-res.apk
com.sonyericsson.conversations-res.apk
com.sonyericsson.customizedsettings-res.apk
com.sonyericsson.home-res.apk
com.sonyericsson.initialbootsetup-res.apk
com.sonyericsson.r2r.client-res.apk
com.sonyericsson.setupwizard-res.apk
com.sonyericsson.simcontacts-res.apk
com.sonyericsson.trackid-res.apk
com.sonyericsson.updatecenter-res.apk
com.sonyericsson.wappush-res.apk
SemcAlbum-Overlay-300.apk
SemcPhone-Overlay-285.apk
SystemUI-Overlay-285.apk
For 4.3-4.4 Tooken from Z1 customized T-mobile DE
android-res.apk
com.android.browser-res.apk
com.android.email-res.apk
com.android.nfc-res.apk
com.android.phone-res.apk
com.android.providers.partnerbookmarks-res.apk
com.android.providers.settings-res.apk
com.android.settings-res.apk
com.sonyericsson.android.omacp-res.apk
com.sonyericsson.android.socialphonebook-res.apk
com.sonyericsson.capabilities-res.apk
com.sonyericsson.conversations-res.apk
com.sonyericsson.customizedsettings-res.apk
com.sonyericsson.home-res.apk
com.sonyericsson.initialbootsetup-res.apk
com.sonyericsson.r2r.client-res.apk
com.sonyericsson.setupwizard-res.apk
com.sonyericsson.shutdownanim-res.apk
com.sonyericsson.simcontacts-res.apk
com.sonyericsson.textinput.uxp-res.apk
com.sonyericsson.trackid-res.apk
com.sonyericsson.updatecenter-res.apk
com.sonyericsson.wappush-res.apk
overlay-semcalbum-flickr-on.apk
ServiceMenu-Overlay-295.apk
SmartConnect-Overlay-295.apk
reserved For futur Use
Can you upload the modified for xperia M?
Sent from my C1904 using Tapatalk
icoolguy1995 said:
Can you upload the modified for xperia M?
Sent from my C1904 using Tapatalk
Click to expand...
Click to collapse
here is com.sonyericsson.conversations-res.apk attached, modified file compatible with JB4.3 and KK4.4
Related
[ Q / DEV ] Modifying Home.apk but not run after change
I want to change Home.apk from xHDPI 6x4 to 5x4. After unpack Home.apk, I change in res\values-xhdpi\integers.xml From Code: <?xml version="1.0" encoding="utf-8"?> <resources> <integer name="apptray_grid_rows">[B]6[/B]</integer> <integer name="apptray_grid_cols">4</integer> </resources> To Code: <?xml version="1.0" encoding="utf-8"?> <resources> <integer name="apptray_grid_rows">[B]5[/B]</integer> <integer name="apptray_grid_cols">4</integer> </resources> And repack Home.apk by Apktool But after replace new Home.apk, it not working (everything ok but not show home launcher, black sreen). Please help me, thanks!:crying: my old home.apk
[Guide]How to Add Volume Slider
Hi All Member Xda Today I want to guide you how to add volume slider Terms: -Know How to Decompile\Recompile -Rooted -Deodex Tutorial: 1.Download The File In Attachment 2.Decompile Your SystemUI.apk 3.Extract the file that have been download from attachment put in correct place 4.Open res\layout\statusbar_expanded.xml 5.Put This Code On The Statusbar_expanded <RelativeLayout androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="44.0dip" android:baselineAligned="false"> <include layout="@layout/slider_controls" /> </RelativeLayout> 6.Save And Recompile -Decompile Back The SystemUI.apk 7.Open Res\Values\public.xml find this code was the result of a drawable (WATCH / REMEMBER WHEN REQUIRED LATER IN SMALI) *** **** <public type="drawable" name="ic_volume_media" id="0x7f020XXX" /> **** <public type="drawable" name="ic_volume_notif" id="0x7f020XXX" /> **** <public type="drawable" name="ic_volume_ringer" id="0x7f020XXX" /> **** <public type="drawable" name="ic_volume_system" id="0x7f020XXX" /> 8. Open smali/com/b16h22/MediaVolumeSlider.smali *** Find 0x7f0200b6 code ic_volume_media replace with hex code themselves (0x7f020XXX) 9. Open smali/com/b16h22/NotificationVolumeSlider.smali *** search code to hex code themselves 0x7f0200b7 replace ic_volume_notif (0x7f020XXX) 10. Open smali/com/b16h22/RingerVolumeSlider.smali *** search code to hex code themselves 0x7f0200b8 replace ic_volume_ringer (0x7f020XXX) 11. Open smali/com/b16h22/SystemVolumeSlider.smali *** search code to hex code themselves 0x7f0200b9 replace ic_volume_system (0x7f020XXX) *hex code for each different rom so you replace 0x7f020XXX = Your task is to replace xxx ente suit your ui public.xml 12. Save and Compile If This Thread Illegal Please Delete Im Just Noob Please Press Thaxs To Support My Work Credit:B16H22 OGY Me
credits?? Thats b16h22 smali. Put a credits to sir b16h22.
nice tutor...
Thaxs sir D2Y aka E said: nice tutor... Click to expand... Click to collapse Please Press Thaxs
thanks to all
Welcome the_vanya1 said: thanks to all Click to expand... Click to collapse Welcome Sir:laugh:
nice guide ...:good: keep going...:good:
Help!!! What is error??
[DEV]How to replace navbar icons on stock ROMs [SOLVED!]
I start this thread in order to share with you the information I already collected regarding the theming the navbar keys on stock roms. You should have realized that after Lollipop upgrade there is not even one stock based ROM or theme which contains themed navbar icons. The reason for this is: 1. Apktool RC3 is buggy on LG system apps, including LGSystemUI.apk. There is no way recently to decompile systemui and have access to the source code of the navbars. 2. With the Lollipop upgrade LG changed its approach regarding definition of the navbar icons using Google's new public classes of VectorDrawables. Code: java.lang.Object ↳android.graphics.drawable.Drawable ↳android.graphics.drawable.VectorDrawable VectorDrawables are specific xml files that define vector graphics via vector coordinates. The three main navbar icons are defined in LGSystemUI.apk as follows: ic_sysbar_back_button.xml: Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="42.0dip" android:width="42.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M124.125,120.827h-76c-1.358,0-2.667-1.789-2.667-4c0-2.209,1.273-4,2.667-4h76c11.045,0,20-8.953,20-20 c0-11.046-8.955-19.999-20-19.999h-96v-8h96c15.463,0,28,12.535,28,27.999C152.125,108.292,139.588,120.827,124.125,120.827z" /> <path android:fillColor="#ffffffff" android:pathData="M45.447,54.302L30.36,66.189c0,0-1.581,1.291-0.553,2.639c-1.028,1.346,0.553,2.639,0.553,2.639 l15.086,11.886c0,0,3.054,2.04,0,5.447c-2.114,2.359-4.366,1.172-5.865,0L17.741,71.466c-1.291-1.074-1.616-2.639-1.616-2.639 s0.326-1.564,1.616-2.639l21.842-17.334c1.499-1.172,3.75-2.359,5.865,0C48.5,52.263,45.447,54.302,45.447,54.302z" /> </vector> ic_sysbar_home_button.xml: Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="48.0dip" android:width="48.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M159.881,87.102l-0.541,1.217c-0.898,2.02-3.264,2.927-5.281,2.027L144.5,86.09c0,14.906,0,28.396,0,28.396 c0,2.209-1.791,4-4,4h-112c-2.209,0-4-1.791-4-4V86.09l-9.559,4.256c-2.018,0.898-4.382-0.009-5.281-2.027l-0.542-1.217 c-0.898-2.02,0.009-4.384,2.027-5.282l70.647-31.455c0.889-0.395,1.839-0.423,2.708-0.178c0.868-0.245,1.818-0.217,2.708,0.178 l70.647,31.455C159.873,82.718,160.781,85.082,159.881,87.102z M32.5,109.154c0,1.27,0.038,1.332,1.333,1.332h101.333 c1.244,0,1.334-0.047,1.334-1.332V82.528l-52-23.152l-52,23.152C32.5,95.766,32.5,109.154,32.5,109.154z" /> </vector> ic_sysbar_recent_button.xml: Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="42.0dip" android:width="42.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M149,51.5H37c-2.209,0-5,1.027-5,3.236c0,0,0,5.764,0,10.764H21c-2.209,0-5,1.027-5,3.236v42.998 c0,2.211,2.791,4.766,5,4.766h112c2.209,0,3-2.555,3-4.766V101.5c8,0,13,0,13,0c2.209,0,3-2.555,3-4.766V54.736 C152,52.527,151.209,51.5,149,51.5z M128,106.402c0,1.285,0.91,2.098-0.333,2.098H26.333c-1.296,0-2.333-0.828-2.333-2.098V74.068 c0-1.27,1.038-0.568,2.333-0.568h101.333c1.243,0,0.333-0.716,0.333,0.568L128,106.402L128,106.402z M144,91.402 c0,1.285,0.91,2.098-0.333,2.098H136V68.736c0-2.209-0.791-3.236-3-3.236H40v-5.432c0-1.269,1.038-0.568,2.333-0.568h101.334 c1.243,0,0.333-0.716,0.333,0.568V91.402L144,91.402z" /> </vector> I spent many dozen hours on finding/creating vector graphics of Lollipop navbar keys as SVG files. I tried many times and many ways to save the corresponding SVG files and convert them to VectorDrawable using this site: http://inloop.github.io/svg2android/ Used a trick to recompile the new xmls and replaced them in the LGSystemUI.apk with my vrtheme engine. But still no success. When the shape of the icon was OK the size of them was never. Basically I am fully confused why the virtual canvas of the stock icons is 168x168. I am struggling with the fill and stroke color definition as well. This is the status quo. I hope by starting this thread that together we can solve the problem and get the working source code of the Lollipop navbars. I look forward for any help. Please note that skin1980 is already involved in the project and I got from him huge help with his intelligent hints. This is a development thread please do not post comments and remarks that are not intended to provide professional help. Merry Xmas to all of you!
Vector codes REAL SOLUTION Since the release of 20H software version LG also introduced the Lollipop navbar icons. These are defined in LGSystemUI.apk res/drawables folder by xml files [email protected]_button.xml where @ is the corresponding function name (for example ic_sysbar_back_button.xml. { "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" } Back button: Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M122.132,132c-0.921,0-1.759-0.324-2.435-0.847L44.916,87.979c-0.965-0.499-1.956-0.894-2.525-1.88c-0.338-0.586-0.492-1.221-0.516-1.852c-0.007-0.082-0.004-0.165-0.007-0.247c0.003-0.082,0-0.165,0.007-0.247c0.023-0.632,0.178-1.266,0.516-1.852c0.569-0.987,1.623-1.35,2.525-1.88l74.781-43.175c0.676-0.523,1.514-0.847,2.435-0.847c2.209,0,4,1.791,4,4v88C126.132,130.209,124.341,132,122.132,132zM54.025,84l64.106,37.012V46.988L54.025,84z" /> </vector> Dual window Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M120,36H48c-6.627,0-12,5.373-12,12v72c0,6.627,5.373,12,12,12h72c6.627,0,12-5.373,12-12V48C132,41.373,126.627,36,120,36zM124,120c0,2.209-1.791,4-4,4H48c-2.209,0-4-1.791-4-4V88h80V120zM124,80H44V48c0-2.209,1.791-4,4-4h72c2.209,0,4,1.791,4,4V80z" /> <path android:fillColor="#ffffffff" android:pathData="M85.871,73.958h-4.795V55.041H76.23v-3.065l9.641-2.01V73.958z" /> <path android:fillColor="#ffffffff" android:pathData="M92.177,118.375h-16.38v-3.147l7.762-8.322c1.143-1.307,1.944-2.395,2.406-3.263c0.461-0.868,0.691-1.687,0.691-2.455c0-1.033-0.267-1.865-0.799-2.497c-0.533-0.632-1.31-0.947-2.332-0.947c-1.131,0-1.979,0.371-2.545,1.112c-0.566,0.741-0.85,1.75-0.85,3.023h-4.812c0-2.252,0.73-4.122,2.192-5.61c1.461-1.489,3.465-2.233,6.014-2.233c2.516,0,4.469,0.632,5.858,1.896s2.085,2.988,2.085,5.174c0,1.473-0.388,2.808-1.162,4.005s-2.101,2.807-3.979,4.828l-4.351,4.746h10.2V118.375z" /> </vector> Home button Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M84,131.916c-26.464,0-47.917-21.453-47.917-47.916c0-26.463,21.453-47.917,47.917-47.917S131.917,57.537,131.917,84C131.917,110.465,110.463,131.916,84,131.916zM84,44.333c-21.908,0-39.667,17.76-39.667,39.667c0,21.908,17.76,39.667,39.667,39.667s39.667-17.76,39.667-39.667C123.667,62.093,105.908,44.333,84,44.333z" /> </vector> Menu button Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M40,54h88c2.209,0,4-1.791,4-4s-1.791-4-4-4H40c-2.209,0-4,1.791-4,4S37.791,54,40,54zM128,80H40c-2.209,0-4,1.791-4,4s1.791,4,4,4h88c2.209,0,4-1.791,4-4S130.209,80,128,80zM128,114H40c-2.209,0-4,1.791-4,4s1.791,4,4,4h88c2.209,0,4-1.791,4-4S130.209,114,128,114z" /> </vector> Notification down Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M123,44.179H45c-2.209,0-4-1.791-4-4s1.791-4,4-4h78c2.209,0,4,1.791,4,4S125.209,44.179,123,44.179zM51.181,90.828L79,118.647V58.379c0-2.209,1.791-4,4-4s4,1.791,4,4v60.557l28.025-28.026c1.563-1.562,4.096-1.562,5.656,0c1.563,1.563,1.563,4.096,0,5.658L86.59,130.66c-1.018,1.018-2.445,1.359-3.75,1.052c-1.151,0.114-2.342-0.253-3.224-1.134L45.524,96.486c-1.562-1.563-1.562-4.096,0-5.658C47.086,89.267,49.619,89.267,51.181,90.828z" /> </vector> Notification up Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M123,131.82H45c-2.209,0-4-1.791-4-4s1.791-4,4-4h78c2.209,0,4,1.791,4,4S125.209,131.82,123,131.82zM115.025,77.09L87,49.064v60.556c0,2.209-1.791,4-4,4s-4-1.791-4-4V49.354L51.181,77.172c-1.562,1.563-4.095,1.563-5.657,0c-1.562-1.562-1.562-4.095,0-5.657l34.092-34.092c0.882-0.882,2.073-1.248,3.224-1.134c1.305-0.309,2.733,0.034,3.75,1.052l34.092,34.092c1.563,1.562,1.563,4.095,0,5.657C119.121,78.652,116.588,78.652,115.025,77.09z" /> </vector> Qmemo button Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M87.637,123.2c-19.2,0-43.168,0-43.168,0c-5.523,0-10-4.478-10-10v-66c0-5.523,4.477-10,10-10h66c5.522,0,10,4.477,10,10c0,0,0,23.578,0,42.833c0,7.74-0.167,1.55-0.167,3.667c0,2.116-1.716,3.833-3.833,3.833s-3.832-1.717-3.832-3.833c0-2.117-0.168,1.901-0.168-3.5c0-16.292,0-39,0-39c0-3.313-2.687-6-6-6h-58c-3.313,0-6,2.687-6,6v58c0,3.313,2.688,6,6,6c0,0,22.708,0,39,0c5.402,0-0.117,0.237,2,0.237s3.833,1.717,3.833,3.834s-1.716,3.834-3.833,3.834S95.198,123.2,87.637,123.2z" /> <path android:fillColor="#ffffffff" android:pathData="M102.559,110.938c-3.443-3.053-8.367-8.672-10.938-12.484l-2.563-3.801c-2.572-3.813-1.324-5.215,2.772-3.113l4.082,2.094c4.098,2.102,10.269,6.319,13.711,9.372l22.323,18.669c1.951,1.73,2.128,4.713,0.395,6.661l-0.783,0.881c-1.734,1.947-4.723,2.124-6.675,0.394L102.559,110.938z" /> </vector> Qslide button Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M98,74h26c2.209,0,4-1.791,4-4s-1.791-4-4-4h-16.302l19.515-19.515c1.563-1.562,1.563-4.095,0-5.657c-1.563-1.563-4.095-1.563-5.656,0L102,60.385V44c0-2.209-1.791-4-4-4s-4,1.791-4,4v26C94,72.209,95.791,74,98,74z" /> <path android:fillColor="#ffffffff" android:pathData="M70,94H44c-2.209,0-4,1.791-4,4s1.791,4,4,4h16.301l-19.515,19.516c-1.562,1.563-1.562,4.094,0,5.656c1.563,1.563,4.095,1.563,5.657,0L66,107.615V124c0,2.209,1.791,4,4,4s4-1.791,4-4V98C74,95.791,72.209,94,70,94z" /> <path android:fillColor="#ffffffff" android:pathData="M107.698,102H124c2.209,0,4-1.791,4-4s-1.791-4-4-4H98c-2.209,0-4,1.791-4,4v26c0,2.209,1.791,4,4,4s4-1.791,4-4v-16.385l19.557,19.557c1.563,1.563,4.096,1.563,5.656,0c1.563-1.563,1.563-4.095,0-5.656L107.698,102z" /> <path android:fillColor="#ffffffff" android:pathData="M70,40c-2.209,0-4,1.791-4,4v16.385L46.443,40.829c-1.562-1.563-4.094-1.563-5.657,0c-1.562,1.562-1.562,4.095,0,5.657L60.301,66H44c-2.209,0-4,1.791-4,4s1.791,4,4,4h26c2.209,0,4-1.791,4-4V44C74,41.791,72.209,40,70,40z" /> </vector> Recent button Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M128.041,36.042H39.958c-2.209,0-4,1.791-4,4v87.917c0,2.209,1.791,4,4,4h88.083c2.211,0,4-1.791,4-4V40.042C132.041,37.833,130.252,36.042,128.041,36.042zM123.791,123.041c0,0.553-0.447,1-1,1H44.792c-0.553,0-1-0.447-1-1v-78c0-0.552,0.447-1,1-1h77.999c0.553,0,1,0.448,1,1V123.041z" /> </vector> Simswitch button Code: <?xml version="1.0" encoding="utf-8"?> <vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="#ffffffff" android:pathData="M137.348,121.033h-54.71c-2.569,0-4.653-2.09-4.653-4.668V94.984h-14.7l3.836,3.852c1.558,1.563,1.558,4.096,0,5.656c-0.779,0.781-1.799,1.172-2.82,1.172s-2.042-0.391-2.82-1.172l-10.368-10.41c-1.558-1.563-1.558-4.094,0-5.654l10.369-10.406c1.558-1.563,4.082-1.563,5.64,0c1.558,1.562,1.558,4.095,0,5.656l-3.272,3.285h17.501c2.569,0,4.653,2.09,4.653,4.666v21.352h48.004V67.817l-14.582-12.892H91.881c-2.57,0-4.279-1.465-4.279-4.042c0-2.577,1.709-3.917,4.279-3.917h28.49c1.135,0,2.229,0.416,3.078,1.167l16.979,15.08c1,0.885,1.572,2.16,1.572,3.499v49.653C142,118.943,139.918,121.033,137.348,121.033zM89.988,66.711v6.292h14.457l-3.563-3.576c-1.559-1.561-1.559-4.095,0-5.656c1.559-1.563,4.082-1.563,5.641,0l10.367,10.405c1.559,1.562,1.559,4.094,0,5.656L106.523,90.24c-0.777,0.781-1.801,1.172-2.82,1.172s-2.041-0.391-2.818-1.172c-1.559-1.563-1.559-4.094,0-5.656l3.662-3.677H86.654c-2.569,0-4.653-2.09-4.653-4.667v-8.509L67.605,54.963H33.993v58.017h31.566c2.569,0,4.153,1.434,4.153,4.01s-1.584,4.012-4.153,4.012H30.653c-2.569,0-4.653-2.09-4.653-4.668V51.633c0-2.577,2.083-4.667,4.653-4.667h37.644c1.133,0,2.228,0.416,3.078,1.167l17.04,15.08C89.414,64.098,89.988,65.373,89.988,66.711z" /> </vector> For all button there is a different code for the transparent version. The above codes are already modified by me because the stock buttons are way too big. See here. The button size is defined by vector android:height="42.0dip" android:width="42.0dip" and I decreased those values for my Lollipop theme. In ChupaChups 4.1 you will be able to reduce the navigation bar height which requires the change of the corresponding button height as well. I hope I helped. Good work with this icons.
Missing codes fixed. We need a proper pathdata for the lollipop icons and the right size definitions.
one might try to rebuild a customized in another lgsystemui with new icons and put them with full apk buttons. I try this but I'm a little confused. buttons you create are not the photo. I still investigating forgiveness. My English is the translator of google. se podria intentar recompilar unos botones customizados en otro lgsystemui con iconos nuevos y meterlos con la apk completa. yo intente hacer esto pero estoy un poco confuso. los botones que cree no son los de la foto. sigo investigando.. perdon. mi ingles es del traductor de google.
forgive my English. first. decompile a LGSystemUI.apk ok kitkat and open ic_sysbar_back.xml second decompile framework of kitkat and open values/public third decompile framework-res.apk of lollipop and open values/public ok. ready. first wanted png that android not use. for example "ic_jog_dial_answer". now, Go to values of lollipop and wanted id public and copy your id. Wanted on public of kitkat and copy your drawable. Code: <public type="drawable" name="ic_jog_dial_answer"[COLOR="Red"] id="0x01080371[/COLOR]" /> on lollipop Code: <public type="drawable" name="[COLOR="lime"]ic_perm_group_bluetooth[/COLOR]" [COLOR="red"]id="0x0108037[/COLOR]1" /> on kitkat ok now go to ic_sysbar_back and replace your drawable Code: <item android:state_enabled="true" android:state_pressed="false" android:drawable="@[COLOR="Cyan"]*android:[/COLOR]drawable/[COLOR="Lime"]ic_perm_group_bluetooth[/COLOR]" /> <item android:state_enabled="true" android:state_pressed="true" android:drawable="@*android:drawable/ic_perm_group_bookmarks" /> <item android:drawable="@*android:drawable/ic_perm_group_bookmarks" /> </selector> now recompile your systemui of kitkat and replace ic_sysbar_back on LGsystemUI.apk of lollipop replace ic_jog_dial_answer.png for your png with this name and copy into framework-res.apk. now put LGSystemUI.apk into your phone with root explorer and permission. flash framework-res.apk with the new icons and voila View attachment 3090021View attachment 3090024 if you want a tutorial in spanish ask to me:good: edit. if you want test. here have my work. first put lgsystemui.apk with root explorer and permision after flash zip keytest.zip http://www.mediafire.com/download/rabr0kmwv2l8g5g/LGSystemUI.apk http://www.mediafire.com/download/oeyr76k15vbyye9/keys-test.zip enjoy
ffalete said: forgive my English. first. decompile a LGSystemUI.apk ok kitkat and open ic_sysbar_back.xml second decompile framework of kitkat and open values/public third decompile framework-res.apk of lollipop and open values/public ok. ready. first wanted png that android not use. for example "ic_jog_dial_answer". now, Go to values of lollipop and wanted id public and copy your id. Wanted on public of kitkat and copy your drawable. Code: <public type="drawable" name="ic_jog_dial_answer"[COLOR="Red"] id="0x01080371[/COLOR]" /> on lollipop Code: <public type="drawable" name="[COLOR="lime"]ic_perm_group_bluetooth[/COLOR]" [COLOR="red"]id="0x0108037[/COLOR]1" /> on kitkat ok now go to ic_sysbar_back and replace your drawable Code: <item android:state_enabled="true" android:state_pressed="false" android:drawable="@[COLOR="Cyan"]*android:[/COLOR]drawable/[COLOR="Lime"]ic_perm_group_bluetooth[/COLOR]" /> <item android:state_enabled="true" android:state_pressed="true" android:drawable="@*android:drawable/ic_perm_group_bookmarks" /> <item android:drawable="@*android:drawable/ic_perm_group_bookmarks" /> </selector> now recompile your systemui of kitkat and replace ic_sysbar_back on LGsystemUI.apk of lollipop replace ic_jog_dial_answer.png for your png with this name and copy into framework-res.apk. now put LGSystemUI.apk into your phone with root explorer and permission. flash framework-res.apk with the new icons and voila View attachment 3090021View attachment 3090024 if you want a tutorial in spanish ask to me:good: View attachment 3090234View attachment 3090235 edit. if you want test. here have my work. first put lgsystemui.apk with root explorer and permision after flash zip keytest.zip http://www.mediafire.com/download/rabr0kmwv2l8g5g/LGSystemUI.apk http://www.mediafire.com/download/oeyr76k15vbyye9/keys-test.zip enjoy Click to expand... Click to collapse Many thanks ffalete. I followed your guide but got the following result: I am confused with the following steps: 1. When changing the reference in ic_sysbar_(...).xml you said Code: android:drawable="@*android:drawable/ic_perm_group_bookmarks" /> I used: Code: android:drawable="@drawable/ic_perm_group_bookmarks" /> The * is not required, isn't it? The navbar icons are 128X128. I put them into the xhdpi folder of framework-res.apk with the name "ic_perm_group_bookmarks". What am I doing wrong? I had the same problems before the system loads different icons. Do you know how to change the keys in the appdrawer?
*android: is requiered because this command is for framework. if you do not put the framework will read
ffalete said: *android: is requiered because this command is for framework. if you do not put the framework will read Click to expand... Click to collapse here you have the mod whith your vrtheme. open the zip and decompile the xml of lgsystemui for compare.:good: the vrtheme is funtional. you can flash on your phone
Great job! It works. Next step is to make the navbar transparent.
That is already more complicated jejejejeje. For now we have to settle for this. you know :laugh::laugh:
ffalete said: That is already more complicated jejejejeje. For now we have to settle for this. you know :laugh::laugh: Click to expand... Click to collapse Can you add up / down buttons and menu?
Here you have[emoji1] http://www.mediafire.com/download/428x3w987mne9ck/test_navvar2.zip
ffalete said: Here you have[emoji1] http://www.mediafire.com/download/428x3w987mne9ck/test_navvar2.zip Click to expand... Click to collapse Can you, please, NavBar botton "Menu" to activate? According to your instructions, I did not get
There is no need for menu button just longpress recent button.
Is theres a way to resize the Navigation Bar Icons on Lollipop Custom ROM (AHD9.1) its way too big for my liking. Sent from my LG-D855 using XDA Premium 4 mobile app
jeffzmagboo said: Is theres a way to resize the Navigation Bar Icons on Lollipop Custom ROM (AHD9.1) its way too big for my liking. Sent from my LG-D855 using XDA Premium 4 mobile app Click to expand... Click to collapse Yes, use ChupaChups4. OP updated with useful information.
thanks for share my friend just a small question on post 2 why back buttom have different size from the rest? hugs !
Crash said: thanks for share my friend just a small question on post 2 why back buttom have different size from the rest? hugs ! Click to expand... Click to collapse Hey, my mistake, fixed.
Kickoff said: Hey, my mistake, fixed. Click to expand... Click to collapse Don´t worry jus one more question hehe sorry for disturb theres two files for example ic_sysbar_back_button and ic_sysbar_back_button_trans do we have to change the size on both files or just in the file without the "transparent" ? Hugs my friend
Both
[MOD][PORT][CM11] How to add custom scrolling animation
hi guys , I want to share a MOD that i ported from PAC man ROM.. This will give you ability to customize scroll on your phone. This is one of the coolest features from PAC Man ROM. I want to remind you that this is NOT my work. I'M NOT what makes this feature. all I do is port for CM11 to make them work Anyone is able to use this mod, just please give proper credit to Devs of PAC Man ROM and me if you want Also I want to give a BIG THANKS to sir @ocoot - for very helpful hints, thanks um So let's begin 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 ( i use apktool 1.5.2 ) SETTINGS.APK first DECOMPILE Settings.apk - Download attached file and merge it to your decompiled Settings.apk - Go to Settings.apk/res/values/ add this lines to end of it before </resources> attrs.xml add these : Code: <attr name="unitsLeft" format="reference|string" /> <attr name="unitsRight" format="reference|string" /> <attr name="interval" format="integer" /> <attr name="minimum" format="integer" /> <attr name="maximum" format="integer" /> [COLOR="RoyalBlue"]</resources>[/COLOR] ids.xml add these : Code: <item type="id" name="hex">false</item> <item type="id" name="enter">false</item> <item type="id" name="white_panel">false</item> <item type="id" name="black_panel">false</item> <item type="id" name="cyan_panel">false</item> <item type="id" name="red_panel">false</item> <item type="id" name="green_panel">false</item> <item type="id" name="yellow_panel">false</item> <item type="id" name="old_color_panel">false</item> <item type="id" name="new_color_panel">false</item> <item type="id" name="seek_bar">false</item> <item type="id" name="seekBarPrefUnitsRightCham">false</item> <item type="id" name="seekBarPrefValueCham">false</item> <item type="id" name="seekBarPrefUnitsLeftCham">false</item> <item type="id" name="seekBarPrefBarContainerCham">false</item> [COLOR="RoyalBlue"]</resources>[/COLOR] strings.xml add these: Code: <string name="press_color_to_apply">Press on color below to apply</string> <string name="arrow_right">→</string> <string name="arrow_down">↓</string> <string name="hex">Hex:</string> <string name="hex_hint">\#ff000000</string> <string name="set">Set</string> <string name="reset">Reset</string> <string name="animation_settings_title">Custom animations</string> <string name="scrolling_title">Scrolling</string> <string name="animation_fling_velocity_title">Fling Velocity</string> <string name="animation_scroll_friction_title">Scroll Friction</string> <string name="animation_overscroll_distance_title">Overscroll Distance</string> <string name="animation_overfling_distance_title">Overfling Distance</string> <string name="animation_no_scroll_title">Customizing scroll</string> <string name="animation_no_scroll_summary_on">Enabled</string> <string name="animation_no_scroll_summary_off">Disabled</string> <string name="overscroll_glow_title">Overscroll Color</string> <string name="animation_settings_reset_message">Reset animations to default?</string> <string name="animation_duration_summary">Set duration</string> [COLOR="RoyalBlue"]</resources>[/COLOR] save... - Now go to res/xml/display_settings.xml put this line : Code: [COLOR="Red"]<PreferenceScreen android:title="@string/scrolling_title" android:key="interface_animation_scroll" android:fragment="com.android.settings.pac.animations.ScrollAnimationInterfaceSettings" />[/COLOR] Code: <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen android:title="@string/display_settings" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> <com.android.settings.BrightnessPreference android:persistent="false" android:title="@string/brightness" /> [COLOR="Red"]<PreferenceScreen android:title="@string/scrolling_title" android:key="interface_animation_scroll" android:fragment="com.android.settings.pac.animations.ScrollAnimationInterfaceSettings" />[/COLOR] <PreferenceCategory android:title="@string/display_settings_title" android:key="display_prefs"> <PreferenceScreen android:title="@string/display_rotation_title" android:key="display_rotation" android:fragment="com.android.settings.cyanogenmod.DisplayRotation" /> <ListPreference android:persistent="false" android:entries="@array/screen_timeout_entries" android:title="@string/screen_timeout" android:key="screen_timeout" android:summary="@string/screen_timeout_summary" android:entryValues="@array/screen_timeout_values" /> <com.android.settings.FontDialogPreference android:title="@string/title_font_size" android:key="font_size" android:summary="@string/summary_font_size" android:dialogTitle="@string/dialog_title_font_size" /> <PreferenceScreen android:title="@string/screensaver_settings_title" android:key="screensaver" android:fragment="com.android.settings.DreamSettings" /> <PreferenceScreen android:title="@string/wifi_display_settings_title" android:key="wifi_display" android:fragment="com.android.settings.wfd.WifiDisplaySettings" /> </PreferenceCategory> <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" /> <CheckBoxPreference android:persistent="true" android:title="@string/power_menu_expanded_desktop" android:key="expanded_desktop_no_navbar" /> <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> <PreferenceCategory android:title="@string/lights_category_title" android:key="lights_prefs"> <PreferenceScreen android:title="@string/notification_light_title" android:key="notification_pulse" android:fragment="com.android.settings.notificationlight.NotificationLightSettings" /> <PreferenceScreen android:title="@string/battery_light_title" android:key="battery_light" android:fragment="com.android.settings.notificationlight.BatteryLightSettings" /> </PreferenceCategory> <PreferenceCategory android:title="@string/advanced_settings" android:key="advanced_display_prefs"> <CheckBoxPreference android:title="@string/adaptive_backlight_title" android:key="adaptive_backlight" android:summary="@string/adaptive_backlight_summary" android:defaultValue="true" /> <CheckBoxPreference android:title="@string/sunlight_enhancement_title" android:key="sunlight_enhancement" android:summary="@string/sunlight_enhancement_summary" android:defaultValue="true" /> <CheckBoxPreference android:title="@string/color_enhancement_title" android:key="color_enhancement" android:summary="@string/color_enhancement_summary" android:defaultValue="true" /> <com.android.settings.cyanogenmod.SystemSettingCheckBoxPreference android:title="@string/double_tap_to_sleep_title" android:key="double_tap_sleep_gesture" android:summary="@string/double_tap_to_sleep_summary" android:defaultValue="false" /> <CheckBoxPreference android:title="@string/double_tap_to_wake_title" android:key="double_tap_wake_gesture" /> <com.android.settings.cyanogenmod.SystemSettingCheckBoxPreference android:title="@string/proximity_wake_title" android:key="proximity_on_wake" android:summary="@string/proximity_wake_summary" android:defaultValue="true" /> <CheckBoxPreference android:title="@string/wake_when_plugged_or_unplugged_title" android:key="wake_when_plugged_or_unplugged" android:summary="@string/wake_when_plugged_or_unplugged_summary" android:defaultValue="false" /> <com.android.settings.cyanogenmod.SystemSettingCheckBoxPreference android:title="@string/screen_animation_off_title" android:key="screen_off_animation" android:defaultValue="true" /> <ListPreference android:entries="@array/screen_animation_style_entries" android:title="@string/screen_animation_style_title" android:key="screen_animation_style" android:entryValues="@array/screen_animation_style_values" /> <PreferenceScreen android:title="@string/lcd_density_title" android:key="lcd_density_setup" android:fragment="com.android.settings.interface.fragments.DensityChanger" /> <com.android.settings.hardware.DisplayColor android:persistent="false" android:title="@string/color_calibration_title" android:key="color_calibration" android:summary="@string/color_calibration_summary" android:dialogTitle="@string/color_calibration_title" /> <com.android.settings.hardware.DisplayGamma android:persistent="false" android:title="@string/gamma_tuning_title_head" android:key="gamma_tuning" android:summary="@string/gamma_tuning_summary_head" android:dialogTitle="@string/gamma_tuning_title_head" /> <PreferenceScreen android:persistent="false" android:title="@string/screencolor" android:key="screencolor_settings"> <intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ScreenColorSettings" /> </PreferenceScreen> <Preference android:title="@string/radio_controls_title" android:key="advanced_display_settings"> <intent android:targetPackage="com.cyanogenmod.settings.device" android:action="com.cyanogenmod.action.LAUNCH_DEVICE_SETTINGS" android:targetClass="com.cyanogenmod.settings.device.DisplaySettings" /> </Preference> </PreferenceCategory> </PreferenceScreen> but you can put the line whereever you like,. - Recompile your Settings.apk - Decompile the newly recompiled APK again go to your secondly decompiled Settings.apk/res/values/public.xml and keep it open Pay attention to this 0x7f?????? !!! - Go to Settings.apk/smali/net/margaritov/preference/color picker/ColorPickerDialog.smali search this -> const v2, 0x7f040103 1. change this -> 0x7f040103 , according to the value you got in your own public.xml Code: <public type="layout" name="dialog_color_picker" id="0x7f??????" /> do it too to all lines below, in the smali 2. const v2, 0x7f080c3c Code: <public type="string" name="dialog_color_picker" id="0x7f?????? /> 3. const v2, 0x7f0d00c5 Code: <public type="id" name="color_picker_view" id="0x7f?????? /> 4. const v2, 0x7f0d0324 Code: <public type="id" name="old_color_panel" id="0x7f?????? /> 5. const v2, 0x7f0d0325 Code: <public type="id" name="new_color_panel" id="0x7f?????? /> 6. const v2, 0x7f0d031e Code: <public type="id" name="white_panel" id="0x7f?????? /> 7. const v2, 0x7f0d031f Code: <public type="id" name="black_panel" id="0x7f?????? /> 8. const v2, 0x7f0d0320 Code: <public type="id" name="cyan_panel" id="0x7f?????? /> 9. const v2, 0x7f0d0321 Code: <public type="id" name="red_panel" id="0x7f?????? /> 10. const v2, 0x7f0d0322 Code: <public type="id" name="green_panel" id="0x7f?????? /> 11. const v2, 0x7f0d0323 Code: <public type="id" name="yellow_panel" id="0x7f?????? /> 12. const v2, 0x7f0d031c Code: <public type="id" name="hex" id="0x7f?????? /> 13. const v2, 0x7f0d031d Code: <public type="id" name="enter" id="0x7f?????? /> 14. const v1, 0x7f0d0325 Code: <public type="id" name="new_color_panel" id="0x7f?????? /> - Go to Settings.apk/smali/com/android/settings/pac/SeekBarPreferenceCham.smali search this -> const v3, 0x7f0d032f 1. change this -> 0x7f0d032f , according to the value you got in your own public.xml Code: <public type="id" name="seekBarPrefBarContainerCham" id="0x7f?????? /> do it too to all lines below, in the smali 2. const v4, 0x7f040106 Code: <public type="layout" name="seek_bar_preference_cham" id="0x7f?????? /> 3. const v5, 0x7f0d032d Code: <public type="id" name="seekBarPrefValueCham" id="0x7f?????? /> 4. const v5, 0x7f0d032c Code: <public type="id" name="seekBarPrefUnitsRightCham" id="0x7f?????? /> 5. const v5, 0x7f0d032e Code: <public type="id" name="seekBarPrefUnitsLeftCham" id="0x7f?????? /> - Go to Settings.apk/smali/com/android/settings/pac/animations/ScrollAnimationInterfaceSettings.smali search this -> const v1, 0x7f080c28 1. change this -> 0x7f080c28 , according to the value you got in your own public.xml Code: <public type="string" name="reset" id="0x7f?????? /> do it too to all lines below, in the smali 2. const v1, 0x7f080c9e Code: <public type="string" name="animation_settings_reset_message" id="0x7f?????? /> 3. const v1, 0x7f0801e0 Code: <public type="string" name="ok" id="0x7f?????? /> 4. const v1, 0x7f080559 Code: <public type="string" name="cancel" id="0x7f?????? /> 5. const v7, 0x7f05007a Code: <public type="xml" name="scroll_animation_interface_settings" id="0x7f?????? /> 6. const v1, 0x7f080c28 Code: <public type="string" name="reset" id="0x7f?????? /> 7. const v1, 0x7f0200a8 Code: <public type="drawable" name="ic_settings_backup" id="0x7f?????? /> - Go to AndroidManifest.xml add this lines to end of it before </application> Code: [COLOR="Red"]<activity android:name=".pac.animations.ScrollAnimationInterfaceSettings" />[/COLOR] Code: - - - - - - - - - - - - - - - - - - <provider android:name="android.support.v4.content.FileProvider" android:exported="false" android:authorities="com.android.settings.files" android:grantUriPermissions="true"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" /> </provider> <service android:label="LtoService" android:name=".cyanogenmod.LtoService" android:enabled="true" android:exported="false" /> <service android:name=".search.SearchPopulator" /> [COLOR="Red"]<activity android:name=".pac.animations.ScrollAnimationInterfaceSettings" />[/COLOR] </application> </manifest> - Done and recompile it, - SIGN it ( you can use signer_keys on attachment ) - Push to system/priv-app/ next step on post #2
FRAMEWORK.JAR - Decompile / Baksmali your framework.jar - Download attached file and merge it to your decompiled framework.jar - Go to smali/android/provider/Settings$System.smali search Code: # static fields add this : Code: .field public static final ANIMATION_CONTROLS_NO_SCROLL:Ljava/lang/String; = "animation_controls_no_scroll" .field public static final CUSTOM_FLING_VELOCITY:Ljava/lang/String; = "custom_fling_velocity" .field public static final CUSTOM_OVERFLING_DISTANCE:Ljava/lang/String; = "custom_overfling_distance" .field public static final CUSTOM_OVERSCROLL_DISTANCE:Ljava/lang/String; = "custom_overscroll_distance" .field public static final CUSTOM_SCROLL_FRICTION:Ljava/lang/String; = "custom_scroll_friction" .field public static final OVERSCROLL_GLOW_COLOR:Ljava/lang/String; = "overscroll_glow_color" - Now decompile your framework-res.apk ( we only need public.xml ) - Go to res/values/public.xml and keep it open - Now open decompiled framework.jar then go to smali/android/view/ViewConfiguration.smali search this -> const v12, 0x1110014 ATTENTION! id public for framework.jar just TAKE the BLUE CODE and SKIP the RED CODE 1. change this -> 0x1110014 , according to the value you got in your own public.xml of framework-res.apk Code: <public type="bool" name="config_ui_enableFadingMarquee" id="[COLOR="Blue"]0x[/COLOR][COLOR="Red"]0[/COLOR][COLOR="Blue"]???????[/COLOR] /> 2. const v12, 0x1050008 Code: <public type="dimen" name="config_viewConfigurationTouchSlop" id="[COLOR="Blue"]0x[/COLOR][COLOR="Red"]0[/COLOR][COLOR="Blue"]???????[/COLOR] /> - Go to framework.jar.out/smali/android/widget/EdgeEffect.smali search this -> const v3, 0x10804a5 just TAKE the BLUE CODE and SKIP the RED CODE 1. change this -> 0x10804a5 , according to the value you got in your own public.xml of framework-res.apk Code: <public type="drawable" name="overscroll_edge" id="[COLOR="Blue"]0x[/COLOR][COLOR="Red"]0[/COLOR][COLOR="Blue"]???????[/COLOR] /> 2. const v3, 0x10804a6 Code: <public type="drawable" name="overscroll_glow" id="[COLOR="Blue"]0x[/COLOR][COLOR="Red"]0[/COLOR][COLOR="Blue"]???????[/COLOR] /> - Save - Recompile it - Push or flash to system/framework/
pertamax sir
ocoot said: pertamax sir Click to expand... Click to collapse thanks so much sir do you think , does anyone miss sir ?
woww.. nice bro... hope work on stockrom
syaeful said: woww.. nice bro... hope work on stockrom Click to expand... Click to collapse thanks sir .. Would you try it ? :fingers-crossed:
thank you, great tutorial u got there dab :good: just a little request, if u got a free time, would u mind to share how to add network traffic to status bar ? for cm / aosp rom. I see ur work for Armani Multimod is great, but haven't really tried it yet because honestly, all I just need network traffic, LoL but still, many thanks to you for sharing it
xtro-xda said: thank you, great tutorial u got there dab :good: just a little request, if u got a free time, would u mind to share how to add network traffic to status bar ? for cm / aosp rom. I see ur work for Armani Multimod is great, but haven't really tried it yet because honestly, all I just need network traffic, LoL but still, many thanks to you for sharing it Click to expand... Click to collapse thanks dab for network traffic on the status bar ,, you can see here http://forum.xda-developers.com/showpost.php?p=58703754&postcount=1 or http://forum.xda-developers.com/showthread.php?t=2620272
qoejohn said: thanks sir .. Would you try it ? :fingers-crossed: Click to expand... Click to collapse yess. i have to follow your guide this night. but it's give fc on Touchwiz Launcher.. can you post your original ViewConfiguration.smali for compare bro? :laugh: Sorry no error log :laugh: Salam Kitul :good: Click to expand... Click to collapse
syaeful said: yess. i have to follow your guide this night. but it's give fc on Touchwiz Launcher.. can you post your original ViewConfiguration.smali for compare bro? :laugh: Sorry no error log :laugh: Click to expand... Click to collapse ok sir good luck ... cemungudz
qoejohn said: ok sir good luck ... cemungudz Click to expand... Click to collapse thanks... :highfive:
Sir i've try in StockROM KitKat its success and not bootloop but when i try to open apps (that makes Overscroll appear) Its always restarting my phone sir Can you know how to fix sir?
Jawaad_S said: Sir i've try in StockROM KitKat its success and not bootloop but when i try to open apps (that makes Overscroll appear) Its always restarting my phone sir Can you know how to fix sir? Click to expand... Click to collapse may smali in .jar .. Just try to compare .. because I 've never tried it in stockrom kitkat :fingers-crossed:
qoejohn said: may smali in .jar .. Just try to compare .. because I 've never tried it in stockrom kitkat :fingers-crossed: Click to expand... Click to collapse Already sir but its makes my phone bootloop sir can you tell me what clue in jar name to compare to stock sir?
Jawaad_S said: Already sir but its makes my phone bootloop sir can you tell me what clue in jar name to compare to stock sir? Click to expand... Click to collapse just compare smali attached in post # 2. http://forum.xda-developers.com/showpost.php?p=59988770&postcount=2 and this for compare http://forum.xda-developers.com/showpost.php?p=60112392&postcount=10
Same here, @qoejohn. Tried on Note3 n9005 4.4.2 stock. The selector for overscroll glow color applies fine (modifing EdgeEffect.smali only) but when I mod the ViewConfiguration.smali, the phone gets hot reboot when I click on an app like root explorer. I'll keep on trying. Thanks again! Enviado desde mi SM-N9005 mediante Tapatalk
thanks for guide sir...but i try on stock toucwiz has stopped
Ih24n said: thanks for guide sir...but i try on stock toucwiz has stopped Click to expand... Click to collapse try to fix it, and it would be awesome if it is successful in TouchWiz
qoejohn said: try to fix it, and it would be awesome if it is successful in TouchWiz Click to expand... Click to collapse i will try to fix sir ...berusaha sekuat pikiran tapi
[Cm12.1][Mod]Xperia Z5 framework[Tut][Updated]
Hello Guys i have here a tutorial to port Z5 framework so let's start : Note : its only compatible with Sony apps and some others needs : brain basic knowledge of decompiling sense of humor to the tut : first you need to download the the files bellow and replace the files with your files in your decompiled framework-res.apk Seems easy now to the Hard part it's not really hard but only for noobs go to Values folder in your decompiled framework-res.apk open ^attr-privates.xml and add this to the end of it (before </resources> ) (needed) Code: <attr name="somcSystemUiLight" format="boolean" /> <attr name="somcSkinnableTranslucentBars" format="boolean" /> Click to expand... Click to collapse open arrays.xml and add this to the end (idk if its needed) Code: <string-array name="special_language_codes"> <item>bs_BA</item> <item>in_ID</item> <item>jv_ID</item> <item>su_ID</item> <item>sr_RS</item> <item>tl_PH</item> </string-array> <string-array name="special_language_names"> <item>Bosanski</item> <item>Bahasa Indonesia</item> <item>Jawa</item> <item>Basa Sunda</item> <item>Srpski</item> <item>Tagalog</item> </string-array> <string-array name="share_priority_extra_weights"> <item>com.sonymobile.socialengine.plugins.facebook_sharefrwk,3.4</item> <item>com.sonymobile.social.apps,3.3</item> </string-array> <string-array name="ps3_controller_names"> <item>PLAYSTATION(R)3 Controller</item> <item>Sony PLAYSTATION(R)3 Controller</item> <item>Sony Computer Entertainment Wireless Controller</item> </string-array> <string-array name="config_runtime_skin_blacklist"> <item>com.android.vending</item> <item>com.google.android.googlequicksearchbox</item> <item>com.android.packageinstaller</item> </string-array> <array name="config_packagesBlacklist" /> <array name="config_single_pdp_detection_fail_causes" /> <integer-array name="config_lteDbmThresholds"> <item>-85</item> <item>-95</item> <item>-105</item> <item>-115</item> <item>-140</item> </integer-array> <integer-array name="config_umtsDbmThresholds"> <item>2147483647</item> <item>2147483647</item> <item>2147483647</item> <item>2147483647</item> </integer-array> <array name="removable_application_list" /> <array name="config_silentSmsPackageList" /> <string-array name="config_trustedInstallersPackageList"> <item>com.sonyericsson.updatecenter</item> </string-array> <array name="config_fac_list" /> <integer-array name="launchboost_params"> <item>0x2fe</item> <item>0x3fe</item> <item>0x4fe</item> <item>0x5fe</item> <item>0x702</item> </integer-array> <array name="system_server_preloaded_drawables"> <item>@drawable/somc_bg_dark</item> <item>@drawable/somc_bg_light</item> </array> <array name="preloaded_skin_drawables"> <item>@drawable/somc_bg_dark</item> <item>@drawable/somc_bg_light</item> </array> Click to expand... Click to collapse open bools.xml and do the same (not needed) Code: <bool name="config_enableCpuBoostForOverScrollerFling">false</bool> <bool name="config_enableCpuBoostForScroller">false</bool> <bool name="config_enableCpuBoostForAppLaunch">true</bool> <bool name="config_enableLowAccPollFreqWithBoost">true</bool> <bool name="config_clean_up_connections_before_lte">false</bool> <bool name="config_enable_wifi_txpower_control">false</bool> <bool name="config_enable_wifi_connection_handler">true</bool> <bool name="config_telephony_enable_lte">true</bool> <bool name="config_led_off_when_battery_fully_charged">false</bool> <bool name="config_formatSdcardAtEasDeviceWipe">true</bool> <bool name="config_enable_default_preferred_apn">false</bool> <bool name="config_enable_easy_wakeup_mode">true</bool> <bool name="config_enable_glove_mode">true</bool> <bool name="config_enable_single_pdp_detection">false</bool> <bool name="config_enable_extend_EONS">false</bool> <bool name="config_wifi_use_iw_for_auto_regulatory_domain">false</bool> <bool name="config_telephony_enable_apn_switch">true</bool> <bool name="config_enable_eu_roaming_apn">false</bool> <bool name="config_enable_eu_roaming_ui">false</bool> <bool name="national_data_roaming_visibility">false</bool> <bool name="disable_charge_popups">false</bool> <bool name="config_enable_data_failure_dialog">false</bool> <bool name="config_enable_extra_short_ussd_code">false</bool> <bool name="config_deactivate_tether_after_sim_refresh_reset">false</bool> <bool name="config_update_existing_applications_only">true</bool> <bool name="config_display_emergency_calls_only_to_restricted_user">false</bool> <bool name="config_wifi_eap_sim_supported">true</bool> <bool name="config_ps3c_bt_supported">true</bool> <bool name="config_hardware_auto_brightness_available">true</bool> <bool name="config_bootAnimationSoundEnabled">true</bool> <bool name="config_dualModeSimApnManagement">false</bool> <bool name="config_move_apps_to_sd_card">true</bool> <bool name="config_override_prefer_external">true</bool> <bool name="config_enable_volte_default_value">false</bool> <bool name="config_wifi_auto_add_ssid_support_for_dbdc_access_point">false</bool> <bool name="config_enable_wifi_to_lte_transition_based_on_score">false</bool> <bool name="config_enable_14digit_imei">false</bool> <bool name="config_wifi_disable_autoconnect_for_bad_eapsim_networks">false</bool> <bool name="config_gsm_enable_hd_icon">false</bool> <bool name="config_suppress_usb_msc_notifications">true</bool> <bool name="somc_center_alert_dialog_buttons">false</bool> <bool name="somc_split_seekbar_bg">true</bool> Click to expand... Click to collapse open colors.xml and do the same(important) Code: <color name="somc_color_dark_primary_dark">#ff158597</color> <color name="somc_color_primary_dark">#ff009faf</color> <color name="somc_color_accent_dark">#ffd15b40</color> <color name="somc_color_dark_primary_light">#ff2699a5</color> <color name="somc_color_primary_light">#ff2ab9d2</color> <color name="somc_color_accent_light">#ffed6642</color> <color name="somc_color_background_light">#fffafafa</color> <color name="somc_color_component_ripple_dark">@color/ripple_material_dark</color> <color name="somc_color_component_ripple_light">@color/ripple_material_light</color> <color name="somc_color_btn_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_btn_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_btn_borderless_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_btn_borderless_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_btn_toggle_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_btn_toggle_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_compound_btn_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_compound_btn_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_radiobutton_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_radiobutton_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_checkbox_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_checkbox_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_switch_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_switch_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_star_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_star_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_seekbar_thumb_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_seekbar_thumb_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_item_bg_borderless_ripple_dark">@color/ripple_material_dark</color> <color name="somc_color_item_bg_borderless_ripple_light">@color/ripple_material_light</color> <color name="somc_color_item_bg_ripple_dark">@color/somc_color_component_ripple_dark</color> <color name="somc_color_item_bg_ripple_light">@color/somc_color_component_ripple_light</color> <color name="somc_color_dropdown_panel_dark">@color/background_material_dark</color> <color name="somc_color_dropdown_panel_light">@color/background_material_light</color> <color name="somc_color_dialog_full_dark">@color/background_floating_material_dark</color> <color name="somc_color_dialog_full_light">@color/background_floating_material_light</color> <color name="somc_color_btn_dark">@color/button_material_dark</color> <color name="somc_color_btn_light">@color/button_material_light</color> <color name="somc_color_btn_toggle_dark">@color/somc_color_btn_dark</color> <color name="somc_color_btn_toggle_light">@color/somc_color_btn_light</color> <color name="somc_color_btn_star_off_dark">@color/secondary_text_default_material_dark</color> <color name="somc_color_btn_star_off_light">@color/secondary_text_default_material_light</color> <color name="somc_color_dropdown_unselected_dark">@color/secondary_text_default_material_dark</color> <color name="somc_color_dropdown_unselected_light">@color/secondary_text_default_material_light</color> <color name="somc_color_textselection_handle_dark">@color/accent_material_dark</color> <color name="somc_color_textselection_handle_light">@color/accent_material_light</color> <color name="somc_color_textcursor_dark">@color/somc_color_textselection_handle_dark</color> <color name="somc_color_textcursor_light">@color/somc_color_textselection_handle_light</color> <color name="somc_text_color_edittext_dark">@color/primary_text_default_material_dark</color> <color name="somc_text_color_edittext_light">@color/primary_text_default_material_light</color> <color name="somc_text_color_hint_dark">@color/hint_foreground_material_light</color> <color name="somc_text_color_hint_light">@color/hint_foreground_material_dark</color> <color name="somc_text_color_button_dark">@color/primary_text_default_material_dark</color> <color name="somc_text_color_button_light">@color/primary_text_default_material_light</color> <color name="somc_text_color_switch_disabled_dark">#4d000000</color> <color name="somc_text_color_switch_unchecked_dark">#de000000</color> <color name="somc_text_color_switch_checked_dark">#ffffffff</color> <color name="somc_text_color_switch_disabled_light">#4d000000</color> <color name="somc_text_color_switch_unchecked_light">#de000000</color> <color name="somc_text_color_switch_checked_light">#ffffffff</color> <color name="somc_color_edittext_ripple_dark">@color/somc_color_accent_dark</color> <color name="somc_color_edittext_ripple_light">@color/somc_color_accent_light</color> <color name="somc_color_btn_star_on_dark">@color/somc_color_accent_dark</color> <color name="somc_color_btn_star_on_light">@color/somc_color_accent_light</color> <color name="somc_color_tab_unselected_dark">@color/transparent</color> <color name="somc_color_tab_selected_dark">@color/somc_color_accent_dark</color> <color name="somc_color_tab_unselected_light">@color/transparent</color> <color name="somc_color_tab_selected_light">@color/somc_color_accent_light</color> Click to expand... Click to collapse open dimens and do the same (important) Code: <dimen name="selection_base_handle_offset_x">7.0dip</dimen> <dimen name="selection_extent_handle_offset_x">15.0dip</dimen> <dimen name="selection_handle_offset_y">42.0dip</dimen> <dimen name="roundMagnificationRadius">55.0dip</dimen> <dimen name="rectangularMagnificationWidth">179.0dip</dimen> <dimen name="rectangularMagnificationHeight">74.0dip</dimen> <dimen name="magnifier_selection_handle_offset_y">44.0dip</dimen> <dimen name="somc_dimension_btn_base_elevation">1.0dip</dimen> <dimen name="somc_dimension_btn_press_elevation">2.0dip</dimen> <dimen name="somc_actionbar_contentInsetStart">72.0dip</dimen> <dimen name="somc_preference_fragment_padding_side">0.0dip</dimen> Click to expand... Click to collapse open drawables.xml and do the same (its important) Code: <item type="drawable" name="somc_btn_normal_dark">@drawable/somc_btn_dark</item> <item type="drawable" name="somc_btn_pressed_dark">@drawable/somc_btn_normal_dark</item> <item type="drawable" name="somc_btn_focused_dark">@drawable/somc_btn_normal_dark</item> <item type="drawable" name="somc_btn_disabled_dark">@drawable/somc_btn_normal_dark</item> <item type="drawable" name="somc_btn_disabled_focused_dark">@drawable/somc_btn_disabled_dark</item> <item type="drawable" name="somc_btn_normal_light">@drawable/somc_btn_light</item> <item type="drawable" name="somc_btn_pressed_light">@drawable/somc_btn_normal_light</item> <item type="drawable" name="somc_btn_focused_light">@drawable/somc_btn_normal_light</item> <item type="drawable" name="somc_btn_disabled_light">@drawable/somc_btn_normal_light</item> <item type="drawable" name="somc_btn_disabled_focused_light">@drawable/somc_btn_disabled_light</item> <item type="drawable" name="somc_btn_toggle_on_normal_dark">@drawable/somc_btn_toggle_dark</item> <item type="drawable" name="somc_btn_toggle_on_pressed_dark">@drawable/somc_btn_toggle_on_normal_dark</item> <item type="drawable" name="somc_btn_toggle_on_focused_dark">@drawable/somc_btn_toggle_on_normal_dark</item> <item type="drawable" name="somc_btn_toggle_on_disabled_dark">@drawable/somc_btn_toggle_on_normal_dark</item> <item type="drawable" name="somc_btn_toggle_on_disabled_focused_dark">@drawable/somc_btn_toggle_on_disabled_dark</item> <item type="drawable" name="somc_btn_toggle_off_normal_dark">@drawable/somc_btn_toggle_dark</item> <item type="drawable" name="somc_btn_toggle_off_pressed_dark">@drawable/somc_btn_toggle_off_normal_dark</item> <item type="drawable" name="somc_btn_toggle_off_focused_dark">@drawable/somc_btn_toggle_off_normal_dark</item> <item type="drawable" name="somc_btn_toggle_off_disabled_dark">@drawable/somc_btn_toggle_off_normal_dark</item> <item type="drawable" name="somc_btn_toggle_off_disabled_focused_dark">@drawable/somc_btn_toggle_off_disabled_dark</item> <item type="drawable" name="somc_btn_toggle_on_normal_light">@drawable/somc_btn_toggle_light</item> <item type="drawable" name="somc_btn_toggle_on_pressed_light">@drawable/somc_btn_toggle_on_normal_light</item> <item type="drawable" name="somc_btn_toggle_on_focused_light">@drawable/somc_btn_toggle_on_normal_light</item> <item type="drawable" name="somc_btn_toggle_on_disabled_light">@drawable/somc_btn_toggle_on_normal_light</item> <item type="drawable" name="somc_btn_toggle_on_disabled_focused_light">@drawable/somc_btn_toggle_on_disabled_light</item> <item type="drawable" name="somc_btn_toggle_off_normal_light">@drawable/somc_btn_toggle_light</item> <item type="drawable" name="somc_btn_toggle_off_pressed_light">@drawable/somc_btn_toggle_off_normal_light</item> <item type="drawable" name="somc_btn_toggle_off_focused_light">@drawable/somc_btn_toggle_off_normal_light</item> <item type="drawable" name="somc_btn_toggle_off_disabled_light">@drawable/somc_btn_toggle_off_normal_light</item> <item type="drawable" name="somc_btn_toggle_off_disabled_focused_light">@drawable/somc_btn_toggle_off_disabled_light</item> <item type="drawable" name="somc_edittext_focused_dark">@drawable/somc_edittext_normal_dark</item> <item type="drawable" name="somc_edittext_disabled_focused_dark">@drawable/somc_edittext_disabled_dark</item> <item type="drawable" name="somc_edittext_focused_light">@drawable/somc_edittext_normal_light</item> <item type="drawable" name="somc_edittext_disabled_focused_light">@drawable/somc_edittext_disabled_light</item> <item type="drawable" name="somc_edittext_ripple_mask_dark">@drawable/textfield_activated_mtrl_alpha</item> <item type="drawable" name="somc_edittext_ripple_mask_light">@drawable/textfield_activated_mtrl_alpha</item> <item type="drawable" name="somc_btn_star_on_pressed_dark">@drawable/somc_btn_star_on_normal_dark</item> <item type="drawable" name="somc_btn_star_on_focused_dark">@drawable/somc_btn_star_on_normal_dark</item> <item type="drawable" name="somc_btn_star_on_disabled_focused_dark">@drawable/somc_btn_star_on_disabled_dark</item> <item type="drawable" name="somc_btn_star_off_pressed_dark">@drawable/somc_btn_star_on_pressed_dark</item> <item type="drawable" name="somc_btn_star_off_focused_dark">@drawable/somc_btn_star_off_normal_dark</item> <item type="drawable" name="somc_btn_star_off_disabled_focused_dark">@drawable/somc_btn_star_off_disabled_dark</item> <item type="drawable" name="somc_btn_star_on_pressed_light">@drawable/somc_btn_star_on_normal_light</item> <item type="drawable" name="somc_btn_star_on_focused_light">@drawable/somc_btn_star_on_normal_light</item> <item type="drawable" name="somc_btn_star_on_disabled_focused_light">@drawable/somc_btn_star_on_disabled_light</item> <item type="drawable" name="somc_btn_star_off_pressed_light">@drawable/somc_btn_star_on_pressed_light</item> <item type="drawable" name="somc_btn_star_off_focused_light">@drawable/somc_btn_star_off_normal_light</item> <item type="drawable" name="somc_btn_star_off_disabled_focused_light">@drawable/somc_btn_star_off_disabled_light</item> <item type="drawable" name="somc_tab_unselected_pressed_dark">@drawable/somc_tab_unselected_dark</item> <item type="drawable" name="somc_tab_unselected_focused_dark">@drawable/somc_tab_unselected_dark</item> <item type="drawable" name="somc_tab_selected_pressed_dark">@drawable/somc_tab_selected_dark</item> <item type="drawable" name="somc_tab_selected_focused_dark">@drawable/somc_tab_selected_dark</item> <item type="drawable" name="somc_tab_unselected_pressed_light">@drawable/somc_tab_unselected_light</item> <item type="drawable" name="somc_tab_unselected_focused_light">@drawable/somc_tab_unselected_light</item> <item type="drawable" name="somc_tab_selected_pressed_light">@drawable/somc_tab_selected_light</item> <item type="drawable" name="somc_tab_selected_focused_light">@drawable/somc_tab_selected_light</item> <item type="drawable" name="somc_item_bg_pressed_dark">@color/transparent</item> <item type="drawable" name="somc_item_bg_focused_dark">@color/transparent</item> <item type="drawable" name="somc_item_bg_disabled_dark">@color/transparent</item> <item type="drawable" name="somc_item_bg_pressed_light">@color/transparent</item> <item type="drawable" name="somc_item_bg_focused_light">@color/transparent</item> <item type="drawable" name="somc_item_bg_disabled_light">@color/transparent</item> <item type="drawable" name="somc_item_bg_borderless_dark">@drawable/somc_item_bg_borderless_ripple_dark</item> <item type="drawable" name="somc_item_bg_borderless_light">@drawable/somc_item_bg_borderless_ripple_light</item> Click to expand... Click to collapse add to ids.xml like the others (important) Code: <item type="id" name="theme_accent">false</item> <item type="id" name="global_actions_double_item_group1">false</item> <item type="id" name="global_actions_double_item_icon1">false</item> <item type="id" name="global_actions_double_item_message1">false</item> <item type="id" name="global_actions_double_item_group2">false</item> <item type="id" name="global_actions_double_item_icon2">false</item> <item type="id" name="global_actions_double_item_message2">false</item> <item type="id" name="certificate_name">false</item> <item type="id" name="package_content">false</item> <item type="id" name="emergency_master_reset_title">false</item> <item type="id" name="emergency_master_reset_btn">false</item> <item type="id" name="emergency_master_reset_exit_btn">false</item> <item type="id" name="parent_view">false</item> <item type="id" name="picture">false</item> Click to expand... Click to collapse add to integers.xml (not important) Code: <integer name="flingboost_timeout_param">0</integer> <integer name="flingboost_schedboost_param">0</integer> <integer name="flingboost_cpuboost_param">0</integer> <integer name="flingboost_pcdisbl_param">0</integer> <integer name="flingboost_ksmboost_param">0</integer> <integer name="scrollboost_timeout_param">0</integer> <integer name="scrollboost_schedboost_param">0</integer> <integer name="scrollboost_cpuboost_param">0</integer> <integer name="scrollboost_pcdisbl_param">0</integer> <integer name="scrollboost_ksmboost_param">0</integer> <integer name="launchboost_timeout_param">1000</integer> <integer name="launchboost_schedboost_param">0</integer> <integer name="launchboost_cpuboost_param">0</integer> <integer name="launchboost_cpu_6_7_offline_param">0</integer> <integer name="launchboost_pcdisbl_param">0</integer> <integer name="launchboost_ksmboost_param">0</integer> <integer name="config_proximityScreenWakeupDelay">250</integer> <integer name="config_softap_default_channel">1</integer> <integer name="config_in_call_notification_relative_volume">100</integer> Click to expand... Click to collapse for strings (Important) Code: [too much so download the strings.txt and add the lines to the end of your strings.xml] :p Click to expand... Click to collapse now for the styles.xml Code: download it from the attatchments and replace it (If you have cm12.1 take styles_cm.rar if you have bliss take styles_blisspop.rar) Click to expand... Click to collapse now we should be done i hope you did it if you need any help just quote me Note: u need SuperUserMode from here : http://forum.xda-developers.com/cro...t-xperia-z5-systemui-particle-effect-t3206206 Credits:- @STRYDER~007 i used his framework to learn @blackwings66 Me
Some Screens if you want to get some themes for it visit this link @ post 3 : http://forum.xda-developers.com/xpe...-stryflex2013266073-lp-official-sony-t3178049
maybe i will need it
Good job! I was gonna share it but you did before me! Keep learning and keep sharing!
i'm try to do that but not complete and this is my log i hope any one help me to do that
elkhshap said: i'm try to do that but not complete and this is my log i hope any one help me to do that Click to expand... Click to collapse I think you didn't add the lines in drawbles.XML but if you have then send me your framework
STRYDER~007 said: Good job! I was gonna share it but you did before me! Keep learning and keep sharing! Click to expand... Click to collapse Sure yes
Thanks a lot!! Enviado desde mi Moto G mediante Tapatalk
blackwings66 said: Sure yes Click to expand... Click to collapse Hi thank you so much for the guide, There are few errors in the guide pls corect it , below are the errors I found which is causing the errors: Blank spaces between words 1. Dimes.xml Code: <dimen name="somc_preference_fragment_padding_side">0.0di p</dimen> 2.Colors.xml Code: <color name="somc_color_btn_borderless_ripple_dark" [user=667883]@colo[/user] r/somc_color_component_ripple_dark</color> <color name="somc_color_seekbar_thumb_ripple_light" [user=667883]@colo[/user] r/somc_color_component_ripple_light</color> <color name="somc_color_textselection_handle_light" [user=667883]@colo[/user] r/accent_material_light</color> <color name="somc_color_btn_borderless_ripple_light" [user=323692]@Col[/user] or/somc_color_component_ripple_light</color> <color name="somc_color_item_bg_borderless_ripple_dark">@ color/ripple_material_dark</color> <color name="somc_text_color_switch_disabled_dark">#4d000 000</color> <color name="somc_text_color_switch_unchecked_dark">#de00 0000</color> <color name="somc_text_color_switch_checked_dark">#ffffff ff</color> <color name="somc_text_color_switch_disabled_light">#4d00 0000</color> <color name="somc_text_color_switch_unchecked_light">#de0 00000</color> <color name="somc_text_color_switch_checked_light">#fffff fff</color> 3. Drawables: Code: <item type="drawable" name="somc_btn_toggle_on_disabled_focused_dark">@d rawable/somc_btn_toggle_on_disabled_dark</item> <item type="drawable" name="somc_btn_star_off_disabled_focused_light">@d rawable/somc_btn_star_off_disabled_light</item> <item type="drawable" name="somc_btn_toggle_off_disabled_focused_dark">@ drawable/somc_btn_toggle_off_disabled_dark</item> <item type="drawable" name="somc_btn_toggle_on_disabled_focused_light">@ drawable/somc_btn_toggle_on_disabled_light</item> <item type="drawable" name="somc_btn_toggle_off_disabled_light">@drawabl e/somc_btn_toggle_off_normal_light</item> <item type="drawable" name="somc_edittext_disabled_focused_dark">@drawab le/somc_edittext_disabled_dark</item> <item type="drawable" name="somc_btn_star_on_disabled_focused_dark">@dra wable/somc_btn_star_on_disabled_dark</item> <item type="drawable" name="somc_btn_star_off_disabled_focused_dark">@dr awable/somc_btn_star_off_disabled_dark</item> <item type="drawable" name="somc_btn_star_on_disabled_focused_light">@dr awable/somc_btn_star_on_disabled_light</item> 4. Bools Code: <bool name="config_enableCpuBoostForOverScrollerFling">f alse</bool> <bool name="config_clean_up_connections_before_lte">fals e</bool> <bool name="config_update_existing_applications_only">tr ue</bool> <bool name="config_hardware_auto_brightness_available">t rue</bool> 5. Also the @Color/somc_color_seekbar_thumb_ripple_light" defined in res/drawables/somc_seekbar_thumb_bg_light is not added in Colors.xml files So add <color name="somc_color_seekbar_thumb_ripple_light" @Color/somc_color_component_ripple_light</color> in colors,xml I hope this helps everyone Edit: Recompiled successfuly and got the black status bar
blackwings66 said: I think you didn't add the lines in drawbles.XML but if you have then send me your framework Click to expand... Click to collapse this is my framework http://www.mediafire.com/download/po3hxgw3vq3vsw5/framework-res.apk
Got error while recompiling, already made @Apexpredator fixes: EDIT: My bad, extracted the framework files in the wrong place.
@Apexpredator try flashing the z5 systemui and ok i will update it edit: i don't think that the black statusbar is from the framework i think it's from systemui go to colors and change <color name="system_bar_background_semi_transparent">#66000000</color>\ to <color name="system_bar_background_semi_transparent">#00000000</color> and try
New Updated Guide with Screenshots and i have fixed some bugs that makes recompiling errors and with new files (more files and less size ) Don't forget to press thanks
blackwings66 said: New Updated Guide with Screenshots and i have fixed some bugs that makes recompiling errors and with new files (more files and less size ) Don't forget to press thanks Click to expand... Click to collapse thanks bro it's work for me now can i use xperia dialer and contacts or not
@blackwings66 I manage to follow your guide and the framework work excellent .. but it seems that this mod cause my cm engine ( themechooser.apk ) force closed. Something on your guide is not compatible with cm 12.1 theme engine .. please help . .Thank you
inpamcoxie said: @blackwings66 I manage to follow your guide and the framework work excellent .. but it seems that this mod cause my cm engine ( themechooser.apk ) force closed. Something on your guide is not compatible with cm 12.1 theme engine .. please help . .Thank you Click to expand... Click to collapse Try xperia themes in the z5 roms port
This guide make it working with Port z5 system ui in general section but when im open lockscreen it's force close.. Anyone know how to port manualy z5 system ui in cm 12.1.. Bcoz i have dual sim, maybe that is problem..