Difference between revisions of "Patch Launcher Hide-Delete The NASCAR App"

From WebOS Internals
Jump to navigation Jump to search
(Added detailed instructions on how to remove Sprint icon.)
Line 62: Line 62:
  
 
== To '''DELETE''' the Sprint bookmark app: ==
 
== To '''DELETE''' the Sprint bookmark app: ==
I figure some people might want to delete the useless Sprint bookmark app (the useless one that says Sprint and takes you to FAQs or Videos) as well.  I just got this to work.  Unfortunately, since I deleted it, I don't have the exact instructions, but here's the general idea.
+
I figure some people might want to delete the useless Sprint bookmark app (the useless one that says Sprint and takes you to FAQs or Videos) as well.  
  
/var/luna/launchpoints should have a file that is a few numbers in a row.  This is the actual bookmark.  (use vi to confirm it's the correct one).  Delete that.  Then remove the icon by doing ipkg remove com.palm.app.sprintportal similarly to above.
+
/var/luna/launchpoints should have a file that is a few numbers in a row.  This is the actual bookmark.  (use vi to confirm it's the correct one).  Delete that.   
 +
'''Note:''' If you've already removed the bookmark through the browser, this file may not exist.
 +
 
 +
Then remove the icon by doing ipkg remove com.palm.app.sprintportal similarly to above:
 +
 
 +
Make a backup:
 +
<source lang=text>
 +
cp -a /usr/palm/applications/com.palm.app.sprintportal/ /media/in
 +
ternal/sprintportal-backup
 +
</source>
 +
 
 +
Remove the app:
 +
<source lang=text>
 +
ipkg remove com.palm.app.sprintportal
 +
</source>
 +
 
 +
Remount the filesystem:
 +
<source lang=text>
 +
mount -o remount,ro /
 +
</source>
 +
 
 +
Restart LunaSysMgr (avoids full reboot):
 +
<pre><nowiki>
 +
initctl stop LunaSysMgr
 +
initctl start LunaSysMgr
 +
</nowiki></pre>

Revision as of 23:08, 21 July 2009

Root your Pre. Enable the Optware Package Feed and install a backdoor.

1. SSH in.

2. Remount the file system as read/write: <source lang=text> mount -o remount,rw / </source>

To HIDE the NASCAR app:

3. Bring up the visual editor to edit the application info for the NASCAR app: <source lang=text> vi /usr/palm/applications/com.handson.app.nascar/appinfo.json </source>

4. Press i to enter insert mode.

5. After the "vendorurl":"http://www.handson.com" line, add another line that says this: <source lang=text> "visible": "false" </source>

5. Press <ESC> to exit insert mode and go into command mode.

6. Save and quit the file that you are editing: <source lang=text>

wq

</source>

7. Remount the file system as read only: <source lang=text> mount -o remount,ro / </source>

8. You may need to restart your Pre: <source lang=text> reboot </source>

To DELETE the NASCAR app:

3a. Back up the app first, in case you ever want it back. We'll put the files into the USB drive so you can get to them if you want. <source lang=text> cp -R /usr/palm/applications/com.handson.app.nascar/ /media/internal/nascar-backup </source>

4a. Delete the app: <source lang=text> ipkg remove com.handson.app.nascar </source>

5a. Remount the file system as read only: <source lang=text> mount -o remount,ro / </source>

6a. You may need to restart your Pre: <source lang=text> reboot </source>

To DELETE the Sprint bookmark app:

I figure some people might want to delete the useless Sprint bookmark app (the useless one that says Sprint and takes you to FAQs or Videos) as well.

/var/luna/launchpoints should have a file that is a few numbers in a row. This is the actual bookmark. (use vi to confirm it's the correct one). Delete that. Note: If you've already removed the bookmark through the browser, this file may not exist.

Then remove the icon by doing ipkg remove com.palm.app.sprintportal similarly to above:

Make a backup: <source lang=text> cp -a /usr/palm/applications/com.palm.app.sprintportal/ /media/in ternal/sprintportal-backup </source>

Remove the app: <source lang=text> ipkg remove com.palm.app.sprintportal </source>

Remount the filesystem: <source lang=text> mount -o remount,ro / </source>

Restart LunaSysMgr (avoids full reboot):

initctl stop LunaSysMgr
initctl start LunaSysMgr