How to upgrade HTC Universal to 64Mb at 128 Mb - JASJAR, XDA Exec, MDA Pro ROM Development

It is very well to make ROMS which supports 128Mb but like updating (at the material level) our HTC Universal?

Have a look at http://wiki.xda-developers.com/index.php?pagename=Universal_128MBRAM and see this thread http://forum.xda-developers.com/showthread.php?t=281560&page=25.
Basically, you need to get 2 ram chips of 64MB each, and replace the original chips of 32MB each on your universal mainboard. If you couldn't (de)solder the chips yourself, then it's best to find someone who's capable of doing it. At the moment, it's only reported it works with the g3. I haven't heard anything confirmed yet on the g4, though it was said that it should work fine. (http://forum.xda-developers.com/showthread.php?t=348567&page=2)
Best.

mctoey said:
Have a look at http://wiki.xda-developers.com/index.php?pagename=Universal_128MBRAM and see this thread http://forum.xda-developers.com/showthread.php?t=281560&page=25.
Basically, you need to get 2 ram chips of 64MB each, and replace the original chips of 32MB each on your universal mainboard. If you couldn't (de)solder the chips yourself, then it's best to find someone who's capable of doing it. At the moment, it's only reported it works with the g3. I haven't heard anything confirmed yet on the g4, though it was said that it should work fine. (http://forum.xda-developers.com/showthread.php?t=348567&page=2)
Best.
Click to expand...
Click to collapse
Thanks for this information

upgrade from 64 to 128
i've read the procedure on how to upgrade uni ram from 64mb to 128mb...problem is where to get d 64 2X ram??? can anyone tell me where to get the chips and how much?? Your help is highly appreciated.

Where To Buy Ram Chips
Here is the link on where to get the ram chips http://octomobile.isl.hk/index.php?...ducts_id=300&zenid=fevcerl32hgjpk8hdv7tb0uqv7 Just make sure you have a G3 device. If you don't will not work with G4 Univerisals.

pictures / specs?
Due to high international shipping costs and customs fees here I would like to shop for the RAM modules locally.
Can anyone provide detailed specs for the required RAM chips? (Manufacturer, Product Number or at least Type, Timings, Form Factor, Voltage Ratings etc.?
A high resolution image might do the trick, too
Thanks guys, you're the best!

Have a look here...
These are the chips you need :
http://forum.xda-developers.com/showpost.php?p=1645867&postcount=120
Then have a look in the wiki :
http://wiki.xda-developers.com/index.php?pagename=Universal_128MBRAM
Though that said I'd have a look at the upgrade forum and read through the ram upgrading thread...

Park said:
Here is the link on where to get the ram chips http://octomobile.isl.hk/index.php?...ducts_id=300&zenid=fevcerl32hgjpk8hdv7tb0uqv7 Just make sure you have a G3 device. If you don't will not work with G4 Univerisals.
Click to expand...
Click to collapse
why not g4?
there are already g4 users with successful upgrade.

Related

Magician 128mb upgrade hardware Question!!!

Some days ago i tried to replace memory chips in HTC Magician to increase memory to 128mb, but i had a problem.
After replacement the system has not seen full volume.... only 64mb
May be somebody know how to make it?
Regular BGA RAM p/n hyb25l256160ac-7.5 x 2 (2*32mb)
Upgrade BGA RAM p/n hyb25l512160ac-7.5 x 2 (2x64mb)
i don't think you can stack the memory on the magician. is that what you have done? according to the ppctechs website you can't do it.
http://www.pocketpctechs.com/detail.asp?Product_ID=JAM-064-128RAM
I used chips of the same manufacturer... the same series... only greater volume.
It is not necessary to modify any in ROM... as at loading OS it defines how many memory is installed. Here problem in other... In old IPAQs it is necessary to move some resistor .... A question only what
According to ppctechs, they replace the 64mb chip with a 128mb chip, not 2x 64mb chips. you may need to use a 128mb chip.
no comments.
P.S. look at hardware pictures.
how can i download the magician
Download what?
You have to rub the magic lamp 3 times while closing your eyes and facing north.
tupisdin said:
Some days ago i tried to replace memory chips in HTC Magician to increase memory to 128mb, but i had a problem.
After replacement the system has not seen full volume.... only 64mb
May be somebody know how to make it?
Regular BGA RAM p/n hyb25l256160ac-7.5 x 2 (2*32mb)
Upgrade BGA RAM p/n hyb25l512160ac-7.5 x 2 (2x64mb)
Click to expand...
Click to collapse
Where can you buy those RAM-modules?
BTW, maybe the instructions can give you any hints in where you have gone wrong and if you need any resistors etc:
http://www.infineon.com/cmc_upload/documents/011/8819/HYB25L128160AC_2003-02.pdf
i think that you need some kind of softwere to make it work
i copyed this from ppc techs:
Q: Are your upgrades compatible with Pocket PC 2003?
A: Our upgrades have been fully tested with the release version of Pocket PC 2003 and are completely compatible. On most systems, PPC2003 does not support the 128MB natively, so our proprietary driver is still required. You will need a new copy of the driver for 2003. To obtain a new copy from us, please do the following:
Install your current version of the T2T Driver and soft-reset the system. Next, go into T2T Utility, turn on debug mode, exit the utility and soft-reset the system. Then email the T2TDisk.txt file located in the \Temp directory to [email protected] with a note requesting a 2003 driver.
I have an upgraded JAM by PPC Techs, and I can tell you that the T2T driver is NOT needed for this upgrade. (It was needed for my iPaq 4350 that I had upgraded last year)
PS And No, I am not going to open up my JAM to take pictures
tupisdin,
I admire your guts for taking on this job. I really hope you get it running
Partminer.
crisscross said:
tupisdin said:
Some days ago i tried to replace memory chips in HTC Magician to increase memory to 128mb, but i had a problem.
After replacement the system has not seen full volume.... only 64mb
May be somebody know how to make it?
Regular BGA RAM p/n hyb25l256160ac-7.5 x 2 (2*32mb)
Upgrade BGA RAM p/n hyb25l512160ac-7.5 x 2 (2x64mb)
Click to expand...
Click to collapse
Where can you buy those RAM-modules?
Click to expand...
Click to collapse
Thank you very much! A description on how you did it, the equipment you used for soldering etc. would be highly interesting also. If you manage to get the extra ram working this is very good news!
tupisdin said:
Partminer.
crisscross said:
tupisdin said:
Some days ago i tried to replace memory chips in HTC Magician to increase memory to 128mb, but i had a problem.
After replacement the system has not seen full volume.... only 64mb
May be somebody know how to make it?
Regular BGA RAM p/n hyb25l256160ac-7.5 x 2 (2*32mb)
Upgrade BGA RAM p/n hyb25l512160ac-7.5 x 2 (2x64mb)
Click to expand...
Click to collapse
Where can you buy those RAM-modules?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Sorry no success.
May be someone know how we can solve tis problem.
hay , i also wanna do this upgrade :- ) , but its wierd , acording to pics original was 2x32Mb .... so should work like you did 2x64....
can you also tell us how u desoldered the originals out and put new in
hi, i am new here. I owned a O2 Mini.
Like alot of u guys here, I am also using wifi and the internal memory is definitely not enough. Is it easy to open up the magician and install the ram ourselves or do we need to send it to ppctech?
I am from singapore and there is no ppctech here....
anyone can share (if best with pictures) how to open the magician and replace the ram.
thanks and cheers!
so wots happening wid the DIY memory upgrade .... anyone got it to work yet?
I've a little question, some time ago I've crashed my 2020, I can use the ram of this device on my s100?

Q: Memory upgrade JAM/S100 from 64Mb to 128Mb.

On some sites I read news about memory upgrade for S100/Jam from 64 to 128 Mb RAM.
May be anyone know, what chip I need to buy for this memory upgrade?
With Upgrade is meaning that you must buy an Qtek S110
(it has 128MB RAM),
u cant buy a chip or any other hardware...
not entirely true, you can get a 128MB ram chip for your magician. There are more posts about it. Use search to find them.
[edit]http://forum.xda-developers.com/viewtopic.php?t=19763&highlight=128+magician
In China,there are lots of guys updated although I don't think it's necessary plus i didn't find any store in UK is able to update the chip...
One more
http://forum.xda-developers.com/viewtopic.php?t=20928
http://forum.xda-developers.com/vie...days=0&postorder=asc&highlight=128mb&start=25

128MB RAM on G4 Universal

As the title suggests, I am wondering whether anyone has the G4 device ram upgraded, and successfully run on any of the rom that claimed to support 128MB ram on the G4 yet???
Can your G4 recognise and use the whole 128MB of the new ram? Any issue experienced, if any?
So far, I have not heard from anyone with the G4 experience yet. If there are someone who have done that, please please kindly share your information.
Thank very much in advance!
***G4 devices are those with bootloader version 2.xx.***
Helloooo.....
Is there really no one???
You'll have to wait more than a day to get response from 128MB G4 users. I gather there are not that many here!
See if this works for you http://forum.xda-developers.com/showthread.php?t=348567
Thanks a lot Zeeshansohail. I will be more patient and keep checking.
Best.
128MB Ram working on G4!
As the title suggests, I've had my G4 upgraded and now it's working well with this extra muscle, my phone now has 84MB after soft reset. I am currently using L&B 2.09.01+. Big thanks for all the developers here who have made all these possible, especially to Mamaich for his discovery, those who have worked to make it work on G4 (Beasts and many others), rom cookers who have integrated this feature into their great roms (Leo, Beasts, and many others).
Is there someone doing the RAM upgrades out there or is this more a case of Do It Yourself?
I think you just need upgrade your ROM to one of those with 124MB RAM, then it will take part of your unused ROM to be converted to RAM.
Haven't tried myself, will do it once I have some time to upgrade and re-install all my applications
stjoemail said:
I think you just need upgrade your ROM to one of those with 124MB RAM, then it will take part of your unused ROM to be converted to RAM.
Haven't tried myself, will do it once I have some time to upgrade and re-install all my applications
Click to expand...
Click to collapse
No. You will have to solder new ram chips. Please read wiki and other threads here on this site.
sorry my bad .. had wrong idea about this 128M RAM ..
mctoey is right, we need to solder the RAM chips ..

256MB RAM for Uni - Is it Possible?

Hi!
I have upgraded my Uni with 128MB RAM. I understand that there is extra provision for additional RAM on UNI. Can anybody confirm that the two 64MB RAM chips from Blue Angel can be used on the free space available on Uni and can it be upgraded to 256MB RAM.
Feed back and guidance needed in this respect.
Regards,
Haque
People seem to be saying it's not possible. That 128MB is the maximum. However I remember being around in the forum when people were saying you couldn't upgrade to 128MB and others found a way to do this.
I think this would need a reply from someone who knows the hardware better. (Me, I'm still wondering what the two blank spaces could be used for... and for when someone builds a small GPS chip that can be plugged somewhere inside my Uni!!... dream on!).
-Jonny- said:
...I'm still wondering what the two blank spaces could be used for... and for when someone builds a small GPS chip that can be plugged somewhere inside my Uni!!... dream on!).
Click to expand...
Click to collapse
Those blank spaces are for GPS chip, which HTC didn't include. You can install the chips but it will not work because a radio rom with GPS FW has never been released for Uni.
regards
tomal said:
Those blank spaces are for GPS chip, which HTC didn't include. You can install the chips but it will not work because a radio rom with GPS FW has never been released for Uni.
regards
Click to expand...
Click to collapse
Damn, I saw that Tomal replied and hoped that I will come to this thread and he'll say something along the lines of 'Yes, we successfully installed 2 128Mb RAM chips and I am testing them now with a new ROM, will let you all know how it went and offer an upgrade to people who want to get one'
Even my Elf can pinpoint my location on Google Maps, my Uni can't. Outrageous
Some time ago I have a chat conversation with one russian guy (Mo3ulla) and he has 256 RAM on the Uni (bga chips from notebook) and running Windows CE (custom port, never comes to public), so it seems it's possible, but not for public
A light!!
Well,
If that is actually true there is hope that can be done!!
Hope someone can publish this soon!
I´ll ask mo3ulla
Thanks for the tip,
Interesting reading this thread - especially this post
I don't know if the guys are still around - it was only 18 months ago.
Well i would think someone will get the way around to get it done .....
Win_XP said:
Some time ago I have a chat conversation with one russian guy (Mo3ulla) and he has 256 RAM on the Uni (bga chips from notebook) and running Windows CE (custom port, never comes to public), so it seems it's possible, but not for public
Click to expand...
Click to collapse
May be you are right.
But if something is not published publicly then it may not be fully true....just my thought.
Mamaich did the original work on patching the Kernel to allow access to the 128mb ram, if bigger chips are available for the two slots then there is no reason why the memory can't be further upgraded, it would however require another kernel update to allow access to the extra memory.
The same goes for the GPS slot, if someone was willing to install the GPS chip and patch the radio stack, there's no reason why the Uni couldn't have a GPS chip.
The only problem you have is that the Uni has been around for far too long now and all the Guru's have moved on to other devices.
Try convincing someone to spend months patching an old device to have the features already available in newer devices............ you would be better inserting a new mainboard into the Uni chasis........
Cheers,
Beasty
Thanks for your clarification Beasty!
Well, I would love to convince a master to do this hard task, just want to know who can be a candidate.
And on the other hand we should rise a nice donation so we can encourage him!
I offer myself to rise the money to convince him/her
So any recomendation is welcome!
Later I´ll set up a new thread for the donation in case this makes any positive progress.
Cheers,
I'd certainly donate towards anyone getting GPS inside my Uni if it helped. However, I think as Beasty says, I don't think it's going to be money, but someones time.
Time is not a problem as long as somebody really want to go deep in it
I can wait the longest as it takes and I´ll be just a happy pacient Uni user!
$ can incentivate
Let´s how all this move forwards...
You will be hard pushed to find a candidate willing to take on this task for you.
There are not many developers here who are capable of both the hardware and software modifications required.
Don't get me wrong, there are some very good devs in these forums, but this sort of mod requires a lot of low level hardware and software knowledge.
Your best chance if you really are serious about trying to find someone to do this is head over to Darkforces and make a post there.
Really you would need Mamaich, Ivan or Helmi (to mention a few.....if you can track them down) as they are all more than capable of what you want.
To be honest though, you probably have more chance of getting HTC to do it for you..............
It would still be easier to port a new mainboard into the Uni housing (more than enough room in there for most of the current devices on the market to fit............... perhaps you should also consider this as it is a more practical move than trying to upgrade a dying device.
I love my Uni as much as the rest of you guys here, but there comes a point when you just have to move on.
Over the years we have patched the hell out of the kernel and drivers for the Uni and to be honest the code is quite a mess now, far from optimised.
Good luck and keep this thread updated with any news you have on progressing this issue as I would be very interested if you found someone willing to take on this challenge.
I know first hand how messy all the drivers and patched oem files and XIP are in the Uni and it will be a monumentous task.
Cheers,
Beasty
Beasty is right, as we all know, but if we take in account what was written in Orb's thread about Uni vs new devices there are a lot of us that are not satisfied with the performance/cost of the latest, me included.
How can it be possible to release a device and i can't even play avi with it?
Runing the same apps on both devices, I can't notice a real improvement in terms of speed. memory we know that's short...
My HD is nice, but as I told, I would prefer the Uni with 256, even being a lot bigger.
Unfortunately we (Uni) suffer from oldness, and we will have to move on...
ultravox said:
Beasty is right, as we all know, but if we take in account what was written in Orb's thread about Uni vs new devices there are a lot of us that are not satisfied with the performance/cost of the latest, me included.
How can it be possible to release a device and i can't even play avi with it?
Runing the same apps on both devices, I can't notice a real improvement in terms of speed. memory we know that's short...
My HD is nice, but as I told, I would prefer the Uni with 256, even being a lot bigger.
Unfortunately we (Uni) suffer from oldness, and we will have to move on...
Click to expand...
Click to collapse
I agree the current Qualcomm chipsets are not up to par, mainly down to driver issues rather than the hardware. Don't forget our Uni's run off an Intel XScale and not a Qualcomm.
1st quarter of next year should see some decent releases of the new hardware Tegra and Snapdragon with 12mp cams, 1 ghz cpus and video recording at 720p, perhaps then the Uni will finally have a decent replacement.
I must say though that my Rhodium is no slug, the keyboard is nice and big more than enough ram (GPS is functional, though not great it does the job satisfactorily) I can't really say I miss the Uni that much after switching over to the Rhodium................ each to their own.
Hold out till next year and be tempted with the new hardware.
Cheers,
Beasty
Does the Qualcomm have a serial or USB port (USB host)? I have no idea but I know that much older chips did have (Intel StrongArm in HP Jornada for example - but was not used and also PXA250 have it). If yes and if it can be found somewhere on the PCB of the UNI, then this can be used for GPS connection, or something else. Just an idea....
kerda said:
Does the Qualcomm have a serial or USB port (USB host)? I have no idea but I know that much older chips did have (Intel StrongArm in HP Jornada for example - but was not used and also PXA250 have it). If yes and if it can be found somewhere on the PCB of the UNI, then this can be used for GPS connection, or something else. Just an idea....
Click to expand...
Click to collapse
Both the Qualcomm and XScale can support USB host, they just require the correct drivers, the functions are available just need to be accessed via a driver. The problem the Uni has is that it has no built in GPS Chip, there is a placeholder on the mobo for a GPS chip, it was just never added. There were rumours that some of the very early Uni's (G3) had a chip but not activated.......... Personally I have never seen proof of this.
You can still use external GPS on Uni (as many do) via BT or USB/Serial connection. You do not need USB Host service for this function.
Cheers,
Beasty
Why try to upgrade Uni while has HTC X7500, X7501 and X7510
Let buy them...! (":')...!
See :
http://www.htc.com/www/product.aspx?id=474
hunter79 said:
Why try to upgrade Uni while has HTC X7500, X7501 and X7510
Let buy them...! (":')...!
See :
http://www.htc.com/www/product.aspx?id=474
Click to expand...
Click to collapse
Because we like our Unis....?

Upgrade RAM MOD *Under Construction*

Photon Q - Upgrade ram to 2GB
I have yesterday upgraded on one xt897 mainboard original Elpida 1GB LPDDR2 to new Samsung 2GB LPDDR2 K3PE0E000A-XGC2.
I have first carefully desoldered old ram from msm8960 SOC, then i make all balls on cpu flat, then cleaning and then soldering new RAM.
Phone boots normally without problem. BUT problem is, that is still visible only 1GB.
I am sure, that MSM8960 can support 2GB RAM (for example Blackberry Q5).
If anyone have idea , how to use full 2GB RAM, then please let me know
...tomorrow i will post some pictures
this would be really great.
maybe its all about the BSP?
https://en.wikipedia.org/wiki/Board_support_package
http://www.ti.com/devnet/docs/catalog/embeddedsoftwarefulldetails.tsp?productId=22800
Wow! I'd buy this if you can get it to work...
Does it need a kernel mod or something?
boofus said:
Wow! I'd buy this if you can get it to work...
Does it need a kernel mod or something?
Click to expand...
Click to collapse
I'm guessing you didn't read the entire post (which you also quoted...)
CornholioGSM said:
Phone boots normally without problem. BUT problem is, that is still visible only 1GB.
Click to expand...
Click to collapse
arrrghhh said:
I'm guessing you didn't read the entire post (which you also quoted...)
Click to expand...
Click to collapse
I read the whole post.
It might be that a kernel mod or boot option is needed to detect all the RAM. Some old linux systems had to have the kernel re-built for different amounts of RAM. That isn't likely here I'd guess, but it's possible that it is hard coded or need a menuconfig change or a boot option. I don't know anything about the kernel on the photon Q, so thought I'd ask.
CornholioGSM said:
Photon Q - Upgrade ram to 2GB
I have yesterday upgraded on one xt897 mainboard original Elpida 1GB LPDDR2 to new Samsung 2GB LPDDR2 K3PE0E000A-XGC2.
I have first carefully desoldered old ram from msm8960 SOC, then i make all balls on cpu flat, then cleaning and then soldering new RAM.
Phone boots normally without problem. BUT problem is, that is still visible only 1GB.
I am sure, that MSM8960 can support 2GB RAM (for example Blackberry Q5).
If anyone have idea , how to use full 2GB RAM, then please let me know
...tomorrow i will post some pictures
Click to expand...
Click to collapse
Do you have any news regarding 2GB mod? Have you tried contacting kabaldan?
---UFO--- said:
Do you have any news regarding 2GB mod? Have you tried contacting kabaldan?
Click to expand...
Click to collapse
Hello, still waiting for updates
Nadlabak heve one 2gb unit from me
Cornholio, if this works out, you're my hero - again. If I'm ever in CZ again I'll try to find you and buy you a keg. [I'd say a beer, but that doesn't express enough appreciation - even tho the Budweiser there is better than the US "beer" with the same name.] You already figured out the sim slot (and modded a couple phones for me), which allowed me to use PQ when I worked for a company (in US) that gave me free AT&T phone & sim (for which I move the sim to PQ). But, after many years arguing PQ is the best and can do it all, I'm finally getting to the point I was thinking about getting a new phone (moto z with keyboard mod)., not cuz I want a bigger screen or even cuz I want LTE (which I now have with freedompop anyway), but because of the limited memory (and desire to run new apps and switch between them faster). So more TP you to my friend.
Hi all,
If adding RAM is possible, my XT897 could work perfectly. I'm daily using it as the best phone ever for IT supporting with qwerty keyboard.
As someone mentioned above,
(1) In case of Kernel built with 1GB RAM option. It would not easy to get the kernel source to rebulit it.
(2) Boot option problem. In my understanding, linux kernel would auto recognize RAM size at boot. It might not the cause of issue.
(3) My guess some circuit modification is needed. such as address bus for the RAM chip A0...A19 for 1GB RAM and A0....A20 for 2GB RAM. Is there anything like jumper to ensure connecting the new A20 pin correctly?
Sorry for my English and hope this help
Ric
-------------------
Motorola Photon Q XT897 with Sim Mod , LineageOS 14.1
Thank You
i mean , that it is problem inside bootloader - bl is preprogrammed for 1gb ram.
i am able to solder to SOC processor new 2gb ram and it works without problem.
BUT .... visible is only 1GB.
I am only stupid HW technician, but this is "sw" problem and i dont know how to solve this problem
@CornholioGSM
Likely all you need is to pass a simple command to the kernel on the very early boot phase.
Probably something like mem=2G would be enough.
So pretty simple in theory and also pretty simple in linux on a PC (all you have to do is to add that command to grub.cfg assuming you use grub as bootloader).
In android is a bit more complicate because (I guess) you have to unpack and repack the boot.img and possibly the zimage (the kernel) which is inside the boot image.
And that procedure is slightly different across various devices, so experimentation and some work will be needed.
I could look in to that, but obviously a modded logic board in my hands would help a lot the process.
Did you try seeing if the bootloader can see it from fastboot with the "mfastboot getvar all" command?
Follow this guide: http://www.hardreset.info/devices/motorola/motorola-xt897-photon-q-4g-lte/faq/read-info-fastboot/
Also: I don't know about the bootloader in the XT897, but most ARM bootloaders use devicetree to tell the kernel about things like RAM configuration. I suspect that this will take priority over boot parameters, but I don't know for sure. What might be needed is a kernel that forces a specific RAM configuration.
Hi,
Great to see everyone contributing...I will take this opportunity to clear things up and focus on what actually needs to be done to get this working.
1. Those who mentioned getting hold of a BSP and SoC manuals are on the right track, but it is very difficult to get these from Qualcomm. It could only be through some back-channel via a dev at a big company that used the MSM8960. Getting access to this would be *huge*. Alternatively, a knowledgable person who has worked on an MSM8960 or similar Qualcomm SoC design.
2. boofus is correct in that the bootloader ordinarily passes memory map (and other) info to the kernel via devicetree. Either the bootloader needs modifying to pass a new memory map, or this has to be overridden in the platform code in the kernel (not difficult).
3. Changing commandline arges to the kernel is trivial (don't even need to rebuild anything, just extract the boot.img partition, edit and reflash--I have done this many times to tweak kernel args), but saying mem=2GB on the kernel commandline is unlikely to have any effect, because the kernel doesn't have a memory map describing at which physical address additional RAM is present.
4. Moreover, the DDR2 memory controller in the SoC has to be programmed to enable the 2nd chip select for the upper half of RAM. If this is not done, then the RAM is not even in the physical memory map. So any attempt to get this working must start here.
Currently, both nadlabak and I have 2 GB modded boards for testing. I'm stretched for time at the moment to look into this--much as I would *love* to have 2 GB--as someone else noted, 2 GB on the Photon Q would bring it back up to a usable level.
We would be *very* lucky if the Moto-supplied bootloader senses attached memory and configures the DDR2 controller accordingly, and even more lucky if this mapping was added to the device tree. It also has to be taken into account the baseband memory. This will fall somewhere in the physical memory map, and the memory made available to the kernel has to be outside the areas used by the baseband.
IF the xt897 bootloader is highly generic and used on other Moto phones with differing amounts of RAM, it *may* automatically detect and set everything up. If it does we would be *very* lucky. It's easy to see if this is being passed to the kernel via the devicetree, and presumably, in this case, the bootloader would also print the found memory size when booting into one or more of the bootloader stages using the key combos. Once I get my modded board into a phone I can at least check these trivial points. I have a handy comandline tool for probing physical memory, so I can easily get the existing memory map, and from that infer location of added memory. Then it is easy to attempt reading and writing where the extra memory would be if the DDR2 controller were appropriately configured, and see if memory is actually present.
More likely, the bootloader is hard-coded with the 1 GB memory map and programs the DDR2 controller accordingly. If so, to get additional RAM working requires:
1. Reprogram the DDR2 controller to enable 2nd CS. If we had the MSM8960 SoC manual and ability to extract and disassemble the relevant loader and replace it with a modified one, this would be almost trivial. However, I understand there may be encryption or signature verification preventing us from modifying early stage loaders. (This is also a fast way to permanently brick a phone, so we'd have to test changes on throwaway boards first.) If loader is protected, then we'd have to reprogram the controller on-the-fly. This probably can be done, possibly even within the kernel, if we don't have the ability to change the early loader(s), but may be a little complex, since reconfiguring the DDR2 controller may make memory temporarily inaccessible. Hence techniques such as locking the controller re-programming code into cache and waiting for the controller to come up again may be needed. However, this may crash the baseband. If the controller supports reprogramming without interruption, this would make things vastly simpler. All we need is the MSM8960 manual and specifically, the sections describing the memory map and DDR2 controller.
2. Once memory controller is reprogrammed, it's trivial to hack the new memory map into the kernel, whether or not we can change the devicetree passed from the loader.
TL;DR: yes we all want to get 2 GB working; it's almost certainly not trivial; it probably can be done, but likely requires extensive effort and knowledge from someone who has designed a product using the MSM8960, or access to manuals, or extensive reverse-engineering effort.
If anyone would like to step up please say so. I'll work on it myself as I have time and hope nadlabak will too. I personally can't wait to get a working 2 GB xt897.
---------- Post added at 04:19 AM ---------- Previous post was at 04:11 AM ----------
In sum, if anyone has access to any of the following, *please* let us know:
- MSM8960 SoC manuals;
- Knows someone who has developed MSM8960-based products or otherwise has knowledge of the MSM8960 architecture and especially the memory controller;
- Knows something about the xt897 or typical Moto bootloader structure, whether Moto often shares bootloaders across devices, and most importantly what loader stages there are, and whether each of these is encrypted/signature-verified, precluding making changes, or whether we can change it.
CornholioGSM said:
Photon Q - Upgrade ram to 2GB
I have yesterday upgraded on one xt897 mainboard original Elpida 1GB LPDDR2 to new Samsung 2GB LPDDR2 K3PE0E000A-XGC2.
I have first carefully desoldered old ram from msm8960 SOC, then i make all balls on cpu flat, then cleaning and then soldering new RAM.
Phone boots normally without problem. BUT problem is, that is still visible only 1GB.
I am sure, that MSM8960 can support 2GB RAM (for example Blackberry Q5).
If anyone have idea , how to use full 2GB RAM, then please let me know
...tomorrow i will post some pictures
Click to expand...
Click to collapse
You will need to make custom software to support this mod. I recently purchased this phone and the amount of hardware mods i has blows me away. I am excited and scared to do all these things, I spent 150$ USD on this sim modded Photon Q to replace my Droid 4 and the idea of losing it all freaks me out BAD.
Back to the software, the problem is that all the device/kernel configurations are built around 1GB ram, so they will only utilize 1GB of the 2GB of ram, assuming the system even detects it at all! Its neat that you have done this, now that you have modded the hardware, its time for you to mod the software
Once again, the main problem is that I need the MSM8960 application processor developer manual. Someone who has worked on this SoC could make the manual available to me (anonymously due to NDA).
I hope someone can help me here!
CornholioGSM said:
Thank You
i mean , that it is problem inside bootloader - bl is preprogrammed for 1gb ram.
i am able to solder to SOC processor new 2gb ram and it works without problem.
BUT .... visible is only 1GB.
I am only stupid HW technician, but this is "sw" problem and i dont know how to solve this problem
Click to expand...
Click to collapse
If we could grab a bootloader file and edit it (probably with hex edit grrr) we might be able to see if it just lists the hardware values, and in that case simply add 1024 to the ram value
Surprised no one has given this a peak. I'll give it a shot if I have any time but if I **** it up someone is getting their phone bricked.
CornholioGSM said:
Photon Q - Upgrade ram to 2GB
I have yesterday upgraded on one xt897 mainboard original Elpida 1GB LPDDR2 to new Samsung 2GB LPDDR2 K3PE0E000A-XGC2.
I have first carefully desoldered old ram from msm8960 SOC, then i make all balls on cpu flat, then cleaning and then soldering new RAM.
Phone boots normally without problem. BUT problem is, that is still visible only 1GB.
I am sure, that MSM8960 can support 2GB RAM (for example Blackberry Q5).
If anyone have idea , how to use full 2GB RAM, then please let me know
...tomorrow i will post some pictures
Click to expand...
Click to collapse
Have you solved this problem? I also encountered the same problem. The 2GB running memory chip I replaced was BA164B1PF. And the eSIM chip was removed, and the mini SIM card slot was installed. In addition, I replaced the CPU at the same time, and now the status code number has become 1.So it is became an engineering machine, and the BootLoader lock is completely invalid.
not solved...and i am now on fxtec phone. I have not changed whole cpu (why) i have changed only ram...whole problem is, that data on one emmc partition are paired with cpu...same problem happens if you change emmc from another mainboard.
CornholioGSM said:
not solved...and i am now on fxtec phone. I have not changed whole cpu (why) i have changed only ram...whole problem is, that data on one emmc partition are paired with cpu...same problem happens if you change emmc from another mainboard.
Click to expand...
Click to collapse
Very old mobile phones do not have the problem you mentioned. The reason I did this is that my technique is very poor and I cannot repaint the upper layer of the CPU with tin. I am just an DIY amateur. In addition, I tested other mobile phones using the same CPU and found that Motorola not only limits the RAM capacity, but also the speed, which is only about half of normal.
I replaced the emmc chip, and the test proved that 64GB of storage space can be successfully used, and faster, except for games. I have some additional questions that I need your help, and I have already emailed you.

Categories

Resources