This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Open CMD as Administrator | |
2. Paste the following commands into the Cmd: One by one, follow the order. | |
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE" | |
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type. | |
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 | |
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR | |
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "" | |
echo "=============================================" | |
echo "========= Uninstall linux in Termux =========" | |
echo "=============================================" | |
echo "" | |
echo "" | |
echo "==== Choose Uninstallation Option ====" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "" | |
echo "=============================================" | |
echo "========== Install linux in Termux ==========" | |
echo "=============================================" | |
echo "" | |
echo "" | |
echo "==== Choose Installation Option ====" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
termux-setup-storage &&\ | |
echo "======== Restoring home =========" &&\ | |
cd ~/.. &&\ | |
rm -rf home &&\ | |
tar -zxvf /sdcard/termux-backup.tar.gz home &&\ | |
echo "======== Restoring usr =========" &&\ | |
cp home/mahfuznow-termux/backup-restore/busybox ./tar && \ | |
chmod +x tar && \ | |
rm -rf usr &&\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
termux-setup-storage &&\ | |
pkg install tar &&\ | |
cd ~/.. &&\ | |
tar -zcvf /sdcard/termux-backup.tar.gz home usr &&\ | |
echo "========Backup compleeted ======" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
echo "Uninstalling Kali, please be patient..." | |
chmod 777 -R kali-fs | |
rm -rf kali-fs | |
rm -rf kali-binds | |
rm -rf kali.sh | |
rm -rf start-kali.sh | |
rm -rf ssh-apt.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
main() { | |
pwd=`pwd` | |
echo "====Enter Installation Directory====" | |
read dir | |
installation_dir="$HOME/$dir" | |
mkdir $installation_dir | |
echo "Installing at $installation_dir" |