Guide to Bypass the 39sec/1mb Ringtone limit in Mango WP7.5 - Windows Phone 7 Development and Hacking

What you need:
1) a DEV Unlocked WP7.5 device via Chevron Labs or PreMango Unlock or the Windowbreak unlock
2) ChevronWP7 Ringtone manager
3) WP7 SDK for App Deployment install of XAPs
4) WP7RooTools
5) 2 WMA (not MP3) ringtones, 1 the length/edit of a song you want and 1 the 39sec cut of the song you want, NAME THEM EXACTLY THE SAME
Steps:
1) Create and install the custom ringtones you want with the Ringtone manager and execute the APP on you phone
2) install the 39sec version via ZUNE
3) Run WP7RootTools
4) go to the My Documents Folder, 2 folders are created 1 named My Ringtones where the Chevron7 Ringtones are and 1 named Ringtones where the Custom Mango Ringtone is saved, and as you see the file has been RANDOMLY renamed
5) go to the Chevron7 Ringtone and rename it exactly the same as the Custom Mango Ringtone
6) Copy the one you renamed
7) Paste and Replace the Custom Mango Ringtone with the one you renamed
8) press home
9) go to Settings>ringtones+sounds
10) play the ringtone and it should be the the longer/editted version you wanted and not the 39 sec Mango Ringtone
HOPEFULLY someone can make a Custom App we can XAP install and do all this for use

will test it out now and repot back
if this thing realy works, then we might have a solution

Seems overly complicated, especially considering that another way to do the same thing, plus more (also alarms and alerts), but easier, was already posted on the first page of this forum before your post!
http://forum.xda-developers.com/showthread.php?t=1416673

GoodDayToDie said:
Seems overly complicated, especially considering that another way to do the same thing, plus more (also alarms and alerts), but easier, was already posted on the first page of this forum before your post!
http://forum.xda-developers.com/showthread.php?t=1416673
Click to expand...
Click to collapse
Agreed, no need for this thread.
Thread Closed

Related

[Q] how to set our own sms tones

I folllow the steps like these:
to set our own sms tones
copy the mp3 or wma file to My Documents
do the following reg edit to set the new sms tone
[HKEY_CURRENT_USER\ControlPanel\Sounds\SMS]
"Sound"=String:\My Documents\test.mp3
test.mp3 is the file copied to my documents folder
Click to expand...
Click to collapse
but,tones is nothing
I don't know where is the mistake
sorry for my poor English.
device:HD7
help me
Thanks
Hi,
The way I do it is as follows:
1. Make sure your phone is unlocked (Chevron unlocker)
2. Choose your tone and convert it to WMA format and rename it Alert-01
3. Use Chevron ringtone installer to convert it to a xap file and then install it
either with the microsoft tools or Tom Xap installer.
4. Install Touchexplorer xap to your phone.
5. Now when you go into the menus you will see Chevron ringtones, click on this
and it will show the ringtones installed, your will show here.
6. Go into Touchexplorer and navigate to "My Documents" and then MyRingtones"
7. Copy these files and navigate back to the "Windows" folder (takes a short while
to open)
8. When it opens paste the files in the folder, it will ask to overwrite the
existing one,but as you don't like them it won't make any difference.
9. Now when you go to "Settings" you will be able to choose the alert you
installed, just remember what number you gave it.
The same method can be done for Alarms.
This has been posted before but I can't remember exactly where in the threads as it took me a while to find it, but thanks to the original poster (you know who you are)
Hope this helps, and I have got the details right.
midazhang said:
I folllow the steps like these:
but,tones is nothing
I don't know where is the mistake
sorry for my poor English.
device:HD7
help me
Thanks
Click to expand...
Click to collapse
In the seetings it would show nothing but the custom tone is assigned.
When u receive any sms u will hear the custom tone which u set eventhough it shows nothing in settings.

Custom SMS alert

##### Working on HTC HD7 #####
Requirements:
Dev/Chevron unlocked device
TouchExplorer
Registry Editor
ChevronWP7.RingtoneInstaller
......
Make sure your device is unlocked.
Use Chevron Ringtone Installer to transfer your .wma ringtone that you wish to have as your sms alert.
Use touch Explorer to do the following:
Go to My Documents > My Ringtones
Copy the file
Go to Windows and Paste
make sure you know the filename.
Use Registry Editor to modify the following entry:
HKEY_CURRENTUSER\ControlPanel\Sounds\SMS\Sound
you will see that the current name is whatever your sms alert is currently set to.
eg: "\Windows\Alert_01.wma"
Just replace the filename with the one you just put into your Windows directory.
This saves the value as your current setting but it will not reflect the change in your settings.
I didn't think it worked until I received a new text message.
I think you can modify your alarm sounds and other notifications in the same way although I have not tried this yet.
I don't see a reason why this wouldn't work on other devices if you can get a ringtone to be saved in the windows folder and you can edit your registry as these two locations are not device specific.
...
There is registry value for Alarms, Notifications etc but on my device the option to modify the value is not available. All you would need to do is be able to modify and save this back and you should get the list of alerts including your custom ones in the settings menu.
Instead of replacing the current Alert Sounds that I have is it possible to add to the list i.e. more than alert sounds?

[GUIDE] Deploy files to your dev-unlocked WP7 device!

There are many possible situations where you want to deploy some files to a certain folder on your phone. Copying music, ringtones, provxml, etc. This can be difficult if you don't have a working file-explorer for your device.
This method will let you deploy files to your developer-unlocked WP7 device, as long as it is developer-unlocked. It works on any brand and any version of Windows. It also works if you have Mango and your device is Interop-Locked. You won't be able to overwrite ROM-files!
At first I thought this method had access to all folder on the phone. Unfortunately that does not seem to be true. When I tested this, I thought I had removed all policies I added to get root-access on my device. This was not true, so when I tested this I had more access than on a regular WP7 device. It is still possible to write to the root-folder, create new folders in the root-folder, "My Documents", "Applications", etc. Unfortunately it does not seem to be possible to write to \Windows.
Follow these instructions:
1. Download this file: File Deployer by Heathcliff74 v2.xap.
2. Open your favorite archiver (WinZip / WinRar / 7Zip).
3. In the archiver open the xap file.
4. In Windows Explorer (or on your desktop) create the folder structure where you want to deploy files on your phone. So if you want to copy files to the \My Documents\My Ringtones, then first create a folder "My Documents" and in that folder create a folder "My Documents".
5. Put the files you want to deploy in the folders you created.
6. Rename the root-folders you created and add this at the start:
XX-XX-XX-XX-
It must be exactly like that! Only do this for the root-folders. So in the example I gave, the "My Documents" folder will become "XX-XX-XX-XX-My Documents". The deeper folders, like "My Ringtones" will remain as they are.
7. Drag the folders into the xap-archive.
8. Close the archiver tool.
9. Open the xap-file in a hex-editor.
10. Search and replace these hex-values (all occurrences!!):
Search: 58 58 2D 58 58 2D 58 58 2D 58 58 2D
Replace with: 2E 2E 2F 2E 2E 2F 2E 2E 2F 2E 2E 2F
11. Save and close the hex-editor.
12. Use any Windows Phone App Deployer to deploy the contents of the xap-file to your phone.
Hope this works for you!
Good luck,
Heathcliff74
Heathcliff74 said:
Hope this works for you!
Good luck,
Heathcliff74
Click to expand...
Click to collapse
beautiful, I wonder if somebody can write this into a program. the program asks which folders, which folders are root and what files to transfer. then does the rest (creates the folder structure, renaming, packaging, hex replacing) and spits out the xap ready for deployment. I know that I will screw this up with all the xes and hex replacements
too bad I can't program
This is not working as expected. It seemed I had some policies in place, that allowed me to do more than on a 'normal' WP7 device. It does still seem to work for a lot of folders, like the root-folder, "My Documents", "Applications", etc. But it does not work for the "Windows" folder. Too bad I will update the opening post with this info.
I will also update the xap, because not all archivers did handle the xap well. That should be fixed with the new xap.
Ciao,
Heathcliff74
if it can write to \Windows.Many people can fix Interop-Locked device.
LOL! I'm surprised the deployment system accepts ../ paths, and that it ignores the ZIP CRC checks that obviously become invalid when you hex-edit that stuff. Good find!
Arktronic said:
LOL! I'm surprised the deployment system accepts ../ paths, and that it ignores the ZIP CRC checks that obviously become invalid when you hex-edit that stuff. Good find!
Click to expand...
Click to collapse
Finding exploits is always about finding things a system accepts that it really shouldn't accept
The zip crc's are only on the file-contents, not on the folder-structures and headers.
Ciao,
Heathcliff74
I suppose I should have looked up the ZIP specs before jumping to conclusions
does this means we can deploy a Provxml to a Dell Venue Pro? If so maybe we find a way to execute said provxml once it is on device?
good work, Heathcliff74
Finally i could add some roms for wj7 finally the server bla bla doesbt work , thx good work and im waiting happily for wp7 root tools for LG maybe there is a way to send files to \Windows with update cabs http://forum.xda-developers.com/showthread.php?t=1248799 so if sb cheks the code you could ad it to wp7 root tools ^^
Hi
i need to know exact path ?? i used same method and this file was deployed to my surround but i did not fine those apps into my phone ?
please tell me correct way ?
br
derausgewanderte said:
beautiful, I wonder if somebody can write this into a program. the program asks which folders, which folders are root and what files to transfer. then does the rest (creates the folder structure, renaming, packaging, hex replacing) and spits out the xap ready for deployment. I know that I will screw this up with all the xes and hex replacements
too bad I can't program
Click to expand...
Click to collapse
If anybody would let me I can have a try... I just need to modify the code from my other app... I'll start tomorrow.
can anyone suggest an app that can browse the folders on my phone? No need to have write access, just read. I just need to have the path of the Isolated Storage folder for the Kindle application. I want to deploy my .mobi ebooks into my phone.
No such app exists, aside from the HTC filesystem browsers (TouchXplorer, Advanced Explorer, WPDM on the PC) and WP7 Root Tools (currently Samsung gen1 only). Apps don't have the required permissions by themselves even to do read operations on the majority of the filesystem.
However, if you just need the path to an app's IsoStore, it's \Applications\Data\<ProductIdGuid>\Data\IsolatedStore. For Kindle, the GUID is 48195FB4-EE0E-E011-9264-00237DE2DB9E (as in, \Applications\Data\48195FB4-EE0E-E011-9264-00237DE2DB9E\Data\IsolatedStore\). I don't know how the app organizes its files within that folder, though.
can you confirm if the kindle isolated storage path is "\Applications\Data\<ProductIdGuid>\Data\IsolatedStore" or is it "\IsolatedStorage"?
One last thing, If I decide to uninstall the XAP, will all of the files also gets removed?
It's IsolatedStore. Also, uninstalling an app does not remove files deployed this way.
Sent from my HD7 using XDA Windows Phone 7 App
Heathcliff74 said:
Finding exploits is always about finding things a system accepts that it really shouldn't accept
The zip crc's are only on the file-contents, not on the folder-structures and headers.
Ciao,
Heathcliff74
Click to expand...
Click to collapse
how did you become so good at finding exploits in wp7?
I'm trying to use this way to transfer game saves. But it always says something like "The group policy blocks this app."
Can someone confirm this deploy method still valid under the following circurstances?
- System version 8107
- app IsolatedStore, i.e. \Applications\Data\<guid>\Data\IsolatedStore
- app is deployed by Marketplace
You can't install homebrew (unsigned) XAP files with the same GUID as installed Marketplace apps. You also can't use IsolatedStorageExplorer or anything built on it on Marketplace apps (or their data, rather) - it will give you that "group policy" error if you try.
However, the deployer hack should work fine for adding or replacing files in a Marketplace app if the GUID used for the deployment "app" is different.
GoodDayToDie said:
You can't install homebrew (unsigned) XAP files with the same GUID as installed Marketplace apps. You also can't use IsolatedStorageExplorer or anything built on it on Marketplace apps (or their data, rather) - it will give you that "group policy" error if you try.
However, the deployer hack should work fine for adding or replacing files in a Marketplace app if the GUID used for the deployment "app" is different.
Click to expand...
Click to collapse
Well, now I can't replace any file under \Application using the deployment "app".
The file I'm trying to deploy.
\Applications\Data\788c002f-5649-e011-854c-00237de2db9e\Data\IsolatedStore\game.sav

Stock Sounds SGS 3 I747/I747M

So with a lot people running custom AOSP/AOKP/CMx ROMS I noticed the last couple days that some may want the stock sounds back. So I have extracted the sounds from a stock ROM and zipped them up.
Instructions 1- download the zip you want
2- unzip with winrar or 7zip, direct download straight to phone most file explorers should unzip
3- move files to phone sd card
4- use a file explorer app to move wanted sound to /system/media/audio and then copy into appropriate folder there
5- reboot phone and the new sound should be available
I have just done the AT&T stock sounds but comparing them to Bell and Rogers they are the same so don't be worried about the file name, they are all titled AT&T just to keep things straight on my own computer.
Ringtones
Notifications
Alarms
Edit--> you should also be able to create the three folders(or whichever you need) on your internal/external SD card and move sounds into those and reboot and they should also show up. /system is write protected by default so if you don't know how to change that then use this method.
jethro650 said:
So with a lot people running custom AOSP/AOKP/CMx ROMS I noticed the last couple days that some may want the stock sounds back. So I have extracted the sounds from a stock ROM and zipped them up.
Instructions 1- download the zip you want
2- unzip with winrar or 7zip, direct download straight to phone most file explorers should unzip
3- move files to phone sd card
4- use a file explorer app to move wanted sound to /system/media/audio and then copy into appropriate folder there
5- reboot phone and the new sound should be available
I have just done the AT&T stock sounds but comparing them to Bell and Rogers they are the same so don't be worried about the file name, they are all titled AT&T just to keep things straight on my own computer.
Ringtones
Notifications
Alarms
Click to expand...
Click to collapse
Thank you! Much appreciated!
This are flashable in CWM zip in HERE
Didn't know that was there guess I should have searched but I didn't because I didn't remember seeing it and I'm here several times a day, and this way people can pick and choose what they want and delete the rest.
BTW--> great work on the splash screens....got a new one almost every day :thumbup:
No I did not see them too that why I made flashable zip.
BTW. I'm trying add one splash screen a day. Thanks for kind words
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Just FYI, in my experience the ringtones/notifications (and maybe alarms?) don't need to be anywhere in particular. I keep all mine on my external MicroSD card and the phone automatically picks them up and adds them to my choices for ringitnes/notifications. No flashable zip needed. Just copy & paste.
Lols yup the beauty of android, ten different ways to do almost everything. I was just presenting these in an organized way to help people who aren't sure or are not used to exploring files on their phone keep things straight and organized.
[email protected] CZ Eddie ever use the gscript tutorial I sent you a link to a while back?
AWESOME!! Was definitely missing the stock sounds. Thanks.
jethro650 said:
So with a lot people running custom AOSP/AOKP/CMx ROMS I noticed the last couple days that some may want the stock sounds back. So I have extracted the sounds from a stock ROM and zipped them up.
Instructions 1- download the zip you want
2- unzip with winrar or 7zip, direct download straight to phone most file explorers should unzip
3- move files to phone sd card
4- use a file explorer app to move wanted sound to /system/media/audio and then copy into appropriate folder there
5- reboot phone and the new sound should be available
I have just done the AT&T stock sounds but comparing them to Bell and Rogers they are the same so don't be worried about the file name, they are all titled AT&T just to keep things straight on my own computer.
Ringtones
Notifications
Alarms
Edit--> you should also be able to create the three folders(or whichever you need) on your internal/external SD card and move sounds into those and reboot and they should also show up. /system is write protected by default so if you don't know how to change that then use this method.
Click to expand...
Click to collapse
Just found this thread. I'm wondering if you can add a category called "sent mail" to the notifications folder, and have it appear on the phone, then attach an appropriate sound. Thanks.
Moved to themes and apps
FNM
I luv the stock sounds and noises, can you do the same for themes and wallpapers too? I want stock theme and stock wallpapers Please
Sent from my SAMSUNG-SGH-I747 using xda premium

[Q] Ringtones

I haven't seen this topic discussed here on the M8 Q&A so I applogize if this has been answered.
I just got my M8 yesterday and didn't want to transfer everything over using HTC's transfer tool (going from and HTC Vivid) as I used my Vivid for 2 years and it was kind of cluttered.
Anyway, I copied all my stuff off my old phone and save it on my PC. I moved all the stuff I wanted using Windows Explorer to my M8. A ringtones folder showed up in Windows Explorer under my M8's internal storage so I copied my ringtones I wanted to that folder. They don't show up under setting/personalize. I used root browser to copy the files to system/media/audio/ringtones but the operation failed (I think it's because I'm not rooted). This is the folder that I see the HTC default ringtones in. If I press the + in personalize/ringtones to add new ringtones it takes me to the music folders. I moved the ringtones from the first location into a folder in my music folder named ringtones. They still didn't show up until I removed the .nomedia file. I was able to add them to the list and I assigned them to the contacts I wanted. I don't want to see the ringtones when playing music so I placed the .nomedia file back in the folder. After doing that the ringtones don't show up anymore. What am I doing wrong or can anyone help with this. Really don't want to root at this point.
Thanks
No one knows?
Guess I'll have to root.
I am rooted and still confused. I always thought you could put ringtones, notifications, and alarms under media-->audio on your SD Card (or user storage in this case)—OR create a separate folder for each: ringtones, alarms, notifications on the root of user storage.
But none of these show up in my lists in personalize or under settings-->sound. I don't want to add all of these custom ringtones I've made to the system partition under system/media/audio/ringtones which is where the ringtones that do show up under "sound" or "personalize" actually reside.
What's up with this... Further, a few months ago before some updates, this was working just fine.
have you rebooted? itll show up once you reboot
No.... That's not it. I have been using HTC phones for 5 years. I know how the ringtones/sounds work. This is something else.
If I and maybe the individual who initially created this post above are the only two, then it's just something wonky with the set up.
Could someone just verify it for me?
Take an .mp3 or an .ogg file from your Windows or Linux desktop (I am just going through the steps that once worked perfectly, but now don't work at all), and throw it into Dropbox. Then download it from Dropbox, and stick it into your /sdcard/media/audio/ringtones folder.... Then reboot.
If you see that file when you are in Settings or elsewhere when you are selecting a ringtone, then it's totally my problem. I have not deleted anything from stock, but I have disabled a lot (but things I wouldn't expect to affect ringtones)...so that could be it.
Also, I had disabled CarrierIQ using a bash script that worked quite nicely...But now am wondering if that could have caused it.
All I know is that in the first few weeks of October, I could put any .mp3, .flac, or .ogg file in the above mentioned folder, and after a restart they were all there.
I am also concerned that maybe the 4.4.4 update might have changed something.
Anyway...whoever can help, I very much appreciate it!
SOLVED:
I read this a couple of other places, but I guess this happens some times with certain folders on your SD Card or personal storage.
Sometimes just deleting and recreating the folder will go the trick. This didn't work for me.
So the next solution is to connect to your laptop, confirm everything is working correctly (HTC Sync needs to be installed which is a nuisance). But then I simply copied my media folder from the phone to my Windows desktop.... And then deleted it in the phone. Then I created an empty folder called "media" on the phone... Then copied the contents of the media folder in my Windows desktop, to the media folder I just created, and then, unplugged.
After reboot, all my ringtones, alarms, and notifications were in the list to choose from.

Categories

Resources