User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://nano7mobile.blogspot.com/sitemap.xml Nano Mobile: Change vibration intensity with a simple init.d script topic

Change vibration intensity with a simple init.d script topic






I don't like Lollipop so I went back to KitKat, Mahdi ROM, and Franco kernel r63 and I wasn't able to change vibrator intensity, it was too high!
Since I'm a minimalist, and do not want to install apps to do such a simple thing, I've wrote a simple init.d script to do that at boot.

Just copy (extract first) this file inside /etc/init.d folder

Attachment 3112049



And apply 755 permissions.




The script is very simple:


Code:


#!/system/bin/sh
#VIBRATION_AMP
#BY_ENRICOD

echo "35" > /sys/devices/virtual/timed_output/vibrator/amp



If you want You can also change the value as You wish and from 0 to 100.


Note:
Don't bother Me with "oh, but You can use apps and blabla"
Well, I won't.
I won't install a (starting at boot/running in bg) app to apply a single value :)















Attached Files





File Type: tar 99vibration.tar -
[Click for QR Code]
(10.0 KB)










Aucun commentaire:

Enregistrer un commentaire