[Gen9 Android Development] therbom:
A101S

I am trying to use your builds on my A101S. This is what I have done so far:

I have downloaded build 0.2.0 from here

I mounted archos.ext4.update to my Ubuntu system

I diff'ed /init.archosa80sboard.rc with Archos init.A80S.rc and applied the changes to Archos init.A101S.rc. I changed the following:

All modules are loaded from /system/lib/modules instead of /lib/modules and I verified the mentioned modules are present in archos.ext4.update

I copied the new fs options from init.archosa80sboard.rc

I copied the new sdcard service options from init.archosa80sboard.rc

Then I saved it as /init.archosa101sboard.rc

I looked at /fstab.archosa80sboard and compared it to the output of mount on stock ROM. It was the same for /system and /data, so I just copied it to /fstab.archosa101sboard

I unmounted archos.ext4.update, booted my tablet to Archos recovery, mounted /data to my laptop, removed all contents, created the directory /data/local and moved the modified archos.ext4.update to /data/local/archos.ext4 and unmounted /data.

I installed zImage and initramfs.cpio.lzo and rebooted

When I rebooted, I immediately got into CWM (still good to see CWM on my tablet :)). /system and /data are automatically mounted. The filesystems seem to be correct. I can see in /data that all the necessary directories have been created and in /data/dalvik-cache I saw two system *.dex files. I thought that it could be because of the new kernel update, so I tried out build 0.1.0. I changed /init.archosa80sboard.rc and /fstab.archosa80sboard again. I saw there was also an ueventd.archosa80sboard.rc (forgot to do this in build 0.2.0) so I just copied it to ueventd.archosa101sboard.rc. I then installed the files and rebooted, again immediately booted to recovery. Only this time no extra directories were created in /data. Also, /system cannot be mounted.

I can confirm that the permissions are correct (Ubuntu in Dutch):

therbom@therbomUBU:~/Documenten/a101/mount$ ls -l
totaal 332
drwx------ 2 root root 4096 feb 2 19:39 acct
drwxr-xr-x 2 root root 4096 jun 15 2012 bin
lrwxrwxrwx 1 root root 11 jul 21 2012 cache -> /data/cache
dr-x------ 2 root root 4096 jun 15 2012 config
drwxr-xr-x 3 root root 4096 jul 8 2012 data
-rw-r--r-- 1 root root 155 apr 17 22:13 default.prop
drwxr-xr-x 2 root root 4096 mei 21 2012 dev
lrwxrwxrwx 1 root root 11 jul 24 2012 etc -> /system/etc
-rw-r--r-- 1 root root 1563 apr 27 11:12 fstab.archosa101sboard
-rw-r--r-- 1 root root 1563 apr 17 22:13 fstab.archosa80sboard
drwxr-xr-x 2 root root 4096 jun 15 2012 gps
drwxr-xr-x 3 root root 4096 jun 15 2012 home
-rwxr-xr-x 1 root root 134096 apr 17 22:13 init
-rw-r--r-- 1 root root 7589 apr 27 12:22 init.A101S.rc
-rw-r--r-- 1 root root 7589 apr 27 12:22 init.A101S.rc~
-rw-r--r-- 1 root root 7726 apr 17 22:13 init.archosa80sboard.rc
-rw-r--r-- 1 root root 15301 apr 17 22:13 init.archos_init.rc
-rw-r--r-- 1 root root 1238 apr 17 22:13 init.cm.rc
-rw-r--r-- 1 root root 495 apr 17 22:13 init.dongle.rc
-rw-r--r-- 1 root root 2344 apr 17 22:13 init.goldfish.rc
-rw-r--r-- 1 root root 25222 apr 17 22:13 init.rc
-rw-r--r-- 1 root root 1795 apr 17 22:13 init.trace.rc
-rw-r--r-- 1 root root 3947 apr 17 22:13 init.usb.rc
drwxr-xr-x 4 root root 4096 jan 15 13:00 lib
lrwxrwxrwx 1 root root 11 jul 21 2012 linuxrc -> bin/busybox
drwx------ 2 root root 4096 jun 21 2012 lost+found
drwxrwxr-x 10 root therbom 4096 jan 29 11:00 mnt
drwxr-xr-x 3 root root 4096 jun 15 2012 opt
drwxr-xr-x 2 root root 4096 mei 21 2012 proc
drwxr-x--- 3 root root 4096 jun 15 2012 root
drwxr-xr-x 2 root root 4096 apr 17 22:13 sbin
lrwxrwxrwx 1 root root 24 jan 26 20:19 sdcard -> /storage/emulated/legacy
d---r-x--- 4 root 1028 4096 jan 28 07:12 storage
drwxr-xr-x 2 root root 4096 mei 21 2012 sys
drwxr-xr-x 14 root root 4096 apr 17 22:13 system
drwxr-xr-x 2 root root 4096 jan 19 19:16 tmp
-rw-r--r-- 1 root root 1527 apr 27 11:13 ueventd.archosa101sboard.rc
-rw-r--r-- 1 root root 1527 apr 17 22:13 ueventd.archosa80sboard.rc
-rw-r--r-- 1 root root 272 apr 17 22:13 ueventd.goldfish.rc
-rw-r--r-- 1 root root 6119 apr 17 22:13 ueventd.rc
drwxr-xr-x 7 root root 4096 jun 15 2012 usr
drwxr-xr-x 2 root root 4096 jun 15 2012 var
lrwxrwxrwx 1 root root 14 jul 21 2012 vendor -> /system/vendor

By the way, if you want to get official support for Archos G9 devices for CyanogenMod, keep in mind that:

Linaro patches were rejected, as far as I know

CyanogenMod only uses repositories under their own account, e.g. https://github.com/CyanogenMod . If you have done changes to CyanogenMod repositories, they need to be patched (perhaps also adding build configs so it does not harm other devices). Of course any extra repositories need to be forked again. Those extra repositories then need to be placed in cm.dependencies

cm10-archos-g9 needs to be renamed to android_device_archos_g9 and the device should be named g9 only, not archos_g9

Building should just consist of:

. build/envestup.sh && brunch g9

EDIT: Seems like build 0.2.0 didn't create the directories in /data after all, strange...