Heya Guys Wassup
Today i Am Going to Teach You How To Add Invisible Power Button In The Status Bar
What it actually does is
it will add an invisible power button on the Clock on the Top Right of the Status Bar
By touching it once you can screen off
and by long pressing it you can access the power menu
Ready???
So Here We Go:angel:
STEP 1-Pull SystemUI.apk from Your Phone
STEP 2 -Decompile it
STEP 3-Open SystemUI/res/layout/status_bar.xml
STEP 4-Find These Lines At The End
Code:
<ImageView android:layout_gravity="top|left|center" android:id="@id/rounded_corner_ul" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ul" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/rounded_corner_ur" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ur" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
{
"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"
}
STEP 5-Add This Line
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="right" android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/screen_lock" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" androidrientation="vertical" />
So It Should Look Like This
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="right" android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/screen_lock" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" androidrientation="vertical" />
<ImageView android:layout_gravity="top|left|center" android:id="@id/rounded_corner_ul" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ul" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/rounded_corner_ur" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ur" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
STEP 5-Save It And Close it
STEP 6-Copy The attached png to res/drawable-xhdpi and drawable/xxhdpi ( if available )
for hdpi devices add the png to drawable -hdpi
http://d-h.st/avH
STEP 6-Recompile and Sign Your Apk
To Use Copy To system/app with Permissions RW-R-R
Reboot And Enjoy And Dont Forget To Press The THANKS Button:laugh::good:
CREDITS
@Leo For the png and inspiration
What it actually does is
it will add an invisible power button on the Clock on the Top Right of the Status Bar
By touching it once you can screnn off
and by long pressing it you can access the power menu
Good tutorial and thanks
Sent from my LT26w using XDA Premium 4 mobile app
Good one...
TFS !
:good::good:
Awesome idea @dipesh1502 bro! Thanks for the tut.
Going to try it soon!
Sent from my Xperia™ Sola...
Very cool...and you've made the News!!
http://www.xda-developers.com/android/add-power-button-functionality-to-your-xperia-devices-status-bar/
nice one bro
Well done bro
Pandemic said:
nice one bro
Click to expand...
Click to collapse
Thanks my team
DaRk-L0rD said:
Well done bro
Click to expand...
Click to collapse
Great job bro!! :good:
Thanks u:good:
can it be done on other devices?? on nexus 4 perhaps.....
abhishek24dogra said:
can it be done on other devices?? on nexus 4 perhaps.....
Click to expand...
Click to collapse
You can try with a backup
If it works then please report,
dipesh1502 said:
You can try with a backup
If it works then please report,
Click to expand...
Click to collapse
I just tried with my LG-P500 running cm-11, SysytemUI.apk and got this error while compiling it. Its showing "id with value @id/home" not matched", see the log. Appreciate your kind help.
Edit: Solve it by adding manually adding ids into value/ids.xml. Will try and see
mukulsoni said:
I just tried with my LG-P500 running cm-11, SysytemUI.apk and got this error while compiling it. Its showing "id with value @id/home" not matched", see the log. Appreciate your kind help.
Edit: Solve it by adding manually adding ids into value/ids.xml. Will try and see
Click to expand...
Click to collapse
Theres no resource for rounded corners in your systemui.apk
Still i guess i have tried it
So test it and report
dipesh1502 said:
Theres no resource for rounded corners in your systemui.apk
Still i guess i have tried it
So test it and report
Click to expand...
Click to collapse
Wow... its work man. Changed resources and id xmls and working fine. Great mod for lg-p500 as many users facing powerbutton problem. I will add it to my ROM http://forum.xda-developers.com/showthread.php?t=2589303 and will give you credit. thanks:good:
mukulsoni said:
Wow... its work man. Changed resources and id xmls and working fine. Great mod for lg-p500 as many users facing powerbutton problem. I will add it to my ROM http://forum.xda-developers.com/showthread.php?t=2589303 and will give you credit. thanks:good:
Click to expand...
Click to collapse
Cool means works with lg too
Dont forget to mention the link the thread along with credits
This is a great MOD! Can't wait for Mukulsoni to release version 10 for out LG-P500 and have this included.
Thanks man!
Hmmm...one simple question....what if the user use center clock? does the touch point also move to center or it stay on the top right of status bar?
Related
Instructions:
Make sure u have the Xperia ZUltra ( kk v4.4.2 ) SystemUI from @serajr..
CREDIT: @serajr For The Original Thread http://forum.xda-developers.com/showthread.php?t=2677224
Screenshots:
{
"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"
}
Installation
Download the zip
flash it
Reboot
Done
Download
Settings Addon.zip
have fun!!:victory:
1.decompile /system/app/Settings.apk
2.and open Settings.apk\res\xml\personalization_settings.xml,
3.then add
Code:
<com.sonymobile.settings.preference.IntentPreference android:key="notifications" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.sonyericsson.settings" android:targetClass="com.sonymobile.settings.notifications.NotificationSettings" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.IntentPreference android:key="system_icons" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.sonyericsson.settings" android:targetClass="com.sonymobile.settings.systemicon.SystemIconSettings" />
</com.sonymobile.settings.preference.IntentPreference>
4.Compile Settings.apk and install it with flashable zip or adb:laugh:.
Nice....
Do you have code necessary for settings to show that in menu?
Or if you could upload settings.apk as well and I'll add it
Tnx...
Sent from my C6903 using Tapatalk
funky0308 said:
Nice....
Do you have code necessary for settings to show that in menu?
Or if you could upload settings.apk as well and I'll add it
Tnx...
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Add these lines in personalization_settings.xml
Code:
<com.sonymobile.settings.preference.CheckBoxPreference android:title="@string/auto_hide_notifications_title" android:key="clearViewedNotifications" android:summary="@string/auto_hide_notifications_description" android:defaultValue="false" settings:valueOfSettingsSystem="clear_viewed_notifications" />
<com.sonymobile.settings.preference.IntentPreference android:key="notifications" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.sonyericsson.settings" android:targetClass="com.sonymobile.settings.notifications.NotificationSettings" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.IntentPreference android:key="system_icons" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.sonyericsson.settings" android:targetClass="com.sonymobile.settings.systemicon.SystemIconSettings" />
</com.sonymobile.settings.preference.IntentPreference>
@niaboc79
Awesome mate...
Thanks for this...
Deleted, OP is updated and everything is there...
Thanks
Sent from my C6903 using Tapatalk
could u make a zip for the home size grid as well @ jzqs
demonicangell™ said:
could u make a zip for the home size grid as well @ jzqs
Click to expand...
Click to collapse
FC right now:crying:
It's working great...
Tnx mate for this...finally easy way to enable/disable status bar icons...
jzqs said:
FC right now:crying:
View attachment 2630230View attachment 2630231
Click to expand...
Click to collapse
@jzqs
Hi
I tried to edit the Settings.apk but i get this error
Code:
Apk Manager 5.0.2\other\..\projects\testSettings.apk\res\values\styles.xml:92: error: Error: No resource found that matches the given name: attr 'android:textUnderlineThickness'.
I just wanted to know which version of APKTOOL you are using ?
When I use framework-res and SemcGenericUxpRes of Xperia ZL I can not even decompile the setteings, but using Xperia ZU framework-res and SemcGenericUxpRes I'm able to decompile it but when compiling it I get the same error.
Thanks.
working fine ..thanks a lot ..
but my settings icon got messed up on the quick settings panel ..it has gone more up compared to the others that are in the centre of the
Settings>HOME fc solution?
Sent from my LT25i using XDA Premium 4 mobile app
ghemanth said:
Settings>HOME fc solution?
Sent from my LT25i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Just wait buddy...OP will somehow fix the issue or maybe my great mate Funky will try to find a way to fix it.Just be patient.
anakdayak said:
Just wait buddy...OP will somehow fix the issue or maybe my great mate Funky will try to find a way to fix it.Just be patient.
Click to expand...
Click to collapse
That's only for XS?
Sent from my C6903 using Tapatalk
talkback switch FC
Guys, i flashed settings addon zip file....everything works fine to me....no fc's.....but don't know what is inside the home option
Settings->wifi fc
Very nice work
Waiting fixed version
Tapatalk-kal küldve az én C5303-el
pemith said:
Guys, i flashed settings addon zip file....everything works fine to me....no fc's.....but don't know what is inside the home option
Click to expand...
Click to collapse
try to use the SimpleHome
Leo said:
try to use the SimpleHome
Click to expand...
Click to collapse
got it buddy....thank :good:
ghemanth said:
Settings>HOME fc solution?
Sent from my LT25i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Oohh...now I get it...
I'm not using whole settings, I don't need simple Home.
I modified ihackers settings because that's ROM what I'm using...
Sent from my C6903 using Tapatalk
funky0308 said:
Oohh...now I get it...
I'm not using whole settings, I don't need simple Home.
I modified ihackers settings because that's ROM what I'm using...
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
i thought Home option contains Grid selection options in it.
Wifi, Sound>Volume, are also FCs.
After a week... i read, i learn, i try modding systemui with jelly header/4.2.2 status bar... but i go failed failed and failed.. got fc, status bar gone.. so i want to request more easier guide for making jelly header/4.2.2 status bar... please xda member.. guide me..
Guide 1
For my cm7 status bar I used
http://forum.xda-developers.com/showthread.php?t=1953934
although it should work on stock roms too
Follow guide 1 - its simple just requires add smali and line in status_bar_expanded where you want the header
The header will look like screenshot but without the brightness slider or icon and iv also modded the clear button too so you wont have that - will just be date and time
{
"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"
}
Guide 2
If you want to try something more complicated you can try the following and will look like
and you can add what you like to the second pannel - I made mine look like
Guide is http://forum.xda-developers.com/showthread.php?t=2315342
marcussmith2626 said:
For my cm7 status bar I used
http://forum.xda-developers.com/showthread.php?t=1953934
Click to expand...
Click to collapse
I will try it sir..
EpullSalvatrucha said:
I will try it sir..
Click to expand...
Click to collapse
I updated the post with more complicated guides for advanced stuff - gives second quick pannel but you can just have the header by itself if you want or do the entire guide for the quick pannel as well
marcussmith2626 said:
I updated the post with more complicated guides for advanced stuff - gives second quick pannel but you can just have the header by itself if you want or do the entire guide for the quick pannel as well
Click to expand...
Click to collapse
the guide said find this code:
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/carrier_label_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
but i cannot find in my statusbar expanded.xml...
EpullSalvatrucha said:
the guide said find this code:
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/carrier_label_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
but i cannot find in my statusbar expanded.xml...
Click to expand...
Click to collapse
This is why you cant blindly follow guides - you must have some level of understanding and be able to adapt code to your needs
you can try just putting this
under
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
put
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
put the smali in the given location in the guide
dunno if it will work - if not follow the other more complicated guide for stock roms
without an understanding of what you are doing and how to fix any compiling errors and so on you will not succed - especially if you try guide 2 because you will get errors unless you manage to do everything perfect first time
marcussmith2626 said:
This is why you cant blindly follow guides - you must have some level of understanding and be able to adapt code to your needs
you can try just putting this
under
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
put
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
put the smali in the given location in the guide
dunno if it will work - if not follow the other more complicated guide for stock roms
without an understanding of what you are doing and how to fix any compiling errors and so on you will not succed - especially if you try guide 2 because you will get errors unless you manage to do everything perfect first time
Click to expand...
Click to collapse
wait... i try..
marcussmith2626 said:
without an understanding of what you are doing and how to fix any compiling errors and so on you will not succed - especially if you try guide 2 because you will get errors unless you manage to do everything perfect first time
Click to expand...
Click to collapse
Working perfectly sir!! sir.. my flashlight not working even i edit the androidmanifest.xml in systemui and sign it.. can help me sir?
EpullSalvatrucha said:
Working perfectly sir!! sir.. my flashlight not working even i edit the androidmanifest.xml in systemui and sign it.. can help me sir?
Click to expand...
Click to collapse
in androidmanifest.xml
above
Code:
</application>
put
Code:
<activity android:theme="@*android:style/Theme.NoTitleBar.Fullscreen" android:name="com.lidroid.systemui.quickpanel.FlashlightActivity" android:clearTaskOnLaunch="true" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation" />
unzip the attchment and put the smai in smali/com/lidroid/systemui/quickpanel although backup the ones that are already there incase you need to replace them if they are different
sign once recompiled with zipsigner you can get from playstore - use either a testkey or platform key
marcussmith2626 said:
sign once recompiled with zipsigner you can get from playstore - use either a testkey or platform key
Click to expand...
Click to collapse
owh there is smali file? i think just edit the androidmanifest.xml only.. i will try it.. sir.. i want to put app in settings.apk and in the same time i want to hide the app from drawer(like hyperion).. the app is Quickpanelsettings.apk.. how to do it sir?
EpullSalvatrucha said:
owh there is smali file? i think just edit the androidmanifest.xml only.. i will try it.. sir.. i want to put app in settings.apk and in the same time i want to hide the app from drawer(like hyperion).. the app is Quickpanelsettings.apk.. how to do it sir?
Click to expand...
Click to collapse
you should already have the smali if you have lidroid - I was just providing it as a reference if you dont or its different
search for a guide - I cant spoon food you everything - You will have to learn to search and do things yourself - sorry
As a clue - you remove a line from the app you want to hide in androidmanifest.xml and you add some lines into settings apk in xml/settings.xml
marcussmith2626 said:
you should already have the smali if you have lidroid - I was just providing it as a reference if you dont or its different
search for a guide - I cant spoon food you everything - You will have to learn to search and do things yourself - sorry
As a clue - you remove a line from the app you want to hide in androidmanifest.xml and you add some lines into settings apk in xml/settings.xml
Click to expand...
Click to collapse
i understand sir... i will try it...
marcussmith2626 said:
you should already have the smali if you have lidroid - I was just providing it as a reference if you dont or its..
Click to expand...
Click to collapse
Flashlight still not working..
EpullSalvatrucha said:
Flashlight still not working..
Click to expand...
Click to collapse
I would say logcat and solve the error but since you dont have much knowledge I would just download a flashlight app from the playstore
marcussmith2626 said:
I would say logcat and solve the error but since you dont have much knowledge I would just download a flashlight app from the playstore
Click to expand...
Click to collapse
i will try logcat.. but my terminal emulator not working.. i open the app and got something like fc..
{
"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"
}
Hey Xda,
This is my first tutorial
SystemUI
Add gradient effect:
- Decompile SystemUI
- go in res/drawable and paste this file in the archive View attachment gradient_bg.rar
- Now go in res / layout and open status_bar.xml
- looking for " android: background = " and change how it is in the picture.
- now recompile SystemUI and enjoy the gradient effect
Screenshot:
Move the toggle under clock
- Decompile SystemUI
- Go in res/layout and open status Status_bar_expanded_header.xml
- search:
Code:
<LinearLayout android:id="@id/tools_row_0" android:background="@drawable/statusbar_tools_button_frame_top" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_tools_row_height" />
<LinearLayout android:id="@id/tools_row_1" android:background="@drawable/statusbar_tools_button_frame_bottom" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_tools_row_height" />
<View android:id="@id/statusbar_hr" android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_divider_height" />
Move this code in below:
Code:
<LinearLayout android:id="@id/tools_row_0" android:background="@drawable/statusbar_tools_button_frame_top" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_tools_row_height" />
<LinearLayout android:id="@id/tools_row_1" android:background="@drawable/statusbar_tools_button_frame_bottom" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_tools_row_height" />
<View android:id="@id/statusbar_hr" android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_divider_height" />
- Now change some "android:background=" you look like in screenshot:
Recompile SystemUI and enjoy.
Screenshot:
Before:
After:
Settings
Change separator background:
- Decompile Settings.apk
- Go in res/drawable and paste this file in the arhive View attachment list_separator_background.rar
- now go in res/values and open styles.xml
- search ListSeparator
- Now change "<item name="android:textColor">" and <item name="android:background"> you look like in screenshot:
Screenshot:
Before:
After:
Sorry this is my first tutorial
Reserved
reserved for features..
Hohoho really great tutorial. Everything's explained clearly.
If this is your first tut, I can't wait to see your next one
-woczarder- said:
Hohoho really great tutorial. Everything's explained clearly.
If this is your first tut, I can't wait to see your next one
Click to expand...
Click to collapse
Thanks bro and sorry for my bad english ..
Nice tut bro for new comers etc
so they can do stuff and mod on thier own :good:
Nice tut
Pandemic said:
Nice tut bro for new comers etc
so they can do stuff and mod on thier own :good:
Click to expand...
Click to collapse
@DanielFlorin
Nice tutorial bro.
but in the second screenshot i saw something transformed in framework (Round Switches)
you should also add this to the tutorial (How to change the text in the switches)
Decompile framework-res.apk
res/values/strings
somb_btn_off (i remember) change it to O
somc_btn_on (i remember) change it to I
:good: :good: :highfive:
Eliminator79 said:
@DanielFlorin
Nice tutorial bro.
but in the second screenshot i saw something transformed in framework (Round Switches)
you should also add this to the tutorial (How to change the text in the switches)
Decompile framework-res.apk
res/values/strings
somb_btn_off (i remember) change it to O
somc_btn_on (i remember) change it to I
:good: :good: :highfive:
Click to expand...
Click to collapse
see here's the link!
http://forum.xda-developers.com/crossdevice-dev/sony/guide-adding-off-buttons-rom-t2835179
---------- Post added at 05:25 PM ---------- Previous post was at 05:09 PM ----------
Cool tut :good:
Nice TUT!
Keepup!
Xperia™ Z (C6602) with Tapatalk.
Nice...:fingers-crossed:
Hey Xda said:
Awesome Bro!
Thanks
And congratz to be featured on Potal :victory: :good:
Here is the page you're featured on : SystemUI, Settings small mods guide thread.
Click to expand...
Click to collapse
Thanks very much
I saw this thread on the italian website HDBlog!
Congrats
Great work mate.
It got featured on portal as well. (Y)
Expect more works from you.
A very concise and easy to understand tutorial...good work! :highfive:
does this also put gradient on the Nav Bar?
EDIT: It doesn't work on Xperia C. I did it clean.
Ok thanks. My phone xperia s work?? And where apk? I can't apktool edit
yakupTR said:
Ok thanks. My phone xperia s work?? And where apk? I can't apktool edit
Click to expand...
Click to collapse
come on @yakupTR
where the apk is?
your OWN SystemUI you need to edit and this is a TUTORIAL howto do it !
You cant? just try and dont say immidiatly: I CANT !
@DanielFlorin: Great tutorial!
Can you create a tutorial for add the toggles?
Thanks in advance.
@DanielFlorin
I can't see values folder in my settings
I'm on Xperia L stock 4.2.2
Rudram Sharma said:
I can't see values folder in my settings
Click to expand...
Click to collapse
You need to decompile it first.
Hello friends and visitors the most trusted android around the world * - * Well I'll do one more simple and easy tutorial. I will do everything to better detailed understanding of all, carefully read and will give everything right. Come
Requeriments
*Apktool or similar to compilation and decompilation of apps
*Framework and SemcGenericUxp installed on your pc
*Notepad++
*Calm, attention and patience
Guide 1 Part
1 - Decompile your settings.apk
2-Navigate to the folder >>res/values<<
3- Locate and open the xml called >>strings.xml<<
4-Add the codes below at the end of your strings.xml
Code:
<string name="rom_version">Rom Version</string>
<string name="rom_developer">Developer</string>
<string name="rom_name">Rom Name</string>
<string name="rom_name_main">Xperia Performance Max Ultra™</string>
<string name="rom_version_main">Finality Update</string>
<string name="rom_developer_main">Marilia de Oliveira™ @XdaDevelopers</string>
5-Added you can save and close
See your image should stay the same
{
"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"
}
Guide 2 Part
1 - Decompile your settings.apk
2-Navigate to the folder >>res/xml<<
3- Locate and open the xml called >>device_info_settings.xml<<
4-Add the codes below at the end of your device_info_settings.xml
Code:
<PreferenceCategory android:title="Custom ROM Details" />
<Preference android:title="@string/rom_name" android:key="rom_name" android:summary="@string/rom_name_main" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_version" android:key="rom_version" android:summary="@string/rom_version_main" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:key="rom_developer" android:summary="@string/rom_developer_main" style="?android:preferenceInformationStyle" />
<PreferenceCategory android:title="Sony Xperia Details" />
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/fcc_equipment_id" android:key="fcc_equipment_id" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/selinux_status" android:key="selinux_status" android:summary="@string/selinux_status_enforcing" style="?android:preferenceInformationStyle" />
<com.sonymobile.settings.preference.IncludePreference settings:include="@xml/somc_add_device_info_settings" />
</PreferenceScreen>
5-Added you can save and close
See your image should stay the same
>Finally compile your settings.apk and then sign<
Screenshots My Settings
Small NoteTo be based on the images above, noting that the names can be changed look example !
<string name="rom_version">Rom Version</string>
<string name="rom_version_main">Finality Update</string>
Altered Modifications
<string name="rom_version">Jelly Bean Version</string> [This and the title name]
<string name="rom_version_main">Update ROM</string> [That and the name that sits below the title]
Well that's all, it was explained as possible, any questions send me a question or a PM I'll be happy to help. Thank you and good luck to all
Do not forget to give me a thank you [:good:], it will be great for me because somehow will encourage me to keep my work and create new roms and mods! Thank you all
So far no bug was found. I ask you please file a bug found that I can fix. Thank you
@Marília de Oliveira
its already excist here by a good friend of me @Saqib Nazm
http://forum.xda-developers.com/showthread.php?t=2341389
Pandemic said:
@Marília de Oliveira
its already excist here by a good friend of me @Saqib Nazm
http://forum.xda-developers.com/showthread.php?t=2341389
Click to expand...
Click to collapse
No friend are totally different
Marília de Oliveira said:
No friend are totally different
Click to expand...
Click to collapse
Yes miss and did you look in the OP below and what is different ?
Edit:
yes it is different, apologize
Thank You
It's totally understandable
Pandemic said:
Yes miss and did you look in the OP below and what is different ?
Edit:
yes it is different, apologize
Click to expand...
Click to collapse
hm okay :good:
Black_Eyes said:
Thank You
It's totally understandable
Click to expand...
Click to collapse
Thanks
Tks for the guide! Very easy to follow the step and noob-friendly!
BlackSoulxxx said:
Tks for the guide! Very easy to follow the step and noob-friendly!
Click to expand...
Click to collapse
That and my intention in everything I do, I leave the most simple and effective as possible for the best understanding . Thanks my friend
Thank you @Marília de Oliveira, very well detailed tutorial and 100% functional.
ogunja said:
Thank you @Marília de Oliveira, very well detailed tutorial and 100% functional.
Click to expand...
Click to collapse
heheh thanks
Tut on how to Add Bravia/ X-reality/ Super-vivid
Hello Guys
Every one asked me on how to add These engines to settings
SO here i got a very small tut on how to add these settings to you app as shown in the Picture below
{
"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"
}
Requirements :-
1. Apktool or you can try one of my tool here
2. Java jdk installed
3. Framework-res.apk, SemcGenericUxpRes.apk and Settings.apk
4. Patience with good mind
Now lets start work mates
Step;-1
Download the Apk tool and place as per your requirement
install the Framework first . ( if you are using the tool then place at the location as provided and run script )
If you dont have a script then follow this code
Code:
apktool if framework-res.apk
and
apktool if SemcGenericUxpRes.apk
Now Your Framework got installed and you need to proceed for Step :-2
Step;-2
Now you need to De-compile the SEttings.apk
If you have tool then there is no need of code. If you Dont have try this
Code:
apktool d Settings.apk
After the settings.apk got extracted
move to res->xml->somc_add_display_settings.xml
open it using NotePad++
You will find something like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.sonymobile.settings.preference.CheckBoxPreference android:title="@string/swiqi_strings_swiqi2_txt" android:key="swiqi2" android:summary="@string/swiqi_strings_swiqi_desc_txt" android:defaultValue="true" settings:dependOnSystemProperty="ro.service.swiqi2.supported" settings:before="first" settings:valueOfSettingsSystem="com.sonymobile.swiqi2_mode" />
<com.sonymobile.settings.preference.CheckBoxPreference android:title="@string/swiqi_strings_swiqi3_txt" android:key="swiqi3" android:summary="@string/swiqi_strings_swiqi_desc_txt" android:defaultValue="true" settings:dependOnSystemProperty="ro.service.swiqi3.supported" settings:before="first" settings:valueOfSystemProperty="persist.service.swiqi3.enable" />
<com.sonymobile.settings.preference.CheckBoxPreference android:title="@string/glove_mode_checkbox_title" android:key="glove_mode" android:summary="@string/glove_mode_checkbox_summary" android:defaultValue="false" settings:dependOnResource="@android:bool/config_enable_glove_mode" settings:before="brightness" settings:valueOfSystemProperty="persist.sys.touch.glove_mode" settings:valueOfSettingsSystem="com.sonymobile.touch.glove_mode" />
<com.sonymobile.settings.preference.IntentPreference android:key="white_balance" settings:dependOnIsValidIntent="true" settings:after="brightness" settings:hasMetaData="true">
<intent android:targetPackage="com.sonymobile.whitebalance" android:action="android.intent.action.MAIN" android:targetClass="com.sonymobile.whitebalance.WhiteBalanceActivity" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.RemovePreference settings:targetKey="wallpaper" />
<com.sonymobile.settings.preference.RemovePreference settings:dependOnIsValidIntent="true" settings:targetKey="wifi_display">
<intent android:targetPackage="com.sonymobile.tvout.wifidisplay" android:targetClass="com.sonymobile.tvout.wifidisplay.WfdStarterActivity" />
</com.sonymobile.settings.preference.RemovePreference>
</PreferenceScreen>
So all you need is to add these lines
Code:
<com.sonymobile.settings.preference.IntentPreference android:key="image_enhancer" settings:dependOnIsValidIntent="true" settings:dependOnSystemProperty="ro.service.xrfm.supported" settings:before="first" settings:hasMetaData="true" settings:valueOfSystemProperty="persist.service.xrfm.mode">
<intent android:targetPackage="com.sonymobile.imageenhancer" android:targetClass="com.sonymobile.imageenhancer.ImageEnhancerSettings" />
</com.sonymobile.settings.preference.IntentPreference>
If you add you will view something like this (Red Lines Are added one )
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
[COLOR="Red"] <com.sonymobile.settings.preference.IntentPreference android:key="image_enhancer" settings:dependOnIsValidIntent="true" settings:dependOnSystemProperty="ro.service.xrfm.supported" settings:before="first" settings:hasMetaData="true" settings:valueOfSystemProperty="persist.service.xrfm.mode">
<intent android:targetPackage="com.sonymobile.imageenhancer" android:targetClass="com.sonymobile.imageenhancer.ImageEnhancerSettings" />
</com.sonymobile.settings.preference.IntentPreference>
[/COLOR] <com.sonymobile.settings.preference.RemovePreference settings:dependOnSystemProperty="ro.service.xrfm.supported" settings:targetKey="swiqi3" />
<com.sonymobile.settings.preference.CheckBoxPreference android:title="@string/swiqi_strings_swiqi2_txt" android:key="swiqi2" android:summary="@string/swiqi_strings_swiqi_desc_txt" android:defaultValue="true" settings:dependOnSystemProperty="ro.service.swiqi2.supported" settings:before="first" settings:valueOfSettingsSystem="com.sonymobile.swiqi2_mode" />
<com.sonymobile.settings.preference.CheckBoxPreference android:title="@string/swiqi_strings_swiqi3_txt" android:key="swiqi3" android:summary="@string/swiqi_strings_swiqi_desc_txt" android:defaultValue="true" settings:dependOnSystemProperty="ro.service.swiqi3.supported" settings:before="first" settings:valueOfSystemProperty="persist.service.swiqi3.enable" />
<com.sonymobile.settings.preference.CheckBoxPreference android:title="@string/glove_mode_checkbox_title" android:key="glove_mode" android:summary="@string/glove_mode_checkbox_summary" android:defaultValue="false" settings:dependOnResource="@android:bool/config_enable_glove_mode" settings:before="brightness" settings:valueOfSystemProperty="persist.sys.touch.glove_mode" settings:valueOfSettingsSystem="com.sonymobile.touch.glove_mode" />
<com.sonymobile.settings.preference.IntentPreference android:key="white_balance" settings:dependOnIsValidIntent="true" settings:after="brightness" settings:hasMetaData="true">
<intent android:targetPackage="com.sonymobile.whitebalance" android:action="android.intent.action.MAIN" android:targetClass="com.sonymobile.whitebalance.WhiteBalanceActivity" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.RemovePreference settings:targetKey="wallpaper" />
<com.sonymobile.settings.preference.RemovePreference settings:dependOnIsValidIntent="true" settings:targetKey="wifi_display">
<intent android:targetPackage="com.sonymobile.tvout.wifidisplay" android:targetClass="com.sonymobile.tvout.wifidisplay.WfdStarterActivity" />
</com.sonymobile.settings.preference.RemovePreference>
</PreferenceScreen>
Now you are done adding these things just compile now
Code:
apktool b Settings
If you have my tool it will compile/ zipalign/ sign
So now you are finally done with settings and you got ready to replace
Here is the main thing you need to do :-
Download the Bravia zip Provided at bottom
Place Your compiled Settings.apk at this zip (*.zip->system->priv-app->)
and Flash the Zip now you are done
Never mind That Your Rom is Odexed Or Deodexed This flash script will delete the *.odex file
If you use this mod just Mention me have fun
For F.A.Q just follow this thread Click here
reserved for some work
venkat kamesh said:
reserved for some work
Click to expand...
Click to collapse
Very good bro )))
thanks very much:good:
This tool would be more noob friendly than apktool
http://forum.xda-developers.com/showthread.php?t=2639400
Hello guys,
Bootloader lock required?
Can I test it on Xperia t2 ultra D5322(4.4.2/4.4.3)?
Thanks
Pakman123 said:
This tool would be more noob friendly than apktool
http://forum.xda-developers.com/showthread.php?t=2639400
Click to expand...
Click to collapse
yes that as per your availability mate
since that was my tool i had just posted
anyway mate your post will be helpful thank you
rrajesh said:
Hello guys,
Bootloader lock required?
Can I test it on Xperia t2 ultra D5322(4.4.2/4.4.3)?
Thanks
Click to expand...
Click to collapse
yes this works for all [4.0+] and works with your device too...
yes boot-loader is required so pics work goog
if you had unlocked not a problem pics may not show much difference...
but mode of these works good with videos.
Soon I will use this lines on my future ROM using AOSP [kk/LP?] to acro S... Maybe will work.. Maybe not... Will need much MUCH modding/hacking certificates to make that work with non stock sources but I'm have hope it will works
I'm crazy.. But nothing is impossible ;D
Sent from my LT26w using XDA Free mobile app
there is a little error.it would be
Code:
apktool b Settings
DvDwx. said:
Soon I will use this lines on my future ROM using AOSP [kk/LP?] to acro S... Maybe will work.. Maybe not... Will need much MUCH modding/hacking certificates to make that work with non stock sources but I'm have hope it will works
I'm crazy.. But nothing is impossible ;D
Sent from my LT26w using XDA Free mobile app
Click to expand...
Click to collapse
yes yes it would be worked. all it need is our work on that !
i am already working on that mate
but not perfectly sure. but i am trying on samsung device at present ( previously i worked with lg it worked )
once i have done with those i will post one more tut
slsamg7112 said:
there is a little error.it would be
Code:
apktool b Settings
Click to expand...
Click to collapse
thanks mate edited
can i add bravia to vanir 4.4.4 too or only on stock?
moonryder said:
can i add bravia to vanir 4.4.4 too or only on stock?
Click to expand...
Click to collapse
i am not sure it may not work good until it was stock
i am trying for that
if it once got finished i will update it
now i am working on that mate
venkat kamesh said:
yes yes it would be worked. all it need is our work on that !
i am already working on that mate
but not perfectly sure. but i am trying on samsung device at present ( previously i worked with lg it worked )
once i have done with those i will post one more tut
thanks mate edited
Click to expand...
Click to collapse
if you can share here the topic about that modification you already have maked to LG device we appreciate that ;D
DvDwx. said:
if you can share here the topic about that modification you already have maked to LG device we appreciate that ;D
Click to expand...
Click to collapse
please check my threads
Want this to work for Xperia Z2 on 4.4.4 Stock oxeded rom?
Does bravia engine effect applies to movie also?
Plz tell me
Thanks
Bravia engine not working in Sony video app
hi venkat, do you know or have a mod to make bravia engine on custom rom nougat?