Advertisement
Guest User

Untitled

a guest
May 26th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #!/system/bin/sh
  2. export PATH=/system/bin:$PATH
  3.  
  4. #run original script
  5. mot_boot_mode.bin
  6.  
  7. ## automatic move /dalvik-cache for free space
  8. ## @bijitwit
  9.  
  10. # set perm
  11. chmod 771 /cache
  12.  
  13.  
  14. # remove old symlink, if exist
  15. rm /data/dalvik-cache
  16.  
  17. # move it, nothing moved if applied
  18. cp -a /data/dalvik-cache /cache
  19. rm -r /data/dalvik-cache
  20.  
  21. # if /cache wiped need to cr8 dir
  22. mkdir /cache/dalvik-cache
  23. chown system.system /cache/dalvik-cache
  24. chmod 771 /cache/dalvik-cache
  25.  
  26. # now link
  27. ln -s /cache/dalvik-cache /data/dalvik-cache
  28.  
  29. #
  30. log -p w dalvik-cache is now on /cache
  31.  
  32. insmod /data/data/pt.com.darksun.milestoneoverclock/files/overclock.ko max_rate=800000 max_vsel=62
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement