Re: [b2g] Putting new Add-ons on Hackerplace

2015-08-25 Thread A. Crespo
Hi,

Alternatively, I have found another way, despite it is not that good. I
have cloned my own Hackerplace and made it to ask for my own JSON:
https://www.codingfree.com/addons/apps.json

It helped me to try some addons.

Best regards.

2015-08-25 21:38 GMT+02:00 Michael Henretty :

> As many of you have pointed out to me, you cannot use WebIDE to install
> the new format add-ons. I filed this just now:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1198433
>
> In the meantime, to install and test the new add-ons you can use the
> Hackerplace!
>
> Here's what you do:
>
> Install the latest Firefox OS on your device.
> Add your app metadata to the v2 app list [1].
> Set the DEBUG flag to true here [2].
> run `npm install && gulp build`
> Install the Hackerplace app using WebIDE or sole's excellent
> install-to-adb [3].
> You should see your add-on in the list there, and be able to install it.
>
> Let me know if you have any questions!
>
> 1.)
> https://github.com/fxos/directory/blob/1b05c8d5b24127fc6b8d20001ec460215677e0d0/app/apps-v2.json
> 2.)
> https://github.com/fxos/directory/blob/1b05c8d5b24127fc6b8d20001ec460215677e0d0/app/js/model/list_model.js#L3
> 3.) https://github.com/sole/install-to-adb
>
>
> On Thu, Aug 20, 2015 at 3:30 PM, Michael Henretty 
> wrote:
>
>> Hi all,
>>
>> Earlier, Fabrice sent out a nice how-to guide for migrating your add-ons
>> to the new format [1]. Now I would like to tell you how to put these new
>> add-ons on the Hackerplace.
>>
>> First, you will obviously need to update your code as specified in the
>> guide. I recommend hosting both the new add-on format and the old one in
>> the same repo on github pages. This means you will have two packages (zip
>> files) hosted there simultaneously. Here is a commit I did for my add-on
>> that does the trick [2].
>>
>> Then you will need to submit the new package to the Hackerplace. For the
>> old Hackerplace, you would put your add-on on the list in apps.json [3].
>> Now, you simply add the new add-on to apps-v2.json [4], but specify the
>> update.manifest in the manifestURL field.
>>
>> That's it! Let me know if you have any questions.
>>
>> Thanks,
>> Michael
>>
>> 1.) https://etherpad.mozilla.org/converting-fxos-addons
>> 2.)
>> https://github.com/mikehenrty/fxos-shb-plus/commit/c38fbfb52b2ebf3b4c66cdf053d759c60e510481
>> 3.) https://github.com/fxos/directory/blob/master/app/apps.json
>> 4.) https://github.com/fxos/directory/blob/master/app/apps-v2.json
>>
>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Only GCC 4.7 or newer supported

2015-08-20 Thread A. Crespo
Hi guys,

I'll try to fix them this evening :)

Best regards.

2015-08-20 11:11 GMT+02:00 Thomas Zimmermann :

> Hi Paul,
>
> Are you sure you want to do that? What's the point of building these
> ancient versions? I don't think we'd accept patches for anything before
> v2.2.
>
> Anyway, if you really want to build these old releases, you should study
> some of the related bug reports [1][2][3] and modify the older releases
> accordingly.
>
> Best regards
> Thomas
>
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1056337
> [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1121600
> [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1121360
>
> Am 19.08.2015 um 21:08 schrieb Paul Aguilar:
> > Hi Adrian!
> >
> > Juan Gomez answered this in the bugzilla thread.
> >
> > "Hamachi, Inari and Keon are ICS devices, and we already upgraded them
> > to gcc-4.8 base toolchain time ago. That upgrade was only applied on
> > versions greater than v2.2. AFAIK older versions are not officially
> > supported anymore, so if you are trying to compile an older version,
> > we would need to patch them in order to work.
> > Adrian Crespo already fixed some of this branches, so let's see if he
> > can help you and fix older versions."
> >
> > I've never fixed nothing for mozilla so I dont know how is the
> > process. I want compile all the posible branches for Hamachi, Inari,
> > Keon and Flatfish because I have that devices and as Juan said, the
> > patch was only applied on v2.2 and superio, so if I need to fix it I
> > can try but I need some help :P
> > Please, If you can tell me how to do it or some guide would be great :D
> >
> > Thanks!
> >
> > 1.- Juan Gomez Profile (
> > https://bugzilla.mozilla.org/user_profile?login=atilag%40gmail.com )
> >
> > 
> > Date: Wed, 19 Aug 2015 12:19:26 +0200
> > Subject: Re: [b2g] Only GCC 4.7 or newer supported
> > From: madrid.cre...@gmail.com
> > To: paul.aguilar.enriq...@hotmail.com
> > CC: mozilla-dev-...@lists.mozilla.org
> >
> > Hi,
> >
> > I recommend you to fix it and send a PR to the b2g-manifests repo :)
> >
> >
> > Regards.
> >
> > 2015-08-19 6:13 GMT+02:00 Paul Aguilar
> >  > >:
> >
> > Hi Adrian
> >
> > I see, I thought that that compiler was the problem, but is the
> > file that comes with the repo so I discarded that option and
> > focused just in my host compiler. :/
> >
> > As I see just was fixed for the Keon, but what happen with the
> > other devices? like Hamachi or Inari, do you recommend fix it in
> > my local repo?
> >
> > Thanks :)
> >
> > > Date: Tue, 18 Aug 2015 08:19:19 -0700
> > > From: madrid.cre...@gmail.com 
> > > To: mozilla-dev-...@lists.mozilla.org
> > 
> > > Subject: Re: [b2g] Only GCC 4.7 or newer supported
> > >
> > > Related? https://bugzilla.mozilla.org/show_bug.cgi?id=1121600
> > > ___
> > > dev-b2g mailing list
> > > dev-b2g@lists.mozilla.org 
> > > https://lists.mozilla.org/listinfo/dev-b2g
> >
> >
> >
> >
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-b2g
>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Only GCC 4.7 or newer supported

2015-08-19 Thread A. Crespo
Hi,

I recommend you to fix it and send a PR to the b2g-manifests repo :)


Regards.

2015-08-19 6:13 GMT+02:00 Paul Aguilar :

> Hi Adrian
>
> I see, I thought that that compiler was the problem, but is the file that
> comes with the repo so I discarded that option and focused just in my host
> compiler. :/
>
> As I see just was fixed for the Keon, but what happen with the other
> devices? like Hamachi or Inari, do you recommend fix it in my local repo?
>
> Thanks :)
>
> > Date: Tue, 18 Aug 2015 08:19:19 -0700
> > From: madrid.cre...@gmail.com
> > To: mozilla-dev-...@lists.mozilla.org
> > Subject: Re: [b2g] Only GCC 4.7 or newer supported
> >
> > Related? https://bugzilla.mozilla.org/show_bug.cgi?id=1121600
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Only GCC 4.7 or newer supported

2015-08-18 Thread A. Crespo
Related? https://bugzilla.mozilla.org/show_bug.cgi?id=1121600
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Bug 1193258 - [flame-kk] Failed to pull chrome.manifest

2015-08-16 Thread A. Crespo
Hi,

Could you confirm is this is a bug?
https://bugzilla.mozilla.org/show_bug.cgi?id=1193258

I am using the latest base image (L1TC000118D0) and one of the latest
builds from the official repository (20150813150207).

Best regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Error when doing repo sync.

2015-08-09 Thread A. Crespo
Hi,

I have the same problem. I went to the folder "device/qcom/msm7627a" and I did 
a reset --hard, and the HEAD was changed. But when I try to do ./config 
flame-kk, I get the same problem.

Best regards.

> 
> There are changes to your device/qcom/msm7627a, did you make changes ?
> 
> You may go to this repository and git stash or reset depending on
> whether you need those changes :)
> 
> > are present
> > 
> > How to fix it?
> > 
> > Regards.
> > 
> > 
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-b2g
> >

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Anyone up for a GSoC with FreeBSD ?

2015-03-22 Thread A. Crespo
It sounds cool. I haven't apply for any project, yet.

El sábado, 21 de marzo de 2015, 18:05:48 (UTC+1), Pedro Giffuni  escribió:
> Hello;
> 
> There's still time for the GSoC 2015 ,so I though I'd suggest the idea of
> porting FireFox OS to FreeBSD as a Gonk replacement:
> 
> https://wiki.freebsd.org/IdeasPage#Port_Firefox_OS_to_work_with_FreeBSD
> 
> If there is an interesting proposal perhaps we (FreeBSD) could also
> team up with a mentor from the FireFOX OS team, but this is just an idea
> right now.
> 
> Best regards,
> 
> PEdro.

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Setting the update channel

2015-01-12 Thread A. Crespo
> Looks to me like your update URL has encoded % (%25) rather than plain ones. 
> I'm not sure how it happened, but the URL should be exactly as Chris posted, 
> not with %25.

I guess I encoded the url when I copied it from Google Groups :\ But anyways, 
it is already changed: http://i.imgur.com/lEQ3n5b.png

The url is now:
https://aus4.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%PRODUCT_DEVICE%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml

But I have not any reply yet, this is my logcat:
http://i.imgur.com/Bu1QaSl.png

The "force check update" event is detected, but nothing happens. Why there is 
not any error message anywhere?

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Setting the update channel

2015-01-10 Thread A. Crespo
Hi,

I think I did it thanks to you, my update channel is "nightly" and the url is:
https://aus4.mozilla.org/update/3/%25PRODUCT%25/%25VERSION%25/%25BUILD_ID%25/%25PRODUCT_DEVICE%25/%25LOCALE%25/%25CHANNEL%25/%25OS_VERSION%25/%25DISTRIBUTION%25/%25DISTRIBUTION_VERSION%25/update.xml

However, when I check manually for updates, I don't get any error or any reply.

Am I missing anything?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Setting the update channel

2015-01-08 Thread A. Crespo
Hi Jason,

My b2g.js has:
pref("app.update.url", "
http://update.boot2gecko.org/flame/2.2.0/%CHANNEL%/b2g_update_source_%BUILD_ID%.xml
");
pref("app.update.channel", "nightly");

So that seems to be okay, but the build seems to be using this eventually:
http://pastebin.com/yrcgwpdm

So, I think that b2g.js is not the file that I should edit (or something is
overwriting it).

Thanks!

2015-01-08 5:45 GMT+01:00 Jason Weathersby :

> Did you try b2g.js update.url / update.channel. I believe this is in the
> gecko/b2g/app directory.
>
> On Wed, Jan 7, 2015 at 4:08 PM, A. Crespo  wrote:
>
>> Hi,
>>
>> I am building my own B2G builds and the update channel is not working for
>> me, so I guess that I didn't setup it properly. I don't receive any
>> Marketplace or system update.
>>
>> Would you know if there is any HOWTO available?
>>
>> Mac told me at the IRC that I need to modify the sources and compile the
>> build again, but I am not sure where I should set the channel. I checked
>> gaia/build/preferences.js but I didn't see anything related to it.
>>
>> What files should I change?
>>
>> By the way, my update url is:
>> http://pastebin.com/yrcgwpdm
>>
>> Would you know if it is okay?
>>
>> Best regards.
>>
>>
>>
>> ___
>> dev-b2g mailing list
>> dev-b2g@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-b2g
>>
>>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Setting the update channel

2015-01-07 Thread A. Crespo
Hi,

I am building my own B2G builds and the update channel is not working for
me, so I guess that I didn't setup it properly. I don't receive any
Marketplace or system update.

Would you know if there is any HOWTO available?

Mac told me at the IRC that I need to modify the sources and compile the
build again, but I am not sure where I should set the channel. I checked
gaia/build/preferences.js but I didn't see anything related to it.

What files should I change?

By the way, my update url is:
http://pastebin.com/yrcgwpdm

Would you know if it is okay?

Best regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] How to use Devtools to debug any process?

2015-01-01 Thread A. Crespo
Hi there,

I am trying to debug any process using the Devtools; In fact I'm trying to
debug my Keyboard app while any app is running.

I have enabled the port forwarding and connected succesfully the Devtools:
http://i.imgur.com/VgQuv6u.png

But it's only available one tab and one process. Where are the other
processes? I have at least another 4 processes.

I think I saw some time ago that I had to setup any special permissions in
prefs.js in order to use the Devtools at full power, but I am not sure what
It was. Do you remember anything like this?

Best regards and happy new year!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] No data connection and Google Calendar sync error in Mozilla Flame with latest 2.2

2014-10-20 Thread A. Crespo
About the data connection, nobody answered me: 
https://bugzilla.mozilla.org/show_bug.cgi?id=1082231
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Gaia is ignoring my locales.

2014-10-02 Thread A. Crespo
Hi,

I am wondering if any env variable is trolling me.

Would you know if there is any variable related to it?

Regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Gaia is ignoring my locales.

2014-09-28 Thread A. Crespo
Hi

Build.sh seems to be ignoring my locales. This is my .userconfig:
http://paste.ubuntu.com/8394970/

This is the gaia/locales/ folder:
http://paste.ubuntu.com/8394973/

And this is my languages_dev.json file:
http://paste.ubuntu.com/8394975/

Would you know why is Gaia ignoring the locales? I didn't find any error
message when building Gaia, so I am really stucked.

Regards!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Boot.img for Hamachi.

2014-09-20 Thread A. Crespo
Hi,

Could you share a working boot.img for the Hamachi device with me, please?
It's a matter of live or death (well, almost).

Best regards!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Change backup directory.

2014-08-30 Thread A. Crespo
That is the issue I'm having Andrew, it seems that some paths are not
right.The extract script sometimes looks for ../../backup-${DEVICE} but
sometimes it does one path deeper, ../../../backup...

That makes the builder to fail when tries to pull some lib* and it fail to
build B2G.

Well, If it's hardcoded, I'll try to fix it manually, thanks!


2014-08-30 16:56 GMT+02:00 Andrew Osmond :

> You need to set ANDROIDFS_DIR to the desired path, say in your .userconfig
> file. But the backup process is controlled by the extract-files.sh for each
> device (e.g. for flame it is found at
> https://github.com/mozilla-b2g/device-flame, or device/t2m/flame in your
> build folder). You may need to fix (at least) one of the if blocks that
> have the path hardcoded to "../../../backup-${DEVICE}", depending on your
> target. We should probably fix that in the repos :).
>
> - Original Message -
> From: "A. Crespo" 
> To: "Dev B2G List" 
> Sent: Saturday, August 30, 2014 9:05:03 AM
> Subject: [b2g] Change backup directory.
>
> Hi,
>
> Is there any way to change or specify a location for the backup-{device}/
> directory location when building B2G? Is there any environment variable to
> change it?
>
> Best regards.
>
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Change backup directory.

2014-08-30 Thread A. Crespo
Hi,

Is there any way to change or specify a location for the backup-{device}/
directory location when building B2G? Is there any environment variable to
change it?

Best regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Error: libadreno_utils.so not found

2014-08-11 Thread A. Crespo
Sorry Solano, I didn't notice my device wasn't being detected. I'm going to
build it again, I'm logging everything.

Lets see if it works now...


2014-08-11 17:31 GMT+02:00 A. Crespo :

> Hi Sotaro,
>
> I did it for the flame, and I have tried to remove system/ and
> /backup-flame/ everythime, so I forced to do the pull in each try.
>
> I have tried to do it again, but I'm having troubles to pull the files:
> Standard output: http://paste.ubuntu.com/8017959/
> Error output: http://paste.ubuntu.com/8017960/
>
> I'm trying to pull the files from a working flame build
> (v2.1-2014-07-31.commit-296c4022), so I can't understand why is not able to
> pull that files rightly.
>
> Thanks!
>
>
> 2014-08-11 15:39 GMT+02:00 Sotaro Ikeda :
>
> Hi,
>>
>> for which device did you built?
>> The libraries are pre-built library that should be extracted from the
>> device.
>> For flame device case, the libraries are specified by the following file.
>>
>> https://github.com/mozilla-b2g/device-flame/blob/master/extract-files.sh
>>
>>
>> sotaro
>> - Original Message -
>> From: "A. Crespo" 
>> To: "Dev B2G List" 
>> Sent: Saturday, August 9, 2014 8:19:19 PM
>> Subject: [b2g] Error: libadreno_utils.so not found
>>
>> Hi,
>>
>> I have built B2G five times, and each time I have done git pull, repo
>> sync -d and rm -r /system/ and /out/. I have done even a clean new build,
>> but B2G is still crashing during boot: http://pastebin.com/UzBqAUGc
>>
>> Someone suggested me that it is because libadreno_utils.so does not exist:
>> http://pastebin.com/vzWMb0fq
>>
>> E/libEGL ( 3180): load_driver(/vendor/lib/egl/libEGL_adreno.so): dlopen
>> failed: could not load library "libadreno_utils.so" needed by
>> "libEGL_adreno.so"; caused by library "libadreno_utils.so" not found
>>
>> Why is not adding it during the build process? Why are there missing
>> files?
>>
>> I really appreciate any help you can provide.
>>
>> ___
>> dev-b2g mailing list
>> dev-b2g@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-b2g
>>
>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Error: libadreno_utils.so not found

2014-08-11 Thread A. Crespo
Hi Sotaro,

I did it for the flame, and I have tried to remove system/ and
/backup-flame/ everythime, so I forced to do the pull in each try.

I have tried to do it again, but I'm having troubles to pull the files:
Standard output: http://paste.ubuntu.com/8017959/
Error output: http://paste.ubuntu.com/8017960/

I'm trying to pull the files from a working flame build
(v2.1-2014-07-31.commit-296c4022), so I can't understand why is not able to
pull that files rightly.

Thanks!


2014-08-11 15:39 GMT+02:00 Sotaro Ikeda :

> Hi,
>
> for which device did you built?
> The libraries are pre-built library that should be extracted from the
> device.
> For flame device case, the libraries are specified by the following file.
>   https://github.com/mozilla-b2g/device-flame/blob/master/extract-files.sh
>
>
> sotaro
> - Original Message -
> From: "A. Crespo" 
> To: "Dev B2G List" 
> Sent: Saturday, August 9, 2014 8:19:19 PM
> Subject: [b2g] Error: libadreno_utils.so not found
>
> Hi,
>
> I have built B2G five times, and each time I have done git pull, repo sync
> -d and rm -r /system/ and /out/. I have done even a clean new build, but
> B2G is still crashing during boot: http://pastebin.com/UzBqAUGc
>
> Someone suggested me that it is because libadreno_utils.so does not exist:
> http://pastebin.com/vzWMb0fq
>
> E/libEGL ( 3180): load_driver(/vendor/lib/egl/libEGL_adreno.so): dlopen
> failed: could not load library "libadreno_utils.so" needed by
> "libEGL_adreno.so"; caused by library "libadreno_utils.so" not found
>
> Why is not adding it during the build process? Why are there missing files?
>
> I really appreciate any help you can provide.
>
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Error: libadreno_utils.so not found

2014-08-09 Thread A. Crespo
Hi,

I have built B2G five times, and each time I have done git pull, repo sync
-d and rm -r /system/ and /out/. I have done even a clean new build, but
B2G is still crashing during boot: http://pastebin.com/UzBqAUGc

Someone suggested me that it is because  libadreno_utils.so does not exist:
http://pastebin.com/vzWMb0fq

E/libEGL  ( 3180): load_driver(/vendor/lib/egl/libEGL_adreno.so): dlopen
failed: could not load library "libadreno_utils.so" needed by
"libEGL_adreno.so"; caused by library "libadreno_utils.so" not found

Why is not adding it during the build process? Why are there missing files?

I really appreciate any help you can provide.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Some troubles after building B2G.

2014-08-05 Thread A. Crespo
Hi,

I have build a new build for my Flame device and after the splash screen of
T-Mobile the screen goes off, despite I still have adb.

This is the output of adb logcat:
http://pastebin.com/4BcqGfhZ

Would you know what is wrong with it? I have tried to remove /out/, but
building it again doesn't seem to fix it.

Would you have any suggestion?

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Device goes offline when building.

2014-07-20 Thread A. Crespo
It seems to be an error related to ADB:
http://playingwithsid.blogspot.com.es/2013/05/android-device-offline-fixing-adb.html

I had the same issue with the Flatfish, by the way. I have fixed it using
VirtualBox and loading its usb by default. It's very strange.


2014-07-20 22:21 GMT+02:00 Andreas Pehrson :

> Then I'm not sure what it could be. I don't have a flame myself so I'm not
> aware of any specific issues there.
>
> Check at what point it goes offline and maybe you can nail it down
> eventually.
>
> *Andreas Pehrson *--- Software Engineer
>
> (+47) 959 60 374   |   pehr...@telenordigital.com   |
> www.telenordigital.com
>
>
> On Sun, Jul 20, 2014 at 5:25 PM, A. Crespo 
> wrote:
>
>> Hi Andreas,
>>
>> Of course, I had disabled the lock screen. But maybe may it be related to
>> it?
>>
>> Thanks.
>>
>>
>> 2014-07-20 17:21 GMT+02:00 Andreas Pehrson :
>>
>> Do you have a lock screen enabled on your device? Adb is turned off when
>>> the lock screen is activated. Turn it on again by turning on the screen and
>>> unlocking the lock screen. Turn it on permanently by disabling the lock
>>> screen.
>>>
>>> *Andreas Pehrson *--- Software Engineer
>>>
>>> (+47) 959 60 374   |   pehr...@telenordigital.com   |
>>> www.telenordigital.com
>>>
>>>
>>> On Sun, Jul 20, 2014 at 4:15 PM, A. Crespo 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm trying to build B2G for a Flame, but when I try to run build.sh, I
>>>> get the following error: "error: device offline".
>>>>
>>>> After that, I need to reattach the device to the computer to get again
>>>> access by shell to the device.
>>>>
>>>> My udev rules are the following rules:
>>>> http://paste.ubuntu.com/7825165/
>>>>
>>>> So why is the Flame going offline?
>>>>
>>>> Best regards.
>>>>
>>>> ___
>>>> dev-b2g mailing list
>>>> dev-b2g@lists.mozilla.org
>>>> https://lists.mozilla.org/listinfo/dev-b2g
>>>>
>>>>
>>>
>>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Device goes offline when building.

2014-07-20 Thread A. Crespo
Hi Andreas,

Of course, I had disabled the lock screen. But maybe may it be related to
it?

Thanks.


2014-07-20 17:21 GMT+02:00 Andreas Pehrson :

> Do you have a lock screen enabled on your device? Adb is turned off when
> the lock screen is activated. Turn it on again by turning on the screen and
> unlocking the lock screen. Turn it on permanently by disabling the lock
> screen.
>
> *Andreas Pehrson *--- Software Engineer
>
> (+47) 959 60 374   |   pehr...@telenordigital.com   |
> www.telenordigital.com
>
>
> On Sun, Jul 20, 2014 at 4:15 PM, A. Crespo 
> wrote:
>
>> Hi,
>>
>> I'm trying to build B2G for a Flame, but when I try to run build.sh, I
>> get the following error: "error: device offline".
>>
>> After that, I need to reattach the device to the computer to get again
>> access by shell to the device.
>>
>> My udev rules are the following rules:
>> http://paste.ubuntu.com/7825165/
>>
>> So why is the Flame going offline?
>>
>> Best regards.
>>
>> ___
>> dev-b2g mailing list
>> dev-b2g@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-b2g
>>
>>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Device goes offline when building.

2014-07-20 Thread A. Crespo
Hi,

I'm trying to build B2G for a Flame, but when I try to run build.sh, I get
the following error: "error: device offline".

After that, I need to reattach the device to the computer to get again
access by shell to the device.

My udev rules are the following rules:
http://paste.ubuntu.com/7825165/

So why is the Flame going offline?

Best regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Error when doing repo sync.

2014-07-19 Thread A. Crespo
Hi,

I'm having an error when doing repo sync:

error: Cannot remove project "device/qcom/msm7627a": uncommitted changes
are present

How to fix it?

Regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Troubles compiling B2G.

2014-07-01 Thread A. Crespo
Hi Paul,

I'm using 4.6.4: http://paste.ubuntu.com/7731741/

jschweinsberg and gerard:majax suggested me to change the manifest for
hardware/qcom/display.
I'm replacing revision="master" with
revision="58f56da31eceaa3546384216f59e30f8e9dc702c".

After that, I am doing a "repo sync", and It seems to be solved.

Should I send a pull request with that change?

Regards.


2014-07-01 15:35 GMT+02:00 Paul Rouget :

> You use gcc 4.6?
>
> A. Crespo wrote:
> > Hi there,
> >
> > I'm having troubles compiling B2G: http://paste.ubuntu.com/7731078/
> >
> > Would you know what is happening? I tried it on Ubuntu 32bits and Ubuntu
> > 64bits and had the same error.
> >
> > Someone at the IRC told me that it was because I need some dependency,
> but
> > I followed the MDN an I had the following dependencies:
> >
> https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites#Ubuntu_13.10
> >
> > So, would you know what is failing?
> >
> > Thanks in advance.
>
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-b2g
>
> -- Paul
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Troubles compiling B2G.

2014-07-01 Thread A. Crespo
Hi there,

I'm having troubles compiling B2G: http://paste.ubuntu.com/7731078/

Would you know what is happening? I tried it on Ubuntu 32bits and Ubuntu
64bits and had the same error.

Someone at the IRC told me that it was because I need some dependency, but
I followed the MDN an I had the following dependencies:
https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites#Ubuntu_13.10

So, would you know what is failing?

Thanks in advance.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Compiling Gaia and

2014-06-06 Thread A. Crespo
Hi Gabriele,

Sadly, those languages are not being installed and I think I followed those
instructions rightly. Maybe the environment variables for the language
should be added to .userconfig too? I mean these variables:

export LOCALE_BASEDIR=$PWD/locales
export LOCALES_FILE=$PWD/locales/languages_dev.json
export GAIA_DEFAULT_LOCALE=es

Where is .userconfig, by the way? I can't find .config:
http://paste.ubuntu.com/7603296/

Thanks!



2014-06-06 20:05 GMT+02:00 Gabriele Svelto :

> On 06/06/2014 18:50, A. Crespo wrote:
> > If my .config is: http://paste.ubuntu.com/7558855/
> > And my gaia/locales/languages_dev.json is:
> http://paste.ubuntu.com/7558858/
> >
> > Will those languages be installed If I build the whole B2G?
>
> They should. If you need more info on this topic check the instructions
> here:
>
>
> https://developer.mozilla.org/en-US/Firefox_OS/Building#Building_multilocale
>
> > The other question is that I want to disable the DOGFOOD when building
> > B2G. I put DOGFOOD=0 in the .config file, but doesn't seem to work.
>
> Do you mean you want a production-like build? Then you should add the
> following lines to your .userconfig file (not .config):
>
> export VARIANT=user
> export MOZILLA_OFFICIAL=1
> export PRODUCTION=1
>
>  Gabriele
>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Compiling Gaia and

2014-06-06 Thread A. Crespo
Hi,

I'm trying to build my own B2G build and I have some questions.

If my .config is: http://paste.ubuntu.com/7558855/
And my gaia/locales/languages_dev.json is: http://paste.ubuntu.com/7558858/

Will those languages be installed If I build the whole B2G?

I'm trying to build my own "system-img" in order to share it with my
friends and we want to have those locales, but they don't seem to be
compiled at the same time as B2G.

I would like to add them automatically to my B2G build to avoid compiling
Gaia after that.


The other question is that I want to disable the DOGFOOD when building B2G.
I put DOGFOOD=0 in the .config file, but doesn't seem to work.

How could I do it? Is there any way to set up those environment variables
permanently?

Thanks and best regards!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Strange errors when configuring a build

2014-05-27 Thread A. Crespo
Hi,

I'm trying to configure (config.sh) my build for a Keon device and I get
the following errors:
http://paste.fedoraproject.org/104943/13410214

Would you know how to fix them?

Best Regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] InputContext API questions.

2014-05-02 Thread A. Crespo
Hi there,

I would like to make a text selection between two positions. Is there any
way to get the current position of the cursor? I'm using:
navigator.mozInputMethod.inputcontext.onselectionchange
to check when did the position change, but I don't know how to get the
difference between those two positions.

Also, would you know where I could get some information about the "inputs"
field used in the manifest file?

Regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Devtools and B2G 1.5.0.

2014-04-16 Thread A. Crespo
It was already checked, In fact I tried with any combination of that
settings without success.

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Devtools and B2G 1.5.0.

2014-04-15 Thread A. Crespo
Hi guys,

I would like to point out that the same steps that worked for B2G 1.2.0
didn't work for 1.5.0. Indeed, I have read the document and I have asked my
question in the IRC channel before sending an email to the list (I'm
CodingFree, feel free to ping me). As an app reviewer, I have done those
steps a hundred times and that is why I was surprised to see that they
didn't work in my 1.5.0.

The steps shown in the document didn't work, so If nothing has changed in
1.5.0 that only means that my B2G was weird. I have flashed the 1.2.0 and
those steps work, so... I don't know what could be failing.

Thanks anyways!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Devtools and B2G 1.5.0.

2014-04-14 Thread A. Crespo
Hi there,

Has changed anything to use the App Manager in B2G 1.5.0?

I have enabled "Adb + Devtools" in the settings.
I have forwarded the local port:
adb forward tcp:6000 localfilesystem:/data/local/debugger-socket
Adb has enough permissions (adb devices show that full_keon is recognized).
I'm using Firefox Nightly.

I am not able to connect the App Manager to 1.5.0 despite It works
following the same steps for B2G 1.2.0.

So I am wondering if anything changed for B2G 1.5.0 to use Devtools.

Best regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] getUserMedia for Firefox OS 1.4.

2014-02-16 Thread A. Crespo
Alexandre Lissy told me it was because I need the "video-capture" or
"audio-capture" permissions.

Thanks guys! It works!


2014-02-16 17:33 GMT+01:00 Maire Reavy :

> I'll respond.  I believe I know what the issue is.
>
>
> On 2/16/2014 8:25 AM, A. Crespo wrote:
>
>> Hi there,
>>
>> Could you help me with this issue?
>> http://stackoverflow.com/questions/21813121/getusermedia-for-firefox-os
>>
>> Thanks!
>> ___
>> dev-b2g mailing list
>> dev-b2g@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-b2g
>>
>
> --
> Maire Reavy 
> Mozilla
>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] getUserMedia for Firefox OS 1.4.

2014-02-16 Thread A. Crespo
Hi there,

Could you help me with this issue?
http://stackoverflow.com/questions/21813121/getusermedia-for-firefox-os

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Orientation sensor not working.

2014-01-17 Thread A. Crespo
I have submitted the bug, could you confirm it, guys?

https://bugzilla.mozilla.org/show_bug.cgi?id=961195

Regards.


2014/1/15 Viral Wang 

> Hi,
>
> the value we capture from acceleration sensor is the gravity of earth (9.8
> m/s^2 in normal)
> if we get the 20 m/s^2, that means a volatile movement to us.
> we can not detect the correct orientation in the unstable status.
>
> So, yes, it's a geekphone problem.
>
> Regards,
> viral
>
> ----- Original Message -
> From: "A. Crespo" 
> To: "Viral Wang" 
> Cc: "Dev B2G List" 
> Sent: Tuesday, January 14, 2014 5:43:26 PM
> Subject: Re: [b2g] Orientation sensor not working.
>
> Hi,
>
> You are right, z is almost 20. But If it were using that, It would mean
> that FxOS that when it is flipped to the right, X would come Z and would be
> almost 20 too.
>
> It should be detected as an orientation change, despite it's values.
>
> Anyways, how to fix it? Is it a geeksphone problem?
>
> Regards.
>
>
> 2014/1/14 Viral Wang 
>
> > Hi,
> >
> > We still use acceleration sensor to calculate the orientation in 1.4
> > I check the Keon phone and find the data from acceleration sensor seems
> > not correct.
> > One easy test is to put device on the desk, we expect the x,y are close
> to
> > 0, and z is close to 9.8.
> > However, z is almost 20 now.
> > If the acceleration data didn't report correctly, we can not get the
> > correct orientation.
> >
> > Regards,
> > viral
> >
> > - Original Message -
> > From: "A. Crespo" 
> > To: "Viral Wang" 
> > Cc: "Dev B2G List" 
> > Sent: Monday, January 13, 2014 7:38:22 PM
> > Subject: Re: [b2g] Orientation sensor not working.
> >
> > Hi,
> >
> > I'm using also 1.4, I think it worked with 1.2, but I don't use 1.2 since
> > long time ago.
> >
> > When you say that you did use the accel sensor do you mean that you don't
> > use it anymore?
> >
> > Regards.
> >
> >
> > 2014/1/13 Viral Wang 
> >
> > > Hi,
> > >
> > > We did use the acceleration sensor for orientation detection.
> > > I'm guessing you didn't change any setting in your device.
> > >
> > > I take one reference phone with 1.4, the orientation looks good to me.
> > > Any version information we can have? like which gecko/gaia version your
> > > orientation sensor ever works.
> > > or which version it didn't work.
> > >
> > > Regards,
> > > viral
> > >
> > > - Original Message -
> > > From: "A. Crespo" 
> > > To: "Viral Wang" 
> > > Cc: "Dev B2G List" 
> > > Sent: Monday, January 13, 2014 6:44:34 PM
> > > Subject: Re: [b2g] Orientation sensor not working.
> > >
> > > Hi,
> > >
> > > The accelerationIncludingGravity property seems to work okay, but the
> > > rotationRate doesn't.
> > >
> > > Does the orientation detection use the same sensor, the acceleration
> > > sensor?
> > >
> > > If it works, I can't understand why I can't set my browser, camera,
> > gallery
> > > or video to landscape mode :(
> > >
> > > Thanks you!
> > >
> > >
> > > 2014/1/13 Viral Wang 
> > >
> > > > Hi,
> > > >
> > > > Here's one quick method to verified your sensor is to check the
> sensor
> > > > data in your device.
> > > > Here's a website using standard API to read the data from orientation
> > > > sensor.
> > > >
> > > >
> > >
> >
> http://www.html5rocks.com/en/tutorials/device/orientation/devicemotionsample.html
> > > >
> > > > Regards,
> > > > viral
> > > >
> > > > - Original Message -
> > > > From: "A. Crespo" 
> > > > To: "Dev B2G List" 
> > > > Sent: Saturday, January 11, 2014 9:47:03 PM
> > > > Subject: [b2g] Orientation sensor not working.
> > > >
> > > > Hi,
> > > >
> > > > My screen orientation doesn't change even when I have disabled lock
> > > > orientation. Have you ever seen anything like that? I am wondering if
> > the
> > > > orientation sensor is broken, is there any way to debug it? Could I
> > test
> > > it
> > > > using any tool from the dogfood apps, perhaps?
> > > >
> > > > I'm using FxOS 1.4 in a GP Keon device.
> > > >
> > > > Regards.
> > > > ___
> > > > dev-b2g mailing list
> > > > dev-b2g@lists.mozilla.org
> > > > https://lists.mozilla.org/listinfo/dev-b2g
> > > >
> > >
> >
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Orientation sensor not working.

2014-01-14 Thread A. Crespo
Hi,

You are right, z is almost 20. But If it were using that, It would mean
that FxOS that when it is flipped to the right, X would come Z and would be
almost 20 too.

It should be detected as an orientation change, despite it's values.

Anyways, how to fix it? Is it a geeksphone problem?

Regards.


2014/1/14 Viral Wang 

> Hi,
>
> We still use acceleration sensor to calculate the orientation in 1.4
> I check the Keon phone and find the data from acceleration sensor seems
> not correct.
> One easy test is to put device on the desk, we expect the x,y are close to
> 0, and z is close to 9.8.
> However, z is almost 20 now.
> If the acceleration data didn't report correctly, we can not get the
> correct orientation.
>
> Regards,
> viral
>
> - Original Message -
> From: "A. Crespo" 
> To: "Viral Wang" 
> Cc: "Dev B2G List" 
> Sent: Monday, January 13, 2014 7:38:22 PM
> Subject: Re: [b2g] Orientation sensor not working.
>
> Hi,
>
> I'm using also 1.4, I think it worked with 1.2, but I don't use 1.2 since
> long time ago.
>
> When you say that you did use the accel sensor do you mean that you don't
> use it anymore?
>
> Regards.
>
>
> 2014/1/13 Viral Wang 
>
> > Hi,
> >
> > We did use the acceleration sensor for orientation detection.
> > I'm guessing you didn't change any setting in your device.
> >
> > I take one reference phone with 1.4, the orientation looks good to me.
> > Any version information we can have? like which gecko/gaia version your
> > orientation sensor ever works.
> > or which version it didn't work.
> >
> > Regards,
> > viral
> >
> > - Original Message -
> > From: "A. Crespo" 
> > To: "Viral Wang" 
> > Cc: "Dev B2G List" 
> > Sent: Monday, January 13, 2014 6:44:34 PM
> > Subject: Re: [b2g] Orientation sensor not working.
> >
> > Hi,
> >
> > The accelerationIncludingGravity property seems to work okay, but the
> > rotationRate doesn't.
> >
> > Does the orientation detection use the same sensor, the acceleration
> > sensor?
> >
> > If it works, I can't understand why I can't set my browser, camera,
> gallery
> > or video to landscape mode :(
> >
> > Thanks you!
> >
> >
> > 2014/1/13 Viral Wang 
> >
> > > Hi,
> > >
> > > Here's one quick method to verified your sensor is to check the sensor
> > > data in your device.
> > > Here's a website using standard API to read the data from orientation
> > > sensor.
> > >
> > >
> >
> http://www.html5rocks.com/en/tutorials/device/orientation/devicemotionsample.html
> > >
> > > Regards,
> > > viral
> > >
> > > - Original Message -
> > > From: "A. Crespo" 
> > > To: "Dev B2G List" 
> > > Sent: Saturday, January 11, 2014 9:47:03 PM
> > > Subject: [b2g] Orientation sensor not working.
> > >
> > > Hi,
> > >
> > > My screen orientation doesn't change even when I have disabled lock
> > > orientation. Have you ever seen anything like that? I am wondering if
> the
> > > orientation sensor is broken, is there any way to debug it? Could I
> test
> > it
> > > using any tool from the dogfood apps, perhaps?
> > >
> > > I'm using FxOS 1.4 in a GP Keon device.
> > >
> > > Regards.
> > > ___
> > > dev-b2g mailing list
> > > dev-b2g@lists.mozilla.org
> > > https://lists.mozilla.org/listinfo/dev-b2g
> > >
> >
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Orientation sensor not working.

2014-01-13 Thread A. Crespo
Hi,

I'm using also 1.4, I think it worked with 1.2, but I don't use 1.2 since
long time ago.

When you say that you did use the accel sensor do you mean that you don't
use it anymore?

Regards.


2014/1/13 Viral Wang 

> Hi,
>
> We did use the acceleration sensor for orientation detection.
> I'm guessing you didn't change any setting in your device.
>
> I take one reference phone with 1.4, the orientation looks good to me.
> Any version information we can have? like which gecko/gaia version your
> orientation sensor ever works.
> or which version it didn't work.
>
> Regards,
> viral
>
> - Original Message -
> From: "A. Crespo" 
> To: "Viral Wang" 
> Cc: "Dev B2G List" 
> Sent: Monday, January 13, 2014 6:44:34 PM
> Subject: Re: [b2g] Orientation sensor not working.
>
> Hi,
>
> The accelerationIncludingGravity property seems to work okay, but the
> rotationRate doesn't.
>
> Does the orientation detection use the same sensor, the acceleration
> sensor?
>
> If it works, I can't understand why I can't set my browser, camera, gallery
> or video to landscape mode :(
>
> Thanks you!
>
>
> 2014/1/13 Viral Wang 
>
> > Hi,
> >
> > Here's one quick method to verified your sensor is to check the sensor
> > data in your device.
> > Here's a website using standard API to read the data from orientation
> > sensor.
> >
> >
> http://www.html5rocks.com/en/tutorials/device/orientation/devicemotionsample.html
> >
> > Regards,
> > viral
> >
> > - Original Message -
> > From: "A. Crespo" 
> > To: "Dev B2G List" 
> > Sent: Saturday, January 11, 2014 9:47:03 PM
> > Subject: [b2g] Orientation sensor not working.
> >
> > Hi,
> >
> > My screen orientation doesn't change even when I have disabled lock
> > orientation. Have you ever seen anything like that? I am wondering if the
> > orientation sensor is broken, is there any way to debug it? Could I test
> it
> > using any tool from the dogfood apps, perhaps?
> >
> > I'm using FxOS 1.4 in a GP Keon device.
> >
> > Regards.
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-b2g
> >
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Orientation sensor not working.

2014-01-13 Thread A. Crespo
Hi,

The accelerationIncludingGravity property seems to work okay, but the
rotationRate doesn't.

Does the orientation detection use the same sensor, the acceleration sensor?

If it works, I can't understand why I can't set my browser, camera, gallery
or video to landscape mode :(

Thanks you!


2014/1/13 Viral Wang 

> Hi,
>
> Here's one quick method to verified your sensor is to check the sensor
> data in your device.
> Here's a website using standard API to read the data from orientation
> sensor.
>
> http://www.html5rocks.com/en/tutorials/device/orientation/devicemotionsample.html
>
> Regards,
> viral
>
> - Original Message -
> From: "A. Crespo" 
> To: "Dev B2G List" 
> Sent: Saturday, January 11, 2014 9:47:03 PM
> Subject: [b2g] Orientation sensor not working.
>
> Hi,
>
> My screen orientation doesn't change even when I have disabled lock
> orientation. Have you ever seen anything like that? I am wondering if the
> orientation sensor is broken, is there any way to debug it? Could I test it
> using any tool from the dogfood apps, perhaps?
>
> I'm using FxOS 1.4 in a GP Keon device.
>
> Regards.
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Orientation sensor not working.

2014-01-11 Thread A. Crespo
Hi,

My screen orientation doesn't change even when I have disabled lock
orientation. Have you ever seen anything like that? I am wondering if the
orientation sensor is broken, is there any way to debug it? Could I test it
using any tool from the dogfood apps, perhaps?

I'm using FxOS 1.4 in a GP Keon device.

Regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Wireless driver crash on Keon

2014-01-06 Thread A. Crespo
Hi guys,

My wireless is not working in my Keon device and I am a little upset. Could
you give it a look? I have even attached a tcpdump capture.

https://bugzilla.mozilla.org/show_bug.cgi?id=956689

Regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Localizing Firefox OS.

2013-12-29 Thread A. Crespo
Hi,

I'm trying to localize Firefox OS, but I'm wondering If I am missing any
step. I have made a question about it at Stackoverfow:
http://stackoverflow.com/questions/20824587/localizing-firefox-os-b2g

Regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Setting DOGFOOD when building B2G.

2013-12-28 Thread A. Crespo
Thanks Kevin,

I think this could be also useful:
https://github.com/mozilla-b2g/B2G/pull/109

Regards.


2013/12/29 Kevin Grandon 

> I generally flash gaia and gecko separately, so I'm not sure if there's
> good tricks for this. It looks like the script here would be pretty easy to
> modify to support what's needed:
> https://github.com/mozilla-b2g/B2G/blob/master/flash.sh#L255
>
> Best,
> Kevin
>
> - Original Message -
> From: "A. Crespo" 
> To: "Dev B2G List" 
> Sent: Saturday, December 28, 2013 3:38:33 PM
> Subject: [b2g] Setting DOGFOOD when building B2G.
>
> Hi there,
>
> Is there any way to set up NTFU=1 DOGFOOD=0 PRODUCTION=1 and
> REMOTE_DEBUGGER=1 when building and flashing B2G?
>
> I know I could do it building and pushing Gaia after that, but Is there any
> way to avoid this step and specify those options when building B2G?
>
> Regards.
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Setting DOGFOOD when building B2G.

2013-12-28 Thread A. Crespo
Hi there,

Is there any way to set up NTFU=1 DOGFOOD=0 PRODUCTION=1 and
REMOTE_DEBUGGER=1 when building and flashing B2G?

I know I could do it building and pushing Gaia after that, but Is there any
way to avoid this step and specify those options when building B2G?

Regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Enabling the remote debugger.

2013-09-19 Thread A. Crespo
Hi there,

I've tried to enable the controversial remote debugging. Firstly , I tried
to do this for Gaia:
REMOTE_DEBUGGER=1 MOZILLA_OFFICIAL=1 PRODUCTION=1 make reset-gaia

By the way, If I do that the keyboards doesn't work.

Secondly, I enabled the remote debugger in the browser:
devtools.debugger.force-local = false
devtools.debugger.remote-enabled = true
devtools.debugger.enabled = true
devtools.debugger.chrome-enabled

Then, I did:
sudo adb forward tcp:6000 tcp:6000

And at last, I tried to connect the debugger to the device and I granted
the permissions in the device when the message asking for it was prompted.

Have I missed any step? I can't see anything in the debugger, it's
connected to null.

Thanks.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Link broken in documentation.

2013-09-15 Thread A. Crespo
Hi there,

I don't know if this is the best place to post this, but in the following
page:
https://developer.mozilla.org/en-US/docs/Web/Apps/Manifest

The url inside "For Firefox OS, icons should follow the app icon
guidelines," doesn't work.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Security implications of remote debugging on devices

2013-09-15 Thread A. Crespo
Paul,

I know what are you trying to explain but I can't figure out who would
leave his phone unattended. I mean, If you leave your phone alone you can
bet that you won't find it nevermore, at least in Spain. After that, with
or without remote debugger enabled, I'm sure I will steal your passwords.

Despite sometimes the access granted by the debugger could be greater, I
would like to suggest to put a reasonable limit on those cases.


2013/9/15 Paul Theriault 

> That's certainly a consideration although sometimes the access granted by
> the debugger is greater. Someone using your phone could read your emails,
> where as someone with debug access can read your email password - which, if
> its your gmail password for example, give access to other services. There
> are only a few cases like this currently that I can think of - email ,
> wifi, passcode (set but not enabled) - and could be worse depending on who
> you use for your email/wifi etc.
>
> Also consider the 'evil maid' attack (short-term unauthorized access). You
> leave your device unattended for a short amount of time, someone plugs your
> phone in to a laptop and uses debugger to dump all your emails and sms
> messages to peruse later at their leisure. They steal your passwords and
> social network cookies. This could be done in less that a few minutes and
> since you didn't lose your device, you would be none-the-wiser.
>
>
> On Sep 15, 2013, at 8:52 AM, Jim Blandy wrote:
>
> > On 09/10/2013 10:58 AM, Paul Theriault wrote:
> >> My proposal makes its more difficult for someone with physical access
> to a phone without a passcode to steal sensitive app data. If we limit
> which apps you can debug as I described above, in order to get access to
> app data, you still need root access to the phone.  If we allow access to
> debug all apps, this bar is lowered, so that you can access the app data by
> enabling debugging.
> > If the phone is stolen and no passcode is set, then I can access app
> data by starting the apps, too. I have access to any web accounts those
> apps might be tied to, and so on. Aren't the dev tools just a rather
> painful method of doing what our UI people are trying to make as easy and
> as pleasant as possible via other means?
> >
> > ___
> > dev-b2g mailing list
> > dev-b2g@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-b2g
>
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Send commands to Linux

2013-08-26 Thread A. Crespo
I asked that at the IRC and some guys told me that our best bet would be to
code an http daemon. That way we could send it commands using http requests.

They also said that it would be possible to hack Gaia or Gecko, but it
wouldn't be desirable because it could be painfully buggier.


2013/8/26 Raphael Agneli 

> Someone can tell me if is possible send commands to linux terminal through
> the Firefox OS ?
>
> I looked over SSH but found nothing that worked.
>
> Someone can help me ?
>
> Thanks.
>
> Sorry my bad english.
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Grey icon set.

2013-08-19 Thread A. Crespo
Hi there,

I saw that currently exists is an icon set:
http://buildingfirefoxos.com/downloads/

But I noticed that they are only white buttons, how could I get grey
buttons like this one?

http://i.imgur.com/WqRkytG.png

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Keon device frozen.

2013-08-18 Thread A. Crespo
Done Alexandre:
https://bugzilla.mozilla.org/show_bug.cgi?id=906436

Would you have any update.zip in order to flash it using the bootloader? Would 
you know where could I get one?

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Keon device frozen.

2013-08-18 Thread A. Crespo
Hi there,

Perhaps due to a recent update, my Keon device doesn't work properly. It
gets stucked when is booting.

It gets stucked at the blue screen which shows the Firefox OS logo, but
it's not frozen: I can change the volume and I can still use the power
button to open the actions menu, so I can power off and restart it.

I tried to use adb to debug it, but the second time I did it, the adb
stopped to work. I can't use adb in any pc or laptop. I have tried to flash
it from both Windows and Linux without succeed. When I try it, it shows the
message: "device not found" and I have read that it's a drivers issue.

I have tried to reinstall the official drivers from Geeksphone but there is
no "Android" device in my device list. I have force the driver installation
but "Geeksphone Composite ADB Interface" shows an error: "code 10: device
cannot start".

Eventually, I have tried to wipe the cache and doing a factory reboot using
the Bootloader but It didn't work. Also, I have tried to do an update using
the SDCard, but it tells me that I don't have a valid signed ZIP.

What else could I do?

Regards.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Compiling some tools.

2013-07-21 Thread A. Crespo
Hi there

Recently one friend sent me the tcpdump program and it ran in my Keon
device. Then I thought... "ey, it would be great if I could push any other
useful tool!".

I have asked to another friend and he suggested me to use NDK to compile
the binaries. Is there any other way to do it? NDK was a little difficult.

In fact, is there any tutorial to learn to do it?

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Can't change airplane mode.

2013-07-18 Thread A. Crespo
Hi there,

I'm using Boot2gecko 1.2.0.0-prerelease and I have a problem.

When I set the airplane mode on, I can't disable it again. Well, I turn it
off and the plane icon dissapears, but when I try to call, the phone says
that I need to disable the airplane mode again.

Is it a known bug?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Touch events.

2013-06-17 Thread A. Crespo
Hi there,

I have rewritten it and cleaned the source code, I'm still stucked anyhow.
This is the project:
https://mega.co.nz/#!XJwlwbgC!JbdudgxmZh1OgvEw35uyX19Gybc_eaHjCxgTqoGTpTU

Regards.

2013/6/17 Shih-Chiang Chien :
> Hi Crespo,
>
> I saw that you invoke inspect() while print out the log. Is this function
> definition existed your full source code?
> Maybe you can simply test with log("Touch Start") for confirmation.
>
> Best Regards,
> Shih-Chiang Chien
> Mozilla Taiwan
>
> On Jun 16, 2013, at 10:08 PM, "A. Crespo"  wrote:
>
> Hi there,
>
> I'm trying to use the touch events. I have donde this:
> http://pastebin.com/SHigwc7D
>
> Mousedown and Presshandler works, but Touchstart doesn't seem to be
> fired in any way.
>
> Why? What am I missing?
>
> Thanks!
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Touch events.

2013-06-17 Thread A. Crespo
Hi Shih-Chiang,

Inpesct was already defined, I have added it to this new paste:
http://pastebin.com/F8RGSjM5

Anyways, even If do only a console.log("Touch Start!")...
http://pastebin.com/90rb0SuU

Then logcat does not show anything related to the touch events. I do
not see, in any way, any kind of error message or console log related
to the touch events. This is my console log:
http://pastebin.com/0TFdiAnb

Thanks Shih-Chiang.

2013/6/17 Shih-Chiang Chien :
> Hi Crespo,
>
> I saw that you invoke inspect() while print out the log. Is this function
> definition existed your full source code?
> Maybe you can simply test with log("Touch Start") for confirmation.
>
> Best Regards,
> Shih-Chiang Chien
> Mozilla Taiwan
>
> On Jun 16, 2013, at 10:08 PM, "A. Crespo"  wrote:
>
> Hi there,
>
> I'm trying to use the touch events. I have donde this:
> http://pastebin.com/SHigwc7D
>
> Mousedown and Presshandler works, but Touchstart doesn't seem to be
> fired in any way.
>
> Why? What am I missing?
>
> Thanks!
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Touch events.

2013-06-16 Thread A. Crespo
Hi there,

 I'm trying to use the touch events. I have donde this:
http://pastebin.com/SHigwc7D

Mousedown and Presshandler works, but Touchstart doesn't seem to be
fired in any way.

Why? What am I missing?

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] GetElementbyID not working.

2013-06-13 Thread A. Crespo
Hi there,

I need some help. I'm trying to use getElementById using the following code:
http://pastebin.com/Ercsu9wQ

It seems to work on Firefox and GoogleChrome, but it doesn't seem to
work on FirefoxOS.

What am I doing wrong? This is my logcat:
http://pastebin.com/hKRx7zgn

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Flashing new rom in Geeksphone

2013-05-31 Thread A. Crespo
For spanish guys, another tutorial:
http://www.codingfree.com/2013/05/flashear-un-dispositivo-firefoxos-e.html

2013/5/31 Swarnava Sengupta 

> lot of people was asking about handy tutorial to flashing new rom on
> there geeksphone, so i write a blogpost and i tried to put all handy
> information on it, i would like to share with you guys
>
>
> http://heavengod.wordpress.com/2013/05/31/flashing-new-rom-in-geeksphone-keonpeak/
>
> Thanks
>
> --
> Swarnava
> Mozilla Reps
> Twitter: @h34v3ng0d
> http://heavengod.wordpress.com
> https://mozillians.org/u/Swarnava/
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Orientation Webapi.

2013-05-26 Thread A. Crespo
Hi there,

Could you help me with this easy example about how to use the Orientation
WebApi on FirefoxOS?
http://pastebin.com/kvUypMhL

What am I doing wrong? The event doesn't seem to be triggered when the
orientation is changed. I haven even tried:
screen.addEventListener("orientationchange", show, false);
But I was out of luck.

Regards.

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g