How to handle file transfer to SD/MMC during power on/off? - Windows Mobile Software Development

hi, all,
I am new here. I came across this problem when I am developing driver for SD/MMC memory card. While a file is written to the card I power off the device, what should I do to make this file transfer continuous after I power it on again? do I need to notify the file system in some way after power up? or I need to maintain certain file system status before the device is made to sleep?
Thanks and regards!
Cat

not sure, but I think you do get notified when the device is put in suspend mode.
I also noticed, while playing with trapping lowlevel keyboard events, that
you can disable power off entirely, by not passing on the key-press event.

I guess the SD/MMC driver should notify the file system upon suspend, however, I am not sure what notification I should send. What I implement is to unload and load the driver when power is turned back and card is still inserted. This implementation causes the behavior after resume unpredictable, sometimes, the file can continue to transfer, sometimes it would stop transfer and show an error message, and worst case is it hangs the device, and I need a warm reset.
Guys, any ideas on how to handle this?
Cat

Are you developing for PPC 2000, 2002 and WM2003?
Each handles SD card activate/suspend control commands differently.
I will send you what I have on them as I spent a great deal of time doing R&D on the SD Card erasure thing in WM2003 PE.

Thank you so much, Ronin! I am doing it for PPC2003.

There are two main challenges when developing apps for devices under WM2003 PE.
The first is that WM2003 SDK works best with Microsoft Windows CE .NET 4.2 ( which means you will need .NET developer tools and that WM2003 and WM2003 PE are " different" in how they handle device interrupts.
The second, is the unusual way WM 2003 uses Stream Interface Drivers instead of the API approach( which was programatically MS solution to everyting). These SIDs control the devices I/O functions and power functionality and will cause havoc if not coded properly.
Here is a link that will help you understand these( from the horse's mouth)
http://msdn.microsoft.com/library/d...wceddk40/html/cxconstreaminterfacedrivers.asp
Check also:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedsn40/html/cmrefgiisr_info.asp
I hope this helps. Let me know how you progress!

hi, Ronin,
Thank you for sharing. I've read through the MSDN files you mentioned, I indeed implemented my driver in the SID way, but guess I didn't handle the loading sequence properly or something, thus causes the unpredictable behavior upon power on/off. I will keep up with my exploration and update you if I have any progress.
BTW, do you have any idea abt the file system used by PPC? I like to know how the file system write to a storage media, because I noticed some well-written drivers could retain the paritically written file even if the media is taken out half-way through a file writing.

Related

WM5 on BA - Why Upgrade?

In all the excitement of the hacked ROM coming out - I need to ask one question. Why should I upgrade my BA to the WM5 ROM? What benefits does it offer over the existing WM2003SE ROMS?
I'm tempted like everyone else just to bung it on and update it every day for the next few weeks until it's working properly - I'm also tempted to wait for the official O2 1.4 ROM that works properly.
I must admit that I'm going to wait before upgrading to WM5. I see no compelling reason to upgrade other than "beacuse I can". I wouldn't necessarily wait for the official O2 1.40 ROMs though, you might be waiting forever. I use the imate 1.40 ROMs with no problems.
Having said that, I hope to get hold of a "spare" Blue Angel this week & might experiment with WM5 on it
The existing 1.4 ROMs are annoying for me because I have problems with GPRS and disconnections and a few other niggles that are hard to live with - whereas tghe O2 ROMs have these niggles fixed - hence the wait for the O2 1.4 ROM.
I was thinking of tinkering with the WM5 ROM, but not for a little while until a few things are sorted out, just to see what the interface was like but if it's too much hassle.....
I've got my heart set on an O2 Exec which looks like it might be out soon.
I use it and apart from lack of camera function and a longer boot up time, I MUCH prefer it over 2003SE. First it has a revamped design and it makes 2k3se looks boring.
OK, there are some stability issues but what can you expect for a leaked rom?
If you don't vitally depend on your BA i'd give it a try, and if you don't like it, get activesync 4 and flash back.
Now, seeing how we came accross WM5, is there reason to believe we will be getting the FINAL version of the WM5 firmware for the BA??
In other words, is Mamaich's patched WM5 version the best we're going to get??
What do y'all think?
man(darkblak) is askins simple...if someone knows what benefits gets with wm5...if someone had experience should tell us...im interested in that to... will be blueangel with wm5 faster or slower how will be in performances and itc...
10x in advance
WM5 on SX66 (Blue Angel)
I updated my SX66 to WM5 before the ROM was patched (by Mamaich)... and then spent the next few days working on the issues of performance/sound.
With sound disabled (prior to patch), the device was undoubtedly faster. I made registry changes to increase cache size, disable animations, etc. but I had made those changes in 2003SE as well... and WM5 still outperformed it by a significant margin.
As for the areas not dealing with speed/performance, the new OS requires some getting used to. Hardware buttons that are unassignable (old Windows and OK buttons are softkeys now) and a few other issues (such as GPRS on only when activated by Internet Explorer and Bluetooth shutdown on power off) were a little unnerving, but nothing that would make the OS unusable.
What makes WM5 indispensable is PERSISTENT STORAGE. This is the Holy Grail for all Windows Mobile devices prior to this OS. When your battery dies and your backup battery dies, you must re-load all of your aftermarket software and PIM info. Software such as Sprite Backup made this process easy... but what if you're mid-flight to another country without a laptop and your PDA crashes? This is not an issue with WM5. All after-market software and PIM data is stored to ROM (software install location is optional)... which means that it is stored in non-volatile memory. It is not lost during power/system failure. What this means in terms of device security is that the person that finds your PDA on your desk at work cannot simply "hard reset" it to remove all of your info and use it themselves... Your password/PIM data and software will still be secure/in place and only downgrading the device to 2003 and repartitioning the ROM will clear it.
At the moment, I have no issues with WM5 on my SX66. Editing the camera keys in the registry solved the issues with sound and there are plenty of patches available to reconfigure the hardware buttons, etc. But I'm learning to like the OS as shipped...
I've been using Windows Mobile for more than three years and this iteration is undoubtedly worth the upgrade. If you have the time and patience to read through these forums, make an installation checklist and then follow it to do the upgrade.
My checklist would read:
-Download patched WM2005 ROM
-Download MaUpgradeUT_NoID.exe
-Download all patch CABS
-Download DOC tool (Disk On Chip partition tool)
-Run DOC tool (if successful, the ROM size is now ~63MB in control panel)
-Copy and rename the HTCRUU.dll and HTCRUU.conf files to RUU.dll and RUU.conf
-Run MaUpgradeUT_NoID.exe (if the first try is unsuccessful, put device into bootloader mode. Rec/Media/Power/Reset all at once)
-After upgrade check functionality BEFORE applying any patches, there are as many differences between just SX66's as there are between all of the Blue Angel devices... some patches may NOT be required.
-Apply patch CAB's
-Apply registry edits suggested in the forums for performance improvement
I hope this enlightens those waiting to see the efficacy of this ROM upgrade. I have had a good experience with WM5, in spite of the initial problems. I'm happy with its performance and will not downgrade to 2003SE unless I screw up WM5 bad enough to make it necessary to re-partition the ROM... then I'll go right back to WM5.
Cheers all...
MRwheeler2: Where is the edited rom on the FTP site? I cannot find it where it says it was, BA/test or something like that. Where can I get it from
Also, I have noticed that using the standard rom I cannot change bootup images. It is constantly the stupid colour thing (how about that for a name!) and it's more like a TV test screen.
Download locations for patched ROM
Sorry for the delay... I was out.
You can download the patched ROM from: ftp://xda-developers.com/Uploads/Blueangel/WM5Pack/
There currentyly isn't a fix for the boot screen... I'm looking right now at the MSDN site for CE5.0 and searching their registry settings for Bluetooth and boot screen. Nothing yet... I'll post a new thread if I figure it out.
Hope this helps...
any reason that I'm getting permission denied errors?
I'm logged in but can't do it withe IE or FF, and firewall on or off.
One says permission denied, the other says can't find.
Download locations for patched ROM... continued.
Looks as if it was moved... Try the BlueAngel/BA_WM5/Shipped_Extracted_Updates folder and look for WM5_pack_v1.rar
That should do it...
Good luck.
Still says 530 permission denied. I tried looking in some of the higher level folders and still no joy.
Download locations for patched ROM... continued.
A 530 error is an incorrect login... Go to the "File" pull-down in Internet Explorer and click on "Log In" then when prompted, enter xda for both user name and password.
The default setting for Internet Explorer is to log in anonymously... most non-public FTP sites require some type of non-anonymous log in to ensure that the user has been referred from a site and not someone searching FTP servers.
Once you've logged in, you should be able to see a list of folders/files. You can use the "Folders" button if you would like to see a directory tree in the left panel.
Post a reply if you're successful (or if you're not)...
Later,
Mick...
10x mwheeler2 i will hawe that what u write in my mind...but 530 error i hawe still in ftp ... hope that will solve soon...
Download locations for patched ROM... continued.
For those still looking for the patched ROM...
try this:
ftp://xda:[email protected]/BlueAngel/BA_WM5/Shipped_Extracted_Updates/WM5_pack_V1.rar
The above link is on the wiki page for the upgrade:
http://wiki.xda-developers.com/index.php?pagename=BA_5.1.1700_build_14343_Upgrade
There is a walkthrough on the site and some helpful information...
Later,
mick...
Well - after reading all the stories about persistent storage and speed I was about to go ahead with the install until I found out that my main application TomTom 5 would not install - a quick search later found a workaround - seems like everyone is pulling together on this.
So I'm now running WM5 on my O2 XDA IIs and it's not too bad - it's no worse that O2's existing "beta/official" ROM (1.31) and there is very little reason not to go for the upgrade as it's easy to install - just a little hairy with the funny screens at the start.
I can't say that the I have noticed much difference with the speed issues once all my baggage is loaded on the machine. I'll keep checking the reg fixes etc from time to time.
The interface is much the same as the old interface apart from a few nice touches - but as someone said earlier the ability to re-map certain keys is a pain - until you become used to the context sensitive buttons.
All in all - probably worth the upgrade - you just have to get used to the new ways that some things work.
Where can I download the files to update my SX66 to WM5
I did try to search the fourm but can someone please send me the web link to where I can down load the files to upgrade my Cingular/Siemens SX66 to WM5?
Thank you and I have donate to BA***
mwheeler2 said:
I updated my SX66 to WM5 before the ROM was patched (by Mamaich)... and then spent the next few days working on the issues of performance/sound.
With sound disabled (prior to patch), the device was undoubtedly faster. I made registry changes to increase cache size, disable animations, etc. but I had made those changes in 2003SE as well... and WM5 still outperformed it by a significant margin.
As for the areas not dealing with speed/performance, the new OS requires some getting used to. Hardware buttons that are unassignable (old Windows and OK buttons are softkeys now) and a few other issues (such as GPRS on only when activated by Internet Explorer and Bluetooth shutdown on power off) were a little unnerving, but nothing that would make the OS unusable.
What makes WM5 indispensable is PERSISTENT STORAGE. This is the Holy Grail for all Windows Mobile devices prior to this OS. When your battery dies and your backup battery dies, you must re-load all of your aftermarket software and PIM info. Software such as Sprite Backup made this process easy... but what if you're mid-flight to another country without a laptop and your PDA crashes? This is not an issue with WM5. All after-market software and PIM data is stored to ROM (software install location is optional)... which means that it is stored in non-volatile memory. It is not lost during power/system failure. What this means in terms of device security is that the person that finds your PDA on your desk at work cannot simply "hard reset" it to remove all of your info and use it themselves... Your password/PIM data and software will still be secure/in place and only downgrading the device to 2003 and repartitioning the ROM will clear it.
At the moment, I have no issues with WM5 on my SX66. Editing the camera keys in the registry solved the issues with sound and there are plenty of patches available to reconfigure the hardware buttons, etc. But I'm learning to like the OS as shipped...
I've been using Windows Mobile for more than three years and this iteration is undoubtedly worth the upgrade. If you have the time and patience to read through these forums, make an installation checklist and then follow it to do the upgrade.
My checklist would read:
-Download patched WM2005 ROM
-Download MaUpgradeUT_NoID.exe
-Download all patch CABS
-Download DOC tool (Disk On Chip partition tool)
-Run DOC tool (if successful, the ROM size is now ~63MB in control panel)
-Copy and rename the HTCRUU.dll and HTCRUU.conf files to RUU.dll and RUU.conf
-Run MaUpgradeUT_NoID.exe (if the first try is unsuccessful, put device into bootloader mode. Rec/Media/Power/Reset all at once)
-After upgrade check functionality BEFORE applying any patches, there are as many differences between just SX66's as there are between all of the Blue Angel devices... some patches may NOT be required.
-Apply patch CAB's
-Apply registry edits suggested in the forums for performance improvement
I hope this enlightens those waiting to see the efficacy of this ROM upgrade. I have had a good experience with WM5, in spite of the initial problems. I'm happy with its performance and will not downgrade to 2003SE unless I screw up WM5 bad enough to make it necessary to re-partition the ROM... then I'll go right back to WM5.
Cheers all...
Click to expand...
Click to collapse

read files from bootloader...phone stuck in calibration screen and activesync KO???

Hi to all! I installed a new cooked great rom to my trinity a month ago and it worked fine. it is this rom
[ROM][ITA]WM 6.1 Elegance edition 2.14 (OS 5.2.19213 Build 19213.1.0.0)[ONLINE]
today I got a strange error and the phone was stuck. I unplugged the battery and when I started again it was stuck on the calibration screen. if I tap on the screen nothing happens but the backlight turns on if it was off so it still catches the taps. I connected the phone via usb to delete from the autostart menu the link to the configuration screen (welcome.exe) but the phone is not deteced by activesync so no way to browse folders on my device or use a program like SOTI to control the ppc. I want to bring it back to life as I know that my files hasn't been deleted. in fact if I press the right soft button I get a menu of a program I put in the ppc and it's not included in the elegance rom so I'm sure my files and my configuration and everything are still there.
if i get a phone call the phone rings (with the default ringtone anyway, but the name of the caller is displayed correctly, that's why I'm sure my device still has all my contacts and more)
what could I do?
is there a way to edit files from bootloader? does mtty work for this? (I have no idea how to use mtty so I might be wrong) could I make a full dump, edit the startup folder and reflash the phone with all my data?
I tried to use mortscript witht the autorun feature to read a part of the register regarding the welcome file and deleting it's link in the startup folder but the sd card driver is not loaded I think as the files are not launched, while in another phone the same script works fine.
thanks in advance to all who will have time and will to help me
pcwizzul
as far as i know (not that much), reading files from bootloader is pretty impossible.
You can always just reflash. If the touchscreen problem persists, it's possible that the problem is hardware related.
Your computer should detect your device when in bootloader, and failing that, you should be able to SD flash (assuming you're HardSPL'd or equivalent, thats just what we have in the herald forum)
Thanks for your help
I'm quite sure the hardware is fine as all my problems started after a crash of the OS.
Anyone has an idea to get access to my ppc?
pcwizzul said:
Hi to all! I installed a new cooked great rom to my trinity a month ago and it worked fine. it is this rom
[ROM][ITA]WM 6.1 Elegance edition 2.14 (OS 5.2.19213 Build 19213.1.0.0)[ONLINE]
today I got a strange error and the phone was stuck. I unplugged the battery and when I started again it was stuck on the calibration screen. if I tap on the screen nothing happens but the backlight turns on if it was off so it still catches the taps. I connected the phone via usb to delete from the autostart menu the link to the configuration screen (welcome.exe) but the phone is not deteced by activesync so no way to browse folders on my device or use a program like SOTI to control the ppc. I want to bring it back to life as I know that my files hasn't been deleted. in fact if I press the right soft button I get a menu of a program I put in the ppc and it's not included in the elegance rom so I'm sure my files and my configuration and everything are still there.
if i get a phone call the phone rings (with the default ringtone anyway, but the name of the caller is displayed correctly, that's why I'm sure my device still has all my contacts and more)
what could I do?
is there a way to edit files from bootloader? does mtty work for this? (I have no idea how to use mtty so I might be wrong) could I make a full dump, edit the startup folder and reflash the phone with all my data?
I tried to use mortscript witht the autorun feature to read a part of the register regarding the welcome file and deleting it's link in the startup folder but the sd card driver is not loaded I think as the files are not launched, while in another phone the same script works fine.
thanks in advance to all who will have time and will to help me
pcwizzul
Click to expand...
Click to collapse
if the sdcarddriver is not loaded then the following will not work but give it a try anyways. make a text file "whatever.txt" no quotes then rename it to "welcome.not" no quotes then put it in the root of your storage card and it should skip the whole startup process. that is if it loads the sd card driver or you might want to think about flashing another rom
I already tried the "welcome.not" trick but got no results. I'm afraid that the sd card driver is not loaded then.
Thanks for the hint irus anyway!
Really there's no way to read files from bootloader or something similar?
not that i know of
but the fact that your issue was noticed during a rom flash
dont mean it's not hardware related
much like a heart attack which happens during a thunderstorm
dont need be related to the thunderstorm
Wait! The error never happened during a flash. I never said it. I had that rom on my trinity since a month and it worked like a charm. Then suddenly I got an error and the phone was stuck.
I have understood what you mean but at least I hope it's not a hardware failure!

How to unbrick an Imate 9502?

After spending many months waiting for the official WM6.1 ROM...
After following the firmware upgrade instructions explicitly (including the notes on Vista)...
I now have a bricked 9502!
The phone just simply tells me to reconnect and try and run the upgrade again immediately after it is powered on. (That doesn't work) I've been searching high and low for a method to reload the firmware.
As anyone who has dealt with iMate knows - their support is worse then useless. Its infuriating! (If you ever do get connected to their online support, they will simply disconnect the session if they don't have a quick answer)
...anyway...
I have the IMAGEFR.mbn and CP.mbn files extracted from the install set and copied to an SD card installed in the unit. I just can't find any info on how to get the phone to load the two firmware files from the card at boot time. (I'm pretty sure the USB connection is going to be useless).
Beware: All this may be due to the fact that Vista-64 wasn't a supported update environment (although the ReadMe specifically gave instructions for Vista - it did not specify 32 or 64).
Help is appreciated!
evanevery said:
After spending many months waiting for the official WM6.1 ROM...
After following the firmware upgrade instructions explicitly (including the notes on Vista)...
I now have a bricked 9502!
The phone just simply tells me to reconnect and try and run the upgrade again immediately after it is powered on. (That doesn't work) I've been searching high and low for a method to reload the firmware.
As anyone who has dealt with iMate knows - their support is worse then useless. Its infuriating! (If you ever do get connected to their online support, they will simply disconnect the session if they don't have a quick answer)
...anyway...
I have the IMAGEFR.mbn and CP.mbn files extracted from the install set and copied to an SD card installed in the unit. I just can't find any info on how to get the phone to load the two firmware files from the card at boot time. (I'm pretty sure the USB connection is going to be useless).
Beware: All this may be due to the fact that Vista-64 wasn't a supported update environment (although the ReadMe specifically gave instructions for Vista - it did not specify 32 or 64).
Help is appreciated!
Click to expand...
Click to collapse
I've read many posts around stating that upgrading WM devices through Vista has proven to be a nigthmare for a lot of devices.
If possible, try to get a WinXP equipped machine, and perform the SW upgrade there normally (i.e. by clicking on the EUM SFX executable file on the PC).
You see, I upgraded mine through my XP lappy, and the process simply ran flawlessly.
Just my 2 cents...
Cheers!
Carlos
the problem is not in the vista, i flash using vista ultimate and no problem, u can unbrick by
pressing fn button and call (green) button then press the reset button, without let the 2 previous button go until u can see the imate logo or hard reset message.
I hope this can help.
thanks a lot i have unbricked my imate
thanks a lot by your code buttons i have unbricked my i mate

Asus Mypal A6x6 WM6.5 rom version 2 (5-19-10)

Well, school is out for the summer, so I can focus on putting out roms again. With this release, I made another WM6.5 rom to test a new compression type that I'm working with. With the original stock compression type (XPR), I didn't have enough space to fit all the goodness of WM6.5, so I switched to a new compression type (LZX) that lets me pack in more. I'm curious to know how the new compression type performs in comparison to the old one. Does anyone notice things are faster or slower?
Thanks to Makuu (for helping to get me started), Lenny, AstainHellbring (thank you for all the nightly help sessions), the creators of the tools I used to make this rom, and anyone else that I failed to mention in name who gave me the knowledge to complete this rom.
Asus Mypal A6x6 WM6.5 version 2
Windows CE version 5.2.21892 (Build 21892.5.0.89)
This was tested on an Asus Mypal A626 (and works). It should work with the A686/A696, but the other models were not tested. Any other models not metioned above WILL NOT WORK.
Updates
1. new compression type
2. os build
3. bug fixes
Additions
1. Windows Marketplace
2. File Dialogue Changer
3. MS Office Mobile
4. Remote Desktop Mobile (has been added again)
Removals (you can reinstall these via windows marketplace)
1. Windows Live
Removals (non-Windows Marketplace)
1. PsShutXP
download: http://www.easy-share.com/1910266747/Asus_A6x6_WM65_2.rar
At this time, this will be the only download link. Mirrors will be created in the future (after I give permission).
Instructions (I have included a txt file with same instructions for offline convenience)
Before you do anything, make sure you have at least a 256mb SD card and a card reader (you can get one at a place like Radio Shack or Office Depot). You also need to install winrar (found at http://www.win-rar.com/download.html). Your SD card must be formatted with the FAT16 file system.
To format your SD Card with the FAT16 file system
Step 1: To do this insert the SD Card into the reader and go to "My Computer".
Step 1a: BACKUP YOUR FILES before you start!!
Step 2: Right-click the drive letter of the SD Card reader (differs for each computer, probably either E:\ or F:\ or G:\) and click "Format".
Step 2a: Don't worry about any of the options except for file system, choose "FAT"
Step 3: Click "Start" and wait until it is done
Step 1: Get (OS) rom image
Step 2: Extract files to any folder on hard drive using Winrar
Step 3: Go to the folder where you extracted the files in the RAR archive
Step 4: Make sure that the filename is "CANNES_A_WM6.img"
Step 4a: if the img file it's not exactly "CANNES_A_WM6.img", rename it to that
Step 5: Format the SD card if you haven't already done so using the instructions above
Step 6: Copy the img file to the SD card, see step 6a
Step 6a: Make sure that the img file is the ONLY file on the SD card after formatting
Step 7: Take SD Card out of SD Card reader and put it in the a6x6
Step 8: Make sure that the a6x6 is plugged in via ac adapter before doing the next few steps
Step 9: activate SD Loader using the following instructions {
Step 9a: Hold down the power button and enter button (that's the button in the center of the d-pad)
Step 9b: Double tap the soft reset button while holding the other 2 buttons
Step 9c: After double tapping the soft reset button, keep the other 2 buttons held until a blue screen comes up that says something like Asus Cannes flashing utility
Step 9d: Wait until the process is finished (it's near the end when it says "writing private")
}
Step 10: At this point, your a6x6 should reboot on its own
Step 11: enjoy your updated rom
If you have any questions, feel free to just post or PM me.
As I release new roms, if you have a support question, please give me the rom version so I know what rom you are working with. You can get the rom version from the filename of the rom pack.
Example: Asus_A626_WM614_1
A626 = device (most often it will be A626, will rarely be different), WM614 = os version, 1 = release #
I only added MS Office Mobile this time because the new MS Office Mobile 2010 had not been released yet. For my next release, I am not including MS Office Mobile due to the fact that you can download the new version free from Marketplace.
My work is free for everyone's use, but if you feel compelled to give a donation towards my work (I am a full-time college student working on this in what little spare time I have), my paypal e-mail is "[email protected]"
Steven855 said:
I only added MS Office Mobile this time because the new MS Office Mobile 2010 had not been released yet. For my next release, I am not including MS Office Mobile due to the fact that you can download the new version free from Marketplace.
Click to expand...
Click to collapse
Some indication about free memory after 6.5 rom installation?
If something wrong, is possible to reinstall the official 6.1 rom?
Thanks
Massimo
maxambro said:
Some indication about free memory after 6.5 rom installation?
If something wrong, is possible to reinstall the official 6.1 rom?
Thanks
Massimo
Click to expand...
Click to collapse
Nothing is wrong with the rom. I would just like to find out if people notice a performance impact (good or bad) with the new compression type (that is supposed to give you more storage space) that I'm trying out with this rom. Iif there was something very wrong with this rom, I would never release it to the public (ok, perhaps I jumped the gun with the 1st WM6.5 rom, but I did put out warnings and a bug-fix rom to remedy some issues with the 1st rom). And yes, it's possible to downgrade to WM6.1 (just a note, Asus never put out an official WM6.1 stock rom, so I had to make it). The latest stock rom is WM6.
Appropriate to glorify
Steven855 said:
Nothing is wrong with the rom. I would just like to find out if people notice a performance impact (good or bad) with the new compression type (that is supposed to give you more storage space) that I'm trying out with this rom. Iif there was something very wrong with this rom, I would never release it to the public (ok, perhaps I jumped the gun with the 1st WM6.5 rom, but I did put out warnings and a bug-fix rom to remedy some issues with the 1st rom). And yes, it's possible to downgrade to WM6.1 (just a note, Asus never put out an official WM6.1 stock rom, so I had to make it). The latest stock rom is WM6.
Click to expand...
Click to collapse
Thank you so much for extraordinary job on rom ver. 2 !!!
I was intalled this on my ASUS 696 and it went smoothly without any problems.
In addition, it looks more faster as you mentioned beside rom ver. 1.
The current rom taking the sum of 29.53MB from a total of 53.35MB memory (what let us 23.82MB free at the program memory section).
Again you made a really holiness work due to the fact our mypals still relevant...
Steven855 said:
Nothing is wrong with the rom. I would just like to find out if people notice a performance impact (good or bad) with the new compression type (that is supposed to give you more storage space) that I'm trying out with this rom. Iif there was something very wrong with this rom, I would never release it to the public (ok, perhaps I jumped the gun with the 1st WM6.5 rom, but I did put out warnings and a bug-fix rom to remedy some issues with the 1st rom). And yes, it's possible to downgrade to WM6.1 (just a note, Asus never put out an official WM6.1 stock rom, so I had to make it). The latest stock rom is WM6.
Click to expand...
Click to collapse
Installed this ROM today, and performance on my A696 is not so good...
First – after reboot it was stuck on Windows startup screen for 4-5 minutes. I thought the flashing process went wrong, but eventually it booted up.
I haven't tested it thoroughly yet, but the first things I noticed – reaction to any user event (tapping, scrolling, etc.) is MUCH slower than on the WM6.1 I'd had before. Haven't tested the application performance yet.
Also, when I tap on the battery indicator nothing happens.
v.real said:
Installed this ROM today, and performance on my A696 is not so good...
First – after reboot it was stuck on Windows startup screen for 4-5 minutes. I thought the flashing process went wrong, but eventually it booted up.
I haven't tested it thoroughly yet, but the first things I noticed – reaction to any user event (tapping, scrolling, etc.) is MUCH slower than on the WM6.1 I'd had before. Haven't tested the application performance yet.
Also, when I tap on the battery indicator nothing happens.
Click to expand...
Click to collapse
Yeah, I forgot to mention that 1st boot time has increased with this rom. This is due to the new compression type. For the power icon, I just noticed your concern. Unfortunately, I don't have a fix for it right now. You can still view battery information by going into the settings.
If anyone knows how to flash a rom in a different language, please enlighten me. I have made an attempt at making an international rom (this time was German), but I can't get it to boot (I have an English version A626). I think the reason it won't boot is because I didn't configure the firmware right (the os is right though).
ROM working very good so far on my Asus A696. Looking forward to a German version but I could live with the US ROM. Thanks for your hard work.
You could also see battery level by using the ASUS Manager Icon on the Today Screen.
Good job
I would donate, for a Portuguese language rom. Thanks!
Problem with rom 2
Hi Steven,
I noticed in a one small problem of rom 2 after flashed on my asus 696.
The problem is that whenever i push the power button shortly and alternatively i'm trying to push it again to power on, it failes to succeed what leaves me to make an another resets for several times.
Can you resolve this issue during upcoming next rom?
Thanks for your good job!
Was a little slow and less responsive on the first startup, but after a soft reset it worked GREAT!
Once again beautiful work Steven, thank you very much!!!!!
dj.brudo said:
Hi Steven,
I noticed in a one small problem of rom 2 after flashed on my asus 696.
The problem is that whenever i push the power button shortly and alternatively i'm trying to push it again to power on, it failes to succeed what leaves me to make an another resets for several times.
Can you resolve this issue during upcoming next rom?
Thanks for your good job!
Click to expand...
Click to collapse
Same problem.
And a second issue: my A696 freezes if I work with the BT module (handsfree, file transfer)
Thanks for the ROM.
When I was making the rom, I was looking for a way to delete the MS Bluetooth stack to free up some space (which is perfectly fine). I'm not sure, but I think the problem could be caused by me deleting some dll file packages related to bluetooth that are shared between the MS Bluetooth stack and the stock Broadcom stack (which is better).
Finally got around to flashing the new ROM. It appears to be working fine. I mostly use the A626 as a music player so I've had no issues so far. There is one thing that I'm not sure if its just my A626 or if anybody else has the problem but when I plug in the external AC adapter it doesn't seem to recognize the external power source... it will charge the battery it doesn't use the screen brightness and timeout settings, it will stay using the settings as if it is running on battery. Anybody else notice this?
*******
Actually after playing around for a couple hours I have an issue where once the device blanks the screen out I cant wake it up by pushing on the screen or the power button. If I connect power and disconnect it and reconnect it I still can't wake it. I have to reset the device to get it back to functional. I've tried reflashing and still have the same issue.
*******
I switched to a different mini usb charger and now it is recgonizing that the external power is hooked up... must have a weird usb charger. I've also gone back to using 6.5 1a to see if I have the same stand by/blank screen issues.
Bluetooth handsfree
I found some registry entries in a french site, with these settings we can enable the bluetooth handsfree service. I attach this file, maybe Steven will integrate in the next ROM (this service can be disabled in the bluetooth settings like any other service if you don't use). The application (which is from asus \windows\bthandsfreedevice.exe) has a little bug: can't do the synchronization of the phonebook and calllog from the phone (I tried with nokia 6233). If anybody know about a newer version of bthandsfreedevice.exe or know another (better) bthandsfree application, maybe we can make a working handsfree device from A696.
brgds,
imre00
bmasephol said:
Finally got around to flashing the new ROM. It appears to be working fine. I mostly use the A626 as a music player so I've had no issues so far. There is one thing that I'm not sure if its just my A626 or if anybody else has the problem but when I plug in the external AC adapter it doesn't seem to recognize the external power source... it will charge the battery it doesn't use the screen brightness and timeout settings, it will stay using the settings as if it is running on battery. Anybody else notice this?
*******
Actually after playing around for a couple hours I have an issue where once the device blanks the screen out I cant wake it up by pushing on the screen or the power button. If I connect power and disconnect it and reconnect it I still can't wake it. I have to reset the device to get it back to functional. I've tried reflashing and still have the same issue.
*******
I switched to a different mini usb charger and now it is recgonizing that the external power is hooked up... must have a weird usb charger. I've also gone back to using 6.5 1a to see if I have the same stand by/blank screen issues.
Click to expand...
Click to collapse
I noticed these today as well, and re-flashed but wasn't able to resolve the problem. Will continue testing the ROM.
While I don't need the Microsoft entries (since they pertain to the MS bluetooth stack), but I will definitely take a look at the widcomm entries. I won't be able to work on rom building until the weekend, but I will take some time to test it (to tell you all the truth, I didn't really test bluetooth as much as I should have with this release).
bmasephol said:
*******
Actually after playing around for a couple hours I have an issue where once the device blanks the screen out I cant wake it up by pushing on the screen or the power button. If I connect power and disconnect it and reconnect it I still can't wake it. I have to reset the device to get it back to functional. I've tried reflashing and still have the same issue.
*******
Click to expand...
Click to collapse
It seems that the device can't wake up only when goes in standby after applying the screen lock. Without locking, it can be powered on with the power button.
Downgrading to rom version 1
Hi steven,
After several times i tried to discover what's appear to make the battery totally empty (due the fact i couldn't start my 696 on every time i shut it down or just pushed shortly the "power on" button just to make it sleeping mode) i figured that something in the rom version 2 caused the problem.
I alreasy noticed (my last reply) that even the battery still ok, during trying to make the 696 go to sleeping mode it's refuse after that to power on and forced me to make couple of resets (because even after some resets the 696 still stuck without any responding).
Finally i downgraded the 696 to rom version 1.

[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.

Categories

Resources