[Galaxy Ace S5830 Android Development] lagloose:
Actual update...

Although i said, that i don't want to try AOSP anymore, a friend of mine sent me his modified cooper config-files, which i took as they were and 'make -j1 otapackage' lead to complete .img Files. Here is the content of my actual /WORKING_DIRECTORY/out/target/product/cooper$ folder:

drwxr-xr-x 8 lagloose lagloose 4096 2011-12-05 15:15 .

drwxr-xr-x 4 lagloose lagloose 4096 2011-12-05 09:21 ..

-rw-r--r-- 1 lagloose lagloose 13 2011-12-05 13:45 android-info.txt

-rw-r--r-- 1 lagloose lagloose 4460544 2011-12-05 14:42 boot.img

-rw-r--r-- 1 lagloose lagloose 13841 2011-12-05 15:12 clean_steps.mk

drwxr-xr-x 2 lagloose lagloose 4096 2011-12-05 09:23 data

-rw-r--r-- 1 lagloose lagloose 36859 2011-12-05 15:13 installed-files.txt

-rwxr-xr-x 1 lagloose lagloose 3337552 2011-12-05 09:36 kernel

drwxr-xr-x 14 lagloose lagloose 4096 2011-12-05 14:48 obj

-rw-r--r-- 1 lagloose lagloose 541 2011-12-05 15:12 previous_build_config.mk

-rw-r--r-- 1 lagloose lagloose 1116739 2011-12-05 13:45 ramdisk.img

-rw-r--r-- 1 lagloose lagloose 1462695 2011-12-05 15:13 ramdisk-recovery.img

drwxr-xr-x 3 lagloose lagloose 4096 2011-12-05 15:13 recovery

-rw-r--r-- 1 lagloose lagloose 4808704 2011-12-05 15:13 recovery.img

drwxr-xr-x 9 lagloose lagloose 4096 2011-12-05 11:35 root

drwxr-xr-x 5 lagloose lagloose 4096 2011-12-05 10:50 symbols

drwxr-xr-x 14 lagloose lagloose 4096 2011-12-05 12:50 system

-rw-r--r-- 1 lagloose lagloose 131675080 2011-12-05 15:13 system.img

-rw-r--r-- 1 lagloose lagloose 36360868 2011-12-05 14:42 userdata.img

Unfortunately the otapackage could not be created. Seems to be an error in the 'recovery.fstab' file. Here's the output.

Creating filesystem with parameters:

Size: 536870912

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 2048

Label:

Blocks: 131072

Block groups: 4

Reserved block group size: 31

Created filesystem with 809/32768 inodes and 33743/131072 blocks

Construct recovery from boot

mkdir -p out/target/product/cooper/obj/PACKAGING/recovery_patch_intermediates/

PATH=out/host/linux-x86/bin:$PATH out/host/linux-x86/bin/imgdiff out/target/product/cooper/boot.img out/target/product/cooper/recovery.img out/target/product/cooper/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p

failed to reconstruct target deflate chunk 1 [(null)]; treating as normal

Construct patches for 3 chunks...

patch 0 is 209 bytes (of 3342346)

patch 1 is 330651 bytes (of 1116721)

patch 2 is 191 bytes (of 1477)

chunk 0: normal ( 0, 3342346) 209

chunk 1: deflate ( 3342346, 1462677) 330651 (null)

chunk 2: normal ( 4805023, 3681) 191

Install system fs image: out/target/product/cooper/system.img

out/target/product/cooper/system.img+out/target/product/cooper/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p total size is 132006263

Package target files: out/target/product/cooper/obj/PACKAGING/target_files_intermediates/cooper-target_files-eng.lagloose.zip

Package OTA: out/target/product/cooper/cooper-ota-eng.lagloose.zip

unzipping target target-files...

running: unzip -o -q out/target/product/cooper/obj/PACKAGING/target_files_intermediates/cooper-target_files-eng.lagloose.zip -d /tmp/targetfiles-kRqrPA

Traceback (most recent call last):

File "./build/tools/releasetools/ota_from_target_files", line 839, in <module>

main(sys.argv[1:])

File "./build/tools/releasetools/ota_from_target_files", line 791, in main

OPTIONS.info_dict = common.LoadInfoDict(input_zip)

File "/home/lagloose/WORKING_DIRECTORY/build/tools/releasetools/common.py", line 144, in LoadInfoDict

d["fstab"] = LoadRecoveryFSTab(zip)

File "/home/lagloose/WORKING_DIRECTORY/build/tools/releasetools/common.py", line 163, in LoadRecoveryFSTab

raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))

ValueError: malformed recovery.fstab line: "/boot	bml	boot	NULL	NULL	NULL	NULL"

make: *** [out/target/product/cooper/cooper-ota-eng.lagloose.zip] Fehler 1

i compared my actual recovery.fstab to the one in the GIT repository of https://github.com/TeamHackAce/device_cooper_cm9. Looks identical. Could someone please have a look at that. I have no idea, where the problem is...