Skip to content

Instantly share code, notes, and snippets.

Vishukani

Block or report user

Report or block Vishukani

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Vishukani
Vishukani / gist:5e5fe5828a060a2e026ead76c22f1bf5
Created Jun 9, 2017
spreadtrum system.img mounting on linux and manual root injection
View gist:5e5fe5828a060a2e026ead76c22f1bf5
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
View gist:9c559adee94643d1ea6a0105b49d5158
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
@Vishukani
Vishukani / win10colors.cmd
Last active Jun 9, 2017
colored windows 10 cmd
View win10colors.cmd
@echo offclsecho  STYLES echo ^<ESC^>[0m Resetecho ^<ESC^>[1m Boldecho ^<ESC^>[4m Underlineecho ^<ESC^>[7m Inverseecho.echo  NORMAL FOREGROUND COLORS echo ^<ESC^>[30m Black (black)echo ^<ESC^>[31m Redecho ^<ESC^>[32m Greenecho ^<ESC^>[33m Yellowecho ^<ESC^>[34m Blueecho ^<ESC^>[35m Magentaecho ^<ESC^>[36m Cyanecho ^<ESC^>[37m Whiteecho.echo  NORMAL BACKGROUND COLORS echo ^<ESC^>[40m Blackecho ^<ESC^>[41m Redecho ^<ESC^>[42m Greenecho ^<ESC^>[43m Yellowecho ^<ESC^>[44m Blueecho ^<ESC^>[45m Magentaecho ^<ESC^>[46m Cyanecho ^<ESC^>[47m White (white)echo.echo  STRONG FOREGROUND COLORS echo ^<ESC^>[90m Whiteecho ^<ESC^>[91m Redecho ^<ESC^>[92m Greenecho ^<ESC^>[93m Yellowecho ^<ESC^>[94m Blueecho ^<ESC^>[95m Magentaecho ^<ESC^>[96m 
You can’t perform that action at this time.