yashsingh1/xdaforums huggingface dataset:
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Tuatara:
IMGFS by design is a compressed filesystem. This means that ALL data from it is NOT XIP (eXecute In Place). Every file must first be read from Flash, decompressed (if it was marked as compressed), and then the application placed into RAM for execution.

The reason for this is multi-fold:

1). Flash is slow ... it's not designed to be used as RAM is (quick read/write/update/etc.), and overall has a slow data access rate.

2). The Flash memory in the BA (and other devices) is NOT designed to have quick 'byte' access, but block access (meaning paging in memory).

3). The Flash memory itself is not designed to be executed directly from by the XScale (or OMAP) processors. The wait state/latency timing requirements would be prohibitive and would dramatically slow down the device.

By using the ROM, and compressing the contents in there (IMGFS), the decompression of the data/application into RAM can ocurr quickly, and then the application is run from there.

NOTE: All OTHER data is stored as FATFS (or TFATFS) which is NOT compressed, as having compression on your data files would be speed prohibitive, as the compression process requires a fair amount of overhead to achieve.

ROM: IMGFS

RAM: FATFS

Storage: FATFS

ASIDE: This is why making HUGE RAMDisks on the devices for application installations (in my opinion) is a bad idea in getting more storage space. Use the RAM for applications, execution requirements, keeping everything 'running' and available, and for the volatile storage/temporary elements instead. Go buy a SD Card for goodness sakes instead of trying to squeeze more out of the device RAM - SD Cards are ultra-cheap storage!

Anyways ... back onto the topic ... every file - regardless of when it is stored is ALWAYS loaded into RAM. This is true EVEN from the RAMDisk. The reason the RAMDisk is so fast to execute apps from, is that ... well ... it's RAM ... and is therefore the fastest memory device in your BA. :-)
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Tuatara:
From all my experimentation with this, there is little which can be done for the BA. The XIP flag is legacy (from 2003), and is unused in the compressed IMGFS filesystem. All sectors are 'decompressed' - even the 'uncompressible' ones (as far as I can tell). The XIP flag has no effect, and while it might be checked or read, it is unused.

The ShadowROM similarly is unused. I would have expected that this could shadow the 26-ish Mb of the ROM into RAM (i.e. copy the contents once, and then decompress from there - which would be ULTRA cool!), but this doesn't work either.

Someday I might see if the ROM contents can be mapped to RAM (like an IMGFS RAMDisk or so), and then run from there, but I think that's only applicable to our BA (and Himalaya) devices which have 128Mb of RAM available. Newer devices only have 64Mb of RAM, in order to be much less power hungry. It's again speed versus power ... somewhere we have to trade.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] fraser:
Good info Tuatara. I knew about the folly of double-compression, that's why I was asking about marking UPX'ed apps as uncompressible.

That's also a great point about XIP and the relative speed of the ROM vs the RAM. Copying into RAM might take a little bit longer, but once it's there it's as fast as you'll ever get. Even if you were to get XIP running, it would likely slow things down overall.

How fast is the SD card compared to /storage and RAM? Given a fast SD card, are these comparable? I'd always avoided SD card for anything that you might use a lot of. I tend to use it for music and games only.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] SaBo:
When I try to access that link a password is required.

Sascha
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Marx2:
password is: xda

You can also access ftp as user/password xda/xda
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] xplode:
For all of you guis i post my SAP package

It is modified bepe's sap with new versions of wireless manager, power, comm manager, gprs setting, microphone agc

most of the files are from TyTN

it still needs a little polishing, so we can improve it together

download here
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] a771la:
any solution for block password?

when i use tomtom after 2 min my 9090 ask me a password :(
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Marx2:
Is SAP package device specific? Can I use it on Himalaya?
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] a771la:
what is it? :shock:
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] xplode:
i think with some modifying it may work on himalaya, but it is made for blueangel

you can use stuff from it freely but you have to remove wifi part from it

you can try
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Tuta:
...plz HELP!

How-To build a ROM:

Extract the DEV folder

Extract one ROM to DEV

Extract one OS to DEV

Extract one LOC to DEV

Extract all OEM Packages you need to OEM

Run CreateOS.exe and click the button

Run CreateROM.bat

...but ERROR is "Error:ROM missing"

Where is the problem???

Thanks!
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] a771la:
i extract file nk.nba in rom folder ( in rom folder i have nk.nba and boot.rgu)
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Tuta:
@a771la

...What is it "Extract all OEM Packages you need to OEM"
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] a771la:
for exemple ftp://xdaupload@ftp.xda-developers.com/Himalaya/OEM_packages_by_Marx

extract all you need in oem folder ( ex: WM2k5 SMS Alert Fix )
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Tuta:
Now is error ...

"Error OS/2849e391-1e39-4a98-87b9-53932dec51d3 is not listed in packages.sof"

????
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] xplode:
@Tuta read previous posts in this thread and you will find fix for this error

@ALL there is few bugs in Arcsoft MMS and IA Camera OEM packages

In IA Camera there is extra registry entryes which mess your hardware buttons, just delete them and it is allright

In Arcsoft MMS there is nasty bug, when you try to add video or picture to mms the camera gets rotated and the temporary solution for it is hard reset...

Please if someone find another bugs and solutions for bugs related to this rom kitchen please post it in this thread
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Marx2:
here are a fix about camera button not working in AKU3.2

http://buzzdev.net/component/option,com_simpleboard/Itemid,59/func,view/catid,64/id,24286/#24286

There is thread about AKU3.2 in Himalaya.

Does anybody knows converter which convert XML registry format to .reg registry format?

It seems to be quite simple.

I need it to convert some .cab files to OEM packages
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] xplode:
The point is that these oem packages are made for himalaya, and thats why the buttons mess up in blueangel

Button 4 in Himalaya is Camera

Button4 in Blueangel is Messaging
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] xplode:
I don't know for such software , but it is not so hard to do it manually
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Marx2:
I've just slightly modified WIKI page

http://wiki.xda-developers.com/index.php?pagename=ROM Kitchen
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] imatrix:
nice wiki page,

now i feel like making my own rom :)

thanks Marx2
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Marx2:
What's about your kitchen? :)

Our about Himalaya is alive

http://buzzdev.net/component/option,com_simpleboard/Itemid,59/func,view/id,23392/catid,64/

I've added a few more packages to FTP and described them on WIKI
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] xplode:
first find 22541fe0-0fd9-11db-9cd8-0800200c9a66.rgu file and open it with notepad, see whats in line 8 when the error is and correct it manually
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Brazilian Joe:
I have posted an independent thread, but seems it has been largely ignored...

I have just had this idea of , instead of increasing our Storeage from 43 MB to 60MB, by reduction of the EXTROM to 128KB, what if this space was given to OS rom instead?I know this is unusual, but for a ROM kitchen it would be ideal, because most of our software would be embedded in the ROM and survive hard resets.

Also, we avoid compaction issues, as our NOR storage is ill-suited to the WM5 filesys way. AFAIK compaction only affects FATFS filesystems though, which are RW. IMGFS is RO, and shouldn't be messed with, as it's got the OS inside.

To put it in pretty pictures:

Legend:
**** OS ROM
==== EXTROM
#### Storage ROM

Currently, we have our ROM like this:
****************========####################

after reducing the EXTROM it would be like this:
****************=###########################

My Idea is to have it like this:
***********************=####################
Or even better:
*******************************=############

It might require some tweaking of the formatter app, which reduces the EXTROM, to put the partition at the end of the 16MB it used to take, instead of the beginning.

Also, there is the big question, 'would the ROM flash tool be able to do its job with the bigger ROM image?'
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
Kitchen v1.1 uploaded to FTP

Hi guys

It's been a few weeks I know. New house, hectic job and lots of weddings have stopped me using my BA in the gung-ho fashion we're all used to.

I've now had time to build and upload an updated kitchen package

It's on the ftp

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/AKU3.2/KITCHEN_1.1

A full changelog is in "changes.txt". Lots of fixes, cleanups and speedups included.

LOC, OEM, OS, and ROM dirs are all zipped up individually. All of them have been modified.

DEV.zip is just the tools dir, createos.exe and createrom.bat - these are unchanged, just included for completeness.

The base kitchen boots into WM5 without modification. It has almost integrated WLAN in comm manager (need to start wlan manually on boot), and seems to work well in my tests.

Note that no OEM packages have been added. This is deliberate. It's meant to be a base rom for you guys to cook in, so not even a camera app has been added (SX66ers would hate that anyway).

On that note - if anyone has a drop-in-and-go camera package, please post it (helmi?). I really haven't had time to mess with that app yet.

Meanwhile - lets hope someone can find the PagePool setting mamaich identified yesterday. I've been looking and hexediting some (un)educated guesses, but no luck yet.

***EDIT***

ROM.zip now updated to fix a last-minute error in boot.rgu and to include mamich's poolsize patch. This kitchen now builds roms with 8mb Page Pool Size by default.

Also uploaded is ROM.16mb.zip. This is the ROM dir, with edited nk.nba for 16mb poolsize. It has not been tested, so results may be good or bad.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] ucifmak:
BIG Thanx

To all the GURUs, testers and participant of this forum: I love you poeple.

Your effort made my decision to buy a BA a very right one :D . I have been through the ROMs as they appeared online. They are ALL great, a continuous education session. No need for me to post test results, every thing is here with a prompt solution. Thank you.

Helmi_c 1.3.1
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
I've just uploaded a RamDisk OEM package to the same dir as the rest of the kitchen. Someone requested this earlier, but the post has strangely vanished.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Black6spdZ:
thanks thing.. I realized the answer after my post and just didn't want to add to any confusion
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
I'll be working on another update this weekend.

It already has better camera support. The ROM defaults to SX66 mode with cam button set to launch media player. If the Camera OEM package is added to the build, then the button is over-ridden to camera mode. Nice and simple.

I've also removed error reporting completely, no registry settings or DLLs remain, boot registry has again been simplified and power management improved, giving longer battery life.

Wav file ringtones have been sped up and a lot more dead registry entries removed.

Before I upload the new version, I'll do a lot more testing and add keyboard control panel and sim manager to the SAP.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Brazilian Joe:
Don't forget the paging pool hack. I haven't noticed any difference from 16MB to 32 MB, so i think 16MB would be ideal.

I am also proselityzing the ROM publishers to disable 'turn off backlight after x minutes' when on external power, and to assign the HW buttons with the mail and IE icons to left softkey and right softkey respectively... :)

Has anyone looked into the posibility of increasing the OS ROM space by reducing EXTROM? mamaich (the ultimate guru)?
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] helmi_c:
hello there thingonaspring, a big update u hv done there.. I'll Update the first page... sorry for the delay bro..

btw can u send me about this? what did u do? maybe I'm not already done it... can I hv it?

btw the ArcSoft MMS 3.0.7 hv limitation on MMS format, mp4, 3gp is not supported, I'll try to make a OEM pak for MMS 3.0.16.16 or maybe I just send u the cab?

I dont think that possible... :cry:
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
Hey Helmi, you've been a busy dude lately I see, great work as always.

WRT the power management, from the changelog of 1.2pre :-

OS\b183f2a7-06c3-4f27-9679-7baf97e94efa

!!!Modified

[HKEY_LOCAL_MACHINE\Comm\AsyncMac1\Parms]

"DisablePowerManagement"=dword:1

!!! to

"DisablePowerManagement"=dword:0

OS\d0b41563-b345-4444-aa15-986e7c7fff99.rgu

!!!Modified

[HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms]

"DisablePowerManagement"=dword:1

!!! to

"DisablePowerManagement"=dword:0

[HKEY_LOCAL_MACHINE\Comm\PPTP1\Parms]

"DisablePowerManagement"=dword:1

!!! to

"DisablePowerManagement"=dword:0

OS\fd7ec796-412f-4352-9a71-04da841dc265.rgu

!!!Modified

[HKEY_LOCAL_MACHINE\Comm\L2TP1\Parms]

"DisablePowerManagement"=dword:1

!!! to

"DisablePowerManagement"=dword:0
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] bolopez:
Spanish LOC package

I keep trying to make a Spanish ROM. Has anybody found a Spanish LOC package anywhere?

On the other hand, today I'm getting a Prophet. Is there anyway I could extract the LOC package from this WM5 machine or from any other one? I used to build my ROMs with an AKU2 LOC package, but it doesn't seem to work with AKU 3.2.

Thanks in advance.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] helmi_c:
hey, thanks thingonaspring I'll try to make a cab for ur patch.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
Helmi - I just noticed your question on arcsoft MMS - if you can send me the cab I'll get busy on it.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
Kitchen V1.2 uploaded to the FTP

Here's v1.2 of the Romkitchen.

As with 1.1 all of the dirs (OEM, LOC, ROM, OS) have been modified.

The DEV.zip archive contains the tools dir, CreateOS and CreateROM, these have not been modified.

Full changelog in changes_1.2.txt.

New this time is improved power management (longer battery life), a working SIM manager, working Wireless Modem, more filesystem speedups added, and countless registry cleanups applied.

SIM contacts are now hidden in the main contacts app by default. Use the SIMManager to access the contents of the SIM.

The default OEM packages are SAP, Driver, Filetypes and Ramdisk. All are included in the OEM.zip archive.

The Ramdisk package sets all OS and IE temp data to be stored in RAM. If the ramdisk OEM package is omitted, then all this data will be stored in the BA's flash memory.

The ROM.zip now has 16mb poolcache size and 32mb RAMDISK. This seems to be by far the best speed/RAM tradeoff.

The following optional OEM packages have also been uploaded :-

Camera - the same old camera app we're used to, just given a good cleanup. If you don't include this package in your build, then SX66 button settings are applied (camera button launches media player).

Backup - the backup app from logout's builds

PHMRegedit - registry editor

PocketRAR - archive manager v3.60

TaskMgr - the 1.6 version

TCPMP - The Core Pocket Media Player

Total Commander 2 - File manager

Ringtones.zip - new phone-ring sound and SMS-recieved sound.

The 1.2 archives are here :-

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/DEV.zip

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/LOC.zip

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/OEM.zip

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/OS.zip

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/ROM.zip

Optional OEM Packages are available individually here :-

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/Packages/Camera.zip

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/Packages/Backup.zip

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/Packages/TCPMP_072RC2.zip

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/Packages/TaskMgr 1.6.zip

ftp://xda:xda@ftp.xda-developers.co...OM_KITCHEN_1.2/Packages/Total Commander 2.zip

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/Packages/PocketRar3.60.zip

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/Packages/Ringtones.zip

And the full changelog is here :-

ftp://xda:xda@ftp.xda-developers.com/Uploads/Blue Angel/ROM_KITCHEN_1.2/changes_1.2.txt

One thing I need help with - does anyone know how to remove the "Error Reporting" applet from settings? All registry entries are gone for error reporting, as are all the known DLLs for it, but still the applet shows up!
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] _TB_TB_:
IMHO additional apps should not be included in the ROM - for example the PHMRegEdit does not work as it should (it does not save the changes sometimes, it is not possible to use its 'Favorites' feature, etc). THus, most ppl will install another RegEdit tool.

TotalCommander - many people just do not know the potential of it, so they will propably never use it.

PocketRAR - why PocketRAR, while one can use Xacret for example? More formats, ets (one-way -> unpacking, though...)

TCPMP - what if it is updated?

Backup - this should be included:)

Camera - the same;)

TaskMgr - a must-have:)
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] helmi_c:
Re: Kitchen V1.2 uploaded to the FTP

The reason of this kitchen is for everyone to make their own customize ROM, so adding OEM and anything on it, is free, i think its free to make everything to be OEM pack, I means really2 everything...lol...

hmm... its icluded in cplmain.cpl, maybe this little modification help ? :wink:

[HKEY_LOCAL_MACHINE\ControlPanel\Error Reporting]
"Redirect"=

btw do we need to delete the basic os function? dont u think its enough to disable it?
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
OK, it stays disabled, but still present in the CPL.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] helmi_c:
Its shoultn't if u reset ur pda...
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
Haha misunderstanding there, I meant I'll leave it in the base rom as it is.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Black6spdZ:
Thing, I'm a little confused on how the ROM is actually built.. not that I need to know the exact details but I'm having a problem running out of ROM space upon building ROMS "get the 0xffff... free sectors after the build and white screen when starting the BA". I'm posting because I seem to be having a problem adding additional OEM packages. For instance, I have UPXd SmartDial re-added the files back to the original CAB and tested it afterwards to confirm it still works. Next created an OEM package that comes to about 623k. I added it to my previously working build and get the problem with running out of space. To free up room I added a UPXd ppt.exe to replace the existing ppt.exe install module 2200kb to 800kb saves 1400kb. In theory I should have just freed enough space to successfully install the SmartDial app but still run into the out of space problems. Whats going on?
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
Hey black6spdz,

I've been messing with an MMS cab that's 4.6 mb and I have simillar issues. In my case, when the rom comes out too big, buildimgfs just crashes unglamorously.

I'm not sure if you've read Tuatara's thoughts on the subject, but from what he's said, UPXing can only help so much. IMGFS is compressed by default, so all you gain is the improvement in compression that UPX gives, compared to the IMGFS compression algorithm. In the case of PPT I think it works out to <300kb difference.

I've been wondering, since starting work on the MMS cab, whether there's a case for stripping down the base ROM - moving help files, sample images, default IE homepage graphics etc, into optional OEM packages. This would help the romsize a lot - JPGs aren't going to compress too well after all.

What do you think?
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Black6spdZ:
ahhh.. that would explain alot! makes sense now. I agree on creating more optional OEM installs but just wish there was some way on knowing the size used compressed by the IMGFS and knowing how much is free to start with so we can make better guestimates on building custom ROMS rather than alot of trial and error. I swear the flash memory on my test BA has to near the end of its useful life.. its had over a hundred flashes by now no doubt.. haha. One thing I dislike is how some OS, LOC, and Driver files are"modules" or built at the time of compiling the ROM. If you decompress Helmi's ROMS you will notice the actual files are inside each of the mudule directories so they could in theory replace all the module folders and then some testing could be done to see which ones can be UPXd with no ill effects.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] anilkaparthi:
To all the GURUs, Thanks a lot for all the resources and knowledge.

I have one question. I created my first ROM using kitchen v1.2. Everything fine except one problem. It is taking close to 30 sec to open when you click on start. I don’t have this problem with Helmi BA WM2k5 AKU3.2 Beta (v.1.3.2 Beta) Rom. I don’t have any idea what I am doing wrong. Any help is appreciated.

Once again thanks for all the great work.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
@anilkapathri

30 seconds!? yuk.

I've seen people complain of simillar lockups before, but can't find the relevant posts.

What packages/apps do you have installed?

Also - thanks for the taskmgr1.8.exe and package you posted over on Helmi's thread. It rocks.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] anilkaparthi:
Hi thingonaspring,

I didnot install any packages or apps after flasing ROM. I did not add any OEM packages to my ROM.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] thingonaspring:
Just to clarify - no OEM at all ?

Not even any of these?

BA - SAP test

Driver_Blue_angel

Ramdisk

Filetypes

Forgive me if this seems like a silly question, just wanting to get a complete picture.
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] anilkaparthi:
I installed only OEM packages from OEM.zip

BA - SAP test

Driver_blue_angle

File_types_??????????

ramdisk