(Request) Carrier Name Change on PA

theghazi

Senior Member
Dec 10, 2009
590
118
0
Chicago
Does anyone know if there is an apps can change the carrier name in PA 4.2.2.

I know aokp has it built in but nor cm or pa has that option. Or anywhere in the file I could change. Please Thanks

Sent from my Nexus 4 using Tapatalk 2
 

JsChiSurf

Inactive Recognized Developer
Feb 5, 2010
2,416
1,396
113
Hacksville
So, I'm running CM, and since I just did this for essentially myself, and didn't want to take the time incorporating this into the settings app, etc, I just modded the necessary framework files (from decompiled source, rather than original .java source, I come from HTC devices where source is not an option, and I'm a glutten for punishment), so that I could display custom text on BOTH the lockscreen as well as both notification panels.

Lockscreen versus notification are two different framework locations, so I just modded the frameworks to look for a text file in /system/ (lock.txt, notification.txt), the contents of each text file being the text you want to display in the corresponding locations (lock screen and notification panels).

Lockscreen (see bottom of screen):



Notification Panels (see bottom for screen 1, and the carrier text on tile for screen 2):





I have a heavily modified framework for personal "tweaks" so if anyone is interested in using this approach, I can package it up with some instructions, but it will take me a bit, as I would have to start over for modding from an original / unmodified framework to start.
 
  • Like
Reactions: rootuser11

theghazi

Senior Member
Dec 10, 2009
590
118
0
Chicago
Would be good. The reason I would want it is because I am using straight talk and my carrier always says HOME. If it said my actually carrier I probably wouldn't care. Thanks

Sent from my Nexus 4 using Tapatalk 2
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,705
0
New York, NY
This has nothing to do with Themes/Apps..... AOKP has it but doesn't update the tiles, it still remains as your carrier name. Only changes lock screen and notification pulldown.
 

FLH_Sky

Senior Member
Jun 28, 2009
91
18
28
Munich
So, I'm running CM, and since I just did this for essentially myself, and didn't want to take the time incorporating this into the settings app, etc, I just modded the necessary framework files (from decompiled source, rather than original .java source, I come from HTC devices where source is not an option, and I'm a glutten for punishment), so that I could display custom text on BOTH the lockscreen as well as both notification panels.

Lockscreen versus notification are two different framework locations, so I just modded the frameworks to look for a text file in /system/ (lock.txt, notification.txt), the contents of each text file being the text you want to display in the corresponding locations (lock screen and notification panels).

Lockscreen (see bottom of screen):



Notification Panels (see bottom for screen 1, and the carrier text on tile for screen 2):





I have a heavily modified framework for personal "tweaks" so if anyone is interested in using this approach, I can package it up with some instructions, but it will take me a bit, as I would have to start over for modding from an original / unmodified framework to start.
Is that also working for the N4 stock rom?
 

theghazi

Senior Member
Dec 10, 2009
590
118
0
Chicago
Nothing. It shouldn't be hard for people who knows this stuff. In aokp its built in and does it so quickly makes me think that no framework stuff needs to be done. But than who am I to judge.
Sent from my Nexus 4 using Tapatalk 2
 

JsChiSurf

Inactive Recognized Developer
Feb 5, 2010
2,416
1,396
113
Hacksville
Nothing. It shouldn't be hard for people who knows this stuff. In aokp its built in and does it so quickly makes me think that no framework stuff needs to be done. But than who am I to judge.
Sent from my Nexus 4 using Tapatalk 2
I haven't had a chance to work on it today, as I actually work from 9-5.

Trust me, it's a framework mod, I've been doing this a LONG time ;) How else do you think you intercept what the framework would provide normally and display something else in its place? You have to go to where this normally gets outputed, and check for a System Setting flag that has been put in place, via the Settings app, and when present, use what the user has provided instead of what the system returns (in terms of how AOKP would do it). I've been doing this kind of mod directly via the framework for longer than AOKP has been in existence.

When I have the chance, I can gladly, as mentioned put something together, but in the meantime, if anyone wants to pull it off w/o modding the framework, and not making it static, be my guest, afterall, as you mentioned, it's not hard...
 
Last edited:

rootuser11

Senior Member
Dec 12, 2011
419
83
0
I haven't had a chance to work on it today, as I actually work from 9-5.

Trust me, it's a framework mod, I've been doing this a LONG time ;) How else do you think you intercept what the framework would provide normally and display something else in its place? You have to go to where this normally gets outputed, and check for a System Setting flag that has been put in place, via the Settings app, and when present, use what the user has provided instead of what the system returns (in terms of how AOKP would do it). I've been doing this kind of mod directly via the framework for longer than AOKP has been in existence.

When I have the chance, I can gladly, as mentioned put something together, but in the meantime, if anyone wants to pull it off w/o modding the framework, and not making it static, be my guest, afterall, as you mentioned, it's not hard...
Never had a chance to play with framework. Will you instruct us on how to do this? Do I need to do this every time I flash new nightly?

Only thing I need from CM10.1 is this. And yes I have tried AOKP numerous times but a few glitches here and there bug me too much.
 

mbh87

Senior Member
Jun 16, 2010
6,500
1,028
0
Idaho
Lol same I just want it to say AT&T instead of HOME
What's funny is that on CM the samsung guys changed it to say AT&T, but I could never find the source. I've looked into this more than once and came up empty handed every time. I always just completely removed the text from the lockscreen and pulldown instead. Js definitely knows what he is doing though, so I would just hold out for him to come through.
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,705
0
New York, NY
Never had a chance to play with framework. Will you instruct us on how to do this? Do I need to do this every time I flash new nightly?

Only thing I need from CM10.1 is this. And yes I have tried AOKP numerous times but a few glitches here and there bug me too much.
Yes you have to do it every time when you flash. And you have to do it for the updated frame work so it will be a big hassle.

Aokp is bug free for me.

Sent from my Nexus 4 using xda premium