webOS Nation Forums > Homebrew > webOS patches > [autopatch] Browser Multi-Patch
1 2 3 4 5 6 7 12  ... Last
Member: Galtish
at: 04:08 PM 10/04/2009
I'm not yet familiar with using the Terminal app... is there another way to fix this (besides WebDoc)?
Reply
Member: holley2583
at: 09:30 PM 10/04/2009
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.
Reply
Developer: egaudet
at: 09:44 PM 10/04/2009
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 /
[/code]
Reply
Member: Galtish
at: 10:35 PM 10/04/2009
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.
Reply
Member: holley2583
at: 12:46 AM 10/05/2009
I just used a cmd, worked as well.
Reply
Member: hmagoo
at: 01:31 AM 10/05/2009
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.
Reply
Homebrew Developer: drnull
at: 09:24 AM 10/05/2009
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.
Reply
Developer: egaudet
at: 11:17 AM 10/05/2009
Originally Posted by drnull:
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.
Reply
Member: 27scoob
at: 11:25 AM 10/05/2009
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 ??????????
Reply
Member: DrSuSE
at: 11:26 AM 10/05/2009
Originally Posted by 27scoob:
I have tried to delete the files that supposedly there with no luck.

Any ideas ??????????
How have you tried and what was the result?
Reply
Developer: egaudet
at: 11:31 AM 10/05/2009
Originally Posted by 27scoob:
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
Reply
Member: 27scoob
at: 11:43 AM 10/05/2009
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.
Reply
Member: 27scoob
at: 11:52 AM 10/05/2009
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
Reply
Member: DrSuSE
at: 11:55 AM 10/05/2009
Originally Posted by 27scoob:
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.
Reply
Member: 27scoob
at: 12:02 PM 10/05/2009
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.
Reply
Member: barrysanders20
at: 12:29 PM 10/05/2009
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.
Reply
Member: 27scoob
at: 01:09 PM 10/05/2009
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!
Reply
Member: 27scoob
at: 02:27 PM 10/05/2009
http://forums.precentral.net/members...lbums-bpe.html
Reply
Member: 27scoob
at: 06:04 PM 10/05/2009
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: Capture4.JPG (71.9 KB) 
Reply
Member: slightlyoffbeat
at: 10:02 PM 10/05/2009
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?
Reply
1 2 3 4 5 6 7 12  ... Last
webOS Nation Forums > Homebrew > webOS patches > [autopatch] Browser Multi-Patch