i can't remove battery %, notepad++ not open the file Status_Bar.xml plz help me to remove. Thank you! :cyclops:
Rojikaft said:
i can't remove battery %, notepad++ not open the file Status_Bar.xml plz help me to remove. Thank you! :cyclops:
Click to expand...
Click to collapse
There's no reason it won't be opened by Notepad++, unless you didn't decompile your APK properly.
Anyway, I'm sure others can help you here. I could, but I'm currently on mobile.
Edit: Btw, TickleMyAndroid is quite a good tool for de/recompiling APKs.
Tapatalked from my bricked TX
Rojikaft said:
i can't remove battery %, notepad++ not open the file Status_Bar.xml plz help me to remove. Thank you! :cyclops:
Click to expand...
Click to collapse
tut in here :fingers-crossed::fingers-crossed:
http://forum.xda-developers.com/showthread.php?t=2417364
Thank you, i see this tuto but i can't decomp.. Apktools show error.
Rojikaft said:
i can't remove battery %, notepad++ not open the file Status_Bar.xml plz help me to remove. Thank you! :cyclops:
Click to expand...
Click to collapse
bro i post it in a blog,http://xperialt29i.blogspot.com/2013/08/en-base-que-muy-pocas-paginas-dan.html but is in spanish,found solution there
Tickle My Android
Rojikaft said:
Thank you, i see this tuto but i can't decomp.. Apktools show error.
Click to expand...
Click to collapse
You can also try using @Ticklefish tool. You can find his link here: http://forum.xda-developers.com/showthread.php?t=1633333
Pangkoy08 said:
You can also try using @Ticklefish tool. You can find his link here: http://forum.xda-developers.com/showthread.php?t=1633333
Click to expand...
Click to collapse
kongaz2 said:
tut in here :fingers-crossed::fingers-crossed:
http://forum.xda-developers.com/showthread.php?t=2417364
Click to expand...
Click to collapse
Rycon33 said:
Edit: Btw, TickleMyAndroid is quite a good tool for de/recompiling APKs.
Click to expand...
Click to collapse
Wow...I only posted that tutorial recently!
All the above posts have made my day. I was in a car accident yesterday (I'm fine but the car's not) and I needed some cheering up. So, to say thank you, here's a quick guide to what you need to do:
Use Tickle My Android. (You don't have to but it's a great de/recompiling tool so why shouldn't you? lol)
Using TMA, pull and install framework-res.apk.
Pull and decompile SystemUI.apk.
Edit SystemUI.apk\res\layout\status_bar.xml.
Find a line that looks something like this:
Code:
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
Change it to:
Code:
<TextView android:visibility="gone" android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
Recompile SystemUI.apk.
Prepare SystemUI.apk for flashing.
Create a flashable zip
Flash the zip
Enjoy not having any battery text!
Just make sure you make a backup first!
Thanks again, everyone!
p.s. If you're having problems with compiling or decompiling and you get an error, it's always wise to say what that error is. Apktool produces very long errors...but they do tell you what the problem is!
Ticklefish said:
p.s. If you're having problems with compiling or decompiling and you get an error, it's always wise to say what that error is. Apktool produces very long errors...but they do tell you what the problem is!
Click to expand...
Click to collapse
This
W: Could not decode attr value, using undecoded value instead: ns=android, name=directionality, value=0x00000000
And thank you friends
Rojikaft said:
This
W: Could not decode attr value, using undecoded value instead: ns=android, name=directionality, value=0x00000000
And thank you friends
Click to expand...
Click to collapse
You need to install framework-res.apk and make sure to put framework-res.apk _in folder
When you have Tickle My Android up do this Press 2 - Theming Menu and then press 3 - Install Framework On PC then try.
Warrior1988 said:
You need to install framework-res.apk and make sure to put framework-res.apk _in folder
When you have Tickle My Android up do this Press 2 - Theming Menu and then press 3 - Install Framework On PC then try.
Click to expand...
Click to collapse
yep, i did! and it worked, even attach the result.
I did all proceduresbut when flashing zipped file created by TMA statusbar and navbar disappeare
in CWM when flashing that file everythings seem to be ok
Rojikaft said:
This
W: Could not decode attr value, using undecoded value instead: ns=android, name=directionality, value=0x00000000
And thank you friends
Click to expand...
Click to collapse
Any time!
Mahdian57 said:
I did all proceduresbut when flashing zipped file created by TMA statusbar and navbar disappeare
in CWM when flashing that file everythings seem to be ok
Click to expand...
Click to collapse
In that case, you didn't do all the procedures correctly. To be honest, that's easy enough to do unless you've done this hundreds of times so I don't mean any offence. I made LOTS of mistakes when I was learning how to do this.
In your user_files folder is a logs folder. Reset the tool by using the option in the settings menu, try your mod again and if it doesn't work please share the files in that folder. And please share your original xml as well as your modded xml.
That should give me enough information to work out what wrong.
Ok. I 'll share that log file.
But i've done every steps in post above.
I' ve also compiled and after all procedures decomplied framework that it's not mentioned too.
Sent from my LT30p using Tapatalk 2
By reseting project in TMA this is my work
Sent from my LT30p using Tapatalk 2
Related
Edit: I figured out how to successfully edit framework-res for HTC Sense 3.6. I google'd the problem and found quite a bit of people having trouble with framework-res for Sense 3.6, so I figured I'd post a little guide on how to do it.
1. Download APK-Multitool and extract it to your C:/ directory.
2. Run the "Setup" batch file and use option 3.
3. Copy "Framework-res.apk" to the "Other" and "place-apk-here-for-modding" folders inside your APKMultitool folder.
4. Your going to need to run the "Setup" batch file again if you closed the terminal window. Choose option 2 which installs the framework.
5. Run the "Script" batch file and choose option 10 "Decompile apk with dependencies"
6. Locate the com.htc.resources.apk inside the same folder you took framework-res.apk. Drag com.htc.resources.apk onto the terminal window, this will automatically enter the path for your dependency and install it so you can de/recompile framework-res.
7. Do whatever you need to do with framework-res.
8. Choose option 11 "Compile system apk" and follow the prompts.
That's it, you should be able to successfully de/recompile framework-res using that method.
I don't know enough about your environment or Java to be much help, but check what version jdk is recommended. You might get a better response in general forums.
Nonverbose said:
I don't know enough about your environment or Java to be much help, but check what version jdk is recommended. You might get a better response in general forums.
Click to expand...
Click to collapse
I'm using the latest JDK which is version 7 (or update 7) and I'm running Windows 7 64 bit. I'm using a command prompt window for apktool, but I also have cygwin which also works with apktool. Every question I post in chef central or general Q&A gets ignored, which is why I thought I'd ask here where people know me.
Anything else you need to know?
Edit: Also how do I recompile framework-res from Sense 3.6? I can decompile just fine, but I've tried multiple programs (apktool, apkmulti-tool, and Virtuous ten studio) and none of them can recompile framework-res. I only changed a line in bools.xml.
ZaySk said:
I'm using the latest JDK which is version 7 (or update 7) and I'm running Windows 7 64 bit. I'm using a command prompt window for apktool, but I also have cygwin which also works with apktool. Every question I post in chef central or general Q&A gets ignored, which is why I thought I'd ask here where people know me.
Anything else you need to know?
Edit: Also how do I recompile framework-res from Sense 3.6? I can decompile just fine, but I've tried multiple programs (apktool, apkmulti-tool, and Virtuous ten studio) and none of them can recompile framework-res. I only changed a line in bools.xml.
Click to expand...
Click to collapse
Have you tried decompiling and recompiling with no changes? It could be a problem with your setup?
Nonverbose said:
Have you tried decompiling and recompiling with no changes? It could be a problem with your setup?
Click to expand...
Click to collapse
Hmm I'll give that a try. I know I tried that not long ago with android.policy, and it worked. I figured out the problem with android.policy, now I'm stuck on trying to recompile framework-res. I remember reading somewhere that certain proprietary ROM .apk's have dependencies on other ROM .apk's. I'm trying to re/decompile framework-res by itself, could that be the problem? If so which .apk do I need to use?
Appreciate you're help, thanks.
Have you read any of fernando sor's tutorials? He seems to have it sorted http://forum.xda-developers.com/showthread.php?t=1601511
Nonverbose said:
Have you read any of fernando sor's tutorials? He seems to have it sorted http://forum.xda-developers.com/showthread.php?t=1601511
Click to expand...
Click to collapse
Thank you! I had been searching for a thread like that since last night. Hopefully I'll be able to get things sorted out
ZaySk said:
Thank you! I had been searching for a thread like that since last night. Hopefully I'll be able to get things sorted out
Click to expand...
Click to collapse
No problem. Keep us updated.
Nonverbose said:
No problem. Keep us updated.
Click to expand...
Click to collapse
Ok, one more question and it's a pretty noob question. I can't for the life of me, find layout.xml! I even did an in-folder search for layout.xml and didn't find it. Is it not in framework-res for Sense 3.6? If so, what's the equivalent file? Or since I can't find the file, does that mean it's been depracated and I can skip that step? Sorry, I just want to be sure.
Edit: What about raws.xml? Is that also no longer in Sense 3.6 either?
I'm stuck at this part in the thread you linked to me -
go to res/values layout.xml
change this
Code:
<layout name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</layout>
<layout name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</layout>
<layout name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</layout>
<layout name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</layout>
<layout name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</layout>
<layout name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</layout>
<layout name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</layout>
<layout name="pin_keyboard">@layout/zzzz_pin_keyboard</layout>
to this
Code:
<item type="layout" name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</item>
<item type="layout" name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</item>
<item type="layout" name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</item>
<item type="layout" name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</item>
<item type="layout" name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</item>
<item type="layout" name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</item>
<item type="layout" name="pin_keyboard">@layout/zzzz_pin_keyboard</item>
res/values layout.xml?
Nonverbose said:
res/values layout.xml?
Click to expand...
Click to collapse
It's not there.
Edit: Figured it out, thanks for your help Nonverbose.
ZaySk said:
It's not there.
Edit: Figured it out, thanks for your help Nonverbose.
Click to expand...
Click to collapse
Lol, help? I just realized that my answer was the almost the same as your question. Where did you find it?
Nonverbose said:
Lol, help? I just realized that my answer was the almost the same as your question. Where did you find it?
Click to expand...
Click to collapse
Lol, yea that post wasn't what helped me, it was you're previous posts. I used APKMulti-tool to decompile with com.htc.resources as a dependency and made my changes, then it FINALLY recompiled properly!
How can I rearrange the toggle on my Galaxy S Advance so you have this configuration?
EDIT:For those who would like to make this change, place here attached the file to be replaced in "/system/app"
Buon divertimento!
dnasalentino91 said:
How can I rearrange the toggle on my Galaxy S Advance so you have this configuration?
Click to expand...
Click to collapse
go to my mod here I have rearranged toggles you may like. Otherwise you need to decompile systemui.apk and in res/values edit the arrays.xml
bobfrantic said:
go to my mod here I have rearranged toggles you may like. Otherwise you need to decompile systemui.apk and in res/values edit the arrays.xml
Click to expand...
Click to collapse
In "res" I do not find "values"
There is only:
Code:
anim
color
drawable-hdpi
drawable-land
drawable-nodpi
drawable-port
drawable-sw360dp-hdpi
drawable-sw600dp
drawable-sw600dp-hdpi
drawable-sw720dp-hdpi
layout
layout-ar-IL
layout-iw
layout-land
layout-port
layout-sw600dp
layout-sw720dp
layout-sw800dp
menu
raw
xml
dnasalentino91 said:
In "res" I do not find "values"
There is only:
Code:
anim
color
drawable-hdpi
drawable-land
drawable-nodpi
drawable-port
drawable-sw360dp-hdpi
drawable-sw600dp
drawable-sw600dp-hdpi
drawable-sw720dp-hdpi
layout
layout-ar-IL
layout-iw
layout-land
layout-port
layout-sw600dp
layout-sw720dp
layout-sw800dp
menu
raw
xml
Click to expand...
Click to collapse
did you decompile your SystemUI.apk using apktool or any similar tool?
---------- Post added at 02:08 PM ---------- Previous post was at 02:06 PM ----------
After decompiling go to res > values folder... then open Arrays.xml with Notepad++ and take a look at "QuickSettingButtonAttribute"
Rearrange them to your preferences.... and below is mine:
Code:
<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Location</item>
<item>Sync</item>
<item>PowerSaving</item>
<item>AirplaneMode</item>
<item>DormantMode</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>DrivingMode</item>
</string-array>
Sami Kabir said:
did you decompile your SystemUI.apk using apktool or any similar tool?
---------- Post added at 02:08 PM ---------- Previous post was at 02:06 PM ----------
After decompiling go to res > values folder... then open Arrays.xml with Notepad++ and take a look at "QuickSettingButtonAttribute"
Rearrange them to your preferences.... and below is mine:
Code:
<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Location</item>
<item>Sync</item>
<item>PowerSaving</item>
<item>AirplaneMode</item>
<item>DormantMode</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>DrivingMode</item>
</string-array>
Click to expand...
Click to collapse
Thanks but I can not recompile the apk file ... I leave you a screenshot
dnasalentino91 said:
Thanks but I can not recompile the apk file ... I leave you a screenshot
Click to expand...
Click to collapse
Check whether you have java installed
Abhinandh Ajay said:
Check whether you have java installed
Click to expand...
Click to collapse
Of course! Java is installed..
dnasalentino91 said:
Of course! Java is installed..
Click to expand...
Click to collapse
Try using some other similar tool like "apk manager"
dnasalentino91 said:
Thanks but I can not recompile the apk file ... I leave you a screenshot
Click to expand...
Click to collapse
Did you do apktool if framework-res.apk?
Sent from my GT-I9070 using Tapatalk 4 Beta
KINGbabasula said:
Did you do apktool if framework-res.apk?
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Yes, I did: "I: Framework intalled to: C:\Users\Andrea\apktool\framework\1.apk"
I'm stuck at STEP 5 of this video: http://www.youtube.com/watch?v=iUtFgltT_ho
I am attaching the error that occurs when I'm going to recompile the apk.
dnasalentino91 said:
Yes, I did: "I: Framework intalled to: C:\Users\Andrea\apktool\framework\1.apk"
I'm stuck at STEP 5 of this video: http://www.youtube.com/watch?v=iUtFgltT_ho
I am attaching the error that occurs when I'm going to recompile the apk.
Click to expand...
Click to collapse
May not have the latest apk tool. When I get to my puter I 'll share that here...
Here you go, replace the files in apktool with these ones
View attachment apktoolcomplete.rar
hope it helps if so you know what to do hehe
Sent from my GT-I9070
Thanks bobfrantic :highfive:
After recompiling the file SystemUI.apk, I went to replace it and restarting the smartphone remains stuck at bootanimation How come? What went wrong?
dnasalentino91 said:
Thanks bobfrantic :highfive:
After recompiling the file SystemUI.apk, I went to replace it and restarting the smartphone remains stuck at bootanimation How come? What went wrong?
Click to expand...
Click to collapse
when you recompile, name it SystemUI1.apk then open the new one and original one both with 7zip and copy the META-INF and the AndroidManifest.xml from the original over to your new SystemUI1.apk and close 7zip. move the new one to your desktop and rename it to remove the 1 from the name then copy to your phone and push to system/apps and set permissons and reboot. should work then. it is boot looping due to not having it signed proper. Hope you have a back up of your system with twrp or cwm so you can restore how it was. good rule; back up, everything always I going bed, check how it goes tomorrow..
All resolved...thank you for everything! :good: :highfive: :laugh: :victory:
dnasalentino91 said:
All resolved...thank you for everything! :good: :highfive: :laugh: :victory:
Click to expand...
Click to collapse
happy to read that. If you want to know more about themeing systemui go to Themeing SystemUI Tutorial by joehanh88.
Hi guys,
today with the permission of sir @PineappleOwl I'm going to show you how to float the SystemUI on JB 4.1 TW ROMs by he's floating SystemUI guide.... this is a very easy process but I'll be here if you get problems
Requirements :
1. Brain
2. Patience
3. Experience (little bit)
4. apktool or anything like it
This guide is divided into 2 parts
1. How to float the whole expanded panel
2. How to set different floatings for main expanded panel and the close-drag-handle
How to float the whole expanded panel :
1. Decompile your SystemUI.apk
2. Go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
3. Go to line no. 2 which is:
Code:
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
4. Now delete this from it:
Code:
android:paddingTop="@dimen/notification_panel_padding_top"
5. Now add these at the end of the line:
Code:
android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:paddingRight="0.0dip"
now you have to set the paddings here according to your needs...... I assume you know what androidadding does
How to set different floating for main expanded panel and close-drag-handle :
1. Decompile your SystemUI
2. Go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/tw_status_bar_expanded_dual.xml(if you're device is dual sim)
3. Now for main expanded panel go to line no. 5 which is:
Code:
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
now add these to it:
Code:
android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:paddingRight="0.0dip"
now for close-drag-handle find this:
Code:
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/tw_close_handle_height">
again add these before:
Code:
android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:paddingRight="0.0dip"
4. Now set the paddings like you want them to be
5. Recompile, sign, push, reboot and enjoy !
Credits :
@PineappleOwl
NOTE : You need to make your expanded panel transparent...... otherwise the floating ui will look awful !!
Great and easy guide thanks for @PineappleOwl for the original mod and thanks for you @sdeepb for TW guide
Sent from my GT-I9500 using Tapatalk
MISTAKE
This dont work for me, i cant see the margins D:
MorSerNa said:
This dont work for me, i cant see the margins D:
Click to expand...
Click to collapse
Have you made your panel transparent.... And what device are you using
Help
sdeepb said:
Have you made your panel transparent.... And what device are you using
Click to expand...
Click to collapse
how can i made the panel transaparent?
Huawei G510
MorSerNa said:
how can i made the panel transaparent?
Huawei G510
Click to expand...
Click to collapse
Well this guide is for tw, you can apply it to huawei but the lines will be different so you need to figure that out by yourself.... About panel transparency there's a guide by @ShadeSK.... Try that out
2
sdeepb said:
Well this guide is for tw, you can apply it to huawei but the lines will be different so you need to figure that out by yourself.... About panel transparency there's a guide by @ShadeSK.... Try that out
Click to expand...
Click to collapse
Ohhh is true is for tw D:
Is there any guide for MTK ?
MorSerNa said:
Ohhh is true is for tw D:
Is there any guide for MTK ?
Click to expand...
Click to collapse
Hehe I don't think there's one... Just look at the xmls and try to figure things out
sdeepb said:
Hehe I don't think there's one... Just look at the xmls and try to figure things out
Click to expand...
Click to collapse
Ok thanks jeje
One question more:
Do you know who change the funtion of the buttons?
I need change this :
http://i.gyazo .com/bf15f322fcbd8dcf8350b9ba46577f69.png
MorSerNa said:
Ok thanks jeje
One question more:
Do you know who change the funtion of the buttons?
I need change this :
http://i.gyazo .com/bf15f322fcbd8dcf8350b9ba46577f69.png
Click to expand...
Click to collapse
You mean you want that button to do something else, well it's only png editing....
sdeepb said:
You mean you want that button to do something else, well it's only png editing....
Click to expand...
Click to collapse
Noo
For example, if i click the button, the mobile open Toggles / quicksettings.
I need that when i click the button, the mobile open the Settings.apk
MorSerNa said:
Noo
For example, if i click the button, the mobile open Toggles / quicksettings.
I need that when i click the button, the mobile open the Settings.apk
Click to expand...
Click to collapse
Well I don't know about that... But it should be some smali editing if it's even possible
sdeepb said:
Well I don't know about that... But it should be some smali editing if it's even possible
Click to expand...
Click to collapse
How do I know that smali edit?
Thanks for all.
And one question more jeje
In my case, I open the quicksettings/Toggle scrolling right-left.
Can i change the scrolling to up-down as lollipop ?
MorSerNa said:
How do I know that smali edit?
Thanks for all.
And one question more jeje
In my case, I open the quicksettings/Toggle scrolling right-left.
Can i change the scrolling to up-down as lollipop ?
Click to expand...
Click to collapse
You mean showhide.... Well you should give a try to the show hide guide... Not sure though
sdeepb said:
You mean showhide.... Well you should give a try to the show hide guide... Not sure though
Click to expand...
Click to collapse
I have showhide now, but for me, for show i need scrolling right-left.
Can i change to up-down?
MorSerNa said:
I have showhide now, but for me, for show i need scrolling right-left.
Can i change to up-down?
Click to expand...
Click to collapse
Sorry man I don't know about this as I'm not familiar with mtk xmls....
sdeepb said:
Sorry man I don't know about this as I'm not familiar with mtk xmls....
Click to expand...
Click to collapse
Okey
Thanks for all
MorSerNa said:
Okey
Thanks for all
Click to expand...
Click to collapse
Welcome
sdeepb said:
Welcome
Click to expand...
Click to collapse
Any new guide for do this in MTK?
Thanks.
For L Style Header go HERE
For L Style Header[Advanced] go HERE
For Panel Transparency go HERE
For adding L Style Date/Clock View go HERE
Yo Guys! Today I am here with a simple yet detailed guide to add Battery/WiFi/Bluetooth/Alarm icons in header!
This guide is inspired from THIS guide
Let's begin.
1.Decompile your SystemUI.apk
2.Merge the attached smalis to the respective directory.
3.Navigate to res/layout and open status_bar_expanded_header.xml[MTK] / tw_status_bar_expanded_header.xml[TouchWiz]
Search for this:
Code:
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
Now, copy and paste this lines below it:
Code:
<com.fmd.icons.BluetoothIcon android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.fmd.icons.AlarmIcon android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.fmd.icons.WifiIcon android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.fmd.btn.LBatteryBar android:layout_width="22.0dip" android:layout_height="22.0dip" />
Save the XML.
Recompile the UI.
Decompile the Newly Recompiled UI.
Navigate to res/values/ and open publics.xml
Now go to res/smali/com/fmd/btn and open LBatteryBar$1.smali and search for this:
Code:
0x7f020145
Replace it with the id of (from publics.xml):
Code:
<public type="drawable" name="stat_sys_battery_charge"
Now search for
Code:
0x7f02013c
Replace it with the id of (from publics.xml):
Code:
<public type="drawable" name="stat_sys_battery"
Save the smali.
Recompile the UI.
Sign.
Push to system/app with permissions 644.
DONE.
CREDITS
Sir tentenponce
FMD Devs
Jeff Rivera
Aljhun Mejorada Bumaya
Iann's LNotifPanel
Klark Luis Peralta
Van Freniere
Aniruddha_Pathak [For sharing the Guide]
YOU
Regards,
Aniruddha_Pathak.
HIT THANKS IF YOU LIKE MY WORKS!
I like your work [emoji4]
sent from my G7102 CM12.1 using Tapatalk
salimtn said:
I like your work [emoji4]
sent from my G7102 CM12.1 using Tapatalk
Click to expand...
Click to collapse
Thank you SIr
which id from all this?
pranavraut033 said:
which id from all this?
Click to expand...
Click to collapse
None of those bro. You need to search ids of "stat_sys_battery_charge" and "stat_sys_battery"
yaa got that....
pranavraut033 said:
yaa got that....
Click to expand...
Click to collapse
COOL
Change icon
How can i change the batery icon, i can't see
http ://i.gyazo. com/2e79a73484df3189b53ecce29f5daa07.png
MorSerNa said:
How can i change the batery icon, i can't see
http ://i.gyazo. com/2e79a73484df3189b53ecce29f5daa07.png
Click to expand...
Click to collapse
Go to SystemUI/res/drawable-hdpi folder and
For battery icons replace:
stat_sys_battery_0
stat_sys_battery_15
stat_sys_battery_28
stat_sys_battery_43
stat_sys_battery_57
stat_sys_battery_71
stat_sys_battery_85
stat_sys_battery_100
For charging anim replace:
stat_sys_battery_charge_anim0
stat_sys_battery_charge_anim15
stat_sys_battery_charge_anim28
stat_sys_battery_charge_anim43
stat_sys_battery_charge_anim57
stat_sys_battery_charge_anim71
stat_sys_battery_charge_anim85
stat_sys_battery_charge_anim100
HIT THANKS IF YOU LIKE MY WORKS!
Aniruddha_Pathak said:
Go to SystemUI/res/drawable-hdpi folder and
For battery icons replace:
stat_sys_battery_0
stat_sys_battery_15
stat_sys_battery_28
stat_sys_battery_43
stat_sys_battery_57
stat_sys_battery_71
stat_sys_battery_85
stat_sys_battery_100
For charging anim replace:
stat_sys_battery_charge_anim0
stat_sys_battery_charge_anim15
stat_sys_battery_charge_anim28
stat_sys_battery_charge_anim43
stat_sys_battery_charge_anim57
stat_sys_battery_charge_anim71
stat_sys_battery_charge_anim85
stat_sys_battery_charge_anim100
HIT THANKS IF YOU LIKE MY WORKS!
Click to expand...
Click to collapse
where I the download the news icons?
MorSerNa said:
where I the download the news icons?
Click to expand...
Click to collapse
From HERE sir Do hit thanks if you like my works :fingers-crossed:
Aniruddha_Pathak said:
Go to SystemUI/res/drawable-hdpi folder and
For battery icons replace:
stat_sys_battery_0
stat_sys_battery_15
stat_sys_battery_28
stat_sys_battery_43
stat_sys_battery_57
stat_sys_battery_71
stat_sys_battery_85
stat_sys_battery_100
For charging anim replace:
stat_sys_battery_charge_anim0
stat_sys_battery_charge_anim15
stat_sys_battery_charge_anim28
stat_sys_battery_charge_anim43
stat_sys_battery_charge_anim57
stat_sys_battery_charge_anim71
stat_sys_battery_charge_anim85
stat_sys_battery_charge_anim100
HIT THANKS IF YOU LIKE MY WORKS!
Click to expand...
Click to collapse
Aniruddha_Pathak said:
From HERE sir Do hit thanks if you like my works :fingers-crossed:
Click to expand...
Click to collapse
THAAAAAAAAAAAANKS!
One quiestion more:
How can i put this?
http://gyazo. com/7c93aecc8910b1fd1edad89198dd596f
The margins and the user icon
Thanks for your job!
How I can separate the two icons? :
http://gyazo .com/c91010529bb29d27af451902758ebabf
MorSerNa said:
THAAAAAAAAAAAANKS!
One quiestion more:
How can i put this?
http://gyazo. com/7c93aecc8910b1fd1edad89198dd596f
The margins and the user icon
Thanks for your job!
How I can separate the two icons? :
http://gyazo .com/c91010529bb29d27af451902758ebabf
Click to expand...
Click to collapse
In your header.xml you added this line from guide right?:
Code:
<com.fmd.btn.LBatteryBar android:layout_width="22.0dip" android:layout_height="22.0dip" />
Try one thing, replace both 22.0dip with 20.0dip in the XML and save the xml. Recompile the UI, sign, Push, Done. Hope it helps
And for the floating part, go HERE and HERE
And I will surely come up with a guide for that too
Aniruddha_Pathak said:
In your header.xml you added this line from guide right?:
Code:
<com.fmd.btn.LBatteryBar android:layout_width="22.0dip" android:layout_height="22.0dip" />
Try one thing, replace both 22.0dip with 20.0dip in the XML and save the xml. Recompile the UI, sign, Push, Done. Hope it helps
And for the floating part, go HERE and HERE
And I will surely come up with a guide for that too
Click to expand...
Click to collapse
Thanks other time.
One question more jeje
Can I change the function of the buttons ?
MorSerNa said:
Thanks other time.
One question more jeje
Can I change the function of the buttons ?
Click to expand...
Click to collapse
You need to have the knowledge of android onclick function for that, but unfortunately I don't know how to implement it. So sorry, I can't help. May be Sir @serajr can help you
Nice guide helped much :beer:
Sent from my GT-S7262 using XDA Free mobile app
deniljoseph said:
Nice guide helped much :beer:
Sent from my GT-S7262 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks mate
Hello everybody !
So, it's not a big problem, but i love having a clock with a thin display for the minutes.
But now with 5.1.1 update, my clock has a bold display for the minutes.
What can I do ?
Is it a new change from Sony ?
Thx for reading
-A french boy
Could be a bug or a feature. What i have seen is all 5.1 firmwares has it.
It seems to be affecting everyone - no known fix yet.
I'm guessing it's just a bug, because the Sony Clock widget on the Home screen is still the same.
Any way to get the version from LP 5.0 back? I have root.
Psy87 said:
Any way to get the version from LP 5.0 back? I have root.
Click to expand...
Click to collapse
Decompile SystemUI.apk
Open res/values/styles.xml with Notepad++
Find somc_sony_clock_minute_style and edit :
Code:
<style name="somc_sony_clock_minute_style" parent="@style/SonyClockBaseStyle">
<item name="android:textSize">@dimen/somc_sony_clock_minute_digit_size</item>
<item name="android:maxLines">1</item>
<item name="android:fontFamily">x-sst-ultralight</item>
Then go res/values/dimens.xml
Find sony_clock_hour_digit_bottom_margin and edit :
Code:
<dimen name="sony_clock_hour_digit_bottom_margin">-25.0dip</dimen>
Save both, recompile your SystemUI.apk and push it to your device.
Reboot and enjoy your new clock
could you upload the compiled systemui.apk for Z1 compact android 5.1.1 please?
morbidcreation said:
could you upload the compiled systemui.apk for Z1 compact android 5.1.1 please?
Click to expand...
Click to collapse
If you send me your SystemUI and Framework.jar i can edit it for you.:fingers-crossed:
MelihCaliskan said:
Decompile SystemUI.apk
Open res/values/styles.xml with Notepad++
Find somc_sony_clock_minute_style and edit :
Code:
<style name="somc_sony_clock_minute_style" parent="@style/SonyClockBaseStyle">
<item name="android:textSize">@dimen/somc_sony_clock_minute_digit_size</item>
<item name="android:maxLines">1</item>
<item name="android:fontFamily">x-sst-ultralight</item>
Then go res/values/dimens.xml
Find sony_clock_hour_digit_bottom_margin and edit :
Code:
<dimen name="sony_clock_hour_digit_bottom_margin">-25.0dip</dimen>
Save both, recompile your SystemUI.apk and push it to your device.
Reboot and enjoy your new clock
Click to expand...
Click to collapse
Is there any way to do this trick with Z3 D6653 version? Because there is no /values directory in /res. I just unziped the SystemUI.apk file with WinRAR, is there a proper way to do it?
This clock issue is really annoying.
Can someone make a lightweight Xposed module or a zip to flash in the recovery?
MelihCaliskan said:
If you send me your SystemUI and Framework.jar i can edit it for you.:fingers-crossed:
Click to expand...
Click to collapse
Please help me edit for Xperia Z1 Compact 5.1.1, thank you :fingers-crossed:
Code:
mediafire.com/download/vc8m38s95hp7zc7/Z1C_UI.zip
dani2191 said:
Is there any way to do this trick with Z3 D6653 version? Because there is no /values directory in /res. I just unziped the SystemUI.apk file with WinRAR, is there a proper way to do it?
This clock issue is really annoying.
Click to expand...
Click to collapse
Dont extract it with WinRAR, use APK Tool
trunghaut1 said:
Please help me edit for Xperia Z1 Compact 5.1.1, thank you :fingers-crossed:
Code:
mediafire.com/download/vc8m38s95hp7zc7/Z1C_UI.zip
Click to expand...
Click to collapse
I apologize but I'm on OS X now, i dont know if Apk Tool compatible with OS X or not.
I edited my SystemUI with this tool : http://forum.xda-developers.com/showthread.php?t=2639400
I believe you can do it yourself too :good:
MelihCaliskan said:
Dont extract it with WinRAR, use APK Tool
I apologize but I'm on OS X now, i dont know if Apk Tool compatible with OS X or not.
I edited my SystemUI with this tool : http://forum.xda-developers.com/showthread.php?t=2639400
I believe you can do it yourself too :good:
Click to expand...
Click to collapse
Thank you, I did it
MelihCaliskan said:
Dont extract it with WinRAR, use APK Tool
I apologize but I'm on OS X now, i dont know if Apk Tool compatible with OS X or not.
I edited my SystemUI with this tool : http://forum.xda-developers.com/showthread.php?t=2639400
I believe you can do it yourself too :good:
Click to expand...
Click to collapse
Thanks man, I finally have my clock back!
I just had to use Advanced Apktool updated version (4.1.0 based on Apktool 2.0.2) since the one from the main thread (4.1.0 based on Apktool 2.0.0-RC3) did not work for me.
trunghaut1 said:
Thank you, I did it
Click to expand...
Click to collapse
dani2191 said:
Thanks man, I finally have my clock back!
I just had to use Advanced Apktool updated version (4.1.0 based on Apktool 2.0.2) since the one from the main thread (4.1.0 based on Apktool 2.0.0-RC3) did not work for me.
Click to expand...
Click to collapse
Good to hear this
dani2191 said:
Is there any way to do this trick with Z3 D6653 version? Because there is no /values directory in /res. I just unziped the SystemUI.apk file with WinRAR, is there a proper way to do it?
This clock issue is really annoying.
Click to expand...
Click to collapse
You will have to decompile it, mere unzipping won't work
trunghaut1 said:
Please help me edit for Xperia Z1 Compact 5.1.1, thank you :fingers-crossed:
Code:
mediafire.com/download/vc8m38s95hp7zc7/Z1C_UI.zip
Click to expand...
Click to collapse
I also have 5.1.1 on my D5503, would yours work with mine? If so, could you send it to me, please?
Nayibmc said:
I also have 5.1.1 on my D5503, would yours work with mine? If so, could you send it to me, please?
Click to expand...
Click to collapse
Code:
drive.google.com/file/d/0BxZGyvluE426blFudkpqcFpwRTA/view?usp=docslist_api
This is SystemUI of 14.6.A.1.236. If not work, you can send your SystemUI & framework-res to me. :fingers-crossed:
trunghaut1 said:
This is SystemUI of 14.6.A.1.236. If not work, you can send your SystemUI & framework-res to me. :fingers-crossed:
Click to expand...
Click to collapse
It did work! Thank you so much!
Nayibmc said:
It did work! Thank you so much!
Click to expand...
Click to collapse
:good: :fingers-crossed:
Can this be done to a Z5?