Go Back   xda-developers > General discussion > General


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th March 2006, 01:13 PM
tweakradje tweakradje is offline
Senior Member
 
Join Date: Mar 2005
Location: wm2003se
Posts: 276
Default HKCU\Software\Microsoft\Shell\NeverDorkMemory

Just create a empty key:

HKCU\Software\Microsoft\Shell\NeverDorkMemory

kinda realtime memory defragmenter

Cheers

Edit 22 april 2006: it became clear that this setting locked the memory slider in place for pre wm2005 os. You also might be interested in this tweak: AutoOOM

I want to thank everybody who helped clearing this out.

Cheers and keep your minds open for new things ;O)
Reply With Quote
Sponsored Links

  #2  
Old 25th March 2006, 01:16 PM
Nadavi's Avatar
Nadavi Nadavi is offline
Senior Member
 
Join Date: Mar 2005
Posts: 671
Default

what does it do?
__________________
JAM,kJAM,Jasjar,Mio A701,Gigabyte i128, Gigabyte i120, Gigabyte i300,SP5m,Atom,Eten X500,Eten M700,HTC S620,P3600,3600i,Tytn,Tytn II, Samsung SGH-I780, Diamond, HTC Touch pro, HTC Hero, Samsung Galaxy, HTC Magic, HTC HD2.
www.mobilityfreak.co.il
Reply With Quote

  #3  
Old 25th March 2006, 03:08 PM
xplode's Avatar
xplode xplode is offline
Senior Member
 
Join Date: Dec 2005
Location: Nesebar
Posts: 1,969
Default

As I understand it maybe it is defragmenter for your ram memory, and it will make a little speed gain
__________________
Merged rom archives to one site
firmware.atspace.com - contains Blueangel, Harrier, Magician, iPhone (2G, 3G, 3G S), iPod (1G,2G) roms and firmware and will upload more devices soon
Mirror

If you like my work, or just want to thank me you can consider a small donation
Reply With Quote

  #4  
Old 27th March 2006, 03:33 AM
Jed D`Lagged's Avatar
Jed D`Lagged Jed D`Lagged is offline
Senior Member
 
Join Date: Jan 2006
Location: Sydney
Posts: 111
Default

NeverDorkMemory? Google shows it in two places, here, and some chinese site. What evidence do you have that it works?

Sounds a little fake ;D
__________________
http://jed.delagged.net
Reply With Quote

  #5  
Old 27th March 2006, 03:29 PM
tweakradje tweakradje is offline
Senior Member
 
Join Date: Mar 2005
Location: wm2003se
Posts: 276
Default

If no progress ever was made we will still be running around naked with a lot of hair on our body....

Don't judge something you realy haven't got a clue about.
Reply With Quote

  #6  
Old 27th March 2006, 05:04 PM
Nadavi's Avatar
Nadavi Nadavi is offline
Senior Member
 
Join Date: Mar 2005
Posts: 671
Default

From hairy bodies...
back to the subject..

What does this Acctualy do?
__________________
JAM,kJAM,Jasjar,Mio A701,Gigabyte i128, Gigabyte i120, Gigabyte i300,SP5m,Atom,Eten X500,Eten M700,HTC S620,P3600,3600i,Tytn,Tytn II, Samsung SGH-I780, Diamond, HTC Touch pro, HTC Hero, Samsung Galaxy, HTC Magic, HTC HD2.
www.mobilityfreak.co.il
Reply With Quote

  #7  
Old 27th March 2006, 07:43 PM
ammar's Avatar
ammar ammar is offline
Senior Member
 
Join Date: Apr 2004
Posts: 230
Default

what does it do?
thanks in advance
Reply With Quote

  #8  
Old 27th March 2006, 08:52 PM
tweakradje tweakradje is offline
Senior Member
 
Join Date: Mar 2005
Location: wm2003se
Posts: 276
Default

OK, but you asked for it ;O)

It controls your SystemMemoryDivision (fragmentation)

This is what it does:

...........
.text:00017AC8 BL GlobalMemStatus
.text:00017ACC LDR R1, Software\\Microsoft\\Shell\\NeverDorkMemory
.text:00017AD0 ADD R3, SP, #0x78+var_68
.text:00017AD4 STR R3, [SP,#0x78+var_78]
.text:00017AD8 MOV R2, #0
.text:00017ADC MOV R3, #1
.text:00017AE0 MOV R0, #0x80000001 (hkcu)
.text:00017AE4 BL RegOpenKeyExW
.text:00017AE8 CMP R0, #0
.text:00017AEC BEQ loc_17B0C
.text:00017AF0 ADD R0, SP, #0x78+var_44
.text:00017AF4 BL sub_176AC
.text:00017AF8 CMP R0, #0
.text:00017AFC BEQ loc_17B14
.text:00017B00 ADD R0, SP, #0x78+var_44
.text:00017B04 BL GlobalMemoryStatus
.text:00017B08 B loc_17B14
.......
sub_176AC ; CODE XREF: sub_17A88+6Cp
.text:000176AC
.text:000176AC var_3C = -0x3C
.text:000176AC var_38 = -0x38
.text:000176AC var_34 = -0x34
.text:000176AC var_2C = -0x2C
.text:000176AC var_28 = -0x28
.text:000176AC
.text:000176AC STMFD SP!, {R4-R11,LR}
.text:000176B0 SUB SP, SP, #0x18
.text:000176B4 MOV R4, R0
.text:000176B8 MOV R11, #0
.text:000176BC ADD R0, SP, #0x3C+var_2C
.text:000176C0 MOV R10, R11
.text:000176C4 BL GetStoreInformation
.text:000176C8 LDR R9, [SP,#0x3C+var_28]
.text:000176CC LDR R3, [R4,#0xC]
.text:000176D0 ADD R0, R9, R9,LSL#2
.text:000176D4 CMP R0, R3
.text:000176D8 BCC loc_176E8
.text:000176DC ADD R0, R3, R3,LSL#2
.text:000176E0 CMP R0, R9
.text:000176E4 BCS loc_177DC
.text:000176E8
.text:000176E8 loc_176E8 ; CODE XREF: sub_176AC+2Cj
.text:000176E8 ADD R2, SP, #0x3C+var_34
.text:000176EC ADD R1, SP, #0x3C+var_38
.text:000176F0 ADD R0, SP, #0x3C+var_3C
.text:000176F4 BL GetSystemMemoryDivision
.text:000176F8 LDR R0, [SP,#0x3C+var_38]
.text:000176FC LDR R2, =__rt_udiv
.text:00017700 LDR R6, [SP,#0x3C+var_3C]
.text:00017704 LDR R8, [SP,#0x3C+var_34]
.text:00017708 ADD R7, R6, R0
.text:0001770C LDR R1, [SP,#0x3C+var_28]
.text:00017710 LDR R3, [R2]
.text:00017714 MOV R0, R8
.text:00017718 MOV LR, PC
.text:0001771C MOV PC, R3
.text:00017720 LDR R2, =__rt_udiv
.text:00017724 MOV R9, R0
.text:00017728 LDR R1, [R4,#0xC]
.text:0001772C LDR R3, [R2]
.text:00017730 MOV R0, R8
.text:00017734 STR R9, [SP,#0x3C+var_28]
.text:00017738 MOV LR, PC
.text:0001773C MOV PC, R3
.text:00017740 LDR R2, =__rt_udiv
.text:00017744 STR R0, [R4,#0xC]
.text:00017748 ADD R0, R0, R9
.text:0001774C MOV R1, R0,LSR#1
.text:00017750 LDR R3, [R2]
.text:00017754 SUB R5, R1, R9
.text:00017758 MOVS R4, R5
.text:0001775C MOV R1, #0x7D000
.text:00017760 MOV R0, R8
.text:00017764 RSBMI R4, R4, #0
.text:00017768 MOV LR, PC
.text:0001776C MOV PC, R3
.text:00017770 CMP R4, R0
.text:00017774 BLE loc_177DC
.text:00017778 LDR R2, =__rt_udiv
.text:0001777C ADD R5, R6, R5
.text:00017780 MOV R1, #0x200000
.text:00017784 STR R5, [SP,#0x3C+var_3C]
.text:00017788 LDR R3, [R2]
.text:0001778C MOV R0, R8
.text:00017790 SUB R4, R7, R5
.text:00017794 MOV LR, PC
.text:00017798 MOV PC, R3
.text:0001779C CMP R4, R0
.text:000177A0 BCC loc_177DC
.text:000177A4 MOV R0, R5
.text:000177A8 BL SetSystemMemoryDivision
.text:000177AC CMP R0, #0
.text:000177B0 BNE loc_177D4
.text:000177B4 MOV R10, #1
.text:000177B8
.text:000177B8 loc_177B8 ; CODE XREF: sub_176AC+134j
.text:000177B8 LDR R2, =unk_401DC
.text:000177BC LDR R0, [R2]
.text:000177C0 BIC R1, R0, #0x10000
.text:000177C4 STR R1, [R2]
.text:000177C8
.text:000177C8 loc_177C8 ; CODE XREF: sub_176AC+158j
.text:000177C8 ; sub_176AC+190j ...
.text:000177C8 MOV R0, R10
.text:000177CC ADD SP, SP, #0x18
.text:000177D0 LDMFD SP!, {R4-R11,PC}
.text:000177D4 ; ---------------------------------------------------------------------------
.text:000177D4
.text:000177D4 loc_177D4 ; CODE XREF: sub_176AC+104j
.text:000177D4 LDR R9, [SP,#0x3C+var_28]
.text:000177D8 MOV R10, R11
.text:000177DC
.text:000177DC loc_177DC ; CODE XREF: sub_176AC+38j
.text:000177DC ; sub_176AC+C8j ...
.text:000177DC CMP R9, #loc_14000
.text:000177E0 BCS loc_177B8
.text:000177E4 LDR R1, =unk_401DC
.text:000177E8 LDR R0, [R1]
.text:000177EC TST R0, #loc_20000
.text:000177F0 BNE loc_17840
.text:000177F4 LDRH R0, [R1,#2]
.text:000177F8 MOV R1, R0,LSL#16
.text:000177FC MOV R2, R1,LSR#16
.text:00017800 TST R2, #1
.text:00017804 BNE loc_177C8
.text:00017808 MOV R0, #0xFF00
.text:0001780C MOV R3, #0
.text:00017810 MOV R2, #0
.text:00017814 MOV R1, #0x1F
.text:00017818 ORR R0, R0, #0xFB
.text:0001781C BL PostMessageW
.text:00017820 LDR R0, =unk_3FF1C
.text:00017824 MOV R1, #0x460
.text:00017828 LDR R0, [R0]
.text:0001782C MOV R3, #0
.text:00017830 MOV R2, #0
.text:00017834 ORR R1, R1, #0xC
.text:00017838 BL PostMessageW
.text:0001783C B loc_177C8
.text:00017840 ; ---------------------------------------------------------------------------
.text:00017840
.text:00017840 loc_17840 ; CODE XREF: sub_176AC+144j
.text:00017840 ORR R0, R0, #0x10000
.text:00017844 STR R0, [R1]
.text:00017848 B loc_177C8
.text:00017848 ; End of function sub_176AC
.text:00017848
Reply With Quote

  #9  
Old 27th March 2006, 11:24 PM
ammar's Avatar
ammar ammar is offline
Senior Member
 
Join Date: Apr 2004
Posts: 230
Default

Nice,,, you can do cut & paste.
please we are all visiting this site to share info and to get the best out of our PPC's.
every one who visited your subject asked a simple question and yet no asnswer that make sense "to me at least".
Reply With Quote

  #10  
Old 27th March 2006, 11:31 PM
tweakradje tweakradje is offline
Senior Member
 
Join Date: Mar 2005
Location: wm2003se
Posts: 276
Default

Take a look at the boards title: Developers.

That you cannot read my reply is not my problem.

Discussion closed.
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.