Post Reply

Firefox OS porting, GUI theming

OP feherneoh

27th August 2013, 08:32 PM   |  #1  
feherneoh's Avatar
OP Senior Member
Thanks Meter: 962
 
1,300 posts
Join Date:Joined: Sep 2012
More
Dear XDA community,
maybe some of you have already seen my ports of Firefox OS on some Xperia devices. I hope you liked them.

About this project:
The primary goal of this project is porting Firefox OS to all of the phones those have a port of CyanogenMod 9. You may wonder why I'm aiming these devices, so here is the answer: As Firefox OS was initially based on ICS, it is easy to port on ICS devices, and I think CM is the best and most stable ROM we have, to use as a base.

About FoXperia:
The secondary goal of my project is to create new themes for Firefox OS, those look like the stock ROMs of various devices. The one I am working on is FoXperia, an Xperia-like HTML5 UI. Altough I am a web-developer, I will need help with this, as the Gaia code is simply too much for one person to rewrite completely.

Anybody who can test the ROMs or fix the bugs, maybe is able to help me with the theming is welcome to join. More people can achieve great things in way less time.
Join the developer group here: FoXperia developers

Supported devices:
  • LG L3
  • Samsung Galaxy SIII i9300 (international)
  • Samsung Galaxy Tab 2 7.0
  • Sony Xperia Acro S
  • Sony Xperia Go
  • Sony Xperia Ion
  • Sony Xperia P
  • Sony Xperia S
  • Sony Xperia Sola
  • Sony Xperia U
  • Sony Ericsson Live with Walkman
  • Sony Ericsson Xperia Active
  • Sony Ericsson Xperia Arc
  • Sony Ericsson Xperia Mini
  • Sony Ericsson Xperia Mini Pro
  • Sony Ericsson Xperia Neo
  • Sony Ericsson Xperia Neo V
  • Sony Ericsson Xperia Play
  • Sony Ericsson Xperia Play CDMA
  • Sony Ericsson Xperia Pro
  • Sony Ericsson Xperia Ray
  • Sony Ericsson Xperia X10
Other devices will be added later.

It's not easy to update the list all the time, so here is my Dev-Host folder link:
Download any of the files here
Builds for Galaxy SIII, Xperia Go and LWW by @ib54003


Info for those who want to help in building:
To set up build environment, use the tutorial from Mozilla's site Firefox OS build prerequisites
Then you will need to download the sources. It will be a bit different than Mozilla's one.
First, create a directory where you will work. Open a terminal.
Code:
cd /path/to/your/directory/
git clone https://github.com/feherneoh/B2G
cd B2G
./config.sh device_name
Replace device_name with the codename of your phone.
Supported codenames (check by running ./config.sh):

aoba anzu coconut e400 es209ra haida hallon hikari iyokan i9300 kumquat lotus mango nozomi nypon p3110 pepper satsuma smultron urushi zeus zeusc

To build it:
Code:
cd /path/to/your/directory/B2G/
./build.sh
You will find zip in /path/to/your/directory/B2G/release/
>>Note: X10 build will give you an error, find zip in /path/to/your/directory/B2G/out/target/product/es209ra/
Last edited by feherneoh; 9th February 2014 at 05:58 PM.
The Following 54 Users Say Thank You to feherneoh For This Useful Post: [ View ]
29th August 2013, 07:31 AM   |  #2  
groomsman's Avatar
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jul 2013
More
Thumbs up
I'd love to test it in my Xperia LWW
29th August 2013, 08:00 AM   |  #3  
feherneoh's Avatar
OP Senior Member
Thanks Meter: 962
 
1,300 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by groomsman

I'd love to test it in my Xperia LWW

Sources are up, LWW will be the next device I will build it for
The Following 5 Users Say Thank You to feherneoh For This Useful Post: [ View ]
29th August 2013, 02:44 PM   |  #4  
pureexe's Avatar
Senior Member
Flag ratchaburi
Thanks Meter: 387
 
453 posts
Join Date:Joined: Dec 2011
More
Little Question please

How to change DPI

I have same problem when try to add new language

// but Layout look good when use english i don't know why?
Last edited by pureexe; 29th August 2013 at 02:47 PM.
29th August 2013, 04:34 PM   |  #5  
feherneoh's Avatar
OP Senior Member
Thanks Meter: 962
 
1,300 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by pureexe

Little Question please

How to change DPI

I have same problem when try to add new language

// but Layout look good when use english i don't know why?

You cannot unless you modify the values inside display driver
The Following 2 Users Say Thank You to feherneoh For This Useful Post: [ View ]
29th August 2013, 05:51 PM   |  #6  
pureexe's Avatar
Senior Member
Flag ratchaburi
Thanks Meter: 387
 
453 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by feherneoh

You cannot unless you modify the values inside display driver

i think it is a gaia bug not display driver

I try on nexus4

when use english it look normal so i try to add thai language to gaia when i change it to thai it very large UI
29th August 2013, 06:27 PM   |  #7  
feherneoh's Avatar
OP Senior Member
Thanks Meter: 962
 
1,300 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by pureexe

i think it is a gaia bug not display driver

I try on nexus4

when use english it look normal so i try to add thai language to gaia when i change it to thai it very large UI

Yes, it is, but the OS calculates DPI values from display driver's data, that's why we cannot force 160dpi on devices those have the scaling problem
The Following 2 Users Say Thank You to feherneoh For This Useful Post: [ View ]
29th August 2013, 07:34 PM   |  #8  
Member
Thanks Meter: 11
 
36 posts
Join Date:Joined: Aug 2012
Thumbs up
Do you also accept device requests? I think the Xperia Acro S ("hikari", LT26w) was initially based on ICS. An official CM9 port is also available. I thought about buying this (slightly dated) device, but the current lack of CM support is a dealbreaker for me and I would love to see FFOS on it!
29th August 2013, 07:49 PM   |  #9  
feherneoh's Avatar
OP Senior Member
Thanks Meter: 962
 
1,300 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by Defier525

Do you also accept device requests? I think the Xperia Acro S ("hikari", LT26w) was initially based on ICS. An official CM9 port is also available. I thought about buying this (slightly dated) device, but the current lack of CM support is a dealbreaker for me and I would love to see FFOS on it!

I can add it to the list, but you will have to wait, as it takes 10-14 hours to build one ROM on my PC
The Following User Says Thank You to feherneoh For This Useful Post: [ View ]
29th August 2013, 07:52 PM   |  #10  
Member
Thanks Meter: 11
 
36 posts
Join Date:Joined: Aug 2012
Thanks! But I assume you'll have to transfer the Android.mk and other config files to the FFOS format? Would be wonderful if you could just do that in a github device_* repo so anybody interested could compile it themselves. Or do you have some generic script how you can transform the ICS config into FFOS? I tried compiling FFOS for a few devices which run Android 4.0 (although not originally) like the Motorola Defy or the HTC Tattoo and found this not to be easy at all.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Firefox OS General by ThreadRank