Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. #!/system/bin/sh
  2.  
  3. # Change themes
  4.  
  5. echo "Themes list:"
  6. echo " "
  7. echo "mototheme"
  8. echo "zombify"
  9. echo " "
  10. echo "Please choose which theme you would like."
  11.  
  12. # functions
  13.  
  14. mototheme()
  15. {
  16. echo -n "This will install the stock GB motorola theme, would you like to continue? (y/n): "
  17. read confirm
  18. case $confirm in
  19. y|Y)
  20. busybox mount -o remount,rw /system
  21. busybox mount -o remount,rw /data
  22. cp /data/mototheme/01moto /system/etc/init.d/01moto
  23. chmod 755 /system/etc/init.d/01moto
  24. echo -n "For the MotoTheme to take effect you need to reboot, reboot now? (y/n): "
  25. read reboot
  26. case $reboot in
  27. y|Y)
  28. reboot
  29. n|N
  30. exit
  31. esac
  32. n|N
  33. exit
  34. ;;
  35. esac
  36.  
  37. }
  38.  
  39. zombify ()
  40. {
  41. echo -n "This will install the Zombified theme, would you like to continue? (y/n): "
  42. read confirm
  43. case $confirm in
  44. y|Y)
  45. busybox mount -o remount,rw /system
  46. busybox mount -o remount,rw /data
  47. cp /data/zombie/01zombie /system/etc/init.d/01zombie
  48. chmod 755 /system/etc/init.d/01zombie
  49. echo -n "For the zombified theme to take effect you need to reboot, reboot now? (y/n): "
  50. read reboot
  51. case $reboot in
  52. y|Y)
  53. reboot
  54. n|N
  55. exit
  56. esac
  57. n|N
  58. exit
  59. ;;
  60. esac
  61.  
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement