Geeksphone Forum

International Forum => PEAK by (gp) => Topic started by: a-dead-trousers on April 16, 2015, 11:43:15 PM

Title: Updates stuck at 2015-04-07
Post by: a-dead-trousers on April 16, 2015, 11:43:15 PM
Hi!

All builds from http://downloads.geeksphone.com/ and the OTAs are stuck on 2015-04-07.
GP, please check your build-server!

wkr
ADT
Title: Re: Updates stuck at 2015-04-07
Post by: Doelf on April 20, 2015, 12:39:18 AM
Confirmend: the latest builds for Peak and Keon are all dated 7/4/2015 or 8/4/2015!
Title: Re: Updates stuck at 2015-04-07
Post by: mossroy on April 22, 2015, 12:25:00 AM
I've contacted their support about this problem.
Last time I did they fixed the issue.
Title: Re: Updates stuck at 2015-04-07
Post by: pochy on April 22, 2015, 01:55:17 PM
Me too but for KEON and they answered me that he told his team development team to solve this issues.
Title: Re: Updates stuck at 2015-04-07
Post by: a-dead-trousers on April 23, 2015, 04:20:59 AM
I've contacted their support about this problem.
Last time I did they fixed the issue.
Isn't the forum part of support? ???
Title: Re: Updates stuck at 2015-04-07
Post by: Rodrigo (gp) on April 23, 2015, 05:29:28 AM
I've contacted their support about this problem.
Last time I did they fixed the issue.
Isn't the forum part of support? ???

No, is a sharing place between Geeksphone and his users.

Thanks.
Title: Re: Updates stuck at 2015-04-07
Post by: pochy on April 23, 2015, 02:25:11 PM
I've contacted their support about this problem.
Last time I did they fixed the issue.
Isn't the forum part of support? ???

No, is a sharing place between Geeksphone and his users.

Thanks.

OK, but what state is this problem?, think continue to support these devices?, I mean the daily builds?
Title: Re: Updates stuck at 2015-04-07
Post by: Rodrigo (gp) on April 23, 2015, 06:51:50 PM
Yes, from Geeksphone after few years the support of the Keon and the Peak has come to end.

But we hope than users community want to continue.

Thanks.
Title: Re: Updates stuck at 2015-04-07
Post by: a-dead-trousers on April 24, 2015, 03:49:00 AM
Yes, from Geeksphone after few years the support of the Keon and the Peak has come to end.
:'(
But we hope than users community want to continue.
If you (GP) could post a how-to I would like to continue.

wkr ADT
Title: Re: Updates stuck at 2015-04-07
Post by: KaiRo on April 24, 2015, 03:15:47 PM
Yes, from Geeksphone after few years the support of the Keon and the Peak has come to end.

Thanks to Geeksphone for supporting those phones for quite some time - even if unfortunately the path has apparently led Geeksphone in a different direction than Firefox OS. At least for now.

That said, GP got so many things right (unlocked! updates! in-development builds! crash reporting! symbols!) that so many other FxOS phones got wrong, it was really refreshing to see that it can work. Thanks for that.
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on April 27, 2015, 07:35:04 AM
But we hope than users community want to continue.
If you (GP) could post a how-to I would like to continue.
Some hints on how to build the Peak images from source would be great.

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: jcerdan on April 27, 2015, 10:00:15 AM
Well, looks like we'll have to go our own way...

Ok, I tried to build my own image in v2.1 (that's what I'm using right now). Building finished ok but image is 140M instead of 190M (last provided by geeksphone) and when the phone reboots, it gets stuck at Geeksphone logo.

Does anyone knows how to debug boot via adb to see where does the system fails.

I followed manual here https://developer.mozilla.org/en-US/Firefox_OS/Building_and_installing_Firefox_OS
using peak manifest for version 2.1 (I attach the file).
I'm using ArchLinux.

If anyone has an idea on what to do, you're welcome.

best,
Title: Re: Updates stuck at 2015-04-07
Post by: jcerdan on April 27, 2015, 10:25:02 AM
I have sideloaded boot.img as indicated in https://developer.mozilla.org/en-US/Firefox_OS/Building_and_installing_Firefox_OS/Firefox_OS_build_process_summary

and phone boots ok. So the problem is system.img for sure...

I'll try to post what I have done exactly and see if we can create a how-to so anyone can build its own image.

You can find image and md5sum here:
http://jordicerdan.com/b2g/boot.img
http://jordicerdan.com/b2g/md5sum.txt

I'll try to rebuild again...
Title: Re: Updates stuck at 2015-04-07
Post by: jcerdan on April 27, 2015, 11:59:34 AM
ok,

I managed to finally build a system 3.0.0-prerelease
I warn you that after building everything I launched ./flash.sh and it erased my userdata (that's really a shit, but anyway, I'll rebuild everythin again from SD)

I'm currently using it, and I see plenty of mochi test and test apps on homescreen... will investigate WTF is that and try to hide/delete them.
Also it's only available in english and two other non-latin languages I don't remember. Keyboards are available in more languages, I'll try to find how to solve that also...

Anyway, if you want to try, I have uploaded all *.img there www.jordicerdan.com, as well as md5sum.txt:
- boot.img
- userdata.img
- system.img
- md5sum.txt

Finally, I think that you could use flash.sh provided by geeksphone, as this script asks you if you want to delete user data, but if this does not work, I also upload the flash.sh file I used provided by Mozilla.

WARNING: Use this files at your own risk. When my files failed, I always could go back flashing files provided by Geeksphone on April 7th, but that does not mean you will can (or yes?)

I upload you some images of the new system...
Title: Re: Updates stuck at 2015-04-07
Post by: jcerdan on April 27, 2015, 12:04:25 PM
Sorry for this monologue.

Please If someone can/wants/dares to try my images, please, tell me what's ok, wrong, etc... and this way we'll have all a build steps to g on firefoxos and peak.

I'll try by the way to do a doc about all I have done.

best,
Title: Re: Updates stuck at 2015-04-07
Post by: Doelf on April 28, 2015, 03:59:52 AM
Great job, jcerdan!
(I haven't had time for a test run yet but this had to be said!)

I really hope you'll get help so we can call this a community effort in the future. I think there should be a stable branch optimized to the Peak (maybe the 8 MPixel camera could be reestablished) und a testing branch using the latest nightlies.

While developing you've got to make sure your apps run stable for actual users. This was always a problem with the builds provided by Geeksphone, because many of these where utterly unstable.

On the other hand, you've got to know where FOS is heading. This was always possible with the builds provided by Geeksphone.

I don't think there is any need for daily builds. One testing build per month and one stable for every major release should be enough.

Just my 2 Cents.

Michael
Title: Re: Updates stuck at 2015-04-07
Post by: jcerdan on April 28, 2015, 06:49:16 AM
HI Doelf,

I have just taken a photo and resolution is 2448x3264 which I think is ok.

Currently I have used everything except Calendar (I will connect to my owncloud soon) and everything looks fine.

The only problem I have is that my battery is nearly dead and it only can hold for about 20 minutes if the system is not connected to a powerline. But that's a battery problem and Geeksphone has no replacement (I googled for them but it seems it's not a standard and there are no on earth...). Not the best situation of course.

Currently the image files I have created are for the last release of FirefoxOS, but of course, there should be at least images for last one considered stable by Mozilla (v2.2 isn't that?).

I'll try also to create images for those ones, but it's not a priority for me by now, as what I want to do before is clean the one I have done. If someone has tried or you have a look at the screenshots I provided, you can see that there are plenty of test apps. This is good for developers but not for a daily use. (maybe offer images for developpers and production use?) Also, a maximum number of languages and keyboard layouts should be provided in the images. Once all this done, I think there will be no problem to build v2.2 images as params/modifs should be very similar, if not the same.

about flashing, If you keep a copy of image files that work now for you (downloading from what geeksphone used to provide), you can go and flash with the ones I have done, then if something's wrong, you can flash back to the stable ones you had before. I use contacts2xml and xml2contacts for the contacts list. All docs stored on SD and this way everything's ok. remember to execute contacts2xml before flashing again.

and last, but not least, flash at your own risk...
Title: Re: Updates stuck at 2015-04-07
Post by: Doelf on April 28, 2015, 08:50:03 AM
2448x3264 = 8 Mpixel and that's great. Geeksphones builds were stuck at 5 Mpixel for ages.

The battery problem is really embarrassing for Geeksphone. The suggested Haier replacements don't work.

Regarding the stability of Firefox OS, there is a huge difference between "Feature Complete" and "Fit For Public Use"! FxOS 2.1 is "Feature Complete" and FxOS 2.2 ist still under developement:

FxOS 2.2 Feature Complete date: April 6, 2015 [in progress]
FxOS 2.1 Feature Complete date: Oct 13, 2014 [completed]
=> https://wiki.mozilla.org/B2G/Roadmap

But FxOS 1.3 is still the latest "Current Release" with standard support. FxOS 1.4 is not to be released at all. FxOS 2.0 is Beta. FxOS 2.1 is Aurora. FxOS 2.2 is Nightly.
=> https://wiki.mozilla.org/Releases

No kidding: Firefox OS 1.3 is still the stable release, even when a few phones are "already" on 2.0.
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on April 28, 2015, 10:13:01 AM
Please If someone can/wants/dares to try my images, please, tell me what's ok, wrong, etc... and this way we'll have all a build steps to g on firefoxos and peak.

I'll try by the way to do a doc about all I have done.

best,
Thanks for your work!

I just flashed my Peak on Debian 8 i386 using:

http://jordicerdan.com/b2g/md5sum.txt
http://jordicerdan.com/b2g/boot.img
http://jordicerdan.com/b2g/userdata.img
http://jordicerdan.com/b2g/system.img
with the files from images-peak-v2.2-2015-04-07.Gecko-c6d786b.Gaia-4a5b6f8.zip:
adb fastboot flash.sh recovery.img

I didn't have much time to test, just a little bit of surfing over mobile broadband, but this works perfectly.

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: jcerdan on April 28, 2015, 10:49:31 AM
@Doelf.
You're right. I think we should focus on versions with feature completed and on the master one. I think that using v1.3 is a step backwards. But that can be duscussed. When 2.2 feature is completed, then 2.1 should be abandoned in favor of 2.2.
Surely there will be minor bugs, but I think they won't be too important, and thus we can help Mozilla build a better OS.

@helmar
Thanks for trying!



Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on May 08, 2015, 04:10:17 AM
Hi,

I have built BRANCH 2.1 and Master, but with both the internel memory emmc is not found.

The actual master restart frequently, while 2.1 seems to be stable.

2.2 does not detect the toolchain, so I am not able to compile.

Any Ideas for the problem with internal memory?

Thank you

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: a-dead-trousers on May 09, 2015, 08:16:07 AM
I have built BRANCH 2.1 and Master, but with both the internel memory emmc is not found.
Any Ideas for the problem with internal memory?
See here http://forum.geeksphone.com/index.php?topic=6370.0
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on May 10, 2015, 11:02:59 AM
that does not work for me.

My problem is the missing internal memory. The pictures on my sdcard and the music is available, but I can't restore my contacts.

mount says:

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p12 /system ext4 ro,relatime,user_xattr,barrier=0,data=ordered 0 0
/dev/block/mmcblk0p13 /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p14 /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p15 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0

cat /proc/partitions says:

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p12 /system ext4 ro,relatime,user_xattr,barrier=0,data=ordered 0 0
/dev/block/mmcblk0p13 /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p14 /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p15 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
root@android:/proc #                                                           
I-search:
root@android:/proc # cat version                                               
I-search: vo
I-search: vol
root@android:/proc # cat /proc/partitions                                     
major minor  #blocks  name

 253        0      49152 zram0
 179        0    3817472 mmcblk0
 179        1         20 mmcblk0p1
 179        2        150 mmcblk0p2
 179        3      40960 mmcblk0p3
 179        4          1 mmcblk0p4
 179        5       1000 mmcblk0p5
 179        6        500 mmcblk0p6
 179        7       2000 mmcblk0p7
 179        8      13576 mmcblk0p8
 179        9       3072 mmcblk0p9
 179       10       3072 mmcblk0p10
 179       11       3072 mmcblk0p11
 179       12     460800 mmcblk0p12
 179       13    1998576 mmcblk0p13
 179       14      10240 mmcblk0p14
 179       15     153600 mmcblk0p15
 179       16      13576 mmcblk0p16
 179       17         20 mmcblk0p17
 179       18    1050000 mmcblk0p18
 179       19        996 mmcblk0p19
 179       20       8192 mmcblk0p20
 179       21      29644 mmcblk0p21
 179       32   30702592 mmcblk1
 179       33   30698496 mmcblk1p1


adb shell vdc volume list

says:

110 sdcard /mnt/sdcard 7
110 emmc /mnt/emmc 0
110 fat /mnt/fat 0
200 Volumes listed.

seems that the internal memory, called sdcard, isn't mounted and the external scdard is (faulty) mounted as /sdcard instead of /emmc

Title: Re: Updates stuck at 2015-04-07
Post by: Djan on May 11, 2015, 12:07:53 AM
I did the trick (replace emmc by sdcard1) on the last 2.1 image from GP (want there was that problem). I had to do it twice for it to work (and a reboot).
This didn't work:
Code: [Select]
dev_mount sdcard /mnt/sdcard 18 /devices/platform/msm_sdcc.3/mmc_host/mmc0

#dev_mount emmc /mnt/emmc auto /devices/platform/msm_sdcc.1/mmc_host

dev_mount sdcard1 /mnt/emmc auto /devices/platform/msm_sdcc.1/mmc_host

But this worked:

Code: [Select]
dev_mount sdcard /mnt/sdcard 18 /devices/platform/msm_sdcc.3/mmc_host/mmc0

dev_mount sdcard1 /mnt/emmc auto /devices/platform/msm_sdcc.1/mmc_host
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on May 11, 2015, 11:31:59 PM
Hello Djan,

I tried the trick, even twice, but it didn't work for me. The internal memory is still not available and it is impossible to import my contacts backuped at the external scdard.

I will have a closer look at the vold.fstab and the partitions mentioned in /proc/partitions.

I had no problems with the latest gp-images 2.2 and 2.1. The difficulties appear only with self-compiled b2g-images 2.1 and 3.0  >:(

The camera works with 8MP and even the rest seems to be pretty stable and useful.

I tried to compile with TARGET_VARIANT=user but gaia crashed again and again.

If anyone is interested in my images I would post a link.

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: robyinno on May 12, 2015, 02:52:23 AM
In fact I'm interested to have or make a Keon firefox 2.2 updated image to install, how I can do?


If anyone is interested in my images I would post a link.

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on May 12, 2015, 12:53:28 PM
In fact I'm interested to have or make a Keon firefox 2.2 updated image to install, how I can do?

This is how i built my Peak images. I suppose you only have to replace peak by keon.

Helmar.

Code: [Select]
##### Install and configure the software on Debian 8 Jessie amd64 (as root or using sudo)
################################################################################
# dpkg --add-architecture i386
# apt-get update
# apt-get install git mercurial autoconf2.13 bison ccache curl flex gawk gcc g++ g++-multilib libgl1-mesa-dev libx11-dev make zip unzip bzip2 lib32ncurses5 lib32ncurses5-dev lib32z1 lib32z1-dev libdbus-glib-1-2 libxt6 android-tools-adb default-jdk
# apt-get install zlib1g:i386 zlib1g-dev:i386
##### This is quick'n' dirty - building B2G only works with make version 3.81 or 3.82 (the standard version of make in Debian 8 is 4.0):
# cd /var/cache/apt/archives/
# wget http://ftp.de.debian.org/debian/pool/main/m/make-dfsg/make_3.81-8.2_amd64.deb
# dpkg --install make_3.81-8.2_amd64.deb
# apt-mark hold make
##### Create udev rules (Use lsusb with the phone connected to the PC to find out the vendor ID):
# vi /etc/udev/rules.d/android.rules
  # To build B2G for the Geeksphone Peak
  # https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites#Install_adb
  #                                  Qualcomm
  SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666", GROUP="plugdev"
  #                                  Google
  SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
# chmod a+r /etc/udev/rules.d/android.rules
##### Restart udev or just:
# reboot
##### Set the maximum size of the files stored in the compiler cache (for the user which will build B2G)
$ ccache --max-size 10GB

##### Download the build system (not yet the B2G code)
################################################################################
##### Download the build system to the new folder B2G...
$ git clone https://github.com/mozilla-b2g/B2G.git
$ cd B2G
##### ...or update the content of an already existing folder:
$ cd B2G
$ git pull https://github.com/mozilla-b2g/B2G.git

##### Download additional language packs (in addition to en)
################################################################################
##### See https://hg.mozilla.org/releases/ for avaliable languages
################################################################################
$ cd gaia/locales/
##### Download the needed language packs....
$ hg clone https://hg.mozilla.org/releases/gaia-l10n/v2_1/de
$ hg clone https://hg.mozilla.org/releases/gaia-l10n/v2_1/es
$ hg clone https://hg.mozilla.org/releases/gaia-l10n/v2_1/fr
$ hg clone https://hg.mozilla.org/releases/gaia-l10n/v2_1/it
##### ...or update existing ones:
$ (cd de && hg pull)
$ (cd es && hg pull)
$ (cd fr && hg pull)
$ (cd it && hg pull)
$ cd -

##### Create the file .userconfig in the B2G folder containing various build options:
$ vi .userconfig
  # Options for config.sh/build.sh
  # https://developer.mozilla.org/en-US/Firefox_OS/Customization_with_the_.userconfig_file

  # Turn on USB debugging
  export DEVICE_DEBUG=1

  # User build (do not install debugging apps)
  export PRODUCTION=1

  ##### Add language packs
  ################################################################################
  # Folder containing the language packs
  export LOCALE_BASEDIR=$PWD/gaia/locales
  # The languages listed in the file named in LOCALES_FILE can be selected in the phone settings. If the language is listed in this file but there is
  # no corresponding language pack in gaia/locales/ the setting has no effect. You can create your own LOCALES_FILE to list only the available languages.
  export LOCALES_FILE=$PWD/gaia/locales/languages_dev.json
  # Preselected language
  export GAIA_DEFAULT_LOCALE=de

  ##### additional keyboards (see https://github.com/mozilla-b2g/gaia/tree/v1.2/keyboard/layouts)
  ################################################################################
  export GAIA_KEYBOARD_LAYOUTS=en,de,es,fr,it

##### Build configuration and download of the B2G sources
################################################################################
##### List supported phones:
$ ./config.sh
##### Use the default tree (not necessarily master) for the Geeksphone Peak...
$ ./config.sh peak
##### ...or use a specific branch, e.g. 2.0:
$ BRANCH=v2.0 ./config.sh peak
##### After the first run of ./config.sh the available branches can be listed with:
$ (cd .repo/manifests && git branch -a)

##### Build B2G
################################################################################
##### From now on the phone should be connected to the PC.
##### When run the first time ./build.sh saves all system files from the phone.
################################################################################
##### Check if phone is available:
$ adb devices
List of devices attached
e9a17088f456    device
##### Build B2G:
$ ./build.sh
##### The system files will be saved as out/target/product/peak/*.img

##### Write B2G to the phone. Caution: All data will be erased from the phone!
################################################################################
$ ./flash.sh
Title: Re: Updates stuck at 2015-04-07
Post by: robyinno on May 13, 2015, 07:31:16 AM
Many Thanks!
I will try with Keon, and I will update about.
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on May 13, 2015, 01:26:24 PM
@helmar:

Are the internal and the external sdcard mounted correctly?
with the latest GP-2.2-image mount says

Code: [Select]
/dev/block/vold/179:18 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:18 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0                                                                                       
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0                             
/dev/block/vold/179:33 /mnt/emmc vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

and with the image compiled by myself (master):

Code: [Select]
/dev/block/vold/179:33 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

So partition 33 is the external sdcard, partition 18 the internal.

Using my images the internal partition 18 is not mounted.

Any idea? Is your mounting correct?

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on May 15, 2015, 06:30:42 AM
Quote
Are the internal and the external sdcard mounted correctly?

no, my mounts are not correct.

These are the mounts after powering on the phone with a 16 GB SD card inserted:

Code: [Select]
root@android:/ # mount                                                         
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p12 /system ext4 ro,relatime,user_xattr,barrier=0,data=ordered 0 0
/dev/block/mmcblk0p13 /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p14 /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p15 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/vold/179:33 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
root@android:/ # df
Filesystem             Size   Used   Free   Blksize
/dev                  146.9M  64.0K  146.9M   4096
/mnt/asec             146.9M  0.0K  146.9M   4096
/mnt/obb              146.9M  0.0K  146.9M   4096
/system               442.9M  152.8M  290.1M   4096
/data                 1.9G  91.1M  1.8G   4096
/persist              9.8M  4.1M  5.8M   4096
/cache                142.0M  4.1M  137.8M   4096
/mnt/sdcard           14.8G  14.2G  680.8M   32768
/mnt/secure/asec      14.8G  14.2G  680.8M   32768
root@android:/ # vdc volume list
110 sdcard /mnt/sdcard 4
110 emmc /mnt/emmc 0
110 fat /mnt/fat 0
200 Volumes listed.

In the "Media Storage" settings i see a total space of 14,78 GB of internal storage, but this is not the internal storage, it is the SD card. In the settings no SD card is shown.

So the SD card is mounted on /mnt/sdcard and accessible from the UI, but the phone thinks it is the internal storage. And the "real" internal storage is not visible.


I modified the file /etc/vold.origin.fstab (the other /etc/vold.*fstab files do not seem to have any effect):

Code: [Select]
$ diff vold.origin.fstab.orig vold.origin.fstab
28c28
< dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host
---
> dev_mount emmc   /mnt/emmc   auto /devices/platform/msm_sdcc.1/mmc_host
30c30
< dev_mount emmc /mnt/emmc auto NULL
---
> dev_mount sdcard /mnt/sdcard 18   /devices/platform/msm_sdcc.3/mmc_host

then rebooted the phone. Now the mounts are:

Code: [Select]
root@android:/mnt # mount                                                     
...
/dev/block/vold/179:33 /mnt/emmc vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1023,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:18 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:18 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
root@android:/ # df
Filesystem             Size   Used   Free   Blksize
...
/mnt/emmc             14.8G  14.2G  680.8M   32768
/mnt/sdcard           1023.4M  3.8M  1019.5M   4096
/mnt/secure/asec      1023.4M  3.8M  1019.5M   4096
root@android:/ # vdc volume list
110 emmc /mnt/emmc 4
110 sdcard /mnt/sdcard 4
110 fat /mnt/fat 0
200 Volumes listed.

Both storages are shown correctly in the "Media Storage" settings. I can share the internal storage via USB, but not the SD card (maybe bug https://bugzilla.mozilla.org/show_bug.cgi?id=1090271). I also cannot import contacts from the SD card. Gallery/Music/Video can access both storages.

The mount points seem strange, but only this way they are mapped correctly in the UI. I would expect that emmc means internal storage ("emmc" stands for "embedded Multimedia Card" according to Wikipedia) and sdcard is the SD card. Anyway, there's something messed up with all these mount points, device names etc. Don't know how all of this is supposed to work correctly, but i can send some logs or test some settings if anyone is aware of this.


Regards,   Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on May 15, 2015, 01:04:29 PM
Hello helmar,

i am at vacations and can't try your modifications.

i have sent my .vcf-file via E-Mail to myself and was able to import 176 oft 181 contacts using b2g-3.0.

I'll contact bugzilla for the mount-problem.

Regards Rick
Title: Re: Updates stuck at 2015-04-07
Post by: TheDiguedindon on May 18, 2015, 09:06:51 AM
I'm very interrested in your work but I didn't find the img on your blog...
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on May 21, 2015, 12:59:18 PM
Here is my work:

https://adelheidi.de/owncloud/index.php/s/PW4Ury5iv18dZSY (https://adelheidi.de/owncloud/index.php/s/PW4Ury5iv18dZSY)

It is a complete folder with all the files you need to flash. I took the flash from gp, because it asks you wether you want to keep userdata or not.

Dont worry about the certificate, the files are hosted on my owncloud. Download will take some time...

Download and use the files for your own risk!

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on May 27, 2015, 11:47:30 PM
@helmar:

Your modification of the vold.origin.fstab works. Thank you very much.

I'll try to inject the new vold.origin.fstab into system.img, after a rebuild with updated git.

Has anyone tried my files? My peak works pretty good with B2G-3.0.

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on May 28, 2015, 01:05:58 PM
Here is some freashmeat:

https://adelheidi.de/owncloud/index.php/s/mxplnkLaNKBLsUs

The modified vold.origin.fstab is included as file.

rick
Title: Re: Updates stuck at 2015-04-07
Post by: pochy on May 28, 2015, 08:24:55 PM
Anyone that could share your own build but for KEON?  ;D
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on June 04, 2015, 10:47:33 PM
                                                                                                             
@helmar:                                                                                                                                                                             
                                                                                                                                                                                     
Your modification of the vold.origin.fstab works. Thank you very much.                                                                                                               
                                                                                                                                                                                     
I'll try to inject the new vold.origin.fstab into system.img, after a rebuild with updated git.                                                                                       
...                                                                                                                                                                                   
                                                                                                                                                                             
Hi Rick,                                                                                                                                                                             
                                                                                                                                                                                     
I just found out that the phone thinks to have a second external SD card called "fat". After deleting the corresponding line in vold.origin.fstab the second SD card disappeared and now also the contact import form SD card works! So with (only) the following two entries in vold.origin.fstab both storages work normally:                                                     
Code: [Select]
                                                                                                                                                                               
dev_mount emmc   /mnt/emmc   auto /devices/platform/msm_sdcc.1/mmc_host                                                                                                               
dev_mount sdcard /mnt/sdcard 18   /devices/platform/msm_sdcc.3/mmc_host                                                                                                               
                                                                                                                                                                               
                                                                                                                                                                                     
Do you know how/if we can get these modifications integrated upstream?                                                                                                               
                                                                                                                                                                                     
USB mass storage access doesn't work, with or without the modifications from above (did not try MTP). Two new devices /dev/sd[de] show up on the connected Linux PC, but no partitions on it.                                                                                                                                                                               

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on June 07, 2015, 01:29:26 PM
@pochy:

I do not own a KEON, so I can't help because the device is needed once to compile B2G

@helmar:

I think I have found a way to include your vold.origin.fstab:

https://adelheidi.de/owncloud/index.php/s/F37iKUkPXzfi23h (https://adelheidi.de/owncloud/index.php/s/F37iKUkPXzfi23h)

The vold.origin.fstab is included in the tar-ball, but it is not needed. And now the updater is included too.

I have had no time to work on the remaining problems.

Regards

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: elnino on June 08, 2015, 01:23:05 PM
Is anyone building builds for Peak and is willing to share them?
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on June 08, 2015, 11:32:41 PM
?
Title: Re: Updates stuck at 2015-04-07
Post by: Djan on June 10, 2015, 08:01:45 AM
                                                                                                             
@helmar:                                                                                                                                                                             
 
I just found out that the phone thinks to have a second external SD card called "fat". After deleting the corresponding line in vold.origin.fstab the second SD card disappeared and now also the contact import form SD card works! So with (only) the following two entries in vold.origin.fstab both storages work normally:                                                     
Code: [Select]
                                                                                                                                                                               
dev_mount emmc   /mnt/emmc   auto /devices/platform/msm_sdcc.1/mmc_host                                                                                                               
dev_mount sdcard /mnt/sdcard 18   /devices/platform/msm_sdcc.3/mmc_host                                                                                                               
                                                                                                                                                                               
                                                                                                                                                                                   

Hello, I tried your above modification but I get this with adb:

Code: [Select]
failed to copy 'vold.fstab1' to '/system/etc/vold.fstab': Read-only file system
Anyone an idea? (I rebooted but no luck)
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on June 10, 2015, 09:04:45 AM
Quote

Hello, I tried your above modification but I get this with adb:

Code: [Select]
failed to copy 'vold.fstab1' to '/system/etc/vold.fstab': Read-only file system
Anyone an idea? (I rebooted but no luck)

"adb remount" should help.

Helmar.

Title: Re: Updates stuck at 2015-04-07
Post by: robyinno on June 16, 2015, 07:06:37 AM
Many Thanks!
I will try with Keon, and I will update about.

Compiled and working FirefoxOs 3.0 on my Keon
http://forum.geeksphone.com/index.php?topic=5322.msg66758#msg66758 (http://forum.geeksphone.com/index.php?topic=5322.msg66758#msg66758)
Title: Re: Updates stuck at 2015-04-07
Post by: Djan on June 16, 2015, 12:18:36 PM

"adb remount" should help.

Helmar.

Thanks, it worked. But the vold.fstab didn't work on my 2.2 image...  :(
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on June 17, 2015, 12:39:55 AM
Hello Djan,

you can use the following image (3.0-pre):

https://adelheidi.de/owncloud/index.php/s/OC7Z9eONkgEnOsu (https://adelheidi.de/owncloud/index.php/s/OC7Z9eONkgEnOsu)

helmars vold.origin.fstab is included and works. It's not possible to access the device via USB, the rest works pretty good for me.

Comments and suggestions are welcome.

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: Djan on June 17, 2015, 02:32:44 AM
helmars vold.origin.fstab is included and works. It's not possible to access the device via USB, the rest works pretty good for me.

Ah, OK. I thought the helmars vold.origin.fstab could bring the USB access back. The sdcard recognition works well though.

I don't dare to use 3.0 yet want I use my Peak as everyday base. The 2.2 is quite good except for batterylife.
Are there improvement with graphic rendering and battery consumption?
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on June 17, 2015, 05:16:03 AM
I have not mentioned any improvement with the graphic rendering, it is still disturbing.

Hopping to 3.0 I changed from connecta2 to openwapp and the battery consumption seems to be much lower, especially when you use the phone active. WLAN is deactivated when not in use.

I don't really know the reason for lower power consumption.

I use my Peak as my onliest mobile everyday too.

regards

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on June 18, 2015, 07:58:32 AM
@helmar:

Have you ever tried to modify vold.fstab and vold.origin.fstab the same way to enable usb-access?

Just an idea...

Regards

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on June 19, 2015, 01:19:39 PM
@helmar:

Have you ever tried to modify vold.fstab and vold.origin.fstab the same way to enable usb-access?

Just an idea...

Regards

Rick
Just tried, does not help.

Reading through https://bugzilla.mozilla.org/show_bug.cgi?id=1090271 it seems that the USB sharing problem is not Peak specific. In older B2G versions there have been some settings to enable USB access separately for the internal and external SD card. At some point the settings have been removed from the UI, but the underlying code was not adapted.

I also opened a Github issue for the vold.origin.fstab (https://github.com/gp-b2g/device_qcom_msm7627a/issues/2). Is there anybody out there who can change the GIT repository (Geeksphone?)?

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on July 02, 2015, 08:19:53 AM
Has anybody built an image after the 20th of June?

My images are unusable, because the screen stays black - nothing appears.

Has anybody a newer image that works?

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on July 02, 2015, 08:45:21 AM
Has anybody built an image after the 20th of June?

My images are unusable, because the screen stays black - nothing appears.

Has anybody a newer image that works?

Rick
Same here, black screen, rebuilt today. When pressing the power button only the home button light is turned on and off, not the display backlight. I don't know if the display shows something, maybe only the backlight is missing. The phone is still accessible via adb. And i was able to turn it off by pressing the power button and then tapping there where the "power off" button should be located on the screen. So the touch screen works.

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on July 02, 2015, 08:57:15 AM
I tried to flash the userdata too, but without any success  >:(

I think I'll wait for a week or two and rebuild.

It was interesting to know about other devices facing the same problem. But I do own only the peak.

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: Rub on July 04, 2015, 05:19:48 AM
I have built 2.1 for Peak. It is quite unstable. The phone hanged.
I have also built 2.0, but something strange happen: the homescreen has no icons.

I'll wait.

Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on July 04, 2015, 03:22:43 PM
Hello Rub,

have you flashed all .img-files? Userdata from another version of FFos can cause confusion.

I expect that you just used the flash-script of mozilla, so everything should be flashed.

You can try the 3.0-built of 13. of june:

https://adelheidi.de/owncloud/index.php/s/OC7Z9eONkgEnOsu
 (https://adelheidi.de/owncloud/index.php/s/OC7Z9eONkgEnOsu)

It works for me.

regards Rick

Title: Re: Updates stuck at 2015-04-07
Post by: Rub on July 05, 2015, 06:03:17 AM
Thanks for your help Rick,

Yes, I flashed all images using Mozillas's flash script.

I have also deleted the B2G folder and started B2G v2.0's building over. Same result.
What is interesting is that the applications are there but the icons are missing. I can access 'Settings' app through the notification menu and if I enter a search term or URL the 'Browser' app starts. It seems like there is something wrong with Gaia.

Regards.
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on July 06, 2015, 01:27:06 PM
Hello Rub,

here is my userconfig:

Code: [Select]
export  PRODUCTION=1
export DEVICE_DEBUG=1
export B2G_UPDATER=1
export CC=gcc-4.8.4
export CXX=g++-4.8.4
export NOFTU=1
export GAIA_KEYBOARD_LAYOUTS=de,en,es
export GAIA_DEFAULT_LOCALE=de

and my update-script:

Code: [Select]
#!/bin/bash
cd /usr/src/B2G
git pull  https://github.com/mozilla-b2g/B2G.git
#BRANCH=v2.1s TARGET_BUILD_VARIANT=user
hg -R gaia/locales/de pull -u default
./config.sh peak
cd .repo/manifests && git branch -a
cd /usr/src/B2G
cp out/target/product/peak/system/etc/vold.origin.fstab out/target/product/peak/system/etc/vol.origin.fstab.orig
cp ../vold.origin.fstab /usr/src/B2G/device/qcom/msm7627a/

and my build-script:

Code: [Select]
#!/bin/bash
export PWD=/usr/src/B2G/
export LOCALES_FILE=$PWD/gaia/locales/languages_own.json
export GAIA_DEFAULT_LOCALE=de
export LOCALE_BASEDIR=$PWD/gaia/locales
export CXX=g++-4.8.4
export CC=gcc-4.8.4
PATH=/usr/lib64/ccache/bin:/opt/android-studio/bin:$PATH
cd $PWD
./build.sh  -j5

Maybe that helps. It workes to build 3.0.0.0.pre (master?).

@helmar:

Here you can see how I insert your vold.origin.fstab in my system.img

Have you found a better way? Or any success with the black-screen-problem?

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: Rub on July 07, 2015, 04:22:33 AM
Thanks Rick,

I have tried v2.0 again and the same problem occurs.

I have tried v2.1 and all user's applications are shown on the home screen. The problem with this version is that it waits endlessly searching for a WiFi network.

I have tried v2.1s and it works well. I tried to find out the difference between version v2.1 and v2.1s without success. Do you know the difference between those two branches?

Regardind your scripts, there are not many differences with the ones I am using. I do not understand your comment about 'vold' because I do not know what it is. I'm sorry.

Regards,
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on July 09, 2015, 12:36:11 PM
Hello Rub,

I dont't know the difference between 2.1 and 2.1s and I don't know where to find information about. It was nice if mozilla could explain a little bit more about their roadmap.

Do you know fxosdashboard? There is no 3.0 anymore but a branch 2.5+.
A little bit confusing for me...

The vold.origin.fstab does not matter to you if you can access your sd-card without any problems.

Yesterday I was able to compile 2.2, but I had no time to try it out.

Regards Rick

Title: Re: Updates stuck at 2015-04-07
Post by: helmar on July 09, 2015, 01:18:43 PM
@helmar:

Here you can see how I insert your vold.origin.fstab in my system.img

Have you found a better way? Or any success with the black-screen-problem?

Rick
Thanks for the hint. I don't know any better way to include the file (i used adb pull). The best way to include it would be to get it into the upstream repository, but since Geeksphone does not supprt us any more this won't be easy, i guess.

No progress on the black-screen-problem. But also Keon seems to be affected, there is also a bug open in Bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=1180657

Regards,   Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: paa on July 12, 2015, 01:43:27 PM
The last gecko commit that doesn't result to the blank screen is fca2910d0e2fbadf4cc056841c5baad11fe929ab (http://git.mozilla.org/?p=releases/gecko.git;a=commit;h=fca2910d0e2fbadf4cc056841c5baad11fe929ab). That's July June 24.

Keep in mind that the blank screen doesn't mean that gaia is not loaded. It is and works.
Title: Re: Updates stuck at 2015-04-07
Post by: Rub on July 17, 2015, 02:24:19 AM
FYI:

I have just tested v2.0 and the phone shows a blank home screen.
I have tested v2.1 afterwards and it works. I can see the app icons on the home screen.

Rub.
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on July 21, 2015, 09:27:42 AM
Dear friends of peak and ffos,

we face the following situation:

- Geeksphone does not exist any more and there is no support
- the peak device is not officially supported by mozilla
- BRANCH 2.0 and 3.0 (aka 2.5?) results in a black screen
- BRANCH 2.1 works, but I had no connection to internet without wifi.
- there will be no help from mozilla or Geeksphone
- the reference-phone “flame” has to low specs in comparison to the peak
- the batteries will die sooner or later and you can't buy another one
- the apps offered in the marketplace are far behind the apps of android or apple.

I am really disappointed by Geeksphone. After the disaster with the peak+ they had a very strange way to give out informations. The same thing when they finished the support for peak and keon in april. No information, just stopping the updates and waiting.

So after I spent a lot of hours with FFOS and reorganising my peak, I decided to stop using FFOS. I will wait until 2.5 or 3.0 is available and supported on a device with specs like an I-phone or a Samsung Galaxy.

By now using FFOS with the peak is just painfull. Even using the last stable 1.4 ;-)

If want to check out the power of your peak – there is an android-image, which works excellent.


https://justmozilla.wordpress.com/2014/05/10/installing-android-on-your-geeksphone-peak/
 (https://justmozilla.wordpress.com/2014/05/10/installing-android-on-your-geeksphone-peak/)

Good luck and best staying power for you all and mozilla!

Rick


Title: Re: Updates stuck at 2015-04-07
Post by: Rodrigo (gp) on July 22, 2015, 03:37:35 AM
Dear friends of peak and ffos,

we face the following situation:

- Geeksphone does not exist any more and there is no support


Rick

Sorry, but that is not true.

Please read GEEKSPHONE JULY 2015 PRESS RELEASE COPY http://forum.geeksphone.com
/index.php?topic=6521.0

Our Customer Technical Support Service will continue to operate as usual.

Thanks...... ;)
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on July 22, 2015, 05:41:53 AM
Hello Rodrigo,

i wish all the best for you and your new brand.

But the gp-support won't sell me batteries for the peak. And gp-support won't build updated ffos-images. And there won't be contributions to the ffos code. Isn't it like this?

It seems to me as the heads have left gp. GP won't develop or sell phones. Which part of GP remains?

What can the gp-support do for me or for other peak/keon owners?

Regards

Rick
Title: Re: Updates stuck at 2015-04-07
Post by: Rodrigo (gp) on July 22, 2015, 09:37:13 AM
Hello Rodrigo,

i wish all the best for you and your new brand.

But the gp-support won't sell me batteries for the peak. And gp-support won't build updated ffos-images. And there won't be contributions to the ffos code. Isn't it like this?

It seems to me as the heads have left gp. GP won't develop or sell phones. Which part of GP remains?

What can the gp-support do for me or for other peak/keon owners?

Regards

Rick

Thanks Rick!

Peak and Keon have more than 3 years and we don't have more supply chain for this devices.

As I said before, Geeksphone SAT continues for support and warranties.

Other Geeksphone's task force continue in Blackphone https://blackphone.ch/phone/ and in geeks!me http://www.geeksme.com/

Geeksphone will be an Investment Capital company for helping news European Hardware startups.

Thanks again..... ;)

Title: Re: Updates stuck at 2015-04-07
Post by: Djan on July 25, 2015, 08:22:10 AM
- the batteries will die sooner or later and you can't buy another one

Just for information: if you bought the Peak less than two years ago and that your battery doesn't work anymore, you can send it back to GP under warranty. They changed mine for free.

If you're out of warranty, there is indeed nothing to do...
Title: Re: Updates stuck at 2015-04-07
Post by: knezi on July 26, 2015, 12:28:08 AM
Hello everyone,
I agree with rick110.

My phone is still in warranty (actually, I have bought it slightly more than a year ago), but there is no support. Have you tried last 1.4 provided by Geeksphone? It is more buggy than it used to be in the past. I have been using it for more than three months with no serious bugs. Currently, there are sometimes missing part of screen is it is happening in 2.x on fresh install just one day old!

I have read that Peak has moderate hardware and that is the reason of these bugs. I wonder why Android works and FxOS not as it is based on Android. Android was not so difficult to build, so why FxOS? Is anyone able to explain this? Maybe I just don't see the whole picture.

The problem is there are no workaround on Firefox OS. For example static IP is waiting in Bugzillla for over than two years. On the other hand I don't want to use Android anymore, for example this: the very same minute I have installed it, it connected on data and cost me a lot. Even if I disabled it, it would still get connected sometimes. On Firefox OS I was able to connect just sometimes and no problem.

So I ask, there are community build (http://firefoxosbuilds.org/) and it seems working, are we, users of Peak and Keon, able to provide such images? It seems likely to me we would have to make some changes to the code, so I am asking. EDIT: I see, there are just 1.3 images. But still, is there any chance that these bugs in 2.x will get better?

Finally, on low spec devices, there cannot be something other than just gecko, but I thing Peak is capable of some Java machine. As Android is opensource, maybe we could see how they are doing and we could try to add there java machine? Or maybe compile Javascript to C (like nodejs) and run it? We would probably have torewrite the code like homescreen, but I am just stretching my imagination in this paragraph and there is possibily it is just rubbish. I don't know.

Greetings,
knezi alias Jan Knížek
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on August 01, 2015, 04:59:17 AM
The last gecko commit that doesn't result to the blank screen is fca2910d0e2fbadf4cc056841c5baad11fe929ab (http://git.mozilla.org/?p=releases/gecko.git;a=commit;h=fca2910d0e2fbadf4cc056841c5baad11fe929ab). That's July June 24.

Keep in mind that the blank screen doesn't mean that gaia is not loaded. It is and works.
Thanks for this hint paa! By walking through the git tree of gecko starting with this commit i found out that the commit killing the screen was cfe9c42db44f0ffbfde3edc3430e788a78e5ad7a (http://git.mozilla.org/?p=releases/gecko.git;a=commit;h=cfe9c42db44f0ffbfde3edc3430e788a78e5ad7a). And indeed, when reverting the changes to GonkDisplayICS.cpp in the current B2G master tree the screen is OK again!

Code: [Select]
helmar@deb:~/Software/B2G$ diff gecko/widget/gonk/libdisplay/GonkDisplayICS.cpp.orig_2015-08-01 gecko/widget/gonk/libdisplay/GonkDisplayICS.cpp
171c171,178
<     return !mFBSurface->compositionComplete();
---
>     mFBSurface->compositionComplete();
>
>     if (!mHwc) {
>         return true;
>     }
>
>     mHwc->prepare(mHwc, nullptr);
>     return !mHwc->set(mHwc, dpy, sur, 0);

So maybe there is still hope for our Geeksphones.

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: elnino on August 05, 2015, 04:51:41 PM
You can download working images for Peak (Firefox OS 2.5) here: http://www.codingfree.com/?page_id=76
Title: Re: Updates stuck at 2015-04-07
Post by: sourcecode on August 13, 2015, 06:53:01 AM
For anyone interested in building Firefox OS for the Peak by him-/herself, I wrote a little guide on how to do so:

Building Firefox OS the easy way (http://so.urceco.de/firefoxos-peak/)

It's easier than I thought. Give it a try!
Title: Re: Updates stuck at 2015-04-07
Post by: mossroy on August 29, 2015, 09:24:01 AM
I managed to compile and flash a master version (2.5) on my Peak. It works, but I cannot access any DeviceStorage (internal memory or external SD-Card).
I tried the 2.2 branch but I did not manage to compile it : it fails with "Only GCC 4.6 or newer supported".

I found this bug report : https://bugzilla.mozilla.org/show_bug.cgi?id=1121600 that explains how this issue has been fixed for Keon.
But I did not manage to do the same thing for the Peak.

Did someone manage to compile a 2.2 for the Peak?
Did someone manage to access the SD-card with a 2.5 version? (It might be a bug that is not Peak-specific)
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on September 07, 2015, 06:36:38 AM
Did someone manage to access the SD-card with a 2.5 version? (It might be a bug that is not Peak-specific)
When using this (http://forum.geeksphone.com/index.php?topic=6470.msg66716#msg66716) vold.origin.fstab file both storages can be accessed form the phone (FFOS 2.5). Via USB i currently can only mount the internal SD memory.

Regards,    Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: mossroy on September 11, 2015, 12:51:01 PM
When using this (http://forum.geeksphone.com/index.php?topic=6470.msg66716#msg66716) vold.origin.fstab file both storages can be accessed form the phone (FFOS 2.5).

Excellent!
It indeed worked on master branch. Thanks a lot helmar for the hint
Title: Re: Updates stuck at 2015-04-07
Post by: knezi on September 27, 2015, 11:51:06 AM
On which distros versions are you compiling it?
There's gcc 4.8.3 on Fedora 20 and I am getting error that gcc 4.6 or newer has to be used.
Title: Re: Updates stuck at 2015-04-07
Post by: mossroy on September 27, 2015, 12:00:00 PM
knezi,

I'm compiling on Ubuntu 14.04.3 (64-bit), but I don't think your distro is the issue.
This seems to happen on some branches (at least 2.2 : see my previous message) and is probably a bug.
Try to compile the master branch instead.
Title: Re: Updates stuck at 2015-04-07
Post by: knezi on September 27, 2015, 01:10:16 PM
mossroy,
Ok. Thank you. I wanted to compile something more stable and usable. How usable is current master?
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on October 06, 2015, 07:51:16 AM
Ok. Thank you. I wanted to compile something more stable and usable. How usable is current master?
Master is quite usable. After playing around with the developer settings it works quite stable on my Peak, but I did not find out exactly which option causes crashes or avoids them.

I noticed two bugs: The external SD card is not accessible via USB (mass storage) and i cannot turn on bluetooth.

But I do not use the phone as my regular phone, only as a playground.

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on November 07, 2015, 03:08:23 AM
You can find my B2G (Foxfood) builds for the Geeksphone Peak on

http://www.gerloni.net/gp-peak/

Currently there is only one B2G master build, but i will upload new versions from time to time and maybe also make v2.5 images. The image contains all language packs and i tried to optimize the dev settings to avoid screen artefacts (the tiles seem to cause them). The external SD card is still not accessible via USB (mass storage) and i cannot turn on bluetooth, but beside that the image is quite stable and usable.

For flashing i took over the scripts and binaries provided by Geeksphone in their latest official builds.

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: bdcomp on November 08, 2015, 08:13:13 AM
You can find my B2G (Foxfood) builds for the Geeksphone Peak on

http://www.gerloni.net/gp-peak/

Currently there is only one B2G master build, but i will upload new versions from time to time and maybe also make v2.5 images. The image contains all language packs and i tried to optimize the dev settings to avoid screen artefacts (the tiles seem to cause them). The external SD card is still not accessible via USB (mass storage) and i cannot turn on bluetooth, but beside that the image is quite stable and usable.

For flashing i took over the scripts and binaries provided by Geeksphone in their latest official builds.

Helmar.

Helmar,

Thanks for compiling the master image and for the link.

A stable image (v2.5 probably) will be much appreciated.

Thanks again!
Title: Re: Updates stuck at 2015-04-07
Post by: rick110 on November 12, 2015, 01:57:14 AM
@helmar:

With your Image and my own ones the SIM-Card is not found.

Using the Android-Image no issue occurs.

Has anybody else this problem - or maybe a solution?

regards, Rick
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on November 17, 2015, 09:32:00 AM
@helmar:

With your Image and my own ones the SIM-Card is not found.

Using the Android-Image no issue occurs.

Has anybody else this problem - or maybe a solution?

regards, Rick
Hi Rick,

currently I have no SIM card in the phone, but I will test that at the next opportunity. My Peak is not in best shape any more, you know, the battery problem... If anyone out there could sell me his Peak or Keon for a few bucks I would be interested.

A stable image (v2.5 probably) will be much appreciated.
bdcomp,

I built some older stable images. 1.4 seems to be mostly complete and stable, 2.1 not so much. 2.2 did not build (I ran into https://bugzilla.mozilla.org/show_bug.cgi?id=1121600).

I also tried to build 2.5, but the result was exacly the same as master, so the branch seems not to be ready yet.

You can also find my build script in http://www.gerloni.net/gp-peak/ . I use it to build all the images I upload. Don't know if it is good or bad; any feedback is appreciated.

Regards,    Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: Djan on November 24, 2015, 01:55:12 AM
Hello,

Does anyone know a script to backup/recover via adb contacts and SMS's?
There use to be one but sinds 2.2 it does not work anymore because the folder structure changed.

It's for me needed prior to test the master image.

Thanks in advance.
Title: Re: Updates stuck at 2015-04-07
Post by: knezi on November 24, 2015, 11:35:01 AM
Quote
@Djan
Does anyone know a script to backup/recover via adb contacts and SMS's?
Can you link this script? I can update it, but did not see this script.

@Helmar
Thanks to your build. For other users, just note that the provided script build_B2G by Helmar for the first run creates directory in PWD and you have to then move this script manually into this before you can update it.
Tried today (24.11) and build failed because NSModule were not ordered appropriately - common bug.

Title: Re: Updates stuck at 2015-04-07
Post by: Djan on November 26, 2015, 12:13:28 AM
@knezi

The script is there: https://gist.github.com/noreiller/b8fa730b6ab3a5b6c33c

See this post: http://forum.geeksphone.com/index.php?topic=6299.msg65554#msg65554

One change I found is that the folder "persistent" is renamed to "permanent". But there may be new changes.

Another problem was the use of "BACKUP_DATE=`date +%Y-%m-%d_%H-%M-%S`" in both backup and restore scripts: it work well for the backup but when you restore, it uses the actual time and does not find the backup folder, sinds the time changed between. I simplified it with the use of "BACKUP_DATE=`date +%Y-%m-%d`" (see there (http://forum.geeksphone.com/index.php?topic=6299.msg65649#msg65649))
Title: Re: Updates stuck at 2015-04-07
Post by: Djan on December 02, 2015, 12:45:11 AM
See there as well: https://bugzilla.mozilla.org/show_bug.cgi?id=1056836
Title: Re: Updates stuck at 2015-04-07
Post by: Djan on December 09, 2015, 01:41:49 AM
@helmar

I installed your master image yesterday (image dated of the 3 Dec 2015) and I must give you a big thank. It works much better than the last 2.2 image from GP. The graphical artefacts are dramatically reduced and everything seems much more fluent.

The only regression is the Bluetooth that does not work but you mentioned it already.

Edit - second bug : wifi connection is not very stable. When it wakes up, it says it's connected but nothing can be downloaded. You have to connect to another wifi and then back to your first wifi to make it work. Turning off/on wifi may also work but I didn't try.This was a problem of my local wifi, not of your ROM.
Title: Re: Updates stuck at 2015-04-07
Post by: a-dead-trousers on December 13, 2015, 12:49:40 PM
hi@all

As for accessing the SD-Card via USB you have to name it the same in /etc/vold.origin.fstab and /system/etc/vold.fstab.
Because of bug https://bugzilla.mozilla.org/show_bug.cgi?id=1090271 the only possible names are "sdcard1", "extsdcard" or "external"

I went for "sdcard1" in both /etc/vold.origin.fstab and /system/etc/vold.fstab
Code: [Select]
dev_mount sdcard1 /mnt/emmc   auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard  /mnt/sdcard 18   /devices/platform/msm_sdcc.3/mmc_host

wkr ADT
Title: Re: Updates stuck at 2015-04-07
Post by: Djan on January 05, 2016, 12:34:17 PM
Hello.
I tried to update to the masterbuild of helmar of 2016-01-01 and I got a series of "fastboot: permission denied".
No way to flash the image.
I tried "adb remount" and "adb root" without success. Any idea?

Thanks.

---
Edit: There seem to be a problem with the adb in the archive. I changed in the script the "./fastboot" to "fastboot" (and same with adb) to use the binaries of my linux system and I could flash it. Strange...
Title: Re: Updates stuck at 2015-04-07
Post by: Djan on January 05, 2016, 12:57:10 PM
I found this weird and annoying bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1234532
"April 2016 displayed as March 2016"

Can anyone confirm if it occurs on your phones as well?
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on January 06, 2016, 12:49:32 AM
Hello.
I tried to update to the masterbuild of helmar of 2016-01-01 and I got a series of "fastboot: permission denied".
No way to flash the image.
I tried "adb remount" and "adb root" without success. Any idea?

Thanks.

---
Edit: There seem to be a problem with the adb in the archive. I changed in the script the "./fastboot" to "fastboot" (and same with adb) to use the binaries of my linux system and I could flash it. Strange...
Hi Djan,

i had that problem too, if i remember well. This was because i did an "adb shell" or similar before flashing, so the adb daemon installed on the system was running and collided with the adb binary from the zip file. Try to do "killall adb" before flashing,

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on January 06, 2016, 01:09:37 AM
I found this weird and annoying bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1234532
"April 2016 displayed as March 2016"

Can anyone confirm if it occurs on your phones as well?

Same problem on my Alcatel One Touch Fire with Version 2.6 (Master - 15/12/2015) from http://mexmod.com/download_otf.html .
https://bugzilla.mozilla.org/show_bug.cgi?id=1234532#c11

Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: a-dead-trousers on January 10, 2016, 10:04:01 AM
I found this weird and annoying bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1234532
"April 2016 displayed as March 2016"

Can anyone confirm if it occurs on your phones as well?
Same problem on my Alcatel One Touch Fire with Version 2.6 (Master - 15/12/2015) from http://mexmod.com/download_otf.html .
https://bugzilla.mozilla.org/show_bug.cgi?id=1234532#c11
Same here.
Also the "25th of October 2015" is not selectable and all days prior are one day off in month-View. Meaning when I press on the "24th of October 2015" instead the "23rd of October 2015" gets selected.
Title: Re: Updates stuck at 2015-04-07
Post by: helmar on January 28, 2016, 02:49:16 AM
@helmar:

With your Image and my own ones the SIM-Card is not found.
regards, Rick
I inserted an old locked SIM card into my Peak with "my" current master image and it asks me to set a new PIN with the PUK, so the card is found.

Regards,    Helmar.
Title: Re: Updates stuck at 2015-04-07
Post by: knezi on February 26, 2016, 10:34:23 AM
Hi,
I can't flash v2.1 (   image-peak_branch-v2.1_2015-12-14_gaia-f688e00_gecko-3b25cb1.zip). Getting error:
FAILED (data transfer failure (Value too large for defined data type))
Is that same on other devices?
Regards.
Title: Re: Updates stuck at 2015-04-07
Post by: Djan on February 29, 2016, 01:27:32 AM
I could flash v2.1 from Helmar two days ago on my Peak without problem.
Title: Re: Updates stuck at 2015-04-07
Post by: knezi on March 03, 2016, 08:25:21 AM
The problem was, that I used to flash fastboot installed on the computer. The one in the zip works. But still, I have no clue why it did not work.