webOS Nation Forums >  Homebrew >  webOS patches > [autopatch] Browser Multi-Patch
[autopatch] Browser Multi-Patch

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/04/2009, 03:08 PM   #21 (permalink)
Member
 
Join Date: Aug 2007
Posts: 163
Likes Received: 0
Thanks: 39
Thanked 42 Times in 15 Posts
Default

I'm not yet familiar with using the Terminal app... is there another way to fix this (besides WebDoc)?
__________________
Want to read new posts on PreCentral without the off-topic garbage? Bookmark this link here:
http://forums.precentral.net/search....tnew&exclude=6 or here for the mobile forums (orange button plus click the link to copy the URL):
http://m.forums.precentral.net/searc...tnew&exclude=6
Galtish is offline   Reply With Quote
Old 10/04/2009, 08:30 PM   #22 (permalink)
Member
 
holley2583's Avatar
 
Join Date: Aug 2009
Location: Boston
Posts: 355
Likes Received: 1
Thanks: 83
Thanked 23 Times in 14 Posts
Default

Just tried this using Terminal to delete these two files, this after trying Jason's way on QI, neither worked unfortunately. Any other ideas as to how to get rid of these stubborn files? Oh and just in case, using the Terminal method, the files are still written exactly as they are, correct?
I really want this to work again, i liked having the option to download steaming audio files. I was downloading some the other day.

Last edited by holley2583; 10/04/2009 at 08:36 PM.
holley2583 is offline   Reply With Quote
Old 10/04/2009, 08:44 PM   #23 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Run novaterm from your PC, or use the terminal app on the pre itself and type in the following 4 commands. One by one followed by enter. Make sure you get no errors after any of the commands. It is possible that copy/paste into novaterm might add invisible characters causing these commands not to work (and give errors). This should remove the stubborn files.

Code:
mount -o rw,remount /
rm -f /usr/palm/applications/com.palm.app.browser/app/controllers/downloaddialog-assistant.js
rm -f /usr/palm/applications/com.palm.app.browser/app/views/download/download-stream-popup.html
mount -o ro,remount /
__________________

-Eric G

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

Donate
egaudet is offline   Reply With Quote
Old 10/04/2009, 09:35 PM   #24 (permalink)
Member
 
Join Date: Aug 2007
Posts: 163
Likes Received: 0
Thanks: 39
Thanked 42 Times in 15 Posts
Default

The Novaterm approach worked, I can now install the patch, thank you!!

For those who haven't touched Novaterm before, follow the instructions here: Accessing Linux Using Novaterm - WebOS Internals

One last thing to report, as others have mentioned the "page up via shift button" function is not working in this build of the browser patch.
__________________
Want to read new posts on PreCentral without the off-topic garbage? Bookmark this link here:
http://forums.precentral.net/search....tnew&exclude=6 or here for the mobile forums (orange button plus click the link to copy the URL):
http://m.forums.precentral.net/searc...tnew&exclude=6
Galtish is offline   Reply With Quote
Thanked by bluenote, serotonin4
Old 10/04/2009, 11:46 PM   #25 (permalink)
Member
 
holley2583's Avatar
 
Join Date: Aug 2009
Location: Boston
Posts: 355
Likes Received: 1
Thanks: 83
Thanked 23 Times in 14 Posts
Default

I just used a cmd, worked as well.
holley2583 is offline   Reply With Quote
Old 10/05/2009, 12:31 AM   #26 (permalink)
Member
 
hmagoo's Avatar
 
Join Date: Jun 2009
Location: Palm Desert, CA
Posts: 249
Likes Received: 1
Thanks: 38
Thanked 47 Times in 22 Posts
Default

when I checked the shift key did not work, but maybe it will be a conflicting key to use and the patch could be edited to use a different key, not sure what. Although there probably is code in there to prevent conflicts with text fields.

emoney and jason, thanks a bunch for monitoring this thread. I knew the thread needed to be created but was worried my limited knowledge would leave everyone stumped.
hmagoo is offline   Reply With Quote
Old 10/05/2009, 08:24 AM   #27 (permalink)
Homebrew Developer
 
drnull's Avatar
 
Join Date: May 2008
Posts: 569
Likes Received: 0
Thanks: 300
Thanked 503 Times in 139 Posts
Default

The shift key changed keycodes in 1.2, one would assume to support the paragraph copying ability. It used to be keycode 0, now it's keycode 16. We could continue using shift, or, use the sym key instead for page-up (keycode=17).

Also, another unused keycode is gesture-area tap, which is keycode 231. Orange tap is keycode 129.

I had changed my personal patch to do pageup(shift), pagedown(space), linedown(PERIOD), lineup(Sym), Top(Backspace), Bottom(return). However, that was before I realized how janky the shift-tap was now. Really wish they had used gesture-area + tap, since that's what all the other copy/paste functions use. Argh.

Anyways, hope that helps somewhat.
drnull is offline   Reply With Quote
Old 10/05/2009, 10:17 AM   #28 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by drnull View Post
The shift key changed keycodes in 1.2, one would assume to support the paragraph copying ability. It used to be keycode 0, now it's keycode 16. We could continue using shift, or, use the sym key instead for page-up (keycode=17).

Also, another unused keycode is gesture-area tap, which is keycode 231. Orange tap is keycode 129.

I had changed my personal patch to do pageup(shift), pagedown(space), linedown(PERIOD), lineup(Sym), Top(Backspace), Bottom(return). However, that was before I realized how janky the shift-tap was now. Really wish they had used gesture-area + tap, since that's what all the other copy/paste functions use. Argh.

Anyways, hope that helps somewhat.

The hard keyboard shift key used to send keycode 0? Thanks for the info, didn't know that.

I just looked at the patch and it probably shouldnt be checking for hardcoded keycodes like (key == 0). When possible, it should check for the Mojo.Char.* keycode. So (key == Mojo.Char.shift). I will fix it tonight if no one else gets to it by then.
__________________

-Eric G

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

Donate
egaudet is offline   Reply With Quote
Old 10/05/2009, 10:25 AM   #29 (permalink)
Member
 
27scoob's Avatar
 
Join Date: Jun 2009
Posts: 170
Likes Received: 2
Thanks: 226
Thanked 7 Times in 6 Posts
Default

I keep getting the same error when trying to apply the browser multi patch either thru QI or preware..


Error:

patching file usr/palm/applications/com.palm.app.browser/app/controllers/chrome.js
The next patch would create the file usr/palm/applications/com.palm.app.browser/app/controllers/downloaddialog-assistant.js,
which already exists! Assume -R? [n]
Applying it anyway. [n]
Skipping patch.
1 out of 1 hunk ignored --saving rejects to file usr/palm/applications/com.palm.app.browser/app/controllers/downloaddialog-assistant.js.reg
patching file usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
patching file usr/palm/applications/com.palm.app.browser/app/controllers/urlbar.js
The next patch would create the file usr/palm/applications/com.palm.app.browser/app/views/download/download-stream-popup.html,
which already exists! Assume -R? [n]
Applying it anyway. [n]
Skipping patch.
1 out of 1 hunk ignored --saving rejects to file usr/palm/applications/com.palm.app.browser/app/views/download/download-stream-popup.html.rej
patching file usr/palm/applications/com.palm.app.browser/sources.json
patching file usr/palm/applications/com.palm.app.browser/stylesheets/browser.css
Removing package org.webosinternals.patches.enable-browser-downloads from root .


I have tried to delete the files that supposedly there with no luck.

Any ideas ??????????
27scoob is offline   Reply With Quote
Old 10/05/2009, 10:26 AM   #30 (permalink)
Member
 
DrSuSE's Avatar
 
Join Date: Jun 2009
Location: Philadelphia
Posts: 490
Likes Received: 0
Thanks: 14
Thanked 74 Times in 56 Posts
Default

Quote:
Originally Posted by 27scoob View Post
I have tried to delete the files that supposedly there with no luck.

Any ideas ??????????
How have you tried and what was the result?
DrSuSE is offline   Reply With Quote
Old 10/05/2009, 10:31 AM   #31 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by 27scoob View Post
I keep getting the same error when trying to apply the browser multi patch either thru QI or preware..


Error:

patching file usr/palm/applications/com.palm.app.browser/app/controllers/chrome.js
The next patch would create the file usr/palm/applications/com.palm.app.browser/app/controllers/downloaddialog-assistant.js,
which already exists! Assume -R? [n]
Applying it anyway. [n]
Skipping patch.
1 out of 1 hunk ignored --saving rejects to file usr/palm/applications/com.palm.app.browser/app/controllers/downloaddialog-assistant.js.reg
patching file usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
patching file usr/palm/applications/com.palm.app.browser/app/controllers/urlbar.js
The next patch would create the file usr/palm/applications/com.palm.app.browser/app/views/download/download-stream-popup.html,
which already exists! Assume -R? [n]
Applying it anyway. [n]
Skipping patch.
1 out of 1 hunk ignored --saving rejects to file usr/palm/applications/com.palm.app.browser/app/views/download/download-stream-popup.html.rej
patching file usr/palm/applications/com.palm.app.browser/sources.json
patching file usr/palm/applications/com.palm.app.browser/stylesheets/browser.css
Removing package org.webosinternals.patches.enable-browser-downloads from root .


I have tried to delete the files that supposedly there with no luck.

Any ideas ??????????

http://forums.precentral.net/web-os-...ml#post1948221
__________________

-Eric G

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

Donate
egaudet is offline   Reply With Quote
Old 10/05/2009, 10:43 AM   #32 (permalink)
Member
 
27scoob's Avatar
 
Join Date: Jun 2009
Posts: 170
Likes Received: 2
Thanks: 226
Thanked 7 Times in 6 Posts
Default

When I try to use internalz I get not found errors : To tobe sure I am entering the lines correctly.
1.) are there any spaces in the lines.
2.) is it a zero or a one to be entered in lines one and four.

I have not used novaterm at all yet would have to read more about it first.
27scoob is offline   Reply With Quote
Old 10/05/2009, 10:52 AM   #33 (permalink)
Member
 
27scoob's Avatar
 
Join Date: Jun 2009
Posts: 170
Likes Received: 2
Thanks: 226
Thanked 7 Times in 6 Posts
Default

So I tried the lines above and got thru the first three and then on line four I get


mount: mounting rootfs on / failed: No such file or directory
27scoob is offline   Reply With Quote
Old 10/05/2009, 10:55 AM   #34 (permalink)
Member
 
DrSuSE's Avatar
 
Join Date: Jun 2009
Location: Philadelphia
Posts: 490
Likes Received: 0
Thanks: 14
Thanked 74 Times in 56 Posts
Default

Quote:
Originally Posted by 27scoob View Post
So I tried the lines above and got thru the first three and then on line four I get


mount: mounting rootfs on / failed: No such file or directory
It should work, but rebooting will be good enough, it's just to put the filesystem back the way it was.
DrSuSE is offline   Reply With Quote
Old 10/05/2009, 11:02 AM   #35 (permalink)
Member
 
27scoob's Avatar
 
Join Date: Jun 2009
Posts: 170
Likes Received: 2
Thanks: 226
Thanked 7 Times in 6 Posts
Default

Okay I will try to reboot, I tried typing the last line again and go a long string of command lines , I just exited and will reboot.
27scoob is offline   Reply With Quote
Old 10/05/2009, 11:29 AM   #36 (permalink)
Member
 
barrysanders20's Avatar
 
Join Date: Jun 2009
Posts: 519
Likes Received: 34
Thanks: 0
Thanked 52 Times in 36 Posts
Default

Is there anyway to disable the diagonal scrolling and auto zoom to field for the browser? I like the browser the way it was in 1.1.
barrysanders20 is offline   Reply With Quote
Old 10/05/2009, 12:09 PM   #37 (permalink)
Member
 
27scoob's Avatar
 
Join Date: Jun 2009
Posts: 170
Likes Received: 2
Thanks: 226
Thanked 7 Times in 6 Posts
Default

Well i typed all four line with no errors and rebooted the phone and tried to intstall with QI and the error i get now is.


Error : an error occured

reversed (or previously applied) patch detected!
27scoob is offline   Reply With Quote
Old 10/05/2009, 01:27 PM   #38 (permalink)
Member
 
27scoob's Avatar
 
Join Date: Jun 2009
Posts: 170
Likes Received: 2
Thanks: 226
Thanked 7 Times in 6 Posts
Default

http://forums.precentral.net/members...lbums-bpe.html
27scoob is offline   Reply With Quote
Old 10/05/2009, 05:04 PM   #39 (permalink)
Member
 
27scoob's Avatar
 
Join Date: Jun 2009
Posts: 170
Likes Received: 2
Thanks: 226
Thanked 7 Times in 6 Posts
Default Still getting error....

Well I am stumped , I have tried all advice and entered in terminal all four lines of code succesfully without error and then tried to install patch thru QI and keep getting the same error below.
Attached Images
File Type: jpg Capture4.JPG (71.9 KB, 13 views) Email Attachment
27scoob is offline   Reply With Quote
Old 10/05/2009, 09:02 PM   #40 (permalink)
Member
 
Join Date: Jul 2009
Posts: 7
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was able to delete the files using terminal. It then let me install using webosQI without an error message but...it doesn't seem like anything is working. The hotkeys dont work, and I don't get the option to download mp3 files instead of streaming. Ideas?
slightlyoffbeat is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0