[Guide][Noob Friendly with Photos]Make Your Own Settings Section +Add Apps in it 28/4 - Sony Cross-Device General

Hello There ... And Welcome to my new GUIDE
What is this guide for ? Explain please
Guide Explain : You will make a section in Settings.apk and add what ever you want
Sample :
{
"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"
}
Note 1 : You Need to know how to decompile & compile ... See Here Pree Me
Note 2 : Download "Honami.xml" sample , Press Me .
..: Additional Edit :..​
..: First Part :..​
Adding Section id .​
Go to res/values , and open ids.xml .
Go to last line , and add this :
<item type="id" name="honami">false</item> Change "honami" to section id name ...."you ROM name" whatever you want ... but without BIG LETTERS !! & spaces ! .​
​
Photo :
..: Second Part :..
Adding Section name .
Go to res/values , and open strings.xml .
Go to last line , and add this :
<string name="honami_category">Personalization</string> replace between > < with your section name .
Photo :
..: Third Part :..
Adding Section icon .​
Go to res/drawable-xhdpi and add icon with 72 x 72 .... and name it as you want without BIG LETTERS & Spaces !!
Photo :
=============​
..: Adding Section :..​
Ok ... Lets begin the hard work
First Thing see highlighted text ...
This is the section ....
Lets start ... Go to res/xml/settings_headers.xml
open it and see above " <header android:title="@string/header_category_advanced" /> "
Add this code
This is " Section Code "
<header android:icon="@drawable/honami" android:id="@id/honami" android:title="@string/honami_category1" android:fragment="com.sonymobile.settings.GenericSettingsFragment">
<extra android:name="extra_after_title" android:value="data_usage_settings" />
<extra android:name="extra_fragment_preference_xml" android:value="honami" />
</header>
Click to expand...
Click to collapse
Ok for now .. we named the "Section" and we put an 'id" for it ... and we added an "icon" for it ...
Now we have to name the "Section Header"
Go to res/values/strings.xml
open it and go to the last line ... and add this :
<string name="header_name">Honami Style Mode</string>
Click to expand...
Click to collapse
Change between > < to whatever you want ...
Photo :
and go back to "Settings_Headers.xml" and add this code above "Section Code" :
<header android:title="@string/header_name" />
We have named the "header" now its time to edit the "Section Code"
android:icon="@drawable/honami" change after " / " with section icon name that you have added .
android:id="@id/honami" change after " / " with section id that you have added .
android:title="@string/honami_category1" chnage after " / " with section name ... section name not header name ! that you have added in Strings.xml .
android:value="honami" change after " / " with section code ... like i named it honami ... name it what ever code you want ... ​
​
Photo :
=============​
..: Adding Apps in Section :..​
Ok .... We are going to make section.xml file .... to put apps in it ...
You Remember that we put "id + name" those id + name for section.xml ....
So now lets start
I put a download link for sample.xml .... copy it and move it to xml folder ... and rename it to "id name" that you put in "values/ids.xml" file .
Now ... what to edit ?
<com.sonymobile.settings.preference.PreferenceCategory android:title="@string/honami_apps_section1">
This is Section name .... first section name ...
You should add it to strings ... so go to strings.xml and add this code to the last line :
<string name="honami_apps_section1">Change it to apps section name</string> change it to whatever you want .
<com.sonymobile.settings.preference.IntentPreference android:icon="@drawable/ic_sms" android:title="@string/app titl
<intent android:targetPackage="app package" android:action="android.intent.action.MAIN" android:targetClass="app activty" />
android:icon ... this is "app icon" ... you must add icon for the app .... add it to "drawable-xhdpi" folder ..
So .. change "ic_sms" to icon name ...
android:title .. this is app name ... as i explained above ... you must add string code to strings.xml .
android:targetPackage ... this is app package ... to know it .. you must decompile the app you want to add in the section ...
you will see it in AndroidMainFest.xml file ....
android:targetClass ... this is app activity ... it may be like "com.blabla.bla.MainActivity"
Or like this ".MainActivity"
If it like the second way ... you need to add "App package before it"
Example : "apppackage.mainactivity" ===> "com.blabla.bla.mainactivity" .
<com.sonymobile.settings.preference.PreferenceCategory android:title="@string/honami_category2">
this is second apps section ... mode it as above ...
if you want only one section !
Delete this :
<com.sonymobile.settings.preference.PreferenceCategory android:title="@string/honami_category2">
<com.sonymobile.settings.preference.IntentPreference android:icon="@drawable/ic_sms" android:title="@string/app titl
<intent android:targetPackage="app package" android:action="android.intent.action.MAIN" android:targetClass="app activty" />
</com.sonymobile.settings.preference.IntentPreference>
</com.sonymobile.settings.preference.PreferenceCategory>
Click to expand...
Click to collapse
If you want another section ...copy this ...
<com.sonymobile.settings.preference.PreferenceCategory android:title="@string/honami_category2">
<com.sonymobile.settings.preference.IntentPreference android:icon="@drawable/ic_sms" android:title="@string/app titl
<intent android:targetPackage="app package" android:action="android.intent.action.MAIN" android:targetClass="app activty" />
</com.sonymobile.settings.preference.IntentPreference>
</com.sonymobile.settings.preference.PreferenceCategory>
Click to expand...
Click to collapse
And replace "string/honami_category2" with "string/honami_category3"
Photo :​
=============​
Another Related Guide ... you can try "How to add logo in About Phone" method .. and add logo to the section ...
See the Guide here : Press Me

nice mate
keep it up

alkasser011 said:
nice mate
keep it up
Click to expand...
Click to collapse
Thanks bro ...

Good job!
Some screenshots would be helpful for the visual learners out there :good:

SammiSaysHello said:
Good job!
Some screenshots would be helpful for the visual learners out there :good:
Click to expand...
Click to collapse
I will add some screenshots
Sent from my Xperia Acro S using Tapatalk

SammiSaysHello said:
Good job!
Some screenshots would be helpful for the visual learners out there :good:
Click to expand...
Click to collapse
Added Bro

Hey @abo hani, I'm following your guide.
Succesful, but my new section doesn't show anything (only blank section) :confused

MT27i said:
Hey @abo hani, I'm following your guide.
Succesful, but my new section doesn't show anything (only blank section) :confused
Click to expand...
Click to collapse
Send me screenshot of your settings_header.xml + section xml file
Sent from my Xperia Acro S using Tapatalk

Thanks for Helpful guide

Naufal Sidik said:
Thanks for Helpful guide
Click to expand...
Click to collapse
Welcome mate

Excellent work and thanks for the lesson :good:

Related

[Guide] How to add banner in "About Phone" | Noob friendly

Hello folks .... I’ve backed to xda after a looong time because exams
My new TUT for adding logo in "About Phone" .
Inspired by this THREAD
Credits :
@gravtec for inspiring big thanks for you bro .
What you need ? :
Latest APKTOOL package .
A brain .
PC .
Knowledge in decompiling and recompiling .
Lets start the GUIDE !
Resources
APKTOOL here .
Image Resolution : 700*215 .
Guide​
First Part​
Decompile Settings
Go to res/Layout folder
Download this file
paste it in Layout folder
Second Part​
Copy the image to res/drawable folder
Rename it to logo and it must be "PNG" !
EX: logo.png
Click to expand...
Click to collapse
Third Part​
Go to res/xml
open device_info_settings.xml
Add this
<PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
Click to expand...
Click to collapse
after this line
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
Click to expand...
Click to collapse
EX :
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
Click to expand...
Click to collapse
SAMPLE
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
IF you see this Guide useful ... Hit thanks
Reserved for future
More things will add for this feature
Does this works only in Sony Devices ?
laura almeida said:
Does this works only in Sony Devices ?
Click to expand...
Click to collapse
I am wondering about that to
laura almeida said:
Does this works only in Sony Devices ?
Click to expand...
Click to collapse
No, it can works perfectly on another devices as well. That thread was created on Sony forum, but can be usable on you Galaxy s3. Cheers!
laura almeida said:
Does this works only in Sony Devices ?
Click to expand...
Click to collapse
Is supposed to work in all devices just becouse it is android CODE for all phone
Wow, this seems surprisingly simple enough. Can't wait to try this.
Help
Friend did not understand the tutorial ... can add some images!
Umm... this is basically the same as making ANY layout change in any Android application .
You don't have to do this in just Settings! This can be done in ANY app.
However, this resolution will be different in different devices like XXHDPI, XHDPI, and the XXXHDPI on the uber resolution devices. You really should just look at the border sizes (typically 10-20px per edge, depending on the resolution of the device.).
Oh, and don't forget to RESIGN the apk. Some devices may not play nice with an Altered Settings application that isn't signed with system-level keys.
That is all.
A problem: I don't have the red line in my settings
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
Click to expand...
Click to collapse
Help?
LeJolly said:
A problem: I don't have the red line in my settings
Help?
Click to expand...
Click to collapse
If you dont have it ... so no need to for it ... past the code after the first line
abo hani said:
If you dont have it ... so no need to for it ... past the code after the first line
Click to expand...
Click to collapse
Thanks, I kinda realized that and I can always restore a backup, but just wanted to make sure
abo hani said:
Hello folks .... I’ve backed to xda after a looong time because exams
My new TUT for adding logo in "About Phone" .
Inspired by this THREAD
Credits :
@gravtec for inspiring big thanks for you bro .
What you need ? :
Latest APKTOOL package .
A brain .
PC .
Knowledge in decompiling and recompiling .
Lets start the GUIDE !
Resources
APKTOOL here .
Image Resolution : 700*215 .
Guide​
First Part​
Decompile Settings
Go to res/Layout folder
Download this file
paste it in Layout folder
Second Part​
Copy the image to res/drawable folder
Rename it to logo and it must be "PNG" !
Third Part​
Go to res/xml
open device_info_settings.xml
Add this after this line
EX :
SAMPLE
IF you see this Guide useful ... Hit thanks
Click to expand...
Click to collapse
i followed your steps and modified my setting.apk but when i replace original settings.apk
it gave me bootloops........
Sir .. plsssssssss help me....
Vkas Raj said:
i followed your steps and modified my setting.apk but when i replace original settings.apk
it gave me bootloops........
Sir .. plsssssssss help me....
Click to expand...
Click to collapse
Did you drag Meta-Inf folder from original to modded one (you need to know how to decompile !)
laura almeida said:
Does this works only in Sony Devices ?
Click to expand...
Click to collapse
safariking said:
I am wondering about that to
Click to expand...
Click to collapse
herna said:
No, it can works perfectly on another devices as well. That thread was created on Sony forum, but can be usable on you Galaxy s3. Cheers!
Click to expand...
Click to collapse
kusanou said:
Wow, this seems surprisingly simple enough. Can't wait to try this.
Click to expand...
Click to collapse
Marília de Oliveira said:
Friend did not understand the tutorial ... can add some images!
Click to expand...
Click to collapse
werty100 said:
Is supposed to work in all devices just becouse it is android CODE for all phone
Click to expand...
Click to collapse
Its layout changes ... so it must work on all android devices
For the photo here you go :
http://forum.xda-developers.com/showthread.php?t=2560726
See examples
Cool!
Did in my Settings and everything worked. look at the picture below! Tested on Xperia Mini Pro Sk17a - with custom rom based on ics firmware 587. I hope more new stuff! Nevertheless, Keep your work. Thank you :good:
When i click on About Phone my Settings force close
▶theDr0idman◀ said:
When i click on About Phone my Settings force close
Click to expand...
Click to collapse
Send me your settings.apk I do for you
Sent from my SK17a using XDA Free mobile app
Marília de Oliveira said:
Send me your settings.apk I do for you
Sent from my SK17a using XDA Free mobile app
Click to expand...
Click to collapse
I have sent you a PM
▶theDr0idman◀ said:
When i click on About Phone my Settings force close
Click to expand...
Click to collapse
You may did a wrong editing in About Settings XML .
Sent from my LT26w using Tapatalk

[Guide][TUT] Animation in Honami framework-res

Hey , guys actually i'm new , i do not have so much knowledge, and also my english is very awful
So,if somewhere you don't understand ,just tell me , thanks​
Let's see what i'll teaching you today
picture prview
Android Defaul
{
"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"
}
Honami style
It's used for unknown progress,and honami styles spinner by a lot of pictures , so you can replace it by yourself
for example​
Seems like
So, here we go
1.Decompile framework-res.apk
2.Download resources
View attachment resources.zip
put file into drawable and drawable-hdpi
3.go to res\values\styles.xml open it with notepad2
search code
HTML:
progress_medium_holo
change to
HTML:
semc_progress_medium_holo
search code
HTML:
progress_small_holo
change to
HTML:
semc_progress_small_holo
search code
HTML:
progress_large_holo
change to
HTML:
semc_progress_large_holo
and add code before </resources>
HTML:
<style name="Widget.Holo.ProgressBar.ActionBar" parent="@style/Widget.Holo.ProgressBar">
<item name="indeterminateDrawable">@drawable/semc_progress_actionbar_holo</item>
</style>
seems like this
All right,Compile and enjoy it
there is a check Animation i still not figure out how does it work
If you interested,contact me
like it ? how about press thanks
nice job dude :good: .
do you also know how to change tab indicators ?
Can you post a guide for transforming it to Honami Framework Styles ?
XT-107 said:
nice job dude :good: .
do you also know how to change tab indicators ?
Click to expand...
Click to collapse
Your Poingt Being
abo hani said:
Can you post a guide for transforming it to Honami Framework Styles ?
Click to expand...
Click to collapse
Witch style ? I don't get it
ljg211314 said:
Your Poingt Being
Click to expand...
Click to collapse
i meant do you know how to port tab indicators ?
XT-107 said:
i meant do you know how to port tab indicators ?
Click to expand...
Click to collapse
you mean this ?
or this ?
ljg211314 said:
you mean this ?
Click to expand...
Click to collapse
yes
XT-107 said:
yes
Click to expand...
Click to collapse
it's simple , i'll try it , some resources in drawable and drawable-hdpi and styles.xml
I'll try to hack it right now
ljg211314 said:
it's simple , i'll try it , some resources in drawable and drawable-hdpi and styles.xml
I'll try to hack it right now
Click to expand...
Click to collapse
awesome dude , looking forward :good:
XT-107 said:
awesome dude , looking forward :good:
Click to expand...
Click to collapse
Here, there is txt file means to you need to change code in stylea.xml
If you still don't understand ,I will create a new guide tomorrow:silly:
View attachment 2879318
ljg211314 said:
Here, there is txt file means to you need to change code in stylea.xml
If you still don't understand ,I will create a new guide tomorrow:silly:
View attachment 2879318
Click to expand...
Click to collapse
thanks . i'll try now
XT-107 said:
thanks . i'll try now
Click to expand...
Click to collapse
W: Could not find sources
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:3659: error: Resource entry Widget.Holo.Light.ActionBar.TabView already has bag item background.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:1995: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:3662: error: Resource entry Widget.Holo.Light.TabWidget already has bag item tabLayout.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:1837: Originally defined here.
facing this problem
here's my style.xml
XT-107 said:
W: Could not find sources
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:3659: error: Resource entry Widget.Holo.Light.ActionBar.TabView already has bag item background.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:1995: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:3662: error: Resource entry Widget.Holo.Light.TabWidget already has bag item tabLayout.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:1837: Originally defined here.
facing this problem
here's my style.xml
Click to expand...
Click to collapse
delete the 1995 and 1837 line in your style.xml and try again
XT-107 said:
W: Could not find sources
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:3659: error: Resource entry Widget.Holo.Light.ActionBar.TabView already has bag item background.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:1995: Originally defined here.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:3662: error: Resource entry Widget.Holo.Light.TabWidget already has bag item tabLayout.
C:\AndroidMultitool\Decompiled_apk\framework-res\res\values\styles.xml:1837: Originally defined here.
facing this problem
here's my style.xml
Click to expand...
Click to collapse
Visit Here , A new guide by me
http://forum.xda-developers.com/crossdevice-dev/sony/guide-honami-style-tab-indicators-t2835607
Touchwiz
Ok i have to say...
Well done. Your theme-ing looks nice.
But is there anyone out there that is willing to share a TUT on how to theme 4.4.2 touchwiz framework?
Thanks in advance.
nice guide man thanks!
and congratulations your thread is on XDA PORTAL POSTS
To OP, @ljg211314, whatever image host that you used to post pictures in your threads & posts, it is down. So all the images in your threads & posts are not displayed. Hence, I request you to take necessary action so that the images in your threads & posts are displayed properly.
are this work with mm 6.0.1?

[TUT] [4.1+] Change Your Sony Xperia Device’s UI

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

[TUTORIAL][ICS][JB] How to create Theme

Hi Xda,
This is the second tutorial made ​​by me​
I would like to share with you my knowledge.
To decompile, sign and recompile files I using Advance ApkTool 3.0.0
Let's start!
1. Download this arhive View attachment eXperiaLOrange.apk.rar and extract eXperiaLOrange.apk from arhive in Advanced ApkTool 3.0.0 in OUT folder.
( See 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"
}
2. Now edit apktool.yml in eXperiaLOrange.apk
Change eXperiaLorange with the name you want for your theme!
( see screenshot )
3. Now go to res / values and open strings.xml. Change eXperia L Orange to name you want to appear in Theme Piker!
( see screenshot )
4. Now open colors.xml and change color code with you color code. For color codes visit this page http://www.color-hex.com/.
In Colors.xml change this code! Change code without #ff
( see screenshot )
5. Now change wallpapers in drawable-mdpi and drawable-land-mdpi with you wallpapers. Wallpapers must have the same size and .PNG
( see screenshot )
6. Now rename folder eXperiaLOrange.apk in Advanced ApkTool / OUT whith name you theme in apktool.yml
As you can see in the screenshot is the same name!
7. Recompile , Sign and put in system/ vendor / framework, set permision rw- r-- r-- and reboot!
8. DONE!
Sorry if you do not understand ... is the second tutorial made ​​by me!
If you like my tutorial please press Thanks button!:good:
help
Does it work it for new skin picker?
Can u port it to xperia e
appyrocks8325 said:
Does it work it for new skin picker?
Can u port it to xperia e
Click to expand...
Click to collapse
Is for stock 4.0.X and 4.1.X skin piker
@DanielFlorin what theme are u using on your pc ?
Matoxxi said:
@DanielFlorin what theme are u using on your pc ?
Click to expand...
Click to collapse
Dash Windows 8 Theme Here
Is there an apk tool that works on Ubuntu?
Thanks
Please before posting , search because the Tutorial was posted by me .
Sent From My Xperia Z1 Using Pure Xperia theme ???? .
Good Job guys... Thanks in advance. :good:
Sent from my GT-I9070 using XDA Premium 4 mobile app
Thanks.
DanielFlorin said:
Hi Xda,
This is the second tutorial made ​​by me​
I would like to share with you my knowledge.
To decompile, sign and recompile files I using Advance ApkTool 3.0.0
Let's start!
1. Download this arhive View attachment 2985800 and extract eXperiaLOrange.apk from arhive in Advanced ApkTool 3.0.0 in OUT folder.
( See screenshot )
2. Now edit apktool.yml in eXperiaLOrange.apk
Change eXperiaLorange with the name you want for your theme!
( see screenshot )
3. Now go to res / values and open strings.xml. Change eXperia L Orange to name you want to appear in Theme Piker!
( see screenshot )
4. Now open colors.xml and change color code with you color code. For color codes visit this page http://www.color-hex.com/.
In Colors.xml change this code! Change code without #ff
( see screenshot )
5. Now change wallpapers in drawable-mdpi and drawable-land-mdpi with you wallpapers. Wallpapers must have the same size and .PNG
( see screenshot )
6. Now rename folder eXperiaLOrange.apk in Advanced ApkTool / OUT whith name you theme in apktool.yml
As you can see in the screenshot is the same name!
7. Recompile , Sign and put in system/ vendor / framework, set permision rw- r-- r-- and reboot!
8. DONE!
Sorry if you do not understand ... is the second tutorial made ​​by me!
If you like my tutorial please press Thanks button!:good:
Click to expand...
Click to collapse
Excellent tutorial.
good job, but tittle seems miss leading
@DanielFlorin is this method work with 2011 Xperia ???? (arc,pro,mini,ray etc...)
abo hani said:
Thanks
Please before posting , search because the Tutorial was posted by me .
Sent From My Xperia Z1 Using Pure Xperia theme ???? .
Click to expand...
Click to collapse
And by me...
Thanks all
Your 500th thanks! You deserve it!
P.S.: Sorry for my bad english.
axxx007xxxz said:
Your 500th thanks! You deserve it!
P.S.: Sorry for my bad english.
Click to expand...
Click to collapse
Yeahh good!!
Sent from my D2303 using Tapatalk
@DanielFlorin: I think that you forgot this step:
Open AndroidManifest.xml with Notepad++ and edit the package name:
axxx007xxxz said:
@DanielFlorin: I think that you forgot this step:
Open AndroidManifest.xml with Notepad++ and edit the package name:
Click to expand...
Click to collapse
work without this step.
@DanielFlorin for ICS on 2012 devices only.
can support for cm7?

[Tutorial] Adding "Walkman" & "Movies" to Ultra Stamina Mode

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

Categories

Resources