PDA

View Full Version : BA 48MB RAMDisk


nht_max
20th September 2006, 06:19 AM
Dear all respected members of our forum,

Please anyone guide me the way to make the 48MB RAMDisk cab? :?:
Plus, please help me with the address to modify the RAMDisk size when editing the nk.nba. I tried to search but ant find it yet. :cry:

Thanks in advance for all your consideration!!!

nht_max
20th September 2006, 06:53 AM
Where are you guys, please anyone knows this help me?
:cry: :cry:

raymonds
20th September 2006, 07:19 AM
i don't want to sound silly, but doesn't making a 48MB ramdisk lead to a zero paging pool... why would you want to have that?

nht_max
20th September 2006, 03:17 PM
i don't want to sound silly, but doesn't making a 48MB ramdisk lead to a zero paging pool... why would you want to have that?
I think it wont lead to that bad thing. I just wanna make the RAMDisk storage larger by reducing the RAM available for running apps, not by taking away the pool paging part. I kinda think it would even improve the apps speed, rather than running apps from ROM.
This's the ideal configuration for me: 16MB Pool paging+ 64MB RAM(decrease from 80MB: says about 77.17 in device information) + 48MB RAMDisk. Am I right? Please help me if you know how to make the 48MB RAMDisk driver cab file, and the address to adjust the amount of RAM in the nk.nba file.
Thanks and sorry for my bad English!

thingonaspring
20th September 2006, 07:03 PM
Hiya,

Modify the following addresses in nk.nba :-
207C14: -> 95
207C15: -> 24
207C18: -> 50

And change the following 2 registry entries :-
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
"Size"=dword:3000000
"Address"=dword:95000000

nht_max
22nd September 2006, 05:24 AM
Hiya,

Modify the following addresses in nk.nba :-
207C14: -> 95
207C15: -> 24
207C18: -> 50

And change the following 2 registry entries :-
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
"Size"=dword:3000000
"Address"=dword:95000000

Thanks a lot for your help, I'll go try it right now. :D
BTW, Do the addresses differ from each BA WM5 ROM version? Just in case there's new AKU 3.4 based-ROM released.

imatrix
22nd September 2006, 07:28 AM
Hiya,

Modify the following addresses in nk.nba :-
207C14: -> 95
207C15: -> 24
207C18: -> 50

And change the following 2 registry entries :-
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
"Size"=dword:3000000
"Address"=dword:95000000

just wondering if u could tel lme how to include that registry setting direct into nk.nba?

thanks

c_shekhar
22nd September 2006, 11:35 AM
Hiya,

Modify the following addresses in nk.nba :-
207C14: -> 95
207C15: -> 24
207C18: -> 50

And change the following 2 registry entries :-
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
"Size"=dword:3000000
"Address"=dword:95000000

Dear friend similar nk.nba modification for Himalaya pleeeease?????

thingonaspring
22nd September 2006, 01:00 PM
@nhtmax
Upgrading to a newer AKU version won't change those addresses.

>how to apply to nk.nba
Lots of ways to do this - in order of difficulty :-

Easy - Manually edit the two registry settings after you've got the device up and running.

Less easy - use the ROM Kitchen to build your own ROM with those settings.

Really fiddly - dump the nk.nba file out to a bunch of files, decode the registry, edit the registry, encode the registry, add registry back into the IMGFS filesystem, rebuild the rom, re-encrypt the rom.


@c_shekhar
I'm sorry dude I have no idea about Hima. No device to test on.
Buzzdev.net is by far the best place to look.

nht_max
24th September 2006, 09:09 AM
@thingonaspring
Thanks a lot for yor help mate, I've just edited my ROM to have 48MB RAMdisk, and feel the speed really really fast+ more space.

@c_shekhar
If you want to have your Hima WM5 ROM with 48M RAMDisk, just do these following steps:
1) Convert the nk.nbf into nk.nba using xda2nnbftool.exe, command line should be like this: xda2nbftool -x NK.nbf NK.nba 0x20040304
2) Use some hex editor, search for address :
FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 08 ( if you have full 128MB RAM version: no RAMdisk)
-> change the value to:
FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 06 --> 96 MB program memory: RAMdisk= 32MB
FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 04 --> 64 MB program memory: RAMdisk= 64MB
-> save the edited nk.nba.
3) Now you have the ROM version with your like RAMdisk preserved. Next thing to do is dump the nk.nba using Hima ROM kitchen (read for more in our forum) edit the default.hv inside the dump folder.
Change the following 2 registry entries :-
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
"Size"=dword:3000000
"Address"=dword:95000000
Re-buid the dump folder to have the nk.nba. Then type these command lines:
xda2nbftool -c -u NK.nba
xda2nbftool -x NK.nba NK.nbf 0x20040304
Now you have your 48MB RAMdisk ROM version ready for upgrading.

c_shekhar
24th September 2006, 03:22 PM
Thanks bro for the help. I am already using the AKU 3.2 ROM cooking. In this case I think I have do as follows:--

1. Put the registry values you have metioned above in the \DEV\OEM\ROM_Himalaya_v1.50_3.00a.64\0ffd60e6-162d-4643-850c-58fcc4e34579.rgu

2. Edit the \DEV\ROM\NK.nba using hex editor for substituting the values you have mentioned.

If you think I have understood correctly kindly endorse this in your reply post. Thanks once again...

nht_max
25th September 2006, 04:37 AM
@c_shekhar
You're on the right track bro. Just adjust both the nk.nba addresses and registry to have wished space of RAMdisk. Just do those steps to make your ROM.
But, one thing, I'm really sorry for my mistake as here:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
"Size"=dword:3000000
"Address"=dword:95000000
The above values are ONLY for 48MB RAMdisk version.
FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 08 ( if you have full 128MB RAM version: no RAMdisk)
FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 06 --> 96 MB program memory: RAMdisk= 32MB
FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 04 --> 64 MB program memory: RAMdisk= 64MB
To have 48MB RAMdisk, change above value in the nk.nba to:
FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 05 --> 80MB program memory: RAMdisk= 48MB
and the registry to the mentioned values.

c_shekhar
25th September 2006, 07:21 AM
Thanks bro a lot.

c_shekhar
29th September 2006, 11:36 AM
one more question nht_max

With RAMDisk of 48MB how big shall be the page pool size in Himalaya?? I mean would it change automatically or shall I have to make some other changes in the NK.nbf for changing the page pool size????

nht_max
29th September 2006, 02:27 PM
one more question nht_max

With RAMDisk of 48MB how big shall be the page pool size in Himalaya?? I mean would it change automatically or shall I have to make some other changes in the NK.nbf for changing the page pool size????

Of course you have to change it manually If you want to have page pool size. The change's easy, just like what I'd just done on my BA. :wink:
You just have to edit some addresses in the nk.nba(not nk.nbf). At the time I had Hima, there was nothing called page pool size revealed, so I dont know about this on Hima bro :?
If you really want to increase its size, try to look for those addresses in the Hima threads.

francis_fds
17th January 2008, 10:55 PM
hi,

I found the beneath mentioned addresses, in the hex editor, but dont know where i should be entering the "95", "24" and "50". please advise.

Also, i already have a 32 mb pagepool. can i have a 32 mb ramdisk? what according to the experts out here is the best config, for storage, programs, ramdisk and pagepool?


Thanks and regards,
Francis.

Hiya,

Modify the following addresses in nk.nba :-
207C14: -> 95
207C15: -> 24
207C18: -> 50

And change the following 2 registry entries :-
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
"Size"=dword:3000000
"Address"=dword:95000000

SilverSamurai
18th January 2008, 03:55 AM
can someone please tell me what's the practical use of a ramdisk in a mobile phone
and how do you utilize it?

because i find it unpractical to have, since it's already mobile and BA already is a volatile unit, which tends to reset from time to time.