[-]
Who's Online
There are currently 3559 online users. [Complete List]
» 47 Member(s) | 3512 Guest(s)
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarSee all...

[-]
Tech & Science
[Sci-Am] Racial Inequalities in Housing Extend to Flood Buyo...
Last Post: Scientific American
Yesterday 23:59
» Replies: 0
» Views: 55
[Wired] How Doctors on Earth Treated a Blood Clot on the ISS
Last Post: Wired Magazine
Yesterday 23:59
» Replies: 0
» Views: 23
[Science Daily] Red alert as Arctic lands grow greener
Last Post: Science Daily
Yesterday 23:59
» Replies: 0
» Views: 23
[Science Daily] Deconstructing Schrödinger's cat
Last Post: Science Daily
Yesterday 23:59
» Replies: 0
» Views: 21
[Sci-Am] Parlor Trick Keeps Monorails on Track
Last Post: Scientific American
Yesterday 10:36
» Replies: 0
» Views: 86
[Science Daily] Modeling study estimates spread of 2019 nove...
Last Post: Science Daily
Yesterday 10:36
» Replies: 0
» Views: 40
[Wired] China Launches a Crush of Clinical Trials Aimed at C...
Last Post: Wired Magazine
Yesterday 10:36
» Replies: 0
» Views: 37
[Sci-Am] Found in Space: 100 Energetic Photons
Last Post: raajchavan
2020-02-21 23:49
» Replies: 1
» Views: 128
[Wired] NASA Puts a Price on a 2024 Moon Landing
Last Post: Wired Magazine
2020-02-21 21:11
» Replies: 0
» Views: 66
[Sci-Am] Jackdaws Have Different Rules for Different Flocks
Last Post: Scientific American
2020-02-21 07:36
» Replies: 0
» Views: 88
[Harvard] Food summit examines sustainability, health, and j...
Last Post: Harvard
2020-02-21 07:36
» Replies: 0
» Views: 93
[Wired] This Marsupial Dies After Marathon Mating. Now It's ...
Last Post: Wired Magazine
2020-02-21 07:36
» Replies: 0
» Views: 80
[Sci-Am] Pebbles, Oceans and Wasp Clocks
Last Post: Scientific American
2020-02-20 18:12
» Replies: 0
» Views: 88
[Harvard] AI researchers share data on how we sort options, ...
Last Post: Harvard
2020-02-20 18:12
» Replies: 0
» Views: 105
[Wired] What Is a Coronavirus?
Last Post: Wired Magazine
2020-02-20 18:12
» Replies: 0
» Views: 81

[-]
Latest Threads
MT6595
Last Post: Michelle K. Evins
Today 05:35
» Replies: 0
» Views: 18
Phone is not connecting tp pc
Last Post: GizBeat
Yesterday 02:21
» Replies: 1
» Views: 83
ZH960-MB-V3.1 SOLVE
Last Post: Dismay
2020-02-20 21:35
» Replies: 22
» Views: 7478
Need Firmware - Fake Wish Tablet - T906 ...
Last Post: h35jqh
2020-02-20 07:18
» Replies: 1
» Views: 489
Please get the Iphone 8 clone mtk 6582 o...
Last Post: kendpro
2020-02-19 10:02
» Replies: 1
» Views: 90
Rom for JLINKSZ k960
Last Post: Emilio Hernandez Pardo
2020-02-19 02:19
» Replies: 30
» Views: 33769
Hi all, am shamed that I bought this one
Last Post: Golt
2020-02-18 23:52
» Replies: 4
» Views: 154
need this stock firmware for my tablet M...
Last Post: Emilio Hernandez Pardo
2020-02-18 23:49
» Replies: 2
» Views: 599
C16 pro face unlock
Last Post: GottaGetX
2020-02-15 07:02
» Replies: 5
» Views: 176
ZH960 Tablet Bricked
Last Post: raajlinks
2020-02-08 23:43
» Replies: 8
» Views: 3044
Help me Plus P20 PLUS
Last Post: Djzebulon
2020-02-08 00:40
» Replies: 0
» Views: 163
yotopt tablet black screen and blocked o...
Last Post: enzo972
2020-02-05 03:04
» Replies: 0
» Views: 225
NEED ROM ZH960-MB-V4.1
Last Post: amoren
2020-02-04 15:44
» Replies: 9
» Views: 2958
Gome U7
Last Post: Asako Touyama
2020-02-03 08:38
» Replies: 4
» Views: 3030
Request for rom
Last Post: hamidk72
2020-01-31 18:43
» Replies: 0
» Views: 256
Need firmware for Skyworth K3551T MT6737...
Last Post: emmaescorts
2020-01-30 09:10
» Replies: 2
» Views: 1071
ECOO e04 Plus - VIBE Lenovo K3 Note port...
Last Post: emmaescorts
2020-01-30 09:03
» Replies: 47
» Views: 34765
Need rom for Indigi P37 - X23
Last Post: 007fred52
2020-01-29 04:34
» Replies: 0
» Views: 321
Tronsmart Element T6 Max 60W Bluetooth N...
Last Post: Blinky
2020-01-29 04:03
» Replies: 0
» Views: 299
HOW TO PORT TWRP MT6735, MT6752, MT6753,...
Last Post: Echo57
2020-01-29 00:29
» Replies: 481
» Views: 238290
SP Flash tool - stuck in USB detected
Last Post: dtfv
2020-01-29 00:02
» Replies: 3
» Views: 1008
Firmware for s10 plus clone
Last Post: johnutzp
2020-01-28 21:13
» Replies: 0
» Views: 346
Tools needed
Last Post: Minez18
2020-01-25 11:44
» Replies: 0
» Views: 288


Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TOOL] MTKIMG new unpack/repack utility
#1
Hello,
I work on a tools names MTKIMG unpack and repack image like boot.img, recovery.img and logo.bin. This tools is open-source and portable, i need help for OSX port and need some testers return.

Source code :
[Only registered and activated users can see links Click here to register]

Releases :
[Only registered and activated users can see links Click here to register]

Hop this is usefull, let me known what you think.
You, oxfordbo, NexusTrix, bovirus, Trenzalore like this post
Reply
#2
Hello, welcome to Chinaphonearena. We are glad to have you here.

This currently for Windows, yes? Works with new MTK SoC (MT6752 etc..)?
You and rom1nux like this post
Reply
#3
Hello NexusTrix,
Thank for your welcome.
MTKIMG is portable, open-source and easy to build.
I build releases for Linux, Cygwin and Windows.
They are compiled for 64 bits version but it's very easy to build for 32 bits if need
(I can install Cygwin32 and a VirtualBox for Linux 32 and perhaps Windows 32)
I dont know if it work on MT6752, do try and tell me.
If it dont work, send me a ROM i will do modification to support this device.
I need some testers for new device, hope you will help me Smiling
Bye
Ps : Sorry for my bad english
You and NexusTrix like this post
Reply
#4
A Windows 32 version would be good.

I will test build a custom recovery with MT6752 phone with your tool and let you know.
You and rom1nux like this post
Reply
#5
Cool, many thanks

Ok, I had 32 bits version support now and build V0.44 release.
You like this post
Reply
#6
Hello,
(2015-07-20, 21:10)NexusTrix Wrote: A Windows 32 version would be good.

I will test build a custom recovery with MT6752 phone with your tool and let you know.

I want to know if you do a try ?
You like this post
Reply
#7
mktimg don´t work with vernee thor e

Vernee Thor E Android 7.0 latest update 5.5.17 Creation version Thor_E_20170607 Kernel version 3.18.35


unpack boot.img downloaded from

[Only registered and activated users can see links Click here to register]

show´s this result.....

./mtkimg unpack /home/ger/MKT/quelle/boot.img
MTKIMG V0.44(linux32) by rom1nux
Unpacking boot image '/home/ger/MKT/quelle/boot.img'...
ERROR : Kernel header magic is not valid !



mtkimg unpack boot.img -v
MTKIMG V0.44(linux32) by rom1nux
Unpacking boot image 'boot.img'...
Reading image header (596 bytes)...

Image header :

Signature : ANDROID!

Kernel size : 7363513 bytes
Kernel load address : 0x40080000

Ramdisk size : 2338439 bytes
Ramdisk load address : 0x44000000

Second stage size : 0 bytes
Second stage load address : 0x40F00000

Tags address : 0x4E000000
Page size : 2048 bytes
Product name : 'Thor_E_20170615'
Command line : 'bootopt=64S3,32N2,64N2'
ID : 72E66DB98E30AFF5AA4602B440E55D7538E074B8

Image layout :

Bloc Offset Pages Size (bytes)
------------------------------------------------
Header 0x00000000 1 2048
Kernel 0x00000800 3596 7364608
Ramdisk 0x00706800 1142 2338816
Free 0x00941800 1 2304
------------------------------------------------
Total 4740 9707776
------------------------------------------------

Seeking to start of kernel (0x00000800)...
Reading MTK header (512 bytes)...

Magic : 0x1F 0x8B 0x08 0x00
Size (bytes) : 0
Type : �[{t�U���~��A��@k鐤�c#mi��

ERROR : Kernel header magic is not valid !

did anyone know a solutoin, thaks in forward

gerhard
Cleopatra likes this post
Reply
#8
@gerhard :

Same error Smiling

./mtkimg unpack boot.img
MTKIMG V0.44(linux64) by rom1nux
Unpacking boot image 'boot.img'...
ERROR : Kernel header magic is not valid !

===============================================

I suggest you to use Carliv :

****************************************************
* *
* Carliv Image Kitchen for Android v1.3 *
* boot+recovery images copyright-2016 carliv@xda *
* including support for MTK powered phones images *
* LINUX x64 version *
* The unpacking images script *
* *
****************************************************

Your image is boot.img


Create the boot folder....

Unpacking the boot.img to boot folder....

Printing information for "boot.img"
Unpack image utility by carliv@xda

Header:

Magic : ANDROID!
Magic offset : 0

Page size : 2048 (0x00000800)
Base address : 0x40078000

Kernel address : 0x40080000
Kernel size : 7363513 (0x00705bb9)
Kernel offset : 0x00008000

>> kernel written to 'boot/boot.img-kernel' (7363513 bytes)

Ramdisk address : 0x44000000
Ramdisk size : 2338439 (0x0023ae87)
Ramdisk offset : 0x03f88000

>> ramdisk written to 'boot/boot.img-ramdisk.gz' (2338439 bytes)

Second address : 0x40f00000
Tags address : 0x4e000000
Tags offset : 0x0df88000

Board name : 'Thor_E_20170615'

Cmdline : 'bootopt=64S3,32N2,64N2'

Compression used: gz

Unpacking the ramdisk....
../boot.img-ramdisk.gz: 58.3%
10959 blocks

Done! Your image is unpacked in boot folder.
Artemisia (Eva Green) on "300: Rise of an Empire"
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Thumbs Up [Tool] MTK Firmware Adapter Tool gogozx 30 74,747 2019-03-19, 19:14
Last Post: rarwar
  [Solved] SIGN & VERIFIED IMG - Unpack/Repack Cleopatra 1 3,480 2019-03-09, 01:57
Last Post: Mr. Mellowbug
  [Tool] SP Flash Tool for Windows OS Cleopatra 11 11,155 2018-10-11, 19:37
Last Post: Gerard2307
  Rooting tool for MediaTek MT8163 Android 7.0 (Nougat) Available? tgnabor 1 3,608 2018-01-13, 22:18
Last Post: NexusTrix
  [Flash Tool] SP_MDT Flash Tool for flashing mt6589 mt6592 mt6572 mt6582 mt6595 GizBeat 33 112,061 2017-09-04, 14:54
Last Post: effel

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] Racial Inequalities in Housing Extend to Flood Buyo...
Last Post: Scientific American
Yesterday 23:59
» Replies: 0
» Views: 55
[Wired] How Doctors on Earth Treated a Blood Clot on the ISS
Last Post: Wired Magazine
Yesterday 23:59
» Replies: 0
» Views: 23
[Science Daily] Red alert as Arctic lands grow greener
Last Post: Science Daily
Yesterday 23:59
» Replies: 0
» Views: 23
[Science Daily] Deconstructing Schrödinger's cat
Last Post: Science Daily
Yesterday 23:59
» Replies: 0
» Views: 21
[Sci-Am] Parlor Trick Keeps Monorails on Track
Last Post: Scientific American
Yesterday 10:36
» Replies: 0
» Views: 86
[Science Daily] Modeling study estimates spread of 2019 nove...
Last Post: Science Daily
Yesterday 10:36
» Replies: 0
» Views: 40
[Wired] China Launches a Crush of Clinical Trials Aimed at C...
Last Post: Wired Magazine
Yesterday 10:36
» Replies: 0
» Views: 37
[Sci-Am] Found in Space: 100 Energetic Photons
Last Post: raajchavan
2020-02-21 23:49
» Replies: 1
» Views: 128
[Wired] NASA Puts a Price on a 2024 Moon Landing
Last Post: Wired Magazine
2020-02-21 21:11
» Replies: 0
» Views: 66
[Sci-Am] Jackdaws Have Different Rules for Different Flocks
Last Post: Scientific American
2020-02-21 07:36
» Replies: 0
» Views: 88
[Harvard] Food summit examines sustainability, health, and j...
Last Post: Harvard
2020-02-21 07:36
» Replies: 0
» Views: 93
[Wired] This Marsupial Dies After Marathon Mating. Now It's ...
Last Post: Wired Magazine
2020-02-21 07:36
» Replies: 0
» Views: 80
[Sci-Am] Pebbles, Oceans and Wasp Clocks
Last Post: Scientific American
2020-02-20 18:12
» Replies: 0
» Views: 88
[Harvard] AI researchers share data on how we sort options, ...
Last Post: Harvard
2020-02-20 18:12
» Replies: 0
» Views: 105
[Wired] What Is a Coronavirus?
Last Post: Wired Magazine
2020-02-20 18:12
» Replies: 0
» Views: 81
[Science Daily] Newest solar telescope produces first images
Last Post: Science Daily
2020-02-20 18:12
» Replies: 0
» Views: 78
[Wired] Hurling Satellites Into Space Seems Crazy—but Might ...
Last Post: Wired Magazine
2020-02-20 04:45
» Replies: 0
» Views: 90
[Science Daily] New injection technique may boost spinal cor...
Last Post: Science Daily
2020-02-20 04:45
» Replies: 0
» Views: 119
[Wired] The Food We'll Eat on the Journey to Mars (Algae Cav...
Last Post: Wired Magazine
2020-02-19 15:17
» Replies: 0
» Views: 90
[Science Daily] Automated system can rewrite outdated senten...
Last Post: Science Daily
2020-02-19 15:17
» Replies: 0
» Views: 126
[Sci-Am] Barbarians Worshipped Meteorites in Pagan Temple
Last Post: Scientific American
2020-02-19 01:39
» Replies: 0
» Views: 110
[Harvard] New class of enzymes could lead to bespoke diets, ...
Last Post: Harvard
2020-02-19 01:39
» Replies: 0
» Views: 94
[Wired] What Scientists Can Learn From Alien Hunters
Last Post: Wired Magazine
2020-02-19 01:39
» Replies: 0
» Views: 109
[Science Daily] Meteorite chunk contains unexpected evidence...
Last Post: Science Daily
2020-02-19 01:39
» Replies: 0
» Views: 86
[Sci-Am] Cancer Therapy in 2020
Last Post: Scientific American
2020-02-18 12:16
» Replies: 0
» Views: 140
[Wired] The Secret to Blowing Massive Soap Bubbles
Last Post: Wired Magazine
2020-02-18 12:16
» Replies: 0
» Views: 96
[Science Daily] Citizen science discovers a new form of the ...
Last Post: Science Daily
2020-02-18 12:16
» Replies: 0
» Views: 99
[Science Daily] Golfing regularly could be a hole-in-one for...
Last Post: Science Daily
2020-02-18 12:16
» Replies: 0
» Views: 107
[Sci-Am] How the Celebrated "Pale Blue Dot" Image Came to Be
Last Post: Scientific American
2020-02-17 22:51
» Replies: 0
» Views: 120
[Wired] The Universal Law of Turbulence Isn't So Unruly Afte...
Last Post: Wired Magazine
2020-02-17 22:51
» Replies: 0
» Views: 94
[Science Daily] Nanoparticle chomps away plaques that cause ...
Last Post: Science Daily
2020-02-17 22:51
» Replies: 0
» Views: 133
[Science Daily] 'Atomic dance' reveals new insights into per...
Last Post: Science Daily
2020-02-17 22:51
» Replies: 0
» Views: 102
[Sci-Am] The First Molecule in the Universe
Last Post: Scientific American
2020-02-17 09:28
» Replies: 0
» Views: 116
[Wired] Want to Fight Climate Change? Stop Believing These M...
Last Post: Wired Magazine
2020-02-17 09:28
» Replies: 0
» Views: 129
[Science Daily] Tiny salamander's huge genome may harbor the...
Last Post: Science Daily
2020-02-17 09:28
» Replies: 0
» Views: 105
[Science Daily] Casting light on the brain's inner workings
Last Post: Science Daily
2020-02-17 09:28
» Replies: 0
» Views: 89
[Sci-Am] The Miracle of Capillary Action
Last Post: Scientific American
2020-02-16 19:56
» Replies: 0
» Views: 143