This file contains hidden or 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
@echo offclsecho [101;93m STYLES [0mecho ^<ESC^>[0m [0mReset[0mecho ^<ESC^>[1m [1mBold[0mecho ^<ESC^>[4m [4mUnderline[0mecho ^<ESC^>[7m [7mInverse[0mecho.echo [101;93m NORMAL FOREGROUND COLORS [0mecho ^<ESC^>[30m [30mBlack[0m (black)echo ^<ESC^>[31m [31mRed[0mecho ^<ESC^>[32m [32mGreen[0mecho ^<ESC^>[33m [33mYellow[0mecho ^<ESC^>[34m [34mBlue[0mecho ^<ESC^>[35m [35mMagenta[0mecho ^<ESC^>[36m [36mCyan[0mecho ^<ESC^>[37m [37mWhite[0mecho.echo [101;93m NORMAL BACKGROUND COLORS [0mecho ^<ESC^>[40m [40mBlack[0mecho ^<ESC^>[41m [41mRed[0mecho ^<ESC^>[42m [42mGreen[0mecho ^<ESC^>[43m [43mYellow[0mecho ^<ESC^>[44m [44mBlue[0mecho ^<ESC^>[45m [45mMagenta[0mecho ^<ESC^>[46m [46mCyan[0mecho ^<ESC^>[47m [47mWhite[0m (white)echo.echo [101;93m STRONG FOREGROUND COLORS [0mecho ^<ESC^>[90m [90mWhite[0mecho ^<ESC^>[91m [91mRed[0mecho ^<ESC^>[92m [92mGreen[0mecho ^<ESC^>[93m [93mYellow[0mecho ^<ESC^>[94m [94mBlue[0mecho ^<ESC^>[95m [95mMagenta[0mecho ^<ESC^>[96m [96m |
This file contains hidden or 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
dmesg | grep CD-ROM | |
u3-tool -i /dev/sdx1 | |
#resize cd-drive to N blocks | |
u3-tool -p 7065646592 /dev/sdx1 | |
u3-tool -l debian.iso /dev/sdx1 |
This file contains hidden or 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
sudo mount -t ext4 -o loop,rw system.img /home/username/temp | |
mkdir /home/username/temp/bin/.ext | |
cp su /home/username/temp/xbin/daemonsu | |
cp su /home/username/temp/xbin/su | |
cp su /home/username/temp/bin/.ext/.su | |
cp Superuser.apk /home/username/temp/app/Superuser.apk | |
cp ./install-recovery.sh /home/username/temp/etc/install-recovery.sh | |
mkdir /home/username/temp/etc/init.d | |
cp ./99SuperSUDaemon /home/username/temp/etc/init.d/99SuperSUDaemon | |
echo 1 > /home/username/temp/etc/.installed_su_daemon |