[Guide]Change Recent Apps panel button - Galaxy Ace S5830 Android Development

after some playing with some files i had figured out something fun
when you long press home button
you will see a popup panel like this
{
"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"
}
as you know when you press the big button with task manager on it you would be directed to the taskmanager
well ive figured out how to change that to any other app like you want * NOTE you will need to play with some codes Also This is For SAMSUNG roms only *
Files to Mod
1) Android.policy.jar -> smali\com\android\internal\policy\impl\RecentApplicationsDialog.smali
2) Framework-res.apk ->
layout/recent_apps_dialog.xml
values/Strings.xml
values/public.xml
1)Decompile Android.Policy.jar
go to android.policy.jar.out\smali\com\android\internal\policy\impl
then open the RecentApplicationsDialog.smali
and find
# static fields
Click to expand...
Click to collapse
then under it find
.field public static final INTENT_ACTION_JOB_MANAGER:Ljava/lang/String; = "com.sec.android.app.controlpanel.MAIN"
Click to expand...
Click to collapse
the com.sec.android.app.controlpanel.MAIN is the thing we will need to change since this is the APK package name of taskmanager menu
i will be changing the button to redirect to my Music Player app. so when i press it will be going to music player
my APK packagename of music player is com.android.music.PLAYBACK_VIEWER
so we will need to change
.field public static final INTENT_ACTION_JOB_MANAGER:Ljava/lang/String; = "com.sec.android.app.controlpanel.MAIN"
Click to expand...
Click to collapse
To
.field public static final INTENT_ACTION_JOB_MANAGER:Ljava/lang/String; = "com.android.music.PLAYBACK_VIEWER"
Click to expand...
Click to collapse
so if we have done that we go to next step
Find
.method private isJobManagerInstalled()Z
Click to expand...
Click to collapse
under it find
const-string v3, "com.sec.android.app.controlpanel.MAIN"
Click to expand...
Click to collapse
change com.sec.android.app.controlpanel.MAIN to com.android.music.PLAYBACK_VIEWER
so it will be like
const-string v3, "com.android.music.PLAYBACK_VIEWER"
Click to expand...
Click to collapse
Now find
const-string v7, "com.sec.android.app.controlpanel.MAIN"
Click to expand...
Click to collapse
and again change
const-string v7, "com.sec.android.app.controlpanel.MAIN"
Click to expand...
Click to collapse
to
const-string v7, "com.android.music.PLAYBACK_VIEWER"
Click to expand...
Click to collapse
Now we are Finished With the button assignement
*Note * you can change the app to anything else you want
just decompile the wanted apk and check android.manifest.xml and look for the packagename and maybe also wich layout you want like go to music UI or Music Browser etc
Now Compile Android.Policy.jar
2) Now we go and change the taskmanager text inside
Framework-res.apk
open
recent_apps_dialog.xml
Click to expand...
Click to collapse
and search for
<Button android:textAppearance="?textAppearanceMedium" android:layout_gravity="center" android:id="@id/zzz_button_job_manager_second " android:layout_width="242.0dip" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:text="@string/job_manager" />
Click to expand...
Click to collapse
*NOTE* this code can be little diffrent
what we are going to do is modify the
android:text="@string/job_manager"
Click to expand...
Click to collapse
now its going to be a little tricky we will need to open
values/Strings.xml
Click to expand...
Click to collapse
values/Public.xml
Click to expand...
Click to collapse
keep the
recent_apps_dialog.xml
Click to expand...
Click to collapse
open
Search in Public.xml for
job_manager
Click to expand...
Click to collapse
you will see something like
<public type="string" name="job_manager" id="0x01040438" />
Click to expand...
Click to collapse
we will need to change the
job_manager
Click to expand...
Click to collapse
to anything else like i want music player so i do
music_playerui
Click to expand...
Click to collapse
so it will be
<public type="string" name="music_playerui" id="0x01040438" />
Click to expand...
Click to collapse
now go to Strings.xml and add
<string name="music_playerui">Music Player</string>
Click to expand...
Click to collapse
*NOTE* u need to change the music_playerui inside the string tag to the same name as you have entered in the public.xml
this will link to each so it will work perfectly
Now for the last part we will be going back to
recent_apps_dialog.xml
Click to expand...
Click to collapse
again
and change
android:text="@string/job_manager"
Click to expand...
Click to collapse
to
android:text="@string/music_playerui"
Click to expand...
Click to collapse
do this for both
android:text="@string/job_manager"
Click to expand...
Click to collapse
*i have 2 in my recent_apps_dialog.xml *
Now compile the framework-res.apk
And Youre ready to use
*NOTE* test it first since you may need to change the packagename files to others when it isnt working correctly
Post your result below with a screenie if possible

I will try to help you all as much possible
Please Use apktool
so if you have problems while compiling i can see the error properly

* Here i will post my Flashable Zip package for user to replace it with there own files
also i will upload a premade mod with my Music Player edit
So you can compare what i did *
Replace with your own files -> Download Here
How to place your files in the zip
1) Extract the zip
2) Go to the framework folder wich is inside system
3) Then put your files in it * Android.Policy.jar and Framework-res.apk
4) Then go back to the folder where u see
META-INF
System
5) Select them both and press archive
6) Then type a name and press zip
7) DONT compress the zip
XWKTR -> Download Here
How to Flash ?
1) Mount System
2) Mount Data
3) Install ZIP From SD Card
4) Reboot

1st nice guide dude!!!
Sent from my GT-S5830 using xda app-developers app

TechNoJerky said:
1st nice guide dude!!!
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
thanks

Post a screenie Mate! :b

Awesome!! Great guide Robinz

Nice, but I think you had too much free time..

Peteragent5 said:
Nice, but I think you had too much free time..
Click to expand...
Click to collapse
Lol
Sent from my GT-S5830 using xda premium

Great guide
Controversies,controversies everywhere :what:

Cool Guiide Robin can you make recent apps popup screen bigger to hold more than 6 apps as in CM Roms

Ahmed hamouda said:
Cool Guiide Robin can you make recent apps popup screen bigger to hold more than 6 apps as in CM Roms
Click to expand...
Click to collapse
thats possible
will look into it later
i have found some lines that just needs 0x8 to 0x16
etc

thanks for this guide ;D
is there a possibility we can copy paste the taskmanager smali twice and rename it so we can have 2 buttons in recents view >
like 1 for taskmanager and 1 for Settings ?

is there any way that 2 buttons can be added? like task manager and one more...

U
lokeshsaini94 said:
is there any way that 2 buttons can be added? like task manager and one more...
Click to expand...
Click to collapse
Ive been exploring it
And i think yes
Maybe by making new .methods
And instead of taskswitcher method add
Custom method
But it is possible for sure

Unlimited recent apps (i don't try it on Ace)
http://forum.xda-developers.com/showthread.php?t=1902411
SpaceCaker said:
U
Ive been exploring it
And i think yes
Maybe by making new .methods
And instead of taskswitcher method add
Custom method
But it is possible for sure
Click to expand...
Click to collapse
I think it would editing xml (to add new button) and new method (like task manager button).

_FroX_ said:
Unlimited recent apps (i don't try it on Ace)
http://forum.xda-developers.com/showthread.php?t=1902411
I think it would editing xml (to add new button) and new method (like task manager button).
Click to expand...
Click to collapse
Jup
Will try tgat unlimuted task switch mode
But we since we run gb
We need to add unlimited IDs for the layout since we only have 6 /8ids
While on ics it loads tasks whole differently
Sent from my ST25i using xda app-developers app

Robin, check pm

Related

[TUTORIAL] [4.1+] [UPDATE :- 20.01.2014] Make 5 Button Navigation Bar Mod

:laugh: XDA PORTAL :laugh:
Click to expand...
Click to collapse
{
"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"
}
Friends
Here is a Little Tutorial for making a 5 Button Navigation Bar mod. This tutorial should work in all sony devices that running Android version 4.1 and above. Tested in 4.4.4 too. Works well.
Lets Begin
Click to expand...
Click to collapse
U all know that the Default Navigation Bar comes with only 3 Buttons. Back , Home and Recent Apps. So this little tutorial will help u to add extra two buttons (Very useful at some times) to the Navigation bar. One is Power Button and Next is Menu Button.
Things Needed:-
Click to expand...
Click to collapse
One PC
Little Knowledge of Decompiling, Editing XML Files and Signing Apks
Notepad ++
Some Brains :silly:
Note :- U can get the Notepad++ and Apktool for De compiling from here. Also there is a nice tutorial too..
http://forum.xda-developers.com/showthread.php?t=2195680
Click to expand...
Click to collapse
.
(1) Decompile ur SystemUI.apk and go to res/drawable-xxhdpi folder.Then download ,extract and move the " TWO " attached pngs to that folder. It will ask for replace. Click yes. Do the same in “drawable-xhdpi“ folder too. Not necessary. But just do.
For Device With XHDPI Add the Pngs to XHDPI Folder
For Device With HDPI Add the Pngs to HDPI Folder
(2) Then go to res/values folder and find ids.xml file. Open it with Notepad++ ( Right Click and then Edit With Notepad++ ) . Then add this line at the end
false
false
Click to expand...
Click to collapse
Save it and close it.
(3) Now go to res/values/strings.xml and add this line at the end
Lock
Click to expand...
Click to collapse
save the xml file and close it..
(4) Then go to res/layout and find navigation-bar.xml and open it with Notepad++. U can find this
Just delete the marked lines and paste these lines to there
Click Here
Then save it and scroll down and u will see this
Just delete the marked lines and paste these lines there
Click Here
Save it and close the xml file
(5) Recompile and sign the SystemUI.apk and use it.. U will get 5 Button Navigation Bar…:good::good::good:
Credit :
@sandy7 for Basic Tips
DOWNLOADS
(1) View attachment Power_Button_XXHDPI.zip
(2) Power Button for XHDPI Devices. http://d-h.st/tkg Thanks to My Brother @DaRk-L0rD
The much needed guide bro.
Thanx to u for posting it
dipesh1502 said:
The much needed guide bro.
Thanx to u for posting it
Click to expand...
Click to collapse
U are welcome my bro
iamkani said:
Is it working on Stock rom??
From Xperia Z LTE (C6603) by Kaniboy
Click to expand...
Click to collapse
Yes it will. But u need a deodexed stock rom for that.. Because this mod needs deodexed apks
iamkani said:
Okay... im on it. but u hv to help me...
From Xperia Z LTE (C6603) by Kaniboy
Click to expand...
Click to collapse
Sure no problem.. Always happy to help
iamkani said:
Ill upload u my system ui.. Will u do that for meee
From Xperia Z LTE (C6603) by Kaniboy
Click to expand...
Click to collapse
Yes sure
hello razeev bro,
Does this work with Pac rom ? :cyclops:
mnzel said:
hello razeev bro,
Does this work with Pac rom ? :cyclops:
Click to expand...
Click to collapse
Nope it will not....
But u can try...
change buttons
How you can change the order of the buttons?
mohoram said:
How you can change the order of the buttons?
Click to expand...
Click to collapse
Changes the lines navigation-bar.xml that i provided...
Rajeev said:
Changes the lines navigation-bar.xml that i provided...
Click to expand...
Click to collapse
You mean the order of the text?
each button are two lines of program, right?
mohoram said:
You mean the order of the text?
each button are two lines of program, right?
Click to expand...
Click to collapse
Yes.. Absolutely
Hi @iamkani bro
Try this 5 Button Mod for Stock Deodexed ROM. I dont have my XZ to Test. So test this and Report with A Screen Shot... :good:
Regrads
Rajeev
works!
JediRAMA said:
works!
Click to expand...
Click to collapse
Then press the Thanks button for my work my Friend.. :thumbup:
Rajeev said:
TUTORIAL – ADDING 5 BUTTONS MOD IN NAVIGATION BAR
Friends
Here is a Little Tutorial for making a 5 Button Navigation Bar mod. I know some of you are already knows this. So if u already knows this means leave it. This is for new Friends.
Click to expand...
Click to collapse
I was able to use your tutorial and code to make a four button navi bar. I appreciate your time and effort.
Trucifix said:
I was able to use your tutorial and code to make a four button navi bar. I appreciate your time and effort.
Click to expand...
Click to collapse
Thanks my friend... Hope u like it
Screen Shoot
iamkani said:
wait..................... i am testing....................................
Click to expand...
Click to collapse
DID IT WORK? I will also try it out my self. Do I wipe cache, dalvik cache, flash, and wipe cache again. reboot?
std396 said:
DID IT WORK? I will also try it out my self. Do I wipe cache, dalvik cache, flash, and wipe cache again. reboot?
Click to expand...
Click to collapse
No need to do any wipes.
Rajeev said:
Hi @iamkani bro
Try this 5 Button Mod for Stock Deodexed ROM. I dont have my XZ to Test. So test this and Report with A Screen Shot... :good:
Regrads
Rajeev
Click to expand...
Click to collapse
I flashed the zip file via cwm. I wiped cache, and dalvik cache, flashed the zip. Still didn't get 5 button navigation bar, I still just have the home, back, and small apps icon. Did I do something wrong? Ps I have deodex 67 stock rom. I want to have 5 buttons so bad.
Sent from my C6603 using XDA Premium 4 mobile app

[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?

[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

[GUIDE] LED FIX in Custom roms

This guide is for P1 users,who use custom roms / like Tesla, AICP, AEX etc./
Maybe working on Stock rom but not tested.​
1. You need download the LightFlow app to your phone.
2. Go to Settings, then Device Settings and Root, here enable Direct mode, and Root 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"
}
Click to expand...
Click to collapse
3. Again Settings, then LED Control, go down and enable rgbled control, and test-led control.
Click to expand...
Click to collapse
4. Restart app.
5. Go to Notification Settings, and add your app at the bottom right corner/ for u want the led work/.
Click to expand...
Click to collapse
Press the 3 circle on the right then go to Light and edit the rgbled brgithness to 255.
6. Swipe the display right or left and go to Tools, and backup your settings.
7. Get a texteditor, and open your backup.txt
8. Go down a much, and search your appname.
Click to expand...
Click to collapse
9. Edit the led_flash_setting=OFF to ON
10. Edit led_rgbled_brigthness=255 to 255 if you want red / 256256 if u want blue and 255256 if u want pink( 2 led is working same time here)
11. Edit led_rgbled_setting=OFF to SOLID
12. Edit light_out=3 to 1000000
13. Save.
14. Back to the app and Restore your Backup
15. Enjoy your LED.
After all, sorry for my broken english, i hope it was helpful.
do you suggest any free applicatons?
sampath.mende said:
do you suggest any free applicatons?
Click to expand...
Click to collapse
I didnt test any other app, u can try the free light flow.
Thanks I will definitely try that
very helpful my bro hot thanks for you
Can you suggest possible integration into ROM? So that manual process is not needed?
why so much worried about a paid apk
just google a shred version, there are plenty
ayazuddinkhan said:
why so much worried about a paid apk
just google a shred version, there are plenty
Click to expand...
Click to collapse
I buy all my apps, because the devs work hard on apps
:good::good::good::good::good:
Starchm said:
I buy all my apps, because the devs work hard on apps
Click to expand...
Click to collapse
Starchm said:
.
Click to expand...
Click to collapse
Unfortunately I'm not able to make use of this guide and make my LED work on my RR ROM 7.1.1 because after backing up the settings as per the instructions, I couldn't locate the values mentioned in this guide!.
SVR said:
Unfortunately I'm not able to make use of this guide and make my LED work on my RR ROM 7.1.1 because after backing up the settings as per the instructions, I couldn't locate the values mentioned in this guide!.
Click to expand...
Click to collapse
Why? go down in the backup file, it is a really big txt, btw u can drop it to pc and search on notepad++ thats easier ...
But before save u need to add the app what u want ...
Starchm said:
Why? go down in the backup file, it is a really big txt, btw u can drop it to pc and search on notepad++ thats easier ...
But before save u need to add the app what u want ...
Click to expand...
Click to collapse
Shall try on pc.!
SVR said:
Shall try on pc.!
Click to expand...
Click to collapse
Work?
Starchm said:
Work?
Click to expand...
Click to collapse
Hmm.. Didn't tried yet on PC.. Shall report as soon as I do it!
What is Application Version
EypCnn said:
What is Application Version
Click to expand...
Click to collapse
I use the latest notfree app.
Starchm said:
I use the latest notfree app.
Click to expand...
Click to collapse
Rgbled control, and test-led control. I'm not leaving
EypCnn said:
Rgbled control, and test-led control. I'm not leaving
Click to expand...
Click to collapse
What?
I've just been pointed to this thread, I'm altering the build to allow brightness values of 6 characters at the moment for a release due next week
I'll be in all the versions (free and paid) of the app
Starchm said:
I use the latest notfree app.
Click to expand...
Click to collapse
Hello, I couldn't find the values. ! What am I doing wrong?? Attaching the Backup file. Can you help.??

Categories

Resources