[Q] How to change Carrier Name in PWGB EH09 - Fascinate Themes and Apps

Hi..
Can anyone tell me how to change the carrier name in pull down status bar in EH09?
I decompiled services.jar and I can see lots of .smali files, but where exactly do I change? I tried searching for "powerwashed" (coz I'm on PWGB EH09) and can't find that string anywhere in the .smali files.
Thanks for any help!

Pulldown editor
ROOT TOOLS has a pulldown editor. It worked on my ED03 the devs name is JRUMMY16 I am a NOOB and can not post a link yet.

smoochy916 said:
ROOT TOOLS has a pulldown editor. It worked on my ED03 the devs name is JRUMMY16 I am a NOOB and can not post a link yet.
Click to expand...
Click to collapse
Thanks for the info, but I was looking more into learning how to do it myself vs using a program to do it.

neozen21 said:
Thanks for the info, but I was looking more into learning how to do it myself vs using a program to do it.
Click to expand...
Click to collapse
you would have to edit carrierlabel.smali (i forget exact name dont have anything decompiled) in systemui

nitsuj17 said:
you would have to edit carrierlabel.smali (i forget exact name dont have anything decompiled) in systemui
Click to expand...
Click to collapse
Hmm.. strange... I can't find carrierlable.smali in the decompiled Services.jar from PWGB EH09. I don't even see a systemmui directory.
The only thing remotely similar to that file is called NetworkPolicy$Carriers.smali in the \com\android\server\enterprise directory.
Is Services.jar the right file? I'm decompiling by using, once I extract the classes.dex with 7zip:
java -jar baksmali-1.2.8.jar -o Services_d classes.dex
Maybe I'm missing something? I appreciate your help!

android.policy.jar/smali/com/android/internal/policy/impl/LockScreen.smali: const-string v0, "PowerWashed GB"

notta said:
android.policy.jar/smali/com/android/internal/policy/impl/LockScreen.smali: const-string v0, "PowerWashed GB"
Click to expand...
Click to collapse
Yes! That's it!!
Thank you very much! Now I can change it to anything I like

neozen21 said:
Yes! That's it!!
Thank you very much! Now I can change it to anything I like
Click to expand...
Click to collapse
Sorry I miss read your post and you wanted the status bar not the lock screen. The above is for your lockscreen..
For the pulldown courtesy of TSM
SystemUI.apk/smali/com/android/systemui/statusbar/CarrierLabel.smali
Code:
move-result-object v2
- const-string v0, "TeamSbrissenMod"
-
- invoke-virtual {p0, v0}, Lcom/android/systemui/statusbar/CarrierLabel;->setText(Ljava/lang/CharSequence;)V
+ invoke-virtual {p0, v2}, Lcom/android/systemui/statusbar/CarrierLabel;->setText(Ljava/lang/CharSequence;)V
.line 112
:goto_0

notta said:
Sorry I miss read your post and you wanted the status bar not the lock screen. The above is for your lockscreen..
For the pulldown courtesy of TSM
SystemUI.apk/smali/com/android/systemui/statusbar/CarrierLabel.smali
Hmm.. Even though I don't see "PowerWashed GB" in the lockscreen, I still found that string in the android.policy.jar LockScreen.smali file. I guess I'll change that too, just in case.
nitsuj17 got it right, I just didn't know he meant SystemUI.apk. I thought the meant a directory called systemui in the Services.jar
Well.. thanks! I think I got it from here! Now I know how to change both the Status Bar AND the Lockscreen
Obviously, Services.jar wasn't the right file... Thanks guys!!
Click to expand...
Click to collapse

Update: I was able to successfully change the "PowerWashed GB" carrier name to Verizon Wireless in both the status bar and the lockscreen.
Thanks again guys!!

nitsuj17 said:
you would have to edit carrierlabel.smali (i forget exact name dont have anything decompiled) in systemui
Click to expand...
Click to collapse
Looks like I had an extra thanks there so I'm giving it back...

is there any step by step guide? i'm sure lot of guys want to do that.. thanks in advance.

balac_m said:
is there any step by step guide? i'm sure lot of guys want to do that.. thanks in advance.
Click to expand...
Click to collapse
it requires some knowledge of apkmanager/apktool (there are extensive guides on that here on xda)
beyond that, it will be an option in the next version of ei20 resurrection (as sbrissen has tsm parts going)

I have an only slightly related question. Im on the continuum side, and the only thing we have is an unofficial 2.2.2. So far, i cannot find any way to edit the eri banner on the drop down. Since "systemui.apk' is a gb affectation, the above methods wont work. Does anyone know of a way to do this? Also. The traditional method of editing the eri.xml doesng do anything, either. Thanks for any help.
I'm not here for a long time. I'm here for a good time. To hell with the red wine. Pour me some moonshine. - King George

Txwolf1980 said:
I have an only slightly related question. Im on the continuum side, and the only thing we have is an unofficial 2.2.2. So far, i cannot find any way to edit the eri banner on the drop down. Since "systemui.apk' is a gb affectation, the above methods wont work. Does anyone know of a way to do this? Also. The traditional method of editing the eri.xml doesng do anything, either. Thanks for any help.
I'm not here for a long time. I'm here for a good time. To hell with the red wine. Pour me some moonshine. - King George
Click to expand...
Click to collapse
for froyo you had to smali edit the services.jar (i dont think w/o tsm parts we were ever able to edit lockscreen carrier, just hide it...edits are somewhere in my how to theme thread by andmer

nitsuj17 said:
for froyo you had to smali edit the services.jar (i dont think w/o tsm parts we were ever able to edit lockscreen carrier, just hide it...edits are somewhere in my how to theme thread by andmer
Click to expand...
Click to collapse
And you were even kind enough to get it bumped to the top so I didn't have to search. Thanks. Hopefully porting this will work.

Related

[Q] Make notification bar transperant

Hey people. I would like to make my notification bar transperant, just dosn't know how? - Please help.
Well the hard way would be to modify or the framework.res or whaterver exact filename is. There are long guides posted around and it's needed to flash the rom with the modifided framework.res I believe or else with root access using adb copy it to the system folders. Anyway honestly can't be F**ked with that
The easy way is just install a theme with it already done. I like AuraxTSence theme.It's got a nice transparent status bar and notification bar as well as lock screen. Follow this link. Just make sure you download the one that's been modified to work for Desire HD.
http://forum.xda-developers.com/showthread.php?t=801928
If you don't know how to install it you just copy the .apk file over to your sd card and use a file manager like Astro to install the theme just like any app.
^Easier still, you can download the XDA app off of the market, find the skins thread and download and install from there.
nicolajreck said:
Hey people. I would like to make my notification bar transperant, just dosn't know how? - Please help.
Click to expand...
Click to collapse
Use UOT dude.
anko184 said:
Use UOT dude.
Click to expand...
Click to collapse
I tried that but transparency didn't work
For transparency modding framework-res or using skins is not enough since froyo. You need a modified services.jar
In order to acchieve it you decompile services.jar with smali baksmali, open StatusBarService.smali and look for:
.line 1531
const/4 v5, 0x2
replace it with:
.line 1531
const/4 v5, -0x3
Then compile and push back to system/framework
The faster way:
"Steal" the services.jar from my Revolution theme and enjoy - in any case you certainly need a transparent or semi transparent status_bar_background.png in framework-res. If you also need the top of the bar transparent also use a semi transparent statusbar_background.png
You can also use my TransparencyHackSense2.2.1 metamorph, which injects the png in your framework and the modded classes.dex in your services.jar - I added this time both png`s for top bar and background, will certainly only work on 2.2.1 Sense ROM`s
http://www.multiupload.com/JD06T1D6Q4
look at my theme, i just hard modified framework res

Transparent notification bar

Hello everybody
Could someone please give me a stepwise breakdown on if/how I could get trasparent notification bar on CM7 nightly ?
that's good idea!
You would have to pull the theme manager theme of choice out and change the statusbar_background.9.png to a transparent color.
So for SystemUI(using winRAR):
double click on the .zip to open it
double click on system ->app -> SystemUI.apk to open it
click on res
pull drawable-hdpi to your desktop
find statusbar_background.9.png and open it with your editor of choice that has transparency ability i.e paint.net, photoshop
make the bar transparent, save it
drop the file back in the drawable-hdpi folder of the SystemUI apk
when the little window pops up to say would you like to blah blah blah click yes
flash the rom and enjoy your transparent status bar
j0hnZ said:
You would have to pull the theme manager theme of choice out and change the statusbar_background.9.png to a transparent color.
So for SystemUI(using winRAR):
double click on the .zip to open it
double click on system ->app -> SystemUI.apk to open it
click on res
pull drawable-hdpi to your desktop
find statusbar_background.9.png and open it with your editor of choice that has transparency ability i.e paint.net, photoshop
make the bar transparent, save it
drop the file back in the drawable-hdpi folder of the SystemUI apk
when the little window pops up to say would you like to blah blah blah click yes
flash the rom and enjoy your transparent status bar
Click to expand...
Click to collapse
For some reason, after multiple tries, i keep messing up my status bar. Im not sure if there are minute settings that i have to tinker with in paint.net but for some reason its just not coming out well. If you have any paint.net specific transparency settings to toggle id greatly appreciate it. Thanks for the above tutorial though, it may just be me not getting it haha.
kvlt said:
For some reason, after multiple tries, i keep messing up my status bar. Im not sure if there are minute settings that i have to tinker with in paint.net but for some reason its just not coming out well. If you have any paint.net specific transparency settings to toggle id greatly appreciate it. Thanks for the above tutorial though, it may just be me not getting it haha.
Click to expand...
Click to collapse
You have to do it for an individual theme. EX: Cyanbread.apk you have to edit file. Sometimes you have to do some coding.
zenzip said:
Hello everybody
Could someone please give me a stepwise breakdown on if/how I could get trasparent notification bar on CM7 nightly ?
Click to expand...
Click to collapse
sonny told me this some time ago but apktool doesn't work
you need to modify the classes.dex first!
this is pretty advanced but not that hard to learn....
the only way I have been able to do this is by way of baksmali-smali..
-find smali/com/android/systemui/statusbar
-open StatusBarService.smali
-search for the line
Code:
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
-above that line you will see
Code:
const/4 v5, 0x2
-change it to
Code:
const/4 v5, -0x3
-then change to statusbar_background.9.png to the level transparency you want in gimp or photoshop
-
I thought vanilla android was supposed to be easier to modify...
j0hnZ said:
I thought vanilla android was supposed to be easier to modify...
Click to expand...
Click to collapse
It is this might look like greek but it is really simple once you get into it (learn baksmali-smali). changing the code line from const/4 v5, 0x2 to (-0x3) is necessary for anything to be transparent i.e. pulldown shade
ogdobber said:
It is this might look like greek but it is really simple once you get into it (learn baksmali-smali). changing the code line from const/4 v5, 0x2 to (-0x3) is necessary for anything to be transparent i.e. pulldown shade
Click to expand...
Click to collapse
I had to do that for the shade_bg, but I haven't found anything that's been easier so far.
Finally someone has done by following the advice above?
clearbar only for cm7 rc4
this will make your statusbar clear. this is the only mod. you must run a live wallpaper or if you are using a gallery picture make sure in adw settings/system preferences that wall paper hack is disabled
http://www.mediafire.com/?hx155d77k3ee9v7
edit* the pulldown is also transparent
ogdobber said:
this will make your statusbar clear. this is the only mod. you must run a live wallpaper or if you are using a gallery picture make sure in adw settings/system preferences that wall paper hack is disabled
http://www.mediafire.com/?hx155d77k3ee9v7
edit* the pulldown is also transparent
Click to expand...
Click to collapse
good ty so much, but i'would only pulldown bar transparent and not also notification bar, in wich way i can do this?
I agree and this is a great idea!
zenzip said:
good ty so much, but i'would only pulldown bar transparent and not also notification bar, in wich way i can do this?
Click to expand...
Click to collapse
just un zip it and look at the names you dont want and change in gimp what you dont like...then (you still have a zipped version) use winrar to open (not unzip) and drag the newly modified .pngs in and delete the ones you don't want
then to flash turn off signature verification in recovery...(or re-sign)
ogdobber said:
just un zip it and look at the names you dont want and change in gimp what you dont like...then (you still have a zipped version) use winrar to open (not unzip) and drag the newly modified .pngs in and delete the ones you don't want
then to flash turn off signature verification in recovery...(or re-sign)
Click to expand...
Click to collapse
man in .rar file not included any png or jpeg file but only modified version of framework-res.apk and SystemUI.apk ....
hey og, i flashed this and it didnt work for me .. on rc4 and i use launcher pro but tried it with wallpaper hack disabled on adw with no luck, any ideas?
thanks
mattdub1 said:
hey og, i flashed this and it didnt work for me .. on rc4 and i use launcher pro but tried it with wallpaper hack disabled on adw with no luck, any ideas?
thanks
Click to expand...
Click to collapse
try with a live wallpaper...also the "theme chooser" needs to be (system) or the theme will override
up ............
zenzip said:
up ............
Click to expand...
Click to collapse
are you still on RC4 or you upgraded to stable?
please provide me your SystemUI.apk from \system\app and i'll edit it for you
etoy said:
are you still on RC4 or you upgraded to stable?
please provide me your SystemUI.apk from \system\app and i'll edit it for you
Click to expand...
Click to collapse
now i've stable, but when i write the post had RC4.
This is my SystemUI.apk
http://dl.dropbox.com/u/548546/SystemUI.apk

Need Help with Editing XMLs

I've been looking around for a few hours now trying to figure out how to edit these xml files with no luck. I've found numerous tutorials but none of them seem to get me in the right direction. I can't get passed opening the files.
I've tried TextWrangler on my Mac and Notepad++ in Windows ... both give me a bunch of giberish.
I am able to see a few lines of txt like layout_height and textColor but there are no values listed to edit??? Maybe I'm looking at the wrong xml files?
Ultimately I'm trying to see if I can adjust the layout and txt color of the notification pulldown.
Any suggestions?
KaneOfMars said:
I've been looking around for a few hours now trying to figure out how to edit these xml files with no luck. I've found numerous tutorials but none of them seem to get me in the right direction. I can't get passed opening the files.
I've tried TextWrangler on my Mac and Notepad++ in Windows ... both give me a bunch of giberish.
I am able to see a few lines of txt like layout_height and textColor but there are no values listed to edit??? Maybe I'm looking at the wrong xml files?
Ultimately I'm trying to see if I can adjust the layout and txt color of the notification pulldown.
Any suggestions?
Click to expand...
Click to collapse
When you go to extract the apk, just decompile, DO NOT extract. (If using apkmanager)
Then I use Notepad++ for any changes. Just remember to not extract the apk, just decompile it, then go into the projects folder and it will be in there.
What XML files are you trying to edit?
spc_hicks09 said:
When you go to extract the apk, just decompile, DO NOT extract. (If using apkmanager)
Then I use Notepad++ for any changes. Just remember to not extract the apk, just decompile it, then go into the projects folder and it will be in there.
What XML files are you trying to edit?
Click to expand...
Click to collapse
What he said.
I will try to be on irc tonight if anyone wants any help with anything. I need to try to get things going myself lol!
mtmichaelson said:
What he said.
I will try to be on irc tonight if anyone wants any help with anything. I need to try to get things going myself lol!
Click to expand...
Click to collapse
I only know that because YOU told me lol!
ah, I see now ... I extracted instead of decompiling. I'll give that a try.
I'm not sure which ones to edit ... I started with status_bar_expanded.xml
I want to see if I can adjust the size of the section with the toggles and change the color of the text.
Which brings up another question ... do I edit the ones in framework-res or lge-res? or both?
KaneOfMars said:
ah, I see now ... I extracted instead of decompiling. I'll give that a try.
I'm not sure which ones to edit ... I started with status_bar_expanded.xml
I want to see if I can adjust the size of the section with the toggles and change the color of the text.
Which brings up another question ... do I edit the ones in framework-res or lge-res? or both?
Click to expand...
Click to collapse
I believe you can actually adjust the size of that by adjusting the size of the images. Try making the images wider, and leave the height the same, and it "should" shrink the images, and in turn shrink the bar.
Sent from my VS910 4G using xda premium
spc_hicks09 said:
I only know that because YOU told me lol!
Click to expand...
Click to collapse
Lol, that's what I'm here for!
Sent from my VS910 4G using xda premium
mtmichaelson said:
I believe you can actually adjust the size of that by adjusting the size of the images. Try making the images wider, and leave the height the same, and it "should" shrink the images, and in turn shrink the bar.
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
sweet, I'll try that first ... can't make heads or tales out of these xml files
KaneOfMars said:
sweet, I'll try that first ... can't make heads or tales out of these xml files
Click to expand...
Click to collapse
Lol, they can be a bit daunting!
Sent from my VS910 4G using xda premium
spc_hicks09 said:
When you go to extract the apk, just decompile, DO NOT extract. (If using apkmanager)
Then I use Notepad++ for any changes. Just remember to not extract the apk, just decompile it, then go into the projects folder and it will be in there.
What XML files are you trying to edit?
Click to expand...
Click to collapse
Thanks.. I have been looking for this answer also
sent from my LG Revolt empowered by Fusion
KaneOfMars said:
ah, I see now ... I extracted instead of decompiling. I'll give that a try.
I'm not sure which ones to edit ... I started with status_bar_expanded.xml
I want to see if I can adjust the size of the section with the toggles and change the color of the text.
Which brings up another question ... do I edit the ones in framework-res or lge-res? or both?
Click to expand...
Click to collapse
I have been working on something myself and after several failed attempts I used UOT Kitchen, edited some files in both framework-res.apk, lge-res.apk,(using paint.net) added a wallpaper I found, installed an adw themed launcher I just have no freakin idea how to put everything in a zip to flash it in cwm. (I can add files and folders to a .zip, just need help with the scripts and all)
sent from my LG Revolt empowered by Fusion
Pics are what i have so far.. not planning on releasing this unless someone really wants it, just practicing on my own phone..
drt054 said:
I have been working on something myself and after several failed attempts I used UOT Kitchen, edited some files in both framework-res.apk, lge-res.apk,(using paint.net) added a wallpaper I found, installed an adw themed launcher I just have no freakin idea how to put everything in a zip to flash it in cwm. (I can add files and folders to a .zip, just need help with the scripts and all)
sent from my LG Revolt empowered by Fusion
Pics are what i have so far.. not planning on releasing this unless someone really wants it, just practicing on my own phone..
Click to expand...
Click to collapse
Looks good! Come on irc tonight and I can help you with the cwm script, or send me a zip with the .apks that you edited, and I can make a zip for you.
Sent from my VS910 4G using xda premium
drt054 said:
I have been working on something myself and after several failed attempts I used UOT Kitchen, edited some files in both framework-res.apk, lge-res.apk,(using paint.net) added a wallpaper I found, installed an adw themed launcher I just have no freakin idea how to put everything in a zip to flash it in cwm. (I can add files and folders to a .zip, just need help with the scripts and all)
Pics are what i have so far.. not planning on releasing this unless someone really wants it, just practicing on my own phone..
Click to expand...
Click to collapse
Looks good so far... How did you change the color of the app labels to red? Was that in UOT Kitchen?
As far as the update zip... I couldn't quite figure it out but I got it to work. There's probably an easier way, but i extracted a zip I downloaded from UOT and replaced the framework_res with my updated one. Then I used testsign.jar (requires java SDK) to sign the update.
I dont have access to the links I found for this, if someone else has a better way please let us know.
Sent from my ICS'd Revolt Bryce Device
KaneOfMars said:
Looks good so far... How did you change the color of the app labels to red? Was that in UOT Kitchen?
As far as the update zip... I couldn't quite figure it out but I got it to work. There's probably an easier way, but i extracted a zip I downloaded from UOT and replaced the framework_res with my updated one. Then I used testsign.jar (requires java SDK) to sign the update.
I dont have access to the links I found for this, if someone else has a better way please let us know.
Sent from my ICS'd Revolt Bryce Device
Click to expand...
Click to collapse
You do not have to sign the zip for cwm.
Sent from my VS910 4G using xda premium
mtmichaelson said:
You do not have to sign the zip for cwm.
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
SWEET! Thanks.
Also, here's a screenshot of what I was working on (I missed one )
Drt that looks really nice. I think you should release it the more people for development the better!!
I've Revolted have you?
KaneOfMars said:
SWEET! Thanks.
Also, here's a screenshot of what I was working on (I missed one )
Click to expand...
Click to collapse
Try 33B5E5 for the color, it'll match better ;-) haven't been anywhere near home or my laptop, and won't be until Sunday... I like the tiny button idea a lot!
Revolting Revolution. Tapatalk.
Definitely want to release it, also I've already changed the color to match the theme but haven't had a chance to flash it yet
Sent from my ICS'd Revolt Bryce Device
I like the buttons for the notification page.
I've Revolted have you?
KaneOfMars said:
Looks good so far... How did you change the color of the app labels to red? Was that in UOT Kitchen?
As far as the update zip... I couldn't quite figure it out but I got it to work. There's probably an easier way, but i extracted a zip I downloaded from UOT and replaced the framework_res with my updated one. Then I used testsign.jar (requires java SDK) to sign the update.
I dont have access to the links I found for this, if someone else has a better way please let us know.
Sent from my ICS'd Revolt Bryce Device
Click to expand...
Click to collapse
Thanks MT.. I will try to get on.. what site and channel? The app labels I can't take credit for. I installed adw launcher and a free red theme.. would have to look it up again. That takes care of the dock and app drawer and icons and labels. I guess you would have to install adw and the theme yourself to get the whole effect.
The notification pull down menu I edited in UOT except for the gps, bt, airplane ect was just MT's Revolt icons I just colored them red from green using paint.net. I want to change the top bar icons.. just have to find some I like. The battery mod was in UOT Kitchen.
I tried to set the wallpaper as "default_wallpaper" in lge-res.apk but after replacing the lge-res.apk in /system/framework it doesn't actually set the wallpaper after rebooting. Wonder if it would after flashing if that makes a difference? or would that be in the script? Or could I only do that if I were modding a entire ROM?
I will try to do something with adw launcher so I can call it my own but lacking time right now. Thanks for the help!!
sent from my LG Revolt empowered by Fusion

xperia tx

can some one help me decompiling systemUI.apk. this is the error im getting. i m also uploading my systemui.apk below
romeoofair said:
can some one help me decompiling systemUI.apk. this is the error im getting. i m also uploading my systemui.apk below
Click to expand...
Click to collapse
Are you sure you installed framework-res.apk and SemcGenericUxpRes.apk before decompiling?
I am using this tool here: http://forum.xda-developers.com/showthread.php?t=2326604
Have no problems at all (exempt some semc files like semcdlna)
Here is the decompiled file:
View attachment SystemUI.rar
DaRk-L0rD said:
Are you sure you installed framework-res.apk and SemcGenericUxpRes.apk before decompiling?
I am using this tool here: http://forum.xda-developers.com/showthread.php?t=2326604
Have no problems at all (exempt some semc files like semcdlna)
Here is the decompiled file:
View attachment 2237248
Click to expand...
Click to collapse
bro but these files are not matching with the files given in this link to make my statusbar and navigation bar transparent :crying:
romeoofair said:
bro but these files are not matching with the files given in this link to make my statusbar and navigation bar transparent :crying:
Click to expand...
Click to collapse
which link? Which tutorial are you following?
romeoofair said:
bro but these files are not matching with the files given in this link to make my statusbar and navigation bar transparent :crying:
Click to expand...
Click to collapse
Maybe you posted wrong files bro. I did the progress I always do
Sent using Honami Experience
gregbradley said:
which link? Which tutorial are you following?
Click to expand...
Click to collapse
this is the link i m following bro http://forum.xda-developers.com/showthread.php?t=2262268 . some of the files are not matching with em.
DaRk-L0rD said:
Maybe you posted wrong files bro. I did the progress I always do
Sent using Honami Experience
Click to expand...
Click to collapse
no bro i m using honami full framework http://forum.xda-developers.com/showthread.php?t=2411950 with quick settings toggles http://forum.xda-developers.com/showthread.php?t=2416839. when ever i flash this mod http://forum.xda-developers.com/showthread.php?t=2362510 . my settings are not working. as the mod i flash includes systemUI.apk which is replacing the one with quick settings. so i wanted to mod my statusbar and navigation bar manually. but i find the files different
romeoofair said:
no bro i m using honami full framework http://forum.xda-developers.com/showthread.php?t=2411950 with quick settings toggles http://forum.xda-developers.com/showthread.php?t=2416839. when ever i flash this mod http://forum.xda-developers.com/showthread.php?t=2362510 . my settings are not working. as the mod i flash includes systemUI.apk which is replacing the one with quick settings. so i wanted to mod my statusbar and navigation bar manually. but i find the files different
Click to expand...
Click to collapse
The file you posted is from the quick settings with toggles or the stock one?
Sent using Honami Experience
DaRk-L0rD said:
The file you posted is from the quick settings with toggles or the stock one?
Sent using Honami Experience
Click to expand...
Click to collapse
i posted the one which i got after flashing quick settings
romeoofair said:
i posted the one which i got after flashing quick settings
Click to expand...
Click to collapse
Which files are different mate?
Sent using Honami Experience
DaRk-L0rD said:
Which files are different mate?
Sent using Honami Experience
Click to expand...
Click to collapse
\SystemUI\res\layout\navigation_bar.xml and SystemUI\smali\com\android\systemui\statusbar\phon e\PhoneStatusBar.smali are different. i cant find <item type="drawable" name="status_bar_background">#5a000000</item> in navigation bar.xml and in 2nd one i was not able to find this
Find "showNav" (second result in Notepad++) or "mPixelFormat:I", this code. Green- Add:
Code:
.line 417
.end local v3 #showNav:Z
:cond_1
:goto_2
const/4 v5, -0x3 (or const/4 v9, -0x3 for Z)
iput v13, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I.
romeoofair said:
\SystemUI\res\layout\navigation_bar.xml and SystemUI\smali\com\android\systemui\statusbar\phon e\PhoneStatusBar.smali are different. i cant find <item type="drawable" name="status_bar_background">#5a000000</item> in navigation bar.xml and in 2nd one i was not able to find this
Find "showNav" (second result in Notepad++) or "mPixelFormat:I", this code. Green- Add:
Code:
.line 417
.end local v3 #showNav:Z
:cond_1
:goto_2
const/4 v5, -0x3 (or const/4 v9, -0x3 for Z)
iput v13, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I.
Click to expand...
Click to collapse
These are the different files between the one i decompiled and then one you decompiled, right?
Sent using Honami Experience
DaRk-L0rD said:
These are the different files between the one i decompiled and then one you decompiled, right?
Sent using Honami Experience
Click to expand...
Click to collapse
the one i posted is from the mod page. but the files u decompiled does not consist those lines.
romeoofair said:
the one i posted is from the mod page. but the files u decompiled does not consist those lines.
Click to expand...
Click to collapse
I will take a look again bro when I get back home.
Sent using Honami Experience
@romeoofair Here is the systemui decompiles liked i told you in the pm bro: )
View attachment SystemUI.rar
DaRk-L0rD said:
I will take a look again bro when I get back home.
Sent using Honami Experience
Click to expand...
Click to collapse
bro these are my files. maybe u bettter try with these
DaRk-L0rD said:
@romeoofair Here is the systemui decompiles liked i told you in the pm bro: )
View attachment 2239537
Click to expand...
Click to collapse
i ll try it now bro
DaRk-L0rD said:
I will take a look again bro when I get back home.
Sent using Honami Experience
Click to expand...
Click to collapse
bro. still its not matching with the files in that list. if you dont mind can you please make the status bar and navigation bar transparent using those files

[MOD][XML]Remove Carrier Label from Status bar and notification panel[MOD][XML]

Guide How to remove Carrier Label from Status Bar and Notification Panel​
Edits required to XML in /system/priv-app/SystemUI.apk
Locate your SystemUI.apk
adb pull /system/priv-app/SystemUI.apk
Extract from Stock unmodded S5 ROM
Decompile the apk
Using either Virtuous Ten Studio or Apk-Multitool
decompile the apk.
In the decompiled folder browse to /res/layout
Open res/layout/status_bar.xml
Open res/values/dimens.xml
Step 1:
Open res/layout/status_bar.xml with notepad++ or compatible text editor (Not notepad or wordpad) and make the change below
1. Search for "carrier"
2. Change the default value to match the Blue highlighted value
Code:
<TextView [COLOR="blue"]android:textSize="0.0dip"[/COLOR] 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" />
3. Save and close the file.
Step 2:
Open res/values/dimens.xml with notepad++ or compatible text editor.
1. Search for "carrier_label_height"
2. Change the default value to match the Blue highlighted value
Code:
<dimen name="carrier_label_height">[COLOR="Blue"]0.0dip[/COLOR]</dimen>
3. Save and close the file.
Recompile the APK DO NOT RESIGN THE APK
Reboot to SS recovery and adb push to /system/priv-app/SystemUI.apk
Delete Cache and Dalvik-Cache and reboot.
NOTICE
This MOD has been around for years and is constantly being modded or adjusted for each OS version,
each device and each devs own needs. DEVS are free to use this mod no need to ask for permissions.
All I ask is recognition as to where you got it from.
Click to expand...
Click to collapse
See post #2 for an alternate method
Alternate Method [smali edit]
Alternate method for removing carrier branding using smali edits​
Pull /system/priv-app/SystemUI.apk - either from device or from ROM zip file.
Decompile using available tools - I recomend Virtuous Ten Studio
Locate /smali/con/android/systemui/statusbar/phone/PhoneStatusBar.smali
Search for this method .method setCarrierLabelVisibility(ZI)V
Replace the entire contents of the method with the one below:
Code:
.method setCarrierLabelVisibility(ZI)V
.locals 0
return-void
.end method
Re-compile the apk and adb push to your device or add back into ROM zip and flash.
NOTE:
This method has the advantage of not interfering with the statusbar layout or ticker display as previous mods would occasionally cause
the statusbar icons to "jump" as tho some ticker display or carrier logo was attempting to display.
The other advantage is that this method should work for android lollipop as well (untested)
cstayton said:
reserved
Click to expand...
Click to collapse
How can i get this on stock nd3 odex??
Sent from my SAMSUNG-SM-G900A using XDA Premium 4 mobile app
carlospr21 said:
How can i get this on stock nd3 odex??
Sent from my SAMSUNG-SM-G900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
only for de-odexed sorry
nice...I completely didnt look for this when I did the att rom...good job...will come in handy for the next build...thanks sir for the guide...??
TheAxman said:
nice...I completely didnt look for this when I did the att rom...good job...will come in handy for the next build...thanks sir for the guide...??
Click to expand...
Click to collapse
as a note @TheAxman the statusbar is still a little flaky it comes and goes of its own accord but the notification panel one is completely gone,
P.S.
Think I'm gonna have to check out your complete vissix rom when you get it done :good::good:
P.P.S. I just modded the OP, think i may have fixed the statusbar label as well
cstayton said:
as a note @TheAxman the statusbar is still a little flaky it comes and goes of its own accord but the notification panel one is completely gone,
P.S.
Think I'm gonna have to check out your complete vissix rom when you get it done :good::good:
P.P.S. I just modded the OP, think i may have fixed the statusbar label as well
Click to expand...
Click to collapse
We are doing this mod now, I will let you know the result....:good::good:
EDIT: Ok, I tried everything, checked each line character by character, logo still visible, what am I missing? Something else must be located somewhere else....
TheAxman said:
We are doing this mod now, I will let you know the result....:good::good:
EDIT: Ok, I tried everything, checked each line character by character, logo still visible, what am I missing? Something else must be located somewhere else....
Click to expand...
Click to collapse
logo still visible on the statusbar expaneded it should look like the screenshot attached (with the exception that i have a custom background)
if you want the logo off of the lockscreen thats a different mod
and the normal status bar one is still flaky
cstayton said:
logo still visible on the statusbar expaneded it should look like the screenshot attached (with the exception that i have a custom background)
if you want the logo off of the lockscreen thats a different mod
and the normal status bar one is still flaky
Click to expand...
Click to collapse
I figured that out after, sorry, you are correct, it does work for the pulldown, I did not read, my apologies...:good:
TheAxman said:
We are doing this mod now, I will let you know the result....:good::good:
EDIT: Ok, I tried everything, checked each line character by character, logo still visible, what am I missing? Something else must be located somewhere else....
Click to expand...
Click to collapse
@TheAxman i just PM'd you an laternative way to handle it let me know if that helps
TheAxman said:
I figured that out after, sorry, you are correct, it does work for the pulldown, I did not read, my apologies...:good:
Click to expand...
Click to collapse
lol i think our replies crossed paths whew glad it worked, i think the status bar label is a smali edit i just havent found it yet.
I'll be posting a revised mod this evening that will correctly remove all instances of the carrier labeling.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
[OP] has been revised, this will correctly remove the carrier label from the notification pull down as well as from the status bar
cstayton said:
[OP] has been revised, this will correctly remove the carrier label from the notification pull down as well as from the status bar
Click to expand...
Click to collapse
Yep, tested and working, great job @cstayton, not one issue. Thanks for your work on this one......:good::good::good:
Been looking for this fix for the Note3 when it was released for the att device, best guide for the carrier removal is right here hands down, easy and quick! And I have tried most all others...
Is there a way to revert this to restore back the carrier label
vat829 said:
Is there a way to revert this to restore back the carrier label
Click to expand...
Click to collapse
Do you still have the systemui.apk before it was modified? If yes, two ways.
Safer way: make a flashable zip that replaces your current one with it.
Quicker way: copy/paste the original apk in system, fix permissions, reboot. This way will cause systemui.apk to fc until you reboot.

Categories

Resources