Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#!/bin/bash #Designed for HTC Amaze #by Kris Occhipinti #http://filmsbykris.com #January 11th, 2014 #GPLv3 #http://www.gnu.org/licenses/gpl-3.0.html dir="aniboot_$(date +%s)" phone_dir="/system/customize/resource/" zip="TMOUS_bootanimation.zip" clear echo "Backup is recommended!" sleep 2 mkdir "$dir" cd "$dir" #pull original animation from phone adb pull $phone_dir$zip unzip "$zip" clear rm "$zip" echo "When Ready Press Enter to Repackage and Put Onto Phone." echo "'q' and enter to quit" read go if [ "$go" == "q" ] then exit 0 fi zip -0 "$zip" desc.txt TMOUS/* android/* echo "putting zip file onto phone..." adb push "$zip" /sdcard/ echo "Remounting /system as read/write" adb shell su -c "mount -o remount,rw -t yaffs2 /dev/block/mmcblk0p29 /system" echo "Moving $zip tp $phone_dir..." adb shell su -c "cp /sdcard/$zip $phone_dir$zip" echo "Changing Permissions of $zip" adb shell su -c "chmod 644 $phone_dir$zip" echo "Would you like to reboot the phone? (y/N)" read reboot if [ "$reboot" == "y" ] then echo "Phone is Rebooting..." adb shell su -c "reboot" sleep 3 fi echo "Thank you." sleep 3 echo "Goodbye."
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)