Default Notification Vibration Length - G3 Q&A, Help & Troubleshooting

The one thing that keeps annoying me about the G3 is the loooooong vibration for default notifications when in Vibrate mode. This only happens on the default system apps that I can't control (on my SMS, Whatsapp, Facebook Messenger and others I can easily change this).
The menu has an option to change vibration lengths, but this only applies to phone calls. Anyone know where this is defined in the system? It must be editable. I've searched and haven't been able to find a solution for LG or Samsung stock ROMs.
Edit: I found the setting and updated it.
If you are annoyed with your vibration length, you can modify framework-res.apk to a more normal pattern. I changed it form 800 ms to 400 ms by editing /res/values/arrays.xml and changing the following values:
<integer-array name="config_defaultNotificationVibePattern">
<item>0</item>
<item>400</item>
</integer-array>
<integer-array name="config_notificationFallbackVibePattern">
<item>0</item>
<item>400</item>
Click to expand...
Click to collapse
You will need apktool.
Edit: I modified the arrays.xml file but I realized that for this to take effect with the above changes, you have to change the vibration intensity to the first value. I deleted the other values in the array, so only the first step works.

Related

How to change color of text

How do I change the color of the text on the home screen? My girlfriend's wallpaper is white and so is the text.. how can I change the text to black or another color?
Edit the XML
I am assuming that the white text on white background is for homescreen only and for rest it is fine. If so, probably you know that homescreen texts are displayed through their associated plugins. Check for homescreen name in Settings> Homescreen and then locate XML file of that homescreen under Application>Home folder. You can do this by connecting your Dash with your computer so that it appears as a logical drive in your computer's file explorer.
Changing foreground text of plugins is farily simple, but should be done carefully and at correct place. Following example shows a time/date/carrier plug in in the XML file.
<!-- Date/Time/Carrier Plugin -->
<plugin clsid="{E09043DF-510E-4841-B652-388316977A7A}" name="carrier" height="78">
<clock>
<time font-weight="bold" fgcolor="#000000" font-size="30" valign="top" halign="left" mode="24" y="53" x="57" />
<date font-weight="normal" fgcolor="#000000" font-size="19" valign="top" halign="left" mode="short" y="60" x="125" />
</clock>
</plugin>
In this example, foreground color for the plug in is set to black (via a hex color code for black which is #000000, in your case it should be white i.e. #FFFFFF currently on your Dash). Change that to #000000 and save XML file. Do not change anything else. Save the XML. Now see your homescreen. Plugin text for the changed color should now be in black. Accordingly, you can do it for all of them.
There is more to it - all through XML editing, if you want to change color scheme for your entire phone.
Let me know how it went.
Cheers,
KC
ok a much easier solution...download homescreen builder. you can take a favorite homescreen xml file and open it with this program (so you wont have to start from scratch if you want to be quick about it) there are plenty of options that let you change colors and positions of your homescreen items, you even have the option of switching homescreen apps or adding more. try google and search homescreen builder for smartphone. oh, and as for which files go where, the program will let you select your own custom background pic which will save it with the xml file, you need to place both of them in :mobile based device/application data/home (you can also find your stock xml homescreens here to edit if you actually like them.) if youd like to change the color of your start bar and menu highlight download basehueexpress and install the cab to your phone- the program is very easy to figure out. one note, you should verify that your homescreen DIMENSIONS are 320x240(click file and setup) have fun, hope it helps.
sorry to bash on registry edits, i just think its safer
suprajztwenty said:
ok a much easier solution...download homescreen builder.
Click to expand...
Click to collapse
Where can I find this program?

[b]Registry guide[/b]

As there are a lot of registry changes in various apps proposed and posted here, sometimes it becomes a bit confusing for a regular user like me to restore back default registry settings without hard reset. That's why I think it would be useful for any of us if there is such a thread, giving default values, changed values an also the action they change. For example font, highlights of fonts, clocks etc. The posts I propose to be smthng like this:
CHANGE SPLASH SCREEN
STRING: HKLM.../..../....
REGITRY VALUES DEFAULT.......
REGITRY VALUES CHANGED
Short explanation or instruction
That's it folks. Have a nice day

Custom Sounds on HTC Touch Pro2???

Is there a way to customize startup sounds or error sounds? I would like to change the sound of those, but can't seem to figure out how. Anyone help with that?? It has WinOS 6.1.
Like many of the options on the Touch Pro2, a user interface for the notification sounds appears to be sadly lacking. The default sound for my email alert, for example, it a barely audible beep. I have just had a route through the registry, and all the notifications look as if they are located here:
Code:
HKEY_CURRENT_USER\ControlPanel\Notifications
From here, there are a number of registry keys, most of which are GUIDs, but their associated function is shown by the (default) value inside each key. There's a Wave string value in each, which you should be able to change as required. I've not tried this yet, but will have a go later.

Definitive Registry edits for Bluetooth vehicle connection

I think it would be very beneficial to this forum to develop a definitive list of Registry edits known to achieve connection for various vehicles. I have a Volvo XC60 and have after considerable effort finally achieved regular automatic connection and everything working other than Own Ringtones. Once I've conquered Ringtones too and have a definitive set of reg edits, I will post those here for the benifit other Volvo users. (Or can any other XC60 drivers already do so?) I would like to propose that drivers of other vehicles do the same for theirs, creating here a list of definitive Registry edits for different vehicles.
Following will work for all Volvos:
.Navigate to HKLM\Security\Policies\Policies\
Click "Values" soft-key
Change "00001001" value to 1 (decimal) (recovery note: default is 2)
Change "00001005" value to 40 (decimal) (recovery note: default is 16)
Reboot device.
2. Modify the HandsFree plug-in:
HKLM\Software\WIDCOMM\Plugin\HandsFree
i. Change SupportedFeatures to 1085 (default is 1135)
ii. Add value HFBDA binary, set to same value as LastConnectedBda
iii. Add value HFDeviceType decimal 2
3. Modify the WIDCOMM bluetooth general settings:
HKLM\Software\WIDCOMM\BtConfig\General
i. Change bdaddr to (no value)
ii. Change DisableReopenAudio to 0 (default is 1)
4. Reboot device
I tried this with HD2 & XC-60 but system sounds doesn't work. All others working just fine. System sounds would be fine because of GarminXt.
I concur. I've been experimenting with my HTC TP2 & XC60 for some time now and the best I can achieve is 100% functioning calls in and out with standard ringing tone. I can't get own ringtones, stored address book or 10 last dialled/received calls. Such a shame.

[Q] Tasker to Change Font Color & Size for Missed Calls or New Messages?

I'm trying to use tasker to alter the font for some items. I have a popup widget that has email, gmail, sms, phone,etc. on it that I want to change font color and become bold when I have a missed call or new message. I've set up tasks and profiles for sms, and gmail so they will change color. I cannot seem to get them to become bold though. They are made as Rich Text if that matters. I can't figure out how to write the parameter where the [c][/c] and take effect together. Can somebody tell me how to write the advanced parameter to get this to work?
Also, I can't seem to figure out the code to use for email or phone. I've tried %COUNTEMAIL, %COUNTMSG, %MISSEDCALL but they don't seem to work. This is the tutorial I used for this: https://seo-michael.co.uk/change-text-colour-in-zooper-widget-with-tasker (sorry can't post a link yet). Can I make this work with the Email App and the Phone?
Thanks!
From what I've read you are trying to display a count rather than the actual text/phonecall details? In which case you would be better off using Zooper's built in variables #SMCALLS# for missed calls and so on. To change the colour of the font in rich text format you can use a conditional like this:
[c=$#SMCALLS#>0?#ffff0000:#ff00ff00$]#SMCALLS#[/c]
This will display missed call count in red when you have missed calls and green when you don't.
Then to change to bold for missed calls as well you can wrap the above in a conditional like this:
HTML:
$#SMCALLS#>0?[b]$[c=$#SMCALLS#>0?#ffff0000:#ff00ff00$]#SMCALLS#[/c]$#SMCALLS#>0?[/b]$
Hope this helps.
ps Sorry about the HTML tags but I don't know how to stop it from rendering the bold tags in the code instead of displaying them
Thanks. Are there built in variables for gmail, email, and sms? I'm trying that code but it doesn't seem to do anything on my phone...
Yes there are functions for sms , gmail etc. You can find them under the system heading when you enter your text.
The code I wrote should work fine. Are you entering it in the advanced parameters screen of the manual text edit screen?
I used the manual screen when I wrote it. When you enter it does nothing happen at all? Or only part of what you want?
Torgadden said:
Yes there are functions for sms , gmail etc. You can find them under the system heading when you enter your text.
The code I wrote should work fine. Are you entering it in the advanced parameters screen of the manual text edit screen?
I used the manual screen when I wrote it. When you enter it does nothing happen at all? Or only part of what you want?
Click to expand...
Click to collapse
I'm putting it into the advanced parameters because the manual text area is what is labeling the shortcut I have. It doesn't nothing when I enter it. I've written it, copy and pasted from the site, and still nothing. I can modify it and get the color I want to change but it will not turn bold.
I think that it needs to be written in the text area because the bold tags will need to go round your text in the same way they do if you use the bold function when writing a post here.
Torgadden said:
I think that it needs to be written in the text area because the bold tags will need to go round your text in the same way they do if you use the bold function when writing a post here.
Click to expand...
Click to collapse
Hmm ok. How do I write the paramater and still keep the text I have then? So for example, I have one line that says "gmail". Clicking the word opens gmail and when I have a new email it changes from white to green based on the #COUNTGMAIL task I have in Tasker. How do I write in the code in the manual field to keep the "gmail" and still make it change? I'll be playing with this shortly when I get a chance.
You can mix text in with your functions so if you just want the word Gmail displayed and for that word to change colour and bold when you have unread mail you would lay it out like this:
HTML:
$#SUG#>0?[b]$[c=$#SUG#>0?#ff00ff00:#ffffffff$]Gmail[/c]$#SUG#>0?[/b]$
So going through it one step at a time, the first conditional (between $ $) if unread gmail count is greater than 0 then write the open bold tag.
Then open the colour tag, if unread gmail count is greater than 0 then set font colour to green, otherwise colour is set to white.
Next the text you want to display is written, "Gmail" in this case but you could add other zooper variables or text if you needed.
Close the colour tag.
Finally the last conditional writes the close bold tag in the same way as for the first conditional.
Zooper will then render the text code as you needed it.
Hope this helps
Torgadden said:
You can mix text in with your functions so if you just want the word Gmail displayed and for that word to change colour and bold when you have unread mail you would lay it out like this:
HTML:
$#SUG#>0?[b]$[c=$#SUG#>0?#ff00ff00:#ffffffff$]Gmail[/c]$#SUG#>0?[/b]$
So going through it one step at a time, the first conditional (between $ $) if unread gmail count is greater than 0 then write the open bold tag.
Then open the colour tag, if unread gmail count is greater than 0 then set font colour to green, otherwise colour is set to white.
Next the text you want to display is written, "Gmail" in this case but you could add other zooper variables or text if you needed.
Close the colour tag.
Finally the last conditional writes the close bold tag in the same way as for the first conditional.
Zooper will then render the text code as you needed it.
Hope this helps
Click to expand...
Click to collapse
Thank you. That code works perfectly. If only I could get the zooper widget to update quicker.
So my next question is, do you have the parameter code for regular email? I know the #SUG# is gmail but I don't have the code for email, or phone, or sms. I think those are the only ones I need to do this. Although I would like to have the "music" line change color when poweramp is running....
If you go to edit text you will see the list of available fields. SMS counts, etc are under system. Looking at them I could have sworn that there was a regular email count but I can't see it now, you should be able to capture that in Tasked and pass it to zooper as a variable though.
As for the media, use Media Utilities to get the player state. It gives you a whole set of variables which will let you work with media states in Zooper

Categories

Resources