Package Details: mtkimg r58.a92c609-1

Git Clone URL: https://aur.archlinux.org/mtkimg.git (read-only, click to copy)
Package Base: mtkimg
Description: Unpack/Repack boot.img, recovery.img and logo.bin for Mediatek CPU based devices
Upstream URL: https://github.com/rom1nux/mtkimg
Licenses: GPL
Submitter: ozgursarier
Maintainer: None
Last Packager: ozgursarier
Votes: 2
Popularity: 0.000000
First Submitted: 2018-04-26 15:16
Last Updated: 2018-04-26 15:16

Latest Comments

dreieck commented on 2020-10-19 12:40

  • You pull the latest git version -- so please name your package mtkimg-git, according to the packahing guidelines.
  • Fails to build for me:
==> Starting build()...
MTKIMG LINUX MAKE by rom1nux
Create directory build ...
Building C file build/info.o ...
gcc -c -Wall -DLOGO_SUPPORT src/info.c -o build/info.o
Building C file build/main.o ...
gcc -c -Wall -DLOGO_SUPPORT src/main.c -o build/main.o
Building C file build/repack.o ...
gcc -c -Wall -DLOGO_SUPPORT src/repack.c -o build/repack.o
Building C file build/tools.o ...
gcc -c -Wall -DLOGO_SUPPORT src/tools.c -o build/tools.o
src/repack.c: In function ‘repack_logo’:
src/repack.c:329:20: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=]
  329 |   sprintf(src,"%s%c%s",data->logos,FILESEP,dent->d_name);
      |                    ^~
src/repack.c:329:3: note: ‘sprintf’ output between 2 and 512 bytes into a destination of size 256
  329 |   sprintf(src,"%s%c%s",data->logos,FILESEP,dent->d_name);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tools.c: In function ‘dir_remove’:
Building C file build/unpack.o ...
src/tools.c:1357:27: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
 1357 |   sprintf(filename,"%s%c%s",dirname,FILESEP,dent->d_name);
      |                           ^
gcc -c -Wall -DLOGO_SUPPORT src/unpack.c -o build/unpack.o
src/tools.c:1357:3: note: ‘sprintf’ output 2 or more bytes (assuming 257) into a destination of size 256
 1357 |   sprintf(filename,"%s%c%s",dirname,FILESEP,dent->d_name);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/unpack.c: In function ‘unpack_logo’:
src/unpack.c:378:20: warning: ‘%s’ directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=]
  378 |   sprintf(src,"%s%c%s%02d.bin",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |                    ^~
src/unpack.c:378:15: note: using the range [-2147483648, 2147483647] for directive argument
  378 |   sprintf(src,"%s%c%s%02d.bin",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |               ^~~~~~~~~~~~~~~~
src/unpack.c:378:3: note: ‘sprintf’ output between 12 and 276 bytes into a destination of size 256
  378 |   sprintf(src,"%s%c%s%02d.bin",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/unpack.c:379:21: warning: ‘%s’ directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=]
  379 |   sprintf(dest,"%s%c%s%02d.rgb565",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |                     ^~
src/unpack.c:379:16: note: using the range [-2147483648, 2147483647] for directive argument
  379 |   sprintf(dest,"%s%c%s%02d.rgb565",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |                ^~~~~~~~~~~~~~~~~~~
src/unpack.c:379:3: note: ‘sprintf’ output between 15 and 279 bytes into a destination of size 256
  379 |   sprintf(dest,"%s%c%s%02d.rgb565",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/unpack.c:412:20: warning: ‘%s’ directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=]
  412 |   sprintf(src,"%s%c%s%02d.rgb565",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |                    ^~
src/unpack.c:412:15: note: using the range [-2147483648, 2147483647] for directive argument
  412 |   sprintf(src,"%s%c%s%02d.rgb565",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |               ^~~~~~~~~~~~~~~~~~~
src/unpack.c:412:3: note: ‘sprintf’ output between 15 and 279 bytes into a destination of size 256
  412 |   sprintf(src,"%s%c%s%02d.rgb565",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/unpack.c:413:21: warning: ‘%s’ directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=]
  413 |   sprintf(dest,"%s%c%s%02d.png",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |                     ^~
src/unpack.c:413:16: note: using the range [-2147483648, 2147483647] for directive argument
  413 |   sprintf(dest,"%s%c%s%02d.png",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |                ^~~~~~~~~~~~~~~~
src/unpack.c:413:3: note: ‘sprintf’ output between 12 and 276 bytes into a destination of size 256
  413 |   sprintf(dest,"%s%c%s%02d.png",data->logos,FILESEP,LOGOS_FILENAME_PREFIX,(i+1));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking build/mtkimg...
gcc build/info.o build/main.o build/repack.o build/tools.o build/unpack.o -lm -lpng -lz -o build/mtkimg
/sbin/ld: build/main.o:(.bss+0x0): multiple definition of `app_data'; build/info.o:(.bss+0x0): first defined here
/sbin/ld: build/repack.o:(.bss+0x0): multiple definition of `app_data'; build/info.o:(.bss+0x0): first defined here
/sbin/ld: build/tools.o:(.bss+0x0): multiple definition of `app_data'; build/info.o:(.bss+0x0): first defined here
/sbin/ld: build/unpack.o:(.bss+0x0): multiple definition of `app_data'; build/info.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:157: build/mtkimg] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Thanks for maintaining!

aamir commented on 2018-09-12 10:45

http://www.samsungsidesync.com/wp-content/uploads/2018/08/samsung-sidesync.jpg

aamir commented on 2018-09-12 10:44

http://www.samsungsidesync.com

aamir commented on 2018-09-12 10:43

http://ceesty.com/wLuOso

aamir commented on 2018-08-20 09:32

http://cellphone-holder.com/download-micromax-stock-rom-firmware/

aamir commented on 2018-05-14 15:04

https://sp-flash-tool.com/wp-content/uploads/2018/04/SP_Flash_Tool_v5.1812_Linux.zip