{
"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.
Related
Hello People !!
As you know i have Cpu control and stats under developer options
as in my modified settings.apk and i wanna share to ya`ll howto add
{
"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:
You need to know how to decompile, compile and sign an apk.
Notepad++
A Deoxeded Rom.
Settings.apk
The attachment from below
[Black and White CpuSettings + Stats]
+++++++++++++++++++++++++
1. Download the atachemtent witht the cpu apps
2. Decompile settings.apk
3. Go to res/values/strings.xml
add the following lines:
Code:
<string name="cpu_control">CPU Control</string>
<string name="cpu_control_summary">Manage CPU frequencies and governor</string>
<string name="cpu_stats">CPU Stats</string>
<string name="cpu_stats_summary">Monitor CPU usage</string>
<string name="cpu_setting_header">System</string>
Save it and close it
5. Now navigate to res/xml/development_prefs
add the following lines:
Code:
<PreferenceCategory android:title="@string/cpu_setting_header" android:key="cpu_setting_header">
<PreferenceScreen android:title="@string/cpu_control" android:key="cpu_control" android:summary="@string/cpu_control_summary">
<intent android:targetPackage="it.sineo.android.noFrillsCPUClassic" android:action="android.intent.action.MAIN" android:targetClass="it.sineo.android.noFrillsCPUClassic.activity.MainActivity" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/cpu_stats" android:key="cpu_stats" android:summary="@string/cpu_stats_summary">
<intent android:targetPackage="com.bvalosek.cpuspy" android:action="android.intent.action.MAIN" android:targetClass="com.bvalosek.cpuspy.ui.HomeActivity" />
</PreferenceScreen>
</PreferenceCategory>
6. Save and close it
7. Recompile the settings
8. Make a flashable zip with the 2 apps
Cpusettings.apk and cpustats.apk and
your modified settings.apk
9. Flash and enjoy
..Credits..
@DaRk-L0rD For Little Help
@ZN6: For the CPU apps
Enjoy this tut !!
Very very nyc and useful guide bro... Not as much of hard.. Its looking very easy for me.. Surely will try
Rajeev said:
Very very nyc and useful guide bro... Not as much of hard.. Its looking very easy for me.. Surely will try
Click to expand...
Click to collapse
thanks bro @Rajeev
its kinda easy todo
Very nyc tut
Good work bro
dipesh1502 said:
Very nyc tut
Click to expand...
Click to collapse
AndroidNoob69 said:
Good work bro
Click to expand...
Click to collapse
DaRk-L0rD said:
Click to expand...
Click to collapse
Thanks brothers and teammates @dipesh1502, @AndroidNoob69 and @DaRk-L0rD
Sent From Cybertron With My Powerfull Xperia P
13 downloads
5 thanks
Thanks lazy ones !
I added my xperia sp official 4.3 settings and not avalibe this development.
Please help.
jancsessz said:
I added my xperia sp official 4.3 settings and not avalibe this development.
Please help.
Click to expand...
Click to collapse
I dont know what you mean be clear please !
Btw
Wow someone founed this thread.. Great !!
Sent From Cybertron With My Powerfull Xperia P
Pandemic said:
I dont know what you mean be clear please !
Btw
Wow someone founed this thread.. Great !!
Sent From Cybertron With My Powerfull Xperia P
Click to expand...
Click to collapse
I assume this method won't work on Samsung devices, right??
I mean this tut should be only for Sony devices, cuz it's under [Development Projects for Sony Devices], am I right?
this is just adding an app to settings? this is really universal not just for this device.
ricky310711 said:
this is just adding an app to settings? this is really universal not just for this device.
Click to expand...
Click to collapse
With this tutorial you will add the cpu settings and stats under the developer option menu. If you want to add them in the settings menu, you have to edit the settings_header.xml in the xml folder.
Most likely this tutorial works for all devices
Yeah this is on the portal !!
http://www.xda-developers.com/andro...ttings-into-sony-xperia-device-settings-menu/
Happy me ^^
Sent From Cybertron With My Powerfull Xperia P
DaRk-L0rD said:
With this tutorial you will add the cpu settings and stats under the developer option menu. If you want to add them in the settings menu, you have to edit the settings_header.xml in the xml folder.
Most likely this tutorial works for all devices
Click to expand...
Click to collapse
development settings is the right place for it
and yeah its universal! ill be adding it to the S3(SmartDroid) soon
thanks to the OP! good job!
ricky310711 said:
development settings is the right place for it
and yeah its universal! ill be adding it to the S3(SmartDroid) soon
thanks to the OP! good job!
Click to expand...
Click to collapse
@ricky310711
Yes indeed and then down below in developer options what i have, my pleasure and ok let me know if it works for Samsung
Sent From Cybertron With My Powerfull Xperia P
Pandemic said:
Hello People !!
As you know i have Cpu control and stats under developer options
as in my modified settings.apk and i wanna share to ya`ll howto add
....
Click to expand...
Click to collapse
Hi,
can't u add already compiled .apk??? so, who don't have compile skill can take benefit from it....
nnneha said:
Hi,
can't u add already compiled .apk??? so, who don't have compile skill can take benefit from it....
Click to expand...
Click to collapse
Has to be device and android version specific mate.
Pandemic said:
@ricky310711
Yes indeed and then down below in developer options what i have, my pleasure and ok let me know if it works for Samsung
Sent From Cybertron With My Powerfull Xperia P
Click to expand...
Click to collapse
works fine on the SGS3 gt-i930.
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?
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..
In The Name of GOD
Hi EveryOne
Here's a Tutorial on How to Add "Walkman" & "Movies" to Ultra Stamina Mode
{
"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.USMHome.apk
2.Notepad ++ or any Editor
3.Apktool to Decompile apk
4.A Brain!
Tutorial:
1.First you need "USMHome.apk" (you can find it in system/app)
2.Decompile "USMHome.apk"
3.Open res/xml/settings_headers.xml
Add these Lines at the end of codes (like image below!)
Code:
<header android:icon="[B]@drawable/ic_walkman[/B]" android:id="[B]@id/walkman[/B]" android:title="[B]@string/walkman[/B]">
<intent android:targetPackage="com.sonyericsson.music" android:action="android.intent.action.MAIN" android:targetClass="com.sonyericsson.music.MusicActivity" />
</header>
<header android:icon="[B]@drawable/ic_movies[/B]" android:id="[B]@id/movies[/B]" android:title="[B]@string/movies[/B]">
<intent android:targetPackage="com.sonyericsson.video" android:action="android.intent.action.MAIN" android:targetClass="com.sonyericsson.video.browser.BrowserActivity" />
</header>
4. @drawable/ic_walkman & @drawable/ic_movies : This lines set the logo that is going to display in Setting
So you need "Walkman" & "Movies" Icon (you can use any png icon)
If you don't have the icons, you can download them from HERE
Next step is adding icons with right Dimension and Walkman & Moives icon must named ic_walkman & ic_movies in res/drawable-*dpi/
drawable-hdpi---------------------------------->48*48 Pixels
drawable-mdpi---------------------------------->32*32 Pixels
drawable-xhdpi--------------------------------->64*64 Pixels
drawable-xxhdpi-------------------------------->96*96 Pixels
this icon will be show up in settings
5. @string/walkman & @string/movies : The Name that will Show in Setting
Open strings.xml and add this code
Code:
<string name="walkman">Walkman</string>
<string name="movies">Movies</string>
6. @id/walkman & @id/movies
Open res/values/ids.xml and add this code
Code:
<item type="id" name="walkman">false</item>
<item type="id" name="movies">false</item>
7.Recompile your Apk and Sign it
8. Transfer it to system/app and set Permissions
Note:
This Should work with any Xperia Rom that Support Ultra Stamina Mode.
I test it on my Xperia Z1 ST Ultimate Rom and it Worked Perfectly
So Test it on Your Own RISK
Updata:
if it's hard for you just replace this file
http://d-h.st/3Yy
Credits:
Madaditya : For his topic that teached me a lot
Hit Thanks if you find it helpful :good:
Very Nice :good::good:
Awesome mahn you nailed it... Another form we were talking with @niaboc79 about adding this feature in his ROM and looks like you did it ... Can you add whatsapp also ?
shubham meena said:
Awesome mahn you nailed it... Another form we were talking with @niaboc79 about adding this feature in his ROM and looks like you did it ... Can you add whatsapp also ?
Click to expand...
Click to collapse
i didn't try it yet!
but in order to add whatsapp you need wifi connection
i think it's possible to add both of them
but what's the point of ultra stamina if you add wifi and another apps?
i Thought music and movie is more necessary than anything, so i just add them
Nice tutorial.:fingers-crossed:
Nice! Allthough if you're messing with /system/ you also need root, correct?
I believe you should add this requirement to the post (in big red letters) to avoid at least SOME questions in this matter.
sgiannouris said:
Nice! Allthough if you're messing with /system/ you also need root, correct?
I believe you should add this requirement to the post (in big red letters) to avoid at least SOME questions in this matter.
Click to expand...
Click to collapse
for changing it you need PC and flashtool
if you want replace file with Explore you will need root
but you can replace it with a flashable zip (or other ways) "without root"
is this work for 4.3 ?
Can we add user app(installed on /data/app) too?
Sent from my D6503 using Tapatalk 4
devilmaycry2020 said:
is this work for 4.3 ?
Click to expand...
Click to collapse
do you have ultra stamina in 4.3?
if yes, so it must work
hw0603 said:
Can we add user app(installed on /data/app) too?
Sent from my D6503 using Tapatalk 4
Click to expand...
Click to collapse
yes you can but not with this TUT
i will write new TUT for it
actually in new TUT i will tell you have to customize ultra stamina (how to add app in launcher and ......)
so wait for it :good:
yes you can but not with this TUT
i will write new TUT for it
actually in new TUT i will tell you have to customize ultra stamina (how to add app in launcher and ......)
so wait for it :good:[/QUOTE said:
OK Thanks. I gonna wait for that TUT
Click to expand...
Click to collapse
Considering that Internet browsing is disabled in ultra stamina, would FM radio works?
I regularly use the fm radio and it would be real good if it could be used in ultra stamina mode.
HotKillerZzz said:
Considering that Internet browsing is disabled in ultra stamina, would FM radio works?
I regularly use the fm radio and it would be real good if it could be used in ultra stamina mode.
Click to expand...
Click to collapse
i have fm radio in ultra stamina
it's enabled in stock
Very good guide Thanks
I tried to Z2 but I have this message
some ideas?
i have use 23...167 Rom 4.4.4 for Z2
Ambor said:
Very good guide Thanks
I tried to Z2 but I have this message
some ideas?
i have use 23...167 Rom 4.4.4 for Z2
Click to expand...
Click to collapse
yes
there is another guide
but i was busy
can you give me your SuperStamina.apk from System/app
i think i know how to make it work
samadipoor2 said:
yes
there is another guide
but i was busy
can you give me your SuperStamina.apk from System/app
i think i know how to make it work
Click to expand...
Click to collapse
Yes
Ambor said:
Yes
Click to expand...
Click to collapse
just replace and set permission
for preview of new guide
i add Movies to launcher
see it yourself
http://d-h.st/3Yy
samadipoor2 said:
just replace and set permission
for preview of new guide
i add Movies to launcher
see it yourself
http://d-h.st/3Yy
Click to expand...
Click to collapse
Thanks Bro will check
Bro works Thanks. Surely i will mention you in 2.2 MW
Ambor said:
Thanks Bro will check
Bro works Thanks. Surely i will mention you in 2.2 MW
Click to expand...
Click to collapse
you are welcome :good:
hope you and other enjoy it
samadipoor2 said:
you are welcome :good:
hope you and other enjoy it
Click to expand...
Click to collapse
Sure. Again thanks
Hello Guys,
In this tutorial I'm gonna describe you how to make your Notification panel Lollipop Style. I'll try to make it very simple and clear, and feel free to ask any questions.
Developers are free to use this tutorial to mod their Rom but do give me proper credits.
This is the first tutorial about making Notification panel Lollipop style without using Xposed/Modules. So,Copy-Paste is strictly prohibited.
Alright lets begin,
REQUIREMENTS1. APK MultiTool to Decompile/compile Apks [ CLICK HERE FOR TUTORIAL ]
2. SystemUI.apk
3. Notepad+ for editing .xml files
4. akky_ltoggles.xml [File attached at the end of this tutorial]
4. Flashable zip or Root explorer to push the system apk
I'm not going to cover the part about how to Decompile/compile a system apk, a link to the tutorial by @Saqib Nazm about using APKMultiTool is already provided above
Alright Guys lets start :highfive:
STEP 1
Grab your SystemUI.apk and Decompile it.
STEP 2
Open SystemUI.apk/res/layout/tw_status_bar_expanded.xml with Notepad+
Find
Code:
[COLOR="Blue"]<com.android.systemui.statusbar.policy.ToggleSlider[/COLOR]
Before the end tag of this linear layout Just add the below code
Add
Code:
[COLOR="Red"]<include layout="@layout/akky_ltoggles" />[/COLOR]
So your final code for com.android.systemui.statusbar.policy.ToggleSlider will be
Code:
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="56.0dip">
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/brightness" android:layout_width="fill_parent" android:layout_height="55.0dip" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" />
[COLOR="Red"]<include layout="@layout/akky_ltoggles" />[/COLOR]
</LinearLayout>
It should look like this
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"
}
So, basically what we have done in the above steps is that we have commanded to add a new file for our lollipop style toggle.
STEP 3
Download akky_ltoggles.xml.
Open the folder SystemUI.apk/res/layout And simply paste akky_ltoggles.xml
STEP 4
Compile the SystemUI.apk
Put it into a flashable zip and flash it Or use a root explorer file manager to push it into your system apps.
DOWNLOAD : akky_ltoggles.xml
Note: It's tested on Samsung device. Try this at your own Risk. I'm not responsible for any abnormal behavior after doing the above steps.
SCREENSHOTS
Before
After
hi
what abt the smali edits
you mentioned .com.eboy......and .com.mda......smali
how is it possible to edit only xmls to get the above shown results?
pauldominik said:
hi
what abt the smali edits
you mentioned .com.eboy......and .com.mda......smali
how is it possible to edit only xmls to get the above shown results?
Click to expand...
Click to collapse
Try it buddy, if face any issue, report it here
That's what this tutorial is all about to get it in simple steps, unlike other tutorials
akky26 said:
Try it buddy, if face any issue, report it here
That's what this tutorial is all about to get it in simple steps, unlike other tutorials
Click to expand...
Click to collapse
ok
actly wen i chkd the xml , the two folders eboy and mda are mentioned..and i dont hav those folders inside my smali.com.android.
..chl i wll try it anyway
akky26 said:
Hello Guys,
In this tutorial I'm gonna describe you how to make your Notification panel Lollipop Style. I'll try to make it very simple and clear, and feel free to ask any questions.
Developers are free to use this tutorial to mod their Rom but do give me proper credits.
This is the first tutorial about making Notification panel Lollipop style without using Xposed/Modules. So,Copy-Paste is strictly prohibited.
Alright lets begin,
REQUIREMENTS1. APK MultiTool to Decompile/compile Apks [ CLICK HERE FOR TUTORIAL ]
2. SystemUI.apk
3. Notepad+ for editing .xml files
4. akky_ltoggles.xml [File attached at the end of this tutorial]
4. Flashable zip or Root explorer to push the system apk
I'm not going to cover the part about how to Decompile/compile a system apk, a link to the tutorial by @Saqib Nazm about using APKMultiTool is already provided above
Alright Guys lets start :highfive:
STEP 1
Grab your SystemUI.apk and Decompile it.
STEP 2
Open SystemUI.apk/res/layout/tw_status_bar_expanded.xml with Notepad+
Find
Code:
[COLOR="Blue"]<com.android.systemui.statusbar.policy.ToggleSlider[/COLOR]
Before the end tag of this linear layout Just add the below code
Add
Code:
[COLOR="Red"]<include layout="@layout/akky_ltoggles" />[/COLOR]
So your final code for com.android.systemui.statusbar.policy.ToggleSlider will be
Code:
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="56.0dip">
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/brightness" android:layout_width="fill_parent" android:layout_height="55.0dip" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" />
[COLOR="Red"]<include layout="@layout/akky_ltoggles" />[/COLOR]
</LinearLayout>
It should look like this
Screenshot
So, basically what we have done in the above steps is that we have commanded to add a new file for our lollipop style toggle.
STEP 3
Download akky_ltoggles.xml.
Open the folder SystemUI.apk/res/layout And simply paste akky_ltoggles.xml
STEP 4
Compile the SystemUI.apk
Put it into a flashable zip and flash it Or use a root explorer file manager to push it into your system apps.
DOWNLOAD : akky_ltoggles.xml
Note: It's tested on Samsung device. Try this at your own Risk. I'm not responsible for any abnormal behavior after doing the above steps.
SCREENSHOTS
Before
After
Click to expand...
Click to collapse
bro im not able to recompile my apk its givin me a lot of errors can u help me ??
or can u do this for me if i give u my systemUI_ESS.apk and framework.res ??? my device doesnt have systemui.apk only systemUI_ESS.apk is there
I don't have the file tw_status_bar_expanded.xml
I don't have the file tw_status_bar_expanded.xml at the location SystemUI.apk/res/layout/tw_status_bar_expanded.xml
I followed all your steps but couldnt find a file named tw_status_bar_expanded.xml at the location specified. I only have a status_bar_expanded.xml file and I have uploaded a screenshot of all the files that start with "tw_" name.
I am using a Galaxy Note 3 10.1 (GT-N8000) Rooted using Kingo Root.
Please reply As Soon as possible.
hi
can anyone help me? I can't get through step 3:crying:
btw..... i'm just a kid:angel:
Boss can you please make me a lollipop system ui for my g360h
Sent from my SM-G360H using XDA-Developers mobile app
Is the reverse possible?
Is the reverse of this possible? KITKAT style notification drawer in lollipop 5.1.1 ?? I am running CM12.1 in my yu yureka plus ...
But why...
Sayak44 said:
Is the reverse of this possible? KITKAT style notification drawer in lollipop 5.1.1 ?? I am running CM12.1 in my yu yureka plus ...
Click to expand...
Click to collapse
I have no idea. btw, why would you even want to do that?
bricklol said:
I have no idea. btw, why would you even want to do that?
Click to expand...
Click to collapse
I like the KITKAT one better....
Well, that could come in handy.
Thanks
bricklol said:
I don't have the file tw_status_bar_expanded.xml at the location SystemUI.apk/res/layout/tw_status_bar_expanded.xml
I followed all your steps but couldnt find a file named tw_status_bar_expanded.xml at the location specified. I only have a status_bar_expanded.xml file and I have uploaded a screenshot of all the files that start with "tw_" name.
I am using a Galaxy Note 3 10.1 (GT-N8000) Rooted using Kingo Root.
Please reply As Soon as possible.
Click to expand...
Click to collapse
Edit the status_bar_expanded.xml, it should work.
I don't have a tw_status_bar_expanded.xml file but I do have a somc_status_bar_expanded.xml and tatus_bar_expanded.xml file, but neither of them have the code '<com.android.systemui.statusbar.policy.ToggleSlider' in them. Do I put the code in one of these files? If so, which file?
I have a Xperia Z1 Compact with kitkat 4.4.4 stock rom. If that helps.
Thanks
---------- Post added at 15:59 ---------- Previous post was at 15:55 ----------
bricklol said:
I don't have the file tw_status_bar_expanded.xml at the location SystemUI.apk/res/layout/tw_status_bar_expanded.xml
I followed all your steps but couldnt find a file named tw_status_bar_expanded.xml at the location specified. I only have a status_bar_expanded.xml file and I have uploaded a screenshot of all the files that start with "tw_" name.
I am using a Galaxy Note 3 10.1 (GT-N8000) Rooted using Kingo Root.
Please reply As Soon as possible.
Click to expand...
Click to collapse
Did you manage to get anywhere with this?
Thanks
Very helpful but when i try to open the xml files in N++ it looks different from your post
SS attached
NearDN said:
Very helpful but when i try to open the xml files in N++ it looks different from your post
SS attached
Click to expand...
Click to collapse
you should decompile it with apktool if you dont xml files doesn't opening
link is broken ?
Link not working
Link not working
fix it
Can't download akky_ltoggles.xml
I can't download akky_ltoggles.xml. could someone reupload it?