Carrier name showing twice on lockscreen. - Moto X Themes and Apps

Is there a way to eliminate the second carrier name from lockscreen and notification area?

Install cyanogenmod o another custom rom
Enviado desde mi XT1053 mediante Tapatalk

josenavarroe said:
Is there a way to eliminate the second carrier name from lockscreen and notification area?
Click to expand...
Click to collapse
You can install the "Hide Carrier Label" xposed module to get rid of it

Yep. You have to mod SystemUI.apk.
Delete this line from zz_moto_status_bar_expanded.xml in res\layout\
Code:
<include android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/zz_moto_carrier_label_bottom_margin" layout="@layout/zz_moto_carrier_label" />
That'll do it, then you can also change the bottom margin if you want in res\values\dimens.xml
Code:
<dimen name="keyguard_indication_margin_bottom">65.0dip</dimen>
I have mine set to 65, I think this is the stock value.

Related

Stock lockscreen question

I have been searching around and have not had much luck with finding out a solution for this:
I want to remove the clock from the stock lockscreen. Does anyone know how to do this or anyone have a link to a thread or guide on how to do this?
Widgetlocker, in the Market
go into framework-res.apk/layouts
and take all the .xmls that have keyguard in it
look for and remove the following code
Code:
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingBottom="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="52.0dip" android:layout_below="@id/carrier" android:layout_centerInParent="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10.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="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
recompile and enjoy
havent personally tried it, just a best guess
About xml editing, I downloaded a free xml editor (editiX - xmleditor) and when I try opening those xml files Im not seeing any codes along what you put. Do I need a different type of xml editor for the android xmls?
EDIT: Ok so I found the AXMLprinter2.jar method but it doesnt work on the keyguard files. Any assistance?
ohh... forgot to tell you to decompile huh....
when working with apks, its just easier to do it if you have decompiled it, use apk manager or something like that and you can find plenty of information about them in the forums(so im not going to repeat anything here because im lazy like that, lol)...
for editing i use notepad++
then once done, recompile 'em
Is there a seperate tool that recompiles the xmls back? cause i get an error using apk manager.
If you are recompiling a system apk within apkmanager there is an option (i think 10 to use dependency apk to decompile and use the moto-res.apk a as a dependency (if on stock moto rom) then make sure you recompile as a system apk. If you try to recompile as a regular apk it wont build correctly.
Hope this helps a little =)
DarkestSpawn said:
Is there a seperate tool that recompiles the xmls back? cause i get an error using apk manager.
Click to expand...
Click to collapse
Sent from my DROIDX using XDA App
NVM I got it. I rechecked my xmls i changed and found an error in the code. Thanks everyone for your help!

Lock Screen Clock

can someone pls tell how to remove the clock from lock screen on wolf's rom ? i tryed changing BlankSerif.ttf with Clockpia and no result. can someone make a flashable zip or something to remove the clock on lock screen
JeJupan said:
can someone pls tell how to remove the clock from lock screen on wolf's rom ? i tryed changing BlankSerif.ttf with Clockpia and no result. can someone make a flashable zip or something to remove the clock on lock screen
Click to expand...
Click to collapse
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
in assets/font there are only 2 fonts SoMAlight and SoMAregular if i change those won't it change all the fonts on my phone ? i only want to remove the clock
Well actually those fonts only can change the lockscreen font, that is what i realized... As i said before make a backup of your actually rom then change/delete those fonts.
Just try..
Sent from my X10i using xda premium
JeJupan said:
in assets/font there are only 2 fonts SoMAlight and SoMAregular if i change those won't it change all the fonts on my phone ? i only want to remove the clock
Click to expand...
Click to collapse
to remove the clock, go to res\layout-hdpi (i guess, can't remember from the top of my head, i'll check once i get home) and open the one and only xml file you find there. then delete semc.clockwidget or whatever it's name is. btw why you want to do that? if you upload the framework-res.apk for me, i'll do this for you at home (approx 3 hours from now), if that's okay.
Other option is the set the font color to transparent.
jackxx said:
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
Click to expand...
Click to collapse
Could you upload the font folder you used or changed in the framework?
Sent from my X10 using xda premium
This is the font i'm using right now
Sent from my X10i using xda premium
here it is!
so here it comes, decompile the framework-res.apk with apk multitool. go to projects folder, find the folder called framework-res.apk. go inside, then go inside the res folder, then find layout-hdpi and inside that, you'll find only one file, called keyguard_screen_tab_unlock.xml. open that with notepad++. find the following code:
Code:
<TextView android:textSize="104.0dip" android:textColor="@color/white" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<TextView android:textSize="18.0dip" android:textColor="#c0ffffff" android:id="@id/am_pm" android:paddingTop="35.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="-12.0dip" android:layout_toRightOf="@id/timeDisplay" android:layout_alignParentTop="true" />
change it to:
Code:
<TextView android:textSize="0.0dip" android:textColor="00ffffff" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<TextView android:textSize="0.0dip" android:textColor="#00ffffff" android:id="@id/am_pm" android:paddingTop="35.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin
then find this:
Code:
<TextView android:textSize="18.0dip" android:textColor="#ccffffff" android:layout_gravity="center_horizontal" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-28.0dip" android:layout_below="@id/timeRelativeLayout24h" android:layout_alignLeft="@id/timeDisplay" />
change it to this:
Code:
<TextView android:textSize="0.0dip" android:textColor="#00ffffff" android:layout_gravity="center_horizontal" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-28.0dip" android:layout_below="@id/timeRelativeLayout24h" android:layout_alignLeft="@id/timeDisplay" />
then compile the apk, create a flashable zip and flash it via recovery.
this will change the font size to 0 of the time, the am/pm label (in case it's shown) and the date. plus it will change the textcolor to fully transparent.
it should work.
not even a single thanks? your welcome, mate!
jackxx said:
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
Click to expand...
Click to collapse
How did you get " please dont touch my phone and " jack's " ? Looks cool
It is easy men, there is a app called "carrier name".. This app can change the operator name, you can download from market it is free.
"dont touch my phone" you can make by modify you framework-res.apk and sistem-ui.apk or something like that...
Sent from my X10i using xda premium
jackxx said:
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
Click to expand...
Click to collapse
at the moment to replaces the original fonts of the framework-res.apk is necessary do it with two fonts files or you can just let one font file?
Sure bro... You have to change both ttf.. That's an obligation
Sent from my X10i using xda premium
ok, thanks.
Last question, how can i remove "please don't touch my phone" from the lock screen.
i try deleting the .png files of this message but when i intall the theme the phone not pass from boot animation.
should i just edit the .png files deleting the message?
Sent from my X10i using XDA

[GUIDE][UPDATE] tw30launcher support transparent statusbar + 5 icons drawer

i just create a simple tuts ho to make touchwiz30launcher support transparent statusbar, let's go to check this
Tools:
1. apk manager or other (must know the basic compile-decompile)
2. notepad++ or other
3. touchwiz30launcher deodex
4. ice cube (for people who are confused) hehe :fingers-crossed:
Instructions:
1. decompile touchwiz30launcher using apkmanager
2. go to res/xml-ldpi
3. open launcher_config.xml using notepad++
4. change
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="true" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
to
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="false" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
5. compile again and make sure the error does not occur when compile
6. push to system/app
touchwiz30launcher modded
update support 5 icon drawer​
and this is tuts for change 4 to 5 icons drawer. equipment the same as above, but how to apply is different
steps:
1. go to res/layout-ldpi
2. open launcher.xml with notepad++
3. search
HTML:
<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="4" />
<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="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
chage to
HTML:
<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="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
4. then, go to smali/com/sec/android/app/twlauncher
5. open AppShortcutZone.smali
6. find text
HTML:
const/4 v8, 0x3
replace 0x3 with 0x4
7. done
touchwiz30launcher.apk
UPDATE​transparent menu
this
thanks to:
-Jono Rinugroho (tester)
-Anri Dicky's (screenshot)
-(Temporary) Official Grup gYoung Indonesia
-You
Press Thanks if Helped :victory:
long time no see you brotha :3
Thanx
Sent from my GT-S5360 using xda app-developers app
It works :S really awesome
But... Do you have touchwiz with 4x4 grid? :3 and folders support..? :3
I'm just asking because tw is really good but folders and grid is very important for me ;]
Thanks
Wysyłane z mojego GT-S5360 za pomocą Tapatalk 2
kurotsugi said:
long time no see you brotha :3
Click to expand...
Click to collapse
haha yes sir, work in the real world makes me too busy doing it so I rarely make it to appear out and now I have a problem that is enough to make me sad, my vga laptop that type vga on board were error this makes me very sad and confused what to do :crying: :crying: :crying:
yousef8824 said:
Thanx
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
ur welcome bro :highfive:
Hrustus said:
It works :S really awesome
But... Do you have touchwiz with 4x4 grid? :3 and folders support..? :3
I'm just asking because tw is really good but folders and grid is very important for me ;]
Thanks
Wysyłane z mojego GT-S5360 za pomocą Tapatalk 2
Click to expand...
Click to collapse
thanks sir maybe will be added soon if i have free time
Someone already posted a tweak similar to the OP at the themes and apps section. Anyway, that tweak should have been posted here. So, thanks OP!
bumslayer said:
Someone already posted a tweak similar to the OP at the themes and apps section. Anyway, that tweak should have been posted here. So, thanks OP!
Click to expand...
Click to collapse
Are you seriously before someone has posted something like this? oh I'm so sorry, I did not even know before. sorry, I'm so sorry :crying:
that was just a discussion between chamath and another member in his thread about modified launcher. no specific thread about this topic in this forum until this thread was created.
kurotsugi said:
that was just a discussion between chamath and another member in his thread about modified launcher. no specific thread about this topic in this forum until this thread was created.
Click to expand...
Click to collapse
means am I wrong? If yes, I am very sorry for this
no...you're doing it right
kurotsugi said:
no...you're doing it right
Click to expand...
Click to collapse
thanks brotha, this makes me a better feeling :highfive:
Idea!
What about text in dock? :->
Have a nice day!
ocoot said:
i just create a simple tuts ho to make touchwiz30launcher support transparent statusbar, let's go to check this
Tools:
1. apk manager or other (must know the basic compile-decompile)
2. notepad++ or other
3. touchwiz30launcher deodex
4. ice cube (for people who are confused) hehe :fingers-crossed:
Instructions:
1. decompile touchwiz30launcher using apkmanager
2. go to res/xml-ldpi
3. open launcher_config.xml using notepad++
4. change
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="true" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
to
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="false" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
5. compile again and make sure the error does not occur when compile
6. push to system/app
thanks to:
-Jono Rinugroho (tester)
-Anri Dicky's (screenshot)
-(Temporary) Official Grup gYoung Indonesia
-You
Press Thanks if Helped :victory:
touchwiz30launcher modded
update support 5 icon drawer​
and this is tuts for change 4 to 5 icons drawer. equipment the same as above, but how to apply is different
steps:
1. go to res/layout-ldpi
2. open launcher.xml with notepad++
3. search
HTML:
<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="4" />
<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="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
chage to
HTML:
<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="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
4. then, go to smali/com/sec/android/app/twlauncher
5. open AppShortcutZone.smali
6. find text
HTML:
const/4 v8, 0x3
replace 0x3 with 0x4
7. done
touchwiz30launcher.apk
Click to expand...
Click to collapse
Can you plz post more screen shot of your launcher
Sent from my GT-S5360 using xda premium
Noob Question
Hi very nice tut,i am a noob so question is,is there any of the launchers who already have the 5 drawer just to download and push it, i dont know anything of notepad+++ and compieling...
thank you
marinalin85 said:
What about text in dock? :->
Have a nice day!
Click to expand...
Click to collapse
what mean? change the color?
jerryn70 said:
Can you plz post more screen shot of your launcher
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
sorry, i'm use creeds rom and I do not think this rom can't show the launcher (don't know why) so when I'm done editing, I need a tester for test results
denniz05 said:
Hi very nice tut,i am a noob so question is,is there any of the launchers who already have the 5 drawer just to download and push it, i dont know anything of notepad+++ and compieling...
thank you
Click to expand...
Click to collapse
go launcher, adw ex, holo launcher already have the 5 icons drawer bro. whether here yet available keys to compile decompile?
ocoot said:
go launcher, adw ex, holo launcher already have the 5 icons drawer bro. whether here yet available keys to compile decompile?
Click to expand...
Click to collapse
that i know,but i want to keep the stock launcher,but with 5 icon drawer,i pushed number 2 of yours,not the modded one...and it is much faster but need the last icon that i dont know how too

[MOD][HOW TO][GT-S7562] Enabling/modding Transparency

Hi Samsung Galaxy S Duos GT-S7562 users
Many of you asked me questions/helps for regarding transparency in our device.
So, i decided to make a help thread for everyone for GT-S7562 [This is what i did to make transparency in my GT-S7562 ]
This guide will tell you to how to enable transparency and modding transparency levels in your device.
You will need:
1. 7zip
2. Notepad++
3. ApkToolv3 Donwload here (Not any other ApkTool) [For this ApkTool, Credit goes to Kryten2k35]
Now the steps:
1. Extract apktoolv3
2 There will be a 'READ_ME.txt file, with the help of this decompile your SystemUI.apk
3. Now open WORKING folder and go to- SystemUI\smali\com\android\systemui\statusbar
4. Open StatusBar.smali with notepad++ and search for this:
Code:
Landroid/view/WindowManager$LayoutParams;->(IIIII)V
Go to the line above it and change the last value to -0x3
Save it and close
This will enable the transparency for StatusBar
Now for StatusBar Expanded/Notification Background
1. Go to- SystemUI\smali\com\android\systemui\statusbar\phone
2. Open PhoneStatusBar.smali with notepad++ and search for this:
Code:
const v4, 0x4800068
replace the 2 lines underneath with this:
Code:
const/4 v5, -0x3
move v2, v1
Now search for this:
Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I
Go to the line above it and change the last value to -0x3
Save it and close.
This will enable transparency in your device
Now for making transparency
1. In WORKING folder go to- SystemUI\res\values
2. Open drawables.xml using notepad++ and in this line:
Code:
<item type="drawable" name="status_bar_background">#[COLOR="Red"]xxxxxxxx[/COLOR]</item>
where 'xxxxxxxx' is some value.
Change xxxxxxxx to as per your need of transparency level:
00000000 - 100% transparency
3F000000 - 75% transparency
7F000000 - 50% transparency
BF000000 - 25% transparency
FF000000 - 0% transparent (No transparency)
Save it and close
3. And do the same with:
(a) SystemUI\res\values-sw600dp\drawables.xml
Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close
(b) SystemUI\res\values-sw800dp\drawables.xml
Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close
This will make your StatusBar transparent as per your values.
Now for making StatusBar Expanded/Notification Background transparent.
1. In WORKING folder go to- SystemUI\res\values
2 Open drawables.xml using notepad++ and in this line:
Code:
<item type="drawable" name="notification_tracking_bg">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Change xxxxxxxx to as per your need of transparency level.
Save it and close
3. And do the same with:
(a) SystemUI\res\layout\tw_status_bar_tracking.xml
Code:
<FrameLayout android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close
(b) SystemUI\res\layout\tw_status_bar_tracking_dual.xml
Code:
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close.
This will make your StatusBar Expanded/Notification Background transparent as per your values.
Now recompile and sign SystemUI.apk with the help of that READ_ME.txt file.
--------------------------------------------------------------------------------------------------------------------------------------------
Enjoy! :good:
And Dont Forget To Press Thanks :good: Button
IF YOU LIKE MY WORK, PLEASE CONSIDER ANY DONATION FOR CONTINUE DEVELOPMENT
Isn't it too .... complicated for a simple user?
Can't you make a simple zip and we ll flash through cwm
Anyway thanks for your work for our device.
Sent from my GT-S7562 using xda premium
saifzahid said:
Isn't it too .... complicated for a simple user?
Can't you make a simple zip and we ll flash through cwm
Anyway thanks for your work for our device.
Sent from my GT-S7562 using xda premium
Click to expand...
Click to collapse
It can be complicated but its a most simple way
You can try it, afterwards may be you will not find this complicated
And its good for learning new thing...
It can help you for many other devices and for making transparencies in many other apps too
Sent from my GT-S7562 using Tapatalk 2
Can i do it on stock rom....nd is this really workss...i mean is there any risk
Sent from my GT-S7562 using xda premium
mohit.bhagat1 said:
Can i do it on stock rom....nd is this really workss...i mean is there any risk
Sent from my GT-S7562 using xda premium
Click to expand...
Click to collapse
Yes you can do it on stock rom
Yes it works for sure with no risk
Just do the steps clearly
And its better to keep backup of original SystemUI.apk :good:
Mohitash said:
Hi Samsung Galaxy S Duos GT-S7562 users
Many of you asked me questions/helps for regarding transparency in our device.
So, i decided to make a help thread for everyone for GT-S7562 [This is what i did to make transparency in my GT-S7562 ]
This guide will tell you to how to enable transparency and modding transparency levels in your device.
You will need:
1. 7zip
2. Notepad++
3. ApkToolv3 Donwload here (Not any other ApkTool) [For this ApkTool, Credit goes to Kryten2k35]
Now the steps:
1. Extract apktoolv3
2 There will be a 'READ_ME.txt file, with the help of this decompile your SystemUI.apk
3. Now open WORKING folder and go to- SystemUI\smali\com\android\systemui\statusbar
4. Open StatusBar.smali with notepad++ and search for this:
Code:
Landroid/view/WindowManager$LayoutParams;->(IIIII)V
Go to the line above it and change the last value to -0x3
Save it and close
This will enable the transparency for StatusBar
Now for StatusBar Expanded/Notification Background
1. Go to- SystemUI\smali\com\android\systemui\statusbar\phone
2. Open PhoneStatusBar.smali with notepad++ and search for this:
Code:
const v4, 0x4800068
replace the 2 lines underneath with this:
Code:
const/4 v5, -0x3
move v2, v1
Now search for this:
Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I
Go to the line above it and change the last value to -0x3
Save it and close.
This will enable transparency in your device
Now for making transparency
1. In WORKING folder go to- SystemUI\res\values
2. Open drawables.xml using notepad++ and in this line:
Code:
<item type="drawable" name="status_bar_background">#[COLOR="Red"]xxxxxxxx[/COLOR]</item>
where 'xxxxxxxx' is some value.
Change xxxxxxxx to as per your need of transparency level:
00000000 - 100% transparency
3F000000 - 75% transparency
7F000000 - 50% transparency
BF000000 - 25% transparency
FF000000 - 0% transparent (No transparency)
Save it and close
3. And do the same with:
(a) SystemUI\res\values-sw600dp\drawables.xml
Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close
(b) SystemUI\res\values-sw800dp\drawables.xml
Code:
<item type="drawable" name="status_bar_background">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Save it and close
This will make your StatusBar transparent as per your values.
Now for making StatusBar Expanded/Notification Background transparent.
1. In WORKING folder go to- SystemUI\res\values
2 Open drawables.xml using notepad++ and in this line:
Code:
<item type="drawable" name="notification_tracking_bg">#[COLOR="red"]xxxxxxxx[/COLOR]</item>
Change xxxxxxxx to as per your need of transparency level.
Save it and close
3. And do the same with:
(a) SystemUI\res\layout\tw_status_bar_tracking.xml
Code:
<FrameLayout android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close
(b) SystemUI\res\layout\tw_status_bar_tracking_dual.xml
Code:
<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#[COLOR="red"]xxxxxxxx[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save it and close.
This will make your StatusBar Expanded/Notification Background transparent as per your values.
Now recompile and sign SystemUI.apk with the help of that READ_ME.txt file.
--------------------------------------------------------------------------------------------------------------------------------------------
Enjoy! :good:
And Dont Forget To Press Thanks :good: Button
Click to expand...
Click to collapse
You rock man... keep gng...!!!
Sent from my GT-S7562 using xda app-developers app
Thanks, this is really what i had been looking for a few days back but gave up due to lack of time. Now this has got me interested
Hit thanks if I helped
sent from GT-S7562 with a better,faster and stronger stock ROM
einst31n said:
Thanks, this is really what i had been looking for a few days back but gave up due to lack of time. Now this has got me interested
Hit thanks if I helped
sent from GT-S7562 with a better,faster and stronger stock ROM
Click to expand...
Click to collapse
Dude, you havent seen this before? My this thread is very old.
Well good luck
Sent from my GT-S7562 using Tapatalk 2
Man i had really been out of touch with xda because i just got some preparations to do. I just got into my final year and immediately got busy with the placement stuff and all. I didnt upload any themes which i had made either coz of the fact that indian hostels dont provide a fast and reliable net
Will find time to continue my work hopefully
Hit thanks if I helped
sent from GT-S7562 with a better,faster and stronger stock ROM
Superb
Sent from my GT-S7562 using xda app-developers app

[MOD][GUIDE]Add CPU usage in notification panel

I never seen any guide how to add the cpu usage into notification panel to this is a guide how to do it!
Files need modification
Smali
\SystemUI\smali\com\android\systemui\statusbar\policy
XML's
status_bar_expanded_header.xml
id.xml
strings.xml
public.xml
1: Decompile the SystemUI.apk using apktool.
2: Now download the cpu_smali attachment and put the smalis inside the folder \SystemUI\smali\com\android\systemui\statusbar\policy
3: Open the file \SystemUI\res\values\id.xml and scroll down at the bottom and add these lines
Code:
<item type="id" name="cpu">false</item>
<item type="id" name="sys_id">false</item>
4: Open the file \SystemUI\res\values\strings.xml and scroll down at the bottom and add these lines
Code:
<string name="cpu_idle">idle</string>
<string name="cpu_text">CPU Usage</string>
5: Open the file \SystemUI\res\layout\status_bar_expanded_header.xml and look for the line
Code:
<com.android.systemui.statusbar.policy.ClockStock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="@color/notification_header_clock_color" android:gravity="bottom" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:gravity="bottom" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_header_date_margin_left" android:layout_marginRight="@dimen/notification_panel_header_date_margin_right" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:layout_toEndOf="@id/clock" />
Now we gonna comment out these codes just incase u want the date and clock back in the future so we need to do is replace with these codes
Code:
<!--
<com.android.systemui.statusbar.policy.ClockStock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="@color/notification_header_clock_color" android:gravity="bottom" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:gravity="bottom" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_header_date_margin_left" android:layout_marginRight="@dimen/notification_panel_header_date_margin_right" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:layout_toEndOf="@id/clock" />
-->
6: Now right under the lince we just comment out we will add these lines
Code:
<LinearLayout android:gravity="left" android:orientation="vertical" android:id="@id/cpu" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="15.0dip" android:textColor="#ffffffff" android:id="@id/sys_id" android:paddingLeft="11.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/cpu_text" android:layout_marginLeft="@dimen/status_bar_expanded_notification_margin" />
<com.android.systemui.statusbar.policy.CpuUsageView android:textSize="12.0dip" android:textColor="#ffffffff" android:paddingLeft="23.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
7: Now save everything and lets compile the SystemUI.apk and sign it.
8: Take the SystemUI.apk we just compiled and signed and decompile it again using apktool
9: Now we open the file public.xml and look for the line <public type="string" name="cpu_idle" id=" now all we needed is the id inside the id=""
10: Now we open the file \SystemUI\smali\com\android\systemui\statusbar\policy\CpuUsageView$1.smali and search for # virtual methods few lines below you will see const v9, 0x7f0a01ad and all we need to do is change the 0x7f0a01ad to the one we found in public.xml
11: Save everything Compile & Sign and push it inside your system\priv-app.
12: Enjoy
Do you need root for this?
Sent from my SM-N9005 using XDA Premium 4 mobile app
Does ram booster pro actually work??
Sent from my SM-N9005 using XDA Premium 4 mobile app
HaloTwenty3 said:
Do you need root for this?
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes
speedyjay said:
Does ram booster pro actually work??
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes i think been using it since i got my note 3
Awesome job
Hi meawww,
Is it possible to add CPU Freq value like "CPU Usage: @1600mHz"
What toggles are those? They look so nice..
kadiremrah said:
Hi meawww,
Is it possible to add CPU Freq value like "CPU Usage: @1600mHz"
Click to expand...
Click to collapse
Nope
DrawnToLife said:
What toggles are those? They look so nice..
Click to expand...
Click to collapse
Made those while ago and never been released
Can anyone make a vrtheme flashable zip with the modded .xml only please
Sent from my SM-N900A using XDA Premium 4 mobile app
Anyone???
Sent from my SM-N900A using XDA Premium 4 mobile app
---------- Post added at 11:45 PM ---------- Previous post was at 11:41 PM ----------
@dr.ketan pleasee
Why do you only want the xml?
Sent from my SM-G900F using Tapatalk
Goldie said:
Why do you only want the xml?
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
I dont have a pc to do the modding so a flashable vrtheme with the modded .xml will work
I upload my systemui.apk so if anyone can modded it for me i will be thankfull
Sent from my SM-N900A using XDA Premium 4 mobile app
But then you will not have the smali files that do the actual mod and it will just fc
Sent from my SM-G900F using Tapatalk
carlospr21 said:
I dont have a pc to do the modding so a flashable vrtheme with the modded .xml will work
I upload my systemui.apk so if anyone can modded it for me i will be thankfull
Sent from my SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Try this
meawww said:
Try this
Click to expand...
Click to collapse
Thank u sir
Sent from my SM-N900A using XDA Premium 4 mobile app
meawww said:
Try this
Click to expand...
Click to collapse
@meawww, once again great job...worked as advertised. One question, is it possible to show the clock/date with the CPU usage? I was thinking about playing with the size (dpi) to see what would happen...perhaps even removing the 'CPU Usage' header just to show the core usages as well.
Also, I think your screen dpi is slightly different than mine as well. I lose the last core reading, see pic
deuce_biggins said:
@meawww, once again great job...worked as advertised. One question, is it possible to show the clock/date with the CPU usage? I was thinking about playing with the size (dpi) to see what would happen...perhaps even removing the 'CPU Usage' header just to show the core usages as well.
Also, I think your screen dpi is slightly different than mine as well. I lose the last core reading, see pic
Click to expand...
Click to collapse
Yes you can add clock date back just edit the xml and my dpi is 320
meawww said:
Yes you can add clock date back just edit the xml and my dpi is 320
Click to expand...
Click to collapse
I never edited out my clock and date in the xml file. It just didn't show up (must be overlapping with the cpu usage). I'm wondering if I need to increase the size of my status bar header??
nice guide master..thank you
carlospr21 said:
I dont have a pc to do the modding so a flashable vrtheme with the modded .xml will work
I upload my systemui.apk so if anyone can modded it for me i will be thankfull
Sent from my SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
meawww said:
Try this
Click to expand...
Click to collapse
Would that theme work with Sprint NAC 4.42? Some themes don't because they don't include Wifi Calling, Hotspot, Mobile Data, Torch, etc... Thanks in advance.

Categories

Resources