ROM management: beginners lesson please - JASJAR, XDA Exec, MDA Pro Software Upgrading

Can someone please tell me what one can do to the ROM of a JJ, and how.
I expected to unlock, change file attributes, then move cab files across to SD and delete them from ROM to free up "Storage memory". Instead I unlocked (not sure what it actually did), changed attributes, then could delete but NOT copy cab files. Why can I not copy a cab file to my SD? I can confirm that deleting skype and backgammon cabs does free up storage memory. Perhaps I should just download a more recent skype install file from their website and then delete it? Guidance would be much appreciated...

Related

Unlocked Storage - Cab files question

So I've unlocked my extended storage. My understanding is I can put cab files in there that will then automatically be installed when I do a hard reset.
I notice there is a config file in there, does this need to have any cab files added to it when I copy them into the storage space?
Also, alot of applications come down as windows installers, I don't suppose there is an easy way to make a cab file from these?

Cab files....

Im pretty new here and just got my BA not tooo long ago...I used to be a trreo user now im hooked on my BA.
I see alot of software that comes in a form of a cab file...does anyone know how I can load that software on my BA? thanks alot!
hey mate and welcome!
if you put the cab file in your pc folder; you'll see that the description is "zip file"....that's because it's the only format microsoft recognizes...in a way its also true as the cab file is a compiled program ready for installation. what you do is DON'T unzip the file in your pc; rather cut/copy and paste it directly in your ba (via activesync or in your sd card). put it in a folder that's easy to find; say "my documents...personal" (or you can make your own folder to put in cab files). use your ba's file explorer and go to the folder...from there double click (via stylus) on the cab file and it will automatically install itself. btw, if you copied the cab file in your sd card you can also execute the installation there....no need to paste it in your my documents area.
if you're using wm2005; upon execution the unit will ask you if you want to install it in the sd card or internal memory....that's really up to you depending on the size of the file you're installing.
hope that helps
rob
thanks alot Robson.
Ive always looked past cab file programs b/c i couldnt install it. I hope this thread helps other newbies too. I searched and couldnt find an answer.
is there anyway that can install cab files direct from pc to ppc?
sorry for the late response; was in china for a week.
unfortunately, no. i don't think there's a way to install cab files via pc. if you do unzip a cab file; you'll notice that the files are something like:
0000124
009890
or something like that....can be as many as 20 lines of code...but scanning through the entire zip will not give you any .exe files which can be executed via pc. if you have a card reader installed on your laptop, simply copy and paste the cab file on your sd and from there install via your ppc
hope that helps
rob

How to know files to be modified

Dears
I want to cook a ROM for my Prophet (Jamin)
I want to delete some programs that I don't need from AKU Aserg 3.13 and Add some programs that I use them
So I download tools for cooking rom and extract the ROM to my PC...
But I don't know how can I determine the files for a program That i want to delete or ADD from ROM.
for example I want to delete Total Commander from my ROM and ADD Resco Explorer 2007 !
But I don't know which Files and DLL files are related to Total Coammander , and I have an EXE file or CAB file for Resco Explorer how can i put Resco Explorer or other program to my ROM?
Thanks for helping me.
Couple of notes:
1) There is a free tool called "Dependency walker" which will show you what DLL files a certain exe is linked to.
2) There are several apps that can unpack a cab file, some free some not just google for them.
You will have 2 problems with Resco explorer:
a) If the cab contains a setup.dll you would need to find out what that does and replicate its function or the installation will not be complete.
b) This is a commercial program so you need to find out how its registration is stored (which is not easy) and add the registration manually.
There's a tool call ssnap (system snap?) to take a snap shoot of yr PDA (registry, file systems). Then use a diff tool (beyond compare is very good but not free) to compare the before and after install (and register)
levenum said:
Couple of notes:
1) There is a free tool called "Dependency walker" which will show you what DLL files a certain exe is linked to.
2) There are several apps that can unpack a cab file, some free some not just google for them.
You will have 2 problems with Resco explorer:
a) If the cab contains a setup.dll you would need to find out what that does and replicate its function or the installation will not be complete.
b) This is a commercial program so you need to find out how its registration is stored (which is not easy) and add the registration manually.
Click to expand...
Click to collapse
Thanks u for good helping.
we know that the programs in te ROMs is not sufficient so we install programs for our needs. for example Dr.YAR Bluetooth manager, SPB pocket plus , SPB Mobile shell that use storage memory for installing and can't be install correctly in Storage card, so the Storage memory will be full after installing these programe and same...
So would u plz help me to put these file to my AKU3.13 ROM ?
Thanks a lot

Delete File in Windows Mobile 6

Hi, how can I delete a file in \Windows folder? it seems complaining that the file is in ROM, I had tried many way even using other File Explorer or via ActiveSync. None of them work.
How can I delete a file in \Windows folder in my Microsoft Windows Mobile 6?
Maybe Resco Explorer or Total Commander CE will help.
if it's built in the rom, you might be unable to delete that file.
Please be more specific: which file do you wish to delete?
Maybe you'd have to recook the ROM without that file.
Regards,
EquinoXe
Things built into the rom are "READ ONLY MEMORY" therefore cannot be deleted. if the file is only marked as system and readonly though you can change its atributes using total commander. just long click on item to bring up menu and go to properties. there you need to uncheck everything and delete
I had downloaded Total Commander and installed it, the checked file attributes are 'read only' and 'in rom'; so I guess the file shall be consider undeleteable.
Now I had to learn how to recook, any good guide how can I recook the ROM that I have?
similar problem
I downloaded some software and it came up as being faulty software. The file was a zip folder titled : res_ppc-custom.icons
I tried through my windows mobile device center to uninstall it, but it was never actually installed completely in the first place.
I then tried to delete the file a few times. Once directly from my pda, once through the device center and again through my pc windows explorer. All three attempts were unsuccessful.
How can I get rid of this thing?
Thanks in advance
perhaps you may want to check if the file being accessed by other software, easiest way is to soft reset and try to delete it.
That did the trick! Thanks so much
Move files to storage card
OK I want to move some files (not ROM) in Windows and keep getting error. For example Opera.exe is not marked as anything in properties yet I can't seem to delete the file. I did copy it to my storage card without any issue but can't delete the original from Windows directory. Any suggestions since Total Commander won't delete it. Will edit registry to find it on the Storage Card.
Deleting files in Windows folder
mynullvoid said:
Hi, how can I delete a file in \Windows folder? it seems complaining that the file is in ROM, I had tried many way even using other File Explorer or via ActiveSync. None of them work.
How can I delete a file in \Windows folder in my Microsoft Windows Mobile 6?
Click to expand...
Click to collapse
I have the same problem - I have colpilot.wm6ppc.cab in my Windows directory. It's 12.6mb, I don't want it, and it's taking up a lot of storage space. My phone is a T-Mobile MDA and it obviously came with CoPilot as an option, but I think it's really unfair that the cab is right there in the Windows dir and I can't get rid of it....
Any help gratefully received....
Cheers,
Ed.
The cab is cooked in as part of the rom; there's nothing you can do about it, except flash a custom rom (this is one of the main reasons people flash custom roms). Be glad it was installed as a cab and not as a full package-at least cabs are compressed are a single file.
Farmer Ted said:
The cab is cooked in as part of the rom; there's nothing you can do about it, except flash a custom rom (this is one of the main reasons people flash custom roms). Be glad it was installed as a cab and not as a full package-at least cabs are compressed are a single file.
Click to expand...
Click to collapse
I think the issue is not on the files in ROM.
I have the same problem. I've copied a file under Windows folder and after that I'm unable to delete it.
Strangely I'm able to rename it, which should mean that file is not in use, however deletion is not possible.
I've used TotalCommander, the built-in Explorer and also connected the phone via ActiveSync, but still nothing happens and access seems to be denied.
The exact message is "deletion error".
Any idea?
Thanks.
Cheers...
-nOra-
A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.
Some common problems with Windows Explorer people talk about:
- Doesn't allow to delete files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.
I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.
johnylog.software said:
A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.
Some common problems with Windows Explorer people talk about:
- Doesn't allow to delete files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.
I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.
Click to expand...
Click to collapse
Could you please tell us the name of this wonderfull tool, and how to have?
djulen said:
Could you please tell us the name of this wonderfull tool, and how to have?
Click to expand...
Click to collapse
Based on how he said it, I have to really wonder if he really does have such a tool...
badbwoydes said:
Based on how he said it, I have to really wonder if he really does have such a tool...
Click to expand...
Click to collapse
Use Total Commander to modify the contents of the \Windows directory.
Yes, but you won't be able to delete a ROM file anyway.
In the \Windows folder, you commonly encounter three kinds of files :
- Pure ROM files (can't be deleted nor renamed nor moved, nor even copied, but can be overwritten, consuming internal storage memory space in the process to store the new copy, that will become used instead) ;
- Files put there by installation CABs or else (can be freely deleted, renamed or moved, provided they're not currently used by a running process) ;
- Files put on top of previously existing ROM files, wearing the same name (deleting, renaming or moving them will thus make the original ROM file undertneath to reappear with its original contents and attributes).
Once you've understood that, you'll be more aware of what's cooking there.
ROM files can't even be copied, but you can use ROMExtractor to copy them elsewhere, in case you want to study them, or use them in your own ROM (useful to get up-to date versions from another HTC device to cook your own ROM).
Since ROMExtractor is a very minimalistic tool (you have to type in all the files names with their path, same for the target copy, all one by one !) manually extracting hundreds (even thousands) of files is a very tedious taks, I made a MortScript to automate the process in order to extract all those DLLs, EXEs, MUIs, etc. files that can't be directly copied from a phone's ROM.
On the other hand, you absolutely can't delete a ROM file to make room. Overwriting it with a file wearing the same name will jut result in actually adding the new file, thus consuming even more room. The new file will just be used instead of the original one (so you can still update or personalize the ROM).
As a direct consequence, the only way to get rid of unwanted ROM files or permanently replacing them with up-to-date ones is to cook a ROM and flash it to the device to replace the old one.
That's way how operating systems can become better and better, and save space at the same time.
And no, Windows Mobile isn't dead : I'm not quite finished with fixing it until it's perfect, so it's not over yet. LOL

Cab editing to install on SD Card

How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
yassero said:
How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
Click to expand...
Click to collapse
Should it not be "Storage Card" - with a space?
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
papo said:
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
Click to expand...
Click to collapse
Yes. I did that & the result was that it has created a folder on the device memory called Storage Card & installed the app in a subfolder in that folder.
It neglected the physical Storage Card completely. My objective is to change the default install dir of all my cabs so when I use XDA_UC, it automatically install them to the SD Card. What XDA_UC currently does is semi-auto install whatever I put in XDA_UC/SD, meaning that it runs the installer & asks me to select where to install the app.
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
papo said:
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
Click to expand...
Click to collapse
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
yassero said:
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
Click to expand...
Click to collapse
you got it wrongly, the last option was not using CAB at all.
I don't know what you are trying to do. Hard to guess. Why would you want to install on SD on the first place?
In my case, I am placing maps and files which programs can only use from SD, I have them in zip and unzipping with 7zip which accepts plenty of arguments.
You know that CAB is something like zip. You don't need to use CAB and can have the same results. And if you creating those cab yourself, why not just create zips. And you have it compressed better too.
- what is reg? file containing registry entries. if you don't have any you don't need that.
- nothing to do after
- for files:
you place all files in folders in this zip file, starting with "Storage Card"
this will check SD card, if it's present and then unzip file "file.zip"
I have this file and 7zG.exe files in ROM-windows folder, but you can change that below.
for this script to run you need mortscript.exe and 7zip programs, they are free
==
SetMessageFont(17, "Tahoma" )
While( not DirExists("\Storage Card"))
SleepMessage( 99, "Insert SD card", "SD card missing", false, DirExists("\Storage Card"))
EndWhile
RunWait("\windows\7zG.exe"," x \windows\file.zip -y")
I am not that knowledgeable technically. I do not not create Cabs. All I am trying to do is figure out a way to have the cabs I have installed silently on the SD after I flash any new ROM. I place all my cabs on Storage Card in folder XDA_UC/SD. This is not a silent installation. It needs user intervention as on each cab installation, it prompts me to select where to install to (device or SD Card). I am very humble when it comes to reg files & stuff like that. I do not know how to write them or how to use them afterwards.
I have always wanted my settings saved aswell to be applied on the next ROM installation. Thanks to NRG, his ROMs come with Settings Export app that simplifies things but exporting all settings to Storage Card in folder XDA_UC & accordingly it is applied at new ROM installation.
why do you want to install to SD card?
What pda you have? Are you low on internal memory?
I only put an app on SD if I had less then 5MB internal free.
You should use your internal memory for programs as it's faster and better protected against lost clusters and unfinished writes.
And to use SD for personal data, as pictures, mp3 as it's easier to make backup of it and access speed doesn't matter there so much.
There is no reason keeping more then 5MB free of internal memory.
A time ago I put update of opera on SD, once when it crashed, it damaged file structures and I lost half of my data on SD.
You can have silent installs to internal memory.
-
Other thing is, as someone wrote before, for most of the apps you don't need to install again on SD card if they are still there. Before you reflash, backup
folder \windows\Start Menu and after reflash, copy it back.

Categories

Resources