Difference between revisions of "Blocking Updates"

From WebOS Internals
Jump to navigation Jump to search
(just stopping UpdateDaemon did it for me. added note about 1.0.4)
 
(4 intermediate revisions by 4 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.'''
  
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.   
+
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.   
  
Additionally, updates like the forthcoming 1.1 will make available new functions including accelerometer to the mojo interface.
+
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).
  
Some may want to block the 1.0.4 update, as it prevents apps from being installed through email link.
+
Here is a quick and dirty way to block webOS updates:
  
<pre>
+
<source lang='text'>
 
cd /usr/bin
 
cd /usr/bin
 
mount -o remount,rw /
 
mount -o remount,rw /
 
chmod -x UpdateDaemon
 
chmod -x UpdateDaemon
 
mount -o remount,ro /
 
mount -o remount,ro /
</pre>
+
</source>
 +
 
 +
Then, either reboot or execute:
 +
 
 +
<source lang='text'>
 +
killall UpdateDaemon
 +
</source>
  
 
No more executing the update program.
 
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.

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.