MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

[ALPHA 2][B2G] Firefox OS 1.2 by Daredj

71 posts in this topic

Posted (edited) · Report post

firefox-os.png

Welcome to the Non-Android Zone!

 

 

DISCLAIMER:

Alpha Stage: USE AT YOUR OWN RISK!!!

 

Your warranty will be void if you proceed on this instalation

Anyway, all goes at your own risk, We are not a technical service, if you brick your phone we can advise you, but we don't take care of any unexpected result (EX: bricked phones).

 

Information:

This is the beggining of the Firefox OS for our Huawei ascend G300.

I started to compile using Dazz sources, and here I'll try to publish new versions and fixes as fast as I can.

 

For "noobs": Firefox OS is a new Operative System for some devices. It's 100% Open Source and that allow us to get our own version running on our device.

More information about Firefox OS: http://www.mozilla.org/en-US/firefox/os/

 

Screenshots:

post-1004067-0-27388000-1386012565_thumbpost-1004067-0-84305500-1386012566_thumb

post-1004067-0-89728600-1386012579_thumbpost-1004067-0-24552300-1386012585_thumb

post-1004067-0-05140300-1386012587_thumbpost-1004067-0-70057900-1386012589_thumb

post-1004067-0-66511800-1386012591_thumbpost-1004067-0-67780000-1386012593_thumb

 

Current Stage: Alpha 2

 

Not Working:

  • Camera
  • USB Storage
  • HQ Youtube videos
  • USB internet.
  • Radio FM

 

Working:

  • Languajes: ALL SUPPORTED
  • Everthing else :P

 

Not Tested:

- Audio recording

- Video Playing (due to same camera issue)

- mms (thanks Raquel ;) )

 

Instructions:

  • It requires Android 4+ installed (I recomend ICS due stability), With USB debug mode enabled.
  • Do ALL WIPES AND FORMAT ALL DATA (SD card not obligatory)
  • enter your device in fasboot mode (turn off your mobile, press and hold VOL- & Power during 15 seconds, after thar release the keys).
  • Plug your device to your PC.
  • Flash vía fastboot the 3 images:

example:

fastboot system system.img
fastboot boot boot.img
fastboot userdata userdata.img

After that, just restart your device:

fastboot reboot

DOWLOAD:

 

Alpha 2 CLICK HERE

 

Alpha 1 CLICK HERE

 

SOURCE:

 

B2G: https://github.com/cristomc/B2G

Manifest: https://github.com/cristomc/b2g-manifest

Device: https://github.com/cristomc/android_device_huawei_u8815

Propietary: https://github.com/cristomc/proprietary_vendor_huawei

 

CREDITS & Thanks to:

Dazz: Main git repo and base sources. 90% of credits for him

NOTE: Please ask for make derivated sources... If you do it mention Our Work (Dazzo and mine), I'm doing this for learning-

I'm not winning $$ for doing this... but if you want, you can click on the next link and help me to buy a beer during compilations :)


Give a donation (thank you in advance :) )

Edited by daredj
7

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

TO-DO for Next Release:

  1. Fix Video problems (if I find the way).
  2. Find battery drain (should last more than now...)
Edited by daredj
3

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Changelog

 

Alpha2 (6-12-2013):

  • Based on my own sources (forked from great dazz work)
  • Fixed DPI and small lags
  • Production release - no more dev apps in the rom ;)
  • Support for all languajes.
Edited by daredj
1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Thanks. :)

This (probably) looks nice - all I need to do is wait for the upload! :D

Edited by george109
0

Share this post


Link to post
Share on other sites

Posted · Report post

Going to try and port this to the Fusion 2. :P

Just need to wait for it to upload.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Nice! How is the performance compared to GB roms? Which baseband should we have to try it?

 

Thanks!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Probably 2030

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Wow! Although I prefer Ubuntu instead of Firefox, but that's a good new!

Edited by mnupea
0

Share this post


Link to post
Share on other sites

Posted · Report post

Well link up, give me some time to take a rest, i spend this last 24 hours in learn how to make it possible...

 

PS: it's alpha until getting camera fixed, will stay on beta until final release of 1.2

2

Share this post


Link to post
Share on other sites

Posted · Report post

I think that command is fastboot flash system system.img .... Can it be flashed without command FLASH ?!

What do you think about camera?! Is fixing of it a big deal or too hard ?!

I am really looking forward to this one :)

1

Share this post


Link to post
Share on other sites

Posted · Report post

Good work.

 

I see DPI issue too.

For example the status bar is incredible thin.

Look at the screenshots of FirefoxOS on firefox os site.

On your screenshots, everithyng is smaller.

You should fix this for the release version. ;)

0

Share this post


Link to post
Share on other sites

Posted · Report post

I'd love to translate into Polish (PL). Write on PW  :blush:

0

Share this post


Link to post
Share on other sites

Posted · Report post

Actually it looks more promising than I expected. Of course this OS lacks apps greatly due to its youth) I'm looking forward to trying a more mature variant of firefox os. Thanks for your work :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Sometimes waking up device can be hard... When i click power button, nothing happens, just button lights show up, and nothing else... Then i click volume buttons and screen turns on .... :)

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Camera works with revision v1.0.0 but not after. The power button issue got fixed recently in master (v1.3). I would start the port with gaia/gecko rev 1.1.0hd which is pretty stable (to get rid of test apps use export PRODUCTION=1 and export GAIA_DEV_PIXELS_PER_PX=1.5 in .userconfig for correct DPI) and figure out the camera and everything else from there.

Good luck.

 

One thing I forgot related to correct DPI, for some reason the DPI is not picked up by the system you must add it manually in /gecko/widget/gonk/nsWindow.cpp:

at about line 500+ replace float dpi = GetDPI() with float dpi = 240.0 as below:

 

 

double
nsWindow::GetDefaultScaleInternal()
{
    float dpi = 240.0;
    // The mean pixel density for mdpi devices is 160dpi, 240dpi for hdpi,
    // and 320dpi for xhdpi, respectively.
    // We'll take the mid-value between these three numbers as the boundary.
    if (dpi < 200.0) {
        return 1.0; // mdpi devices.
    }
    if (dpi < 280.0) {
        return 1.5; // hdpi devices.
    }
    return 2.0; // xhdpi devices.
}

Edited by celrau
0

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you for answering. I will try something... Is firefox os having some root access or it's system files can be normally edited ?! What file manager should we use ?!

0

Share this post


Link to post
Share on other sites

Posted · Report post

You can't do that in FFOS at least not yet but you have shell access with adb shell command.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Okay, i will try that :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

 

Camera works with revision v1.0.0 but not after. The power button issue got fixed recently in master (v1.3). I would start the port with gaia/gecko rev 1.1.0hd which is pretty stable (to get rid of test apps use export PRODUCTION=1 and export GAIA_DEV_PIXELS_PER_PX=1.5 in .userconfig for correct DPI) and figure out the camera and everything else from there.

Good luck.

 

One thing I forgot related to correct DPI, for some reason the DPI is not picked up by the system you must add it manually in /gecko/widget/gonk/nsWindow.cpp:

at about line 500+ replace float dpi = GetDPI() with float dpi = 240.0 as below:

 

 

double
nsWindow::GetDefaultScaleInternal()
{
    float dpi = 240.0;
    // The mean pixel density for mdpi devices is 160dpi, 240dpi for hdpi,
    // and 320dpi for xhdpi, respectively.
    // We'll take the mid-value between these three numbers as the boundary.
    if (dpi < 200.0) {
        return 1.0; // mdpi devices.
    }
    if (dpi < 280.0) {
        return 1.5; // hdpi devices.
    }
    return 2.0; // xhdpi devices.
}

 

 

Thank you for the info, i knew that about screen, but i think that is not fully working, in 1.1hd (i compiled first too), there are some apps with problems with touch events, now I'll make this with v1.2, but if error appears again we must find other solution...

 

Preparing everything for alpha 2 ;)

0

Share this post


Link to post
Share on other sites

Posted · Report post

hooo this new stuff is still alive'll provar immediately and tell you my impressions and thank you very much for resurrecting firefox  :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

I cannot find path to that cpp file, so i will wait for new alpha :) It looks promising :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

daredj: Can you put a link to your repo?

Maybe others would want to join to the development. :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi all, I realy want to give this ROM a try but I have never used ADB Fast boot. I found this guide on how to set up ADB but I am at a loss as to what I have to do once its set up, as far as how do I put the phone into debug mode, where on my laptop should place the .img files and what commands do I need to install.

http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/

Sorry for the noobish questions, i have always managed without ADB untill now, but i am eager to learn so any advice or links would be grate. Thanks in advance.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Not that hard, really. First check if the command fastboot works. Download the .img files and put them in a folder. Power off the phone, press volume-down and power, you will see the Huawei logo, keep pressing the buttons for like 15 sec., plug the usb cable and connect to the computer, do a test command: fastboot devices which should return a number if all is ok. Then for each one of the 3  .img do: fastboot flash /path/to/file-name.img. Finish by doing: fastboot reboot. If you get stuck on the logo remove the battery for a few sec. and start the phone again.

1

Share this post


Link to post
Share on other sites

Posted · Report post

Wow! Although I prefer Ubuntu instead of Firefox, but that's a good new!

+1

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.