[MOD][TUTORIAL][CM10]Transparent-colored statusbar drawer - Android Software/Hacking General [Developers Only]

Hi!
I figureout how to set transparent background color in CM10
{
"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"
}
1. Decompile SystemUI.apk (I'm using apktool 1.4.9)
2. Go to: %apktool_folder%\SystemUI\smali\com\android\systemui\statusbar\phone
3. Open in text editor file: PhoneStatusBar$FastColorDrawable.smali
4. replace whole line:
Code:
iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;->mColor:I
with
Code:
const v0, 0x6033b5e5
6033b5e5 => aarrggbb (a=alpha, r=red, g=green, b=blue) => this is semi-transparent ICS-blue color
After this method draw looks like:
Code:
.method public draw(Landroid/graphics/Canvas;)V
.locals 2
.parameter "canvas"
.prologue
.line 2632
const v0, 0x6033b5e5
sget-object v1, Landroid/graphics/PorterDuff$Mode;->SRC:Landroid/graphics/PorterDuff$Mode;
invoke-virtual {p1, v0, v1}, Landroid/graphics/Canvas;->drawColor(ILandroid/graphics/PorterDuff$Mode;)V
.line 2633
return-void
.end method
4a. For 'HighEndGfx' devices (like HTC One X) need to make something more:
4aa. Open file: %apktool_folder%\SystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali
4ac. Replace tree lines of code ( do not copy numbers!!):
Code:
1. invoke-static {v0}, Landroid/app/ActivityManager;->isHighEndGfx(Landroid/view/Display;)Z
2.
3. move-result v0
wiht one line of code ( do not copy numbers!!):
Code:
1. const v0, 0x0
4ad. Now fragment of method makeStatusBarView() looks like:
Code:
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplay:Landroid/view/Display;
const v0, 0x0
if-nez v0, :cond_0
5. Open SystemUI.apk with WinRAR or 7zip.
6. Compile SystemUI folder and go to %apktool_folder%\SystemUI\build\apk
7. Copy only classes.dex to SystemUI.apk.
8. Move SystemUI.apk to /system/app in phone.
9. Reboot.
10. Set permissions to rw-r-r (644)
11. ... and be happy to have transparent notification drawer.
---------------------------------------------------------------------------------
If you want to change toggles background you must decompile framework-res and see in colors.xml (res/values/colors.xml) which colors are described in this file.
Go to SystemUI decompiled folder ->open res/drawable/stat_power_background.xml with text editor -> change
Code:
<item android:state_pressed="false" android:drawable="@android:drawable/input_method_fullscreen_background" />
with
Code:
<item android:state_pressed="false" android:drawable="@android:color/black" />
---------------------------------------------------------------------------------
This is 100% working in CM10, don't know what about others JB roms.​

Nice guide, it's really helpful!

Update!
Working for all devices with CM10!!

reaper61616 said:
Update!
Working for all devices with CM10!!
Click to expand...
Click to collapse
I got it because of you.
status bar for something, I just go crazy and find nothing.
sorry for my english

hello
thank you for your tutorial, I managed to have transparency, but I have a problem with the toggle who do transparent and are not very visible in your screen while the tutorial you can see the toggle with black background??
If you have an idea?
Thank you in advance.

Romu313 said:
hello
thank you for your tutorial, I managed to have transparency, but I have a problem with the toggle who do transparent and are not very visible in your screen while the tutorial you can see the toggle with black background??
If you have an idea?
Thank you in advance.
Click to expand...
Click to collapse
See first post

just a question
First, thank you for giving us such a good method. But there I have a question:
"If you want to change toggles background you must decompile framework-res and see in colors.xml (res/values/colors.xml) which colors are described in this file.
Go to SystemUI decompiled folder ->open res/drawable/stat_power_background.xml with text editor..."
You say to decompile framework-res, but modify parameter in SystemUI. That is what to make me confused.
sorry for my poor english!
PS:I dont find code like <item android:state_pressed="false" android:drawable="@android:drawable/input_method_fullscreen_background" /> in my stat_power_background.xml, this is mine:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
</selector>

SmallZG said:
First, thank you for giving us such a good method. But there I have a question:
"If you want to change toggles background you must decompile framework-res and see in colors.xml (res/values/colors.xml) which colors are described in this file.
Go to SystemUI decompiled folder ->open res/drawable/stat_power_background.xml with text editor..."
You say to decompile framework-res, but modify parameter in SystemUI. That is what to make me confused.
sorry for my poor english!
PS:I dont find code like <item android:state_pressed="false" android:drawable="@android:drawable/input_method_fullscreen_background" /> in my stat_power_background.xml, this is mine:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
</selector>
Click to expand...
Click to collapse
In your stat_power_background.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
</selector>
Add:
Code:
<item android:state_pressed="false" android:drawable="@android:color/[COLOR=red]<color from framework-res e.g. black -> @android:color/black>[/COLOR]" />
after:
Code:
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
Your stat_power_background.xml now will be like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
<item android:state_pressed="false" android:drawable="@android:color/[COLOR=red]<color from framework-res e.g. black -> @android:color/black>[/COLOR]" />
</selector>
Where red colored font place color described in framework-res/res/values/colors.xml, e.g. black, white, transparent, etc.

reaper61616 said:
In your stat_power_background.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
</selector>
Add:
Code:
<item android:state_pressed="false" android:drawable="@android:color/[COLOR=red]<color from framework-res e.g. black -> @android:color/black>[/COLOR]" />
after:
Code:
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
Your stat_power_background.xml now will be like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
<item android:state_pressed="false" android:drawable="@android:color/[COLOR=red]<color from framework-res e.g. black -> @android:color/black>[/COLOR]" />
</selector>
Where red colored font place color described in framework-res/res/values/colors.xml, e.g. black, white, transparent, etc.
Click to expand...
Click to collapse
Thank you for the method. i will try it.

How about statusbar itself, not drawer?
When I use transparent image then it's transparent everywhere not only on my 'desktop'.

ZduneX25 said:
How about statusbar itself, not drawer?
When I use transparent image then it's transparent everywhere not only on my 'desktop'.
Click to expand...
Click to collapse
For now statusbar can not be transparet cozz there are no background under wallpaper, we got strange effect if statusbar is transparent...
This is idea and no other way, it is transparent everywhere...

Nice!
Some colours table?

pabloltg said:
Nice!
Some colours table?
Click to expand...
Click to collapse
Don't understand question...

My question its if you have a colour table in numeric values ​​like 0x6033b5e5.

pabloltg said:
My question its if you have a colour table in numeric values ​​like 0x6033b5e5.
Click to expand...
Click to collapse
Here is a nice site for RGB colours in hex. u have to calculate transparency separately..
RGB colours in HEX: http://www.perbang.dk/rgb/00FFEE/
Transparency calculation guide: http://www.telerik.com/support/kb/aspnet-ajax/chart/setting-hexadecimal-value-for-color-transparency-of-radchart-elements.aspx
---------- Post added at 12:49 AM ---------- Previous post was at 12:38 AM ----------
I have a problem here. I cant get the black background for toggles. I did everything specified in the OP.
Here is the screenshot:
https://www.dropbox.com/s/www3kjzh0mg1x7z/2012-09-01%2000.44.07.png
Any solution for this?[

vaibhav palande said:
[/COLOR]I have a problem here. I cant get the black background for toggles. I did everything specified in the OP.
Here is the screenshot:
https://www.dropbox.com/s/www3kjzh0mg1x7z/2012-09-01%2000.44.07.png
Any solution for this?[
Click to expand...
Click to collapse
See this: http://forum.xda-developers.com/showpost.php?p=30762808&postcount=9

pabloltg said:
My question its if you have a colour table in numeric values ​​like 0x6033b5e5.
Click to expand...
Click to collapse
http://reaper61616.xaa.pl/colors.php
Have nothing else to say...

reaper61616 said:
See this: http://forum.xda-developers.com/showpost.php?p=30762808&postcount=9
Click to expand...
Click to collapse
I read it. Should i enter that red line too???
---------- Post added at 06:05 PM ---------- Previous post was at 05:30 PM ----------
That is not helping. My stat_power_background.xml code is:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
<item android:state_pressed="false" android:drawable="@android:color/black" />
</selector>
here is screenshot: https://www.dropbox.com/s/www3kjzh0mg1x7z/2012-09-01%2000.44.07.png

vaibhav palande said:
I read it. Should i enter that red line too???
---------- Post added at 06:05 PM ---------- Previous post was at 05:30 PM ----------
That is not helping. My stat_power_background.xml code is:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
<item android:state_pressed="false" android:drawable="@android:color/black" />
</selector>
here is screenshot: https://www.dropbox.com/s/www3kjzh0mg1x7z/2012-09-01%2000.44.07.png
Click to expand...
Click to collapse
Which files are you replacing in original apk? You need to replace res folder resources.arcs and classes.dex

Hi reaper61616
Galaxy S III has no "invoke-static {v0}, Landroid/app/ActivityManager;->isHighEndGfx(Landroid/view/DisplayZ"
What should I do?

Related

[Live Wallpaper] Custom Creater 2.6 [SCRIPT] [WINDOWS]

Purpose : Create a live-wallpaper out of a bunch of images
Instructions :
- Download zip
- Extract zip
- Run Run.bat (follow instructions)
- Once done, install the resulting apk
Tip : Pre-attached with the zip comes the "haters gonna hate" animation, so if u want to test it, just Run.bat and enter 14 as the # of images.
Requirements :
- Java in ur environmental path (to check go start -> run -> cmd -> java -jar
Do u see "command not found" ? if so go to java.com and install it, otherwise ur fine.
Capabilities :
- Customizable live wallpaper w/o coding
- Change application name / icon
- Adjust loop invariant to ensure no skipping
- Change app description
- Now u have up to 100 images to use
- Automatically inserts the place-holders
- Change package name
- Apk produced now takes on the package name (easier to identify)
- Option to install the app to ur phone at end of script
- Added java check, it'll tell u if java is in ur path or not
- Now u have up to 300 images to use (thanks olivvv59)
- Added vista compatibility (delete's $.tmp files if they exist)
- Cleaned up the code a bit.
Note : The naming convention of the images are n01.png,n02.png,n03.png..n32...n100.png
Thanks : Goes to the andrew121 who created this link I just took his apk, modified it and made it customizable.
Heres his site : Link
once done, where do we find the .apk file?
mytouch slide
cant get ./loop running on my phone
h_zee13 said:
once done, where do we find the .apk file?
Click to expand...
Click to collapse
U'll find it in the root directory where u extracted the zip. It'll b called repackaged-signed.apk.
pbedard said:
cant get ./loop running on my phone
Click to expand...
Click to collapse
Im confused, please clarify ur post.
h_zee13 said:
once done, where do we find the .apk file?
Click to expand...
Click to collapse
pbedard said:
cant get ./loop running on my phone
Click to expand...
Click to collapse
Just realized i hadn't posted requirements, u need java on ur machine and in ur path.
Ive updated the OP so please use the "check method" and then proceed.
ok let me try again
Alright so here is a little TEST LWP
First thing I realized is that when when we add a name to the LWP, it never appears anywhere so it's useless....other than that it works great and its really easy
do you think you can make full size LWP with this? like currently its only like a static LWP...any chance to make it move when you change screens?
{
"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"
}
thats awesome! why only 49 pngs? I tried more and obviously it didn't work...
*edit nevermind I figured it out
ogdobber said:
thats awesome! why only 49 pngs? I tried more and obviously it didn't work...
*edit nevermind I figured it out
Click to expand...
Click to collapse
dude what did you figure out? Share with us......
h_zee13 said:
dude what did you figure out? Share with us......
Click to expand...
Click to collapse
its in the >public.xml< more pngs can be added with a change here
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<public type="drawable" name="icon" id="0x7f020000" />
<public type="drawable" name="n01" id="0x7f020001" />
<public type="drawable" name="n02" id="0x7f020002" />
<public type="drawable" name="n03" id="0x7f020003" />
<public type="drawable" name="n04" id="0x7f020004" />
<public type="drawable" name="n05" id="0x7f020005" />
<public type="drawable" name="n06" id="0x7f020006" />
<public type="drawable" name="n07" id="0x7f020007" />
<public type="drawable" name="n08" id="0x7f020008" />
<public type="drawable" name="n09" id="0x7f020009" />
<public type="drawable" name="n10" id="0x7f02000a" />
<public type="drawable" name="n11" id="0x7f02000b" />
<public type="drawable" name="n12" id="0x7f02000c" />
<public type="drawable" name="n13" id="0x7f02000d" />
<public type="drawable" name="n14" id="0x7f02000e" />
<public type="drawable" name="n15" id="0x7f02000f" />
<public type="drawable" name="n16" id="0x7f020010" />
<public type="drawable" name="n17" id="0x7f020011" />
<public type="drawable" name="n18" id="0x7f020012" />
<public type="drawable" name="n19" id="0x7f020013" />
<public type="drawable" name="n20" id="0x7f020014" />
<public type="drawable" name="n21" id="0x7f020015" />
<public type="drawable" name="n22" id="0x7f020016" />
<public type="drawable" name="n23" id="0x7f020017" />
<public type="drawable" name="n24" id="0x7f020018" />
<public type="drawable" name="n25" id="0x7f020019" />
<public type="drawable" name="n26" id="0x7f02001a" />
<public type="drawable" name="n27" id="0x7f02001b" />
<public type="drawable" name="n28" id="0x7f02001c" />
<public type="drawable" name="n29" id="0x7f02001d" />
<public type="drawable" name="n30" id="0x7f02001e" />
<public type="drawable" name="n31" id="0x7f02001f" />
<public type="drawable" name="n32" id="0x7f020020" />
<public type="drawable" name="n33" id="0x7f020021" />
<public type="drawable" name="n34" id="0x7f020022" />
<public type="drawable" name="n35" id="0x7f020023" />
<public type="drawable" name="n36" id="0x7f020024" />
<public type="drawable" name="n37" id="0x7f020025" />
<public type="drawable" name="n38" id="0x7f020026" />
<public type="drawable" name="n39" id="0x7f020027" />
<public type="drawable" name="n40" id="0x7f020028" />
<public type="drawable" name="n41" id="0x7f020029" />
<public type="drawable" name="n42" id="0x7f02002a" />
<public type="drawable" name="n43" id="0x7f02002b" />
<public type="drawable" name="n44" id="0x7f02002c" />
<public type="drawable" name="n45" id="0x7f02002d" />
<public type="drawable" name="n46" id="0x7f02002e" />
<public type="drawable" name="n47" id="0x7f02002f" />
<public type="drawable" name="n48" id="0x7f020030" />
<public type="drawable" name="n49" id="0x7f020031" />
<public type="xml" name="settings" id="0x7f030000" />
<public type="xml" name="wallpaper" id="0x7f030001" />
<public type="array" name="size_names" id="0x7f040000" />
<public type="array" name="size_values" id="0x7f040001" />
<public type="string" name="app_name" id="0x7f050000" />
<public type="string" name="settings_title" id="0x7f050001" />
<public type="string" name="description" id="0x7f050002" />
<public type="string" name="preference_fps_title" id="0x7f050003" />
<public type="string" name="preference_fps_summary" id="0x7f050004" />
<public type="string" name="preference_size_title" id="0x7f050005" />
<public type="string" name="preference_size_summary" id="0x7f050006" />
</resources>
Click to expand...
Click to collapse
h_zee13 said:
Alright so here is a little TEST LWP
First thing I realized is that when when we add a name to the LWP, it never appears anywhere so it's useless....other than that it works great and its really easy
do you think you can make full size LWP with this? like currently its only like a static LWP...any chance to make it move when you change screens?
Click to expand...
Click to collapse
Ok, firstly the name changing does work, atleast on my end. The name should change when u go into the live wallpaper picker. Second, the static property is tied to the apk, remember i have not created this app, just modified it for our needs.
ogdobber said:
its in the >public.xml< more pngs can be added with a change here
Click to expand...
Click to collapse
Ur on the right path but not that easy, those are just identifiers, u still gotta implement them Dont worry i'll try to make the next version have 100 images, that should be more than enough lol
Daneshm90 said:
Dont worry i'll try to make the next version have 100 images, that should be more than enough lol
Click to expand...
Click to collapse
This would be awesome! 100 images should suffice!
Thanks and great stuff!
notxel21 said:
This would be awesome! 100 images should suffice!
Thanks and great stuff!
Click to expand...
Click to collapse
Guess wht i just did it
Gonna post it soon, yea 100 should b enough u hungry ppl
Daneshm90 said:
Guess wht i just did it
Gonna post it soon, yea 100 should b enough u hungry ppl
Click to expand...
Click to collapse
You have a Twitter account? I need to keep up and you have great stuff (mods) all over the place!
Thanks!
notxel21 said:
You have a Twitter account? I need to keep up and you have great stuff (mods) all over the place!
Thanks!
Click to expand...
Click to collapse
I do but i barely post lol. its @daneshm if ur interested.
Ugh 100 images are taking long. Just to give u an idea i have to
change stuff like this
from .field public static final n50:I = 0x7f020032 increment it all the way to
.field public static final n100:I = 0x7f020032(diff id as well)
in 3 files
Daneshm90 said:
Ok, firstly the name changing does work, atleast on my end. The name should change when u go into the live wallpaper picker. Second, the static property is tied to the apk, remember i have not created this app, just modified it for our needs.
Click to expand...
Click to collapse
K maybe i missed something....but so far everything else is good oh and yeah 100 images would be great...keep up the good work
Daneshm90 said:
I do but i barely post lol. its @daneshm if ur interested.
Ugh 100 images are taking long. Just to give u an idea i have to
change stuff like this
from .field public static final n50:I = 0x7f020032 increment it all the way to
.field public static final n100:I = 0x7f020032(diff id as well)
in 3 files
Click to expand...
Click to collapse
Totally understandable! (Take your time and much appreciated)
At least post on your mod updates on Twitter if anything at all!
Now following! (twitter)
Alright guys i posted v2.0. New features are highlighted in green. Let me know how it goes.
Daneshm90 said:
Alright guys i posted v2.0. New features are highlighted in green. Let me know how it goes.
Click to expand...
Click to collapse
Going to do a test now.
The images in the "placeimages" folder are referred to as placeholder images and must stay there when I add my own images?
Thanks!

[GUIDE][MOD][Launcher]How to Move Dock Go to the Top[Touchwiz30]

{
"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"
}
​
Hello sorry I make this tuts in double post...
I wanna share my experience in moded tw30launcher.apk here.. hope this usefull
this Mod still have bug at at "List view" there something collide between app drawer and apps ( but it's ok on Landscape mode hope any dev can fix this you can share here )
1st we must have the tools you need to prepare :
- Fresh brain
- APK TOOL/APK Manager/Virtuos (For Compile/Decompile)
- Notepad ++ (if you use Virtuous Ten Studio, you don't need it)​
Start : Pull your TouchWiz30Launcher.apk or you can Take this one
STEP 1: Decompile TouchWiz30Launcher.apk.(in here I use 5 icon Dock and I recomended you to use VTS for decompile/compile that's easy way .
# Navigate to res/layout-ldpi/and find launcher.xml. Find the following code in the file :
Code:
<ProgressBar android:layout_gravity="center" android:paddingBottom="@dimen/menu_top_item_height" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.sec.android.app.twlauncher.MenuManager android:id="@id/menumanager" android:paddingBottom="@dimen/menu_top_item_height" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.sec.android.app.twlauncher.MenuDrawer>
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="5" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="109.32999dip" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
And Change to :
Code:
<ProgressBar android:layout_gravity="center" android:paddingTop="@dimen/menu_top_item_height" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.sec.android.app.twlauncher.MenuManager android:id="@id/menumanager" android:paddingTop="@dimen/menu_top_item_height" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.sec.android.app.twlauncher.MenuDrawer>
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="top|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="5" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="top|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="109.32999dip" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
Then Find this code :
Code:
<ImageButton android:layout_gravity="bottom|center" android:id="@id/homescreen_edit_centerbtn" android:background="@drawable/homescreen_add_bg" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/homescreen_add" />
Change to :
Code:
<ImageButton android:layout_gravity="top|center" android:id="@id/homescreen_edit_centerbtn" android:background="@drawable/homescreen_add_bg" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/homescreen_add" />
# Navigate to res/layout-ldpi/and find launcher_iconmenu.xml . Find the following code in the file :
Code:
<ProgressBar android:layout_gravity="center" android:paddingBottom="81.34dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.sec.android.app.twlauncher.MenuManager android:id="@id/menumanager" android:paddingBottom="@dimen/menu_top_item_height_iconmenu" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.sec.android.app.twlauncher.MenuDrawer>
<com.sec.android.app.twlauncher.TopFourZone android:layout_gravity="bottom" android:id="@id/topfour_zone" android:background="@color/softkey_background_dim" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height_iconmenu" />
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="82.66dip" android:layout_height="@dimen/menu_top_item_height_iconmenu" launcher:iconColumnCount="1" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="68.0dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
And Replace/Compare with :
Code:
<ProgressBar android:layout_gravity="center" android:paddingTop="81.34dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.sec.android.app.twlauncher.MenuManager android:id="@id/menumanager" android:paddingTop="@dimen/menu_top_item_height_iconmenu" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.sec.android.app.twlauncher.MenuDrawer>
<com.sec.android.app.twlauncher.TopFourZone android:layout_gravity="top" android:id="@id/topfour_zone" android:background="@color/softkey_background_dim" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height_iconmenu" />
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="top|center" android:id="@id/shortcut_zone" android:layout_width="82.66dip" android:layout_height="@dimen/menu_top_item_height_iconmenu" launcher:iconColumnCount="1" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="top|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.0dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
Then Find the red marker code :
Code:
[COLOR="Red"]<TextView android:textSize="18.0dip"[/COLOR] android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="-6.0dip" />
</FrameLayout>
</com.sec.android.app.twlauncher.DeleteZone>
<com.sec.android.app.twlauncher.WidgetPreview android:id="@id/widget_preview" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
[COLOR="red"]<ImageButton android:layout_gravity="bottom|center"[/COLOR] android:id="@id/homescreen_edit_centerbtn" android:background="@drawable/homescreen_add_bg" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/homescreen_add" />
And change to :
Code:
[COLOR="red"]<TextView android:textSize="13.0dip"[/COLOR] android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="-6.0dip" />
</FrameLayout>
</com.sec.android.app.twlauncher.DeleteZone>
<com.sec.android.app.twlauncher.WidgetPreview android:id="@id/widget_preview" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
[COLOR="red"]<ImageButton android:layout_gravity="top|center"[/COLOR] android:id="@id/homescreen_edit_centerbtn" android:background="@drawable/homescreen_add_bg" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/homescreen_add" />
# Navigate to res/layout-ldpi/and find workspace_screen.xml Change the following code in the file :
Code:
launcher:longAxisStartPadding="0.0dip" launcher:longAxisEndPadding="62.0dip"
With this one :
Code:
launcher:longAxisStartPadding="62.0dip" launcher:longAxisEndPadding="0.0dip"
# Navigate to res/values-ldpi/and find dimens.xml Change the red marker code in the file :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="title_texture_width">80.0dip</dimen>
<dimen name="cell_width">80.0dip</dimen>
<dimen name="cell_height">100.0dip</dimen>
<dimen name="cell_top">26.669983dip</dimen>
<dimen name="menu_item_height">78.34dip</dimen>
<dimen name="menu_item_vertical_space">0.0dip</dimen>
<dimen name="menu_item_top_space">4.0dip</dimen>
[COLOR="Red"]<dimen name="menu_top_offset">19.0dip</dimen>[/COLOR]
<dimen name="menu_top_offset2">0.0dip</dimen>
[COLOR="red"]<dimen name="menu_topapp_top_offset">2.0dip</dimen>[/COLOR]
[COLOR="red"]<dimen name="menu_top_item_height">60.0dip</dimen>[/COLOR]
<dimen name="menu_top_item_width">80.0dip</dimen>
<dimen name="menu_top_item_gap1">12.669983dip</dimen>
<dimen name="menu_top_item_gap2">34.669983dip</dimen>
<dimen name="menu_edit_left_offset2">0.0dip</dimen>
<dimen name="menu_edit_left_offset">0.0dip</dimen>
<dimen name="menu_edit_top_offset">0.0dip</dimen>
<dimen name="menu_item_icon_width">48.0dip</dimen>
<dimen name="menu_item_focus_margin">2.0dip</dimen>
<dimen name="menu_app_icon_size">48.0dip</dimen>
<dimen name="menu_delete_icon_top_offset">-1.3399963dip</dimen>
<dimen name="menu_delete_icon_right_offset">-1.3399963dip</dimen>
<dimen name="menu_lr_padding">0.0dip</dimen>
<dimen name="menu_right_offset">4.0dip</dimen>
<dimen name="widgetpreview_textsize">20.0sp</dimen>
<dimen name="workspace_pageindicator_top">0.0dip</dimen>
<dimen name="pageindicator_fontsize">13.329987dip</dimen>
<dimen name="pageindicator_gap">4.0dip</dimen>
<dimen name="pageindicator_moregap">4.0dip</dimen>
<dimen name="badge_top_offset">-8.0dip</dimen>
<dimen name="badge_right_offset">8.0dip</dimen>
<dimen name="badge_fontsize_default">16.0dip</dimen>
<dimen name="badge_fontsize_small">14.659973dip</dimen>
[COLOR="red"] <dimen name="quicknavi_menu_gapv">10.719971dip</dimen>
<dimen name="quicknavi_menu_gaph">10.719971dip</dimen>[/COLOR]
<dimen name="quicknavi_menu_left_offset">21.0dip</dimen>
<dimen name="quicknavi_menu_top_offset">8.0dip</dimen>
<dimen name="quicknavi_large_panel_size_short">135.0dip</dimen>
<dimen name="quicknavi_large_panel_size_long">189.0dip</dimen>
<dimen name="quicknavi_large_panel_size_long2">193.0dip</dimen>
<dimen name="defalut_imei_text_font_size">15.0sp</dimen>
<dimen name="defalut_imei_text_pos_x">100.0dip</dimen>
<dimen name="defalut_imei_text_pos_y">280.0dip</dimen>
<dimen name="defalut_imei_text_pos_y_gap">20.0dip</dimen>
<dimen name="defalut_imei_text_landscape_pos_x">280.0dip</dimen>
<dimen name="defalut_imei_text_landscape_pos_y">140.0dip</dimen>
<dimen name="menu_top_item_height_iconmenu">64.0dip</dimen>
<dimen name="scrollzone_width">50.659973dip</dimen>
<dimen name="pageindicator_top_offset">0.0dip</dimen>
<dimen name="pageindicator_gap_iconmenu">44.0dip</dimen>
[COLOR="red"]<dimen name="pageindicator_moregap_iconmenu">17.329987dip</dimen>[/COLOR]
<dimen name="pageindicator_start_offset">350.65625dip</dimen>
<dimen name="menu_item_width">102.66dip</dimen>
<dimen name="menu_item_icon_height">48.0dip</dimen>
<dimen name="menu_left_offset">2.6599731dip</dimen>
<dimen name="menu_left_start_offset">4.0dip</dimen>
<dimen name="deletezone_bottom_offset">0.0dip</dimen>
<dimen name="badge_top_offset_iconmenu">-1.3299866dip</dimen>
<dimen name="badge_right_offset_iconmenu">-28.0dip</dimen>
</resources>
Compare with this one :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="title_texture_width">80.0dip</dimen>
<dimen name="cell_width">80.0dip</dimen>
<dimen name="cell_height">100.0dip</dimen>
<dimen name="cell_top">26.669983dip</dimen>
<dimen name="menu_item_height">78.34dip</dimen>
<dimen name="menu_item_vertical_space">0.0dip</dimen>
<dimen name="menu_item_top_space">4.0dip</dimen>
[COLOR="red"]<dimen name="menu_top_offset">78.0dip</dimen>[/COLOR]
<dimen name="menu_top_offset2">0.0dip</dimen>
[COLOR="red"]<dimen name="menu_topapp_top_offset">17.0dip</dimen>
<dimen name="menu_top_item_height">75.0dip</dimen>[/COLOR]
<dimen name="menu_top_item_width">80.0dip</dimen>
<dimen name="menu_top_item_gap1">12.669983dip</dimen>
<dimen name="menu_top_item_gap2">34.669983dip</dimen>
<dimen name="menu_edit_left_offset2">0.0dip</dimen>
<dimen name="menu_edit_left_offset">0.0dip</dimen>
<dimen name="menu_edit_top_offset">0.0dip</dimen>
<dimen name="menu_item_icon_width">48.0dip</dimen>
<dimen name="menu_item_focus_margin">2.0dip</dimen>
<dimen name="menu_app_icon_size">48.0dip</dimen>
<dimen name="menu_delete_icon_top_offset">-1.3399963dip</dimen>
<dimen name="menu_delete_icon_right_offset">-1.3399963dip</dimen>
<dimen name="menu_lr_padding">0.0dip</dimen>
<dimen name="menu_right_offset">4.0dip</dimen>
<dimen name="widgetpreview_textsize">20.0sp</dimen>
<dimen name="workspace_pageindicator_top">0.0dip</dimen>
<dimen name="pageindicator_fontsize">0.0dip</dimen>
<dimen name="pageindicator_gap">4.0dip</dimen>
<dimen name="pageindicator_moregap">4.0dip</dimen>
<dimen name="badge_top_offset">-8.0dip</dimen>
<dimen name="badge_right_offset">8.0dip</dimen>
<dimen name="badge_fontsize_default">16.0dip</dimen>
<dimen name="badge_fontsize_small">14.659973dip</dimen>
[COLOR="Red"]<dimen name="quicknavi_menu_gapv">5.7199707dip</dimen>
<dimen name="quicknavi_menu_gaph">5.7199707dip</dimen>[/COLOR]
<dimen name="quicknavi_menu_left_offset">10.0dip</dimen>
<dimen name="quicknavi_menu_top_offset">8.0dip</dimen>
<dimen name="quicknavi_large_panel_size_short">135.0dip</dimen>
<dimen name="quicknavi_large_panel_size_long">189.0dip</dimen>
<dimen name="quicknavi_large_panel_size_long2">193.0dip</dimen>
<dimen name="defalut_imei_text_font_size">15.0sp</dimen>
<dimen name="defalut_imei_text_pos_x">100.0dip</dimen>
<dimen name="defalut_imei_text_pos_y">280.0dip</dimen>
<dimen name="defalut_imei_text_pos_y_gap">20.0dip</dimen>
<dimen name="defalut_imei_text_landscape_pos_x">280.0dip</dimen>
<dimen name="defalut_imei_text_landscape_pos_y">140.0dip</dimen>
<dimen name="menu_top_item_height_iconmenu">64.0dip</dimen>
<dimen name="scrollzone_width">50.659973dip</dimen>
<dimen name="pageindicator_top_offset">0.0dip</dimen>
<dimen name="pageindicator_gap_iconmenu">44.0dip</dimen>
[COLOR="red"]<dimen name="pageindicator_moregap_iconmenu">8.329987dip</dimen>[/COLOR]
<dimen name="pageindicator_start_offset">350.65625dip</dimen>
<dimen name="menu_item_width">102.66dip</dimen>
<dimen name="menu_item_icon_height">48.0dip</dimen>
<dimen name="menu_left_offset">2.6599731dip</dimen>
<dimen name="menu_left_start_offset">4.0dip</dimen>
<dimen name="deletezone_bottom_offset">0.0dip</dimen>
<dimen name="badge_top_offset_iconmenu">-1.3299866dip</dimen>
<dimen name="badge_right_offset_iconmenu">-28.0dip</dimen>
</resources>
For lil bit Transparent Mod
you can try this one :
Transparent Page Indicator :
# Navigate to res/values-ldpi/and find bools.xml Change the red marker code in the file :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="workspace_widget_padding">true</bool>
<bool name="workspace_pageindicator_showhide_enable">false</bool>
<bool name="pageindicator_showhide_enable">true</bool>
<bool name="bennettmode">false</bool>
[COLOR="Red"]<bool name="pageindicator_opacity">false</bool>[/COLOR]
</resources>
With this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="workspace_widget_padding">true</bool>
<bool name="workspace_pageindicator_showhide_enable">false</bool>
<bool name="pageindicator_showhide_enable">true</bool>
<bool name="bennettmode">false</bool>
<bool name="pageindicator_opacity">true</bool>
</resources>
Full Transparent App drawer :
# Navigate to res/values-ldpi/and find colors.xml Change the code in the file :
Find and Change :
Code:
<color name="menu_background">#55000000</color>
With :
Code:
<color name="menu_background">#00000000</color>
STEP 2 RECOMPILE Your Touchwiz30Launcher.apk
If you have trouble, you can use my code attached below...
This alternate guide :
1. Pull/Download touchwiz30launcher.apk above and decompile it..
2. download TW30TOP.zip and extract it..
3. Replace it with your xml is in TW30TOP.zip
4. Recompile.. and enjoy
or if you're lazy, you can download it on my other thread here . Hope You Enjoy
[MOD][Launcher] Touchwiz30 [Move app drawer Go to the top][UPDATED]
UPDATE 19/11/2010 [Remove Alphabetical Order]
How to remove alphabetical order on TW30 :
1. Decompile your tw30 , then
2. Go to /smali/com/sec/android/app/twlauncher/MenuManager.smali
Find and delete this code :
Code:
.line 1770
sget-object v0, Lcom/sec/android/app/twlauncher/LauncherModel;->APP_NAME_COMPARATOR:Ljava/util/Comparator;
3. Save and Recompile...
Now your ABC is removed..
CMIIW
Thx to Prayuts for this
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++​Just Some trick to fix list view :
1. Decompile tw30launcher
2. go to res/xml-ldpi and res/xml-land-ldpi and open "launcher_config.xml"
change :
Code:
launcher:useMainMenuListMode="true"
with :
Code:
launcher:useMainMenuListMode="false"
reserved
Reserved
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2
reserve
hey bro. for transparant drawer , not on bools.xml , but in colors.xml
just info . nice GUIDE , i using ur guide on my ROM , with credits
YudhiezChitilieaz said:
hey bro. for transparant drawer , not on bools.xml , but in colors.xml
just info . nice GUIDE , i using ur guide on my ROM , with credits
Click to expand...
Click to collapse
Oh yeah im sorry for that...
my keyboard got an eror to type that...lol
What rom's bro?
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2
This is a SS from galaxy Y pro duos
Can this be done (i also want to play with the TW launcher)
Sent from my Galaxy Y - A phone with Small Screen and Big Buttons
tjsgy said:
This is a SS from galaxy Y pro duos
Can this be done (i also want to play with the TW launcher)
Sent from my Galaxy Y - A phone with Small Screen and Big Buttons
Click to expand...
Click to collapse
Yes,it can be done and also the alphabetical sorting.Some small smali edits.I'm on mobile,so i cant post the codes.
Sent from my GT-S5360 using xda app-developers app
tjsgy said:
This is a SS from galaxy Y pro duos
Can this be done (i also want to play with the TW launcher)
Sent from my Galaxy Y - A phone with Small Screen and Big Buttons
Click to expand...
Click to collapse
I think it's the same with galaxy y duos ....
you can try to decompile your TW then compare with mine...
yo bro which smali code to edit to get alphabeticaly order ?
d3cka said:
yo bro which smali code to edit to get alphabeticaly order ?
Click to expand...
Click to collapse
Sory Im in mobile now..
You can get smali alphabetical order on zcop tw guide...search it.. theres a post smali code from prayuts...
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2
Yes i seen that post but when i search the code its different so i guess im waiting for ur help..
Sent from my GT-S5360 using xda premium
can u edit this launcher to be non_alphabet one (normal one)
"Start : Pull your TouchWiz30Launcher.apk or you can Take this one"
i just want the 5x5
encik_racun said:
can u edit this launcher to be non_alphabet one (normal one)
"Start : Pull your TouchWiz30Launcher.apk or you can Take this one"
i just want the 5x5
Click to expand...
Click to collapse
quoting myself....can i have that? the one without ahphabet icon drawer?
encik_racun said:
quoting myself....can i have that? the one without ahphabet icon drawer?
Click to expand...
Click to collapse
sorry for waiting ..
Im busy with my band now
here I give some tuts to remove alphabetical order...check the 2nd post
zalzondabuzz said:
sorry for waiting ..
Im busy with my band now
here I give some tuts to remove alphabetical order...check the 2nd post
Click to expand...
Click to collapse
thanks...i will take a look and test it
---------- Post added at 04:14 PM ---------- Previous post was at 04:10 PM ----------
zalzondabuzz said:
How to remove alphabetical order on TW30 :
1. Decompile your tw30 , then
2. Go to /smali/com/sec/android/app/twlauncher/MenuManager.smali
Find and delete this code :
Code:
.line 1770
sget-object v0, Lcom/sec/android/app/twlauncher/LauncherModel;->APP_NAME_COMPARATOR:Ljava/util/Comparator;
3. Save and Recompile...
Now your ABC is removed..
CMIIW
Thx to Prayuts for this
Click to expand...
Click to collapse
damn! i look at that line maybe for 8-10 times but afraid to edit or delete it thanks for that....finally! phew!
:laugh::laugh:
Dont be affraid to start something...
That tuts tested and working fine...
zalzondabuzz said:
:laugh::laugh:
Dont be affraid to start something...
That tuts tested and working fine...
Click to expand...
Click to collapse
last question....do i need to delete resources.arsc in keep folder after edit the smali?
encik_racun said:
last question....do i need to delete resources.arsc in keep folder after edit the smali?
Click to expand...
Click to collapse
I f U use VTS , you don't need do that... except, you're using apktool/or other manually ....

[GUIDES][4.0.4][29-03-14] Some guide/mod and links for Samsung ICS devices

***Here are some of my guide/mod links for Samsung ICS Devices***
These guides are specially for GT-S7562. But should work for other Samsung ICS devices also. Values may differ.
New Guide(s) added - 1st April, 2014 - 9:00 PM (GMT +5:30)
Code:
[CENTER][B][U][SIZE="5"]--Contents--[/SIZE][/U][/B]
*******************************[/CENTER]
[SIZE="4"][LIST]
[*]Post #1 - [U]Guide Links[/U]
[*]Post #2 - [U]Small guides[/U]
[*]Post #3 - [U]Reserved for future use[/U]
[*]Post #4 - [U]Reserved for future use[/U]
[/LIST][/SIZE]
[CENTER]*******************************[/CENTER]
AOSP Lockscreen with on/off toggle
Click to expand...
Click to collapse
0-100% Battery Mod
Click to expand...
Click to collapse
Most stable center clock mod for dual sim devices
Click to expand...
Click to collapse
Transparent status bar and pull down notification background
Click to expand...
Click to collapse
Add Hide Time and AM/PM toggle
Click to expand...
Click to collapse
System Black background to Transparent background
Click to expand...
Click to collapse
----------------------------------------------
***More will be there soon***
----------------------------------------------
Don't forget to PRESS THANKS :good: BUTTON
***Here are some of my small guides/mods for Samsung ICS Devices***​
***New guide(s) added [29th March, 2014 | 11:57 AM | GMT +5:30]***
----------------------------------------------
Things you need:
Tool for decompiling/compiling work (I will not cover this, there are many guides for this)
Notepad++
Patience
Some common sense
Click to expand...
Click to collapse
Remove Carrier label in AOSP Lockscreen
Decompile framework-res.apk
Open res/layout/keyguard_screen_tab_unlock.xml
edit this line:
Code:
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:layout_width="[COLOR="Red"]wrap_conten[/COLOR]t" android:layout_height="[COLOR="red"]wrap_content[/COLOR]" android:layout_marginBottom="12.0dip" android:singleLine="true" android:layout_alignParentBottom="true" />
Change that red part to 0.0dip
Do the same with keyguard_screen_tab_unlock_dual.xml for dual sim phone
edit these lines:
Code:
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:layout_width="[COLOR="red"]wrap_content[/COLOR]" android:layout_height="[COLOR="red"]wrap_content[/COLOR]" android:layout_marginBottom="12.0dip" android:singleLine="true" android:layout_alignParentBottom="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier2" android:layout_width="[COLOR="red"]wrap_content[/COLOR]" android:layout_height="[COLOR="red"]wrap_content[/COLOR]" android:layout_marginBottom="12.0dip" android:singleLine="true" android:layout_alignParentBottom="true" />
Change that red part to 0.0dip
Save it and recompile framework-res.apk
Thats it
Click to expand...
Click to collapse
Disable Auto scrolling animation for notification toggles (quickpanel)
Decompile SystemUI.apk
Open com\android\systemui\statusbar\policy\quicksetting/QuickSettingPanel.smali
Search-
Code:
.method public prepareTranslationX(Z)V
Replace whole method with this
Code:
.method public prepareTranslationX(Z)V
.locals 3
.parameter "isExpanded"
return-void
.end method
Now Search-
Code:
.method public startScrollAnimation()V
Replace whole method with this
Code:
.method public startScrollAnimation()V
.locals 5
return-void
.end method
Save it and recompile SystemUI.apk
Thats it.
Credits:
majdinj
BOOTMGR
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Remove quickpanel toggles from expanded status bar
Decompile SystemUI.apk
Open res/layout/tw_status_bar_expanded.xml
Look for this
Code:
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="[COLOR="red"]wrap_conten[/COLOR]t" android:layout_height="[COLOR="red"]wrap_content[/COLOR]"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="[COLOR="red"]wrap_conten[/COLOR]t" android:layout_height="[COLOR="red"]wrap_content[/COLOR]" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
</HorizontalScrollView>
Change red part to 0.0dip
On dual sim device
Do the same with res/layout/tw_status_bar_expanded_dual.xml
Now open res/layout/tw_quick_setting_button.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:focusable="false" android:layout_width="[COLOR="red"]fill_parent[/COLOR]" android:layout_height="[COLOR="red"]@dimen/quick_setting_button_height[/COLOR]">
<ImageView android:layout_gravity="center" android:id="@id/btn_image" android:layout_width="[COLOR="red"]fill_parent[/COLOR]" android:layout_height=[COLOR="red"]"@dimen/quick_setting_button_image_height[/COLOR]" android:layout_marginTop="2.0dip" />
<TextView android:textSize="[COLOR="red"]@dimen/quick_setting_button_text_size[/COLOR]" android:textColor="#ff9eb2c3" android:gravity="center" android:id="@id/btn_text" android:layout_width="[COLOR="red"]fill_parent[/COLOR]" android:layout_height="[COLOR="red"]@dimen/quick_setting_button_text_height[/COLOR]" android:includeFontPadding="false" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="2.0" />
<ImageView android:layout_gravity="center" android:id="@id/btn_status_image" android:paddingLeft="4.0dip" android:paddingTop="@dimen/quick_setting_button_status_padding" android:paddingRight="4.0dip" android:paddingBottom="@dimen/quick_setting_button_status_padding" android:layout_width="[COLOR="red"]fill_parent[/COLOR]" android:layout_height="[COLOR="red"]@dimen/quick_setting_button_status_height[/COLOR]" android:scaleType="fitXY" android:drawable="@drawable/tw_quick_panel_off" />
</LinearLayout>
</merge>
Change red part to 0.0dip
Save it and recompile SystemUI.apk
Thats it. :good:
Click to expand...
Click to collapse
Remove label text of quickpanel toggles
Decompile SystemUI.apk
Open res/layout/tw_quick_setting_button.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:focusable="false" android:layout_width="fill_parent" android:layout_height="@dimen/quick_setting_button_height">
<ImageView android:layout_gravity="center" android:id="@id/btn_image" android:layout_width="fill_parent" android:layout_height="@dimen/quick_setting_button_image_height" android:layout_marginTop="2.0dip" />
<TextView android:textSize="[COLOR="red"]@dimen/quick_setting_button_text_size[/COLOR]" android:textColor="#ff9eb2c3" android:gravity="center" android:id="@id/btn_text" android:layout_width="[COLOR="red"]fill_parent[/COLOR]" android:layout_height="[COLOR="red"]@dimen/quick_setting_button_text_height[/COLOR]" android:includeFontPadding="false" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="2.0" />
<ImageView android:layout_gravity="center" android:id="@id/btn_status_image" android:paddingLeft="4.0dip" android:paddingTop="@dimen/quick_setting_button_status_padding" android:paddingRight="4.0dip" android:paddingBottom="@dimen/quick_setting_button_status_padding" android:layout_width="fill_parent" android:layout_height="@dimen/quick_setting_button_status_height" android:scaleType="fitXY" android:drawable="@drawable/tw_quick_panel_off" />
</LinearLayout>
</merge>
Change red part to 0.0dip
Save it.
Open res/values/dimens.xml
Search
Code:
quick_setting_button_height
Now decrease the size of this dimen value to exclude the size of text.(quick_setting_button_text_height)
Example-
If "quick_setting_button_height"=80.dip and "quick_setting_button_text_height"=30.0dip
Then change the value of "quick_setting_button_height" from 80.0dip to 50.0dip
Click to expand...
Click to collapse
Save it and recompile SystemUI.apk
Thats it. :good:
Click to expand...
Click to collapse
Hide Status Bar in expanded view like Jelly Bean
Decompile SystemUI.apk
Open smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
Search for 0x7e1 and replace all with 0x7de
Now search this method
Code:
.method updateExpandedViewPos(I)V
Remove red lines
Code:
.method updateExpandedViewPos(I)V
.locals 12
.parameter "expandedPosition"
.prologue
const/16 v11, -0x2710
const/4 v7, 0x1
[COLOR="Red"].line 2638
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
invoke-virtual {v8}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->getHeight()I
move-result v3[/COLOR]
.line 2639
.local v3, h:I
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplayMetrics:Landroid/util/DisplayMetrics;
iget v2, v8, Landroid/util/DisplayMetrics;->heightPixels:I
.line 2643
.local v2, disph:I
iget-boolean v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedVisible:Z
if-nez v8, :cond_1
Go some lower or just search
const/16 v8, -0x2711
Click to expand...
Click to collapse
Add blue one
Code:
.line 2644
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->updateExpandedInvisiblePosition()V
.line 2731
:cond_0
:goto_0
return-void
.line 2650
:cond_1
[COLOR="blue"]const/4 v3, 0x0[/COLOR]
const/16 v8, -0x2711
if-ne p1, v8, :cond_6
.line 2651
move v6, v3
Save it and recompile SystemUI.apk
Thats it.
Enjoy!
Click to expand...
Click to collapse
Transparent status bar on lockscreen
Decompile android.policy.jar
Open com/android/internal/policy/impl/KeyguardViewManager.smali
Search-
Code:
.method public declared-synchronized show()V
Under this method:
Search
Code:
0x10100800
Change this value to
Code:
0x1010900
Recompile android.policy.jar
Thats it:good:
Credits:
xperiacle
Click to expand...
Click to collapse
Click to expand...
Click to collapse
----------------------------------------------
***More will be there soon***
----------------------------------------------
Don't forget to PRESS THANKS :good: BUTTON
Reserved
Reserved....
Appreciation
THank u bro ! very useful for begginers like me :good::good:
Keep updating and adding New guide ,
if u got time plz make a guide about adding default wallpaper in Secsettings.apk
Good...everything at one place
Sent from my GT-S7562 using xda app-developers app
@Mohitash : Tool for decompiling/compiling work
Can you tell which tools we should prefer ? #THANKS
NiTesh said:
@Mohitash : Tool for decompiling/compiling work
Can you tell which tools we should prefer ? #THANKS
Click to expand...
Click to collapse
There are many guides for this.
Use that tool which is best for you
I use ApkMuktiTool its best for me.
Tapatalk Signature
Sent from PMP U751 (GT-S7562)
I am still a noob...
Sharique244777 said:
THank u bro ! very useful for begginers like me :good::good:
Keep updating and adding New guide ,
if u got time plz make a guide about adding default wallpaper in Secsettings.apk
Click to expand...
Click to collapse
Thanks for appreciation
HELP!
Plz Expplain me bro About android.policy.jar
Mohitash said:
There are many guides for this.
Use that tool which is best for you
I use ApkMuktiTool its best for me.
Tapatalk Signature
Sent from PMP U751 (GT-S7562)
I am still a noob...
Click to expand...
Click to collapse
can you upload systemui.apk for expanded view in statusbar
New guide updated :good:
Mohitash said:
New guide updated :good:
Click to expand...
Click to collapse
i am having error while dwcompile systemui.apk
what to do?

(guide how to add samsung clock widget on lockscreen Gb

Samsung Note 3 clock widget on lockscreen .
Description​
{
"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"
}
Steps
1.) Decompile framework-res.apk
2.) Download s4clokwidget.zip ,get the pngs and put it inside res/drawable of framework.
3.) Go to res/values/ids.xml and open it. And BEFORE </resources> put this code:
Code:
[COLOR=Red]<item type="id" name="first_digital">false</item>
<item type="id" name="second_digital">false</item>
<item type="id" name="dot_digital">false</item>
<item type="id" name="third_digital">false</item>
<item type="id" name="fouth_digital">false</item>
<item type="id" name="current_date">false</item>
<item type="id" name="time2">false</item>[/COLOR]
IT WILL BE LIKE THIS:
Click to expand...
Click to collapse
Code:
[COLOR=Red]<item type="id" name="first_digital">false</item>
<item type="id" name="second_digital">false</item>
<item type="id" name="dot_digital">false</item>
<item type="id" name="third_digital">false</item>
<item type="id" name="fouth_digital">false</item>
<item type="id" name="current_date">false</item>
<item type="id" name="time2">false</item>[/COLOR]
</resources>
and go to res/value/bool.xml open it add this code
<bool name="config_lock_screen_battery_animation_horizontal">true</bool>
Click to expand...
Click to collapse
before resources.
Now layout step
open res/layout/keyguard_screen_unlock_portrait.xml :
search for this
Code:
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="15.0dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="70.0sp" android:ellipsize="none" android:gravity="bottom" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="18.0sp" android:ellipsize="none" android:gravity="bottom" android:id="@id/am_pm" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="4.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
</com.android.internal.widget.DigitalClock>
Replace it with
Code:
<com.ninjask.internal.policy.impl.LockScreenDigitalClock android:gravity="center" android:layout_gravity="center" android:orientation="vertical" android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="25.0dip">
<LinearLayout android:id="@id/time2" android:layout_width="wrap_content" android:layout_height="58.0dip" android:layout_marginTop="40.0dip" android:layout_alignParentTop="true" android:layout_centerHorizontal="true">
<ImageView android:id="@id/first_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
<ImageView android:id="@id/second_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
<ImageView android:id="@id/dot_digital" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/zzz_unlock_clock_colon_s" />
<ImageView android:id="@id/third_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
<ImageView android:id="@id/fouth_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
</LinearLayout>
<TextView android:textSize="21.0sp" android:textColor="#fff0ffbb" android:gravity="center" android:id="@id/current_date" android:layout_width="fill_parent" android:layout_height="wrap_content" android:shadowColor="#ff000000" android:shadowDx="0.0" android:shadowDy="1.0" android:shadowRadius="2.5" android:layout_below="@id/time2" android:layout_alignParentTop="true" />
</com.ninjask.internal.policy.impl.LockScreenDigitalClock>
</LinearLayout>
4.) Save and recompile it THEN get the recompiled framework-res.apk and decompile it AGAIN.
5.)Open framework-res/res/values/public.xml and REMEMBER this codes:
Code:
<public type="id" name="first_digital" id="public1" />
<public type="id" name="second_digital" id="public2" />
<public type="id" name="third_digital" id="public3" />
<public type="id" name="fouth_digital" id="public4" />
<public type="id" name="current_date" id="public5" />
<public type="string" name="full_wday_month_day_no_year" id="public6" />
<public type="bool" name="config_lock_screen_battery_animation_horizontal" id="public7" />
<public type="drawable" name="zzz_unlock_clock_0" id="clock0" />
<public type="drawable" name="zzz_unlock_clock_1" id="clock1" />
<public type="drawable" name="zzz_unlock_clock_2" id="clock2" />
<public type="drawable" name="zzz_unlock_clock_3" id="clock3" />
<public type="drawable" name="zzz_unlock_clock_4" id="clock4" />
<public type="drawable" name="zzz_unlock_clock_5" id="clock5" />
<public type="drawable" name="zzz_unlock_clock_6" id="clock6" />
<public type="drawable" name="zzz_unlock_clock_7" id="clock7" />
<public type="drawable" name="zzz_unlock_clock_8" id="clock8" />
<public type="drawable" name="zzz_unlock_clock_9" id="clock8" />
REMEMBER THIS: when you remeber the public ids, remove the 0 next to x, (FOR EXAMPLE: 0x01234567 change it to this: 0x1234567).
6.) Decompile android.policy.jar.
7.) Download ninjask.zip and extract it to smali folder.
8.) Now..... (I hate this ids ids ids... xD) Open LockScreenDigitalClock.smali FIND this line and REPLACE the highlighted code:
Code:
const v2, [COLOR=Red]0x108048b[/COLOR]
REPLACE 0x 0x108048b with your YOUR clock0
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]108048c[/COLOR]
REPLACE 0x108048c with your YOUR clock1
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]108048d[/COLOR]
REPLACE 0x108048d with your YOUR clock2
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, [COLOR=Red]0x108048e[/COLOR]
REPLACE 0x 0x108048ewith your YOUR clock3
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]108048f [/COLOR]
REPLACE 0x 0x108048f with your YOUR clock4
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080490 [/COLOR]
REPLACE 0x 0x1080490 with your YOUR clock5
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080491 [/COLOR]
REPLACE 0x 0x1080491 with your YOUR clock6
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080492 [/COLOR]
REPLACE 0x 0x1080492 with your YOUR clock7
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080493 [/COLOR]
REPLACE 0x 0x1080493 with your YOUR clock8
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080494 [/COLOR]
REPLACE 0x 0x1080494 with your YOUR clock9
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v8, 0x[COLOR=Red]10400a7 [/COLOR]
REPLACE 0x10400a7 with your YOUR public6
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020254 [/COLOR]
REPLACE 0x1020254 with your YOUR public1
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020255 [/COLOR]
REPLACE 0x1020255 with your YOUR public2
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020257 [/COLOR]
REPLACE 0x1020257 with your YOUR public3
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020258 [/COLOR]
REPLACE 0x1020258 with your YOUR public4
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020259 [/COLOR]
REPLACE 0x1020259 with your YOUR public5
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v1, [COLOR=Red]0x10d0021 [/COLOR]
REPLACE 0x10d0021 with your YOUR public7
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
9.) Save LockScreenDigitalClock.smali.
10.) Almost There! recompile android.policy.jar.
11.) Flash your recompiled android.policy.jar and framework-res.apk
12.) If it works, JUMP! if not, tell me, maybe i forgot somethin​
I provided this flashable zip you can use it for your Flashing lockscreen (FLASHABLE.ZIP)
Now thread is updated:fingers-crossed:
1 .if you are using my work so plz give me credit . because i spend many night and days for getting success.
and
If you are porting this guide to To another inform me first . then i will create a seprate guide for your device.
by giving you credit and tester
​
​
​
nice guide trying tommorow
Great JOB
awesome guide bro
trying now & let me inform u whats the result:laugh:
no link to download s4clokwidget.zip... ¿?
soory now link updated
Carl_47 said:
no link to download s4clokwidget.zip... ¿?
Click to expand...
Click to collapse
sorry link updated now
No more of it...??
Wanna try it in A63..!!

(Tinted Status Bar) Dynamic Status Bar For JB 4.1 / 4.1.2 / 4.2.2 Non Apk Guide

Hello guys, i am back after a long time. Just created this thread to share a new status bar tinting (dynamic status bar) which is an update to the old status bar tinting guide which was posted by me few months back.
Pre Requisites:-
1. Apktool version 1.5.2 is must.
2. Notepad ++
3. Attachment.
4. SystemUI.apk
5. SecSettings.apk
6. Common sense.jar
7. Brain.dex
Procedure:-
PART (I)
1.
Decompile SecSetting.apk
2. Goto res/values/ strings.xml, Add these lines above </resources>
Code:
<string name="eboy_basit_dynamic_status_bar_title">Dynamic status bar</string>
<string name="dynamic_status_bar_color_title">Dynamic status bar color</string>
<string name="dynamic_status_bar_color_summary">Automatically update background color of the status bar</string>
<string name="dynamic_status_bar_gradient_title">Gradient</string>
<string name="dynamic_status_bar_gradient_summary">Overlay a gradient on the status bar</string>
<string name="dynamic_status_bar_filter_title">Darkening</string>
<string name="dynamic_status_bar_filter_summary">Overlay a darkening filter on the status bar</string>
3. Add this line in res/xml/display_settings.xml
Code:
<PreferenceScreen android:title="@string/eboy_basit_dynamic_status_bar_title" android:fragment="com.android.settings.oplosandev.DSBSettings" />
Merge Attachment1.zip to the respective folder of your SecSettings.apk
Recompile SecSettings and decompile it again.
4. Goto res/values /public.xml seach for "deuge_dsb_settings" , you'll get its id.
5. Now goto smali/com/android/settings/oplosandev/DSBSettings.smali search for const v0, 0x7f050064 and replace it with the id of "deuge_dsb_settings" which you get from public.xml
6. Save it.
7. Recompile it , sign it and push it to system/app folder and set its permission to rw-rr
PART (II)
1. Decompile SystemUI.apk
2. Goto res/values/ids.xml add following codes above </resources>
Code:
<item type="id" name="dynamic_status_bar_color">false</item>
<item type="id" name="dynamic_status_bar_filter">false</item>
<item type="id" name="dynamic_status_bar_gradient">false</item>
<item type="id" name="dynamic_status_bar_lockscreen_filter">false</item>
3. Now goto res/layout/tw_status_bar_dual.xml and in its line no. 2 you'll see android:background="@drawable/status_bar_background" replace it by android:background="#00000000"
4. Copy this
Code:
<com.fmd.statusbarcolor.color android:id="@id/dynamic_status_bar_color" android:layout_width="fill_parent" android:layout_height="fill_parent">
<View android:id="@id/dynamic_status_bar_filter" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#30000000" android:visibility="gone" />
<View android:id="@id/dynamic_status_bar_gradient" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/dynamic_status_bar_drawable_gradient" android:visibility="gone" />
</com.fmd.statusbarcolor.color>
<View android:id="@id/dynamic_status_bar_lockscreen_filter" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#83000000" android:visibility="gone" />
Below this line:
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Merge Attachment2.zip to their respective folder of SystemUI.apk
Recompile SystemUI.apk and decompile it again
5. Decompile framework-res.apk , goto its res/values/public.xml
Search status_bar_height , you'll get its id like 0x01234567 , now only remove the zero which comes before 1 to make the id like 0x1234567
6. Now goto systemui/smali/com/fmd/color.smali and search for this
const v1, 0x105000c
Replace 0x105000c with the id of status_bar_height that you got from framework-res.apk .
7. Now open Decompiled SystemUI , goto its res/values/public.xml folder
Search for ids of following keywords
Code:
"dynamic_status_bar_color"
Code:
"dynamic_status_bar_filter"
Code:
"dynamic_status_bar_gradient"
Code:
"dynamic_status_bar_lockscreen_filter"
Note them down on your copy.
8. Now open SystemUI/smali/com/fmd/color.smali
Replace 0x7f0c00fe with the id of
dynamic_status_bar_gradient (2 hits)
Replace 0x7f0c00fd with the id of
dynamic_status_bar_filter (2 hits)
Replace 0x7f0c00fc with the id of
dynamic_status_bar_color (2 hits)
Save it.
Recompile it, sign it and push to /system/app and set permissions to rw-rr and reboot your device.
Note:- To alter dsb settings , goto your settings > display settings > Dynamic Status Bar
Don't forget to hit thanks
Credits:-
@dugeriss
@bamzzz
@qoejohn
Daleman
Alex & Rk
Danu Gansilop
www.cyberstream.in
Hmmmm does this work on Samsung s duos 2.
whaidim said:
Hmmmm does this work on Samsung s duos 2.
Click to expand...
Click to collapse
I haven't tested it on that device but i think it will work apply it and see results
Nice :good:
Well, a few screenshots of statusbar after the mod will be appreciable.
nice thanks
Work for me bro.. thank you very much..
#JB 4.1.2
icant said:
Work for me bro.. thank you very much..
#JB 4.1.2
Click to expand...
Click to collapse
Enjoy
cm11 calculator ported by me Click Here
Can anyone make youtube guide please? I'm getting a lot of errors while recompile the secsetting.apk on android 4.2.2
Sent from my GT-I9060 using Tapatalk
i dont have smail folder!!!
i am using my Xperia C device i decompiled the SystemUI and Settings and both of them doesn't have smail folder!!! why ??
can I make it for non samsung devices?
my color.smali is in systemui/smali/com/fmd/statusbarcolor/ and i can't found codes: 0x105000c ,0x7f0c00fe, 0x7f0c00fd ...
sorry my bad english
Xperia Jb 4.1.2
Not working bro :crying:
Doesn't compile on kitkat
I'm trying to implement this on kitkat but is impossible to compile, I get this error:
Code:
..\3-Out\SystemUI.apk\smali\com\fmd\statusbarcolor\color$1.smali[27,4] Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/fmd/statusbarcolor/color$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:349)
at brut.androlib.Androlib.buildSources(Androlib.java:289)
at brut.androlib.Androlib.build(Androlib.java:275)
at brut.androlib.Androlib.build(Androlib.java:250)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Is it possible to get this on kitkat? If yes, can you help me? Not sure if is too much to ask for you to see the apks and see what i'm doing wrong.
I would appreciate that.
link: datafilehost.com/d/31aa5ed2
thinkahead said:
I'm trying to implement this on kitkat but is impossible to compile, I get this error:
Code:
..\3-Out\SystemUI.apk\smali\com\fmd\statusbarcolor\color$1.smali[27,4] Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/fmd/statusbarcolor/color$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:349)
at brut.androlib.Androlib.buildSources(Androlib.java:289)
at brut.androlib.Androlib.build(Androlib.java:275)
at brut.androlib.Androlib.build(Androlib.java:250)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Is it possible to get this on kitkat? If yes, can you help me? Not sure if is too much to ask for you to see the apks and see what i'm doing wrong.
I would appreciate that.
link: datafilehost.com/d/31aa5ed2
Click to expand...
Click to collapse
You should use apktool 1.5.2
@Eboy Basit
Sir can you make a guide for GB2.3 devices?I tried this on GB devices,, but dynamic doesn't work(because of android.view.Display.getRealMetrics).Can you help me?
Sorry for my bad English.
Sent from my HUAWEI Y220-T10 using XDA Free mobile app
thanks a lot
Thanks sir work on my phone Nokia x #JB 4.1.2
hi. there is no secsetting in my cyanogenmod 10.2 or 11. what should i do?!!!
SidRobo said:
hi. there is no secsetting in my cyanogenmod 10.2 or 11. what should i do?!!!
Click to expand...
Click to collapse
decomplie Settings.apk.
Android小楼阁-QQ群 439637151
来自搭载Android 2.3 GingerBread的华为Y220-T10
zhaozihanzzh said:
decomplie Settings.apk.
Android小楼阁-QQ群 439637151
来自搭载Android 2.3 GingerBread的华为Y220-T10
Click to expand...
Click to collapse
i tested it on cm 10.2 and 10.1.6 . it works in cm10.1.6 but in cm10.2 when i enabled Dynamic status bar color, systemui stoped working. i think this may cause by this or not :
6. Now goto systemui/smali/com/fmd/color.smali and search for this
const v1, 0x105000c
Click to expand...
Click to collapse
there is no const v1, 0x105000c in color.smali. there is just a const v4, 0x105000a. and also color.smali is in SystemUI/smali/com/fmd/statusbarcolor/color.smali . so i leave this part in both tests.

Categories

Resources