[TUT] How to modify TouchWiz Launcher - Samsung Galaxy Gio GT-S5660

This tutorial is only for Samsung Galaxy Gio stock firmware. In others phones .smali files can be not the same, and might be not work
Requiements:
Any stock firmware for Gio
Windows operating system
Java Runtime Environment 6 or 7
Notepad++ for .smali editing
Any apk signer
1. Deodex ROM
2. Download apktool1.4.3.tar.bz2 and apktool-install-windows-r04-brut1.tar.bz2 from http://code.google.com/p/android-apktool/
3. Extract these files into C:\WINDOWS
4. Copy you TouchWiz30Launcher.apk/framework-res.apk/twframework-res.apk to any folder
5. Open shell command in you folder
6. Install frameworks by apktool if framework-res.apk and apktool if twframework-res.apk commands
7. Decompile TouchWiz30Launcher.apk by apktool d TouchWiz30Launcher.apk <folder_to_decompile> command
8. Moddify files
9. Compile you TouchWiz30Launcher.apk by apktool b <folder_to_compile> <new_app>
a) Sign if you rom is resigned
b) Copy edited files from modded app to original app (if you edited .smali code you must copy classes.dex to)
10. Push app into system and try
Set default screen counter:
In \res\xml-mdpi\launcher_config.xml change launcher:defaultScreenCount="3" to number from 1 to 7
Transparent drawer:
In \res\values-mdpi\colors.xml change
<color name="menu_background">#FF000000</color>
Click to expand...
Click to collapse
to 80 (semi-transparent) or 99 (like TouchWiz40Launcher)
5 icon dock (or 6)
Open /res/layout-land-ldpi/launcher.xml and /res/layout-ldpi/launcher.xml change
launcher:iconColumnCount="4"
Click to expand...
Click to collapse
change to 5 or 6
Open smali/com/sec/android/app/twlauncher/AppShortcutZone.smali
In
method .method public constructor <init>
Click to expand...
Click to collapse
find const/4 v1, 0x4 change to const/4 v1, 0x5
In
method .method public loadApplications()V
Click to expand...
Click to collapse
find const/4 v8, 0x3 change to const/4 v8, 0x4 for 5 or const/4 v8, 0x5 for 6
In
method .method public updateApplication
Click to expand...
Click to collapse
find const/4 v6, 0x3 change to const/4 v6, 0x4 for 5 or const/4 v6, 0x5 for 6
5 column app drawer (5x4 or 5x5)
Open TouchWiz30Launcher\res\xml-mdpi\launcher_config.xml with your text editor.
Find
menuColumnCount="4"
Click to expand...
Click to collapse
and change it to 5 (this is the number of columns)
Find
itemNumOfPage="16"
Click to expand...
Click to collapse
and chnage it to 20 if you want 5x4 drawer, or 25 if you want 5x5. (this is the number of icons per page)
5x5 icons home screen (widgets will look smaller)
Open \res\layout-mdpi\workspace_screen.xml
Find
shortAxisCells="4"
Click to expand...
Click to collapse
and change it to 5 (this is the number of columns in the home screen)
Find
cellWidth="80.0dip"
Click to expand...
Click to collapse
and change it to 64.0dip (this is the width of the column, it equals 320 / number_of_columns)
Find
longAxisCells="4"
Click to expand...
Click to collapse
and change it to 5 (this is the number lines of icons in the home screen)
Find
cellHeight="100.0dip"
Click to expand...
Click to collapse
and change it to 80.0dip (this is the height of the line, it equals 400 / number_of_lines)
Open \res\values-mdpi\styles.xml
Find
<item name="android:layout_marginBottom">4.0dip</item>
Click to expand...
Click to collapse
and change it to 2.0dip
Hide icon names in home screen
Open \res\values-mdpi\styles.xml
Find
<item name="android:layout_marginBottom">4.0dip</item>
Click to expand...
Click to collapse
(the value may be diffrent, so simply look for layout_marginBottom)
This value depends on the cellHeight from the previous patch. it equals cellHeight - 57
if you have a 4 line homescreen, then set it to 43
if you're making a 5 line homescreen, then set it to 23
If you're doing 5x5, do the following. if you're doing 5x4 then skip this.
Open \res\values-mdpi\dimens.xml
Find
<dimen name="menu_item_height">92.0dip</dimen>
Click to expand...
Click to collapse
and change it to 73.6dip (this is the height of the drawer element)
Open \res\layout-mdpi\application_boxed.xml
Find
maxLines="2"
Click to expand...
Click to collapse
and change it to 1 (this is the number of lines in the app name in the drawer)
Remove number in Page Indicator:
Open /smali/com/sec/android/app/twlauncher/PageIndicator$Page.smali and delete
invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/PaintV
Enable/disable 16bit transparency:
Open \res\xml-mdpi\launcher_config.xml and edit
launcher:use16BitWindow="xxx"
Click to expand...
Click to collapse
to true (fast, but more sharpen) or false (less sharpen, and nice)
Enable concentration effect in app drawer:
Open \res\xml-mdpi\launcher_config.xml and add
launcher:useMainMenuConcentrationEffect="true"
Click to expand...
Click to collapse
before launcher:use16BitWindow="xxx"
Enable List View option:
Open \res\xml-mdpi\launcher_config.xml and add
launcher:useMainMenuListMode="true"
Click to expand...
Click to collapse
after launcher:use16BitWindow="xxx"
Adding Auto-Alphabetical Arrangement:
Use AppZorter Lite (from attachment)
or
In /smali/com/sec/android/app/twlauncher/MenuManager.smali
find:
invoke-virtual {v0, v6}, Lcom/sec/android/app/twlauncher/LauncherModel$ApplicationInfoComparator;->setMode(I)V
.line 1770
iget-object v0, p0, Lcom/sec/android/app/twlauncher/MenuManager;->mOrderComparator:Lcom/sec/android/app/twlauncher/LauncherModel$ApplicationInfoComparator;
Click to expand...
Click to collapse
change to:
sget-object v0, Lcom/sec/android/app/twlauncher/LauncherModel;->APP_NAME_COMPARATOR:Ljava/util/Comparator;
find:
.line 1782
:cond_8
iget v7, v0, Lcom/sec/android/app/twlauncher/ApplicationInfo;->editPageNum:I
if-ne v7, v12, :cond_9
.line 1783
invoke-direct {p0, v10}, Lcom/sec/android/app/twlauncher/MenuManager;->getEmptyPageView(I)Lcom/sec/android/app/twlauncher/AppMenu;
Click to expand...
Click to collapse
remove:
if-ne v7, v12, :cond_9
Set homescreens count:
Add this line to default.prop (if you don't have, just create)
ro.csc.homescreen.screencount=5 (Number of screens)
Set default homescreen:
Add this line to default.prop (if you don't have, just create)
ro.csc.homescreen.defaultscreen=2 (Number of screen -1)
Thanks to:
zcop
pratyush.creed
brut.all
More mods is incoming !!!

Nice tut.
Sent from my GT-S5660 using xda premium

Thnx ! Really usefull

really good guide
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)

This is excellent!
Sent from my GT-S5660 using xda premium

This is a good tutorial.
I have a question: How to move the Page Indicator from Bottom to Top? Or from Top to Bottom?

Thanks for this guide dude!

SunnyOK said:
This is a good tutorial.
I have a question: How to move the Page Indicator from Bottom to Top? Or from Top to Bottom?
Click to expand...
Click to collapse
Go to my tw4 threads it has guide for moving page indicators
Mdpi
Sent from my GT-S5830 using xda premium

SpaceCaker said:
Go to my tw4 threads it has guide for moving page indicators
Mdpi
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Thank you for your prompt reply.
Do you mean this one? http://forum.xda-developers.com/showthread.php?t=1565741
It is for mdpi, not suitable for the latest Galaxy S TW3.
Any ideas?

SunnyOK said:
Thank you for your prompt reply.
Do you mean this one? http://forum.xda-developers.com/showthread.php?t=1565741
It is for mdpi, not suitable for the latest Galaxy S TW3.
Any ideas?
Click to expand...
Click to collapse
Its mdpi but u can change the dip to any code u want like 280 or 277
Its suitable for the tw 3
But nor for old foyo tw and tw4
Sent from my GT-S5830 using xda premium

Great tutorial... Anyway this is gonna be a bit offtopic... How canI install touchwiz5 launcher on any ics and + rom?
Sent from my GT-S5660 using xda app-developers app

SpaceCaker said:
Its mdpi but u can change the dip to any code u want like 280 or 277
Its suitable for the tw 3
But nor for old foyo tw and tw4
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Thank you.
My task is: Move page indicator of TW3 from bottom to top.
Change <dimen name="pageindicator_top">403.32812dip</dimen>
to <dimen name="pageindicator_top">6.0dip</dimen>
The page indicator moves to the top.
Next, I have to move all apps in drawer down. To do so, I modify
<dimen name="mm_pagePaddingTop">10.0dip</dimen>
to
<dimen name="mm_pagePaddingTop">35.0dip</dimen>
It works,
Then I need to move all icons and panels on desktop down. To do so, I modify
<dimen name="ws_iconPaddingTop">7.3399963dip</dimen>
to
<dimen name="ws_iconPaddingTop">30dip</dimen>
Only icons move down, panels do not move.
Could you please instruct me how to move everything down on desktop?

SunnyOK said:
Thank you.
My task is: Move page indicator of TW3 from bottom to top.
Change <dimen name="pageindicator_top">403.32812dip</dimen>
to <dimen name="pageindicator_top">6.0dip</dimen>
The page indicator moves to the top.
Next, I have to move all apps in drawer down. To do so, I modify
<dimen name="mm_pagePaddingTop">10.0dip</dimen>
to
<dimen name="mm_pagePaddingTop">35.0dip</dimen>
It works,
Then I need to move all icons and panels on desktop down. To do so, I modify
<dimen name="ws_iconPaddingTop">7.3399963dip</dimen>
to
<dimen name="ws_iconPaddingTop">30dip</dimen>
Only icons move down, panels do not move.
Could you please instruct me how to move everything down on desktop?
Click to expand...
Click to collapse
You need to go to layout / layout-mdpi / layout-ldpi and change workspace and launcher .xmls
Atleast some layout files
Sent from my GT-S5830 using xda premium

SpaceCaker said:
You need to go to layout / layout-mdpi / layout-ldpi and change workspace and launcher .xmls
Atleast some layout files
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Thank you for your instruction.
The work is completed with success. I would like to share with you.
Move page indicator from bottom to top.
Three modifications:
res/values/dimens.xm
<dimen name="mm_pagePaddingTop">35.0dip</dimen>
<dimen name="pageindicator_top">6.0dip</dimen>
res/layout/workspace_screen.xml
launcher:rowStartPadding="35.0dip"

How to increase no. Of screens??
"T}{@ÑK$" ÑøT TÕ $Ä¥ Jû§T Pr€ë$ ÎT...!!!
Sent From MY ¥ Dûø$ Üs!nG ËvÕ X RoM V¡Å XpArEnT TaPtAlK 2

U can do that
But u need to relayout a lot
Sent from my GT-S5830 using xda premium
---------- Post added at 02:06 PM ---------- Previous post was at 02:04 PM ----------
samsoul16 said:
How to increase no. Of screens??
"T}{@ÑK$" ÑøT TÕ $Ä¥ Jû§T Pr€ë$ ÎT...!!!
Sent From MY ¥ Dûø$ Üs!nG ËvÕ X RoM V¡Å XpArEnT TaPtAlK 2
Click to expand...
Click to collapse
Its in res/xml
Then one of those files has some stuff
With x an y line
+ line namrd 1
2
3
4
5
6
7
etc
U can add unlimited amount but u need to give them all an othe layout
Sent from my GT-S5830 using xda premium

SpaceCaker said:
U can do that
But u need to relayout a lot
Sent from my GT-S5830 using xda premium
---------- Post added at 02:06 PM ---------- Previous post was at 02:04 PM ----------
Its in res/xml
Then one of those files has some stuff
With x an y line
+ line namrd 1
2
3
4
5
6
7
etc
U can add unlimited amount but u need to give them all an othe layout
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Ty. Plz check pm buddy. I really need ur help plz..
"T}{@ÑK$" ÑøT TÕ $Ä¥ Jû§T Pr€ë$ ÎT...!!!
Sent From MY ¥ Dûø$ Üs!nG ËvÕ X RoM V¡Å XpArEnT TaPtAlK 2

Mod Swap Action to Keypad, Logs, Favorite, Contacts
So if this is possible then my question is can the behavior be changed for actions in the Keypad, Logs, Favorites, Contacts screen when you tap the phone icon.
The goal is to allow a right or left swipe to initiate the screen swap from Keypad to Logs to Favorites and Contacts and vice verses.
Make touchwiz components work like AOSP does, it should be easy to add that simple hack as this would improve usability of the phone an incredible amount because in my opinion you should be able to control that series of screens with only one hand.
It should not be required that a person have to tap the icon at the top just to swap between each menu in the phone app.
What section would be needed to mod only the behavior of screen swap and nothing else?
In other words a swipe action hack/mod to the secphone.apk. and secontacts.apk as these are linked somehow.
Thanks bro,
Jk
The app drawer works this way allowing for swipe between apps downloaded and widgets so I am certain it can be done for phone.

that's great, thanks. but I can't edit my default.prop... when I reboot my phone all of the edit is gone, any idea?
and 2 more Qs
1) when i use the 5 icons dock, how can i move the applications/home button to the middle?
and 2) what do i have to edit so the 90 degrees screen rotation works with tw?
sorry for my bad english

khashayar MMS said:
1) when i use the 5 icons dock, how can i move the applications/home button to the middle?
Click to expand...
Click to collapse
I wish I knew that...
Been looking everywhere for that...still haven't found how to.

Related

[Q]Remove clock from status bar

Does anyone have the mod that removes the clock from the status bar but shows the time whenever you hold your finger on the status bar? Like what bonsai does. I wanted to put it for the syndicate rom I just flashed. Lost and tired has the mod, but it completely removes the clock from the status bar. I swore I had it before, but I can't find it for the life of me now.
If anyone can help, I'd love you forever.
I think that's cause really the mod is two changes. To remove the clock you need to flash a modded services.jar file. In order to see the clock in the status bar requires you to flash a modded framework-res.apk. Specifically, i believe the file /res/layout/status_bar.xml has been modified to add the clock there. So if you were able to remove the clock that's good for step1. Now, you could try either flashing a bonsai framework-res.apk that has the change or taking that change and moving it into your framework and reflashing. Hope that makes sense. Im assumming you meant for EB13. The process might be a little different for EE03 not sure though.
SpicyBurrito said:
Does anyone have the mod that removes the clock from the status bar but shows the time whenever you hold your finger on the status bar? Like what bonsai does. I wanted to put it for the syndicate rom I just flashed. Lost and tired has the mod, but it completely removes the clock from the status bar. I swore I had it before, but I can't find it for the life of me now.
If anyone can help, I'd love you forever.
Click to expand...
Click to collapse
ok i want this sooooo bad.... anybody wanna give this a try
You can remove the clock in any 8 lock theme by going settings > lock screen settings> status bar
And you should be able figure out the rest
Sent from my super awesomely amazing
Generation
Unsubdued
Nuclear
Drive
Assault
Module
gtuansdiamm said:
You can remove the clock in any 8 lock theme by going settings > lock screen settings> status bar
And you should be able figure out the rest
Sent from my super awesomely amazing
Generation
Unsubdued
Nuclear
Drive
Assault
Module
Click to expand...
Click to collapse
i have 6 locks mod & it has no status bar settings...how hard would it be to make the change to 8 locks??? would it be as easy as replacing the tsmparts.apk???
greenmuggy said:
i have 6 locks mod & it has no status bar settings...how hard would it be to make the change to 8 locks??? would it be as easy as replacing the tsmparts.apk???
Click to expand...
Click to collapse
No.... you would have to edit a good amount of framework.
Sent from my SPH-D700 using XDA App
deano0714 said:
No.... you would have to edit a good amount of framework.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
like how much... bc ive already edit the ish outta my framework for my themes
deano0714 said:
No.... you would have to edit a good amount of framework.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
And a good amount of smali in android.policy.jar
Sent from my SPH-D700 using Tapatalk
MysteryEmotionz said:
And a good amount of smali in android.policy.jar
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Exactly... Its not like editing images ... But if you really want to do it the pm massaging and ask him how to do it on ec05 & I'm sure hell give you some tips.
Sent from my SPH-D700 using XDA App
MysteryEmotionz said:
And a good amount of smali in android.policy.jar
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
I kno you can transfer the policy.jar thru 7zip with no compile, so could I just transfer that, tsmparts.apk, settings.apk, & the extra images for the extra lockscreens to identical in my theme???
Sent from the Trans-Epic Express
No cause the changes to policy are linked to the changes in framework-res.apk.
Also frameworks and policy.jar can not be transfered over to other builds ec05-eg22-ect
Sent from my SPH-D700 using Tapatalk
MysteryEmotionz said:
No cause the changes to policy are linked to the changes in framework-res.apk.
Also frameworks and policy.jar can not be transfered over to other builds ec05-eg22-ect
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
LOL well of course its not compatible, i wanted to know if it would work & crossing builds didnt even cross my mind, but i think i found something here http://forum.xda-developers.com/showthread.php?t=1194290 but i dunno how to work this into my theme base with 6locks & pulldown animation(made by GituSum)<-->here http://forum.xda-developers.com/showthread.php?t=1162821 or if its transferable or not bc he has 2 versions eg22/ec05. I have no idea how to dev & im a lil iffy bout it since i cant get apk manager or apk tool to work right for anything i doubt ill be able to do it myself
Edit: or would this conflict with srf1.2's 6locks mod???
SpicyBurrito said:
Does anyone have the mod that removes the clock from the status bar but shows the time whenever you hold your finger on the status bar? Like what bonsai does. I wanted to put it for the syndicate rom I just flashed. Lost and tired has the mod, but it completely removes the clock from the status bar. I swore I had it before, but I can't find it for the life of me now.
If anyone can help, I'd love you forever.
Click to expand...
Click to collapse
FWIW...As I was hoping to achieve something like this myself, here's what I dug up concerning this request.
It requires editing 2 different files in the services.jar for just about any ROM.
1. Remove the clock from the status bar.
The StatusBarPolicy.smali requires these changes:
Code:
--- StatusBarPolicy.smali 2011-08-21 00:58:15.143531002 -0500
+++ StatusBarPolicy2.smali 2011-08-21 00:58:44.775531004 -0500
@@ -831,10 +831,10 @@
move-result-object v3
- iput-object v3, p0, Lcom/android/server/status/StatusBarPolicy;->mClockIcon:Landroid/os/IBinder;
+ #iput-object v3, p0, Lcom/android/server/status/StatusBarPolicy;->mClockIcon:Landroid/os/IBinder;
.line 632
- invoke-direct {p0}, Lcom/android/server/status/StatusBarPolicy;->updateClock()V
+ #invoke-direct {p0}, Lcom/android/server/status/StatusBarPolicy;->updateClock()V
.line 635
const-string v3, "storage"
This one is thanks to ptfmedic...I checked the changes in the services.jar available on his blog, http://lostandtired.com/.
2. Add the clock by the date when the status bar is expanded.
There's 2 methods for doing this one which both require editing the DateView.smali.
Option 1 This one let's you set a date/time in a FULL, LONG, MEDIUM, or SHORT format.
Option 2 This one allows you to set whatever string you'd like based on the SimpleDateFormat.
Whoa there are you speaking human? Lol jk man I dont even know xml yet
Sent from the Trans-Epic Express
greenmuggy said:
Whoa there are you speaking human? Lol jk man I dont even know xml yet
Sent from the Trans-Epic Express
Click to expand...
Click to collapse
There's nothing like a post like that to show me how much I still have to learn!
Sent from my SPH-D700 using XDA Premium App

[Q] Changing Status bar text color?

Hi guys
I know that this question has been asked 1000+++ times before.
But I can't find a solution for mine in any of those threads.
I'm running AOKP B27 on my Galaxy Nexus and I would like to mod the SystemUI
to my needs. As you might know, AOKP added a feature that you have a weather
window when your status bar is expanded.
That aside, when I expand my status bar, all text is ICS blue.
I want to change that and make all text white.
I've managed to make the carrier text and date white. Now I need the weather text
and all toggles text in white.
Any idea where I can change that? I've searched troughout the many .xml files
in it but I can't find it!
Thanks in advance
diSke
I can't remember if it is in systemui or framework but its a value called "ticker"
Sent from my Galaxy Nexus using xda premium
MR H3LLMAN said:
I can't remember if it is in systemui or framework but its a value called "ticker"
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
99% sure its in the framework-Res.apk
Sent from my Galaxy Nexus using Tapatalk
runandhide05 said:
99% sure its in the framework-Res.apk
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
It is. I just checked.
Sent from my Galaxy Nexus using xda premium
systemUi.apk\res\values\styles.xml and there will be 3 lines that reference @blueholo bla bla bla just add in #ffffffff hex value for the white text.
what line looks like after edit... <item name="android:textColor">#ffffffff</item>
now the weather text is prolly handled by smali/java.
good day.
MR H3LLMAN said:
It is. I just checked.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
What's the path name? I can't find "Ticker" anywhere in framework-res
Thanks
chopper the dog said:
systemUi.apk\res\values\styles.xml and there will be 3 lines that reference @blueholo bla bla bla just add in #ffffffff hex value for the white text.
what line looks like after edit... <item name="android:textColor">#ffffffff</item>
now the weather text is prolly handled by smali/java.
good day.
Click to expand...
Click to collapse
Yes I knew that. That's how I changed date and carrier text.
But how do I have to edit the toggles and weather text?
If it's in smali/java, how do I mod that?
chopper the dog said:
systemUi.apk\res\values\styles.xml and there will be 3 lines that reference @blueholo bla bla bla just add in #ffffffff hex value for the white text.
what line looks like after edit... #ffffffff
now the weather text is prolly handled by smali/java.
good day.
Click to expand...
Click to collapse
This is how u do it
Sent from my Galaxy Nexus using xda premium
My bad its in framework Res styles
Window something.. text is all white ffffffff its about 1/8 down the page
Might b called window tile or window view I can't remember exactly
Sent from my Galaxy Nexus using xda premium
The other value to check is systemui values drawable ticker
Sent from my Galaxy Nexus using xda premium
Kevin3328 said:
Might b called window tile or window view I can't remember exactly
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Can't find it anywhere...
In framework Res... values... styles folder open it up scroll down until you see the first hex value #ffffffff it might be called window dialogue or something its there I made a couple themes already with all text in status bar and drop down changed
Sent from my Galaxy Nexus using xda premium
Code:
<style name="TextAppearance.WindowTitle" parent="@style/TextAppearance">
<item name="textSize">14.0sp</item>
<item name="textStyle">bold</item>
<item name="textColor">#ffffffff</item>
</style>
Is that the one? It's the second hex value in the document.
Because the first is about panelcolorbackground which I assume has nothing to do with text?
chopper the dog said:
systemUi.apk\res\values\styles.xml and there will be 3 lines that reference @blueholo bla bla bla just add in #ffffffff hex value for the white text.
what line looks like after edit... <item name="android:textColor">#ffffffff</item>
now the weather text is prolly handled by smali/java.
good day.
Click to expand...
Click to collapse
This may/may not be an old thread, but here's what I did. I took and decompiled the SystemUI.apk so I can edit the xml files. I found the styles.xml file in the \res\values folder. I want to change my status bar text to blue instead of grey... I changed all of the @blueholo lines to the #FF1E90FF which is the color I picked. Now, I recompiled, put it on my phone, and before I rename it/get it ready to go, I want to make sure of something... the original apk file is 2.47MB, the new one - only editing a few lines of code - is 1.82MB. Confused as to why just a few lines of code would be almost 1 MB of data, where it should only be a few kb... Is this going to screw something up?? Please, no answers like "Install and find out"... It's a brand new Note 2
svavrek said:
Please, no answers like "Install and find out"... It's a brand new Note 2
Click to expand...
Click to collapse
How about "Nandroid, then install and find out?"
How did u decompile.. Did u use apktool
Sent from my Galaxy Nexus using xda premium

[Q] Transparent status bar in CM10?

I've made a transparent status bar in CM9 before, but it seems the statusbar.smali file is no more in CM10. Anyone know how to create the same transparent status bar in CM10.
Cheers
Sent from my HTC One X using xda premium
I am pretty sure Pendo in the Galaxy Nexus section can help you!
He's the master of all transparent statusbar in aosp and CM roms
would be interessted too, so if you get an response, please post it
+1 on this !
Skickat från min HTC One X
Although I tend to use dark backgrounds most of the time (so it isn't really that noticeable), this would be nice and is one of the nicest touches in MIUI that I would like to see in CMX. Will keep an eye on this as CMX is quickly becoming my daily driver!
I think it just sets things off nicely - one of the best things in Sense 4.0/MIUI
easy , can someone upload me the systemUI.apk of it and i'll make you TR-top bar..
some smali edits and some xml's ..
http://db.tt/AXfVcItw
Here you go mate, preview 7.
Sent from my HTC One X using xda app-developers app
What are the XML and smali edits? I know its not the same as CM9...
Sent from my HTC One X using xda premium
Oh yes I would love it. Is it possible to change clock, batterie, signal color as well? Probably black or white? (to match with notification center look)
Sense-like status bar in CM10 would be sooo great
Has anyone got a copy of the decompiled systemui.apk? Am at work so don't Java to have a look?
Sent from my HTC One X using xda premium
Are you guys talking about the status bar as overlay or that you see the wallpaper behind the bar?
Sent from my HTC One X using xda app-developers app
Bump, would like help with this also.
Hey,
Have gone through the smali for ages and have managed to find the line of code that you would normally change in CM9. The catch is its already what we would normally change it to.
Code:
.line 2152
new-instance v0, Landroid/view/WindowManager$LayoutParams;
const/4 v1, -0x1
const/16 v3, 0x7d0
const v4, 0x800048
const/4 v5, -0x3
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
I found this at SystemUI\smali\com\android\systemui\statusbar\phone and its PhoneStatusBar.smali
Now what!?
CoSaWa said:
http://db.tt/AXfVcItw
Here you go mate, preview 7.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
making you guys a tr top bar i will need some testers..
Dougi said:
making you guys a tr top bar i will need some testers..
Click to expand...
Click to collapse
Im up for testing mate if you need a hand?
So did you guys manage to get the transparent top bar?
stian230 said:
So did you guys manage to get the transparent top bar?
Click to expand...
Click to collapse
No one has yet but people are working on it so won't be too long!!
Sent from my HTC One X using xda premium
I had saw one
ghammer80 said:
I've made a transparent status bar in CM9 before, but it seems the statusbar.smali file is no more in CM10. Anyone know how to create the same transparent status bar in CM10.
Cheers
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
see this:http://forum.xda-developers.com/showthread.php?t=1835833,It maybe help you! enjoy it!

Theming help notification pulldown

Hi can any one tell me what images to edit to change the images or color on the pic numbered 1,2,3 attached thanks. Im running stock 4.0.4 xwlpt
I'm not sure if XWLPT 4.0.4 uses the same layout as XWLPG 4.0.3 but if it does:
1. SystemUI.apk\res\drawable-hdpi\tw_quicksetting_divider.png
2. SystemUI.apk\res\values\drawables.xml
3. SystemUI.apk\res\drawable-hdpi\tw_btn_default_small_normal.9.png
For 2, the values are:
<item type="drawable" name="notification_item_background_color">
<item type="drawable" name="notification_item_background_color_pressed">
Thanks very much i will check it out.
Sent from my GT-I9100 using Tapatalk 2
np.
You might also need to look at SystemUI.apk\res\drawable-hdpi\tw_quickpanel_bg.png
Spannaa said:
np.
You might also need to look at SystemUI.apk\res\drawable-hdpi\tw_quickpanel_bg.png
Click to expand...
Click to collapse
thanks i had actually managed to do it all but not the clear button. im just waiting to get back to my computer to do check the clear button image. are you sure its not a text string apose to a actual image?
Sent from my GT-I9100 using Tapatalk 2
ngagephone said:
im just waiting to get back to my computer to do check the clear button image. are you sure its not a text string apose to a actual image?
Click to expand...
Click to collapse
On XWLPG it's a combination.
The layout is in SystemUI.apk\res\tw_status_bar_expanded.xml and tw_btn_default_small is the background image for the clear button.
Spannaa said:
On XWLPG it's a combination.
The layout is in SystemUI.apk\res\tw_status_bar_expanded.xml and tw_btn_default_small is the background image for the clear button.
Click to expand...
Click to collapse
thanks will check it.
Sent from my GT-I9100 using Tapatalk 2
Ok so i have tryed to decompile the systemui.apk with no look. All i would like to do is remove the clear button images so the the clear button when inactive the text is grey as default but the button image is gone and when the clear button is active the clear text white as default but no button image.
I have attached a unmodified systemUI.apk if you could try to do it for me that would be great thanks.
ngagephone said:
Ok so i have tryed to decompile the systemui.apk with no look. All i would like to do is remove the clear button images so the the clear button when inactive the text is grey as default but the button image is gone and when the clear button is active the clear text white as default but no button image.
I have attached a unmodified systemUI.apk if you could try to do it for me that would be great thanks.
Click to expand...
Click to collapse
I don't mind guiding you but I'm not doing it for you!
You'll need to learn how to decompile SystemUI.apk (I use Wanam's Apk Manager ICS)
The clear button is laid out in SystemUI.apk\res\layout\tw_status_bar_expanded.xml with a single text colour hard-coded in. The background images are set in SystemUI.apk\res\drawable\tw_btn_default_small.xml
I'd say you'd need to remove the hard coded colour from tw_status_bar_expanded.xml and add the text colour for the different states of the button to tw_btn_default_small.xml whilst also removing the background images from the same lines of code.
Spannaa said:
I don't mind guiding you but I'm not doing it for you!
You'll need to learn how to decompile SystemUI.apk (I use Wanam's Apk Manager ICS)
The clear button is laid out in SystemUI.apk\res\layout\tw_status_bar_expanded.xml with a single text colour hard-coded in. The background images are set in SystemUI.apk\res\drawable\tw_btn_default_small.xml
I'd say you'd need to remove the hard coded colour from tw_status_bar_expanded.xml and add the text colour for the different states of the button to tw_btn_default_small.xml whilst also removing the background images from the same lines of code.
Click to expand...
Click to collapse
ok no problems thanks i have compiled and compiled lots of times on gb roms but i always have problems with ics. Do you have a link for wanams method?
Sent from my GT-I9100 using Tapatalk 2
ngagephone said:
Do you have a link for wanams method?
Click to expand...
Click to collapse
It's hard to find when XDA search isn't working but:
http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
thanks will test it.
Sent from my GT-I9100 using Tapatalk 2
Please delete.
Sent from my chameleonized SGS2 using my brain.

[MOD/ HOW TO] SystemUI Tweaks

I ran into a lot of trouble getting SystemUI to recompile due to missing Strings and Styles and whatnot so I'm sharing my fully de/compilable SystemUI. It took a good amount of work getting it to recompile so I hope to save somebody some development time with this release.
I have also:
Removed the StatusBar carrier label,
res/layout/status_bar.xml:
Code:
<TextView android:textSize="15.0dip" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" [COLOR=Red]android:maxLength="0"[/COLOR] />
Click to expand...
Click to collapse
Removed Full Battery notification,
smali/com/android/systemui/power/PowerUI.smali:
Code:
.method notifyFullBatteryNotification()V
.locals 11
.prologue
const/4 v10, 0x0
.line 882
[COLOR=Red] return-void[/COLOR]
Click to expand...
Click to collapse
To install rename existing SystemUI.apk to SystemUI.apk.bak
and SystemUI.odex to SystemUI.odex.bak
and then drop the new apk into system/app.
Mod at your own risk!
UPDATE: The attached APK is out of date and obsolete. See my dev-resources thread for an updated deodexed system installer based on the newest system release that includes this mod.
Awesome!
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
confirmed working on ATT model. anyway to get the battery icon removed and only show the percentage? I hate having both icons there all the time
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
You could decompile it and replace the battery images with blank 1px images. Or tweak the code if you're able.
I almost had a heart attact... Renamed SystemUI.apk and copied the modified one and the phone instantly crashed on me... Didn't even rename the odex one.
At least its all fine now, got that stupid AT&T text off my status bar. Thanks!
Now if you could make that clock smaller or take away the AM/PM, I'll be set for awhile until ROMs come our way.
Sent from my Galaxy S4
Thanks. Going yo give that a try
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Bjray said:
I almost had a heart attact... Renamed SystemUI.apk and copied the modified one and the phone instantly crashed on me... Didn't even rename the odex one.
At least its all fine now, got that stupid AT&T text off my status bar. Thanks!
Now if you could make that clock smaller or take away the AM/PM, I'll be set for awhile until ROMs come our way.
Sent from my Galaxy S4
Click to expand...
Click to collapse
Me too glad I quickly pasted the apk into there!
Btw thanks 4 my first mod on my s4
Sent from my SAMSUNG-SGH-I337 using xda premium
---------- Post added at 04:41 PM ---------- Previous post was at 04:34 PM ----------
Idk if it matters but I changed the permissions to the original
Sent from my SAMSUNG-SGH-I337 using xda premium
Nottach said:
I ran into a lot of trouble getting SystemUI to recompile due to missing Strings and Styles and whatnot so I'm sharing my fully de/compilable SystemUI. It took a good amount of work getting it to recompile so I hope to save somebody some development time with this release.
I have also:
To install rename existing SystemUI.apk to SystemUI.apk.bak
and SystemUI.odex to SystemUI.odex.bak
and then drop the new apk into system/app.
Mod at your own risk!
Click to expand...
Click to collapse
How did you ever get it to recompile...I'm running into the same problem..
BigDogPooh said:
How did you ever get it to recompile...I'm running into the same problem..
Click to expand...
Click to collapse
I just had to add a handful of layouts. You can find them by googling for their names (NotificationWhateverItIs).
Noob question but do I need root for this?
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
LeKtRiCzzz said:
Noob question but do I need root for this?
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Yes, you'd need root to even access the system files and drop in the new apk.
Confirmed working after ATT incremental update
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
I don't know if this is the right section for it, but please bear with me.
I've noticed that the notification bar goes solid when you use your own wallpaper. If you use the system's included wallpapers, the notification bar is transparent and you see through it to the background wallpaper.
Is there a way to get the notification bar to be transparent while using your own wallpaper? That solid bar cuts off the top part of my images.
Thanks!
importbeats said:
I don't know if this is the right section for it, but please bear with me.
I've noticed that the notification bar goes solid when you use your own wallpaper. If you use the system's included wallpapers, the notification bar is transparent and you see through it to the background wallpaper.
Is there a way to get the notification bar to be transparent while using your own wallpaper? That solid bar cuts off the top part of my images.
Thanks!
Click to expand...
Click to collapse
There are a bunch of modified SystemUI's in the Themes section with this done, but the easiest way (the way I did it) was to use Nova Launcher. The transparent notification bar has just been lifted from being a Beta feature so it can work with just making sure the right selection is made in the settings.
You can also install xposed framework app with tweakbox module.
Any way to remove the carrier label on the lockscreen?
GTRagnarok said:
Any way to remove the carrier label on the lockscreen?
Click to expand...
Click to collapse
Install Nottachs xposed module and profit!
ATT S4 Rooted. Beastin.
4.2.2

Categories

Resources