webOS Nation Forums >  Homebrew >  webOS patches > ATTENTION: Patches that MUST be removed prior to OTA update
ATTENTION: Patches that MUST be removed prior to OTA update

  Reply
 
LinkBack Thread Tools Display Modes
Old 07/04/2010, 11:19 PM   #1 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default ATTENTION: Patches that MUST be removed prior to OTA update

First I'd like to apologize because of my hiatus I have neglected known flaws in AUPT for too long. Although with the great development of the Save/Restore system started by rwhitby, I believe the worst case scenario will be very manageable.

Ok, so here's the deal. Patches that touch multiple packages will not be able to remove/update after an OTA, iff the OTA doesn't update all or none of those packages. These "problem" patches will be in a half-installed half-removed state and there's nothing in AUPT logic that can get it out of this state.

Luckily there aren't a ton of these packages but to avoid this scenario I must recommend you remove the following patches prior to OTA update while using AUPT version 4 or before.
  • Muffle System Logging
  • Quieter PmLog Logging
  • GestureClick Context Menu
  • KeyToss Keyword Search
  • Enable Verizon aGPS Server for Improved GPS
  • Multi Mod
  • SMS Tone per Contact
  • SMS Tone per Contact v2
  • No Auto-Off While Charging
  • Scrim Multi
  • Scrim Multi v2
  • Scrim Multi o2
  • Scrim Multi o2 v2
  • Scrim Multi Verizon
  • Scrim Multi Verizon v2
  • Scrim System Screens

I apologize to the patch authors in advance for the inevitable barage of questions they will receive due to my oversight.

What to do if you have updated with a problem patch installed:
  • In Preware Saved Packages List, hit Update to make sure it has the current list of installed packages.
  • In Save/Restore, save the application data for Preware, just in case.
  • In Preware, run EPR (Emergency Patch Recovery)
  • In Preware, run EFV (Emergency File Verification) to confirm everything is removed
  • In Preware, go to the Saved Packages List, and re-install the packages. Don't hit update, or it will clear your list.
  • If for some reason, the Saved Packages List is not there, you can restore it from Save/Restore.

NOTE
Any patches installed outside of the webos-patches feed may or may not contain this bug. If you are unsure, remove them.
__________________

-Eric G

WebOS Internals Developer.
Follow me on Twitter for updates to my projects: | Virtual Keyboard | wIRC | SuperTux | AUPT | KeyBoss | freeTether |

Donate

Last edited by egaudet; 09/15/2010 at 11:24 PM.
egaudet is offline   Reply With Quote
Old 07/04/2010, 11:34 PM   #2 (permalink)
Member
 
Jakeeeee's Avatar
 
Join Date: Jan 2010
Location: Clemson, SC
Posts: 1,412
Likes Received: 73
Thanks: 123
Thanked 192 Times in 134 Posts
Default

Wait so why are these specific packages affected?
__________________
My apps: WebOS World Services | Apollo Radio (Pandora Client) | Skyrim database(coming later..?)

Twitter: @jakemorrison24
Jakeeeee is offline   Reply With Quote
Old 07/04/2010, 11:39 PM   #3 (permalink)
Member
 
Join Date: Nov 2001
Posts: 48
Likes Received: 0
Thanks: 45
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by egaudet View Post
What to do if you have updated with a problem patch installed:

If anyone updates with one of the problem patches installed, I believe the best solution will be to use save/restore to save your patches list. Then install EPR to wipe all patches (or webos doctor). Then use save/restore to restore the patches.
To clarify, do you mean the Save/Restore app (which includes a profile for Preware) or the Saved Package List option within Preware? Does Save/Restore's Preware profile also back up the saved package list?
AndrewRich is offline   Reply With Quote
Old 07/04/2010, 11:48 PM   #4 (permalink)
Member
 
Join Date: Oct 2009
Posts: 52
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

thanx for the info. Maybe afterall its something good in waiting for update. I had only one from the list and removed it now to not forget about it later
ben_dov is offline   Reply With Quote
Old 07/04/2010, 11:48 PM   #5 (permalink)
Member
 
Kyusaku's Avatar
 
Join Date: Apr 2007
Posts: 1,483
Likes Received: 5
Thanks: 92
Thanked 195 Times in 142 Posts
Default

Quote:
Originally Posted by Jakeeeee View Post
Wait so why are these specific packages affected?
they will get stuck because some of the files they mod will be replaced and some won't be replaced. So trying to update or remove them after an OTA will give you errors because of the mismatch.
__________________
Please give Japanese IME development on WebOS a future.

I tweet about WebOS, Music, and random ramblings.
Kyusaku is offline   Reply With Quote
Old 07/04/2010, 11:53 PM   #6 (permalink)
Member
 
Stevesrjr86's Avatar
 
Join Date: Sep 2009
Location: Mile High City
Posts: 754
Likes Received: 39
Thanks: 61
Thanked 113 Times in 79 Posts
Default

Is this something specific to just the new update? I have a majority of those apps and with the last update nothing got stuck or messed up.
Stevesrjr86 is offline   Reply With Quote
Old 07/04/2010, 11:58 PM   #7 (permalink)
Member
 
Kyusaku's Avatar
 
Join Date: Apr 2007
Posts: 1,483
Likes Received: 5
Thanks: 92
Thanked 195 Times in 142 Posts
Default

Quote:
Originally Posted by Stevesrjr86 View Post
Is this something specific to just the new update? I have a majority of those apps and with the last update nothing got stuck or messed up.
Has to deal specifically with updating to 1.4.5.
__________________
Please give Japanese IME development on WebOS a future.

I tweet about WebOS, Music, and random ramblings.
Kyusaku is offline   Reply With Quote
Old 07/05/2010, 12:04 AM   #8 (permalink)
Member
 
Freshyz's Avatar
 
Join Date: Jun 2009
Location: Utah
Posts: 926
Likes Received: 1
Thanks: 211
Thanked 114 Times in 92 Posts
Default

I had a feeling MultiMod would have issues again, it usually does with OTA updates.
Hope it will compatible soon.. .
__________________
Everybody wants some!..
Freshyz is offline   Reply With Quote
Old 07/05/2010, 12:10 AM   #9 (permalink)
Member
 
Kyusaku's Avatar
 
Join Date: Apr 2007
Posts: 1,483
Likes Received: 5
Thanks: 92
Thanked 195 Times in 142 Posts
Default

Quote:
Originally Posted by Freshyz View Post
I had a feeling MultiMod would have issues again, it usually does with OTA updates.
Hope it will compatible soon.. .
Just remove it before you do the 1.4.5 update and re-install after the update is installed, it's not that it's not compatible with 1.4.5. As stated this is a flaw with AUPT, while quite robust it has a bit of trouble with partially overwritten patches.
__________________
Please give Japanese IME development on WebOS a future.

I tweet about WebOS, Music, and random ramblings.
Kyusaku is offline   Reply With Quote
Old 07/05/2010, 12:17 AM   #10 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by Kyusaku View Post
Just remove it before you do the 1.4.5 update and re-install after the update is installed, it's not that it's not compatible with 1.4.5. As stated this is a flaw with AUPT, while quite robust it has a bit of trouble with partially overwritten patches.
The "flaw" is that AUPT was designed for patches that touch a single palm package (knowing that palm updates packages as atomic units), but we have unwittingly allowed authors to create 14 patches that touch multiple packages in the one patch, and therefore fall outside the current design limits of AUPT.

Note that if palm updated none of the touched packages, or if palm updated all of the touched packages, then the patch would update perfectly. The problem only occurs when palm updates one of the affected packages but not another. This condition will be different for different webOS releases.

Note that re-architecting AUPT to handle multiple package updates by a single patch is not a trivial thing, so is not likely to be fixed in the short term future (and maybe not even in the medium term). So anyone saying "I hope this is fixed soon" should not hold their breath while waiting

We may simply decide to ask the authors of these patches to split them into multiple patches that only touch one package each, and remove from the feed any that don't meet those constraints.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 07/05/2010, 12:22 AM   #11 (permalink)
Member
 
Freshyz's Avatar
 
Join Date: Jun 2009
Location: Utah
Posts: 926
Likes Received: 1
Thanks: 211
Thanked 114 Times in 92 Posts
Default

Gotcha thanks.
I just remember last time it stopped the flow of all patches from the AUPT 'update all' feature on patches that started with 'M-Z'. Just want to avoid that this time.
Good to know it's ready to go.
Freshyz is offline   Reply With Quote
Old 07/05/2010, 12:33 AM   #12 (permalink)
Member
 
Join Date: Jun 2009
Location: Austria
Posts: 298
Likes Received: 4
Thanks: 128
Thanked 64 Times in 38 Posts
Default

To late for me
You can also add "System Menu Initial Framework" to the list. :sigh:
Pulp is offline   Reply With Quote
Old 07/05/2010, 12:35 AM   #13 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by AndrewRich View Post
To clarify, do you mean the Save/Restore app (which includes a profile for Preware) or the Saved Package List option within Preware? Does Save/Restore's Preware profile also back up the saved package list?
1) In Preware Saved Packages List, hit Update to make sure it has the current list of installed packages.

2) In Save/Restore, save the application data for Preware, just in case.

3) In Preware, run EPR

4) In Preware, run EFV to confirm everything is removed

5) Accept the webOS 1.4.5 update

6) In Preware, go to the Saved Packages List, and re-install the packages. Don't hit update, or it will clear your list.

7) If for some reason, the Saved Packages List is not there, you can restore it from Save/Restore.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals

Last edited by rwhitby; 07/05/2010 at 02:54 AM.
rwhitby is offline   Reply With Quote
Old 07/05/2010, 12:36 AM   #14 (permalink)
Member
 
Kyusaku's Avatar
 
Join Date: Apr 2007
Posts: 1,483
Likes Received: 5
Thanks: 92
Thanked 195 Times in 142 Posts
Default

Quote:
Originally Posted by Freshyz View Post
Gotcha thanks.
I just remember last time it stopped the flow of all patches from the AUPT 'update all' feature on patches that started with 'M-Z'. Just want to avoid that this time.
Good to know it's ready to go.
Actually I spoke a bit soon, there is a placeholder for the Multimod patch, it has yet to be updated to be compatible with 1.4.5
__________________
Please give Japanese IME development on WebOS a future.

I tweet about WebOS, Music, and random ramblings.
Kyusaku is offline   Reply With Quote
Old 07/05/2010, 12:40 AM   #15 (permalink)
Member
 
Freshyz's Avatar
 
Join Date: Jun 2009
Location: Utah
Posts: 926
Likes Received: 1
Thanks: 211
Thanked 114 Times in 92 Posts
Default

Quote:
Originally Posted by Kyusaku View Post
Actually I spoke a bit soon, there is a placeholder for the Multimod patch, it has yet to be updated to be compatible with 1.4.5
Okay. I will miss my 'hot-keys' feature but can be patient.. .
Freshyz is offline   Reply With Quote
Old 07/05/2010, 02:32 AM   #16 (permalink)
Member

 
vza33's Avatar
 
Join Date: Sep 2009
Location: East Coast
Posts: 2,182
Likes Received: 25
Thanks: 1,584
Thanked 1,345 Times in 984 Posts
Default

Now I understand why the KeyToss patch and the SMS per contact patch caused me such a problem last time. Thanks!
__________________
"Patience, use the force, think." Obi-Wan


Ready to try Preware? Get this first: Preware Homebrew Documentation

Last edited by vza33; 07/05/2010 at 12:33 PM.
vza33 is offline   Reply With Quote
Old 07/05/2010, 03:30 AM   #17 (permalink)
Member
 
Blacklight's Avatar
 
Join Date: Oct 2009
Location: Germany
Posts: 161
Likes Received: 0
Thanks: 26
Thanked 86 Times in 23 Posts
Default

Is the "Gesture tap for info and delete" also affected, or just the "context menu" patch?
Of course, for people in Germany this comes too late...
__________________
IPK FETCHER <-> An attempt against geo-filtering

Last edited by Blacklight; 07/05/2010 at 04:05 AM.
Blacklight is offline   Reply With Quote
Old 07/05/2010, 03:53 AM   #18 (permalink)
Member
 
michote's Avatar
 
Join Date: Dec 2009
Location: Germany
Posts: 121
Likes Received: 6
Thanks: 18
Thanked 50 Times in 22 Posts
Default

I updated my german Pre to 1.4.5 yesterday and had the described Problem with GestureClick Context Menu.

Quote:
Originally Posted by rwhitby View Post
1) In Preware Saved Packages List, hit Update to make sure it has the current list of installed packages.

2) In Save/Restore, save the application data for Preware, just in case.

3) In Preware, run EPR

4) In Preware, run EFV to confirm everything is removed

5) Accept the webOS 1.4.5 update

6) In Preware, go to the Saved Packages List, and re-install the packages. Don't hit update, or it will clear your list.

7) If for some reason, the Saved Packages List is not there, you can restore it from Save/Restore.

-- Rod
fixed it for me.
Thanks!
michote is offline   Reply With Quote
Old 07/05/2010, 04:01 AM   #19 (permalink)
Member
 
Join Date: Jan 2010
Posts: 158
Likes Received: 3
Thanks: 68
Thanked 14 Times in 12 Posts
Default

Quote:
Originally Posted by ben_dov View Post
thanx for the info.
cosign
__________________
Prē
ego2001 is offline   Reply With Quote
Old 07/05/2010, 04:50 AM   #20 (permalink)
Member
 
Join Date: Feb 2010
Location: Dresden, Germany
Posts: 7
Likes Received: 0
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by michote View Post
I updated my german Pre to 1.4.5 yesterday and had the described Problem with GestureClick Context Menu.


fixed it for me.
Thanks!
Same here, updated (by accident ...) and "GestureClick Context Menu" failed to update/remove.

But with rwhitby's instructions from above I seem to have all my patches back and working without errors!

Thanks!
quota is offline   Reply With Quote
Thanked By: carldc
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0