Re: [b2g] The latest OTA broken my Flame
I saw something similar after a FOTA on 1.4. At boot (splashscreen visible) it said I had very little space left (userdata partition), and it was stuck on splashscreen. I could reboot with the power button menu. Then I saw the homescreen but without wallpaper (black). I couldn't do anything with the homescreen at this point. The notification tray and the power button menu still worked. Reboot didn't help. I only solved it by wiping the userdata partition. Basically a factory reset. I think the cause was corruption in /data/local/webapps and we can at various points see different symptoms of it. It's in a way related to 1056424 - Stuck at loading screen during power cut off test https://bugzilla.mozilla.org/show_bug.cgi?id=1056424, but in my case it was caused by low space on /data rather than power cut off. Being low on /data space in turn came from 1058555 - Updating preloaded apps in FOTA/OTA results in duplicate apps in /data/local/webapps https://bugzilla.mozilla.org/show_bug.cgi?id=1058555, though I assume your flame build does not come with preloaded apps? Do you know how much space you had available on /data? *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@telenordigital.com | www.telenordigital.com On Wed, Sep 3, 2014 at 9:21 AM, Tim Chien timdr...@mozilla.com wrote: Update: So I tried to download pvtbuild from few days again, go into fastboot mode, and flash system.img ONLY in attempt to save my data. That didn't work -- I still booted into a blank screen. After that I give up saving the data and flash the userdata.img too, and my phone is back. So there is definitely something going on that breaks my profile and prevent the phone from working even if I revert back to the previous gecko/gaia. If there are others having the same issue, please share. On Wed, Sep 3, 2014 at 3:10 PM, Tim Chien timdr...@mozilla.com wrote: I think the most important question to ask here is -- is there a confirmation that latest OTA build is broken? If so we need to take it down right away. On Wed, Sep 3, 2014 at 3:04 PM, Kevin Grandon kgran...@mozilla.com wrote: I'm not sure about your issue but I'd recommend using the backup/restore tool: https://github.com/Mozilla-TWQA/B2G-flash-tool/blob/master/backup_restore_profile.sh Tim - if you don't have a backup, you may consider trying that tool and restoring on top of a master build. Also Aurora is currently hosed and the tree is closed. I'd especially recommend staying away from Aurora updates until the tree is green. Best, Kevin - Original Message - From: Tim Chien timdr...@mozilla.com To: dev-b2g@lists.mozilla.org, b2g-inter...@mozilla.org Sent: Tuesday, September 2, 2014 11:38:16 PM Subject: The latest OTA broken my Flame Hi all, I just hit update on my Flame, and after Gecko restarts I can see the newly updated tutorial. After that I was send to a home screen w/o wallpaper, so I figured I should reboot. But when the phone starts, I was sent to a all blank lock screen so I was unable to unlock. Since I am on a user build, I can't adb into the device either. What should I do to the my phone back? -- Tim Guan-tin Chien, Engineering Manager and Front-end Lead, Firefox OS, Mozilla Corp. (Taiwan) ___ b2g-internal mailing list b2g-inter...@mozilla.org https://mail.mozilla.org/listinfo/b2g-internal -- Tim Guan-tin Chien, Engineering Manager and Front-end Lead, Firefox OS, Mozilla Corp. (Taiwan) -- Tim Guan-tin Chien, Engineering Manager and Front-end Lead, Firefox OS, Mozilla Corp. (Taiwan) ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g
Re: [b2g] Error when doing repo sync.
Most likely a previous build put stuff in device/qcom/msm7627a and now that folder isn't needed anymore (did you change device?). It is erroring here in case you put it there yourself and forgot to save your work. If you haven't touched it you can safely delete that folder, rm -rf device/qcom/msm7627a; or cd to it and do a hard git reset to just get rid of the uncommitted changes. Since this error always occurs after fetching all remote repos, you can do a quicker sync by not checking them again: ./repo sync -l (or ./config.sh -l device) *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@telenordigital.com | www.telenordigital.com On Sat, Jul 19, 2014 at 7:22 PM, A. Crespo madrid.cre...@gmail.com wrote: Hi, I'm having an error when doing repo sync: error: Cannot remove project device/qcom/msm7627a: uncommitted changes are present How to fix it? Regards. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g
Re: [b2g] Device goes offline when building.
Do you have a lock screen enabled on your device? Adb is turned off when the lock screen is activated. Turn it on again by turning on the screen and unlocking the lock screen. Turn it on permanently by disabling the lock screen. *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@telenordigital.com | www.telenordigital.com On Sun, Jul 20, 2014 at 4:15 PM, A. Crespo madrid.cre...@gmail.com wrote: Hi, I'm trying to build B2G for a Flame, but when I try to run build.sh, I get the following error: error: device offline. After that, I need to reattach the device to the computer to get again access by shell to the device. My udev rules are the following rules: http://paste.ubuntu.com/7825165/ So why is the Flame going offline? Best regards. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g
Re: [b2g] Device goes offline when building.
Then I'm not sure what it could be. I don't have a flame myself so I'm not aware of any specific issues there. Check at what point it goes offline and maybe you can nail it down eventually. *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@telenordigital.com | www.telenordigital.com On Sun, Jul 20, 2014 at 5:25 PM, A. Crespo madrid.cre...@gmail.com wrote: Hi Andreas, Of course, I had disabled the lock screen. But maybe may it be related to it? Thanks. 2014-07-20 17:21 GMT+02:00 Andreas Pehrson pehr...@telenordigital.com: Do you have a lock screen enabled on your device? Adb is turned off when the lock screen is activated. Turn it on again by turning on the screen and unlocking the lock screen. Turn it on permanently by disabling the lock screen. *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@telenordigital.com | www.telenordigital.com On Sun, Jul 20, 2014 at 4:15 PM, A. Crespo madrid.cre...@gmail.com wrote: Hi, I'm trying to build B2G for a Flame, but when I try to run build.sh, I get the following error: error: device offline. After that, I need to reattach the device to the computer to get again access by shell to the device. My udev rules are the following rules: http://paste.ubuntu.com/7825165/ So why is the Flame going offline? Best regards. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g
Re: [b2g] error when I'm using ./configure.sh inari
This happens when the server runs an old git and the index-pack step takes too long to run. Nothing is sent to the client during this step so the connection times out. Newer git have a keep-alive mechanism in place instead. See more info at https://bugzilla.mozilla.org/show_bug.cgi?id=963469. The error is slightly different but I believe the cause is the same. There are two ways to fix it as far as I know: 1 Tell the server maintainers so they can either upgrade their git, extend the timeout or optimize the repo so the index-pack step is faster. 2 Make sure your local git process (the one fetching the repo) does NOT run with the '--no-progress' flag (more info at the URL above). If it has it, it is probably because you are piping the output to somewhere. See if it works when you don't and if you still need it piped you can probably force progress from the server (somehow) or you can use the linux program scripthttp://unixhelp.ed.ac.uk/CGI/man-cgi?script . Cheers, *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@comoyo.com | www.comoyo.com On Tue, Apr 8, 2014 at 6:48 PM, Ángel Cruz bullg...@gmail.com wrote: Hi there... Some help with this please remote: Counting objects: 3769164, done. remote: Total 2895 (delta 1325), reused 2471 (delta 981) Receiving objects: 100% (2895/2895), 39.39 MiB | 278.00 KiB/s, done. remote: Compressing objects: 100% (755622/755622), done. Resolving deltas: 100% (1325/1325), completed with 409 local objects. From https://git.mozilla.org/releases/gaia 81f68c4..650e8c2 master - mozillaorg/master 225e9ae..100a159 v1.3 - mozillaorg/v1.3 9afe814..643f3e6 v1.3t - mozillaorg/v1.3t error: RPC failed; result=56, HTTP code = 20033 GiB | 36.00 KiB/s 44.00 KiB | 31.00 KiB/s fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed thanks -- ángel cruz GNU/Linux counter #50841 ~ happy hacking ___ 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] Problem running config.sh
config.sh sets up a manifest for repo. It's located at B2G/.repo/manifest.xml. From your error message, I'm assuming that file doesn't exist. Try running config.sh again. If you are doing this for a new device you could add it to config.sh and then hand it your local manifest file like so: ./config.sh device -m path/to/manifest. *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@comoyo.com | www.comoyo.com On Sun, Feb 9, 2014 at 3:42 PM, Adrián Mª Mora Carreto leaks...@openmailbox.org wrote: Hello, I am trying to build a custom Firefox OS for my device. I have fixed my previous mistake by adding the default tag that I forgot to introduce. After fetching all the projects, the repo sync fails with the message: error: manifest required for this command -- please run init I've changed the line and trace the error, and the error line is: open(/path/to/B2G/build/.git/HEAD, O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) What can I do? I don't find anything searching :/ Thank you! ___ 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] Failing to mount a keon
What does lsusb say? *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@comoyo.com | www.comoyo.com On Tue, Feb 4, 2014 at 5:10 AM, Worik Stanton worik.stan...@gmail.comwrote: On 04/02/14 14:34, Worik Stanton wrote: On 04/02/14 14:26, Naoki Hirata wrote: Most likely it means that you didn't set the usb to see the device in fastboot. Do you mean the UDEV rules? That is all I can see on that page. I have done that. I have been hacking on this phone a little bit already. On some devices, fastboot mode has a different vendor than adb mode. Hmmm. 'lsusb' is giving me the same data. But I am not quite sure what fastboot mode has a different vendor than adb mode could mean. Now I see!! I see that when my script is hanging waiting for fastboot to complete there is a different entry for it in lsusb. Bus 002 Device 010: ID 18d1:d00d Google Inc. So I made a UDEV rule for that and the script finishes and, I assume, puts the new system on my phone. Progress. I flashed my data fastboot flash userdata userdata.img now the phone is usable. I cannot see it under adb devices so I went t=into settings (on the phone, yay!) and set remote debugging to ADB and Devtools, restarted the phone and I still cannot see it with adb. (Nor appmanager) Sigh! W W -- The only true evil is turning people into things Granny Weatherwax worik.stan...@gmail.com 021-1680650, (03) 4821804 Aotearoa (New Zealand) ___ 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] Build problem with a keon
Sounds like you didn't get gaia on the device. I haven't really seen that before but if your rebuild doesn't work try a cd B2G/gaia make clean make reset-gaia *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@comoyo.com | www.comoyo.com On Wed, Feb 5, 2014 at 12:32 AM, Worik Stanton worik.stan...@gmail.comwrote: I have just built the latest code from git:// github.com/mozilla-b2g/B2G.git I did the usual: ./config.sh keon ; ./build.sh ; ./flash.sh The result on my phone is not pleasing! It boots into the lock screen and I can unlock the phone, then I have a lovely picture of a grassy medow and little else. I can drag down the top bar and get to settings, and that gives me a picture of a cog on a black background. Some times if I leave that it returns to the medow. As I write it is stuck on the grey cog on a black background. The screen times out and goes blank, pushing the power button gets my cog back. I could go on but the point is it is a failure! I am rebuilding now to see if the problem goes away cheers Worik -- The only true evil is turning people into things Granny Weatherwax worik.stan...@gmail.com 021-1680650, (03) 4821804 Aotearoa (New Zealand) ___ 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] b2g and the huge downloads! how to avoid?
#1. Do not delete anything, especially not .repo! If you have made changes in your working tree you might want to reset those. Sometimes files are created in your working tree during configuration or build, but then your config run will complain and tell you which directory has changes. Deleting that directory in your working tree is safe. Run *./repo status* to see any stray files. #2 No, it essentially runs *git fetch* for all repos listed in the manifest. See more info further down. #3 You shouldn't use git to just update your code base. When you run *./config.sh*, it will setup the manifest for the device you gave it. It will then essentially run *./repo sync *with the options you provided to config.sh (for instance, -l will only use local files, hence not update any repos over the network). The repos are stored in *.repo/projects* but that folder should not be touched at all. *./repo*will handle everything for you. When you run *./config.sh* or *./repo sync*, only the necessary files will be downloaded. That is, if you have already downloaded the necessary repos, you will only be fetching commits and branches that were added after your previous sync. So in short, If you are not changing to another device, you only need to run *./repo sync* to update to the latest and greatest. If you want to switch to another device fast (not check each repo for new stuff, for instance when you know you updated for that device recently) you should run *./config.sh -l device*. Also note that when building for different devices, the resulting binaries and libraries will live in different places (under *out/target/product*), so there is no need to clear any old stuff out when building for a new device. *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@comoyo.com | www.comoyo.com On Fri, Jan 17, 2014 at 4:58 PM, Techno Buddha wrott...@gmail.com wrote: Hi all, So I'm now suffering with having to pay an extra $50 for my Bell downloads, as I went over my limit without checking! My problem I know. LOL! I realized that building for a device will force down all of the components to build, hence the 7G of data each time. And well I've downloaded it all about 6 or 7 times. LOL! So, I'm reading up on GIT, and trying to figure out with the shell scripts config and repo, and build, and i'm hoping someone can point me to some advice with regards to using b2g git? I will be using several different devices to test with, and I NOW know that you don't have to download everything all over again, that the items that will be downloaded will be in the manifest, correct? #1 to go from one device to another, do you just delete the build and the .repo (excluding the downloaded files) directory, and change the manifest to the right one? (most likely with the config file) is there a specific command? #2 if you do the config, is everything downloaded all over again, even if it already exists? or could we just find out the difference in the manifest file and use git to down load that part? #3 what git command should I use to downloaded the latest changes, and ignore? the current files created? Please forgive my ignorance, as I'm a systems guy trying to dive into the development world so I can better support developers, and I think the best way to do that is to focus on the new firefox OS! I'm also going to read up a bit more on GIT, so if anyone can point me to relivent info so i can get up to speed quicker? and one last question? what's the most cheapest phone to buy (used) that works with firefox os? thank you! ___ 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] Support for Android systrace
When compiling (external) gecko for b2g, keon, with --enable-systrace I get: ../../dist/include/GeckoProfilerImpl.h:229:26: error: utils/Trace.h: No such file or directory The only Trace.h I found was mozilla-central/widget/gonk/libui/Trace.h, but it was not copied to the objdir. Is this something you have seen? *Andreas Pehrson *--- Software Engineer (+47) 959 60 374 | pehr...@comoyo.com | www.comoyo.com On Fri, Jan 10, 2014 at 5:51 AM, Benoit Girard bgir...@mozilla.com wrote: Bug 952074 has landed, thanks to Vincent, which means we now have basic support for systrace. This tool will be more familiar to some than the Gecko Profiler. Systrace and the Gecko Profiler collect different data through vastly different methods. I highly recommend using both tools for difficult performance problems. Better documentation is coming up: https://wiki.mozilla.org/B2G/Profiling#Profiling_with_systrace -BenWa ___ 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