Active Topics

 


Reply
Thread Tools
robin92's Avatar
Posts: 476 | Thanked: 438 times | Joined on Nov 2010 @ Sweden
#1
Hi!
I have worked on a little vibration script that change the vibration level
Right now you can only choose between soft (S) hard (H) default (D) vibration

Put it in /home/user/MyDocs then in terminal write
sh /home/user/MyDocs/vibration.sh


You must restart the device
Big Y to accept reboot or reboot manually
Download link: http://dl.dropbox.com/u/15968404/vibration.sh

I'am working on a ui

Hope you like it

Last edited by robin92; 2011-11-06 at 21:04.
 

The Following 10 Users Say Thank You to robin92 For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#2
Does it work by overwriting viration patterns in mce.ini, or You developed some other fancy method?
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
robin92's Avatar
Posts: 476 | Thanked: 438 times | Joined on Nov 2010 @ Sweden
#3
Originally Posted by Estel View Post
Does it work by overwriting viration patterns in mce.ini, or You developed some other fancy method?
yes it overwritning mci.ini but the script take a backup of deafult mce.ini
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#4
Just a suggestion - many people have custom LED patterns defined there, so using a PATCH method, to replace only relevant part of the script - instead of overwriting mce.ini as a whole - could have been better idea.

Thumbs up!

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 3 Users Say Thank You to Estel For This Useful Post:
robin92's Avatar
Posts: 476 | Thanked: 438 times | Joined on Nov 2010 @ Sweden
#5
Originally Posted by Estel View Post
Just a suggestion - many people have custom LED patterns defined there, so using a PATCH method, to replace only relevant part of the script - instead of overwriting mce.ini as a whole - could have been better idea.

Thumbs up!

/Estel
It only change the vibration text (3 text rows) the other part is like you have made it
I miss understand the question
 

The Following 4 Users Say Thank You to robin92 For This Useful Post:
Posts: 99 | Thanked: 13 times | Joined on Mar 2011
#6
I can't sh, it say:
line 9: syntax error: word u expected (expecting "in").
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#7
Originally Posted by accountvip View Post
I can't sh, it say:
line 9: syntax error: word u expected (expecting "in").

Probably you need to put a parameter of either (S, H or D).
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 99 | Thanked: 13 times | Joined on Mar 2011
#8
case $vibration in (H) but still not been.

Problem in line 11.
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#9
Hmm no problem with me... I tried running the script and

root@server1 [~]# ./gg.sh
Do want to load Soft/Hard or Default vibration? [S/H or D]: D
Default
Default vibration profile Loaded
You must Reboot, will you reboot now?N
Not agreed, Reboot manually
root@server1 [~]#
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#10
Did you by chance edited it with some text editor(or at least opened it and saved it again without modifying)?

It might have changed the text encoding into something else?
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:15.