Bigger Storage & Smaller Ext_ROM - JAM, MDA Compact, S100 Software Upgrading

Now that I figured out the BigStorage, I wanted to build a rom with Bigger Storage and a Smaller Ext_ROM.
I need about 12.5 Megs for my Ext_rom, so I decided to make it D00000h (=13 MB)
This leaves E00000h for the Storage-folder, thus I changed 80 00 into E0 00 at locations 7E32h & 211E32Eh
Next I had to make my own 13MB Ext-rom.
For this I copied the location 2BC019Ch till 3EC019Ch (the location of the 19 MB ext-rom) from the dump of my original rom into a file.
Next I cut off 6MB from that file, so the size of the resulting file was exactly D00000h.
After that I changed the "Sectors on Drive" in the bootsector of that file.
Sectors on Drive = total size of drive / Bytes per sector, i.e. D00000h/200h = 6800h, so I had to change it from 9800h to 6800h
"Sectors on Drive" is located at 14h in that file. At that location change 00 98 into 00 68. (the values are least significant byte first)
To wipe it clean, I filled the location 210h till D00000h with zero's
Finally I mounted the file as a virtual harddisk, using totalcommander, and copied the Ext-rom files to it.
After unmounting, the file is ready to be copied into the rom.
The Storage-folder starts at 23C019Ch. 23C019Ch + E00000h = 31C019Ch so I copied the file into the rom, so that it occupied location 31C019C till 3EC019C
After flashing this custom-rom back into my phone, the Storage folder had increased to 14 MB (like expected), but the Ext_Rom was nowhere to be found.
After changing the following registry-keys and running LoadVdisk.exe, my 13 MB Ext_Rom appeared (and I could execute autorun.exe)
HKLM\Drivers\Vdisk\size had to be changed from 1300000h to D00000h (thus E00000h smaller)
HKLM\Drivers\Vdisk\windowbase had to be changed from A2C00000h to A3200000h (thus E00000h bigger)
So the "only" thing I still need to figure out to make this thing work, is at what location in the ROM those 2 registry-keys are stored.
Suggestions anyone?

Hello DrChair
Nice that you have found the way to make it Is it possible to do the same with external rom on sd card? I mean to change rom registry to execute autorun and all stuff from sd card after hard reset, I really like 27MB storage and don't want to make it smaller What do you think about it?

Hi Doc,
really interesting stuff!!!
That's something similar to what i'm doing now on XDA2...
I'd like to join ExtROM+Storage into single partition.
Could you please tell me, how do you mount with TotalCommander?
I mean do you use any plugins?
What exactly do you mount?
buzz

shamus said:
Nice that you have found the way to make it Is it possible to do the same with external rom on sd card? I mean to
change rom registry to execute autorun and all stuff from sd card after hard reset, I really like 27MB storage and
don't want to make it smaller What do you think about it?
Click to expand...
Click to collapse
The changes in the registry are not done to execute autorun, but are done to be able to access the smaller ext-rom.
What u could do to have bigstorage + (semi)-autorun, is the following:
Place the extended_rom folder on your SD-card.
Edit config.txt and replace all occurances of "\Extended_ROM" with "\Storage Card\Extended_ROM"
Make sure that the contents of that folder are read-only (otherwise the cabs are deleted after installing).
Now, if you ever need to hard-reset your device, all you need to do afterwards, is browse to that extended_rom folder, and tap on autorun.

buzz_lightyear
Mounting ExtROM in TotalCommander is simple you just need to cut out ExtROM from device ROM and after that using this plugin http://ghisler.fileburst.com/plugins/azeimg.zip you can open files with *.img extension
DrChair
I did exactly what you are telling few days ago but autorun didn't want to execute and I don't know why... is the name of folder "Extended_ROM" important?

buzz_lightyear said:
Hi Doc,
really interesting stuff!!!
That's something similar to what i'm doing now on XDA2...
I'd like to join ExtROM+Storage into single partition.
Could you please tell me, how do you mount with TotalCommander?
I mean do you use any plugins?
What exactly do you mount?
buzz
Click to expand...
Click to collapse
I might be wrong, cause I don't know anything about the XDA2, but if you just want to join ExtROM+storage into on big storage folder, you don't need to mount anything.
The way it's done in the magician is by patching the rom at 2 locations (check my posting about Bigstorage explained). I think those locations are in (or related to) PSMFSD.dll, which seems to be the driver for the storage folder.
Another tip: according to the wiki, the storage folder in a XDA2 is 14.5 MB, which is 00E80000h. So you could try a search for 00 00 e8 00 and try to change it into 00 00 20 00 (00200000h = 32 MB).
The mounting is only needed for the ExtROM, which has the format of a FAT16 partition. That partition can be copied into a file, and that file can be mounted using totalcommander's VirtualDisk-plugin.

shamus said:
buzz_lightyear
Mounting ExtROM in TotalCommander is simple you just need to cut out ExtROM from device ROM and after that using this plugin http://ghisler.fileburst.com/plugins/azeimg.zip you can open files with *.img extension
Click to expand...
Click to collapse
Oh, thanx... )
how do you obtain the ROM dump?
Standard SD way?
THANX
buzz

shamus said:
I did exactly what you are telling few days ago but autorun didn't want to execute and I don't know why... is the name of folder "Extended_ROM" importand?
Click to expand...
Click to collapse
just tried it myself and indeed it doesn't work...
I'll look in to it tonight..

buzz, yes standard old fashion sd card method

shamus said:
I did exactly what you are telling few days ago but autorun didn't want to execute and I don't know why... is the name of folder "Extended_ROM" important?
Click to expand...
Click to collapse
Just had a look at autorun.exe. Unfortunatly it has \Extended_ROM\Config.txt hardcoded. I tried changing it, but then it doen't work anymore.
So the only way this autorun can be used, is when you have Extended_ROM folder.

Hi!
Is it possible to run the autorun.exe, if the storage card´s name is Ext_Rom?
this is possible with Pocket Mechanic.
What do you think?
Pam

i read this post and very interest too i knows he need to put cab install into EXT rom but few Cab only
can u make your Rom and sent to me i need to Try useing your Rom

NTRW Error "Could not lock xxxx.nb1 -- access denied&qu
Hi,
Wanted to save original Qtek s100 ROM 1.11 before upgrading to 1.12
followed steps: Romupdate OK, D2S OK but
when after inserting my SD into the integrated card reader and running
NTRW, I get the error "could not lock...."
I tried a different a different (non NTFS drive),
I tried a smaller (256Mo instead of 1Go) SD.
I am logged in as admin, disabled antivirus
Any Ideas ?
Thanks

Pamela said:
Hi!
Is it possible to run the autorun.exe, if the storage card´s name is Ext_Rom?
this is possible with Pocket Mechanic.
What do you think?
Pam
Click to expand...
Click to collapse
doesn't matter what's the name of storage card.
Once you have a folder named 2577 in the root of it, you can place autorun.exe into that folder. It will be executed on insert....
buzz

Can you tell me how to mount the Ext_ROM from my O2 mini ?
Jackie
[email protected]
DrChair said:
buzz_lightyear said:
Hi Doc,
really interesting stuff!!!
That's something similar to what i'm doing now on XDA2...
I'd like to join ExtROM+Storage into single partition.
Could you please tell me, how do you mount with TotalCommander?
I mean do you use any plugins?
What exactly do you mount?
buzz
Click to expand...
Click to collapse
I might be wrong, cause I don't know anything about the XDA2, but if you just want to join ExtROM+storage into on big storage folder, you don't need to mount anything.
The way it's done in the magician is by patching the rom at 2 locations (check my posting about Bigstorage explained). I think those locations are in (or related to) PSMFSD.dll, which seems to be the driver for the storage folder.
Another tip: according to the wiki, the storage folder in a XDA2 is 14.5 MB, which is 00E80000h. So you could try a search for 00 00 e8 00 and try to change it into 00 00 20 00 (00200000h = 32 MB).
The mounting is only needed for the ExtROM, which has the format of a FAT16 partition. That partition can be copied into a file, and that file can be mounted using totalcommander's VirtualDisk-plugin.
Click to expand...
Click to collapse

shamus wrote:
I did exactly what you are telling few days ago but autorun didn't want to execute and I don't know why... is the name of folder "Extended_ROM" important?
Just had a look at autorun.exe. Unfortunatly it has \Extended_ROM\Config.txt hardcoded. I tried changing it, but then it doen't work anymore.
So the only way this autorun can be used, is when you have Extended_ROM folder.
Click to expand...
Click to collapse
A small Howto how I fixed this problem you can find here:
http://forum.xda-developers.com/viewtopic.php?p=138064#138064
Hope its needfull...
Enjoy the day

Greetings everybody,
I am new here and I have been following all your posts with great interests, especially on the Big Storage. I have an Xda 2 Mini and I have successfully apply Big Storage using the method suggested by Dr Chain. Thank you very much.
I have one question. Is it possible to merge the Main Memory with the Storage memory to create ONE BIGger STORAGE (57MB usable + 26 Big Storage = 83MB) ? If that's possible then can you point me in the right direction on how to achieve this ?
Thanks a million.

dewnay said:
I have one question. Is it possible to merge the Main Memory with the Storage memory to create ONE BIGger STORAGE (57MB usable + 26 Big Storage = 83MB) ? If that's possible then can you point me in the right direction on how to achieve this ?
Click to expand...
Click to collapse
No!! Storage is on ROM and Main Mémory is on RAM... And ROM & RAM chips are physically separated.

MKS said:
dewnay said:
I have one question. Is it possible to merge the Main Memory with the Storage memory to create ONE BIGger STORAGE (57MB usable + 26 Big Storage = 83MB) ? If that's possible then can you point me in the right direction on how to achieve this ?
Click to expand...
Click to collapse
No!! Storage is on ROM and Main Mémory is on RAM... And ROM & RAM chips are physically separated.
Click to expand...
Click to collapse
Thanks for the fast reply. As I am not technically knowledgable, sorry for asking such a dumb question. Anyway, you guys here are the greatest. Since following all your posts, I have been learning something new everyday. Keep up all the good work.

Related

WM 5 Rom, storage question

Hi people!
I pops this question here, use i know someone will know!
i want to change the storage allocation on my WM5 device. My device "storage" is full, but i still have storage left at "program".
Is there anyway that one can tweak etc that so i can have equal store=program??
My current allocation looks like this:
Storage: 14.5 MB, free 2.16 MB
Program: 61.0MB free 37.00MB
Wich makes it difficult to install programs on my device!!
Thanks in advance guys!!
Cheers!
^^rac said:
Hi people!
I pops this question here, use i know someone will know!
i want to change the storage allocation on my WM5 device. My device "storage" is full, but i still have storage left at "program".
Is there anyway that one can tweak etc that so i can have equal store=program??
My current allocation looks like this:
Storage: 14.5 MB, free 2.16 MB
Program: 61.0MB free 37.00MB
Wich makes it difficult to install programs on my device!!
Thanks in advance guys!!
Cheers!
Click to expand...
Click to collapse
try this forum:
http://buzzdev.net/index.php?option=com_phorum&Itemid=125&phorum_query=read,26,6657
you can browse on the subject called persistent storage or ramdisk.
May I just suggest that after you successfully managed your ramdisk which means that a ramdisk folder appears and your storage total becomes 30+ (by the way, I think ramdisk and storage are the same) please do not install an upgrade for higher ramdisk as it becomes a problem of mine and the other user.
But if you insist to upgrade more and encountered a problem, please read below:
I don't know what happened to your storage card but I think I know for the ramdisk.
Well, I suggest that you hard reset your xdaII and do not install ramdisk software to increase ramdisk size. Based on my experience, after I installed the ramdisk 64, the size increased to 90+ but everytime I soft reset, the data I saved in it gets lost.
After hard resetting, the ramdisk came back to normal 30+, I found the lost previous data intact though.

miniSD card showing strange letters..

Hi all..
I've been using a TwinMOS 2GB x66 cad for 2 months now, and rarely I had the problem of disappearing storage card, but a simple SR or inserting the card again solved the problem.
Since a couple of hours, the symptom has come back, but now nothing solves it I've done a dozen of SR and inserted the card several times, but still the same problem: some folders are empty, and others are written in strange letters. the card isn't actually disappearing at all, ilauncher still shows its correct size, but all folders are corrupted.
I have the feeling that all this happened after installing the free medical program EPOCRATES, since only this program's folder was viewable in the program files folder on the storage card, and all others simply disappeared. Of course uninstalling the software didn't help
Any idea guys???
Thanks in advance.
Did you try to install this cab. It's for the htc p3300 but it's work too for the htc p3600 ...
http://www.europe.htc.com/support/faq.html?id=545&device=htcp3600
Isn't it strange that this patch has been published by HTC only mentionning the pb on P3300 and not ont the P3600 ?
Are you sure applying it on a P3600 is safe ?
Yes, i am...I apply it to mine and it's work fine... I didn't have some problems with my mini-sd card but with my sim+ (128 Mo) and now it's more stable !!
And as you can see the link i put is for the htc p3600.
This cab works also with the htc :
- S310
http://www.europe.htc.com/support/faq.html?id=545&device=htcs310
- S710
http://www.europe.htc.com/support/faq.html?id=545&device=htcs710
This has been posted before in various threads, but just to repeat:
The cab mentioned is for the Artemis/P3300. It installs one file to \windows: omap850_sdhc.dll, which is the SD driver for a device with a TI OMAP 850 processor.
It will have no effect, positive or negative, to install it on a device with a Samsung processor, except wasting 42K of space.
So why the support of HTC in this differents links (3600, s310, s710) refers to it ?? And it's fact that my sim+ is more stable now !! Not to bother you ... just to understand !!
shym said:
So why the support of HTC in this differents links (3600, s310, s710) refers to it ??
Click to expand...
Click to collapse
Actually they don't really. This has also been explained before in other posts, but here goes again:
If you go to www.europe.htc.com and navigate to support for P3300, you can find faq 545, which relates to the 'P3300 SD card enhancement', and when you've found that one, the URL in the address will be: www.europe.htc.com/support/faq.html?id=545
If you now go and add e.g. '&device=htcp3600' to the end of the URL and press enter, then you will get the same faq, but it will look like it's from the P3600 support, which is not really true; it's just a 'less fortunate' behaviour by the web site.
Faq 545, 'P3300 SD card enhancement', really belongs to the P3300 support area, and nowhere else.
shym said:
And it's fact that my sim+ is more stable now !! Not to bother you ... just to understand !!
Click to expand...
Click to collapse
I'm sure it's correct when you say so, but if it's caused by putting omap850_sdhc.dll in your \windows directory, then it's nothing short of a miracle.
Okay...thanks !
lts said:
I'm sure it's correct when you say so, but if it's caused by putting omap850_sdhc.dll in your \windows directory, then it's nothing short of a miracle.
Click to expand...
Click to collapse
... We never know... !!
Thanks guys for the replies, but I guess we went a little bit off-topic.
I understand that the patch mentioned above won't work. Is there any other solution to this issue, apart from formatting it again??
unfortunately, I forgot to move my SPB Backup file from the miniSD to my PC, so I lost even that file my bad
I would like to mention again how it happened: most presumably after installing the program EPOCRATES. Can this help??
Thanks again
You are far from being the first to have a problem like this with a SD card on a Trinity, and I'm afraid there is no easy cure.
Did you try and put the card in a card reader and see if it looked OK here?
If you can read it with a card reader, then make a backup (copy) to your PC, reformat it and restore the copy before putting it back in the Trinity, and see how it looks now.
lts said:
You are far from being the first to have a problem like this with a SD card on a Trinity, and I'm afraid there is no easy cure.
Did you try and put the card in a card reader and see if it looked OK here?
If you can read it with a card reader, then make a backup (copy) to your PC, reformat it and restore the copy before putting it back in the Trinity, and see how it looks now.
Click to expand...
Click to collapse
I tried that, but same strange characters are also shown on my PC using the SD adapter. there is even a 4GB eek file in the root directory of the card. everything so strange.
Guess that you will have to do a reformat if possible.
If there is something on the card that you really want to salvage before you do the reformat, then you could try to do this with a file recovery utility.
lts said:
Guess that you will have to do a reformat if possible.
If there is something on the card that you really want to salvage before you do the reformat, then you could try to do this with a file recovery utility.
Click to expand...
Click to collapse
Actually the Spb backup file would be really helpful Do u recommend any program for trying to recover it??
Thanks
I'm using an old release of WinHex myself.
WinHex is not free, but a trial can be downloaded from here: http://winhex.com/winhex/index-m.html
I'm not sure what limitations there might be in the unlicensed version, but I would recommend giving it a try before looking elsewhere.
I don't have any recent experience with other recovery utilities, but there are a number of them to be found here: http://www.download.com/3120-20_4-0.html?tg=dl-20&qt=recovery&tag=srch
Great, after trying to recover files with Winhex (unsuccessfully), The device doesn't recognize the card anymore, and now it requires a format I give up.
Is there anything I should make to prevent future problems like this??
First of all, should I format it as FAT16 or FAT32?
should I format it on the device or using a card reader?
should I use a specific program for formatting or the default windows application?
Thanks again
sdsentry
Try this - found from the Artemis forum.
It's a preventive measures - not one that can save your already messed up SD.
http://forum.xda-developers.com/showthread.php?t=299128&highlight=sdsentry
If you are still looking for a recovery solution, a friend had a similar incident with the 2GB Toshiba SD card on his 818 Pro just last week, and, not counting MP3s stored on the card (which he can restore from his CD library), I managed to recover for him some 90% of the files intact using Ontrack's EasyRecovery Professional.
See here:
http://forum.xda-developers.com/showthread.php?t=296800
Since I installed the official HTC GPS upgrade ROM I have had no problems anyway.

storage problem. help pls

i upgraded my himalaya with wm5 helmis rom. my problem is its storage capacity. it only has 14 mb of storage. how am i going to extend its storage. is there any procedure for doing this? thanks.
http://www.buzzdev.net/index.php?option=com_remository&Itemid=132&func=fileinfo&id=125
or use another rom with more storage
i have the exact problem...16MB storage...always have 0.6MB free...can't install software...
tried to reduce the RAMDISK to 32 MB, program is increased, storage the same...
storage cant be inc it's flashrom and cant use the normal ram
but one can just install programs on RAMDISK it's faster then normal storage anyway it being ram (well ½ of it) and storage is flash
Use HIMA_DOC_TOOL v1.0 to increase the storage from 15 MB to 30 MB. Search the forum.
Thanks c_shekhar for your response. I searched around the forum, seems this extrom unlock has been discussed for years.
for my understand, need to run the ExtROM Tools to unhide/unlock extrom, then run the Hima_DOC_Tool_1.0 to merge storage and extrom. Now here is the question, I unhide the extrom successfully, can see it for 15.97MB, however the unlock does not work, it has the "blue square" icon and fails "Either it is not signed with a trustred certificate, or one of its components cannot be found".
Not sure this is a corrupted package or something missing from my ROM, the .rar opens fine, but the winrar reports .cab file is corrupted when trying to open it.
My ROM is 3.50c.40CS version...appreciate for your time to help!
Excellent, found the solution from buzz forum...i installed the unlocker to SD card that is why it faied...after re-installing to DEVICE, it works!!! got 30.5MB storage, very happy. Thanks guys.

Weird files on storage card?

Hello ppl
Yesterday I noticed a bunch of files in my storage card, possibly fake ones or junk ones... problem is they're to large to be "real", since I've got a 4GB SD with about 1GB free space.
They're a total of 6 files, four of which are named like "z≥┼3>ô½`.>ô½", "╡Ü`^ô½`.WÜô" etc and are 1.50GB large each, and another two, "MZÉ" and "t", sized 0kb!
Plus, they can't be deleted. Even though they're visible through my pda's explorer (both windows and resco) and my pc when connected, if I try to delete them I get a "file not found" error!
Any ideas? Should I just take a backup of my files and format the card?
akpidis said:
Hello ppl
Yesterday I noticed a bunch of files in my storage card, possibly fake ones or junk ones... problem is they're to large to be "real", since I've got a 4GB SD with about 1GB free space.
They're a total of 6 files, four of which are named like "z≥┼3>ô½`.>ô½", "╡Ü`^ô½`.WÜô" etc and are 1.50GB large each, and another two, "MZÉ" and "t", sized 0kb!
Plus, they can't be deleted. Even though they're visible through my pda's explorer (both windows and resco) and my pc when connected, if I try to delete them I get a "file not found" error!
Any ideas? Should I just take a backup of my files and format the card?
Click to expand...
Click to collapse
Hi,
Yes take a backup if possible and re-format, but check you're files are correct in the backup.
The syptons you describe, normally means that the File Allocation Table has been corrupted, so I would reccommend you attempt to get your files off as soon as possible and DO NOT Write any data to the card untill your backup is verified. Writing more files to the card could cause more corruption and possibly overwrite and damage files that allready exist.
Once you have verified your files, do a complete format of the card and test it before relying on any data on it. If you plan to keep using the card, I would recommend regular backups for a while too.
Cheers,
Beasty
Hi Beasty,
I have a similar problem, though no data loss. It keeps asking to format and when I try to format, it says "format not successful". Any idea?
Tried to format on a PC and got the same results!
KOR!
P.S. Just sent you a PM!
King of Rapture™ said:
Hi Beasty,
I have a similar problem, though no data loss. It keeps asking to format and when I try to format, it says "format not successful". Any idea?
Tried to format on a PC and got the same results!
KOR!
P.S. Just sent you a PM!
Click to expand...
Click to collapse
Hi KOR,
Stupid question, but is the write protect tab enabled?
Sounds as though the disk is damaged if not write protected, there are some tools that can force a format, but you must know the exact sizes........ Google should help

Apps on storage card

Hi,
since I'm running REALLY LOW at internal storage I tinker with the idea of putting some apps to storage card. Thus I'm wondering what if I reflashed my Herald someday. Will I have to reinstall those apps as well or will I be able start them right from SD? What about the app's [email protected] Windows folder?!
Cheers
Hello
If you decide to do a hard reset, then you must reinstall all the programs in SD ..
Whenever you change ROM or you make a hard reset, you'll need to reinstall all CAB
It depends on whether the CAB installs files to different locations, and whether the CAB contains registry entries. Check your CAB file using MSCEINF to see if it copies files to the windows folder and if it has registry entries. Also check the [DefaultInstall] section of the .inf file for the entry 'SelfRegisterDll'. If your CAB file contains any of these things then you'll have to reinstall it after a hard reset.
A large percentage of CABs only contain a single file with no registry entrys and would not have to be reinstalled after a hard reset.
joemanb said:
Check your CAB file using MSCEINF to see if it copies files to the windows folder and if it has registry entries.
Click to expand...
Click to collapse
Hi J03M4N,
With your help (Thanks) there is a new version for MSCEInf (version 2.6) :
Contributions of version 2.6
• Backslash added in rebuilt Inf file, at item [SourceDisksNames], if specified folder has not one at the beginning.
• Due to a bug in new version of mshtml.dll in Internet Explorer 8 Beta for drawing a background image in ListView, I have taken away the background image in the Open Cab Dialog Box.
• There is now a new column in the tab "Folders", with real values written in the CAB without transformation of %CExx%.
Download links in my signature.
not all apps have to be reinstalled. even apps which require registry keys might write them when you run the app from the SD card without installing it.
but remember that not all apps can be installed on the SD card..
Which can't? Any specific ones?
Cheers
i can't name you all the apps which can't
some can, some can't.
for instance, you can't install iGO8 on your storage card...
just install the app on your device and choose Storage Card... (which doesn't always appear as an option)... you can check after installing if it installed on your card or not.
max, uninstall.
if you have installed to your storage card you can just put links to them in the windows\startmenu\ folder
theres an app for that
zeheres said:
Hi,
since I'm running REALLY LOW at internal storage I tinker with the idea of putting some apps to storage card. Thus I'm wondering what if I reflashed my Herald someday. Will I have to reinstall those apps as well or will I be able start them right from SD? What about the app's [email protected] Windows folder?!
Cheers
Click to expand...
Click to collapse
either google force2SD.apk or search for it in blackmart alpha
move to ext4
i have moved all to ext4

Categories

Resources