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.)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[rooting | Root your Pre.]]
+
{{template:patch}}
[[adding-the-ipkg-repository | Enable the Optware Package Feed]] and install a backdoor.
+
[[Portal:Accessing_Linux | Access Linux]]
 +
 
 +
[[Next_steps | Enable the Optware Package Feed]] and install a backdoor.
  
 
1. SSH in.
 
1. SSH in.
Line 35: Line 37:
 
</source>
 
</source>
  
8. You may need to restart your Pre:
+
8. You may need to restart LunaSysMgr (avoids full reboot):
<source lang=text>
+
<pre><nowiki>
reboot
+
initctl stop LunaSysMgr
</source>
+
initctl start LunaSysMgr
 +
</nowiki></pre>
  
 
== To '''DELETE''' the NASCAR app: ==
 
== 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.
+
3. 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>
 
<source lang=text>
 
cp -R /usr/palm/applications/com.handson.app.nascar/ /media/internal/nascar-backup
 
cp -R /usr/palm/applications/com.handson.app.nascar/ /media/internal/nascar-backup
 
</source>
 
</source>
  
4a. Delete the app:
+
4. Delete the app:
 
<source lang=text>
 
<source lang=text>
 
ipkg remove com.handson.app.nascar
 
ipkg remove com.handson.app.nascar
 
</source>
 
</source>
  
5a. Remount the file system as read only:
+
5. Remount the file system as read only:
 
<source lang=text>
 
<source lang=text>
 
mount -o remount,ro /
 
mount -o remount,ro /
 
</source>
 
</source>
  
6a. You may need to restart your Pre:
+
6. Restart LunaSysMgr (avoids full reboot):
<source lang=text>
+
<pre><nowiki>
reboot
+
initctl stop LunaSysMgr
</source>
+
initctl start LunaSysMgr
 +
</nowiki></pre>
  
 
== To '''DELETE''' the Sprint bookmark app: ==
 
== To '''DELETE''' the Sprint bookmark app: ==
Line 69: Line 73:
 
Then remove the icon by doing ipkg remove com.palm.app.sprintportal similarly to above:
 
Then remove the icon by doing ipkg remove com.palm.app.sprintportal similarly to above:
  
Make a backup:
+
3. Make a backup:
 
<source lang=text>
 
<source lang=text>
cp -a /usr/palm/applications/com.palm.app.sprintportal/ /media/in
+
cp -a /usr/palm/applications/com.palm.app.sprintportal/ /media/internal/sprintportal-backup
ternal/sprintportal-backup
 
 
</source>
 
</source>
  
Remove the app:
+
4. Remove the app:
 
<source lang=text>
 
<source lang=text>
 
ipkg remove com.palm.app.sprintportal
 
ipkg remove com.palm.app.sprintportal
 
</source>
 
</source>
  
Remount the filesystem:
+
5. Remount the filesystem:
 
<source lang=text>
 
<source lang=text>
 
mount -o remount,ro /
 
mount -o remount,ro /
 
</source>
 
</source>
  
Restart LunaSysMgr (avoids full reboot):
+
6. Restart LunaSysMgr (avoids full reboot):
 
<pre><nowiki>
 
<pre><nowiki>
 
initctl stop LunaSysMgr
 
initctl stop LunaSysMgr
 
initctl start LunaSysMgr
 
initctl start LunaSysMgr
 
</nowiki></pre>
 
</nowiki></pre>
 +
 +
== To '''DELETE''' the NFL app: ==
 +
Repeat the above steps, but with the application name com.handson.app.nfl. Choose an appropriate backup name of your choice.
 +
 +
== To '''DELETE ANY''' app: ==
 +
By now you should get the basic idea of how to delete an app if you know the program's full name. Back it up, remove it with ipkg, remount the drive as read-only, and restart LunaSysMgr.

Latest revision as of 00:14, 3 August 2009


Access Linux

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 LunaSysMgr (avoids full reboot):

initctl stop LunaSysMgr
initctl start LunaSysMgr

To DELETE the NASCAR app:

3. 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>

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

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

6. Restart LunaSysMgr (avoids full reboot):

initctl stop LunaSysMgr
initctl start LunaSysMgr

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:

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

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

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

6. Restart LunaSysMgr (avoids full reboot):

initctl stop LunaSysMgr
initctl start LunaSysMgr

To DELETE the NFL app:

Repeat the above steps, but with the application name com.handson.app.nfl. Choose an appropriate backup name of your choice.

To DELETE ANY app:

By now you should get the basic idea of how to delete an app if you know the program's full name. Back it up, remove it with ipkg, remount the drive as read-only, and restart LunaSysMgr.