Related
Hi all!
I searched for a possibility to activate AGC Microphone after a soft-reset automatically.
But I didn't find anything useful.
The key where the ON setting is stored in registry is
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\AdvancedCPL]
If you change MicrophoneAGC from dword 0 to dword 1 it is set to ON but after a soft-reset back to 0.
Does anybody know if it's possible to export this reg-key make a .cab and put this .cab in the Startup-Folder?
I also found this link http://forum.xda-developers.com/viewtopic.php?t=824 but how to use this programm code?
Another possibility is to create a shortcut to the AGC Control and put it in the Start Up-Folder http://forum.xda-developers.com/viewtopic.php?t=8496, but this gives you only the chance to change the setting to ON not to to this complete automatically.
automatic registry edit
Hallo,
you can automatically edit the Registry using mortrunner, a nice freeware tool. After mortrunner is installed create a file with extention ".mortrun" and put it into the startup-folder. Into the ".mortrun" file you write e.g.:
http://www.sto-helit.de/modules/edito/content.php?id=23#registry
RegWriteDWord HKLM,System\CurrentControlSet\AdvancedCPL,MicrophoneAGC,1
good luck
Contractor,
Ah, yes you must be running Microsoft Voice Command. I too ran into this, and found out that some brain-child developer at Microsoft (who works on Voice Command) decided to HARD CODE the setting of HKEY_LOCAL_MACHINE\System\CurrentControlSet\AdvancedCPL\MicrophoneAGC to 0 (false) every time it is run.
Apparently he/she decided this was the best setting for all of us, and to hell with what our personal preferences (you know, that thing in the control panel) were. Unfortunately, as voice command is in the startup, it resets/overrides this setting with every soft reset. IMO, there is a place in hell reserved for this style of development ;-)
I found that Voice Command works a lot better on my Jam with AGC on.
To get around it, I tranferred voicecmd.exe to my desktop, used a hex editor to replace the "HKEY_LOCAL_MACHINE\System\CurrentControlSet\AdvancedCPL\MicrophoneAGC" string in the exe with "HKEY_LOCAL_MACHINE\System\CurrentControlSet\AdvancedCPL\MicrophoneAGP so it wites to the wrong place (not affecting any real settings. I made a backup, and replaced voicecmd.exe on the defice (don't forget to replace the copy in \Windows as well if using the VCABT hack).
Just search for:
4d 00 69 00 63 00 72 00 6f 00 70 00 68 00 6f 00 6e 00 65 00 41 00 47 00 43
and replace with:
4d 00 69 00 63 00 72 00 6f 00 70 00 68 00 6f 00 6e 00 65 00 41 00 47 00 50
Hope this helps, enjoy!
@ orlando:
Thanks for your suggestion.
Mortrunner sounds very good. I will try it and I think I can use it for other settings as well.
@ dschur:
Everything is correct. I use a MDA compact with MS Voice Command and the VCAPT setting.
As a understand you Voice Command sets the AGC to "0" !!!!!!!
Don't they preach to enable AGC to have the best voice recognition???
You are right that Voice Command works much more better with enabled AGC.
Your workaround to override this setting is great. I'll try it and I think that if Voice Command is setting AGC off, orlandos suggestion would only work if mortrunner is loaded in the startup-folder AFTER Voice Command is executed.
P.S.: Voice Command is located on my SD-Card and there is the workaround to start Voice Command as your last application after a soft-reset to ensure that there is no error message.
orlando, dschur: Again - I'm with your help!
@ dschur
Your workaround works perfectly!!!!
Thx.
I'm interested in the workaround to allow Voice Command to be the last loaded app after a soft reset from the SD Card...
I cannot remember how I set this option. Now I start Voice Command in the main memory. But I think the application MemMaid has this option to set the autostart ranking.
Found some screenshots for Memmaid:
http://www.clickapps.com/screenshots.htm?pid=1505§ion=PPC
P.S.: Sorry, Autostart is the German translation. Startup Folder is the correct one in English....
For those of us who doesnt know too much about all this, mind making a cab installer that fixes this bug?
Cheers
I'll possibly be making an app to sort this kind of thing out. Eventually. Not too soon unfortunately.
V
montana said:
For those of us who doesnt know too much about all this, mind making a cab installer that fixes this bug?
Cheers
Click to expand...
Click to collapse
I think it's not so easy b'cause it's not like modifing the registry.
You'll have to patch the original MS Voice Command file and post the patched file here?!????
But the other version
(Set the key where the ON setting is stored in registry
([HKEY_LOCAL_MACHINE\System\CurrentControlSet\AdvancedCPL])
in a Sturt-Up folder should be possible.
Hi all,
Do you know a software which let met know what connection type I'm using between GPRS/EDGE and UMTS/HSDPA ?
The E icon tweak doesn't work on HTC TyTN... Thanks!
It has been posted on this forum that you do not need the tweak as the TyTN will show you the network that you are connected to. I would undo what you have done and check that you are really in UTMS coverage.
... or even try a search for other threads on this :roll:
Really?? So what should be displayed if I'm connected to HSDPA?
'U' I believe. Should say in the manual.
Ok, so this is my point.
I want to know if I'm connected to UMTS or HSDPA.
and the same beetween GPRS and EDGE.
I never saw a "E" on my screen ...
Right you are Taron.
I never saw "E" on my TyTN, though I'm sure I was under EDGE coverage.
I think TyTN just doesn't show clearly what precise kind of network you are connected too.
It just shows "G" if you are under GSM network data coverage (GPRS and EDGE).
It will show "U" if you are under 3G network (UMTS and HSDPA).
what a pity, but thank you for the confirmation
One more question http. Do you have the voicemail icon working fine on your TyTN?
I'm on SFR, and when I have a voicemail, there is no icon neither SMS (even if my voicemail is configured to send a notification)...
Thanks,
just so you know there is a registry hack to show the E instead of G when you are on the edge network. this works seamlessly. i dont know for sure but there is probably a similar registry hack for the same thing with the UMTS/HSDPA connections.
Thanks for the tips, but it was said that this hack doesn't work on TyTN
You can use HSDPA in France ?
Yes, SFR is claiming to provide HSDPA in some regions :
http://www.sfr.fr/info_nouveautes/3G/3Gplus/index.jsp
taron said:
Hi all,
Do you know a software which let met know what connection type I'm using between GPRS/EDGE and UMTS/HSDPA ?
The E icon tweak doesn't work on HTC TyTN... Thanks!
Click to expand...
Click to collapse
I have been trying the same,but in vain.
The reg tweak working for the previous models is not working on the Hermes.
Which brings me to the following question:
Previously with ADDING this new reg key the EDGE differentiation started after rebooting the device.
So some .dll obviously checked for this key, parsed and decoded it and invoked the function in the device.
Question:
How is a (secret) reg key added to the registry parsed ?
Will we find somewhere in a .dll the string "EnableDifferGprsEdgeIcon" (or in the case of the Hermes something else) in real text ?
Can we look for such a value this way ?
Come on all experts here!
I cannot believe that nobody can detail on this here!!!
(P.S. Whenever I try to analyze the ril.dll with a hex editor it just shows zeros. Why ?)
Actually it is not that simple.
First you need a proper ROM dump, with the files intact.
Then you have to know which DLL is responsible for the feature. I don't think it's RIL, it may be device.exe or whatever is showing the taskbar.
Then you need a good decompiler like IDA, which will find the strings.
Keep in mind that all strings on the device are in Unicode so when you look at a string with a hex editor you will see something like this:
65 00 66 00 67 00 68 00
for ABCD
With IDA though you get a special window showing you the list of strings.
there could be difference between what info different operators send to phones connected to their network
so this could explain why ppl expiernce different things connectionwise
help me understand this. i usually just intall 2 cabs on my 8125 after hard reset. one is the GPRS settings for media net and the Edge icon. now that cab only changes my GPRS to icon to E. prob is it dosnt change. now if i install all the extended cab files my connection is ONLY g. that must mean that there is another cab somewhere in there that enables the switch. idk someone help
this sucks. i cant even tell if i have Edge or not.
levenum said:
Actually it is not that simple.
First you need a proper ROM dump, with the files intact.
Then you have to know which DLL is responsible for the feature. I don't think it's RIL, it may be device.exe or whatever is showing the taskbar.
Then you need a good decompiler like IDA, which will find the strings.
Keep in mind that all strings on the device are in Unicode so when you look at a string with a hex editor you will see something like this:
65 00 66 00 67 00 68 00
for ABCD
With IDA though you get a special window showing you the list of strings.
Click to expand...
Click to collapse
Hi levenum,
you mean a dump of all files which can be seen in a file explorer (e.g. Resco) but cannot be read, as they are marked ROM or hidden or system, don't you ?
Well there seems to be a tool for extracting such files on buzzdev, called "WM5 Files Dumper".
Unfortunately it won't work with my TyTN as it tries to write the files on to a predefied directory on "Storage Card". Unfortunately in the German version the Storage Card location is called Speicherkarte.
I do not know if it is safe to change this temporarily to Storage Card without destroying all other links and no longer be able to access or start the programs installed on the storage card.
Maybe someone could fix that rather in the "WM5 Files Dumper" where the output directory is hard-coded.
What a painful restriction ! I can imagine that this utility would be valuable for many of us trying to find out more about their devices...
I know that most of the strings are encoded in Unicode.
The Cygnus HexEditor is able to look for Unicode strings, so this wouldn't be the problem.
levenum said:
Actually it is not that simple.
First you need a proper ROM dump, with the files intact.
Then you have to know which DLL is responsible for the feature. I don't think it's RIL, it may be device.exe or whatever is showing the taskbar.
Then you need a good decompiler like IDA, which will find the strings.
Keep in mind that all strings on the device are in Unicode so when you look at a string with a hex editor you will see something like this:
65 00 66 00 67 00 68 00
for ABCD
With IDA though you get a special window showing you the list of strings.
Click to expand...
Click to collapse
Hi levenum,
you mean a dump of all files which can be seen in a file explorer (e.g. Resco) but cannot be read, as they are marked ROM or hidden or system, don't you ?
Well there seems to be a tool for extracting such files on buzzdev, called "WM5 Files Dumper".
Unfortunately it won't work with my TyTN as it tries to write the files on to a predefied directory on "Storage Card". Unfortunately in the German version the Storage Card location is called Speicherkarte.
I do not know if it is safe to change this temporarily to Storage Card without destroying all other links and no longer be able to access or start the programs installed on the storage card.
Maybe someone could fix that rather in the "WM5 Files Dumper" where the output directory is hard-coded.
What a painful restriction ! I can imagine that this utility would be valuable for many of us trying to find out more about their devices...
I know that most of the strings are encoded in Unicode.
The Cygnus HexEditor is able to look for Unicode strings, so this wouldn't be the problem.
well for t-mobile at least, when your on 3g you are on HSDPA, where ever there is UMTS signal there is HSDPA signal (i asked the question to t-mob cs)
Hey Guys,
I might as well just ask: Is there a way to add a A to Z listing (like the contacts) on the Music Tab in TouchFlo3D? Also, is there a way to add an option to the library menu to "update music library"? Now you'll have to manually delete the file in Application Data\HTC\Audiomanager_eng\.
I hope this isn't asked too much before, but it really could help my HD's 500+ music library...
yes, it s good idea
i have a problem to use audiomanager
i prefer the first version (htc touch)
I have been searching for quite a while (~2 weeks) & have not been able to find anything that helps me do what I want. I have been working on a modified HD2 ROM for my TMOUS HD2 {based on 2.13 ROM}. I have made many changes & have been able to apply most all the mods that interest me the most. There are many references to my problem; but no permanent fixes, & I am tired of the the tempory fix.
The tweak that has eluded me is the "FlashPowerUnavailable" registry entry. I have traced everything within the ROM & could not find the registry setup for this feature. After an extensive search thru all the .DLLs, I was finally able to find the settings. They are located in Battdrvr.dll. From what I understand; the .DLL reads the battery level & automatically inserts a registry key that disables the camera's flash whenever the battery level reaches 20% or less. Even if you delete the registry entry, the .DLL will reinsert it as soon as the battery goes below 20%. Personally I am tired of having to edit the registry everytime I want to take a pic when the battery level is low. The flash adds no real power drain & therefore the "FlashLightPowerUnavailable" is a BS setting that is completely unneeded.
So, here is my question to the community. Is there anyone that can rewrite the HD2's Battdrvr.dll so as to remove any reference to the "FlashLightPowerUnavailable" registry? If it's not possible to remove it completely; is there a way to change the trigger from 20% to 1%?
With the exception of changing graphics & text; I will not even pretend to know what I am doing when it comes to modifying a .DLL file. As such, I have not even attempted to modify this .dll. I have PEexplorer, Restorator, & ResHack on my machine, but I only use them for editing graphics & icons {& occasionally text}. If someone could modify the .dll, I would be extremely grateful. Of course; I'm sure that I am not the only one that would like to have this mod done. Of course; I am also willing to try & learn if someone would want to walk me thru modifying a .dll file.
I have attached BattDrvr.dll in the below .7z file. The zipped folder contains the original module {pulled from 2.13.531.1}, as well as the actual .dll itself. Any help is greatly appreciated.
Thanx:
Hippie
I'm not too familiar with Battery drivers but if you could find a way to have it be associated with Power Saving Mode you could just have power saver kick in at %1..?
But like I said I have no idea how it works..
Sorry for the delayed responce.
BattDrvr adds a registry entry when the battery reaches 20%. It is also readded to the registry upon every reboot. One would need to create an event to monitor the status of the reg entry, & delete/change it when it is activated. Personally; I am not real familiar with the event system & have not dealt with it too much {except to deactivate events thru DotFreds task mngr}.
Would creating an event utilize any system resources? I am trying to do this without adding another footprint to the system {no matter how small}. I know that modding the .Dll will accomplish what I want without creating any new footprints. This is why I posted this question to the community to begin with.
Personally I can't believe that this hasn't been done already. I also can't believe that there seems to be no interest in this whatsoever. I can't be the only one that uses the flash after the battery is below 20%.
I didn't test it, don't have device
What i did was:
Open hex editor, Search for "00 53 E3 35 00 00 9A 1C 37 91 E5 02 00 53 E3" the number before that found should be "14" (which is "20" in decimal) change to "01" (which is "1" in decimal).
I used IDA and HxD
The modded file is in attachment
Vico100 said:
I didn't test it, don't have device
What i did was:
Open hex editor, Search for "00 53 E3 35 00 00 9A 1C 37 91 E5 02 00 53 E3" the number before that found should be "14" (which is "20" in decimal) change to "01" (which is "1" in decimal).
I used IDA and HxD
The modded file is in attachment
Click to expand...
Click to collapse
Little Off topic .. but you seem to know howto hex edit stuff
Been woundering why no one has hexed skyfire so it doesnt check for the skyfire server .. and just goes to google or so other website ..
I was able to get SkyFire working today kinda .. by "tricking" it and made it goto google .. after that .. I was able to surf NP ..
Just a thought
hmmm..i don't know about android...never tried.
Vico100 said:
hmmm..i don't know about android...never tried.
Click to expand...
Click to collapse
No No .. Skyfire is also for WM
Vico100 said:
I didn't test it, don't have device
What i did was:
Open hex editor, Search for "00 53 E3 35 00 00 9A 1C 37 91 E5 02 00 53 E3" the number before that found should be "14" (which is "20" in decimal) change to "01" (which is "1" in decimal).
I used IDA and HxD
The modded file is in attachment
Click to expand...
Click to collapse
Glad I found this. Will try it out when TMOUS sends me my two free HD2s. Thanks. If anyone can report back as to weather it works or not, please do. Might take me a while since mine are on backorder.
Hello guys,
I've coded an infrared plugin for my personal use and am sharing it here. It adds Tasker/Locale the ability to send custom infrared commands (Hex Pronto Codes). Just install the apk and check the Infrared plugin under Actions menu.
You can find several Pronto codes on www.remotecentral.com
or you can buy a $10 media center IR receiver for your PC and find the codes for your existing remotes with the Eventghost plugin.
You should enter the code for a single command (e.g. Power off code for a TV) in groups of 4 followed by a space, here is an example: (no space after the last number)
0000 0067 0000 0030 0063 0018 0032 0018 0018 0018 0032 0018 0018 0018 0032 0018 0018
If you would like to send 2 or more commands in succession just add another Infrared plugin action and add the 2nd code.
It works with my S4 and it should (hopefully) also work with other Samsung phones/tablets with infrared blasters.
Doesn't work for Android 4.3+
Please hit the thanks button if you find this useful.
*reserved*
Wait, so if I all I want to do is turn off my projector using a Tasker activity, then I don't need any of the fancy remote control apps on Play Store?
All I need to do is find the hex code for my projector and then use your apk?
SWEEET!
You made my day. :good:
ozkaya said:
Hello guys,
I've coded a simple infrared plugin for my personal use and am sharing it here. It adds Tasker/Locale the ability to send custom infrared commands (Hex Pronto Codes). Just install the apk and check the Infrared plugin under Actions menu.
You can find several Pronto codes on www.remotecentral.com
or you can buy a $10 media center IR receiver for your PC and find the codes for your existing remotes with the Eventghost plugin.
You should enter the code for a single command (e.g. Power off code for a TV) in groups of 4 followed by a space, here is an example: (no space after the last number)
0000 0067 0000 0030 0063 0018 0032 0018 0018 0018 0032 0018 0018 0018 0032 0018 0018
If you would like to send 2 or more commands in succession just add another Infrared plugin action and add the 2nd code.
It works with my S4 and it should (hopefully) also work with other Samsung phones/tablets with infrared blasters.
Please hit the thanks button if you find this useful.
Click to expand...
Click to collapse
Absolutely awesome my friend. I posted a question in the At&t forum about a remote that I can voice control. I searched all the apps and nothing. Well, when you combo this with Utter! it is freaking great. I just programmed a task to hit 5-7-0 and when I say ESPN...Magic! Would you mind if I post a link in the At&t forum? I think more people will find this really cool. Great Job!!!!
Bubba Fett said:
Absolutely awesome my friend. I posted a question in the At&t forum about a remote that I can voice control. I searched all the apps and nothing. Well, when you combo this with Utter! it is freaking great. I just programmed a task to hit 5-7-0 and when I say ESPN...Magic! Would you mind if I post a link in the At&t forum? I think more people will find this really cool. Great Job!!!!
Click to expand...
Click to collapse
Sure, please post a link to this page, so that I can track downloads and answer questions. Thanks for the kind words.
This is the best thing ever. You should put it up on Google Play.
Will this work for the HTC one I've downloaded it but can't seem to make it work
Sent from my HTC One using xda app-developers app
I cannot match codes to my TV Panasonic TX 46GT30 - would You help?
This is a really good idea, I was thinking of it last night and today I googled "ir tasker" and found your plugin, excellent!
How ever I can't get it to work properly, my problem is that the IR-codes doesn't work, but they do work in Eventghost, but when I copy them to the plugin and try to send they do not work properly, Eventghost picks them up, but my devices doesn't, tv, reciever etc.
Do you guys have any ideas?
/ Samme
Thanks for this. Now all I need to do is find the magnavox power off code.
_____________________________
EDIT:
So, I found the code and it seems to be working. Thanks man. I've been looking for this for a while.
Thank you for the app, it works great!
Just a heads-up for people who use a cheap IR sensor (TSOP4838) on the Raspberry Pi with lirc_rpi: the sensor is so sensitive that it gets confused by the IR noise that is emitted from the proximity/gesture sensor on the S4. If I cover the hole right of the speaker, the cheap RPi sensor has no trouble to receive the codes from this app (there's a pronto2lirc script that can convert Pronto codes to a lircd.conf file), but if I don't cover that "hole", the cheap RPi sensor apparently can't distinguish the noise from the signal. I wrote about it here.
Thank you for sharing your IR plugin. I'm a Tasker noob but was able to stumble through and get my DVR to turn on/off. :thumbup:
Also, thanks for sharing about the IR receiver. I have one hiding in the garage. This will be very handy!
--OctOS Powered VZW GS4 Dev Edition
Thanks so much for the plugin. The problem I have right now is figuring out how to convert a winlirc config file to pronto hex. It is rather easy to go from pronto to lirc, but not the other way around. Anyone have any ideas of what to do?
P.S. Most of the devices I use aren't popular enough to have pronto codes listed on the internet.
great plugin. can't believe that i found an ir plugin. is it possible to send a code stored in a variable?
steven.smith said:
The problem I have right now is figuring out how to convert a winlirc config file to pronto hex. It is rather easy to go from pronto to lirc, but not the other way around. Anyone have any ideas of what to do?
Click to expand...
Click to collapse
It's a bit late, and I didn't try these programs myself, but have a look here.
Can someone tell me how to send an intent via tasker to the plugin to use a variable to send a code?
Action could be: com.twofortyfouram.locale.intent.action.FIRE_SETTING
Anyone have a clue why it keeps force closing on my S4 on 4.4? or anyone else even for that matter?
WatchOn app still works...
i get a force closing when something is wrong with the hex code. For example there is a space at the end.
Gesendet von meinem SM-N9005 mit Tapatalk
He did mention that it doesn't work on 4.3+, and as proof it stopped working for me today when I upgraded my Note 8 to 4.4. Was awesome up to that point. Fingers crossed for an update.
Any word on if this is ever going to get updated to work in 4.4? I love this Plugin.