Custom ringtones on Mango WITHOUT dev-unlock - Windows Phone 7 Development and Hacking

Hey all, I saw a couple threads on this, but I found this and thought that it would clear up some of the confusion for making custom ringtones on a NON-Dev unlocked version of Mango.
http://windowsphonesecrets.com/2011/06/28/custom-ringtone-support-in-mango-explained/
I used Audacity and the lame_enc.dll file to make a short ringtone mp3 and then moved it to my phone in the newer version of Zune. After that, I right-clicked on the file and went to edit and manually changed the genre to "Ringtone" (yes, with a capital 'R'). From that point, it did NOT show up in my music on my phone but appeared under the word "Custom" in my ringtone selection. This was actually relatively painless and pretty cool. Hope this tutorial helps people using the Non-Dev Unlocked Mango.
Red.
Samsung Focus
Mango Beta2 Non Dev Unlocked
All thanks to XDA as usual.

A perhaps easier way than using some software to cut the MP3 would be to simply use a webbased service like http://cutmp3.net/
Most people won't need the additional capabilities of audacity and for a few files this non-install version will do.

Microsoft engineer burn their head... 39 sec... really suck idea....
after re-contract i will change to android

Hi, is it possible to have a custom ringotne for a new text message?

jogabonitos said:
Hi, is it possible to have a custom ringotne for a new text message?
Click to expand...
Click to collapse
ringtones yes, notifications not yet...

iwantnokia said:
Microsoft engineer burn their head... 39 sec... really suck idea....
after re-contract i will change to android
Click to expand...
Click to collapse
Well if that's all the reason you need to leave WP7, then I don't even want to imagine what you'll do with all the issues with android

iwantnokia said:
Microsoft engineer burn their head... 39 sec... really suck idea....
after re-contract i will change to android
Click to expand...
Click to collapse
What does that first part mean? I mean beyond the glaring error of the plural pronoun with a singular antecedent, what are you trying to say with the whole "burn their head" thing?
::

munkeyphyst said:
What does that first part mean? I mean beyond the glaring error of the plural pronoun with a singular antecedent, what are you trying to say with the whole "burn their head" thing?
::
Click to expand...
Click to collapse
LOL!!!!!!!!!!

Probably already an Android user... hence the limited vocabulary!!! LOL!!!

iwantnokia said:
after re-contract i will change to android
Click to expand...
Click to collapse
Bye Android fanboy, you wont be missed.
If you like the phone fine but these type of comments...just go away
May I make a suggestion for you ? Go to your local craigslist, list your phone for sale or trade, get a Android phone and stop trolling the WIndows Phone 7 areas...

Create ringtones on Mango:
Create your own ringtones so you can match your jingle to your mood, or match just the right tune to your contacts. Just make sure the audio file is:
• In MP3 or WMA format.
• Less than 40 seconds.
• Less than 1 MB.
To make any file that fits these criteria into a ringtone on a PC, all you have to do is assign it the genre of "ringtone" in the Zune software. If you don't have the Zune software on your computer, see Install the Zune software.
To create a ringtone using the Zune software
1 Open the Zune software and find the file you want to turn into a ringtone.
2 Right-click the file, and then click Edit.
3 In the GENRE list, click or type Ringtone, then click OK.
4 Connect your phone to your computer using a cable, and then sync the file to your phone

Wish Microsoft would have added custom ringtones when they first released the OS. Simple mishaps like this has caused major blows to this platform in my point of view. I like the fluidity and overall look of WP7 but its lacking essential features. So I bound to head back to android or WM6.5.

That capability existed in the original release of software - it was briefly documented on the earliest versions of the Windows Phone manual posted on the AT&T site, however, for whatever reason it was not available to users in the released version of the phones. No info whether that was due to Microsoft changing their mind, or the carriers optioning that feature out.
...and I clearly need to change my .sig - it is soooo out of date!

I Wonder if there is a way to use builtin ringtones as Textmessage tone - i would like to use the Sound 'portal'...

Ludacris said:
I Wonder if there is a way to use builtin ringtones as Textmessage tone - i would like to use the Sound 'portal'...
Click to expand...
Click to collapse
Builtin as ringtones, MAY be possible but they have to be in WMA format. You'll have to create a WMA, copy it to the ISOStore of one of the apps on the phone using Windows Phone Power Tools then use WP7 Root Tools 0.7 to copy it to the \Windows directory. From there you'll have to rename one of the Alert-xx.wma files to something else and rename your wma to Alert-xx.wma. It should work. I changed my Alert-06 for my e-mail to be the old "You've Got mail" sound from AOL

Alternatively, use the Advanced Config for WP7 Mango tool (on TouchXperience). Requires interop-unlock, of course, but provides a nice interface that lets you set the registry keys controlling various sounds to whatever sound files you have installed.
The only catch is that if you open the Sound control panel, it'll reset to some default. If you rename an alert file and then copy the file that you want to use into the name of the renamed file (using WP7 Root Tools, TouchXplorer, or a provxml file) then you can use the control panel directly.

That one didn't work for me (HTC Trophy) - The Text Message Sound is then Set to "None" and I dont get any Sound

Did you open the control panel after running Advanced Config, like I specifically said not to do lest your changes be reset to defaults?

No, there wasn't any tone before I went to the controlpanel. That was the reason why I went there later

iwantnokia said:
Microsoft engineer burn their head... 39 sec... really suck idea....
after re-contract i will change to android
Click to expand...
Click to collapse
If you want Nokia, you won't find it with android...

Related

The Alarms and Ringtones of Windows Phone 7

Here are the alarms and ringtones from Windows Phone 7 from the latest emulator build. They were created by taking Long Zheng's video, extracting the sound and cutting it. (http://www.youtube.com/watch?v=KzrgGWYYZwU&feature=player_embedded)
Thanks to Anudeep for helping out!
Microsoft need to put many other style (no?). Because it's near to be all same sound!
G-ThGraf said:
Microsoft need to put many other style (no?). Because it's near to be all same sound!
Click to expand...
Click to collapse
I would be shocked if they don't. In fact, I wouldn't be surprised if none of these are even in the final build. This is a beta emulator. Content like ring tones and alarms are extremely easy to add at the last second and often is so that they can keep it close to the vest.
Yes sure, i know but i was surprised when i heard these ringtones so i underline it
They're all from the same instrument.
I think these are just here for demonstration purposes. MS should know the deep hole the need to climb out of, and how important that each element of their new platform need to be, down to the most insignificant alarm sound.
Two Step is my current ringtone. That one actually isn't too bad
bugsykoosh said:
Two Step is my current ringtone. That one actually isn't too bad
Click to expand...
Click to collapse
Yeah, upon hearing all of the ring tones, Two Step was the only one that actually sounded different... and good! Wouldn't be surprised if it makes the final cut
i took alarm 12 cut it in half and amplified it to use as my text ringtone
thx,but it sounds all the same.haha
Nice post
lol, it sounded like 4 keys of the piano just played in different orders. In that case, we'd have 24 alerts/ringtones.
Windows Phone 7 Key press sounds
I'm for the windows phone 7 oryginal keypress sounds. I use HD2 and i want to replace it for WP7 sound.
Could make a pack of these files for me?
Be very grateful
Request for update - can somebody gather all ringtones and alarm sounds form latest Tango ROM/emulator and if possible also custom NOkia/HTC/Samsung ringtones and alarm sounds and make them downloadable? Thanks
Thank you so much
can anyone tell me where the ringtones are in sys inside roms?
also how i might beable to set registry for default boot up sound?
and how i might beable to add another oem to the ringtone list?
curantly i have
windows phone
htc
in ringtone list i would like to add another catagory
oddly the nokia package installs its ringtomnes in the htc catagory!
i would like to orgnize and make nokia catagory as well!

[LIST] WP7 disadvantages And Solutions

I am a big fan of WP7 waiting this from a year or more ... but i will not buy a device don't include a way to send or receive data between devices
this list is for make sure which is real ... which is fake .. which is not important
WP7 disadvantages List
- No system-wide file manager
TouchXplorer
Click to expand...
Click to collapse
- No Bluetooth file transfers
TouchXplorer
Click to expand...
Click to collapse
- No USB mass storage mode
Windows Phone Device Manager
Click to expand...
Click to collapse
[FONT=&quot]
- Running apps switcher[/FONT]
Microsoft updates Early 2011
Click to expand...
Click to collapse
- Custom ringtones
Microsoft updates Early 2011
Click to expand...
Click to collapse
- No copy/paste
Microsoft updates Early 2011
Click to expand...
Click to collapse
[FONT=&quot]
- GPS + Turn By Turn + Integration [/FONT]
Microsoft updates Early 2011
Click to expand...
Click to collapse
- HTML5
Microsoft Mango Update Late 2011
Click to expand...
Click to collapse
[FONT=&quot]
- Flash or Silverlight support in the web browser [/FONT]
Microsoft Mango Update Late 2011
Click to expand...
Click to collapse
- Cards not readable by computer
- Record calls & sounds
- Video Calling
- VoIP Calling
- No music player equalisers
- All sensors stuff
- MyPhone Support
- search in contact
Must Have Apps List
* IM Application ( Numbuzz.. facebook,WLM,Skype ....... chat )
* Interface (Something like CHT)
* E-Book (Collect PDF From ur memory and arrange it to be easily readed)
* FM Transmitter
* RingTone Creator
* Quick Call
Dr.Mazika said:
Main disadvantages
No system-wide file manager only a disadvantage to people like us, most people don't care
No videocalling
Limited third-party apps availability
No Bluetooth file transfers Without the file manager this is kinda pointless
No USB mass storage mode see previous answer
No multitasking it is there in a limited fashion, though right now only for the windows stuff (Zune, IE etc) but may be opened up to others in the future
No copy/paste slated to be in the first update in early (Jan) 2011
Too dependent on Zune software for computer file management and syncing I actually like this one, Zune can handle pictures, music, video, podcasts...what more do you need really?
No music player equalisers I'm sure someone will come up with an app.
No Flash or Silverlight support in the web browser it will be there eventually.
No sign of free Bing maps Navigation so far I hope this comes along soon, rumor is in the first update in Jan.
No DivX/XviD video support I'm not even sure what these file formats are as I have never needed them.
No internet tethering support this will probably have to be through an app from the carrier sadly.
New ringtones available only through the Marketplace I don't know where people heard this one...
Swapping memory card requires hard reset; cards not readable by computer from what I hear this is true, the memory is exandable, but not removable...
Which is true with is faulse ?
Which will fixed by later updates ?
Click to expand...
Click to collapse
see the red answers above.
alot of your answers hinge on things coming in the future. And on that note most done even have an exact release date.
this is true, but it is confirmed about the copy/paste, rumored about the nav. MS wanted to have a nice stable solid base OS before they went crazy with the options I am guessing.
can i record calls & sounds?
Omega Ra said:
see the red answers above.
Click to expand...
Click to collapse
turn by turn
fast app switching
and c&p
all headed in next updae in jan. most likely we will see apps stating to be able to run in the background as well, and "Multi tasking" is stated to be in the near future...
source -> http://pocketnow.com/windows-phone/windows-phone-7-update-in-january-may-bring-turn-by-turn-gps ' '
* is there is a file manager ...but not system-wide ... or no file manager at all
* Bluetooth file transfers ... is this mean i can't send or receives files by bluetooth ? so how can i share files / picture/music ... with my friends
Dr.Mazika said:
* is there is a file manager ...but not system-wide ... or no file manager at all
* Bluetooth file transfers ... is this mean i can't send or receives files by bluetooth ? so how can i share files / picture/music ... with my friends
Click to expand...
Click to collapse
The only "file manager" is the zune desktop app which manages media. There is no way to access files/folders on the phone. Each app has it's own isolated file system.
Email/SMS. I've never heard of anyone ever using bluetooth file transfers.
RustyGrom said:
The only "file manager" is the zune desktop app which manages media. There is no way to access files/folders on the phone. Each app has it's own isolated file system.
Email/SMS. I've never heard of anyone ever using bluetooth file transfers.
Click to expand...
Click to collapse
On rare occasion I have done BT file transfer, usually when I am sending a .cab from my phone to my sisters or something, but that is a rarity.
You're joking right? I use BT file transfers pretty regularly. From my phone to my laptops and other phones. In fact last time I used it was just a few days ago to send some ring tones to a friend's mobile.
So I guess by saying there is no BT transfers means MS have gone down the Apple route of locking down the BT to just headsets and handsfree kits or am I mistaken in that assumption?
Never used it, never had the inclination to use it, never heard of anyone using it. Why not just email or SMS whatever it is you're trying to send?
"The provided Bluetooth profiles are Hand-Free Profile (HFP), Headset Profile (HSP), Advanced Audio Distribution Profile (A2DP), and Phone Book Access Profile (PBAP)."
I think a major disadvantage is the fact that they have not even integrated HTML5 into their browser as even the iPhone has that. Hopefully more sites will use HTML5 instead of Flash as I have an Android device and I find flash to be quite slow and buggy at times. Its good that they have announced that they will be bringing c&p as thats a needed feature.
Phone Titan said:
I think a major disadvantage is the fact that they have not even integrated HTML5 into their browser as even the iPhone has that. Hopefully more sites will use HTML5 instead of Flash as I have an Android device and I find flash to be quite slow and buggy at times. Its good that they have announced that they will be bringing c&p as thats a needed feature.
Click to expand...
Click to collapse
I am sure the html5 and silverlight will make it's way into the browser, they just want to get it functional and solid first. Can't have EVERYTHING right away. I think what is there now is a great foundation.
Phone Titan said:
I think a major disadvantage is the fact that they have not even integrated HTML5 into their browser as even the iPhone has that. Hopefully more sites will use HTML5 instead of Flash as I have an Android device and I find flash to be quite slow and buggy at times. Its good that they have announced that they will be bringing c&p as thats a needed feature.
Click to expand...
Click to collapse
I don't see how that's a major disadvantage given that we live in real reality and not Job's reality. HTML 5 will be important one day...today isn't that day. It's not ready for primetime. IE9 will start to be ported over into wp7, I'd be shocked if it's not up by the end of next year, and HTML5 still won't be a prevalent force on the web by then either.
Also, once they expand the API or allow other browser developers to get native access, then we may very well see HTML5 via those browsers.
I wonder what kind of security apps Microsoft will allow. I would like an app like Throttle lock on my phone over a pin # lock.
No USB mass storage or being able to swap out sd cards without hard resetting is an inconvenience. I'm often at a friend house and may want a file that's too big to email. It's easier to insert my card into their laptop, drag & drop a 5 gb file in the proper place on my sd card & take it home to place on my pc later. If some takes a long hd video with a flip cam, I rather them place it on my sd card than have them burn it to disc or shrink it & email it.
Copy & Paste is supposed to be available by the time Sprint gets a WM7 phone so I cant complain about that.
Too dependant on Zune software is an issue when wanting files from someone else PC that doesnt have Zune software.
No internet tethering support is a big issue for me.
Flash support isn't an issue if they allow 3rd party browsers, I would use Skyfire for WM7 if there is one available by the Sprint launch.
Dvix/Xvid support would be a plus but not a deal breaker.
Silverlight would be a plus as well but not a deal breaker either.
With no system wide file explorer, does that mean there will be no way to hide certain pics & videos from being found by someone else looking into the phone?
USB mass storage and file explorer are very important on my list. This is quite a disappointment.
ericc191 said:
USB mass storage and file explorer are very important on my list. This is quite a disappointment.
Click to expand...
Click to collapse
Just look at Engadget review.
Basically everything what was described before.
Lack of multitasking to crazy extent - 3rd party apps are OFF even after just lockscreen.
Apps are also buggy, the ones from Marketplace.
Copy & Paste.........
You can't escape those things.
doministry said:
Just look at Engadget review.
Basically everything what was described before.
Lack of multitasking to crazy extent - 3rd party apps are OFF even after just lockscreen.
Apps are also buggy, the ones from Marketplace.
Copy & Paste.........
You can't escape those things.
Click to expand...
Click to collapse
The app thing is a bit crazy if true...we'll have to wait a bit longer as other reviewers are not saying the same thing...
RustyGrom said:
Never used it, never had the inclination to use it, never heard of anyone using it. Why not just email or SMS whatever it is you're trying to send?
"The provided Bluetooth profiles are Hand-Free Profile (HFP), Headset Profile (HSP), Advanced Audio Distribution Profile (A2DP), and Phone Book Access Profile (PBAP)."
Click to expand...
Click to collapse
Sorry mate but what kind of idiotic argument it is??!!
If I stand next to somebody or next to my own computer and want to send a file
why the hell should I email this?! I send it by BT! It's simpler, faster and OBVIOUS SINCE WE HAVE 2010, and bluetooth is known for ages!
It's hilarious you're trying to justify every stupid limitation by MS,
and if you're not having argument than you say you don't use it.
Knock knock. Most of the people never had inclination to use a smartphone,
should we abandon this?
lip said:
The app thing is a bit crazy if true...we'll have to wait a bit longer as other reviewers are not saying the same thing...
Click to expand...
Click to collapse
You don't think they've made it up, do you?
Sad, but that may be possible that the really functional WP7 will be available around end of 2011.
I won't wait that long. And many users once they find the limitations won't hesitate from switching.

Undocumented Capabilities in WMAppManifest.xml WP7

Looking around the IMGFS, I found some undocumented capabilities that can be used in building an app (in addition to the standard ones mentioned in the WMAppManifest.xml file).
These are the extra ones I found, in case anyone is interested (from BasePolicy.xml):
ID_CAP_RINGTONE_ADD:Allows ringtone-marketplace applications to read/write into the Ringtones directory
ID_CAP_MEDIALIB:Access to the media library - read, play-back, etc.
ID_CAP_INTEROPSERVICES:Temporary Interop Service Capability.. To be removed by feature team
ID_CAP_SIMrovides access to SIM manager API
ID_CAP_SMSrovides access to SMS API
ID_CAP_WAProvides access to WAP API
ID_CAP_IDENTITY_USER:Allow an application to use a phone.info.dll to retrieve user properties
ID_CAP_TESTPUBLIC1:Small public test capability
ID_CAP_LOADUNSIGNEDMANAGEDDLL:Capability to load unsigned managed dll into chamber's process space
ID_CAP_LOADUNSIGNEDNATIVEDLL:Capability to load unsigned native dll into chamber's process space
ID_CAP_DEBUG:Allow an application to run in debugging enviorment.
---Edit---
I've tested each of these individually, and some work, and others don't.
ID_CAP_INTEROPSERVICES works
ID_CAP_RINGTONE_ADD works
ID_CAP_MEDIALIB works
ID_CAP_IDENTITY_USER works
ID_CAP_TESTPUBLIC1 works
ID_CAP_SIM ID doesn't work
CAP_SMS doesn't work
ID_CAP_WAP doesn't work
ID_CAP_LOADUNSIGNEDNATIVEDLL doesn't work
ID_CAP_LOADUNSIGNEDMANAGEDDLL doesn't work.
Note that even for the ones that work, Microsoft may still reject them in the app store.
I tested these by entering them in the WMAppManifest.xml in the XAP, and loading them on a windows phone device. This guy suggests that if it loads on the device, you have the permission: http://www.drdobbs.com/windows/227701092 and I think he's right. If you don't have permission, it doesn't actually load, and in every case, if it loaded it ran.
ID_CAP_RINGTONE_ADD - So i guess with next update we will get Custom ringtones that can b installed from an app
off topic can some one create utility that will do something about tuch sensetive buttons, when using camera if u tuch any of then by accident it exit camera, so u have to hold phone very carefully.
also, app to lock screen rotation would be nice.... any of thous features undocumented anywhere
P.S sorry for unrelated message
I think the ID_CAP_RINGTONE_ADD feature will only be enabled for the carriers (who knows what Microsoft really has in mind, though). The Windows Phone has done a good job (or lousy job, compared to what I desire) managing permissions so they can choose what capability to give whom.
Disabling other buttons shouldn't be hard if you can get to the native API. So once the phone is jailbroken......
Actually, Microsofts own Q&A on Windows Phone 7 states to look in the Marketplace for additional ringtones. Here is an excerpt and a link:
To find a ringtone in Marketplace
1
On Start, tap the arrow to go to the App list, then tap Marketplace .
2
Press the Search button.
3
Do one of the following:
•
To browse a variety of ringtones, type ringtones, then tap Enter .
•
To look for a more particular type of ringtone, type something more specific, like Halloween ringtones.
Tip
To hear what a ringtone or alert sounds like, tap Play .
Note
Marketplace may not be available in your country or region.
Click to expand...
Click to collapse
http://www.microsoft.com/windowsphone/en-us/howto/wp7/start/ringtones-and-sounds.aspx
All well and good having that, but why should we purchase a ring tone?
TheDisneyMagic said:
All well and good having that, but why should we purchase a ring tone?
Click to expand...
Click to collapse
Well, I don't see myself buying any, but this means an app could be made to create/add ringtones.
Long press on a song in Zune won't let you set it as the ringtone?
Iridox said:
Long press on a song in Zune won't let you set it as the ringtone?
Click to expand...
Click to collapse
Nope, I asumed this would be how it worked but no option in the list to do so.
Ah, that's a PITA >_>
naplesbill said:
Well, I don't see myself buying any, but this means an app could be made to create/add ringtones.
Click to expand...
Click to collapse
A whole app just to add a ringtone!?
naplesbill said:
Actually, Microsofts own Q&A on Windows Phone 7 states to look in the Marketplace for additional ringtones. Here is an excerpt and a link:
http://www.microsoft.com/windowsphone/en-us/howto/wp7/start/ringtones-and-sounds.aspx
Click to expand...
Click to collapse
To me that excerpt looks like you can download ringtones from the store, not that you can create an app to download ringtones. It would appear that Microsoft has an internal application that can add ringtones (which makes sense). These permissions are enforced by the OS, not the app store (maybe the app store does too). So if they want to be able to install ringtones, they need to give their own app permission to do so.
athompson said:
Looking around the IMGFS, I found some undocumented capabilities that can be used in building an app (in addition to the standard ones mentioned in the WMAppManifest.xml file).
These are the extra ones I found, in case anyone is interested (from BasePolicy.xml):
ID_CAP_RINGTONE_ADD:Allows ringtone-marketplace applications to read/write into the Ringtones directory
ID_CAP_MEDIALIB:Access to the media library - read, play-back, etc.
ID_CAP_INTEROPSERVICES:Temporary Interop Service Capability.. To be removed by feature team
ID_CAP_SIMrovides access to SIM manager API
ID_CAP_SMSrovides access to SMS API
ID_CAP_WAProvides access to WAP API
ID_CAP_IDENTITY_USER:Allow an application to use a phone.info.dll to retrieve user properties
ID_CAP_TESTPUBLIC1:Small public test capability
ID_CAP_LOADUNSIGNEDMANAGEDDLL:Capability to load unsigned managed dll into chamber's process space
ID_CAP_LOADUNSIGNEDNATIVEDLL:Capability to load unsigned native dll into chamber's process space
ID_CAP_DEBUG:Allow an application to run in debugging enviorment.
Visual Studio won't let you add all of them directly, but uncompress your .xap in the build directory, and add it manually.
If anyone is thinking of doing this, the phone rejected my attempts to do so. I tried to give myself ID_CAP_LOADUNSIGNEDNATIVEDLL, but it wouldn't even load on the phone. Oh well.
Click to expand...
Click to collapse
But if someone use these things in an application , I think microsoft doesn`t approve it in the market place!
amir_rafie said:
But if someone use these things in an application , I think microsoft doesn`t approve it in the market place!
Click to expand...
Click to collapse
Ya, not only that, they probably automatically check to make sure you don't try to use them. The phone automatically checks, too.
The main reason I put them here is because I couldn't find them documented anywhere on the web, and I thought it would be good to save someone the time if they started down the same path I did.
hopefully once there is a jailbreak that turns of security/cert checking we can add these capabilities to our apps. Im particularly interested in the p/invoke capability.
indiekiduk said:
Im particularly interested in the p/invoke capability.
Click to expand...
Click to collapse
YES! It would make the world beautiful and skies turn blue.
So I set up VS 2010 and tried debugging an app that had a simple DLLImport in it and ID_CAP_INTEROPSERVICES in the manifest, however it still crashed with a MethodAccessException. It was def a valid dll and method name because I took it from one of the DLLImports in the system.location .net dll decompiled with Reflector.
indiekiduk said:
So I set up VS 2010 and tried debugging an app that had a simple DLLImport in it and ID_CAP_INTEROPSERVICES in the manifest, however it still crashed with a MethodAccessException. It was def a valid dll and method name because I took it from one of the DLLImports in the system.location .net dll decompiled with Reflector.
Click to expand...
Click to collapse
Interesting. If your app installed, it means you were able to get the ID_CAP_INTEROPSERVICES permission, because if the phone rejects your permission, it rejects it at install time. Maybe the DLL path was wrong, like you need to do ..\DLLNAME.dll or something.
indiekiduk said:
So I set up VS 2010 and tried debugging an app that had a simple DLLImport in it and ID_CAP_INTEROPSERVICES in the manifest, however it still crashed with a MethodAccessException. It was def a valid dll and method name because I took it from one of the DLLImports in the system.location .net dll decompiled with Reflector.
Click to expand...
Click to collapse
Try a relative URI path. ./DLLName.dll
On the subject of Native Applications on Windows Phone 7:
A few days ago, an Application called "Network Profile" appeared in the Samsung Zone of my Omnia 7's Marketplace.
This app is the first external app that uses native code - The Marketplace says that it "Requires access to your interop services", and on opening the XAP on my PC, I found it to contain three native COM DLLs, alongside two .NET DLLs and a further native DLL with MUIs that appear to only serve to hold resources.
I'm not sure whether this can be linked to here, so I'm going to describe the interesting parts.
It has not one, but three XMLs - the typical WMAppManifest.xml (pastebin.com/uEJWdTuA), a WMAppPRHeader.xml (pastebin.com/AVcv7JUX) which seems to have something to do with PlayReady DRM, and most interestingly WMInteropManifest.xml (pastebin.com/NCVKP6kM).
There is also the AppManifest.xaml (pastebin.com/rRrB090h).
The NetworkProfile.dll has a number of COM Imports like so:
Code:
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("F1113B13-AAB8-45E9-91A5-CBE568C29612")]
internal interface INwProfInterface
The Constructor for the class containing all the COM Interfaces:
Code:
ComBridge.RegisterComDll("NwProfDLL.dll", new Guid("4A2580BA-11A3-49AB-AC98-C30B5E72D381"));
this.NwInterface = (INwProfInterface) new CNwProfClass();
ComBridge.RegisterComDll("SecVersion.dll", new Guid("DFE52822-B526-4913-807A-D2AABC7BF911"));
this.SecVerInterface = (ISecVersionInterface) new SecVersionClass();
ComBridge.RegisterComDll("COMRilClient.dll", new Guid("A18F6B1A-924E-4787-AA82-19F98B49CF5D"));
this.SecRILControlInterface = (ISecRilControl) new COSecRilControl();
Happy to answer any questions, and if allowed, either guide people to getting it themselves, or providing a download link to the XAP.
Sweet, good find! I downloaded that app. How did you get it off your phone? If you have a download link to the XAP no one will complain, either.

[Q] adding alarm and alert tones

Hi everyone
i've had nothing but good things happen so far with the threads on doing custom ringtones, but on the same token, i was wondering if it was possible to do the same thing to the alarms and alerts,
say what you will about the factory alarm tones, nothing is more effective in the morning than Time by Pink Floyd
wanderfaner said:
Hi everyone
i've had nothing but good things happen so far with the threads on doing custom ringtones, but on the same token, i was wondering if it was possible to do the same thing to the alarms and alerts,
say what you will about the factory alarm tones, nothing is more effective in the morning than Time by Pink Floyd
Click to expand...
Click to collapse
I've figured it out. I'll do a write up later...
eternalemb said:
I've figured it out. I'll do a write up later...
Click to expand...
Click to collapse
already, that's fantastic, a big thanks on behalf of everyone!
Items required:
Unlocked (with ChevronWP7 or Developer unlocked) WP7 device
ChevronWP7 Ringtone Installer
MS Expression Encoder or other audio conversion software
XAP Installer (Tom XAP or WP7 SDK Application Deployment)
TouchXplorer: http://forum.touchxperience.com/download/file.php?id=44&sid=5129675be033d863b931bdc3bee51b36
1. Choose files to use as alert/alarm sounds. If in WMA format already skip to step 3.
2. Using MS Expression or equivalent, convert files to WMA.
3. Rename desired alert tones to Alert-01.WMA (you can subsitute the number based on what sound you'd like to replace, because we will be overwriting the corresponding sound) or for alarms it'd be Alarm-01.WMA (or corresponding). NOTE: You will be overwriting the sounds so make sure you review all sounds and make sure you don't mind not having them anymore if you're overwriting them.
4. Using ChevronWP7 Ringtone Installer deploy these files to your device through an XAP Installer.
5. Install TouchXplorer by deploying XAP to device.
6. Using TouchXplorer navigate to My Documents>My Ringtones and highlight desired alert/alarm sound. Bring up the menu and copy it. Navigate back to root menu and go into Windows. Paste alert/alarm sound; it will ask if you wish to overwrite, click yes. Done. Repeat for all other alert or alarm sounds.
NOTE : I believe this will only work on HTC phones ATM, since TouchXplorer only works on HTC devices for now.
Why cant I just use the windows deployment tool (on focus) , renaming the files , I tried installing an alert using the chevron and it sent it to the ringtone folder , I made the alert, Alert-11 since they were all in sequence, but I'll try just renaming the files , if I have to use Toms Ill try that, but I cant use the touchexpress (and theres no equivelent that i know of for samsung,yet)
It does allow me to install touchexpress , but all I is the "My Device" search , not sure if it works or needs certain parameters to use to find anything, also I dont know the file structure in this phone anyway, it does have all menu items but grayed out, so it might get an update later on and work
I guess Microsoft doesnt want this on the device !
" TouchXplorer has been Revoked by Microsoft , you'll have to re-install it, but it just stays on for a minute before getting revoked again!
Download the alarm clock w/ weather app...lets you assign any song you have in Zune as an alarm tone (touchxplorer only works with htc devices)...plus it acts as a nice bedside clock with weather information
it might be worth getting the app just to see how they import the songs!
Vintage144 said:
I guess Microsoft doesnt want this on the device !
" TouchXplorer has been Revoked by Microsoft , you'll have to re-install it, but it just stays on for a minute before getting revoked again!
Click to expand...
Click to collapse
Your device re-locked itself, nothing was revoked.
This is great!!!
Hack my ringtones is succesfull, tomorrow i will try to rewrite some alert tones.
@eternalemb - thanks for the tip! i successfully added my rooster alarm and much louder txt msg and email tones!
I did it too
R2D2 as my text tone
Thanks for your time and good work!!!
Anyone figure out how to do it without an HTC Device. I have the DVP and the alarms that come with the device are no way near loud enough to wake me up. My old alarm was set to Chop Suey by System of a Down! WAKE UP!!!! I have a developer account as well if that will help.
Kloc said:
Anyone figure out how to do it without an HTC Device. I have the DVP and the alarms that come with the device are no way near loud enough to wake me up. My old alarm was set to Chop Suey by System of a Down! WAKE UP!!!! I have a developer account as well if that will help.
Click to expand...
Click to collapse
Unlike for ringtones, there's no function for adding them in the OS (ringtones use Microsoft.Phone.Media.Extended I think) other than using file manipulation, or registry tweaks, both of which can only be done on HTC devices at the moment.
This is great!!! Worked a treat for the alerts. Just need to do the alarms now.
Just one question..... There seems to be a limit on the number of alerts. Has anyone else come across this? Originally there are 10 alerts so I created an 11th but this doesn't seem to get picked up at all.
chubnut said:
This is great!!! Worked a treat for the alerts. Just need to do the alarms now.
Just one question..... There seems to be a limit on the number of alerts. Has anyone else come across this? Originally there are 10 alerts so I created an 11th but this doesn't seem to get picked up at all.
Click to expand...
Click to collapse
Any ideas on this guys?
chubnut said:
This is great!!! Worked a treat for the alerts. Just need to do the alarms now.
Just one question..... There seems to be a limit on the number of alerts. Has anyone else come across this? Originally there are 10 alerts so I created an 11th but this doesn't seem to get picked up at all.
Click to expand...
Click to collapse
The alerts are listed in the registry by name, you're replacing one of the built in ones, so no changes are needed there, adding an extra alert will only work if you can edit the registry.
l3v5y said:
The alerts are listed in the registry by name, you're replacing one of the built in ones, so no changes are needed there, adding an extra alert will only work if you can edit the registry.
Click to expand...
Click to collapse
Thanks for that. Explains a fair few things.
i did all.but my phone did not give any sound..
i want to ask a question: is the bit rate important ?
for example i use 16 bit rate
must it be higher or ???
thanks..

[XAP][0.3] RandomRingtone - Updated 10/07/2012

Shalom to you all!
I've developed a small application I've always wanted - RandomRingtone.
When I owned a Symbian-based phone, I had this little app that changed my ringtone after each call.
Unfortunately I couldn't find a way to know if you've just finished a call or not, so I had to use a background agent instead.
This app will select a random ringtone from your Custom ringtones, and set it as your ringtone. This will happen once every thirty minutes or so.
Version history:
0.1 - 13/04/2012
Initial app release
0.2 - 20/04/2012
Added option to set Toast notification
Revamped UI
0.3 - 10/7/2012
Upgraded Root Tools version to 0.2.1.0
Added ability to Randomize SMS Tone
Bugs squashed
Future updates:
Ability to randomize from built-in ringtones as well
Release of source code(It currently looks like a mess, I'll probably make it pretty and release it soon)
New Icon
Choose which Ringtones to randomize from Ringtones list
Currently tested on:
Omnia 7
HD7
Focus
I really hope this works on other devices, but since I have no way of checking, I'd be more than happy for your feedback if this worked on your device.
This app uses the Root Tools SDK developed by Heathcliff74, and I thank him for that.
This also means you need install Root Tools SDK and give this app permission, or use a full rooted ROM.
Enjoy!
Shalom
Cool app, appears to work great on my HD7.
Thanks
great!
Thanks for this...
I have a suggestion... Is there a way to allo0w the app to update daily instead of every 1/2 hr?
again thanks man... Bout 2 start using... jejeje
will give it a shot
mapaz04 said:
Thanks for this...
I have a suggestion... Is there a way to allo0w the app to update daily instead of every 1/2 hr?
again thanks man... Bout 2 start using... jejeje
Click to expand...
Click to collapse
Thanks for the suggestion - I'll consider it for a future version.
If I will add this, you won't be able to select a specific time. You'll have the ability to select a timespan in which the ringtone will be updated.
On Samsung Focus it seems to have an issue. It selects the same selected ringtone every time.
I have 8107 with WP7 Root Tools.
When you open the app and click "Randomize", does the program select the same ringtone as well every time?
Yup the same ringtone.
Since I don't have Focus, I'll need you to check something.
Go to WP7 Root Tools and open these two folders:
Current User\ControlPanel\Sounds\CustomProtectedRingtones
Current User\ControlPanel\Sounds\CustomRingtones
and check which ringtones you have there.
Screenshot could be even better
Current User\ControlPanel\Sounds\CustomRingtones is empty and screenshot attached for Current User\ControlPanel\Sounds\CustomProtectedRingtones
That's... a bit odd. are you sure the windows phone settings page displays all the other custom ringtones you added to it?
Two more tests:
1) open WP7 Root Tools again, but this time go to "explorer" and check these folders:
My Documents > Ringtones
My Documents > My Ringtones
2) Go to the Settings on your Windows phone, and select a custom ringtone which was not displayed in the registry test.
Now open WP7 Root Tools and navigate to this registry entry:
Current User\ControlPanel\Sounds\RingTone0
and paste here the value of the "Sound" entry.
Ok Figured it out. I had only one custom ringtone. Added few more and now its fine. Cheers!!!
Hey there
I'm usually on the Android side of things, but I really want WP7 to be a bigger success here on XDA and I thought your app here was goofy and fun...so I wrote about it!
http://www.xda-developers.com/windows_phone/randomize-ringtones-on-wp7/
I hope you enjoy my little write up keep up the good work. If I had a WP7, I'd definitely have this installed.
Thanks for this Post!
I definitely hope it'll make awareness for Windows Phone. It's a pretty sleek thing, and a fine alternative to iPhone.
BTW, you forgot to mention this in your post - This app is only available to interop-unlocked phones, meaning ones which you can use functions that Microsoft don't usually allow.
Plus, it needs root access to the phone which is done through a little tool called "Root Tools".
People should know the homebrew community in WP7 is gaining speed these days!
New version released, some bugs squashed,
Hope you'll enjoy this a bit more now!

Categories

Resources