Re: [b2g] Bug icon

2014-11-17 Thread Marek Raida
Thx, I will vote there...
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] simple push does not work anymore

2014-11-17 Thread Jovan Gerodetti
Hello Fernando,

were my informations useful? Could you find out why my phones does not
connect to the right push server?


Jovan

2014-11-13 16:13 GMT+01:00 Jovan Gerodetti :

> Okay I finally got the time to send you this
>
> my /data/b2g/mozilla/.default/prefs.js file:
>>
>> # Mozilla User Preferences
>>
>> /* Do not edit this file.
>>  *
>>  * If you make changes to this file while the application is running,
>>  * the changes will be overwritten when the application exits.
>>  *
>>  * To make a manual change to preferences, you can visit the URL
>> about:config
>>  */
>>
>> user_pref("app.reportCrashes", true);
>> user_pref("app.update.custom", "");
>> user_pref("app.update.lastUpdateTime.background-update-timer",
>> 1415875483);
>> user_pref("app.update.lastUpdateTime.user-agent-updates-timer",
>> 1415687833);
>> user_pref("app.update.postupdate", true);
>> user_pref("browser.cache.disk.capacity", 144352);
>> user_pref("browser.download.importedFromSqlite", true);
>> user_pref("consoleservice.enabled", true);
>> user_pref("device.storage.writable.name", "sdcard1");
>> user_pref("devtools.debugger.forbid-certified-apps", false);
>> user_pref("devtools.debugger.remote-enabled", true);
>> user_pref("devtools.eventlooplag.threshold", 100);
>> user_pref("dom.mms.retrieval_mode", "automatic-home");
>> user_pref("dom.mozApps.maxLocalId", 1064);
>> user_pref("dom.mozApps.use_reviewer_certs", false);
>> user_pref("dom.mozApps.used", true);
>> user_pref("dom.sms.maxReadAheadEntries", 7);
>> user_pref("dom.webapps.firstRunWithSIM", false);
>> user_pref("gecko.buildID", "20141113092841");
>> user_pref("gecko.mstone", "34.0");
>> user_pref("general.useragent.locale", "de");
>> user_pref("general.useragent.updates.lastupdated", "1415687833746");
>> user_pref("idle.lastDailyNotification", 1415876285);
>> user_pref("intl.accept_languages", "de, en-US, en");
>> user_pref("layers.composer2d.enabled", false);
>> user_pref("layers.effect.contrast", "0.0");
>> user_pref("layers.effect.grayscale", false);
>> user_pref("layers.effect.invert", false);
>> user_pref("layers.enable-tiles", false);
>> user_pref("layers.low-precision-opacity", "1.0");
>> user_pref("layers.simple-tiles", false);
>> user_pref("network.cookie.prefsMigrated", true);
>> user_pref("privacy.donottrackheader.enabled", true);
>> user_pref("ril.lastKnownSimMcc", "262");
>> user_pref("ril.mms.mmsc", "http://mms.t-mobile.de/servlets/mms";);
>> user_pref("ril.mms.mmsport", 8008);
>> user_pref("ril.mms.mmsproxy", "172.28.23.131");
>> user_pref("ril.numRadioInterfaces", 1);
>> user_pref("ril.radio.disabled", false);
>> user_pref("services.push.adaptive.lastGoodPingInterval.mobile", 1366875);
>> user_pref("services.push.adaptive.lastGoodPingInterval.wifi", 1366875);
>> user_pref("services.push.adaptive.mobile", "mobile-262-01");
>> user_pref("services.push.pingInterval", 1366875);
>> user_pref("services.push.pingInterval.mobile", 1366875);
>> user_pref("services.push.pingInterval.wifi", 1366875);
>> user_pref("services.push.userAgentID",
>> "93227901-7103-431c-9a23-e4978afed71b@2fcc633ac3011dc0f1d662b0ef6dc07f7dc2c64d
>> ");
>> user_pref("storage.vacuum.last.index", 0);
>> user_pref("toolkit.telemetry.enabled", true);
>> user_pref("toolkit.telemetry.previousBuildID", "20141113102947");
>>
>
> and this is my omni.ja/defaults/pref/b2g.js:
> https://etherpad.mozilla.org/7wr4gek5Od
>
> In addition I have to say that Geeksphone forgot to include the push
> server in their 2.1 builds. They still didn't fixed it, but until now it
> worked pretty well when I uploaded my modified version of
> /system/b2g/default/pref/user.js, with the push server included, after I
> downloaded a new build...
>
>
> -- Jovan
>
> 2014-11-11 10:50 GMT+01:00 FERNANDO RODRIGUEZ SELA <
> fernando.rodriguezs...@telefonica.com>:
>
>>  Hi Jovan,
>>
>>
>>  It's curious... What're the contents of your
>> /data/b2g/mozilla/.default/prefs.js file?
>>
>> Also, can you get the gecko level values?:
>>
>> You can use this script:
>>
>> https://gist.github.com/frsela/f1ae610563767684e389
>>
>>
>>  use as:
>>
>>   get.omni.ja.from.phone.sh 
>>
>>
>>  After it's execution, a new folder "folder_name" will be created on
>> your computer with the contents of the OMNI.JA.
>>
>> Send me the contents of your
>>
>> /defaults/pref/b2g.js
>>
>> file too.
>>
>>
>>  Another question. Did you registered some app with PUSH and then you
>> updated the phone?
>>
>>
>>  Finally, if you update the /defaults/pref/b2g.js and
>> enable push.debug to true ... you can get logcat with Push traces.
>>
>> To update the OMNI.JA, you can use this other script:
>>
>> https://gist.github.com/frsela/8dd49d16ea429cf093d9
>>
>>
>>  Thank you in advace for your debugging time :)
>>
>> Fernando
>>
>>
>>  --
>> *De:* Jovan Gerodetti 
>> *Enviado:* lunes, 10 de noviembre de 2014 20:10
>> *Para:* FERNANDO RODRIGUEZ SELA
>> *Cc:* dev-b2g
>> *Asunto:* Re: [b2g] simple push does not work anymore
>>
>>   well th

Re: [b2g] simple push does not work anymore

2014-11-17 Thread FERNANDO RODRIGUEZ SELA
Hi Jovan,

Yes!, We're looking to it. It appears you're using the moz server but you 
changed the settings to the Tef one.

It appears that the server change code [1] is not working well.

[1] http://mxr.mozilla.org/mozilla-central/source/dom/push/PushService.jsm#321

We'll work on this. Thank you for your traces ;)

Regards,
Fernando



De: Jovan Gerodetti 
Enviado: lunes, 17 de noviembre de 2014 16:13
Para: FERNANDO RODRIGUEZ SELA
Cc: dev-b2g
Asunto: Re: [b2g] simple push does not work anymore

Hello Fernando,

were my informations useful? Could you find out why my phones does not connect 
to the right push server?


Jovan

2014-11-13 16:13 GMT+01:00 Jovan Gerodetti 
mailto:titannanom...@gmail.com>>:
Okay I finally got the time to send you this

my /data/b2g/mozilla/.default/prefs.js file:
# Mozilla User Preferences

/* Do not edit this file.
 *
 * If you make changes to this file while the application is running,
 * the changes will be overwritten when the application exits.
 *
 * To make a manual change to preferences, you can visit the URL about:config
 */

user_pref("app.reportCrashes", true);
user_pref("app.update.custom", "");
user_pref("app.update.lastUpdateTime.background-update-timer", 1415875483);
user_pref("app.update.lastUpdateTime.user-agent-updates-timer", 1415687833);
user_pref("app.update.postupdate", true);
user_pref("browser.cache.disk.capacity", 144352);
user_pref("browser.download.importedFromSqlite", true);
user_pref("consoleservice.enabled", true);
user_pref("device.storage.writable.name", 
"sdcard1");
user_pref("devtools.debugger.forbid-certified-apps", false);
user_pref("devtools.debugger.remote-enabled", true);
user_pref("devtools.eventlooplag.threshold", 100);
user_pref("dom.mms.retrieval_mode", "automatic-home");
user_pref("dom.mozApps.maxLocalId", 1064);
user_pref("dom.mozApps.use_reviewer_certs", false);
user_pref("dom.mozApps.used", true);
user_pref("dom.sms.maxReadAheadEntries", 7);
user_pref("dom.webapps.firstRunWithSIM", false);
user_pref("gecko.buildID", "20141113092841");
user_pref("gecko.mstone", "34.0");
user_pref("general.useragent.locale", "de");
user_pref("general.useragent.updates.lastupdated", "1415687833746");
user_pref("idle.lastDailyNotification", 1415876285);
user_pref("intl.accept_languages", "de, en-US, en");
user_pref("layers.composer2d.enabled", false);
user_pref("layers.effect.contrast", "0.0");
user_pref("layers.effect.grayscale", false);
user_pref("layers.effect.invert", false);
user_pref("layers.enable-tiles", false);
user_pref("layers.low-precision-opacity", "1.0");
user_pref("layers.simple-tiles", false);
user_pref("network.cookie.prefsMigrated", true);
user_pref("privacy.donottrackheader.enabled", true);
user_pref("ril.lastKnownSimMcc", "262");
user_pref("ril.mms.mmsc", "http://mms.t-mobile.de/servlets/mms";);
user_pref("ril.mms.mmsport", 8008);
user_pref("ril.mms.mmsproxy", "172.28.23.131");
user_pref("ril.numRadioInterfaces", 1);
user_pref("ril.radio.disabled", false);
user_pref("services.push.adaptive.lastGoodPingInterval.mobile", 1366875);
user_pref("services.push.adaptive.lastGoodPingInterval.wifi", 1366875);
user_pref("services.push.adaptive.mobile", "mobile-262-01");
user_pref("services.push.pingInterval", 1366875);
user_pref("services.push.pingInterval.mobile", 1366875);
user_pref("services.push.pingInterval.wifi", 1366875);
user_pref("services.push.userAgentID", 
"93227901-7103-431c-9a23-e4978afed71b@2fcc633ac3011dc0f1d662b0ef6dc07f7dc2c64d");
user_pref("storage.vacuum.last.index", 0);
user_pref("toolkit.telemetry.enabled", true);
user_pref("toolkit.telemetry.previousBuildID", "20141113102947");

and this is my omni.ja/defaults/pref/b2g.js: 
https://etherpad.mozilla.org/7wr4gek5Od

In addition I have to say that Geeksphone forgot to include the push server in 
their 2.1 builds. They still didn't fixed it, but until now it worked pretty 
well when I uploaded my modified version of /system/b2g/default/pref/user.js, 
with the push server included, after I downloaded a new build...


-- Jovan

2014-11-11 10:50 GMT+01:00 FERNANDO RODRIGUEZ SELA 
mailto:fernando.rodriguezs...@telefonica.com>>:

Hi Jovan,


It's curious... What're the contents of your 
/data/b2g/mozilla/.default/prefs.js file?

Also, can you get the gecko level values?:

You can use this script:

https://gist.github.com/frsela/f1ae610563767684e389


use as:

  get.omni.ja.from.phone.sh 


After it's execution, a new folder "folder_name" will be created on your 
computer with the contents of the OMNI.JA.

Send me the contents of your

/defaults/pref/b2g.js

file too.


Another question. Did you registered some app with PUSH and then you updated 
the phone?


Finally, if you update the /defaults/pref/b2g.js and enable 
push.debug to true ... you can get logcat with Push traces.

To update the OMNI.JA, you can use this other script:

https://gist.github.com/frsela/8dd49d16e

Re: [b2g] simple push does not work anymore

2014-11-17 Thread Jovan Gerodetti
thank you for that information Fernando.


Regards,
Jovan

2014-11-17 16:21 GMT+01:00 FERNANDO RODRIGUEZ SELA <
fernando.rodriguezs...@telefonica.com>:

>  Hi Jovan,
>
> Yes!, We're looking to it. It appears you're using the moz server but you
> changed the settings to the Tef one.
>
> It appears that the server change code [1] is not working well.
>
> [1]
> http://mxr.mozilla.org/mozilla-central/source/dom/push/PushService.jsm#321
>
> We'll work on this. Thank you for your traces ;)
>
> Regards,
> Fernando
>
>
>  --
> *De:* Jovan Gerodetti 
> *Enviado:* lunes, 17 de noviembre de 2014 16:13
>
> *Para:* FERNANDO RODRIGUEZ SELA
> *Cc:* dev-b2g
> *Asunto:* Re: [b2g] simple push does not work anymore
>
>   Hello Fernando,
>
>  were my informations useful? Could you find out why my phones does not
> connect to the right push server?
>
>
>  Jovan
>
> 2014-11-13 16:13 GMT+01:00 Jovan Gerodetti :
>
>>  Okay I finally got the time to send you this
>>
>>  my /data/b2g/mozilla/.default/prefs.js file:
>>>
>>> # Mozilla User Preferences
>>>
>>> /* Do not edit this file.
>>>  *
>>>  * If you make changes to this file while the application is running,
>>>  * the changes will be overwritten when the application exits.
>>>  *
>>>  * To make a manual change to preferences, you can visit the URL
>>> about:config
>>>  */
>>>
>>> user_pref("app.reportCrashes", true);
>>> user_pref("app.update.custom", "");
>>> user_pref("app.update.lastUpdateTime.background-update-timer",
>>> 1415875483);
>>> user_pref("app.update.lastUpdateTime.user-agent-updates-timer",
>>> 1415687833);
>>> user_pref("app.update.postupdate", true);
>>> user_pref("browser.cache.disk.capacity", 144352);
>>> user_pref("browser.download.importedFromSqlite", true);
>>> user_pref("consoleservice.enabled", true);
>>> user_pref("device.storage.writable.name", "sdcard1");
>>> user_pref("devtools.debugger.forbid-certified-apps", false);
>>> user_pref("devtools.debugger.remote-enabled", true);
>>> user_pref("devtools.eventlooplag.threshold", 100);
>>> user_pref("dom.mms.retrieval_mode", "automatic-home");
>>> user_pref("dom.mozApps.maxLocalId", 1064);
>>> user_pref("dom.mozApps.use_reviewer_certs", false);
>>> user_pref("dom.mozApps.used", true);
>>> user_pref("dom.sms.maxReadAheadEntries", 7);
>>> user_pref("dom.webapps.firstRunWithSIM", false);
>>> user_pref("gecko.buildID", "20141113092841");
>>> user_pref("gecko.mstone", "34.0");
>>> user_pref("general.useragent.locale", "de");
>>> user_pref("general.useragent.updates.lastupdated", "1415687833746");
>>> user_pref("idle.lastDailyNotification", 1415876285);
>>> user_pref("intl.accept_languages", "de, en-US, en");
>>> user_pref("layers.composer2d.enabled", false);
>>> user_pref("layers.effect.contrast", "0.0");
>>> user_pref("layers.effect.grayscale", false);
>>> user_pref("layers.effect.invert", false);
>>> user_pref("layers.enable-tiles", false);
>>> user_pref("layers.low-precision-opacity", "1.0");
>>> user_pref("layers.simple-tiles", false);
>>> user_pref("network.cookie.prefsMigrated", true);
>>> user_pref("privacy.donottrackheader.enabled", true);
>>> user_pref("ril.lastKnownSimMcc", "262");
>>> user_pref("ril.mms.mmsc", "http://mms.t-mobile.de/servlets/mms";);
>>> user_pref("ril.mms.mmsport", 8008);
>>> user_pref("ril.mms.mmsproxy", "172.28.23.131");
>>> user_pref("ril.numRadioInterfaces", 1);
>>> user_pref("ril.radio.disabled", false);
>>> user_pref("services.push.adaptive.lastGoodPingInterval.mobile", 1366875);
>>> user_pref("services.push.adaptive.lastGoodPingInterval.wifi", 1366875);
>>> user_pref("services.push.adaptive.mobile", "mobile-262-01");
>>> user_pref("services.push.pingInterval", 1366875);
>>> user_pref("services.push.pingInterval.mobile", 1366875);
>>> user_pref("services.push.pingInterval.wifi", 1366875);
>>> user_pref("services.push.userAgentID",
>>> "93227901-7103-431c-9a23-e4978afed71b@2fcc633ac3011dc0f1d662b0ef6dc07f7dc2c64d
>>> ");
>>> user_pref("storage.vacuum.last.index", 0);
>>> user_pref("toolkit.telemetry.enabled", true);
>>> user_pref("toolkit.telemetry.previousBuildID", "20141113102947");
>>>
>>
>>  and this is my omni.ja/defaults/pref/b2g.js:
>> https://etherpad.mozilla.org/7wr4gek5Od
>>
>>  In addition I have to say that Geeksphone forgot to include the push
>> server in their 2.1 builds. They still didn't fixed it, but until now it
>> worked pretty well when I uploaded my modified version of
>> /system/b2g/default/pref/user.js, with the push server included, after I
>> downloaded a new build...
>>
>>
>>  -- Jovan
>>
>> 2014-11-11 10:50 GMT+01:00 FERNANDO RODRIGUEZ SELA <
>> fernando.rodriguezs...@telefonica.com>:
>>
>>>  Hi Jovan,
>>>
>>>
>>>  It's curious... What're the contents of your
>>> /data/b2g/mozilla/.default/prefs.js file?
>>>
>>> Also, can you get the gecko level values?:
>>>
>>> You can use this script:
>>>
>>> https://gist.github.com/frsela/f1ae610563767684e389
>>>
>>>
>>>  use as:
>>>
>>>   get.omni.ja.from.phone.sh 
>>>
>>>
>>>  Afte

Re: [b2g] Paranoia mode?

2014-11-17 Thread Dave Hylands
I was able to install an ssh server (or perhaps you're referring to having an 
ssh client?) on my flame by following these instructions: 

http://dan.drown.org/android/ 
http://dan.drown.org/android/howto/ssh-server.html 

I'd like to get an ssh server integrated into the build, but that's just a side 
project for now. 

Dave Hylands 

- Original Message -

> From: "André Jaenisch" 
> To: dev-g...@lists.mozilla.org
> Cc: dev-b2g@lists.mozilla.org
> Sent: Wednesday, November 12, 2014 2:39:34 PM
> Subject: Paranoia mode?

> Hello,

> I recently had a chat on Twitter about whether there are a SSH shell and
> terminal on Firefox OS (afaik, there aren't). I asked wherefore one would
> need
> those and it turns out, that the questioner thinked about using those to log
> into his companies' server (he's a sys admin).

> At least since the Snowden leaks we know, that SysAdmins are likely a target.
> So I tried to convince him not to tell too much (Social Engineering) and
> think
> again about it.
> From what I can tell, a smartphone should not be considered as trustfully as,
> say, a laptop, since a laptop can be built upon open components [0], whereby
> a
> smartphone cannot [1].

> Someone from Mozilla replied to me, that he isn't involved in tasks, that
> would
> require that grade of paranoia.
> But that's not my point.
> My point is taking care of each other to safeguard each other.
> That can be proofreading ("peer reviewing") other ones code before using a
> lib
> or asking about the rationales behind decisions or talk about designs of
> decisions/craftship of APIs (like in [2]).

> Mozilla is known for it's call to privacy. Let's build upon that.

> I'd like to hear your opinions on that. Please be kind and bear in mind, that
> everything you write may be archived and used against us.

> Best regards,

> André Jaenisch

> [0] https://www.crowdsupply.com/kosagi/novena-open-laptop
> [1] https://groups.google.com/d/msg/mozilla.dev.gaia/T4dzISBeDSI/GOQf-n-1ByUJ
> [2] https://groups.google.com/d/msg/mozilla.dev.b2g/e3T92wNy-PM/-rK-vGihBcEJ
> ___
> dev-gaia mailing list
> dev-g...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-gaia
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g