Bringing "fiinixfox" (firefox) to WP7 - Windows Phone 7 Development and Hacking

Bringing firefox to wp7 (wince build)
- http://ftp.mozilla.org/pub/mozilla.org//firefox/releases/3.6rc1/
In the ftp there is a wince-arm build & source code. We do have c++ full access (compile, run, call, etc); where the whole firefox runs from within "taskhost.exe" (COM+) instead of the "firefox.exe" (due we cant launch our own exe's).
As of we have now (The Dllimport Project):
Code:
[ComImport, Guid("F0D5AFD8-DA24-4e85-9335-BEBCADE5B92A"), ClassInterface(ClassInterfaceType.None)]
public class FileSystemClass { }
[ComImport, Guid("2C49FA3D-C6B7-4168-BE80-D044A9C0D9DD"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IFileSystemIO { ... }
- It would look something like this in the "fiinixfox" :
Code:
[ComImport, Guid("F0D5AFD8-DA24-4e85-9335-BEBCADE5B92A"), ClassInterface(ClassInterfaceType.None)]
public class FirefoxClass { }
[ComImport, Guid("2C49FA3D-C6B7-4168-BE80-D044A9C0D9DD"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IFirefox { Start(string args) }
- Yep, one method "Start", which actually imitates the "mozilla.exe" exe entry point 0x00400000 (standard entry point address).
- Then from there taskhost is just a "host" with as little Silverlight code as possible (best if just App.xaml) (no MainPage.xaml, MainPage is actually started from App.xaml) (or no Silverlight at all).
We do have the full source (3.6) (wince-arm), so there is not much preventing us to replace (hehe) IE9.
Well, as said before, im on vocation and i don't have my desktop (just my phone ), so this is just speculations witch i will compile later on bringing "fiinixfox" to Microsoft Windows "locked down" Phone
Hope it sounds good

Oh that sounds totally awesome! Can't wait!

FF isn't the most mobile friendly in term of optimization and performance. You would have to do a lot of backend work to make it 'usable' on any ARM device. I hope you can get some blessing from mozilla, but most of them are anti-microsoft. So good luck with your effort.

stan2 said:
FF isn't the most mobile friendly in term of optimization and performance. You would have to do a lot of backend work to make it 'usable' on any ARM device. I hope you can get some blessing from mozilla, but most of them are anti-microsoft. So good luck with your effort.
Click to expand...
Click to collapse
Ever heard about fennec?
The mobile version of firefox produced and optimized by Mozilla themselves
ARMvX wince compatible.

i remember fennec being awfully slow and crashing :x

fiinix said:
Ever heard about fennec?
The mobile version of firefox produced and optimized by Mozilla themselves
ARMvX wince compatible.
Click to expand...
Click to collapse
And Fennec is the crappiest browser ever made. I am more interested in what Opera has to offer.

diboze said:
i remember fennec being awfully slow and crashing :x
Click to expand...
Click to collapse
On what device?
Did that device have 1GHz, 500MB ram~?
__
It probably crashed alot due incapability or unstable code, a browser does not just crash randomly if its valid code through out the whole program (valid method pointers)
- Invalid method pointers: Static compiled dll reference (method ptr) that is pointing to wrong ram method (due wrong ".lib" - contains the ptr's). = Crash

Relief2010 said:
And Fennec is the crappiest browser ever made. I am more interested in what Opera has to offer.
Click to expand...
Click to collapse
Is opera even open source?
From what i have read/searched its closed source :/
To be able to run any "other" browser i must have full source code.

Your idea sounds interesting, but we still have this Mango COM Block problem to solve without going back to NoDo. I'm wondering what the authors of TouchXplorer & Co will do about that.
Yet another problem is that Win CE was more like Windows as we know it from the Desktop. Point and Click, Hold Click for right click and so on. I doesn't exactly know how we can refit Firefox for newer Touch Devices with Gesture and Multitouch support. Wouldn't it not be easier, if we just use the rendering engine from Firefox and port it to an Silverlight app? Guess this won't work due to some WP7 limitations and we would end up rewriting it completely?

fiinix said:
Is opera even open source?
From what i have read/searched its closed source :/
To be able to run any "other" browser i must have full source code.
Click to expand...
Click to collapse
Opera is said to be releasing an official browser for WP7. They announced that a month ir so ago. I assume it will coincide with the release of Mango
Sent from my SGH-i917 using XDA Windows Phone 7 App

Aaron McCarthy said:
Opera is said to be releasing an official browser for WP7. They announced that a month ir so ago. I assume it will coincide with the release of Mango
Sent from my SGH-i917 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Actually, Opera did not said that.

fiinix said:
Is opera even open source?
From what i have read/searched its closed source :/
To be able to run any "other" browser i must have full source code.
Click to expand...
Click to collapse
Currently, the only two are available with source code.
Firefox for Windows CE: https://wiki.mozilla.org/Firefox/Projects/WindowsCE
and
WebKit for Windows CE: http://trac.webkit.org/wiki/WinCE

Aaron McCarthy said:
Opera is said to be releasing an official browser for WP7. They announced that a month ir so ago. I assume it will coincide with the release of Mango
Sent from my SGH-i917 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Seems pike the rumors got you; turned out to be "False alarm".
- http://m.wpcentral.com/opera-wp7-launching-ctia
> At the bottom: false alarm (also "next week we will see opera" < did never happen
Microsoft have protected their phone to only run IE :/
They don't want competitor's
- Only way is homebrew, sry

fiinix, I am wondering if it will be easier to port Firefox for CE or WebKit for CE to Windows Phone.

rudelm said:
Your idea sounds interesting, but we still have this Mango COM Block problem to solve without going back to NoDo. I'm wondering what the authors of TouchXplorer & Co will do about that.
Yet another problem is that Win CE was more like Windows as we know it from the Desktop. Point and Click, Hold Click for right click and so on. I doesn't exactly know how we can refit Firefox for newer Touch Devices with Gesture and Multitouch support. Wouldn't it not be easier, if we just use the rendering engine from Firefox and port it to an Silverlight app? Guess this won't work due to some WP7 limitations and we would end up rewriting it completely?
Click to expand...
Click to collapse
There is full touch support and multitouch support due some wm6 had touch screens
Mango.. yeah.. Im currently still running NoDo due i hate block. But im perfectly fine.
I did actually find a possible interop bypass in Mango (fake marketplace, OEM hijack)

day2die said:
fiinix, I am wondering if it will be easier to port Firefox for CE or WebKit for CE to Windows Phone.
Click to expand...
Click to collapse
Webkit is also a possible but i havent looked at it yet; maybe port Google Crome?

fiinix said:
Webkit is also a possible but i havent looked at it yet; maybe port Google Crome?
Click to expand...
Click to collapse
No, I mean WebKit was already ported to CE: http://trac.webkit.org/wiki/WinCE
It's also the base for Isis Browser.

day2die said:
No, I mean WebKit was already ported to CE: http://trac.webkit.org/wiki/WinCE
It's also the base for Isis Browser.
Click to expand...
Click to collapse
Yeah i know Webkit is already ported to CE; Chrome uses it too and combined it makes Chrome super fast if it would be used on WP7 (CE).
Well we cant only have Webkit, we need a Javascript engine too (witch google is combined with (V8 JS engine) + built in Webkit).
Maybe Chrome or Firefox, both are c++ and open source

Aaron McCarthy said:
Opera is said to be releasing an official browser for WP7. They announced that a month ir so ago. I assume it will coincide with the release of Mango
Sent from my SGH-i917 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Prooflink?

I wouldn't mind seeing Opera for WP7 - mainly because I was always impressed with the combination of speed, stability, and functionality it produces on other platforms (in particular WM6.x). Dolphin would be interesting as well.
As a Mango user, however, I must say I am thoroughly impressed at the speed and stability mobile IE9 produces (in beta, no less). At release it will undoubtedly be the superior mobile browser on the market.
And oh yeah, Firefox is buggy crap - in any form.

Related

SilverLight for Windows Mobile 6.5

http://www.microsoft.com/windowsmobile/en-us/devices/details.mspx?id=907
I was checking out the new HTC Imagio. There's a link to install Silverlight. Is this somethnig that's been developed in the cook roms?
Call me silly, but I'm not seeing anything about Silverlight through that link. I do believe Silverlight will be a standard in WM7, but seeing in in 6.5 would be awesome.
Arcarsenal said:
Call me silly, but I'm not seeing anything about Silverlight through that link. I do believe Silverlight will be a standard in WM7, but seeing in in 6.5 would be awesome.
Click to expand...
Click to collapse
"For the best phone-browsing experience, download the Microsoft Silverlight plug-in now."
it says it right on the top where it shows the phone.
lilchip85 said:
"For the best phone-browsing experience, download the Microsoft Silverlight plug-in now."
it says it right on the top where it shows the phone.
Click to expand...
Click to collapse
It's talking about browsing the phones on your computer. If you have Silverlight installed on your (computer) browser, you don't get that message.
Interesting; are you both browsing that link on your device? I'm at work, and using Google Chrome on the desktop I don't see that text. Using Internet Explorer 8 w/ Silverlight I get a dramatically different webpage that uses Silverlight, but still no text about a mobile version.
That's very intriguing though, perhaps we will be seeing a mobile version soon. Is there any way to download the mobile Silverlight on the pages you are seeing?
edit:^^^ that makes sense as well.

Silverlight 4 Likely as Dev Platform

Given Andy Lees quote about WP7: "It's a very sort of advanced platform that really works across PC, phone, and console," it seems likely he's talking about Silverlight 4, especially given the boost in features that it's getting for version 4. I find this to be a very suitable platform for what they're trying to do. You can't beat multi-platform & RIA support - dev once, run on all. What do you think?
Still very propretiary
chribruu said:
Still very propretiary
Click to expand...
Click to collapse
So what? All current phones only support native applications that are created with a proprietary SDK. The big exception is Java which is executed in a VM, but these applications cannot use the full potential of each platform, because they must aim for the lowest common denominator. So without modifications, no native application will run on all platforms.
chribruu said:
Still very propretiary
Click to expand...
Click to collapse
It's not any different than the current situation really. How many people write WM code in anything other than Visual Studio?
Basically a different set of GUI libraries on .Net 3.5.
Hope they'll make SL4 available on WM6.5, too. That way it would be a much better platform choice.
You're all right. I replied without really thinking my post trough. :/
The only thing bad with SL (and flash) is if/when they become web "standards".
Just disregard that post
Sorry for the OT.
from the little i have read/seen. it seems like this will prob be the case..
Silverlight will be one of the dev platforms, along with C++ with a XAML UI.
in this video
"Behind the Design of Windows phone 7" on youtube (i could not post the link)
1:25 - 1:29
you can see the ide for wp7.
it looks like blend. that would definitely mean xaml for ui.
pensoffsky said:
in this video
"Behind the Design of Windows phone 7" on youtube (i could not post the link)
1:25 - 1:29
you can see the ide for wp7.
it looks like blend. that would definitely mean xaml for ui.
Click to expand...
Click to collapse
And as I said, C++ with a XAML UI...
XNA C#, no dubt for the games.
It's available for the Zune HD, I guess it will follow on to WP7
But maby not for the UI?? any thoughts?
From XNA.com :
XNA Game Studio 3.1 Zune Extensions, to support Zune HD, adds the following functionality to the product:
The ability to target and develop for the Zune HD media player.
The addition of new Touch APIs to the XNA Framework for use on the Zune HD.
The addition of new Accelerometer APIs to the XNA Framework for use on the Zune HD.
Click to expand...
Click to collapse
I don't really believe, that they'll be using an unmanaged language for the application developement itself (other than drivers of course).
I think it would be most likely to be using C#, perhaps more in the way of how most android apps use java, e.g. it's precompiled on deployment.
What I really hope for is that, there is no longer the limitation of 32 mb per process.

SkyFire 1.5 dead

Just wanted to inform everyone that skyfire 1.5 will be officially dead on December 31st. Guess they like the money more than those of us who helped get it to that point.
Anyway, I have switched over to Iris, and found it much better. just wanted to let you guys know.
this may be a good place to list some of your favorite browsers as well, so if you got one that you like, share the wealth!
I am using UC browser and it's fine
also opera 10 but there is a problem with shortcuts
I AM using B7320
stone-dead
JerryA said:
Just wanted to inform everyone that skyfire 1.5 will be officially dead on December 31st. Guess they like the money more than those of us who helped get it to that point.
Anyway, I have switched over to Iris, and found it much better. just wanted to let you guys know.
this may be a good place to list some of your favorite browsers as well, so if you got one that you like, share the wealth!
Click to expand...
Click to collapse
This is not news. They might as well have said they would stop support on DEC. 9, 2009 when they released SKYFIRE 1.5. They have done nothin but lie to their supporters since then. Everytime they would release an update for Android they would turn WM support of for the weekend and say it was for maitanence. Then turned us off for three weeks for IPHONE. I can't blame em for goin after money but they could've been honest with us.
Anyone know any mobile browsers with flash support? I found one but don't really like how the videos play
It won't be until December. It is now. Skyfire no longer works on my phone. It simply gives me a pop-up box that says Skyfire will be no longer supported, but it will not go further. It simply closes out.
I loved Skyfire, but now I guess I am on the hunt for a new mobile browser.
[using WM6.5 standard at the moment]
Same thing here, I needed to get the non-mobile view of Delta Airlines website (for some reason, Opera and IE render mobile even though I have Desktop View set) and it said can't connect.
Strange, they only say v1.0 support ending, nothing about v1.5 being turned off. Unless the meant 1.x instead of 1.0, but that's not what they put.
So...any other equally good browsers (preferably with flash & other embedded streaming support) that will work on WM6.5?
-Matt
Verizon HTC Touch Pro2
mmiller7 said:
Same thing here, I needed to get the non-mobile view of Delta Airlines website (for some reason, Opera and IE render mobile even though I have Desktop View set) and it said can't connect.
Strange, they only say v1.0 support ending, nothing about v1.5 being turned off. Unless the meant 1.x instead of 1.0, but that's not what they put.
So...any other equally good browsers (preferably with flash & other embedded streaming support) that will work on WM6.5?
-Matt
Verizon HTC Touch Pro2
Click to expand...
Click to collapse
Support for all WM versions will end on DEC. 31st. They will never develop another build for our devices. Our only chance of using Skyfire in 2011 will be by porting the ANDROID builds or somehow hacking the Skyfire servers but I doubt these things will ever happen. I recomend trying UZARD for a flash enabled browser but its only in beta release. I think they have also walked away from WM. They were supposed to release two versions which have been advertised on their site for at least 11 months but never released them. I don't think UZARD will turn off support but I would not expect another build. There is videos and reviews of UZARD WEB S & UZARD WEB H from back in FEB. 2010 but they never came out as I stated before probable cause they were focused on WP7. They have released builds for ANDROID & BLACKBERRY but haulted the WM builds. Oh well maybe one of the great developers on here will build a flash browser, thats our best chance of having a flash browser in the future that would be updatable.
try uZardweb...the function is almost the same like skyfire..
zanpaktao said:
try uZardweb...the function is almost the same like skyfire..
Click to expand...
Click to collapse
THANK YOU!
This is the first browser like SkyFire I've seen that actually works and still supports Windows Mobile! I can once again view sites that require streaming embedded video and flash!
It would be nice if the toolbars would minimize to full-screen, but I can live without that as long as it keeps working.
Anyone who wants a link, here it is:
http://www.uzard.com/en/down/download_windowsmobile.asp
Will give it a try!
zanpaktao said:
try uZardweb...the function is almost the same like skyfire..
Click to expand...
Click to collapse
Thak you zanpaktao!
For those of you kind of disapointed of SKYFIRE, I tested the uZard Web Beta Ver.2.0
Excelent choice...
Just installed uZard and I'm very impressed
I used skyfire for a while but since the release of the iphone ver and their servers broke, I switched back to opera, But now I can watch my flash vids in my browser again
Thanks for that!
Honestly, I will never use Skyfire on another Mobile OS because of how they treated their WinMo user base.

Any browser for WP7?

I don't like Ie9
Is there another browser for my hd2 with Mango?
SurfCube Browser.
Browser pluse
Sent from my HD2 using XDA Windows Phone 7 App
It might be worth people writing to the makers of browsers for other phones to see if they'll consider writing for WP7 Mango. I'd love to see something like the Dolphin browser (from Android) ported, and they've recently rewritten for iPhone so I'm sure they're considering all platforms.
http://www.dolphin-browser.com/contact-us
Yeah, I gotta say ie9 has been a disappointment. Really would love to see an opera browser, like I had on my HD2 running winmo 6.5.x. That browser was light years better than ie9.
Sent from my King LEO using XDA Windows Phone 7 App
Firefox for Android is very nice, I abandoned Opera for it. Would be great to see on WP7.
JonnieLasVegas said:
Yeah, I gotta say ie9 has been a disappointment. Really would love to see an opera browser, like I had on my HD2 running winmo 6.5.x. That browser was light years better than ie9.
Sent from my King LEO using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Unfortunately this isn't possible all browser because WP7 doesn't allow native apps. So any browser will be mere wrapper of IE.
aarayas said:
Unfortunately this isn't possible all browser because WP7 doesn't allow native apps. So any browser will be mere wrapper of IE.
Click to expand...
Click to collapse
MS would maybe allow big companies like mozilla to write native apps...
And if not, cotulla & co are making big process on unlocking our WP7 devices to a level where we can write our own native apps...
waiting for OPERA on WP7.
I would LOVE Opera for WP7 although I highly doubt we will be getting Opera anytime soon, if ever, for WP7.
Although another browser similar to Opera, I would be extremely happy. I dislike IE9 quite a bit. Esecially the fact that you cannot browse with cached images... Kills my airtime.
Only thing I'd change was to add the tabs button back nodo browser was better like that.

[17.11.2012][PORT] Opera Mobile 10 for WP7 - FullUnlock/Root Tools Unlock

Opera Mobile 10 for Windows Phone 7
FOR FULL UNLOCK AND ROOT TOOLS UNLOCK
Opera Mobile is a property of Opera Software ASA. Neither Opera Software nor the author of this launcher are responsible for any damage caused by using this app.
Current version of launcher is 1.5
What's new?
Better interface
Root Tools support.
v1.2
Application window gets recreated on the startup if Opera was already opened.
Got rid of WindowTreeUpdater, now using system functions directly.
Font smoothing
Removed some unneeded system calls.
Now timeout is 3 seconds.
Virtual keyboard (SIP) support improved
Rotation support wasn't implemented in this version. Windows Phone 7 API doesn't support it in fully native apps.
Q&A
What is it?
That's Opera Mobile 10 initially built for Windows Mobile. I've just added an extra layer that makes it running.
Why does it only work on fully unlocked ROMs (like Dynamics ROM)? Isn't developer/interop unlock enough to run it? Can it work with Root Tools?
Developer unlock will let you install xap. Interop unlock will let inbuilt interop library work. Full unlock or Root Tools unlock will let Opera native exe run.
Which ROMs should I use?
Almost all custom ROMs (based on either Dynamics or DFT) or stock ROMs compatible with WP7 Root Tools.
What's countdown made for?
Press "Stop" and check.
When I press "Stop", there is a "Delete internal opera folders" button. Why is it here? I can delete this app like any other WP application...
The reason is that Opera launcher goes beyond the standard isolated store. For example, it creates "\Program Files\Opera Mobile 10" folder. Also it adds some absent libraries to \Windows\.
If you delete Opera launcher "like any other WP application", folders beyond the sandbox will still stay there. So, use "Delete internal Opera folders" button wisely
I have problems with starting it up...
If it Opera launcher's window doesn't appear at all, it means you have no Interop Unlock.
If it throws an error with "Check your unlock state" in the end, it means your unlock isn't enough for running native executables/copying files.
Anyway, you shouldn't post about it here. I will ignore such comments.
Opera Mini is discussed here.
Thanx man!On Nextgen+ 2.2 works fine!
Very speed browser , but multitouch strange works...
Zloy Pryanik said:
Thanx man!On Nextgen+ 2.2 works fine!
Very speed browser , but multitouch strange works...
Click to expand...
Click to collapse
Who said it is supported? Opera Mobile 10/Opera Mini 5.1 don't support it.
ultrashot said:
Who said it is supported? Opera Mobile 10/Opera Mini 5.1 don't support it.
Click to expand...
Click to collapse
Clearly, thanks)
thanks for hard work
ultrashot said:
Who said it is supported? Opera Mobile 10/Opera Mini 5.1 don't support it.
Click to expand...
Click to collapse
I may be wrong, but didn't the Opera that came on the HD2 have Multi-Touch support?
EDIT: Nevermind, it looks like only Opera Mobile 9.7 had Multi-Touch support.
Very Thanks for ultrashot
This browser is supported my language
and fast browser
Well done...I hope Opera software develops a full-fledged browser for us, Windows Phone users. I would love to get my hands on better alternative of IE
opera mobile tested on mido-mido rom...and works...
tnx...really fast and good....
Great job! Can't test it, because my HD2 isn't fully unlocked, but I'll write it up on the portal (as I did with your Opera Mini port).
i hav einstalled it but when i want to type an adress to the url bar only the numeric keyboard apears.
drkfngthdragnlrd said:
EDIT: Nevermind, it looks like only Opera Mobile 9.7 had Multi-Touch support.
Click to expand...
Click to collapse
Yes, this statement is correct.
Livven said:
Great job! Can't test it, because my HD2 isn't fully unlocked, but I'll write it up on the portal (as I did with your Opera Mini port).
Click to expand...
Click to collapse
Thanks!
imotz said:
i hav einstalled it but when i want to type an adress to the url bar only the numeric keyboard apears.
Click to expand...
Click to collapse
Strange because neither Opera itself nor I can control keyboard mode. Probably keyboard behaviour got mixed with other apps.
Interesting fact: if you like to see keyboard built in Opera, set HKEY_LOCAL_MACHINE\Software\Opera10\Keyboard\UseNativeInput to 0
Works flawlessly on my HTC HD7, running NextGen ROM.
Great job!
Is it possible to apply your technique to any WM exe, or did you write a special wrapper specifically designed for Opera?
ultrashot said:
Yes, this statement is correct.
Thanks!
Strange because neither Opera itself nor I can control keyboard mode. Probably keyboard behaviour got mixed with other apps.
Interesting fact: if you like to see keyboard built in Opera, set HKEY_LOCAL_MACHINE\Software\Opera10\Keyboard\UseNativeInput to 0
Click to expand...
Click to collapse
i have startet opera directly after unlocking the lockscreen, maybee the numeric keyboard was selectet because of this.
after starting an other app and using the normal keyboard the normal keyboard wil also apear in opera mobile
badboy70 said:
Works flawlessly on my HTC HD7, running NextGen ROM.
Great job!
Is it possible to apply your technique to any WM exe, or did you write a special wrapper specifically designed for Opera?
Click to expand...
Click to collapse
50/50. Some code parts are universal, some not.
Problem is that more apps we port, more apis we should emulate. Some WM6 apis were deprecated in CE7/WP7. For example, Opera Mini was working almost out of the box - I had to fix not so many things. At the same time Opera Mobile required creating an emulation layer for Connection Manager APIs.
rotation
Why Autorotation doesnt work ? Will someone fix it ?
Thanks for info.
marek1 said:
Why Autorotation doesnt work ? Will someone fix it ?
Thanks for info.
Click to expand...
Click to collapse
Have you read the first post?
big thanks
Thank you, ultrashot, Opera Mobile 10 works really, really great (ok, no multitouch and no landscape, but I knew that before and I don't care much about that). I don't know how different porting Opera Mobile is compared to Opera Mini, but I tried both and Opera Mobile works much better for me. When I closed Opera Mini, the whole system was very sluggish until the next reboot, i.e. scrolling through the app list. But I have no problem with Opera Mobile, it works flawless, just like a native WP7 application.
great work ultrashot
just wanted to say that you did a great jop again
ultrashot said:
50/50. Some code parts are universal, some not.
Problem is that more apps we port, more apis we should emulate. Some WM6 apis were deprecated in CE7/WP7. For example, Opera Mini was working almost out of the box - I had to fix not so many things. At the same time Opera Mobile required creating an emulation layer for Connection Manager APIs.
Click to expand...
Click to collapse
So long term, if the hard work was put in, it would potentially be possible to create a WM6 emulation layer, akin to Wine on Linux? ....

Categories

Resources