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

[-]
Tech & Science
[Harvard] Better delivery system for sending chemo to cancer...
Last Post: Harvard
Today 19:20
» Replies: 0
» Views: 1
[Wired] Aerial Scans Help Bust California's Worst Methane Le...
Last Post: Wired Magazine
Today 19:20
» Replies: 0
» Views: 0
[Science Daily] Ancient stars shed light on Earth's similari...
Last Post: Science Daily
Today 19:20
» Replies: 0
» Views: 0
[Sci-Am] Does AI Have a Place in Medicine?
Last Post: Scientific American
Today 06:10
» Replies: 0
» Views: 113
[Harvard] Evolution more complex than ‘survival of the fitte...
Last Post: Harvard
Today 05:58
» Replies: 0
» Views: 46
[Wired] Measurements Are Often Full of Lies—and That's OK
Last Post: Wired Magazine
Today 05:58
» Replies: 0
» Views: 46
[Science Daily] Arthropods formed orderly lines 480 million ...
Last Post: Science Daily
Today 05:58
» Replies: 0
» Views: 44
[Sci-Am] Health Officials Claim Breakthrough on Vaping Illne...
Last Post: Scientific American
Yesterday 16:48
» Replies: 0
» Views: 141
[Wired] If You Want a Robot to Learn Better, Be a Jerk to It
Last Post: Wired Magazine
Yesterday 16:34
» Replies: 0
» Views: 99
[Science Daily] New photonic liquid crystals could lead to n...
Last Post: Science Daily
Yesterday 16:34
» Replies: 0
» Views: 101
[Sci-Am] Are Probiotics Safe for Your Immune System?
Last Post: Scientific American
Yesterday 03:27
» Replies: 0
» Views: 209
[Wired] SpaceX and Boeing Still Need a Parachute That Always...
Last Post: Wired Magazine
Yesterday 03:06
» Replies: 0
» Views: 136
[Sci-Am] Are We Doing Everything We Can to Treat Infertility...
Last Post: Scientific American
2019-11-12 14:06
» Replies: 0
» Views: 241
[Wired] Trump Begins Paris Accord Exit, Devices Hacked With ...
Last Post: Wired Magazine
2019-11-12 13:43
» Replies: 0
» Views: 186
[Science Daily] Hubble observes first confirmed interstellar...
Last Post: Science Daily
2019-11-12 13:43
» Replies: 0
» Views: 189

[-]
Latest Threads
Help Tablet Dongpad DP K107 in loop
Last Post: DerDat
2019-11-12 03:01
» Replies: 1
» Views: 31
ZH960-MB-V3.1
Last Post: mob-05
2019-11-09 05:47
» Replies: 1
» Views: 614
ZH960-MB-V3.1 SOLVE
Last Post: mob-05
2019-11-09 05:26
» Replies: 14
» Views: 4320
I need help translating vivo x5 pro d ch...
Last Post: Agurbana
2019-11-07 03:01
» Replies: 1
» Views: 3294
Happy Halloween
Last Post: Agurbana
2019-11-07 02:51
» Replies: 3
» Views: 2202
[Movie] Deadpool, go...see...it...now
Last Post: Agurbana
2019-11-07 01:43
» Replies: 3
» Views: 2129
Oukitel K12 flashlight trouble
Last Post: DerDat
2019-11-06 03:16
» Replies: 1
» Views: 93
new here - hi eveyone
Last Post: DerDat
2019-11-05 16:54
» Replies: 1
» Views: 80
rom for BMXC K107 tablet pls
Last Post: sypania
2019-10-29 17:05
» Replies: 55
» Views: 34619
Gome U7
Last Post: natt158
2019-10-29 14:31
» Replies: 3
» Views: 2157
china tablet k107-mb-v3.0 mt6580
Last Post: ApplexS
2019-10-29 14:28
» Replies: 3
» Views: 5105
Need for ZH960-MB-V4.1
Last Post: ricardodeec
2019-10-20 03:16
» Replies: 6
» Views: 1477
NEED ROM ZH960-MB-V4.1
Last Post: lokasgr
2019-10-19 15:54
» Replies: 8
» Views: 1071
HYD P10
Last Post: lokasgr
2019-10-19 15:11
» Replies: 2
» Views: 871
use sideload to install root
Last Post: terry22
2019-10-19 12:05
» Replies: 4
» Views: 9080
[Redmi Pro] Wildflower
Last Post: terry22
2019-10-19 11:52
» Replies: 1
» Views: 1273
Privacy Protection Password (X23 phone)
Last Post: scorpion718
2019-10-17 09:09
» Replies: 2
» Views: 307
Needed for Zeki 10.1" Tablet - TBQG1084N...
Last Post: Lagann
2019-10-17 08:22
» Replies: 1
» Views: 546
Finow Q7 plus help with recovery
Last Post: ktl20
2019-10-14 16:20
» Replies: 0
» Views: 311
Jlinksz T906 zh906 v2.1 backup/Rom
Last Post: Tom Bull
2019-10-12 17:23
» Replies: 0
» Views: 396
Need ROM for Mediateck MT6581V ZH960-MB-...
Last Post: Tom Bull
2019-10-12 16:13
» Replies: 62
» Views: 56427
P30 clon BRICKED HELP PLEASE!
Last Post: lokasgr
2019-10-10 17:07
» Replies: 1
» Views: 630
Protoz SP9014=protoz WR-10=ALPS SP9014=K...
Last Post: bziz06
2019-10-10 04:29
» Replies: 2
» Views: 2837


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

Forum Jump:


Users browsing this thread: 2 Guest(s)
[-]
Sponsor deals
Oukitel K12 flashlight trouble
Last Post: DerDat
2019-11-06 03:16
» Replies: 1
» Views: 93
Source Code
Last Post: Dvalin21
2019-08-26 15:38
» Replies: 0
» Views: 815
$6.99 Yeelight Square Night Light: Photo...
Last Post: GearVita.com
2019-08-23 10:12
» Replies: 0
» Views: 837
Somic SC2000BT Bluetooth Headphone - 38-...
Last Post: GearVita.com
2019-08-22 10:56
» Replies: 0
» Views: 881
Magicsee Iron+ TV Box - Best-in-class Te...
Last Post: GearVita.com
2019-08-21 10:47
» Replies: 0
» Views: 859
Xiaomi 70mai Dash Cam Lite - Cover Every...
Last Post: GearVita.com
2019-08-20 10:59
» Replies: 0
» Views: 879
Xiaomi Collar Earphone - Dual Unit Acous...
Last Post: GearVita.com
2019-08-19 10:53
» Replies: 0
» Views: 999
Oukitel K9
Last Post: Dvalin21
2019-08-17 03:17
» Replies: 9
» Views: 2357
Xiaomi 70mai Midrive D05 - 1600P Ultra H...
Last Post: GearVita.com
2019-08-16 14:04
» Replies: 0
» Views: 1026
Xiaomi FIIL T1 True Wireless Earphones -...
Last Post: GearVita.com
2019-08-15 10:28
» Replies: 0
» Views: 1037
Remax TWS-5 Bluetooth Earphone - Enjoy A...
Last Post: GearVita.com
2019-08-14 10:05
» Replies: 0
» Views: 1075
HK1 Mini TV Box - Rockchip RK3229, Andro...
Last Post:
2019-08-14 01:00
» Replies: 1
» Views: 1353
USAMS PB9 10000mAh Mini Power Bank - Dig...
Last Post: GearVita.com
2019-08-13 09:50
» Replies: 0
» Views: 980
Hohem iSteady Mobile 3 Axis Gimbal - Not...
Last Post: GearVita.com
2019-08-12 13:09
» Replies: 0
» Views: 1064
Zeblaze Thor 5 Smartwatch - Dual System,...
Last Post:
2019-08-12 06:19
» Replies: 2
» Views: 1379
Xiaomi Mi Max 3 - Big Display, Bigger Ba...
Last Post: GearVita.com
2019-08-10 11:43
» Replies: 0
» Views: 1147
ZMI LPB02 5000mAh Flashlight Power Bank ...
Last Post: GearVita.com
2019-08-09 09:59
» Replies: 0
» Views: 1132
GameSir T4 Game Controller: 2.4GHz Wirel...
Last Post: GearVita.com
2019-08-08 10:03
» Replies: 0
» Views: 1202
GameSir VX AimSwitch E-Sports Keypad and...
Last Post: GearVita.com
2019-08-07 10:02
» Replies: 0
» Views: 1249
MoYiMo M5 TV Box - Get Everything You Wa...
Last Post: GearVita.com
2019-08-06 10:12
» Replies: 0
» Views: 1219

[-]
Tech & Science
[Harvard] Better delivery system for sending chemo to cancer...
Last Post: Harvard
Today 19:20
» Replies: 0
» Views: 1
[Wired] Aerial Scans Help Bust California's Worst Methane Le...
Last Post: Wired Magazine
Today 19:20
» Replies: 0
» Views: 0
[Science Daily] Ancient stars shed light on Earth's similari...
Last Post: Science Daily
Today 19:20
» Replies: 0
» Views: 0
[Sci-Am] Does AI Have a Place in Medicine?
Last Post: Scientific American
Today 06:10
» Replies: 0
» Views: 113
[Harvard] Evolution more complex than ‘survival of the fitte...
Last Post: Harvard
Today 05:58
» Replies: 0
» Views: 46
[Wired] Measurements Are Often Full of Lies—and That's OK
Last Post: Wired Magazine
Today 05:58
» Replies: 0
» Views: 46
[Science Daily] Arthropods formed orderly lines 480 million ...
Last Post: Science Daily
Today 05:58
» Replies: 0
» Views: 44
[Sci-Am] Health Officials Claim Breakthrough on Vaping Illne...
Last Post: Scientific American
Yesterday 16:48
» Replies: 0
» Views: 141
[Wired] If You Want a Robot to Learn Better, Be a Jerk to It
Last Post: Wired Magazine
Yesterday 16:34
» Replies: 0
» Views: 99
[Science Daily] New photonic liquid crystals could lead to n...
Last Post: Science Daily
Yesterday 16:34
» Replies: 0
» Views: 101
[Sci-Am] Are Probiotics Safe for Your Immune System?
Last Post: Scientific American
Yesterday 03:27
» Replies: 0
» Views: 209
[Wired] SpaceX and Boeing Still Need a Parachute That Always...
Last Post: Wired Magazine
Yesterday 03:06
» Replies: 0
» Views: 136
[Sci-Am] Are We Doing Everything We Can to Treat Infertility...
Last Post: Scientific American
2019-11-12 14:06
» Replies: 0
» Views: 241
[Wired] Trump Begins Paris Accord Exit, Devices Hacked With ...
Last Post: Wired Magazine
2019-11-12 13:43
» Replies: 0
» Views: 186
[Science Daily] Hubble observes first confirmed interstellar...
Last Post: Science Daily
2019-11-12 13:43
» Replies: 0
» Views: 189
[Science Daily] PFASs from ski wax bioaccumulate at Nordic r...
Last Post: Science Daily
2019-11-12 13:43
» Replies: 0
» Views: 188
[Sci-Am] Galileo's Big Mistake
Last Post: Scientific American
2019-11-12 00:44
» Replies: 0
» Views: 290
[Wired] Where Do Hippos Wander? An Aquatic Mystery, Solved
Last Post: Wired Magazine
2019-11-11 23:52
» Replies: 0
» Views: 188
[Science Daily] 2D antimony holds promise for post-silicon e...
Last Post: Science Daily
2019-11-11 23:52
» Replies: 0
» Views: 184
[Sci-Am] First New HIV Strain in 19 Years Identified
Last Post: Scientific American
2019-11-11 11:18
» Replies: 0
» Views: 292