What is it? why! - Touch Pro, Fuze General

the program is from an unknown publisher.you should install it only if you trust its publisher.do you want to continue.
when i install software!

Woooh!
Why not scream it...?
Because we don't know what your talking about.
WTF are you installing

thats the standard security message when you install unsigned software. you could get rid of it by using one of the tweak or adv config apps.

why is this in rom development

mvp2020 said:
why is this in rom development
Click to expand...
Click to collapse
It's not ... unless a moderator just moved it.
@kylinsure:
Here's the registry value to change.
Code:
[FONT="Courier New"]Registy Key : HKLM\Security\Policies\Policies
Name : 00001005
Value : 8 (REG_DWORD)[/FONT]
If you're the least bit uncomfortable editing the registry, follow gmgonzal recommendation.
HTH,

Related

PIE button remapper (not home page way, no more opening PIE :) )

Hi,
I found it very annoying to always close PIE after changing home page to opera.exe.
I don't know if somebody has already done it,(haven't found anything with searching) so here it is
And I am planning to rewrite my PIE button-> Ctrl remapper to WM6 so this was a great practice.
This program patches the already loaded keybddr.dll in memory by writing HKLM\Software\KeybPatch, PIEButton(string) value to keybddr.dll at 0x17120D4 adress.
Install :
--------
1. unzip kbpatch.zip and copy kbpatch.exe to Universal's \Windows\Startup
directory
2. Open your favourite registry editor and make KeybPatch key under
HKLM\Software.
3. Make PIEButton string value under HKLM\Software\KeybPatch with the path and executable to your new PIE button program.
For example on my Universal:
PIEButton(string) = \Program Files\Opera\opera.exe
LImitation : the length of the string must be smaller 55.
kbpatch.exe will warn you if you exceed this limit.
4. start kbpatch.exe. If everything is okay, this won't show you any notification.
5. Press PIE button
Your favourite program should start instead of PIE
Update ( PIE button --> Ctrl reassign howto)
---------------------------------------------------
1. Follow the above steps to install kbpatch.exe until point 2.
2. unzip simkey.zip and copy simkey.exe to Universal's
\Windows\StartUp directory
3. Make a new string value under HKLM\Software\KeybPatch.
PIEButton(string) = \Windows\StartUp\simkeys.exe
4. Change PieHomePage value under HKLM\HARDWARE\OEM\KEYBD to
the string "Ctrl"
5. Tap on kbpatch.exe
Tap on simkeys.exe (You will never have to do this again )
6. Try your new Ctrl button
Ctrl is sticky of course.
You can also try piectrl.cab. Just install and soft reset.
You can change PIEButton later, but to accept changes, you have to do a soft reset.
Envelope button reassign is coming soon
COOL! thanx!
hmm, makes me wonder, maybe now there's a way we could take control over the PIE button to map it as ALT key? (with PQz)
shlomki said:
COOL! thanx!
hmm, makes me wonder, maybe now there's a way we could take control over the PIE button to map it as ALT key? (with PQz)
Click to expand...
Click to collapse
Yes, It can be done.
The solution is very keybddr.dll dependant, but it's possible.
You can't do this with PQZ unless the author modify its code.
Source code
Okay, here is the source code :
( dedicated to g0dspeed , but I paste it here, so anybody who interested can see it )
Code:
int _tmain(int argc, _TCHAR* argv[])
{
WCHAR string[55];
WCHAR origstring[]=L"\\windows\\iexplore.exe";
HRESULT res;
if((res=RegistryGetString(HKEY_LOCAL_MACHINE,L"Software\\KeybPatch",L"PIEButton",string,54))==S_OK)
{
int size=wcslen(string);
string[size+1]=(WCHAR)L"\0";
DWORD *pointer = ((DWORD *)0x17120D4);
HINSTANCE hInst =LoadLibrary(L"keybddr.dll");
if(memcmp(pointer,origstring,21*2)==0)
{
DWORD oldProtect,old1;
VirtualProtect(pointer,size*2+1,PAGE_READWRITE,&oldProtect);
memcpy(pointer,string,size*2+1);
VirtualProtect(pointer,size*2+1,oldProtect,&old1);
}
else
{
MessageBox(NULL,L"I won't do anything :)\nYou are running this thingie on a wrong OS version or keybddr.dll is already patched.",L"Error",MB_OK);
}
FreeLibrary(hInst);
}
else
{
if(res==E_INSUFFICIENT_BUFFER)
MessageBox(NULL,L"Error copying registry string value to keybddr.dll\nThe string value is too long.(Max 49 chars)",L"Error",MB_OK);
else
MessageBox(NULL,L"Error copying registry string value to keybddr.dll\nMaybe the reg.value doesn't exists or type error occured.",L"Error",MB_OK);
}
return 0;
}
szilamer said:
Okay, here is the source code :
( dedicated to g0dspeed , but I paste it here, so anybody who interested can see it )
Click to expand...
Click to collapse
thanks a lot.
I think if kbpatch.exe could find 'windows\iexplore.exe' (by itself) start from where keybddr.dll loaded address (in keybddr.dll's file size), it worked well in any environment.
I changed value 0x17120d4 -> 0x148135c and worked at WM5-Uni O2 1.30.162 cooked ROM.
#I have only EVC4 and couldn't build new executable file so I patched oridinal kbpatch.exe...
szilamer, Thanks.
Is it possible also to remap MessageCenter and OK button?
Now i have "Ctrl" key with kbpatch + PQz_KEY(http://www.nicque.com/PQz/PQz_KEY.htm)
Any possible to have "Alt" key and "ESC" key at the same time?
Yeah..count my request too for remapping the messaging button
g0dspeed said:
thanks a lot.
I think if kbpatch.exe could find 'windows\iexplore.exe' (by itself) start from where keybddr.dll loaded address (in keybddr.dll's file size), it worked well in any environment.
Click to expand...
Click to collapse
That's a good idea. I think I will make it, maybe in next version
g0dspeed said:
#I have only EVC4 and couldn't build new executable file so I patched oridinal kbpatch.exe...
Click to expand...
Click to collapse
Evc4 is not a problem, only you have to change RegistryGetString, I think.
airya said:
szilamer, Thanks.
Is it possible also to remap MessageCenter and OK button?
Now i have "Ctrl" key with kbpatch + PQz_KEY(http://www.nicque.com/PQz/PQz_KEY.htm)
Any possible to have "Alt" key and "ESC" key at the same time?
Click to expand...
Click to collapse
Hmm, can you write me exactly how did you call pqz_key ?
( what parameters, what's your PIEButton value ? )
I haven't heard about this version of Pqz before ..
kdskamal said:
Yeah..count my request too for remapping the messaging button
Click to expand...
Click to collapse
OK, messaging button is not a problem
I think I can make a new version at the end of this week.
airya said:
szilamer, Thanks.
Is it possible also to remap MessageCenter and OK button?
Now i have "Ctrl" key with kbpatch + PQz_KEY(http://www.nicque.com/PQz/PQz_KEY.htm)
Any possible to have "Alt" key and "ESC" key at the same time?
Click to expand...
Click to collapse
I've tried that pqz_keys but I think it's not good for this job.
You cannot make it to send a keyup message, so you will have a stuck ctrl button. Try simkey instead
Or do you know a trick for pqz_keys, that I don't know ?
I've set the IE button up to Opera as instructed which works great thanks.
However, am I missing something in wishing that clicking a link in a message would open up Opera rather than PIE as it still does?
szilamer said:
I've tried that pqz_keys but I think it's not good for this job.
You cannot make it to send a keyup message, so you will have a stuck ctrl button. Try simkey instead
Or do you know a trick for pqz_keys, that I don't know ?
Click to expand...
Click to collapse
Yes, I got same problem with "key up" after my post.
I never heard about "simkey", any link?
airya said:
Yes, I got same problem with "key up" after my post.
I never heard about "simkey", any link?
Click to expand...
Click to collapse
Simkey is my program
You can download it from the first post.
It currently accepts two type of parameters: Ctrl and Alt.
( Compiled directly for this task )
grayme said:
However, am I missing something in wishing that clicking a link in a message would open up Opera rather than PIE as it still does?
Click to expand...
Click to collapse
I don't know a good answer for this.
Maybe I would try to modify file associations in the registry...
szilamer said:
Simkey is my program
You can download it from the first post.
It currently accepts two type of parameters: Ctrl and Alt.
( Compiled directly for this task )
Click to expand...
Click to collapse
Cool! thanks.
Done as per the instructions on first page with "kbpatch". No errors, warnings but PIE button does not work at all now. Tried to put both - way to LNK file of Opera and full route to opera.exe - same result. Neither Opera starts now nor PIE. Anu suggestions?
tsoifun said:
Done as per the instructions on first page with "kbpatch". No errors, warnings but PIE button does not work at all now. Tried to put both - way to LNK file of Opera and full route to opera.exe - same result. Neither Opera starts now nor PIE. Anu suggestions?
Click to expand...
Click to collapse
Which ROM do you have ? WM5 or WM6 ?
szilamer said:
I don't know a good answer for this.
Maybe I would try to modify file associations in the registry...
Click to expand...
Click to collapse
Glad it is not just me with this issue, any progress?
I won't do anything
Click to expand...
Click to collapse
Jwjwr... WM6 ROM WWE 2.02
And I can't copy keybddr.dll to search "iexplore.exe" string in it cause it's locked!
Went to download "ROM kitchen" ...

About .NET framework

Simple thing... I wanted to test iFonts in my TP. After installtion phone said it needs newer version of .NET framework. So I installed 3.5 as guide said. Then i restarted the phone but still iFonts doesnt work. I mean I still get the same error. I installed 3.5 again but no can do. Both the Net framework and the iFonts are installed in the device, not in SD card. Just curious to learn things with WM 6 gizmo.
Is there any knowledgement or what?
post a link of the program (homepage) maybe i can help
.NET 3.5 it's worcking very nice
Dl'd from this site.
http://www.microsoft.com/downloads/...49-3c6b-42f1-9fd9-0041345b3385&displaylang=en
Btw what version of NET Framework is as default in Touch pro
Ep!cFa!L said:
Dl'd from this site.
http://www.microsoft.com/downloads/...49-3c6b-42f1-9fd9-0041345b3385&displaylang=en
Btw what version of NET Framework is as default in Touch pro
Click to expand...
Click to collapse
by default .net in tp is 2.0
try installing this: http://www.tectonicitt.ro/NETCFv35.wm.armv4i.cab.zip
Try enabling it. With a registry editor, go to HKLM--> Software--> Microsoft --> .NETCompactFramework and you should see the 2 versions you have installed change the value of v. 2.xxx to 0 and the value of 3.xxx to 1. Save your changes and soft reset your device. Let us know how it goes.
XL3N7 said:
Try enabling it. With a registry editor, go to HKLM--> Software--> Microsoft --> .NETCompactFramework and you should see the 2 versions you have installed change the value of v. 2.xxx to 0 and the value of 3.xxx to 1. Save your changes and soft reset your device. Let us know how it goes.
Click to expand...
Click to collapse
changing those registry key will make wm to use .net 3.5 by default instead of .net 2 that's all
this is a tweak to increase speed for applications written in .net 3.5
Ok, but first, im totally newb with these things. Normally i've used phone just to talking with some1 so... what is HKML, and how to do soft reset.
Ep!cFa!L said:
Ok, but first, im totally newb with these things. Normally i've used phone just to talking with some1 so... what is HKML, and how to do soft reset.
Click to expand...
Click to collapse
i tested ifontz on my device and it's working
download this version http://thedogcorner.blogspot.com/ from what i read the cab version have some problems
softreset: you have a small button on the right side of usb port press it with the pen it have a hedphone icon over it
ah ofcourse that was softreset This seems to be difficult to prepare phone for specific progs if u have to even edit registry.
Btw i installed FinnishT9.cab but that doesnt give option 'Finnish' on lanquage list. I saw also it disabled Scandic from keypad. Uninstalling that T9 file got back Scandic. Is that also .NET framework dependent thing?
Ep!cFa!L said:
ah ofcourse that was softreset This seems to be difficult to prepare phone for specific progs if u have to even edit registry.
Btw i installed FinnishT9.cab but that doesnt give option 'Finnish' on lanquage list. I saw also it disabled Scandic from keypad. Uninstalling that T9 file got back Scandic. Is that also .NET framework dependent thing?
Click to expand...
Click to collapse
probably not

[Q] Help building a small exe that changes a registry key on boot

My phone has bugged out and will not let me unlock it through the default pin unlock. I know the pin is correct, and it seems to be a pretty common problem with 6.5?
Now I know hard reset is the quickest way out of this mess, but I need to get to the texts I have received since i last backed up (3 days or so)
Can someone help me with the construction of an exe to change a registry key on boot, in particular
HKLM\Security\Policies\Policies\00001023: 1
I feel if I can get this key modified on boot I will be able to access my phone again.
Planning on shuffling it over to the phone into the startup folder.
Any thoughts?
snooparoop said:
My phone has bugged out and will not let me unlock it through the default pin unlock. I know the pin is correct, and it seems to be a pretty common problem with 6.5?
Now I know hard reset is the quickest way out of this mess, but I need to get to the texts I have received since i last backed up (3 days or so)
Can someone help me with the construction of an exe to change a registry key on boot, in particular
HKLM\Security\Policies\Policies\00001023: 1
I feel if I can get this key modified on boot I will be able to access my phone again.
Planning on shuffling it over to the phone into the startup folder.
Any thoughts?
Click to expand...
Click to collapse
I can make the exe for you but how do you plan to put it in the startup folder exactly?
Using a linux box, can see the phone as a drive despite the locked status.
Cheers
snooparoop said:
Using a linux box, can see the phone as a drive despite the locked status.
Cheers
Click to expand...
Click to collapse
haha, sounds like a good trick. the other thing: do you have a custom rom installed? stock rom may have cert checking in place before full boot up finished so the exe has to be signed with a cert that's already on the phone (default OEM or custom installed cert).
Stock Telecom NZ rom is installed
snooparoop said:
Stock Telecom NZ rom is installed
Click to expand...
Click to collapse
we will also have to deploy custom cert then.. we can try anyway, I'm curious to see if it can be done =) PM me.
Anybody else need the C++ code to do this? It follows.
Code:
//
// Regkey.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "Winreg.h"
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
DWORD Value=1;
HKEY RegKey;
if(RegOpenKeyEx(HKEY_LOCAL_MACHINE,TEXT("\\Security\\Policies\\Policies"),0,0,&RegKey)==ERROR_SUCCESS)
{
RegSetValueEx(RegKey,TEXT("00001023"),NULL,REG_DWORD, (unsigned char *) &Value ,sizeof Value);
RegCloseKey(RegKey);
}
return 0;
}
Originally from post #4 in here:
http://forum.xda-developers.com/showthread.php?t=648103
If activesync is operational, you should be able to use MS security policy manager, see
http://www.howardforums.com/showthread.php/1238095-Un-set-Exchange-enforced-PIN-length-amp-etc

Custom Homescreen WP7

What do you mean of it ?
http://pocketnow.com/windows-phone/windows-phone-7-should-have-customizable-wallpaper
I like it
No One interested?
I would be. Looks good.
what's the point of this thread?
cool , but I don't think MS will make it happen , so you could wait for a long time I think.
Couldn't anyone at XDA do it?
uiproxy.dll
uixmobile.dll < used in most external exe's ex: res://UIXMobile!Controls.uix (found in FileBrowserCM.dll)
uixmobileres.dll
UIXMobileRes.dll.0407.mui
UIXMobileRes.dll.0409.mui
UIXMobileRes.dll.040C.mui
UIXMobileRes.dll.0410.mui
UIXMobileRes.dll.0809.mui
UIXMobileRes.dll.0C0A.mui
uixn.dll
uixrender.dll
uixsup.dll
UIX*
StartMenu.* ?? < cust menu starts here?
UIXMobile objs (FileBrowserCM notepad lol, sorted by found from up):
res://UIXMobile!PageStack.uix
res://UIXMobile!Frame.uix
res://UIXMobile!List.uix
res://UIXMobile!Label.uix
res://UIXMobile!CheckBox.uix
Defenitly *.uix is the format used in wp7
also
%PNG header checksum found in FileBrowserCM.dll (image)
[update1]
SOFTWARE\Microsoft\UIX << uixmobile.dll, secret/blocked reg key
-UIXOverride
-RefreshEnable
\UIX\MarkupRedirects
CeThemeEngineInstance::Initialize failed %x System\State\Shell Current Theme << ?
UIXMobile seems to ref in "uixn.dll" that got the ".text" header value:
"
ThrowOutOfMemoryException. res:// dll:// file:// Script error encountered. Raising Exception.
To disable, pass nofailfast as commandline argument to app that uses UIXMobile::RunApplication,
or set HKLM\Security\Shell\UIX\ShowScriptErrors=1.
Error Details:
Reserved
"
[update^]
rewrite with hex editor (uixmobile.dll)?
fiinix said:
uiproxy.dll
uixmobile.dll < used in most external exe's ex: res://UIXMobile!Controls.uix (found in FileBrowserCM.dll)
uixmobileres.dll
UIXMobileRes.dll.0407.mui
UIXMobileRes.dll.0409.mui
UIXMobileRes.dll.040C.mui
UIXMobileRes.dll.0410.mui
UIXMobileRes.dll.0809.mui
UIXMobileRes.dll.0C0A.mui
uixn.dll
uixrender.dll
uixsup.dll
UIX*
StartMenu.* ?? < cust menu starts here?
UIXMobile objs (FileBrowserCM notepad lol, sorted by found from up):
res://UIXMobile!PageStack.uix
res://UIXMobile!Frame.uix
res://UIXMobile!List.uix
res://UIXMobile!Label.uix
res://UIXMobile!CheckBox.uix
Defenitly *.uix is the format used in wp7
also
%PNG header checksum found in FileBrowserCM.dll (image)
[update1]
SOFTWARE\Microsoft\UIX << uixmobile.dll, secret/blocked reg key
-UIXOverride
-RefreshEnable
\UIX\MarkupRedirects
CeThemeEngineInstance::Initialize failed %x System\State\Shell Current Theme << ?
UIXMobile seems to ref in "uixn.dll" that got the ".text" header value:
"
ThrowOutOfMemoryException. res:// dll:// file:// Script error encountered. Raising Exception.
To disable, pass nofailfast as commandline argument to app that uses UIXMobile::RunApplication,
or set HKLM\Security\Shell\UIX\ShowScriptErrors=1.
Error Details:
Reserved
"
[update^]
rewrite with hex editor (uixmobile.dll)?
Click to expand...
Click to collapse
In english please, , no seriously please explain....
That .. was the .. explanation, =P, hackers understand.
I really like this. I was hoping WP7 had it native but it didn't.
Devs I will donate? =P
I don't like it, it kills the elegant design of WP7.
But as an additional option it would be okay for those who want it.
fiinix said:
uiproxy.dll
uixmobile.dll < used in most external exe's ex: res://UIXMobile!Controls.uix (found in FileBrowserCM.dll)
uixmobileres.dll
UIXMobileRes.dll.0407.mui
UIXMobileRes.dll.0409.mui
UIXMobileRes.dll.040C.mui
UIXMobileRes.dll.0410.mui
UIXMobileRes.dll.0809.mui
UIXMobileRes.dll.0C0A.mui
uixn.dll
uixrender.dll
uixsup.dll
UIX*
StartMenu.* ?? < cust menu starts here?
UIXMobile objs (FileBrowserCM notepad lol, sorted by found from up):
res://UIXMobile!PageStack.uix
res://UIXMobile!Frame.uix
res://UIXMobile!List.uix
res://UIXMobile!Label.uix
res://UIXMobile!CheckBox.uix
Defenitly *.uix is the format used in wp7
also
%PNG header checksum found in FileBrowserCM.dll (image)
[update1]
SOFTWARE\Microsoft\UIX << uixmobile.dll, secret/blocked reg key
-UIXOverride
-RefreshEnable
\UIX\MarkupRedirects
CeThemeEngineInstance::Initialize failed %x System\State\Shell Current Theme << ?
UIXMobile seems to ref in "uixn.dll" that got the ".text" header value:
"
ThrowOutOfMemoryException. res:// dll:// file:// Script error encountered. Raising Exception.
To disable, pass nofailfast as commandline argument to app that uses UIXMobile::RunApplication,
or set HKLM\Security\Shell\UIX\ShowScriptErrors=1.
Error Details:
Reserved
"
[update^]
rewrite with hex editor (uixmobile.dll)?
Click to expand...
Click to collapse
Can you do that ?
No, i cant. I like the UI
I'm curently working on this possibility, but I do not know when I'll be able to release something yet (I'm quite busy right now)!
Morpheus90 said:
I'm curently working on this possibility, but I do not know when I'll be able to release something yet (I'm quite busy right now)!
Click to expand...
Click to collapse
Oh Ok. Are you going to make a .XAP?
clicheboy said:
Oh Ok. Are you going to make a .XAP?
Click to expand...
Click to collapse
It depends, I have two ways ahead and I don't know exactly which one is the best to solve this "problem"...
I'll post once I have something user-ready!
Thanks! I really appreciate your work.
I'd like to have transparent icons and customized background...nice idea but i don't know the real difficult to have those...........
Diggia said:
I'd like to have transparent icons and customized background...nice idea but i don't know the real difficult to have those...........
Click to expand...
Click to collapse
Well, is not that hard to make the icons transparent, what you do is,
1.Open up the Xap of the app with 7zip or other .zip application
2.Change the applicationicon.png and background.png with a photoeditor(Gimp,PhotoShop, etc) to desired opaque/transparency.
From here as to auto-transparent icons and back wallpaper I'm stumped.
It would ruin the home screen. You wouldn't see the wallpaper anyway cause the tiles aren't transparent though diff colors would be nice

Winfile

https://github.com/Microsoft/winfile was open source recently, so I built it for rt.
It doesnt ran under WinRT8.1 with same error like WinDjView "number 1566 didn't fnd in the library". Rebuilded new one WinDjView with leaked MFC from VS2001beta works well (with some limitation). Please research this bug. I need an 2window file manager for my RT. How can I help ya?
any chance to get the error as shown in the English ui? would be more familiar to me.
I don't think this project uses mfc.
my guess is some linked dll has an ordinal of 1566 which moved in the dll between rt8.0 and rt8.1. if i get some time I'll recreate the libs from custom def and avoid including ordinal values, so the linker will be forced to load by symbol name.
a note to remind myself how to do that:
lib.exe /def:libfile.def /out:libfile.lib
Please look at there its my opened issue
https://github.com/Microsoft/winfile/issues/6
Unfortunately even when I install English UI some parts of UI still in prenstalled language (Russian in my case) ecen when it sets to English and reboot. This error is still in Russain and Im not sure how it sounds correctly in English.
hooddy said:
Please look at there its my opened issue
https://github.com/Microsoft/winfile/issues/6
Unfortunately even when I install English UI some parts of UI still in prenstalled language (Russian in my case) ecen when it sets to English and reboot. This error is still in Russain and Im not sure how it sounds correctly in English.
Click to expand...
Click to collapse
Privet! Yes, thanks, I am in that github thread also.
Please try this one if you have the time and willingness.
TLDR; Made libs without ordinals to force the system to load libraries and symbols by name. Based upon your error message containing a numerical value and not knowing whether the system will fail if incorrect ordinal or will retry by name.
Steps to produce are different from these: http://www.wanderinghuman.com/blog/archives/000123.html
In addition to that workspace, here's the changes:
Linked without each library individually to see which symbols were used
For each library
created a library.def file with the missing symbols obtained from linked errors
used this command: lib /def:library.def /out:library.lib /MACHINE:ARM
If First time;Observed linker error on resulting library about 0x1c0 (MACHINE:ARM) and remembered that's the Windows CE ARM thumb1
Hex edited library.lib to replace 0x1c0 with 0x1c4 (THUMB2) where relevant
end
Adjusted linker properties to hard code my libraries, so it didn't search default libraries.
Linked and produced what is attached here.
Edit, had typo in a def file, so fixing binary after fixing it/
smb_gaiden said:
any chance to get the error as shown in the English ui? would be more familiar to me.
I don't think this project uses mfc.
my guess is some linked dll has an ordinal of 1566 which moved in the dll between rt8.0 and rt8.1. if i get some time I'll recreate the libs from custom def and avoid including ordinal values, so the linker will be forced to load by symbol name.
a note to remind myself how to do that:
lib.exe /def:libfile.def /out:libfile.lib
Click to expand...
Click to collapse
NEVER LINK WITH ORDINALS, JUST NEVER. That made me lose a metric ton of time reporting stuff which was already ported to RT otherwise. It's a very bad idea, it's worse having builds with ordinals than no builds at all; a fixed version is attached by the way.
Why are you doing it by generating .libs? that's not required anymore, just add the ARM desktop SDK in individual components on VSinstaller
black_blob said:
NEVER LINK WITH ORDINALS, JUST NEVER. That made me lose a metric ton of time reporting stuff which was already ported to RT otherwise. It's a very bad idea, it's worse having builds with ordinals than no builds at all; a fixed version is attached by the way
Click to expand...
Click to collapse
Thanks for the build. I miss some dll to run it. Can ya share it please?
And please share your Far manager build. I really miss them.
smb_gaiden said:
Privet! Yes, thanks, I am in that github thread also.
Please try this one if you have the time and willingness.
TLDR; Made libs without ordinals to force the system to load libraries and symbols by name. Based upon your error message containing a numerical value and not knowing whether the system will fail if incorrect ordinal or will retry by name.
Steps to produce are different from these: http://www.wanderinghuman.com/blog/archives/000123.html
In addition to that workspace, here's the changes:
Linked without each library individually to see which symbols were used
For each library
created a library.def file with the missing symbols obtained from linked errors
used this command: lib /def:library.def /out:library.lib /MACHINE:ARM
If First time;Observed linker error on resulting library about 0x1c0 (MACHINE:ARM) and remembered that's the Windows CE ARM thumb1
Hex edited library.lib to replace 0x1c0 with 0x1c4 (THUMB2) where relevant
end
Adjusted linker properties to hard code my libraries, so it didn't search default libraries.
Linked and produced what is attached here.
Edit, had typo in a def file, so fixing binary after fixing it/
Click to expand...
Click to collapse
Privet! Ill try this new build and it's not workd with the same error as early was. What about all you write there I not really undasttod what can I do for you to improve it Im sorry for my stupidility(((
black_blob
can you tell me more about that please?
hooddy said:
Privet! Ill try this new build and it's not workd with the same error as early was. What about all you write there I not really undasttod what can I do for you to improve it Im sorry for my stupidility(((
Click to expand...
Click to collapse
you'll have to install the ucrt compatibility update
smb_gaiden said:
black_blob
can you tell me more about that please?
Click to expand...
Click to collapse
Windows 10 SDKs for VS2017 have the full set of ARM .libs these days. Set the SDK version to 10.0.16299
black_blob said:
you'll have to install the ucrt compatibility update
Click to expand...
Click to collapse
Where I can get it? Some msu file please. I try to obtain this dll form powershell and dot.net at github with no luck.
@black_blob thank you
@hooddy don't try to understand, just some development information.
smb_gaiden said:
@black_blob thank you
@hooddy don't try to understand, just some development information.
Click to expand...
Click to collapse
I thinks it's an https://support.microsoft.com/en-us/help/3118401/update-for-universal-c-runtime-in-windows I didn't get it over WU. Can ya share direct link for KB3118401 and KB2919355 msu for WinRT please?
Maybe this can help to build proper
https://github.com/Microsoft/winfile/issues/102
Well how about working RT build? Nope?
hooddy said:
Well how about working RT build? Nope?
Click to expand...
Click to collapse
Ended up choosing the nuclear option, and that seems to work alright.
black_blob said:
Ended up choosing the nuclear option, and that seems to work alright.
Click to expand...
Click to collapse
Ya make my day! Thank ya really much!
black_blob said:
Ended up choosing the nuclear option, and that seems to work alright.
Click to expand...
Click to collapse
Oh cool, you saved my future self some time! I ordered a surface RT in order to run 8.1 and leave my main one undisturbed. However, still have some work to do elsewhere, so can you elaborate on the nuclear option in order to save my future self more time? Thank you very much!
Static linking for everything + LTCG + removal of all unused code. It ends up working so well that it has the same size as the binary with outside depends.
I got my new (used) surface rt a few days ago, spent 3 days discovering the service pack update black screen error, installing all the service packs, then using the tool provided by Qiangong et. all.
Reproduced the error with my Winfile and realised that there was one critical library that was being linked with ordinals. Drum roll... kernel32.lib due to not using /NODEFAULTLIBS.
Anyway, it has been corrected and attached is a dynamically linked winfile.exe which runs on Windows RT 8.1. It has already been signed.

Categories

Resources