[Android Software Development] bovirus:
The main link (master) available in first post didn't point to the latest build of the tool.

The latest builits available here

https://github.com/ASdev/android_img_repack_tools/tree/android-4.4.4_r2.0.1

Utilities compiled uner Linix. Under Linux no Problem.

Under Windows (Cygwin) some problem. I will posted the error.

---------- Post added at 07:07 PM ---------- Previous post was at 06:35 PM ----------

Cygwin compilation.

No erreors during configure. But errors durinig compilation (under cygwin)

****************************************** Configuration

$ ./configure

Cloning into 'core'...

Note: checking out 'android-4.4.4_r2.0.1'.

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at efbf36f... init.rc: prep tcp_default_init_rwnd, set the default to 60

Cloning into 'extras'...

Note: checking out 'android-4.4.4_r2.0.1'.

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 506c12b... am 5b1efce4: Merge "Add cold versions of benchmarks."

Cloning into 'libselinux'...

Note: checking out 'android-4.4.4_r2.0.1'.

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 8b47609... DO NOT MERGE: Fix a bug in the userspace AVC that broke per-domain permissive mode.

Cloning into 'zlib'...

Note: checking out 'android-4.4.4_r2.0.1'.

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at a5c7131... Revert "Add signed integer overflow checking to zlib"

Cloning into 'android_system_core'...

Branch stable/cm-11.0 set up to track remote branch stable/cm-11.0 from origin.

Switched to a new branch 'stable/cm-11.0'

Cloning into 'sgs4ext4fs'...

"extras/ext4_utils/mkuserimg.sh" -> "./mkuserimg.sh"

for android.googlesource.com choosed branch android-4.4.4_r2.0.1...

for Cyanogen Mod source choosed branch stable/cm-11.0...

******************************************************************** Make

$ make

Building libselinux...

libselinux/src/procattr.c:1:25: fatal error: sys/syscall.h: No such file or directory

#include <sys/syscall.h>

^

compilation terminated.

libselinux/src/avc_internal.c:21:25: fatal error: linux/types.h: No such file or directory

#include <linux/types.h>

^

compilation terminated.

In file included from libselinux/src/selinux_internal.h:2:0,

from libselinux/src/checkAccess.c:5:

libselinux/src/checkAccess.c: In function ‘selinux_check_access’:

libselinux/src/selinux_internal.h:107:30: error: expected expression before ‘{’ token

else if ((ONCE_CONTROL) == PTHREAD_ONCE_INIT) { \

^

libselinux/src/checkAccess.c:26:2: note: in expansion of macro ‘__selinux_once’

__selinux_once(once, avc_init_once);

^

In file included from libselinux/src/checkAccess.c:5:0:

libselinux/src/selinux_internal.h:109:19: error: incompatible types when assigning to type ‘pthread_once_t’ from type ‘int’

(ONCE_CONTROL) = 2; \

^

libselinux/src/checkAccess.c:26:2: note: in expansion of macro ‘__selinux_once’

__selinux_once(once, avc_init_once);

^

Makefile:133: set di istruzioni per l'obiettivo "libselinux" non riuscito

make: *** [libselinux] Errore 1

Thanks.