https://www.youtube.com/channel/UCnPFWOidyGah_idNVpOftEQ
28 |https://www.mrtechx.com
31 |https://instagram.com/t_e_c_h_x
36 | -------------------------------------------------------------------------------- /win/20200807_162148.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1Tech-X/window7/315d45072b8cf36859b26b180af2da8edb523223/win/20200807_162148.jpg -------------------------------------------------------------------------------- /win/window: -------------------------------------------------------------------------------- 1 | #!/data/data/com.termux/files/usr/bin/bash 2 | 3 | # Window xp startup file 4 | 5 | qemu-system-i386 -hda /data/data/com.termux/files/usr/share/window/Win7.qcow2 -vnc 127.0.0.1:1 6 | -------------------------------------------------------------------------------- /window.sh: -------------------------------------------------------------------------------- 1 | #!/data/data/com.termux/files/usr/bin/bash 2 | # Copyright ©2020 by Tech-x.All right reserved 3 | 4 | # Website https://www.mrtechx.com 5 | 6 | # colors 7 | green='\033[1;92m' 8 | red='\033[1;31m' 9 | yellow='\033[1;33m' 10 | blue='\033[1;34m' 11 | reset='\033[0m' 12 | orange='\33[38;5;208m' 13 | 14 | # Window Dir path 15 | 16 | WINDOW_D=$PREFIX/share/window 17 | 18 | # Window file path 19 | 20 | WINDOW_F=${PREFIX}/share/window/Win7.qcow2 21 | banner () { 22 | 23 | clear 24 | printf "${blue}" 25 | printf "██╗ ██╗██╗███╗ ██╗██████╗ ██████╗ ██╗ ██╗ ███████╗\n" 26 | printf "██║ ██║██║████╗ ██║██╔══██╗██╔═══██╗██║ ██║ ╚════██║\n" 27 | printf "██║ █╗ ██║██║██╔██╗ ██║██║ ██║██║ ██║██║ █╗ ██║ ██╔╝ \n" 28 | printf "██║███╗██║██║██║╚██╗██║██║ ██║██║ ██║██║███╗██║ ██╔╝ \n" 29 | printf "╚███╔███╔╝██║██║ ╚████║██████╔╝╚██████╔╝╚███╔███╔╝ ██║ \n" 30 | printf " ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝ ╚═╝ \n" 31 | 32 | printf "${red} Created by Tech-X${reset}\n" 33 | printf "${reset}" 34 | } 35 | 36 | # Checking for required packages 37 | 38 | inst_pkg () { 39 | printf "${blue}" 40 | echo "" 41 | for i in wget qemu-system-i386-headless; do 42 | printf "${red}[*]${blue}Checking for all required packages..." 43 | echo "" 44 | 45 | if [ -e $PREFIX/bin/$i ]; then 46 | echo "" 47 | printf "${green} $i is installed\n" 48 | else 49 | echo "" 50 | echo "Installing packages..." 51 | apt install -y $i || { 52 | printf "$red" 53 | echo "" 54 | echo " ERROR: check your internet connection or apt\n Exiting..." 55 | printf "$reset" 56 | 57 | exit 58 | 59 | } 60 | fi 61 | done 62 | 63 | if [ -e $PREFIX/bin/7z ]; then 64 | echo "" 65 | printf "${green} 7z is installed${reset}\n" 66 | else 67 | echo "" 68 | echo "Installing 7z...\n" 69 | apt install -y p7zip || { 70 | printf "$red" 71 | echo "" 72 | echo " ERROR: check your internet connection or apt\n Exiting..." 73 | printf "$reset" 74 | exit 75 | } 76 | fi 77 | } 78 | 79 | win_dir () { 80 | 81 | echo "" 82 | printf "${red}[*] ${blue}Checking for window Directory${reset}\n" 83 | sleep 1 84 | if [ -d $WINDOW_D ]; then 85 | echo "" 86 | sleep 1 87 | echo "" 88 | printf "${green}Directory is already created${reset}\n" 89 | 90 | else 91 | echo "" 92 | printf "${green}[+]${blue}Creating Window Directory.....${reset}\n" 93 | echo "" 94 | mkdir $PREFIX/share/window 95 | printf "${blue}Directory created${reset}\n" 96 | echo "" 97 | fi 98 | } 99 | 100 | win_f () { 101 | 102 | echo "" 103 | printf "${red}[*]${blue}Checking For window 7 file${reset}\n" 104 | sleep 1 105 | if [ -f ${WINDOW_F} ]; then 106 | echo "" 107 | printf "${green}Window is already exist${reset}\n" 108 | else 109 | echo "" 110 | printf "${green}[+]${blue}Downloading Window 7 zip file${reset}\n" 111 | sleep 1 112 | cd $PREFIX/share/window && wget https://archive.org/download/win-7.7z/Win7.7z 113 | fi 114 | 115 | 116 | } 117 | extract () { 118 | 119 | choice="" 120 | 121 | echo "" 122 | if [ ! -f $PREFIX/share/window/Win7.qcow2 ]; then 123 | printf "${red}[€]${green}Extracting Window 7 zip file....${reset}\n" 124 | sleep 1 125 | cd $PREFIX/share/window 126 | 7z e Win7.7z 127 | printf "${green}Extracted successfull${reset}\n" 128 | else 129 | printf "${green}window 7 zip file already extracted:${reset}\n" 130 | fi 131 | 132 | if [ -f $PREFIX/share/window/Win7.7z ]; then 133 | echo "" 134 | printf "${blue}Do you want delete window 7 zip file ${green}[y/n]${reset}\n" 135 | 136 | printf "${blue}Enter${red}:~${green}" 137 | read choice 138 | if [ "${choice}" = "y" ]; then 139 | echo "" 140 | printf "${red}[*]${green}Removing window 7 zip file${reset}\n" 141 | rm $PREFIX/share/window/Win7.7z 142 | echo "" 143 | printf "${green}Window 7 zip File removed${reset}\n" 144 | elif [ "${choice}" = "n" ]; then 145 | echo "" 146 | printf "${green}Ok window 7 zip file not remove${reset}\n" 147 | else 148 | printf "${red}[!]Wrong Input${reset}\n" 149 | 150 | fi 151 | else 152 | echo "" 153 | printf "${red}Window 7 zip file not found${reset}" 154 | 155 | fi 156 | 157 | } 158 | 159 | win_start () { 160 | 161 | printf "${blue}Downloading Window 7 start up file${reset}\n" 162 | sleep 1 163 | cd $PREFIX/bin && curl -LO https://raw.githubusercontent.com/1Tech-X/window7/master/win/window && chmod +x window 164 | echo "" 165 | banner 166 | progress 167 | echo "" 168 | printf "${yellow}Now you can start window by executing command${reset}" 169 | printf "${green} window${reset}\n" 170 | 171 | 172 | 173 | } 174 | progress () { 175 | printf "${red}" 176 | 177 | echo -ne "■■" 178 | sleep 0.5 179 | echo -ne "■■■■■" 180 | sleep 1 181 | echo -ne "■■■■■■■■■■" 182 | sleep 1 183 | echo -ne "■■■■■■■■■■■■■■■■■" 184 | sleep 1 185 | echo -ne "■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■" 186 | printf "${reset}" 187 | echo "" 188 | } 189 | 190 | banner 191 | echo "" 192 | progress 193 | inst_pkg 194 | win_dir 195 | win_f 196 | extract 197 | win_start 198 | echo "" 199 | echo "" 200 | printf "\033[30;48;5;208mSubscribe my youtube channel TECH-X ${reset}\n" 201 | echo "" 202 | printf "\033[30;48;5;15mFollow me ${blue}on \033[30;48;5;15minstagram t_e_c_h_x ${reset}\n" 203 | echo "" 204 | printf "\033[30;48;5;28mVisit my website www.mrtechx.com ${reset}\n" 205 | echo "" 206 | --------------------------------------------------------------------------------