Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-05-11 Thread Felix E. Klee
For completeness, and as I was using the Flame target anyhow, I tried booting from the Flame [v18D][1] binary: $ fastboot boot myboot.img There was no error message, but it didn't boot. Seems like I was too optimistic. I also checked if I can boot the Flame with the same command, and yes it

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-05-07 Thread Felix E. Klee
On Thu, May 7, 2015 at 10:46 AM, Gabriele Svelto gsve...@mozilla.com I guess it is. Try the `flame` build again but do this first: before invoking build.sh delete the file under device/t2m/flame/extract-files.sh Thanks, the build now finished: $ cd B2G $ BRANCH=v1.4 ./config.sh -j4

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-05-07 Thread Felix E. Klee
On Thu, May 7, 2015 at 1:28 PM, Alexandre Lissy ali...@mozilla.com wrote: You should be able to add a --dt flag and pass it the dt.img generated `dt.img` is missing, and so I built it myself, and added it: $ B2G/device/qcom/common/dtbtool/dtbtool -o dt.img -s 2048 \ -p

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-05-07 Thread Felix E. Klee
On Thu, May 7, 2015 at 10:46 AM, Gabriele Svelto gsve...@mozilla.com I guess it is. Try the `flame` build again but do this first: before invoking build.sh delete the file under device/t2m/flame/extract-files.sh Thanks, the build now finished: $ cd B2G $ BRANCH=v1.4 ./config.sh -j4

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-05-06 Thread Felix E. Klee
Got the kernel to compile. Actually, there were still errors, which I didn't see due to `-j4`. `zImage` was not build. I had to adjust some include paths, weird. Then I built the `emulator-jb` B2G, and the boot image. Attempt to boot the device with that image: $ fastboot boot myboot.img

Re: [b2g] Compiling Fire C kernel: What am I doing wrong?

2015-05-06 Thread Felix E. Klee
On Wed, May 6, 2015 at 5:33 PM, Felix E. Klee felix.k...@inka.de wrote: $ make msm8610_defconfig Forgot to mention import steps preceeding the above command: # export ARCH=arm # export SUBARCH=arm # export CROSS_COMPILE=arm-eabi

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-05-06 Thread Felix E. Klee
From `B2G/device/t2m/flame/extract-files.sh`: if [[ ! -d ../../../backup-${DEVICE}/system ]]; then echo Backing up system partition to backup-${DEVICE} mkdir -p ../../../backup-${DEVICE} adb root sleep 1 adb wait-for-device adb pull /system

Re: [b2g] Compiling Fire C kernel: What am I doing wrong?

2015-05-06 Thread Felix E. Klee
I think I did several things wrong. Finally I looked at Google’s Android kernel building [guide][1], which I just discovered. To install the ARM cross compiler, I proceeded as follows: $ git clone https://android.googlesource.com/platform/prebuilts/gcc/ linux-x86/arm/arm-eabi-4.6 $

[b2g] Compiling Fire C kernel: What am I doing wrong?

2015-05-04 Thread Felix E. Klee
What follows are the steps that I undertook. They lead to an error message. Now I wonder: *Did I do something wrong, or did Alcatel not provide the proper source code?* Prepared ARM cross compiler: $ git clone https://android.googlesource.com/platform/prebuilt -b \ ics-plus-aosp $

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-05-03 Thread Felix E. Klee
On Sun, May 3, 2015 at 4:52 PM, Felix E. Klee felix.k...@inka.de wrote: *Which target should I choose? Just remembered Gabriele's suggestion to use `flame` as target. Trying that now. I see that there is also `flame-kk`, where the kk seems to be refer to Android KitKat. *How can I tell whether

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-05-03 Thread Felix E. Klee
With the `flame` target, build fails with: Blob setup script has changed, re-running Backing up system partition to backup-flame error: device not found I’m now trying with the emulator again: BRANCH=v1.3 ./config.sh -j4 emulator-jb No idea if that makes sense…

Re: [b2g] Do Keon firmware updates include Gonk?

2015-04-16 Thread Felix E. Klee
On Thu, Apr 16, 2015 at 11:05 AM, Augustin Trancart augustin.tranc...@gmail.com wrote: the way FxOs detected the orientation has apparently changed in 1.2 , *In the Gecko layer? Or was it changed in Gonk?* So actually it broke when updating from 1.1 to 1.2, not - as I said earlier - when

Re: [b2g] Do Keon firmware updates include Gonk?

2015-04-15 Thread Felix E. Klee
On Wed, Apr 15, 2015 at 4:23 PM, Juan Antonio Aguilera Tamayo pochy.jaaguil...@gmail.com wrote: @Felix You dare to compile it for us and share? Well, first I'd like to understand the architecture. *Really, how can something like screen orientation detection break if one doesn't mess with Gonk?

Re: [b2g] Do Keon firmware updates include Gonk?

2015-04-15 Thread Felix E. Klee
On Tue, Apr 14, 2015 at 10:26 PM, Juan Antonio Aguilera Tamayo pochy.jaaguil...@gmail.com wrote: which is my primary device Mine too. The Flame is nice, but hardware is unstable: It sometimes shuts itself off in my pocket. Admittedly my Flame hit the floor once, though it still looks perfect on

Re: [b2g] Do Keon firmware updates include Gonk?

2015-04-15 Thread Felix E. Klee
On Wed, Apr 15, 2015 at 11:33 AM, Arief Bayu Purwanto ariefb...@gmail.com wrote: From what I understand having emaling geekspone at one point, they have stopped support for Keon. So, I don't think there will be any rom update from them. Understandable. After all, the current developer device

[b2g] Do Keon firmware updates include Gonk?

2015-04-14 Thread Felix E. Klee
When updating the Keon to [certain versions][1], then things break. For example, after updating from 1.2 to 1.3, automatic detection of phone orientation stopped working. The phone does not detect landscape orientation anymore. I wonder why that happens. After all, at least for the same major

Re: [b2g] How to get network operator name?

2015-04-12 Thread Felix E. Klee
On Sun, Apr 12, 2015 at 11:29 PM, Fabrice Desré fabr...@mozilla.com wrote: You didn't set type: privileged in your manifest so you didn't get the permission. Yes… Thanks! BTW the manifest validated. Anyhow, now `navigator.mozMobileConnections[1]` gives: { lastKnownNetwork:

Re: [b2g] How to get network operator name?

2015-04-12 Thread Felix E. Klee
}, developer: { name: Felix E. Klee }, permissions : { mobilenetwork : { description : Required to obtain mobile network information. } }, default_locale: en } *What am I missing?* [1]: http://mxr.mozilla.org/mozilla

Re: [b2g] Whose copyright does Alcatel violate?

2015-04-12 Thread Felix E. Klee
Don't know if it was me asking again and again, also escalating the issue with telephone support two weeks ago, but the source has finally been released on the 9th: https://sourceforge.net/projects/alcatel/files/ :-D ___ dev-b2g mailing list

[b2g] How to get network operator name?

2015-04-12 Thread Felix E. Klee
According to the [app permissions documentation on MDN][1], the Mobile Network API is available to privileged apps. On the [page for that API][2], however, it says: This API is available on Firefox OS for internal applications only. *Who is right? And if the API is available to privileged apps,

Re: [b2g] View B2G/Gaia version on command line?

2015-04-11 Thread Felix E. Klee
On Sat, Apr 11, 2015 at 5:34 PM, Fabrice Desré fabr...@mozilla.com wrote: [...] which is what b2g.sh does. There is no `b2g.sh`. Surely you mean: run-mozilla.sh ___ dev-b2g mailing list dev-b2g@lists.mozilla.org

[b2g] View B2G/Gaia version on command line?

2015-04-11 Thread Felix E. Klee
I tried, to no avail: adb shell root@flame:/ # cd /system/b2g root@flame:/system/b2g # ./b2g –-version CANNOT LINK EXECUTABLE: could not load library libmozglue.so needed by ./b2g; caused by library libmozglue.so not found Just out of curiosity…

Re: [b2g] View B2G/Gaia version on command line?

2015-04-11 Thread Felix E. Klee
Thanks Fabrice, got it to work: # cd /system/b2g # export LD_PRELOAD=./libmozglue.so # ./b2g –-version 2/dev/null Mozilla B2G 40.0a1 :-D (STDERR redirect to avoid ugly warnings) ___ dev-b2g mailing list dev-b2g@lists.mozilla.org

Re: [b2g] Whose copyright does Alcatel violate?

2015-03-19 Thread Felix E. Klee
On Wed, Mar 18, 2015 at 4:19 PM, Denver Gingerich den...@ossguy.com wrote: Firefox OS includes the kernel named Linux so at least that part is released under the GPL. Yes. By the way, even if Alcatel uses an unmodified version of the kernel and its modules, as far as I understand the GPL,

Re: [b2g] Whose copyright does Alcatel violate?

2015-03-19 Thread Felix E. Klee
On Wed, Mar 18, 2015 at 3:44 PM, Kyle Huey m...@kylehuey.com wrote: IANAL, but Gecko source code is released primarily under the MPL 2. Gaia is Apache licensed. Many of the core components of Firefox OS are not necessarily subject to the GPL. I'm mostly talking about the kernel and its

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-03-16 Thread Felix E. Klee
On Mon, Feb 23, 2015 at 2:25 PM, Felix E. Klee felix.k...@inka.de wrote: I contacted Alcatel, asking for the source. The official support directed me to: http://sourceforge.net/projects/alcatel/files/ Still the Fire C (4019) source is not available on that site. I now sent messages

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-02-21 Thread Felix E. Klee
Seems like some URLs have been deprecated, such as: https://git.mozilla.org/b2g/platform_external_qemu ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-02-21 Thread Felix E. Klee
What finished, although with error messages in between: BRANCH=v1.0.1 ./config.sh Now I'm running the build process. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-02-21 Thread Felix E. Klee
Sorry, 1.4 instead of 1.0.1 (failed). ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-02-21 Thread Felix E. Klee
On Sat, Feb 21, 2015 at 6:13 PM, Gabriele Svelto gsve...@mozilla.com wrote: Building 1.4 seems to have succeeded (after a couple of hickups where I had to install missing build dependencies): Do you have a specific reason for trying older versions of the emulator? It's most likely possible to

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-02-21 Thread Felix E. Klee
Building 1.4 seems to have succeeded (after a couple of hickups where I had to install missing build dependencies): [...] Finding NOTICE files: out/target/product/generic/obj/NOTICE_FILES/hash-timestamp Combining NOTICE files: out/target/product/generic/obj/NOTICE.html Installed

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-02-21 Thread Felix E. Klee
Can someone replicate the issue? ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-02-21 Thread Felix E. Klee
On Sat, Feb 21, 2015 at 6:31 PM, Gabriele Svelto gsve...@mozilla.com wrote: The article doesn't mention building for the emulator hence I'm not really sure why you're doing it. There was no mentioning of any platform, and - without putting thought into it - I was assuming that what’s taken from

Re: [b2g] How to backup data from Alcatel OneTouch Fire C?

2015-02-20 Thread Felix E. Klee
Thanks for raising the issue here, Ralph! To be honest,I doubt that Alcatel would tell users how to root devices. After all, it's not a developer device, and giving root access raises security issues. Without the device being rooted, however, I cannot migrate and backup OpenWapp messages. That

[b2g] Failure: `BRANCH=v1-train ./config.sh emulator`

2015-02-20 Thread Felix E. Klee
Last lines: Fetching projects: 68% (57/83) Fetching project platform/external/gtest0 0 00 00 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.

Re: [b2g] Flame with 2.2: Pushing Gecko to device failed.

2015-02-15 Thread Felix E. Klee
On Thu, Feb 12, 2015 at 9:35 PM, Julien Wajsberg jwajsb...@mozilla.com wrote: We could help you with the error message. With 188/2.2 properly installed on the device, I flashed v18D again, from the same archive that I had downloaded before. Now it worked!

Re: [b2g] Flame with 2.2: Pushing Gecko to device failed.

2015-02-11 Thread Felix E. Klee
Migrated the Xubuntu virtual machine from Virtual Box to VMware Player, and now pushing, and now the update went through smoothly. Only in the end, the script hung at: ### Push Done. For connecting the Flame I used the Recovery Cable. I also tried the [v18D] nightly, but that failed with

Re: [b2g] Flame with 2.2: Pushing Gecko to device failed.

2015-02-10 Thread Felix E. Klee
On Tue, Feb 10, 2015 at 2:01 PM, Archaeopteryx archaeopte...@coole-files.de wrote: VirtualBox 4.3.20 (but also happened with previous versions) Host: Windows 8.1 64 bit VirtualBox could indeed be the culprit. Just did a quick web search, and [found][1]: “The only caveat I would add is

[b2g] Flame with 2.2: Pushing Gecko to device failed.

2015-02-08 Thread Felix E. Klee
My Flame does not want to take production build 2.2: https://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g37_v2_2-flame-kk/ Before attempting to flash, I installed base image v188. I repeated the entire process several times, with the Recovery Cable, and with a normal USB cable.

Re: [b2g] reference phone improvements

2014-12-09 Thread Felix E. Klee
On Mon, Dec 8, 2014 at 2:01 PM, Alexandre Lissy ali...@mozilla.com wrote: The second SIM slot only allows for 2G. The sad thing is that I'm talking about the first SIM slot. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org

Re: [b2g] reference phone improvements

2014-12-08 Thread Felix E. Klee
Better reception, please! Currently I am in a remote location in [Lanzarote][1], and if I need to make an important phone call, then I revert back to my Keon. Also, using the same SIM, the Flame only receives 2G while the Keon receives 3G. [1]: https://www.facebook.com/cyberhippitotalism

Re: [b2g] reference phone improvements

2014-11-30 Thread Felix E. Klee
The beautifully sculptured orange shell of the Keon made my gf - an iPhone user - envious. The Flame OTOH looks a bit too conventional. At least for me, a developer device should scream Firefox OS! ___ dev-b2g mailing list dev-b2g@lists.mozilla.org

Re: [b2g] Remote control camera via PTP/IP?

2014-05-05 Thread Felix E. Klee
On Fri, May 2, 2014 at 11:06 AM, Felix E. Klee felix.k...@inka.de wrote: https://developer.mozilla.org/en-US/docs/WebAPI/TCP_Socket That did the trick! ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

[b2g] Remote control camera via PTP/IP?

2014-05-02 Thread Felix E. Klee
I expect to receive a [Ricoh Theta][1] in the upcoming days. For taking pictures, the camera only has a shutter button. Exposure compensation and remote shutter are supposed to be controlled via a smartphone app, available for Android and iOS. For wireless connection, the camera provides a Wi-Fi

Re: [b2g] Remote control camera via PTP/IP?

2014-05-02 Thread Felix E. Klee
Just found something interesting: https://developer.mozilla.org/en-US/docs/WebAPI/TCP_Socket ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Why does the screen flicker?

2013-11-07 Thread Felix E. Klee
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=935901 There may be a connection to the flickering issue. In any case, when the virtual keyboard pops up, layout easily breaks. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org

[b2g] Why does the screen flicker?

2013-11-05 Thread Felix E. Klee
`index.html`: !DOCTYPE html head meta name=viewport content=width=device-width, user-scalable=no titleTest/title /head body input script src=index.js/script /body `index.js`: (function () { 'use strict'; function onResize() {

Re: [b2g] Any desktop version that works?

2012-10-23 Thread Felix E. Klee
On Mon, Oct 22, 2012 at 5:21 PM, Justin Lebar justin.le...@gmail.com wrote: I successfully built B2G desktop on x86-64 Ubuntu 12.04, using GCC 4.6 Just tried it, with this exact setup: https://gist.github.com/3938584 Summary: internal compiler error

Re: [b2g] Any desktop version that works?

2012-10-23 Thread Felix E. Klee
On Tue, Oct 23, 2012 at 3:52 PM, Justin Lebar justin.le...@gmail.com wrote: All of your CC invocations are dying with ICEs. That doesn't look like a bug in GCC; that looks like something wrong with your setup (or a completely busted GCC binary, I suppose). Note that this happens with three

Re: [b2g] Any desktop version that works?

2012-10-23 Thread Felix E. Klee
On Tue, Oct 23, 2012 at 7:49 PM, Justin Lebar justin.le...@gmail.com wrote: Just a thought: Maybe your EC2 instance is running out of RAM. Good catch, that was it! I got it to compile just fine in an m1.large EC2 instance, with 7.5 GB of RAM. Timing of the build: real89m13.421s

Re: [b2g] Any desktop version that works?

2012-10-23 Thread Felix E. Klee
On Sun, Oct 21, 2012 at 12:59 AM, Felix E. Klee felix.k...@inka.de wrote: * [B2G/Gaia Nightly][1] on 32bit Ubuntu 12.04 Linux. Doesn't seem to work: When starting, I can unlock the screen, but normally (i.e. except once) the app icons don't appear. Just tried again, but this time

Re: [b2g] Any desktop version that works?

2012-10-22 Thread Felix E. Klee
On Sun, Oct 21, 2012 at 11:40 PM, Felix E. Klee felix.k...@inka.de wrote: Puh, that doesn't work either possibly due to a gcc bug. So I updated Ubuntu from 12.04 to 12.10. New gcc, and new bug during the build process. Last lines: /home/ubuntu/FirefoxOS/b2g-source/src/js/src

Re: [b2g] Any desktop version that works?

2012-10-22 Thread Felix E. Klee
On Mon, Oct 22, 2012 at 4:21 PM, Justin Lebar justin.le...@gmail.com wrote: GCC 4.6 should work fine. Stopped with internal compiler error. I don't think any of us is compiling on 32-bit hosts. How times have changed. My laptop is 32bit, but of course on EC2 I can easily fire up a 64bit

Re: [b2g] Any desktop version that works?

2012-10-22 Thread Felix E. Klee
On Mon, Oct 22, 2012 at 11:55 AM, Gabriele Svelto gsve...@mozilla.com wrote: that looks like a warning, Just the last lines. Further up there is an internal compiler error. can you post a longer excerpt from the log? Here you go (search for `$` to see the commands I ran):

Re: [b2g] Any desktop version that works?

2012-10-22 Thread Felix E. Klee
On Mon, Oct 22, 2012 at 5:08 PM, Justin Lebar justin.le...@gmail.com wrote: As we indicated earlier, we'd love to help, Believe me, I am very grateful for that! but we need a lot more information than this. Just submitted. What would be a lot of help for me is to know on which system you

Re: [b2g] Any desktop version that works?

2012-10-22 Thread Felix E. Klee
On Mon, Oct 22, 2012 at 5:21 PM, Justin Lebar justin.le...@gmail.com wrote: I successfully built B2G desktop on x86-64 Ubuntu 12.04, using GCC 4.6, for many months. Obviously if GCC 4.7 is ICE'ing on you, you probably should avoid that. As said before, GCC 4.6 on Ubuntu 12.04 was also ICE'ing.

Re: [b2g] Any desktop version that works?

2012-10-22 Thread Felix E. Klee
Thanks! This helps me understand a little better the status of the project. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Any desktop version that works?

2012-10-21 Thread Felix E. Klee
On Sun, Oct 21, 2012 at 1:12 PM, Ahmed Nefzaoui nefzaoui.ah...@hotmail.com wrote: Windows' emulator crashing I saw this too: The Nightly that I tried on WinXP/32 crashed. That's why I went to Linux, hoping that things work better there. and Linux's seems to work very slowly :( At first I also

Re: [b2g] Any desktop version that works?

2012-10-21 Thread Felix E. Klee
On Sun, Oct 21, 2012 at 12:59 AM, Felix E. Klee felix.k...@inka.de wrote: * [Gaia in Firefox][2] 16.0.1 on Linux as above. Doesn't seem to work: The [included webserver][3] just shows a black page with mozilla in the lower right hand corner. There is not even the unlock screen

Re: [b2g] Any desktop version that works?

2012-10-21 Thread Felix E. Klee
On Sun, Oct 21, 2012 at 7:32 PM, Ben Francis b...@krellian.com wrote: https://bugzilla.mozilla.org/show_bug.cgi?id=803996 Commented on that. I also notice you seem to indicate you're trying to run a 64bit build on a 32bit OS I don't think that's possible. It must be a 32bit build. What I

Re: [b2g] Any desktop version that works?

2012-10-21 Thread Felix E. Klee
On Sun, Oct 21, 2012 at 9:19 PM, Felix E. Klee felix.k...@inka.de wrote: In any case, maybe I should try building from source. Puh, that doesn't work either possibly due to a gcc bug. I wonder on which platform B2G development is primarily happening. Contents of `.mozconfig

[b2g] Any desktop version that works?

2012-10-20 Thread Felix E. Klee
I would like to make a web app available to FirefoxOS. Therefore I want to test: * installation (via `manifest.webapp`) * offline capability * compatibility (of course) For testing I tried: * Some prebuilt B2G/Gaia emulator for Windows, version 0.6. I don't remember where I got it