yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] josteink:
That's funny because I tried buying one (at a reasonable price) and it was completely impossible, so I was hoping I could use my spare gnex to try it out ;)
[Samsung Galaxy Nexus] :
I could buy the Alcatel One Touch Fire from Congstar (Germany) without a contract or any locks for 99 euro (you can convert it into your currency; a Samsung Galaxy Gio costs 110€ so it's a good price, I think). But it's much worse than my Galaxy Nexus (but if Firefox OS runs well I don't care) and I don't really want to buy a new phone because my Galaxy Nexus is just one year old and it's still a really good phone for my needs. So I was/am hoping to get Firefox OS on the Galaxy Nexus, too.

If I had no school the next weeks I'd try to help finding errors and would try building on my fresh installed Ubuntu 12.04, but I have a couple of tests in the next weeks so it's impossible to do any hacking. School is more important than my Galaxy Nexus and I think everyone understands this.

Oh and btw. please correct my wrong grammar and spelling so I can learn from my mistakes. :)
[Samsung Galaxy Nexus] x1123:
Mostly about gralloc. We need to check what is kernel options in complication. we can test without gralloc active first to make the beast just booting. Did b2g compiling kernel during building ? can we compile kernel separately ?
[Samsung Galaxy Nexus] Mevordel:
It uses a custom ram disk, but the stock AOSP kernel, so, yes, we can compile it separately.

https://github.com/mozilla-b2g/android-device-tuna
[Samsung Galaxy Nexus] x1123:
Look like ram disk is not the issue. Your beast is booting up. Gralloc matter is responsible from your logcat. Thanks for appointing the links. I will check once I get in touch with my PC
[Samsung Galaxy Nexus] Mevordel:
Remember when the blobs changed in 4.2.2? I'm not sure how old the kernel is, but I'm using the original ICS blobs, because the rest of B2G is based on it I believe.
[Samsung Galaxy Nexus] ojdon:
So I gave it another compile, seems to not complain about omap drivers anymore and can successfully flash. However, once booted I get presented with a blank screen but when I tap two blue rectangles quickly flash up on the left and right edges of the screen where I had previously tapped.

Maybe this is a gaia issue? Has anyone tried rolling back to an older revision for testing purposes?
[Samsung Galaxy Nexus] Mevordel:
Thanks for the confirmation. That's exactly what I've been getting.

(tried to post this almost a day ago......)
[Samsung Galaxy Nexus] arison1988:
Project still alive?

Gesendet von meinem Galaxy Nexus mit Tapatalk
[Samsung Galaxy Nexus] Mevordel:
I don't have the device anymore, so until somebody has ideas for fixing the screen, not really.

Sent from my Nexus 5
[Samsung Galaxy Nexus] mimox:
Too bad... While I have moved on to a Nexus 5 as well, I still have the Galaxy Nexus and was hoping to run Firefox OS on it...
[Samsung Galaxy Nexus] x1123:
I kept my maguro. If you can share your source tree file on github or somewhere else. Other people probably can continue your work.
[Samsung Galaxy Nexus] lissyx:
This issue affects any PowerVR SGX540 GPU as far as we know, and it's documented in bug https://bugzilla.mozilla.org/show_bug.cgi?id=950050

Anyone with OpenGL experience might help: it seems to be a common bug with this version of the SGX540 drivers (v1.8).
[Samsung Galaxy Nexus] ScardracS:
Are there any update about this rom?

Inviato dal mio Galaxy Nexus
[Samsung Galaxy Nexus] ojdon:
Read the post above.
[Samsung Galaxy Nexus] papi54:
Hi there!

I would like to inquire as to whether it's Firefox OS can be installed on the Galaxy S Advance?:confused:
[Samsung Galaxy Nexus] ILA:
Maybe you should post the question on that device forum.

P.S. Did any of the devs try to sort out the screen problem? I saw a new entry fairly recently over at bugzilla...
[Samsung Galaxy Nexus] atimus:
kernel sources

Could you give the link to the kernel sources you've used? I need this to compile the kernel with modules support and I try with newer versions and it doesn't loads. I've seen it's version 3.0.8 but need the sources.
[Samsung Galaxy Nexus] ashclepdia:
llllaaatttee reply and bringing back a fading thread(by me lol)

but....on April 29th it looks like fix was pushed for sgx540 devices(and others)

it looks as though this was fixed(it's now listed as resolved..and here is the fix https://bugzilla.mozilla.org/attachment.cgi?id=8392277&action=edit )

i had just been browing around for something different to try. and would love to give this whole B2G thing a whirl(even tho i have toro, i havent checked that section yet to see if b2g rom have been maintained at all)

i also just saw that apparently firefox os 2.0 should be coming fairly soon, which looks like it has way better user experience.

i'd really love to try this. wish i knew how to build(consistently lol)

but figured i would just pop in with this updated info in case someone with more expertise than i would wanna give it a shot now that fixed.
[Samsung Galaxy Nexus] lissyx:
Yes you're right, all those pending issues for gralloc are now fixed on master. Even the unregisterBuffer() returning -EINVAL. To my knowledge, building and flashing for this device works quite well now, only the manifest needs to be fixed. You need to switch the default repo to aosp or caf, I don't remember. it's fairly easy, changing this in .repo/manifests/galaxy-nexus.xml and once it is done, you should get something to start hacking on. I've been told that with the recent fixed and the landing of gralloc allocation thread, it's getting quite smooth.

Checkout the build docs on MDN https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites and apart from this manifest issue, there should be no blocking step.

Come on IRC (irc.mozilla.org #b2g) or dev-b2g mailing list if you need help building.
[Samsung Galaxy Nexus] x1123:
The UI is smooth now ... but I face SIM BUG , we can do receiving call, make ourgoing call, sending sms, receiving sms. but signal gsm icon not detected, thus we can not set to data enable .... :(
[Samsung Galaxy Nexus] lissyx:
Do you have a PIN set on your SIM ?

---------- Post added at 01:26 PM ---------- Previous post was at 01:18 PM ----------

Maybe try to apply this patch: https://bug976497.bugzilla.mozilla.org/attachment.cgi?id=8423073
[Samsung Galaxy Nexus] x1123:
PIN is NOT set to SIM > thanks for the patch ... let me try and report
[Samsung Galaxy Nexus] lissyx:
If you don't have a PIN on your SIM card, it would explain everything that this patch tries to fix :)
[Samsung Galaxy Nexus] x1123:
Thanks again. I will do best to test with patch. I think it is good for week end fun.... :)
[Samsung Galaxy Nexus] x1123:
I patched ril_worker.js file in gonk as suggested and got "worst" thing Nothing Sim detected ... but the function is maintain, can make and received call, send, received sms .... :D attached orig and patched file for someone to review, since I can made some mistake.
[Samsung Galaxy Nexus] x1123:
DOWNLOAD MAGURO B2G

- extract somewhere

- turn your maguro device to bootloader

- fastboot flash boot boot.img

- fastboot flash userdata userdata.img

- fastboot flash system system.img

- for enable data your must set apn manually ... :D

Camera Not waork : other bugs Not tested.

Thanks to lissyx the guru
[Samsung Galaxy Nexus] x1123:
During the syncing with b2g-manifest by executing

./config.sh galaxy-nexus

i face the following error

error: Unable to find af459578b18b6f47c1bdb4a874c4a3de87dcb3be under http://android.git.linaro.org/git-ro/platform/prebuilt
Cannot obtain needed object af459578b18b6f47c1bdb4a874c4a3de87dcb3be

I solve the synced problem

- set account on github.com
- fork b2g-manifest
change forked b2g-manifest
[quote]
[LEFT] <default revision="refs/tags/android-4.0.4_r1.2"
remote="linaro"
sync-j="4" />

[/LEFT][/quote]

- [b] TO BE [/b] -
[quote]
[LEFT] <default revision="refs/tags/android-4.0.4_r1.2"
remote="aosp"
sync-j="4" />
[/LEFT]
[/quote]

EDIT config.sh file
[quote]
[LEFT]GITREPO=${GITREPO:-"git://github.com/mozilla-b2g/b2g-manifest"}[/LEFT]
[/quote]
- [b] TO BE [/b] -
[quote]
[LEFT]GITREPO=${GITREPO:-"git://github.com/x1123/b2g-manifest"}

Note : x1123 is my github.com user account[/LEFT]

[/quote]

re run ./config.sh galaxy-nexus

Happy Building ....
[Samsung Galaxy Nexus] fauntelroy:
Looks like there's something wrong with the repo,i tried sync from yesterday with no luck

is there some side effect swicthing from linaro to aosp?
[Samsung Galaxy Nexus] x1123:
Absolutely NOT ... you can see, the error is for platform/prebuilt it is similar between linaro and aosp and codeaurora ... i safely build with the method and booting ... :D
[Samsung Galaxy Nexus] lissyx:
So you fixed the SIM detection issue ? Did you had to change others things for this ?

If not, you should checkf if APNs are existant in gaia's shared/resources/ APN list. They may not be known and that would explain why you need to set them manually.

If they are not known you could file a bug and propose a pull request for adding them :).

Regarding the Camera, I've been told that B2G gets some -EPERM error when trying to access the device. So maybe you need to hack the permissions in the boot.img file. I remember having to fix device ownership on Nexus S for a related issue.

---------- Post added at 11:34 AM ---------- Previous post was at 11:33 AM ----------

I think we have some pending bug on fixing the manifest.

---------- Post added at 11:38 AM ---------- Previous post was at 11:34 AM ----------

I think you may lack the configuration for setting the proper size for Gaia assets. Please make sure your .userconfig contains:

export GAIA_DEV_PIXELS_PER_PX=1.5
[Samsung Galaxy Nexus] x1123:
so far I did not do anything than patching the file you suggested ... :D I just build to ensure my machine is correctly set before going further. I'm gentoo linux user, but I think android is ubuntu minded .... .. LOL .. I face problem during compiling in gentoo compiler required /usr/lib/linux-gnu_x86-64 /libX11.6.so no such folder in gentoo structure.

BTW, thanks for the clue .. I will poke the source as advised by the Guru ... :D
[Samsung Galaxy Nexus] x1123:
logcat when camera start operations :

[LEFT]
D/DOMX ( 120): ERROR: Can't open device, errorno from open = 2
D/DOMX ( 120): ERROR: DOMX Write failed 0xffffffff -1
D/DOMX ( 120): ERROR: failed check:status >= 0 - returning error: 0x81001 - Write failed
D/DOMX ( 120): ERROR: RPC function returned error 0x81001
D/DOMX ( 120): ERROR: Close failed on omx fd
D/DOMX ( 120): ERROR: rror in Initializing Proxy
E/CameraHAL( 120): OMX_GetHandle -0x80001001
D/DOMX ( 120): ERROR: Can't open device, errorno from open = 2
D/DOMX ( 120): ERROR: DOMX Write failed 0xffffffff -1
D/DOMX ( 120): ERROR: failed check:status >= 0 - returning error: 0x81001 - Write failed
D/DOMX ( 120): ERROR: RPC function returned error 0x81001
D/DOMX ( 120): ERROR: Close failed on omx fd
D/DOMX ( 120): ERROR: rror in Initializing Proxy
E/CameraHAL( 120): OMX_GetHandle -0x80001001

[/LEFT]

i Added one line in init.tuna.rc

[LEFT]
# camera calibration
mkdir /data/misc/camera 0770 media media
mkdir /data/misc/camera/R5_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1044 0770 media media
[b]restorecon /data/misc/camera (this is additional line) [/b]

setprop vold.post_fs_data_done 1
[/LEFT]

it was a blind guess ... I have no enought knowledge about this .... :D ... whoah ...
[Samsung Galaxy Nexus] blmvxer:
GSM only? Or does this support CDMA?
[Samsung Galaxy Nexus] lissyx:
There is support for CDMA in Firefox OS now, but the galaxy-nexus target is probably not one building for a CDMA device.

---------- Post added at 06:47 PM ---------- Previous post was at 06:43 PM ----------

Okay, so errno 2 is ENOENT, i.e., no such file or directory. You will have to find what code does this call. I would try to find where the OMX_GetHandle call is done and maybe try to gdb into it to find the device it tries to access.

Or if you are brave enough, get into a shell, stop b2g and start it by hand with strace:

# strace -ff -e open -o /sdcard/strace-camera.log /system/bin/b2g.sh

Then analyze the produced logs :)
[Samsung Galaxy Nexus] x1123:
AFAIK this kind of bugs exist on the first aosp ics. Then also CM9 for sure. The code we need to poke is omx_rpc.c on hardware/ti/omap4xxx/domx/domx/omx_rpc/src ... But I forgot. Btw the guru guide will be followed. Let me check and come back to this forum.
[Samsung Galaxy Nexus] x1123:
[LEFT]

1400696834853	Marionette	INFO	marionette enabled via build flag and pref
1400696835225	Marionette	INFO	marionette-server.js loaded
1400696835460	Marionette	INFO	B2G emulator: no
1400696835462	Marionette	INFO	Device detected is maguro
1400696835465	Marionette	INFO	Listening on port 2828

1400696835467	Marionette	INFO	Marionette server ready
System JS : WARNING resource://gre/modules/Preferences.jsm:378 - mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
###################################### forms.js loaded
############################### browserElementPanning.js loaded
######################## BrowserElementChildPreload.js loaded
*** UTM:SVC TimerManager:registerTimer - id: user-agent-updates-timer
###################################### forms.js loaded
############################### browserElementPanning.js loaded
######################## BrowserElementChildPreload.js loaded
JavaScript warning: app://system.gaiamobile.org/js/app_modal_dialog.js, line 33: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
############################### browserElementPanning.js loaded
######################## BrowserElementChildPreload.js loaded
XXX FIXME : Got a mozContentEvent: system-message-listener-ready
XXX FIXME : Got a mozContentEvent: inputmethod-update-layouts
XXX FIXME : Got a mozContentEvent: inputmethod-update-layouts
###################################### forms.js loaded
############################### browserElementPanning.js loaded
######################## BrowserElementChildPreload.js loaded
###################################### forms.js loaded
############################### browserElementPanning.js loaded
######################## BrowserElementChildPreload.js loaded
XXX FIXME : Got a mozContentEvent: force-update-check
###################################### forms.js loaded
############################### browserElementPanning.js loaded
######################## BrowserElementChildPreload.js loaded
###################################### forms.js loaded
############################### browserElementPanning.js loaded
######################## BrowserElementChildPreload.js loaded

[/LEFT]
[Samsung Galaxy Nexus] pureexe:
Why you not make FirefoxOS as cwm/twrp flashable package?

it very easy

do follow step 5 to 7 at http://xdaforums.com/showpost.php?p=47578507&postcount=343

This will avoid to delete /data/media
[Samsung Galaxy Nexus] lissyx:
Cool :)

Meanwhile, the logs you want to look at are those on the sdcard, i.e., /sdcard/strace-camera.log.*

---------- Post added at 10:01 AM ---------- Previous post was at 10:01 AM ----------

Or use ./build.sh gecko-update-fota and/or gecko-update-fota-full :)
[Samsung Galaxy Nexus] pureexe:
Thank for ./build.sh gecko-update-fota-full :)
[Samsung Galaxy Nexus] erotavlas:
Hi,

I would like to know if there is a way to install Firefox OS v2.0 on my Samsung S4 mini smartphone? I read here https://developer.mozilla.org/en-US/..._prerequisites and Samsung S4 mini it is not in the tiers' phones.

Thank you
[Samsung Galaxy Nexus] blmvxer:
You just have to learn how to port and build.
[Samsung Galaxy Nexus] erotavlas:
Thank you for your reply. I'm not a developer, where can I find information about porting? How much is difficult to do? I know how to build from mozilla website https://developer.mozilla.org/en-US/Firefox_OS/Building_and_installing_Firefox_OS
[Samsung Galaxy Nexus] ktetreault14:
Can i install this on verizon version?
[Samsung Galaxy Nexus] ktetreault14:
Awww man link doesn't. Work
[Samsung Galaxy Nexus] audiosmurf:
would love to try, but links are down
[Samsung Galaxy Nexus] Maysi2k:
Downloadlinks are down :/ can everyone upload the files please?

Thanks :)
[Samsung Galaxy Nexus] sub2k1:
I think that B2G will have greater flexibility than Android ever could. To start, B2G will be released under the Mozilla Public License (as opposed to the Apache license for Android.) While both OS run linux at their core, B2G will rely on HTML5 code which is, at least in my opinion, superior to Java. This OS has great potential and while I don't expect to see B2G shipping on any devices in the future I am confident that it will have a large amount of support from our dev community. Time will tell but I can't wait to see a stable build.
[Samsung Galaxy Nexus] BlkSquad:
I'm not much on dev work but I'd be willing to give a hand where I can. I'd be interested in helping with the dev work, I just don't expect to do anything super helpful really. Are you on github?
[Samsung Galaxy Nexus] kickokim:
I though you could use HTML5 on android too, and java isn't the only way to write android apps, right?

Also android can be used without Google apps if you want to be free from Google.
[Samsung Galaxy Nexus] SoleOfJohn:
Android can use HTML5 for things but it's core OS runs Linux w/Java... At least AFAIK...
[Samsung Galaxy Nexus] ruffneckZeVo:
I've seen this on the nexus s nice os all web based
[Samsung Galaxy Nexus] sofia-captivate:
Does this rom have market access?
[Samsung Galaxy Nexus] Atrixx:
Highly unlikely that Firefox OS has many apps, let alone a market. It's a completely different operating system.

That being said, it's interesting to see what this could to the android ecosystem since this is a lot more dev friendly.
[Samsung Galaxy Nexus] CADude:
Please stop posting.
[Samsung Galaxy Nexus] sam razzy:
Is the call and SMS working... I read OP but still dint clear up... sorry I didn't go through this thread...

sent from jElly Belly NeXus PrimE
[Samsung Galaxy Nexus] CoSaWa:
Read the fifth post, its working but not for daily usage, only for experimenting.
[Samsung Galaxy Nexus] tramane:
is there an easy way to reassign the volume buttons

instead of volume up and down, one is back and one is menu

Im sure there is a way to get to volume through the settings
[Samsung Galaxy Nexus] joshua.justice:
Anyone with excessive HTML experience should be able to code for this phone. It's all web based.
[Samsung Galaxy Nexus] sofia-captivate:
If my post bothers you don't read them you troll.
[Samsung Galaxy Nexus] kind3rgarten:
Could we possibly dual boot this with Boot Manager? Like how the SGS2 can dual boot Android Roms?
[Samsung Galaxy Nexus] bilboa1:
It's based on Android for the base OS (gonk) so yes you can dual boot it just the same.
[Samsung Galaxy Nexus] kind3rgarten:
With Boot Manager?
[Samsung Galaxy Nexus] adeklipse:
1. He's not trolling

2. It's Firefox OS. What do you think?

3. It's pre-alpha. Even the OS itself isn't stable yet, let alone an unofficial build.
[Samsung Galaxy Nexus] dbnaruto:
Will there be a Toro build? I am very eager to test this :D
[Samsung Galaxy Nexus] evodon84:
We would need a dual boot kernel or Boot Manager working for Firefox OS. AFAIK neither of those are currently available so for now, no you can't dual boot this rom.
[Samsung Galaxy Nexus] chickenfeeder:
On Android HTML5 is used in the different web browsers or as a browser element embedded in an app. In Firefox OS the HTML5 is native and Mozilla have written extensions to the HTML5 specification to control the phone directly (i.e. telephony, camera, etc...). That's why I'm so excited about it.
[Samsung Galaxy Nexus] Bayint Naung:
So basically B2G is just like webOS?

Everything in html 5/ javascript?? no native at all?

Interestingly there's another web-based OS coming out called 'Tizen' too...
[Samsung Galaxy Nexus] johnw230873:
Yep another OS for a phone, at the begining I was too interested as it was just another, even if it's a good OS it still has a high hill to clumb as a new OS. The thing that changed my mind was that (from another source not me) about 75% of apps for Andriod and IOS are HTML5 so even though out of the box they wont work on this OS it shouldn't take much to convert them, meaning from the get go there could be a lot of applciations ready to work on the device which Windows mobile didn't have.

Maybe it will fly, time will tell ?
[Samsung Galaxy Nexus] Axel2033:
Build 2:

-Update code base

-Support flash firmware via recovery

-Increased performance

!!!! As yet unexplained reasons, if not flash userdata, the screen does not work.
[Samsung Galaxy Nexus] sert00:
i don't need the esigence to be free from google...i'm fine with that..at least i think this phrase could be used by an apple users.."to be free from apple"....and the phrase to have a fast OS...well...on JB now..and it's a fast os....

haven't the need like you,but definetly better to have the chooice of what os loading on nexus.i'll try that when home.
[Samsung Galaxy Nexus] jscurtu:
Is this even useful without softkeys?
[Samsung Galaxy Nexus] Lesicnik1:
Not really.

I had to battery pull every time I went into any menu.
[Samsung Galaxy Nexus] alain57:
ok where does i find this ?
[Samsung Galaxy Nexus] lithid-cm:
I have been working on a soft key solution. Its pretty ugly at the moment and basically an overlay menu consisted of a back button but is forced to a "top level" view so always visible. I'm curious if anyone is interested in testing this. If there is interest please thank this thread or reply and let me know. I will shoot a few random people some details.

Thanks.
[Samsung Galaxy Nexus] sam razzy:
I know this is an experimental build... but still wanna test it for you... before my download completes.. I jus want to know why u changed the status of prealpha to build 2... why can't prealpha 2...? Jus curious to know whether calls r working.. as I have my s2.. This b2g has calls but sometimes get stuck... ;)

sent from jElly Belly NeXus PrimE
[Samsung Galaxy Nexus] lithid-cm:
Currently the data that is relevant to the homescreens and such live on the data partition.
[Samsung Galaxy Nexus] jzero88:
Awsome! Maybe you can send to op and he can add it to the original post as an additional flash able zip?

Keep it up :)
[Samsung Galaxy Nexus] CADude:
I actually think Tizen has a better chance than Firefox OS at being a viable competitor to Android. I'd like somebody to port Tizen to the Nexus as well.

Not to take away from Firefox OS, I think both should be there, but Firefox has less support than Tizen does.
[Samsung Galaxy Nexus] bmg1001:
Is it supposed to have a black bootanimation using the flashable one?
[Samsung Galaxy Nexus] Bayint Naung:
I"m quite interested in tizen, . It should be more 'open'. :cool:

The only problem new mobile OSes need to overcome is ecosystem. (cloud , services, apps, devices....)....

As far as I remember, SGS2 had B2G for some time...
[Samsung Galaxy Nexus] alain57:
i tested it here is my feedback

1: the poster did not include the userdata.img (i needed to find a cache version of this thread to download the first release to have this data... maybe it would make sense to post it on first page of topic...)

2: unfortunatly it will delete all data on SD... but if you read previous comments its not a problem (really ? the backup time for 10 Gig is long ^^and the restore time too)

3: its amazing FAST boottime (here maybe google can do some improvement on next android version) i mean i saw the google logo, then wait 2-3 sec and paff i'm in ;)

4: a lot of stuff did not work ( . the thread says wifi works... well i turned it on, but it only scanned for ever... never found one single wifi...), camera and so on

5: the resolution is not well adapted... all things are too small, it is very difficult to press the back button (the in app back button)

6: AND THAT IS THE MAIN REASON WHY THIS ROM IS NOT FOR DAILY USE IMO : there are no softkeys.. so once in an app, you can't go out :p (maybe there is some gesture, but i didn't find it)