Increase D2 ram by editing rom - Touch Diamond2, Pure ROM Development

Hi all. Today i have disassemled my Diamond2 (I have looking for reason why it have 288mb of RAM)
And found interesting thing:
Diamond2 have only 1module of memory, it's Samsung (I have recorded markers on the chip but have lost the papper.. ****)
i have COMPLETELY disassemled the phone, i found only ONE module of ram (For example my previous phone had two pieces)
So i think HTC did this:
They merged nonvolatile slow 1024mb module for:
1)512mb for internal storage
2)288mb for RAM
3)Anoter 224mb has been hidden
Its explains how HTC got 288mb for RAM, also explains why Diamond2 3(!)times slower than SE X1 in memory bandwith benchmark (nonvolatile memory not so fast as traditional RAM module).
So i think its possible to get more RAM by editing rom's memory mapping. Actually i can't do it by myself, but is there someone who can do it? I can test "New gen roms" in my spare time
P.S. Eventually we can just pump some MB from Storage (Are you need so much?) to RAM (You definitely need it, especially when use rom with Manila2.5)
P.P.S. Why i think its 1024mb module? Because i never ever seen memory chips like 768mb

good idea.
sadly that I don't know any thing about technics.
looking forward that some guys will make it.

BUMP.
I would love to see this come about!

The module is:
SAMSUNG 967 KBY00N00HM-A448 GML215A7.
Checked with google, didnt find how large it are, but its really nonvolatile memory, also very cheap

Interesting
+1

I always wondered about this. Would be nice if someone could pull this off. Mine starts up with only about 70mb free (uggggh) and slowly but surely goes down to around 58 where it finally seems to stable out at.

Interressed too !

that's quite some smarts digging this up!
will keep checking here for the holy grail of more memory...

I only wish that its possible to do it.

we all are much interessted , but search the developer... i dont know it if works, I mean the topaz is already 1year old , i can't believe that nobody have try this already...
but i hope =D

maybe a radio update will do the trick, like it did on the HD2

Possible beginning of a solution
If it is a 1024MB chip then maybe they simply laser cut a connection somewhere giving access to the rest of the available memory.... Like AMD did on the old Athlon chips to lock the multiplier.
If this is the case then all that's needed is a graphite pencil and the location of the cut connection and we're in business!

except that AMD CPU was on a large peace of PCB, and the connection was easily in sight, while here we're talking about a possible 65 nm technology memory chip completely encapsulated. good luck using a pencil on that. sorry I'm such a show stopper, but it's gotta be somewhere else.

This is a memory module, not an old athlon CPU
Have found a little guide from Loox device:
1) Patch nk.exe ("ulRAMEnd" must read value from ROMHDR, not an constant)
2) Patch nk.exe (Dont let "IPM-functions" in nk.exe rewrite registers in memory controller and activte additional RAM partitions.
3) Change "ulRAMEnd" in ROMHDR, XIP partitions.
4) Edit "OEMAddressTable" in nk.exe.
Just realized, we can try to change "MainMemoryEndAddress" in nk.exe (S000 file). It works for Kaiser/Polaris/Niki, gains 16mb of RAM

This is Great!!! If there is a possible way to do this then our TD2's will run much better and faster

and then if only we can overclock damn processor...

Have checked situation about HD2 hidden ram and found that it actually same with D2 - HD2 also have only one memory module, it doesnt have real RAM memory too.
So it was possible to resize RAM partition by flashing new rom and radio(?).
So i 100% sure it can be done on topaz.
(By the way i think Diamond, TP and Rhodium affected too cause they all got very slow RAM with strange size)
I dont have PC so i cant do it by myself
So our hope is cookers only, or someone like Olinex
P.S. Can someone send me nk.exe from HD2 original and new (With unlocked RAM) roms?

Interesting find! I'm following this with excitement hopefully someone can do something about this... but then thinking about it isn't some of this extra RAM saved for hard resetting by the bootloader?? Getting rid of this will stop that or am I confusing this with the ROM space?

Tim4 said:
Have checked situation about HD2 hidden ram and found that it actually same with D2 - HD2 also have only one memory module, it doesnt have real RAM memory too.
So it was possible to resize RAM partition by flashing new rom and radio(?).
So i 100% sure it can be done on topaz.
(By the way i think Diamond, TP and Rhodium affected too cause they all got very slow RAM with strange size)
I dont have PC so i cant do it by myself
So our hope is cookers only, or someone like Olinex
P.S. Can someone send me nk.exe from HD2 original and new (With unlocked RAM) roms?
Click to expand...
Click to collapse
You should also post this in the HD2 ROM Development thread, hopefully someone will send you the files.
Also, this thread is getting more and more interesting! I hope you can come up with something!
Best regards

it isn't some of this extra RAM saved for hard resetting by the bootloader?? Getting rid of this will stop that or am I confusing this with the ROM space?
Click to expand...
Click to collapse
Nope, hard-reset will just delete all files on main storage that doesnt have "ROM" marker. Its the only thing it does and doesnt requires extra ram. (I think so, may be i wrong )

Related

Rom Development

Has anyone successfully opened up the tytn rom for modifying? Is it possible to change the cache size the way the BA has been done. I would like to see the ability to change the default cache to 16MB or even 32MB for performance boost.
axiom said:
Has anyone successfully opened up the tytn rom for modifying?
Click to expand...
Click to collapse
We are trying hard, see other posts in this forums and read the wiki...
axiom said:
Is it possible to change the cache size the way the BA has been done. I would like to see the ability to change the default cache to 16MB or even 32MB for performance boost.
Click to expand...
Click to collapse
BlueAngel has 128Mb of ram which can be used as paging pool and ramdisk... that's why after modifiying the pool size you end up with less ram (77 visible MB in helmi 1.3.2 with 16Mb pool for example).
TyTN has only 64Mb of RAM, if you take 16Mb for paging pool and 32Mb for ramdisk you'll end up with a device with 16Mb of ram... which would make it quite unusable
At the moment we don't have the tools nor the knowledge to make something like what mamaich has done with blueangel in the Hermes... but it's just a matter of time
I see. But I find the ram disk useless at anything over 12 Megs, so there would be enough room left over for additional Ram. But then that's just a personal preference.
I mean, the overall cache might not need to be 16MB, 8MB might do what 16MB does on the BA. I guess we really won't know until someone cracks it open.
In any case, I would be willing to give up ram disk for increased performance.
interesting ... shouldn't the TyTN perform much better as other devices? (pointing to the CPU ... where are the 400 MhZ?) but i agree ... get lost of some MB for performance increase ... i am with you
Someone should PM mamaich to ask for his kind support in this matter
I will ask him about this and get back with his answer.
Here is mamaich's response to this.
It is possible to adjust pool size on any WM5 device, but I don't know is it possible to flash a patched ROM to TyTn. And typically the OEM made tests to adjust pool size for max speed.
The method of looking for addresses is similar to method I've described in Universal topic
Click to expand...
Click to collapse
Well does anyone have any insights to this? Are we able to flash a patched ROM on the TyTn yet?
axiom said:
Are we able to flash a patched ROM on the TyTn yet?
Click to expand...
Click to collapse
We are close to but not able yet, see method two here:
http://wiki.xda-developers.com/index.php?pagename=Hermes_SDCardFlashing
If anyone can help on this is very welcome!!!

Regain Full mem without reset.(challenge)

Hey guys i think this should be an important challenge to overcome maybe find out where all the ram is going and get it back without reseting our precious moguls. My experience its something that Task manager doesn't show up because when i end task on my DCD 3 1 2 ROM i dont get all of my memory back like right after reset. Also this causes inconvinient problem of starting GPS after few days of RAM going down to 8mb and not having enough to lunch TOMTOM.
Oxios doesn't not regain full mem only one third of it.
Can we some how make a better task manager or maybe purge RAM?
Writing a driver to consider our FLASH cards as constant RAM?
I would gladly sacrifice remove ability of my MicroSD for extra 4 gigs of ram and would let my memory leak on a period of roughly 4 years of constant usage.
Please lets get organized and stop hoping the next ROM upgrade will solve this issue.
This is one of the biggest downfalls of the mogul
I would suggest looking into how RAM works before making this thread.
First off, most of our ram appears to be lost due to memory leaks.
http://en.wikipedia.org/wiki/Memory_leak
And since, at least in my experience, most of the memory leak comes from Windows 6 (and so much worse in 6.1), you can't exactly end the windows task unless you...
restart the Mogul.
So no, an application, or task manager, wont do you any good. Not until they fix windows 6.1 up to not be lord of memory leaks. That is why new roms are often so desired, because only a rom release with some decent version of 6.1 with hopefully some patched memory leak holes could help our problem.
Second, you can't use a flash drive as ram, at least its not reasonable. You think the Mogul slows down now? Wow, just wait to you see it moving at the blistering pace of a microSD card.
Ram is so small, and so expensive, largely due to its speed. Thats why you can buy a 500GB HD for about the cost of 4GB of RAM on your computer.
Also, running from the MicroSD would be similar to the page file on your home computer. It runs from, in most cases, your C drive, its a fairly large file, getting even larger when you run multiple tasks on a low RAM system.
It is slow as a dog, and is one of the worst causes of system slowdowns. I also believe that MicroSD's have a limited number of read/writes. While not an issue so much for everyday use (taking pictures, running an app from time to time), if it were used as a swap file, it would probably wear out that SD card pretty quick.
So no, short of an amazing, simple amazing, piece of software engineering on Microsoft's part on a new Windows Mobile, someone developing some sweet, easy to install ram upgrade, or the new replacement for the Mogul coming out with more ram than we know what to do with.
You will be restarting your Mogul.
It should be possible to wright a Driver to USE RAM for swap file and some of main drivers but MicroSD card to be used to run all the extra features and programs. Also why our team of coders cant plug the memory leaks or find out the runing programs not seen by Task manager and have option to close them?
PS
Thanks for confirming my worst dream about the limits of our mogul. Also I notice that PPC on palm trios seems not to have these memory leaks.
This is maybe possible if we can build a tool that can reboot the shell without rebooting the actual OS. It can be combined with the command to free the memory when the OS is unloaded. This is my theory, i think that we can recover memory like this
VulnoX said:
I would suggest looking into how RAM works before making this thread.
First off, most of our ram appears to be lost due to memory leaks.
http://en.wikipedia.org/wiki/Memory_leak
And since, at least in my experience, most of the memory leak comes from Windows 6 (and so much worse in 6.1), you can't exactly end the windows task unless you...
restart the Mogul.
So no, an application, or task manager, wont do you any good. Not until they fix windows 6.1 up to not be lord of memory leaks. That is why new roms are often so desired, because only a rom release with some decent version of 6.1 with hopefully some patched memory leak holes could help our problem.
Second, you can't use a flash drive as ram, at least its not reasonable. You think the Mogul slows down now? Wow, just wait to you see it moving at the blistering pace of a microSD card.
Ram is so small, and so expensive, largely due to its speed. Thats why you can buy a 500GB HD for about the cost of 4GB of RAM on your computer.
Also, running from the MicroSD would be similar to the page file on your home computer. It runs from, in most cases, your C drive, its a fairly large file, getting even larger when you run multiple tasks on a low RAM system.
It is slow as a dog, and is one of the worst causes of system slowdowns. I also believe that MicroSD's have a limited number of read/writes. While not an issue so much for everyday use (taking pictures, running an app from time to time), if it were used as a swap file, it would probably wear out that SD card pretty quick.
So no, short of an amazing, simple amazing, piece of software engineering on Microsoft's part on a new Windows Mobile, someone developing some sweet, easy to install ram upgrade, or the new replacement for the Mogul coming out with more ram than we know what to do with.
You will be restarting your Mogul.
Click to expand...
Click to collapse
while every single statement you say is true, your only wrong about how long ti takes to wear out a flash device. According to Toshiba, the inventor of Flash memory and one of the top suppliers of Flash memory chips, the 10,000 cycles of MLC [Multi-Level Cell] NAND is more than sufficient for a wide range of consumer applications, from storing documents to digital photos. For example, if a 256-MB MLC NAND Flash-based card can typically store 250 pictures from a 4-megapixel camera (a conservative estimate), its 10,000 write/erase cycles, combined with wear-leveling algorithms in the controller, will enable the user to store and/or view approximately 2.5 million pictures within the expected useful life of the card.
For USB flash drives, Toshiba calculated that a 10,000 write cycle endurance would enable customers to completely write and erase the entire contents once per day for 27 years, well beyond the life of the hardware.
take into note that is only 10,000 write cycles. 100,000 which is common for most flash drive now a days. so no, he wont even be around to see the day his flash drive even wears out. LOL.
Glad to see this post picking up some steam But lets Try and focus on making A solution rather than discussin known facts
the known facts have already pointed out the problem (memory leaks in the OS) and the only solution we have without the source code (restart the OS by rebooting the phone) so what else is there to discuss?
oh yeah, we can talk about ways to get the source code so we can fix it.
well i posted one idea:
http://forum.xda-developers.com/showpost.php?p=2257436&postcount=4

256Mb Ram .. but so little to play with?

It puzzles me that my TG01 boasts a healthy sounding 256MB of RAM, but often all that is available when all apps are terminated is no more than 80MB free. Having a look at the background processes, these seem to account for about 40MB which would suggest there should be about 200MB free at worst! What is all the "spare" memory preoccupied with? Is there a utility that will give a breakdown of how the RAM is allocated?
Why is this a problem? Because, more often than not, I get an error using Internet Explorer that there isn't quite enough memory to run Adobe Flash.
dont use IE lol ... IE memory managment is one of the things they fixed in 6.5.3 ... when i had 4 tabs open in opera and had 35mb free , i started to panic too , but then i opened 14 tabs and i still had 20mb+ free , so its all good , its quite dynamic
A program call CleanRam will help you get more Ram spaces.
Go here for more info
http://www.htcaddicts.com/?id=110
Ram Problem
yeah i agree with you! on the htc touch hd, it had 288 mb of ram, and after a clean soft reset and touchflo 3d running, it had 199mb of ram left.
on our TG01 it has 256mb ram, an after i installed touchflo 3d 2.5, i have 58mb of ram after soft reset. there Is so little to use.
This makes no sense
There has to be something we are missing. how do we free up more of this memory? What is it being saved for that we cannot even seeit?
Guys wait for clean roms.
I am sure our chefts will cook us some awesome roms soon.
BTW I am anew proud owner of TG01 (no voice calling quality problem.)
Currently with rogers canada
even with the ability of flashing clean roms, there still seems to be big problemss with ram. perhaps toshiba sold their devices with false specs?
its fine aslong as u avoid the sense roms
and be sure to softreset every few days
souljaboy said:
its fine aslong as u avoid the sense roms
and be sure to softreset every few days
Click to expand...
Click to collapse
good point but sense has good eye-candy
what is the ram on a clean 6.5 rom with titanium?
olyloh6696 said:
good point but sense has good eye-candy
what is the ram on a clean 6.5 rom with titanium?
Click to expand...
Click to collapse
Memory:
Storage: In Use – 38 MB Free – 224 MB
Programe: In Use – 118 MB Free – 87 MB
Per my 6.5 'clean' ROM - link in signature below....

[Q] Fake RAM capacity on Bluebo (chinese) phone

Hi all,
Actually I looked around for a while but couldn't find any topic related to this story.
I have bought a Bluebo B9500 chinese phone and been using it for a while now. To be honest, it is not that bad except the fact that some ROM's show a fake hardware config. CPU, board name, resolution, storage capacity and sensors are all fake!! nothing really bad so far but the worst is coming... My real problem is with the RAM. even the RAM was fake! showing 2GB of usable ram when the real hardware is only 512MB.
As a consequence, when the used ram grows bigger than the real (available) physical ram, some apps start crashing, restarting and acting weird.
I downloaded few kernels for this phone and luckily one of them was telling the truth about the RAM but got some troubles with the digitizer.
So..
My idea was to decompress both boot.img files and put the healthy ramdisk and kernel.img parts together and drop the sick ones to get a working boot.img file. I proceeded with my idea and used some tools that i've found here in the forum but when i flashed the .IMG, the phone couldn't start again.
It doesn't even show the boot logo.
Any idea or any useful hint about how to get the correct RAM in my kernel?
Thanks a lot
hi, i have the same problem, how can i fix it ?
thanks.
Hi, have you been able to fix this problem. I'm arguing about RAM and camera resolution with the seller of my B9500. I've also got problems with the touchscreen / digitizer.

[Q] Anyone tried swap on this device?

So has anyone tried swap on this device?
I was thinking that we might be able to increase ram operation if there was a swap partition.
I'm not exactly sure if it will work....
If anyone see's this thread and has a class 10 micro sd card and they want to try it please let me know how it affects the benchmarking results.
(I'd do it, but I have a crappy class 4)
Darin_Ram said:
So has anyone tried swap on this device?
I was thinking that we might be able to increase ram operation if there was a swap partition.
I'm not exactly sure if it will work....
If anyone see's this thread and has a class 10 micro sd card and they want to try it please let me know how it affects the benchmarking results.
(I'd do it, but I have a crappy class 4)
Click to expand...
Click to collapse
I tried using swap for awhile on my old HD2 which only had .5gb, but not here. The question I have to ask is why? In most of the current ROMs developers have already added scripts that kill dormant processes to free up real memory. Even when I've got a dozen apps open I've got plenty of RAM available. What kind of out of memory issues are you experiencing where you think swap would help?
Odysseus1962 said:
I tried using swap for awhile on my old HD2 which only had .5gb, but not here. The question I have to ask is why? In most of the current ROMs developers have already added scripts that kill dormant processes to free up real memory. Even when I've got a dozen apps open I've got plenty of RAM available. What kind of out of memory issues are you experiencing where you think swap would help?
Click to expand...
Click to collapse
Well it's not exactly a out of memory problem. I just wanted to see if the performance would be affected if a linux swap partition for ram would increase or decrease the ram operation.
I know we don't have the most high end device out there, but the specs are supposed to be better than an S2, yet it surpasses ours. It has a slower processor and less 3d graphics than the amaze and still it beats it.
Ram operation on the S2 according to Antutu: 705
Ram operation on the Amaze according to Antutu: 356
That's about half!!!!!
And I'm pretty sure if we found a way to increase the ram operation it'd help with all the other results.
I don't know why this is the case, but probably has more to do with the software running on the devices than the components. Sense is a lot of things most of which are good, but one thing for sure is it's s resource hog.
Odysseus1962 said:
I don't know why this is the case, but probably has more to do with the software running on the devices than the components. Sense is a lot of things most of which are good, but one thing for sure is it's s resource hog.
Click to expand...
Click to collapse
I believe my rom is senseless, cause I'm on the Xperia Z Ultra by shubham211995

Categories

Resources