[GUIDE][JB][4.1.2][TW] CM power dialog on JB TW - Samsung Galaxy Young S6310

{
"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.

Related

Themers. and Devs, Enable ink lockscreen in the sgs4. preconfigured

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

[GUIDE] duplicate activity at settings.apk

hi guys I'll give you a way to create a apk like the creed parts.apk without creating file apk like on screenies:
{
"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"
}
File Required:
1. Settings.apk
2. Tools to compile/decompile
3. Brain
Tuts:
1. decompile then compile again your settings.apk to check if there is an error or not
2. after it, decompile again
3. go to folder \smali\com\android\settings
4. copy 2 file smali TestingSettings.smali, TestingSettingsBroadcastReceiver.smali
5. just copy it there will appear -copy.smali
6. then rename. for example: Octo1.smali, Octo2.smali
7. open octo1.smali, find and replace com/android/settings/TestingSettings to com/android/settings/Octo1
8. find TestingSettings.java, replace to Octo1.java
9. open Octo2.smali, find and replace com/android/settings/TestingSettingsBroadcastReceiver to com/android/settings/Octo2
10. find and replace com/android/settings/TestingSettings to com/android/settings/Octo1 then find TestingSettingsBroadcastReceiver.java rename to Octo2.java. save
11. open res/xml
12. copy and paste Testing_Settings.xml and there will appear -copy.xml
13. rename to octo1.xml
14. delete all on octo1.xml and then write this. for example i use DSP Manager
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/tittle"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.IconPreferenceScreen android:title="DSPManager" android:summary="Setting Sound Equalizer" settings:icon="@drawable/ic_settings_dsp">
<intent android:targetPackage="com.bel.android.dspmanager" android:action="android.intent.action.MAIN" android:targetClass="com.bel.android.dspmanager.activity.DSPManager" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
Click to expand...
Click to collapse
15. then save
16. open public.xml
17. enter the name of the new xml that we make to the public. +1 of the largest on the xml id. for example
<public type="xml" name="tab_settings" id="0x7f04003c" />
<public type="xml" name="octo1" id="0x7f04003d" />
Click to expand...
Click to collapse
18. the new id of octo1 copy to octo1.smali
19. then, open androidmanifest. find "TestingSettings"
20. copy this 2 parts:
<activity android:label="@string/tittle" android:name="TestingSettings">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name="TestingSettingsBroadcastReceiver">
<intent-filter>
<action android:name="android.provider.Telephony.SECRET_CODE" />
<data android:scheme="android_secret_code" android:host="4636" />
</intent-filter>
</receiver>
Click to expand...
Click to collapse
21. TestingSettings rename to Octo1, TestingSettingsBroadcastReceiver rename to Octo2, android:host="4636" rename to android:host="666"
22. final step, open settings.xml. paste this everywhere you want
<com.android.settings.IconPreferenceScreen android:title="@string/tittle" settings:icon="@drawable/ic_settings_octo">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.IllegalSettings" />
</com.android.settings.IconPreferenceScreen>
Click to expand...
Click to collapse
23. android:targetClass="com.android.settings.IllegalSettings" replace to android:targetClass="com.android.settings.Octo1"
24. compile. make sure you don't get error
25. sign-in settings
26. flash
sorry if my english is bad. thanks
fully credit to Rata Bila Bagi
Gonna try this! Reserved!
Can i make 3 tabs using duplicating the octo1 again?
TheDemiGod said:
Gonna try this! Reserved!
Click to expand...
Click to collapse
good luck bro
3r41nl33n said:
Can i make 3 tabs using duplicating the octo1 again?
Click to expand...
Click to collapse
no. this tuts just to create a apk like creedparts without make apk. please see screenshot
ocoot said:
no. this tuts just to create a apk like creedparts without make apk. please see screenshot
Click to expand...
Click to collapse
Oh sorry. I thought it was. Because in the screenies at the left has a two tabs.
3r41nl33n said:
Oh sorry. I thought it was. Because in the screenies at the left has a two tabs.
Click to expand...
Click to collapse
no problem
up
ocoot said:
up
Click to expand...
Click to collapse
Hi, I found 2 com/android/settings/TestingSettings, are they both of them need to replace?
please follow the tuts
Awesome sir ocoot:thumbup:
22. final step, open settings.xml. paste this everywhere you want
23.android:targetClass="com.android.settings.IllegalSettings" replace to android:targetClass="com.android.settings.Octo1"
24. compile. make sure you don't get error
25. sign-in settings
26. flash
Im stuck at step 22.... I would like ask regarding the step 22..
I have not found any file with a filename settings.xml. Does it mean any of example xxxxx_settings.xml files i can paste your code? Please help.
Sent from my LT18i using xda premium
Not Working I am Getting Problem in apktool
shadman0 said:
Not Working I am Getting Problem in apktool
Click to expand...
Click to collapse
try using apk multitool
Pls update the SS
the_vanya1 said:
Pls update the SS
Click to expand...
Click to collapse
This guide is actually similar like this one http://forum.xda-developers.com/showthread.php?t=2166315 from @Didact74

[GUIDE] [HOW TO] Make white settings on stock xperia JB [03.07.2014]

{
"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"
}
Oke guys, I want to share how to make white setting on stock jb and first of all need some requirement for this MOD-GUIDE
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
Ok lets to Guide
Step One
Decompile settings.apk
Download THIS and extract then copy-paste all item on res/drawable-hdpi/
go to : res/value/style.xml and find this code :
Code:
<style name="Theme.Holo" parent="@*android:style/Theme.DeviceDefault " />
<style name="Theme.Holo.NoActionBar" parent="@*android:style/Theme.DeviceDefault.NoActionBar" />
<style name="Theme.Holo.NoActionBar.Black" parent="@*android:style/Theme.Holo.NoActionBar">
Change like this see red code :
Code:
<style name="Theme.Holo" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light[/COLOR]" />
<style name="Theme.Holo.NoActionBar" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.NoActionBar[/COLOR]" />
<style name="Theme.Holo.NoActionBar.Black" parent="[COLOR="Red"]@*android:style/Theme.Holo.Light.NoActionBar[/COLOR]">
Find this code :
Code:
<style name="Theme.Holo.Dialog" parent="@*android:style/Theme.DeviceDefault.Dialog" />
<style name="Theme.Holo.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.DialogWhenLarge" />
<style name="Theme.Holo.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert">
Change like this see red code :
Code:
<style name="Theme.Holo.Dialog" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.Dialog[/COLOR]" />
<style name="Theme.Holo.DialogWhenLarge" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge[/COLOR]" />
<style name="Theme.Holo.Dialog.Alert" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.Dialog.Alert[/COLOR]">
Now recompile and sign apk, step one done !
Step Two
Decompile SomcPhone.apk
go to : res/value/style.xml and find this code :
Code:
<style name="Theme.Settings" parent="@*android:style/Theme.DeviceDefault ">
Change like this see red code :
Code:
<style name="Theme.Settings" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light[/COLOR]">
Now recompile and sign apk
Note : if you get error on recompile SomcPhone, please delete this folder on SomcPhone.apk
Code:
values-mcc454-mnc1000
values-mcc454-mnc1000-zh-rCN
values-mcc454-mnc1000-zh-rHK
values-es-rUS
values-pt-rPT
Click to expand...
Click to collapse
Click to expand...
Click to collapse
And recompile again sign apk and Step two Done !
Step Three
Decompile framework-res.apk
Download THIS and extract then copy paste all item on res/drawable-hdpi/
Recompile Done !
Note : if you get error please read log.txt and share on this thread and I will help for fixing
Click to expand...
Click to collapse
Click to expand...
Click to collapse
All guide is Done ! now push it to your phone to the /system/app directory
And don’t forget press thanks button if this guide useful for you all!
Special Thanks Admin Dadroidrd
reserved
Mantap
vanitea said:
Mantap
Click to expand...
Click to collapse
sipp:good:
@AgungDaVici
I am having an error compiling somcphone in step 2...
Can you please update the code someway Cuz I see emotions in the code and I can't read the code because of it
Sent from tapatalk using my C2105
pencil42 said:
Can you please update the code someway Cuz I see emotions in the code and I can't read the code because of it
Sent from tapatalk using my C2105
Click to expand...
Click to collapse
Basically the emotions shown are this ": ?"(I added space in between these, u shouldn't)
But if we try to write here in Xda we get :?
OP uncheck "Enable Smiley" from ur post, You can edit by using Advanced edit option, it'll be located in bottom left corner
Sent from my Xperia Z2 using Tapatalk
very very very very thanks.
---------- Post added at 04:23 PM ---------- Previous post was at 04:15 PM ----------
Is not it a little easier to install??!
sushobith said:
@AgungDaVici
I am having an error compiling somcphone in step 2...
Click to expand...
Click to collapse
Delete folder that shown on error log
vanitea said:
Delete folder that shown on error log
Click to expand...
Click to collapse
I deleted the folder as per the instructions, but it is asking for compression level(0-9)..??
DeveDroid said:
Basically the emotions shown are this ": ?"(I added space in between these, u shouldn't)
But if we try to write here in Xda we get :?
OP uncheck "Enable Smiley" from ur post, You can edit by using Advanced edit option, it'll be located in bottom left corner
Sent from my Xperia Z2 using Tapatalk
Click to expand...
Click to collapse
thanks buddy:good:
sushobith said:
I deleted the folder as per the instructions, but it is asking for compression level(0-9)..??
Click to expand...
Click to collapse
for compression level you can select 1 ..
AgungDaVici said:
for compression level you can select 1 ..
Click to expand...
Click to collapse
I deleted the folder as per the instructions, but its not success, i'm using apk tool
sorry for my bad english -_-"
bdtno said:
I deleted the folder as per the instructions, but its not success, i'm using apk tool
sorry for my bad english -_-"
Click to expand...
Click to collapse
Try to use this tool
abielzuliom said:
Try to use this tool
Click to expand...
Click to collapse
thanks for helping brother
where do i must put framewrok-res.apk, to System/App or to System/Framework ?
Sorry i am a noob :laugh:
XperiaAwesome2000 said:
where do i must put framewrok-res.apk, to System/App or to System/Framework ?
Sorry i am a noob :laugh:
Click to expand...
Click to collapse
Any apks that go you have to put in system/app
XperiaAwesome2000 said:
where do i must put framewrok-res.apk, to System/App or to System/Framework ?
Sorry i am a noob :laugh:
Click to expand...
Click to collapse
pencil42 said:
Any apks that go you have to put in system/app
Click to expand...
Click to collapse
You wrong dude. It's should be on /system/framework. It's a framework which is needed for a android phone.
I thought apks go to system/app thanks for the heads up though
Sent from tapatalk using my C2105
AgungDaVici said:
thanks for helping brother
Click to expand...
Click to collapse
lol.. Anytime dude.. Nice tuts btw :good:

[4.4] True Quick Settings

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

[MOD][LP] Dynamic blur - Recents Panel

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

Categories

Resources