Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,650 Members 37,948 Now Online
XDA Developers Android and Mobile Development Forum

Firefox OS porting, GUI theming

Tip us?
 
feherneoh
Old
(Last edited by feherneoh; 9th February 2014 at 05:58 PM.)
#1  
feherneoh's Avatar
Senior Member - OP
Thanks Meter 951
Posts: 1,278
Join Date: Sep 2012
Default Firefox OS porting, GUI theming

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:
Select 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:
Select 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/


FoXperia on Facebook

If I helped you somehow, please hit 'Thanks'

NeoH-quotes:
"Is SUP an OS? I want to PORT it to HD2, so it will have SUPPORT."
" I want to steal tiestobunio's work. Oh, wait... It's not his."
"CotullaCode posted some screenshots of Windows 8 running on HD2. I will RT them."
"Compilers can produce warnings - make the compiler programmers happy: Use them!"

wAppStore

Current device: Sony Ericsson k750i (Lumia 520 bricked)
The Following 51 Users Say Thank You to feherneoh For This Useful Post: [ Click to Expand ]
 
groomsman
Old
#2  
groomsman's Avatar
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Jul 2013
I'd love to test it in my Xperia LWW
 
feherneoh
Old
#3  
feherneoh's Avatar
Senior Member - OP
Thanks Meter 951
Posts: 1,278
Join Date: Sep 2012
Quote:
Originally Posted by groomsman View Post
I'd love to test it in my Xperia LWW
Sources are up, LWW will be the next device I will build it for


FoXperia on Facebook

If I helped you somehow, please hit 'Thanks'

NeoH-quotes:
"Is SUP an OS? I want to PORT it to HD2, so it will have SUPPORT."
" I want to steal tiestobunio's work. Oh, wait... It's not his."
"CotullaCode posted some screenshots of Windows 8 running on HD2. I will RT them."
"Compilers can produce warnings - make the compiler programmers happy: Use them!"

wAppStore

Current device: Sony Ericsson k750i (Lumia 520 bricked)
The Following 5 Users Say Thank You to feherneoh For This Useful Post: [ Click to Expand ]
 
pureexe
Old
(Last edited by pureexe; 29th August 2013 at 02:47 PM.)
#4  
pureexe's Avatar
Senior Member
Thanks Meter 385
Posts: 453
Join Date: Dec 2011
Location: ratchaburi
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?
 
feherneoh
Old
#5  
feherneoh's Avatar
Senior Member - OP
Thanks Meter 951
Posts: 1,278
Join Date: Sep 2012
Quote:
Originally Posted by pureexe View Post
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


FoXperia on Facebook

If I helped you somehow, please hit 'Thanks'

NeoH-quotes:
"Is SUP an OS? I want to PORT it to HD2, so it will have SUPPORT."
" I want to steal tiestobunio's work. Oh, wait... It's not his."
"CotullaCode posted some screenshots of Windows 8 running on HD2. I will RT them."
"Compilers can produce warnings - make the compiler programmers happy: Use them!"

wAppStore

Current device: Sony Ericsson k750i (Lumia 520 bricked)
The Following 2 Users Say Thank You to feherneoh For This Useful Post: [ Click to Expand ]
 
pureexe
Old
#6  
pureexe's Avatar
Senior Member
Thanks Meter 385
Posts: 453
Join Date: Dec 2011
Location: ratchaburi
Quote:
Originally Posted by feherneoh View Post
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
 
feherneoh
Old
#7  
feherneoh's Avatar
Senior Member - OP
Thanks Meter 951
Posts: 1,278
Join Date: Sep 2012
Quote:
Originally Posted by pureexe View Post
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


FoXperia on Facebook

If I helped you somehow, please hit 'Thanks'

NeoH-quotes:
"Is SUP an OS? I want to PORT it to HD2, so it will have SUPPORT."
" I want to steal tiestobunio's work. Oh, wait... It's not his."
"CotullaCode posted some screenshots of Windows 8 running on HD2. I will RT them."
"Compilers can produce warnings - make the compiler programmers happy: Use them!"

wAppStore

Current device: Sony Ericsson k750i (Lumia 520 bricked)
The Following 2 Users Say Thank You to feherneoh For This Useful Post: [ Click to Expand ]
 
Defier525
Old
#8  
Member
Thanks Meter 11
Posts: 35
Join Date: Aug 2012
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!
 
feherneoh
Old
#9  
feherneoh's Avatar
Senior Member - OP
Thanks Meter 951
Posts: 1,278
Join Date: Sep 2012
Quote:
Originally Posted by Defier525 View Post
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


FoXperia on Facebook

If I helped you somehow, please hit 'Thanks'

NeoH-quotes:
"Is SUP an OS? I want to PORT it to HD2, so it will have SUPPORT."
" I want to steal tiestobunio's work. Oh, wait... It's not his."
"CotullaCode posted some screenshots of Windows 8 running on HD2. I will RT them."
"Compilers can produce warnings - make the compiler programmers happy: Use them!"

wAppStore

Current device: Sony Ericsson k750i (Lumia 520 bricked)
The Following User Says Thank You to feherneoh For This Useful Post: [ Click to Expand ]
 
Defier525
Old
#10  
Member
Thanks Meter 11
Posts: 35
Join Date: 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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes