[Q] auto delete cab after installation during rom flash ? - Windows Mobile

Hi,
I've searched through the fora before posting this question : I've found a registry tipp to delete or not cab after installation but that's not what I need, I mean I prefer cabs to not be deleted for daily use.
My question is : I would like to know if there is a tweak to auto-delete cabs after installation ONLY during flash (when cabs are cooked into rom)
I use the classic config.txt with by example :
Code:
LOCK:Enabled
CAB: \windows\DiamondTweak.cab
CAB: \windows\TCPMP.cab
LOCK:Disabled
I tried without the lines "Lock:Enabled/disabled" (I don't know why we add those lines lol) but there is no difference after flashing, cabs are still there into windows dir. Is there a specific command line to add into config.txt to delete cabs after install process ?

You can't delete rom files; you can cook tcpmp in better though; relocate all the files to \windows, and you don't need to install it as a cab. I'm sure diamond tweak would work fine out of rom as well. You really don't need to put many programs in \program files.
The lock enabled/disabled command just locks the screen out from user input. It's pretty effin' annoying, if you ask me. I leave the screen unlocked, in case the customization hangs (although I don't use autorun anymore).

ok, thank you

Related

PLEZZ-How prepare the EXT Rom Writable&Visible on hardre

Hey guys,
I am trying to create my EXTENDED ROM so that on Hardreset will automatically make the EXT ROM writable AND visible with the name "ExtROM"
Here's my Config.txt:
LOCK:Enabled
CAB: \Extended_ROM\DISABLESECURITY.CAB
CAB: \Extended_ROM\Signed_SSD_BTUR_Patch_For_BT_Cannot_Initial.sa.CAB
CAB: \Extended_ROM\Signed_SSD_Shortcut_WWE.sa.CAB
CAB: \Extended_ROM\Signed_UNI_o2UK_UAProf.sa.CAB
CAB: \Extended_ROM\Signed_UNI_Remove_BatteryIcon.sa.CAB
CAB: \Extended_ROM\Signed_UNI_PictureEnhancement_reg.sa.CAB
CAB: \Extended_ROM\Signed_UNI_Disable_ErrorDump-Obex.sa.CAB
CAB: \Extended_ROM\Signed_Version.sa.CAB
CAB: \Extended_ROM\CAB-Customization-O2UK-Universal.CAB
CAB: \Extended_ROM\Signed_MoveO2Tone.sa.CAB
CAB: \Extended_ROM\CAB-Shortcut-O2UK-22Aug05.CAB
CAB: \Extended_ROM\Enable_VT_RTPlugin_0727_2_signed.CAB
CAB: \Extended_ROM\VT_DisableOK_O2_0830_signed.CAB
CAB: \Extended_ROM\TRE.arm.CAB
EXEC: \Extended_ROM\UNI_ext_rom_unlock.exe
RST: Reset
Notice I've added Buzz UNI_ext_rom_unlock.exe at the end. But Buzz's just unlocks the ext. rom for writing... Now I also want the Config.txt to automatically make the nessecary Registry tweaks to make the Ext. Rom VISIBLE.. That is, without making manual tweakings. How do I go about making the required change to the Config.txt to apply the right registry settings for that?
BTW:
I would prefer it to be visible with the name "ExtRom" or "Storage", rather than the default "Extended_Rom", that is according to Buzz suggestion as to avoid it be called Extended_Rom2 or making the StorageCard called StorageCard2 later on.
Please guys.. make my day And let me donate to both XDA-Developers and Buzz site as making me happy )
Cheers,
MOBILER
In theory all you should need to do is install the Uni_ExtRom_unlocker.cab but this cab file is defective and writes the wrong value to the registry. I would suggest waiting until someone post a cab with the correct values for the registry.
The Extended_Rom is already readable. Just use Total Commander to look at it. Goto Total Commander and type in \Extended_ROM and you can see its contents. I have never had to change the registry to view it on the universal. Had to see it on Blue Angel. Not sure how to rename it, but i have seen it in one of threads here or over at buzznet.
Maybe its just on the Jasjar, but its always been available to see it. Even immediately after upgrading to the latest rom.
If you want to write to it, just the run the uni_unlocker and then copy in your prepared extended_rom.
Attached is a cab file that I used today to install the unlocker to enable writing to the extrom. This cab also has the registry settings, While dah seems to say ot doesn't work. it works for me. And the registry setting he talks about is not G31 in this cab.
Interesting...
This Uni_ExtRom_unlocker.cab is not the same as the Uni_ExtRom_unlocker.cab I downloaded 2/24/2006 and has the corrected value for DriverPath. Now if they would change "ExtendedROM" to ExtROM" we would be set.
Thanks
Thanks dah54 and eagle 1,
I know I need to the use the Total Commander, but that's exactly the problem. I don't want to use the TC, because I want it to be visible just like a normal storage card, so that i would be able to directly install software there, and not just being able to access it via total commander, that is I already do.
And that's been my point, over the last few days, the CABs files here where faulty. Try the version of eagle 1's cab (in the 3rd post) it should do all most all that you want, the name will be ExtendedROM but the normal file explorer will see the Extended ROM as a storage card, and you will not require any additional software. Install this version, run the program, turn your device off, wait 5 minutes, then soft reset with the button. You should see the ExtendedROM folder.
Note>> If you wait after turning your device off, this gives the Universal time to write the changes made to the registry, to the registry. If you simply soft reset and the changes have not been written to the registry your Extended ROM will not be seen. Then you must re-install the program to get the registry values reloaded to the registry!
Thanks a lot dude!! time for some donations to this great board!

CFG.txt - getting and annoying error!

Hi all, (appologies for the typo in the subject should be 'getting an annoying error' ! Doh!)
Wonder if anyone can help me on this little issue I'm having!?
I've set up a CFG.txt file that I want to run with all my apps / games / **** in, but I'm encountering an unusual error at the beginning of the process (luckily I didn't add the Lock at the beginning!! ;-) )
Here are the first lines of the CFG
**************************
SHOW:\Storage Card\CABS\custom.bmp
XML: \Storage Card\CABS\WWE_Vista_Device_Center.xml
XML: \Storage Card\CABS\MMS_Folder.xml
XML: \Storage Card\CABS\MMS_Account.xml
XML: \Storage Card\CABS\WindowsUpdate.xml
CAB: \Storage Card\CABS\A2DPToggle.signed.arm.CAB
**************************
This is then follwed by a list of all the rest of my stuff, which has all been worked on and had all the interaction messages removed (still some little positioning errors with files, but that's something I can eventually work out!)
The following error comes up 4 times when it runs AFTER the custom.bmp is shown:
**************************
This file : \Storage does not exist!
**************************
Any Ideas Folks??? Is it something to do with the XML files - 4 files, 4 errors? - if so, why? and how do I get it to install them? Is it possible to create a *.cab to install them? I've got a trial copy of CE Cab Manager!
I'm using 'Pandora PreConfig Launcher' that I found somewhere in these forums (will also post this query to that forum page, too)
Managed to get rid of all the rest of the interaction in the list - just this stopping me now!! Any and all help MOST appreciated.
Bird
May be you need to change folder everywhere from CABS to EXTROM in your cfg.txt
Though of that, ...but...
April 1 said:
May be you need to change folder everywhere from CABS to EXTROM in your cfg.txt
Click to expand...
Click to collapse
The reason it's in CABS is to do with the Launcher - it has a sample config file with it, and aims the launcher towards the CABS folder and means that I can run this cfg without having to hard reset each time - thought that I could iron out any errors with the config file before having to hard reset.
Think I've got a workround, will try this evening and let all know - it seems that it's possible to insert XML commands at both pre and post stages of a cab using CECABManager, so I'm going to try and embed the XML into some of the cabs that they relate to and see if I can't get it to bypass them - presuming, of course, that they are the things causing the issue!! As I said, I'll let you know.
Bird
Your feedback will definitely enlighten others.
Final solution
OK - first off, adding the XML as pre and post script in the cab files worked a treat! WINCE CAB MANAGER is certainly the way to go on that score, so anyone looking to add XML to the start of a CFG should go look for it - 30 day unrestricted trial
BUT ...
I worked out another solution that suites my needs better really:
two apps:
SPB Backup
SPB Clone
As I install my apps I'm creating a backup each day, then adding some new apps and testing for the day - any problems - use clone to go back a day!
Once I have all working, then I'll be able to use backup to gather the PIM info once a month, use the (clutter free) clone to put my BA back to it's just finished install state and use backup to add any recent PIM back in!
VIOLA! constantly clutter free solution! and no need to keep entering in your passwords n' stuff
Don't know why I didn't think of it before - it's exactly what I do on my PC!! DOH!
Bird!

extened rom/cab/cooking question

from what i see in other posts, there's no exteneded rom...
i've got hypercore kitchen, and using that and reading some documents, to install cabs into my rom, use packagemaker (can't remember who's) place the package in build etc. but some cabs have files by the same name as others which creates a problem for buildrom - file already exists
so my thought was put problem cabs in ext. rom, but as there is none, how can i go about putting these cab as cabs, and getting them to install automactically?
arh, think i've worked it out. in OEMAPPS, is a fileConfig_AP.txt, where it installs opera from a cab,
Code:
CAB: \WINDOWS\WM6_PPC_HTC_Opera86_2730_WWE.CAB
so if i put my cab in that folder, and copy the syntax, it will install what i like as in doing the same in the ext.rom

xda lls flashing problem

help help help. tried to flash my windows 2003 phone to wm6 using maupgrade tool. didnt work propely now phone has dim display saying serial at the top and v.2.03 at bottom! pc wont recognise it, whwt have i done wrong!!! rga
Dude, did you follow the steps in the wiki? or did you just flash it using the tool without setting it up first?
read wiki, tell u what happened i was upgrading using baupdate tool and took phone out of dock b4 it had finished! so now at stuck in bootloader mode( serial at top, and v2.07 bottom), so when try and flash again same as it doesnt detect old system, to overide with wm6 software. i cant figure out how to sort it now as cant get off bootloader. connects to pc with usb link, but cant see phone in pc because it as if phone is empty at the moments, connects as an unknown device. just trying to find out how i would flash the phone from the start now! rga
ive done it. the problem i was having was finding the replacement driver for usb connection when i wanted to use mmty and baupgrade tools. sweet now , using wm 6.5 now its classsssss! RGA
so the question is...... Did you figure it out already or not?
@markanthonypr
i guess he's happy now man. he will love flashing his BA from now on hehehe...
@reggaedave
Congrats man!
reggaedave said:
help help help. tried to flash my windows 2003 phone to wm6 using maupgrade tool. didnt work propely now phone has dim display saying serial at the top and v.2.03 at bottom! pc wont recognise it, whwt have i done wrong!!! rga
Click to expand...
Click to collapse
You seem to be new to the forums. Thank you for joining XDA-Developers.
Please take a minute to go over the Rules and Regulations of the forum.
Also, it seems that you are a Blue Angel owner, in which case I will encourage you to go over the BA forum regulations here
For questions, please use the search function in the site or simply Google for an answer. More than likely, your question has probably been answered before and the answer is floating around somewhere in the site. That being said, unless you are contributing to the site with either skins, roms, ports, new applications, programs, games, etc., please [highlight]do not[/highlight] open new threads. However, if you do have questions, you can post them either in the BA Q&A section or in the General Q&A section.
Thanks.
ha yeah im happy enuf! i dont know anything about these phones, ive been modding Sony Erricson phones for the past 2 years but this ones all new to me!.
ROM VERSION 6.50.21.WWE
ROM DATE 03/28/09
RADIO VERSION 1.06.00
PRTCL VERSION 1337.38
EXTROM
In another pack i downloaded, nothing to do with what i flashed, it had a file labelled EXTROM, with loads of stuff in it, could this be put on my phone, bear in mind i know almost nothing at the moment? cheers off work 4 a week reggaedave!
the "file" extrom is an archive, which first needs to be unpacked to become the folder extrom. in there you find the following things:
1. Autorun.exe
2. CFG.txt
3. custom.bmp
4. a lot of cab files
there are 3 basic ways to handle the extrom after flashing:
1. you copy the cab files you want to an sd card and install them one by one
pro: fast if you know you don't need much or want to install to ramdisk or storage card
con: slow, when you install a lot of programs that go to the phone memory anyway and you plan to install the same progs every time you hard reset or flash a new rom
2. you customize you extrom by deleting cabs, adding new ones (you have to list them in cfg.txt)
pro: one folder to copy, installation process automated
con: all progs go to phone memory, you need to customize the cfg first
3. you take the extrom as it is
now for the explanation:
the extrom is a folder containing basic system programs that are not included in the rom, so their installation is optional. i don't know whether you worked with your device before, bust most names should ring a bell, if not, refer to the wiki or google the names for detailed descriptions.
what you need to do to install the extrom as it is: copy the folder extrom to an sd card and insert it after hard reset (make sure the cfg.txt lists all the cabs in the folder), a window will appear that tells you that the automated customization begins, you wait, after the next (automatic) soft-reset you have the programs on your device.
(mmh, probably that last part was the answer to your question, should have started with that. )
greetz
Chef_Tony
ok ill have a go now, thanks for the advice! cheers..RGA
Chef_Tony said:
the "file" extrom is an archive, which first needs to be unpacked to become the folder extrom. in there you find the following things:
1. Autorun.exe
2. CFG.txt
3. custom.bmp
4. a lot of cab files
there are 3 basic ways to handle the extrom after flashing:
1. you copy the cab files you want to an sd card and install them one by one
pro: fast if you know you don't need much or want to install to ramdisk or storage card
con: slow, when you install a lot of programs that go to the phone memory anyway and you plan to install the same progs every time you hard reset or flash a new rom
2. you customize you extrom by deleting cabs, adding new ones (you have to list them in cfg.txt)
pro: one folder to copy, installation process automated
con: all progs go to phone memory, you need to customize the cfg first
3. you take the extrom as it is
now for the explanation:
the extrom is a folder containing basic system programs that are not included in the rom, so their installation is optional. i don't know whether you worked with your device before, bust most names should ring a bell, if not, refer to the wiki or google the names for detailed descriptions.
what you need to do to install the extrom as it is: copy the folder extrom to an sd card and insert it after hard reset (make sure the cfg.txt lists all the cabs in the folder), a window will appear that tells you that the automated customization begins, you wait, after the next (automatic) soft-reset you have the programs on your device.
(mmh, probably that last part was the answer to your question, should have started with that. )
greetz
Chef_Tony
Click to expand...
Click to collapse
Excellent description Chef Tony! It should be added to the Wiki/Wizard page as there is no clear description of it there, and I had to search this forum for quite a while to get a definitive answer as to what an extrom was!
okey dokey failed! ha. file extrom contains AUTORUN, CUSTOM, CFG, and many CAB files. Placed it on memory stick. Tried to open cabs one by one none worked, said was unsuccessful. One thing is that the CFG file is blank, do i need to be writing text in there of some sort? This is harder than a sony erricsson phone! what and how do people use the display a deskbar on the main screen, ive disabled the windows default set of icons, is there a better external app to use for it? answer whatever you can i know nothing about ppcz
reggaedave said:
okey dokey failed! ha. file extrom contains AUTORUN, CUSTOM, CFG, and many CAB files. Placed it on memory stick. Tried to open cabs one by one none worked, said was unsuccessful. One thing is that the CFG file is blank, do i need to be writing text in there of some sort? This is harder than a sony erricsson phone! what and how do people use the display a deskbar on the main screen, ive disabled the windows default set of icons, is there a better external app to use for it? answer whatever you can i know nothing about ppcz
Click to expand...
Click to collapse
It sounds to me that you need to go back to suggestions of reading the wiki my friend. You need to downgrade to wm2003, and follow instructions step by step. This is where to start... Choose the proper answers and it will walk you through.
and if your cfg.txt file is really empty (which i don't understand, as many people downloaded the package and had it working), here is a sample extrom, that i wrote for myself:
LOCK:Enabled
SHOW:\Storage Card\EXTROM\Custom.bmp
CAB: \Storage Card\EXTROM\ADC.cab
CAB: \Storage Card\EXTROM\A2DPFix.cab
CAB: \Storage Card\EXTROM\Extrom_version.CAB
CAB: \Storage Card\EXTROM\GoogleMaps.cab
CAB: \Storage Card\EXTROM\HTC Large Title Bar.cab
CAB: \Storage Card\EXTROM\HTC_Task_Manager_2.1_34837.5.cab
CAB: \Storage Card\EXTROM\HTC_Touch_Calculator_Skin.cab
CAB: \Storage Card\EXTROM\HTC_WMP_Touch_Skin.cab
CAB: \Storage Card\EXTROM\Office_6.1.21202.cab
CAB: \Storage Card\EXTROM\PHM Regedit.cab
CAB: \Storage Card\EXTROM\PIE8_Flash3.1_21202.cab
CAB: \Storage Card\EXTROM\pocketrar.cab
CAB: \Storage Card\EXTROM\psShutXP.cab
CAB: \Storage Card\EXTROM\RDM_21202.CAB
CAB: \Storage Card\EXTROM\sipchange.cab
CAB: \Storage Card\EXTROM\skybox.CAB
CAB: \Storage Card\EXTROM\skybox.CAB
CAB: \Storage Card\EXTROM\SMS Delivery Receipt Fix.cab
CAB: \Storage Card\EXTROM\WMWidgets.cab
CAB: \Storage Card\EXTROM\youtubeplay.cab
LOCKisabled
HIDE:Enabled
EXEC: \Windows\DelCDetect.exe
HIDEisabled
RST: Reset
as you can see it is just some basic commands and a list of cab files, so you can do it yourself.
Oh, and where the smileys are, there of course has to be ":" "D" but as they stand without space, they make fun of the HIDE function should have posted it is code
@reggaedave,
How much free storage space do you have after a clean flash?
Everybody more cleverer than me im looking into extrom!
Storage
total: 43.26 MB
in use: 10.80 MB
free: 32.45 MB
program
total: 90.93
in use: 29.86
free: 61.07.
Learning the basics a bit now after getting bollocked! ... silly question but here goes, if i wanted to replaced png in the windows folder, should i just overwrite them with my own pngs, with same dimensions and names, is that how people change the interface graphics? apprentice ppc modder!....
Also trying to get my head around themegen program, because got loads of stock gfx to use so hopefully should be able to create some fantastic themes soon! over and out! Rga
reggaedave said:
Everybody more cleverer than me im looking into extrom!
Storage
total: 43.26 MB
in use: 10.80 MB
free: 32.45 MB
program
total: 90.93
in use: 29.86
free: 61.07.
Learning the basics a bit now after getting bollocked! ... silly question but here goes, if i wanted to replaced png in the windows folder, should i just overwrite them with my own pngs, with same dimensions and names, is that how people change the interface graphics? apprentice ppc modder!....
Also trying to get my head around themegen program, because got loads of stock gfx to use so hopefully should be able to create some fantastic themes soon! over and out! Rga
Click to expand...
Click to collapse
That is exactly what I thought! You should seriously taking a look at the Wizard in the Wiki that markanthonypr pointed to you. I'll put it in simple terms... you did not follow the process completely (didn't unlocked and resized the storage). The reason why you cannot install your cabs for your ExtRom is simply because the old ExtRom still exists in your phone. Also, since all of these files are still there taking up space, instead of having about 60 MB of storage, you have roughly 43 MB. Long story short, you have to start from scratch (and I do mean from scratch... go back to stock 2003). Please follow the Wizard in the Wiki [highlight]step by step by every single step.[/highlight]
After you get an OS installed properly, you can continue modding the phone to your liking, but at this point, it is meaningless since you will have to hard reset your device a few more times.
ERROR!
Oh lord... ok, ive seen a lot of info since i did my first flash, ( seen the formating storage info), ill have a look and see if i can sort it.Originally i was stuffed because i got to the point that my phone was stuck in bootloader mode and paniced so thats why a rushed flash happened, and because it was about 3 in the morning aswell. Ill follow link, when i did my flash i followed a post actually in a thread, not from wiki, suppose that didnt help me much.Ill try again from scratch!
Wowzer what a night. Not done it yet. Had a total nightmare. Flashed my phone back to WM6 again in the end. Followed the instructions but couldnt pull it off, have to have another go.
Got as far as getting Downgrade to wm2003 pack, put the nk.nbf file in folder that had been extracted, but couldnt get maupgrade tool to recognise my phone to reflash it. So phone was stuck in bootloader so flashed it again using maupgrade with the WM6 files in and it come up straight away, so just flashed it to get back to beginning.
Will have to make my own notes and do it myself without having to search pages, also b4 i couldnt get mtty app to get into phone, wouldnt let me type commands so that was doing my head in. Couldnt find any info in any wiki wizzard link about commands for mtty! anyhows im knackered. Work in progress. Am i right in thinking that i need to flash my phone back to a wm2003 rom, do the nessasary formatting of storage, then upgrade to a version of wm6?? is that what i should be looking at? Knackered No time for any REGGAE Dave!
Yes!
Yep Dave, that is correct.
You need to flash back to 2003, install the unlock and unhide cabs as per the Wizard and execute them in the correct order.
Follow all steps! Do not skip anything and you should be ok.
After that continue on through the Wizard instructions to flash your new rom.
Best of luck.

Help with Extended_ROM

ok, so iv figured out i can use the file explorer - TotalCommander to overwrite the files installed by ''SmartDial.cab'' and now im using my own dial pad skin. (was using resco but it wouldn't overwrite for some reason..)
im trying to make my own extended rom, maybe a whole rom but my dialpad will be included in my extended rom..
for example..
lock: /enabled
cab: /extended_rom/smartdial.cab
**I need a command to install my pics to the windows folder - overwriting the smartdial.cab's pictures**
Lock: /disabled
Rst: /reset
This is why I want to find a way that will simply extract my pictures into the windows folder deleting the one's just installed - So I don't have to go through file by file overwriting them with TotalCommander.
please any help will really be appreciated..
How to unhide & unlock Extended_Rom on HTC HD2 ?
Hi,
Can you tell me how to unhide and unlock the Extended_rom folder on my HTC HD2 (Leo), please?
What are the necessary registry settings that need to be changed? I am interested in installing my file so as that after a hard reset, my app is going to install again without me having to install it manually.
Thank you.
hey, before you start, go to the wiki page.. but, theres no point.lol ive realised that now.lol
you want to install pretty much everything onto your sd so you have more memory on the phone.

Categories

Resources