[Gen9 Android Development] astronfestmon:
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.

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:

<?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>

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.