Skip to content

Commit

Permalink
Linux32: v2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
LowTension committed Jul 25, 2021
1 parent 8156a4a commit 0d1c3fc
Show file tree
Hide file tree
Showing 15 changed files with 262 additions and 155 deletions.
Binary file added .bin/imageinfo
Binary file not shown.
Binary file modified .bin/minigzip
Binary file not shown.
Binary file modified .bin/mkbootfs
Binary file not shown.
Binary file modified .bin/mkbootimg
Binary file not shown.
Binary file modified .bin/unpackbootimg
Binary file not shown.
4 changes: 2 additions & 2 deletions .scripts/Instructions.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##############################################################################
# #
# Carliv Image Kitchen for Android v2.1 #
# for android phones copyright(c)2020 carliv.eu #
# Carliv Image Kitchen for Android v2.2 #
# for android phones copyright(c)2021 carliv.eu #
# including support for MTK powered phones images #
# LINUX version #
# #
Expand Down
52 changes: 52 additions & 0 deletions .scripts/image_info
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/bin/bash
e="\x1b[";c=$e"00m";y=$e"93;01m";cy=$e"96;01m";bb=$e"96;44;01m";r=$e"1;91m";g=$e"92;01m";m=$e"95;01m";
##########################################################
# #
# Carliv Image Kitchen for Android #
# boot & recovery images (c)-2021 carliv.eu #
# including support for MTK powered phones images #
# #
##########################################################
abort() { cd "$PWD"; echo " "; echo -e "$cy >>$c$r Exit script$c\n"; }
###########################################################
bin="$PWD/.bin";
chmod -R 755 "$bin"/*;
cd "$PWD";
imageinfo=$bin/imageinfo;
###########################################################
clear;
echo -e "$bb
*****************************************************
* *
* Carliv Image Kitchen for Android v2.3 *
* boot & recovery images (c)2021 carliv.eu *
* including support for MTK powered phones images *
* LINUX x86 version *
* *
*****************************************************$c
* Printing the image info script *
*****************************************************
";
###########################################################
if [ ! "$1" ];
then
echo -e "$r No image file selected. ERROR!$c";
abort;
exit 1;
fi;
###########################################################
file=$(basename "$1");
echo "Your image is: $file";
echo " ";
###########################################################
echo -e "Display the informations for $y $file$c";
echo " ";
if [ -e "file_info.txt" ];
then
cat file_info.txt;
else
$imageinfo -i "$file";
$imageinfo -i "$file" > file_info.txt;
fi;
echo "Done!";
echo " ";
Loading

0 comments on commit 0d1c3fc

Please sign in to comment.