yashsingh1/xdaforums huggingface dataset:
[Android Software Development] rogerscrack:
haha android 5.0 for Note 3 is a little distant. I'd rather have the tool ready for when you leave 4.4.4, and by the way, I tried to replace the files in img repack 4.4.4_etc but appears in option # 0> # 1 "build etc etc"

Enviado desde ARSAT-1 mediante mi Telégrafo de Baudot
[Android Software Development] dbzgod:
[MENTION=2976903]A.S._id[/MENTION]

I downloaded "android_img_repack_tools-android-4.4.4_r2.0.1" after getting the files and running make it stops giving error at:

"Building mkbootimg...

core/mkbootimg/mkbootimg.c: In function ‘main’:

core/mkbootimg/mkbootimg.c:236:9: warning: assignment discards ‘const’ qualifier from pointer target type

sha = SHA_final(&ctx);

^

/usr/bin/ld: cannot find -lz

collect2: error: ld returned 1 exit status

Makefile:154: recipe for target 'mkbootimg' failed

make: *** [mkbootimg] Error 1"

I'm guessing I'm missing a needed package for my Ubuntu install (I'm new to Linux still learning) which one am I missing?
[Android Software Development] bovirus:
I tested the android img repack 4.4.4 r2.0.1 in Ubunto 10.04 and for me it worked without problems.

Thanks. Bye.

---------- Post added at 10:26 AM ---------- Previous post was at 10:20 AM ----------

@A.S._id

Proposal for first post improvements

- Change master repository to latest tools build (not like now that is the oldest)

- Put in the first post the direct link to all build (from 2.3 up to latest one that now is 5.0 preview 2).

It's quite strange that build for 5.0 is preview 2 when 5.0 if official.

Which is the lweb link to check Google Android source branches version?

Thanks again for your wonderful code.
[Android Software Development] dbzgod:
Hmmm perhaps its the version I'm running then?

I installed Ubuntu 14.10 , should I try 14.04?
[Android Software Development] bovirus:
If you want and I have enough time I will install Ubuntu 14.10 under VMWare and I will test Android img reopack under Ubuntu 14.10.
[Android Software Development] A.S._id:
WTF

Im don't understand!

Where my editing of first post at 26.10.2014?

Where is a new repo? Who deleted my editing - a quastion for moderators

https://github.com/ASdev/android_img_repack_tools/tree/android-l-preview_r2
[Android Software Development] bovirus:
Thanks. I already got it. Selecting on the button on the left in Github repository master -> preview r2
[Android Software Development] dbzgod:
Just finished installing and trying on Ubuntu 14.04 same error happens, whats the benefit of using an older version of Ubuntu?
[Android Software Development] rogerscrack:
I use Ubuntu 14.04.1 (32 bit) and no problems.

Enviado desde ARSAT-1 mediante mi Telégrafo de Baudot
[Android Software Development] A.S._id:
did it?

Preparation OS:

Code:

sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.8-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind libreadline6-dev gcc-multilib g++-multilib libc6-dev x11proto-core-dev libx11-dev libz-dev gawk texinfo automake libtool cvs libsdl-dev
[Android Software Development] bovirus:
[MENTION=296598]Dbz[/MENTION]goto

What's the befit to use a new version of Ububtu if the current one is enough for my use.

I down't like the new interface after Ubuntu 10.04.

Probably you made some error.

[MENTION=2670715]A.S_id[/MENTION]

Compiling v. 5.0 preview 2 under Ubuntu show this error

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/android_img_repack/source/android_img_repack_tools-android-5.0-preview_r2/pcre/dist/missing aclocal-1.14 -I m4

/root/Desktop/android_img_repack/source/android_img_repack_tools-android-5.0-preview_r2/pcre/dist/missing: line 81: aclocal-1.14: command not found

WARNING: 'aclocal-1.14' is missing on your system.

You should only need it if you modified 'acinclude.m4' or

'configure.ac' or m4 files included by 'configure.ac'.

The 'aclocal' program is part of the GNU Automake package:

<http://www.gnu.org/software/automake>

It also requires GNU Autoconf, GNU m4 and Perl in order to run:

<http://www.gnu.org/software/autoconf>

<http://www.gnu.org/software/m4/>

<http://www.perl.org/>

make: *** [aclocal.m4] Error 127

cp: cannot stat `*.o': No such file or directory

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/android_img_repack/source/android_img_repack_tools-android-5.0-preview_r2/pcre/dist/missing aclocal-1.14 -I m4

/root/Desktop/android_img_repack/source/android_img_repack_tools-android-5.0-preview_r2/pcre/dist/missing: line 81: aclocal-1.14: command not found

WARNING: 'aclocal-1.14' is missing on your system.

You should only need it if you modified 'acinclude.m4' or

'configure.ac' or m4 files included by 'configure.ac'.

The 'aclocal' program is part of the GNU Automake package:

<http://www.gnu.org/software/automake>

It also requires GNU Autoconf, GNU m4 and Perl in order to run:

<http://www.gnu.org/software/autoconf>

<http://www.gnu.org/software/m4/>

<http://www.perl.org/>

make: *** [aclocal.m4] Error 127

The configuration is the same that I sued (without error) for previous version of img repack tools.

For version 5.0 preview 2 are requested specifci new package (like aclocal and automake)?

How can install it on uubntu?

automake

sudo apt-get install automake autoconf

aclocal

sudo apt-get install autotools-dev

Is it enought
[Android Software Development] A.S._id:
install synaptic, and find with it...

open file pcre/dist/instal or readme, try to find how to make pcre...
[Android Software Development] dbzgod:
This fixed the problem, I didn't have those packages. Thank you very much ^_^
[Android Software Development] bovirus:
Thanks for the info

sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.8-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind libreadline6-dev gcc-multilib g++-multilib libc6-dev x11proto-core-dev libx11-dev libz-dev gawk texinfo automake libtool cvs libsdl-dev

I believe that be usefull for other users if you post this info on first posts but as normal text (to avoid scroll on the right and help to copy/past package list). Like as I pasted in my post.

I propose to change the branch/zip archive name from "android-l-preview_r2" to "android-5.0-preview_r2"

The official name is Android 5.0 and Android 5.0 is more common as name for most of the user than android-l.
[Android Software Development] A.S._id:
already, yesterday...
[Android Software Development] bovirus:
The sudo ap-get list is inside a code text box and to show all packages you have to scroll and copy/past (not soe asy).

I believe that a simple text without code box will eb easy.

I didn't understand if you agree with me about android 5.0 preview r2 name.

Where can I check the android branches availability (like 5.0 preview r2)?
[Android Software Development] A.S._id:
read first post!
[Android Software Development] bovirus:
I believe that it can help

https://android.googlesource.com/platform/manifest/+refs
[Android Software Development] bovirus:
I found a problem regarding img repack toool for Android 5.0 preview r2.

Using Ubuntu 10.04I cannot compile it. I can do it with more recent Ubuntu (ex. 12.04).

It with same settings and packages reported in first post installed.

The error in Ubuntu 10.04 is

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/android_img_repack/source/android_img_repack_tools-android-5.0-preview_r2/pcre/dist/missing aclocal-1.14 -I m4

/root/Desktop/android_img_repack/source/android_img_repack_tools-android-5.0-preview_r2/pcre/dist/missing: line 81: aclocal-1.14: command not found

WARNING: 'aclocal-1.14' is missing on your system.

You should only need it if you modified 'acinclude.m4' or

'configure.ac' or m4 files included by 'configure.ac'.

The 'aclocal' program is part of the GNU Automake package:

<http://www.gnu.org/software/automake>

It also requires GNU Autoconf, GNU m4 and Perl in order to run:

<http://www.gnu.org/software/autoconf>

<http://www.gnu.org/software/m4/>

<http://www.perl.org/>

make: *** [aclocal.m4] Error 127

cp: cannot stat `*.o': No such file or directory

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/android_img_repack/source/android_img_repack_tools-android-5.0-preview_r2/pcre/dist/missing aclocal-1.14 -I m4

/root/Desktop/android_img_repack/source/android_img_repack_tools-android-5.0-preview_r2/pcre/dist/missing: line 81: aclocal-1.14: command not found

WARNING: 'aclocal-1.14' is missing on your system.

You should only need it if you modified 'acinclude.m4' or

'configure.ac' or m4 files included by 'configure.ac'.

The 'aclocal' program is part of the GNU Automake package:

<http://www.gnu.org/software/automake>

It also requires GNU Autoconf, GNU m4 and Perl in order to run:

<http://www.gnu.org/software/autoconf>

<http://www.gnu.org/software/m4/>

<http://www.perl.org/>

make: *** [aclocal.m4] Error 127
[Android Software Development] rogerscrack:
mount: tipo fs incorrecto, opción incorrecta, superbloque incorrecto en /dev/loop2,
falta página de código o programa ayudante, u otro error
(¿puede que este sea el dispositivo IDE donde está
usando ide-scsi de forma que se necesite sr0 o sda?
En algunos casos se encuentra información en syslog, pruebe
dmesg | tail o algo parecido

English

mount: fs type incorrect, incorrect option, incorrect superblock on / dev / loop2,
missing codepage or helper program, or other error
(Can this be the IDE device where you are
using ide-scsi so that sr0 or sda needed?
In some cases you will find information on syslog, try
dmesg | tail or something

I tried all possible variations but failed to mount system.img N910HXXU1ANJ4 firmware (android 4.4.4) Galaxy Note4 (Exynos).

The last thing I tried was adding the line

cd tools
echo -en
echo -e "\033[1m Choose android_img_repack_tools branch \033[0m"
echo -e
echo -e " android-2.3.7_r1"
echo -e " android-4.0.4_r2.1"
echo -e " android-4.2.2_r1.2"
echo -e " android-4.3_r3.1"
echo -e " android-4.4.2_r1"
echo -e " android-4.4.3_r1.1.0.1"
echo -e " android-4.4.4_r2.0.1"
echo -e

to hold the branch in one option.

any suggestions?
[Android Software Development] A.S._id:
I don't know whats your problem:

N910CXXU1ANJ4_N910COXE1ANJ2_SER

Mounting RAW image...

Choose ext4 image for edit

./hidden.img
./recovery.img
./cache.img
./boot.img
./system.img

Input image <name>: system.img
[sudo] password for as:

Finished

Press Enter to continue

Building flash image...

Input building image <name>: system.img

Input <size> of partition: 3*774*873*600

Rename original system.img «system.img» -> «system.img.orig»

Found filesystem with parameters:
Size: 3741319168
Block size: 4096
Blocks per group: 32768
Inodes per group: 8160
Inode size: 256
Label:
Blocks: 913408
Block groups: 28
Reserved block group size: 0
Used 3471/228480 inodes and 658242/913408 blocks
sgs4ext4fs - Copyright (C) 2013 - Chainfire

...................................................

Finished

Press Enter to continue
[Android Software Development] rogerscrack:
for me it is the "main_menu". There is another way to mount the raw image without using the script?

Enviado desde ARSAT-1 mediante mi Telégrafo de Baudot
[Android Software Development] A.S._id:
UPDATE!

Added:

Odin3_ROM_Editor_v.003 - added support android-4.4.4_r2.0.1
[Android Software Development] A.S._id:
sudo mount -t ext4 -o loop system.raw ./system
[Android Software Development] rogerscrack:
excellent, thanks amigo. Then at home I test v.003, and manually. regards

Enviado desde ARSAT-1 mediante mi Telégrafo de Baudot

------------------ EDITed & Added comment ----------------------

Well [MENTION=2976903]A.S._id[/MENTION], I can not make it work. Use v.003 but I can not mount the image system, with the Note3 I can perfectly.

It's probably something related to my version of ubuntu (14.04 32bit) and I may have to migrate to a 64bit version.

Thanks and regards
[Android Software Development] A.S._id:
try different roms - n910c or n910f...
[Android Software Development] A.S._id:
update repo

Removed:

Branch: android-l-preview_r2

Added:

Branch: android-5.0.0_r2
[Android Software Development] bovirus:
Sorry but Google made many updates: v. 5..0_r3 / 5.0_r4 / 5.0r5. / 5.0r6 /5.0r7

Could you update at 5.0.r7 ?

Is enough to edit confiigure script, replacing line

BRANCH=android-5.0.0_r2

with

BRANCH=android-5.0.0_r7

Thanks.
[Android Software Development] bovirus:
Available android brances

android-5.0.0_r7.0.1

android-5.0.1_r1

You could build tools changing in confiigure script, replacing line

BRANCH=android-5.0.0_r7.0.1

or

BRANCH=android-5.0.1_r1

Was reported a problem regarding CM12.

A.S._id could you check?

In the script fror Android 5.0 r2 there is a section

get_src https://android.googlesource.com/platform/external/pcre

cd pcre

git checkout android-l-preview_r2

dist/configure && make

cd ..

I believe that should be

get_src https://android.googlesource.com/platform/external/pcre

cd pcre

checkout

dist/configure && make

cd ..

Because checkout command run git cehckout $BRANCH where BRANCH is the branch version.
[Android Software Development] bovirus:
IN Android system core repository teh branches available are

origin/HEAD -> origin/cm-11.

origin/cm-10.1

origin/cm-10.2

origin/cm-11.0

origin/cm-12.0

origin/cm-9.0.0

origin/cm-9.1.0

origin/donut

origin/eclair

origin/froyo

origin/froyo-stable

origin/gb-release-7.2

origin/gingerbread

origin/gingerbread-release

origin/ics

origin/ics-release

origin/jellybean

origin/jellybean-stable

origin/mr1.1-staging

origin/qcril

origin/shipping/cm-11.0

origin/stable/cm-10.2

origin/stable/cm-11.0

origin/staging/cm-12.0

origin/staging/cm-12.0-caf

stable/cm-12.0 (as you declared in the shell batch) is not available.

About pcre repository the branches availble are

origin/HEAD -> origin/master

origin/ics-factoryrom-2-release

origin/ics-mr0

origin/ics-mr0-release

origin/ics-mr1

origin/ics-mr1-release

origin/ics-plus-aosp

origin/idea133

origin/idea133-weekly-release

origin/kitkat-wear

origin/l-preview

origin/lollipop-dev

origin/lollipop-release

origin/master

origin/tools_r20

I belive the latest version sholuld be "lollipop-release". Now is "
[Android Software Development] The-Wiz:
ArchiKitchen

Hi,

After using Archi Kitchen on system.img.ext4 (i9515) how i can get back to system.img.ext4 so i can install it using odin?
[Android Software Development] bovirus:
A.S._id

Please update the tools on 5.0.2_r1 version.

The pcre util was not update and it's on lollipop pre-release.
[Android Software Development] A.S._id:
android-5.0.2_r1
[Android Software Development] bovirus:
Thanks. Happy new year.
[Android Software Development] bovirus:
Proposal of changes about configure script

This my changes about your configure script

#!/bin/bash

#

# configure script for android_img_repack_tools.

#

BRANCH_CORE=android-5.0.2_r1

BRANCH_EXTRAS=android-5.0.2_r1

BRANCH_LIBSELINUX=android-5.0.2_r1

BRANCH_PCRE=android-l-preview_r2

BRANCH_ZLIB=android-5.0.2_r1

BRANCH_SYSTEM_CORE=android-5.0.2_r1

BRANCH_EXTERNAL=cm-12.0

FILE=extras/ext4_utils/make_ext4fs.c

FILE1=extras/ext4_utils/mkuserimg.sh

get_src() {

git clone $1

}

checkout() {

git checkout $1

}

edit_text() {

sed -i $1 $2

}

clear

echo "Removing old folders..."

echo

rm -r -f core

rm -r -f external

rm -r -f extras

rm -r -f libselinux

rm -r -f pcre

rm -r -f zlib

mkdir external

echo "****************** Download CORE (BRANCH="$BRANCH_CORE")"

get_src https://android.googlesource.com/platform/system/core

cd core

checkout $BRANCH_CORE

cd ..

echo

echo "****************** Download EXTRAS (BRANCH=" $BRANCH_EXTRAS ")"

get_src https://android.googlesource.com/platform/system/extras

cd extras

checkout $BRANCH_EXTRAS

cd ..

echo

echo "****************** Download LIBSELINUX (BRANCH="$BRANCH_LIBSELINUX")"

get_src https://android.googlesource.com/platform/external/libselinux

cd libselinux

checkout $BRANCH_LIBSELINUX

cd ..

echo

echo "****************** Download PCRE (BRANCH="$BRANCH_PCRE")"

get_src https://android.googlesource.com/platform/external/pcre

cd pcre

checkout $BRANCH_PCRE

dist/configure && make

cd ..

echo

echo "****************** Download ZLIB (BRANCH="$BRANCH_ZLIB")"

get_src https://android.googlesource.com/platform/external/zlib

cd zlib

checkout $BRANCH_ZLIB

cd ../external

echo

echo "****************** Download SYSTEM CORE EXTERNAL (BRANCH="$BRANCH_EXTERNAL")"

get_src https://github.com/CyanogenMod/android_system_core.git

cd android_system_core

checkout $BRANCH_EXTERNAL

cd ..

echo

echo "****************** Download SGS4EXT4FS"

get_src https://github.com/Chainfire/sgs4ext4fs

cd ..

edit_text '/^/s:fs_config_func(dentries://fs_config_func(dentries:' $FILE

edit_text '/^/s:mode;:stat.st_mode;:' $FILE

edit_text '/^/s:uid;:stat.st_uid;:' $FILE

edit_text '/^/s:gid;:stat.st_gid;:' $FILE

edit_text '/^/s:root_stat.st_mode;:root_mode;:' $FILE

edit_text '/^/s:MAKE_EXT4FS_CMD="make_ext4fs:MAKE_EXT4FS_CMD="./make_ext4fs:' $FILE1

cp -fv $FILE1 .

echo

echo "for android.googlesource.com choosed branch $BRANCH..."

echo

echo "for Cyanogen Mod source choosed branch $BRANCH_EXT..."

echo

BRANCH_CORE=

BRANCH_EXTRAS=

BRANCH_LIBSELINUX=

BRANCH_PCRE=

BRANCH_ZLIB=

BRANCH_SYSTEM_CORE=

BRANCH_EXTERNAL=

FILE=

FILE1=

Created separated variable for each program section (included PCRE)

use standard git checkout (with $1) for any calls

Added echo to show progress of download section

For PCRE is android-l-preview_r2 the latest build? No official lollipop release?

For System core external tag is "cm-12.0" not "stable/cm-12.0".
[Android Software Development] rogerscrack:
Hello [MENTION=2976903]A.S._id[/MENTION], could you do pre-root russia version of lollipop recently released in SamMobile? It is the version LRX21V / 5.0

Enviado desde mi SM-N900 mediante Tapatalk
[Android Software Development] PaulPizz:
Awesome Tools!!!!!
[Android Software Development] bovirus:
[MENTION=733043]larryc[/MENTION]it

Please remove the first post quote and leave just your comment.

One of teh forum rules avouid to post and entire post just to make a comment.

Using this way the thread will become very long without a usefull use.
[Android Software Development] PaulPizz:
Sorry bout that
[Android Software Development] TopTongueBarry:
HELP - Trying root SM-T235 running 4.4.2

As posted in the SM-T235 thread:

Used Krusader and Odin_3_ROM_Editor to:

Add the SU binary to system.img in /system/bin

Add the Superuser.apk to system.img in /system/app

Add busybox to the system.img in /system/app

Followed the instructions in the Odin_3_ROM_Editor thread to repack supplying the proper partition size.

Flashed using Odin 3.09

Completes flashing in Odin successfully,

Reset

The SM-T235 boots up to the animated Samsung logo and that's as far as it gets. never really hangs, but the animation continues endlessly.

After reflashing with the factory NE8 image, the device fails to connect to the mobile network. WiFi connectivity seems to work fine.

EDIT: After second restart Mobile network working fine on factory non-root image again.

Any idea why the device sits at the Samsung animation logo after flashing the rooted factory image.

TTB
[Android Software Development] rogerscrack:
Open Krusader but Use "Krusader with admin permission" (ctrl+shift+k) to move or add this files.

You also have to give permissions that apply, to know what these are, check the package UPDATE-SuperSU.zip Chainfire for your tablet model and try again.
[Android Software Development] johnvuong1999:
Great tool, can it used in android wear? android-wear-5.0.0_r1

as listed here: https://android.googlesource.com/platform/build/+refs

or I can just use version: android-5.0.2_r1
[Android Software Development] bovirus:
Thew tool for v. 5.0.2 has backward compatibility vs previous Android version.
[Android Software Development] fy1128:
Thanks for the awesome tools, it is very helpful. i love itso much. And i get some questions here, what does Dtim.recovery use for ? i got it in the offical firmware, but when i repacked it with your tool, i didn't found it any more. Does it mean something ? or just forget it.
[Android Software Development] bovirus:
[MENTION=2976903]A.S._id[/MENTION]

Could you update please tool for Androdi 5.1? Thanks.
[Android Software Development] A.S._id:
UPD

Added:

android-5.1.0_r1
[Android Software Development] bovirus:
Thanks!!!!
[Android Software Development] A.S._id:
MOTO_G_sparse_img_editor

Added:

MOTO_G_sparse_img_editor
[Android Software Development] M_J_Nazari:
Hi [MENTION=2976903]A.S._id[/MENTION]

thank you for this great tool

i have problem with this tool while compiling make_ext4fs

Building make_ext4fs...
/tmp/cchvqLaL.o: In function `main':
make_ext4fs_main.c:(.text+0x530): undefined reference to `load_canned_fs_config'
make_ext4fs_main.c:(.text+0x563): undefined reference to `canned_fs_config'
/tmp/ccnvcPNT.o: In function `ext4_parse_sb_info':
ext4_utils.c:(.text+0xd9d): undefined reference to `ext4_parse_sb'
./libselinux.a(label_file.o): In function `compile_regex':
label_file.c:(.text+0x73d): undefined reference to `pcre_compile'
label_file.c:(.text+0x790): undefined reference to `pcre_study'
./libselinux.a(label_file.o): In function `closef':
label_file.c:(.text+0x1874): undefined reference to `pcre_free'
label_file.c:(.text+0x1891): undefined reference to `pcre_free_study'
./libselinux.a(label_file.o): In function `lookup_common':
label_file.c:(.text+0x1c66): undefined reference to `pcre_exec'
label_file.c:(.text+0x1cf7): undefined reference to `pcre_exec'
collect2: error: ld returned 1 exit status
make: *** [make_ext4fs] Error 1

Linux ubuntu 14.04.2 64bits

tested on 4.4.4 and 5.0 and 5.1 branches , all of them reports me the same error.

how can i fix this issue?

extra info:

the log when installing components.

Note, selecting 'libsdl1.2-dev' instead of 'libsdl-dev'
Note, selecting 'zlib1g-dev' instead of 'libz-dev'
Note, selecting 'libsdl1.2-dev' instead of 'libsdl-dev'
automake is already the newest version.
bison is already the newest version.
build-essential is already the newest version.
cvs is already the newest version.
flex is already the newest version.
g++-multilib is already the newest version.
gawk is already the newest version.
gcc-multilib is already the newest version.
gperf is already the newest version.
libesd0-dev is already the newest version.
libncurses5-dev is already the newest version.
libreadline6-dev is already the newest version.
libtool is already the newest version.
libx11-dev is already the newest version.
texinfo is already the newest version.
valgrind is already the newest version.
zip is already the newest version.
zlib1g-dev is already the newest version.
libwxgtk2.8-dev is already the newest version.
curl is already the newest version.
git-core is already the newest version.
gnupg is already the newest version.
libc6-dev is already the newest version.
libsdl1.2-dev is already the newest version.
x11proto-core-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

GCC Version

gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

best regards.
[Android Software Development] A.S._id:
ok, you can get already binaries for your system here http://xdaforums.com/showpost.php?p=49993837&postcount=3

at we are will be to find error...
[Android Software Development] M_J_Nazari:
thank you [MENTION=2976903]A.S._id[/MENTION]

another question, it seems created images have not correct permissions on files, how can i fix this issue please?
[Android Software Development] A.S._id:
for fix this problem you must look update script from supersu installer UPDATE-SuperSU-v2.46.zip\META-INF\com\google\android\update-binary

or to ask chainfire...
[Android Software Development] A.S._id:
[MENTION=2744627]M_J_Nazari[/MENTION]

So! I installed Ubuntu 14.04.2 LTS x62 into virtual machine VirtualBox, has done all the steps from the first message and received no errors ...

Probably you've done something wrong ...