CLOSED | [4.4.2][STOCK] AOSP Status Bar Mod - Droid RAZR M Themes and Apps

{
"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"
}
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
This mod will change the stock Motorola status bar icons into AOSP status bar icons.
- THREAD CLOSED
AOSP STATUS BAR MOD
STOCK KDA20.62-10.1 - KDA20.62-15.1
FULL AOSP STATUS ICONS (STATUS BAR & QUICK PANEL)
[*]CDMA & GSM COMPATIBLE
[*](GSM) This will NOT give you LTE if you don't already have it, but you will use the standard AOSP E, G & H icons.
NO XPOSED - Install after flashing
MUST BE DEODEXED
INSTALL
DOWNLOAD
[*]PLACE ON SDCARD
[*]ENTER RECOVERY
[*]NANDROID
[*]FLASH
[*]WIPE CACHE/DALVIK
[*]REBOOT
DOWNLOAD
AOSP Status Bar Mod - 4G
AOSP Status Bar Mod - LTE - v2
AOSP Status Bar - Signal Level Mod - LTE - TESTING
CHANGELOG
Code:
[COLOR="Red"]7/4/2014[/COLOR] LTE - [COLOR="Red"]v2[/COLOR]:
- Added delete script to remove original apk/odex during install.
[COLOR="Red"]8/25/2014[/COLOR]
- Signal Level Mod for poor/low signal areas. [COLOR="Red"][I]TESTING[/I][/COLOR]

FOR THE GEEKS!
RED = Edit
First we need to switch from 5 bar signal icons to 4 bar icons.
Code:
framework-res.apk / res / xml / signallevel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<SignalLevelFile NumberOfBars="[B][COLOR="Red"]4[/COLOR][/B]" NumberOfAsuLevels="5" NumberOfSignalEntries="10" NumberOfAsuEntries="2">
<SignalLevelInfo RadioType="GSM" SignalBars="4" AsuLevel="5,8,10,14" />
<SignalLevelInfo RadioType="GSM" SignalBars="5" AsuLevel="0,5,8,10,14" />
<SignalLevelInfo RadioType="UMTS" SignalBars="4" AsuLevel="7,14,21,29" />
<SignalLevelInfo RadioType="UMTS" SignalBars="5" AsuLevel="0,7,14,21,29" />
<SignalLevelInfo RadioType="CDMA" SignalBars="4" DbmLevel="-100,-95,-85,-75" EcioLevel="-150,-130,-110,-90" />
<SignalLevelInfo RadioType="CDMA" SignalBars="5" DbmLevel="-999,-100,-95,-85,-75" EcioLevel="-999,-150,-130,-110,-90" />
<SignalLevelInfo RadioType="EVDO" SignalBars="4" DbmLevel="-105,-90,-75,-65" SnrLevel="1,3,5,7" />
<SignalLevelInfo RadioType="EVDO" SignalBars="5" DbmLevel="-999,-105,-90,-75,-65" SnrLevel="0,1,3,5,7" />
<SignalLevelInfo RadioType="LTE" SignalBars="4" RsrpLevel="-115,-105,-95,-85" SnrLevel="-30,10,45,130" />
<SignalLevelInfo RadioType="LTE" SignalBars="5" RsrpLevel="-999,-115,-105,-95,-85" SnrLevel="-999,-30,10,45,130" />
<AsuLevelInfo RadioType="CDMA" AsuLevels="5" DbmAsuLevel="-100,-95,-90,-82,-75" DbmAsuValue="1,2,4,8,16" EcioAsuLevel="-150,-130,-115,-100,-90" EcioAsuValue="1,2,4,8,16" />
<AsuLevelInfo RadioType="EVDO" AsuLevels="5" DbmAsuLevel="-105,-95,-85,-75,-65" DbmAsuValue="1,2,4,8,16" SnrAsuLevel="1,3,5,6,7" SnrAsuValue="1,2,4,8,16" />
</SignalLevelFile>
Code:
SystemUI.apk / res / xml / signallevel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<SignalLevelFile NumberOfBars="[B][COLOR="Red"]4[/COLOR][/B]" NumberOfAsuLevels="5" NumberOfSignalEntries="10" NumberOfAsuEntries="2">
<SignalLevelInfo RadioType="GSM" SignalBars="4" AsuLevel="5,8,10,14" />
<SignalLevelInfo RadioType="GSM" SignalBars="5" AsuLevel="0,5,8,10,14" />
<SignalLevelInfo RadioType="UMTS" SignalBars="4" AsuLevel="7,14,21,29" />
<SignalLevelInfo RadioType="UMTS" SignalBars="5" AsuLevel="0,7,14,21,29" />
<SignalLevelInfo RadioType="CDMA" SignalBars="4" DbmLevel="-100,-95,-85,-75" EcioLevel="-150,-130,-110,-90" />
<SignalLevelInfo RadioType="CDMA" SignalBars="5" DbmLevel="-999,-100,-95,-85,-75" EcioLevel="-999,-150,-130,-110,-90" />
<SignalLevelInfo RadioType="EVDO" SignalBars="4" DbmLevel="-105,-90,-75,-65" SnrLevel="1,3,5,7" />
<SignalLevelInfo RadioType="EVDO" SignalBars="5" DbmLevel="-999,-105,-90,-75,-65" SnrLevel="0,1,3,5,7" />
<SignalLevelInfo RadioType="LTE" SignalBars="4" RsrpLevel="-115,-105,-95,-85" SnrLevel="-30,10,45,130" />
<SignalLevelInfo RadioType="LTE" SignalBars="5" RsrpLevel="-999,-115,-105,-95,-85" SnrLevel="-999,-30,10,45,130" />
<AsuLevelInfo RadioType="CDMA" AsuLevels="5" DbmAsuLevel="-100,-95,-90,-82,-75" DbmAsuValue="1,2,4,8,16" EcioAsuLevel="-150,-130,-115,-100,-90" EcioAsuValue="1,2,4,8,16" />
<AsuLevelInfo RadioType="EVDO" AsuLevels="5" DbmAsuLevel="-105,-95,-85,-75,-65" DbmAsuValue="1,2,4,8,16" SnrAsuLevel="1,3,5,6,7" SnrAsuValue="1,2,4,8,16" />
</SignalLevelFile>
Then we need to disable custom carrier icons.
Code:
SystemUI.apk / res / values / bools.xml
Code:
<bool name="config_enable_carrier_custom_icons">[B][COLOR="Red"]false[/COLOR][/B]</bool>
<bool name="config_enable_carrier_custom_mappings">[B][COLOR="Red"]false[/COLOR][/B]</bool>
<bool name="config_enable_carrier_wide_icons">[B][COLOR="Red"]false[/COLOR][/B]</bool>
To show LTE
Code:
SystemUI.apk / res / values / bools.xml
Code:
<bool name="config_show4GForLTE">[B][COLOR="Red"]false[/COLOR][/B]</bool>
************************************************** Signal Level Modification **************************************************
I live and work in a poor/low EvDo (3G) and LTE Verizon coverage area. At any given time my signal typically sits between 118dbm ~ 124dbm, and my signal bars would reflect this by showing 0~1 bars. Being tired of this, I decided to modify our standard signallevel.xml to show more bars for higher dbm values ( Results shown below ).
As of now I dont know what impact, if any, this will have on System/Battery/Hand-Off, but I do see a more sustained LTE signal (Placebo?) ( with 4G speeds ) at home where I typically drop and stay on 3G.
You can modify the values to whatever you choose, I used the higher values from the 5 bar dbm, Ecio & Snr.
BEFORE:
AFTER:
Code:
SystemUI.apk / res / xml / signallevel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<SignalLevelFile NumberOfBars="4" NumberOfAsuLevels="5" NumberOfSignalEntries="10" NumberOfAsuEntries="2">
<SignalLevelInfo RadioType="GSM" SignalBars="4" AsuLevel="5,8,10,14" />
<SignalLevelInfo RadioType="GSM" SignalBars="5" AsuLevel="0,5,8,10,14" />
<SignalLevelInfo RadioType="UMTS" SignalBars="4" AsuLevel="7,14,21,29" />
<SignalLevelInfo RadioType="UMTS" SignalBars="5" AsuLevel="0,7,14,21,29" />
<SignalLevelInfo RadioType="CDMA" SignalBars="4" DbmLevel="[COLOR="Red"]-120,-100,-95,-85[/COLOR]" EcioLevel="[COLOR="Red"]-160,-150,-130,-110[/COLOR]" />
<SignalLevelInfo RadioType="CDMA" SignalBars="5" DbmLevel="-120,-100,-95,-85,-75" EcioLevel="-160,-150,-130,-110,-90" />
<SignalLevelInfo RadioType="EVDO" SignalBars="4" DbmLevel="[COLOR="Red"]-120,-105,-90,-75[/COLOR]" SnrLevel="[COLOR="Red"]0,1,3,5[/COLOR]" />
<SignalLevelInfo RadioType="EVDO" SignalBars="5" DbmLevel="-120,-105,-90,-75,-65" SnrLevel="0,1,3,5,7" />
<SignalLevelInfo RadioType="LTE" SignalBars="4" RsrpLevel="[COLOR="red"]-999,-115,-105,-95[/COLOR]" SnrLevel="[COLOR="red"]-999,-30,10,130[/COLOR]" />
<SignalLevelInfo RadioType="LTE" SignalBars="5" RsrpLevel="-999,-115,-105,-95,-85" SnrLevel="-999,-30,10,45,130" />
<AsuLevelInfo RadioType="CDMA" AsuLevels="5" DbmAsuLevel="-100,-95,-90,-82,-75" DbmAsuValue="1,2,4,8,16" EcioAsuLevel="-150,-130,-115,-100,-90" EcioAsuValue="1,2,4,8,16" />
<AsuLevelInfo RadioType="EVDO" AsuLevels="5" DbmAsuLevel="-105,-95,-85,-75,-65" DbmAsuValue="1,2,4,8,16" SnrAsuLevel="1,3,5,6,7" SnrAsuValue="1,2,4,8,16" />
</SignalLevelFile>
Code:
framework-res.apk / res / xml / signallevel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<SignalLevelFile NumberOfBars="4" NumberOfAsuLevels="5" NumberOfSignalEntries="10" NumberOfAsuEntries="2">
<SignalLevelInfo RadioType="GSM" SignalBars="4" AsuLevel="5,8,10,14" />
<SignalLevelInfo RadioType="GSM" SignalBars="5" AsuLevel="0,5,8,10,14" />
<SignalLevelInfo RadioType="UMTS" SignalBars="4" AsuLevel="7,14,21,29" />
<SignalLevelInfo RadioType="UMTS" SignalBars="5" AsuLevel="0,7,14,21,29" />
<SignalLevelInfo RadioType="CDMA" SignalBars="4" DbmLevel="[COLOR="Red"]-120,-100,-95,-85[/COLOR]" EcioLevel="[COLOR="red"]-160,-150,-130,-110[/COLOR]" />
<SignalLevelInfo RadioType="CDMA" SignalBars="5" DbmLevel="-999,-100,-95,-85,-75" EcioLevel="-999,-150,-130,-110,-90" />
<SignalLevelInfo RadioType="EVDO" SignalBars="4" DbmLevel="[COLOR="red"]-120,-105,-90,-75[/COLOR]" SnrLevel="[COLOR="red"]0,1,3,5[/COLOR]" />
<SignalLevelInfo RadioType="EVDO" SignalBars="5" DbmLevel="-999,-105,-90,-75,-65" SnrLevel="0,1,3,5,7" />
<SignalLevelInfo RadioType="LTE" SignalBars="4" RsrpLevel="[COLOR="red"]-999,-115,-105,-95[/COLOR]" SnrLevel="[COLOR="red"]-999,-30,10,130[/COLOR]" />
<SignalLevelInfo RadioType="LTE" SignalBars="5" RsrpLevel="-999,-115,-105,-95,-85" SnrLevel="-999,-30,10,45,130" />
<AsuLevelInfo RadioType="CDMA" AsuLevels="5" DbmAsuLevel="-100,-95,-90,-82,-75" DbmAsuValue="1,2,4,8,16" EcioAsuLevel="-150,-130,-115,-100,-90" EcioAsuValue="1,2,4,8,16" />
<AsuLevelInfo RadioType="EVDO" AsuLevels="5" DbmAsuLevel="-105,-95,-85,-75,-65" DbmAsuValue="1,2,4,8,16" SnrAsuLevel="1,3,5,6,7" SnrAsuValue="1,2,4,8,16" />
</SignalLevelFile>

Another awesome mod. If only we had the momentum to get someone messing with the bands on xt907, non US users could use LTE as well.
Sent from my XT907 using XDA Premium 4 mobile app

Looks great.
Can I assume that "STOCK KDA20.62-10.1" means that it will not work on a deodexed version of the stock rom?

Coronado is dead said:
Looks great.
Can I assume that "STOCK KDA20.62-10.1" means that it will not work on a deodexed version of the stock rom?
Click to expand...
Click to collapse
It will work on both odex & deodexed ROMs.

ATTACK said:
It will work on both odex & deodexed ROMs.
Click to expand...
Click to collapse
Thanks! Installed just fine, but it removed the L navigation bar that the Google Play Edition rom installed. Strange.

Coronado is dead said:
Thanks! Installed just fine, but it removed the L navigation bar that the Google Play Edition rom installed. Strange.
Click to expand...
Click to collapse
Yup, Status bar and nav bar are both located in the SystemUI. Here's a ZipThemer pack that will add back the Android L Navigation bar.

Worried about
Hey ATTACK, i followed the steps to install the mod but it didn't work for me, i flashed the zip with TWRP 2.7.1.0, the phone boots normally but stays on the droid eye doing nothing,leaving me the option to do a RSD, i don't know if i have to flash it with the stock recovery or TWRP??
DROID RAZR M KITKAT rooted and BL unlocked
183.46.10 & KDA 20.62-10.1
XPOSED FRAMEWORK

Broloff said:
Hey ATTACK, i followed the steps to install the mod but it didn't work for me, i flashed the zip with TWRP 2.7.1.0, the phone boots normally but stays on the droid eye doing nothing,leaving me the option to do a RSD, i don't know if i have to flash it with the stock recovery or TWRP??
DROID RAZR M KITKAT rooted and BL unlocked
183.46.10 & KDA 20.62-10.1
XPOSED FRAMEWORK
Click to expand...
Click to collapse
Which version did you flash, 4G or LTE?
Please, always perform a NANDroid backup before flashing any mod.

ATTACK, i flashed the LTE version, with no results, what version do you recommend to me, i'm on GSM (not living in U.S)

Broloff said:
ATTACK, i flashed the LTE version, with no results, what version do you recommend to me, i'm on GSM (not living in U.S)
Click to expand...
Click to collapse
I updated the LTE version. Try it again and see if it works.

ATTACK, i flashed the updated version of LTE with no results, i'm doing a RSD with KEEP DATA script, maybe there is something wrong with my stock kitkat or XPOSED,i'm gonna try again to get it functional

Broloff said:
ATTACK, i flashed the updated version of LTE with no results, i'm doing a RSD with KEEP DATA script, maybe there is something wrong with my stock kitkat or XPOSED,i'm gonna try again to get it functional
Click to expand...
Click to collapse
The problem may be with Xposed. If you are using any module that modifies framework, remove it and try this mod again.

UPDATE
- Added Signal Level Modified AOSP LTE Status Bar Mod. - Download in OP
- Added explanation in Post #2 - Please Read before flashing
If anyone is interested and is currently using this mod, I would appreciate some feedback as to how this is working for you.

Thanks for another great mod. Uninstalled xposed, rebooted to recovery, flashed LTE v2, reinstalled xposed and all is good.

danbest82 said:
Thanks for another great mod. Uninstalled xposed, rebooted to recovery, flashed LTE v2, reinstalled xposed and all is good.
Click to expand...
Click to collapse
Hmm. Uninstalled Xposed myself and installed but bootlooped. LTE v2 and 4G versions. Odd. No idea what else I have installed that might have modified the framework files....
EDIT: Hm, flashed stock system.img and tried again with 4G and LTE v2, still boot looping. Odd.

Coronado is dead said:
Hmm. Uninstalled Xposed myself and installed but bootlooped. LTE v2 and 4G versions. Odd. No idea what else I have installed that might have modified the framework files....
EDIT: Hm, flashed stock system.img and tried again with 4G and LTE v2, still boot looping. Odd.
Click to expand...
Click to collapse
I was going to ask before I saw the edit if you went into "xposed installer" and clicked "uninstall" under framework just to make sure you did the same as me. But after your edit, I would think that flashing the system.img would remove xposed anyway. I'm no pro by any means, just trying to see what help I can provide.

Coronado is dead said:
Hmm. Uninstalled Xposed myself and installed but bootlooped. LTE v2 and 4G versions. Odd. No idea what else I have installed that might have modified the framework files....
EDIT: Hm, flashed stock system.img and tried again with 4G and LTE v2, still boot looping. Odd.
Click to expand...
Click to collapse
Is your System odexed or deodexed?
Sent from my scorpion mini.

ATTACK said:
Is your System odexed or deodexed?
Sent from my scorpion mini.
Click to expand...
Click to collapse
Odexed. Tried on a stock system.img flash.

Coronado is dead said:
Odexed. Tried on a stock system.img flash.
Click to expand...
Click to collapse
If you get a chance, could you deodexed your system and then try and flash this mod again.
Sent from my scorpion mini.

Related

[GUIDE] Adding Lidroid statusbar toggles [EASIER THAN EVER]

CREDITS
LIDROID
THIS THREAD and THIS THREAD
POTATOINC​
You must know how to decompile an APK
SCREENSHOTS
Without modifying StatusbarService.smali
{
"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"
}
After modifying StatusbarService.smali
First go to this thread by @dcsms
[GUIDE]How to add lidroid 14 statusbar toggle buttons for Galaxy Y
Skip step 3. (You don't need to edit StatusBarService.smali for now)
Then go to my thread (Now its usefull)
[GUIDE] Remove STOCK TW toggles on expandedView or just move it to anywhere
Because we need to remove stock toggles in our expandedView
Download this smali files from POTATOINC
http://forum.xda-developers.com/attachment.php?attachmentid=2506685&stc=1&d=1389366819
Copy it to your SystemUI/smali
Then go to your SystemUI/res/layout/status_bar_expanded.xml
add or you can put it anywhere you like
Code:
[FONT=Century Gothic]<com.potato.powerwidget.PowerRangers android:layout_width="match_parent" android:layout_height="wrap_content android:orientation="vertical"/>[/FONT]
So it will looks like this
Code:
[FONT=Century Gothic]<?xml version="1.0" encoding="utf-8"?>[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"[/FONT]
[FONT=Century Gothic] xmlns:android="http://schemas.android.com/apk/res/android">[/FONT]
[FONT=Century Gothic] <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">[/FONT]
[FONT=Century Gothic] <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">[/FONT]
[FONT=Century Gothic] [COLOR=Magenta]<com.potato.powerwidget.PowerRangers android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"/>[/COLOR][/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />[/FONT]
[FONT=Century Gothic] <Button android:textSize="13.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />[/FONT]
[FONT=Century Gothic] </LinearLayout>[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />[/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />[/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/FONT]
[FONT=Century Gothic] </com.android.systemui.statusbar.NotificationLinearLayout>[/FONT]
[FONT=Century Gothic] </ScrollView>[/FONT]
[FONT=Century Gothic] <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />[/FONT]
[FONT=Century Gothic] </FrameLayout>[/FONT]
[FONT=Century Gothic] </com.android.systemui.statusbar.ExpandedView>[/FONT]
Decompile SystemUI.apk
If you have some FC issues its better to attach LOGCAT.
Also test it on other devices then report back here. THANKS​
Awesome. Now its easy to port.
Sent from my Nexus 7 using Tapatalk
actually there is an even easier way
use this tool - does it all for you - you just have to add the code it give to the smali and the rest it does itself
http://forum.xda-developers.com/showthread.php?t=2181597
marcussmith2626 said:
actually there is an even easier way
use this tool - does it all for you - you just have to add the code it give to the smali and the rest it does itself
http://forum.xda-developers.com/showthread.php?t=2181597
Click to expand...
Click to collapse
no this is better coz the edit in statusbar service is different for all fones. and many have problem compiling it. now there will be no problem..
samsoul16 said:
no this is better coz the edit in statusbar service is different for all fones. and many have problem compiling it. now there will be no problem..
Click to expand...
Click to collapse
I have used that tool and it works perfect on galaxy y - the only thing you have to do is edit the service smali with the codes it gives you for different phones
so all you have to do is a simple copy and paste - everything else is done by the tool
The only thing it doesnt do is edit the manifest to enable flash light
Not work on my zte blade ROM: GSF B27 (2.3.4)
I don't know why.
In turn try lot of the make guide but the SystemUI always force close.
If anyone can help or described in more detail in the guide to ask you to do it.
LOTs OF THANKS.
sisxgame said:
Not work on my zte blade ROM: GSF B27 (2.3.4)
I don't know why.
In turn try lot of the make guide but the SystemUI always force close.
If anyone can help or described in more detail in the guide to ask you to do it.
LOTs OF THANKS.
Click to expand...
Click to collapse
layout or const value fail
logcat to know.
Sent from my S500 using xda app-developers app
SpaceCaker said:
layout or const value fail
logcat to know.
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
here is the apk link.
http://www63.zippyshare.com/v/82568762/file.html
i do not logcat this becuse all steps opservs and not problem in the recompile.
(no stock toggles my system ui and I not to do remove this)
please make my apk
maybe my rom is the problem, because force close when maked this guide
http://forum.xda-developers.com/showthread.php?t=2644229
Thanx your kindness
Sorry my bad english
sisxgame said:
here is the apk link.
http://www63.zippyshare.com/v/82568762/file.html
i do not logcat this becuse all steps opservs and not problem in the recompile.
(no stock toggles my system ui and I not to do remove this)
please make my apk
maybe my rom is the problem, because force close when maked this guide
http://forum.xda-developers.com/showthread.php?t=2644229
Thanx your kindness
Sorry my bad english
Click to expand...
Click to collapse
No.
u need to make yourself.
guides are there
it takes Trial and error to succed
Take logs to see whats wrong
without no one will be able to help
Sent from my S500 using xda app-developers app
SpaceCaker said:
No.
u need to make yourself.
guides are there
it takes Trial and error to succed
Take logs to see whats wrong
without no one will be able to help
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
thanks for the help, I'll try:fingers-crossed:
NON-Samsung ?
Will this work on non-samsung mediatek mt6575 device ?????/ reply plz
yes if u know how to mod properly.
Sent from my S500 using xda app-developers app
This is awesome! This is a mod that I've been searching for ways to add to my ancient GB tablet for the past two years! Big thanks to @mariozawa! :laugh:
Just two quick questions..
Is there an easy way to get the flashlight working? And is the quickpanelsettings.apk supposed to be visible from the app drawer? I can't see it anywhere..
Ticklefish said:
This is awesome! This is a mod that I've been searching for ways to add to my ancient GB tablet for the past two years! Big thanks to @mariozawa! :laugh:
Just two quick questions..
Is there an easy way to get the flashlight working? And is the quickpanelsettings.apk supposed to be visible from the app drawer? I can't see it anywhere..
Click to expand...
Click to collapse
for flashlight all u can do is add
permission of hardware camera or
modify the ledcontroller smali ( dunno how but on some fevices it made it work)
for the settings app it momight be DEFAULT in manifest change it to LAUNCHER and it should appearin appdrawer
Sent from my Acer S500 CloudMobile
SpaceCaker said:
for flashlight all u can do is add
permission of hardware camera or
modify the ledcontroller smali ( dunno how but on some fevices it made it work)
for the settings app it momight be DEFAULT in manifest change it to LAUNCHER and it should appearin appdrawer
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
Many thanks (I've used up my 8 today but I'll press thanks once I'm on TapaTalk later..).
I've added:
Code:
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
to my SystemUI.apk. This will be the first time I've done anything with modifying the Manifest. Am I correct that I can't use the same signature once the Manifest's changed?
Ticklefish said:
Many thanks (I've used up my 8 today but I'll press thanks once I'm on TapaTalk later..).
I've added:
Code:
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
to my SystemUI.apk. This will be the first time I've done anything with modifying the Manifest. Am I correct that I can't use the same signature once the Manifest's changed?
Click to expand...
Click to collapse
for modding manifest xml of system apps u need to sign them afterwards
but
u also need to disable signature check in services.jar
because u will sign it with tool like one_click_signer or apksigner etc
and they give different credentials then system sign so it will not show or appear if the signature check is on
its tricky but once it works u can do a lot
Sent from my Acer S500 CloudMobile
Okay, this is odd. I had to flash a nandroid backup as I made a mistake modding something..and I can now no longer use this mod. Everytime I install lidroid-res.apk, I get a bootloop.
And I've no idea why.
Anybody have a suggestion?
Maybe what happen is that u have 2 lidroid-res apks in framework.
but on different names.
tgen it tires to load them but fails.
also what can be the issue is the permissions although it shouldnt affect whole rom.
Sent from my Acer S500 CloudMobile
sir, will it work with non-samsung device like optimus L3 (GB)?
try it and you will see
if u have enough knowledge it will work ofcourse
Sent from my Acer S500 CloudMobile

[GUIDE][GB] Music Lock Controls

Customizable remodified CM lock music controls + Information​
Updated (Read):
Fullscreen AlbumArt
Moving trackname if it is long (credits to sir El Uyuz [email protected], Bhevz Cailao
@fb and lenar [email protected])
Bugs:if you find one, feel free to report
NOTE: Tested on Gingerbread version DXLF baseband. Still not sure if will work on other version, you can give it a try but i dont have the responsibility on bricking/damaging your phone :
ScreenShot:
{
"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"
}
What you need
- Basic xml techniques
- Decompile recompile skills
- android.policy.jar
- framework-res.apk
- SystemUI.apk
Steps:
Click to expand...
Click to collapse
1.) Decompile android.policy.jar.
2.) Download MusicInfo.zip in attachment and extract it to smali folder.
3.) Decompile framework-res.apk.
4.) open res/layout/zzz_keyguard_screen_clockwidget.xml below:
Code:
<view android:gravity="center" android:orientation="vertical" android:id="@id/clock_time_and_date" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.internal.policy.impl.ClockWidget$TimeAndDate">
add this line:
Click to expand...
Click to collapse
Code:
[COLOR="Red"]<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.AlbumArt android:layout_width="100.0dip" android:layout_height="100.0dip" android:scaleType="fitCenter" />
<com.tenten.trackname android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center_horizontal" android:background="#00000000" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" />
<com.tenten.MusicControl android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.prev android:layout_marginRight="10.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.play android:layout_gravity="center_horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.next android:layout_marginLeft="10.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.tenten.MusicControl>
</LinearLayout>[/COLOR]
It will be like this:
Click to expand...
Click to collapse
Code:
<view android:gravity="center" android:orientation="vertical" android:id="@id/clock_time_and_date" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.internal.policy.impl.ClockWidget$TimeAndDate">
[COLOR="Red"]<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.AlbumArt android:layout_width="100.0dip" android:layout_height="100.0dip" android:scaleType="fitCenter" />
<com.tenten.trackname android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="10.0px" android:paddingRight="10.0px" android:singleLine="true" />
<com.tenten.MusicControl android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.prev android:layout_marginRight="10.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.play android:layout_gravity="center_horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.next android:layout_marginLeft="10.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.tenten.MusicControl>
</LinearLayout>[/COLOR]
<LinearLayout android:gravity="center" android:layout_width="wrap_content" android:layout_height="25.0dip">
<ImageView android:id="@id/zzz_hour01" android:layout_width="17.0dip" android:layout_height="25.0dip" />
<ImageView android:id="@id/zzz_hour02" android:layout_width="17.0dip" android:layout_height="25.0dip" />
<ImageView android:id="@id/zzz_colon01" android:layout_width="17.0dip" android:layout_height="25.0dip" android:src="@drawable/zzz_unlock_clock_colon" />
<ImageView android:id="@id/zzz_minute01" android:layout_width="17.0dip" android:layout_height="25.0dip" />
<ImageView android:id="@id/zzz_minute02" android:layout_width="17.0dip" android:layout_height="25.0dip" />
</LinearLayout>
<LinearLayout android:layout_gravity="bottom" android:orientation="vertical" android:layout_width="0.0dip" android:layout_height="0.0dip">
<TextView android:textSize="0.0dip" android:typeface="sans" android:textColor="#ffffffff" android:id="@id/zzz_ampm" android:layout_width="0.0dip" android:layout_height="0.0dip" android:shadowColor="@color/black" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</LinearLayout>
<TextView android:textSize="20.0sp" android:typeface="sans" android:textColor="#ffffffff" android:id="@id/zzz_date_month" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:shadowColor="@color/black" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</view>
5.) Add a png in res/drawable folder and name it: default_music_logo.
6.) Recompile framework-res.apk and decompile it again.
7.) Go to res/values/public.xml and find this line:
Code:
<public type="drawable" name="default_music_logo" id="[COLOR="Red"]ImportantID[/COLOR]" />
8.) Remember the important ID. Go back again to your android.policy.jar and open smali/com/tenten/AlbumArt.smali.
9.) Find this line:
Code:
const v2, 0x1080411
10.) Replace 0x1080411 with your ImportantID BUT remove the 0 next to x. (Example: 0x01234567 to 0x1234567)
Code:
const v2, [COLOR="red"]ImportantID[/COLOR]
11.) Recompile framework-res.apk and android.policy.jar.
12.) Decompile SystemUI.apk.
13.) Download UI_MusicInfo.zip in attachment and extract it to smali folder.
14.) Go to res/layout/status_bar.xml and below:
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
add this line:
Click to expand...
Click to collapse
Code:
[COLOR="red"]<com.tenten.MusicHelper android:layout_width="0.0dip" android:layout_height="0.0dip" />[/COLOR]
It will be like this:
Click to expand...
Click to collapse
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.LenoxStatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
[COLOR="red"]<com.tenten.MusicHelper android:layout_width="0.0dip" android:layout_height="0.0dip" />[/COLOR]
15.) Recompile SystemUI.apk.
16.) Finally, zip your recompiled android.policy.jar, framework-res.apk, SystemUI.apk and flash it.
17.) download and Install CustomizableParts.apk in attachment to control the informations
18.) If it works, jump. If no, tell me
Fullscreen AlbumArt in Lockscreens (KITKAT MODE ON)
Click to expand...
Click to collapse
Description: Fullscreen Album art in lockscreen like kitkat, all lockscreens are affected except circle lock. (It has no main layout :crying Sorry but no screenshot, you can imagine it by the title itself. (But actually, Im lazy. xD )
NOTE: This will work on lockscreens that has mainlayout and its main parent must be relativelayout.
1.) Open all of these layouts on framework-res/res/layout:
keyguard_screen_password_portrait.xml
keyguard_screen_tab_unlock.xml
keyguard_screen_unlock_portrait.xml
2.) then do this in the three layout that you have opened:
PUT THIS:
Click to expand...
Click to collapse
Code:
<com.tenten.AlbumArt android:layout_width="240.0px" android:layout_height="320.0px" android:background="#ff000000" android:scaleType="centerInside" />
BELOW THIS:
Click to expand...
Click to collapse
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
IT WILL BE LIKE THIS:
Click to expand...
Click to collapse
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@id/patternlockscreenwallpaper_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.tenten.AlbumArt android:layout_width="240.0px" android:layout_height="320.0px" android:background="#ff000000" android:scaleType="centerInside" />
NOTE: In keyguard_screen_tab_unlock.xml, it must be below xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock">
3.) Save them and close, Then open zzz_keyguard_screen_lockscreenwallpaper.xml
4.) Then again:
PUT THIS:
Click to expand...
Click to collapse
Code:
<com.tenten.AlbumArt android:layout_width="240.0px" android:layout_height="320.0px" android:background="#ff000000" android:scaleType="centerInside" />
BELOW THIS:
Click to expand...
Click to collapse
Code:
<ImageView android:id="@id/lockscreenwallpaper_image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitXY" />
IT WILL BE LIKE THIS:
Click to expand...
Click to collapse
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@id/lockscreenwallpaper_root" android:background="#80000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/lockscreenwallpaper_image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitXY" />
<com.tenten.AlbumArt android:layout_width="240.0px" android:layout_height="320.0px" android:background="#ff000000" android:scaleType="centerInside" />
</RelativeLayout>
5.) Save again all then recompile your framework-res
6.) Flash to obtain kitkat mode.
PS: Need help? Go to 2nd post.
Java Source: https://github.com/tentenponce/Music_Info_on_Lockscreen
CREDITS​[email protected]
CyanogenMod
AOSP
StackOverflow.com
Lenox Devs
Potato Inc
[email protected] for inspiring me on his music lock controls ​
FAQs / Help
FAQs
EDIT: Sorry for the wrong info, please read the first Q and A again. thank you
Q: Why music controls not working?
A: There's something you need to modify on MusicUtils.smali, according to sir @PineappleOwl, for a while, use the lenox music that has been attach my sir @GSculerlor around here, just look for it
EDIT: Download MusicUtils.zip on attachment and extract it on your Music.apk/smali folder.
Q: My album art is not updating/changing/not the same with my music album art?
A: It is because the data from your old music, (maybe u use other player). Clear the data of your old music and stock music then check it again (Credits, Mark[email protected])
Q: No AlbumArt when my phone is plug into Computer?
A: Yes, to avoid force close/hotboot.
Q: F*ck! My phone reboots when I unplug it from the Computer.
A: Wait for your sd card to be scanned then unplug it. Patience is <3
Q: Some alien options on CustomizableParts, how to use it?
A: Follow my other guides.
NOTE
Changing Song will be a bit laggy because it is updating.
You can Put it on other layouts of lockscreen (Pattern lock, Pin, etc.)
awesome dude
will try
Reserve
hai i mohammad Azim
everything implemented. but still Lockscreen music control not works.
ROM - JELLYFUSION
FRIMWARE - DDMF4
DEVICE - GALAXY Y DUOS
Ten, its working on me hehe I used stock
kartik verma said:
everything implemented. but still Lockscreen music control not works.
ROM - JELLYFUSION
FRIMWARE - DDMF4
DEVICE - GALAXY Y DUOS
Click to expand...
Click to collapse
It's on default, try to run music then go to lockscreen. See if it's there.
Sir @tentenponce, What Music app work with this guide ?
GSculerlor said:
Sir @tentenponce, What Music app work with this guide ?
Click to expand...
Click to collapse
Default one will do
Report : CM Parts not work on me :crying:
SS after i press pause button :
GSculerlor said:
Sir @tentenponce, What Music app work with this guide ?
Click to expand...
Click to collapse
I only tried default music, but you can try on other and you can tell me so i can tell others credits goes to you ofcourse
GSculerlor said:
Report : CM Parts not work on me :crying:
SS after i press pause button :
View attachment 2750570
Click to expand...
Click to collapse
Ill update the thread, i saw that also, in lockscreen, Cm Style is a bug. Please avoid using that for now sir. Catching intents in lockscreen is complicated, that's why I can't also catch the trackname on lockscreen. </3 By the way, thanks for reporting :good:
Wow, awesome sir. Thanks
tentenponce said:
It's on default, try to run music then go to lockscreen. See if it's there.
Click to expand...
Click to collapse
Sir, m use it on Google play music. so i think is is the problem.
sorry to say.
but its a worst feature.
And never works on stock music player as well this feature also not working on another music play (Google play Music)
plssss.. Fix it and this feature is gud and i also want in my rom.
Device - Galaxy Y Duos
Frimware - GINGERBREAD.DDMF4
kartik verma said:
sorry to say.
but its a worst feature.
And never works on stock music player as well this feature also not working on another music play (Google play Music)
plssss.. Fix it and this feature is gud and i also want in my rom.
Device - Galaxy Y Duos
Frimware - GINGERBREAD.DDMF4
Click to expand...
Click to collapse
It complete work on default music player. Bug just on CM style
Sent from my GT-S5360 using XDA Free mobile app
GSculerlor said:
It complete work on default music player. Bug just on CM style
Sent from my GT-S5360 using XDA Free mobile app
Click to expand...
Click to collapse
can u add this mod in my framework apk and policy.jar
Sir @tentenponce, i follow your instruction very carefully and i got random reboot XD
And i position in on top, how to move it to bottom ?
What is xml like galaxy s2/glass lock ?
TIA
Mranggapo said:
Sir @tentenponce, i follow your instruction very carefully and i got random reboot XD
And i position in on top, how to move it to bottom ?
What is xml like galaxy s2/glass lock ?
TIA
Click to expand...
Click to collapse
take whole xml code of music control and **** it below.
like if i have clock and date and above music control. cut the code and paste below the clock code
done.
Mranggapo said:
Sir @tentenponce, i follow your instruction very carefully and i got random reboot XD
And i position in on top, how to move it to bottom ?
What is xml like galaxy s2/glass lock ?
TIA
Click to expand...
Click to collapse
Dont use CM Style, it's a bug. Ill try to fix it. install the apk and choose default or minimal.

[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

[Guide/Tutorial][Lollipop 5+]Create Your Xperia Lillipop Theme in Android Studio

Create Your Xperia Lillipop Theme in Android Studio​
Hi, Will show you how to create Xperia Theme Lollipop using Android Studio
Android Studio should be configured properly and You have to a basic knowledge about the program​​
What we need
1. Android Studio for PC
2. File Manager
3. Notepad ++
4. Installed SDK
5. Tickle My Android The Greatest Android Theming Tool...EVER!! by @Ticklefish
Link
​
[Firstly here to download the files:
Theme_files.zip
com.sonyericsson.uxp.apk
com.android.systemui.apk
android.apk
Unpack somewhere on drive C: or D:
Sorry but my laptop is quite slow
1. How Make new Theme theme ( You need Ready android.zip , You can use my android.zip and you can change it laiter )
Video:
2. How Create ZIP package for theme And How Add it to Studio ( "android.zip" "com.android.systemui.zip" "com.sonyericsson.uxp.zip" )
Video:
Video How Correct Installation On The Phone
TIP:
How works theme accent colors:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
[COLOR="Red"] <color name="somc_color_dark_primary_dark">#ff9c27b0</color>
<color name="somc_color_primary_dark">#ff9c27b0</color>[/COLOR]
[COLOR="DarkOrchid"] <color name="somc_color_accent_dark">#ff7c4dff</color>[/COLOR]
[COLOR="red"] <color name="somc_color_dark_primary_light">#ff9c27b0</color>
<color name="somc_color_primary_light">#ff9c27b0</color>[/COLOR]
[COLOR="DarkOrchid"] <color name="somc_color_accent_light">#ff7c4dff</color>[/COLOR]
</resources>
{
"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"
}
My Themes
[Theme][Sony] Best Theme Collection for All Sony Lollipop 5.0.2. NOT ROOTED Devices
Black Theme Collection for All Sony Lollipop 5.0.2. NOT ROOTED
Credits:
RXS MoonBreakers Team
Thanks for:
@Ticklefish and his Greatest Tool
@SArnab©® for his 4.3 Guide
[Guide/Tutorial][JB 4.3+]Create Your Own Xperia Theme
Part 2
Today I'll show you what can be changed using themes and how to check it out.​
First How do I add new packages Zip​
We Add packages in AndroidManifest.xml between the red fields
One package is mark on green color
Code:
[COLOR="red"] <runtime-skin version="1">[/COLOR]
<asset path="android.zip" target="android">
<laf-version-filter from="1" to="1"/>
</asset>
<asset path="com.sonyericsson.uxp.zip" target="com.sonyericsson.uxp">
<laf-version-filter from="1" to="1"/>
</asset>
[COLOR="SeaGreen"] <asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="2" to="2"/>
</asset> [/COLOR]
<asset path="com.sonyericsson.home.zip" target="com.sonyericsson.home">
<laf-version-filter from="1" to="1"/>
</asset>
[COLOR="Red"] </runtime-skin>[/COLOR]
Package name can be found in
SystemUI.apk / AndroidManifest.xml
Example
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" android:sharedUserId="android.uid.systemui" coreApp="true" [COLOR="SeaGreen"]package="com.android.systemui" [/COLOR]platformBuildVersionCode="21" platformBuildVersionName="5.0.2-1">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_ALL_DOWNLOADS"/>
Application have different laf-version-filter
belongs to change according to the package destination.
Information is located in the file
SystemUI.apk / AndroidManifest.xml
Code:
<asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="[COLOR="RoyalBlue"]2[/COLOR]" to="[COLOR="RoyalBlue"]2[/COLOR]"/>
</asset>
Example:
Code:
</intent-filter>
</activity>
<service android:exported="true" android:name=".doze.DozeService" android:permission="android.permission.BIND_DREAM_SERVICE" android:singleUser="true"/>
<meta-data android:name="com.sonymobile.runtimeskinning.SKIN_PERMISSIONS" android:resource="@xml/somc_skin_permissions"/>
<meta-data android:name="com.sonymobile.runtimeskinning.[COLOR="RoyalBlue"]LAF_VERSION" android:value="2"/>[/COLOR]
<meta-data android:name="com.sonymobile.keyguard.KEYGUARD_PLUGINS" android:resource="@array/somc_keyguard_plugins"/>
Last part 3 important
What can be edited using the .zip package​
Almost every Sony App app has the file
somc_skin_permissions.xml
skin_permissions.xml
It is always in the folder example.apk /xml/somc_skin_permissions.xml
In this file are value that can be edited using Your theme.
If it is not there it is not possible. Why ? I don't know . You need to ask SONY
Here is an example of framework-res.apk
each of these values corresponds to a value in the framework
drawable - drawable
color -color
etc.
More information about it you find here
[Guide] Unlock and Add Permission to Sony Lollipop Theme Engine by Ambor
Code:
<?xml version="1.0" encoding="utf-8"?>
<overlay-resources>
<filter-group group="color">
<filter type="type" value="color" />
</filter-group>
<filter-group group="action-bar">
<filter type="type" value="nine-patch,bitmap" />
<filter type="size" minWidth="1dp" maxWidth="360dp" minHeight="1dp" maxHeight="48dp" />
</filter-group>
<overlay id="@drawable/somc_actionbar_top_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_middle_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_bottom_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_top_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_middle_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_bottom_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_cab_bottom_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_cab_bottom_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_cab_top_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_cab_top_bg_light" filters="action-bar" />
<filter-group group="button-selector">
<filter type="type" value="selector,animated-selector">
<filter type="included" value="false" />
</filter>
<filter type="type" value="nine-patch,bitmap">
<filter type="included" value="true" />
</filter>
<filter type="size" minWidth="20dp" maxWidth="48dp" minHeight="20dp" maxHeight="48dp">
<filter type="included" value="true" />
</filter>
</filter-group>
<overlay id="@drawable/somc_btn_selector_dark" filters="button-selector" />
<overlay id="@drawable/somc_btn_selector_light" filters="button-selector" />
<overlay id="@color/somc_color_btn_ripple_dark" filters="color" />
<overlay id="@color/somc_color_btn_ripple_light" filters="color" />
<overlay id="@color/somc_color_btn_dark" filters="color" />
<overlay id="@color/somc_color_btn_light" filters="color" />
<filter-group group="btn-elevation">
<filter type="size" value="3dp" tolerance="3dp" />
.................
.....
<overlay id="@drawable/somc_btn_dark" filters="button" />
<overlay id="@drawable/somc_btn_normal_dark" filters="button" />
<overlay id="@drawable/somc_btn_pressed_dark" filters="button" />
<overlay id="@drawable/somc_btn_focused_dark" filters="button" />
<overlay id="@drawable/somc_btn_disabled_dark" filters="button" />
<overlay id="@drawable/somc_btn_disabled_focused_dark" filters="button" />
<overlay id="@drawable/somc_btn_light" filters="button" />
resrved
Nice one bro @Ambor ^^
Sent From My Z2 On LP 5.0.2 Full Debloated !
That's the thread we are looking for... knowledge exchange!
Awesome, congrats my friend, very well written and so fuc**** useful!! Hats off!!!
Pandemic said:
Nice one bro @Ambor ^^
Sent From My Z2 On LP 5.0.2 Full Debloated !
Click to expand...
Click to collapse
serajr said:
That's the thread we are looking for... knowledge exchange!
Awesome, congrats my friend, very well written and so fuc**** useful!! Hats off!!!
Click to expand...
Click to collapse
thanks
From which app did you get the first two screen shots?
dipesh1502 said:
From which app did you get the first two screen shots?
Click to expand...
Click to collapse
theme debuger
Omg:fingers-crossed::fingers-crossed:.I was searching this thread since 2 weeks.But MASTER Ambor have prepared it before.:good::good:
Thanks bro.Keep it up
gamzekal said:
Omg:fingers-crossed::fingers-crossed:.I was searching this thread since 2 weeks.But MASTER Ambor have prepared it before.:good::good:
Thanks bro.Keep it up
Click to expand...
Click to collapse
thanks .. I can not wait until you get a lollipop for Z.
Nice guide bro! Very good!:good::good::good:
Different colors in different apps?
Is it possible to theme every app with different colour?
I tried to add another zips with different colours in it and added them to asset part of manifest but it doesn't work
Only colours from android.zip are applied. I have attached my manifest.
veteran29 said:
Is it possible to theme every app with different colour?
I tried to add another zips with different colours in it and added them to asset part of manifest but it doesn't work
Only colours from android.zip are applied. I have attached my manifest.
Click to expand...
Click to collapse
Zip packages only work on stock Sony Apps Only
I tried this on KK (After restarting APP returned to sock settings)
Another problem is that Sony has something changed, and so far only work package android.zip
BUT ONLY value in XML
PNG FILES NOT WORK
Sony made a scrap of Theme Engine.
Sony Applications That trash
You can see that Lollipop did in a big hurry ..
Ambor said:
Another problem is that Sony has something changed, and so far only work package android.zip
BUT ONLY value in XML
PNG FILES NOT WORK
Click to expand...
Click to collapse
So there is no possibility to change for example the navbar icons?
gripfly said:
So there is no possibility to change for example the navbar icons?
Click to expand...
Click to collapse
Yes but only by mod SystemUI.apk
After reboot my theme crashed and became blue-orange
How can i fix it?
Root
Do we need root ?
Batuhanozerr said:
Do we need root ?
Click to expand...
Click to collapse
It's clearly stated in the OP
Amazing guide @Ambor.. Thank you so much!
STRYDER~007 said:
Amazing guide @Ambor.. Thank you so much!
Click to expand...
Click to collapse
thanks

[Guide][5.1.1]How remove bugs in Sony Xperia SystemUI

Hi Sony Users,
Almost a year waiting for Sony Improves errors in Theme Engine, which have still not been corrected.
I decided to show how remove some bugs in SystemUI
​
Requirements:
- BRAIN (Moust important )
- ApkTool any
- Notepad++
- framework-res.apk
- SemcGenericUxpRes.apk
- SystemUI.apk
Navigation Button Bug:
1. Decompile SystemUI.apk
2. Copy my files to right folder
3. Open SystemUI.apk\res\values\drawables.xml
4. Replice all this lines:
Code:
<item type="drawable" name="somc_navbar_back_btn">@drawable/ic_sysbar_back</item>
<item type="drawable" name="somc_navbar_back_ime_btn">@drawable/ic_sysbar_back_ime</item>
<item type="drawable" name="somc_navbar_home_btn">@drawable/ic_sysbar_home</item>
<item type="drawable" name="somc_navbar_menu_btn">@drawable/ic_sysbar_menu</item>
<item type="drawable" name="somc_navbar_recent_btn">@drawable/ic_sysbar_recent</item>
<item type="drawable" name="somc_navbar_ime_switcher_btn">@drawable/ic_ime_switcher_default</item>
<item type="drawable" name="somc_navbar_back_btn_land">@drawable/ic_sysbar_back_land</item>
<item type="drawable" name="somc_navbar_back_ime_btn_land">@drawable/ic_sysbar_back_ime_land</item>
<item type="drawable" name="somc_navbar_home_btn_land">@drawable/ic_sysbar_home_land</item>
<item type="drawable" name="somc_navbar_menu_btn_land">@drawable/ic_sysbar_menu_land</item>
<item type="drawable" name="somc_navbar_recent_btn_land">@drawable/ic_sysbar_recent_land</item>
This:
Code:
<item type="drawable" name="ic_sysbar_home">@drawable/somc_navbar_home_btn</item>
<item type="drawable" name="ic_sysbar_recent">@drawable/somc_navbar_recent_btn</item>
<item type="drawable" name="ic_sysbar_back">@drawable/somc_navbar_back_btn</item>
<item type="drawable" name="ic_sysbar_menu">@drawable/somc_navbar_menu_btn</item>
<item type="drawable" name="somc_navbar_ime_switcher_btn">@drawable/ic_ime_switcher_default</item>
5. Save File
6. SystemUI.apk\res\layout\
In this files:
navigation_bar.xml
screen_pinning_request_buttons_land.xml
screen_pinning_request_buttons.xml
Change names ( If this names are on other xml files , also need to change it )
Code:
this: to this:
ic_sysbar_back - somc_navbar_back_btn
ic_sysbar_home - somc_navbar_home_btn
ic_sysbar_recent - somc_navbar_recent_btn
ic_sysbar_recent_land - somc_navbar_recent_btn_land
ic_sysbar_home_land - somc_navbar_home_btn_land
ic_sysbar_back_land - somc_navbar_back_btn_land
Exapmple navigation_bar.xml
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="Red"]ic_sysbar_back[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" android:layout_marginStart="@dimen/navigation_key_outer_margin" systemui:keyCode="4" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="red"]ic_sysbar_home[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="red"]ic_sysbar_recent[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" android:layout_marginEnd="@dimen/navigation_key_outer_margin" />
<FrameLayout android:layout_width="@dimen/navigation_side_padding" android:layout_height="fill_parent" android:layout_weight="0.0">
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="RoyalBlue"]somc_navbar_back_btn[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" android:layout_marginStart="@dimen/navigation_key_outer_margin" systemui:keyCode="4" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="RoyalBlue"]somc_navbar_home_btn[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="RoyalBlue"]somc_navbar_recent_btn[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" android:layout_marginEnd="@dimen/navigation_key_outer_margin" />
<FrameLayout android:layout_width="@dimen/navigation_side_padding" android:layout_height="fill_parent" android:layout_weight="0.0">
7. Save File
8. From SystemUI.apk\res\
Remowe all PNG Files
ic_sysbar_home.png
ic_sysbar_recent.png
ic_sysbar_back.png
ic_sysbar_menu.png
FROM ALL FOLDERS
/drawable-hdpi
/drawable-xhdpi
/drawable-xxhdpi
etc.
9. Done
Volume control Bug:
1. Open SystemUI.apk\res\layout\ status_bar_toggle_slider.xml
Change this
Code:
<com.android.systemui.settings.ToggleSeekBar android:id="@id/slider" android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:thumb="[COLOR="red"]@drawable/ic_brightness_thumb[/COLOR]" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_brightness" android:paddingStart="20.0dip" android:paddingEnd="20.0dip" android:layout_toEndOf="@id/toggle" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" android:splitTrack="false" />
To this:
Code:
<com.android.systemui.settings.ToggleSeekBar android:id="@id/slider" android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:thumb="[COLOR="RoyalBlue"]@android:drawable/somc_seekbar_thumb_selector_dark[/COLOR]" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_brightness" android:paddingStart="20.0dip" android:paddingEnd="20.0dip" android:layout_toEndOf="@id/toggle" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" android:splitTrack="false" />
2. Save and done
3. Compile and sign app
Creadits:
RXS MoonBreakers Team
My Ready Mod:
[Mod][5.1.1]Theme Accent SystemUI
Screens:
{
"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"
}
Great tut for fixing this bug
Awesome guide bro so easy.. I wonder why Sony dev doesn't fix it till now
Sent from my C6603 using Tapatalk
shehabskull said:
Awesome guide bro so easy.. I am wonder why Sony dev doesn't fix it till now
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Sony: Simplely, this is not bugs.
shehabskull said:
Awesome guide bro so easy.. I am wonder why Sony dev doesn't fix it till now
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
ReadReadz said:
Sony: Simplely, this is not bugs.
Click to expand...
Click to collapse
For Sony lot of stuff is not BUG
Ambor, you forgot to add somc_seekbar_thumb_selector_dark file, when i've tried to do 'Volume control Bug' it misses this file when building
edi194 said:
Ambor, you forgot to add somc_seekbar_thumb_selector_dark file, when i've tried to do 'Volume control Bug' it misses this file when building
Click to expand...
Click to collapse
You need add this:
@android:drawable/somc_seekbar_thumb_selector_dark
Red mean that file is in framework-res.apk
Ok, sorry for mistake. Everything is working on C6603 with stock 5.1 ^^
Cool guide
Nice Tut!
But I have some requests for further modding/fixing bugs:
Is it possible to remove the (for me annoying) status bar theme color tint that is present in apps like chrome?
Thanks in Advance!!
anyone else tried dis tut??? nav bar still changes wen editing quicksettings & in album!
whalesplaho said:
anyone else tried dis tut??? nav bar still changes wen editing quicksettings & in album!
Click to expand...
Click to collapse
For Z2 try my
http://forum.xda-developers.com/cro...od-theme-accent-systemui-navi-button-t3216761
Nice Guide - Thank you!
Ambor said:
For Z2 try my
http://forum.xda-developers.com/cro...od-theme-accent-systemui-navi-button-t3216761
Click to expand...
Click to collapse
am using a modded systemui buddy... please help!
ReadReadz said:
Sony: Simplely, this is not bugs.
Click to expand...
Click to collapse
And Sony's right. Those are not bugs, just stylistic choices. Speaking as a graphic designer here, Sony theme may not be my favourite, as a matter of taste, but it is fully functional. Bugs are things that shouldn't work, which is not the case. The OP is theming stuff, which is okay, but not fixing a single thing.
whalesplaho said:
am using a modded systemui buddy... please help!
Click to expand...
Click to collapse
Check this step again
8. From SystemUI.apk\res\
Remowe all PNG Files
ic_sysbar_home.png
ic_sysbar_recent.png
ic_sysbar_back.png
ic_sysbar_menu.png
Renmazuo said:
And Sony's right. Those are not bugs, just stylistic choices. Speaking as a graphic designer here, Sony theme may not be my favourite, as a matter of taste, but it is fully functional. Bugs are things that shouldn't work, which is not the case. The OP is theming stuff, which is okay, but not fixing a single thing.
Click to expand...
Click to collapse
I see that you're an expert on the subject. You say I got a reply from Sony, you do not work for them?
This is one of the absurdities of Sony Theme Engine, which is full of them. Sony piecemeal it improves (Lollipop almost a year)
I will not explain, because I would not understand. How would you like to blurt it out find another topic.
Ambor said:
I see that you're an expert on the subject. You say I got a reply from Sony, you do not work for them?
This is one of the absurdities of Sony Theme Engine, which is full of them. Sony piecemeal it improves (Lollipop almost a year)
I will not explain, because I would not understand. How would you like to blurt it out find another topic.
Click to expand...
Click to collapse
Hello brother
I have tried ur tutorial but not working for me. I have followed all correctly. And only Brightness slider is working as per ur tutorial. And u mean delete pngs from SystemUI/res ? Is it SystemUI/res/drawable-xxhdpi folder ?
Any help. ?
I think something is missing in ur tutorial..
EDIT
===
I have tried ur modded apk also. But still i can't find any difference in album . Only other things changed.. Pls take a look at this..
First one is ur modded apk and second one is un modded pure Z2 apk
Files must delete from all folders
/drawable-hdpi
/drawable-xhdpi
/drawable-xxhdpi
etc.

Categories

Resources