[TUT] Disabling ResProxy and getting it to stick. - Windows Mobile

Hi
Okay so this isn't much of a tutorial but it bothered me for quite a while and I couldn't find any solutions out there (but let me know if this has been posted before). So for all those who try disabling ResProxy only to find out that it changes to random values after reboot, this is how to solve it.
Instead of just adding this reg value:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\ResProxy]
"ShareMemSize"=dword:00000000
Add this one as well:
Code:
[HKEY_CURRENT_USER\Software\HTC\BootLauncher\Services\ResProxy]
"Module"=""
It worked for me. Another way that should probably work is to delete the whole ResProxy key in the latter part, like this:
Code:
[-HKEY_CURRENT_USER\Software\HTC\BootLauncher\Services\ResProxy]
I hope it helps some people out

Sure will try this...thx..

seeM_ZA said:
Hi
Okay so this isn't much of a tutorial but it bothered me for quite a while and I couldn't find any solutions out there (but let me know if this has been posted before). So for all those who try disabling ResProxy only to find out that it changes to random values after reboot.
Click to expand...
Click to collapse
Just keep ResLoader.dll (copy to another package for exp) and delete the whole ResProxy package.

Related

how to change wm6 default apps?

for example: make thumbcal default calendar
thanks
Menu-Extras-Setting-Standard for Calendar
if you want a application be the default one it must be in Settings of this application, so just look there a little bit, seems to make more sense than open such threads By the way:
1. Did you read first tread for such questions ?
2. why dont you ask that in the thumbCal thread ?
3. The default Calendar thing has been asked a hundred times there, so it seems you even dont searchor read there ?
if you mean the left softkey too, search for "changing softkeys"
thank you
unfortunately the default app setting for this change in thumbcal does not work, thats why i spent two hours looking in different threads for a solution, the one hack that did work for somebody i couldnt duplicate because i dont know how to edit a system file (and i tried several different ways)
i did ask in that thread, but thot asking here would catch somebodys eye who either had a solution or something positive to contribute
i thot this forum was about sharing knowledge
if this post is really that out of line please delete it
wayda said:
unfortunately the default app setting for this change in thumbcal does not work, thats why i spent two hours looking in different threads for a solution, the one hack that did work for somebody i couldnt duplicate because i dont know how to edit a system file (and i tried several different ways)
i did ask in that thread, but thot asking here would catch somebodys eye who either had a solution or something positive to contribute
i thot this forum was about sharing knowledge
if this post is really that out of line please delete it
Click to expand...
Click to collapse
try using total commander, you may have to remove the readonly or system attributes to the file through total commander, edit it (which you can also use total commander for) and then change the attributes back
thank you for responding!
this was one of the first things that i tried but i wanted to try it again before i replied
i can uncheck attributes of calendar.exe ie: read only and system but i cant uncheck "inROM" its greyed out
so when i hit ok read only and system revert back to checked
thanks again for trying to help, i appreciate it
works with manilla2D, so guess with more apps?
wayda said:
for example: make thumbcal default calendar
thanks
Click to expand...
Click to collapse
http://www.vijay555.com/?Releases:VJBrisk
- Download VJBrisk.cab
- Install it
- Copy vjbrisk.exe
- make a backup of calendar.exe
- Rename vjbrisk.exe to calendar.exe
- make a LNK (shortcut) to your application and name it vjtarget.lnk
Place both files in your Windows directory (yes, overwrite calendar.exe)
I found this somewhere in the Manilla2D threads (don't know wich one anymore).
Good luck
bigchrizzieboy said:
http://www.vijay555.com/?Releases:VJBrisk
- Download VJBrisk.cab
- Install it
- Copy vjbrisk.exe
- make a backup of calendar.exe
- Rename vjbrisk.exe to calendar.exe
- make a LNK (shortcut) to your application and name it vjtarget.lnk
Place both files in your Windows directory (yes, overwrite calendar.exe)
I found this somewhere in the Manilla2D threads (don't know wich one anymore).
Good luck
Click to expand...
Click to collapse
ok, I might be retarded or severely slow, but I've tried this, and I can't even copy calendar.exe to somewhere else.. running stock htc WM 6.1 rom
wayda said:
for example: make thumbcal default calendar
thanks
Click to expand...
Click to collapse
Can't you just open up thumbcal and go to its menu option and select "Extras" followed by "Settings", then scroll down and pick/check "Set as default calendar"?
EDIT: Sorry just read post 2 who practically tells you to do the same, must have ignored it as I feel the post was a bit out of line. On the same note though, that was all I did and it seemed to work, that may be because I am using an Omnia at present.
wayda said:
thank you for responding!
this was one of the first things that i tried but i wanted to try it again before i replied
i can uncheck attributes of calendar.exe ie: read only and system but i cant uncheck "inROM" its greyed out
so when i hit ok read only and system revert back to checked
thanks again for trying to help, i appreciate it
Click to expand...
Click to collapse
Hopefully this will solve your query.
cheers,
Arefin

[GUIDE] Remove the BETA watermark from windows start menu and lockscreen

Hi guys, this is just a tiny little tutorial to help anybody who doesnt know how to hide this text, it is usually in new SYS's so you may have to do this whenever you upgrade your SYS, however sometimes depending on where you downloading your SYS from, it may already be done for you.
Navigate to:
SYS\SYS Version\shared\COMMON\Shell
Open up the RGU called '1f1aca24-d942-464a-9281-10567741499c' with notepad
using the search feature (CTRL+F) search for the word beta, and you will find a string which looks like this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
Change the today and expiry values like this:
Code:
"Today"=""
"Expiry"=""
so now the whole string looks like this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
"Today"=""
"Expiry"=""
Tip: If you want you can do a little Rom branding by writing anything in those values, for example:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
"Today"="Astraios Rom"
"Expiry"="The Best Rom Around"
Most people would prefer it left blank, but its always an option
Very funny, but to remove Beta watermark (let's call it as it would be called) once and for all - it's enough to do the following:
add to any rgu which is placed in packages.sof list lower than shell rgu (1f1aca24-d942-464a-9281-10567741499c.rgu) the line:
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
That's it
AndrewSh said:
Very funny, but to remove Beta watermark (let's call it as it would be called) once and for all - it's enough to do the following:
add to any rgu which is placed in packages.sof list lower than shell (1f1aca24-d942-464a-9281-10567741499c.rgu) rgu the line:
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
That's it
Click to expand...
Click to collapse
Ok sorry :/
This has been discussed a lot of time before. But it is good info, so thanks for bringing this up.
I suggest just have the reg settings in EXT, that way dont need to search for the reg key in SYS.
ai6908 said:
This has been discussed a lot of time before. But it is good info, so thanks for bringing this up.
I suggest just have the reg settings in EXT, that way dont need to search for the reg key in SYS.
Click to expand...
Click to collapse
Yeah thats another way too
ai6908 said:
I suggest just have the reg settings in EXT, that way dont need to search for the reg key in SYS.
Click to expand...
Click to collapse
I did not offer anyone to search for any shell rgu.
I just said that in order to remove Beta - the sting mentioned should be processed by your kitchen AFTER shell rgu.
So you may add the line wherever you want - as for me - I don't have any EXT in my kitchen - that's why I said about the rgu processing order (packages.sof)
Sorry but this is discussed many times.
You can find it in the sticky.
{{Chef Central}} Guides | Tutorials | Tips & Tricks | Fixes | Stickies [READ FIRST!!]
http://forum.xda-developers.com/showpost.php?p=6283929&postcount=7
I'm closing this thread, please read first a little before you post.

[PROBLEM] Removing the "Redirect" values wont work

I know there are solved posts about this but I have tried all of those. I've been trying to figure this one out for the past 2 days now.
Remove the "Redirect" value under the following keys:
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\Owner]
[HKEY_LOCAL_MACHINE\ControlPanel\Buttons]
[HKEY_LOCAL_MACHINE\ControlPanel\Input]
The tips from above wont work in my rom. I have checked the registry after flashing my cooked rom and there is no "Redirect" value anymore on the said keys. I dont know why still the problem is there.
Under all settings>Personal>Buttons.. There are no buttons to assign...
When tying and XT9 is activated there are no words on the box of suggested words. Just an empty box.
Anyone who know something about this?
Thanks and Regards,
Pongskie
Have you tried just exporting the entire Startinfo registry key? That works fine for me, and it's the best way to keep your start menu organized.
Farmer Ted said:
Have you tried just exporting the entire Startinfo registry key? That works fine for me, and it's the best way to keep your start menu organized.
Click to expand...
Click to collapse
Hi Farmer Ted thanks, but can you please explain further how the entire startinfo could be related to my problem? I got confused there. I checked the startinfo entries and exported it. I didn't see anything related to my problem.
Startinfo has all the settings reg keys for the start menu. Also, look and see if there's a provxml with the re-direct keys. Delete all of them, and put the provxml in an EXT. I've never had the issue before (just read about it). I have a start menu EXT that is filled with modified (mostly empty) provxml's as well as my startinfo registry in an app.reg file. The modified provxml's over-write the stock ones from any new Sys build, and I never get any surprises in my start menu.
pongskie,
Just for the heck of it, add this to your personal EXT reg since it will be cooked last. This should work for you
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\Owner]
"Redirect"=-
[HKEY_LOCAL_MACHINE\ControlPanel\Buttons]
"Redirect"=-
[HKEY_LOCAL_MACHINE\ControlPanel\Input]
"Redirect"=-
lioryte said:
pongskie,
Just for the heck of it, add this to your personal EXT reg since it will be cooked last. This should work for you
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\Owner]
"Redirect"=-
[HKEY_LOCAL_MACHINE\ControlPanel\Buttons]
"Redirect"=-
[HKEY_LOCAL_MACHINE\ControlPanel\Input]
"Redirect"=-
Click to expand...
Click to collapse
Thanks lioryte but even though I added those in my personal EXT reg still the problem exist. I check my phones reg through CeReg Editor and I saw that the redirect was not there but still the problem exist. I really had no idea why this is happening.
All Settings > Personal > Buttons... no buttons to assign..
When typing and XT9 was active, the suggested words box was empty. The words are not there.
pongskie said:
Thanks lioryte but even though I added those in my personal EXT reg still the problem exist. I check my phones reg through CeReg Editor and I saw that the redirect was not there but still the problem exist. I really had no idea why this is happening.
All Settings > Personal > Buttons... no buttons to assign..
When typing and XT9 was active, the suggested words box was empty. The words are not there.
Click to expand...
Click to collapse
That pretty much suggests that a provxml is causing the problem. It's easy enough to fix this: look at all the provxml's in your dump folder, and search for redirect. You'll find it in 10 minutes. Then edit that file and put it in an EXT that runs at the end of your build.

.RGU file entries not applied.

While cooking my ROM for testing under emulator, i create a directory called "MyTweeks" and copy it under sys folder.
That directory includes the following files:
1- "mytones.mp3".
2- "initflashfiles.txt" --> empty.
3- "option.xml" --> contents are not necessary.
4- "7fd5181e-f7fc-4404-908a-7f71e2568c53.rgu"
The .RGU file includes:
REGEDIT4
;
; Set Default RingTone
;
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Script"="apr"
"Sound"="\\Windows\\mytones.mp3"
After the ROM boots-up, i found the .MP3 file copied successfully to \windows directory, but the registry tweak is not there
can any one tell me what's wrong with this .RGU?
Also, any registry entry is missing....
You should post this to the respective kitchen thread to get an answer.
you better check for duplicated GUID(number) or post your whole rgu contents. do you have enter(empty line) at its end?
eventually - another guid has priority because of overall number rule(thus your tweak is overwritten by another rgu).
and ignore posts like above...it's typical here;/(you know +1 to posts count, but 0 help given).
pupakota said:
you better check for duplicated GUID(number) or post your whole rgu contents. do you have enter(empty line) at its end?
eventually - another guid has priority because of overall number rule(thus your tweak is overwritten by another rgu).
and ignore posts like above...it's typical here;/(you know +1 to posts count, but 0 help given).
Click to expand...
Click to collapse
Your comment sounds good for me.
I already post all the content of the .RGU file as above, nothing more in the file.
Yes, i entered a blank line just before the end of the file.
There is no other GUID with the same name in the whole project at all, it is actualy unique number like this:
7fd5181e-f7fc-4404-908a-7f71e2568c53.rgu
How can i give this .RGU a priority? or make the changes after all other changes?
if this question couldn't be answer here, where exactly should i post (whitch Threads)?
higher number has higher priority(at last in normal kitchens), so ffxxxxxx- will overwrite 7fxxxxxx-.
just do search for HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0 on whole kitchen(UNICODE search) to determine, if that reg entry is doubled/tripled etc...also, make another search(ascii search) for same reg entry regarding provxmls(as it's another way of reg import, and this is overwriting all rgu's eventually).
on the other hand i wonder about mp3 as ringtone, are you sure, if that file is ok(i mean, if it really work as ringtone on your actual rom)? sometimes system sets ringtone to default, if file set is let's say..bad.
btw, do not make guid by yourself, use tool for this:
www.guidgen.com
ahhh, another thought:
try to add
"DefaultSound"="\\windows\\xxx.xxx"
to your reg.
|
v
Code:
REGEDIT4
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Script"="apr"
"DefaultSound"="\\Windows\\mytones.mp3"
pupakota said:
higher number has higher priority(at last in normal kitchens), so ffxxxxxx- will overwrite 7fxxxxxx-.
just do search for HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0 on whole kitchen(UNICODE search) to determine, if that reg entry is doubled/tripled etc...also, make another search(ascii search) for same reg entry regarding provxmls(as it's another way of reg import, and this is overwriting all rgu's eventually).
on the other hand i wonder about mp3 as ringtone, are you sure, if that file is ok(i mean, if it really work as ringtone on your actual rom)? sometimes system sets ringtone to default, if file set is let's say..bad.
btw, do not make guid by yourself, use tool for this:
www.guidgen.com
ahhh, another thought:
try to add
"DefaultSound"="\\windows\\xxx.xxx"
to your reg.
|
v
Code:
REGEDIT4
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Script"="apr"
"DefaultSound"="\\Windows\\mytones.mp3"
Click to expand...
Click to collapse
1- MP3 as a ringtone is working fine if i manually change it. why you're wondering about that?
2- I tried to do the registry manually after booting, it works great. but in kitchen it isn't.
3- I tried many time to Generate a UUID by the help of the site you sent me with no success.
4- I did a search in the project and found the following:
Search "RingTone0" (4 hits in 4 files)
G:\HTC-HD2\Work\SYS\OS\mxipupdate_metabase_001.provxml (1 hits)
Line 1: <?xml version="1.0"?><wap-provisioningdoc><characteristic type="Metabase"><characteristic type="FileOperation\%CE2%\MenuUpArrowDisabled.bmp\*" translation="install"><parm name="datatype" value="string" /><parm name="semantic-type" value="file" /><parm name="rw-access" value="3" /><parm name="access-role" value="88" /></characteristic><characteristic type="FileOperation\%CE2%\MenuUpArrowBackground.bmp\*" translation="install"><parm name="datatype" value="string" /><parm name="semantic-type" value="file" /><parm name="rw-access" value="3" /><parm name="access-role" value="88" /></characteristic><characteristic type="FileOperation\%CE2%\MenuUpArrow.bmp\*" translation="install"><parm name="datatype" value="string" /><parm name="semantic-type" value="file" /><parm name="rw-access" value="3" /><parm name="access-role" value="88" /></characteristic><characteristic type="FileOperation\%CE2%\MenuSelector.bmp\*" translation="install"><parm name="datatype" value="string" /><parm name="semantic-type" value...
G:\HTC-HD2\Work\SYS\Phone\2a6583ff-6047-46cc-b9be-b7deca1152c3.rgu (1 hits)
Line 125: [HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
G:\HTC-HD2\Work\SYS\Shell\mxip_system.vol (1 hits)
Line 71: 
G:\HTC-HD2\Work\SYS\zzz_MyTweeks\ffe8dc40-7d63-11e0-a411-0800200c9a66.rgu (1 hits)
Line 17: [HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
5- I tried "DefaultSound" with no success.
Thanks.
You didn't mention a .dsm. I suspect you need to create one with the same guid as the .rgu.
Farmer Ted said:
You didn't mention a .dsm. I suspect you need to create one with the same guid as the .rgu.
Click to expand...
Click to collapse
I used "totalfire" to create one but the same problem still there.
also, if i removed it from the folder, the BuildOS creates a dummy one with the same results.
really, i fed-up, but i'm thanking all of you whom tried to help
I just need any one of whom success to apply his own registry tweaks in his cooked ROM to tell me how he did it..
As Simple As this....
edit.. I attached the files that i need it to be installed...
ok, this may be weird what i am gonna write, but have you tried to place your ringtone in proper place designed for additional ringtones by initflashfiles?
here's catch - some things WONT work when not COPIED while first boot.
i have no time for explaining this, but try to edit initflashfiles to copy this ringtone to proper place, than edit reg to match.
and another interesting thing: try to rename Mytones to mytones.
before this - check one thing with rom that was not working earlier - make sr, and go into windows to see, if your file became..folder.
there's small chance of getting weirdness with files with capital letters in name, sometimes.
and finally - did you make softreset before checking, if ringtone is set after flash(do NOT check this before first softreset)?
and postfinally - convert your file to something native for WM(weak advice, but...).
btw, skip dsm for this, it is useless for such things.
@pupakota
I tried but still something wrong.
I have no problems with the file copy, the file copied successfully.
The problem with the registry entries... any registry entries within the .RGU file didn't applied after flashing the ROM or even First Softreset after first boot.......
There are nothing changed in the emulator registry for any of the registry entries.
one thing, you are making this for emulator(Oo)?
have you checked your pack on real device?
you shouldn't take emulator behaviour as sure mirror of real thing...
You should try putting another registry key into that .rgu; it could just be a dummy key (like hklm\software\test). Then see if it is parsed during cooking. It's starting to sound more like a provxml is over-writing your values during bootup.
Farmer Ted said:
You should try putting another registry key into that .rgu; it could just be a dummy key (like hklm\software\test). Then see if it is parsed during cooking. It's starting to sound more like a provxml is over-writing your values during bootup.
Click to expand...
Click to collapse
That's exactly what happened.
The Dummy was not posted.
So, Whitch provxml is over writing my REG? or how i could come over this prob?.
robekia1 said:
That's exactly what happened.
The Dummy was not posted.
So, Whitch provxml is over writing my REG? or how i could come over this prob?.
Click to expand...
Click to collapse
Search for all provxml in oem, and go through them!

(Q) mapping hardware keyboard, polish layout

Hello everyone
I am trying to acheive the right method for mapping hardware keyboard. Usb host works perfectly, always does what it should on firmware 1.21 with nook manager, kernel version 176. I found some polish keychar kcm file on the net, then I renamed that file with right vendor and product id for my keyboard (terminal, keyboard connected in host mode, typed: lsusb) and placed it in system/usr/keychars... But that didn't make any effect on keyboard mapping, looks like that file is ignored. I could try to edit qwerty.kl in system/usr/keylayouts but from what I know, you cant add there symbols like "ą" or "ś". What I am going for is just these few polish letters : Ą,Ę,Ś,Ó,Ż,Ź. Normally you get them by pressing modifier (alt) and for example, " A", what gives you "Ą" etc. Usb mode ultilty, and little app avaible on net - Key Test, both will show you the same keycode when you pressing a letter or letter+modifier. That makes hard to find out how to edit keylayout file (qwerty.kl) as you cant guess that needed keycode. I was looking quite a lot for answers on xda before I decided to ask, but what I finds does'nt look like exact sollutions. Hopefully I didn't miss anything. Adb is working fine for me, any hints appreciated, Thanks
Step one, determine what .kl and kcm.bin the Nook is trying to load.
You will see this if you have ADB and logcat running when you connect.
It will try to load one based on the VID/PID.
It will tell you the exact name of the file.
Probably your naming is different.
I ran into this already.
I didn't bother, I just use qwerty.kl and qwerty.kcm.bin
These are the defaults when there is no VID/PID specific files.
If your kcm.bin is correct it should have the UTF-16 values inside.
The format is pretty simple. After the header (32 bytes) it's like:
Code:
{
uint32 keycode;
uint16 label;
uint16 keypad;
uint16 normal;
uint16 shifted;
uint16 alt;
uint16 altshifted;
}
You can just enter the little-endian UTF-16 values using a hex editor.
Ok I got it! It is easy to find some proper tutorials for hex editing qwerty.kcm. But before I did that effort and started learning about it, I searched for some very lazy sollution: qwerty.kcm.bin already prepared by someone else. I found one (obviosly with polish layout),I swapped the original file with it, set the permissions to be the same as in original file, reboot (don't know if absolutely necessary)... thats it, easy. All that thanks to some hard working man who (as he has mentioned on other forum) spent the whole night learning on how to edit qwerty.kcm in hex editor.
Anyway, thank you very much for directing me in the right way. Knowing which files should be edited helped me to resolve the problem. Also logcat is very interesting tool, as it might give some image of how the system works. Thanks
hi, I have the same problem but i can't find the qwerty.kcm.bin with polish letters. Could you provide the file ??
bartbrudz said:
hi, I have the same problem but i can't find the qwerty.kcm.bin with polish letters. Could you provide the file ??
Click to expand...
Click to collapse
Hi, I'll try to copy it from my nook directory, once I have some time.
hi, here is my whole keychars folder (/system/usr/keychars). You can make a backup of your keychars forder and then overwrite it with mine. You can let me know if it works for you. Find attachment below. Powodzonka.
Awesome!!! works perfectly. :victory: Thank U !!!
bartbrudz said:
Awesome!!! works perfectly. :victory: Thank U !!!
Click to expand...
Click to collapse
cool, I am glad I could help! : ) (although real credits goes to someone who created this qwerty.kcm file)

Categories

Resources