[SOLVED] Stock Packages/What does what? - Windows Mobile

Is there a list anywhere that explains what each package in a rom does exactly? Sprint TP2 specifically.
For example: Im having some folders getting written into start menu that I dont want there. They arent from packages Ive added but from stock packages. Is there any easy way to delete these entries without going thru every package.
Better example: I removed Windows Live. Now I have an empty Outlook folder in start menu.I want to delete it from rom.
TIA.

NCTP2 said:
Is there a list anywhere that explains what each package in a rom does exactly? Sprint TP2 specifically.
For example: Im having some folders getting written into start menu that I dont want there. They arent from packages Ive added but from stock packages. Is there any easy way to delete these entries without going thru every package.
Better example: I removed Windows live. Now I have an empty Outlook folder in start menu.I want to delete it from rom.
TIA.
Click to expand...
Click to collapse
Pretty good place to start.
Link
& One more Link

NCTP2 said:
Is there a list anywhere that explains what each package in a rom does exactly? Sprint TP2 specifically.
For example: Im having some folders getting written into start menu that I dont want there. They arent from packages Ive added but from stock packages. Is there any easy way to delete these entries without going thru every package.
Better example: I removed Windows live. Now I have an empty Outlook folder in start menu.I want to delete it from rom.
TIA.
Click to expand...
Click to collapse
Use Agent Ransack to search your kitchen for files containing "Outlook.lnk". You will find it in an initflashes.txt/app.dat or initflashes.dat. Then just delete the line making the folder using a text editor. Agent Ransack can search all files for whatever text you are searching for, which is a useful tool for your kitchen. I can't remember where the outlook.lnk comes from, but I know sense 2.5.2018 has a manila file that makes a couple shortcuts too. In that case, you'll have to edit the manila file (should still show up in agent ransack in my experience). Here is a list of packages and what they do, though it's not 100% complete.

Awesome.
The links and the app are exactly what I needed.
Thanks guys. Should definitely speed up the (learning) process.

Related

Posible to remove YouTube shortcut from lunch browser place ?

Hello..
is it posible to remove short cuts from internet place from lunching browser ?
i have this issue from cell company which its allready there and i want to remove it .. (( not the youtube tab.. )) the red Airtel Live tab .. also the browser set to be the first page to lunch is www.airtel.in .. and im very annoyed from it .. is there's a way to remove it ? or the abbility to chose which web page that i want to lunch once i press on lunch browser ???
thx
any solution ???
I need a tab removed too, it's so annoying to press everytime the wrong tab instead of youtube
Depending on how your ROM has been set up by your Telco... this should work. Go to your Main Memory then see if there is an "\Application Data\Manila" folder. If there is,...then the fix is simple.
Either rename the \Manila folder to something else, or go into that folder and rename or move the 2 files
InternetPortal.xml
InternetPortal-en-AU.xml (where -en-AU is your language /country).
If the ROM can't see these files you will get the default settings from "Windows\27c65cbd_manila".
Your Carriers "OperatorLinks" should now be gone from the Internet Tab. Not the shortcuts but the Operator links that look similar to the YouTube one.
If you do not have an "\Application Data\Manila" folder then the solution is slightly more complex as you will have to edit "Windows\27c65cbd_manila".
Try the above method first. If no luck report back and me or someone else can post the other more complex method.
logger said:
Depending on how your ROM has been set up by your Telco... this should work. Go to your Main Memory then see if there is an "\Application Data\Manila" folder. If there is,...then the fix is simple.
Either rename the \Manila folder to something else, or go into that folder and rename or move the 2 files
InternetPortal.xml
InternetPortal-en-AU.xml (where -en-AU is your language /country).
If the ROM can't see these files you will get the default settings from "Windows\27c65cbd_manila".
Your Carriers "OperatorLinks" should now be gone from the Internet Tab. Not the shortcuts but the Operator links that look similar to the YouTube one.
If you do not have an "\Application Data\Manila" folder then the solution is slightly more complex as you will have to edit "Windows\27c65cbd_manila".
Try the above method first. If no luck report back and me or someone else can post the other more complex method.
Click to expand...
Click to collapse
The method is the same, you can find in both files the entry
<Operator Links>
...
</Operator Link>
Just remove them and all Links are Removed. Editing the 27c65cbd_manila is just a bit dangerous if you don't make a copy before you are editing it
Yeah but you can remove \Application Data\Manila files hocus pocus with no editing - that is why this method is better, if you simply want to remove branding as these guys do. The underlying 27c65cbd_manila version will keep the stock ROM settings.
One method is to delete a file that is superfluous - the other is to edit a file that Manila needs. So not the same.
Like you say the files are basically identical though, each with the setting coming as you say from the operator links area.
I guess you could say I described the Safe Simple dummies method that should work.
logger said:
Yeah but you can remove \Application Data\Manila files hocus pocus with no editing - that is why this method is better, if you simply want to remove branding as these guys do. The underlying 27c65cbd_manila version will keep the stock ROM settings.
One method is to delete a file that is superfluous - the other is to edit a file that Manila needs. So not the same.
Like you say the files are basically identical though, each with the setting coming as you say from the operator links area.
I guess you could say I described the Safe Simple dummies method that should work.
Click to expand...
Click to collapse
I agree, but if you just remove the two xml-files, the youtube-link will still be there because it's also integrated in the manila-file.
True but if you re-read what the guys were after.. they want to remove the links that look like the youtube link. Not the you tube link. So the simple method will do that.
i found the two files in manila internetPortal.xml & internetportal-en-gb.xml
but its protected and i cant delete them ... hidden and protected as system files read only
any way to remove them ??
badrey said:
i found the two files in manila internetPortal.xml & internetportal-en-gb.xml
but its protected and i cant delete them ... hidden and protected as system files read only
any way to remove them ??
Click to expand...
Click to collapse
You have to deactivate the TF3D before you can edit/delete them.
thanks alot that really helped me
You're Welcome
27c65cbd_manila editing help
logger said:
If you do not have an "\Application Data\Manila" folder then the solution is slightly more complex as you will have to edit "Windows\27c65cbd_manila".
Try the above method first. If no luck report back and me or someone else can post the other more complex method.
Click to expand...
Click to collapse
@logger
I am on sprint and do not have the "\Application Data\Manila" folder so I have been playing with "Windows\27c65cbd_manila" to add a shortcut to Ticker Tape 0.5 by GeckoDev.
I have gotten the shortcut I wanted to appear on the internet screen (as shown in the screen shot below) but when I click the shortcut I get this error msg (as shown in the other screen shot below)
The File 'Ticker Tape' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
Click to expand...
Click to collapse
Anyone have any idea how to fix this error...I have been searching but with no luck -
I have tried placing the exe and all related files in the widows directory because that is where the You Tube files are located but it didn't work. I think this might have something to do with it but I can't figure out in the "\Windows\27c65cbd_manila" file the file path to the You Tube icon does not exist that I can find. It might be a hidden folder but I can't see it in Total Commander. It says it is located "\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc". Also what is a .qtc file? My searching points me toward "Apple QuickTime Support file" but I have never heard of it as an icon file in WM.
Any help would be greatly appreciated

How-To's For Nubs

Hi guys, this is my first windows mobile ever, and i've come on here and looked at all these threads for around 2 weeks now and id really like to start doing things!
I've looked at the *Leo hints and tips* and downloaded Resco, so i now know how to edit values and things in the root folder, but what i'm unsure about, and i'm sure all the new people to windows phones are to, is where to start?
I mean the phone reads .cab files, but say I download a .cab file, do i download it on my pc and put it on the phone, if so where to? After that do i have to click it, run it, what? Do i download it off my hd2 and it'll run? which I have done, but after installation, where is it stored if i want to open the file? What happens if i install a .cab and don't like it? Where is it for me to delete and how do I go about this? how do I uninstall things i've installed?
What im asking is, if there is a starting tutorial for these things, can it be a sticky because there are hundreds of threads on here and the search tool and my searching isn't finding what I really want...essentially...'HD2 for dummies...' guide.
sorry if this has been said before, or i'm expected to know these things, but if someone could point me and many others in a direction, or a sticky could be made, then id be one happy welsh man!
Cheers guys.
The simple answer to your question about cab files is that they're installers, just like you have on your PC. When it's installed, you can (if you wish) delete the cab file. (I keep all mine so if I upgrade my ROM then I can install things again without having to find the cab files all over again.) There's also "remove programs" in the windows settings folder, and you can uninstall apps from there.
Think of it more like a PC than a phone and you'll get on with it a lot easier.
Also, if it's windows you want help with then there's dedicated windows folders on this forum. Windows isn't specific to the HD2, so you will usually get better help in the more specific areas.
Other than that, just play with it and have fun.
Hope this helps
To install a cab you just need to copy or download it to your phone and then click on it. An installation wizard will then appear to take you through the installation process.
right okay, so the .cab i can delete as if it was a .exe file, but where do i save it on the phone for it to run, which folder?
When using file explorer and tweaking and installing .cabs, thats windows though i pressume? Not htc...
matt_attack_2k1 said:
right okay, so the .cab i can delete as if it was a .exe file, but where do i save it on the phone for it to run, which folder?
When using file explorer and tweaking and installing .cabs, thats windows though i pressume? Not htc...
Click to expand...
Click to collapse
You can run the cab file from anywhere you like on the phone. If you're planning on deleting them after installing it really doesn't matter. Like I said, I keep my cabs (and would recommend it too!), so I have an "installers" folder, with sub-folders for different types of cab files.
Installers and tweaks are not specific to either windows or HTC - they could be either or both.
I personally keep all my cabs at Storage Card\Backup\CABs I transfer them to there from my PC, run them from there, save them there.
You can put them in any folder you like and run them from anywhere you like. There are no rules on where cab files need to be.
right okay, so i install a .cab file, say for example ive installed a new unlock slider, i change my mind and don't want that one anymore i would like the old one back, what do I do?
matt_attack_2k1 said:
right okay, so i install a .cab file, say for example ive installed a new unlock slider, i change my mind and don't want that one anymore i would like the old one back, what do I do?
Click to expand...
Click to collapse
In that specific example, you'd have to check the thread where you got the new slider from. That's overwritten original files so obviously an uninstall doesn't recreate them. I tend not to install theme mods that can't be rolled back, purely because of this!
I've tried some alternative lockscreens before, and they definitely had the original files in a cab so you could undo it.
right okay. and for example if i was to install, i don't know, an additional button up onto the top bar by the start menu, how would I go about deleting?
Back to my OP, why is there no tutorial or hot-tips threads made as a sticky for people new to this stuff like I am?

OEM of Cabs. Program not installing after flash.

I have followed this tutorial exactly and put the folder it gives me here.
D:\Kitchen\OEM
The program I am trying this with is Advanced_Configuration_Tool_v3_3
The D drive is my second hard drive, however I did all the work to make the folder on my C drive just like the tutorial said. Then copied the folder to D:\Kitchen\OEM
Thus making D:\Kitchen\OEM\Advanced_Configuration_Tool_v3_3
Everytime I cook this ROM it does say Advanced_Configuration_Tool_v3_3 in the CMD however Advanced Configuration does not install when I flash.
What is it that I am doing wrong? I have searched and found nothing about my problem. I have also tried using a pre-made Advanced_Configuration_Tool_v3 from XDA2'S OEM PACK. So I do not think I am making it wrong, instead I am placing it in the wrong location or there is a file I need to edit to include the new folder. Those are just my guesses as this is my first time as a Chef and I have found no information on this particular problem.
Does a file that needs to be edited exist? From what I've gathered, I just turn the cab into a OEM and place that folder inside the folder that I did. Is that correct?
The Kitchen i am using is New Old style kitchen based on Bepe's tools
I have tried to make this as readable as possible, with as many links to what i refer to as possible. If there is anything I can do to explain my problem easier please let me know.
EDIT: I have found Advanced Config in my windows folder, however no shortcut was made in any menu. How do I fix this?
Also can someone tell me what the following means? Most folders in the folder OEM are labeled PACKAGE_Raphael_ then the name of the program. Then theres another folder labeled the same thing except at the end it has _0409
Also theres a folder named 0409
EDIT: I finaly got it to work. I'd like someone to explain why this made it work and explain what I put in my last edit. I got this to work by using package-creator-v2.7.
I dont know about EVK cos i use OsKitchen, anyway give a look here for converting Cab to OEM or EXT http://forum.xda-developers.com/showthread.php?t=525302 its a cool and easy to use.
TheSlimHim said:
I have followed this tutorial exactly and put the folder it gives me here.
D:\Kitchen\OEM
The program I am trying this with is Advanced_Configuration_Tool_v3_3
The D drive is my second hard drive, however I did all the work to make the folder on my C drive just like the tutorial said. Then copied the folder to D:\Kitchen\OEM
Thus making D:\Kitchen\OEM\Advanced_Configuration_Tool_v3_3
Everytime I cook this ROM it does say Advanced_Configuration_Tool_v3_3 in the CMD however Advanced Configuration does not install when I flash.
What is it that I am doing wrong? I have searched and found nothing about my problem. I have also tried using a pre-made Advanced_Configuration_Tool_v3 from XDA2'S OEM PACK. So I do not think I am making it wrong, instead I am placing it in the wrong location or there is a file I need to edit to include the new folder. Those are just my guesses as this is my first time as a Chef and I have found no information on this particular problem.
The Kitchen i am using is New Old style kitchen based on Bepe's tools
I have tried to make this as readable as possible, with as many links to what i refer to as possible. If there is anything I can do to explain my problem easier please let me know.
Click to expand...
Click to collapse
Are you sure that Advanced_Configuration_Tool_v3_3 was not installed?
The default link installation path for this app is the Settings\System folder and not Start menu\Programs.
Goto Start\Settings\System and check if there is an Advanced Config icon there.
dotcompt said:
Are you sure that Advanced_Configuration_Tool_v3_3 was not installed?
The default link installation path for this app is the Settings\System folder and not Start menu\Programs.
Goto Start\Settings\System and check if there is an Advanced Config icon there.
Click to expand...
Click to collapse
I did check in the settings and it is not in any of the tabs, but I did find it in the windows folder. How do I fix this? Like I said I have tried both making my own a pre-made. I'm am going to try what af974 suggested but I do not have high hopes since pre-made OEM did not work. I feel as if I am putting it in the wrong folder.
af974 said:
I dont know about EVK cos i use OsKitchen, anyway give a look here for converting Cab to OEM or EXT http://forum.xda-developers.com/showthread.php?t=525302 its a cool and easy to use.
Click to expand...
Click to collapse
Thank you. I'll give it a try, however it is not the OEM of the Cab that is the problem because I have tried pre-made.
For the EVK based kitchens you NEED an app.dat file in the root of the package you're trying to put in the ROM. That file, gets merged with the rest of the initflashfiles.dat file that can be (usually) found in OEM\0409\OEM_Lang_0409 . If you don't tell the system to copy the shortcut (usually found in the package as a *.lnk) to somewhere on the start menu, then you wont get a shortcut to the app

Frequent Rom Flashing.. Backup email settings and restore..

Gurus,
I tried searching for this but in vain. I keep flashing all the great roms posted here frequently. And every time i have to configure my email accounts from scratch and this is a real pain. Is there any way to backup the settings like we do in PIM backup and restore upon reflashing the ROM'S?
Help greatly appreciated...
Thanks,
Raj
prudviraj said:
Gurus,
I tried searching for this but in vain. I keep flashing all the great roms posted here frequently. And every time i have to configure my email accounts from scratch and this is a real pain. Is there any way to backup the settings like we do in PIM backup and restore upon reflashing the ROM'S?
Help greatly appreciated...
Thanks,
Raj
Click to expand...
Click to collapse
Same here, what is best method to backup & restore phone settings regardless of what ROM we are using.
What about Microsoft my phone?
get makisu from HERE
(its a plugin to sashimi, but it will run standalone too)
run it, (it may take a few moments to start, be patient) enter your account details, add as many as you like, including wifi settings
tutorial video HERE
copy the xml file it creates (created mine as program files/makisu/makisu.xml)
get the microsoft cabinet sdk from HERE
extract it, and in the BIN folder is an .exe file called makecab.exe
I coppied that file out to its own folder, i dont use anuthing else in the sdk.
put makecab.exe and makisu.xml in a folder together, rename the xml to _setup.xml
open a command line window, and browse to that folder.
(Useful tip for vista/7, with the folder open on screen, hold shift and right click, you will get the option to 'open command window here')
issue the command
makecab /D COMPRESS=OFF _setup.xml mail.cab
(set mail.cab to whatever.cab name you want)
Thats it, copy the cab to your phone and run it when you need to set up your email accounts (and wifi if you set that too, very handy, i've automated 5 email accounts and 3 wifi networks)
(You could also just stop at the xml stage, and next time you hard reset, instal makisu and then choose 'provision xml' and browse to the makisu.xml file and it will install the settings.)
@samsamuel - I've just found this post (after searching for "rename email account"!!) and it's awesome.....just what I've been looking for!! Now I can reload my mail settings whenever I flash....assuming I can find a way to rename the current (incorrect) mail account I just added, otherwise I'll have to go for the delete/re-create option
Thanks again for posting about "makisu" - shame I have to register on yet another forum I'll never use just to get it....unless it's hidden on XDA somewhere?
Mark.
This is all that you guys need.
This will take care of provisioning for Wi-Fi Configs, Email Configs and Certificates.
leepriestenator said:
This is all that you guys need.
This will take care of provisioning for Wi-Fi Configs, Email Configs and Certificates.
Click to expand...
Click to collapse
After you make the xml with the program, how do you access it on the phone for restoration of settings? I don't need it right now but I am making xml's since I have had to hard reset my phone 4x already (and not because I was flashing a ROM) and re-creating all the settings is such a pain. I read into the sashimi and makisu but those apps make my head spin. There has to be a simpler way. Thanks in advance.
Edit: I think I got it. Either I use Makisu to access the xml or make the cab using the post above. If I make the cab and I want to use Quick cab (since it is much easier to use), where does the file install? \Windows?? It was unclear from the previous post since the instructions are for a different cab making utility.
k8sh said:
Edit: I think I got it. Either I use Makisu to access the xml or make the cab using the post above. If I make the cab and I want to use Quick cab (since it is much easier to use), where does the file install? \Windows?? It was unclear from the previous post since the instructions are for a different cab making utility.
Click to expand...
Click to collapse
it doesnt install any files anywhere, not in teh way you mean, its just setting/changing/applying settings. Think of the xml file as a script that makes changes as it runs.
For me, i have makisu in my autoinstall folder, so it gets installed at hard reset, and i run teh xml file (also on my sd card) manually when i am ready to apply it. (I flash a lot, so sometimes i dont want email setting up, because i am gonna flash again in a few minutes).
I no longer bother creating the cab, because with the xml file you can just open it in notepad and add anotehr email account, make other small adjustments, whatever, which you cant do with a cab, you have to rebuild the whole thing from scratch. (for some reason wince cab manager cant open that cab.)
Well if you are on a custom rom, every chef support some form of UC or the other (User Customization).
In addition to Sashimi / Makisu you can also use SDConfig.txt & XDA_UC if your ROM supports it.
Google them and you'll find more info.
This looked like it would do the trick. When I run it I get a visual basic error. I have netcf v4 installed. Is there another file required to make this run?

[Solved][Q] EXT packages + app.dat = duplicates of files in \windows\

I tried to keep the title as descriptive and short as possible, I hope it makes sense
I picked up the kitchen of nhathoa (a retired Topaz cook) hoping to get it customized to make it exactly the way I want but I'm running into some issues.
Long story short, I'm using Ervius Visual Kitchen (1.8.2) and I noticed that the EXT packages I added end up leaving two copies of the files, a copy under \windows\ and another one in the places I specified using app.dat using:
Code:
Directory("\Program Files\bla\"):-File("bla.exe","\Windows\bla.exe")
Is there some way to get rid of the copy under \Windows\ ??
I know that I could simply leave everything there and discard the app.dat files but I would really prefer having everything organized properly (I have a bit of an OCD when it comes to organizing everything neatly ).
I'm pretty sure that this is a rather simple and noobish issue but I couldn't find anything relevant by searching and I took a look at some ext packages by various cooks and noticed the same behaviour.
MusikMonk said:
I tried to keep the title as descriptive and short as possible, I hope it makes sense
I picked up the kitchen of nhathoa (a retired Topaz cook) hoping to get it customized to make it exactly the way I want but I'm running into some issues.
Long story short, I'm using Ervius Visual Kitchen (1.8.2) and I noticed that the EXT packages I added end up leaving two copies of the files, a copy under \windows\ and another one in the places I specified using app.dat using:
Code:
Directory("\Program Files\bla\"):-File("bla.exe","\Windows\bla.exe")
Is there some way to get rid of the copy under \Windows\ ??
I know that I could simply leave everything there and discard the app.dat files but I would really prefer having everything organized properly (I have a bit of an OCD when it comes to organizing everything neatly ).
I'm pretty sure that this is a rather simple and noobish issue but I couldn't find anything relevant by searching and I took a look at some ext packages by various cooks and noticed the same behaviour.
Click to expand...
Click to collapse
No, it's call Read-Only-Memory (ROM) and is the reason you can hard-reset your phone. Every file you cook into the ROM is in \windows. Two ways I know of to reduce the amount of files would be to zip them and have a mortscript unzip them to the proper location during customization or cook in a cab containing all of the files and have it run during customization.
That makes a lot of sense, I really feel ashamed that I didn't figure it out earlier
EXT packages seemed easier than bothering to read about customization but I guess it's time to start reading about this kind of stuff.
Thread marked as solved.
Thanks for the quick reply!
Yup, files in rom are in rom forever, or until you flash again, lol. The trick is to just run bla.exe from \windows. I would say that 90% of the time, bla.exe runs just fine out of the windows directory (especially if it's the only file in the package). When people create cabs, they naturally install the app in \program files, but in general apps don't need to be in a specific folder. If there are other files present, usually an .exe will search within its own folder for those files. So, if you just cook everything straight into windows, you'll be good to go. It's easy enough to test: just move all the files from program files to windows after installing a cab, fix the shortcut in the start menu, and then try to run the app. It's always a good idea to do a soft reset and try again (found this out the hard way many times). The one thing you have to watch out for is settings files, like .dat files. These files frequently have to be archived (not read-only). Particularly with apps that use net 3.5, if there's a setting file that is read-only, the app won't boot and you'll get an error message. The fix is to name the file settings-1.txt (or whatever) and have an app.dat rename it to settings.txt (and keep it in \windows).
Also, remember to fix the shortcut path in the start menu, and examine the registry entries to see if there are any paths for files present-you may need to change them to point to \windows (this could also be true in settings files).
mwalt2 said:
No, it's call Read-Only-Memory (ROM) and is the reason you can hard-reset your phone. Every file you cook into the ROM is in \windows. Two ways I know of to reduce the amount of files would be to zip them and have a mortscript unzip them to the proper location during customization or cook in a cab containing all of the files and have it run during customization.
Click to expand...
Click to collapse
This actually made me think a little bit. When you think about read only, I always thing can't delete or overwrite. Obviously I can run a cab and replace a file that is located in the \Windows directory, that leads me to believe there is a way to delete a file or maybe even replaced with an empty file of the same name.
You can over-write a rom file, but the rom file is still there. The file system just flags it somehow or another and tells the device to ignore it and instead use the new file.
TMartin03 said:
This actually made me think a little bit. When you think about read only, I always thing can't delete or overwrite. Obviously I can run a cab and replace a file that is located in the \Windows directory, that leads me to believe there is a way to delete a file or maybe even replaced with an empty file of the same name.
Click to expand...
Click to collapse
The new file you copy over goes into the "user" partition of the file system and windows knows to use that file instead. Once you delete this newly copied file from \windows, the old one from the ROM will take its place back in the filesystem.
Farmer Ted said:
Yup, files in rom are in rom forever, or until you flash again, lol. The trick is to just run bla.exe from \windows. I would say that 90% of the time, bla.exe runs just fine out of the windows directory (especially if it's the only file in the package). When people create cabs, they naturally install the app in \program files, but in general apps don't need to be in a specific folder. If there are other files present, usually an .exe will search within its own folder for those files. So, if you just cook everything straight into windows, you'll be good to go. It's easy enough to test: just move all the files from program files to windows after installing a cab, fix the shortcut in the start menu, and then try to run the app. It's always a good idea to do a soft reset and try again (found this out the hard way many times). The one thing you have to watch out for is settings files, like .dat files. These files frequently have to be archived (not read-only). Particularly with apps that use net 3.5, if there's a setting file that is read-only, the app won't boot and you'll get an error message. The fix is to name the file settings-1.txt (or whatever) and have an app.dat rename it to settings.txt (and keep it in \windows).
Also, remember to fix the shortcut path in the start menu, and examine the registry entries to see if there are any paths for files present-you may need to change them to point to \windows (this could also be true in settings files).
Click to expand...
Click to collapse
First of all, a small question about the underlined part, just to make sure that I got it right: it won't be exactly a rename just a copy with a different name, correct?
Some of the apps I use need a specific directory structure for the resources and files they use, so just dumping them in one big folder won't work.
Another possible issue that I think I'll run into is having two files sharing a generic name (let's say settings.xml) while each belongs to a different app. I didn't personally encounter such a situation just yet but my packages are still a work in progress and I did see a post or two about this while searching.
I was still hoping there would be a simple way to arrange the files in folders while keeping them under \windows\ but I can't find such a method either. Doesn't seem like I have other options than to decided on a firstboot customization method: Runcc, autorun, xda_uc or something that I haven't read about yet...
"Runcc" is currently used in the base kitchen so that gives it an edge right now.
Edit:
Remembered that I had another question, and it's probably not worth a new thread.
I was looking at how to manually create .lnk files and I noticed something that I didn't understand and couldn't find info about.
For example:
Code:
21#"\Windows\MSDict.htm"
What exactly does the "21" refer to?? I tried changing it randomly to other values a couple of times and it didn't effect anything.
NRGZ28 said:
The new file you copy over goes into the "user" partition of the file system and windows knows to use that file instead. Once you delete this newly copied file from \windows, the old one from the ROM will take its place back in the filesystem.
Click to expand...
Click to collapse
Ok now that makes a lot of sense. I guess I'm just use to Android and being able to see that separate partition. Thanks for the explanation.
That sort of leaves me to another question. Can't someone develop a way to overwrite directly to the "system" partition? It would almost be like a root/superuser for WinMo.
Sent from my HTC Evo 4G!
MusikMonk said:
First of all, a small question about the underlined part, just to make sure that I got it right: it won't be exactly a rename just a copy with a different name, correct?
Click to expand...
Click to collapse
Yup, that's correct. Another approach is to take all similar files that go into windows and stick them in a zip file that unzips to the windows directory. I do that in a few cases (power radio comes to mind; it has an ini file). What I do in most cases though is use a backup/restore mortscript. The backup copies all settings files (and similar things) on my device to my sd card. During customization, the restore copies them back. It's convenient for apps where I change the settings a lot and I don't want to have to constantly fuss with the packages.
Some of the apps I use need a specific directory structure for the resources and files they use, so just dumping them in one big folder won't work.
Click to expand...
Click to collapse
What you do in that case is move the sub-folders into windows. In this case, I'll use a zip file to unzip those folders into windows. Using app.dat files to copy large numbers of files blows. It increases the rom file count as well as the storage used. A zip file is a single file, and usually it saves space.
Another possible issue that I think I'll run into is having two files sharing a generic name (let's say settings.xml) while each belongs to a different app. I didn't personally encounter such a situation just yet but my packages are still a work in progress and I did see a post or two about this while searching.
Click to expand...
Click to collapse
In that case, you're screwed unless there's a registry key that lets you change the name. I've run into a few complications; tcpmp and OMarket both use a common.dll. My solution was to buy Core Player, lol.
I was still hoping there would be a simple way to arrange the files in folders while keeping them under \windows\ but I can't find such a method either. Doesn't seem like I have other options than to decided on a firstboot customization method: Runcc, autorun, xda_uc or something that I haven't read about yet...
"Runcc" is currently used in the base kitchen so that gives it an edge right now.
Click to expand...
Click to collapse
Using cabs or zip files is the way to go if you want to copy large folders in one shot (with a mortscript; you can also un-rar rar files, but I don't know how. Yet, lol). Zips are easier to make and edit than cabs, but you need to have mortscript cooked in and know how to write the simple script (aka cut-and-paste).
Edit:
Remembered that I had another question, and it's probably not worth a new thread.
I was looking at how to manually create .lnk files and I noticed something that I didn't understand and couldn't find info about.
For example:
Code:
21#"\Windows\MSDict.htm"
What exactly does the "21" refer to?? I tried changing it randomly to other values a couple of times and it didn't effect anything.
Click to expand...
Click to collapse
The 21 is the number of bytes after the #. It doesn't matter. I usually just change the first number to 1. It works fine. Counting bytes blows.
That was extremely helpful. Too bad these boards don't use a rep system
Farmer Ted said:
Yup, that's correct. Another approach is to take all similar files that go into windows and stick them in a zip file that unzips to the windows directory.
Click to expand...
Click to collapse
Well, if I'm going to follow this method, and it seems like I am, I don't see why I would still have to limit myself to the \windows folder. I can just put everything the way I originally wanted to do. I only looked at arranging files under \windows when I found out that there's no way to get rid of the duplicates.
Farmer Ted said:
Using cabs or zip files is the way to go if you want to copy large folders in one shot (with a mortscript; you can also un-rar rar files, but I don't know how. Yet, lol). Zips are easier to make and edit than cabs, but you need to have mortscript cooked in and know how to write the simple script (aka cut-and-paste).
Click to expand...
Click to collapse
I haven't tried writing mortscripts yet but I've seen enough to figure out the basic and notice how easy it is. I'm gonna check how usable is the WM version of 7zip, as long as it accepts arguments combining it with mortscript will be easy and perfect for me.
7z archives can get smaller in size than half of the zip archives for the same files. And cabs are too annoying to work with and keep updated later on.
Only issue remaining now is checking whether I should put the archived files under \windows or use the sdcard for customization. I'm leaning toward the first but I'll have to wait and see how much memory I would be sacrificing that way.
Farmer Ted said:
The 21 is the number of bytes after the #. It doesn't matter. I usually just change the first number to 1. It works fine. Counting bytes blows.
Click to expand...
Click to collapse
Ah! I thought about counting bytes/characters and noticed that it works sometimes. But I thought it was a coincidence after I experimented in changing the value and noticed that it wasn't always the right count in the .lnk files that I found.
[rant]
Nice, I was messing around with some packages to free up ram and storage and I seem to have ended up with a rather b0rked up xTask. And then there's still convincing Resco Explorer that the registry add-in IS in fact there.
Figuring out the causes should keep me happily busy for a while (and probably heavily pissed for another while afterwards).
[/rant]
Edit:
Just for the record, I ended up using xda_uc it's a lot easier than doing things manually. Although it would help if there was some kind of documentation available, took me a while to understand what .xda, xdai, xdas & .xdaz files are supposed to be.
hi by the way is it possible to convert ext packages of QVGA phones to one another?

Categories

Resources