Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,583 Members 38,318 Now Online
XDA Developers Android and Mobile Development Forum

[tool] ANDROID_IMG_REPACK_TOOLS & Odin3 ROM Editor

Tip us?
 
A.S._id
Old
(Last edited by A.S._id; 6th February 2014 at 08:07 PM.)
#1  
A.S._id's Avatar
Recognized Developer - OP
Thanks Meter 2,091
Posts: 1,054
Join Date: Sep 2010
Default [tool] ANDROID_IMG_REPACK_TOOLS & Odin3 ROM Editor

[tool] ANDROID_IMG_REPACK_TOOLS & Odin3 ROM Editor


android_img_repack_tools is a kit utilites for unpack/repack android ext4 and boot images in LINUX


includes binaries:
mkbootfs
simg2simg
make_ext4fs
mkbootimg
ext2simg
img2simg
simg2img
sgs4ext4fs - Chainfire's tool
unpackbootimg - CyanogenMod tool
mkbootimg_tools - xiaolu




sources used:
https://android.googlesource.com
https://github.com/CyanogenMod/android_system_core.git
https://github.com/Chainfire/sgs4ext4fs





how to make:

Code:
$ ./configure

will download source from android git repositories

$ make

will compille binaries: mkbootfs simg2simg make_ext4fs mkbootimg sgs4ext4fs unpackbootimg ext2simg img2simg simg2img

$ make clean

will clean sources

$ make clear

wiil remove binaries
credits:
android.googlesource
Chainfire
CyanogenMod


go to the repository

Already have a branch:
android-2.3.7_r1
android-4.0.4_r2.1
android-4.2.2_r1.2
android-4.3_r3.1
android-4.4.2_r1





XDA:DevDB Information
android_img_repack_tools & Odin3 ROM Editor, a Tool/Utility for the Android General

Contributors
A.S._id

Version Information
Status: Testing

Created 2014-01-06
Last Updated 2014-02-07
The Following 36 Users Say Thank You to A.S._id For This Useful Post: [ Click to Expand ]
 
A.S._id
Old
(Last edited by A.S._id; 10th March 2014 at 01:00 PM.)
#2  
A.S._id's Avatar
Recognized Developer - OP
Thanks Meter 2,091
Posts: 1,054
Join Date: Sep 2010
Default Odin3 ROM Editor

Odin3 ROM Editor

sources used:

sgs4ext4fs - Chainfire's tool
CWM / TWRP / MobileODIN installable ZIP: http://download.chainfire.eu/supersu
android_img_repack_tools - ASdev
mkbootimg_tools - xiaolu


Odin3 ROM Editor - it's a smart tool for:

* Extract/repacking zip/.tar.md5 ROM files
* Unpacking/mounting/repacking ext4 sparse partition image files
* Unpacking/repacking boot image files
in LINUX OS



Lesson 1 - Editing SM-N9005 Stock ROM



Lesson 2 - Editing I9300 Stock ROM. Adding Root permissions



DOWNLOAD



credits:
android.googlesource
Chainfire
Chenglu
Attached Files
File Type: gz Odin3_ROM_Editor.tar.gz - [Click for QR Code] (5.3 KB, 2768 views)
File Type: gz Odin3_ROM_Editor_v.002.tar.gz - [Click for QR Code] (5.4 KB, 1356 views)
The Following 11 Users Say Thank You to A.S._id For This Useful Post: [ Click to Expand ]
 
A.S._id
Old
(Last edited by A.S._id; 10th March 2014 at 12:43 PM.)
#3  
A.S._id's Avatar
Recognized Developer - OP
Thanks Meter 2,091
Posts: 1,054
Join Date: Sep 2010
Default Odin3 ROM Editor - History of changes:

Odin3_ROM_Editor_v.002 - fixed support Galaxy SII flash ROM
The Following 2 Users Say Thank You to A.S._id For This Useful Post: [ Click to Expand ]
 
linhbs
Old
(Last edited by mark manning; 8th January 2014 at 02:28 PM.)
#4  
Member
Thanks Meter 18
Posts: 48
Join Date: Aug 2005
mod edit
Thank you very much. I'm waiting for you.
The Following User Says Thank You to linhbs For This Useful Post: [ Click to Expand ]
 
A.S._id
Old
#5  
A.S._id's Avatar
Recognized Developer - OP
Thanks Meter 2,091
Posts: 1,054
Join Date: Sep 2010
Quote:
Originally Posted by linhbs View Post
Thank you very much. I'm waiting for you.
But what are you waiting?
And why to copy all post?
A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A. S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S. _id*A.S._id

[tool] ANDROID_IMG_REPACK_TOOLS & Odin3 ROM Editor

A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A. S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S. _id*A.S._id
The Following 3 Users Say Thank You to A.S._id For This Useful Post: [ Click to Expand ]
 
linhbs
Old
#6  
Member
Thanks Meter 18
Posts: 48
Join Date: Aug 2005
Thanks you. I got it!
 
A.S._id
Old
#7  
A.S._id's Avatar
Recognized Developer - OP
Thanks Meter 2,091
Posts: 1,054
Join Date: Sep 2010
added branches:
android-2.3.7_r1
android-4.0.4_r2.1
android-4.2.2_r1.2
android-4.3_r3.1
android-4.4.2_r1
A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A. S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S. _id*A.S._id

[tool] ANDROID_IMG_REPACK_TOOLS & Odin3 ROM Editor

A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A. S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S. _id*A.S._id
The Following 3 Users Say Thank You to A.S._id For This Useful Post: [ Click to Expand ]
 
MATPOC
Old
#8  
Member
Thanks Meter 4
Posts: 39
Join Date: Jun 2010
Some headers missed. I am using Ubintu 12.04 and installed zlib1g-dev for compiling zlib_host. But make_ext4fs don't compiling:

Building make_ext4fs...
extras/ext4_utils/make_ext4fs.c: In function 'build_directory_structure':
extras/ext4_utils/make_ext4fs.c:175:27: error: 'struct stat' has no member named 'st_stat'
extras/ext4_utils/make_ext4fs.c:176:26: error: 'struct stat' has no member named 'st_stat'
extras/ext4_utils/make_ext4fs.c:177:26: error: 'struct stat' has no member named 'st_stat'
make: *** [make_ext4fs] Error 1
 
A.S._id
Old
(Last edited by A.S._id; 12th January 2014 at 10:12 AM.)
#9  
A.S._id's Avatar
Recognized Developer - OP
Thanks Meter 2,091
Posts: 1,054
Join Date: Sep 2010
Quote:
Originally Posted by MATPOC View Post
Some headers missed. I am using Ubintu 12.04 and installed zlib1g-dev for compiling zlib_host. But make_ext4fs don't compiling:

Building make_ext4fs...
extras/ext4_utils/make_ext4fs.c: In function 'build_directory_structure':
extras/ext4_utils/make_ext4fs.c:175:27: error: 'struct stat' has no member named 'st_stat'
extras/ext4_utils/make_ext4fs.c:176:26: error: 'struct stat' has no member named 'st_stat'
extras/ext4_utils/make_ext4fs.c:177:26: error: 'struct stat' has no member named 'st_stat'
make: *** [make_ext4fs] Error 1
Well you has two ways:
This http://www.zlib.net/
or
Code:
make clean
make clear
./configure
cd ./zlib/src
./configure
make
sudo make install
cd ../..
make clean
make
A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A. S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S. _id*A.S._id

[tool] ANDROID_IMG_REPACK_TOOLS & Odin3 ROM Editor

A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A. S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S._id*A.S. _id*A.S._id
The Following 3 Users Say Thank You to A.S._id For This Useful Post: [ Click to Expand ]
 
MATPOC
Old
#10  
Member
Thanks Meter 4
Posts: 39
Join Date: Jun 2010
Quote:
Originally Posted by A.S._id View Post
Well you has two ways:
This http://www.zlib.net/
As I said I have compiled zlib_host by installing zlib1g-dev. Compile broken at ext4fs - maybe there are no extra headers for ext4fs, such as for struct stat.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes