Re-sign lg xap file for samsung - Windows Phone 7 Development and Hacking

is there a way to re-sign the voice to text xap for lg or change the manifest file so that it will work with samsung focus...like they did with the omnia apps?

jasontac said:
is there a way to re-sign the voice to text xap for lg or change the manifest file so that it will work with samsung focus...like they did with the omnia apps?
Click to expand...
Click to collapse
Yes, just double click your xap file and point windows to this deployer. Choose replace signature and remove drm:
http://forum.xda-developers.com/showthread.php?t=908300

eried said:
Yes, just double click your xap file and point windows to this deployer. Choose replace signature and remove drm:
http://forum.xda-developers.com/showthread.php?t=908300
Click to expand...
Click to collapse
first, i want to thank you for posting your tools. i tried your suggestion to install the Voice-to-Text app, but i still got a message saying "Sorry, this application only works on LG's phone." guess it has to be patched differently?

This is not a DRM issue.
HTC and LG apps all check if they are running on the correct type of phone.
We have to found what they actually check (registry? file? driver call? other native API?) to see if we can trick this API.

cortez.i said:
first, i want to thank you for posting your tools. i tried your suggestion to install the Voice-to-Text app, but i still got a message saying "Sorry, this application only works on LG's phone." guess it has to be patched differently?
Click to expand...
Click to collapse
What is the file? I can patch it if they not use exclusive lg binaries only installed on that device

(nico) said:
This is not a DRM issue.
HTC and LG apps all check if they are running on the correct type of phone.
We have to found what they actually check (registry? file? driver call? other native API?) to see if we can trick this API.
Click to expand...
Click to collapse
It should be registry. This is the registry of an HD7:
Code:
[HKEY_LOCAL_MACHINE\System\Platform\DeviceTargetingInfo]
"OemName"="HTC"
"MODeviceName"="HD7 T9292"
"OEMDeviceName"="Schubert"
[HKEY_LOCAL_MACHINE\Ident]
"FriendlyName"="HTC HD7"
Hopefully, someone will share the registry attributes from an LG handset

(nico) said:
This is not a DRM issue.
HTC and LG apps all check if they are running on the correct type of phone.
We have to found what they actually check (registry? file? driver call? other native API?) to see if we can trick this API.
Click to expand...
Click to collapse
Waste of time. HTC apps make use of HTC drivers which only HTC phones have because they are in the HTC ROMs.

(nico) said:
This is not a DRM issue.
HTC and LG apps all check if they are running on the correct type of phone.
We have to found what they actually check (registry? file? driver call? other native API?) to see if we can trick this API.
Click to expand...
Click to collapse
It's very easy for LG. They get a custom property via the camera API. It's in the LGAppCommonLibrary.dll . Just replace the call with "return true" and you are done.
(But the voice to text app is not working as good as I expected..)

Hades32 said:
It's very easy for LG. They get a custom property via the camera API. It's in the LGAppCommonLibrary.dll . Just replace the call with "return true" and you are done.
(But the voice to text app is not working as good as I expected..)
Click to expand...
Click to collapse
thanks for this info but How did you change the call to return true?
you have decompiled the dll??
what tool ? reflector?

xboxmod said:
thanks for this info but How did you change the call to return true?
you have decompiled the dll??
what tool ? reflector?
Click to expand...
Click to collapse
ildasm. First use reflector and find the function, then view the IL and copy and paste something unique. Then convert the dll to IL using ildasm, then edit the IL to return true by searching for the unique string then editing the part you want, then convert it back to a dll using ildasm again. Then open it in reflector to check the code has been changed the way you expected.

Cant we just make a dummy file
Can't we just make a dummy file for when an HTC app tries to check what type of phone it is checks this and thus lets you use that app?

Hades32 said:
It's very easy for LG. They get a custom property via the camera API. It's in the LGAppCommonLibrary.dll . Just replace the call with "return true" and you are done.
(But the voice to text app is not working as good as I expected..)
Click to expand...
Click to collapse
any way you can expand on what you mean by replacing the call with return true?
also, can you explain the whole use of ildasm and reflector again? i feel like i found the string, i just dont know what you mean by copy paste something unique or editing the part you want

I recently read a similar forum somewhere (I forge otherwise I'd offer up) there was a link to get the LG apps on any unlocked wp7 the .xap files are there but the only one I tried was voice to text. Its worth a Google search I suppose tho cause it is out there.
Sent from my Focus using XDA Windows Phone 7 App

Related

[App][WM6.5] CHome Visual Editor - compatible with all kinds of CPR

[31/08/2009] New release is avaliable, you can download the new verison from: http://cve.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=32228
CHome Visual Editor is a visual CPR editor for Windows Mobile 6.5.
** You need install .net 3.5 sp1 in your computer in order to run CVE. **
With CVE, you can edit:
Titanium
LS_AlarmScene
LS_LockScene
LS_PhoneAlertScene
LS_PhoneCallScene
LS_SimplePinScene
StartMenu_GridScene
For this release, you can:
Open CPR file visually and move elements visually.
Modify all properties of the selected element by the property grid on the right side.
Change & Save (auto) the screen resolution.
Change & Save (auto) the scale rate.
Undo/Redo
Setup folder mapping between PPC and your OS.
Import registry file to load the element values (text, image source)
Save the modification.
More functions not listed.
This release only provide two language resource. The embedded language is Chinese, en-US is provided. If your OS language is not en-US, you may need to open configuration.xml and add one line to display en-US:
<language>en-us</language>
or you will get Chinese character.
wow.. looks like very good application
downloading & trying it now!!!!
Looks good indeed! Just downloaded but I can't try it now...
Got some problem here, I can't open any .cpr file to edit???
morningmoon said:
Got some problem here, I can't open any .cpr file to edit???
Click to expand...
Click to collapse
do you mean the application crash when you open *.cpr? can you upload error.log file here under CVE folder? it's all about the exceptions, none private will recorded in this file.
<?xml version="1.0"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<scale>1</scale>
<language>en-us</language>
<resolution>
<Width>240</Width>
<Height>320</Height>
</resolution>
<directory name="\Windows">
<mapping>Windows</mapping>
<mapping>E:\WindowsMobile\i780_21501_Kitchen\SYS\Lockscreen_DPI_96</mapping>
</directory>
<directory name="\Program Files">
<mapping>Program Files</mapping>
</directory>
</configuration>
Click to expand...
Click to collapse
Placed the language line in like above. But still no English.
Is there some thing we need to do more.
ebsbow said:
Placed the language line in like above. But still no English.
Is there some thing we need to do more.
Click to expand...
Click to collapse
This is strange, i copied your configuration and tested it in my comupoter, it works fine.
If you opened CVE and close it normally (the configuration will be saved again while cloing), the configuration should not not looks like your posted. the lanuguage should be the first element of configuration node. It may caused by path you placed CVE or permission issue.
JerryJiang said:
do you mean the application crash when you open *.cpr? can you upload error.log file here under CVE folder? it's all about the exceptions, none private will recorded in this file.
Click to expand...
Click to collapse
No. not crash, just can't get the Open File box to display, so I can't choose any file to open???
morningmoon said:
No. not crash, just can't get the Open File box to display, so I can't choose any file to open???
Click to expand...
Click to collapse
I never wrap the open file dialog. The open file dialog i am using is system provided, do you have any other WPF application in your computer that with a open file feature, if so, can you tested it whether it works fine?
error
Opening any CPR file the application is crashing. I am uploading the error log file. Please look and give a resolution.
Copied the "<language>en-us</language>" just below the configuration tag. But the problem is still the same.
All is in Chinees. is there anything else I need to check?
I have added the last error log.
ajeshm said:
Opening any CPR file the application is crashing. I am uploading the error log file. Please look and give a resolution.
Click to expand...
Click to collapse
The exception is caused by some color string of TextStage element in your CPR file, normally, i define the color in CPR file use the #FFxxxxxx pattern.
it seems that the color definition between WM and WPF have inconsistent rules. So can you look through the CPR file and try to find out whether there is any color definition in <TextStage/> section is not follow the rule?
I will update my code to fix the problem if you can kindlly post the inconsistant rule. Thx.
ebsbow said:
Copied the "<language>en-us</language>" just below the configuration tag. But the problem is still the same.
All is in Chinees. is there anything else I need to check?
I have added the last error log.
Click to expand...
Click to collapse
<?xml version="1.0"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<language>en-US</language>
<enable_effect>true</enable_effect>
<scale>1</scale>
<resolution>
<Width>240</Width>
<Height>320</Height>
</resolution>
<directory name="\Windows">
<mapping>Windows</mapping>
</directory>
<directory name="\Program Files">
<mapping>Program Files</mapping>
</directory>
</configuration>
karim_31 said:
<?xml version="1.0"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<language>en-US</language>
<enable_effect>true</enable_effect>
<scale>1</scale>
<resolution>
<Width>240</Width>
<Height>320</Height>
</resolution>
<directory name="\Windows">
<mapping>Windows</mapping>
</directory>
<directory name="\Program Files">
<mapping>Program Files</mapping>
</directory>
</configuration>
Click to expand...
Click to collapse
Thanks for posting your configuration. I should update my build package to include the language element instead of let the users update the xml by themselves.
ebsbow said:
Copied the "<language>en-us</language>" just below the configuration tag. But the problem is still the same.
All is in Chinees. is there anything else I need to check?
I have added the last error log.
Click to expand...
Click to collapse
Could you please try again with karim_31's configuration?
Unfortunately I don't have one. Still can't use this application
Any suggestion? What do I need to install for the open file to work?
Thanks!
JerryJiang said:
I never wrap the open file dialog. The open file dialog i am using is system provided, do you have any other WPF application in your computer that with a open file feature, if so, can you tested it whether it works fine?
Click to expand...
Click to collapse
The language works now,
Thanks, but the app seems to crash a lot when loading an cpr.
Disabling effects helps, but the apps crashes on other actions as well.
ebsbow said:
The language works now,
Thanks, but the app seems to crash a lot when loading an cpr.
Disabling effects helps, but the apps crashes on other actions as well.
Click to expand...
Click to collapse
Can you upload your error.log so that i can do some analysis to improve the quality of the application.
Sure. Here you go.
ebsbow said:
Sure. Here you go.
Click to expand...
Click to collapse
It's caused by color token:
http://forum.xda-developers.com/showpost.php?p=3952898&postcount=12
i will add more check of the token, by unless i get the inconsistant token, the color may not display correctly.
I cant even launch it
No error log... so where do i need to install all the files? it simply says that the app fails... thats all!
what im a doing wrong?
I set all in C:\ and the stwater added to windows directory

[Q] Which key to have unsigned apps?

Hi, I unlocked my phone and begun to install some apps.. Now, I reached the limit and I want to install more. I red that you have to modify this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
"MaxUnsignedApp"=dword:7fffffff
But I just have a horrible registry editor, so I can't see the folder Install.. please help me!
Use provxml method as described here: http://forum.xda-developers.com/showpost.php?p=15791198&postcount=109 (such as many other forum topics)
P.S. I understand, you are very proud of your HTC HD7 but for God sake remove that big picture from your signature!
sensboston said:
Use provxml method as described here: http://forum.xda-developers.com/showpost.php?p=15791198&postcount=109 (such as many other forum topics)
P.S. I understand, you are very proud of your HTC HD7 but for God sake remove that big picture from your signature!
Click to expand...
Click to collapse
The thing is I don't have TouchXplorer, just an awfull registry editor and I can't install more sideload apps! I'm running 7.0.7004
lauticol said:
The thing is I don't have TouchXplorer, just an awfull registry editor and I can't install more sideload apps! I'm running 7.0.7004
Click to expand...
Click to collapse
then remove one app , and install the unlimit app.
after you did that you can install the removed app again , its sooooooooo easy you know
Haha I didn't know you could uninstall and install another.. Thanks

[Q] modify the registry with wp7 sdk ?

Need help - How to modify the registry when i'm programming an app?
It seems to be possible because it gives a registry editor (WP7 Root Tools).
Can someone help me?
-Der_Bayer- said:
It seems to be possible because it gives a registry editor (WP7 Root Tools).
Click to expand...
Click to collapse
It - what? MS WP7 SDK or HEATHCLiFF74? SDK don't have tools or APIs to access registry. But native signed code and forum whitehat's app has
ok that mean's that i can't modify the registry?
-Der_Bayer- said:
ok that mean's that i can't modify the registry?
Click to expand...
Click to collapse
By "official way" - you can't. It's a "sandbox" concept of WP7 architecture.
sensboston said:
By "official way" - you can't. It's a "sandbox" concept of WP7 architecture.
Click to expand...
Click to collapse
ok can you tell me how i can make it^^
-Der_Bayer- said:
ok can you tell me how i can make it^^
Click to expand...
Click to collapse
A couple of good points to start:
http://walshie.me/2010/11/12/windows-phone-7-native-apps-the-missing-link
http://forum.xda-developers.com/showthread.php?t=1006331
Also don't hesitate to use xda's search: posts by authors fiinix, Heathcliff74, Cotulla might be interesting for you.

[Q] fix Wave III lock screen

Hi !
as you know Wave III lock screen have a problem with incoming massage ! it doses't show the message first time.
i think it's because of the SWF script . i have NOT any knowledge about Falsh Script but i think you may help me.
i just can get the ٍُّSWF scripts with "Flash Decompiler Trillix"
can any body (with enough knowledge) compare tow scripts and fix the problem?
hotfile.com/dl/165423381/9e51d59/XML.rar.html
VIVASAMSUNG. said:
Hi !
as you know Wave III lock screen have a problem with incoming massage ! it doses't show the message first time.
i think it's because of the SWF script . i have NOT any knowledge about Falsh Script but i think you may help me.
i just can get the ٍُّSWF scripts with "Flash Decompiler Trillix"
can any body (with enough knowledge) compare tow scripts and fix the problem?
hotfile.com/dl/165423381/9e51d59/XML.rar.html
Click to expand...
Click to collapse
Although I dont have any flash knowledge, I am trying to check this with the default lock screen of 5750. I was able to port it to get it working on wave 5750. Need to check the file you have provided.
How exactly did you get the xml file?
How exactly did you get the xml file?
Click to expand...
Click to collapse
Decompile *.swf with this Tool:
i just can get the ٍُّSWF scripts with "Flash Decompiler Trillix"
Click to expand...
Click to collapse
Best Regards
adfree said:
Decompile *.swf with this Tool:
Best Regards
Click to expand...
Click to collapse
I am looking for some tool that will allow me to apply changes back to the swf file after modifying xml file or any tool that allows me to edit the swf file directly.
Flash Decompiler Trillix
Click to expand...
Click to collapse
But you tried this Tool ?
With this you can modify *.swf, save and use modified *.swf...
Best Regards
adfree said:
But you tried this Tool ?
With this you can modify *.swf, save and use modified *.swf...
Best Regards
Click to expand...
Click to collapse
I am not sure if Flash Decompiler Trillix allows editing of ActionScript.
You can edit the whole *.swf.
ALL parts of it.
But you need Flash knowledge or minimum reading with Text Editor...
http://www.flash-decompiler.com/
Best Regards
adfree said:
You can edit the whole *.swf.
ALL parts of it.
But you need Flash knowledge or minimum reading with Text Editor...
http://www.flash-decompiler.com/
Best Regards
Click to expand...
Click to collapse
After comparing the code of wave 575 default screen and the wave 3 lock screen, i am interested to try changing some things in the actionscript but i am unable to do that with this editor
Edit 1: converting to fla and back seems to be a pain and am looking for a direct editor like Zlash but its not free
Edit 2: found a good tool for direct editing. ASDEC. However, the change in code does not seem to have fixed the sms bug. Continuing further with further investigation using trial and error method.
http://developer.bada.com/library/Flash-Lock-Screen-Implementation-using-System-Information-1
Maybe here few hints...
Best Regards
Played a bit with "incoming call" screen...
Taxidriver05 said:
Played a bit with "incoming call" screen...
Click to expand...
Click to collapse
Looks good, how do I get it working for my wave 5750? Please advice.
Currently just for Wave I & II...
What is the resolution for Wave 575?
I think, SWF must be modded to new resolution...
Taxidriver05 said:
Currently just for Wave I & II...
What is the resolution for Wave 575?
I think, SWF must be modded to new resolution...
Click to expand...
Click to collapse
240*400, which swf file do I need to work on? I will extract your firmware files. whats the path to these swf files?
I Think, it is "CallLockScreen.swf" or sth like that...
It could be found in RC1-file...
Do not have the exact path in mind...
Should be easy to find...
Taxidriver05 said:
I Think, it is "CallLockScreen.swf" or sth like that...
It could be found in RC1-file...
Do not have the exact path in mind...
Should be easy to find...
Click to expand...
Click to collapse
Ya, found it
Taxidriver05 said:
I Think, it is "CallLockScreen.swf" or sth like that...
It could be found in RC1-file...
Do not have the exact path in mind...
Should be easy to find...
Click to expand...
Click to collapse
I got it working for wave 5750 (240*400); however there is a pink layer showing up as shown in the attached screenshot (1st file). I have also attached my modified swf file. Please let me know what is wrong. Thanks in advance.
http://www.4shared.com/photo/zMgZxszl/capture.html
http://www.4shared.com/document/AS2NWDMb/CallLockScreen.html

[Tutorial] (Default camera) How to set unsupported third party apps as default camera

In this post I want to teach you how to change your default camera to (almost) any third party app you like. Let's go!
Tested on my Lumia 535 and working
What you need:
-Interop tools by @gus33000
Click to expand...
Click to collapse
First you should find your third party camera appID you can do this by interop tools. Open interop tools, go to applications, package list, and then choose the app you want to see it's details.
The first Section "Name" is appID that is something like this:
6fca829e-0622-478c-848f-1175daf3bd5a
(That code was for camera 360 sight)
Write down that code somewhere
Open registry editor. Go to HKLM\Software\Microsoft\Photos\Shared\CameraSettings
Then open DefaultCameraAppID
The default value is Windows camera appID. Copy that as a backup for when you want to change it back. Now replace your appID with the default one. Don't forget to include the brackets:
{6fca829e-0622-478c-848f-1175daf3bd5a}
Click to expand...
Click to collapse
DONE.
No restart needed. You can now test it using quick action, lock screen, or with camera shutter button.
Hope you enjoy that:laugh:
Not working on Lumia 735 with 14393.576 installed.
Andrew[N] said:
Not working on Lumia 735 with 14393.576 installed.
Click to expand...
Click to collapse
Could you be more specific? What is the problem?
Did you do all the steps?
Or this key doesn't exist?!
Is your phone interop unlocked?
infinite41i said:
Could you be more specific? What is the problem?
Did you do all the steps?
Or this key doesn't exist?!
Is your phone interop unlocked?
Click to expand...
Click to collapse
I changed the key to ProShot ID, but Windows Camera is still default.
Andrew[N] said:
I changed the key to ProShot ID, but Windows Camera is still default.
Click to expand...
Click to collapse
I tried with proshot classic trial version and it worked. I don't have the windows 10 version. probably you made some mistakes in typing or you may have forgotten these brackets { }
proshot classic trial appID : {3d6a3d7e-5aca-4aee-b059-590b9f53cc13}
P.S. My build is the same as yours.
infinite41i said:
I tried with proshot classic trial version and it worked. I don't have the windows 10 version.
Click to expand...
Click to collapse
Do you mean, old xap version?
Yep! I don't have proshot
Maybe there's a problem with appx's?!
It is easier to make xap/appx with swaped GUID to make it see by OS in default camera menu
djtonka said:
It is easier to make xap/appx with swaped GUID to make it see by OS in default camera menu
Click to expand...
Click to collapse
What is swaped GUID?
infinite41i said:
Open registry editor. Go to HKLM\Software\Microsoft\Photos\Shared\CameraSettings
Then open DefaultCameraAppID
The default value is Windows camera appID. Copy that as a backup for when you want to change it back. Now replace your appID with the default one. Don't forget to include the brackets:
DONE.
No restart needed. You can now test it using quick action, lock screen, or with camera shutter button.
Hope you enjoy that:laugh:
Click to expand...
Click to collapse
Man that worked nicely for me! Thank you!
Although most of the "non-original" camera apps seems to take longer to launch.
Furthermore, I was not satisfied with going to the registry and editing the strings everytime I wanted to change the default app so I did a little digging.
TL;DR: I've found out how to add a new app to the default camera list in the settings menu on Windows 10 mobile
Complete description:
I found this original document from Microsoft made for the OEM on how to enable third party camera launch above lockscreen:
https ://docs. Microsoft .com/pt-br/windows-hardware/customize/mobile/mcsf/configuring-oem-lens-apps-to-launch-above-the-lock-screen
I used interop tools to create a folder as sugested on the link at software>Microsoft>ph otos> LensApps>{#AppID}\
The folder has to have the AppID name inside brackets. Each AppID folder has to have a Key named "Title" in wich the value is a string with the firendly name wich will be showed in the settings (ex: Camera360)
Well, that did'nt worked out, so I kept digging and found an already existing folder called "DefaultLens" located at software>Microsoft>ph otos>OEM>DefaultLens wich had the same pattern explained in the link. I suppose this is the adaptation for windows10 mobile, since the link is for WP8.1.
So, inside this folder I created a new entry (folder) named as the app ID for the 360 "{6fca829e-0622-478c-848f-1175daf3bd5a}". inside this folder I created the "Title" Key and set the value for "Camera360" (string). Now if I go to the camera settings I can choose between Camera and Camera360. If i choose the second one, it Works just as expected.
The problem I had was under lockscreen. If i pressed the camera button (on my 830) it went to the lockscreen and I have to put my pin before opening the camera. This can be solved creating another key inside the folder called "MinVerAboveLock" in wich its value (string) must be, as the name suggest, the version of the app. The Camera360 info on the app shows version 1.1.2, so I've put 1.1.1 as the value and now it works just as it should.
I haven't tried out Proshot with this, but a can't see any reason it wouldn't work, as when I changed the appID using your suggestion in the original post it worked.
I must say, though, tht de camera360 tends to take substantially more time to open. Anyhow, doing this I believe you can set up up to five default cameras in the list (as the link says) for fast/normal changing and test the one wich better suits your needs.
So, theres, that. Tell me if it Works for you! Cheers.
1Shot v2.2.2.0
Download
djtonka said:
1Shot v2.2.2.0
Click to expand...
Click to collapse
I'm glad it worked for you too!
Hey which lumia camera appxbundle are you using? Does it Works? I had the original appxbundle from somwhere and although I sideloaded it when i try opening it doesn't work, displaying a message about using the new Windows camera and so...
Also, do you recommend 1shot?
thx
martinwrh said:
Man that worked nicely for me! Thank you!
Click to expand...
Click to collapse
I'm glad that you found a better way!
I'll try it soon ( 2 weeks later ) because I don't have time now.
BTW you can have Lumia camera by doing a hard reset and then stoping apps from getting updated automatically.
Hey guys!
I've faced a problem. After downgrading to 8.1 and then upgrading to 10 again, there's nothing in HKLM\SOFTWARE\Microsoft\Photos.
Any idea what happened?
1Shot v2.2.5.0 appx
http://bit.ly/2ePEH1U
In "AppxManifest.xml"
<mphoneIdentity PhoneProductId="04c91c9d-4d31-4273-a430-f04f8d4c86db"

Categories

Resources