Fairphone 2 build


#141

Ok. I tried to install a owncloud in a hurry but my server has the wrong config for it… so there is no other way…
https://www.dropbox.com/s/zn6jufieqyylpnb/FP2.blobfree-dist.zip?dl=0


(Lissyx) #142

Ok, so it is ZipUtils module that spits out this. Checking the zip file shows nothing. And the code https://github.com/mozilla-b2g/b2g-installer/blob/master/about.js#L653 would confirm the zipFile itself is a problem. The only thing that would make sense, looking at your log, is that the spaces in the path are messing up something.

Can you try with the blobfree hosted somewhere else than “/Volumes/Novski Orange/B2G Stuf/160914-blobfree/FP2.blobfree-dist.zip” ; ideally some path with no space in any components ?


#143

and the log looks good as well… :blush:
http://pastebin.com/VXQ8JeQg


(Luca) #144

Super Job, Novsky! :slight_smile: Thank you again (we still need to change that Firefox OS image in a B2G OS one!)!

@kskarthik were you working on this?


#145

true!


(Lissyx) #146

Does it boots?

Mozilla Discourse a écrit :


Novski

September 14

and the log looks good as well... :blush:

http://pastebin.com/VXQ8JeQg


Visit Topic or reply to this email to respond.


In Reply To

lissyx

September 14Ok, so it is ZipUtils module that spits out this. Checking the zip file shows nothing. And the code https://github.com/mozilla-b2g/b2g-installer/blob/master/about.js#L653 would confirm the zipFile itself is a problem. The only thing that would make sense, looking at your log, is that the spaces in t…


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Envoyé depuis Firefox OS

#147

until now it works with version 1.2.8. current version is 1.7 so the real tricky work will be to update the routine now because Fairphone changed the blobs and aded a modem blob that has some kind of a different workflow. So work will go on…
I whant to take the momentary release of sibon-16.08.0 and workout a build upon those blobs. Then i will update blobfree again.
That to the roadmap…


(Sai Karthik Karra) #148

yup… i have font size issues


(Sai Karthik Karra) #149

I want to replace the Firefox OS Installer name with HTML instead of using image. How do i test the add-on locally


#150

its here: https://github.com/mozilla-b2g/b2g-installer


#151

yes it boots. but i still think there is something not fully correct. It boots and i can swipe to unlock but the SIM PIN keyboard doesn’t come up. instead there is a half of a white layer for the numberkeys and two buttons one is written black “skip” and the other one grey “ok”. Then if i press skip it displays the background and the smal dot that wold show on which swipe layer i am. the searchbar is there as well but i cant get a cursor or a keyboard to type. @kskarthik told me to adb logcat and i tried and see some prints about missing packages. Here we go: http://pastebin.com/Rz9tf03a
Somebody has to help me sort out whats relevant and what not. Best with a declearation why some parts are interessting… :slight_smile:


#152

This one is more readable. Its filtered with 3 words. First warn then fail and then error you can read the code at the lines 1, 11, 355. And it is made each during a reboot so you can see there is a lilne waiting for device and then it starts. Thats the boot process. And at the end of each section i slided the locker and pressed buttons… then restarted and made the next section…
http://pastebin.com/BreHyWkF


(Lissyx) #153

In this log, I see this:

E/GeckoConsole( 283): [JavaScript Error: “TypeError: this.browser_config.url.split is not a function” {file: “chrome://gaia/content/system/js/homescreen_window.js” line: 208}]

That might be breaking a lot of stuff :). I do count six occurrences of this error, would it match you trying six times to display something?

A screenshot can help, too. I don’t remember exactly but I think something like: adb shell screenshot /sdcard0/screen.png && adb pull /sdcard0/screen.png should get you a screenshot in screen.png.

There are also issues:

E/Browser ( 1061): Content JS ERROR: Error refreshing bookmark icon Failed to fetch icon chrome://gaia/favicon.ico#-moz-resolution=300,300: [Exception… “Illegal value” nsresult: “0x80070057 (NS_ERROR_ILLEGAL_VALUE)” location: “JS frame :: chrome://gaia/content/shared/js/icons_helper.js :: fetchIconBlob/< :: line 411” data: no]

But I am not sure if it is related.

The best would be to check on another device to make sure this is not a problem either in/with the lower level of the stack or something messed up on your side.

Can you share your gecko and gaia head?


#154

I can’t follow this part… (sorry my english is not that good)

db: command not found…
i made a video of it: https://www.dropbox.com/s/zgg36nouo7r9m2e/2016-09-14%2019.58.59.mp4?dl=0

~/B2G/gecko$ git rev-parse HEAD
f77a18b1b7dd95b3557e19cbaedef2984b0106cc

~/B2G/gaia$ git rev-parse HEAD
90240f7a2e66ae8873e1f1b0e5f1d80a98c2c2db

Is that helpfull?


(Lissyx) #155

git rev-parse is helpful :). The error message you have refers to db command not found, but the command is adb, did you mistyped? If not, make sure you have installed Android SDK to have those :slight_smile:


#156

true, i made a copy paste failure there…
this is the output:

adb shell screenshot /sdcard0/screen.png && adb pull /sdcard0/screen.png
/system/bin/sh: screenshot: not found
remote object ‘/sdcard0/screen.png’ does not exist

althroug there is a SD card placed in the SD card slot…


(Lissyx) #157

Right, I forgot the proper command is screencap, so replace the screenshot calls with screencap -p and that should do it.


#158

adb shell screencap -p /sdcard0/screen.png && adb pull /sdcard0/screen.png
Error opening file: /sdcard0/screen.png (No such file or directory)
remote object ‘/sdcard0/screen.png’ does not exist


(Lissyx) #159

Does /sdcard0/ exists on your device ?

adb shell screencap -p /data/local/tmp/screen.png && adb pull /data/local/tmp/screen.png

If that does not work, adb shell and then in the resulting shell screencap -p /data/local/tmp/screen.png and then close this shell (CTRL+D) and just adb pull /data/local/tmp/screen.png


#160

that worked
adb shell screencap -p /data/local/tmp/screen.png && adb pull /data/local/tmp/screen.png
3137 KB/s (478284 bytes in 0.148s)

what does it do?
im sorry i have to leve. im back in 3-4h