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

[-]
Tech & Science
[Sci-Am] Detained Migrant Children Need Continuous Medical C...
Last Post: Scientific American
Today 07:21
» Replies: 0
» Views: 95
[Wired] Bananas in Crisis, Aggressive Social Spiders, and Mo...
Last Post: Wired Magazine
Today 05:27
» Replies: 0
» Views: 75
[Science Daily] 1 in 300 thrives on very-early-to-bed, very-...
Last Post: Science Daily
Today 05:27
» Replies: 0
» Views: 71
[Science Daily] Enabling longer space missions
Last Post: Science Daily
Today 05:27
» Replies: 0
» Views: 70
[Sci-Am] Faced with a Data Deluge, Astronomers Turn to Autom...
Last Post: Scientific American
Yesterday 18:00
» Replies: 0
» Views: 173
[Wired] Melting Glaciers Are Helping Capture Carbon
Last Post: Wired Magazine
Yesterday 16:03
» Replies: 0
» Views: 141
[Science Daily] Strange coral spawning improving Great Barri...
Last Post: Science Daily
Yesterday 16:03
» Replies: 0
» Views: 141
[Science Daily] Cost-effective fuel cell technology
Last Post: Science Daily
Yesterday 16:03
» Replies: 0
» Views: 145
[Sci-Am] Alaska Reels During Summer of Fire, Heat and Floods
Last Post: Scientific American
Yesterday 04:38
» Replies: 0
» Views: 231
[Wired] Colonies of Aggressive, Social Spiders Boom After a ...
Last Post: Wired Magazine
Yesterday 02:41
» Replies: 0
» Views: 191
[Science Daily] Scientists create the world's thinnest gold
Last Post: Science Daily
Yesterday 02:41
» Replies: 0
» Views: 204
[Science Daily] Stone Age boat building site has been discov...
Last Post: Science Daily
Yesterday 02:41
» Replies: 0
» Views: 200
[Sci-Am] How to Defraud Democracy
Last Post: Scientific American
2019-08-24 15:11
» Replies: 0
» Views: 319
[Harvard] Making a case for ‘managed retreat’ from areas pro...
Last Post: Harvard
2019-08-24 13:16
» Replies: 0
» Views: 293
[Wired] Alt-Meat Trounces Animal Meat's Massive Inefficienci...
Last Post: Wired Magazine
2019-08-24 13:16
» Replies: 0
» Views: 233

[-]
Latest Threads
Source Code
Last Post: Dvalin21
Today 15:38
» Replies: 0
» Views: 3
2019 Triple Camera Value King, OUKITEL C...
Last Post: amindz
Today 05:36
» Replies: 0
» Views: 34
ZH960-MB-V3.1 SOLVE
Last Post: jwills
Today 03:28
» Replies: 7
» Views: 2279
ZH960-MB-V3.1
Last Post: afifkhoury2005
2019-08-24 17:41
» Replies: 0
» Views: 94
Need for ZH960-MB-V4.1
Last Post: ricardodeec
2019-08-24 02:21
» Replies: 0
» Views: 115
Help
Last Post: tzifman
2019-08-22 21:55
» Replies: 0
» Views: 131
HYD P10
Last Post: tzifman
2019-08-22 21:55
» Replies: 0
» Views: 151
Need TWRP Recovery for MTK6592
Last Post: borja1969
2019-08-20 23:48
» Replies: 1
» Views: 572
ZH960 Tablet Bricked
Last Post: ricardodeec
2019-08-20 03:31
» Replies: 4
» Views: 1239
A95X F2 Amlogic S905x2 Android 9.0 TV Bo...
Last Post: Blinky
2019-08-19 03:07
» Replies: 0
» Views: 261
Firmware OUKITEL MIX 2
Last Post: Pedro Teixeira
2019-08-19 02:01
» Replies: 11
» Views: 5628
Beelink J45 Review
Last Post: Blinky
2019-08-17 23:24
» Replies: 0
» Views: 271
Oukitel K9
Last Post: Dvalin21
2019-08-17 03:17
» Replies: 9
» Views: 1301
Need rom wish phone m10
Last Post: Suttung
2019-08-12 23:57
» Replies: 0
» Views: 360
What firmware do I have?
Last Post: gagyelgato
2019-08-10 11:14
» Replies: 1
» Views: 1540
JTY KT107
Last Post: Tony Yakushi
2019-08-10 07:56
» Replies: 0
» Views: 436
Zh960
Last Post: jwills
2019-08-09 21:37
» Replies: 3
» Views: 4295
I need this stock firmware for my tablet
Last Post: Chinamanphone
2019-08-08 22:13
» Replies: 0
» Views: 510
Need stock Android 6.0 for JTY K109 ,ple...
Last Post: Chinamanphone
2019-08-07 09:14
» Replies: 0
» Views: 521
Sunvell T95Q TV Box review [With Android...
Last Post: isildurmac
2019-08-07 02:22
» Replies: 3
» Views: 2869
ROM PORTING - QUESTIONS & ANSWERS
Last Post: Satria Akbar Riski
2019-08-06 20:46
» Replies: 31
» Views: 8908
OUKITEL Y4800 with 48MP Camera and 6GB/1...
Last Post: amindz
2019-08-05 06:35
» Replies: 0
» Views: 633
OUKITEL C17 Pro With Triple Camera Comin...
Last Post: amindz
2019-08-05 05:51
» Replies: 0
» Views: 640


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, bovirus, Trenzalore, oxfordbo, NexusTrix 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 72,377 2019-03-19, 19:14
Last Post: rarwar
  [Solved] SIGN & VERIFIED IMG - Unpack/Repack Cleopatra 1 2,253 2019-03-09, 01:57
Last Post: Mr. Mellowbug
  [Tool] SP Flash Tool for Windows OS Cleopatra 11 10,079 2018-10-11, 19:37
Last Post: Gerard2307
  Rooting tool for MediaTek MT8163 Android 7.0 (Nougat) Available? tgnabor 1 2,787 2018-01-13, 22:18
Last Post: NexusTrix
  [Flash Tool] SP_MDT Flash Tool for flashing mt6589 mt6592 mt6572 mt6582 mt6595 GizBeat 33 106,000 2017-09-04, 14:54
Last Post: effel

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Sponsor deals
Source Code
Last Post: Dvalin21
Today 15:38
» Replies: 0
» Views: 3
2019 Triple Camera Value King, OUKITEL C...
Last Post: amindz
Today 05:36
» Replies: 0
» Views: 34
$6.99 Yeelight Square Night Light: Photo...
Last Post: GearVita.com
2019-08-23 10:12
» Replies: 0
» Views: 112
Somic SC2000BT Bluetooth Headphone - 38-...
Last Post: GearVita.com
2019-08-22 10:56
» Replies: 0
» Views: 137
Magicsee Iron+ TV Box - Best-in-class Te...
Last Post: GearVita.com
2019-08-21 10:47
» Replies: 0
» Views: 149
Xiaomi 70mai Dash Cam Lite - Cover Every...
Last Post: GearVita.com
2019-08-20 10:59
» Replies: 0
» Views: 181
Xiaomi Collar Earphone - Dual Unit Acous...
Last Post: GearVita.com
2019-08-19 10:53
» Replies: 0
» Views: 213
Oukitel K9
Last Post: Dvalin21
2019-08-17 03:17
» Replies: 9
» Views: 1301
Xiaomi 70mai Midrive D05 - 1600P Ultra H...
Last Post: GearVita.com
2019-08-16 14:04
» Replies: 0
» Views: 256
HK1 Mini TV Box - Rockchip RK3229, Andro...
Last Post: shopccsu
2019-08-15 15:15
» Replies: 2
» Views: 630
Xiaomi FIIL T1 True Wireless Earphones -...
Last Post: GearVita.com
2019-08-15 10:28
» Replies: 0
» Views: 297
Remax TWS-5 Bluetooth Earphone - Enjoy A...
Last Post: GearVita.com
2019-08-14 10:05
» Replies: 0
» Views: 336
USAMS PB9 10000mAh Mini Power Bank - Dig...
Last Post: GearVita.com
2019-08-13 09:50
» Replies: 0
» Views: 322
Hohem iSteady Mobile 3 Axis Gimbal - Not...
Last Post: GearVita.com
2019-08-12 13:09
» Replies: 0
» Views: 353
Zeblaze Thor 5 Smartwatch - Dual System,...
Last Post:
2019-08-12 06:19
» Replies: 2
» Views: 603
Xiaomi Mi Max 3 - Big Display, Bigger Ba...
Last Post: GearVita.com
2019-08-10 11:43
» Replies: 0
» Views: 418
ZMI LPB02 5000mAh Flashlight Power Bank ...
Last Post: GearVita.com
2019-08-09 09:59
» Replies: 0
» Views: 442
GameSir T4 Game Controller: 2.4GHz Wirel...
Last Post: GearVita.com
2019-08-08 10:03
» Replies: 0
» Views: 489
GameSir VX AimSwitch E-Sports Keypad and...
Last Post: GearVita.com
2019-08-07 10:02
» Replies: 0
» Views: 503
MoYiMo M5 TV Box - Get Everything You Wa...
Last Post: GearVita.com
2019-08-06 10:12
» Replies: 0
» Views: 530

[-]
Tech & Science
[Sci-Am] Detained Migrant Children Need Continuous Medical C...
Last Post: Scientific American
Today 07:21
» Replies: 0
» Views: 95
[Wired] Bananas in Crisis, Aggressive Social Spiders, and Mo...
Last Post: Wired Magazine
Today 05:27
» Replies: 0
» Views: 75
[Science Daily] 1 in 300 thrives on very-early-to-bed, very-...
Last Post: Science Daily
Today 05:27
» Replies: 0
» Views: 71
[Science Daily] Enabling longer space missions
Last Post: Science Daily
Today 05:27
» Replies: 0
» Views: 70
[Sci-Am] Faced with a Data Deluge, Astronomers Turn to Autom...
Last Post: Scientific American
Yesterday 18:00
» Replies: 0
» Views: 173
[Wired] Melting Glaciers Are Helping Capture Carbon
Last Post: Wired Magazine
Yesterday 16:03
» Replies: 0
» Views: 141
[Science Daily] Strange coral spawning improving Great Barri...
Last Post: Science Daily
Yesterday 16:03
» Replies: 0
» Views: 141
[Science Daily] Cost-effective fuel cell technology
Last Post: Science Daily
Yesterday 16:03
» Replies: 0
» Views: 145
[Sci-Am] Alaska Reels During Summer of Fire, Heat and Floods
Last Post: Scientific American
Yesterday 04:38
» Replies: 0
» Views: 231
[Wired] Colonies of Aggressive, Social Spiders Boom After a ...
Last Post: Wired Magazine
Yesterday 02:41
» Replies: 0
» Views: 191
[Science Daily] Scientists create the world's thinnest gold
Last Post: Science Daily
Yesterday 02:41
» Replies: 0
» Views: 204
[Science Daily] Stone Age boat building site has been discov...
Last Post: Science Daily
Yesterday 02:41
» Replies: 0
» Views: 200
[Sci-Am] How to Defraud Democracy
Last Post: Scientific American
2019-08-24 15:11
» Replies: 0
» Views: 319
[Harvard] Making a case for ‘managed retreat’ from areas pro...
Last Post: Harvard
2019-08-24 13:16
» Replies: 0
» Views: 293
[Wired] Alt-Meat Trounces Animal Meat's Massive Inefficienci...
Last Post: Wired Magazine
2019-08-24 13:16
» Replies: 0
» Views: 233
[Sci-Am] Abortion Bans Based on So-Called "Science" Are Frau...
Last Post: Scientific American
2019-08-24 01:24
» Replies: 0
» Views: 307
[Wired] A Major Proof Shows How to Approximate Numbers Like ...
Last Post: Wired Magazine
2019-08-23 23:38
» Replies: 0
» Views: 282
[Science Daily] Scientists can now manipulate brain cells us...
Last Post: Science Daily
2019-08-23 23:38
» Replies: 0
» Views: 298
[Sci-Am] A Once Common Gecko Is Vanishing from Parts of Asia
Last Post: Scientific American
2019-08-23 12:03
» Replies: 0
» Views: 354
[Wired] Even Physics Textbooks Tend to Get Friction Slightly...
Last Post: Wired Magazine
2019-08-23 10:12
» Replies: 0
» Views: 332