[WIP] a firefox os ext4 multiboot image

Search This thread

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Updated:
    Use the following instructions above.

    This is not any build. It's just a wip.

    Read the following code and instructions to compile for archos 80 gen9 devices.

    device/archos/archos-g9 rename it for device/archos/gen9
    To compile it sucessfully.



    Hi there!

    I have a question.

    Is it possible to do a firefox os wip as multiboot ext4 image?

    For 80 g9 turbo also turbo hdd?

    I have a hdd version archos 80 g9.
    Sent from my L9000 using xda app-developers app

    For compiling Firefox OS for Archos G9.

    Do the following steps:

    1 - git clone the b2g project

    2 - cd B2G

    3 - ANDROIDFS_DIR=~/B2G/BACKUP/system ./config.sh archos-gen9 archos-gen9.xml

    4 - ./build.sh

    5 - fixes for our archos gen9 see the bizcuite posts. He helped me a lot.

    Other steps:

    archos-gen9.xml:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
    
      <remote name="aosp"
               fetch="https://android.googlesource.com/" />
      <remote name="b2g"
              fetch="git://github.com/mozilla-b2g/" />
      <remote name="linaro"
               fetch="http://android.git.linaro.org/git-ro/" />
      <remote name="caf"
              fetch="git://codeaurora.org/" />
      <remote name="mozilla"
    fetch="git://github.com/mozilla/" />
      <remote name="mozillaorg"
          fetch="https://git.mozilla.org/releases" />
    <remote name="archos-ics" fetch="git://gitorious.org/archos-ics/" />
      <remote name="apitrace" fetch="git://github.com/apitrace/" />
      <default revision="refs/tags/android-4.0.4_r2.1"
               remote="caf"
               sync-j="4" />
    
      <!-- Gonk specific things and forks -->
      <project path="build" name="platform_build" remote="b2g" revision="master">
        <copyfile src="core/root.mk" dest="Makefile" />
      </project>
      <project path="dalvik" name="fake-dalvik" remote="b2g" revision="master" />
      <project path="gaia" name="gaia.git" remote="mozillaorg" revision="master" />
      <project path="gecko" name="gecko.git" remote="mozillaorg" revision="master" />
      <project path="gonk-misc" name="gonk-misc" remote="b2g" revision="master" />
      <project path="rilproxy" name="rilproxy" remote="b2g" revision="master" />
      <project path="external/moztt" name="moztt" remote="b2g" revision="master" />
      <project path="external/valgrind" name="valgrind" remote="b2g" revision="fxos" />
      <project path="external/VEX" name="vex" remote="b2g" revision="fxos" />
      <project path="external/apitrace" name="apitrace" remote="apitrace" revision="master" />
    
      <!-- Stock Android things -->
      <project path="abi/cpp" name="platform/abi/cpp" />
      <project path="bionic" name="platform/bionic" revision="aosp-new/ics-plus-aosp" />
      <project path="bootable/recovery" name="platform/bootable/recovery" />
      <project path="device/common" name="device/common" />
      <project path="device/sample" name="device/sample" />
      <project path="external/apriori" name="platform_external_apriori" remote="b2g" revision="master" />
      <project path="external/bluetooth/bluez" name="platform/external/bluetooth/bluez" />
      <project path="external/bluetooth/glib" name="platform/external/bluetooth/glib" />
      <project path="external/bluetooth/hcidump" name="platform/external/bluetooth/hcidump" />
      <project path="external/bsdiff" name="platform/external/bsdiff" />
      <project path="external/busybox" name="platform/external/busybox" remote="linaro" revision="linaro-1.20" />
      <project path="external/bzip2" name="platform/external/bzip2" />
      <project path="external/dbus" name="platform/external/dbus" />
      <project path="external/dhcpcd" name="platform/external/dhcpcd" />
      <project path="external/dnsmasq" name="platform/external/dnsmasq" />
      <project path="external/elfcopy" name="platform_external_elfcopy" remote="b2g" revision="master" />
      <project path="external/elfutils" name="platform_external_elfutils" remote="b2g" revision="master" />
      <project path="external/expat" name="platform/external/expat" />
      <project path="external/fdlibm" name="platform/external/fdlibm" />
      <project path="external/flac" name="platform/external/flac" />
      <project path="external/freetype" name="platform/external/freetype" />
      <project path="external/giflib" name="platform/external/giflib" />
      <project path="external/gtest" name="platform/external/gtest" revision="aosp-new/master" />
      <project path="external/harfbuzz" name="platform/external/harfbuzz" />
      <!-- icu4c is missing the default tag in caf, that's the *only* reason for the hardcode -->
      <project path="external/icu4c" name="platform/external/icu4c" revision="0fa67b93b831c6636ca18b152a1b1b14cc99b034" />
      <project path="external/iptables" name="platform/external/iptables" />
      <project path="external/jhead" name="platform/external/jhead" />
      <project path="external/jpeg" name="platform/external/jpeg" />
      <project path="external/libgsm" name="platform/external/libgsm" />
      <project path="external/liblzf" name="platform/external/liblzf" />
      <project path="external/libnfc-nxp" name="platform/external/libnfc-nxp" />
      <project path="external/libnl-headers" name="platform/external/libnl-headers" />
      <project path="external/libpng" name="platform/external/libpng" />
      <project path="external/libvpx" name="platform/external/libvpx" />
      <project path="external/mksh" name="platform/external/mksh" />
      <project path="external/opensans" name="platform_external_opensans" remote="b2g" revision="master" />
      <project path="external/openssl" name="platform/external/openssl" />
      <project path="external/protobuf" name="platform/external/protobuf" />
      <project path="external/safe-iop" name="platform/external/safe-iop" />
      <project path="external/screencap-gonk" name="screencap-gonk" remote="b2g" revision="master" />
      <project path="external/skia" name="platform/external/skia" />
      <project path="external/sonivox" name="platform/external/sonivox" />
      <project path="external/speex" name="platform/external/speex" />
      <project path="external/sqlite" name="platform/external/sqlite" />
      <project path="external/stlport" name="platform/external/stlport" />
      <project path="external/strace" name="platform/external/strace" />
      <project path="external/tagsoup" name="platform/external/tagsoup" />
      <project path="external/tinyalsa" name="platform/external/tinyalsa" />
      <project path="external/tremolo" name="platform/external/tremolo" />
      <project path="external/webp" name="platform/external/webp" />
      <project path="external/webrtc" name="platform/external/webrtc" />
      <project path="external/wpa_supplicant" name="platform/external/wpa_supplicant" />
      <project path="external/wpa_supplicant_8" name="platform/external/wpa_supplicant_8" revision="6dd24fc3792d71edccef9b09140f9a44b063a553" />
      <project path="external/zlib" name="platform/external/zlib" />
      <project path="external/yaffs2" name="platform/external/yaffs2" />
      <project path="frameworks/base" name="platform/frameworks/base" />
      <project path="frameworks/opt/emoji" name="platform/frameworks/opt/emoji" />
      <project path="frameworks/support" name="platform/frameworks/support" />
      <project path="hardware/libhardware" name="platform/hardware/libhardware" />
      <project path="hardware/libhardware_legacy" name="platform/hardware/libhardware_legacy" />
      <project path="hardware/ril" name="platform/hardware/ril" />
      <project path="libcore" name="platform/libcore" />
      <project path="ndk" name="platform/ndk" />
      <project path="prebuilt" name="platform/prebuilt" />
      <project path="system/bluetooth" name="platform/system/bluetooth" />
      <project path="system/core" name="platform/system/core" />
      <project path="system/extras" name="platform/system/extras" />
      <project path="system/media" name="platform/system/media" />
      <project path="system/netd" name="platform/system/netd" />
      <project path="system/vold" name="platform/system/vold" />
    
      <!-- Archos Gen9 specific things -->
      <project path="device/ti/panda" name="android-device-panda" remote="b2g" revision="master" />
      <project path="device/archos/archos-g9" name="device-g9" remote="archos-ics" revision="master" />
      <project path="hardware/ti/omap4xxx" name="platform/hardware/ti/omap4xxx" />
      <project path="hardware/ti/wlan" name="platform/hardware/ti/wlan" revision="60dfeb6e4448bfed707946ebca6612980f525e69" />
      <project path="hardware/ti/wpan" name="platform/hardware/ti/wpan" revision="3ece7d9e08052989401e008bc397dbcd2557cfd0" />
      <project path="external/negatus" name="Negatus" remote="mozilla" revision="master" />
      <project path="external/orangutan" name="orangutan" remote="b2g" revision="master" />
    
    </manifest>

    Code:
    echo A80:
    mkdir -p /home/pedro/firefox_tmp
    mount -o loop ./archos.ext4.update  /home/pedro/tmp
    mount -o loop ./firefox.ext4  /home/pedro/firefox_tmp
    rsync -rlpgotvDH --progress --delete ./root/ /home/pedro/tmp/
    rsync -rlpgotvDH --progress --delete ./system/ /home/pedro/tmp/
    mkdir -p /home/pedro/tmp/data/test /home/pedro/tmp/mnt /home/pedro/tmp/home/pedro/tmp/storage
    ln -sf /home/pedro/tmp/storage /home/pedro/tmp/storage
    chmod 0777 /home/pedro/tmp/home/pedro/tmp/storage /home/pedro/tmp/data/test
    chown -R root:root /home/pedro/tmp/
    chmod 0755 /home/pedro/tmp/system/framework/
    chmod 6755 /home/pedro/tmp/xbin/su
    chmod  0755 /home/pedro/tmp/media/
    chmod  0755 /home/pedro/tmp/usr/share/alsa/
    chmod  0755 /home/pedro/tmp/lib/dsp/
    chmod  0644 /home/pedro/tmp/lib/libOMX.*
    chmod  0755 /home/pedro/tmp/lib/
    chmod  0755 /home/pedro/tmp/bin/
    mkdir -p /home/pedro/firefox_tmp/system/media
    cp -R /home/pedro/tmp/media/* /home/pedro/firefox_tmp/system/media/
    mkdir -p /home/pedro/firefox_tmp/system/usr/share/alsa/
    cp -R /home/pedro/B2G/device/archos/gen9/prebuilt/alsa/ /home/pedro/firefox_tmp/system/usr/share/alsa/
    cp -R /home/pedro/B2G/device/archos/gen9/init.rc /home/pedro/firefox_tmp/init.rc
    mkdir -p /home/pedro/firefox_tmp/system/lib/dsp
    mkdir -p /home/pedro/firefox_tmp/lib
    cp -R /home/pedro/tmp/lib/* /home/pedro/firefox_tmp/system/lib/
    cp -R /home/pedro/tmp/* /home/pedro/firefox_tmp/
    cp -R /home/pedro/tmp/lib/* /home/pedro/firefox_tmp/system/lib/
    cp -R /home/pedro/tmp/lib/* /home/pedro/firefox_tmp/lib/
    rm -rf /home/pedro/firefox_tmp/system/system/
    cp -R /home/pedro/B2G/out/target/product/gen9/system/ /home/pedro/firefox_tmp/
    rm -rf /home/pedro/firefox_tmp/app/
    rm /home/pedro/tmp/app/Phone.apk
    chmod  -R 0777 /home/pedro/tmp/system/app/
    chmod  -R 0755 /home/pedro/tmp/system/bin/
    chmod  -R 0755 /home/pedro/tmp/system/lib/
    chmod  -R 0777 /home/pedro/firefox_tmp/app/
    chmod -R 0755 /home/pedro/firefox_tmp/system/bin/
    chmod  -R 0755 /home/pedro/firefox_tmp/system/lib/
    sync
    Tuesday a working release rom image.

    For archos gen9 project path for device gen9 i'll update it soon.

    This week a working rom. I think.

    I've been working today to give us all a working rom.


    Instructions for testing:

    copy system.img for /data/local
    or
    copy system.img for /mnt/storage using adb push system.img /mnt/storage

    Link:
    [LINK]
    https://www.4shared.com/file/vtkG1TbF/system.html
    [/LINK]

    PS: New version attempting as archos.ext4.update
    It's will be released a ext4 attempt friday or saturday.
    I'm trying to boot with the new kernel archos.
    1
    Hi there!

    I have a question.

    Is it possible to do a firefox os wip as multiboot ext4 image?

    For 80 g9 turbo also turbo hdd?

    I have a hdd version archos 80 g9.
    Sent from my L9000 using xda app-developers app

    Welcome to XDA.

    Both of your topics seem to be in wrong section, as they should be in general.

    Having Firefox Os in ext4 is possible in theory, but no one has ported it to archos G9 series.

    Sent from my GT-I9100 using xda app-developers app

    Hi Guys,

    It's possible to have multiboot with archos tablet (i am sure with Gen8, i have made it ^^).

    Firefox OS can be compiled easily with the device folder from Gen 9 CM9/10.
    I start it like CM7 = SDE => Kernel=> Initramfs => OS choice's

    With my folder (Gen8 - CM9 CyanoBiz) i have compile it yesterday and my first release works today (3D, Wifi, TS and sound works)
    I have just modified an include path in an android.mk in /external folder (don't remember exactly the name).
    No modification in the kernel (except all made to run ICS)

    On my tab (A70S2 Froyo Gen8) it works well, i haven't try the video playing or other, because i haven't navigation button :D
    On Omap44xx you have already a base with pandaboard based on the same CPU.

    I don't know how is started yours alternatives OS, but i can give informations about the compilation of Firefox OS for Archos.

    I have passed 1 day to port it (just start the system, not fix all bugs :D )

    Bizcuite
    1
    I have just a question, How control the tab without any Nav. buttons?

    Firefox has any Nav Bar like android?! Is exist under FF OS? (yes if i/other guy try to implement it of course)
    There was only 2 days that i have begun my researches on Firefox OS.

    Bizcuite

    I'm fixing the same issue you told on xulrunner.

    Tomorrow Ii'll tell you if it is working my build and we can discuss it.
    1
    To have a home button, just see this https://github.com/lfont/blog/blob/master/pages/firefox-os-on-the-galaxy-nexus/content.md

    Read the section about "Fix the key mapping".

    I will try to map the volume up to the Home key.

    Bizcuite
    1
    More wip to come. More news to come too.

    Sent from my GT-I9300 using xda app-developers app