[Tut][MM][Easy] Making Card Style Settings.apk For MarshMallow + Extra ! - Sony Cross-Device Development Themes and Apps

Hi people !
I wanna just share my TUT howto add card view settings from old
Xperia X Settings into our Settings of Marshmallow after a alot investigation
and test with fails but now with succes.
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"
}
Steps:
1: Decompile Settings.apk
2: Download attached file then extract and merge into yours
3: Open /res/values/colors.xml, add this values:
Code:
<color name="dashboard_background_color">@drawable/dashboard_background</color>
<color name="dashboard_category_background_color">@drawable/dashboard_category_background</color>
Open /res/layout/dashboard_category.xml, on 2nd line, change to this value
Code:
android:background="?android:colorBackground"
Into this:
Code:
android:background="@drawable/dashboard_category_background"
4: Now as you can see menu divider lines are going out of card from right side. So to fix that.
In /res/layout/dashboard_tile.xml
In line:
Code:
<View android:id="@id/tile_divider" android:background="?android:dividerVertical" android:layout_width="fill_parent" android:layout_height="1.0dip" />
Add android:layout_marginRight="8.0dip"
Then It will look like this
Code:
<View android:id="@id/tile_divider" android:background="?android:dividerVertical" android:layout_width="fill_parent" [COLOR="red"]android:layout_marginRight="8.0dip"[/COLOR] android:layout_height="1.0dip" />
.. Extra Option ..
.. Background Of The Card Accords To Theme ..
Here is howto:
In dashboard_background.xml
DONT copy all - Just compare red lines
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<padding android:top="72.0dip" />
[COLOR="red"]<solid android:color="@android:color/somc_color_primary_light" />[/COLOR]
</shape>
</item>
<item>
<shape>
<padding android:top="-72.0dip" />
[COLOR="red"]<solid android:color="#80ffffff" />[/COLOR]
</shape>
</item>
<item>
<shape>
<solid android:color="#00000000" />
</shape>
</item>
</layer-list>
Now in dashboard_category_background.xml
* DONT * copy all - Just compare red lines
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<padding android:left="6.0dip" android:top="8.0dip" android:right="6.0dip" android:bottom="0.0dip" />
<solid android:color="#00000000" />
</shape>
</item>
<item>
<shape>
<padding android:left="1.0dip" android:top="1.0dip" android:right="1.0dip" android:bottom="1.0dip" />
<solid android:color="#03000000" />
<corners android:radius="6.0dip" />
</shape>
</item>
<item>
<shape>
<padding android:left="1.0dip" android:top="1.0dip" android:right="1.0dip" android:bottom="1.0dip" />
<solid android:color="#07000000" />
<corners android:radius="5.0dip" />
</shape>
</item>
<item>
<shape>
<padding android:left="0.0dip" android:top="0.0dip" android:right="0.0dip" android:bottom="1.0dip" />
<solid android:color="#09000000" />
<corners android:radius="4.0dip" />
</shape>
</item>
<item>
<shape>
<padding android:left="0.0dip" android:top="0.0dip" android:right="0.0dip" android:bottom="1.0dip" />
<solid android:color="#09000000" />
<corners android:radius="3.0dip" />
</shape>
</item>
<item>
<shape>
<corners android:radius="2.0dip" />
[COLOR="red"]<solid android:color="@android:color/somc_color_background_light" />[/COLOR]
</shape>
</item>
</layer-list>
- save all changes, recompile, sign, push
- done
...: Credits :...
@idid idamrep: For his guide for LP
RXS Bro @Bloodlvst: For his help
RXS Sister @Marília de Oliveira: For investigations
RXS Bro @Mohitash: For Corrections + Extra Option
-------------------
*** Note !! ***
Don`t hesitate to press the thanks for this guide !!
**********************
​

Res

Awsom bro.. Keep up the good work

Rajeev said:
Awsom bro.. Keep up the good work
Click to expand...
Click to collapse
Thanks my RXS bro @Rajeev ^^

22 views means 22 downloads !
and just 3 thanks -__-"
wow amazing lazy ones, any feedback ?
well atleast for me this works

@Pandemic Looks cool bro..!!
Thanks for the tutorial...

i have a bug i think.... my settings work like before and now i have card style, but the color behind cards doesn't change... i tried different themes but still the same

Metall Boy said:
i have a bug i think.... my settings work like before and now i have card style, but the color behind cards doesn't change... i tried different themes but still the same
Click to expand...
Click to collapse
Hm weird i explained exactly how i did it @Metall Boy
Any screenshot and info like which device, fw, odex or deodexed ?
You people can have issue but i dunno it without any info and the most MM users have odexed rom what is pretty carbage in my eyes because less modificaction due the arm folders.

Pandemic said:
Hm weird i explained exactly how i did it @Metall Boy
Any screenshot and info like which device, fw, odex or deodexed ?
You people can have issue but i dunno it without any info and the most MM users have odexed rom what is pretty carbage in my eyes because less modificaction due the arm folders.
Click to expand...
Click to collapse
here is the screenshot, as you can see i have cards now, but the color behind them doesn't change im using stock based MM rom (see my signature)

Metall Boy said:
here is the screenshot, as you can see i have cards now, but the color behind them doesn't change im using stock based MM rom (see my signature)
Click to expand...
Click to collapse
@Metall Boy
Hmm oke weird and you are sure you have no arm folder in the system/settings folder ?
If not well give me some days i think on monday i fixed it, no pc these days but after the weekend i have, but probarly i forgot something... What an idiot i am :silly: .

Pandemic said:
@Metall Boy
Hmm oke weird and you are sure you have no arm folder in the system/settings folder ?
If not well give me some days i think on monday i fixed it, no pc these days but after the weekend i have, but probarly i forgot something... What an idiot i am :silly: .
Click to expand...
Click to collapse
I dont have any arm folder, I'm using deodexed rom thank you for your time and for this great tutorial

Metall Boy said:
I dont have any arm folder, I'm using deodexed rom thank you for your time and for this great tutorial
Click to expand...
Click to collapse
Hmm oke then i forgot something and i know what already bu no pc, so cant copy the codes from my settings and post it here, i hope you all can wait till monday and you're welcome ^^

Pandemic said:
Hmm oke then i forgot something and i know what already bu no pc, so cant copy the codes from my settings and post it here, i hope you all can wait till monday and you're welcome ^^
Click to expand...
Click to collapse
yes of course we can wait, no problem thanks again!

Nice man

@Pandemic
My setting app had gone after following your guide. Help me please.
My Z5d MM 6.0.1 rooted, deodexed.

devilmaycry2020 said:
@Pandemic
My setting app had gone after following your guide. Help me please.
My Z5d MM 6.0.1 rooted, deodexed.
Click to expand...
Click to collapse
@devilmaycry2020
Thats weird and i dunno if you read my replies but i need to add some missing lines in the 1st post, which FW you use ?

Pandemic said:
@devilmaycry2020
Thats weird and i dunno if you read my replies but i need to add some missing lines in the 1st post, which FW you use ?
Click to expand...
Click to collapse
I'm using E6683_32.2.A.0.224. Did you missing some steps?
p/s: i don't know why i just decompress settings.apk then recompile (no edit anything )then put back the phone and setting app had gone. it's strange.

devilmaycry2020 said:
I'm using E6683_32.2.A.0.224. Did you missing some steps?
p/s: i don't know why i just decompress settings.apk then recompile (no edit anything )then put back the phone and setting app had gone. it's strange.
Click to expand...
Click to collapse
You signed apk?

devilmaycry2020 said:
I'm using E6683_32.2.A.0.224. Did you missing some steps?
p/s: i don't know why i just decompress settings.apk then recompile (no edit anything )then put back the phone and setting app had gone. it's strange.
Click to expand...
Click to collapse
Please read this my friend
V
V
V
Pandemic said:
Hmm oke then i forgot something and i know what already bu no pc, so cant copy the codes from my settings and post it here, i hope you all can wait till monday and you're welcome ^^
Click to expand...
Click to collapse
It will be fixed like i said on Monday
Patients.

Kuciak said:
You signed apk?
Click to expand...
Click to collapse
Yes, define absolutely. i signed it. i mod many thing app no problem.

Related

[How-to] Edit the "About Phone" display

Code:
I am not responsible for your device, please consider before doing this!
Hello all, I'm new to xda-developers and do "almost" nothing recently due to the low-level of dev.
Now I want to share the way you can edit the "About Phone" tab in "Settings"
I'm just tested with my Xperia SL (ROM XZXperience_1) (it SHOULD work with another phone )
Screen Shot:
{
"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"
}
Now what you need:
1. A Rooted Phone (Xperia S, SL prefered) and Root Explorer
2. Your free time (5 - 10 min.)
That's all!
Instructions:
Step 1: BACKUP YOUR PHONE! IT SHOULD WORK NORMALLY, BUT IN CASE OF SOMETHING HAPPEN, I CAN'T GUARANTEE ABOUT THAT
Step 2: Open the Root Explorer, go to system and open the "build.prop" with notepad
Step 3: Under the ############ Updating of the SW Version ##############
Find
1.
Code:
ro.product.model=
this will change the display of "Model number"
2.
Code:
ro.build.version.release=
this will change the display of "Android version"
3.
Code:
ro.build.display.id=
this will change the display of "Build number"
Step 4: Save & Reboot Your Phone
Step 5: Check in "About Phone"
I'm not good at English, so please feel free to fix
Nhưng tiếng việt thì thoải mái nhé
Till-Kruspe said:
It simple really...
decompile your settings.apk...then go to res/xml folder...edit this file device_info_settings.xml and add this line:
Code:
<Preference android:title="@string/[COLOR="Red"]XXXXX[/COLOR]_heading" android:key="[COLOR="red"]XXXXX[/COLOR]_heading" android:summary="@string/[COLOR="red"]XXXXX[/COLOR]_version" style="?android:preferenceInformationStyle" />
Edit the XXXXX to your like...
This is mine setup:
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"]<Preference android:title="@string/android_heading" android:key="android_heading" android:summary="@string/android_version" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"] <Preference android:title="@string/engine_heading" android:key="engine_heading" android:summary="@string/engine_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_heading" android:key="cpu_heading" android:summary="@string/cpu_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/version_heading" android:key="version_heading" android:summary="@string/ziewing_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/date_heading" android:key="date_heading" android:summary="@string/build_date" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"]<Preference android:title="@string/developer_heading" android:key="developer_heading" android:summary="@string/developer_version" style="?android:preferenceInformationStyle" />[/COLOR]
</PreferenceScreen>
The red are mine custom info...
Now go to value folder and edit strings.xml
put this at the bottom of the line:
Code:
<string name="[COLOR="Red"]XXXXX[/COLOR]_heading">[COLOR="red"]XXXXX[/COLOR]</string>
<string name="[COLOR="red"]XXXXX[/COLOR]_version">[COLOR="Red"]XXXXX[/COLOR]</string>
Mine setup:
Code:
<string name="version_heading">ZieWing™ version</string>
<string name="ziewing_version">v3.2 beta-1 coconut</string>
<string name="date_heading">Build date</string>
<string name="build_date">Tue Feb 12 02:36 PST 2013</string>
<string name="cpu_heading">CPU</string>
<string name="cpu_version">ARMv7 Processor rev 2 (v7l)</string>
<string name="android_heading">Codename</string>
<string name="android_version">Ice Cream Sandwich (ICS)</string>
<string name="engine_heading">Engine version</string>
<string name="engine_version">X-CORE™ alpha v1</string>
<string name="developer_heading">Developer</string>
<string name="developer_version">[email protected]</string>
After your satisfied editing it to your like...recompile it and your done...
Hope you understand it...
Click to expand...
Click to collapse
Nice little tutorial, keep the good work
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
reyfista11 said:
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
Click to expand...
Click to collapse
you can googling the Xperia SL and flash again
Nice. knew it before - changed my phone information too
Thanks!
reyfista11 said:
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
Click to expand...
Click to collapse
But why? SL is more powerfull than S, sl has 1.7ghz cpu, s has 1.5ghz cpu...
Sent from my LT26i using xda premium
denslife16 said:
But why? SL is more powerfull than S, sl has 1.7ghz cpu, s has 1.5ghz cpu...
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
Exact same phone, it's just that the SL is overclocked by 200Mhz
Thanks
Thanks!!
I can customize my phone!
It's really work on my Xperia S, now customize some list.
Model number : Special :good:
Android version: Limited edition
Build number: Secret
Anyone else also try it? then what do you edit?
Or this...for rom dev...
Till-Kruspe said:
Or this...for rom dev...
Click to expand...
Click to collapse
Whooah! Would you share how to duo that?
Posted by Xperia™ Ion via xda-premium
ARNOB said:
Whooah! Would you share how to duo that?
Posted by Xperia™ Ion via xda-premium
Click to expand...
Click to collapse
It simple really...
decompile your settings.apk...then go to res/xml folder...edit this file device_info_settings.xml and add this line:
Code:
<Preference android:title="@string/[COLOR="Red"]XXXXX[/COLOR]_heading" android:key="[COLOR="red"]XXXXX[/COLOR]_heading" android:summary="@string/[COLOR="red"]XXXXX[/COLOR]_version" style="?android:preferenceInformationStyle" />
Edit the XXXXX to your like...
This is mine setup:
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"]<Preference android:title="@string/android_heading" android:key="android_heading" android:summary="@string/android_version" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"] <Preference android:title="@string/engine_heading" android:key="engine_heading" android:summary="@string/engine_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_heading" android:key="cpu_heading" android:summary="@string/cpu_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/version_heading" android:key="version_heading" android:summary="@string/ziewing_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/date_heading" android:key="date_heading" android:summary="@string/build_date" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"]<Preference android:title="@string/developer_heading" android:key="developer_heading" android:summary="@string/developer_version" style="?android:preferenceInformationStyle" />[/COLOR]
</PreferenceScreen>
The red are mine custom info...
Now go to value folder and edit strings.xml
put this at the bottom of the line:
Code:
<string name="[COLOR="Red"]XXXXX[/COLOR]_heading">[COLOR="red"]XXXXX[/COLOR]</string>
<string name="[COLOR="red"]XXXXX[/COLOR]_version">[COLOR="Red"]XXXXX[/COLOR]</string>
Mine setup:
Code:
<string name="version_heading">ZieWing™ version</string>
<string name="ziewing_version">v3.2 beta-1 coconut</string>
<string name="date_heading">Build date</string>
<string name="build_date">Tue Feb 12 02:36 PST 2013</string>
<string name="cpu_heading">CPU</string>
<string name="cpu_version">ARMv7 Processor rev 2 (v7l)</string>
<string name="android_heading">Codename</string>
<string name="android_version">Ice Cream Sandwich (ICS)</string>
<string name="engine_heading">Engine version</string>
<string name="engine_version">X-CORE™ alpha v1</string>
<string name="developer_heading">Developer</string>
<string name="developer_version">[email protected]</string>
After your satisfied editing it to your like...recompile it and your done...
Hope you understand it...
Just a great tutorial! You've grown a lot in android dude, congrats!
P.S remember me? - BanorBhai.
Cheers!
Posted by Xperia™ Ion via xda-premium
ARNOB said:
Just a great tutorial! You've grown a lot in android dude, congrats!
P.S remember me? - BanorBhai.
Cheers!
Posted by Xperia™ Ion via xda-premium
Click to expand...
Click to collapse
Thanks...and yeah I know you...
Sent from my WT19i using xda premium
can i quote your tut. to my 1st post ?
Iris Yuga said:
can i quote your tut. to my 1st post ?
Click to expand...
Click to collapse
Sure mate...
Till-Kruspe said:
Sure mate...
Click to expand...
Click to collapse
I'm haveing a bit of a difficulty in your tuttorial, when i edit the device_info_setiings.xml i get all sourts of weird letters " 
  ˙˙˙˙   8 " after that there is no value folder in the apk. I'm using stock deodexed 4.0.4 ROM on Xperia S
beniamin24 said:
I'm haveing a bit of a difficulty in your tuttorial, when i edit the device_info_setiings.xml i get all sourts of weird letters " 
  ˙˙˙˙   8 " after that there is no value folder in the apk. I'm using stock deodexed 4.0.4 ROM on Xperia S
Click to expand...
Click to collapse
Use notepad++ to edit the xml file...did you decompile the apk correctly?...the value folder must be there....
Till-Kruspe said:
Use notepad++ to edit the xml file...did you decompile the apk correctly?...the value folder must be there....
Click to expand...
Click to collapse
I did decompile it correctly,i uploaded my settings .apk, so you can see it, if it works please add your strings and i'll edit them myself
http://www.mediafire.com/?fo1o8vb1wz5s1qw
beniamin24 said:
I did decompile it correctly,i uploaded my settings .apk, so you can see it, if it works please add your strings and i'll edit them myself
http://www.mediafire.com/?fo1o8vb1wz5s1qw
Click to expand...
Click to collapse
Look...it there...
Edit: test it...

[GUIDE]SystemUI with 2 Layout Toggles

Good day devs, I am making a guide here, it was like a 4.1.2 SystemUI. Partially I am not fond of tabbed ui so I made it with minimalizing sir SpaceCaker code.
Original Thread:
http://forum.xda-developers.com/showthread.php?t=2315342
Click to expand...
Click to collapse
Like this,
{
"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"
}
1. Pull SystemUI.apk
2. Decompile
3. Now, go to /res/layout/statusbar_expanded.xml
4.After opening it, you will see some code like this,
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
Add this code after it,
Code:
<RelativeLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<include layout="@layout/header" android:id="@id/headerid" android:layout_width="fill_parent" android:layout_height="48.0dip" />
</RelativeLayout>
<com.pineapple.PineappleLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_secondlayout" />
</LinearLayout>
and before
Code:
</com.android.systemui.statusbar.ExpandedView>
add this,
Code:
</com.pineapple.PineappleLayout>
It should be like this,
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<include android:id="@id/header" android:layout_width="fill_parent" android:layout_height="48.0dip" layout="@layout/header" />
</RelativeLayout>
<com.pineapple.PineappleLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_second" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="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" />
<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" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
</FrameLayout>
</LinearLayout>
</com.pineapple.PineappleLayout>
</com.android.systemui.statusbar.ExpandedView>
5. Go to /res/values/id and add this
Code:
<item type="id" name="headerid">false</item>
<item type="id" name="clock">false</item>
<item type="id" name="panel">false</item>
6. We are finish at ID's. Now, at the string.xml, add this,
Code:
<string name="statusbardateformat">"%1$s
%2$s"</string>
7.Go back to /res/layout/statusbar.xml, add the blue ones to your statusbar.xml
Code:
[COLOR="Blue"]<com.android.systemui.statusbar.StatusBarServiceLRPull android:layout_width="fill_parent" android:layout_height="wrap_content">[/COLOR]
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textColor="#ffffffff" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
[COLOR="Blue"]</com.android.systemui.statusbar.StatusBarServiceLRPull>[/COLOR]
8. Download this and put it in your systemui.
https://www.dropbox.com/s/nz18cj7rqdppuc7/pineappleadd.zip?m
8. Save everything and recompile it, wait, theres more. . .
9. After recompiling, decompile it again, go to /res/values/public.xml. Find these
<public type="drawable" name="btn_tg"
<public type="drawable" name="btn_toggles_normal"
Click to expand...
Click to collapse
10. Go to /smali/com/pineapple/SecondLayout,open
ffind
0x7f020180
Click to expand...
Click to collapse
and change to the public id of <public type="drawable" name="btn_toggles_normal". . .
and also find this,
0x7f02017f
Click to expand...
Click to collapse
and chage it to public ID of <public type="drawable" name="btn_tg". . .
11. Go to /smali/com/android/systemui/statusbar/policy/DateView
find
0x7f07002a
Click to expand...
Click to collapse
and replace it with the public ID of <public type="string" name="statusbardateformat"
12. Save everything and recompile. Done.
Hyperion 2.5 : https://www.dropbox.com/s/r3t4cv9on5pgixz/SystemUIH82.5.zip
Stock DXF1 : https://www.dropbox.com/s/mgfzvowf0ljvinv/SystemUIStock.zip
Click to expand...
Click to collapse
Credits to:
SPACECAKER for his awesome guide
DCSMS
Marinalin85
Matz
AuliaYF
The code in your file is totally done by SpaceCaker so you have no right to rename the "spacecaker" smali file folder to "pineapple" this is called stealing others work
Even if you have given him credits that doesn't mean that you got the permission from him
I would recommend you to point to SpaceCaker's Guide Thread for the Smali Files
Though I find this guide simplistic as compared to SpaceCaker's One
nolinuxnoparty said:
The code in your file is totally done by SpaceCaker so you have no right to rename the "spacecaker" smali file folder to "pineapple" this is called stealing others work
Even if you have given him credits that doesn't mean that you got the permission from him
I would recommend you to point to SpaceCaker's Guide Thread for the Smali Files
Though I find this guide simplistic as compared to SpaceCaker's One
Click to expand...
Click to collapse
Hi sir, I got permission from sir SpaceCaker to modify some smali, and he approved it.
3r41nl33n said:
Hi sir, I got permission from sir SpaceCaker to modify some smali, and he approved it.
Click to expand...
Click to collapse
Good Then
@3r41nl33n
will this work on galaxy y dous stock deodexed systemui
EDIT= ERROR WHILE RECOMPILING
Omkar$ said:
@3r41nl33n
will this work on galaxy y dous stock deodexed systemui
Click to expand...
Click to collapse
It will work sir. As what sir SpaceCaker did, it work with all GB Rom, thus this one too. Cause the codes are exactly the same as his work.
Whats the problem sir? Can i see the log?
Sent from my GT-S5360 using Tapatalk 2
Omkar$ said:
@3r41nl33n
will this work on galaxy y dous stock deodexed systemui
EDIT= ERROR WHILE RECOMPILING
Click to expand...
Click to collapse
Whats the problem? Can I see your logs?
Sent from my GT-S5360 using Tapatalk 2
it a modifed method on LRPull
the Left-Right Pull method are modified from mainalin85's theme, which is i've made that method for marinalin, i still don't give him permission to share but my method now modified by SpaceCaker without my permission.
http://forum.xda-developers.com/showthread.php?t=2315342&page=15
3r41nl33n said:
Whats the problem? Can I see your logs?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Lol statusbar gon
After flashing
Sent from my GT-S6102 using xda app-developers app
I think your guide is not perfect just like in your SS there is no notifications at the 2nd panel of your statusbar..
btw my statusbar already has a statusbarheaderview. cAn you make a tut for it?
Sent from my GT-S5360 using xda premium
Plz tell me, how to use it on my galaxy y because I'm a newbie.
markmellarpes said:
I think your guide is not perfect just like in your SS there is no notifications at the 2nd panel of your statusbar..
btw my statusbar already has a statusbarheaderview. cAn you make a tut for it?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
I moved the notification at the otherlayout. It works with someone. I saw some at fb groups.they made it.
Sent from my GT-S5360 using Tapatalk 2
AuliaYF said:
the Left-Right Pull method are modified from mainalin85's theme, which is i've made that method for marinalin, i still don't give him permission to share but my method now modified by SpaceCaker without my permission.
http://forum.xda-developers.com/showthread.php?t=2315342&page=15
Click to expand...
Click to collapse
I didnt know about that. I put credits on you. :/
markmellarpes said:
I think your guide is not perfect just like in your SS there is no notifications at the 2nd panel of your statusbar..
btw my statusbar already has a statusbarheaderview. cAn you make a tut for it?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
It has? So I can say sir,
<RelativeLayOut>StatusBarHeaderView. . . . . . . .
. . . . . .
. . .<RelativeLayout> is equal to /res/layout/header.xml and delete the smali/com. . . /DateView* at my smali. Thats what I can teach now, its hard to explain sir.
imElectronica said:
Plz tell me, how to use it on my galaxy y because I'm a newbie.
Click to expand...
Click to collapse
Pardon sir, I cant understand what you are saying sir, can you make it clear?
Omkar$ said:
Lol statusbar gon
After flashing
Sent from my GT-S6102 using xda app-developers app
Click to expand...
Click to collapse
Can I take your logcat?
3r41nl33n said:
I moved the notification at the otherlayout. It works with someone. I saw some at fb groups.they made it.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
How to use it?
imElectronica said:
How to use it?
Click to expand...
Click to collapse
It can change your Notification Pulldown layout sir.
3r41nl33n said:
It can change your Notification Pulldown layout sir.
Click to expand...
Click to collapse
I know but how i implement this systemUI on my phone.
3r41nl33n said:
I didnt know about that. I put credits on you. :/
Click to expand...
Click to collapse
i can't see my name on your thread.

[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/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