Cannot sign DLL, certs expired, please advise - Windows Mobile Software Development

Hi all. I have been using siggner for a long time to sign my bronzeres.dll file for modding the titanium interface on wm 6.5 I tried to make an update today and noticed that now the siggner program reports my certs as being "expired".
I have attached siggner to this post so you can see what i am using. I am sure you devs are very familiar with this but it cant hurt Anyway, any advice about how i can stop being "expired" would be much appreciated.
The error produced in the log when signing is as follows:
Error: The certificate used for signing has expired!
Error: Signing Failed. Result = 800b0101, (-2146762495)
[Mod Edit]
A Version with a Patched SDKSamplePrivDeveloper Certificate can be found at this post
[Mod Edit 16th Januari 2010]
Official new Certificates till 2015 can be found at this post

I have this error too... yesterday it worked, but today not

GuitaristSV said:
I have this error too... yesterday it worked, but today not
Click to expand...
Click to collapse
same for me ...

Probably the certificates expire on 2010... and today is the New Year's Day... Happy New Year

GuitaristSV said:
Probably the certificates expire on 2010... and today is the New Year's Day... Happy New Year
Click to expand...
Click to collapse
haha same to ya. Yes i am sure you are right but where do you get new certs?

Anyone know how to modify the Multiple File Signer to accept the new date
Does anyone know how to modify the Multiple File Signer to work with future date? Because as of 01-01-2010 the signer no longer work.

Shouldn't make any difference as it doesn't time stamp the file, haven't come across an issue myself regards it and have still been pimping resources.
Warning: This file is signed, but not timestamped.
Succeeded

stylez said:
Shouldn't make any difference as it doesn't time stamp the file, haven't come across an issue myself regards it and have still been pimping resources.
Warning: This file is signed, but not timestamped.
Succeeded
Click to expand...
Click to collapse
That is weird. Every file I applied since the turn of the year have failed. Always getting Error: The certificate used for signing has expired!
Error: Signing Failed. Result = 800b0101, (-2146762495)
If you have signer that still work now, would you please upload for share with us.
Best Regards,

resetting windows date and time to anything pre- 2010 seems to be working for me.. but a long term fix/new cert would be nice..

10507 said:
That is weird. Every file I applied since the turn of the year have failed. Always getting Error: The certificate used for signing has expired!
Error: Signing Failed. Result = 800b0101, (-2146762495)
If you have signer that still work now, would you please upload for share with us.
Best Regards,
Click to expand...
Click to collapse
Using same one i attached in the thread for editing .dll files, have attached
Funny enough more people having the issue http://forum.xda-developers.com/showthread.php?t=609416 maybe this is also OS dependant?

I have stickied the Thread temporarily as this is likely going to affect a lot of people here.
Hopefully the Sticky can help resolve this As soon as possible.

http://forum.xda-developers.com/showthread.php?t=306982

fb2805 said:
http://forum.xda-developers.com/showthread.php?t=306982
Click to expand...
Click to collapse
Same Certificates.
But it gives no Error.
Stupid of me i used that exact same tool you just linked but I ASSumed that it would not work instead of testing it.
I'll go stand in the Corner now.

Noonski said:
Same Certificates.
But it gives no Error.
Stupid of me i used that exact same tool you just linked but I ASSumed that it would not work instead of testing it.
I'll go stand in the Corner now.
Click to expand...
Click to collapse
this still gives me an error. msigner seems to be the exact same program to me. Anyway, i tried it and still get the expired error. I think we need a new set of certs but I am no expert. i just use the tools not make them
I am shocked that there is not a lot more people talking about this which leads me to beleive there must be something small we are not grasping.

lilflip21 said:
resetting windows date and time to anything pre- 2010 seems to be working for me.. but a long term fix/new cert would be nice..
Click to expand...
Click to collapse
just confirming this does work, although sux haha. dont want to keep changing my date every time i sign something but i guess its a way

ok i have a work around that dosnt involve changing the date. I have attached the certs i am using. Youc an see their original form at http://forum.xda-developers.com/showthread.php?t=306982&page=4 in post #35. All i did was take them and rename them and drop them in plac eof the old certs and it worked. They will not be trusted certs but should still work when you accept them at install on your ppc. This is still not a long term fix in my opinion.

Making *.cer
I made "SDKSamplePrivDeveloper.cer", 'SDKSamplePrivDeveloper.pfx" and "SDKSamplePrivDeveloper.pvk" files using this tool http://www.codeproject.com/KB/mobile/signcode.aspx
and then i made "SDKSamplePrivDeveloper.spc" file using this tool http://www.codeproject.com/KB/java/Signed_Applet.aspx
"cert2spc SDKSamplePrivDeveloper.cer SDKSamplePrivDeveloper.spc"
But i don't know how to make the files be trusted.
anyway, the msigner works well (after replacing the files in tools dir).
i attached the files
Best regards,

fb2805 said:
http://forum.xda-developers.com/showthread.php?t=306982
Click to expand...
Click to collapse
It does not work for me.
In .txt log I have:
Error: The certificate used for signing has expired!
Error: Signing Failed. Result = 800b0101, (-2146762495)
I think, only new certs will solve the problem.

BtesterD said:
It does not work for me.
In .txt log I have:
Error: The certificate used for signing has expired!
Error: Signing Failed. Result = 800b0101, (-2146762495)
I think, only new certs will solve the problem.
Click to expand...
Click to collapse
I think the same.
My link is only a tip to another thread with the same problem. Not a troubleshooting.

Haha... same too. and from now no more *.dll mod.

Related

Installing root certificates into 1.40

I've got an XDAIIs, which has been updated to a 1.40 ROM. We install a new root certificate onto our devices, to allow us to use Activesync over SSL, but when you try and load a .cer file on a 1.4 ROM you get the oh-so-helpful message:
"Security permission was insufficient to update your device."
This process has worked fine on every other ROM and I suspect it's something new on the 1.40 ROM. My guess is that it won't work with the XDAIIi either, which has a 1.40 ROM out of the box...
Suggestions? Google / Microsoft didn't turn up a lot.
Daern
daern said:
I've got an XDAIIs, which has been updated to a 1.40 ROM. We install a new root certificate onto our devices, to allow us to use Activesync over SSL, but when you try and load a .cer file on a 1.4 ROM you get the oh-so-helpful message:
"Security permission was insufficient to update your device."
This process has worked fine on every other ROM and I suspect it's something new on the 1.40 ROM. My guess is that it won't work with the XDAIIi either, which has a 1.40 ROM out of the box...
Suggestions? Google / Microsoft didn't turn up a lot.
Daern
Click to expand...
Click to collapse
Interesting. how did you try and import the .cer file to the device?
deleted
....
therock112 said:
Interesting. how did you try and import the .cer file to the device?
Click to expand...
Click to collapse
Just click the file
Or run certinst.exe, which is what .cer file are associated with in PPC2003+
I've actually found some rather nice, useful code from Microsoft (gasp, shock, horror!):
Download this example:
http://support.microsoft.com/default.aspx?scid=kb;en-us;322956
...which is for PPC2002, but the sample code for inserting certificates works on 2003 and (more importantly) bypasses whatever additional locks that have been placed in this new ROM. In fact, it's even better 'cos certinst.exe threw up a non-suppressable confirmation box, whereas I can now embed all of the code into a setup.dll and wrap the cert into a self installing cab file, along with all of my CPF stuff.
I'll still try and find out why O2 have changed this though. That sucks...
Happy Daern the hax0r

Bluetooth Voice Command problems on new builds -- SOLVED (for REAL now!)

I was playing around with XCSdM's Bluetooth 0.9f fix and found the issue that's causing it to not work on newer (17913) builds on WM6.
When I navigate to the directory where BTVCFull or BTVCBasic is located, and try to manually launch either of those programs, I get this message:
The file 'BTVCFull' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring the file.
Click to expand...
Click to collapse
I checked my security on the phone, and it is set to 'Security Off'. Next, I checked the file signature. They seem to NOT be signed at all. However, here's my problem. I can't sign the files myself as I'm too cheap to spring for Visual Studio 2005, and signtool is a big pita. So, Does someone want to sign them and throw the files up here? I think that should fix the problem IMHO.
But, I have identified the core problem at least--which is a step in the right direction.
** FOR THE REAL FIX ** See post's below with the new .cab and reg edit.
if im not mistaken there is a signing program in the new rom kitchen that was released today. its in the extras folder haven't played with it so im not sure how easy or well it works but it looks easy enough. pretty damn cool new kitchen also should check it out!
dunno if they will help
No.. It doesn't.. It's gotta be the drivers.. I'm supposed to be getting some new drivers soon; so, we'll see that helps.
I just wish it'd work correctly without any hacks to fix it..
I noticed the same thing when trying to launch BTVCBasic or Full. Changing the following key worked for me:
HKLM\SOFTWARE\OEM\VoiceCommand\Path="\Program Files\Bluetooth Voice Command\BTVoiceCommand.exe"
bjevers said:
I noticed the same thing when trying to launch BTVCBasic or Full. Changing the following key worked for me:
HKLM\SOFTWARE\OEM\VoiceCommand\Path="\Program Files\Bluetooth Voice Command\BTVoiceCommand.exe"
Click to expand...
Click to collapse
That file does not exist in the cab I posted above. Where did you get the file?
LegolasTheElf said:
That file does not exist in the cab I posted above. Where did you get the file?
Click to expand...
Click to collapse
It's in ZaJules VC1.6BTFix.cab. I've attached it for ya.
bjevers said:
It's in ZaJules VC1.6BTFix.cab. I've attached it for ya.
Click to expand...
Click to collapse
That cab worked perfectly.. (after I did the reg.edit)
Thanks!

[APP] Windows Mobile SenseTimeTracker

On CodePlex I have published my app for tracking working time.
It is based on the SenseUI SDK.
SenseTimeTracker
For furter feature development either this thread can be used or the discussions in CodePlex.
After getting some feedback according to installation problems, I figured out, that the deployed .cab file does not contain the SQL Server Compact 3.5.
This has to be installed manually until I do not provide a msi-setup.
Explanation on how to install the .NET Compact Framwork 3.5 and/or the SQL Server Compact 3.5 has been added on the CodePlex page.
Version history:
Version 1.3
* Length checking of input fields
* Bug fixed with reports when first time card has date in january
* Issue with localization fixed
* Category edit form localized
* Creating new category did throw an excexption
* Default category is hidden in category list
Version 1.2
* cab file now creates a shortcut
* new version detection added
Version 1.1
* Initial release after UI redesign
Installation Procedure
Hi, Could you explain the Installation procedure, other than download and install is there any other additional requirement to get this program up and running?
Thanks
Download the cab file, copy to your mobile device and run it from there.
This shall install SenseTimeTracker on you mobile device.
Let me know if it doesn't, since it is my first publishing. I only installed it on my device or the emulator.
Test
OK! I downloaded you app, installed and found the following problem, btw I am on a Blackstone using G10 Dusk Ultimate 2 v 8.31
1) There is no icon present for your apps in the programs menu.
I went to programs found the your app and try starting it from there, I got the following error
Ok, SQL server was not deployed. I will try to fix this and provide an update.
On my devices there has been SQLCE installed, so I didn't recognize it.
Thanks for the hint.
wesch00 said:
Ok, SQL server was not deployed. I will try to fix this and provide an update.
On my devices there has been SQLCE installed, so I didn't recognize it.
Thanks for the hint.
Click to expand...
Click to collapse
No problem was glad to help, I was looking for a program like that for sometime now , I will test again when you update
You have to install the SQL Server Compact manually, sorry.
See my explanation in CodePlex.
zjxpot said:
OK! I downloaded you app, installed and found the following problem, btw I am on a Blackstone using G10 Dusk Ultimate 2 v 8.31
1) There is no icon present for your apps in the programs menu.
I went to programs found the your app and try starting it from there, I got the following error
Click to expand...
Click to collapse
wesch00 said:
You have to install the SQL Server Compact manually, sorry.
See my explanation in CodePlex.
Click to expand...
Click to collapse
Hi I downloaded and follow your instructions regarding the installation process and got the top half of the error I posted above when I tried starting the apps also no icon was installed in programs menu I tried it on G10 Ultimate 2 v8.40 release today
The icon issue I couldn't check yesterday, will do that asap. Did a lot of research how to deploy SQL Server Compact.
But could you run the app?
wesch00 said:
The icon issue I couldn't check yesterday, will do that asap. Did a lot of research how to deploy SQL Server Compact.
But could you run the app?
Click to expand...
Click to collapse
No, its not running, when I try runnunig it I get the same error box but only the top half of the message the bottom half is gone.
That makes no sense since allways an explanation of the exception is displayed.
If you installed the SQL Server Compact, can you try to delete the whole SenseTimeTracker folder in the program as well as in the documents directory (if there is one) and reinstall the cab again.
I checked this yesterday on a clean emulator and it worked. So without any further hints I cannot guess the problem.
Are you familar with developing smart device aps. Then I can send you the project for visual studio and you can try to deploy it from within VS. That shall work. Let me know.
I suggest to contact me via pm, I will help you to fix your problem.
wesch00 said:
That makes no sense since allways an explanation of the exception is displayed.
If you installed the SQL Server Compact, can you try to delete the whole SenseTimeTracker folder in the program as well as in the documents directory (if there is one) and reinstall the cab again.
I checked this yesterday on a clean emulator and it worked. So without any further hints I cannot guess the problem.
Are you familar with developing smart device aps. Then I can send you the project for visual studio and you can try to deploy it from within VS. That shall work. Let me know.
I suggest to contact me via pm, I will help you to fix your problem.
Click to expand...
Click to collapse
Hi, I flashed an orginal HD rom, installed net, sql and then your apps went to programs and started timetracker and it worked, I reflashed a cooked rom did the installation and it also worked I tried entering some information I got some error that require me to restart timetracker one of the error is attached, I will flash G10 rom again as this is my rom of choice and I will let you know how that went
I must say thanks for what I have seen so far if I get it working on G10 rom I will do some more in dept testing.
Thanks again for sharing
Ok, I see, it has nothing to do with your ROM.
I think there is a bug with the categories which only occurs on an empty/fresh database. On my tests I've had everytome a filled one, since I implemented category support later on.
I had some minutes to try it on a fresh installtion. Unfortunatly I cannot reproduce this bug. Can you plz provide more info, what in which order you entered for getting this error. I first created a user which is mandatory. Then created a client, then a project for that client and then a task for that project. Now entering a timecard did work, since the default category ("unknown") was used. The error you've got is a key violation between task and category. This should not occour, but I need to know in what order you entered the data.
wesch00 said:
Ok, I see, it has nothing to do with your ROM.
I think there is a bug with the categories which only occurs on an empty/fresh database. On my tests I've had everytome a filled one, since I implemented category support later on.
I had some minutes to try it on a fresh installtion. Unfortunatly I cannot reproduce this bug. Can you plz provide more info, what in which order you entered for getting this error. I first created a user which is mandatory. Then created a client, then a project for that client and then a task for that project. Now entering a timecard did work, since the default category ("unknown") was used. The error you've got is a key violation between task and category. This should not occour, but I need to know in what order you entered the data.
Click to expand...
Click to collapse
Sorry for not replying sooner, I was trying some other roms but no luck getting this app to work on those other roms that I flash, for me its only working on stock and Energy GTX I am presently downloading a 6.5 rom to test all others has been 6.5.x.
I have been able to reproduce the error again and again, try this
Go to category select new and create a new category everything should be ok, create another one and it should crash, also I am unable to edit the category "unknown"
More Crashes
Hi, I did some more test and I got more errors I have attach one picture, let me try to explain
1) If I try to copy the TimCard it crashes
2) TaskName is to long it crahes
I got a couple more crashes but I forgot where in the apps they occour however it seems that is not handling user input error well maybe a dialog box should appear and tell the user that the TaskName is to long or something like that I also think you should try and test if all but most of the option like copy, remove, edit, maybe it my rom related but you could still check just to be sure.
Thx again for the responses.
Couls get it allready run with the other ROMs? I have no opinion about these ROMs. I do not use any special functiuons, it is only .Net-code. The only explanation I have would be that there are problems with drawing. Bit this is done by the SenseUI framework which I cannot modify or debug.
Now to the issues.
The Category issue I could allready fix for me, will update it soon. Dont use categores for the mean while, use only "Unknow". You can change it later when it works. The "Unknow" category should not be editable, I will hide it in the next release.
The issue with the task names beeing too long is a bit more difficult to fix, I'll try to find a solution (need a common one since this will be happen with all inputs).
For the issue with copying a time card, I need a screendum of the error. I use copying of time cards allmost every day and never had problems. So it should be some special in your entries. If I have the error output, I hope to have an idea.
wesch00 said:
Thx again for the responses.
Couls get it allready run with the other ROMs? I have no opinion about these ROMs. I do not use any special functiuons, it is only .Net-code. The only explanation I have would be that there are problems with drawing. Bit this is done by the SenseUI framework which I cannot modify or debug.
Now to the issues.
The Category issue I could allready fix for me, will update it soon. Dont use categores for the mean while, use only "Unknow". You can change it later when it works. The "Unknow" category should not be editable, I will hide it in the next release.
The issue with the task names beeing too long is a bit more difficult to fix, I'll try to find a solution (need a common one since this will be happen with all inputs).
For the issue with copying a time card, I need a screendum of the error. I use copying of time cards allmost every day and never had problems. So it should be some special in your entries. If I have the error output, I hope to have an idea.
Click to expand...
Click to collapse
Hi, I have flashed back to my rom of choice as I need it for work, I also used an apps name Pocket Time, I was hoping to get your working as your is mor mordern and has more options, anyway I will be able to test your program again this weekend and I its working for me I will change my rom and start using your apps I like it.
I have attach the detail section or the Task Name error for you to look at also I have attach the error and the error detail section of G10 rom maybe from those pictures you can figrue why it dosent start
The last five is from G10
Thanks
Thx for the dumps.
As I allready wrote, the problem with the length of the description is a common problem. I did know, that it wasn't checked. I will release a new version today (1.3) which supports those checks.
The other problem has something to do with the serialisation/deserialisation of the user settings. These are stored in an XML-file in the application directory. And it seems, that the existing date time format has problems.
Is the language of your G10 ROM a different than the default ROM? I assume, you have created the XML the first time with on ROM and now trying to read it with another on. And the DateTime format of both are different and cannot be parsed.
Try to delete the xml-file in the app directory and start the app again with the G10 ROM. Let me know, if this solved the problem. May be I can then find a solution therefor. If you delete the xml-File, you will be asked for selecting a user. Select you previous eneterd user. If you navigate away from the user panel, you will be asked for the password you entered previously.
If you not allready entered sensitive data, you can send my the database (sdf-file) and the xml-file. Then I can try to debug it. I've had a lokk into the xml-file and saw there are only two time fields where the time is entered as 8:00:00 and 17:00:00. If this format is not valid on your ROM due to another culture, then this may cause the error you posted. What is the usual time format on your country?
Then I have a question according this ROM. The error occurs in Deserialize while reading a DateTime value. I have a try-parse in the deserializing section. So no exception should be thrown by the app. If there is an error in the XML file, defaults are used. I did try this on my device and ti worked that way. So I really do not know, why the exception is thrown. Ist there any special in your ROM handling exceptions?
wesch00 said:
Thx for the dumps.
As I allready wrote, the problem with the length of the description is a common problem. I did know, that it wasn't checked. I will release a new version today (1.3) which supports those checks.
The other problem has something to do with the serialisation/deserialisation of the user settings. These are stored in an XML-file in the application directory. And it seems, that the existing date time format has problems.
Is the language of your G10 ROM a different than the default ROM? I assume, you have created the XML the first time with on ROM and now trying to read it with another on. And the DateTime format of both are different and cannot be parsed.
Try to delete the xml-file in the app directory and start the app again with the G10 ROM. Let me know, if this solved the problem. May be I can then find a solution therefor. If you delete the xml-File, you will be asked for selecting a user. Select you previous eneterd user. If you navigate away from the user panel, you will be asked for the password you entered previously.
If you not allready entered sensitive data, you can send my the database (sdf-file) and the xml-file. Then I can try to debug it. I've had a lokk into the xml-file and saw there are only two time fields where the time is entered as 8:00:00 and 17:00:00. If this format is not valid on your ROM due to another culture, then this may cause the error you posted. What is the usual time format on your country?
Then I have a question according this ROM. The error occurs in Deserialize while reading a DateTime value. I have a try-parse in the deserializing section. So no exception should be thrown by the app. If there is an error in the XML file, defaults are used. I did try this on my device and ti worked that way. So I really do not know, why the exception is thrown. Ist there any special in your ROM handling exceptions?
Click to expand...
Click to collapse
Hi, I am using the original G10 WWE Ultimate 2 v8.31 rom out of the box in fact all the ROM I have tried this app on has been out of the box, will try flashing and trying your app again this weekend.
Are you using your app on an original stock rom or a cooked rom?
I'm using the app on the updated but original HTC ROM. But it did also work on the nonupdated.
The description of you exception shows me, that the problem has something to do with the localized date time format. What localizaion do you use. And I think you've got it allready running with another ROM. What localization do you have there?
What I totally do not understand, in my opinion there should not be thrown an exception, since serialization is done within a try/catch block. If there is an deserialization error, it should be catched and defaults should be used, which I have testet.

[PROJ] Prescription Medicines Manager v0.9.0 17-03-2011

This app is designed so that you can keep track of any medications you take on a regular basis.
When you last ordered a particular drug, how many you currently have to hand, which surgery the repeat was requested from and which pharmacy filled the prescription.
It is designed to be used for multiple patients, surgeries, pharmacies and doctors.
It was initially an Access database but I thought that migrating it to my PPC was a challenge I might be able to complete.
There will also be the ability to log doctor's appointments as well, hopefully.
All data is currently stored in an SQL-CE database.
For reasons I am currently trying to solve, when you open any secondary form with a data table and then return to the main menu you are unable to go back into any other form again.
Changed to a tabbed layout, screen shots attached.
09/02/2011
New version attached with new format SQLCE.
17-Mar-2011
Latest version attached
All data entry and editing working - I hope.
08-Apr-2011
Latest version, autoscroll and popup SIP.
Possible dependant files.
I am coding for CF2.
[Reserved] - For Comments
deedee said:
[PROJ] Prescription Medicines Manager
...medications you take on a regular basis.
When you last ordered a particular drug, how many you currently have to hand, which surgery the repeat was requested from and which pharmacy filled the prescription...
Click to expand...
Click to collapse
Thank you!
These records can be life-saving if you have them with you at the right time. I have tried many systems of keeping track, but rarely managed to have anywhere close to this much information on hand.
I have not had time to try it out properly so I do not yet have any comments or suggestions. For now, I just wanted to say THANKS!
Glad it's going to be if use to someone.
Hopefully by the end of tonight I will have a new version up with the ability to add records to each of the tables. No interlinking yet and at the moment editing is also broken but I am getting there.
deedee said:
Glad it's going to be if use to someone.
Hopefully by the end of tonight I will have a new version up with the ability to add records to each of the tables. No interlinking yet and at the moment editing is also broken but I am getting there.
Click to expand...
Click to collapse
Don't feel rushed on my account. It's great that you're interested in this project, whenever you finish will be soon enough.
Meanwhile, I'll play with it and start planning how to "feed" it my information.
Have you considered some sort of encryption? It just occurred to me that it will hold a lot of very personal information.
Again, thank you.
deedee said:
...at the moment editing is also broken...
Click to expand...
Click to collapse
I know next to nothing about programming, but would the PC editor you wrote for the W Watcher calc work for this project? That might make it easier for the user to input the information AND save you some programming...
(BTW: I was very impressed with how quickly you developed those applications! Very usable and no charge for fast delivery!)
Jesterfell said:
I know next to nothing about programming, but would the PC editor you wrote for the W Watcher calc work for this project? That might make it easier for the user to input the information AND save you some programming...
(BTW: I was very impressed with how quickly you developed those applications! Very usable and no charge for fast delivery!)
Click to expand...
Click to collapse
Unfortunately the WW editor is designed for an XML file and this app keeps everything in an SQLCE database. I am trying to find a nice, useable and, more importantly, free desktop app to edit these files and am trying a couple out at present.
While a purely PC based editor would be easier from a WM coding point it would stop the app being completely mobile and standalone.
New version added to post 1.
You can now add records.
For desktop managemnent try
SQLCE Desktop Manager
FlyHoward SDF viewer
Neither of these seem to be free though the second one does have a 14 day trial.
deedee said:
... While a purely PC based editor would be easier from a WM coding point it would stop the app being completely mobile and standalone...
Click to expand...
Click to collapse
Of course!
Sorry, I got tunnel vision and forgot the project's purpose.
What am I missing?
I have been unable to run Prescription Medicines Manager on my HTC 8925 (Kaiser) with WM 6.5.x.
When I run the EXE all that happens is that the WM wait animation plays indefinitely until I switch to another application.
Since I play with this phone a lot, I hard reset it to clear any lingering results of my modding (it's a spare phone, so no great loss). Before installing other programs, I ran PMM again, but the same thing happened.
I got the same results with an even older HTC phone running WM 6.1.
SQL desktop applications
I found some free SQL desktop apps. I was only able to get one, SdfBrowser, to read MedicalRecords.sdf and all it allowed was viewing the structure and creating a query.
I'll keep looking, but I agree with you that being totally portable is very important for this project.
LINKS: SdfBrowser --- Resources link
Jesterfell said:
I have been unable to run Prescription Medicines Manager on my HTC 8925 (Kaiser) with WM 6.5.x.
When I run the EXE all that happens is that the WM wait animation plays indefinitely until I switch to another application.
Since I play with this phone a lot, I hard reset it to clear any lingering results of my modding (it's a spare phone, so no great loss). Before installing other programs, I ran PMM again, but the same thing happened.
I got the same results with an even older HTC phone running WM 6.1.
Click to expand...
Click to collapse
Completely forgot to say, you will need to install SQL CE on your HTC.
I do not usually resort to smileys, but my lack of knowledge is frustrating!
deedee said:
Completely forgot to say, you will need to install SQL CE on your HTC.
Click to expand...
Click to collapse
I installed SQL CE with no errors but got the same lack of results. The phone did become VERY sluggish and Task Manager still showed "prjMedicalRecords" running as a process.
Does prjMedicalRecords.exe need to be installed?
I just executed it from the SD card, and then tried it from the device memory. I placed MedicalRecords.sdf in the same directory each time.
Update: After about 5 min of the WM wait animation spinning, got the following error message:
"File or assembly name 'System.Data.SqlServerCe,Version 3.0.3600.0, Culture=neutral, PublicKeyToken=3BE235DF1C8D2AD3', or one of its dependencies, was not found."
I opened the SQL CE .CAB file and it DOES contain "system.data.sqlserverce.dll" it is meant to be installed to "%InstallDir%" and the rest of the DLLs go to "%InstallDir%\v3.5". I used file explorer to look in those directories (%InstallDir%="Microsoft SQL Server Compact Edition") but did NOT find "system.data.sqlserverce.dll" in either dir.
I copied the DLL to "%InstallDir%\v3.5" and ran the program again. The same results occurred.
After soft reset, copied the DLL to "%InstallDir%" and ran PMM again. The same thing happened, long wait, then error msg.
I am falling asleep now, but will try re-installing .NET 3.5 and running PMM again. I'll let you know what happens.
I had gotten the same error before installing SQL CE but did not connect the error to PMM so I ignored it. This time nothing else was happening on the phone.
Apologies for not giving the initial steps, I am new to development and forget others need to be given the assumptions.
SQLCE needs to be installed, as you have done. PMM is just an exe, copy it to the device.
PMM and the SDF file need to be placed in \Program Files\prjMedicalRecords on the device itself. At the moment this location is hard coded and is on my list of things to do to make it "moveable". HTH
New version in post 1 that is now independent of location, just make sure both exe and SDf are in thhe same place.
deedee said:
New version in post 1 that is now independent of location, just make sure both exe and SDf are in thhe same place.
Click to expand...
Click to collapse
Sorry, Deedee. It still does the same thing.
.1. I put both files in device memory (just in case): \Program Files\prjMedicalRecords\
.2. Tried to re-install NET framework 3.5--it refused to install in either device or card memory, saying the same version was already in ROM.
.3. Re-installed sqlceppcwce5armv4i.cab
.4. Ran prjMedicalRecords.exe
After the same delay, it gave the same error.
It also gave a NET error that, because of the delay between program launch and errors, I did not associate with Medical Records before, but it only occurs after I have launched prjMedicalRecords.exe:
"The application failed to load required components. If the .NET Compact Framework is installed on a storage card, please ensure that this card is in place and launch the application again. If this fails, a re-installation of .NET compact Framework is recommended. Support info: -2147483643 (80000005)"​
Thank you for your continued interest.
Not sure what the error is pointing to but I am coding for .Net CF v2, CAB in post 2, try installing this.
OK, finally tried this on a virgin device, without using the "debug" option in VS2005 to copy the files and discovered that .NET CF2, along with SQLCE 3 and SQL CE 3 replication is needed.
All CABs are in post 2.
There is a new version hopefully out this weekend with the ability to log patient medications and doctors appointments.
Editing is still on the road map, as is deletion.
New version in post #1, CAB format as well.
Make sure all the dependencies are installed, for me this has been .NET CF2 and the SQLCE cabs.
There are bugs I am aware of but please list anything and everything. As this is my first real App any feedback is welcome.

Bootloader unlocked warning

Hey,
I've been researching the OP3 bootloader and the bootloader warning and I've found a possible method to hide it.
There is a file "emmc_appsboot.mbn" which contains information and strings (see content below). I'm not sure if modifying the file causes booting problems. I've examined the file and found something about verifying various files and blocking the boot process. I'm looking for someone who could help me and explain things. What do you think? If it's going to brick, would it be unbrickable?
Strings:
"Start >"
"< More options"
"Your device has been unlocker and cann't be trusted"
"To learn more, visit: g.co/placeholder"
"If no key pressed:
Your device will boot in 5 seconds"
Something about blocking the boot:
This phone has been flashed with unauthorized software & is locked. Call your mobile operator for additional support.Please note that repair/return for this issue may have additional cost.
boot_verifier: keystore length is invalid
I'm thinking about replacing all these texts with spaces to make the screen look blank. That's the way to "hide" the text, but there's still going to be the 5 seconds delay.
Download link to the file: http://d-h.st/SQID (Uploading attachments wasn't working when I posted this)
EDIT: Feel free to examine the file with a hex editor. Search for those strings to find the position.
There're already two threads dealing with the bootloader warning:
http://forum.xda-developers.com/oneplus-3/how-to/help-how-to-remove-device-unlocked-t3425028/page7
http://forum.xda-developers.com/oneplus-3/help/request-remove-bootloader-unlocked-t3405485
meiser said:
There're already two threads dealing with the bootloader warning:
http://forum.xda-developers.com/oneplus-3/how-to/help-how-to-remove-device-unlocked-t3425028/page7
http://forum.xda-developers.com/oneplus-3/help/request-remove-bootloader-unlocked-t3405485
Click to expand...
Click to collapse
I know, but neither one is dealing with this exact file/method. There is of course the "logo.bin", but I don't think it includes the warning message as I've found it from the file I discovered.
santeri3700 said:
I know, but neither one is dealing with this exact file/method. There is of course the "logo.bin", but I don't think it includes the warning message as I've found it from the file I discovered.
Click to expand...
Click to collapse
the "warning" message is inside the aboot....at the moment there's no way to modify this file....but....we will see.
lance2010 said:
the "warning" message is inside the aboot....at the moment there's no way to modify this file....but....we will see.
Click to expand...
Click to collapse
Isn't it possible to modify the hex codes? Or is it the verification that is the problem in this case?
Edit: I've seen that people edit this file with success.
santeri3700 said:
Isn't it possible to modify the hex codes? Or is it the verification that is the problem in this case?
Edit: I've seen that people edit this file with success.
Click to expand...
Click to collapse
where did you see it running?
editing is not the problem, flashing it back is not the problem...but the phone won't start, even if you change a single bit !
there's an checksum active even if you set your phone to unlock_critical...
lance2010 said:
where did you see it running?
editing is not the problem, flashing it back is not the problem...but the phone won't start, even if you change a single bit !
there's an checksum active even if you set your phone to unlock_critical...
Click to expand...
Click to collapse
It was a Samsung and a Xiaomi device (partition and bl unlocking stuff, so not exactly related to this). The checksum is what I'm after.
Unfortunately I don't have enough experience and I don't know if it's even possible to do this.
I'm wonder what exactly happens if I edited the code to have only "spaces" or "NBSP".
Would I get any response from the device? Would I see any error codes on the screen?
I'm too unsure to risk my device. But thanks for the answer!
if you not know how to use the OP3 unbrick tool, let it be..in result you got an unbootable device if you change anything inside the bootloader.
It can't be changed.

Categories

Resources