{[ROM][v1.3pre][DEV][Firefox OS on Xperia Neo V][fireXperia][14.10.13]}

Search This thread

yacloo

Senior Member
Dec 13, 2010
261
140
İstanbul
Sony Xperia XZ Premium
I finally made it:laugh: firefox can work on xperia neo v

There are quite jobs needs to done, but basic things works well

didn't test too much but for now
calls works
camera doesn't work

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

####final update

Here is alpha preview with firefox os v1.3pre

files for download:

boot.img
full_haida-ota-eng.root.zip
system.img.xz
firexperia-wifi-modules.SIGNED.zip

it has two way installer

fastboot or cwm choose as you like :D

installation

fastboot flash boot boot.img
fastboot flash system system.img or install from cwm with full_haida-ota-eng.root.zip
install wifi modules via cwm
do factory reset/wipe data
reboot and enjoy :)

####update5

I was upgrade my system to i7 haswell maybe I can build roms for whole 2011 xperia series at least I will try I am not promise anything but stay tuned :D

####update 4

Here is alpha preview with firefox os v1.1hd_pre

files for download:

boot.img
full_haida-ota-eng.root.zip
system.img.7z
firexperia-wifi-modules.SIGNED.zip

it has two way installer

fastboot or cwm choose as you like :D

installation

fastboot flash boot boot.img
fastboot flash system system.img or install from cwm with full_haida-ota-eng.root.zip
install wifi modules via cwm
do factory reset/wipe data
reboot and enjoy :)

####update 3

switch to v1.1.0hd branch
rebase with fxp-229-cm9 branch

HDPi build works and screen resolution is normal now

need a lot of time to provide a stable version but maybe a preview version




####update 2

no release for now

Sources of builds

and credits goes to

neuralassembly
sola
FXP
Cyanogenmod
AOSP
Mozilla.org
GNU/Linux

thanks to them

 
Last edited:

Syah_Rulez

Member
Jul 1, 2013
32
10
26
Mukah
Looks nice there, bud.

Edit: Darn it. Too bad I can't speak Japanese and those guide just canned me to Tokyo. :)

Greetings, from HTC One via Tap-A-Talk IV Beta
 

yacloo

Senior Member
Dec 13, 2010
261
140
İstanbul
Sony Xperia XZ Premium
can you help me i get some eror when i almost fully compile source for anzu
he tells some file that you want to fork dont exist :(

Show me to log of error

Or check my sources


edit : probably the problem with this
add on anzu.xml

origin code
Code:
<project path="prebuilt" name="platform/prebuilt" revision="0e104261b6d33f87e9f86ff4249bcc0306ab278b"/>

proper code
Code:
<project path="prebuilt" name="platform/prebuilt"[COLOR="Red"] remote="aosp" [/COLOR]revision="0e104261b6d33f87e9f86ff4249bcc0306ab278b"/>

Sent from my haida
 
Last edited:
  • Like
Reactions: n1kolaa

n1kolaa

Inactive Recognized Developer
Oct 21, 2011
3,367
4,062
Zrenjanin
OnePlus Nord
Show me to log of error

Or check my sources


edit : probably the problem with this
add on anzu.xml

origin code
Code:
<project path="prebuilt" name="platform/prebuilt" revision="0e104261b6d33f87e9f86ff4249bcc0306ab278b"/>

proper code
Code:
<project path="prebuilt" name="platform/prebuilt"[COLOR="Red"] remote="aosp" [/COLOR]revision="0e104261b6d33f87e9f86ff4249bcc0306ab278b"/>

Sent from my haida
no more errorrs now i will build it :D
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch < b2g-webapp-zip.patch
when i run line to pach it it give me erorr :(
can you shere me that file from your pc?
 
Last edited:

yacloo

Senior Member
Dec 13, 2010
261
140
İstanbul
Sony Xperia XZ Premium
no more errorrs now i will build it :D
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch < b2g-webapp-zip.patch
when i run line to pach it it give me erorr :(
can you shere me that file from your pc?

I run the patch like this it was okay



Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget --no-check-certificate https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch [COLOR="Red"]-p1[/COLOR] < b2g-webapp-zip.patch
 

n1kolaa

Inactive Recognized Developer
Oct 21, 2011
3,367
4,062
Zrenjanin
OnePlus Nord
I run the patch like this it was okay



Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget --no-check-certificate https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch [COLOR="Red"]-p1[/COLOR] < b2g-webapp-zip.patch

Code:
n1kolaa@HostPC:~/b2g_work/B2G/gaia/build$ wget --no-check-certificate https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
--2013-07-09 11:05:10--  https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 50.19.230.97
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|50.19.230.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 780 [text/x-diff]
Saving to: `b2g-webapp-zip.patch.1'

100%[======================================>] 780         --.-K/s   in 0s      

2013-07-09 11:05:11 (107 MB/s) - `b2g-webapp-zip.patch.1' saved [780/780]

n1kolaa@HostPC:~/b2g_work/B2G/gaia/build$ patch -p1 < b2g-webapp-zip.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- webapp-zip.js.orig	2013-06-23 20:26:30.135978096 +0900
|+++ webapp-zip.js	2013-06-23 20:43:02.032010587 +0900
--------------------------
File to patch: webapp-zip.js 
patching file webapp-zip.js
Hunk #1 FAILED at 335.
1 out of 1 hunk FAILED -- saving rejects to file webapp-zip.js.rej
n1kolaa@HostPC:~/b2g_work/B2G/gaia/build$ ^C
n1kolaa@HostPC:~/b2g_work/B2G/gaia/build$
look still geting error can you shere webapp-zip.js from your pc ?
 

yacloo

Senior Member
Dec 13, 2010
261
140
İstanbul
Sony Xperia XZ Premium
no more errorrs now i will build it :D
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch < b2g-webapp-zip.patch
when i run line to pach it it give me erorr :(
can you shere me that file from your pc?

I was update my sources, patch will not work on my sources

but anyway you can build your b2g without patch or you need to patch manually

mozilla was create new branch for hdpi devices called "v1.1.0hd"

I will build with v1.1.0hd branch but now I am busy maybe next week
 
  • Like
Reactions: n1kolaa

danutzgtx480

Senior Member
Apr 26, 2012
270
296
I am trying to port B2G to smultron and i have a question :
In kernel the only modification is to add init.b2g.rc file and edit init.rc right?

init.b2g.rc :
Code:
service fakeperm /system/bin/fakeperm
    class main
    user root

service b2g /system/bin/b2g.sh
    class main
    onrestart restart media

service rilproxy /system/bin/rilproxy
    class main
    socket rilproxy stream 660 root system
    user root
    group radio

on boot
    exec /system/bin/rm -r /data/local/tmp
    # set RLIMIT_NOFILE to increase soft limit from 1024(default) to 2048.
    # Hard limit keeps default value(4096).
    setrlimit 7 2048 4096

edit init.rc with this :
Code:
service fakeperm /system/bin/fakeperm
    class main
    user root

service rilproxy /system/bin/rilproxy
    class main
    socket rilproxy stream 660 root system
    user root
    group radio

service servicemanager-g /system/bin/servicemanager
    class core
    user system
    group system
    critical

service b2g /system/bin/b2g.sh
    class main
    onrestart restart media

or i need to edit more? :p
 
no more errorrs now i will build it :D
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch < b2g-webapp-zip.patch
when i run line to pach it it give me erorr :(
can you shere me that file from your pc?

Today I checked the repository of gaia, and I found that the problem on webapp-zip.js has already been fixed 5 days ago.
So, if you downloaded the latest source codes, you do not have to apply the above patch any more.
I omitted the above commands from my blog.

Moreover, as for the manifest file, the download errors often take place depending on the network state.
When I downloaded the latest codes today without modifying manifest file,
I executed "./config.sh anzu" several times to obtain successful download.
 
  • Like
Reactions: n1kolaa

n1kolaa

Inactive Recognized Developer
Oct 21, 2011
3,367
4,062
Zrenjanin
OnePlus Nord
Today I checked the repository of gaia, and I found that the problem on webapp-zip.js has already been fixed 5 days ago.
So, if you downloaded the latest source codes, you do not have to apply the above patch any more.
I omitted the above commands from my blog.

Moreover, as for the manifest file, the download errors often take place depending on the network state.
When I downloaded the latest codes today without modifying manifest file,
I executed "./config.sh anzu" several times to obtain successful download.

http://xdaforums.com/showthread.php?p=43408927#post43408927 i succes with building it but problem is resoution
and lot of things not sized well
 
  • Like
Reactions: trewelu and n1kolaa

n1kolaa

Inactive Recognized Developer
Oct 21, 2011
3,367
4,062
Zrenjanin
OnePlus Nord
I have not tried your rom yet, but have you set the following environment variables before building?

The first one is for firefox icons, and second one is for high resolution device.

export MOZILLA_OFFICIAL=1
export GAIA_DEV_PIXELS_PER_PX=2

thanks,also camera is fixed to photo only :)
im thinking to make 3.0.x kernel for b2g also i add you on my grup for b2g with i made :)
@yacloo i can add you too if you want to be part of it
 
thanks,also camera is fixed to photo only :)
im thinking to make 3.0.x kernel for b2g also i add you on my grup for b2g with i made :)
@yacloo i can add you too if you want to be part of it

I cannot post to developer section because I am a new one, so I post here.
Please do not use the picture in my blog in your thread.

As for the update, I think you should not apply OTA system update
because my patch to gaia and gecko will be erased.
As a result, battery always shows 100%, the LED of home button is always ON,
and the effect of "GAIA_DEV_PIXELS_PER_PX=2" will also be erased.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 36
    I finally made it:laugh: firefox can work on xperia neo v

    There are quite jobs needs to done, but basic things works well

    didn't test too much but for now
    calls works
    camera doesn't work

    Code:
    #include <std_disclaimer.h>
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    ####final update

    Here is alpha preview with firefox os v1.3pre

    files for download:

    boot.img
    full_haida-ota-eng.root.zip
    system.img.xz
    firexperia-wifi-modules.SIGNED.zip

    it has two way installer

    fastboot or cwm choose as you like :D

    installation

    fastboot flash boot boot.img
    fastboot flash system system.img or install from cwm with full_haida-ota-eng.root.zip
    install wifi modules via cwm
    do factory reset/wipe data
    reboot and enjoy :)

    ####update5

    I was upgrade my system to i7 haswell maybe I can build roms for whole 2011 xperia series at least I will try I am not promise anything but stay tuned :D

    ####update 4

    Here is alpha preview with firefox os v1.1hd_pre

    files for download:

    boot.img
    full_haida-ota-eng.root.zip
    system.img.7z
    firexperia-wifi-modules.SIGNED.zip

    it has two way installer

    fastboot or cwm choose as you like :D

    installation

    fastboot flash boot boot.img
    fastboot flash system system.img or install from cwm with full_haida-ota-eng.root.zip
    install wifi modules via cwm
    do factory reset/wipe data
    reboot and enjoy :)

    ####update 3

    switch to v1.1.0hd branch
    rebase with fxp-229-cm9 branch

    HDPi build works and screen resolution is normal now

    need a lot of time to provide a stable version but maybe a preview version




    ####update 2

    no release for now

    Sources of builds

    and credits goes to

    neuralassembly
    sola
    FXP
    Cyanogenmod
    AOSP
    Mozilla.org
    GNU/Linux

    thanks to them

    5
    Dude are you still in the game or quitted ??

    It even works on neo with same bugs like camera, FM etc, it is better than Ubuntu port hope u continue this project :)


    I did rebase my sources for now testing ı don't wanna release a buggy rom anymore there is no ETA for a release but it will be
    4
    Next build will be based b2g v1.3prerelease

    2013_10_14_02_21_53.png
    3
    I think there is a problem in resolution. All the icons and some apps are displayed too small. Please fix this in the next release. By the way nice work!!! keep it up!!:good::good::good::good::good:

    already i fixed resolution problem fonts and apps now normal



    hope will be a stable release at future

    thanks anyway:good:
    2
    What kernel you used?

    Cm9 kernel

    Sent from my haida