webOS Nation Forums >  webOS apps and software >  webOS discussion > webOS versioning uncorrect?
webOS versioning uncorrect?

  Reply
 
LinkBack Thread Tools Display Modes
Old 11/29/2009, 10:29 AM   #1 (permalink)
Member
 
debilater's Avatar
 
Join Date: Nov 2009
Location: Germany
Posts: 145
Likes Received: 0
Thanks: 9
Thanked 59 Times in 23 Posts
Default webOS versioning uncorrect?

I've found a strange thing with webOS. I applied the "Messaging Plugin" patch a few days ago, it didn't work, I removed it, which also didn't work. It left a whole mess and messaging doesn't work at all since then. Next step would be to webos doctor the phone and start from scratch.

However, I am just too lazy to do that, so I fetched the webos doctor jar file for O2 users in germany for webos version 1.3.1, the very same I have installed here. But I cannot revert the patch anyway, because the versions differ. Yes, "webOS 1.3.1 O2 germany" and "webOS 1.3.1 O2 germany" are NOT the same!

Take a look: At first, there is a file in /etc called "version". It contains a timestamp (build time?):

on the phone:
Code:
root@palm-webos-device: # cat /etc/version 
200909101807
on the unpacked rootfs of web os doctor:
Code:
me@loria: $ cat etc/version 
200911011842
There is also a file "/md5sums" which contains MD5 checksums of all installed files. It is also different:

on the phone:
Code:
root@palm-webos-device: # ls -l /md5sums 
-rw-r--r--    1 root     root      1224510 Sep 11 02:33 /md5sums
on the unpacked rootfs of web os doctor:
Code:
me@loria: $ ls -l md5sums 
-rw-r--r--  1 scip  scip  1302618  2 Nov 04:03 md5sums
So, it is no wonder that some patches fail! Patch developers might consider to check /etc/version bevore applying a patch.
debilater is offline   Reply With Quote
Old 11/29/2009, 03:26 PM   #2 (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

Actually, the Package Manager Service checks /etc/palm-build-info to determine the webOS version, and provides only those patches that are compatible with that version.

-- 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 online now   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0