PLAY MIDI ON UR XDA WITH FULL INSTRUMENTS - Windows Mobile Development and Hacking General

Now you can play the Polyphonic Ringtones on your XDA-I,Qtek1010,Siemens SX56,MDA-1 and T-Mobile with full instruments just by installing this file into your device :twisted: :
- MIDI56.sa.CAB
How to:
1- Copy the MIDI56.sa.CAB into your xda to any place you want then open the Explorer from your XDA,goto the folder you pasted the file in then click on the file after that get a *.mid file paste it into the \WINDOWS\RINGS,
Open the Phone from Settings and select the midi file you want it to be as your ringtone.
2- For whom the ringtone still doesn't work at all you just neet to extract the file >>CameraRC132_WWE_1.5.sa.zip<< and copy the cab file to your device and install it. Get the file from :
http://forum.xda-developers.com/viewtopic.php?t=6337&highlight=
Ps: My O/S is WM2003. I didn't test it on WM2002 if someone will just post here the result.
Enjoy my friends

We need to see the code can you pleas give use the code
Thanks

wwb95 said:
We need to see the code can you pleas give use the code
Thanks
Click to expand...
Click to collapse
I don't have the code that you're asking about bcz I didn't write it! I took this cab file from the Newest Himalaya's Extended-Rom :wink:

Your MIDI56.sa.cab has problems
Not that it matters that much to some folks...but in case you have an XDA-1 /MDA/PPC Phone Edition....I can confirm the following:
1. With WM2003, you will definitely need the Camera------.cab file installed, plus the MIDI56.sa. Mind you, you will have to install the MIDI56.sa file first, and then install the Camera------.cab
2. It will use up about 600+ K of needless memory on your XDA-1 because obviously, we don't have camera's. So.....what're you to do ? Well, go to
\WINDOWS
and look for Camera.EXE ( approx 500+ K )
Then, what you can do is launch Album, and look again at the \WINDOWS directory...and you will see a bunch of bitmaps obviously ( among other things ). Now..what you're looking for is files dated from 8/20/2003 ( that's 20/8/2003, for you folks EAST of the Atlantic ). Primarily they're bitmaps that were used by the Camera application. They add up to about 50-60 K. There's probably more files associated with the Camera.exe application that you won't need, plus any references in the PPC's registry will probably need to be ferreted out.
But...once you've done that, you've actually reclaimed approximately 800 K in space. Which on a 32MB unit, is a fair bit of memory.
Enjoy !
Marcelo

Re: Your MIDI56.sa.cab has problems
marcelol said:
Not that it matters that much to some folks...but in case you have an XDA-1 /MDA/PPC Phone Edition....I can confirm the following:
1. With WM2003, you will definitely need the Camera------.cab file installed, plus the MIDI56.sa. Mind you, you will have to install the MIDI56.sa file first, and then install the Camera------.cab
2. It will use up about 600+ K of needless memory on your XDA-1 because obviously, we don't have camera's. So.....what're you to do ? Well, go to
\WINDOWS
and look for Camera.EXE ( approx 500+ K )
Then, what you can do is launch Album, and look again at the \WINDOWS directory...and you will see a bunch of bitmaps obviously ( among other things ). Now..what you're looking for is files dated from 8/20/2003 ( that's 20/8/2003, for you folks EAST of the Atlantic ). Primarily they're bitmaps that were used by the Camera application. They add up to about 50-60 K. There's probably more files associated with the Camera.exe application that you won't need, plus any references in the PPC's registry will probably need to be ferreted out.
But...once you've done that, you've actually reclaimed approximately 800 K in space. Which on a 32MB unit, is a fair bit of memory.
Enjoy !
Marcelo
Click to expand...
Click to collapse
Marcelo,
I updated the installation instructions,you needed more to read about it.
Mind you, it doesn't matter what you install first cos I had the camera and album files in ppc b4 the midi cab file so it's ok.
Actually it's taking more than you are claiming, since those files installed in the \WINDOWS you can move them to "\Storage card\Album\Album.exe" "\Storage card\Camera\Camera.exe" like I did and gain back the used space , there's also a help file related to the camera it's about 56 kb you could remove it from "\WINDOWS" plus the little bitmaps. Thus you can as well fix the path in the registry for the files associations + making new shortcuts for the Album.exe,Camera.exe and by replacing them on the old ones.

Excellent !!!
I have to remind people that you MUST be careful when deleting the little bitmaps...look at them inside of Album first before deleting anything.
I had to reinstall my GPRS Monitor application because I deleted one of it's bitmaps by mistake....word to the wise !!!
Also I found TONS for MIDI files ( amateur ones ) to use as ringtones....,now if there were a way to make the ringtone directory point to my storage card, that would be great !!
Here's the link
http://www.ifnimidi.com/

TIPS
marcelol said:
I have to remind people that you MUST be careful when deleting the little bitmaps...look at them inside of Album first before deleting anything.
I had to reinstall my GPRS Monitor application because I deleted one of it's bitmaps by mistake....word to the wise !!!
Also I found TONS for MIDI files ( amateur ones ) to use as ringtones....,now if there were a way to make the ringtone directory point to my storage card, that would be great !!
Here's the link
http://www.ifnimidi.com/
Click to expand...
Click to collapse
Marcelo,
Moving the ringtones to the Storage card that was my other issue since a long time. I managed a way to do that it. Well for the first try it was successful but when the ppc turns it self off and some one calls you you’d hear the "windows default" ring and it remains whether you selects another ringtone. I kept a backup up on my registry to restore it back to the last status.
So if you like to share me your assistance I'd be grateful.
I'll give you tips of doing that and the project from here it starts…
------------------------------------------------------------------------------------
P.S: I recommend a backup on the registry b4 applying those tips
===============================================
1- (Looping Ringtones)
This tweak works perfectly you should apply it to your ppc's:
While playing a wav or midi or a wma as the ringtone the phone has a delay of 3 seconds before repeating, now this is really annoying if you've just created that great wav,wma ringtone, spent time making it loop properly in sound editor or whatever, and then the ppc does the silly delay, well, here’s the fix...
Open the registry editor:
HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0
Select 'Values'
And modify 'Script' by removing the w3 (eg. change 'av0pw3r' to 'av0pr')
"w3" stands for "Wait 3 seconds" you can make it "w1" or "w4" or remove to make the ringtone loops
===============================================
This tweak works for the first time you do it but when the ppc turn it self off the ringtone you selected won't play again :S be noticed.
2-Ringtones on SD/MMC Card
Open the registry editor:
HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0
Select 'Values'
Select 'Sound' and change the Value Data: \Storage Card\path to wav\wavname (eg. \Storage Card\Ringtones\mytone.wav)
We need here more try about this tweak and good ways to fix so ppl let’s do some tests
===============================================

This is the registry key where all ring tones s/w is playing whenever it comes to customizing a phone ring tone ... including PZP
and that's why all these s/w keeps a "live" component in the back ground to override what Windows is updating each time.
So, PZP was designed as today plugin, so Windows will force it to update the ring tones with each system referesh ... other s/w may keep a background process DLL running or to reconnect cprog.exe to their DLL ... or even to trap the system events to cprog.exe and redirect them to their handler.
So, I think (I might be wrong too ) the trick is to build a live demon to keep updating this registry key.

Necessary Files
I've been able to cut the necessary files for polyphonic ringtones down to ~570KB. Keep in mind I did this on a device with a ROM that was already cooked with supposed "support" for polyphonic ringtones, so there may be other files it is relying on. At any rate, the kitchens need to be updated with these files, because it doesn't work as-is.
There also may be ways to trim even more down, but this is what I have after many hard resets and adding/deleting files one by one. Hope it helps.
Shawn

Related

Question Regarding Ringtones

I was wondering if anyone could tell me how ringtones work on the phone devices. Specifically, I am wondering what could cause ringtones to stop functioning.
What's going on is that I've developed some software that is inadvertently blocking ringtones such that it takes a soft-reset to get them back. Even shutting down the program doesn't help. I've rewritten just about every line of code and I haven't been able to solve the issue.
I'm sure I could figure this out if the emulator supported ringtones (I don't have a phone device myself). but since it doesn't I'd really appreciate any help.
Thanks for your time.
read this like yesterday (responded to it too); not sure if it'll help you but it the chap seems to know how the ringers work. forgot to paste the threat address...but i do remember it's something like "mp3 as ringtone"...
cheers
-----------------------------------------
Dear,
Quote:
I have a XDA2 and want to use Pink Floyds Money as my ring tone. I have got this track on my SD card in a mp3 format but have not got a clue what to do. If anyone can help me I would be really gratefull. I will need step by step instructions. Email [email protected]
If you wanna be able to access and use music files (mp3 and wma format) located in your sd card as ringtones, you may also consider changing the registry setting. Here is the step by step advice
1. Install regedit in your device (in case you haven't had it yet)
2. Open the regedit and look for the following values
HEKY_CURRENT_USER/ControlPanel/SoundCategories/Ring
Then under Ring Folder -> tap Directory, you'll see that the default directory is set to be \Window\Ring. You can change that directory to your preference (e.g. \Storage Card\My Music\). Soft-reset the unit. At this stage, all music files in MP3 and WMA format can be accessed directly from the storage card
3. Go to Phone->Tools->Options->Ring tone, and select whatever song you prefer using a your ringer.
Note that evey time someone calls you, the device will locate the songs at the specified location (e.g. SD card) and hence the ability to play the ringer properly also depends on the speed at which the device and the SD card interact.
HTH,
Ken
--------------------------

Change file type associations

Hi
Since I use my S110 one thing annoys me to deat. I use Wisbar and this closes programs instead of minimizing them. Now, when I click on a *.mid or *.wav that sluggish album program needs to start up and that takes ages. On my old iPAQ (that lacked that album) those files where played by the explorer directly (maybe a small dll, don't know) and that was way faster, there was no delay whatsoever and the album takes its sweet time to come up.
So I'd like to know if there is a way to change the fily type association for the audio files from the album to that smaller player (that is included in WM2003, just don't know the name)?
Please help.
there is a little program called myExtensions available for free, and lets you choose the whatever program you wish for a certain extension..
http://www.badschwii.com/
you can also use Resco File Explorer... use ( open with ) ..
if both combined together.. you'll get very good results :wink:
cheers
Ok thanks, that looks promising. I'll check that out asap.
Ok, that tool worked perfectly. All set and done. Nice, thanks again.
Glad I helped

C# ALert Tone Change

Does anyone have the code / API that will allow a program to change a message tone? (WM5)
I've searched about but haven't come up with anything yet.
The idea of the application is to look into a specific folder and read all .wav files in there, then every hour or so change the message tone to be a random file.
Thanks in advance
UPDATE
have changed the solution to overwrite a Tone already set up - message.wav - however I am having problems overwriting it.
It works OK if you go to Sounds and Alerts and choose message.wav and click OK, then run the application - it overwrites successfully, however after that it won't overwrite again
I think it may be due to some caching of the file to keep it in memory for some time, but haven't ascertained this properly yet
I'll let you know if I can find it then will post the application - my main purpose for it is to have a random TV (mostly blackadder) quote play when I get a message
I'm not sure, but to me it sounds like you may have to change the registry entries for the alerts.
HKCU\ControlPanel\Sounds\
And look for the one(s) that you need to change.
You can do that easily in C#, there are classes for accessing the registry and making the changes.
Sound files must be stored in the /Sounds folder.
Good luck

Spyderplayer music player

I've made a new mp3 player with a useful feature... try it at
http://spyderblade.bravehost.com/index.html
Appreciate feedback!
-spy
v 0.2 is out.
http://www.youtube.com/watch?v=3C5ct60LSWQ
Better interface, + night mode + bug fixes.
Great idea. Thank you.
I don't have many songs on PPC right now, but when I do I'm sure your jump feature will be very useful. I'll try it out and let you know how it performs on WM6 Wizard.
Thanks again.
Oh quick question, are you going to have the option to set the music folder instead of forcing to be "\Storage Card\Music". Since I don't have any songs I'm not sure whether the other players typically look for their songs.
folder customization
Yes, I actually was trying to get that in in this release... but you won't believe how difficult accessing the registry is is ppc vb.net programming. INI files are not supported either, I just need a simple config file! There are a few libraries out there and i'm still working on it.... till then, I'll just make it ask for a new folder if the default one is not found.
Give me a few hours...I'm not home atm.
-spy
I just copied over the files to my Storage Card and attempted to run it. It wouldn't and simply errored out saying "Unknown error has occurred". No detail was given. Have you tested this app using a WM6 emulator?
I suspect that is because the music folder does not exist. Either wait for me to make this user specified.. or do this:
Make a dir somewhere in your computer called 'sdroot'.
Make a sub directory called 'Music' (name here is important)
Put a few .mp3 files in here (... must be at least one...)
In the emulator settings, set the shared folder to 'path\To\sdroot'
Open the file explorer and test and see if 'storage card\music' exists from within the ppc enviornment.
Now run it. Should work.. I'm sorry all these things are not acceptable.. It's just that this started as a personal pet peeve that I just wanted to hack around. But yeah if it helps others I'm all for it! I defend my ms. thesis in 2 weeks... so i'm kind of busy. Sorry for the delay...
Ok here is the update.
Version 0.25
- Music directory is now customizable via config.txt in the same directory. First line of config.txt == music path.
- No more unexplained crashes. You'll get an error if some path or file is not found.
- Minimize is fixed and works now...
Give it a shot now..
http://spyderblade.bravehost.com/index.html
Also got a new video is GPS + audio running in my car. I'm loving it!
http://www.youtube.com/watch?v=9NAaJ7HM0zw
And some pics of the same.
-let me know how it works out for you

Help Please Programs in windows folder

Hi there
Thanks in addvance
Could any body help i think i read some ware in this forum that less files in windows folder meens that your device runs faster !!
I also think I read some program can only be installed to windows\ I Don't know which? programs need to be in which directory or is it all down to the reg enteries or is it dependent on the *.exe & *.dll files
If it is posible to install office mobile to something like \program files\OfficeMobile\ ?, Would there be any benifits for doing this ? or would i be wasting my time ?
It seems a lot of programs install into windows\
Easy - if you know how!
swampy395 said:
Hi there
Thanks in addvance
Could any body help i think i read some ware in this forum that less files in windows folder meens that your device runs faster !!
I also think I read some program can only be installed to windows\ I Don't know which? programs need to be in which directory or is it all down to the reg enteries or is it dependent on the *.exe & *.dll files
If it is posible to install office mobile to something like \program files\OfficeMobile\ ?, Would there be any benifits for doing this ? or would i be wasting my time ?
It seems a lot of programs install into windows\
Click to expand...
Click to collapse
Various options here mate (listed in order of user level):
In WM5+ you can choose to install to the Storage Card by default - any programs that cannot be installed here will usually tell you when you try, and ask you to try again in the correct folder.
Go get yourself a copy of a program called Pocket Mechanic and it has an option that lets you move programs to your storage card (it changes all the links/shortcuts and reg entries for you) - it can also move the 'My Documents folder and IE cache, too - saving even more space.
Find a program called CECabManager (30 day trial) which lets you edit the cab files for programs and change their default install folder.
WARNING
ALWAYS backup your device before playing around with this stuff - it's a real P.I.T.A. when you have got yourself almost set up, then you destroy the system, or cause a glitch!
My best advice is to go buy a copy of Spb Clone and install that before you fiddle about! Also, backup your PIM data to Outlook, or with Spb Backup, too! Then you're pretty much safe to do what you want, as you can always go back if all goes tits up!
Bird
Bird_FAT said:
Various options here mate (listed in order of user level):
In WM5+ you can choose to install to the Storage Card by default - any programs that cannot be installed here will usually tell you when you try, and ask you to try again in the correct folder.
Go get yourself a copy of a program called Pocket Mechanic and it has an option that lets you move programs to your storage card (it changes all the links/shortcuts and reg entries for you) - it can also move the 'My Documents folder and IE cache, too - saving even more space.
Find a program called CECabManager (30 day trial) which lets you edit the cab files for programs and change their default install folder.
WARNING
ALWAYS backup your device before playing around with this stuff - it's a real P.I.T.A. when you have got yourself almost set up, then you destroy the system, or cause a glitch!
My best advice is to go buy a copy of Spb Clone and install that before you fiddle about! Also, backup your PIM data to Outlook, or with Spb Backup, too! Then you're pretty much safe to do what you want, as you can always go back if all goes tits up!
Bird
Click to expand...
Click to collapse
Thanks Bird
PS do you know it doe's run faster whith les files in windows folder ?
Speed or Space?!?!
swampy395 said:
Thanks Bird
PS do you know it doe's run faster whith les files in windows folder ?
Click to expand...
Click to collapse
No idea - anyone?
I think that if you have too little space, you'll be in trouble when some programs run as they may need to use it as RAM or a swap file - I've filled it to within a MB or 2 and it has slowed down the system!
See my post in this thread for how I keep space in my Storage area (at the bottom of the second post)
http://forum.xda-developers.com/showthread.php?t=388249
If you're looking to speed up your system, why not try an overclocking utility?
I've just got Pocket Hack Master - I'm testing it now! I've used Anton's Pocket Mechanic for ages now, and so I'm pretty confident in the quality of the app.
http://www.wizcode.com/products/view/pocket_hack_master
And there is a starter guide here:
http://www.wizcode.com/articles/comments/pocket-hack-master-speed-configuration-guide/
Let me know your results!
Bird
Thanks again bird
Don't fancy clocking my CPU realy wanting to know if it's worth the effort of hacking all my *.cab files and OEMs to install into sub folders rather than windows\ Idear been Keeping as little as posible in the windows\ "folder" I could have a sleep some times waiting for file explorer to finish opening windows\ was hopeing that if there's less in windows\ the device my run faster with a smaller directory ??
Thanks
swampy395
Possibly...
You could always try using Pocket Mechanic!!
Instead of hacking the cabs, you could just use Pocket Mechanic - it will move the programs across to your SD card and change all the reg entries, links, etc. for you!
I find that there are some cabs that really don't like to be hacked! But, if that's the route you want to go down (saves having to do it all again in the future), then CECabManager is definitely the way to go! Pretty pricey software, but gives you a nice 30 day trial period to play with it! Just remember to remove any 'setup.dll's' from the tree in the left-hand window if you change anything - can cause the install to muck up if you don't!
And the best bit of software on the net in my opinion is Spb Clone (god I love Spb software - it's just so good!) - once you get your system looking and working how you want it to, just clone the whole thing on to some spare space on your card and you're safe from any general errors! Use Pocket Mechanic to move all your documents, mail and cache folders onto the SD card and you're even safer - go one step further and get Spb Backup to save teh PIM data onto your SD, too and you get ultimate safety (as long as you remember to save reguarly LoL!):
PIM synced with main PC or onto SD with Spb Backup
Documents, mail and cache on SD
Clone of system on SD
Any screw ups, any dodgy software, ANY problems and you just go back a few days!
SORTED!! ​
Bird
Free even MORE space!!
Found a way to get even more space! Really helpful for me when I want to play certain games, as some of them were refusing to start as they needed more space than I had. I managed to claw back about 8meg, but then I have somewhat overloaded my BAs with about 250 apps/games! )
Using Pocket Mechanic, you can move the AppMgr file from the Windows directory of you BA onto your Storage Card - (the original folder structure will be recreated if you try to install anything new!) - when it's finished, just soft reset your BA and VIOLA! more space in the storage section.
***********NOTE***********
If you want to delete any of your apps - or even install a new version over the top of an old one, you have to move the corresponding folder from the AppMgr folder on your Storage Card back into Windows/ApMgr or the uninstall/reinstall will fail - If you haven't installed anything since you last moved the AppMgr folder, then you will have to create the AppMgr folder before moving the folder of the app you wish to delete.
Have fun,

Categories

Resources