Difference between revisions of "Blocking Updates"

From WebOS Internals
Jump to navigation Jump to search
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Here is a quick and dirty way to block webOS updates.
+
'''We do not recommend doing this.'''
  
'''We do not recommend doing this.'''
+
Updates provide important security patches as well as new features and bug fixes. One webOS-internals team member (tharris) has identified over seven security errors in webOS as of 20 July 2009, and that process is far from done. 
 +
 
 +
That being said, sometimes an update only disables functionality, such as the 1.0.4 update, which prevented apps from being installed through email link (but which was required to fix a huge unintended security hole).
 +
 
 +
Here is a quick and dirty way to block webOS updates:
 +
 
 +
<source lang='text'>
 +
cd /usr/bin
 +
mount -o remount,rw /
 +
chmod -x UpdateDaemon
 +
mount -o remount,ro /
 +
</source>
  
webOS is in a very early stage.  One webOS-internals team member (tharris) has identified over seven security errors in webOS as of 20 July 2009, and that process is far from done. 
+
Then, either reboot or execute:
  
Additionally, updates like the forthcoming 1.1 will make available new functions including accelerometer to the mojo interface. 
+
<source lang='text'>
 +
killall UpdateDaemon
 +
</source>
  
Some may want to block the 1.0.4 update, as it prevents apps from being installed through email link.
+
No more executing the update program.
  
cd /usr/bin
+
== Re-Enable Updates ==
mount -o remount,rw /
 
chmod -x UpdateDaemon
 
mount -o remount,ro /
 
  
Reboot, afterwards no more executing the update program.
+
If you disabled your update you might want to re-enable it at some point.  
  
'''*note*''' if you do not want to reboot from shell you can execute
+
<source lang='text'>
 +
cd /usr/bin
 +
mount -o remount,rw /
 +
chmod +x UpdateDaemon
 +
mount -o remount,ro /
 +
</source>
  
killall UpdateDaemon
+
Then restart your phone and automatic updating should be back.

Latest revision as of 08:55, 11 September 2009

We do not recommend doing this.

Updates provide important security patches as well as new features and bug fixes. One webOS-internals team member (tharris) has identified over seven security errors in webOS as of 20 July 2009, and that process is far from done.

That being said, sometimes an update only disables functionality, such as the 1.0.4 update, which prevented apps from being installed through email link (but which was required to fix a huge unintended security hole).

Here is a quick and dirty way to block webOS updates:

<source lang='text'> cd /usr/bin mount -o remount,rw / chmod -x UpdateDaemon mount -o remount,ro / </source>

Then, either reboot or execute:

<source lang='text'> killall UpdateDaemon </source>

No more executing the update program.

Re-Enable Updates

If you disabled your update you might want to re-enable it at some point.

<source lang='text'> cd /usr/bin mount -o remount,rw / chmod +x UpdateDaemon mount -o remount,ro / </source>

Then restart your phone and automatic updating should be back.