How to use HTC Reg editor?! - Windows Phone 7 Development and Hacking

I have found entries relating to device volume in registry.
MinIncallvolume
MaxdbAtten - this one seems to be dB limt afte which device reacts and tries to not exceed it. That is in line with EU specification on noise polution and what my device does. I have noticed that all my songs play with the same volume so there needs to be a limiter.
MaxInCallUIVolume - I assume this one goes to Incallvolume as it is set to only 10 while next one is set to 30.
MaxSystemUIVolume
My question how do I edit those ranges with HTC Registry editor, it asks me for I think Hex line to locate the specific registry entry or is there another way?

Could you give us the full path of the registry entries?
I'll see if we have writing permissions on those part of the registry.

The HTC "Registry Editor" is not actually a registry editor it is a "Register Editor". They are not the same thing.

(nico) said:
Could you give us the full path of the registry entries?
I'll see if we have writing permissions on those part of the registry.
Click to expand...
Click to collapse
HKCU/Control Panel/Volume
owenw said:
The HTC "Registry Editor" is not actually a registry editor it is a "Register Editor". They are not the same thing.
Click to expand...
Click to collapse
Elaborate what is the differeance?

ruscik said:
HKCU/Control Panel/Volume
Elaborate what is the differeance?
Click to expand...
Click to collapse
the register has to do with onboard memory locations.

fb401 said:
the register has to do with onboard memory locations.
Click to expand...
Click to collapse
Thank you removed that

Related

[SOLVED] Opera doesn't recognize clicks when fully zoomed out

Hi,
i am facing the issue that opera doesn't seem to follow any links when it is fully zoomed out. The link gets highlighted but nothing else happens. Once I zoom in and click again things work beautifully, however this is quite a cumbersome way to do things: Zoom in, click zoom out all the time... Do you experience similar issues? Is there a way to make opera react on the first click? I am using the stock opera that came preinstallen on the tp2.
Thank you,
Kork
I changed the value of "Minimum overview zoom" from 60 to 90, then Opera recognize clicks when fully zoomed out
Sounds cool. Where exactly did you configure this? I don't have such an option in my opera preferences menu. Is this a registry hack?
Found it. You have to enter opera:config into the address bar. Then you get all kinds of advanced settings. Thanks a lot.
Hmm, i fiddled around with the value, seems it has no effect whatsoever. I set it to 80, 90, 200, 30... No noticable difference. Which version of Opera are you working with?
Did you do a soft reset after changing the values?
Well i switched it off (by pressing the power key for a few seconds, clicking yes on the question if i really wanted to switch off the device) and then on again. Is that a soft reset?
Opera mobile official thread
Have a look here:
http://forum.xda-developers.com/showthread.php?t=486502
(Last pages for 9.7)
Tried the min/max/overview 100/100/60 suggested there. No joy either.
My setting: Minimum overview zoom = 90; maximum zoom = 200; minimum zoom = 160
Opera version: 16643
this setting works for me
Same version here.
I finally got it working now, however I had to change the settings directly in \Windows\Opera9\opera.ini. Changing things in the Web interface did not work for me.
I changed through opera.ini as well.
Ah okay
wonghyf said:
I changed through opera.ini as well.
Click to expand...
Click to collapse
Any chance of explaining to a noob how to change through the .ini as I can't solve this problem the other way.
there's a file named opera.ini under \windows\opera9 directory. you use notepad to open the file and edit the setting and then save
wonghyf said:
there's a file named opera.ini under \windows\opera9 directory. you use notepad to open the file and edit the setting and then save
Click to expand...
Click to collapse
I have two files named Opera in that folder, but I can't open either of them using the device itself.
When I hook it up to my laptop, I can't even see the Windows folder.
ericezza said:
I have two files named Opera in that folder, but I can't open either of them using the device itself.
When I hook it up to my laptop, I can't even see the Windows folder.
Click to expand...
Click to collapse
the file is named opera.ini. you should use some notepad programme to open this file.
Hi,
the built in windows file explorer hides the file extensions, thats why you see two files named "opera".
I'd recommend you install totalcommander. You can get it for free from http://www.ghisler.com/pocketpc.htm. Then, open it, navigate to \Windows\Opera9. Then you should see the opera.ini. Mark it with your stylus. Then you have an edit icon right next to the menu at the bottom of the screen. Click it, and you can edit the file. Make your changes, save it, and soft-reset your device. That should do the trick.
Good luck - Jan
I'm thinking of trying this. Looks like it only auto-zooms the page for you ? Is that accurate?
Mike Mercury said:
I'm thinking of trying this. Looks like it only auto-zooms the page for you ? Is that accurate?
Click to expand...
Click to collapse
Basically, yes.

Search button = google.com???

I don't know if this has been posted already and I'm not sure if this is a feature or some Hostile Takeover by Google.
When I have IE open on my HD7 no matter what page I'm on hitting my search button takes me to Google.com! I don't have anything against Google I actually prefer it, but I find this to be kind of strange on a Windows 7 handset.
Two words: Mobile Operators (Tmobile, AT&T, etc)
Is there any way to changes this? this is pretty annoying
My Trophy uses a Vodafone web to search. I have to go out of IE and then press search to use Bing.
Mobiplayer said:
Is there any way to changes this? this is pretty annoying
My Trophy uses a Vodafone web to search. I have to go out of IE and then press search to use Bing.
Click to expand...
Click to collapse
From the secret microsoft documents I've read, this is a WP7 registry setting that carriers adjust before shipping the phones.
I don't think we're too far from having a reg editor given that apps have already been demonstrated that can browse the file system. Just chill a few weeks
I think you can edit registry entries through the MFG application. I sure wouldn't mess with it for fun, though....
According to this document
All you need to do is change the following 2 keys:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes
"DefaultScope"="Bing"
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\Bing
"Url"="http://www.bing.com/search?q={searchterms}&src=IE7-Mobile"
Click to expand...
Click to collapse
now the question is how to add this reg keys in a .xap file or how to get access to the registry on the wp7 device

[XAP - Source] Samsung Registry Editor

A lot of you guys have been asking about how to read/write/add values to the registry on Samsung devices, so I wrote a small app showing how to use the Samsung native DLLs to do so.
Please notice that you can use this app called RegistryViewer that works on all WP7 devices [read only for now, but useful to discover the registry] here http://forum.xda-developers.com/showpost.php?p=9716755&postcount=19
This app is limited too compared to the HTC ones, unfortunately a big part of the registry is restricted for read/write.
Nice! I have a samsung
There is no way to list the reg keys right?
tried to read some values, but all i get is gibberish...
how can i build the solution i get a missing reference error for "using Microsoft.Phone.InteropServices;"
eried said:
Nice! I have a samsung
There is no way to list the reg keys right?
Click to expand...
Click to collapse
Yes you can, here is a registry viewer to list the reg keys http://forum.xda-developers.com/showpost.php?p=9716755&postcount=19
tried to read some values, but all i get is gibberish...
how can i build the solution i get a missing reference error for "using Microsoft.Phone.InteropServices;"
Click to expand...
Click to collapse
This is natural when you try to access restricted areas in the registry or you try to read a DWORD while it is a String and vice versa!
For the InteropServices look at the requirements in my blog post here http://www.martani.net/2010/12/reading-imei-on-windows-phone-7-devices.html
Here is a new version of my app that support Samsung device.
XAP: http://bit.ly/eEZ0Uf
Perhaps we can combine this with the registry tweaks to create an on device app limit remover. I am sifting through your code and am gonna combine it if I can figure it out correctly.
This should work.
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
"MaxUnsignedApp"=dword:7fffffff ; Allow max number of unsignd apps
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
Click to expand...
Click to collapse
I have finally gotten this working correctly. I will post my results however I will not post the product because I know it will inevidetly support piracy.
I have gotten it compiled, however it is not reading or writing to the registry properly.
FireSokar said:
I have gotten it compiled, however it is not reading or writing to the registry properly.
Click to expand...
Click to collapse
please take a look at the posts above http://forum.xda-developers.com/showpost.php?p=10565219&postcount=4
so what would the format i enter be to get the values i posted above?
FireSokar said:
so what would the format i enter be to get the values i posted above?
Click to expand...
Click to collapse
What values in the registry you are trying to access/modify ?
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\In stall]
"MaxUnsignedApp"=dword:7fffffff ; Allow max number of unsignd apps
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
I want to set the values to that. This way my phone can install unlimited apps and will not check if it should be allowed to.. I am a developer however have an 3 app limit and chevron still gets reverted after x amount of days. According to what i've read this should prevent the revert.
FireSokar said:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\In stall]
"MaxUnsignedApp"=dword:7fffffff ; Allow max number of unsignd apps
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
I want to set the values to that. This way my phone can install unlimited apps and will not check if it should be allowed to.. I am a developer however have an 3 app limit and chevron still gets reverted after x amount of days. According to what i've read this should prevent the revert.
Click to expand...
Click to collapse
Ok, the COMRilClient.dll doesn't seem to change these values, but I just tried the functions in FCRouterProxy.dll and it worked perfectly.
Take a look at this thread, it shows how to use the FCRouterProxy.dll (which is the same method anyways) http://forum.xda-developers.com/showthread.php?t=914055
I'm not exactly smart on coding... you wouldn't wanna get this started off would you? After all this is something that most samsung owners would want.
FireSokar said:
I'm not exactly smart on coding... you wouldn't wanna get this started off would you? After all this is something that most samsung owners would want.
Click to expand...
Click to collapse
Lol I can't get it figured out either...i should have paid better attention when I was in school lol....glad someone asked though
FireSokar said:
I'm not exactly smart on coding... you wouldn't wanna get this started off would you? After all this is something that most samsung owners would want.
Click to expand...
Click to collapse
In the same thread actually, there is an app that uses that DLL to edit registry http://forum.xda-developers.com/showpost.php?p=10623201&postcount=19
I'll have a look at it in the morning. Don't feel like getting off the laptop. I'll post if I get anywhere. Thanks for the link.
OMG Getting update on Rogers Samsung Focus
Changed the carrier ID to 000-88 (before I had it debranded blank). Took a few tries but it worked. That VPN to Hungary is hella slow but the update downloaded and I'm now in the backup phase. Will post again with final results.
has anyone had issues getting the samsung registry to run on 7008
cgrizz said:
has anyone had issues getting the samsung registry to run on 7008
Click to expand...
Click to collapse
Wondering this myself. On my ATT Focus, once I got NoDo installed I started getting the following message when trying to run SamsungRegistry, "SamsungRegistry has been revoked by Microsoft. Please uninstall it."
Not a big deal, just wanted to switch my MobileOperator key back.

Changing Registries

I want to do the following:
xboxmod said:
Google
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]
"DefaultScope"="Google"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\Google]
"URL"="http://www.google.com/m?hl=en&gl=us&client=ms-hms-tmobile-us&q={searchTerms}"
Click to expand...
Click to collapse
I installed Registry Editor from TouchXperience on my Samsung Omnia 7. I went to:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]
And changed DefaultScope's value to "Google" (without the quote obviously). For:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\Google]
I need to create a new key and name it Google in SearchScopes, right?
I tried to do that, but Registry Viewer could not create the new key. I tried multiple times, but it wouldn't work. I get the following error:
Unable to create registry key "Google".
I also accidentally created a new value called "a" but when I try deleting it, I get a similar error. I get the following error:
Unable to delete registry value "a".
TouchXperience registry editor uses the COMRilClient.dll from Samsung to get access to the registry on Samsung devices. This dll only allows read/write of dword and string values. It does not allow to create/delete keys and it does not allow to delete values. It is also restricted to keys that have permissions for Elevated Privileges. It has no access to key that need TCB permissions.
At the moment I am working on "WP7 Root Tools" which allows you to read and write to the entire registry. At the moment I am using a little part of the Samsung drivers, so for now it is only suitable for Samsung devices. I will try to make it work for all devices in time. With a work-around I have access to the phone with TCB privileges.
I have been working on it for quite a time now and I am close to releasing an alpha version. It has been delayed, because last month my grandpa died and now my mother is on Intensive Care because she had an aneurism and needed brain surgery. She is recovering in very little steps and I pray she will be fully recovered after rehabilitation.
So I am not fully committed to hacking at this moment, but I promise it won't be very long before I can release a working alpha version.
Thanks for the info, though does that mean I can't even remove the "a" value that I accidentally added?
I'm sorry to hear about your family situation. I hope your mother fully recovers sooner than later.
Chaoticaa said:
Thanks for the info, though does that mean I can't even remove the "a" value that I accidentally added?
Click to expand...
Click to collapse
Yes, that's right. But it probably won't do any harm. So don't bother.
Chaoticaa said:
I'm sorry to hear about your family situation. I hope your mother fully recovers sooner than later.
Click to expand...
Click to collapse
Thanks.
Heathcliff74 said:
But it probably won't do any harm. So don't bother.
Click to expand...
Click to collapse
Yeah, it doesn't even make sense for it to have any affect unless something is looking for that value name in my registry. I'm just a neat-freak that hates that extra accidental value a lot more than the fact that I can't do what I was trying to accomplish.
Chaoticaa said:
Yeah, it doesn't even make sense for it to have any affect unless something is looking for that value name in my registry. I'm just a neat-freak that hates that extra accidental value a lot more than the fact that I can't do what I was trying to accomplish.
Click to expand...
Click to collapse
You could always hard-reset your phone
Hahaha not that bothered by it.

Creating simple contacts' application

Hello all!
I am looking into development of something which is similar to people's list in people hub. What I want is a huge list of people on one page with (of course) LonglistSelector. When I tap a member of the list, I want the user to be navigated to the details page of that item. User needs to be able to manipulate and modify the data on the details page. The list is going to be real huge. I have a few question about the approach.
1. What is the best way to store data? I am thinking of creating local database with a few columns with person's name in one column, age in another etc.
If this is the approach to go for, can anyone provide me detailed description about the databases? I have deeply gone through the MSDN, WindowsPhoneGeek and many other documentations. I feel dumb about the whole database scenario.
2. Is XML list as database a good approach for large amounts of data or it will be pain?
i would say SQL CE is your best bet to store huge amounts of data. XML is slow at large volumes of data when compared to JSON. I would prefer JSON over XML.
darthveda said:
i would say SQL CE is your best bet to store huge amounts of data. XML is slow at large volumes of data when compared to JSON. I would prefer JSON over XML.
Click to expand...
Click to collapse
So basically, I need to go with the local database using LINQ. Now, how do I do that? As I mentioned, I have read intensively. However, I just don't seem to get hang of it.
akshay2000 said:
So basically, I need to go with the local database using LINQ. Now, how do I do that? As I mentioned, I have read intensively. However, I just don't seem to get hang of it.
Click to expand...
Click to collapse
I created my local database with LINQ based off this sample:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh286405(v=vs.92).aspx
First define the columns which you would want to create and then modify the sample code to suit your needs.
For contacts, there is an excellent sample available:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh286416(v=vs.92)
if you are stuck with some particular piece of code then let me know, i would be glad to help you out
darthveda said:
I created my local database with LINQ based off this sample:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh286405(v=vs.92).aspx
First define the columns which you would want to create and then modify the sample code to suit your needs.
For contacts, there is an excellent sample available:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh286416(v=vs.92)
if you are stuck with some particular piece of code then let me know, i would be glad to help you out
Click to expand...
Click to collapse
I had gone through those links earlier! Back then, they made very little sense to me. I have researched a bit by now. I will update here if I get stuck somewhere.
hi
i had read the thread now and maybe this example of MS can help you... it's not based on local database, but uses ASP.NET Web API!
so maybe this is a way for you..
darthveda said:
if you are stuck with some particular piece of code then let me know, i would be glad to help you out
Click to expand...
Click to collapse
I'm attaching my code file to the post. When I try to run the app and click the button (it tries to add an item to the observablecollection) I get NullReferenceException error. Apparently, the collection's instant hasn't been created. But I tried to instantiate it using 'new' keyword - no luck. Am I doing anything wrong?
akshay2000 said:
I'm attaching my code file to the post. When I try to run the app and click the button (it tries to add an item to the observablecollection) I get NullReferenceException error. Apparently, the collection's instant hasn't been created. But I tried to instantiate it using 'new' keyword - no luck. Am I doing anything wrong?
Click to expand...
Click to collapse
solution folder will be better, you are using telerik controls, i can't recreate your solution.
It's done!
darthveda said:
solution folder will be better, you are using telerik controls, i can't recreate your solution.
Click to expand...
Click to collapse
Thanks for the response! After a lot of debugging and (almost literally) adding Debug.writeline after each line of code, I managed to solve it. It had nothing to do with the Database or the ObservableCollection. It was totally different - GroupDescriptor issue! More details here: http://stackoverflow.com/questions/...ion-while-adding-item-to-observablecollection
I'll post here if I get stuck with something again.
Again, thanks a lot!
Any reason you are using telerik controls? for starters and very simple programs, you can use controls from silverlight toolkit or coding4fun toolkit. i am using longlist selector which does the job just like the jumplist from telerik controls does.
darthveda said:
Any reason you are using telerik controls? for starters and very simple programs, you can use controls from silverlight toolkit or coding4fun toolkit. i am using longlist selector which does the job just like the jumplist from telerik controls does.
Click to expand...
Click to collapse
No specific reasons except that the Jumplist provides StickyHeader functionality. And animation framework seems nice addition too!

Categories

Resources