Difference between revisions of "Patch webOS Change Carrier String"

From WebOS Internals
Jump to navigation Jump to search
(New page: http://bayimg.com/image/aabccaaco.jpg Preview Image Further testing has revealed that editing bar-scene.html fails. The following is a revised mod as a result of that testing. Want...)
 
Line 6: Line 6:
 
Want to change the Sprint text in the upper left hand corner to something more interesting? Maybe your name or different carrier to fake out your friends? Well here’s how:
 
Want to change the Sprint text in the upper left hand corner to something more interesting? Maybe your name or different carrier to fake out your friends? Well here’s how:
  
You’ll need to:
+
You’ll need to: [[Portal:Accessing Linux | Enable Root Access ]]
Enable Root Access
 
  
  

Revision as of 17:07, 20 July 2009

[Preview Image]


Further testing has revealed that editing bar-scene.html fails. The following is a revised mod as a result of that testing.

Want to change the Sprint text in the upper left hand corner to something more interesting? Maybe your name or different carrier to fake out your friends? Well here’s how:

You’ll need to: Enable Root Access


Log in and execute the following commands:

sudo -i

Unlock the file system:

mount -o remount rw /

Edit the following:

vi /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js

Go to line 440 and make this change. Of course, instead of using "Verizon" you can use what ever string you would like.

//$('carrier').innerHTML = this.carrierText	
$('carrier').innerHTML = $L("Verizon");


Turning on and off Airplane Mode brings back the "sprint". To get it to show your string like "Verizon" again; Goto line 698 and make this change.

//$('carrier').innerHTML = this.carrierText;
$('carrier').innerHTML = $L("Verizon");	

Lock your file system:

mount -o remount ro /

Restart LunaSysMgr:

initctl stop LunaSysMgr
initctl start LunaSysMgr

http://prebrew.org/blog/2009/07/01/customize-your-carrier-text/ http://forums.precentral.net/web-os-development/189942-change-your-carrier-text-anything-besides-sprint.html


Ported by hopspitfire