Running DiamondCustomRUU.exe Error - Touch Diamond, MDA Compact IV ROM Development

Hi guys,
Recently I have found that when I try and flash my HTC Touch Diamond with a new ROM I click the DiamondCustomRUU.exe and instead of seeing the GUI interface for flashing your phone I get the following error:
'The application failed to initialize properly (0xc0000135). Clcik on OK to terminate the application.'
this is stopping me from flashing my phone.
Any ideas on what this is?
OS: Windows XP SP3
Cheers,
Ant

Try (re)installing ActiveSync 4.5 (latest),
(re)install MS VisualBasic++ 2005 and 2008 runtimes.
Or just use the Dependancy Walker and check any libraries the RUU might be linked to, and check which are the ones you're missing.
Check the link in my sig. All these dll's/tools are available in the tools pack.

Cheers,
Yup I've worked it out.
I need to re-installed .Net Frameworks as it was corrupt.
Ant

**this can now be deleted**
cheers,
Ant

Go to "advanced edit" and add [SOLVED] to the thread title.
Glad you worked your problem out.

Related

Activesync 4.5 Beta 2 installation problems

Hi all,
i know this is a little bit off-topic, but I've posted it here in the Universal forum as it's relevant for those of us that have a Crossbow installation on our Universals.
you need version 4.5 of activesync installed to be able to sync.
there's my problem.
I can't get it to install.
the installer gets to about 95% and then the error message appears:
"There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personal or package vendor."
can anyone help with this problem?
without Activesync my Universal is (for my) useless. I need my contacts & calendar!
I'm putting my trust and hope in you - don't let me down!
Thanks!
Have you tried downloading it again from Microsoft's site in case the one you have is corrupt?
mmmm....
....seems an incredibly abvious thing to do!
have downloaded it several times though and from different machines.
have also emptied my TEMP folder on the PC before installation.
still no luck.
bugger!
"There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personal or package vendor."
Click to expand...
Click to collapse
Best option run filemon and see what's happening/failing. Try turning off any virusscanner/any other weird app, that might be running buggering up file operations.
symantec
i guess that our corporate virus scanner is interfering.
annoying. the previous installations never caused any problems.
i'll have to see if i can get it to install another way.
i'll post back if i get lucky!
could i install if i do a safe start in windows?
SOLUTION
UPGRADE YOUR WINDOWS INSTALL TO VER. 3.0 download from micros or google it
SOLUTION
UPGRADE YOUR WINDOWS INSTALLER TO VER. 3.0 download from micros or google it
it worked!
i keep getting reminders why i love this forum so much.
thanks to all of you for your help.
i only managed to try the solution today as i've been off work sick.
a HUGE thanks to PDAWHORE (nice name!), his/her tip to upgrade the windows installer software did the trick!
thanks to all and happy PDA'ing...

Serious Problem here guys...

So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
newnoise1024 said:
So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
Click to expand...
Click to collapse
Looks like a problem on your PC... (I mena for the Customruu crashing)
newnoise1024 said:
So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
Click to expand...
Click to collapse
Had this happen to me. I downloaded .net framework 3.0 from the M$ site and then it worked fine.
Maybe that will help you.
Jim
Need more info?
newnoise1024 said:
So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
Click to expand...
Click to collapse
Ok, first off, this is not a flame. It's an education, ok?
When posting a problem, it's best practice to let us know your:
Model of phone
Radio version
Boot Loader version
OS on your PC
ActiveSync version (s/b 4.5 by now)
Then, and only then, will you be able to get some intelligent answers. You also need to follow the link in my signature and there you will find answers.
If you're still stuck, usually re-downloading the RUU will result in a working ROM patch, unless you have other PC issues. You really need to fix that first, and the guides posted here are FULL of the diagnostic and troubleshooting steps that will propel you to a successful resolution.
Please read those posts, add your info, and you may be extremely pleased with the results.
Good reading!
newnoise1024 said:
So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
Click to expand...
Click to collapse
First off; relax. At least the problem isn't with your phone. It's a heck of a lot easier to fix a PC.
I assume you've already tried to re-download the file?
Did you completely reboot your PC? Shut it down to power down, then restart. Make sure you don't have any extra USB stuff plugged in (like cameras, etc). If you have a PS/2 mouse and KB, use those, and not USB versions. One trick is to have the USB bus on your computer completely empty except for your phone.
Head over to Microsoft's site and download a fresh version of Compact Framework .NET (3.0 is the current version). Reboot after installing it -- even though it doesn't tell you to.
Run Windows Update. Make sure you're OK on those.
If that doesn't work, try downloading another ROM (OS only) -- like the Cingular Black 2.02 or the LVSM ROM, and see if that works.
You can also strip it apart -- use WinRAR to open the EXE file that you've been executing and extract the .nbh file from the EXE. Then go and download this guy: http://wiki.xda-developers.com/index.php?pagename=Hermes_CustomRUU and extract it into its own folder. Copy that .nbh file into that directory, and execute the executable -- it will flash your phone with a known good flasher.
But.... stepping all of the way back ... if the ROM doesn't work on your phone, it's very likely reflashing it won't help a single bit. Those ROM's are checksummed when they go on the phone -- if they're corrupted, they won't load right in the first place (and you'd end up with a boot-loader only phone). Soo... uh.. first, reboot/clean USB, then try a different ROM.
Last resort will be completely reinstalling Windows XP. I've had to do this several times because Windows will get in some weird state and it refuses to flash my phone. I finally gave up and started flashing on my Mac using a Windows virtual machine -- it's a lot easier to restore my Windows system to a working point when I do that.
Thanks to everyone who gave a response!
Here's all the information i was asked to post ( i will remember this for next time)
Cingular 8525 HERM100
Radio version: 1.40.30.00
Boot Loader version: (Not quite sure what this is?)
OS on your PC: Pro Black 2.0
ActiveSync version 4.5
I have redownloaded the ruu about 3 times and it has failed everytime.
Restarted the PC, disconnected everything from my laptop, realized that i havent installed Framework .NET 3.0, ( although i have it on my phone as i needed it to run hitchhiker)
So i'm going to download framework .NEt 3.0 and run it.
As for my phone, i uninstalled all the apps, hard resetted and everything is working fine right now, hasn't froze at all since yesteray, so im going to wait it out and see if something happens again.
Thanks again to everyone!! This forum is really really helpful.
-Matthew
How to determine the bootloader version
newnoise1024 said:
Boot Loader version: (Not quite sure what this is?)
-Matthew
Click to expand...
Click to collapse
You need to have a look at your user guide, as it states how to enter bootloader and check the version. Otherwise press and hold the left OK button and the power button at the same time, then hit the reset button with your stylus. You will enter a tri-color screen. This is bootloader mode. Jot down the numbers and compare against the below link.
Exiting is simple, press the reset button with your stylus.
Here's a valuable link for updating your bootloader.
Bootloader Version: SPL-1.40.01pro
IPL-1.01
i just tried to install Framework .NET 3.0 and got this error message
[04/20/07,08:50:20] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[04/20/07,08:57:35] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[04/20/07,08:57:54] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed.
[04/20/07,08:57:54] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed.
i uninstalled any previous version, is there something i'm missing?
.Net Framework co-existence
newnoise1024 said:
Bootloader Version: SPL-1.40.01pro
IPL-1.01
i just tried to install Framework .NET 3.0 and got this error message
[04/20/07,08:50:20] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[04/20/07,08:57:35] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[04/20/07,08:57:54] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed.
[04/20/07,08:57:54] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed.
i uninstalled any previous version, is there something i'm missing?
Click to expand...
Click to collapse
You're probably missing version 2.0 of the .NET framework. .NET Framework is to be left in place once installed. You should have left V 2.0 installed and added .NET 3.0. Go to www.microsoft.com/net and get version 2.0 redistributable re-installed on your machine. (If you can). If you cannot, search the KB and you may get by without rebuilding your OS.
"Head over to Microsoft's site and download a fresh version of Compact Framework .NET (3.0 is the current version). To be extra safe, go into Add/Remove Programs and uninstall any existing versions -- reboot -- then install the new CF Framework. Reboot after installing it -- even though it doesn't tell you to."
this is the advice i was given in this thread, so i uninstalled version 2.0 before installing version 3.0.
So am i screwed now? lol
Well, version 3.0 just installed successfully... does that mean i still need to install 2.0? or am i fine just running 3.0?
Sorry for all the questions, i just want this fixed :/
You should be good. Give it a go.
If not, just dl .Net CF2 and install that. I think you are fine now though.
Edit: never mind
version 2.0 installed fine
Thanks everyone

RUUwrapper error please help

uber noob here
just got my htc hermes 100, wanting to update to WM6 (from 5) follow all the steps in page 1, did two things
save the RUUwrapper an that NBH file to my pc, while my phone is sync tried running the file and got error msg (the application failed to initialize properly (0xc0000135)
one last thing i did was copied both files in my phone and run it, got this msg this time (thid spplication (ruuwraper.exe)requires newwr version of ms.net etc)i'm lost, i know this is the 1st step i need to do to make it a WM6 ryt?
Hi...read mrvanx's guide before flashing:
http://forum.xda-developers.com/showthread.php?t=299462
You must to put hardspl on FIRST! U need to install NETCF on your PC. Do not put the ruu or rom files on your PPC and run them. Take Care
lordaxel said:
uber noob here
just got my htc hermes 100, wanting to update to WM6 (from 5) follow all the steps in page 1, did two things
save the RUUwrapper an that NBH file to my pc, while my phone is sync tried running the file and got error msg (the application failed to initialize properly (0xc0000135)
one last thing i did was copied both files in my phone and run it, got this msg this time (thid spplication (ruuwraper.exe)requires newwr version of ms.net etc)i'm lost, i know this is the 1st step i need to do to make it a WM6 ryt?
Click to expand...
Click to collapse
You forgotten one step. Please read the wiki on upgrading
i've just installed NETCF on my pc,copied the RUU_signed.nbh and RUUWrapper on a folder on my desktop (PC) and run the RUUWrapper file while my phone is sync to my PC and get this error ( the appilication failed to initialize properly (0xc0000135) .click on OK to terminate the application)
im not sure what to do next, this is the 1st step and i keep on getting errors, em i doing something wrong? please help!!!
lordaxel said:
i've just installed NETCF on my pc,copied the RUU_signed.nbh and RUUWrapper on a folder on my desktop (PC) and run the RUUWrapper file while my phone is sync to my PC and get this error ( the appilication failed to initialize properly (0xc0000135) .click on OK to terminate the application)
im not sure what to do next, this is the 1st step and i keep on getting errors, em i doing something wrong? please help!!!
Click to expand...
Click to collapse
Let mrvanx hold your hand READ!!
http://www.mrvanx.org/thg/ <------ cLIck hErE
OK I'll happily admit to being a NOOB as well but I have had exactly the same issue and I don't think (and I read the guides many times!) that the answer is there. So it is not helping simply endlessly pointing to the guides (helpful though they are).
The point seems to be that you need the Microsoft 2.0 .NET framework installed on your PC (i.e. the computer not the phone) rather than the NETCF mentioned above.
I think (assuming that I am right!) it would be great to add this clearly to the guide ("Make sure sure your computer has Microsoft .NET 2.0 Installed") preferably with a link to the Microsoft download site for .NET as well.
eliseman said:
OK I'll happily admit to being a NOOB as well but I have had exactly the same issue and I don't think (and I read the guides many times!) that the answer is there. So it is not helping simply endlessly pointing to the guides (helpful though they are).
The point seems to be that you need the Microsoft 2.0 .NET framework installed on your PC (i.e. the computer not the phone) rather than the NETCF mentioned above.
I think (assuming that I am right!) it would be great to add this clearly to the guide ("Make sure sure your computer has Microsoft .NET 2.0 Installed") preferably with a link to the Microsoft download site for .NET as well.
Click to expand...
Click to collapse
I once was a noob too, this is three months ago, and I had spent days on reading up before I did my first flash. The wiki is there just for that! hmm, also with .net framework, you'll be surprise how many software these days that will run WITHOUT them installed.
Hi . I had same problem with my 3 PCs. I downloaded latest version of .NET framework from microsoft site & reinstalled it & WOW.. it started..
zocster said:
I once was a noob too, this is three months ago, and I had spent days on reading up before I did my first flash. The wiki is there just for that! hmm, also with .net framework, you'll be surprise how many software these days that will run WITHOUT them installed.
Click to expand...
Click to collapse
.Net Framwork is required ONLY by software that is written directly for it and does NOT include the required DLLs in the app itself...which is most. C# is one language that you MUST have the framwork installed most of the time. Very few people want to include the DLLs because people SHOULD have the .Net Framework installed anywas.
This thread was very useful by the way. I'd come across this problem today and it's helped me to solve it. I'm sure any noobs (like myself) will find this thread useful in future.
Just wanted to add one thing, RUUWrapper was crashing on me as well.....
You cannot run this from a network drive! Has to be ran from a local drive, or it crashes...heh (I have a main file server setup over gigabit)
If you've read up then you have Hard SPL installed. That means you can bypass the computer for the flashing. You can use the sd card method. I believe its safer and doesn't have those niggly little sync errors and there's less chance of the phone crashing/being reset or powered off. Recommended if you flash the radio rom where a simple problem results in a permanent brick.
Cheers...

please i need help with DiamondCustomRUU.exe. init error

ok i decided to take the plunge in the dodgy world of flashing
and as luck would have it.......
im following the bible link
http://modmydiamond.info/index.php?option=com_content&task=view&id=15&Itemid=26
i have add the hardspl and confirmed it in the boot loader page tri color.
i have downloaded the *DiamondCustomRUU.exe* file quite a few times and it give this error every time i double click on it.
*The application failed to initialize properly (0xc0000135). click on ok to terminate the application*
the currrent state of the phone
------------------------------
everything on the phone apears to be workng just fine
however there is no touch flow 3D thats gone LOL
what can i do ?
is DiamondCustomRUU.exe the only file that can sort the radio ?
am i doomed ?
yes im slightly panicing too
please help
thanks in advance
HD
the microsoft activesync has synced and on green. connected
Ok thanks for reading. my heart attack is quickly gowing away.
the problem is solved.
the solution is to install .Net 2 from microsoft and install it.
im now moving forward again
HD
WWWWOOOOWWWWw
i done it
wicked you guys are DOGz NADz mate
wwwwooooowwwww
thanks
HD
Nice to see someone can solve his/her problem without any help.
As you can see, it's not that difficult
It still does not work in Win XP x64
I have tried installing .Net framework 2.0 or 3.0 but still fail......
jackycct
if are you trying to flash your phone and failing at the radio section
like above and you are seeing
i have downloaded the *DiamondCustomRUU.exe* file quite a few times and it give this error every time i double click on it.
*The application failed to initialize properly (0xc0000135). click on ok to terminate the application*
Click to expand...
Click to collapse
then download .net from microsoft and install it to your PC not the phone.
the developers are using functions from within .net hence why it is needed
if you have any other problem then please let us know
HD
.Net framework is installed in Win XP x64
I did install the .Net framework in Win XP x64 (64bits, not 32 bits) on my PC.
Before installing the .Net framework, the error message *The application failed to initialize properly (0xc0000135). click on ok to terminate the application* was shown.
After installing .Net framework 2.0 or 3.0, then it crashed and showed "DiamonCustomRUU has encountered a problem and needs to close. We are sorry for the inconvenience."
Win XP x64
Click to expand...
Click to collapse
im not all that clued up on Win XP x64 .net stuff.
maybe that version uses different methods call handlers or mem locations.
sorry i cant help
HD

StandAlone Windows Phone 7 Emulator (Microsoft XDE)

I don't wanna use monstrous VS2010 (which requires .net4 & silverlight4) on my home notebook so I found way to extract Microsoft XDE from "Visual Studio 2010 Express for Windows Phone CTP"
Attachment contains "extracted" from the package standalone emulator.
Just unpack attached zip and run sde_xde-enu.msi (if UAC is enabled you should start command promt and execute msiexec /i sde_xde-enu)
In MS terms install is silent so you don't need press "next" or "ok".
After install you find folder "%Program Files%\Microsoft XDE\" with Windows Phone 7 Emulator.
If you install the emulator on win x64 the path to emulator will look like this "%Program Files(x86)%\Microsoft XDE\".
The emulator will be installed both x86 and x64 but it seems that it does not work on x64 systems.
There is no WP7 images in archive so you must download it by yourself (original by M$ or patched version by Dan Ardelean).
Original image of WP7 by M$
Patched image of WP7 by Dan Ardelean mirror
After installing the application and download the file, you can run the emulator using the command:
Code:
"%Program Files%\Microsoft XDE\1.0\XDE.exe" %path_to_downloaded_image%
Despite the fact that it is installed on the XP, it only works on Vista and newer
step by step installation's guide by anarchyuk
So will you need Visual Studio Express Edition and all that jazz to make this work? Or just this installation and the emulator image?
Btw great work
main target was just to use the emulator without installing VS2010
just install this package and add the wp7_image
Works like a charm!! Thanks!
Image file
Thank you for the emulator
How can i get an image, do you have a URL or shared storage?
I've updated the first post with wp7image's URLs
anyone else get this to work?
Thanks for this
tried, but does not work at all:
1) installed from msi
2) run FAR as administrator
3) copied original WM70C1.bin to "C:\Program Files (x86)\Microsoft XDE\1.0\"
4) in directory "C:\Program Files (x86)\Microsoft XDE\1.0\" typed:
Code:
XDE.exe WM70C1.bin
and nothing appeared, and no process xde.exe running in task manager
if i type XDE.exe without parameters, it shows its help screen, but if i run with any parameter (even if it is wrong) it shows nothing.
is this problem related only to my machine or somebody else is experiencing this also?
l2tp
hmm.. I've tried many times on different PCs (win vista sp1 and newer but only x86) and I've had no problems..
there is just one problem that I found it will not work on winXP
pm me if you have any IM. it's much easier to me to talk in Russian
hmm again..
i've just test the emulator in the virtual machine with installed w7 x64 - all the symptoms as l2tp described
I'll try to find x64 version tonight
Thanks Sir
I installed this and it does not create the Microsoft XDE folder in program files....I am on Windows 7 x86. No error of anything. It did take a while and gave me a UAC prompt after a while.....
Edit: I enabled logging by running the msi with /log logfile.txt and it said:
vmmmsm_custom: Running custom action CA_InstallVMMDriver
vmmmsm_custom: Error creating VMM service, E = 6
CustomAction CA_InstallVMMDriver.3D2F911E_A60A_4C07_8F7D_5306DC073E9A returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:11:12: InstallFinalize. Return value 3.
vmmmsm_custom: Running custom action CA_RemoveVMMDriver
vmmmsm_custom: There was an error stopping the VMM service. Run setup again after manually stopping the VMM service. (error code 6)
vmmmsm_custom: There was an error deleting the VMM service. The service has not been deleted. (error code 6)
I guess it is a problem with my machine with the virtual machine driver, but there seems to be no service...
today I'd installed CLEAN win vista sp2 business x86 on the virtual machine and then tested this emulator - all works fine but very slow
one more update - this installer conflicts with UAC (m$ suxxs one more time..)
if you install the full version of the VS2010 UAC's request appears at the beginning and everything is installed properly
but if you only install the emulator, then:
If UAC enabled installer says "all fine" but emulator doesn't install (see post hsclate)
If UAC disabled installer says "all fine" and emulator installs
Thanks working now....you don;t have to disable UAC if you don't want to, just run an elevated command prompt and run from there, then it installed. Thanks for the pointer...
l2tp said:
tried, but does not work at all:
1) installed from msi
2) run FAR as administrator
3) copied original WM70C1.bin to "C:\Program Files (x86)\Microsoft XDE\1.0\"
4) in directory "C:\Program Files (x86)\Microsoft XDE\1.0\" typed:
Code:
XDE.exe WM70C1.bin
and nothing appeared, and no process xde.exe running in task manager
if i type XDE.exe without parameters, it shows its help screen, but if i run with any parameter (even if it is wrong) it shows nothing.
is this problem related only to my machine or somebody else is experiencing this also?
Click to expand...
Click to collapse
Same Problem for me here.
Running Win7 Professional x64
En1gma said:
hmm again..
i've just test the emulator in the virtual machine with installed w7 x64 - all the symptoms as l2tp described
I'll try to find x64 version tonight
Click to expand...
Click to collapse
Please work hard for the 64bit version, thanks really for this genius work.
Saw this emu-rip to late damn... After uninstalling all the "Microsoft Virtual Studio + I don't know how many crap from what Virtual Studio refused to uninstall via 'Programs and Features' so removed it kind of manually" the sde_xde-enu does not work anymore. While all that bullcrap was installed it actually did work...(@W7 x64)
damn rapid share thought it was extinct.
l2tp +1 confirmed
Yesterday I tried to install VS2010 on win7 pro x64 and it seems that there is no x64 version of vs2010. Because the download is the same version as downloaded on win vista hp sp2.

Categories

Resources