Re: [b2g] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread Juan Gómez
Hi Vengapati,
You should paste the error message dumped when building with: ./build.sh
-j1 showcommands

Regards,

Juan Gómez.


On Tue, Sep 10, 2013 at 8:30 AM, vangapati naresh  wrote:

> Hi,
>
> I have been having a little trouble trying to build b2g/fxos. I'm trying
> to build for the sony xperia-s (lt26). Here is a clip of what is happening
> in the terminal:
>
> host C: acp <= build/tools/acp/acp.c
> -JXmx1024m -Jclasspath
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8
> -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error
> 16 -error 17 -error 18 frameworks/base/api/15.txt
> out/target/common/obj/PACKAGING/public_api.txt
>
>
>
> -JXmx1024m -Jclasspath
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9
> -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16
> -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24
> -error 25 frameworks/base/api/current.txt
> out/target/common/obj/PACKAGING/public_api.txt
>
>
> host C: libhost <= build/libs/host/CopyFile.c
> host C++: libhost <= build/libs/host/pseudolocalize.cpp
>
> After little doem i got these errors..
>
> make: ***
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o]
> Error 1
> make: ***
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o]
> Error 1
> make: ***
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1
> make: ***
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
> make: ***
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] Error
> 1
>
>
> real0m4.146s
> user0m2.560s
> sys 0m0.512s
>
> > Build failed! <
>
>
> I don't know if I've left something out, or if it's a problem with
> gcc/Java. If someone could say how I should go about fixing this I would
> greatly appreciate it and it would be very much helpful.
>
>
>
>
>
> ___
> 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] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread amrtelekom
El martes, 10 de septiembre de 2013 09:25:06 UTC+2, Juan Gómez escribió:
> Hi Vengapati, You should paste the error message dumped when building with: 
> ./build.sh -j1 showcommands Regards, Juan Gómez. On Tue, Sep 10, 2013 at 8:30 
> AM, vangapati naresh  wrote: > Hi, > > I have 
> been having a little trouble trying to build b2g/fxos. I'm trying > to build 
> for the sony xperia-s (lt26). Here is a clip of what is happening > in the 
> terminal: > > host C: acp <= build/tools/acp/acp.c > -JXmx1024m -Jclasspath > 
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
>  > -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 
> 8 > -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 
> -error > 16 -error 17 -error 18 frameworks/base/api/15.txt > 
> out/target/common/obj/PACKAGING/public_api.txt > > > > -JXmx1024m -Jclasspath 
> > 
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
>  > -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 > 
> -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 > 
> -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 > 
> -error 25 frameworks/base/api/current.txt > 
> out/target/common/obj/PACKAGING/public_api.txt > > > host C: libhost <= 
> build/libs/host/CopyFile.c > host C++: libhost <= 
> build/libs/host/pseudolocalize.cpp > > After little doem i got these errors.. 
> > > make: *** > 
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] > 
> Error 1 > make: *** > 
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o]
>  > Error 1 > make: *** > 
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1 > 
> make: *** > 
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1 
> > make: *** > 
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] Error > 
> 1 > > > real 0m4.146s > user 0m2.560s > sys 0m0.512s > > > Build failed! < > 
> > > I don't know if I've left something out, or if it's a problem with > 
> gcc/Java. If someone could say how I should go about fixing this I would > 
> greatly appreciate it and it would be very much helpful. > > > > > > 
> ___ > dev-b2g mailing list > 
> dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g >

Do you know if is possible to do in a tablet nexus 7? I have also problems with 
build, I wrote yesterday a post? Can you help me, please?
thanks.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread vangapati naresh
On Tuesday, September 10, 2013 12:00:17 PM UTC+5:30, vangapati naresh wrote:
> Hi,
> 
> 
> 
> I have been having a little trouble trying to build b2g/fxos. I'm trying to 
> build for the sony xperia-s (lt26). Here is a clip of what is happening in 
> the terminal: 
> 
> 
> 
> host C: acp <= build/tools/acp/acp.c
> 
> -JXmx1024m -Jclasspath 
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
>  -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8 
> -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 
> 16 -error 17 -error 18 frameworks/base/api/15.txt 
> out/target/common/obj/PACKAGING/public_api.txt
> 
> 
> 
> 
> 
> 
> 
> -JXmx1024m -Jclasspath 
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
>  -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 
> -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 -error 
> 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 -error 25 
> frameworks/base/api/current.txt out/target/common/obj/PACKAGING/public_api.txt
> 
> 
> 
> 
> 
> host C: libhost <= build/libs/host/CopyFile.c
> 
> host C++: libhost <= build/libs/host/pseudolocalize.cpp
> 
> 
> 
> After little doem i got these errors..
> 
> 
> 
> make: *** 
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] 
> Error 1
> 
> make: *** 
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o]
>  Error 1
> 
> make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] 
> Error 1
> 
> make: *** 
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
> 
> make: *** 
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] Error 1
> 
> 
> 
> 
> 
> real  0m4.146s
> 
> user  0m2.560s
> 
> sys   0m0.512s
> 
> 
> 
> > Build failed! <
> 
> 
> 
> 
> 
> I don't know if I've left something out, or if it's a problem with gcc/Java. 
> If someone could say how I should go about fixing this I would greatly 
> appreciate it and it would be very much helpful.



Hi Juan,
Please find below for errors i got after running with ./build.sh -j1


build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/system/lib/libsurfaceflinger_client.so'
Checking API: checkapi-last

-JXmx1024m -Jclasspath 
/home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
 -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8 
-error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 
-error 17 -error 18 frameworks/base/api/15.txt 
out/target/common/obj/PACKAGING/public_api.txt

Checking API: checkapi-current
-JXmx1024m -Jclasspath 
/home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
 -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 -error 
10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 -error 
18 -error 19 -error 20 -error 21 -error 23 -error 24 -error 25 
frameworks/base/api/current.txt out/target/common/obj/PACKAGING/public_api.txt

host C: acp <= build/tools/acp/acp.c
cc1: fatal error: system/core/include/arch/linux-x86/AndroidConfig.h: No such 
file or directory

compilation terminated.

make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1

real0m4.153s
user0m2.520s
sys 0m0.520s

> Build failed! <

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


[b2g] home screen icon for website (in full quality)

2013-09-10 Thread staunsholm
My google skills are failing, I think. Is there really no way to give a website 
(not an app) a nice icon when you add it to the home screen?

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


Re: [b2g] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread Juan Gómez
Well, it looks like something is wrong with your "android_system_core"
repository.
Double check that you are pointing to the right one in your manifest.xml or
if even exists.
Must be something like:

And if you are porting things to ICS, make sure that you are not pointing
to some of the JellyBean versions too.

Regards,
Juan Gómez.




On Tue, Sep 10, 2013 at 10:12 AM, vangapati naresh <
nareshvangap...@gmail.com> wrote:

> On Tuesday, September 10, 2013 12:00:17 PM UTC+5:30, vangapati naresh
> wrote:
> > Hi,
> >
> >
> >
> > I have been having a little trouble trying to build b2g/fxos. I'm trying
> to build for the sony xperia-s (lt26). Here is a clip of what is happening
> in the terminal:
> >
> >
> >
> > host C: acp <= build/tools/acp/acp.c
> >
> > -JXmx1024m -Jclasspath
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8
> -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error
> 16 -error 17 -error 18 frameworks/base/api/15.txt
> out/target/common/obj/PACKAGING/public_api.txt
> >
> >
> >
> >
> >
> >
> >
> > -JXmx1024m -Jclasspath
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9
> -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16
> -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24
> -error 25 frameworks/base/api/current.txt
> out/target/common/obj/PACKAGING/public_api.txt
> >
> >
> >
> >
> >
> > host C: libhost <= build/libs/host/CopyFile.c
> >
> > host C++: libhost <= build/libs/host/pseudolocalize.cpp
> >
> >
> >
> > After little doem i got these errors..
> >
> >
> >
> > make: ***
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o]
> Error 1
> >
> > make: ***
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o]
> Error 1
> >
> > make: ***
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1
> >
> > make: ***
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
> >
> > make: ***
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] Error
> 1
> >
> >
> >
> >
> >
> > real  0m4.146s
> >
> > user  0m2.560s
> >
> > sys   0m0.512s
> >
> >
> >
> > > Build failed! <
> >
> >
> >
> >
> >
> > I don't know if I've left something out, or if it's a problem with
> gcc/Java. If someone could say how I should go about fixing this I would
> greatly appreciate it and it would be very much helpful.
>
>
>
> Hi Juan,
> Please find below for errors i got after running with ./build.sh -j1
>
>
> build/core/base_rules.mk:532: warning: ignoring old commands for target
> `out/target/product/lt26/system/lib/libsurfaceflinger_client.so'
> Checking API: checkapi-last
>
> -JXmx1024m -Jclasspath
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8
> -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error
> 16 -error 17 -error 18 frameworks/base/api/15.txt
> out/target/common/obj/PACKAGING/public_api.txt
>
> Checking API: checkapi-current
> -JXmx1024m -Jclasspath
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9
> -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16
> -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24
> -error 25 frameworks/base/api/current.txt
> out/target/common/obj/PACKAGING/public_api.txt
>
> host C: acp <= build/tools/acp/acp.c
> cc1: fatal error: system/core/include/arch/linux-x86/AndroidConfig.h: No
> such file or directory
>
> compilation terminated.
>
> make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o]
> Error 1
>
> real0m4.153s
> user0m2.520s
> sys 0m0.520s
>
> > Build failed! <
>
> Thanks,
> Naresh
> ___
> 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] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread vangapati naresh
On Tuesday, September 10, 2013 12:55:06 PM UTC+5:30, Juan Gómez wrote:
> Hi Vengapati,
> 
> You should paste the error message dumped when building with: ./build.sh
> 
> -j1 showcommands
> 
> 
> 
> Regards,
> 
> 
> 
> Juan Gómez.
> 
> 
> 
> 
> 
> On Tue, Sep 10, 2013 at 8:30 AM, vangapati naresh  
> > wrote:
> 
> 
> 
> > Hi,
> 
> >
> 
> > I have been having a little trouble trying to build b2g/fxos. I'm trying
> 
> > to build for the sony xperia-s (lt26). Here is a clip of what is happening
> 
> > in the terminal:
> 
> >
> 
> > host C: acp <= build/tools/acp/acp.c
> 
> > -JXmx1024m -Jclasspath
> 
> > /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> 
> > -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8
> 
> > -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error
> 
> > 16 -error 17 -error 18 frameworks/base/api/15.txt
> 
> > out/target/common/obj/PACKAGING/public_api.txt
> 
> >
> 
> >
> 
> >
> 
> > -JXmx1024m -Jclasspath
> 
> > /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> 
> > -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9
> 
> > -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16
> 
> > -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24
> 
> > -error 25 frameworks/base/api/current.txt
> 
> > out/target/common/obj/PACKAGING/public_api.txt
> 
> >
> 
> >
> 
> > host C: libhost <= build/libs/host/CopyFile.c
> 
> > host C++: libhost <= build/libs/host/pseudolocalize.cpp
> 
> >
> 
> > After little doem i got these errors..
> 
> >
> 
> > make: ***
> 
> > [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o]
> 
> > Error 1
> 
> > make: ***
> 
> > [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o]
> 
> > Error 1
> 
> > make: ***
> 
> > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1
> 
> > make: ***
> 
> > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
> 
> > make: ***
> 
> > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] Error
> 
> > 1
> 
> >
> 
> >
> 
> > real0m4.146s
> 
> > user0m2.560s
> 
> > sys 0m0.512s
> 
> >
> 
> > > Build failed! <
> 
> >
> 
> >
> 
> > I don't know if I've left something out, or if it's a problem with
> 
> > gcc/Java. If someone could say how I should go about fixing this I would
> 
> > greatly appreciate it and it would be very much helpful.
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> > ___
> 
> > dev-b2g mailing list
> 
> > dev-b2g@lists.mozilla.org
> 
> > https://lists.mozilla.org/listinfo/dev-b2g
> 
> >

Hi Juan,

Please find below for errors i got after running with ./build.sh -j1 
showcommandds

build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/system/lib/libsurfaceflinger_client.so'
Checking API: checkapi-last

( /bin/echo -JXmx1024m -J"classpath 
/home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar"
  -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8 
-error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 
-error 17 -error 18   frameworks/base/api/15.txt  
out/target/common/obj/PACKAGING/public_api.txt || (  cat 
build/core/apicheck_msg_last.txt  ; exit 38 ) )

-JXmx1024m -Jclasspath 
/home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
 -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8 
-error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 
-error 17 -error 18 frameworks/base/api/15.txt 
out/target/common/obj/PACKAGING/public_api.txt

mkdir -p out/target/common/obj/PACKAGING/
touch out/target/common/obj/PACKAGING/checkapi-last-timestamp
Checking API: checkapi-current

( /bin/echo -JXmx1024m -J"classpath 
/home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar"
  -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 
-error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 -error 17 
-error 18 -error 19 -error 20 -error 21 -error 23 -error 24 -error 25   
frameworks/base/api/current.txt  out/target/common/obj/PACKAGING/public_api.txt 
|| (  cat build/core/apicheck_msg_current.txt  ; exit 38 ) )
-JXmx1024m -Jclasspath 
/home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
 -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -

[b2g] B2G/nexus7 fxOS

2013-09-10 Thread amrtelekom
Who can help me to flash tablet nexus 7?

I already have troubles with ./build

Thank you very much !!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Verification Error

2013-09-10 Thread Sebastien Blanc
Hi Kris ;)

I got the same issue , flashing with the Movistar update.zip helped me passing 
the signature error. Maybe you can try this zip ? 
Link is : 
http://download.ztedevices.com/UpLoadFiles/product/550/3363/soft/2013071709042705.zip
Other zips links that will maybe work for you:
Look at this comment 
http://pof.eslack.org/2013/07/05/zte-open-firefoxos-phone-root-and-first-impressions/#comment-1695

If you managed to get your phone working again and plan another 1.1 flash, here 
some tips :

I just managed to flash 1.1 to my ZTE but there are a lot of steps. I will 
write this down in a blog entry but for now you can do it this way. You entry 
point is 
http://pof.eslack.org/2013/07/05/zte-open-firefoxos-phone-root-and-first-impressions/

This will show you how to root your phone. Assuming you have rooted your phone 
and build a 1.1 the following steps are described here, in this comment : 
http://pof.eslack.org/2013/07/05/zte-open-firefoxos-phone-root-and-first-impressions/#comment-1749

You know where you can find me if you have any questions !

Sebi


On Sunday, September 8, 2013 9:31:37 PM UTC+2, Kris Borchers wrote:
> Does anyone else have any recommendations? I fear I am at the point where 
> only some low-level TPT type flash is going to be the thing that can save 
> this device. I am open to anything at this point so any suggestion, no matter 
> how crazy it may seem is appreciated.
> 
> 
> 
> On Sep 7, 2013, at 16:22, Cristi Burca  wrote:
> 
> 
> 
> > Hello Kris,
> 
> > 
> 
> > The ZTE support people probably sent you the wrong version of the zip.
> 
> > 
> 
> > For example, here's the zip for the ZTE Open bought from Ebay UK:
> 
> > 
> 
> > http://www.ztedevices.com/support/smart_phone/cba40ed6-d3ab-44c0-bdee-3a15803dc187.html
> 
> > 
> 
> > And here's the link if you bought it from Ebay USA:
> 
> > 
> 
> > http://www.ztedevices.com/support/smart_phone/b5a2981a-1714-4ac7-89e1-630e93e220f8.html
> 
> > ___
> 
> > 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] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread vangapati naresh
On Tuesday, September 10, 2013 2:01:26 PM UTC+5:30, Juan Gómez wrote:
> Well, it looks like something is wrong with your "android_system_core"
> 
> repository.
> 
> Double check that you are pointing to the right one in your manifest.xml or
> 
> if even exists.
> 
> Must be something like:
> 
> 
> 
> And if you are porting things to ICS, make sure that you are not pointing
> 
> to some of the JellyBean versions too.
> 
> 
> 
> Regards,
> 
> Juan Gómez.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Sep 10, 2013 at 10:12 AM, vangapati naresh <
> 
> nareshvangap...@gmail.com> wrote:
> 
> 
> 
> > On Tuesday, September 10, 2013 12:00:17 PM UTC+5:30, vangapati naresh
> 
> > wrote:
> 
> > > Hi,
> 
> > >
> 
> > >
> 
> > >
> 
> > > I have been having a little trouble trying to build b2g/fxos. I'm trying
> 
> > to build for the sony xperia-s (lt26). Here is a clip of what is happening
> 
> > in the terminal:
> 
> > >
> 
> > >
> 
> > >
> 
> > > host C: acp <= build/tools/acp/acp.c
> 
> > >
> 
> > > -JXmx1024m -Jclasspath
> 
> > /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> 
> > -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8
> 
> > -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error
> 
> > 16 -error 17 -error 18 frameworks/base/api/15.txt
> 
> > out/target/common/obj/PACKAGING/public_api.txt
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > > -JXmx1024m -Jclasspath
> 
> > /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> 
> > -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9
> 
> > -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16
> 
> > -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24
> 
> > -error 25 frameworks/base/api/current.txt
> 
> > out/target/common/obj/PACKAGING/public_api.txt
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > > host C: libhost <= build/libs/host/CopyFile.c
> 
> > >
> 
> > > host C++: libhost <= build/libs/host/pseudolocalize.cpp
> 
> > >
> 
> > >
> 
> > >
> 
> > > After little doem i got these errors..
> 
> > >
> 
> > >
> 
> > >
> 
> > > make: ***
> 
> > [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o]
> 
> > Error 1
> 
> > >
> 
> > > make: ***
> 
> > [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o]
> 
> > Error 1
> 
> > >
> 
> > > make: ***
> 
> > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1
> 
> > >
> 
> > > make: ***
> 
> > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
> 
> > >
> 
> > > make: ***
> 
> > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] Error
> 
> > 1
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > > real  0m4.146s
> 
> > >
> 
> > > user  0m2.560s
> 
> > >
> 
> > > sys   0m0.512s
> 
> > >
> 
> > >
> 
> > >
> 
> > > > Build failed! <
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > > I don't know if I've left something out, or if it's a problem with
> 
> > gcc/Java. If someone could say how I should go about fixing this I would
> 
> > greatly appreciate it and it would be very much helpful.
> 
> >
> 
> >
> 
> >
> 
> > Hi Juan,
> 
> > Please find below for errors i got after running with ./build.sh -j1
> 
> >
> 
> >
> 
> > build/core/base_rules.mk:532: warning: ignoring old commands for target
> 
> > `out/target/product/lt26/system/lib/libsurfaceflinger_client.so'
> 
> > Checking API: checkapi-last
> 
> >
> 
> > -JXmx1024m -Jclasspath
> 
> > /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> 
> > -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8
> 
> > -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error
> 
> > 16 -error 17 -error 18 frameworks/base/api/15.txt
> 
> > out/target/common/obj/PACKAGING/public_api.txt
> 
> >
> 
> > Checking API: checkapi-current
> 
> > -JXmx1024m -Jclasspath
> 
> > /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> 
> > -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9
> 
> > -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16
> 
> > -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24
> 
> > -error 25 frameworks/base/api/current.txt
> 
> > out/target/common/obj/PACKAGING/public_api.txt
> 
> >
> 
> > host C: acp <= build/tools/acp/acp.c
> 
> > cc1: fatal error: system/core/include/arch/linux-x86/AndroidConfig.h: No
> 
> > such file or directory
> 
> >
> 
> > compilation terminated.
> 
> >
> 
> > make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o]
> 
> >

Re: [b2g] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread amrtelekom
My error is similar (doing build to nexus 7)

target thumb C++: fakeappops <= gonk-misc/fakeappops.cpp
target thumb C++: fakeperm <= gonk-misc/fakeperm.cpp
Import includes file: 
out/target/product/grouper/obj/EXECUTABLES/fakesched_intermediates/import_includes
gonk-misc/fakeappops.cpp:21:35: fatal error: binder/IAppOpsService.h: No such 
file or directory
compilation terminated.
make: *** 
[out/target/product/grouper/obj/EXECUTABLES/fakeappops_intermediates/fakeappops.o]
 Error 1
make: *** Waiting for unfinished jobs
make: *** wait: No child processes.  Stop.

real3m14.535s
user19m7.572s
sys1m3.328s

> Build failed! <

Can you help me, please?!
thank you
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] B2G/nexus7 fxOS

2013-09-10 Thread amrtelekom
I have this error


target thumb C++: fakeappops <= gonk-misc/fakeappops.cpp 
target thumb C++: fakeperm <= gonk-misc/fakeperm.cpp 
Import includes file: 
out/target/product/grouper/obj/EXECUTABLES/fakesched_intermediates/import_includes
 
gonk-misc/fakeappops.cpp:21:35: fatal error: binder/IAppOpsService.h: No such 
file or directory 
compilation terminated. 
make: *** 
[out/target/product/grouper/obj/EXECUTABLES/fakeappops_intermediates/fakeappops.o]
 Error 1 
make: *** Waiting for unfinished jobs 
make: *** wait: No child processes.  Stop. 

real3m14.535s 
user19m7.572s 
sys1m3.328s 

> Build failed! < 

If someone could say how I should go about fixing this I would greatly 
appreciate it and it would be very much helpful.

Kind regards,




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


Re: [b2g] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread Juan Gómez
Vangapati,
Does this file exist?
system/core/include/arch/linux-x86/AndroidConfig.h
Otherwise, try:
./repos sync platform/system/core
Check and build again.



On Tue, Sep 10, 2013 at 10:47 AM, vangapati naresh <
nareshvangap...@gmail.com> wrote:

> On Tuesday, September 10, 2013 2:01:26 PM UTC+5:30, Juan Gómez wrote:
> > Well, it looks like something is wrong with your "android_system_core"
> >
> > repository.
> >
> > Double check that you are pointing to the right one in your manifest.xml
> or
> >
> > if even exists.
> >
> > Must be something like:
> >
> > 
> >
> > And if you are porting things to ICS, make sure that you are not pointing
> >
> > to some of the JellyBean versions too.
> >
> >
> >
> > Regards,
> >
> > Juan Gómez.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Sep 10, 2013 at 10:12 AM, vangapati naresh <
> >
> > nareshvangap...@gmail.com> wrote:
> >
> >
> >
> > > On Tuesday, September 10, 2013 12:00:17 PM UTC+5:30, vangapati naresh
> >
> > > wrote:
> >
> > > > Hi,
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > I have been having a little trouble trying to build b2g/fxos. I'm
> trying
> >
> > > to build for the sony xperia-s (lt26). Here is a clip of what is
> happening
> >
> > > in the terminal:
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > host C: acp <= build/tools/acp/acp.c
> >
> > > >
> >
> > > > -JXmx1024m -Jclasspath
> >
> > >
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> >
> > > -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7
> -error 8
> >
> > > -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15
> -error
> >
> > > 16 -error 17 -error 18 frameworks/base/api/15.txt
> >
> > > out/target/common/obj/PACKAGING/public_api.txt
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > -JXmx1024m -Jclasspath
> >
> > >
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> >
> > > -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9
> >
> > > -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16
> >
> > > -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24
> >
> > > -error 25 frameworks/base/api/current.txt
> >
> > > out/target/common/obj/PACKAGING/public_api.txt
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > host C: libhost <= build/libs/host/CopyFile.c
> >
> > > >
> >
> > > > host C++: libhost <= build/libs/host/pseudolocalize.cpp
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > After little doem i got these errors..
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > make: ***
> >
> > >
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o]
> >
> > > Error 1
> >
> > > >
> >
> > > > make: ***
> >
> > >
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o]
> >
> > > Error 1
> >
> > > >
> >
> > > > make: ***
> >
> > > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o]
> Error 1
> >
> > > >
> >
> > > > make: ***
> >
> > > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o]
> Error 1
> >
> > > >
> >
> > > > make: ***
> >
> > > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o]
> Error
> >
> > > 1
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > real  0m4.146s
> >
> > > >
> >
> > > > user  0m2.560s
> >
> > > >
> >
> > > > sys   0m0.512s
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > > Build failed! <
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > I don't know if I've left something out, or if it's a problem with
> >
> > > gcc/Java. If someone could say how I should go about fixing this I
> would
> >
> > > greatly appreciate it and it would be very much helpful.
> >
> > >
> >
> > >
> >
> > >
> >
> > > Hi Juan,
> >
> > > Please find below for errors i got after running with ./build.sh -j1
> >
> > >
> >
> > >
> >
> > > build/core/base_rules.mk:532: warning: ignoring old commands for
> target
> >
> > > `out/target/product/lt26/system/lib/libsurfaceflinger_client.so'
> >
> > > Checking API: checkapi-last
> >
> > >
> >
> > > -JXmx1024m -Jclasspath
> >
> > >
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
> >
> > > -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7
> -error 8
> >
> > > -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15
> -error
> >
> > > 16 -error 17 -error 18 frameworks/base/api/15.txt
> >
> > > out/target/common/obj/PACKAGING/public_api.txt
> >
> > >
> >
> > > Checking API: checkapi-current
> >
> > > -JXmx1024m -Jclasspath
> >
> > >
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/hos

Re: [b2g] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread vangapati naresh
On Tuesday, September 10, 2013 12:00:17 PM UTC+5:30, vangapati naresh wrote:
> Hi,
> 
> 
> 
> I have been having a little trouble trying to build b2g/fxos. I'm trying to 
> build for the sony xperia-s (lt26). Here is a clip of what is happening in 
> the terminal: 
> 
> 
> 
> host C: acp <= build/tools/acp/acp.c
> 
> -JXmx1024m -Jclasspath 
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
>  -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8 
> -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 
> 16 -error 17 -error 18 frameworks/base/api/15.txt 
> out/target/common/obj/PACKAGING/public_api.txt
> 
> 
> 
> 
> 
> 
> 
> -JXmx1024m -Jclasspath 
> /home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar
>  -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 9 
> -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 -error 
> 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 -error 25 
> frameworks/base/api/current.txt out/target/common/obj/PACKAGING/public_api.txt
> 
> 
> 
> 
> 
> host C: libhost <= build/libs/host/CopyFile.c
> 
> host C++: libhost <= build/libs/host/pseudolocalize.cpp
> 
> 
> 
> After little doem i got these errors..
> 
> 
> 
> make: *** 
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] 
> Error 1
> 
> make: *** 
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o]
>  Error 1
> 
> make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] 
> Error 1
> 
> make: *** 
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
> 
> make: *** 
> [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/CrunchCache.o] Error 1
> 
> 
> 
> 
> 
> real  0m4.146s
> 
> user  0m2.560s
> 
> sys   0m0.512s
> 
> 
> 
> > Build failed! <
> 
> 
> 
> 
> 
> I don't know if I've left something out, or if it's a problem with gcc/Java. 
> If someone could say how I should go about fixing this I would greatly 
> appreciate it and it would be very much helpful.

Hi Juan,

system/core/include/arch/linux-x86/AndroidConfig.h doesn't exist in my 
repository.

Even "arch" directory is not available in my system/core/include path .

./repo sync platform/system/core didn't helped me..!
Hunged up with same error.

How can i get /system/core/include/arch * in to my repository.

Regards

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


Re: [b2g] B2G/nexus7 fxOS

2013-09-10 Thread jerzyglowacki
There is a clear errror message: file not found.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] B2G/nexus7 fxOS

2013-09-10 Thread amrtelekom
you were right, now I have this one

target StaticLib: libc_common 
(out/target/product/grouper/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
host Executable: bspatch 
(out/host/linux-x86/obj/EXECUTABLES/bspatch_intermediates/bspatch)
host Executable: ext2simg 
(out/host/linux-x86/obj/EXECUTABLES/ext2simg_intermediates/ext2simg)
host Executable: ext4fixup 
(out/host/linux-x86/obj/EXECUTABLES/ext4fixup_intermediates/ext4fixup)
host Executable: fastboot 
(out/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/fastboot)
host Executable: gccdemangle_test 
(out/host/linux-x86/obj/EXECUTABLES/gccdemangle_test_intermediates/gccdemangle_test)
host SharedLib: libcorkscrew (out/host/linux-x86/obj/lib/libcorkscrew.so)
host Executable: make_ext4fs 
(out/host/linux-x86/obj/EXECUTABLES/make_ext4fs_intermediates/make_ext4fs)
host Executable: mkbootimg 
(out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg)
host SharedLib: libssl (out/host/linux-x86/obj/lib/libssl.so)
echo  > 
/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/.b2g.mk
host Executable: pbkdf2gen 
(out/host/linux-x86/obj/EXECUTABLES/pbkdf2gen_intermediates/pbkdf2gen)
make -C 
/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia  
profile
make[1]: Entering directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia'
echo "$BUILD_CONFIG" > 
/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/build/config.js
preparing StaticLib: libc [including  
out/target/product/grouper/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a]
target thumb C++: fakeappops <= gonk-misc/fakeappops.cpp
target thumb C++: fakesched <= gonk-misc/fakesched.cpp
target thumb C: hostapd <= external/wpa_supplicant_8/hostapd/main.c
target thumb C: hostapd <= external/wpa_supplicant_8/hostapd/config_file.c
In file included from gonk-misc/fakeappops.cpp:21:0:
frameworks/native/include/binder/IAppOpsService.h:21:40: fatal error: 
binder/IAppOpsCallback.h: No such file or directory
compilation terminated.
make: *** 
[out/target/product/grouper/obj/EXECUTABLES/fakeappops_intermediates/fakeappops.o]
 Error 1
make: *** Waiting for unfinished jobs
make[2]: Entering directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/apps/gallery'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
rule.
make[2]: Nothing to be done for `concatenated_scripts'.
make[2]: Leaving directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/apps/gallery'
make[2]: Entering directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/apps/calendar'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
rule.

make[2]: Leaving directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/apps/calendar'
make[2]: Entering directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/apps/music'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
rule.
make[2]: Nothing to be done for `concatenated_scripts'.
make[2]: Leaving directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/apps/music'
make[2]: Entering directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/apps/system'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
rule.
make[2]: Leaving directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/apps/system'
In file included from gonk-misc/fakesched.cpp:17:0:
frameworks/native/include/binder/BinderService.h: In static member function 
'static void android::BinderService::publishAndJoinThreadPool(bool) 
[with SERVICE = android::FakeSchedulePolicyService]':
gonk-misc/fakesched.cpp:64:32:   instantiated from here
frameworks/native/include/binder/BinderService.h:44:9: error: cannot allocate 
an object of abstract type 'android::FakeSchedulePolicyService'
gonk-misc/fakesched.cpp:25:7: note:   because the following virtual functions 
are pure within 'android::FakeSchedulePolicyService':
frameworks/av/services/audioflinger/ISchedulingPolicyService.h:29:17: note: 
virtual int android::ISchedulingPolicyService::requestPriority(int32_t, 
int32_t, int32_t)
make: *** 
[out/target/product/grouper/obj/EXECUTABLES/fakesched_intermediates/fakesched.o]
 Error 1
make[2]: Entering directory 
`/home/arancha/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/b2g-n7/gaia/apps/email'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
rule.
test -d .git && cp tools/pre-commit .git/hooks/pre-commit || true
test -d profile || mkdir -p profile
Finished: Generating extensions
run-js-command  applications-data
run-js-command  preferences
run-js-command  webapp-manifests
run-js-command  webapp-optimize
Looking for packa

Re: [b2g] home screen icon for website (in full quality)

2013-09-10 Thread Jan Jongboom
On Tuesday, September 10, 2013 10:16:39 AM UTC+2, staun...@gmail.com wrote:
> My google skills are failing, I think. Is there really no way to give a 
> website (not an app) a nice icon when you add it to the home screen?
> 
> 
> 
> Mkkl.

It gets the favicon and makes that into an icon. If there is none, then you're 
out of luck. 

You can however shell into the phone and change the manifest to point to a 
custom icon (base64)
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Timer application problem.

2013-09-10 Thread Jan Jongboom
On Monday, September 9, 2013 11:34:22 PM UTC+2, Krzysztof Adamski wrote:
> Hello,
> 
> 
> 
> I wanted to create a trivial timer application for Firefox OS. The idea
> 
> is simple, you set the time, let's say 3 minutes, press "start", and
> 
> forget about your phone. After 3 minutes, it will ring to remind you
> 
> about something.
> 
> 
> 
> The timer should work even if application is closed and device is
> 
> suspended, should make some sound when timer expires and it shouldn't
> 
> stop making sound until user presses "OK". I was able to achieve this
> 
> with Alarm API,  tag, window.open (which requires "attention"
> 
> permission) and screen WakeLock. 
> 
> 
> 
> Problem is, in order to use "attencion" permision my app has to be
> 
> "certified". If I understand this correctly, this makes it impossible
> 
> to be included in marketplace, right? It also uses WakeLock API, which
> 
> is not well documented.
> 
> 
> 
> I know I could use Notifications, they will turn screen on, and privida
> 
> a "bell", but I think it's not enough for timer application. It should
> 
> ring for at least 30 seconds, so it can't be missed. It should also be
> 
> possible to easly turn this ring off without unlocking the screen.
> 
> 
> 
> So my question is - what are the alternatives? This should be simple
> 
> application but somehow I don't know how to do this the right way. Any
> 
> help would be appreciated. 
> 
> 
> 
> The proof-of-concept application can be found on my github: 
> 
> http://github.com/kadamski/fxos_apps/tree/master/alarm1

Don't use window.open but 
https://developer.mozilla.org/en-US/docs/Web/API/Apps.getSelf and then launch 
yourself and ring. (launch() function on the response).
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] 'Trusted' sources for external JS files?

2013-09-10 Thread Jan Jongboom
On Friday, September 6, 2013 5:47:20 PM UTC+2, Igor Leturia wrote:
> Hi all,
> 
> 
> 
> I have developed an app for guiding people in their hikes with maps, tracks 
> and GPS position, Hiking Guide 
> (https://marketplace.firefox.com/app/hiking-guide). I developed it so that it 
> could use OpenStreetMap and Google Maps.
> 
> 
> 
> But Google Maps library has to be included as an external JS file, and the 
> CSP does not allow this. I tried to download the JS and include it with the 
> app, but this is not recommended since they update it quite often. And they 
> explicitly try to disallow so: in the first JS file 
> (http://maps.google.com/maps/api/js?v=3&sensor=false), other JS files are 
> downloaded by script injection into the HTML document and it does this many 
> times, so it is not easy to download the whole library... And if I just 
> include the first, the CSP blocks the injection...
> 
> 
> 
> The only solution for the app not to be rejected has been to remove all 
> Google Maps functionality completely...
> 
> 
> 
> Not having a way to use Google Maps in Firefox OS is a great disadvantage for 
> this platform. A web app can be used in other platforms with Google Maps, but 
> not in Firefox OS (I have tried mine on Android with Firefox with no 
> problems). This can make Firefox OS unattractive for developers or users... 
> Besides, porting a working web app to Firefox OS is not as simple as 
> including a manifest file or zipping it for a packaged app, as it is 
> claimed...
> 
> 
> 
> So my question is: couldn't Firefox OS include a way to have some 'trusted' 
> sources, from which external JS files could be included and where eval()-like 
> functions could be called? That way, this and other libraries could be used.
> 
> 
> 
> Thanks in advance,
> 
> 
> 
>   Igor Leturia

Why do you need to be a privileged app? If you aren't you don't have CSP 
restrictions.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Timer application problem.

2013-09-10 Thread Alive

Jan Jongboom  於 2013/9/10 下午3:38 寫道:

> On Monday, September 9, 2013 11:34:22 PM UTC+2, Krzysztof Adamski wrote:
>> 
>> The proof-of-concept application can be found on my github: 
>> 
>> http://github.com/kadamski/fxos_apps/tree/master/alarm1
> 
> Don't use window.open but 
> https://developer.mozilla.org/en-US/docs/Web/API/Apps.getSelf and then launch 
> yourself and ring. (launch() function on the response).

Please don't do this. (Relaunch self) This is a bad pattern.
See https://groups.google.com/forum/#!topic/mozilla.dev.webapi/GTIp4RZW2Vs
If you still want this make sure you're in the callback function of system 
message handler.

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

--
Alive C. Kuo, Front-end Engineer, FirefoxOS, MoCo. Taiwan, Taipei office.
al...@mozilla.com




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


Re: [b2g] Timer application problem.

2013-09-10 Thread Jan Jongboom
On Tuesday, September 10, 2013 3:46:15 PM UTC+2, Alive wrote:
> Jan Jongboom  於 2013/9/10 下午3:38 寫道:
> 
> 
> 
> > On Monday, September 9, 2013 11:34:22 PM UTC+2, Krzysztof Adamski wrote:
> 
> >> 
> 
> >> The proof-of-concept application can be found on my github: 
> 
> >> 
> 
> >> http://github.com/kadamski/fxos_apps/tree/master/alarm1
> 
> > 
> 
> > Don't use window.open but 
> > https://developer.mozilla.org/en-US/docs/Web/API/Apps.getSelf and then 
> > launch yourself and ring. (launch() function on the response).
> 
> 
> 
> Please don't do this. (Relaunch self) This is a bad pattern.
> 
> See https://groups.google.com/forum/#!topic/mozilla.dev.webapi/GTIp4RZW2Vs
> 
> If you still want this make sure you're in the callback function of system 
> message handler.
> 
> 
> 
> > ___
> 
> > dev-b2g mailing list
> 
> > dev-b2g@lists.mozilla.org
> 
> > https://lists.mozilla.org/listinfo/dev-b2g
> 
> 
> 
> --
> 
> Alive C. Kuo, Front-end Engineer, FirefoxOS, MoCo. Taiwan, Taipei office.
> 
> al...@mozilla.com

Hmm, this is how we did it in SMS. Anyway, some code example on MDN would be 
nice.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Upgrade Emulator to run FxOS v1.2

2013-09-10 Thread Eduardo González
Building emulator on master branch generate a FxOS 1.2
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Timer application problem.

2013-09-10 Thread Krzysztof Adamski

W dniu 10.09.2013 15:46, Alive pisze:


Jan Jongboom  於 2013/9/10 下午3:38 寫道:


On Monday, September 9, 2013 11:34:22 PM UTC+2, Krzysztof Adamski wrote:


The proof-of-concept application can be found on my github:

http://github.com/kadamski/fxos_apps/tree/master/alarm1


Don't use window.open but 
https://developer.mozilla.org/en-US/docs/Web/API/Apps.getSelf and then launch 
yourself and ring. (launch() function on the response).


Please don't do this. (Relaunch self) This is a bad pattern.


So what should I do instead?


See https://groups.google.com/forum/#!topic/mozilla.dev.webapi/GTIp4RZW2Vs
If you still want this make sure you're in the callback function of system 
message handler.


I have no device to test this right now. Should following work even if 
phone was suspended (and so screen is locked):


 navigator.mozSetMessageHandler("alarm", function (mozAlarm) {
   var request = window.navigator.mozApps.getSelf();
   request.onsuccess = function () {
 cpuWakeLock.unlock();
 request.result.launch();
   };
 });

?

I believe it should be possible for user in such application to be able 
to stop ring without unlocking the screen.


Then when application is launching, it could check list of all Alarms, 
find the one that belongs to my app and if it's end time is < than 
now(), it could start ringing.


This way I call launch() only from from system message handler, right?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] home screen icon for website (in full quality)

2013-09-10 Thread Fabrice Desre
On 09/10/2013 06:39 AM, Jan Jongboom wrote:
> 
> It gets the favicon and makes that into an icon. If there is none, then 
> you're out of luck. 
> 
> You can however shell into the phone and change the manifest to point to a 
> custom icon (base64)

That's posssible only if the phone is rooted. Also, base64 uris are a
memory blackhole so I would not recommend using them if possible.

Fabrice
-- 
Fabrice Desré
b2g team
Mozilla Corporation
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Bug 913075 - Bugzilla Product Name Change of BootToGecko to Firefox OS

2013-09-10 Thread Jason Smith

Hi Everyone,

On Thursday, we will be updating the Bugzilla product name from 
BootToGecko to Firefox OS per bug 913075. As a result, I expect that 
many preexisting bug queries will need to be updated to reflect the 
product name change. This message is a heads up that you'll need to 
update those queries.


--
Sincerely,
Jason Smith

Firefox OS QA Engineer
Mozilla Corporation
https://quality.mozilla.org

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


[b2g] Security implications of remote debugging on devices

2013-09-10 Thread Paul Theriault
(bcc dev-gaia)

I have been discussing the security implications of remote debugging with a 
number of people and I wanted to through the question out to a wider audience. 
Remote debugging allows access to read any data in app and as such has 
implications for the scenario of when a user loses their phone. 

Do we want to allow the remote debugger to connect to any app?

My proposal is that, for production devices, you should only be allowed to 
debug the apps you are developing. That is, the remote debugger will only 
connect to web apps and privileged apps pushed to the device via the simulator. 
It will _not_ connect to certified apps, or signed privileged apps installed 
from the store. The only exception to this i can think of is we probably 
support remote debugging of tabs within the browser app (and possibly 
bookmarked web pages opened by the system app).

For developer builds, the remote debugger would connect to any app.

Thoughts on this proposal?

- Paul




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Bug 913075 - Bugzilla Product Name Change of BootToGecko to Firefox OS

2013-09-10 Thread Jason Smith
Correction on below email - this change will be made on Thursday 
September 19th, not this Thursday.


Sincerely,
Jason Smith

Firefox OS QA Engineer
Mozilla Corporation
https://quality.mozilla.org

On 9/10/2013 4:38 PM, Jason Smith wrote:

Hi Everyone,

On Thursday, we will be updating the Bugzilla product name from 
BootToGecko to Firefox OS per bug 913075. As a result, I expect that 
many preexisting bug queries will need to be updated to reflect the 
product name change. This message is a heads up that you'll need to 
update those queries.




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


[b2g] Member & topic list in Firefox OS RIL team

2013-09-10 Thread Kevin Hu
> Hi, 
> 
> Most of you may not have a good view on RIL team in Taipei. Therefore, I made 
> a Wiki page about member & topic mapping here, 
> 
> https://wiki.mozilla.org/B2G/RIL/Experts
> 
> Next time, if you would like to talk with someone in RIL team for specific 
> topics, you will know who to talk. 
> For your reference. :)
> 
> 
> Thanks. 
> Kevin Hu
> 

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


[b2g] Security implications of remote debugging on devices

2013-09-10 Thread Jim Blandy
Debugging is how many people are going to learn how to write apps; think 
about the role of "view source" in introducing people to web technology. 
And it's consistent with our goal of putting the user in charge of their 
own device. I think we should treat all apps as debuggable, on any device.


As far as non-developer users are concerned: debugging is turned off by 
default. You need to go (rather deep) into the settings and explicitly 
turn debugging on, before the server begins listening. There is no 
reason a non-developer would ever need to enable debugging (and we 
should ensure this remains true). So I don't see the risk to 
non-developer users.


We should protect developers, too. If we require users to set a passcode 
on their phone in order to enable debugging, and turn off the debugging 
server automatically after (say) two hours of inactivity, then it seems 
to me the risk to developers is rather small.



I also don't think creating restrictions as to which apps the user can 
debug is very meaningful, at a technical level.


The debug server now listens on a Unix domain socket, which means its 
name is in the filesystem. The kernel enforces the usual filesystem 
permissions when something tries to connect to it. If we make the socket 
readable and writable only to the main B2G process's user, then any 
process capable of connecting to the debug server is equally capable of 
using the 'ptrace' system call (or others) to directly read and write 
the main B2G process's memory and registers.


So while it makes sense to pay close attention to which code runs as 
that user, we should remember that any code that *does* run as that user 
has full control over the phone. Trying to enforce finer-grained 
distinctions will not keep attackers out, but will make the phone more 
cumbersome to hack on. That seems like an "own goal".


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


Re: [b2g] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread Josh Matthews

On 09/10/2013 04:02 AM, vangapati naresh wrote:

./repo sync platform/system/core didn't helped me..!
Hunged up with same error.


What was the error?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] recent built FxOS 1.1 on zte open don't calls the update apps

2013-09-10 Thread Eduardo González
On Monday, September 9, 2013 12:28:24 PM UTC-4:30, Eduardo González wrote:
> I tried setting VARIANT=user but software update worked same than 
> VARIANT=eng, don't see activity of checking software update via adb logcat :-(

I'm testing on emulator (branch master) and "check for updates" process do not 
show  AUS:SVC Checker:checkForUpdates via logcat
I'm doing something wrong but FxOS 1.1 on my zte open flashed using adb only 
(flash.sh gaia and flash.sh gecko only) and FxOS 1.2 running on arm emulator do 
not perform app updates. Clicking on check now shows "Checking for updates..." 
permanently and logcat not shows  AUS:SVC Checker:checkForUpdates or similar 
messages.
___
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-10 Thread Paul Rouget
Paul Theriault wrote:
> (bcc dev-gaia)
> 
> I have been discussing the security implications of remote debugging with a 
> number of people and I wanted to through the question out to a wider 
> audience. Remote debugging allows access to read any data in app and as such 
> has implications for the scenario of when a user loses their phone. 
> 
> Do we want to allow the remote debugger to connect to any app?
> 
> My proposal is that, for production devices, you should only be allowed to 
> debug the apps you are developing. That is, the remote debugger will only 
> connect to web apps and privileged apps pushed to the device via the 
> simulator. It will _not_ connect to certified apps, or signed privileged apps 
> installed from the store. The only exception to this i can think of is we 
> probably support remote debugging of tabs within the browser app (and 
> possibly bookmarked web pages opened by the system app).

That would make me sad. We want to make the phone as hackable as possible, and
that would make the life of the certified and signed privileged apps developers
harder (they might not have a developer phone, just a regular phone), and
regular developer won't have access to the code of other apps (to learn).

Is the following the scenario you're trying to address here?

Phone get stollen. The user didn't set a password. The thief can turn on remote
debugging and then have access to the data of the user.

But:
1) the user didn't protect his phone
2) he already has access to many things (emails, contacts, etc).
3) he has access to the physical device, so to the sdcard (if any)
4) because the user has access to the email, he can already do many things 
(password recovery for example)

So your proposal would prevent people to steal password only if:
the phone doesn't have a code, the phone is not rooted, the
phone doesn't have an accessible sdcard, passwords are not recoverable
via email.

Is that right?

-- Paul
___
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-10 Thread Dave Camp
On Tue, Sep 10, 2013 at 9:39 AM, Paul Rouget  wrote:

>
> So your proposal would prevent people to steal password only if:
> the phone doesn't have a code, the phone is not rooted, the
> phone doesn't have an accessible sdcard, passwords are not recoverable
> via email.



And in that case they could just grab the data with adb, right?

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


[b2g] Firefox OS Simple Push not working properly

2013-09-10 Thread vidorge

I have problems with simple push on ffos. Here is my code:


var endpoint;
$(document).ready(function() {
registerPush();
navigator.mozSetMessageHandler("push", function(message) {
if(message.pushEndpoint == endpoint) {
console.log("push notification: "+message.version);
}
});
navigator.mozSetMessageHandler("push-register", function() {
registerPush();
});
});
function registerPush() {
var req = navigator.push.register();
req.onsuccess = function(e) {
endpoint = e.target.result;
console.log(endpoint);
}
}

It is working ok when i start the app, but after few minutes if i try to send a 
push to the endpoint, nothing happens. But when i call the registerPush(); 
function, everithing works again for few minutes.


Any help would be greatly appreciated!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Firefox OS Simple Push not working properly

2013-09-10 Thread Vidor Gencel
I have problems with simple push on ffos. Here is my code:


var endpoint;
$(document).ready(function() {
registerPush();
navigator.mozSetMessageHandler("push", function(message) {
if(message.pushEndpoint == endpoint) {
console.log("push notification: "+message.version);
}
});
navigator.mozSetMessageHandler("push-register", function() {
registerPush();
});
});
function registerPush() {
var req = navigator.push.register();
req.onsuccess = function(e) {
endpoint = e.target.result;
console.log(endpoint);
}
}

It is working ok when i start the app, but after few minutes if i try to
send a push to the endpoint, nothing happens. But when i call the
registerPush(); function, everithing works again for few minutes.


Any help would be greatly appreciated!
___
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-10 Thread Dave Hylands
So on a production phone, the adb shell gives you a "shell" user shell. And the 
shell user has no permissions to read anything under /data (except for 
/data/local/tmp)

You can use 'adb shell id' to determine which user your adb shell runs under.

If you ave a root shell, then you can access anything under /data.

Dave Hylands

- Original Message -
> From: "Dave Camp" 
> To: "Paul Theriault" , "dev-b2g list" 
> , "Alexandre Poirot"
> , dev-g...@mozilla.com
> Sent: Tuesday, September 10, 2013 6:43:05 PM
> Subject: Re: [b2g] Security implications of remote debugging on devices
> 
> On Tue, Sep 10, 2013 at 9:39 AM, Paul Rouget  wrote:
> 
> >
> > So your proposal would prevent people to steal password only if:
> > the phone doesn't have a code, the phone is not rooted, the
> > phone doesn't have an accessible sdcard, passwords are not recoverable
> > via email.
> 
> 
> 
> And in that case they could just grab the data with adb, right?
> 
> -dave
> ___
> 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] Security implications of remote debugging on devices

2013-09-10 Thread Paul Theriault

On Sep 10, 2013, at 6:43 PM, Dave Camp wrote:

> On Tue, Sep 10, 2013 at 9:39 AM, Paul Rouget  wrote:
> 
> So your proposal would prevent people to steal password only if:
> the phone doesn't have a code, the phone is not rooted, the
> phone doesn't have an accessible sdcard, passwords are not recoverable
> via email.
> 
> 
> And in that case they could just grab the data with adb, right?
> 
> -dave

No, production phones do not have root access, so you can't access /data 
(including the profile, ie cookies indexeddb etc)
___
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-10 Thread Paul Theriault
(removing gaia to avoid cross-posting)

On Sep 10, 2013, at 6:39 PM, Paul Rouget wrote:

> Paul Theriault wrote:
>> (bcc dev-gaia)
>> 
>> I have been discussing the security implications of remote debugging with a 
>> number of people and I wanted to through the question out to a wider 
>> audience. Remote debugging allows access to read any data in app and as such 
>> has implications for the scenario of when a user loses their phone. 
>> 
>> Do we want to allow the remote debugger to connect to any app?
>> 
>> My proposal is that, for production devices, you should only be allowed to 
>> debug the apps you are developing. That is, the remote debugger will only 
>> connect to web apps and privileged apps pushed to the device via the 
>> simulator. It will _not_ connect to certified apps, or signed privileged 
>> apps installed from the store. The only exception to this i can think of is 
>> we probably support remote debugging of tabs within the browser app (and 
>> possibly bookmarked web pages opened by the system app).
> 
> That would make me sad. We want to make the phone as hackable as possible, and
> that would make the life of the certified and signed privileged apps 
> developers
> harder (they might not have a developer phone, just a regular phone), and
> regular developer won't have access to the code of other apps (to learn).

I would like to see us at least implement this feature as a preference, so we 
(mozilla/partners) can make a call on a device by device basis, depending on 
whether or not the device is targeted at developers or end-users. 

> 
> Is the following the scenario you're trying to address here?
> 
> Phone get stollen. The user didn't set a password. The thief can turn on 
> remote
> debugging and then have access to the data of the user.

Yes - from a data security perspective, being able to debug all apps, is 
equivalent to having root access on the phone.

> But:
> 1) the user didn't protect his phone
> 2) he already has access to many things (emails, contacts, etc).
> 3) he has access to the physical device, so to the sdcard (if any)
> 4) because the user has access to the email, he can already do many things 
> (password recovery for example)
> 
> So your proposal would prevent people to steal password only if:
> the phone doesn't have a code, the phone is not rooted, the
> phone doesn't have an accessible sdcard, passwords are not recoverable
> via email.

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.

This weakening of security controls would apply to all users who do not set a 
passcode (most?), on devices which are not rooted (all except developer 
phones). 

The sdcard isn't protected regardless of this issue - the only way to protect 
the sdcard is to encrypt it.
Email passwords not being recoverable by email (?) is missing the point that it 
is ALL data (cookies, indexeddb etc)

> 
> Is that right?
> 
> -- Paul

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


[b2g] Is there *anyone* in Oslo who can run mochitests on b2g desktop??

2013-09-10 Thread Jan Jongboom
If so, please talk to me, I can't get this to work.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Firefox OS Simple Push not working properly

2013-09-10 Thread Guillermo López
Hi!

Are you on Wifi? 3G?

What is the URL that are you receiving?

Cheers,

Guillermo
El 10/09/2013 19:25,  escribió:

>
> I have problems with simple push on ffos. Here is my code:
>
>
> var endpoint;
> $(document).ready(function() {
> registerPush();
> navigator.mozSetMessageHandler("push", function(message) {
> if(message.pushEndpoint == endpoint) {
> console.log("push notification: "+message.version);
> }
> });
> navigator.mozSetMessageHandler("push-register", function() {
> registerPush();
> });
> });
> function registerPush() {
> var req = navigator.push.register();
> req.onsuccess = function(e) {
> endpoint = e.target.result;
> console.log(endpoint);
> }
> }
>
> It is working ok when i start the app, but after few minutes if i try to
> send a push to the endpoint, nothing happens. But when i call the
> registerPush(); function, everithing works again for few minutes.
>
>
> Any help would be greatly appreciated!
> ___
> 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] Is there *anyone* in Oslo who can run mochitests on b2g desktop??

2013-09-10 Thread Jan Jongboom
On Tuesday, September 10, 2013 7:42:23 PM UTC+2, Jan Jongboom wrote:
> If so, please talk to me, I can't get this to work.

(_virtualenv)52:mochitest janjongboom$ source ../../../_virtualenv/bin/activate 
&& python runtestsb2g.py --desktop --console-level INFO --profile 
~/repos/gaia/profile --test-path 
./obj-b2g/_tests/testing/mochitest/tests/dom/permission/tests/test_keyboard.html
  --app ../../../dist/B2G.app/Contents/MacOS/b2g

INFO | automation.py | Launching: 
/Users/janjongboom/repos/mozilla-central-b2g/obj-b2g/dist/bin/ssltunnel 
/var/folders/t8/pz9nttjd4yq8_j60t67g_5thgn/T/tmpp0M4Ho/ssltunnel.cfg
INFO | automation.py | SSL tunnel pid: 74298
INFO | automation.py | Launching: 
/Users/janjongboom/repos/mozilla-central-b2g/obj-b2g/dist/B2G.app/Contents/MacOS/b2g
 -foreground -profile 
/var/folders/t8/pz9nttjd4yq8_j60t67g_5thgn/T/tmpp0M4Ho/
INFO | automation.py | Application pid: 74299
failed to bind socket
Shutting down...
1378835175751   Marionette  INFOMarionetteComponent loaded
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Updating ZTE Open to 1.1

2013-09-10 Thread Joshua Purcell
On Saturday, July 27, 2013 8:54:11 AM UTC-7, jose llopis wrote:
> is there any way to update zte open to v1.1?

Here are the steps I took to create a new boot image for the ZTE Open which 
allows installing dev builds of FxOS:

https://gist.github.com/joshuapurcell/651

Someone named edu at the following link was the first one I found to figure out 
the steps, and I made minor changes for the steps to work in my environment 
(Ubuntu 13.04 64-bit):

http://pof.eslack.org/2013/07/05/zte-open-firefoxos-phone-root-and-first-impressions
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Firefox OS Simple Push not working properly

2013-09-10 Thread Guillermo López Leal
El 10/09/13 20:58, Vidor Gencel escribió:
> On Tuesday, September 10, 2013 8:22:05 PM UTC+2, Guillermo López wrote:
>> Hi!
>>
>>
>>
>> Are you on Wifi? 3G?
>>
>>
>>
>> What is the URL that are you receiving?
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Guillermo
>>
>> El 10/09/2013 19:25,  escribió:
>>
>>
>>
>>>
>>
>>> I have problems with simple push on ffos. Here is my code:
>>
>>>
>>
>>>
>>
>>> var endpoint;
>>
>>> $(document).ready(function() {
>>
>>> registerPush();
>>
>>> navigator.mozSetMessageHandler("push", function(message) {
>>
>>> if(message.pushEndpoint == endpoint) {
>>
>>> console.log("push notification: "+message.version);
>>
>>> }
>>
>>> });
>>
>>> navigator.mozSetMessageHandler("push-register", function() {
>>
>>> registerPush();
>>
>>> });
>>
>>> });
>>
>>> function registerPush() {
>>
>>> var req = navigator.push.register();
>>
>>> req.onsuccess = function(e) {
>>
>>> endpoint = e.target.result;
>>
>>> console.log(endpoint);
>>
>>> }
>>
>>> }
>>
>>>
>>
>>> It is working ok when i start the app, but after few minutes if i try to
>>
>>> send a push to the endpoint, nothing happens. But when i call the
>>
>>> registerPush(); function, everithing works again for few minutes.
>>
>>>
>>
>>>
>>
>>> Any help would be greatly appreciated!
>>
>>> ___
>>
>>> dev-b2g mailing list
>>
>>> dev-b2g@lists.mozilla.org
>>
>>> https://lists.mozilla.org/listinfo/dev-b2g
>>
>>>
> 
> We are using wifi.
> 
> If you are talking about the push URL this is what are we getting
> 
> https://push.services.mozilla.com/update/pxQ03ED5KBC5hZ6m9CvrujcqxKh39nP369zJS_XJctWLi36GpU9d34uhI41Q2Kni4wrEj6N7PKX_fMXdKDx9YZts7oEP0b3BKYzx6-DuRXvCHg==
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
> 

Are you compiling your own B2G? If so, you can enable Push debug on:

gecko/dom/push/src/PushService.jsm (look at top, and uncomment the
debug call).

If you are making your own gaia, you can change the URL to Telefónica's
push server and we can debug on our side (server), to see if you are
closing the connection (not you, your network). If that works with our
server, we would need to ping our Mozilla folks to see if their server
is failing.

Cheers,

-- 
Guillermo López [willyaranda]
http://mozilla-hispano.org
http://twitter.com/mozilla_hispano
http://facebook.com/mozillahispano
Certified Mozillian: https://mozillians.org/willyaranda



signature.asc
Description: OpenPGP digital signature
___
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-10 Thread Paul Rouget
We could even just empty the IndexedDB database and remove the cookies.


On Tue, Sep 10, 2013 at 8:30 PM, Paul Rouget  wrote:

> Here is another option:
>
> 2 "remote debugging" checkboxes.
>
> - remote debug (give access to the apps you're working on)
> - system remote debug (give access to everything)
>
> 'System remote debug' would wipe your /data/ partition first (only the
> first time it's enabled).
>
> -- Paul
>
___
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-10 Thread Paul Theriault

On Sep 10, 2013, at 8:30 PM, Paul Rouget wrote:

> Here is another option:
> 
> 2 "remote debugging" checkboxes.
> 
> - remote debug (give access to the apps you're working on)
> - system remote debug (give access to everything)
> 
> 'System remote debug' would wipe your /data/ partition first (only the
> first time it's enabled).
> 

Sounds good to me if thats feasible (I proposed this in 914543, but was worried 
feasibility about introducing a 'delete all the things' button). But as you 
pointed out, we already have the reset button.

> -- Paul

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


Re: [b2g] Firefox OS Simple Push not working properly

2013-09-10 Thread Stefan Arentz

On Sep 10, 2013, at 1:31 PM, Vidor Gencel  wrote:

> I have problems with simple push on ffos. Here is my code:
> 
> 
>var endpoint;
>$(document).ready(function() {
>registerPush();
>navigator.mozSetMessageHandler("push", function(message) {
>if(message.pushEndpoint == endpoint) {

…

Could this be a scoping issue? What happens if you move the ‘var endpoint;’ 
into the ‘$document.ready’ function?

 S.


___
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-10 Thread David Burns
How would this security model work with Marionette since Marionette 
needs to access different apps according to what the user wants to do.


We go in through a similar route to the remote debugger into the 
device(we are just a different actor)


David

On 10/09/2013 16:29, Paul Theriault wrote:

(bcc dev-gaia)

I have been discussing the security implications of remote debugging with a 
number of people and I wanted to through the question out to a wider audience. 
Remote debugging allows access to read any data in app and as such has 
implications for the scenario of when a user loses their phone.

Do we want to allow the remote debugger to connect to any app?

My proposal is that, for production devices, you should only be allowed to 
debug the apps you are developing. That is, the remote debugger will only 
connect to web apps and privileged apps pushed to the device via the simulator. 
It will _not_ connect to certified apps, or signed privileged apps installed 
from the store. The only exception to this i can think of is we probably 
support remote debugging of tabs within the browser app (and possibly 
bookmarked web pages opened by the system app).

For developer builds, the remote debugger would connect to any app.

Thoughts on this proposal?

- Paul




___
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] Security implications of remote debugging on devices

2013-09-10 Thread Paul Theriault
Marionette isn't provided on production builds (unless that is what you are 
proposing). Developer builds have root access enabled so not an issue I think. 

Marionette is actually equivalent to root, not just similar to root (since it 
can execute chrome code, not just code in the system app). So I don't think we 
would ship marionette on any phone that we prevent root access on. 

On Sep 10, 2013, at 8:38 PM, David Burns wrote:

> How would this security model work with Marionette since Marionette needs to 
> access different apps according to what the user wants to do.
> 
> We go in through a similar route to the remote debugger into the device(we 
> are just a different actor)
> 
> David
> 
> On 10/09/2013 16:29, Paul Theriault wrote:
>> (bcc dev-gaia)
>> 
>> I have been discussing the security implications of remote debugging with a 
>> number of people and I wanted to through the question out to a wider 
>> audience. Remote debugging allows access to read any data in app and as such 
>> has implications for the scenario of when a user loses their phone. 
>> 
>> Do we want to allow the remote debugger to connect to any app?
>> 
>> My proposal is that, for production devices, you should only be allowed to 
>> debug the apps you are developing. That is, the remote debugger will only 
>> connect to web apps and privileged apps pushed to the device via the 
>> simulator. It will _not_ connect to certified apps, or signed privileged 
>> apps installed from the store. The only exception to this i can think of is 
>> we probably support remote debugging of tabs within the browser app (and 
>> possibly bookmarked web pages opened by the system app).
>> 
>> For developer builds, the remote debugger would connect to any app.
>> 
>> Thoughts on this proposal?
>> 
>> - Paul
>> 
>> 
>> 
>> 
>> ___
>> 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] Security implications of remote debugging on devices

2013-09-10 Thread Stefan Arentz

On Sep 10, 2013, at 12:17 PM, Jim Blandy  wrote:

> We should protect developers, too. If we require users to set a passcode on 
> their phone in order to enable debugging, and turn off the debugging server 
> automatically after (say) two hours of inactivity, then it seems to me the 
> risk to developers is rather small.

+1 Yes, we were discussion this earlier today. I think it makes a lot of sense. 
One thing to add, it would be good to have a ‘do not auto-lock the screen while 
i am debugging my app’ option. I think Android has something like that and it 
prevents a lot of frustration as it is super annoying to have the screen auto 
lock on you while you are  working on something.

 S.

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


Re: [b2g] Firefox OS Simple Push not working properly

2013-09-10 Thread Vidor Gencel
On Tuesday, September 10, 2013 8:22:05 PM UTC+2, Guillermo López wrote:
> Hi!
> 
> 
> 
> Are you on Wifi? 3G?
> 
> 
> 
> What is the URL that are you receiving?
> 
> 
> 
> Cheers,
> 
> 
> 
> Guillermo
> 
> El 10/09/2013 19:25,  escribió:
> 
> 
> 
> >
> 
> > I have problems with simple push on ffos. Here is my code:
> 
> >
> 
> >
> 
> > var endpoint;
> 
> > $(document).ready(function() {
> 
> > registerPush();
> 
> > navigator.mozSetMessageHandler("push", function(message) {
> 
> > if(message.pushEndpoint == endpoint) {
> 
> > console.log("push notification: "+message.version);
> 
> > }
> 
> > });
> 
> > navigator.mozSetMessageHandler("push-register", function() {
> 
> > registerPush();
> 
> > });
> 
> > });
> 
> > function registerPush() {
> 
> > var req = navigator.push.register();
> 
> > req.onsuccess = function(e) {
> 
> > endpoint = e.target.result;
> 
> > console.log(endpoint);
> 
> > }
> 
> > }
> 
> >
> 
> > It is working ok when i start the app, but after few minutes if i try to
> 
> > send a push to the endpoint, nothing happens. But when i call the
> 
> > registerPush(); function, everithing works again for few minutes.
> 
> >
> 
> >
> 
> > Any help would be greatly appreciated!
> 
> > ___
> 
> > dev-b2g mailing list
> 
> > dev-b2g@lists.mozilla.org
> 
> > https://lists.mozilla.org/listinfo/dev-b2g
> 
> >

We are using wifi.

If you are talking about the push URL this is what are we getting

https://push.services.mozilla.com/update/pxQ03ED5KBC5hZ6m9CvrujcqxKh39nP369zJS_XJctWLi36GpU9d34uhI41Q2Kni4wrEj6N7PKX_fMXdKDx9YZts7oEP0b3BKYzx6-DuRXvCHg==
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] CANCELLED today's (9/10) cross-functional B2G Meeting at 5PM PT

2013-09-10 Thread Bhavana Bajaj

Since most of the participants of this meeting are at the Oslo workweek I am 
cancelling today's meeting. Although, I have created the 
https://etherpad.mozilla.org/b2g-meeting-notes in case anyone wants to add any 
notes. Please note as we approach the FC date on 9/16, in case you have any 
questions related to the merge mechanics please email Preeti(Cc'ed here) and 
release-m...@mozilla.com.

--Bhavana


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


Re: [b2g] Firefox OS Simple Push not working properly

2013-09-10 Thread Vidor Gencel
We are using the precompiled operating system.


I'm pretty sure this isn't a scoping issue because everything works for the 
first few times and stops afterwards.

___
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-10 Thread David Burns
Its not in production builds yet but we should eventually get there 
since how would an App developer be able to test their app? I appreciate 
there are a number of HUGE security and privacy issues that need to be 
overcome but I think it should still be on the table even if for a later 
date.


David

On 10/09/2013 19:57, Paul Theriault wrote:
Marionette isn't provided on production builds (unless that is what 
you are proposing). Developer builds have root access enabled so not 
an issue I think.


Marionette is actually equivalent to root, not just similar to root 
(since it can execute chrome code, not just code in the system app). 
So I don't think we would ship marionette on any phone that we prevent 
root access on.


On Sep 10, 2013, at 8:38 PM, David Burns wrote:

How would this security model work with Marionette since Marionette 
needs to access different apps according to what the user wants to do.


We go in through a similar route to the remote debugger into the 
device(we are just a different actor)


David

On 10/09/2013 16:29, Paul Theriault wrote:

(bcc dev-gaia)

I have been discussing the security implications of remote debugging with a 
number of people and I wanted to through the question out to a wider audience. 
Remote debugging allows access to read any data in app and as such has 
implications for the scenario of when a user loses their phone.

Do we want to allow the remote debugger to connect to any app?

My proposal is that, for production devices, you should only be allowed to 
debug the apps you are developing. That is, the remote debugger will only 
connect to web apps and privileged apps pushed to the device via the simulator. 
It will _not_ connect to certified apps, or signed privileged apps installed 
from the store. The only exception to this i can think of is we probably 
support remote debugging of tabs within the browser app (and possibly 
bookmarked web pages opened by the system app).

For developer builds, the remote debugger would connect to any app.

Thoughts on this proposal?

- Paul




___
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] Is there *anyone* in Oslo who can run mochitests on b2g desktop??

2013-09-10 Thread Dietrich Ayala
If you figure this out, can you post back here?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Found a couple of earbuds at Oslo ww

2013-09-10 Thread Fernando Jiménez Moreno
Hi folks!

I found a couple of earbuds at Oslo work week while leaving the office. So if 
anyone is missing them, ask for me.

Cheers,

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


Re: [b2g] Building for the Alcatel One Touch Fire

2013-09-10 Thread Jarek
On Wednesday, August 7, 2013 12:47:37 AM UTC+2, BArek wrote:
> Everything works fine exept phone calls
> In Settings: Call Settings, Cellular & Data, SIM security - Unknown SIM card 
> state.

Hi,

Have you managed to solve this problem?

I'm experiencing exactly the same issue on my OneTouch Fire running v1-train 
built yesterday. Build info:

Gaia: 6324c3b047aabee83ec7419803224e8edf07db7c
Gecko: 700373b45b3478fcabcd3361871956ca76b2b0fa
Platform Version: 18.1

Configured with: BRANCH=v1-train ./config.sh hamachi

Everything is fine except the phone calls. The message "Unknown SIM state" is 
displayed on the lock screen and in the settings.

I would appreciate any suggestions on how to fix it.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Updating ZTE Open to 1.1

2013-09-10 Thread Cristi Burca
On Tuesday, 10 September 2013 21:25:05 UTC+3, Joshua Purcell  wrote:
> Here are the steps I took to create a new boot image for the ZTE Open which 
> allows installing dev builds of FxOS:
> 
> https://gist.github.com/joshuapurcell/651

Thanks for sharing! Doesn't seem to work for me, though. Some details:

I bricked my device in an earlier attempt. Ever since I flashed the system 
partition (using flash_image), when I reboot, it gets stuck at the splash 
screen (the fox is static, not animated).

Also, Clockwork Mod refuses to install from the official ZTE zip:

assert_failed: getprop_new("ro.build.display.id") == "OPEN_EU_DEV_FFOS_"

After following the steps in your gist, the device is still bricked.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Updating ZTE Open to 1.1

2013-09-10 Thread Cristi Burca
I was only able to run `./flash.sh gaia` and `.flash.sh gecko` in recovery 
mode, since the device was not recognized by adb when booting normally. Maybe 
that's relevant somehow.
___
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-10 Thread Krzysztof Adamski
Dnia 2013-09-10, o godz. 20:30:59
Paul Rouget  napisał(a):

> Here is another option:
> 
> 2 "remote debugging" checkboxes.
> 
> - remote debug (give access to the apps you're working on)
> - system remote debug (give access to everything)
> 
> 'System remote debug' would wipe your /data/ partition first (only the
> first time it's enabled).

This is something I wanted to propose and it implements similar idea of
what HTC does with it's S-OFF mode (but a little simpler). You can ask
HTC to give you the code that will unlock your phone but this will
force factory reset of the phone to prevent someone from stealing data.

I believe that it would be ideal not to cagegorize phones as
"production" and "developement" versions. Instead I think they should
be "production" and "development" *modes* of the same phone. It should
be possible to switch between modes (possibly with data erase). This
way any "customer" can become "developer" at no additional hardware
cost.

That being said, it would be the best to allow doing as much
development as possible (from security/stability perspective) even in
"production" mode. And I believe this proposal meets those criteria
well enough.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Commercial RIL 09/010/2013 Leo v1.1 Smoke Test Results - 45/46 tests passed, 1 untested

2013-09-10 Thread Marcia Knous
45 out of 46 tests passed for the 2013-09-10 Leo v1.1.0 Commercial RIL 
Build. There are no major issues that prevented the smoketests from passing.


Commercial RIL Build Smoketest Results:
Daily Smoke Test Logs: 
https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpUGt5XzZ3Znc

Moztrap link: https://moztrap.mozilla.org/runtests/run/2204/env/314/

Tests Were Performed With:
Builds ID: 20130910041240
Gecko: 796d0adce82b
Gaia: 946623575b3fbf6138fff5f77ddead3cadffacce
Firmware Revision: D300f10a
0 reboots
0 crashes

Build Updated From:
- No OTA performed.

New Bugs Breaking the Smoketests:
- None reported.

Existing Bugs Breaking the Smoketests:
- None reported.

New Issues Not Breaking the Smoketests:
- None reported.

Sincerely,

Mozilla QA Team
___
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-10 Thread Paul Rouget
Here is another option:

2 "remote debugging" checkboxes.

- remote debug (give access to the apps you're working on)
- system remote debug (give access to everything)

'System remote debug' would wipe your /data/ partition first (only the
first time it's enabled).

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


[b2g] Mozilla RIL 09/10/2013 Buri 1.2 Smoketest Results - 42/46 tests passed, no new blockers, 1 untested

2013-09-10 Thread Marcia Knous
42 out of 46 tests passed for the 2013-09-10 Buri v1.2.0 Mozilla RIL 
Build. Here are the major issues that prevented the smoketests from passing.


Mozilla RIL Build Smoketest Results:
Daily Smoke Test Logs: 
https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpUGt5XzZ3Znc

Moztrap link: https://moztrap.mozilla.org/runtests/run/2203/env/347/

Tests Were Performed With:
Builds ID: 20130910040201
Gecko: be1053dc223b
Gaia: 6deda9d7c51f278443f704217eaed722044a03e7
Firmware Revision: US_20130903_QC206
0 reboots
1 crashes

Build Updated From:
- No OTA performed.

New Bugs Breaking the Smoketests:
- None reported.

Existing Bugs Breaking the Smoketests:
-[Existing] [Contacts] [Gallery] Segfault when picking a picture for MMS 
or Contacts https://bugzilla.mozilla.org/show_bug.cgi?id=901559
-[Existing] [Buri] OTA updates fails on master/mc 
https://bugzilla.mozilla.org/show_bug.cgi?id=907444
-[Existing] Many genlock failures during h.264 video playback on unagi 
https://bugzilla.mozilla.org/show_bug.cgi?id=902644
-[Existing] [B2G] [Buri] [1.2] [YouTube] Videos stutter almost to the 
point of unplayability https://bugzilla.mozilla.org/show_bug.cgi?id=909564
-[Existing] crash in 
mozilla::layers::GrallocBufferActor::ActorDestroy(mozilla::ipc::IProtocolManager::ActorDestroyReason) 
https://bugzilla.mozilla.org/show_bug.cgi?id=900012


New Issues Not Breaking the Smoketests:
- None reported.

Sincerely,

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


Re: [b2g] Updating ZTE Open to 1.1

2013-09-10 Thread Joshua Purcell
On Saturday, July 27, 2013 8:54:11 AM UTC-7, jose llopis wrote:
> is there any way to update zte open to v1.1?

Are you defier from this thread? 
http://pof.eslack.org/2013/07/05/zte-open-firefoxos-phone-root-and-first-impressions

Hopefully you can figure out steps needed to get your phone working. Here are 
some steps on MDN for unbricking a phone running fxos:

https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Developer_phone_guide/Updating_and_Tweaking_Geeksphone#.22Ok.2C_I_bricked_my_phone.22
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Empty time zone options on Inari

2013-09-10 Thread Shao-Hang Kao
Hi,

I just cloned B2G & mozilla-central yesterday. 

Everything works fine if I built directly from B2G, but if I switch Gecko to 
mozilla-central something goes wrong:

* wallpapers not working (only see black backgrounds)
* the region/city lists in Date & Time settings were empty

Is there anything I was missing to built Inari with Gecko from mozilla-central?

Thanks!

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


Re: [b2g] Empty time zone options on Inari

2013-09-10 Thread Jim Porter

On 09/10/2013 09:39 PM, Shao-Hang Kao wrote:

I just cloned B2G & mozilla-central yesterday.

Everything works fine if I built directly from B2G, but if I switch Gecko to 
mozilla-central something goes wrong:
...
Is there anything I was missing to built Inari with Gecko from mozilla-central?


Did you set the B2G branch to master? You might need to do that to work 
with mozilla-central. See here for info on how to do that: 
.


For what it's worth, I was having the same time zone problems with 
B2G/master and mozilla-central until yesterday, when it all got fixed.


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


Re: [b2g] Firefox Os B2G/Nozomi(xperia s)

2013-09-10 Thread vangapati naresh
On Tuesday, September 10, 2013 9:35:55 PM UTC+5:30, Josh Matthews wrote:
> On 09/10/2013 04:02 AM, vangapati naresh wrote:
> 
> > ./repo sync platform/system/core didn't helped me..!
> 
> > Hunged up with same error.
> 
> 
> 
> What was the error?

Hi ,


Below is error dump i got after running ./build.sh -j1 showcommands


build/core/main.mk:331: implicitly installing apns-conf_sdk.xml
CMake and NDK (/home/naresh/sony_nozmi_ffos/B2G/prebuilt/ndk/android-ndk-r7) 
found, will compile apitrace
external/apitrace/Android.mk:69: warning: overriding commands for target 
`out/target/product/lt26/obj/SHARED_LIBRARIES/egltrace_intermediates/LINKED/egltrace.so'

build/core/shared_library.mk:56: warning: ignoring old commands for target 
`out/target/product/lt26/obj/SHARED_LIBRARIES/egltrace_intermediates/LINKED/egltrace.so'

external/apitrace/Android.mk:74: warning: overriding commands for target 
`out/target/product/lt26/system/lib/egltrace.so'

build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/system/lib/egltrace.so'

external/apitrace/Android.mk:88: warning: overriding commands for target 
`out/target/product/lt26/obj/EXECUTABLES/apitrace_intermediates/LINKED/apitrace'

build/core/executable.mk:22: warning: ignoring old commands for target 
`out/target/product/lt26/obj/EXECUTABLES/apitrace_intermediates/LINKED/apitrace'

external/screencap-gonk/Android.mk:35: warning: overriding commands for target 
`out/target/product/lt26/system/bin/screencap-gonk'

build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/system/bin/screencap-gonk'

find: `../../external/apache-http/src/org/apache/http': No such file or 
directory

find: `../../external/apache-http/src/org/apache/http': No such file or 
directory

find: `../../external/apache-http/src/org/apache/http': No such file or 
directory

find: `../../external/nist-sip/java': No such file or directory

find: `../../external/apache-http/src': No such file or directory

find: `../../external/libphonenumber/java/src': No such file or directory
gaia/Android.mk:46: warning: overriding commands for target 
`out/target/product/lt26/data/local/gaia'

build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target 
`out/target/product/lt26/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:117: warning: ignoring old commands for target 
`out/target/product/lt26/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:143: warning: overriding commands for target 
`out/target/product/lt26/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:117: warning: ignoring old commands for target 
`out/target/product/lt26/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:205: warning: overriding commands for target 
`out/target/product/lt26/system/gecko'

build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/system/gecko'

gonk-misc/Android.mk:270: warning: overriding commands for target 
`out/target/product/lt26/obj/DATA/gecko_intermediates/gecko'

build/core/prebuilt.mk:117: warning: ignoring old commands for target 
`out/target/product/lt26/obj/DATA/gecko_intermediates/gecko'
build/core/Makefile:28: warning: overriding commands for target 
`out/target/product/lt26/system/bin/rild'
build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/system/bin/rild'
build/core/Makefile:28: warning: overriding commands for target 
`out/target/product/lt26/system/lib/libcamera_client.so'
build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/system/lib/libcamera_client.so'
build/core/Makefile:28: warning: overriding commands for target 
`out/target/product/lt26/system/lib/libril.so'

build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/system/lib/libril.so'
build/core/Makefile:28: warning: overriding commands for target 
`out/target/product/lt26/system/lib/libsurfaceflinger_client.so'

build/core/base_rules.mk:532: warning: ignoring old commands for target 
`out/target/product/lt26/system/lib/libsurfaceflinger_client.so'

Checking API: checkapi-last
( /bin/echo -JXmx1024m -J"classpath 
/home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar"
  -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7 -error 8 
-error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16 
-error 17 -error 18   frameworks/base/api/15.txt  
out/target/common/obj/PACKAGING/public_api.txt || (  cat 
build/core/apicheck_msg_last.txt  ; exit 38 ) )

-JXmx1024m -Jclasspath 
/home/naresh/sony_nozmi_ffos/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/ho

Re: [b2g] recent built FxOS 1.1 on zte open don't calls the update apps

2013-09-10 Thread Joshua Purcell
On Sunday, September 8, 2013 9:03:15 PM UTC-7, Eduardo González wrote:
> I'm running FxOS 1.1 on zte open, all work good excepts software update 
> process.
> 
> 
> 
> Click on Check now button of Software updates section do not start check of 
> apps installed.
> 
> 
> 
> unique adb logcat related trace is: 
> 
> 
> 
> I/GeckoDump(  114): XXX FIXME : Got a mozContentEvent: force-update-check
> 
> 
> 
> and no more messages related.
> 
> 
> 
> I expected log messages as checking on marketplace or anything
> 
> It is a bug of v1-trail on inari?

I've also installed FxOS 1.1 on the ZTE Open. I'm Not sure if this is helpful, 
but I notice the update channel now is set to 'default', when prior to 
installing the 1.1 update the phone was on another channel. I believe that 
channel was labeled 'daily' or 'nightly' but I'm not certain.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Firefox OS Simple Push not working properly

2013-09-10 Thread Joshua Purcell
On Tuesday, September 10, 2013 10:22:49 AM UTC-7, Vidor Gencel wrote:
> I have problems with simple push on ffos. Here is my code:
> 
> 
> 
> 
> 
> var endpoint;
> 
> $(document).ready(function() {
> 
> registerPush();
> 
> navigator.mozSetMessageHandler("push", function(message) {
> 
> if(message.pushEndpoint == endpoint) {
> 
> console.log("push notification: "+message.version);
> 
> }
> 
> });
> 
> navigator.mozSetMessageHandler("push-register", function() {
> 
> registerPush();
> 
> });
> 
> });
> 
> function registerPush() {
> 
> var req = navigator.push.register();
> 
> req.onsuccess = function(e) {
> 
> endpoint = e.target.result;
> 
> console.log(endpoint);
> 
> }
> 
> }
> 
> 
> 
> It is working ok when i start the app, but after few minutes if i try to send 
> a push to the endpoint, nothing happens. But when i call the registerPush(); 
> function, everithing works again for few minutes.
> 
> 
> 
> 
> 
> Any help would be greatly appreciated!

Have you seen this example webapp which covers push functionality? Not sure if 
it is helpful, but you may try running it and seeing if you run into the same 
problem.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Empty time zone options on Inari

2013-09-10 Thread Shao-Hang Kao
I just tried with master, wallpapers works fine now.

But still missing the region/city lists, looks like it's a bug? [1]

S.H.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=911917

- Original Message -
From: "Jim Porter" 
To: mozilla-dev-...@lists.mozilla.org
Sent: Wednesday, September 11, 2013 11:58:56 AM
Subject: Re: [b2g] Empty time zone options on Inari

On 09/10/2013 09:39 PM, Shao-Hang Kao wrote:
> I just cloned B2G & mozilla-central yesterday.
>
> Everything works fine if I built directly from B2G, but if I switch Gecko to 
> mozilla-central something goes wrong:
> ...
> Is there anything I was missing to built Inari with Gecko from 
> mozilla-central?

Did you set the B2G branch to master? You might need to do that to work 
with mozilla-central. See here for info on how to do that: 
.

For what it's worth, I was having the same time zone problems with 
B2G/master and mozilla-central until yesterday, when it all got fixed.

- Jim
___
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] Is there *anyone* in Oslo who can run mochitests on b2g desktop??

2013-09-10 Thread Jonathan Griffin

Yes, I can.  :)  What problems are you having?

Jonathan

On 9/10/13 9:57 PM, Dietrich Ayala wrote:

If you figure this out, can you post back here?
___
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] Firefox OS Simple Push not working properly

2013-09-10 Thread Guillermo López
What phone do you have? What is the build date compilation?

Maybe we are able to modify the onmi.ja file to add debug to Push Service
and see what happens.

Cheers
 El 10/09/2013 21:30, "Vidor Gencel"  escribió:

> We are using the precompiled operating system.
>
>
> I'm pretty sure this isn't a scoping issue because everything works for
> the first few times and stops afterwards.
>
> ___
> 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] Pushing Apps to Device through Simulator Dashboard is not working

2013-09-10 Thread Joshua Purcell
On Tuesday, September 10, 2013 3:15:29 PM UTC-7, Sebastien Blanc wrote:
> Hi,
> 
> I've got a ZTE open, upgraded to 1.1, remote debug enable and recognized by 
> my system (Fedora), even the Dashboard Simulator see my device as connected. 
> But when I push the "Push" for an app it doesn't seems to have any effect ...
> 
> Any ideas ?
> 
> Seb

I was attempting the same thing earlier and didn't get any further. At the same 
time, I assume the plan is to have the upcoming app manager handle this 
functionality for devices going forward: 
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Using_the_App_Manager
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g