webOS Nation Forums >  Homebrew >  WebOS Internals > Emergency Fstab Fixer (required to fix webOS 1.4.5 OTA update)
Emergency Fstab Fixer (required to fix webOS 1.4.5 OTA update)

  Reply
 
LinkBack Thread Tools Display Modes
Old 07/15/2010, 01:20 AM   #1 (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 Emergency Fstab Fixer (required to fix webOS 1.4.5 OTA update)

I've created an "Emergency Fstab Fixer" package which corrects this problem in the /etc/fstab file to make an OTA-updated webOS 1.4.5 device be the same as a webOS Doctored webOS 1.4.5 device

It is installable from Preware.

If you wish to donate to WebOS Internals for EFF, Preware, or any of our other applications, kernels or patch infrastructure, please use this link or PayPal to donations @ webos-internals.org - the servers that run the package feeds for Preware and the homebrew ecosystem are funded purely from your donations.

It has safeguards to ensure it will only do things on webOS 1.4.5 and not any later version (like 1.4.5.1 etc).

"Install this package on your webOS device immediately after updating to webOS 1.4.5 to fix a Palm OTA bug in the /etc/fstab file. See Forums webOS • View topic - 1.4.5 Jail Settings and OTA Updates and Forums webOS • View topic - Alert: 1.4.5 Bug with Writing to /media/internal for more details about the bug. This fix is only required when you OTA update to webOS 1.4.5 - if you use the webOS Doctor to install webOS 1.4.5 you are not affected."

In the interest of transparency and many-eyes-make-all-bugs-shallow, the code is here: http://git.webos-internals.org/?p=pr...fixer/postinst

-- 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; 08/13/2010 at 10:14 PM.
rwhitby is offline   Reply With Quote
Old 07/15/2010, 01:23 AM   #2 (permalink)
Member
 
rlangley21's Avatar
 
Join Date: Jun 2009
Location: Out of My Mind, CA
Posts: 186
Likes Received: 0
Thanks: 121
Thanked 289 Times in 228 Posts
Default

Rod -

Once again you are the webOS savior. I shouldn't be surprised you already had the fix in store before the roll-out of 1.4.5. Palm owes you BIG TIME! You and the webosinternals team along with Jason have single-handedly kept many users on this platform.

You guys are absolutely amazing!

--Rob
rlangley21 is offline   Reply With Quote
Old 07/15/2010, 01:27 AM   #3 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

Personally, I wouldn't say it's 100% required, but I'd say it's more like recommended.

Since Palm is urging developers to update their PDK apps to not use /media/internal/, once the app updates come (hopefully soon), it won't be as necessary. Though of course, as they've stated, they'll be making the same change in future versions of the OS.

But yeah, I agree that if it's something that a user is comfortable with, it's highly recommended.
jhoff80 is offline   Reply With Quote
Old 07/15/2010, 01:30 AM   #4 (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 jhoff80 View Post
Personally, I wouldn't say it's 100% required, but I'd say it's more like recommended.

Since Palm is urging developers to update their PDK apps to not use /media/internal/, once the app updates come (hopefully soon), it won't be as necessary. Though of course, as they've stated, they'll be making the same change in future versions of the OS.

But yeah, I agree that if it's something that a user is comfortable with, it's highly recommended.
There are actually home-brew apps that will be affected by this bug too.

-- 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
Thanked By: jhoff80
Old 07/15/2010, 01:32 AM   #5 (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 rlangley21 View Post
I shouldn't be surprised you already had the fix in store before the roll-out of 1.4.5.
I was thinking about it on the way home from work yesterday, and then one of the other WebOS Internals guys suggested we do a patch for it about two hours ago.

So I finished my sandwich and whipped up a one-time-fix utility instead.

-- 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/15/2010, 01:43 AM   #6 (permalink)
Member
 
johncc's Avatar
 
Join Date: Oct 2005
Location: Adelaide, AU,.... (EU Pre 3, TP 32GB, P100UEU 2.1.0)
Posts: 3,910
Likes Received: 87
Thanks: 544
Thanked 453 Times in 331 Posts
Default

Should be a big donation coming from Palm to webOS Internals/Rod for this. And it certainly shows the benefit of their attitude to the homebrew scene. Without the environment which allows Rod to "save their bacon" this could have been very/much more embarassing.
johncc is online now   Reply With Quote
Old 07/15/2010, 02:07 AM   #7 (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 johncc View Post
Should be a big donation coming from Palm to webOS Internals/Rod for this. And it certainly shows the benefit of their attitude to the homebrew scene. Without the environment which allows Rod to "save their bacon" this could have been very/much more embarassing.
Palm are handling this issue by having PDK app authors submit an update, so for the vast majority of webOS users it will not even be noticed.

So "save their bacon" is a little bit overstated

But we won't refuse any donations on those grounds. We've had to buy a bit of hardware to fix our server recently ... donations @ webos-internals.org is our PayPal address.

-- 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/15/2010 at 02:28 AM.
rwhitby is offline   Reply With Quote
Old 07/15/2010, 02:15 AM   #8 (permalink)
Member
 
johncc's Avatar
 
Join Date: Oct 2005
Location: Adelaide, AU,.... (EU Pre 3, TP 32GB, P100UEU 2.1.0)
Posts: 3,910
Likes Received: 87
Thanks: 544
Thanked 453 Times in 331 Posts
Default

Quote:
Originally Posted by rwhitby View Post
...
So "save their bacon" is a little bit overstated
...
Maybe a bit theatrical, but can you imagine the hue and cry from the 'gamers' if no fix was available other than waiting for an update from developers.
johncc is online now   Reply With Quote
Old 07/15/2010, 02:31 AM   #9 (permalink)
Member
 
Join Date: Jun 2009
Posts: 206
Likes Received: 1
Thanks: 19
Thanked 20 Times in 16 Posts
Default

didn't palm put out a fix a while back in the app catalog? I vaguely remember that, don't remember what it was for though. Can't they just do that again?
Hernie is offline   Reply With Quote
Old 07/15/2010, 02:35 AM   #10 (permalink)
Member
 
Join Date: Feb 2009
Location: michigan
Posts: 1,609
Likes Received: 3
Thanks: 20
Thanked 204 Times in 149 Posts
Default

Is there a list of homebrew apps effected by whatever this addresses? If this is a functional change in the OS it would be wise to update those apps just as the PDK apps that were requested updates from. This is ok as a temporary measure for anyone who is running any of the effected apps but the permanent solution should be updating the apps.
__________________
As requested: for my works on webOS patches and apps. Twitter: @larryboytw Patches: Small icons browser start page, 5x5 launcher. I have an AAS CIS Programming degree. I enjoy working on open source projects and alpha and beta testing.
http://install.preware.org/ for easy to get up and running for patches and apps.
StoneRyno is offline   Reply With Quote
Old 07/15/2010, 02:39 AM   #11 (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 StoneRyno View Post
Is there a list of homebrew apps effected by whatever this addresses? If this is a functional change in the OS it would be wise to update those apps just as the PDK apps that were requested updates from. This is ok as a temporary measure for anyone who is running any of the effected apps but the permanent solution should be updating the apps.
For some homebrew apps (e.g. Navit) that is not possible. Navit requires users to be able to modify the configuration files that that app uses, and the app has to be able to write into that same directory. That is not possible with the work-around that Palm is suggesting to PDK Game developers (who don't provide any user modification ability).

If you read the links on the Palm developer forum, you will see that this tool does exactly what is done if you use the webOS Doctor to install webOS 1.4.5, and exactly what Palm have said will be in the next version of webOS after 1.4.5.

-- 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/15/2010, 02:40 AM   #12 (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 Hernie View Post
didn't palm put out a fix a while back in the app catalog? I vaguely remember that, don't remember what it was for though. Can't they just do that again?
Palm are hereby welcome to use the package I have created for this purpose if they wish.

-- 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/15/2010, 02:50 AM   #13 (permalink)
Member
 
Join Date: Feb 2009
Location: michigan
Posts: 1,609
Likes Received: 3
Thanks: 20
Thanked 204 Times in 149 Posts
Default

Quote:
Originally Posted by rwhitby View Post
If you read the links on the Palm developer forum, you will see that this tool does exactly what is done if you use the webOS Doctor to install webOS 1.4.5, and exactly what Palm have said will be in the next version of webOS after 1.4.5.

-- Rod
Ah yes I misunderstood the issue I thought they made some intended to be permanent change to how something worked. I now see looking at the info more closely it was an oversight. So this just makes the change that oversight thing would have or something like that. So in other words this should be provided as the solution rather than making devs alter their apps. Since I now have the impression that the apps in the long term do not need the change that is needed to address what this does?
__________________
As requested: for my works on webOS patches and apps. Twitter: @larryboytw Patches: Small icons browser start page, 5x5 launcher. I have an AAS CIS Programming degree. I enjoy working on open source projects and alpha and beta testing.
http://install.preware.org/ for easy to get up and running for patches and apps.
StoneRyno is offline   Reply With Quote
Old 07/15/2010, 03:15 AM   #14 (permalink)
Member
 
johncc's Avatar
 
Join Date: Oct 2005
Location: Adelaide, AU,.... (EU Pre 3, TP 32GB, P100UEU 2.1.0)
Posts: 3,910
Likes Received: 87
Thanks: 544
Thanked 453 Times in 331 Posts
Default

Unfortunately, without involving carriers, Palm can't just put out a small update to fix it. But isn't it great that the homebrew system can.
johncc is online now   Reply With Quote
Old 07/15/2010, 07:03 AM   #15 (permalink)
Member
 
JohnnyPre's Avatar
 
Join Date: Jun 2009
Location: Ft. Lauderdale, Florida
Posts: 920
Likes Received: 0
Thanks: 16
Thanked 91 Times in 78 Posts
Default

Rod,


If this fix is applied, and the game has been 'fixed' as per Palm's request, will this patch unfix the developer's fix?

By this, I mean, after developers (game) modify their code...??

Thanks,

- John
JohnnyPre is offline   Reply With Quote
Old 07/15/2010, 07:30 AM   #16 (permalink)
THL
Member
 
THL's Avatar
 
Join Date: Nov 2009
Location: Germany
Posts: 150
Likes Received: 0
Thanks: 20
Thanked 24 Times in 21 Posts
Default

No, this will not be the case. The patch enables PDK apps, that have saved data on the USB partition to continue writing there. 1.4.5 disabled this. The workaround developers are encouraged to save data at a different, fully patch-unaffected location and will continue to do so there. Hence patch and fixed apps cannot conflict, because two different methods are incorporated.
__________________
'til we meet again.
THL
THL is offline   Reply With Quote
Old 07/15/2010, 08:14 AM   #17 (permalink)
Member
 
Join Date: Dec 2009
Posts: 6
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default can not patch with your fstab fixer

Hi, I cannot install your emergency-fstab-fixer. It Quickinstall says "mount: mounting/dev/mapper/store-root on/failed: Device or resource busy"
I have restart the phone before but had no luck. Do you know where the problem is?

Oh! Never mind! I found your patch in Preware. that worked! thanx alot! :-)

Last edited by guejoe; 07/15/2010 at 08:21 AM.
guejoe is offline   Reply With Quote
Old 07/15/2010, 08:25 AM   #18 (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 guejoe View Post
Hi, I cannot install your emergency-fstab-fixer. It Quickinstall says "mount: mounting/dev/mapper/store-root on/failed: Device or resource busy"
I have restart the phone before but had no luck. Do you know where the problem is?

Oh! Never mind! I found your patch in Preware. that worked! thanx alot! :-)
The instructions in the first post say "It should be installable with Preware 1.1.x (look in the testing feed), Preware 1.2.0 (using the new Install Package functionality to install it directly from that URL), or palm-install."

-- 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/15/2010, 10:57 AM   #19 (permalink)
rot
Member
 
Join Date: Dec 2009
Location: GSM T-Mobile.de
Posts: 549
Likes Received: 37
Thanks: 36
Thanked 107 Times in 54 Posts
Default

Quote:
Originally Posted by rwhitby View Post
The instructions in the first post say "It should be installable with Preware 1.1.x (look in the testing feed), Preware 1.2.0 (using the new Install Package functionality to install it directly from that URL), or palm-install."

-- Rod
that would be ok, if I could see it in Preware (or could see preware 1.2 at all...), in which category do I have to search? just to be sure it's not my fault not finding it...

//edit:
omg, my fault - testing feed

Last edited by rot; 07/15/2010 at 11:08 AM.
rot is offline   Reply With Quote
Old 07/15/2010, 12:05 PM   #20 (permalink)
Member
 
Jason Black's Avatar
 
Join Date: Dec 2009
Posts: 2,226
Likes Received: 2
Thanks: 154
Thanked 198 Times in 160 Posts
Default

I wish i could give Ruby a call and get him to throw loads of cash your way!..I believe Webos development will move a lot faster if the Webos Internals team was fully invovled.
Jason Black is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0