PDA

View Full Version : GUIDE: Speed up OEM ROMS with NETCF3.5 without cooking


aksd
02-03-2008, 04:19 PM
Until now you could get NET CF3.5 as default only if you cooked it into a ROM. But I've found the registry setting that can disable the default net CF 2.0 and enable net CF 3.5 as default. There is a noticable increase in speed and it shows on the benchmarks as well. I used to get 1320 on mine now I'm getting 1499 with VBenchmark.

What you need to do:

1. Install NetCF3.5 on your ppc.
2. Open a registry editor, I use Reso Regsitry Editor
3. Goto HKLM\Software\Microsoft\.NETCompactFramework (this is usually the first entry
4. When you open this you'll see all the .NET installed version change the DWORD value of 2.0.7045.00 from 1 to 0
5. Chang ethe DWORD value of 3.5.7283.00 from 0 to 1.
6. Reboot
7.Viola! you have a faster PPC

Any questions please post up, hope this helps the few memebrs who stick to the OEM roms.

Link to NetCF 3.5 thanks to jolas http://rapidshare.com/files/74601710/NetCF_v3.5_all.rar

pajaa
02-03-2008, 06:38 PM
Until now you could get NET CF3.5 as default only if you cooked it into a ROM. But I've found the registry setting that can disable the default net CF 2.0 and enable net CF 3.5 as default. There is a noticable increase in speed and it shows on the benchmarks as well. I used to get 1320 on mine now I'm getting 1499 with VBenchmark.

What you need to do:

1. Install NetCF3.5 on your ppc.
2. Open a registry editor, I use Reso Regsitry Editor
3. Goto HKLM\Software\Microsoft\.NETCompactFramework (this is usually the first entry
4. When you open this you'll see all the .NET installed version change the DWORD value of 2.0.7045.00 from 1 to 0
5. Chang ethe DWORD value of 3.5.7283.00 from 0 to 1.
6. Reboot
7.Viola! you have a faster PPC

Any questions please post up, hope this helps the few memebrs who stick to the OEM roms.

Hi,
I haven't DWORD value 3.5.7283.00 how to insttall NetCF 3.5?
Thanks in advance

aksd
02-03-2008, 06:45 PM
Posted link in first post.

pajaa
02-03-2008, 06:54 PM
Posted link in first post.

Hi,
thank you, I did it.

pajaa
02-03-2008, 06:58 PM
Posted link in first post.

Hi,
in your opinion in what applications we can we expect improvement.
Regards

aksd
02-03-2008, 07:01 PM
Overall speed, from scrolling to opening of apps.

thomassster
02-03-2008, 10:26 PM
awesome find. I'll use this when netcf gets upgraded again.

xmoo
03-03-2008, 12:09 AM
Gonna test it.

ryncppr
03-03-2008, 02:58 AM
Now here is a good question for you...I just cooked my own rom and installed 3.5 through a package...is there any need for 2.0 on our devices anymore???? If not, I can change the registry and probably save around 2 -3 mb....

stainlesspc
03-03-2008, 03:56 AM
When I checked mine there was only the 3.5 no reference to 2.0
This is from my SS.304.V1 rom
I only selected the 3.5 Package when I put it in the oven.

aksd
03-03-2008, 04:48 AM
Now here is a good question for you...I just cooked my own rom and installed 3.5 through a package...is there any need for 2.0 on our devices anymore???? If not, I can change the registry and probably save around 2 -3 mb....

Well then you dont need to worry about 2.0, this is basically for the OEM ROMs. But with 3.5 some apps may not work. I'm running .NET framework 1 SP3, 2 and 3.5

GSLEON3
03-03-2008, 05:07 AM
As always, remember you can check you .netCf version by clicking the file called cgautil.exe in the \Windows directory. It will report all installed versions. ;)

NuShrike
03-03-2008, 09:15 PM
I've already posted the OEM way of using .NET config to select the NETCF you want to use in this post:
http://forum.xda-developers.com/showpost.php?p=1948051&postcount=532

Credit to Paul @ Modaco.

perdurabo2
04-03-2008, 12:25 AM
It's important to mention that the original poster is incorrect in his assumptions. For information on this topic, straight from the horse's mouth:

http://blogs.msdn.com/andrewarnottms/archive/2007/08/27/Reflections-on-having-multiple-versions-of-netcf-on-your-device.aspx

gasman858
04-03-2008, 03:26 AM
Do you mean VSBenchmark (http://vsbench.virtualspaghetti.com/) from virtual spaghetti? It's not clear what this program actually does as there isn't a spec/methodolgy page from the company.
Most others who have tried this benchmark are getting scores from 1300 - 1750. Your score is pretty low overall (sorry!).
read this thread: Is your Kaiser gruesomly slow? (http://forum.xda-developers.com/showthread.php?t=366639).
Does anyone know how exactly having NetCF3.5 alters device speed?
I thought this was program specific.
Cheers

GSLEON3
04-03-2008, 03:58 AM
Do you mean VSBenchmark (http://vsbench.virtualspaghetti.com/) from virtual spaghetti? It's not clear what this program actually does as there isn't a spec/methodolgy page from the company.
Most others who have tried this benchmark are getting scores from 1300 - 1750. Your score is pretty low overall (sorry!).
read this thread: Is your Kaiser gruesomly slow? (http://forum.xda-developers.com/showthread.php?t=366639).
Does anyone know how exactly having NetCF3.5 alters device speed?
I thought this was program specific.
Cheers


You are correct. Net cf is a core language allowing programs to rely on it for certain system functions. How this could effect overall device speed is beyond me. It could effect the apps written for net cf, but again, I don't see how it could affect the core os. I guess if setting it to 1 takes it out of RAM, which I really doubt a mere registry key can do, it could improve the amount of avaiable RAM, but unless your system is completely overloaded with running programs I don't know how this could help overall device speed.

aksd
04-03-2008, 04:17 AM
You are correct. Net cf is a core language allowing programs to rely on it for certain system functions. How this could effect overall device speed is beyond me. It could effect the apps written for net cf, but again, I don't see how it could affect the core os. I guess if setting it to 1 takes it out of RAM, which I really doubt a mere registry key can do, it could improve the amount of avaiable RAM, but unless your system is completely overloaded with running programs I don't know how this could help overall device speed.

We'll being an amateur programmer from what I can understand is, .NET Framework being a Virtual Machine is loaded up at start up, and .NET3.5 must be better optimised than 2.0 for WM 6/5 thus making it a wee bit quicker.

If you rememebr with the original .NETCF 3.5 thread the cooks said they were getting a speed increase with .NET CF 3.5 over 2.0.

I wonder if it is placebo effect but as you can see from this thread http://forum.xda-developers.com/showthread.php?t=373721 quite a few people are noticing a difference.

Nick Collision
04-03-2008, 04:30 AM
As always, remember you can check you .netCf version by clicking the file called cgautil.exe in the \Windows directory. It will report all installed versions. ;)

Would that be cgacutil.exe? :rolleyes:

XaviorPenguin
04-03-2008, 10:29 AM
I don't know if this helps but I am using on my ATT 8525 (HTC Hermes 100) K's WM6.0 Final and when I enabled this I got 1557 on my benchmark, disabled, I got 1427.

xmoo
04-03-2008, 11:13 AM
Hmz, not withnessing any changes in speed..........

aksd
04-03-2008, 01:57 PM
Hmz, not withnessing any changes in speed..........

You're using a cooked ROM already using 3.5 as default. YOu wont see much of a difference.

Another memebr ran SKTools benchamrk, very small improvement, may not be due to the.NET version but we cant say now can we :D

http://forum.xda-developers.com/showpost.php?p=1988564&postcount=48

aksd
04-03-2008, 01:59 PM
It's important to mention that the original poster is incorrect in his assumptions. For information on this topic, straight from the horse's mouth:

http://blogs.msdn.com/andrewarnottms/archive/2007/08/27/Reflections-on-having-multiple-versions-of-netcf-on-your-device.aspx

How am I incorrect in my assumptions? What that post says is .NET can be run simultaneously. I have not stated that they cant. All I've posted is how to change the default .NET platform, the platform all .NET apps are reffered to unless otherwise redirected.

aksd
04-03-2008, 01:59 PM
I've already posted the OEM way of using .NET config to select the NETCF you want to use in this post:
http://forum.xda-developers.com/showpost.php?p=1948051&postcount=532

Credit to Paul @ Modaco.

Yes I noticed that post later, have updated my post with Pauls cab. I gues I was taking the long route in doing the same :D

gaban1
05-03-2008, 10:24 AM
hi i've try to install this CAB but when i open it in my kaiser it says that this program is not for kaiser n it's for another processor .....

perdurabo2
05-03-2008, 05:16 PM
How am I incorrect in my assumptions? What that post says is .NET can be run simultaneously. I have not stated that they cant. All I've posted is how to change the default .NET platform, the platform all .NET apps are reffered to unless otherwise redirected.

Because, doing this hack doesn't just make everything automagically run faster. It depends on the .config file included with the app. If you have both 2.0 and 3.5 installed, but the app's .config says to use 2.0, it'll still use 2.0 by default.

raymondu999
05-03-2008, 05:35 PM
don't mean to burst your bubble mate, but it's Voila, not Viola ;D

GSLEON3
05-03-2008, 09:16 PM
How am I incorrect in my assumptions? What that post says is .NET can be run simultaneously. I have not stated that they cant. All I've posted is how to change the default .NET platform, the platform all .NET apps are reffered to unless otherwise redirected.

Well, those registry keys do NOT decide what is the default .net cf for one. They show what version is run from RAM & which is run from ROM.

kyphur
05-03-2008, 09:34 PM
Does anyone have an example of a program the specifically requires an earlier version of the .NET CF?

My cooked Rom has no .NET CF Native to it and I've only installed 3.5 but have yet to run across a program that won't run.

bronx
05-03-2008, 10:21 PM
mkay...

I've just joined this mass madness and I must say, that even if it's some placebo effect then this netcf swap is a good one. dunno... maybe winMo loads .net on startup and this one is mo optimised or some bits of sys are using it, but it really does seem to be more snappy. it is not a major difference, but some tasks are now more instant I would say.

well... as I said. maybe it is a huge load of bullsh.. but I'll have to play it bit more to judge.


br

bro

marm0lade
06-03-2008, 03:41 AM
I am using a cooked ROM that only has 3.5 installed. However, the d-word for 3.5.7283.00 is set to 0. When I try to change it to 1. I get an "access denied" error, and am not able to change it.

Any thoughts?

aksd
06-03-2008, 04:43 AM
Does anyone have an example of a program the specifically requires an earlier version of the .NET CF?

My cooked Rom has no .NET CF Native to it and I've only installed 3.5 but have yet to run across a program that won't run.


Yes, I use Dynamo which requires Version 1 SP3

@raymond

Right mate, my mistake :D


@perdurabo2
IN programming there is something known as optimization, NETCF is loaded at startup if it is better optimized it will make the phone overall faster. If all the apps are better optimized, the phone would become blazingly fast.

@GSLEON

Yes I assumed that the .NET loaded into the RAM was made default. But I guess I'm wrong and the .NET loaded into the RAM does'nt make it default.

GSLEON3
06-03-2008, 04:56 AM
Does anyone have an example of a program the specifically requires an earlier version of the .NET CF?

My cooked Rom has no .NET CF Native to it and I've only installed 3.5 but have yet to run across a program that won't run.

According to MS all .net cf versions are reverse compatible. However, that said there are a few that will only work if the correct specified version is installed. I believe GadgetApps Sniper BT is one of those apps that require an older version, but maybe it was BT Crawler. Probably searches the reg for the version it was written for without consideration for newer reverse compatible installations.

kyphur
06-03-2008, 05:05 AM
According to MS all .net cf versions are reverse compatible. However, that said there are a few that will only work if the correct specified version is installed. I believe GadgetApps Sniper BT is one of those apps that require an older version, but maybe it was BT Crawler. Probably searches the reg for the version it was written for without consideration for newer reverse compatible installations.

As a developer I'm aware of that which is why I asked the question. I know there are ways to "break" that backward compatibility.

Personally I don't use software that hasn't been updated in 3 years (Not a dig at old apps, I still love them) because I feel they become inefficient if they aren't updated regularly.

mattarse
06-03-2008, 01:38 PM
Ok this thread is kind of answering an issue I've been having.

I'm using one of Alex's Roms with .net 3.5 cooked in. When i try and run Hubdog I get an error, and it points to requiring .net 2 to run.
I had assumed that you can only run one version, but can i now install .net 2 as well and hubdog should call the 2 version as needed?

If needed I can get the exact error message again later - Ive removed the program a few weeks ago and will need to re install then try and run it.

If I can run both versions - will I need to do any regedit to allow programs to call the version 2?

Cheers,
Matthew

JPHCCFC
15-03-2008, 01:51 PM
tried to install this in dc v1.7 however it says it is not intended for this device!! im using the ppc one surely this is the correct one!

previa
28-03-2008, 08:22 AM
Thanks ,I also had a well performance in my LG KS20 after install this software:)

kelvinlikf
28-03-2008, 11:54 AM
I just installed the application and well .. a bit faster indeed !

modaco
28-03-2008, 12:38 PM
Run CF 3.5 as default really easily, and even assign the version on a per app basis:

http://www.modaco.com/content/Windows-Mobile-News/265615/How-to-install-and-USE-net-Compact-Framework-3-5-WITHOUT-upgrading-your-ROM-/

P

GSLEON3
29-03-2008, 01:20 AM
tried to install this in dc v1.7 however it says it is not intended for this device!! im using the ppc one surely this is the correct one!


Ahhh...Hasn't been PPC for a few years now. Try the ARM4 version. ;)

mario23
10-09-2008, 04:06 AM
Trying this now.
I hope there wasn't a newer better way that I missed ;)

kamaleo
19-09-2008, 11:48 AM
Hi

you can help me?

i have installated the NETCF3.5

Install NetCF3.5 on your ppc. = ok
2. Open a registry editor, I use Reso Regsitry Editor = ok
3. Goto HKLM\Software\Microsoft\.NETCompactFramework (this is usually the first entry = ok
4. When you open this you'll see all the .NET installed version change the DWORD value of 2.0.7045.00 from 1 to 0 = ok
5. Chang ethe DWORD value of 3.5.7283.00 from 0 to 1. = where is? sorry.....
6. Reboot
7.Viola! you have a faster PPC

Thank's in advance

Marco

mda4man
21-09-2008, 03:26 AM
wen i download the file it comes up with an un-usable application help?

nemesis27
19-10-2008, 06:46 PM
i followed the original post and it worked!!! you're a genius!!

zlamma
28-10-2008, 12:57 AM
which one do i actually install? or do i install all of them.

DaveShaw
28-10-2008, 02:51 AM
which one do i actually install? or do i install all of them.

armv4i.

Ta
Dave