Post Reply

[tool] ANDROID_IMG_REPACK_TOOLS & Odin3 ROM Editor

OP A.S._id

19th October 2014, 08:07 PM   |  #71  
Senior Member
Thanks Meter: 80
 
493 posts
Join Date:Joined: Oct 2007
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...d-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.
Last edited by bovirus; 19th October 2014 at 07:55 PM.
19th October 2014, 09:29 PM   |  #72  
rogerscrack's Avatar
Member
Flag Buenos Aires
Thanks Meter: 3
 
70 posts
Join Date:Joined: May 2011
Donate to Me
More
there is any possibility that you install Ubuntu in your desktop / laptop? It will be easier that way.
In AS_id OP clearly says it's for Linux OS and says nothing about using Cygwin.

Regards

Enviado desde ARSAT-1 mediante mi Telégrafo de Baudot
20th October 2014, 05:52 AM   |  #73  
Senior Member
Thanks Meter: 80
 
493 posts
Join Date:Joined: Oct 2007
Of course as I said it works under Linux (tested on Linux Ububtu 10.04 in vMWare).
Could be usefull if the user can use it also under Windows (via Cygwin).
The developper said that are not etsted under Windows/Cygwin. It's different.
Other ext4 utils can do it.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Software Development by ThreadRank