[-]
Who's Online
There are currently 1679 online users. [Complete List]
» 1 Member(s) | 1678 Guest(s)
Avatar

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: aamm065065
2024-05-13 00:34
» Replies: 0
» Views: 924
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 522
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 616
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 10321
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 1020
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 654
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 14271
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4560
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 34671
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 443
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2560
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22644
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 6224
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 9461
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1653
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 5121
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1574
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 475
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 8187
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 641
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 5060
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12899
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5237





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, NexusTrix, bovirus 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
  [Solved] SIGN & VERIFIED IMG - Unpack/Repack Cleopatra 2 10,552 2020-12-27, 06:59
Last Post: Mazhar Fareed
  SP Flsah Tool, Error 2020 007fred52 0 2,458 2020-04-21, 17:57
Last Post: 007fred52
  android, SP Flash Tool stuck on downloading 007fred52 1 2,499 2020-03-26, 21:31
Last Post: 007fred52
Thumbs Up [Tool] MTK Firmware Adapter Tool gogozx 30 81,923 2019-03-19, 19:14
Last Post: rarwar
  [Tool] SP Flash Tool for Windows OS Cleopatra 11 13,742 2018-10-11, 19:37
Last Post: Gerard2307

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] Trump’s Anti-Climate Agenda Could Help China Domina...
Last Post: Scientific American
Today 11:30
» Replies: 0
» Views: 3
[Sci-Am] Trees Alone Can’t Stop Climate Change
Last Post: Scientific American
2024-12-02 19:06
» Replies: 0
» Views: 86
[Sci-Am] RFK, Jr., Is a Bad Prescription for U.S. Public Hea...
Last Post: Scientific American
2024-12-02 05:29
» Replies: 0
» Views: 59
[Sci-Am] Science Crossword: Equine Emergence
Last Post: Scientific American
2024-12-01 15:05
» Replies: 0
» Views: 51
[Sci-Am] Why Hypochondria Can Be Deadly, and How Newer Treat...
Last Post: Scientific American
2024-12-01 01:39
» Replies: 0
» Views: 77
[Sci-Am] Horse Domestication Story Gets a Surprising Rewrite
Last Post: Scientific American
2024-11-30 12:08
» Replies: 0
» Views: 43
[Sci-Am] Fossil Fuels Are Not Essential
Last Post: Scientific American
2024-11-29 22:32
» Replies: 0
» Views: 70
[Sci-Am] See How Close We Are to Gender Equality around the ...
Last Post: Scientific American
2024-11-29 09:02
» Replies: 0
» Views: 54
[Sci-Am] Mathematicians Discover a New Kind of Shape That’s ...
Last Post: Scientific American
2024-11-28 06:17
» Replies: 0
» Views: 118
[Sci-Am] Curiosity, Horses and Hypochondria
Last Post: Scientific American
2024-11-27 16:52
» Replies: 0
» Views: 78
[Harvard] Amid Hurricane Milton’s devastation, a sliver of g...
Last Post: Harvard
2024-11-27 16:52
» Replies: 0
» Views: 50
[Sci-Am] Contributors to Scientific American’s December 2024...
Last Post: Scientific American
2024-11-27 03:17
» Replies: 0
» Views: 48
[Sci-Am] Exotic Powder Pulls Carbon Dioxide from the Air at ...
Last Post: Scientific American
2024-11-26 13:56
» Replies: 0
» Views: 53
[Sci-Am] Enjoy Holiday Food without the Anxiety
Last Post: Scientific American
2024-11-25 11:05
» Replies: 0
» Views: 98
[Sci-Am] Climate Change Is Altering Animals’ Colors
Last Post: Scientific American
2024-11-24 21:08
» Replies: 0
» Views: 41
[Sci-Am] Drought across the U.S., H5N1 in Canada and Uranus ...
Last Post: Scientific American
2024-11-24 07:31
» Replies: 0
» Views: 54
[Sci-Am] Some Counties Voted for Trump and Approved Climate ...
Last Post: Scientific American
2024-11-23 17:36
» Replies: 0
» Views: 47
[Sci-Am] Fun Facts about Teeth across the Animal Kingdom
Last Post: Scientific American
2024-11-23 03:45
» Replies: 0
» Views: 66
[Sci-Am] The U.S. Must Lead the Global Fight against Superbu...
Last Post: Scientific American
2024-11-20 21:24
» Replies: 0
» Views: 138
[Sci-Am] Trump Administration Likely to Repeal Methane Leak ...
Last Post: Scientific American
2024-11-20 07:40
» Replies: 0
» Views: 60
[Harvard] Mars may have been habitable much more recently th...
Last Post: Harvard
2024-11-20 07:40
» Replies: 0
» Views: 46
[Sci-Am] Clean Energy Is Bringing Electricity to Many in the...
Last Post: Scientific American
2024-11-19 18:11
» Replies: 0
» Views: 52
[Sci-Am] The Law Must Respond When Science Changes
Last Post: Scientific American
2024-11-19 04:42
» Replies: 0
» Views: 44
[Harvard] What happened when a meteorite the size of four Mo...
Last Post: Harvard
2024-11-19 04:42
» Replies: 0
» Views: 27
[Sci-Am] Epic Gravity Lens Lines Up Seven-Galaxy View
Last Post: Scientific American
2024-11-18 01:54
» Replies: 0
» Views: 92
[Sci-Am] Voting Has Never Been More Secure Than It Is Right ...
Last Post: Scientific American
2024-11-17 10:52
» Replies: 0
» Views: 50
[Sci-Am] The Virus That Causes Mpox Keeps Getting Better at ...
Last Post: Scientific American
2024-11-16 20:14
» Replies: 0
» Views: 68
[Sci-Am] How to Calm Your Election Anxiety—Even after Polls ...
Last Post: Scientific American
2024-11-16 06:43
» Replies: 0
» Views: 114
[Harvard] When we say ‘smart,’ what do we mean?
Last Post: Harvard
2024-11-15 03:38
» Replies: 0
» Views: 140
[Sci-Am] Why Election Polling Has Become Less Reliable
Last Post: Scientific American
2024-11-14 14:18
» Replies: 0
» Views: 55
[Harvard] Big discovery about microscopic ‘water bears’
Last Post: Harvard
2024-11-14 14:18
» Replies: 0
» Views: 38
[Sci-Am] The Universe in 100 Colors Provides a Stunning Tour...
Last Post: Scientific American
2024-11-14 00:31
» Replies: 0
» Views: 76
[Sci-Am] One in Three Tree Species Is at Risk of Extinction
Last Post: Scientific American
2024-11-13 11:08
» Replies: 0
» Views: 64
[Sci-Am] A Bird Flu Vaccine Might Come Too Late to Save Us f...
Last Post: Scientific American
2024-11-12 20:46
» Replies: 0
» Views: 139
[Sci-Am] Why Are Close Elections So Common?
Last Post: Scientific American
2024-11-12 07:16
» Replies: 0
» Views: 105
[Sci-Am] More Men Are Getting Vasectomies Since Roe Was Over...
Last Post: Scientific American
2024-11-11 17:54
» Replies: 0
» Views: 79
[Sci-Am] Exploring the Science of Spookiness at the Recreati...
Last Post: Scientific American
2024-11-10 14:38
» Replies: 0
» Views: 133