Difference between revisions of "Blocking Updates"

From WebOS Internals
Jump to navigation Jump to search
(New page: Here is a quick and dirty way to block webOS updates brought to us by "psykoz" This is only for the truly paranoic - we don't suggest that everyone needs to do this, since we've seen that...)
 
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Here is a quick and dirty way to block webOS updates brought to us by "psykoz"
+
'''We do not recommend doing this.'''
  
This is only for the truly paranoic - we don't suggest that everyone needs to do this, since we've seen that 1.0.3 does not break anything, and we always have the 1.0.2 webOS Doctor to reinstall a 1.0.2 if something does get broken in the future.
+
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.
  
<pre><nowiki>
+
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
 
cd /usr/bin
 
mount -o remount,rw /
 
mount -o remount,rw /
chmod -x *Update*
+
chmod -x UpdateDaemon
 
mount -o remount,ro /
 
mount -o remount,ro /
</nowiki></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 ==
  
Comment:
+
If you disabled your update you might want to re-enable it at some point.  
What's the advantage in doing this? Is it to avoid mods being reverted? Doesn't it make more sense to keep backups of all changed files somewhere, accept updates, and then reintroduce your changes? - //This would be useful in the event a future update were to eliminate access to the Pre.//
 
  
 +
<source lang='text'>
 +
cd /usr/bin
 +
mount -o remount,rw /
 +
chmod +x UpdateDaemon
 +
mount -o remount,ro /
 +
</source>
  
''Ported by hopspitfire''
+
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.