[guide][how to get kitkat/jb/ics title bar on gb devices] - Galaxy Y GT-S5360 General

HOW TO GET KITKAT/JB/ICS TITLE BAR ON GINGERBREAD DEVICES​
THIS GUIDE IS TOTALLY MADE BY ME.
{
"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"
}
I KNOW THERE'S ALREADY A GUIDE FOR THIS BY SIR SPACECAKER. BUT THIS ONE IS TOTALLY DIFFERENT FROM THAT ONE. AND IN THIS GUIDE, THE TITLE BAR DOESN'T SCROLL WITH SCROLLING WINDOWS CONTENT
REQUIREMENTS:
1. APKTOOL
2. PC WITH JDK Installed.
3. framework-res.apk,twframework-res.apk, Services.jar,Settings.apk or any other apk you want to apply Kitkat/JB/ICS title bar to.
4. KNOWLEDGE ABOUT DECOMPILING, RECOMPILING, EDITING ETC(Don’t ask me how to do that. Use xda search options instead)
5. PATIENCE​IF YOU’VE ACCESS TO ALL THE REQUIRED STUFF, YOU CAN PROCEED WITH PROCEDURE.
HOW TO APPLY KITKAT/JB/ICS TITLE BAR IN SETTINGS
1. First decide which type of title bar you want in your Rom. Then download its zip from below(ICS, JB, OR KITKAT TITLE BAR).
2. Now decompile framework-res.apk.
3. Now extract the content of downloaded zip in decompiled framework-res.apk.
4. Now open /decompiled_framework-res.apk/res/values/styles.xml and add this above this line "</resources>"
Code:
<style name="Theme.sett" parent="@style/Theme">
<item name="windowTitleSize">@dimen/akrtb</item>
<item name="windowTitleStyle">@style/WindowTitlesettt</item>
<item name="windowTitleBackgroundStyle">@style/settt</item>
</style>
<style name="settt">
<item name="background">@drawable/djbtitle</item>
</style>
<style name="WindowTitlesettt">
<item name="textAppearance">@style/TextAppearance.WindowTitle.sett</item>
<item name="singleLine">true</item>
<item name="drawableLeft">@drawable/set_akr_m</item>
</style>
<style name="TextAppearance.WindowTitle.sett" parent="@style/TextAppearance">
<item name="textSize">19.0sp</item>
<item name="textStyle">normal</item>
<item name="textColor">#ffffffff</item>
</style>
<style name="Theme.sett_i" parent="@style/Theme">
<item name="windowTitleSize">@dimen/akrtb</item>
<item name="windowTitleStyle">@style/WindowTitlesettt_i</item>
<item name="windowTitleBackgroundStyle">@style/settt</item>
</style>
<style name="WindowTitlesettt_i">
<item name="textAppearance">@style/TextAppearance.WindowTitle.sett</item>
<item name="singleLine">true</item>
<item name="drawableLeft">@drawable/set_akr_i</item>
</style>
Now open /decompiled_framework-res.apk/res/values/dimens.xml and add this above this line "</resources>"
Code:
<dimen name="akrtb">50.0dip</dimen>
5. Now recompile framework-res.apk and install the new framework-res.apk again using "apktool if framework-res.apk" command in command prompt. and do same with "twframework-res.apk" using this "apktool if twframework-res.apk" command.
6. Now decompile Settings.apk and open /decompiled_Settings.apk/AndroidManifest.xml. after uses-permission codes, it looks like this (see pic below).
You have to add these highlightes codes in your AndroidManifest.xml in same place
Code:
android:theme="@android:style/Theme.sett_i"
android:theme="@android:style/Theme.sett"
7. Now recompile your Settings.apk and don’t forget to sign it because we have changed AndroidManifest.xml. Now you need to disable Signature verifications in your Services.jar otherwise Settings.apk will not work.
HOW TO DISABLE SIGNATURE VERIFICATIONS IN SERVICES.JAR
a. Decompile Services.jar and open /decompiled_Services.jar/smali/com/android/server/packagemanagerservice.smali and look for this code :
Code:
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)]
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1922
and modify it like this :
Code:
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)]
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1922
const/4 v6, 0x0
8. Now push all the three files(Settings.apk, framework-res.apk and Services.jar) in your Phone using adb, or by making flashable zip or by any means.
HOW TO APPLY KITKAT/JB/ICS TITLE BAR IN USER APPS
1. First Decompile the apk you want to have this title bar. Lets say “xyz.apk”
2. Now extract the downloaded folder in your decompiled apk.
3. Now open /decompiled_xyz.apk/res/values/Styles.xml and add this above this line
"</resources>"
Code:
<style name="Theme.akr.xyz" parent="@android:style/Theme">
<item name="android:windowTitleSize">50.0dip</item>
<item name="android:windowTitleStyle">@style/WindowTitleakr_xyz</item>
<item name="android:windowTitleBackgroundStyle">@style/akr_xyz</item>
</style>
<style name="akr_xyz">
<item name="android:background">@drawable/djbtitle</item>
</style>
<style name="WindowTitleakr_xyz">
<item name="android:textAppearance">@style/TextAppearance.WindowTitle.akr</item>
<item name="android:singleLine">true</item>
<item name="android:drawableLeft">@drawable/set_akr_m</item>
</style>
<style name="TextAppearance.WindowTitle.akr" parent="@android:style/TextAppearance">
<item name="android:textSize">19.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
4. Now open directory /decompiled_xyz.apk/res/drawable-ldpi/ and change "set_akr_m.png" with the png you want to be shown on title bar and make sure that your png size doesn’t exceed 40x36 pixels.
5. Now open /decompiled_xyz.apk/AndroidManifest.xml and add this code after <application as you did in case of Settings.apk.
Code:
android:theme="@style/Theme.akr.xyz"
6. Recompile and sign it now. And install it

waw look like actionbar sherlock
nice +1
EDIT Need Help
after recompile framework-res.apk
i have a little problem
framework.apk\res\values\styles.xml:1075: error: Error: No resource found that matches the given name (at 'windowTitleSize' with value '@dimens/arktb
i have add dimens in values but cannot recompile
and settings.apk too
i has instaling framework-res.apk and twframework also
and in service jar has different smali..
Code:
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1946
this is in my service jar
attachement added if u want to help me
thanks a lot

great going

plsss tell... how to change the title bar color..

Minions_Army said:
waw look like actionbar sherlock
nice +1
Click to expand...
Click to collapse
hi Minions_Army,
don't forget to share screenshot after it is done.
Edit : Minions_Army, kindly attatch twframework-res.apk too from your phone.
qromwel said:
great going
Click to expand...
Click to collapse
Thanks bro
kartik verma said:
plsss tell... how to change the title bar color..
Click to expand...
Click to collapse
Hi Kartik Verma,
Edit this .9.png to change title bar background --> akrtbld.9.png(placed in drawable-ldpi)

Akshay Kumar Raheja said:
hi Minions_Army,
don't forget to share screenshot after it is done.
Edit : Minions_Army, kindly attatch twframework-res.apk too from your phone.
Thanks bro
Hi Kartik Verma,
Edit this .9.png to change title bar background --> akrtbld.9.png(placed in drawable-ldpi)
Click to expand...
Click to collapse
ure using galaxy pocket?

Minions_Army said:
ure using galaxy pocket?
Click to expand...
Click to collapse
No its pocket duos.(s5302). Just upload your twframework-res.apk. I'll do it for you
EDIT : one more thing btw, check your framework-res.apk again. because in guide i've written to add "<item name="windowTitleSize">@dimens/akrtb</item>" but in your previous reply, you wrote "<item name="windowTitleSize">@dimens/arktb</item>". i think this is where the problem is. anyways, just try it and if it doesn't work, send me twframework-res.apk, i'll do it for you

Akshay Kumar Raheja said:
No its pocket duos.(s5302). Just upload your twframework-res.apk. I'll do it for you
EDIT : one more thing btw, check your framework-res.apk again. because in guide i've written to add "<item name="windowTitleSize">@dimens/akrtb</item>" but in your previous reply, you wrote "<item name="windowTitleSize">@dimens/arktb</item>". i think this is where the problem is. anyways, just try it and if it doesn't work, send me twframework-res.apk, i'll do it for you
Click to expand...
Click to collapse
thanks man
tw framework added

does the back function work?

Minions_Army said:
thanks man
tw framework added
Click to expand...
Click to collapse
Hi Minions_Army, please check your twframework-res.apk again because i think you've attached wrong twframework-res.apk. i tried 3 times to decompile Settings.apk with framework-res.apk and twframework-res.apk(given by you ofcourse) installed but it always shows resources problems with twframework-res.apk. kindly check again and upload correct twframework-res.apk.
AuliaYF said:
does the back function work?
Click to expand...
Click to collapse
hi AuliaYF,
no it doesn't support back button function on title bar.

good bro:laugh::good:

hi AuliaYF,
no it doesn't support back button function on title bar.
Click to expand...
Click to collapse
okay then nice guide btw :good:

Akshay Kumar Raheja said:
Hi Minions_Army, please check your twframework-res.apk again because i think you've attached wrong twframework-res.apk. i tried 3 times to decompile Settings.apk with framework-res.apk and twframework-res.apk(given by you ofcourse) installed but it always shows resources problems with twframework-res.apk. kindly check again and upload correct twframework-res.apk.
hi AuliaYF,
no it doesn't support back button function on title bar.
Click to expand...
Click to collapse
oh sorry
i forget about this...u must install framework res.apk ics/jb/kk before decompile settings

Minions_Army said:
oh sorry
i forget about this...u must install framework res.apk ics/jb/kk before decompile settings
Click to expand...
Click to collapse
here it is. hope it works
if it works, great and if not then inform me along with logcat. but i'm sure that i'll work
EDIT : and one more thing, i've removed framework-res.apk. just don't worry about. make a flashable zip with these files (Settings.apk and Services.jar) and flash it.

Akshay Kumar Raheja said:
here it is. hope it works
if it works, great and if not then inform me along with logcat. but i'm sure that i'll work
EDIT : and one more thing, i've removed framework-res.apk. just don't worry about. make a flashable zip with these files (Settings.apk and Services.jar) and flash it.
Click to expand...
Click to collapse
thanks
ure cool man

Minions_Army said:
thanks
ure cool man
Click to expand...
Click to collapse
Yeah. Working but one problem seems like i reversed the pngs lol
Anyways no need to worry. Just follow these steps.
1. Decompile your current Settings.apk
2. Go to /Decompiled_Settings.apk/res/drawable-ldpi/ and search for these two pngs (set_akr_i.png and set_akr_m.png)
3. Now rename set_akr_m.png to set_akr_i.png.
And rename set_akr_i.png to set_akr_m.png
4. Recompile again and push in /system/app/here.
Sorry for the trouble actually i was doing some other work too while modding your Settings.apk and i probably mixed it up. Lol

AuliaYF said:
okay then nice guide btw :good:
Click to expand...
Click to collapse
back button support would be easy to add though, we can modify the Activity title layout in framework and make new imagebutton code in java with a Back button intent inside and then it would be working on almost 99% of all apps.
Sent from my Acer S500 CloudMobile

SpaceCaker said:
back button support would be easy to add though, we can modify the Activity title layout in framework and make new imagebutton code in java with a Back button intent inside and then it would be working on almost 99% of all apps.
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
oh you're right! but do we need to put this to the activity?
Code:
<activity
android:name=".B"
android:label="B"
android:launchMode="singleTop">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.example.app_name.A" />
</activity>

SpaceCaker said:
back button support would be easy to add though, we can modify the Activity title layout in framework and make new imagebutton code in java with a Back button intent inside and then it would be working on almost 99% of all apps.
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
that's great sir. if it works, we can have original like action bar on gingerbread devices too :good:
btw sir sorry but i don't know what you're talking about. i'm just a kid and have enough knowledge about structures of apks, xmls, layouts and how it works etc but don't have much idea about smali coding. hope you can help me to make the guide more better
EDIT : one more question sir, if we edit the activity title layout in framework-res.apk to have a back button image with a java code with a back button intend inside. it will be shown on all apps activities(including main activity too). will it not create problems? i mean main activity will also have a back button title bar and if we press it, it'll close the app? isn't it like that?
so i was thinking if there's a way to make two activity title bar layouts. one which will work for main activity of apps and another one which will work for other activities of apps.

Akshay Kumar Raheja said:
that's great sir. if it works, we can have original like action bar on gingerbread devices too :good:
btw sir sorry but i don't know what you're talking about. i'm just a kid and have enough knowledge about structures of apks, xmls, layouts and how it works etc but have no idea about smali coding. hope you can help me to make the guide more better
EDIT : one more question sir, if we edit the activity title layout in framework-res.apk to have a back button image with an java code with a back button intend inside. it will be shown on all apps activities(including main activity too). will it not create problems? i mean main activity will also have a back button title bar and if we press it, it'll close the app? isn't it like that?
so i was thinking if there's a way to make two activity title bar layouts. one which will work for main activity of apps and another one which will work for other activities of apps.
Click to expand...
Click to collapse
the only way to do the 'back' thing is using NavUtils(), and if we put inside framework the context becomes framework's context, not the application's context, the activity title layout created by framework, not the application, i tried

Related

Procedure for altering xml files in Systemui.apk

I've been attempting to get into theming, one thing i'd like to do is make the notification background transparent like I've seen in some roms. However, I haven't been able to edit the xml files necessary. I've tried notepad++ and some xml editors but I'm just seeing garbled stuff. Would someone give me some pointers?
Thanks
Sent from my HTC One using Tapatalk 2
You need to decompile the apk before you can edit xml files. There are many ways to do this, APK Manager etc.
sensationfan623 said:
I've been attempting to get into theming, one thing i'd like to do is make the notification background transparent like I've seen in some roms. However, I haven't been able to edit the xml files necessary. I've tried notepad++ and some xml editors but I'm just seeing garbled stuff. Would someone give me some pointers?
Thanks
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=39289948
Thanks for the replies! This was great. Now I just need to figure out what to change to get what I want
sensationfan623 said:
Thanks for the replies! This was great. Now I just need to figure out what to change to get what I want
Click to expand...
Click to collapse
If your wanting the notification shade transparent you need to look in systemui/res/layout/statusbar_expanded.xml. Top line in the file just look for this
Code:
android:background="@*android:color/black"
replace it with
Code:
android:background="#88000000"
of course you need to change the code to what you want 88000000 is just a semi transparent color as an example. the 4.2.2 eqs is another story. I can tell you how to do that too if you want.
rayford85 said:
If your wanting the notification shade transparent you need to look in systemui/res/layout/statusbar_expanded.xml. Top line in the file just look for this
Code:
android:background="@*android:color/black"
replace it with
Code:
android:background="#88000000"
of course you need to change the code to what you want 88000000 is just a semi transparent color as an example. the 4.2.2 eqs is another story. I can tell you how to do that too if you want.
Click to expand...
Click to collapse
Thanks for this, always wanted to try that.
Hey Rayford,
Would it be possible to change the 'status_bar_close_on' on SystemUI to look
like the one on the GE roms, where it turns blue when pressed?
I know how to decompile and change stuff inside the apk.
Just not sure what to look for
Thanks
nightrainbow said:
Thanks for this, always wanted to try that.
Hey Rayford,
Would it be possible to change the 'status_bar_close_on' on SystemUI to look
like the one on the GE roms, where it turns blue when pressed?
I know how to decompile and change stuff inside the apk.
Just not sure what to look for
Thanks
Click to expand...
Click to collapse
I'm sure you could, but I've never tried it. Wouldn't know where to look
rayford85 said:
If your wanting the notification shade transparent you need to look in systemui/res/layout/statusbar_expanded.xml. Top line in the file just look for this
Code:
android:background="@*android:color/black"
replace it with
Code:
android:background="#88000000"
of course you need to change the code to what you want 88000000 is just a semi transparent color as an example. the 4.2.2 eqs is another story. I can tell you how to do that too if you want.
Click to expand...
Click to collapse
If you're offering sure! That would look cool
Sent from my HTC One using Tapatalk 2
Thanks for offering some advice.
Sent from my HTC One using Tapatalk 2
No problem I was lucky enough to have guys like @he_stheone64 putting out tutorials when I started theming
4.2.2 eqs go to layouts folder in systemui find quick_settings.xml & quick_settings_tile.xml & find the background tag like this
Code:
android:background="@drawable/notification_panel_bg"
change it to a transparent color like....
Code:
android:background="#99000000"
do the same thing in both xml's for the background tag.
last go to res/values/drawables.xml & find this
Code:
<item type="drawable" name="quick_settings_tile_background">#ff161616</item>
change to...
Code:
<item type="drawable" name="quick_settings_tile_background">#99000000</item>
that's it for transparent quicksettings.
This is a lot easier than the process of elimination I've been going through. I've always liked you Viper guys, had it on my One S.
Sent from my HTC One using Tapatalk 2
rayford85 said:
No problem I was lucky enough to have guys like @he_stheone64 putting out tutorials when I started theming
4.2.2 eqs go to layouts folder in systemui find quick_settings.xml & quick_settings_tile.xml & find the background tag like this
Code:
android:background="@drawable/notification_panel_bg"
change it to a transparent color like....
Code:
android:background="#99000000"
do the same thing in both xml's for the background tag.
last go to res/values/drawables.xml & find this
Code:
<item type="drawable" name="quick_settings_tile_background">#ff161616</item>
change to...
Code:
<item type="drawable" name="quick_settings_tile_background">#99000000</item>
that's it for transparent quicksettings.
Click to expand...
Click to collapse
For someone who is just starting this whole theming business, do your have any recommendations on where to start? I could just poke around like I have been, but some direction would speed up the learning process
Sent from my HTC One using Tapatalk 2
nightrainbow said:
Thanks for this, always wanted to try that.
Hey Rayford,
Would it be possible to change the 'status_bar_close_on' on SystemUI to look
like the one on the GE roms, where it turns blue when pressed?
I know how to decompile and change stuff inside the apk.
Just not sure what to look for
Thanks
Click to expand...
Click to collapse
Replace the .9 images and that should work. If not then you need to decompile both systemui.apk and put in the raw .9.png's of the GE one into the Sense one and compile it.. I would suggest Removing the carrier on the pulldown, should be located in the statusbarexpanded.xml I did a similar mod to my old Note II.
{
"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"
}
nightrainbow said:
Thanks for this, always wanted to try that.
Hey Rayford,
Would it be possible to change the 'status_bar_close_on' on SystemUI to look
like the one on the GE roms, where it turns blue when pressed?
I know how to decompile and change stuff inside the apk.
Just not sure what to look for
Thanks
Click to expand...
Click to collapse
Just had a very quick look, but you can try the following:
Look for status_bar_expanded.xml in layout
Search for
PHP:
android:id="@id/handle" android:background="@drawable/status_bar_close_on"
The reference for the bg here is to the png in xxhdpi folder. What you need to try is changing that bg reference to the status_bar_close.xml in drawables folder, which is still there in Sense version. The code in status_bar_close.xml in drawables folder will help you, since it will choose the resources based on the state, see the following code snippet. I`m just explaining this, so you understand what you are doing here. So no need to change anything in that xml.
PHP:
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/status_bar_close_on" />
<item android:drawable="@drawable/status_bar_close_off" />
</selector>
So change the code in status_bar_expanded.xml to:
PHP:
android:id="@id/handle" android:background="@drawable/status_bar_close"
Now also add a status_bar_close_off.9.png to xxhdpi folder and amend the status_bar_close_on.9.png how you want to see it (or grab both pngs from GE SystemUI, those are in xhdpi folder there). This makes sure you have both the resources for on and off state available, which are pulled now by status_bar_close.xml, since you refered to that xml as background in your layout file. I did not test it, since I`m out traveling since nearly 2 weeks now, so no time atm.
can the guide linked be used to hide the statusbar clock ?
he_stheone64 said:
Just had a very quick look, but you can try the following:
Look for status_bar_expanded.xml in layout
Search for
PHP:
android:id="@id/handle" android:background="@drawable/status_bar_close_on"
The reference for the bg here is to the png in xxhdpi folder. What you need to try is changing that bg reference to the status_bar_close.xml in drawables folder, which is still there in Sense version. The code in status_bar_close.xml in drawables folder will help you, since it will choose the resources based on the state, see the following code snippet. I`m just explaining this, so you understand what you are doing here. So no need to change anything in that xml.
PHP:
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/status_bar_close_on" />
<item android:drawable="@drawable/status_bar_close_off" />
</selector>
So change the code in status_bar_expanded.xml to:
PHP:
android:id="@id/handle" android:background="@drawable/status_bar_close"
Now also add a status_bar_close_off.9.png to xxhdpi folder and amend the status_bar_close_on.9.png how you want to see it (or grab both pngs from GE SystemUI, those are in xhdpi folder there). This makes sure you have both the resources for on and off state available, which are pulled now by status_bar_close.xml, since you refered to that xml as background in your layout file. I did not test it, since I`m out traveling since nearly 2 weeks now, so no time atm.
Click to expand...
Click to collapse
I'm going to try it
I'll let you know
Appreciate it

{HOW TO}{TEAM REJECTS}{Windows} Quick DECOMPILE/COMPILE MK4 (read the Blue Devs)

TEAM REJECTZ QUICK JB FIX
There are some xml's that are in the MK4 rom apk's with missing values. Like missing style lines in the systemUI that won't let you compile, but to fix this just go to the bottom of the xml and replace what ever line thats missing with the APKTOOLDummy line.
Example: layout/systembar --------> line 14 @style/missingline <------ go to style and change it with the @style/APKTOOLDUMMY (this is just an example)​
Since i did this for the E4GT and S3 i figured i would do the same here to get some more up in coming devs in here like in s3
went from a few devs to over 20+ rom and devs​
Works on KitKat​
1. You need to make sure you have the latest java
2. Download Notepad++ (google it) lol
3. Download the Team Rejectz Quick JB Fix (the latest one) which is linked below
Instructions Decompile/Recompile​
1. UNzip and place the JB Quick Fix Folder on your c: drive and name it apktool
2. Since this is TW/CM10/10.1/10.2 you should drag your framework-res.apk, twframework-res.apk, and systemUI.apk onto the apktool-if cmd file
3. Now time to decompile. You can actually drag your apk from where ever its located but i suggest you place them in the Quick Fix folder.
and drag and drop it on top of the Quick-Deompile cmd file
4. To get an error less decompile i prefer you to use the stock apk
5. Once the decompile process is done. you can go into the apks folder that was created and make your edits with notepad++
warning if you create to many edits that would cause an error. then begin the process over but do them one by one​
6. Now its time to recompile ^^^^^^^^^remember the warning^^^^^^^ drag and drop the apks folder on top of the Quick-Recompile cmd file
7. Now once your done go into the apks folder you should see dist folder. Your new compiled apk is located there. I prefer to just use the build folder and drag the things I need into the apk. Much easier. Also remember if any images has been added you need to make sure you drag the new arsc file because the public.xml may have been changed
8. Don't worry about signing the apk. All of your edits besides the ones in drawable folder will be in the resource.arsc file
9. Drag that file into the apk thats in the rom your editing
10. If you decide to edit the decompressed .9 images you can check my Team Rejectz Theme Cheat Sheet located >>>Here
Baksmali/Smali​
1. Grab the apk/jar file you want to edit
2. Drag the classes.dex file out of the apk/jar file
3. Drag and drop the classes.dex file onto the Quick-Baksmali cmd file
4. A smali folder will be created
5. Now you can make your smali edit inside of the smali folder and close and save them.
6. After the edits and save, drag and drop the smali folder on top of the Quick-Smali cmd file
7. You should now see a new file called new-classes.dex. rename it to classes.dex
8. Finally drag the classes.dex file into the original apk/jar you pulled it from
If this helped you in anyway just hit that thanks button thanks!!!!!!!!!!
Download:
Team Rejectz Quick JB Fix 2.5
Change Log
Quick Fix 2.5
Faster Compile times and Less errors
Updated to apktool 1.5.2, left the older ones in
Updated aapt to most recent
Updated baksmali/smali to 2.0
Just wanted to pop in and drop a thanks for all of your contributions brother!
Sent from my SPH-L900 using XDA Premium 4 mobile app
patrick_1 said:
Just wanted to pop in and drop a thanks for all of your contributions brother!
Sent from my SPH-L900 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
no problem, i added this so people who have things in a apk, the don't like. they can change it on there own and not have to keep asking a dev to change the color of something or image. Thanks for looking IN AND YOUR WELCOME
Updating my FTW Rom should be done by this week
{
"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"
}
lorjay589 said:
Updating my FTW Rom should be done by this week
Click to expand...
Click to collapse
Hell yeah! Been running this since it first dropped! Will the update be 4.3 based?
Android...A New Digital Revolution Of Incredible Developers
ianmb said:
Hell yeah! Been running this since it first dropped! Will the update be 4.3 based?
Android...A New Digital Revolution Of Incredible Developers
Click to expand...
Click to collapse
Yep MK4 4.3 based
lorjay589 said:
Yep MK4 4.3 based
Click to expand...
Click to collapse
That's F-N AWESOME! Guess I'll wait for this to drop so I don't have to do the whole un root and update stuff. Thanks for doing this!
God speed bro!
Android...A New Digital Revolution Of Incredible Developers
Lol just checking back in to see if the new rom dropped yet or maybe seeing if you need a Beta Tester lol
Sent from my SPH-L900 using xda premium
Great work !
Will all this stuff eventually be incorporated into a one zip flashable rom? I'm not experienced enough to do the instructions. I know how to back up, flash and titanium but the instructions listed in the OP are beyond me. I usually wait for a video to come around from wwjoshdew or someone and follow the steps. T.I.A. love the new update. I've done the 4.4 and "pure Google experience" etc... I have to admit I really like the TW features. There fun, funtional, makes using the phone easier and great ways to show off. This 4.3 update is very cool.
Sent from my SPH-L900 using xda app-developers app
lorjay589 said:
TEAM REJECTZ QUICK JB FIX
There are some xml's that are in the MK4 rom apk's with missing values. Like missing style lines in the systemUI that won't let you compile, but to fix this just go to the bottom of the xml and replace what ever line thats missing with the APKTOOLDummy line.
Example: layout/systembar --------> line 14 @style/missingline <------ go to style and change it with the @style/APKTOOLDUMMY (this is just an example)​​
Click to expand...
Click to collapse
The_Plattypus gets all credit for showing this to me;
Instead of replacing the lines with APK Dummies, the actual missing lines are ;
Code:
<style name="SystemBarNotificationText">
<item name="android:textSize">16sp</item>
<item name="android:textColor">#de </item>
</style>
<style name="SystemBarPanelSettingsRow">
<item name="android:paddingRight">16dp</item>
<item name="android:layout_height">64dp</item>
<item name="android:layout_width">match_parent</item>
<item name="android:orientation">horizontal</item>
<item name="android:background">?android:attr/listChoiceBackgroundIndicator</item>
</style>
<style name="SystemBarPanelSettingsIcon">
<item name="android:layout_height">match_parent</item>
<item name="android:layout_width">64dp</item>
<item name="android:scaleType">center</item>
</style>
<style name="SystemBarPanelSettingsContents">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">0dp</item>
<item name="android:layout_weight">1</item>
<item name="android:layout_gravity">left|center_vertical</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>
<item name="android:textSize">18sp</item>
</style>
<style name="SystemBarPanelSettingsPanelSeparator">
<item name="android:layout_marginRight">0dp</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">1dp</item>
<item name="android:background">@android:drawable/divider_horizontal_dark</item>
</style>
Confirmed systemUI will compile without errors on Lorjays stock deodexed.
Sent from my SPH-L900 using Tapatalk​
elijahbrown said:
<item name="android:textColor">#de </item>
Click to expand...
Click to collapse
This seems to make it toss an error for me.
C:\apktool\SystemUI\res\values\styles.xml:165: error: Error: Color value not val
id -- must be #rgb, #argb, #rrggbb, or #aarrggbb (at 'android:textColor' with va
lue '#de ').
Arjohns said:
This seems to make it toss an error for me.
C:\apktool\SystemUI\res\values\styles.xml:165: error: Error: Color value not val
id -- must be #rgb, #argb, #rrggbb, or #aarrggbb (at 'android:textColor' with va
lue '#de ').
Click to expand...
Click to collapse
Thats not color value, it has to be like this #ff000000 <--- which is black
lorjay589 said:
Thats not color value, it has to be like this #ff000000 <--- which is black
Click to expand...
Click to collapse
Yeah thats what I figured lol.
Arjohns said:
This seems to make it toss an error for me.
C:\apktool\SystemUI\res\values\styles.xml:165: error: Error: Color value not val
id -- must be #rgb, #argb, #rrggbb, or #aarrggbb (at 'android:textColor' with va
lue '#de ').
Click to expand...
Click to collapse
Makes sense that it would, though I'm not sure how it ended up in there. Just need to put in a valid hex color. #ff000000 being straight black, #ffffff pure white.
The error gives you a layout for putting in whatever color you want. aa = alpha (transparency) rr=red gg=green bb=blue in values from 0-9,a-f.
Keep in my mind you will probably never see these styles in a standard rom or theme so I wouldn't fret too much about getting the color just right.
Sent from my SPH-L900 using Tapatalk
elijahbrown said:
Makes sense that it would, though I'm not sure how it ended up in there. Just need to put in a valid hex color. #ff000000 being straight black, #ffffff pure white.
The error gives you a layout for putting in whatever color you want. aa = alpha (transparency) rr=red gg=green bb=blue in values from 0-9,a-f.
Keep in my mind you will probably never see these styles in a standard rom or theme so I wouldn't fret too much about getting the color just right.
Sent from my SPH-L900 using Tapatalk
Click to expand...
Click to collapse
Thanks. I am aware of the xml edits for colors as I used to pull image files and such from Mixer theme for CM. I was pushing them back to his cm 7 theme so that people running older devices (like I was at the time) could have his updates. Eventually I started playing with making a CM10 theme for personal use...dropped that real quick like, as I dont have the patience for it lmao. So I give any themer mad props. Also Lorjay, love the quick compile/decompile you gave out here. Makes things so much easier then manually typing it out in cmd.
Arjohns said:
Thanks. I am aware of the xml edits for colors as I used to pull image files and such from Mixer theme for CM. I was pushing them back to his cm 7 theme so that people running older devices (like I was at the time) could have his updates. Eventually I started playing with making a CM10 theme for personal use...dropped that real quick like, as I dont have the patience for it lmao. So I give any themer mad props. Also Lorjay, love the quick compile/decompile you gave out here. Makes things so much easier then manually typing it out in cmd.
Click to expand...
Click to collapse
Word. Didn't mean to make it seem like you needed the crash course (you probably wouldn't have gotten that far if you did.)
The original plan was to just edit the post but Tapatalk is not letting me change anything past what I quoted from Lorjay, so I just followed it up with fix for anybody reading the thread.
Sent from my SPH-L900 using Tapatalk
elijahbrown said:
Word. Didn't mean to make it seem like you needed the crash course (you probably wouldn't have gotten that far if you did.)
The original plan was to just edit the post but Tapatalk is not letting me change anything past what I quoted from Lorjay, so I just followed it up with fix for anybody reading the thread.
Sent from my SPH-L900 using Tapatalk
Click to expand...
Click to collapse
Oh no, I didnt mean anything with my post other than i figured that was the problem. I just assumed initially that maybe #de would call something like default or something lmao. Im always learning new stuff so I figured hell who knows what it does and tried it that way first. And your post definitely helped get SystemUI to compile. So I give you some thanks as well for helping out. Its been about a year since I used apktool or even tried to decompile/recompile anything, so luckily you two were here to save my arse :good:
@lorjay589 hi guys, can someone give me a link, the one in the post is dead

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

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Oke guys, I want to share how to make white setting on stock jb , actualy I make this guide for xperia L but it working to on xperia M cause same onstock Jb 4.2.2 ok lets guide !
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
first of all you need installed framework before try this guide
for installed framework
Code:
apktool if framework-res.apk
for installed sony framework
Code:
apktool if semcgenericuxpres.apk
Step One
Decompile settings.apk
Download THIS and extract then copy-paste all item on res/drawable-hdpi/
go to : res/value/style.xml and find this code :
Code:
<style name="Theme.Holo" parent="@*android:style/Theme.DeviceDefault " />
<style name="Theme.Holo.NoActionBar" parent="@*android:style/Theme.DeviceDefault.NoActionBar" />
<style name="Theme.Holo.NoActionBar.Black" parent="@*android:style/Theme.Holo.NoActionBar">
Change like this see red code :
Code:
<style name="Theme.Holo" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light[/COLOR]" />
<style name="Theme.Holo.NoActionBar" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.NoActionBar[/COLOR]" />
<style name="Theme.Holo.NoActionBar.Black" parent="[COLOR="Red"]@*android:style/Theme.Holo.Light.NoActionBar[/COLOR]">
Find this code :
Code:
<style name="Theme.Holo.Dialog" parent="@*android:style/Theme.DeviceDefault.Dialog" />
<style name="Theme.Holo.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.DialogWhenLarge" />
<style name="Theme.Holo.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert">
Change like this see red code :
Code:
<style name="Theme.Holo.Dialog" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.Dialog[/COLOR]" />
<style name="Theme.Holo.DialogWhenLarge" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge[/COLOR]" />
<style name="Theme.Holo.Dialog.Alert" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.Dialog.Alert[/COLOR]">
Now recompile and sign apk, step one done !
Step Two
Decompile SomcPhone.apk
go to : res/value/style.xml and find this code :
Code:
<style name="Theme.Settings" parent="@*android:style/Theme.DeviceDefault ">
Change like this see red code :
Code:
<style name="Theme.Settings" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light[/COLOR]">
Now recompile and sign apk
Note : if you get error on recompile SomcPhone, please delete this folder on SomcPhone.apk
Code:
values-mcc454-mnc1000
values-mcc454-mnc1000-zh-rCN
values-mcc454-mnc1000-zh-rHK
values-es-rUS
values-pt-rPT
Click to expand...
Click to collapse
Click to expand...
Click to collapse
And recompile again sign apk and Step two Done !
Step Three
Decompile framework-res.apk
Download THIS and extract then copy paste all item on res/drawable-hdpi/
Recompile Done !
Note : if you get error please read log.txt and share on this thread and I will help for fixing
Click to expand...
Click to collapse
Click to expand...
Click to collapse
All guide is Done ! now push it to your phone to the /system/app directory
And don’t forget press thanks button if this guide useful for you all!
Ashadin.com
reserved
AgungDaVici said:
Oke guys, I want to share how to make white setting on stock jb , actualy I make this guide for xperia L but it working to on xperia M cause same onstock Jb 4.2.2 ok lets guide !
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
first of all you need installed framework before try this guide
for installed framework
Code:
apktool if framework-res.apk
for installed sony framework
Code:
apktool if semcgenericuxpres.apk
Step One
Decompile settings.apk
Download THIS and extract then copy-paste all item on res/drawable-hdpi/
go to : res/value/style.xml and find this code :
Code:
<style name="Theme.Holo" parent="@*android:style/Theme.DeviceDefault " />
<style name="Theme.Holo.NoActionBar" parent="@*android:style/Theme.DeviceDefault.NoActionBar" />
<style name="Theme.Holo.NoActionBar.Black" parent="@*android:style/Theme.Holo.NoActionBar">
Change like this see red code :
Code:
<style name="Theme.Holo" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light[/COLOR]" />
<style name="Theme.Holo.NoActionBar" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.NoActionBar[/COLOR]" />
<style name="Theme.Holo.NoActionBar.Black" parent="[COLOR="Red"]@*android:style/Theme.Holo.Light.NoActionBar[/COLOR]">
Find this code :
Code:
<style name="Theme.Holo.Dialog" parent="@*android:style/Theme.DeviceDefault.Dialog" />
<style name="Theme.Holo.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.DialogWhenLarge" />
<style name="Theme.Holo.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert">
Change like this see red code :
Code:
<style name="Theme.Holo.Dialog" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.Dialog[/COLOR]" />
<style name="Theme.Holo.DialogWhenLarge" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge[/COLOR]" />
<style name="Theme.Holo.Dialog.Alert" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light.Dialog.Alert[/COLOR]">
Now recompile and sign apk, step one done !
Step Two
Decompile SomcPhone.apk
go to : res/value/style.xml and find this code :
Code:
<style name="Theme.Settings" parent="@*android:style/Theme.DeviceDefault ">
Change like this see red code :
Code:
<style name="Theme.Settings" parent="[COLOR="Red"]@*android:style/Theme.DeviceDefault.Light[/COLOR]">
Now recompile and sign apk
And recompile again sign apk and Step two Done !
Step Three
Decompile framework-res.apk
Download THIS and extract then copy paste all item on res/drawable-hdpi/
Recompile Done !
All guide is Done ! now push it to your phone to the /system/app directory
And don’t forget press thanks button if this guide useful for you all!
Click to expand...
Click to collapse
I'll decently try and tell you.
HIT THANKS IF YOU LIKE
Nice guide sir, thanks
Sent from my GT-S6310 using XDA Premium 4 mobile app
there is no
Code:
<style name="Theme.Holo.NoActionBar.Black" parent="@*android:style/Theme.Holo.NoActionBar">
and this
Code:
<style name="Theme.Holo.NoActionBar.Black" parent="@*android:style/Theme.Holo.Light.NoActionBar">
and while recompiling it giving error
no resources found that matches the name '@*android:style/Theme.DeviceDefault.Light.dailog'
giridhargp said:
there is no
Code:
<style name="Theme.Holo.NoActionBar.Black" parent="@*android:style/Theme.Holo.NoActionBar">
and this
Code:
<style name="Theme.Holo.NoActionBar.Black" parent="@*android:style/Theme.Holo.Light.NoActionBar">
and while recompiling it giving error
no resources found that matches the name '@*android:style/Theme.DeviceDefault.Light.dailog'
Click to expand...
Click to collapse
are you installed xperia stock framework before this guide ? if you already to install this guide will fully working buddy .. keep working
AgungDaVici said:
are you installed xperia stock framework before this guide ? if you already to install this guide will fully working buddy .. keep working
Click to expand...
Click to collapse
Ya I do have stock 4.1.2 FW
HIT THANKS IF YOU LIKE
giridhargp said:
Ya I do have stock 4.1.2 FW
HIT THANKS IF YOU LIKE
Click to expand...
Click to collapse
try with fw 4.2.2 .. cause I try this guide to xperia m dual and it work fine
AgungDaVici said:
try with fw 4.2.2 .. cause I try this guide to xperia m dual and it work fine
Click to expand...
Click to collapse
Oh I don't have , I was trying to make white setting from almost one month, till now didn't get. Will try for xm single?
HIT THANKS IF YOU LIKE
it ended with bootloop i skipped step 2
i cannot find somcphone.apk anyone help??
jb 4.2.2 deodexed xperia m
sidrock622 said:
it ended with bootloop i skipped step 2
i cannot find somcphone.apk anyone help??
jb 4.2.2 deodexed xperia m
Click to expand...
Click to collapse
Somcphone is ur phone apk.
And always remember when you are doing experiment with framework-res, always have backup.
HIT THANKS IF YOU LIKE
giridhargp said:
Somcphone is ur phone apk.
And always remember when you are doing experiment with framework-res, always have backup.
HIT THANKS IF YOU LIKE
Click to expand...
Click to collapse
Yeah i took backup thats not problem settings.apk successfully recompiled
framework also recompiled
my problem is one time i got bootloop
so to chk wheather framework-res.apk is correctly modified
so simply tried to install tat apk its showing "Parse error"
settings.apk is fine able to open apk
"Parse error" how to solve this plz any tested xm dual users reply
Thanks, it works on my Xperia M
And by the way, aku juga dari Indonesia gan!!
WafiAzmiHartono said:
Thanks, it works on my Xperia M
And by the way, aku juga dari Indonesia gan!!
Click to expand...
Click to collapse
M or MD?
HIT THANKS IF YOU LIKE
Xperia M Single
WafiAzmiHartono said:
Thanks, it works on my Xperia M
And by the way, aku juga dari Indonesia gan!!
Click to expand...
Click to collapse
oh really
AgungDaVici said:
oh really
Click to expand...
Click to collapse
Yes
Thanks a lot, that's very useful :good:
WafiAzmiHartono said:
Iya gan
Maksih banyak :good:
Click to expand...
Click to collapse
Use English language. It's xda rule.
HIT THANKS IF YOU LIKE
giridhargp said:
Use English language. It's xda rule.
HIT THANKS IF YOU LIKE
Click to expand...
Click to collapse
I'm sorry, i already change it
Success recompiling 4.2.2 xperia m
thank you
what i did was after recompiling
instead of signing settings.apk,phone.apk and framework-res.apk
i replaced META-INF folder and AndroidManifest.xml from original apk to
compiled apk's(followed this wonderful guide http://forum.xda-developers.com/showthread.php?t=1806602#5)
no prase error after doing tat

[GB][GUIDE/MOD/SHARE] - Redux Power Menu

Hello fellow XDA users, I have another mod over here and it is exactly unique as I havent seen a guide like this.
What is this all about?
This is a Power Menu, a renewed and redux Power Menu of mine, I am sharing this to everyone for they surely want it too. This mod compose of the following:
PROS:
1. JB Sound Panel
2. Advance Reboot Option (Fast boot added)
3. Re-arrange Power Menu
4. Screenshot added
CONS:
No data network list adapter
Click to expand...
Click to collapse
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"
}
This modification comprises of the GlobalAction.java and framework-res and lil trick, I modified the AOSP GlobalAction.java and make it in stock (I gurantee no problem at all.) So the data network list adapter wasnt added back but I am doing everything I could just to bring it back again and again. Since I am annoyed too that there is no data network overthere. Also I tried to port the smali to stock but I am having a problem with Verification Error(I think the API is the cause, the invoke gA, g0, p0 thingy. LOL.)
This also work with other device since its AOSP made. I dont knew where to put the thread around the XDA , I only knew this Galaxy Y Forum cause it rocks and hell awesome.
Enough said, Ill be dividing this guide unto parts. The android.policy.jar and the framework-res.apk
Requirements:
1. ApkTool
2. PC
3. Your very own android.policy.jar
4. Your framework-res.apk
5. Working brain with some time to think since Ill be making your head dizzy.
6. A Galaxy Y
7. And the zip you will download at the bottom.
Click to expand...
Click to collapse
Before proceeding,
For those in doubt, backup first. You are not Chuck Norris Lets get it on.
Click to expand...
Click to collapse
Instruction
Prologue:
1. Extract the zip file in any directories you want
Chapter 1. Making your framework-res ready for the battle.
1. Pull your framework-res.apk
2. Decompile your framework-res.apk
3. Now go to the extractred file and go to its framework-res folder and find the 2 folder(drawable-ldpi and layout) and copy it to your framework-res.apk/res/*here
4. Now after copying, compile your framework-res.apk now.
5. Now its finish, save it. But.. decompile your new framework-res.apk again. Why? To see the new public ids that had been registered.
Chapter 2. Subtitute the old GlobalAction troops with the new GlobalAction (ALL HAIL SOLDIERS.)
1. Pull your android.policy.jar
2. Decompile your android.policy.jar
3. Now delete all the GlobalActions.smali in com/android/internal/policy/impl also with the dollar sign, delete them all. No remnants will survive.
4. Lets go back to the zip that you had downloaded, check the com/android/internal/policy/impl folder, you will see a GlobalAction.smali with other co-smali. Copy all of them and paste it to your decompiled android.policy.jar.
Chapter 3. Substitution of IDs (NO ID NO ENTRY)
1. Go to your decompiled new framework-res.apk/res/values/public.xml
2. Take note of the following ids that had been added at chapter 1. Maybe you write them, memorize or what so ever. Mainly they are the
<public type="id" name="soundpanel1" id="0x010202aa" />
<public type="id" name="soundpanel2" id="0x010202ab" />
<public type="id" name="soundpanel3" id="0x010202ac" />
<public type="drawable" name="ic_lock_reboot" id="0x010803ed" />
<public type="drawable" name="ic_lock_screenshot" id="0x010803ef" />
<public type="layout" name="global_actions_jbsoundpanel" id="0x01090092" />
Click to expand...
Click to collapse
(Our ids may vary depending on the number that had been registered, but here is mine as an example)
3. Go to your android.policy.jar(the one with a new GlobalAction man ) Open the GlobalActions.smali
4. Find the "0x10803ef" without quotation. and replace it with corresponding id of your "ic_lock_reboot"
Mine was 0x010803ed, so I changed 0x10803ef to 0x010803ed
5. Same with screenshot button, find "0x10803f0" and replace it with the id of "ic_lock_screenshot"
6. Save your GlobalActions.smali
Chapter 4. Making the ultimate weapon of the story. (LAZZEERRRR ZWORD!)
1. Go to GlobalActions$JBSoundPanel.smali in your android.policy.jar and open it.
2. Find "0x1090093" and replace it with the id of your "global_actions_jbsoundpanel" layout.
3. Now this will be the hardest, really hard. ...
4. Find " .array-data 0x4" , below it you will see a three (musketteers/weirdos/hex) and end with ".end array-data" right?
Additional Info: They are the ids soundpanel1, soundpanel2, soundpanel3. The order were ,soundpanel1 at the top id array, at the middle id array was the soundpanel2 and the bottom id array was soundpanel3.
Example(The given):
0xabt 0x2t 0x2t 0x1t #soundpanel1
0xact 0x2t 0x2t 0x1t #soundpanel2
0xadt 0x2t 0x2t 0x1t #soundpanel3
When they are converted, they where be
<public type="id" name="soundpanel1" id="0x010202ab" />
<public type="id" name="soundpanel1" id="0x010202ac" />
<public type="id" name="soundpanel1" id="0x010202ad" />
Take a look at "0xabt 0x2t 0x2t 0x1t", So the logic in this will be,
1st 5 digit is the 2digit to the last of the ids
2nd 4digit is the 2 digit before the last 2 ids
3rd 4digit is the 2 digit before the before of the last 2 digit
4th 4digit is the 4 digit at the beginning of the public id.
As my case I have an id of
0x10202aa so it will be 0xaat 0x2t 0x2t 0x1t
Click to expand...
Click to collapse
(NEVER EVER FORGET THE T.)
5. Save the file
6.Recompile your android.policy.jar
7. Push/Flash the new framework-res.apk and android.policy.jar
8. Dont worry there will be NO bootloop will occur, if problem exist, take a logcat in the error. I am not a fortune teller(just a handsome man.)
Click to expand...
Click to collapse
Download link:
The zip, the protagonist of the story,
https://drive.google.com/file/d/0B2tO5pSUM6fpa00zRF9sMUlsUzg/edit?usp=sharing
Click to expand...
Click to collapse
Credits:
squadzone, for the CMX Source of him
mariozawa for teaching me how to use broadcast intent properly.
spacecaker, for comparing mine from his
kahvitahra, for the hotboot idea and the usage in alert dialog builder in Windows
ocoot and lidroid, for the screenshot and reboot png
Click to expand...
Click to collapse
Take note(Commercial):
I gonna advertise PxL now , it has like this and it has more features than this. Spare me.
I advertise PotatoInc of mariozawa too, that freaking awesome mod at its madness.
Dont forget to press thanks button.
Also, be careful of the "0x010202ab" whenever you are putting it in smali, delete the second zero athe beginning, so it will be like this, "0x10202ab" this issue occurs in apktool.
And I feel sorry because I am messing up this thread since I want to make it lively. I am a crazy ass man, sorry admins :3
Click to expand...
Click to collapse
Greets,
PineappleOwl​
Reserved for the sidequest of the ZIP
BEHOOOOLD OF THE MIGHTY EPM (or whatever that name is)
Mranggapo said:
BEHOOOOLD OF THE MIGHTY EPM (or whatever that name is)
Click to expand...
Click to collapse
I just only copy the name from somewhere guide. HAHAHA. Deymm.
I will try this Ultimate Weapon. XD
PineappleOwl said:
I just only copy the name from somewhere guide. HAHAHA. Deymm.
Click to expand...
Click to collapse
noob question sir, i just want to know what is the main difference between your mod and this (except those icons at bottom of menu)
TIA !
AbhiLP said:
noob question sir, i just want to know what is the main difference between your mod and this (except those icons at bottom of menu)
TIA !
Click to expand...
Click to collapse
Hello. Sir bumslayer guide only covers up the reboot button. But mine was i added screenshot and soundpanels hehe
hmm... look like cmx
nice guide
will try
Minions_Army said:
hmm... look like cmx
nice guide
will try
Click to expand...
Click to collapse
I forked CMX hehehe .
i think i've seen this before... hell yeah from spacecaker's github nice guide bro! i'm making an API for view theming, like position changing and color changing, well i dont think you guys need it
AuliaYF said:
i think i've seen this before... hell yeah from spacecaker's github nice guide bro! i'm making an API for view theming, like position changing and color changing, well i dont think you guys need it
Click to expand...
Click to collapse
He has but we are kinda bit similar I fork from CMX. ?
It will be a giant leap to our device. Good luck buddy ?
Any help? http://pastebin.com/HBR333k9
AWESOME GUIDE I looking for JB SoundPanel
And its work like a charm
Oh yea this is so awesome
Do I smell a version 3 of your StockRedux Sir ?
Nice guide thank you.
aldzi said:
Any help? http://pastebin.com/HBR333k9
Click to expand...
Click to collapse
What did you do sir?
TheNightBaron said:
Oh yea this is so awesome
Do I smell a version 3 of your StockRedux Sir ?
Nice guide thank you.
Click to expand...
Click to collapse
Oh there still someone who knew it
Good work bro! Try making a xposed module
Sent from moon
PineappleOwl said:
What did you do sir?
Oh there still someone who knew it
Click to expand...
Click to collapse
when recompile the jar i got error sir,and that is the log and i using latest backsmali manager
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
m4RinKo2 said:
Good work bro! Try making a xposed module
Sent from moon
Click to expand...
Click to collapse
Hehe i dont know yet how but ill do it if i need hehehe
aldzi said:
when recompile the jar i got error sir,and that is the log and i using latest backsmali manager
Click to expand...
Click to collapse
Try apktool hehe
Minions_Army said:
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
Click to expand...
Click to collapse
Try modding by GB, CMX has some backported packages.?
Minions_Army said:
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
Click to expand...
Click to collapse
i'm a litle bit confused, stock volume popup using Toast and setView method, but if i put seekbar in it, the popup only appear by it's duration.

[Guide][LP] How to Tint Navbar Color to StatusBar Color

Hi xda
I found very simple way to get tinted navbar color to status bar color in some popular apps like Gmail, YouTube, DropBox. This not affect to all apps.
And I'm sorry if this is repost :angel:
Requirements:
- Know how to decompile recompile
- ApkTool
- Java installed
- Notepad++
- framework-res.apk
Steps:
1. Decompile framework-res.apk
2. Open res/values/styles.xml
3. Search
Code:
<style name="Theme">
scroll down until you find
Code:
<item name="statusBarColor">@color/black</item>
<item name="navigationBarColor">@color/black</item>
change it to
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">?colorPrimaryDark</item>
4. Search
Code:
<style name="Theme.Material" parent="@style/Theme">
scroll down until you find
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">@color/black</item>
change it to
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">?colorPrimaryDark</item>
5. Search
Code:
<style name="Theme.Material.Light" parent="@style/Theme.Light">
scroll down until you find
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">@color/black</item>
change it to
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">?colorPrimaryDark</item>
6. Recompile, sign, push it to system.
ONLY TESTED ON CM12, CM12.1, RR, PA. BUT I THINK IT'LL WORK ALSO ON STOCK ROM
KNOWN ISSUES:
- Only work in portrait mode
- Navbar color went black when keyboard opened
BEFORE
{
"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"
}
AFTER
Working on eXistenZ Y
thank bro
request
Navbar Color to StatusBar Color
xperia z3 compact 5.0.2
framework-res.apk
sytem/framework/ framework-res.apk/rw--r--r--
Nice one. Working with Z2 stock 5.1.1 rom.
idid idamrep said:
Hi xda
I found very simple way to get tinted navbar color to status bar color in some popular apps like Gmail, YouTube, DropBox. This not affect to all apps.
And I'm sorry if this is repost :angel:
Requirements:
- Know how to decompile recompile
- ApkTool
- Java installed
- Notepad++
- framework-res.apk
Steps:
1. Decompile framework-res.apk
2. Open res/values/styles.xml
3. Search
Code:
<style name="Theme">
scroll down until you find
Code:
<item name="statusBarColor">@color/black</item>
<item name="navigationBarColor">@color/black</item>
change it to
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">?colorPrimaryDark</item>
4. Search
Code:
<style name="Theme.Material" parent="@style/Theme">
scroll down until you find
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">@color/black</item>
change it to
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">?colorPrimaryDark</item>
5. Search
Code:
<style name="Theme.Material.Light" parent="@style/Theme.Light">
scroll down until you find
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">@color/black</item>
change it to
Code:
<item name="statusBarColor">?colorPrimaryDark</item>
<item name="navigationBarColor">?colorPrimaryDark</item>
6. Recompile, sign, push it to system.
ONLY TESTED ON CM12, CM12.1, RR, PA. BUT I THINK IT'LL WORK ALSO ON STOCK ROM
BEFORE
AFTER
Click to expand...
Click to collapse
Cool guide, but i have 2 questions, how did u get that carrier logo, and is there a way to do the tint, but for all apps? (like Lolistat)
Syzew said:
Cool guide, but i have 2 questions, how did u get that carrier logo, and is there a way to do the tint, but for all apps? (like Lolistat)
Click to expand...
Click to collapse
it's resurrection remix carrier logo, I changed it to xperia :v
yes, there is. to get tinted in all apps, need to add smali to SystemUI, add package name and hex code to smali.
go here http://forum.xda-developers.com/android/general/how-to-tinted-status-bar-using-app-t3048978
There is a problem with this mod, though it works fine but in messaging app it chooses color of main screen and keeps it through out other conversations (image attached for explanation)
Edit: Also navbar is black when keyboard is opened.. Thought it would be same color as status bar..
Araib93 said:
There is a problem with this mod, though it works fine but in messaging app it chooses color of main screen and keeps it through out other conversations (image attached for explanation)
Edit: Also navbar is black when keyboard is opened.. Thought it would be same color as status bar..
Click to expand...
Click to collapse
http://forum.xda-developers.com/crossdevice-dev/sony/guide-lolipop-mods-making-tutorials-t3173217
Rajeev said:
http://forum.xda-developers.com/crossdevice-dev/sony/guide-lolipop-mods-making-tutorials-t3173217
Click to expand...
Click to collapse
Not using Official Sony Android so nope that guide doesn't work (for AOSP, since the strings he ask to search are not present in AOSP in the first place)
Thanks !!! , worked correctly on Xperia M (Nicki) running with ArchiDroid v 3.1.1
Araib93 said:
Not using Official Sony Android so nope that guide doesn't work (for AOSP, since the strings he ask to search are not present in AOSP in the first place)
Click to expand...
Click to collapse
Did u tried it?
Rajeev said:
Did u tried it?
Click to expand...
Click to collapse
Yes I decompiled systemui and went to the path the guide mentioned but the strings it ask to search for are not there for AICP (that's what I said in the last post)
Info
Well Done!
& This is for Android App Developers to Set Color for NavBar/StatusBar in their apps
Code:
int API = android.os.Build.VERSION.SDK_INT;
if(API > 20){
Window window = this.getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
window.setStatusBarColor(Color.parseColor("#COLOR_CODE"));
getWindow().setNavigationBarColor(Color.parseColor("#COLOR_CODE"));
}
Used in my Apps
# Floating Shortcuts >> Xda-Project
# ASAPP Service >> Xda-Project
# Get Translate
:good:
will this work with viber app?
Thanks. It worked in my Z1C stock lollipop rom.
Edit: Doesn't work in landscape mode, Color reverts back to original in landscape mode but works fine in portrait mode. Any suggestion why its happening? Also i would like to mention that when i try to move framework-res.apk to system/framework folder my device crashes and reboot itself but it work even though it crashes.
Wow, thanks for the guide
Thank you friend, working fine Xperia Z3 single chip.
Hey bro can I use this guidelines in My Xperia Kitkat device
Sent from my D2105 using XDA Free mobile app
But it's possible make navbar trasparent ?

Categories

Resources