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

[-]
Tech & Science
[Sci-Am] How Extreme Weather Threatens People with Disabilit...
Last Post: Petrary
Today 20:27
» Replies: 1
» Views: 48
[Wired] Mass Graves in Russia Tell the Grim Story of Mongol ...
Last Post: Wired Magazine
Today 12:28
» Replies: 0
» Views: 51
[Science Daily] How microbes generate and use their energy t...
Last Post: Science Daily
Today 12:28
» Replies: 0
» Views: 47
[Science Daily] Handheld device to diagnose skin cancer
Last Post: Science Daily
Today 12:28
» Replies: 0
» Views: 51
[Sci-Am] California Promises to Fight EPA Plan on Car Standa...
Last Post: Scientific American
Today 00:37
» Replies: 0
» Views: 118
[Harvard] How an elusive catalyst makes unusual reactions ha...
Last Post: Harvard
Yesterday 23:05
» Replies: 0
» Views: 105
[Wired] The Riddle, and Controversy, of All That Missing Pla...
Last Post: Wired Magazine
Yesterday 23:05
» Replies: 0
» Views: 97
[Science Daily] Big brains or big guts: Choose one
Last Post: Science Daily
Yesterday 23:05
» Replies: 0
» Views: 97
[Science Daily] Ethanol fuels large-scale expansion of Brazi...
Last Post: Science Daily
Yesterday 23:05
» Replies: 0
» Views: 92
[Sci-Am] Deforestation Intensifies Warming in the Amazon Rai...
Last Post: Scientific American
Yesterday 11:16
» Replies: 0
» Views: 167
[Wired] Chinese Scientists Try to Cure One Man's HIV With Cr...
Last Post: Wired Magazine
Yesterday 09:36
» Replies: 0
» Views: 153
[Science Daily] Storms on Jupiter are disturbing the planet'...
Last Post: Science Daily
Yesterday 09:36
» Replies: 0
» Views: 146
[Sci-Am] Introducing the October 2019 Issue
Last Post: Scientific American
2019-09-19 21:56
» Replies: 0
» Views: 237
[Wired] Scientists Find Water Vapor on the Most Habitable Ex...
Last Post: Wired Magazine
2019-09-19 20:14
» Replies: 0
» Views: 208
[Science Daily] Scratching the surface of how your brain sen...
Last Post: Science Daily
2019-09-19 20:14
» Replies: 0
» Views: 180

[-]
Latest Threads
MTK6595 no 4G/LTE
Last Post: 007fred50
Today 20:37
» Replies: 0
» Views: 3
Need Stock rom HYD T906, MT6582
Last Post: Dhamma Bodhisuttha
Today 18:26
» Replies: 47
» Views: 1293
NEED ROM ZH960-MB-V4.1
Last Post: lokasgr
Today 18:04
» Replies: 0
» Views: 12
Need for ZH960-MB-V4.1
Last Post: kikibaldur
2019-09-19 23:42
» Replies: 1
» Views: 478
A60 WiFi calling?
Last Post: Brasso Holmes
2019-09-18 17:35
» Replies: 0
» Views: 68
Need stock Android 6.0 for JTY K109 ,ple...
Last Post: maxfusionx3
2019-09-18 15:19
» Replies: 1
» Views: 696
Cube iPlay 10. U83. MT8163
Last Post: emanuelr95
2019-09-17 21:05
» Replies: 10
» Views: 6368
P30 clon BRICKED HELP PLEASE!
Last Post: Javiymarc
2019-09-17 18:53
» Replies: 0
» Views: 75
Vernee Thor E MT6753 - TWRP and Stock Ro...
Last Post: maxfusionx3
2019-09-17 05:17
» Replies: 203
» Views: 74868
Lg K8 - k350n - root, twrp
Last Post: Albus666Dumbledore
2019-09-12 06:43
» Replies: 9
» Views: 13876
CWM/TWRP Recovery for MTK6735 or Root Me...
Last Post: Юра
2019-09-10 22:25
» Replies: 78
» Views: 107999
Phone recomendations for $300 ?
Last Post: mfny
2019-09-09 00:56
» Replies: 2
» Views: 181
Budget phone choice help needed
Last Post: dresdel
2019-09-06 16:07
» Replies: 4
» Views: 2357
ZH960 Tablet Bricked
Last Post: afifkhoury2005
2019-09-05 02:17
» Replies: 5
» Views: 1593
Help - Tablet MT8163 No puedo Flashearla
Last Post: gagyelgato
2019-09-05 00:24
» Replies: 2
» Views: 1819
ZH960-MB-V3.1 SOLVE
Last Post: Bamidele Samtruth
2019-09-04 06:20
» Replies: 9
» Views: 2903
Need ROM for Mediateck MT6581V ZH960-MB-...
Last Post: maxfusionx3
2019-08-31 22:49
» Replies: 59
» Views: 50399
[Tools] Ultimate ADB USB VCOM MediaTek D...
Last Post: Phillianosa
2019-08-31 22:22
» Replies: 83
» Views: 180971
Rom - Stock or Custom.
Last Post: maxfusionx3
2019-08-31 21:13
» Replies: 8
» Views: 1327
HYD P10
Last Post: lokasgr
2019-08-27 00:17
» Replies: 1
» Views: 462
Source Code
Last Post: Dvalin21
2019-08-26 15:38
» Replies: 0
» Views: 280
ZH960-MB-V3.1
Last Post: afifkhoury2005
2019-08-24 17:41
» Replies: 0
» Views: 370
Help
Last Post: tzifman
2019-08-22 21:55
» Replies: 0
» Views: 360


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

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Sponsor deals
Source Code
Last Post: Dvalin21
2019-08-26 15:38
» Replies: 0
» Views: 280
$6.99 Yeelight Square Night Light: Photo...
Last Post: GearVita.com
2019-08-23 10:12
» Replies: 0
» Views: 379
Somic SC2000BT Bluetooth Headphone - 38-...
Last Post: GearVita.com
2019-08-22 10:56
» Replies: 0
» Views: 384
Magicsee Iron+ TV Box - Best-in-class Te...
Last Post: GearVita.com
2019-08-21 10:47
» Replies: 0
» Views: 379
Xiaomi 70mai Dash Cam Lite - Cover Every...
Last Post: GearVita.com
2019-08-20 10:59
» Replies: 0
» Views: 409
Xiaomi Collar Earphone - Dual Unit Acous...
Last Post: GearVita.com
2019-08-19 10:53
» Replies: 0
» Views: 482
Oukitel K9
Last Post: Dvalin21
2019-08-17 03:17
» Replies: 9
» Views: 1712
Xiaomi 70mai Midrive D05 - 1600P Ultra H...
Last Post: GearVita.com
2019-08-16 14:04
» Replies: 0
» Views: 518
Xiaomi FIIL T1 True Wireless Earphones -...
Last Post: GearVita.com
2019-08-15 10:28
» Replies: 0
» Views: 540
Remax TWS-5 Bluetooth Earphone - Enjoy A...
Last Post: GearVita.com
2019-08-14 10:05
» Replies: 0
» Views: 589
HK1 Mini TV Box - Rockchip RK3229, Andro...
Last Post:
2019-08-14 01:00
» Replies: 1
» Views: 876
USAMS PB9 10000mAh Mini Power Bank - Dig...
Last Post: GearVita.com
2019-08-13 09:50
» Replies: 0
» Views: 543
Hohem iSteady Mobile 3 Axis Gimbal - Not...
Last Post: GearVita.com
2019-08-12 13:09
» Replies: 0
» Views: 594
Zeblaze Thor 5 Smartwatch - Dual System,...
Last Post:
2019-08-12 06:19
» Replies: 2
» Views: 877
Xiaomi Mi Max 3 - Big Display, Bigger Ba...
Last Post: GearVita.com
2019-08-10 11:43
» Replies: 0
» Views: 660
ZMI LPB02 5000mAh Flashlight Power Bank ...
Last Post: GearVita.com
2019-08-09 09:59
» Replies: 0
» Views: 675
GameSir T4 Game Controller: 2.4GHz Wirel...
Last Post: GearVita.com
2019-08-08 10:03
» Replies: 0
» Views: 742
GameSir VX AimSwitch E-Sports Keypad and...
Last Post: GearVita.com
2019-08-07 10:02
» Replies: 0
» Views: 743
MoYiMo M5 TV Box - Get Everything You Wa...
Last Post: GearVita.com
2019-08-06 10:12
» Replies: 0
» Views: 757
Lenovo HT10 TWS Earphone - Live Up to Ex...
Last Post: GearVita.com
2019-08-05 10:21
» Replies: 0
» Views: 925

[-]
Tech & Science
[Sci-Am] How Extreme Weather Threatens People with Disabilit...
Last Post: Petrary
Today 20:27
» Replies: 1
» Views: 48
[Wired] Mass Graves in Russia Tell the Grim Story of Mongol ...
Last Post: Wired Magazine
Today 12:28
» Replies: 0
» Views: 51
[Science Daily] How microbes generate and use their energy t...
Last Post: Science Daily
Today 12:28
» Replies: 0
» Views: 47
[Science Daily] Handheld device to diagnose skin cancer
Last Post: Science Daily
Today 12:28
» Replies: 0
» Views: 51
[Sci-Am] California Promises to Fight EPA Plan on Car Standa...
Last Post: Scientific American
Today 00:37
» Replies: 0
» Views: 118
[Harvard] How an elusive catalyst makes unusual reactions ha...
Last Post: Harvard
Yesterday 23:05
» Replies: 0
» Views: 105
[Wired] The Riddle, and Controversy, of All That Missing Pla...
Last Post: Wired Magazine
Yesterday 23:05
» Replies: 0
» Views: 97
[Science Daily] Big brains or big guts: Choose one
Last Post: Science Daily
Yesterday 23:05
» Replies: 0
» Views: 97
[Science Daily] Ethanol fuels large-scale expansion of Brazi...
Last Post: Science Daily
Yesterday 23:05
» Replies: 0
» Views: 92
[Sci-Am] Deforestation Intensifies Warming in the Amazon Rai...
Last Post: Scientific American
Yesterday 11:16
» Replies: 0
» Views: 167
[Wired] Chinese Scientists Try to Cure One Man's HIV With Cr...
Last Post: Wired Magazine
Yesterday 09:36
» Replies: 0
» Views: 153
[Science Daily] Storms on Jupiter are disturbing the planet'...
Last Post: Science Daily
Yesterday 09:36
» Replies: 0
» Views: 146
[Sci-Am] Introducing the October 2019 Issue
Last Post: Scientific American
2019-09-19 21:56
» Replies: 0
» Views: 237
[Wired] Scientists Find Water Vapor on the Most Habitable Ex...
Last Post: Wired Magazine
2019-09-19 20:14
» Replies: 0
» Views: 208
[Science Daily] Scratching the surface of how your brain sen...
Last Post: Science Daily
2019-09-19 20:14
» Replies: 0
» Views: 180
[Science Daily] One step closer future to quantum computers
Last Post: Science Daily
2019-09-19 20:14
» Replies: 0
» Views: 173
[Sci-Am] Climate Change Is Having Widespread Health Impacts
Last Post: Scientific American
2019-09-19 08:32
» Replies: 0
» Views: 245
[Wired] Sean Carroll Thinks We All Exist on Multiple Worlds
Last Post: Wired Magazine
2019-09-19 06:48
» Replies: 0
» Views: 245
[Science Daily] Pearls: New light on enhancing lightweight a...
Last Post: Science Daily
2019-09-19 06:48
» Replies: 0
» Views: 228
[Sci-Am] Did the Dinosaur-Killing Asteroid Inadvertently Hel...
Last Post: Scientific American
2019-09-18 18:41
» Replies: 0
» Views: 283