COMPRESS EXTENDED ROM - XDA-developer encyclopedia

Due to Size limitation of Extended_ROM folder in HIMALAYA (which is 16mb), and after zipping collected cab files which is somwhere from 26MB to 30MB. It gives an stonishing great result and can be add to Extended_ROM Folder. And thus you will have a bunch of Program in your device. This is good for those who are working in the field and having problem with sudden hard reset or just simply far from his computer but need to make a clean hard reset.
This option will give a bunch of application installed in a device with a limited extended_rom size.
THERE ARE Currently in Two Method
CrunchIT Method - uses the SelF-eXtracting Archive (SFX)to compress a collected cabs
Zip Method - uses the Plain Zip file created by any zip program in PC or in PPC

Related

Converting EXE to CAB for Extended ROM Auto-Install?

Hey Guys,
I have been customising my extended rom so when I hard reset I get all the applications I want (Resco file explorer etc). I have been doing this with .cab files fine.
The problem is that I have files which are .exe setup files (e.g Flash player 6). These have to be installed on the PC, and the cab is copied to the XDA and run. I would like to just have e.g a flash CAB file to put on the extended ROM.
is there a way to convert the PC EXE into a XDA cab file, or some way to run the PC exe on the device automatically in extended rom?
I know some .exe setup files can be extracted using winrar which then give you the cab file, flash player isnt one of them though.
Regards,
Jez.
http://forum.xda-developers.com/viewtopic.php?t=10058
Jez said:
is there a way to convert the PC EXE into a XDA cab file, or some way to run the PC exe on the device automatically in extended rom?
Click to expand...
Click to collapse
Use Windows Registry Editor (regedit.exe) to look for the path where your Desktop Exes are extracted to PocketPC Cabs:
Look for this value:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
"InstalledDir"="k:\system\hardware\pda\imate\ASync"
Now, open your Windows Explorer and go to the path. You will find your cabs in corresponding folders (e.g, folder MacromediaFlash shall contain Flash6.arm.cab and etc...)
If you need to do more complex restoration, use Restorator tool. It restores your directory and file structure, registry settings, installs cabs, writes boot screens and does everything nice...
Oh my god, you are both bloody geniouses!!
This is wicked, cheers guys!
Regards,
Jez.
Any other ways to xtracting & repacking to cab?
Renaming the file format (exe to any formats) & exe xtractor software doesn't work.
I can compress any data to .cab, but how to xtract perfectly exe files?
Convert EXE to Cab online without having to download any software
If you have an EXE file that you would normaly run on your PC to install a sofware... it looks like this online converter work to have it converted into a cab file for your cell phone!!!
try it!
1- first you need to compress your EXE file into a ZIP folder... that will create a ZIP file on your desktop.
2- then you go to http://media-convert.com/convert/
3- browse on the first field to determine witch file on your pc you want to convert .. select the ZIP file you just created...
4- on the second part of the page you will be ask what format you want to convert your ZIP file to .. on the scrolldown menu select . CAB... and hit the convert button .. the online service will do the rest ..
Basicaly will upload your file onto their server , process it and render it to you on a file download link ...
There you go you have now a CAB version of your EXE file to upload on your phone with ActiveSync...
My problem
how to say... the site is cool ,and i get my file converted. However, the nature of that file hasn't been changed into a cab. it is still an exe. I dunno if i have done something wrong when converting.

Change Installation Directory

Hi,
i want to install the programs to a directory on the mmc card.
But if i do so, it installs in the root.
Now, thats not looking nice, and its hard to find anything there then.
I want create a directory for games and programms on the card.
How can i do that?
I can only choose between, Memory Card, Storage and Main Memory.
And that sucks!
Maybe u can user WinCE CAB Manager and edit the *.cab installation directory to any directory u prefer.
You can use the freeware CabInstall and install program directly from the SD.
Yes, but on the on hand this would be a lot of work, changing every single files directory in the cab and on the other hand it wouldn´t work out with Progs, that have an exe intallation, like the game AoE.
Thos Progs, first install on the PC and then on the PPC, and there are no editable CABs at all.
I thougt about changing the installation interface inactive sync , but i´m not a coder.
But maybe, there is somebody out there, who had the same idea like me and realised it already.
The Best solution ever: have a look at the attached files, open the TXT file first (the instructions)
You will not need any additional Software (except e Regestry editor like PHM Regedit), just follow the instructions and use the attached files.
Workes great I am having this now for 4 months!
if you install the programmes to the SD/MMC card, and they make their own folder, put the SD/MM card into a card reader on the pc and select the entire folder as hidden. this means that the programme still works, but does not show up when you explore the card. this does not work if u are using your phone as a card reader.
Sorry DerliebeWolf, The BEST solution is the follow (Tested on WM2003Se):
- Download a registry editor 4 Ur PPC
- Open AskDir_ON.reg with the program
- Reset your PPC
manually:
- Go to \HKLM\SOFTWARE\Apps\Microsoft Application Installer\fAskDest
- Change DWORD value (dec) from 0 to 1
- Reset your PPC
If you install a cab file or an exe file from the pc (that copy the cab into your ppc and then execute it), Windows Mobile will ask you in wich folder you want to install the sw.
Note that you can have problems with some applications (because they're not installed in their own directory)
Check out Nonentity's File System Tweak http://forum.xda-developers.com/vie...order=asc&highlight=file+system+tweak&start=0
Cabinstaller is the best and easy software i could recommend for this. Run the cab installer software once and set it to run for all installations, the whenever u try to install a cab file, it will prompt you for the path of installation. It also has an option to disable deleting of cab file after installation. Do you want anything more than this? and to the max, it is free ware! Its easy to get, if you can't find,I have it in my site' software section. www.cartystudios.com
oh yes, i've forget that cabinstall associes .cab files to it (and then, when you execute an exe from the pc, in the ppc will be opened always with cabinstall in auto)
They're the 2 Best Solutions

Save 6 megs on the UK O2 Oribit ROM

For those who want to save a little space, you may notice that there are some useless pictures and HTML files built into the ROM that you can't delete with Resco or any other File Explorer. Well you can replace these useless files with ZERO byte files if you don't mind having zero byte files on your device.
Just Unzip and copy the stuff over to the Windows Folder on your device with Resco Explorer, this should be enough.
I've backed the original crap up and will upload these if anyone wants them back.
doubt it will work - those files are still in ROM - Try 2 do HardRST and they'll be back - only one way how 2 remove them fysically is to remove them directly from rom(so U have to cook one). Other think is if files are copyied during first boot(iniflashes.dat) then they can be removes-usually branding rubbish, tsk, lnk...
No it overwrites the ROM files.
again i doubt it - it doesnt owerwrites them. they only appears in Fexplorer || Resco as 0sized. Only one way how can i imagine to owerwrite them physically is using pdocwrite (maybe, not sure about it) did U try to HR UR device, and they appeared there with 0b size? Try it - files are still there. If editing ROM would be so easy, why anyone will spend time with building NBH.... Flashing....

sUC - suiller UC way [9 Feb 2010]

ABOUT
The purpose of this CAB is to reach a sort of UC way but with a very easy & friendly approach
HISTORY
I come from Diamond world, so because this CAB can be adapted for other platform/devices why not preparing a separate sUC.cab to use for enabling ALL the stuff (ramdisk, pimbackup,ram recovery,etc...) included in Dia Duit rom series?
what have I to do with this cab?? simply it will apply these features:
Latest stable MortScript is inscluded & ready to go, so no more needs to install as separate cab
Choose between 3 speed profiles: 1. fast (takes more ram & battery), 2. balanced (not heavy tweaked but not funny) & 3. untouched (default WM6 settings)
GPS profile: TomTom, iGO, Navigator or default WM6
Everyday auto recover RAM feature (at 4.30AM) + automatic sms/contacts/calls backup/fav manila people (trough pre-configured pimbackup app, PimBackup included)
Ramdisk (2Mb) feature (optional)
A new way for a fully automated CAB/REG/EXE/CPY installation/copy after every hard-reset/rom upgrade
UPX executable, compress (fully automated) exe files from fresh installed cabs, this saves space & gives faster app load times
Easy & fast tweaking method without 3rd part software: tweak registry scripts (with comments)
Tips enabled by default to preserve a bit more battery life (for ex 3 secs of led blinking instead 5, increased battery life counter,etc) + increased speaker sound volume + many example for setting automatic alarms, rings, etc...
Moved MAIL + Attachments folders from main memory (My Device) to external one (Storage Card)
3 / 4 rows configuration
This should work on every WM based rom, also because I added the auto recognition of "Storage" name... so should work without troubles also on NON WWE roms (except for CABi installation)
DOWNLOAD sUC.cab HERE
DOWNLOAD sUC_source.zip HERE
BEFORE INSTALL (mandatory)
create in your "Storage" (the BIG one) a folder called "Backup and Restore", then inside it a folder CAB (inside this another folder called CABi), then at the same level of CAB folder create a folder called CPY, then REG, then EXE
so practically your basic structure should be like:
Code:
Storage Card (or whatever name)
=> Backup and Restore (folder)
=> CAB (folder, put here all the cabs you want install on main memory)
=> CABi (folder inside CAB folder, specific for "must go into Storage", see notes)
=> REG (if present all reg files here will be joined to default WM registry)
=> CPY (if present all files here will be copied under their correspondent folders)
=> EXE (if present all .exe & .mscr files will be launched)
all files in the CAB folder will be installed (automatically) into "device", the ones in the CABi folder will be installed into "Internal Storage" (or whatever you have, always automatically), from REG folder all *.reg/*.rgu files will be loaded on the fly, from CPY all files will be copied (with overwrite) into correspondent folders (for ex useful for copying personal dlls, wav/wma/mp3 files or background, etc...), for finish from EXE folder will be launched your executables (personally never needed, but who knows?) & if present all *.mscr scripts... pay attention to exe files that needs user interaction
INSIDE THE CAB (a deeper explanation)
when your sUC cab is installed it simply creates a registry entry under [HKLM\init\]"Launch69"="2ndboot.exe", this permits the script 2ndboot.mscr (launched by 2ndboot.exe) to be loaded upon system reboot (just one time)
this script, if the structure mentioned above isn't found, it will create automatically all the folder & default reg files needed under your storage card, the name isn't important because it should guess itself its correct name, so don't care if your storage is called something like "MyBigStorageCard"
then it will ask you some questions... such as if you use ActiveSync, which GPS performance adopt, etc... all this info, which at 1st you'll pay high attention, will be stored under your storage card in a file called config.txt ...why?? simple... because next time you will flash or hard-reset your phone you wont have to push a button the script will found that previous stored config file & it will take all the info needed for final rom configuration to skip all annoying questions after every upgrade/HR
note: there is also an hidden option that should be used only by experts, to enable this option simply add by hand to your config.txt file the line: FastInstall=1
this will skip all countdown menu & messages... personally I use this option because flashing a lot this saves much time more
next it will look in the CAB folder for installing your CABs into "device" or main memory
next in the CABi folder for installing CABs into your storage card (you need to do this just 1st time, I'll explain later...)
next it will look at a file called upxlist.txt (must filled before), where simply you will specify all the *.exe file you want to compress after every cab installation... for example your upxlist.txt could look like:
Code:
\Program Files\Navigator\TomTom Navigator.exe
\Program Files\9.5 Beta\Opera9.exe
\Internal Storage\Program Files\Binaryfish\All Mobile Mines\All Mobile Mines.exe
note: every line for every EXE file, pay attention that you can compress just EXE files coming from extra CABs, because EXE files present in the rom are read-only
next it will copy a set of basic reg files with many tips/tricks/examples inside, useful for making many customizations
note: of course if you have previously prepared the folder structure & you have copied your REGs files under the REG folder they will be processed together the files above
next it will look in the CPY folder and will replicate the found folder structure (with files too), for example create inside it a folder \windows with some file inside & it will copy all found files under \windows on your device, or create \program files\myapp & it will create that folder structure in your device, of course it works also for Internal Storage even if it has no sense, anyway just a note it doesn't create empty folder, to create an empty folder just use a single .mscr script (something like: MkDir("\mydir") ) & copy it in your EXE folder
next it will look in the EXE folder & will launch all the exe files inside it, if found it will launch also all *.mscr scripts
next if found (you'll understand better upon an HR), it will ask you to restore your backed-up start menu, so you don't have to re-arrange your icons again
next if found, it will ask you to restore your last PIM backup & will reboot
notes:
right now CABi procedure works only on WWE roms (due to translations work to be finished), anyway there is a trick to skip CABi installation, or better make by hand just once (read few lines below)
installing cabs into Storage Card sometimes will fail, this simply because some cabs need confirmation/accept license & so on, so don't expect will work 100%, also many cabs require to be installed into main memory so NOT into Storage Card, for ex I use to install into Storage Card simple cabs such as games
sometimes pim backup restore can fail, try to restore by hand after installation; backup are divided into week days (monday, sunday, etc... "Last" is the last saved backup)
if you put sUC.cab in your CAB folder wont re-processed of course, useful if using sUC together with UC/UC2 installation method (see at bottom)
if you still use the 1st sUC release way your personal scripts still work like before, simply move them under EXE folder, or transport as reg entries directly into your personal reg file & copy it under REG folder, you can find on the same folder some examples (to clean all your old stuff simply empty the REG folder, modded REG files wont be touched on future upgrades)
you don't need to re-install every time your CABi, just install them once, then on next upgrade answer No or simply edit your config.txt & change the correspondent value; after CABi installation on a clean boot go with your explorer under "\windows\start menu" folder & re-organize your start menu structure (cut/past links, create/delete folders, etc...), remember to don't delete "Settings" folder even if empty, then go under sUC menu & backup your StartMenu, on next upgrade sUC will detect start menu backup & it will reinstall automatically... because the content of your storage card isn't erased after a rom upgrade/hard-reset your installed CABs will stay there untouched, so backed-up start menu has inside correct links
is possible to move TomTom, iGO, Navigon, etc... definitively into your storage card, so you don't need to install them every time: copy entire nav software folders from \program files to \internal storage\program folders, re-create icon shortcuts (copy/past as shortcut in your start menu), for iGO you have to edit sys.txt (under iGO folder) & change the path of base installation
in the same way is possible to skip for example FingerKeyboard installation from related cab, simply take a look at this short guide
INSTALLATION
note: to migrate in every new sUC version simply move your reg mods in your Personal.reg file, erase all the rest of reg files because they will be re-generated with the new ones, remember that on upgrades reg files wont be touched so pay attention on what you mod
if the rom is UC compliant simply create a called SDConfig.txt file in the root folder of your Storage Card, for example your SDConfig.txt could look like (pay attention to upper-lower case & no empty lines):
Code:
LOCK:Enabled
CAB :\Internal Storage\Backup and Restore\CAB\sUC.cab
LOCK:Disabled
RST: Reset
in this way at reboot will start standard sUC procedure (remember MortScript is included & also that sUC cab wont be re-processed even if present in CAB folder), instead if the rom isn't UC compliant simply install sUC as any normal cab, then it will ask to restart (or restart manually) & automated procedure will begin on reboot[/b]
bye,
davide
OK, that's all very nice, but WTF is it?
Wouldn't hurt to have an "about" section in the post for ppl who see this thing the first time in their life.
GENIAL !!!!!!
aiiro said:
OK, that's all very nice, but WTF is it?
Wouldn't hurt to have an "about" section in the post for ppl who see this thing the first time in their life.
Click to expand...
Click to collapse
yep... you right sorry, I'll correct soon...
suiller
OMG~ You finally made it available!!! I'm going to test it with my HD and will report back once everything is organised
I didn't mean to sound rude, sorry... Anyway, thanks for the addition, but still - what is UC? User Configuration? Could You post some screenshots too to make it more comprehensible for dumbusers like me?
jackkkkk said:
suiller
OMG~ You finally made it available!!! I'm going to test it with my HD and will report back once everything is organised
Click to expand...
Click to collapse
oh FRIEND! I found you
yep, I'm looking here around to see if my mad projects can be useful
the cab isn't still perfect but should work, of course I haven't a different device from diamond so all you will be a sort of beta tester
I've removed all specific diamond stuff, so it should work
Of course this is just a starting point, I'm dedicating much time to develop this small piece of "software", thx also to many other friends
You know as it works, so you should feel a bit like at home
aiiro said:
I didn't mean to sound rude, sorry... Anyway, thanks for the addition, but still - what is UC? User Configuration? Could You post some screenshots too to make it more comprehensible for dumbusers like me?
Click to expand...
Click to collapse
yep you are right... UserConfiguration, the only difference is that you don't need to write any config file, at least not as "normal" user, it's enough to copy under correct folders the CAB plus other stuff you want installed/loaded after every flash/hard-reset
I'll porvide soon a video-guide, so it will be for sure more clear
OK, OK, nuff with making fun of me Or were You seriuous with video guide?
Cos I just had a brilliant idea - I'll install the damn thing and look for myself
I think I should have done that in the first place. But still, I believe screenshots would save some time understanding what's it really about.
Yeah Screwed Up Click for life
no no I'm serious friend... but I'll suggest to wait a couple of days because I'm working on a new version where is possible to cut-off all the specific HTC/manila stuff & above all I'm re-commenting all the registry entries that interact with OS
no no I'm serious friend... but I'll suggest to wait a couple of days because I'm working on a new version where is possible to cut-off all the specific HTC/manila stuff & above all I'm re-commenting all the registry entries that interact with OS
Hi,
really don't want to be rude or offence, but ... isn't this something like SASHIMI????
If so ... where are sUC's pros?
kind regards
fwt
almost... but it's very very simple... I'm testing an heavy modified version able to run on almost every WM6.x base device
OK the CAB is ready for testing purposes... please re-read 1st post because I'm making a better, I hope easier, description of features... thx
bye,
davide
Mate, this piece of software is plain GENIUS!
So much easier than the UC thing, with all the boring scripting. This way you just place in folders, and you are (mostly) done! Amazing stuff!
I have some questions/requests for you though...
Is there a way to repeat the procedure (restore at 1/2 start up), at a later time? This could be useful, for example, if some files get corrupted, or you just want to revert back to default cabs/settings, etc. So I guess what is needed is a way to manually activate the procedure.
Second thing is regarding mail settings. Is there a way to back this up? My hotmail settings get destroyed after every HR.
Cheers.
Forgot to mention, a manual activation of this procedure would also help if (for example) you want to make multiple program installations. This way you could just use the folder CAB, without wasting time on every single program you are installing/testing...
Cheers
krale said:
Forgot to mention, a manual activation of this procedure would also help if (for example) you want to make multiple program installations. This way you could just use the folder CAB, without wasting time on every single program you are installing/testing...
Cheers
Click to expand...
Click to collapse
hmm... it could be a good idea... even if some phases can't be reverted, or better it's very complicated to "go back"... such as for ramdisk
anyway many phases are yet accessible as indipendant scripts just take a look under "\Backup and Restore\scripts" folder, of course other script could be extrapolated but I'll do probably on next version... let's say this is a testing purpose version because I have to "think" that this app must work on many (almost all I hope) wm6.x based devices
As one of the end (l)users who first saw this in Suiller's Dia Duit rom series, I can attest to this resolving one of the major grievances of Windows Mobile rom-upgrades. With some "smart" planning ahead, getting everything back can now be mostly scripted by simply placing the install file in the correct directory. Same with restoring data from your pimbackup, or adding registry settings. Once again we have a case where the xda-developers have surpassed the "offficial" roms in user friendliness.
I have since moved on to WM6.5 (still on my Diamond), but I sorely miss sUC from my later roms.
//Svein
updated sUC, corrected some small issues
I corrected some default/samples reg files, so I suggest to erase all default *.reg files under REG folder to update correctly
move your personalization to something like "MyRegPers.reg"
please reports here bugs/issues/suggestions or whatever... thx

Determining package install location--can it be done?

WM 6.5: Is it possible to predetermine an EXT/OEM package's install location to a place other than the Windows folder (e.g., Program Files), in the interests of organization and browsing speed?
Thank you.
yes it can be done... but not cooking them a friend do this:
he makes a EXT pkg with a Mortscript file that runs at startup... that file runs a exe file in the storage card that uncompress a TGZ file in the directory you want then the same exe deletes the start up file
hard isnt it? its just imagination
Everything in the \files folder of an EXT goes into windows. If you want things copied to another location, you can do it with the app.dat file. Or, you can put all the files in either a .cab or a .zip file, and just install the cab during customization or use a mortscript to unzip the zip file to whereever you want (zips are a lot faster than cabs and are easier to create/edit, but you need mortscript cooked in). But, you're better off having things run out of \windows most of the time. If you have two copies of a program, you're just wasting memory. You can create an EXT for something like TCPMP that puts it into \program files\tcpmp, but what's the point if the version that's sitting in \windows works just as well? Also, if you just work out of \windows, you can convert the dll's, exe's and mui's that might be present in the package to modules, which usually gives you an app that boots up faster. Some things don't work out of \windows, so it takes experimentation, and not all files work so well as modules, which requires more experimentation. But, I would say that putting things in different directories just to be (or seem) organized isn't always a great idea. If you're dead-set on doing it, then install the apps with a cab or a zip file, because it will save rom memory and limit the number of rom files, which is always a good thing.
Thank you both--your post was especially informative Farmer Ted.

Categories

Resources