Hi People!
With some help from @renzetti.s that helped me a lot (Huge thank's to him) i finally made this mod!
It simply add a dynamic blur effect on your recents panel
How to install:
-Boot on TWRP (through physical buttons combinations, or via app like Rebooter)
-Install Zip
-Enjoy
If someone want for Stock LP try the zip down below first, if it dont work send to me LGSystemUI and i will make the mod (It should work anyway with every stock LP rom)
Hope you like it
Download:
Here
How to make it for Yourself:
-First, download This
-Then decompile LGSystemUI.apk (I use TMD)
-Go to /res/values/ids.xml and add at the bottom:
Code:
<item type="id" name="backgroundImageView">false</item>
BEFORE "</resources>"
-Recompile LGSystemUI.apk and decompile it again
-Go to /res/layout/recents.xml and AFTER the end of
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
paste this:
Code:
<com.acer.incallui.BlurImageView android:id="@id/backgroundImageView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" />
so the file will be like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="@drawable/recents_app_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.acer.incallui.BlurImageView android:id="@id/backgroundImageView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" />
<com.android.systemui.recents.views.RecentsView android:id="@id/recents_view" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ViewStub android:id="@id/empty_view_stub" android:layout="@layout/no_recents" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ViewStub android:id="@id/debug_overlay_stub" android:layout="@layout/recents_debug_overlay" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<include layout="@layout/command_and_shortcut" />
</FrameLayout>
-Open the zip that you downloaded at the start, and extract the folder inside
-Copy the COMPLETE folder to LGSystemUI.apk/smali/com
-Recompile
-DONE!
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"
}
Special Thank's:
@glfsd for his installer package
@renzetti.s for being the best modder, helped me a lot!
@Cloudyfa for his Amazing rom as base
sys01 said:
Hi People!
With some help from @renzetti.s that helped me a lot (Huge thank's to him) i finally made this mod!
It simply add a dynamic blur effect on your recents panel
How to install:
-Boot on TWRP (through physical buttons combinations, or via app like Rebooter)
-Install Zip
-Enjoy
If someone want for Stock LP try the zip down below first, if it dont work send to me LGSystemUI and i will make the mod (It should work anyway with every stock LP rom)
Hope you like it
Download:
Here
Special Thank's:
@glfsd for his installer package
@renzetti.s for being the best modder, helped me a lot!
@Cloudyfa for his Amazing rom as base
Click to expand...
Click to collapse
OK, go ahead!
Great news man. Well done.
I sent you a pm.
Enviado desde mi LG-D802 mediante Tapatalk
Doesnt work on IceX ROM... Doesn't flash.
4r44444 said:
Doesnt work on IceX ROM... Doesn't flash.
Click to expand...
Click to collapse
Hi.
Which recovery do you use?
Usualy if it is not compatible with a Rom, it will FC, but if you have a working recovery, you can flash without any problem.
Sent from my LG-D802 using Tapatalk
@4r44444 i tried it on stock lp and cloudy g3.3 and it works perfectly
If you send me your lg systemui i can reply the mod, and post here the link for your specific rom
screenshoot? why without screenshoot?
@glfsd i thought i added on attached files, well ,when im at home i will put in main thread
I use newest TWRP from blastagator, other things work to flash only this .zip ---Flashing--> after 1 sec recovery reboot. I use IceX Rom http://forum.xda-developers.com/lg-g2/development/rom-icex-rom-t3271099
When I have more time I will try to extract and send
Screenshot added in OP
@4r44444 it seems like a .zip problem
try to re-download it
because if the package is damage or corrupted twrp should show some error messages
Already did, still same problem. All other Zips work without problems.
renzo090513 said:
Great news man. Well done.
I sent you a pm.
Enviado desde mi LG-D802 mediante Tapatalk
Click to expand...
Click to collapse
So sys01 win in your challenge... Now you have to post some other mod...
---------- Post added at 12:33 AM ---------- Previous post was at 12:32 AM ----------
sys01 said:
@4r44444 it seems like a .zip problem
try to re-download it
because if the package is damage or corrupted twrp should show some error messages
Click to expand...
Click to collapse
Put md5 of zip files...
6A002130D0BE99762CB8450E651AD065
^ Md5 of the zip
i ll try to make some nice mods
Can you make a guide like Renzetti.s did for blur on notification expanded, so I can add it to my setup?
Thank you.
@shomy_037
Updated OP with a guide to make it for yourself! Enjoy
When i use the "how to make it by yourself" method it means that i dont lose other mods like statusbar and notification drawer color ???
You will not lose anything
great work @sys01 . Work fine on g3
@jac10000
Related
Just want to share a Mod I did on the CM10 status bar when pulled down. By default, when the notification drawer is pulled down, the status bar is hidden. I didn't like it, so I tweaked the layout to make it look like CM9 and before. Also I noticed that the 'Clear All' button gets pushed out due to the large font of the time and also due to the settings button. So I removed the settings button from the layout (I never use it anyways) I made the Top section a horizontal scroll view. And this is how it looks like...
{
"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"
}
If you're curious how I did this, following are the steps(for v1):
1. Decompile the SystemUI.apk.
2. Goto res/layout/super_status_bar.xml
3. In that find :
Code:
<include android:layout_width="fill_parent" android:layout_height="0.0dip" layout="@layout/status_bar_expanded"/>
Modify it to:
Code:
<include android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_marginTop="@android:dimen/status_bar_height" layout="@layout/status_bar_expanded"/>
4. Then go to layout/status_bar_expanded.xml and find
Code:
<TextView android:id="@id/carrier_label" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:layout_gravity="bottom" android:gravity="center" android:visibility="invisible"/>
Modify it to
Code:
<TextView android:id="@id/carrier_label" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:layout_gravity="bottom" android:layout_marginBottom="57dip" android:gravity="center" android:visibility="invisible"/>
This dip value maybe different for different devices. It's necessary because your close handle and carrier label will be shifted below due to the first mod. So it's a trial error.
5. Next in the same file find...
Code:
<com.android.systemui.statusbar.phone.CloseDragHandle android:id="@id/close"....
Add this property to it...
Code:
android:layout_marginBottom="@android:dimen/status_bar_height" android:paddingBottom="-10dip"
marginBottom dimen is fixed but padding bottom depends on your device.
6. To remove settings button, find the following in layout/status_bar_expanded_header.xml:
Code:
<ImageView android:layout_width="48.0dip" android:layout_height="48.0dip" android:id="@id/settings_button" android:contentDescription="@string/accessibility_settings_button" android:scaleType="center" android:src="@drawable/ic_notify_quicksettings"/>
Modify it to
Code:
<ImageView android:layout_width="48.0dip" android:layout_height="48.0dip" android:id="@id/settings_button" android:contentDescription="@string/accessibility_settings_button" android:scaleType="center" android:visibility="gone" android:src="@drawable/ic_notify_quicksettings"/>
7. To change Notification Drawer Bg color, follow this thread.
8. Thats it. Recompile and enjoy.
Click to expand...
Click to collapse
v2
Tweaked for CM10 A2
Instead of removing the settings shortcut, made the header a Horizontal ScrollView, i.e., Now you can scroll the top section(with the clock) to reveal the Clear All icon.
Lowered the Transparency of background.
v1
Status Bar always seen.
Settings shortcut in notification drawer removed.
Drawer background changed.
Instructions:
1. Download zip from the attachment.
2. Rename to SystemUI.apk
3. Place it in a system folder and change permissions to rw-r-r.
4. Replace it in /data/sys-parts/app/ (that's where our system apps are).
5. Reboot.
Note: Change permissions before replacing the apk because SystemUI starts force closing after replacement. Don't worry about the force closes. After reboot everything will be ok.
Also if anyone makes a flashable zip, plz post it. I'll add it in the OP.
Thanx.
Works perfect. Persistent status bar.
Sent from my GT-I9003 using xda premium
@ ammar
Superb buddy...
Thx :thumbup:
Sent from my GT-I9003 using xda app-developers app
@Ammar786 .. what tool did you use to decompile and recompile systemui.apk ? Any link to a guide or tutorial?
Hetalk said:
@Ammar786 .. what tool did you use to decompile and recompile systemui.apk ? Any link to a guide or tutorial?
Click to expand...
Click to collapse
I use Tickle My Android. Check it out.
THanks man ... but am done for the day ...
See if you're interested in modding statusbar per tutorial http://forum.xda-developers.com/showthread.php?t=1835833&highlight=cm10
Hetalk said:
THanks man ... but am done for the day ...
See if you're interested in modding statusbar per tutorial http://forum.xda-developers.com/showthread.php?t=1835833&highlight=cm10
Click to expand...
Click to collapse
Hmmm.. Seems easy... May do it later... Currently I'm doing something else. If I get time i'll do it.
Hetalk said:
THanks man ... but am done for the day ...
See if you're interested in modding statusbar per tutorial http://forum.xda-developers.com/showthread.php?t=1835833&highlight=cm10
Click to expand...
Click to collapse
Thank you, i was looking for something like that! :good:
Is there any way to make the background a little transparent?
dj_stikes said:
Is there any way to make the background a little transparent?
Click to expand...
Click to collapse
Yeah there is. I'll post it here asap.
Guys... Want to ask something... Do you want fully transparent bg or semi-transparent?
^^ Blueish transparent
Hetalk said:
^^ Blueish transparent
Click to expand...
Click to collapse
Bluish transparent?... Let's see how it looks... Will reply back with some screenshots...
So this is how it'll look like with Blue...
^^ perfect ... gimme gimme
I hope it wont break the other tweaks you made.
Hetalk said:
^^ perfect ... gimme gimme
I hope it wont break the other tweaks you made.
Click to expand...
Click to collapse
Nope it won't, wait I'm fixing the Carrier Label Text Color.
Ok... Here it is... Attached... Will update the OP too...
^^ Amazing work man ... too good ... see screenshots. This is exactly what I wanted.
Haven't test it because i am in remics jb that already have tweaked statusbar but it look great.Anyway thanks:thumbup:
Sent from my GT-I9003 using xda premium
UNTESTED
so ink lockscreen comes pre configured in the sgs4, but all it needs is a place in the settings so..
all we have to do is
Decompile SecSettings.apk
Go to \res\xml folder and open lockscreen_settings.xml
Search for "CheckBoxPreference android:title="@string/ripple_effect"
then right below it replace the current inkeffect configuration cmds with these
Code:
<PreferenceScreen android:title="@string/ink_effect" android:key="ink_effect">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.InkeffectPreview" />
</PreferenceScreen>
then save it and Compile *if you can*
the only problem is that most of these SGS4 4.2.2 apks are to hard to decompile and compile so i havent tested this yet, so if anyone is able to
succeed in testing this. please give back feedback for testing :highfive: :highfive: :good: :good:
@cabloomi Doesnt work. I tested both by selecting the rippleeffect and also light effect! i modifed the same at line 25
<PreferenceScreen android:title="@string/ink_effect" android:key="ink_effect">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.InkeffectPreview" />
</PreferenceScreen>
I will have a look further in the smali files!
@grgsiocl , how are you able to decompile and compile it. i have many mods in mind that include the SecSettings.apk
but it wont go back and compile even if i dont touch or change anything. please zip your work space and send it to me. lol like the apktool and the framwork base's 1 and 2.
and i think it might be CSC activated like we figured out recently that the call recorder mod is also
cabloomi said:
@grgsiocl , how are you able to decompile and compile it. i have many mods in mind that include the SecSettings.apk
but it wont go back and compile even if i dont touch or change anything. please zip your work space and send it to me. lol like the apktool and the framwork base's 1 and 2.
and i think it might be CSC activated like we figured out recently that the call recorder mod is also
Click to expand...
Click to collapse
i can easily do it as i am using the newsest version apktool. I also pushed framewrok-res.apk, twframework-res.apk and ssytemui. I will upload the apktool for you in a minute!
Edit uploaded the tool here! Just push the corresponding frameworks after extracting the zip and you are good to go! I am also using the backsmali /smali versio 2.0 , that also will upload it!
i made centerclock for the s4, want it @grgsiocl
maybe you can make a black transparent bar
and thank you for the apktool. it worked perfectly
If you already done it, then share please. I always love to have missing features in phone
Sent from my GT-I9500 using Tapatalk 2
grgsiocl said:
If you already done it, then share please. I always love to have missing features in phone
Sent from my GT-I9500 using Tapatalk 2
Click to expand...
Click to collapse
the clock wont roll out the way for a notification. so.. help me. this is what i did to get it center
decompile SystemUI.apk
Navigate to res/layout/status_bar.xml
Look for a line that starts with
Code:
<com.android.systemui.statusbar.policy.Clock
and i deleted it.
then added these lines
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
under this line
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
then i changed the clock from blue to white
from this line
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@*android:color/holo_blue_light</item>
</style>
I change the
<item name="android:textColor">@*android:color/holo_blue_light</item>
to <item name="android:textColor">#ffffffff</item>
so now its center, but it wont roll out the way for a notification
any ideas @grgsiocl
never mind. got it working, but its kinda glitchy
Cabloomi,
If you did not code this, please provide a link and credit to the "original" author.
Thanks
Sent from my GT-I9500 using xda premium
and what do i do if i did code it??
nothing right. ?
cabloomi said:
and what do i do if i did code it??
nothing right. ?
Click to expand...
Click to collapse
There is lots of info on the net for this mod...... and been for a long time.
I was just asking, not accusing you, because you would have wasted your time otherwise
Sent from my GT-I9500 using xda premium
UpInTheAir said:
There is lots of info on the net for this mod...... and been for a long time.
I was just asking, not accusing you, because you would have wasted your time otherwise
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Remember this from last year
{
"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"
}
lol. i still have that message in my inbox
cabloomi said:
Remember this from last year
lol. i still have that message in my inbox
Click to expand...
Click to collapse
Yeah, do remember and still stick by it mate.
I am not criticizing you. I still encourage you to keep at it, but please try and provide links and credits to any "original" work you may have borrowed to edit. That's all.
Cheers,
UITA
BTW off topic .... Noticed you have a ROM out. Nice work. You'll notice on my signature I've been cooking also for the P6810 & P6800. More to do soon as JB just released
Sent from my GT-I9500 using xda premium
{
"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"
}
hello guys, now i'm presenting you how to make your stock power dialog look a like power dialog on CM. it's easy
ok lets go
What i need?
1. tools for decompile/compile apk and jar files
2. the resource-file.zip
3. patient
How to?
A. FRAMEWORK-RES.APK
1. decompile your framework-res.apk
2. open your strings.xml then add this code below
Code:
<string name="power_dialog_header" />
<string name="power_dialog_airplane" />
<string name="power_dialog_airplane_2" />
<string name="power_dialog_network" />
<string name="power_dialog_network_2" />
3. compile your framework-res.apk then decompile again
4. open public.xml then search a new public code from code above like this
Code:
<public type="string" name="power_dialog_header" id="0x0104074f" />
<public type="string" name="power_dialog_airplane" id="0x01040750" />
<public type="string" name="power_dialog_airplane_2" id="0x01040751" />
<public type="string" name="power_dialog_network" id="0x01040752" />
<public type="string" name="power_dialog_network_2" id="0x01040753" />
5. now, open the file resource that we download earlier
6. merge/compare with yours
7. compile your framework-res.apk again
8. and then we done with framework-res.apk
B. ANDROID.POLICY.JAR
1. decompile your android.policy.jar
2. open GlobalAction.smali
3. now find this code .method private prepareDialog()Z
4. then a few line below it, you'll see a code 0xXXXXXXX (it from framework-res.apk/res/values/public-><public type="string" name="global_actions")
5. replace the code with code from <public type="string" name="power_dialog_header"
6. then, search code id public from
Code:
<string name="global_actions_airplane_mode_on_status">Flight mode is ON</string>
<string name="global_actions_airplane_mode_off_status">Flight mode is OFF</string>
<string name="global_action_data_mode_on_status">Data network mode activated</string>
<string name="global_action_data_mode_off_status">Data network mode deactivated</string>
and replace the code with code from (do a same things like step 4-5)
Code:
<string name="power_dialog_airplane" />
<string name="power_dialog_airplane_2" />
<string name="power_dialog_network" />
<string name="power_dialog_network_2" />
7. then, after it save your globalaction.smali
8. recompile your android.policy.jar
9. flash your framework-res.apk and android.policy.jar
NB:
1. do with your own risk
2. do backup first
3. if you get a errors, please report with a logcat
4. if you want to get a interface like aosp interface, go here -> http://forum.xda-developers.com/showthread.php?t=2685748
Can you attach the screen shot???
crazy_user said:
Can you attach the screen shot???
Click to expand...
Click to collapse
you can't see the screenshot above?
Sent from my Google Nexus 5 using Tapatalk
ocoot said:
you can't see the screenshot above?
Sent from my Google Nexus 5 using Tapatalk
Click to expand...
Click to collapse
sorry, my connection is bad but, thanks for this guide
anyone already try it? :|
Sent from my Google Nexus 5 using Tapatalk
up
Sent from my Google Nexus 5 using Tapatalk
I don't understand with step 6..
Sent from my GT-B5330 using xda premium
Awesome...!!
nice master ocoot :good: maybe sometimes i can try it :laugh:
Good Job
man i try your method and its work perfectly but if doesnt look like your screenshot heres mine, could you tell me how can i repositioned the words and how can eliminate the vertical dividers ?
Javho said:
man i try your method and its work perfectly but if doesnt look like your screenshot heres mine, could you tell me how can i repositioned the words and how can eliminate the vertical dividers ?
Click to expand...
Click to collapse
thx for trying. i'll tell you to night if am on computer
Sent from my Google Nexus 5 using Tapatalk
Hey mate, can you please help me remove "Device Options" from my Power menu?
Sami Kabir said:
Hey mate, can you please help me remove "Device Options" from my Power menu?
Click to expand...
Click to collapse
just follow all step on framework and step 1-5 on android.policy.jar
Javho said:
man i try your method and its work perfectly but if doesnt look like your screenshot heres mine, could you tell me how can i repositioned the words and how can eliminate the vertical dividers ?
Click to expand...
Click to collapse
what rom u use? hdpi?
ocoot said:
what rom u use? hdpi?
Click to expand...
Click to collapse
stock jb 4.1.2 Galaxy s advance hdpi
Enviado desde mi GT-I9070 mediante Tapatalk
Javho said:
stock jb 4.1.2 Galaxy s advance hdpi
Enviado desde mi GT-I9070 mediante Tapatalk
Click to expand...
Click to collapse
just put/compare my file to hdpi folder
Sent from my Google Nexus 5 using Tapatalk
Good guide..
Going to try it
Thanks.
Sony divided notification and quick settings in 4.4, but it's not easy to use quick settings with one finger now.
I managed to show quick settings in notification tab!
{
"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"
}
[EDIT]
SystemUI Patcher can do same thing!
https://play.google.com/store/apps/details?id=com.wedy.systemuimod
http://repo.xposed.info/module/com.wedy.systemuimod
1. Decompile SystemUI.apk
2. Open SystemUI.apk\res\layout\somc_tabs_status_bar_expanded.xml, then edit
Code:
<com.sonymobile.systemui.statusbar.tools.ToolsTabWidget android:orientation="horizontal" android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" />
to
Code:
<com.sonymobile.systemui.statusbar.tools.ToolsTabWidget android:orientation="horizontal" android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="0.0dip" />
This will hide tabs.
3. Open SystemUI.apk\res\layout\somc_quick_settings_tab.xml and copy LinearLayout
For example (.681),
Code:
<LinearLayout android:orientation="vertical" android:id="@id/tools_rows" android:layout_width="fill_parent" android:layout_height="wrap_content" />
4. Open SystemUI.apk\res\layout\somc_notifications_tab.xml and paste "3."'s LinearLayout above
Code:
<include layout="@layout/status_bar_expanded_stylus_actions" />
For example (.681),
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/notifications_tab" android:layout_width="fill_parent" android:layout_height="wrap_content" android:animateLayoutChanges="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="vertical" android:id="@id/tools_rows" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<include layout="@layout/status_bar_expanded_stylus_actions" />
5. Now quick settings should be shown on notification tab, but tiles are too big.
To make them smaller, open SystemUI.apk\res\values\dimens.xml and edit
Code:
<dimen name="notification_panel_tools_row_height">100.0dip</dimen>
to 50.0dip or something you like.
Attached image is 50.0dip
[optional]
If you want to change items per row,
open SystemUI.apk\res\values\integers.xml and edit
Code:
<integer name="config_maxToolItemsInARow">4</integer>
6. Save all and compile.
7. Install SystemUI.apk with adb or recovery, Done!
Modded SystemUI.apk for Z1 .681 deodexed can be downloaded from here (Xperia logo home ver.) (flashable)
Note this apk will not work on custom rom.
I added quick settings tile setting to SystemUI Patcher.
http://repo.xposed.info/module/com.wedy.systemuimod
I have no knowledge to integrate list preference, so tiles per low is fixed to 6 at the moment:crying:
thanks man ! Cool
Hello
Is that i just need to install systemui apk only?
Or did i need todo as from the first step?
nikFarhan96 said:
Is that i just need to install systemui apk only?
Or did i need todo as from the first step?
Click to expand...
Click to collapse
If you are using stock deodexed rom (not custom rom such as RomAur), you just need to install SystemUI.apk.
can i reset back??
avveMeetU said:
can i reset back??
Click to expand...
Click to collapse
I think, if you make a buckup from your system.ui.apk, then yes
RyokoN said:
If you are using stock deodexed rom (not custom rom such as RomAur), you just need to install SystemUI.apk.
Click to expand...
Click to collapse
Yes,i will flash to NUT fw 4.4 and deodexed patched.
So just need to install lke normal apk.is there any problem if i remove this SystemUI.apk into system?
nikFarhan96 said:
Yes,i will flash to NUT fw 4.4 and deodexed patched.
So just need to install lke normal apk.is there any problem if i remove this SystemUI.apk into system?
Click to expand...
Click to collapse
Install via recovery(use XZDR 2.7.99) is recommended.
If you want to revert, you have to overwrite SystemUI.apk with non-modded one, in this case NUT's SystemUI.apk
Any chance do it for cm based rom?
Sent from my Xperia Z1 using XDA Premium 4 mobile app
awsome
i love it
quick question will this work on z ultra??
RyokoN said:
Install via recovery(use XZDR 2.7.99) is recommended.
If you want to revert, you have to overwrite SystemUI.apk with non-modded one, in this case NUT's SystemUI.apk
Click to expand...
Click to collapse
Orait,i understand that.thanks for fast response.
Will give a feedback later.
Confirm,working good on NUT kit kat deodexed patch by krabappel.
Thanks,can i suggesting something?
I think it would be better if u can do another version with stock icon.
I mean those "xperia" on home button.it would be nice if the stick home nav bar on there.
Btw,thanks to you @RyokoN
thanks man
I can't find systemui in system apps has kit kat renamed system ui.
Using nuts rom 4.4 deodexed
Sent from my C6903 using Tapatalk
nikFarhan96 said:
Confirm,working good on NUT kit kat deodexed patch by krabappel.
Thanks,can i suggesting something?
I think it would be better if u can do another version with stock icon.
I mean those "xperia" on home button.it would be nice if the stick home nav bar on there.
Btw,thanks to you @RyokoN
Click to expand...
Click to collapse
Sorry, I forgot to revert it...
I added stock home icon version.
https://mega.co.nz/#!W5gCXIrY!L4JbBi5EPYyyc23NnnmoZghveRRJAm9p3rt88PYmy2Q
RyokoN said:
Sorry, I forgot to revert it...
I added stock home icon version.
https://mega.co.nz/#!W5gCXIrY!L4JbBi5EPYyyc23NnnmoZghveRRJAm9p3rt88PYmy2Q
Click to expand...
Click to collapse
No need to say sorry bro.
As u do a great job here.
I should say a big thanks to you! U are awesime.
Thanks
adamo86 said:
I can't find systemui in system apps
Click to expand...
Click to collapse
It's in system/priv-app
Works perfectly, thanks.
Works great on Criskelo KitKat !!!
Many thanks !!
From my Xperia Z1 tuned with XZDR / CrisKelo ROM & a F****** LB
Nice work. Thank you
For you today a detalied tutorial x adding stock battery percentage over the stock kitkat battery:
{
"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"
}
First, you have to know how to push files and decompile apk, or even create a flashable x it. Tutorial is for advanced users, developers and themers
This thread is not intended to provide zips, due to various roms around, so a wrong flashable will maybe lead to a fc or loosing some mods, or better if someone will do it, i will add it on first post (if comfirmed working).... credits given
let's start with it:
U need SystemUI.apk of course, decompile it.
1. go to \res\values\arrays.xml
<array name="batterymeter_color_values">
<item>#ffff3300</item>
<item>#ffffffff</item>
<item>#ffffffff</item>
</array>
<integer-array name="batterymeter_bolt_points">
<item>130</item>
<item>-146</item>
<item>392</item>
<item>-146</item>
<item>201</item>
<item>259</item>
<item>442</item>
<item>259</item>
<item>10</item>
<item>783</item>
<item>157</item>
<item>334</item>
<item>0</item>
<item>334</item>
</integer-array>
Click to expand...
Click to collapse
here you can set colors of battery for various levels, i leaved red when less then 5%, and white for others.
Battery meter bolt pints builds the thunder when charging, so i made it bigger, copy all like above
2. go then to \res\values\colors.xml
<color name="batterymeter_frame_color">#ff999999</color>
<color name="batterymeter_charge_color">#ffffffff</color>
<color name="batterymeter_bolt_color">#f21eff00</color>
Click to expand...
Click to collapse
change above values as your likings, frame color is the grayed frame of the battery i have setted solid light grey insted of a semi trasparent stock, charge color tells you enough, no explanation needed
Bolt color is thunder color when charging, i putted a 95% trasparent green(u can put whatever color you like)
3. now focus on \res\values\dimens.xml
<dimen name="status_bar_battery_text_size">11.0dip</dimen>
<dimen name="battery_icon_width">11.66dip</dimen>
<dimen name="battery_icon_height">17.33dip</dimen>
<dimen name="battery_icon_bottom_margin">0.33000004dip</dimen>
<dimen name="status_bar_battery_text_marginStart">0.0dip</dimen>
Click to expand...
Click to collapse
first value it is text dimension, ignore it as i mod it in last step
second and third value is for battery dimension, i make it bigger as x screen to fit my bigger signal icon, u can do as x your needings
ignore fourth value(just copy paste it)
set last value to 0.0 as above
4. now open \res\values\strings.xml and find the string
<string name="status_bar_settings_battery_meter_format">%d</string>
Click to expand...
Click to collapse
modify is as above as it will remove percentage from battery text
5. last point go to \res\layout\status_bar.xml
<LinearLayout android:gravity="center" android: orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android: paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="3.0dip" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/status_bar_battery_text_size" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" android:importantForAccessibility="no" android:fontFamily="sans-serif" android:layout_marginStart="@dimen/status_bar_battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/battery_icon_width" android:layout_height="@dimen/battery_icon_height" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:layout_marginStart="3.0dip" />
</LinearLayout>
Click to expand...
Click to collapse
and paste this:
<LinearLayout android:gravity="center" android: orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android: paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="3.0dip" layout="@layout/signal_cluster_view" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/battery_icon_width" android:layout_height="@dimen/battery_icon_height" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:layout_marginStart="3.0dip" />
<TextView android:textSize="10.33dip" android:textStyle="bold" android:textColor="#ff000000" android:layout_marginStart="-12.0dip" android: paddingTop="1.0dip" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" android:importantForAccessibility="no" android:fontFamily="sans-serif" />
</LinearLayout>
Click to expand...
Click to collapse
in the textview content u can modify regarding your needings, text size,color, font and format.
Be Aware, for emoji reasons(otherwise above u will see emoji instead of code) remove the space in pasted text from :
android: orientation
android: paddingStart
android: paddingTop
Recompile it and it is done
Mod will work even u have applied imaged battery mod, so you can just add your preferred image battery
hope you enjoy.
Feel free to use this tutorial, it will work on other devices too , just some position corrections needed.
I will just ask credits, thanks.
mine
_alex74_ said:
mine
Click to expand...
Click to collapse
this work on i9500 right?
ice.modding said:
this work on i9500 right?
Click to expand...
Click to collapse
it will work on every device, the code is nearly the same even on my LG L9 II
@_alex74_ can u make it as a flashable zip .. I tried on my systemui.apk I got failed ..
& this my SystemUI.apk
https://mega.co.nz/#!lUogWJyQ!V2eM53FuGqEWF8mIzEJvk3B0xP70o0v1VXhh9sxHo20
Sent from my SM-G900F using Tapatalk
thereassaad said:
@_alex74_ can u make it as a flashable zip .. I tried on my systemui.apk I got failed ..
& this my SystemUI.apk
https://mega.co.nz/#!lUogWJyQ!V2eM53FuGqEWF8mIzEJvk3B0xP70o0v1VXhh9sxHo20
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
sure lemme do it
Which rom u use?
_alex74_ said:
sure lemme do it
Which rom u use?
Click to expand...
Click to collapse
DN3 V5.2 N2
Sent from my SM-G900F using Tapatalk
thereassaad said:
DN3 V5.2 N2
Click to expand...
Click to collapse
S5 Rom?
uploading x you few zips. send links via PM as up.
report here if works as i will add on thread then(If S5 rom will open thread there )
_alex74_ said:
S5 Rom?
uploading x you few zips. send links via PM as up.
report here if works as i will add on thread then(If S5 rom will open thread there )
Click to expand...
Click to collapse
Bro N2 Custom Rom everything from S5 rom & okay send me pm & will report here & im wait
Sent from my SM-G900F using Tapatalk
---------- Post added at 01:40 PM ---------- Previous post was at 01:12 PM ----------
Bro its working VR but when I put my on charging I got thats like on
& thats working
Sent from my SM-G900F using Tapatalk
---------- Post added at 01:47 PM ---------- Previous post was at 01:40 PM ----------
& this u edit mine one but the number of percentage its very big & same issues when charging
Sent from my SM-G900F using Tapatalk
thereassaad said:
Bro its working VR but when I put my on charging I got thats like on
Click to expand...
Click to collapse
yep i know this, i will work on it trying to add animation when charging
thereassaad said:
this u edit mine one but the number of percentage its very big
Click to expand...
Click to collapse
yep i'm aware even of this, will solve it easily i think.
btw during all normal live(from 99 to 1 percent is working), so small issue under work
this is how i fixed it... in fact u can choose whatever color u will want for bolt when battery charging.
_alex74_ said:
this is how i fixed it... in fact u can choose whatever color u will want for bolt when battery charging.
Click to expand...
Click to collapse
Bro this my screen
Sent from my SM-G900F using Tapatalk
Updated post with charging fix.
about not centered 100 percent number in battery has to think about it, as it is dinamix text and layouted from right not from center.
So small bug as u will kepp 100% just for a while
will try to fix in these days
B&W KK444 theme !!
_alex74_ said:
Updated post with charging fix.
about not centered 100 percent number in battery has to think about it, as it is dinamix text and layouted from right not from center.
So small bug as u will kepp 100% just for a while
will try to fix in these days
Click to expand...
Click to collapse
Look _alex74_ the picture of you new KK444 theme ..can you fix the problem ( pop-up display )...
Work fine thanks