Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,814 Members 51,858 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][Update 15-AUG] Enable hidden "battery low"+custom sound+unlock repeat option

Tip us?
 
FRANQ_23_PL
Old
(Last edited by FRANQ_23_PL; 16th August 2010 at 06:34 AM.)
#1  
FRANQ_23_PL's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 206
Join Date: Mar 2010
Location: Gorzˇw Wielkopolski
Lightbulb [MOD][Update 15-AUG] Enable hidden "battery low"+custom sound+unlock repeat option

Hi!

I found this yesterday when i was pissed off, that i don't hear sound notification,
that my battery is low and my phone turn off outside when i need it working.

My first "discovery" (maybe everyone know that, for me this is new) is that in \Windows\
is sound file lowbatt.wav and this file is sound of low battery notification, so we can replace in by any sound we want.

I lookin for registry assocation of this file and then i found how to enable "Low battery" possition
in Settings>Sounds and notifications>tab "Notifications">first drop-down list.


To enable this option please import REG file from attachments. It casuse in this drop-down list appear "Battery low" option.
If you want to have this possition in your language, there is source code and you can modify "Battery low" from las line,
copy this whole code, paste to PC Notepad and save as "*.*" and file name *.REG and in next step send it to phone
and import to registry with Resco Registry:

Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D663-239C-47a7-9304-0D347F580408}]
"Duration"=dword:00000000
"Options"=dword:0000000F
"Wave"="\\Windows\\LowBattery.wav"
@="Battery low"
In attachment you can find my custom sound - alert sound like from Avast Antivirus.

Update (25-07-2010):
I created CAB, which enable "Battery low" menu and replace original lowbatt sound.

Update (15-08-2010):
I modified my CAB. Now "Repeat" option is unlocked too.
 
FRANQ_23_PL
Old
(Last edited by FRANQ_23_PL; 19th July 2010 at 08:06 AM.)
#2  
FRANQ_23_PL's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 206
Join Date: Mar 2010
Location: Gorzˇw Wielkopolski
Default Unlock all notification methods

I discovered another thing: how to unlock all notification methods (except "Repeat") for selected
notification like in screenshot in first post.
All totifications are placed in registry in:
Code:
HKEY_CURRENT_USER\ControlPanel\Notifications
and this branch's looks like {15F11F90-......}
(this branch corresponds for "Notifications" option in notifications drop-down list).
To activate all notification methods we need enter to this branch and delete DWORD named "AvaibleOptions".

This is it - all methods will be unlocked now (except "Repeat" of course).
 
FRANQ_23_PL
Old
(Last edited by FRANQ_23_PL; 15th August 2010 at 04:27 PM.)
#3  
FRANQ_23_PL's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 206
Join Date: Mar 2010
Location: Gorzˇw Wielkopolski
Lightbulb Aditional notification positions in drop-down list

This is not good examined by me (because i discovered this yesterday),
but i found how show aditional notification possitions in drop-down list,
but i dont know for what exactly match.
Maybe someone from you guys (and ladies) can sniff arround this to help indentify it.
That are branch's:
{0D3132C4-....}
{3C781384-....}
{70C48D00-....}
{9DA772A9-....}
{A877D65D-....}
{B67B425B-....}
{C3465585-....}
{DDBD3B44-....}

This positions can be activated and appear on drop-down list by editing first string vaule (Default) and enter in "String" for ex. "UnknownNotification1".

Please if anyone feel, that can help with this, so let me know. Any help is welcome.

UPDATE (15-08-2010):
I looking for some info how to unlock and enable "Repeat" function for notifications and i found it on forum.
I decided to make REG Tweak to unlock this option for all notifications.
This tweak is CABbed like usual
 
stretch4x4
Old
#4  
Junior Member
Thanks Meter 0
Posts: 17
Join Date: Oct 2008
Wow good work, just got my hd2 and want to mess with the notification settings.
Be great to see a cab that unlocks all of them including the unnamed ones so that we can choose in the normal settings
 
FRANQ_23_PL
Old
#5  
FRANQ_23_PL's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 206
Join Date: Mar 2010
Location: Gorzˇw Wielkopolski
There is REG file which enable 4 hidden notifications. Other branch's dont having path's to wave file, so i ignore them.

When you test it i recommand to enable on screen notifications - it helps to indentify it.
Attached Files
File Type: rar Enable hidden notifications.rar - [Click for QR Code] (580 Bytes, 191 views)
 
stretch4x4
Old
#6  
Junior Member
Thanks Meter 0
Posts: 17
Join Date: Oct 2008
Sweet,
Going to do some testing on my old touch diamond see if I can get them all unlocked even without sound, then that way people can set sounds and other options later.
 
pakure
Old
(Last edited by pakure; 19th July 2010 at 03:50 PM.)
#7  
pakure's Avatar
Senior Member
Thanks Meter 501
Posts: 2,027
Join Date: Sep 2009
Location: HYDERABAD
good find mate
 
FRANQ_23_PL
Old
#8  
FRANQ_23_PL's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 206
Join Date: Mar 2010
Location: Gorzˇw Wielkopolski
I waiting for replies about this new notifications.

I uploaded battery low alert sound to first post in two recognized formats: WAV and WMV. You can copy both files to \Windows\ folder to later select it in settings.
 
FRANQ_23_PL
Old
#9  
FRANQ_23_PL's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 206
Join Date: Mar 2010
Location: Gorzˇw Wielkopolski
I added a CAB to first post which enable "Battery low" and replace original lowbatt sound file by alert sound form like in Avast antivirus.
 
Macelangelo77
Old
#10  
Macelangelo77's Avatar
Senior Member
Thanks Meter 141
Posts: 752
Join Date: Jul 2010
Location: Utrecht, Netherlands
Thanks. Just what I was looking for. I wasn't searching actively, but somehow I discovered your topic, which looks very useful.

I'll report my findings.

Grtz,
Mac

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA Xposed Tuesday: DonkeyGuard, Don’t Be a Donkey, Control Your Device – XDA Developer TV

Some applications ask for the world … more

Use Facebook Pictures as a LWP with Facebook View

One of the best things that Android has always offeredits users is the ability to tailor … more

Share Your Thoughts Anonymously with A Minimalist Social Network

Nowadays, almost everyone has a second life onthe Internet. Among the best … more

Enable Heads Up Notifications For The Sprint Galaxy S3

Heads up notifications, in case you didn’t already know, are an experimental … more