yashsingh1/xdaforums huggingface dataset:
[Android Software Development] blacknikname:
)) strange... this error is after update, 15.04 to 15.10))
[Android Software Development] bovirus:
[MENTION=2976903]A.S._id[/MENTION]

Some questions about latest posts

- Did you update your script (error about "stable/" as reported some posts before).?

- I posted a user guide for all. I asked you if you can include it in first posts.

- Google released many updates about builds. Now we are at 6.0.r26 (your tool is 6.0.r1). Do you plan an update of it?

- Do you stop development of cygwin utilities?

Thanks.
[Android Software Development] A.S._id:
My answer to you personally for the last time. I'm part of this theme, have the right: to add the first post only what I'm think is right, without notice to update tools, comments, without deadlines and reporting. If someone is parallel theme based on these utilities, it's not my problem, I will not obey and I have no obligation. Anyone disagree, I wish you good luck outside the topic ...
[Android Software Development] bovirus:
[MENTION=2976903]A.S._id[/MENTION]

I believe that you are completly in the wrong direction (expecialy as tone).

Please read carefully my post.

Mine are kindly requests. No one oblige you in any way

I just want to cooperate with you and this is my primary scope.

"stable" error in source

As I reported before I found an error in"configure" script.

I reported it but I didn't see any changelog about it.

I just asked a confirm that you fixed it.

Request about new vesrion.

I didn't oblige you. I asked.

I saw that Google build tools are changed (big changes - we are at build 26 for Marshmallow).

You can simply reply "not needed" or "in the future". Stop.

how to use the commands

I believe that one important missing info is how to use your tools in the pratical usage.

Basing on my use/experience I created the simple "how to" with some tips & tricks.

I believe that could be usefull and I asked if you want to use it.

You can just reply "No thanks" (also I believe that useful for all users..)

Please take care that courtesy it's basic not only for requests but also for the answer. Thanks.
[Android Software Development] bovirus:
[MENTION=2976903]A.S._id[/MENTION]

I checked that you connected recently to the forum.

Than you can red my report (about stable error in config).

Could you explain why your config are not fixed about stable error reported (it's quite easy to fix and require five seconds).

Thanks.
[Android Software Development] A.S._id:
updt

Added android-6.0.1_r3
[Android Software Development] linhbs:
android-6.0.1_r3 link error.
[Android Software Development] A.S._id:
fixed
[Android Software Development] gokart2:
Wanted to verify that this is to convert a system.img.ext4 to system.img_sparsechunk files? I ran the command above and it only created one file. There should be about sparsechunk files. Trying to make Marshmallow firmware.
[Android Software Development] A.S._id:
I do not fully understand what you mean. If you want to convert ext4 to sparse, use the ext2simg. If you need to split a large image of a few, use simg2simg

Отправлено с моего SM-N900 через Tapatalk
[Android Software Development] djcristi:
sgs4ext4fs works perfect for fixing Galaxy S6 / Note 4 , IMG files , which are with 28 bytes header and cannot be opened by any ext4 unpacker / browser. So fixing the header to 28 bytes with this tool works.
[Android Software Development] bovirus:
I confirm.

Same error on Ububtu 15.,10.

I already tried to remove and reinstall

sudo apt-get install autotools-dev

sudo apt-get install autoconf

It not happened with Ubuntu 15.04. All compilations are OK.
[Android Software Development] bovirus:
[MENTION=2976903]A.S._id[/MENTION]

Google release some new package for 6.1. Now we are at 6.1 Build 10.

Can we use you tool version 6.0.1r1 to use this latest Google build o r do you need to update your tool?

Or is it enough to change in configure BRANCH=android-6.0.1_r3 with BRANCH=android-6.0.1_r10?

Confirm. It worked. Just editing version on Ubuntu 1.504 x64.

Didn't work on Ubuntu 15.10 (x86/x54): Same errors reported before.

Theese the archives (.tar.gz) that contains all tools compiled for Linux.

Each archive contains all tool plus a small text (how to) for main commands to unpack/pack images.

Android image unpack/pack tools v. 6.0.1-r03 (Linux)

Android image unpack/pack tools v. 6.0.1-r10 (Linux)

Which are the Linux module to load to complete download and compilation

-GIT

sudo apt-get install git

- make

sudo apt-get install autotools-dev

sudo apt-get install autoconf

Which others?

In Ubuntu 15.10 reinstallation I have and error in make operation about Liblinux funcion asprintf()

About pcre what do think to update a mroe recnt pcre version than current (LP pre) version?

Theese are the evrsion available

pcre version
[Android Software Development] MZO:
Sorry for an old post quote but I am having almost smae issue as this fellow over there.

Builds up just okay but here is the priblem with some background:

I have a local phone of my career. Probably you don't know which, it doesn't matter either. One is on 4.3 and other is on 4.4 !

I have dumped 4.4's dev/block/platform/msm_sdcc.1/by-name files (system, boot, aboot, recovery, sbl1, modem, etc every partition) and flashed partitions on 4.3 one.

But system didn't get flashed. I extracted system.img which I dumped and got /system files! Now using make_ext4fs I have created a filesystem

make_ext4fs -s -S file_contexts -l 1024M -a system system.img ../output

I have got the system.img and flashed it via fastboot:

fastboot flash system system.img

Sending sparse images etc...

Flashed whole system that way. System booted up but has:

No adb shell (- exec '/system/bin/sh' failed: Exec format error (8) -)

No SIM

No baseband

No IMEI

No MAC-WIFI

No MAC-Bluetooth

Could be due to file_context or selinux, anyways help plz. I am using the one which is already there in the directory. I am building image for android 4.4 (using prebuilt windows tools with cygwin x64_86)
[Android Software Development] A.S._id:
Try to:

sudo ln -s /usr/bin/automake-1.15 /usr/bin/automake-1.14
sudo ln -s /usr/bin/aclocal-1.15 /usr/bin/aclocal-1.14
[Android Software Development] 1619415:
Will that tool in the second post work for Samsung lollipop? I am trying to make a prerooted tar file for my Sprint s6.
[Android Software Development] A.S._id:
Better this is http://xdaforums.com/showpost.php?p=49993837&postcount=3
[Android Software Development] 1619415:
OK, thank you
[Android Software Development] blacknikname:
Makefile:163: recipe for target 'libcutils' failed
[Android Software Development] A.S._id:
Already binaries
[Android Software Development] Manh_IT:
Please update ANDROID_IMG_REPACK_TOOLS 6.0.1 for windows !

Thank you very much
[Android Software Development] A.S._id:
I can not, because I can not find "liblog" for cygwin
[Android Software Development] Manh_IT:
How to install https://packages.debian.org/jessie/android-liblog-dev for Ubuntu ?
[Android Software Development] Wuby986:
i just successfully repacked from rooted phone via terminal using built in make_ext4fs

i got the size using

su

devblock --getsize64 /dev/block/../../SYSTEM

then to effectively repack i used

make_ext4fs -s -l 3879731200 -a system /sdcard/system.img /system

i didn't flashed yet but there is no reason this time won't work
[Android Software Development] A.S._id:
view my readme
[Android Software Development] Manh_IT:
Same error for me !
[Android Software Development] A.S._id:
use already binaries

http://xdaforums.com/showpost.php?p=64764692&postcount=332
[Android Software Development] Manh_IT:
THANK :good:
[Android Software Development] wwmorad:
Hi

I want help plz

*******************************************

Building make_ext4fs...

/usr/bin/ld: cannot find -llog

collect2: error: ld returned 1 exit status

make: *** [make_ext4fs] Error 1
[Android Software Development] mcride50:
How to run this inside WIN and "cygwin".

I can normally using "kitchen" for cygwin but how to manage that also "ANDROID_IMG_REPACK_TOOLS_CYGWIN_x64-86_5.1.1_r1" is working on win ?
[Android Software Development] A.S._id:
Look Readme...
[Android Software Development] jimjamyaha:
Adding files to mounted system.img Ubuntu

Hi All,

Have successfully used all the tools to mount, modify and repack system.img from 5.1.1. for Nexus4.

However - and this may be a Unbuntu issue - while I have managed to get read/write access to the mounted raw partition (i.e. I can delete files) everytime I try to add a file (no matter how small) it claims there is no space available.

Thinking this is a permission issue - any ideas?

Process I've used to get permissions is to mount using instructions

simg2img system.img system.raw.img

mkdir system_mnt

mount -t ext4 -o loop system.raw.img system_mnt

(above as per the thread instructions).

then had to use sudo su to get chown on the mount point to add my user and group to the /system_mnt/ and also any specific folders underneath.

Help appreciated (nb - have tried to search for answers without success)
[Android Software Development] bovirus:
[MENTION=2967526]A.S[/MENTION]_id

Error log during compilation

cd . && /bin/bash ./config.status config.h

config.status: creating config.h

config.status: config.h is unchanged

make all-am

make[1]: Entering directory `/home/ubuntu/Desktop/Android Image Repack R2/source/android_img_repack_tools-android-6.0.1_r3/pcre'

CC libpcre_la-pcre_byte_order.lo

CC libpcre_la-pcre_compile.lo

CC libpcre_la-pcre_config.lo

CC libpcre_la-pcre_dfa_exec.lo

CC libpcre_la-pcre_exec.lo

CC libpcre_la-pcre_fullinfo.lo

CC libpcre_la-pcre_get.lo

CC libpcre_la-pcre_globals.lo

CC libpcre_la-pcre_jit_compile.lo

CC libpcre_la-pcre_maketables.lo

CC libpcre_la-pcre_newline.lo

CC libpcre_la-pcre_ord2utf8.lo

CC libpcre_la-pcre_refcount.lo

CC libpcre_la-pcre_string_utils.lo

CC libpcre_la-pcre_study.lo

CC libpcre_la-pcre_tables.lo

CC libpcre_la-pcre_ucd.lo

CC libpcre_la-pcre_valid_utf8.lo

CC libpcre_la-pcre_version.lo

CC libpcre_la-pcre_xclass.lo

CC libpcre_la-pcre_chartables.lo

CCLD libpcre.la

CC libpcreposix_la-pcreposix.lo

CCLD libpcreposix.la

/bin/sed: can't read R2/source/android_img_repack_tools-android-6.0.1_r3/pcre/libpcre.la: No such file or directory

libtool: link: `R2/source/android_img_repack_tools-android-6.0.1_r3/pcre/libpcre.la' is not a valid libtool archive

make[1]: *** [libpcreposix.la] Error 1

make[1]: Leaving directory `/home/ubuntu/Desktop/Android Image Repack R2/source/android_img_repack_tools-android-6.0.1_r3/pcre'

make: *** [all] Error 2

I checkked that is not available any libpcre.la file.

I check that after confure i can create with make the executable file.

But I'm not sure that the error about libpcre.la is mandatory.

I compield also the tool for 6.0.1_r19 changing in configure 6.0.1_r3 with 6.0.1_R19.

But also with 6.0.1_r3 that 6.0.1_re19 I got the error about libpcre.la
[Android Software Development] w1nst0n sm1th:
May be that's because the file system can't exceed its original size (contained in system.raw.img)...

Here the solution ; make a copy of the mounted fs with the folowing commands :

First : mkdir system (will create "system" folder)

Second : sudo cp -p -r system_mnt system/ (will copy the mounted file system in "system_mnt" towards "system" folder, preserving permission system but unmounted)

Third : umount system_mnt (will unmount system_mnt)

Forth : rm system_mnt (delete system_mnt)

Then you can edit freely with sudo or as root user in the "system" folder.

I have a question : the things above are what i'm doing to edit the system filesystem (adding su + init.d+busybox+nano+bash)... but i don't know how to repack it properly when i'm done.

How did you do ?
[Android Software Development] troby86:
EDIT: Never mind...figured it out. ImgExtractor 1.3.6 works perfectly.

Is it currently possible to extract a 6.0.1 image from a Windows device? Specifically for a Galaxy S6. Thanks.
[Android Software Development] salam2012:
Edit: Nevermind!
[Android Software Development] A.S._id:
Global UPDATE

Added WINDOWS REPO

android-4.1.2

android-5.1.0

android-5.1.1

android-6.0.0

android-6.0.1

p.s.

Added already exe on Google drive

android-6.0.0

android-6.0.1
[Android Software Development] w1nst0n sm1th:
There is something i don't understand :

Why do you need all these android native binary source ? Debbugerd, init and diverse native library source and so on...

We absolutely don't need this to unpack/repack img files, either for boot or system file system.

Are you trying to modify the android file system with custom binaries ?
[Android Software Development] A.S._id:
I didn't understand heart of your questions...

Why are you asking it's?...
[Android Software Development] mrd.macdonald:
I have seen at 4pda,it already have a EXE for android 6,

but I don't have 4pda account.

http://4pda.ru/forum/lofiversion/index.php?t660562.html

ANDROID_IMG_REPACK_TOOLS_CYGWIN_x32_6.0.0.zip ( 1,74 Мb )

ANDROID_IMG_REPACK_TOOLS_CYGWIN_x64-86_6.0.0.zip ( 1,76 Мb )

ANDROID_IMG_REPACK_TOOLS_CYGWIN_x32_6.0.1.zip ( 1,74 Мb )

ANDROID_IMG_REPACK_TOOLS_CYGWIN_x64-86_6.0.1.zip ( 1,76 Мb )
[Android Software Development] Manh_IT:
https://drive.google.com/folderview...0k4TlMtMUpJdExFY2hVb2FiVkE&usp=drive_web#list
[Android Software Development] bovirus:
[MENTION=2976903]A.S._id[/MENTION]

What do you think to add

https://drive.google.com/folderview?...drive_web#list

in first post just under your reference for cygwin utilities?
[Android Software Development] A.S._id:
Bad Request

Error 400
[Android Software Development] A.S._id:
will be here

http://xdaforums.com/showpost.php?p=49235638&postcount=5
[Android Software Development] bovirus:
[MENTION=2976903]A.S._id[/MENTION]

Sorry. Got it.
[Android Software Development] A.S._id:
update

Added

Android_ROM_IMG_Repacker v.2.0

*added Windows CYGWIN supported

*added DAT img menu

Android_ROM_IMG_Repacker
[Android Software Development] andy_zhang:
Android_ROM_IMG_Repacker_v.2.0.zip ，i cannot use it ,Prompt limited authority 。
[Android Software Development] A.S._id:
for windows yes, some functional don't working, I think to add support later
[Android Software Development] andy_zhang:
Look forward to run well in linux

vs985 China user
[Android Software Development] A.S._id:
FIX

Fixed Android_ROM_IMG_Repacker

Full support Linux & Windows

ps. some fixes for Android_ROM_IMG_Repacker 18.03.2016
[Android Software Development] andy_zhang:
I use your tool unpack &repack boot.img, flash my phone, but bootloop.

vs985 China user
[Android Software Development] bovirus:
[MENTION=6542293]andy_zhang[/MENTION]

Which device is?

Not all devices support boot.img modifeid (unpacked/repackled). Also depend by

- how to unpack boot.img

- which changes you amde

- how to repack boot.img

You could use Carliv Image kitchen for the test.
[Android Software Development] andy_zhang:
Lgg3. Use carliv kitchen(window) repack &unpack, is well, why?

vs985 China user
[Android Software Development] bovirus:
[MENTION=6542293]andy_zhang[/MENTION]

I didn't say that carliv Image Kitchen is better.

I just sugegst to use as check.

You didn't explain which device (brand/model) is
[Android Software Development] mrd.macdonald:
I'm a newbie on android and linux.

Could you explain or give more information,or guide me a link ,about ,

- how to unpack boot.img

- which changes you made

- how to repack boot.img

and how to use carliv Image Kitchen to cross check the work.

Thanks
[Android Software Development] rogerscrack:
look Comments # 2 and # 3. there are some videos for a reference.

Enviado desde mi SM-G920i mediante Tapatalk
[Android Software Development] bigthink:
Usefull tool. Thanks
[Android Software Development] rogerscrack:
Hello [MENTION=2976903]A.S._id[/MENTION] , was to get their hands a while to firmware 6.0.1 for the S6 Flat, and using the recent repacker out the "error 127" with libselinux, and the repo does not exist, it may be modified in the tool "libselinux to libselinux1"?

Attached a screenshot.

Regards ;)
[Android Software Development] A.S._id:
delete
[Android Software Development] A.S._id:
it's mean gcc-5 isn't installed, branchs 6.0.0 and 6.0.1 for gcc-5 compiling only, sorry for not shows this, but my English stay likely better
[Android Software Development] rogerscrack:
OK Do not worry. I already solved the problem, but for those who use Ubuntu 14.04 LTS will not find in the repos available gcc-5. As I said, I solved by adding ppa

sudo add-apt-repository ppa: ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5

to end "sudo apt-get upgrade" and voila!

If it's the data, you can add the main. Regards :good: ;)
[Android Software Development] andy_zhang:
I hope you make a kitchen

通过 VS985 4G 发言
[Android Software Development] A.S._id:
http://xdaforums.com/showpost.php?p=65881492&postcount=362
[Android Software Development] bovirus:
[MENTION=2976903]A.S._id[/MENTION]

Proposals for first posts

Remove from post #3 the files for android image repack 5.1 cygwin (now are available updated files).

Please make here a link to cygwin files (sources/exe).

Please add in first post the file con latest version tools compiled for Linux (I didn't find it in first posts) like the file in the post

Android Image repack 6.0.1.r3 compiled for for Linux

In this case if some want can start directly with compiled files.

If in the future update the tools always post the latest tools version compiled for Linux in first posts.

I checked that you updated recently files in GitHub to support 6.0.1.r22.

I believ that could be an important info for all.

Please compile 6.0.1r22 sources and posted tools 6.01.r22 compiled for Linux in first post (the latest version available in the thread is 6.0.1.r3).

Please take care that in several zip archive in the configure file there is a reference to CM like stable/cmxx (where xx is the version). But CM repository not have now stable section.

in the configure the reference shouild be simple cmxx version.

Ex stable/cm12.1 should be cm12.1.

With stable/cmxx when I run configure at the end I got and error that stable/cmxxx note xist.

Thanks.
[Android Software Development] A.S._id:
Android_ROM_IMG_Repacker v.2.1

Added Android_ROM_IMG_Repacker v.2.1
[Android Software Development] Cleopatra Bianchi:
FYI

:)

http://xdaforums.com/android/genera...img-ubuntu-t3344236/post66017716#post66017716
[Android Software Development] bovirus:
[MENTION=2976903]A.S._id[/MENTION]

What's about the fixes requested

http://xdaforums.com/showpost.php?p=65994064&postcount=376
[Android Software Development] PedroMarthon:
every time I mount change files and repack system.img, I make it in a tar to be flashed with odin, after that I flash it starts and until 99% it fails, why?
[Android Software Development] rogerscrack:
Hi [MENTION=2976903]A.S._id[/MENTION]

I'm sorry but as I do to unpack and repack the img file? I could not understand it now. I do need some sleep lol

Enviado desde mi Nexus 7 mediante Tapatalk
[Android Software Development] ChinmayKunkikar:
Will this work for Xperias?

I was wondering. Because I was unable to pack my kernel after editing BOOTCLASSPATH.

Thanks!
[Android Software Development] zorginho:
why if i switch to branch android-4.4.2_r1 and i do

./configure
make

i get compilation errors?

Building mkbootimg...
core/mkbootimg/mkbootimg.c: In function ‘main’:
core/mkbootimg/mkbootimg.c:236:9: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
sha = SHA_final(&ctx);
^
*******************************************
Building mkbootfs...
*******************************************
Building libsparse_host...
*******************************************
core/libsparse/output_file.c: In function ‘write_sparse_skip_chunk’:
core/libsparse/output_file.c:354:3: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘int64_t’ [-Wformat=]
error("don't care size %llu is not a multiple of the block size %u",
^
*******************************************
Building simg2img...
core/libsparse/output_file.c: In function ‘write_sparse_skip_chunk’:
core/libsparse/output_file.c:354:3: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘int64_t’ [-Wformat=]
error("don't care size %llu is not a multiple of the block size %u",
^
*******************************************
Building simg2simg...
core/libsparse/output_file.c: In function ‘write_sparse_skip_chunk’:
core/libsparse/output_file.c:354:3: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘int64_t’ [-Wformat=]
error("don't care size %llu is not a multiple of the block size %u",
^
*******************************************
Building img2simg...
core/libsparse/output_file.c: In function ‘write_sparse_skip_chunk’:
core/libsparse/output_file.c:354:3: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘int64_t’ [-Wformat=]
error("don't care size %llu is not a multiple of the block size %u",
^

if i do the same in master branch the compilation is fine

sorry for bad eng
[Android Software Development] A.S._id:
ADDED!

Odin3 ROM Editor
[Android Software Development] rogerscrack:
after that, it appears
[Android Software Development] A.S._id:
What is OS are you using?
[Android Software Development] A.S._id:
Maybe, can you give link of this rom?
[Android Software Development] rogerscrack:
[MENTION=2976903]A.S._id[/MENTION]

I'm using

Kali Linux (Debian)

i have another query, I have a exynos, and when I extract the tar.md5, my files are not *.ext4

or as I convert system.img to system.img.ext4 like your video?
[Android Software Development] A.S._id:
Editor, how to can you see, has 3 options in the ext4 repack menu:

Samsung Exynos dual/quad

Samsung Exynos octa

Qualcomm Snapdragon

...

On video lesson showed repacking ROM for Snapdragon..
[Android Software Development] rogerscrack:
Yeah, sorry I was wrong.

I did everything from "~/android_img_repack_tools-master/$ . /configure", but in the video you do it directly from "~/Odin3_ROM_Editor/$ ./main_menu".

Then I did everything from "./main_menu" following step by step and it worked successfully.

Only one detail in "build flash img", this

Where it says "imput <size> partition" just press ENTER.

Well, thank you very much, when the job ends'll let you know by the credits. And if I have another query the'll let you know.

Thank you for your help.
[Android Software Development] A.S._id:
Oh, it was wrong option for exynos octa, I'll delete it...

this option is actually for exynos dual/quad devices...
[Android Software Development] A.S._id:
FIXED & added Lesson 2 - Editing I9300 Stock ROM. Adding Root permissions
[Android Software Development] rogerscrack:
[MENTION=2976903]A.S._id[/MENTION]

method "adding root permissions" is the same for the Note 3? and which distro you are using, linux mint?

Enviado desde mi Nexus 7 mediante Tapatalk
[Android Software Development] A.S._id:
yeah, mint 16 x64 chinamon, but for rooting method note 3, you're needs better to ask [MENTION=631273]Chainfire[/MENTION]..

it is some difficulty, because n3 has SELinux enforced and need to add contexts for added files...
[Android Software Development] rogerscrack:
I try to do what you did with firware kitkat "n900xxudna6_pre-rooted-freeknox-root-odex" but for my version n900ubudna6.
[Android Software Development] rogerscrack:
Hi [MENTION=2976903]A.S._id[/MENTION],

I have another problem, I can not add SU in */bin and SuperSu.apk in */app. I have installed Krusader, but I do not have permission to make changes, and do not know how to configure this. Can you help me?

Now I use Ubuntu 12.04 lts (32bit)
[Android Software Development] ghepardus:
For Galaxy S2 roms to build a complete rom you must add

find . -maxdepth 1 -regex '.*\(.lfs\)' -type f -exec mv -v -t "$INPUT".tmp {} \;
echo -e
find . -maxdepth 1 -regex '.*\(zImage\)' -type f -exec mv -v -t "$INPUT".tmp {} \;
echo -e

to file build_flash_rom after line 17

find . -maxdepth 1 -regex '.*\(.ext4\|.mbn\)' -type f -exec mv -v -t "$INPUT".tmp {} \;
echo -e

if not, the files param.lfs and zImage ( which is kernel ) will not be add to final build tar.md5 file