Related
Edit: New version available! Compatible with Kaiser, Titan, Artemis, Hermes etc.
New version 2.1rc2! This is a major upgrade to version 2.0 (and a bugfix to 2.1rc1). The ImgfsTools now support generating ROMs for Kaiser, Hermes, Titan, Artemis and probably quite some more. All Hermes-specific code was replaced with code working for all devices
The new version is attached to this post.
These are the screenshots of the original version. Have a look:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is a completely unmodified LVSW edition WM6. It usually has 47 MByte Storage....
What happened? Well, the IMGFS partition (a.k.a. OS.nb) has 8 MByte free space. Until now it was not possible to shrink the IMGFS partiton and enlarge Storage in return, so that space was wasted.
This has changed - now also on the Kaiser!
I modified mamaich's ImgfsTools so that they now create the smallest possible OS.nb from a 'dump' directory, and also write the partition table and MSFLSH header matching the new size. The result is what you see above.
This is an excerpt from the ReadMe file from the new version 2.1rc2:
ImgFS Tools Version 2
================================================================
(Current version: 2.1rc2)
What it is
==========
These little programs help you with cooking your own ROM. They allow you to unpack an OS.nb file into individual files as you'd find them on your device, and to re-pack them into a new OS.nb which you can flash to your device. Of course, betweem unpacking and re-packing, you'll want to add/modify/remove some of them.
The tools are enhanced versions of mamaich's imgfs_tools - a huge Thank You goes to mamaich for creating them, and also for releasing the source code!
The most significant enhancement is that the IMGFS inside the generated OS.nb is no longer of fixed size, but is as small as possible. This means: the more of the unpacked files you remove before re-packing, the smaller it'll get and consequently the bigger your Storage memory will become. Also, the tools are no longer device-specific and should also work other devices than the Hermes.
*** WARNING: ***
Before you flash a ROM created with these tools, make sure you know how to recover from a non-booting ROM! For Hermes and Kaiser, you should install a HardSPL before you use these tools! I accept no responsibility for bricked devices!
Supported devices
=================
These tools have been tested on HTC devices only, and are known to work on Hermes, Kaiser, Titan and Artemis. Other devices were not tested and may or may not work.
If you want to try, I will gladly support you. However, I cannot accept responsibility for bricked devices!
How it works
============
On a high level, this is the chain of actions needed to unpack OS.nb:
RUU-signed.nbh ---(*NBHExtract)---> OS.nb ---(NBSplit)---> OS.nb.payload -->
--(ImgfsFromNb)---> imgfs.bin ---(ImgfsToDump)---> 'dump' directory
At that stage, you will want to edit the 'dump' directory. I recommend using bepe's excellent *Package Tool for this.
The reverse process is:
'dump' directory ---(ImgfsFromDump)---> imgfs-new.bin ---(ImgfsToNb)--->
OS-new.nb.payload ---(NBMerge)---> OS-new.nb ---(*NBHGen)--->
RUU-signed-new.nbh
(The tools marked with '*' are not part of the ImgfsTools, but are also available for free from xda-developers.com. There is also one additional tool, NBInfo, in this package.)
Version History
===============
2007-10-17 2.1rc2
ROMs generated by 2.1RC1 would not boot if created with a certain combination of parameters. Fixed.
2007-10-14 2.1RC1
Major overhaul:
- All Hermes-specific assumptions (like the sector size being always 0x200) are now gone.
- "conservative" mode added to ImgfsToNb and NBMerge
- on devices that have only two MSFLSH flash regions, ImgfsToNb overwrote a few bytes in the XIP section, causing unpredictable results. This was fixed.
- Removed "-emu" support from NBSplit and NBMerge, as this didn't work with WM6 emulator images.
2007-03-18 2.0 RC 2
All tools now linked statically to the MS runtime library, no longer needs DLL. No other changes.
2007-03-18 2.0 RC 1
Initial Release. Starting with version 2 to not collide with mamaich's version numbers.
===================
Enjoy!
Cheers
tadzio
Great job tadzio,
Looking forward to this new tool.
tadzio said:
Have a look:
This is a completely unmodified LVSW edition WM6. It usually has 47 MByte Storage....
What happened? Well, the IMGFS partition (a.k.a. OS.nb) has 8 MByte free space. Until now it was not possible to shrink the IMGFS partiton and enlarge Storage in return, so that space was wasted.
This has just changed!
I modified mamaich's ImgfsTools so that they now create the smallest possible OS.nb from a 'dump' directory, and also write the partition table and MSFLSH header matching the new size. The result is what you see above.
This currently runs on my TyTN with boot loader 1.10 OliPro. I haven't had a chance to test it with other configurations, but I see no reason why it shouldn't work.
I do not plan to offer any cooked ROMs myself, as there are many excellent chefs in this forum already. But I would think a new approach to ROM cooking may emerge: make a ROM as small as at all possible, removing anything that users may not want, and turn every removed feature into a .cab that users can install to Storage (bepe's excellent Package Tool makes this very simple!). This will give maximum flexibility without wasting any memory.
Give me one more day to write up the documentation, and then I'll upload the new Imgs Tools version.
Cheers
Daniel
Click to expand...
Click to collapse
sounds great man,
once your instructions are posted I will use this technique for Black version 1.2.
Well Done,
Cheers,
Well done man
Waiting for your great work....
tadzio said:
Have a look:
This is a completely unmodified LVSW edition WM6. It usually has 47 MByte Storage....
What happened? Well, the IMGFS partition (a.k.a. OS.nb) has 8 MByte free space. Until now it was not possible to shrink the IMGFS partiton and enlarge Storage in return, so that space was wasted.
This has just changed!
I modified mamaich's ImgfsTools so that they now create the smallest possible OS.nb from a 'dump' directory, and also write the partition table and MSFLSH header matching the new size. The result is what you see above.
This currently runs on my TyTN with boot loader 1.10 OliPro. I haven't had a chance to test it with other configurations, but I see no reason why it shouldn't work.
I do not plan to offer any cooked ROMs myself, as there are many excellent chefs in this forum already. But I would think a new approach to ROM cooking may emerge: make a ROM as small as at all possible, removing anything that users may not want, and turn every removed feature into a .cab that users can install to Storage (bepe's excellent Package Tool makes this very simple!). This will give maximum flexibility without wasting any memory.
Give me one more day to write up the documentation, and then I'll upload the new Imgs Tools version.
Cheers
Daniel
Click to expand...
Click to collapse
Brilliant! Truly BRILLIANT!
good job!!!!
That would be great findings for upcoming roms. For curiosity sake, are there any initials for increasing phone storage from extended rom. Cheers.
That's just great... We're all going to run for the smallest ROM possible ! Even maybe strip out Windows Media Player (We all use other players...) and some of the useless aplications (Who uses Solitaire or Bubble Breaker ?)
who uses Solitaire or Bubble Breaker
Hey. Don't knock it till you've tried it!
But I still wouldn't mind if it was in a .cab
Good job buddy... Looking for your good news.
I just added ImgfsTools2.zip to the first post of this thread.
Disclaimer: I only tested this with my Hermes. Please be careful if you use it with other devices. Oh, and it can't hurt to be careful even with a Hermes!
Feedback welcome! If you run into any problems with these tools, please post in this thread!
Enjoy!
Daniel
Am I right that embedding things into the ROM makes them run slightly faster? Some things that everyone will use would be better off kept into the ROM in that case, which would bring in the disagreement of what everyone thinks should be included. It would be very intresting to see if someone can build a completely pure OS though.
Percz said:
Am I right that embedding things into the ROM makes them run slightly faster?
Click to expand...
Click to collapse
Glad you asked.
If by "things" you mean applications, the opposite is true.
As code cannot be executed directly from NAND flash, everything has to be copied to RAM before execution (the term XIP - eXecute In Place - is misleading here. There is no true XIP in a Hermes). Some executables and DLLs are stored as "modules" in ROM, i.e. already prepared to be copied "as is" to RAM. Moving these from ROM modules to normal files in Storage will indeed make them load slower, although once loaded execution will be the same speed.
However, applications are not stored as modules. Even in ROM they are normal files, and speed-wise it makes absolutely no difference if they are loaded from ROM or Storage into RAM.
But there is one more important aspect: the size of the Windows directory. Even Microsoft admits that having 1800 files in one directory slows the device down significantly. And unfortunately, all files in IMGFS are in the Windows directory (with initflashfiles.dat, you can only copy them elsewhere, not move them).
So, if we manage to remove as many files and apps as possible from the ROM (and hence the Windows directory), and package them into .cabs in a way that they get installed into directories other than Windows, I would think we would see some increase in speed, since accessing the Windows directory would be quite a bit faster - and I guess the OS accesses that directory rather often.
At the moment, this is only theory. I haven't tried to prove it yet.
Cheers
Daniel
Great work, i'm looking forward to new roms being cooked with more storage.
sounds like this is what the chefs need
kjs30 said:
Great work, i'm looking forward to new roms being cooked with more storage.
sounds like this is what the chefs need
Click to expand...
Click to collapse
this chef has strapped this carving knife to his waist.
Alcibiade said:
That's just great... We're all going to run for the smallest ROM possible ! Even maybe strip out Windows Media Player (We all use other players...) and some of the useless aplications (Who uses Solitaire or Bubble Breaker ?)
Click to expand...
Click to collapse
Leave few things in there. whats the point of having all that memory with nothing in it. I love bubble breaker.
Also as mentioned it would be great if we can merge ExtRom into main memory.
Nice work!
I'm happy your modified OS.nb boots for everyone
piopawlu said:
I'm happy your modified OS.nb boots for everyone
Click to expand...
Click to collapse
And thanks again for pointing me to the right place (the partition table). Without your help it'd probably have taken me a lot longer!
Cheers
Daniel
rv1nd said:
Leave few things in there. whats the point of having all that memory with nothing in it. I love bubble breaker.
Click to expand...
Click to collapse
The point is that you can decide what you want to put in there without having to cook your own ROM.
Also as mentioned it would be great if we can merge ExtRom into main memory.
Nice work!
Click to expand...
Click to collapse
I'm thinking about that. Should be do-able.
Cheers
Daniel
hi all....i copied the help for the bugs from the main thread which is down now....i hope you will find it helpfull ... (this is from the original creator only)..
------------------
* In htc home - add contact, click on weather to change city - need to click on twice - minor bug - appears to be due to wm6.1
* Some report bluetooth not transfering files - fix = switch beam on in settings
* Bug with artemis touch lite - video button on the cube - not working
edit the registry
HKLM\SOFTWARE\HTC\Biotouch\MediaHubMini\App1_3
"Path" value="\Windows\Pimg.exe" (old value player.exe)
"Param" value="-directory:\My Documents\My Videos"
soft reset and go!
.
* Some find battery drain with gsm 3.07.90 higher than normal - try gsm radio 2.98.90
http://forum.xda-developers.com/showthread.php?t=329099
2. SDCONFIG.TXT
I did not use sleuths app - i already had the idea - see my extended rom thread.
I just edited mxipupdate_zzPIED_101.provxml
I chose the name sdconfig.txt as that is the name by others - in fact it could be named anything
SDConfig.txt should read like this
LOCK: Enabled
EXEC:\Windows\cusTSK.exe \Windows\Htc_curve.tsk
CAB: \Storage Card\Cabs\MyOwnApp.cab
LOCK: Disabled
RST: Reset
3.4th side of the cube
At the moment icons cannot be changed via touch customizer
D0.brn in \windows needs to be edited to change the icons
Apps and name changed via registry hklm\software\htc\biotouch\custaplauncher
-------------------
i would appreciate if people can share what they have and if they have found some bugs fixes themselves.....and i am sure THIS is not illegal
cheers !!!
I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE!
EDIT & CHANGE @ YOUR OWN RISK!!!
Personally, the Touch is the best phone I've used to date. But, there is always a way to make it run faster and custom to your needs. I figured I start a thread here with all available and possible system tweaks. I only know of a few, hopefully some of you out there know some more you can post.
*TO ENSURE YOU DO NOT NEED TO DO A HARD RESET AND LOSE ALL DATA, PLEASE MAKE SURE YOU BACKUP ALL YOUR DATA BEFORE CHANGING THE SYSTEM*
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Contents
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Post I: The Basics
Code:
[SIZE="3"]1. Thanks!
2. Getting Started
A. Useful Tools
A1. Freeware
1. PHM RegEdit
2. Total Commander
3. schap's Advanced Config Tool
4. dotfred's PIM Backup
A2. Software [NON-FREEWARE]
1. Spb Backup
2. DinarSoft's MemMaid
2. Learning the Registry
A. Links
A1. Registry Explained [xda-wiki]
A2. Registry Editor Bible [xda-wiki]
A3. "How-To" Edit the Registry [WMExperts][/SIZE]
Post II: Simple Tweaks
Code:
[SIZE="3"]1. Disabling Auto-Suggest [xT9]
2. The Original HTC Cube
A. Removing the Cube
B. Disabling the Cube in S2U2
3. Keep the phone on during a call[/SIZE]
Post III: Advanced Tweaks
Code:
[SIZE="3"]1. GPS
A. Basic GPS Settings
B. aGPS Settings [VZW Only!][/SIZE]
Post IV: Additional Tips
Code:
[SIZE="3"]1. [URL="http://forum.xda-developers.com/showthread.php?p=2725830#post2725830"]Sync Album Art to the SD Card[/URL]
2. Commonly used Terms
A. The Basics
B. ROM
C. Extras
3. Button Shortcuts[/SIZE]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
big thanks to the following people for finding and sharing some of the tips & tricks posted here!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xda!] [Philippe Majerus] [C. Ghisler & Co] [schaps] [dotfred] [Menneisyys] [itsme] [WMExperts] [rstoyguy] [panosha] [Slither2006] [Musicman247] [dharvey4651] [gc14]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Getting Started
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
below is a list of applications I either use or have used, and work great for tweaking your device
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Freeware
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHM RegEdit
A perfect tool for editing your registry.
*CAB file attached below due to some confusion with which file is correct from website
Total Commander
Probably the best file explorer I have used, also includes a directory to your registry for editing.
schap's Advanced Config Tool
Great application for tweaking the system, as well as changing your comm manager, button mapping, file associations, and others.
dotfred's PIM Backup
A great free backup tool to be sure all of your PIM data [contacts, calendar, messages] is safe.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Additional software I recommend [NOT FREE!!!]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Spb Backup
This is a great tool for ensuring your data is backed up! I have it set to automatically backup every morning at 5:00. Works well since I always have a copy no more than 24 hours old. Great software, I completely recommend it. Also, it includes a desktop component which allows you to extract information in the backup file like your text messages and contacts.
DinarSoft's MemMaid
I have found this to be a great tool for managing your system. It includes specific tools to manage the memory in all aspects, as well as some system tweaks.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Learning the Registry
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Quote from our wiki, "The registry is a simple database where settings can be saved by windows applications, services, and the operating system itself."
In other words, the registry holds all of the important and sensitive data that your device uses to function properly, which is why you must BE CAREFUL!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*YOU MOST LIKELY NEED TO WAIT 60 SECONDS, THEN SOFT RESET FOR CHANGES TO TAKE EFFECT*
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I highly suggest taking a look at the below articles to better your knowledge.
Even if you already know what it is, you may learn something new!
| Registry Explained [wiki] | Registry Editor Bible [wiki] | "How-To" Edit [WMExperts] |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Disabling Auto-Suggest [xT9]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Not all of you may have this problem, but if you do, you'll know it, and it probably irritates you! Certain ROM's that include the Touch Keyboard are set to xT9 as default, which causes the auto-suggest when typing in certain applications, like text messaging. It's the little black bar that pops up above the keyboard, even if your not using the Touch Keyboard. It slows down the typing speed and makes sending a new text more work than it should be. To rid of it , change the following registry entries.
1. Edit three registry values
1A.
Code:
HKLM>System>CurrentControlSet>Control>Layouts>e0010409>Ime File
String Value: "\Windows\compime.dll"
1B.
Code:
HKLM>System>CurrentControlSet>Control>Layouts>e0010409>Layout Text
String Value: "COMP IME"
1C.
Code:
HKCU>ControlPanel>Sip]>SuggWords
DWORD Value: "0"
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The Original HTC Cube
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Removing the Cube
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Personally, I hate the original cube! Takes up a good bit of memory, and is almost impossible to change, at least for me. It may be that I'm using a custom ROM, but out of all the available cube sets out there, which includes the cube config app, it's never 100% correct. So I currently disabled it, prevented the use of the four associated apps, and use Slither's Cube. By doing this you can save some memory and prevent the accidental cube swipes in other apps.
1. Disable the cube - This requires one very simple registry edit
Code:
HKLM>Software>OEM>TFLOSettings>EnableCube
Set value from 1 to 0
2. To save memory, the four associated files, QuickDial.exe, MediaHubMini.exe, AppLauncher.exe, and BioTouch.exe have been recreated with a 0kb file size thanks to panosha.
The thread with the attahced files can be found here: http://forum.xda-developers.com/showthread.php?t=368269
All together this will prevent these apps from running in your memory, disable the cube, and still keep the remaining TFlo settings enabled, such as the kinetic scrolling.
*I have installed efrost's FTouchFlo, and it works great, doesn't interfere with anything else
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Disabling the Cube in S2U2
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks to Musiman247, there is a registry edit that can prevent the cube from being opened while S2U2 is active (screen locked). There are two ways, manual and automatic.
1. Edit the registry (Manual)
Code:
HKLM>Software>HTC>Biotouch>Disable4SpecificApp
Create new key: "S2U2"
Create new string: "ClassName"
Value: "S2U2"
2. Install Musicman247's cab file (Automatic)
The cab file is found in this post at PPCGeeks, you will need to be registered to download: http://forum.ppcgeeks.com/showpost.php?p=277324&postcount=18
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Keep the phone on during a call
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This has always bugged me to no end, having to turn the phone back on just to hang up.
I have found the best way to do this by using A_C's S2U2, and as xda users, you probably already have this installed.
Just a simple setting, here is how I have it set, basically you'll use S2U2 to control how your device shuts off.
1. System Settings
Code:
Settings>Backlight
Battery Power: Turn off after 30 sec
Code:
Settings>Power
Advanced>Turn off device if not used for: Disabled
2. S2U2 Settings
Code:
Lock when backlight turns off: On
Power Off in: 5 sec
but Blank Screen only: Off
Blank Screen on Talk: Off
Now you can talk all you want and not have to worry about turning the phone back on to enter digits or hang up!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
GPS
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*THIS REQUIRES FLASHING A RADIO VERSION OF 3.XX, BEFORE YOU ATTEMPT TO FLASH, PLEASE BE SURE YOU UNDERSTAND WHAT YOU ARE DOING!*
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Basic GPS Settings
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I always see this same question asked over and over again, so here it is, the proper settings of your GPS.
1. Before you can make any adjustments, you must, of course, have the GPS enabled. I will not get into flashing, since it is an entirely different subject. You could probably write a million word essay on how to do it, and there would still be questions. Best place to start is at PPCGeeks.
DHarvey made an awesome how-to guide, found here: http://forum.ppcgeeks.com/showthread.php?t=24979
For those who have already flashed, here are the settings, and one registry edit I've found, and seems to work.
2. System Settings
Code:
Settings>System>External GPS
Programs>GPS program port: COM4
Hardware>GPS hardware port: (None)
Hardware>Baud rate: 4800
Access>Manage GPS automatically: Enabled
3. Personal Settings
Code:
Settings>Personal>Phone
Location Setting>Location On: Enabled
4. Registry change that seems to help
Code:
HKLM>Software>HTC>SUPL AGPS>GPSMode
Change value from 2 to either 4 or 1
After everything is correct, it is best to use a GPS Primer to obtain your initial sat lock, that means only the very first time, unless you are in a completely different area. I currently use GPSViewer, it was included in the ROM I'm using, but there are few others like this floating around. Also, for the first time, it may take a few minutes, just be sure your outside on a fairly clear day, if you don't pick up the sats when your sitting in your basement on a cloudy day, don't be suprised!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
aGPS Settings [VZW Only!]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
After reading about this, I had to try it! By doing this, you will open your device to the aGPS servers. What that means is, you'll have a much faster and more precise GPS device than most stand alone devices available. After doing this, I was able to obtain my position, without using a GPS primer, inside my office building in under seven seconds! Before doing this, I had to stand outside for almost a minute, at least on good days. Still, weeks later, I'm able to get my GPS position when some people have don't even have phone service available!
If you are with VZW, and already have enabled your GPS, this is something I completely recommend doing!
Big thanks to gc14 for posting this on our wiki!
| VZW aGPS "How-To" |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sync Album Art to the SD Card
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have found that you'll always want your album art tagged to your music, especially if you use S2P, here are two ways to sync, EASY and FAST.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To save some space here on this thread,
here is a link to a previous thread of mine with the instructions for this.
| "How-To" Sync Album Art to the SD Card |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commonly used Terms
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
everywhere here in the community, are tons of terms and acronyms used that most likely have you thinking...............huh ?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The complete glossary of terms can be found in our wiki.
| xda-wiki Glossary |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The Basics
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
XDA: Wondering how the site got its name?
Code:
"This site is about certain PDA-phones, made by a firm called HTC in Taiwan.
Their makers named them 'Wallaby', 'Himalaya', 'Blue Angel', 'Wizard' and 'TyTN',
but almost nobody knows them by those names.
The mobile provider O2 sells them under the brand-name 'XDA',
and that's what we had in our hands first.
They're also known as Qtek, MDA, SX-56, Hermes and many, many other names."
HTC: High-Tech Corp.
PDA: Personal Digital Assistant
PPC: PocketPC
PIM: Personal Information Manager
SIP: Secondary Input Panel
AS: ActiveSync, the software used on your PC to transfer data to your PDA. Used with XP.
WMDC: Windows Mobile Device Center, same as AS, but for Vista.
CAB: Cabinet file, this is typically file you'll use for installing applications.
GPS: Global Positioning System, I hope you know what this is.
OS: Operating System, such as Windows Vista or Windows Mobile 6.1.
RAM: Random Access Memory, the term RAM is usually used for PC's, for PPC's, it's usually referred to as Program Memory.
Stylus: Worthless! Try to never use this in public, you'll just embarrass yourself!
Soft Reset: The same as restarting your PC, it's good to reset every day to help with system performance. To soft reset, simply press the button located to the right of the USB port on the bottom of the device with your stylus.
Hard Rest: Much like a System Restore for your PC, this will ERASE ALL DATA on your device and return it to factory defaults. You can do this by pressing and holding both the Send (Green) and End (Red) buttons, and performing a soft reset. You will then be given a set of on-screen instructions to continue the deletion of files.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ROM
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ROM: Read-Only Memory, the set of system files, your OS.
Cook: For ROMs, it means to create or build a ROM.
Kitchen: The set of files used to cook a ROM, such as the PPCKitchen.
Chef: Ye who cooks the ROMs, and master of the kitchen!
Flash: Updating your ROM.
RUU: ROM Update Utility, the application used to flash your new ROM. If you've ever done a carrier ROM update, you may be familiar with this tool.
Unlocking: Typicallywhen you purchase your device from your carrier, it's locked, to prevent any system changes. You must unlock your device to allow changes, such as flashing the new ROM.
SPL: Secondary Program Load, is the boot loader of your phone, much like the BIOS is the boot loader for your PC. You'll hear more on this when unlocking your device.
Bootloader: This does the job of booting up the device hardware and loading various items into memory before the ROM starts in the device. You'll access the bootloader when flashing a ROM. To enter bootloader, press and hold the Power and Camera button, and perform a soft reset.
ExtROM: Extended ROM, a dedicated part of the ROM memory that is (by default) hidden to the user. This area typically includes cab files that are loaded upon Hard Reset. This space is frequently used by carriers, or others creating ROMs, to store cabs that load settings onto the phone.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Extras
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CDMA: Code Division Multiple Access, you only really need to know, if you have the CDMA version of the HTC Touch, you have the Vogue.
GSM: Global System for Mobile communications, if your HTC Touch is a GSM model, you have the Elf.
BT: Bluetooth
A2DP: Advanced Audio Distribution Profile
AVRCP: Audio/Video Remote Control Profile
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Button Shortcuts
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
While in the Dialer:
Up/Right: Call History
Down/Left: Speed Dial
Screen Calibration:
Center+Camera
Soft Reset:
Use your stylus to press the small button located to the right of the USB port
Hard Reset:
Hold Send+End, Soft Reset
Boot Loader:
Hold Camera+Power, Soft Reset
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
wow....did you just type this all?
Whosdaman said:
wow....did you just type this all?
Click to expand...
Click to collapse
LOL ! Yeah, took about an hour, but there is still more. I've been wanting to do this for a few days. All I need are some contributions, I only have a few tricks up my sleeve.
thread
Thanks for the great info!
good info! very helpful! thanks.
Great post just one question I have the Bell rom, the new one with 3.50 radio but this doesnt have cube do you recomend the Slither's Cube or where can I get the original one.
Thanks.
This needs to be added!
This works for the Verizon Vogue! Unbelievable fix!
http://wiki.xda-developers.com/index.php?pagename=VerizonAGPSFix
Thanks GC!
Solidus_k said:
Great post just one question I have the Bell rom, the new one with 3.50 radio but this doesnt have cube do you recomend the Slither's Cube or where can I get the original one.
Thanks.
Click to expand...
Click to collapse
Yes! Use Slither's cube, it is without any doubt, much better, and easier to configure!
osurferx said:
This works for the Verizon Vogue! Unbelievable fix!
http://wiki.xda-developers.com/index.php?pagename=VerizonAGPSFix
Thanks GC!
Click to expand...
Click to collapse
I saw your thread on this yesterday, great find! But can anyone else prove this works as well? There is a bit more to this than simple reg changes, and I'd like to stay away from anything too complicated. If this is a proven fix, I'll post some additional instructions on it after I do it.
osurferx said:
This works for the Verizon Vogue! Unbelievable fix!
http://wiki.xda-developers.com/index.php?pagename=VerizonAGPSFix
Thanks GC!
Click to expand...
Click to collapse
Hmmm...When i get a chance i'll check this out
--------------------------------------------------------------------------------
All works well on my HTC Touch Elfin with this patch to disable the Cube, but now when I swipe up while in SPB MS I go back to today screen, kinda the lesser of 2 evils. How can I make the up swipe do nothing?
kbywg said:
--------------------------------------------------------------------------------
All works well on my HTC Touch Elfin with this patch to disable the Cube, but now when I swipe up while in SPB MS I go back to today screen, kinda the lesser of 2 evils. How can I make the up swipe do nothing?
Click to expand...
Click to collapse
If you did everything listed, you basically disable any actions. But, if I'm not mistaken, that is a default from Spb.
PHM Reg editor
Hey guys. Kind of a dumb question...perhaps. How does one exactly install PHM reg editor? I d/l it. I ran the executable. It installed itself in my Program files folder and that's it. Am I to transfer *.cab to my phone and rum them to install this app?
Like I said, probably a dumb question but I had to ask.
UberGolf said:
Hey guys. Kind of a dumb question...perhaps. How does one exactly install PHM reg editor? I d/l it. I ran the executable. It installed itself in my Program files folder and that's it. Am I to transfer *.cab to my phone and rum them to install this app?
Like I said, probably a dumb question but I had to ask.
Click to expand...
Click to collapse
Yes, the .cab file will install itself to your device.
TheChampJT said:
Yes, the .cab file will install itself to your device.
Click to expand...
Click to collapse
Thanks. I know the .cab will extract on my device. The problem is that I have 11 .cab files in the installed "C:\Program Files\PHM\PHM Registry Editor" folder.
Regedit.Jup_ARM.cab
Regedit.Jup_MIPS.cab
Regedit.Jup_SH3.cab
Regedit.Jup_SH4.cab
Regedit.Mrln_ARM.cab
Regedit.Rpr_ARM.cab
Regedit.Rpr_MIPS.cab
Regedit.Rpr_SH3.cab
Regedit.Stngr_ARM.cab
Regedit.Wyv_MIPS.cab
Regedit.Wyv_SH3.cab
Whice one(s) do I transfer to my Bell HTC Touch (Vogue) and unpack?
UberGolf said:
Thanks. I know the .cab will extract on my device. The problem is that I have 11 .cab files in the installed "C:\Program Files\PHM\PHM Registry Editor" folder.
Regedit.Jup_ARM.cab
Regedit.Jup_MIPS.cab
Regedit.Jup_SH3.cab
Regedit.Jup_SH4.cab
Regedit.Mrln_ARM.cab
Regedit.Rpr_ARM.cab
Regedit.Rpr_MIPS.cab
Regedit.Rpr_SH3.cab
Regedit.Stngr_ARM.cab
Regedit.Wyv_MIPS.cab
Regedit.Wyv_SH3.cab
Whice one(s) do I transfer to my Bell HTC Touch (Vogue) and unpack?
Click to expand...
Click to collapse
I don't have a clue what the three letter abbreviation is after "Regedit", check the first post for the correct .cab file, the one I have used in the past.
To properly make any adjustments said:
PHM RegEdit v0.70 [/B]- Obviously an app to edit your registry.
Developer's website: http://www.phm.lu/products/PocketPC/RegEdit/
*CAB file attached below due to some confusion with which file is correct from website
2. Total Commander v2.5 - Probably the best file explorer I have used, also includes a directory to your registry for editing.
Developer's website: http://www.ghisler.com/pocketpc.htm
3. Schap's Advanced Config Tool v2.1 - Great application for tweaking the system, as well as changing your comm manager, button mapping, file associations, and others. Currently open to contributors to add tweaks, there are a few floating around.
Original thread: http://forum.xda-developers.com/showthread.php?t=317070
Contributing thread: http://forum.xda-developers.com/showthread.php?p=1905058
Click to expand...
Click to collapse
This is the link I used to d/l PHM. I clicked the " Download PHM Registry Editor : Pocket PC Edition" link, d/l to .msi and executed it. That's How I got what I got. Any help would be appreciated.
Never mind....I finally saw the green font saying "*CAB file attached below due to some confusion with which file is correct from website"
Sorry for being such a tard.
Open.Rom.Diamond.Edition
The First ever MultiLanguage Support NOOB Kitchen.
Now It Cooks you either a German, English or A Dutch Rom without the need of knowing what goes on underneath the cooking hood.
Just Start Cooking Select your Language then Disable or enable the applications you want in the rom and Flash.
For the more experienced Cooks, Package Updates or extra packages are always welcome to be submitted. Place the name into the Package like "PACKAGE_DSIXDA_Mortscript_Screen_Rotate_Simple_0000". You can PM me about it or post directly into the thread.
The Kitchen is Hybrid and i have given no attention to the Build Numbers that you SEE in device information. I only Update Incrementally and only what is needed as long as it's stable i don't care about version numbers Shown, trust me i know what i'm talking about, stop the paranoia.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Make It Like You Want To And Help Making It Better
Version 1.97.162.6 WWE+DE+NL BETA|132.66|14.15|118.51||115.03|53.77|61.26|
The last stage of Development before it leaves Beta has now been reached. The Selectable Options will all be put into the correct groups. A few more options will be added, Bugs will be found and the mort installation script will be optimized.
IPMORTANT Cooking Instructions
Contents & Options
Blauwe Tand Me Up Scotty.
OLD SKOOL XDA Respect, to Brothers "The Great" Faria and the "Kitchen Classic" Anichillus
This Project could not have been Possible without, Bepe, Bram_smulders, cmonex, dark simpson, panosha, Anichillus, itsme, jcespi2005, joubertvasc, jugglerlkr, mamaich, Mort, OliPro, pfcsabre, pof, sushilange, Paul at Modace for Apptodate, Nadavi, Snailslug, tadzio, theblasphemer, AlphaZero, SwTos, MRHawaii, Mondilv, Tom Codon, Tuspidin for sharing the Blackstone ROM, udk and Many More.
Direct Contributors, Noonski, Ameet, DSIXDA, NFSFAN, mccune, aruppenthal, bbobeckyj (for teaching me the Mort Regread and If else commands, for even more optimized packages), Bl0w, mst46, Kokotas, stief (without him i would not have a Diamond to Cook and work with in the first place), Pkoper, Piranha1, Mossi, comec, (The German Team). TheDizzAR, Aarge (For their Appreciative Donation)
If i have forgotten to add credit to you, i'm sorry for my slip up. Feel free to PM me about it so i can correct it.
Please Report Your **** Ups (Combination's of Selections that don't work together)
If you like what we're doing and would like to motivate me into making it WWE (Almost Done) and bringing the kitchen over to Touch Pro to, you can show us some love.
Packages are Allowed to be used for Personal Roms only.
And if you manage to use the heavily MortScript Dependable Packages in a Public ROM respect to you for understanding Why it is being used.
Give a Holler, but most importantly help making it better.
Or Do as most do Send a PM and most of the Time the Answer will be Yes.
O.R.D.E. German
ORDE German version available.
Current version:
22.12.2008 1.97.162.2
Please leave your comments here or in german here.
22.12.2008 v1.97.162.4DE
Temporary Placeholder for ORDE WWE Messages.
Extra Packages
Added into Next Update (1.97.162.7).
PACKAGE_McCune_Quickmark_0000
PACKAGE_McCune_Stopwatch_0000
Upgrade Packages
PACKAGE_McCune_Quickmark_0000 & Install Script
PACKAGE_McCune_Stopwatch_0000 & Install Script
The contents of the INstall scripts need to be added manually to the SPC.mscr in the OEMOPERATORS folder if your upgrading before version 1.97.162.7
PACKAGE_AltTab_0000:
Adds "Alt-Tab" functionality (program switching) under the Start menu.
PACKAGE_Opera_Mini_4_2_0000:
Installs Opera Mini 4.2 on your Diamond and also creates a shortcut on the Start menu. It is recommended that the Esmertec Jbed 20080912 package is selected or else the shortcut may not work (see the next package).
PACKAGE_VGA_Esmertec_Jbed_20080912_5_1_0000:
Thanks to trueg for pointing this version out to me. It is one of the first versions of Jbed that allows you to resize the tiny fonts in Opera Mini, among other things.
PACKAGE_TouchHD_EnglishOnly_Keyboard_0000:
Touch HD Keyboard, English only. Similar to Diamond keyboard but with left/right/up/down soft keys below the keyboard. Files are based on the multi-language CAB by sblop at this link; I simply took out the appropriate files and registry keys, reducing the size significantly.
.
Screenshots
Some Screenshots:
More To Come
Instructions
Instructions
1. Be Sure you have Developers HardSPL Flashed to your Phone before you start Cooking.
In the Folder "Tools\SPL's" you will find three versions of these.
2. The Kitchen is not set up to use a specific Radio nor do i Advice any as Radio performance can differ from Operator To Operator
A Collection of Radio's can be found in the folder "Tools\Radio's"
3. The Kitchen does not include the OS.NB anymore because it was getting to big. Fortunatly Modilv has the LEGO Kitchen Thread Kitchen Thread Where He Provides two OS.NB versions in his Rapidshare Folder.
Download either the 8MB Pagepool version or the 12MB Pagepool version and then drop the OS.NB into the "\Rom\" folder.
4. The Kitchen has three Language Options to choose from when it Begins.
1 for English (not working yet) 2 for German & 3 For Dutch (Not Working Yet).
5. After Choosing your language Disable or Enable extra options in the BUILDOS screen and then Press Play. If you get errors during this process please post them in this thread. After BUILDOS is finished Close the Build OS window and it will continue do to it's job until the Flash to you phone Screen comes up, so Flash it.
6. Flashing Roms to your phone is always risky, no matter how much precautions i have taken, everything that goes wrong is also your responsibility. If your not that familiar with the process the advice is to not tick OF more then the already preselected options.
If you want the kitchen to keep using your preferred packages you have to edit the Corresponding language file in the Options folder.
If your making an English Rom edit the EN.xml file in notepad.
Look up the option you want preselected in BuildOS (The Kitchen) and change the value from False to True (or the other way around).
Don't forget to also to put True into the correspondant Language Option.
0407 for German 0409 for English 0413 for Dutch.
For German edit the DE.xml and for Dutch NL.xml
Content and Default Options
[X]= Default set to ON
[0]= Default set to OFF
If no other MUI Locale Code Present, the Package does not need it.
[X] PACKAGE_francarl_FingerMenu_0000_1_10 [AppToDateSupport]
[X] PACKAGE_joubertvasc_RemoteTracker_0000_0_3_2-0 [AppToDateSupport]
[X] PACKAGE_sushilange_Diamond_TF3D_Config_0000_0_6_7 [AppToDateSupport] [0407] [0409] [0413]
Downloads
O.R.D.E. NL Kitchen (No ROM download but a Full and Easy Do it Yourself Kitchen) SYS: 52.19965 & 5.20954
XIP: 52.20954
OEM: 1.93.404.5, 1.96, 1.97 & 2.00
|Storage|Total|In Use|Free||Program Memory|Total|In Use|Free|
Version 1.0
Version 1.93.404.2 |115.30|17.63|97.66||111.02|56.98|54.04|
Version 1.95.404.7|127.04|19.81|108.47||111.02|55.33|55.69|
Version 1.95.405.1|114.80|24.44|90.36||111.02|49.80|61.22|
Version 1.95.405.3|120.80|20.38|100.04||111.02|48.12|62.90|
Version 1.96.405.5 |122.54|19.20|103.34||111.02|47.07|63.32|
Version 1.97.161.9 |129.16|18.18|110.35||115.03|48.56|66.47|493
Version 1.97.162.5 DE+NL |134.41|12.07|122.34||115.03|56.87|58.16|
Version 1.97.162.6 WWE+DE+NL BETA|132.66|14.15|118.51||115.03|53.77|61.26|
Version 1.97.162.7 WWE+DE+NL|132.66|14.15|118.51||115.03|53.77|61.26|
(Measured after a second boot and killing Active Sync)
Then above numbers are by using the default Ultra Clean preconfigured settings. (not as Clean as it should be yet)
If you change these, the numbers will also change.
This is so easy it can't go wrong (if you Meet the requirements below and don't mess with the settings)
XP SP2 or Vista with MS .NET Framework required to use it.
Also Developers HardSPL is recommended
(Also required is Microsoft Visual C++ 2008 Redistributable Package added to Package)
Any Changes To Kitchen Are at Own Risk!
Updated Packages (All in the Next Kitchen upload)
(ORDE Packages have no Unneeded Files like Package.Provxml, Initflashfiles.txt, Help, .LNK or other files that are not needed to make the app working. Because Mort Takes Care of most of that)
Changelog
>>=IN <<=OUT
Build from Original Dutch HTC Build and numbering goes up from there.
>> (Version 1.97.162.8) Updated Stop Watch with newer version from McCune's Post.
>> (Version 2.04.00.01) Switched to 2.03 OEM/SYS/Restarted Cleanup.
>> (Version 2.04.00.01) Patched and updated PACKAGE_ORDE_ConnectionSetup_0000_1_5_35852_1 Icon removed CPL Item (using MyCPL to get Conn Setup in Control Panel) and Made Modules.
>> (Version 2.04.00.01) Patched PACKAGE_Snailslug_TouchResponse_0000_v03_2 Icon and Updated Package Made Module for the DLL and it now supports AppToDate in Rom to.
>> (Version 2.04.00.01) Updated Taskmanager to PACKAGE_ORDE_TaskManager_0000_2_1_35603_1 Made Modules, removed CPL item and replaces WM taskmanager in Control Panel, Reduced Graphics to 8 Bits.
>> (Version 2.04.00.01) Reduced PACKAGE_pfcsabre_SocialNetworksEngine_0000_1_0_1819_3528 by 0.5 MB by optimizing Graphics to VGA and 8 bits where possible (Graphics without Transparancy), Made Modules.
>> (Version 2.04.00.01) Updated RemoteTracker to PACKAGE_joubertvasc_RemoteTracker_0000_0_3_4-1
>> (Version 2.04.00.01) Added
PACKAGE_KDKobes_FootPrints_0000_1_11_33557_0, Plus the 4 options for different Navigational Soft ware, TomTom, NaviTel, PapaGo & Copilot.
>> (Version 2.04.00.01) Updated Album to PACKAGE_ORDE_Album_HTC_0000_2_5_1820_4127
>> (Version 2.04.00.01) removed CPL item from PACKAGE_Schaps_Network_Plugin_0000_1_0_30468_1
>> (Version 2.04.00.01) Updated Butler to PACKAGE_Siggie1970_Butler_0000__1_2, It's now made into a mort install Package
Q & A
Q: I tried the 'connectionSetupAuto' package and it did nothing - is this package meant to be
used in conjunction with the 'connectionSetup' package? Connection Setup on its own
works fine.
A: PACKAGE_OREE_ConnectionSetup_0000_1_5_34564_2_Auto & PACKAGE_OREE_ConnectionSetup_0000_1_5_34564_2 Need to be installed together to get the Auto part working (sort of)
PACKAGE_OREE_ConnectionSetup_0000_1_5_34564_2
Causes connection setup to run only once after reboot (60 seconds)
PACKAGE_OREE_ConnectionSetup_0000_1_5_34564_2_Auto
Sets it as an Autostart Item that is being run by The Taskmanager and runs whenever you switch the SIM card.
If once is enough, only use the PACKAGE_OREE_ConnectionSetup_0000_1_5_34564_2
(or you can start it manually)
If you switch a lot of Sim Cards and don't mind the extra memory being used at start up leave in the Auto version
Request
Who can help me create a MortScript that reads specific Registry values.
SOLVED thanks to bbobeckyj
Something like these
Code:
[HKEY_LOCAL_MACHINE\Software\MortInstaller\LNK\Reader.lnk]
"SourcePath"="\Windows\AdobeReaderLE.exe"
"TargetPath"="\Windows\Startmenu\Office Mobile\"
[HKEY_LOCAL_MACHINE\Software\MortInstaller\LNK\Calculator.lnk]
"SourcePath"="\Windows\MobileCalculator.exe"
"TargetPath"="\Windows\Startmenu\Office Mobile\"
It then Creates and Executes the Parts below.
Code:
CreateShortcut("\Windows\Startmenu\Office Mobile\Adobe Reader.lnk","\Windows\AdobeReaderLE.exe")
CreateShortcut("\Windows\Startmenu\Office Mobile\Calculator.lnk","\Windows\MobileCalculator.exe")
It's an AutoShortcut/ProvXML/Removeatribute.exe/initflashfiles.dat/Excessive .LNK files in Windows, replacement.
At the moment i put all commands into one start up script, but that makes separate and COMPLETE OEM packages impossible. As disabling one Package in the Kitchen, still leaves the Command in the start up mortscript to create the shortcut.
This is not just for my own convenience, but for building a kitchen that can be used by every NOOB, that contains optimized and clean Packages.
This way i can put the creation of .lnk files into that package it's RGU file.
If it could also unzip and Change attributes through this script using registry values it would even be better.
I know there's someone out there that can cook this one up.
Thanks for the attention at least.
Update:
Script has been adjusted.
It now reacts to if a file is present in Rom and then reacts to that taking into account the MUI localization.
Code:
if (FileExists( "\Windows\RotateScreen.mscr" ))
WriteFile( SystemPath("StartMenu") \ "Rotate Screen.lnk", "99#""\Windows\RotateScreen.mscr""?shellres.192.dll.0413.mui,-8259")
Else
EndIf
Package Submittal
If there's an app or package that you think would be a good one to include in the kitchen you can always submit it.
Here's what you need to take into account.
1. If the package does not need an RGU, you don't need to include it.
2. The RGU and DSM files need to be hand made.
Make a blank .txt file. Go to http://www.famkruithof.net/uuid/uuidgen get a new UID, Rename the text file and extension with the UID number and .dsm extension.
(Ervius Packages sometimes don't work correctly)
Make a blank text file again and rename it to the new UID name and .rgu extension. Make sure you resave the RGU file as Unicode. (that is only if you need the RGU file.
3. When the package is complete. Drop the Package Folder onto the BuildDSM.exe in the tools folder. (be sure that Initflashfiles and option.xml are temporary removed from package when you do this)
Some more explanations about Mortscript installation.
As we try to Use as few as possible files in the rom and also make accommodate with the three language.
The way to create a link to a program has a little trick to it so it installs into the correct directory for the language.
Beneath is an example:
Code:
if (FileExists( "\Windows\StopWatch.exe" ))
if (FileExists( "\Windows\shellres.dll.0413.mui" ))
MkDir(SystemPath("ProgramsMenu") \ "Applicaties")
CreateShortcut(SystemPath("ProgramsMenu") \ "Applicaties\StopWatchk.lnk","\Windows\StopWatch.exe")
Else
EndIf
Else
EndIf
This way it checks for two conditions before it creates a link
As shellres.dll.0413.mui only exists in a Dutch rom this particular shortcut will only be created in a Dutch rom.
Also when a directory does not exist, MORT will not install a link into it.
So i added the MakeDir command first.
Two other variables of the script are needed so it supports German and English.
Now if the file did not need to go into the sub dir Applicaties
One script would do:
Code:
if (FileExists( "\Windows\StopWatch.exe" ))
CreateShortcut(SystemPath("ProgramsMenu") \ "StopWatchk.lnk","\Windows\StopWatch.exe")
Else
EndIf
And only one version of the script would do.
Or the link creation could be more dynamic:
Code:
if (FileExists( "\Windows\YouTube.exe" ))
if (DirExists(SystemPath("ProgramsMenu") \ "MultiMedia" ))
CreateShortcut(SystemPath("ProgramsMenu") \ "MultiMedia\YouTube.lnk","\Windows\YouTube.exe")
Else
CreateShortcut(SystemPath("ProgramsMenu") \ "YouTube.lnk","\Windows\YouTube.exe")
EndIf
Else
EndIf
So if the Folder "MultiMedia" does not exist the shortcut will be made in the main programs folder.
ToDo
1. Check Manila Options (Checked)
2. Check Remote Desktop
3. Fix and put put back main ringtones.
4. Fix Dutch Missed Calls Issue.
5. Fix FullScreen Player. (Checked)
6. Add more configuration scripts.
8. Put back rtps reg values to streaming media and the file itself.
you kitchen is birrliant how i can make wwe rom?
what i need to change ?
yes2000 said:
you kitchen is birrliant how i can make wwe rom?
what i need to change ?
Click to expand...
Click to collapse
Either use the Full Kitchen
http://forum.xda-developers.com/showpost.php?p=2392286&postcount=3
To extract the OEM/SYS/ROM from an Official Rom.
Then Replace the OEM/SYS/ROM folders in ORDE Kitchen.
Then Compare the differences
The Brilliance of the Kitchen is because of all those other People that have worked on it, i just made it a bit more Noob Proof with some very amateuristic adjustments of the batch files.
Your calculations are correct...
pkoper said:
Your calculations are correct...
Click to expand...
Click to collapse
Well it's better then making a WWE Dutch or German ROM.
All the OS parts can be ported from newer WWE builds instead of Porting Localization to a newer WWE build.
Hey for all the people who make this kitchen ..i thank you.
Geat work but now i have to find a way to cook my own favorite programs in the rom.
UC Autorun + The Power of MortScript PreCooked.
Want to Change or add some stuff Through UC Autorun?
Here's a way for the advanced user to do even more.
Code:
CPY1:\Intern geheugen\Cabs\MyMort.mscr
CPY2:\Temp\MyMort.mscr
EXEC:\Temp\MyMort.mscr
Inside the script you can do anything you can do with Mortscript.
For instance copying over a complete Directory to Phone Storage.
Code:
UnzipAll( "\Intern geheugen\Cabs\ExtraTemplates.zip", "\Mijn Documenten\Templates" )
Code:
CreateShortcut("\Windows\Startmenu\Programma's\TomTom.lnk","\Intern geheugen\Program Files\Navigator\TomTom Navigator.exe")
As long as you don't forget to delete the script.
Code:
Delete( "\Temp\MyMort.mscr" )
[UC]XDA_UC V2.RC1, Automated & Silent User & Cook, Configuration Service[14/05/10]
V2.RC1 Update,... New AutoShortcut Commands, new SDConfig.txt Commands, Manual and Storage Card install folders added, Extra parameters for Cooks.
I'll be updating all documentation accordingly later today.
Another (The?) new way to implement User Customization and Cooking.
This Thread is meant for Rom Cooks.
Users should take a look at the User To User Tips, Tricks ideas and issues thread.
What the XDA UC service does, is silently install (or not so silently if needed by User), .cab, .xdas, .xml, .reg, .mscr, copy over user manila files, install files from SDconfig.txt if wanted and then a few extra's for the freaks like copying folders or creating shortcuts from specific registries. This happens either at first or second boot depending on the existence of either RunCC.exe or Autorun.exe in rom.
It's all Mortcsript so it's very easy to get a grasp of it and change the behaviour and or Chip in adjustments/improvements.
But no knowledge of mortscript is needed to implement
It Uses DotFred's Taskmanager to parse and implement the .reg and .xml files. But it can also be used to disable or enable services or register DLL files.
More Information about the XDA Type Files at:
http://wiki.xda-developers.com/index...ename=XDA_file
My Shout out for this Two Year Long Evolving Collaborating Endeavour go to:
Bengalih (that has a very similar UC variant called Sashimi and helped with some of the early scripts I was trying to do with mort while cooking, I wish I could have collaborated more with him, it would have saved time re-inventing the wheel), RoryB for bouncing back ideas, supplying new scripts and perfecting older ones, serfer222 For making the script compacter, jmckeejr, Ameet & the whole Digital XDA SPC Cooking Crew, bbobeckyj, CLHatch, Scinor, Mort, Sleuth255, McCune, DotFred, MrVanx, danny_and_2, Cmonex, utak3r, Laurentius26, Radimus, and the Whole Original SPC Crew for accepting my obsessions.
For Knowingly helping me get the information, unknowingly helping me get the information or motivated me in keep going on in my Quest resulting in this.
If I Forgot you, Forgive me.
If you feel that certain information that has been used originated by you give me a holler and I will credit you if this is so.
Before you consider buying me a beer. Please consider Donating to XDA to help out with the maintenance of the forum and get cool stars next to your Nickname showing your appreciation. Then there are always the people that without their apps this wouldn't have been possible at all that you can consider showing some love. Mort, DotFred & Sleuth255 All of whom made Apps Seemingly simple But oh so useful for the whole XDA and PocketPC community.
Download and Info in next Post
What this version of the XDA UC service does, is silently install and execute (listed in the order the items get installed)
Run the Users customisations of course.
User side information here...
Run Cook.mscr in Windows folder(For Cooks Only)
More Cook info coming.
Add native support for .mscr, .mortrun, .xda, xdai, xdas & .xdaz files
(Where in "\Storage Card\" is read from HKLM\System\StorageManager\Profiles\SDMemory For MultiLanguage Support)
Requirements
The Rom should have the security relaxed in HKLM\Security\Policies\Polices by setting the value 0000101a to a 1.
So unsigned installations and Mortscript do not give a security error.
If you have a different language then English, don't forget to change the path in the initflashfiles.txt/app.dat file (if your using legacy kitchen )
The rest of the script should dynamcliy get the correct variable for the storage location.
In the end the process it comes down to the device starting after flashing and not needing any reboot while silently installing Cook and User configurations.
On the User end and cook end no SDConfig.txt ort config.txt file is needed.
Attached the OEM Package and a Sample Package for SD.
(Klaxon.Cab, GoogleMaps.xdas, two .reg files, two xml files, my.tsk, and a test mortscript)
The Control factors of the Sample SD Package is that is should install
HKLM\Software\XDA\Test\Reg 1 Parsed=1
HKLM\Software\XDA\Test\Reg 2 Parsed=1
HKLM\Software\XDA\Test\xml1parsed=1
HKLM\Software\XDA\Test\xml2parsed=1
These are the tweaks present in those files.
In addition everything installed will be found under
HKLM\Software\XDA\UC\
And the Morscript in the sample SD Card Package should give a message to confirm it was executed "Mort UC From SD Working"
Cab Files and XDAS files should eventually just be in the startMenu Programs.
G-Alarm is there because it needs User interaction and that will pop up when it needs your attention.
At the end of it all you get a message Installations have finished.
When using SDConfig.txt be sure to add a blank line at the end of it.
Disclaimer:
Please be aware that the XDA_UC script contains a disclaimer, not to post errors with it to the Mortscript forums, and the usual this **** cloud be dangerous to your phones health.
For Standalone version, place XDA_UC folder from "User_Storage Card" on Storage Card.
Then run "\Storage Card\XDA_UC\Install\XDA_UC.exe"
Information about the SDAutorun.exe V2 UC can be found here:
http://forum.xda-developers.com/showthread.php?t=366337
Information about SDConfig.txt & .xml user setup can be found here:
http://forum.xda-developers.com/showthread.php?p=5011285
Changelog:
V 1.0.01
Changed Sleep to start UC to 50 seconds for full device Boot before UC starts.
Changed "XDA UC Service Start" title to "customization" to match the old one.
Changed sleep before completion message to ten second in case the last cab needs user input and the Completion message pops up to early.
Changed Sleep at while for Theme installation to 2 seconds.
V 1.0.02:
Added Copy1 to Copy2 by reading from registry settings
[HKLM\Software\XDA\DirCopy]
"\\Storage Card\\Some Folder"="\\My Documents\\Some Folder"
Added Disabling Manila from Homescreen then Copying files from "\Storage Card\XDA_UC\manila" to Windows, The checking for existence of wallpaper_TF3D.png or wallpaper_TF3D.jpg and adding that to
[HKCU\Software\HTC\Manila]
"HomeBackgroundPath"="\\Windows\\wallpaper_TF3 D.jp g"
Import registry files from "\Storage Card\XDA_UC\manila\manila.reg"
Re-enable Manila on Homescreen and redraw it.
If not present do nothing.
Added RoryB's Complete SDAutorun.exe replacement/SDConfig.txt parser script.
Check for existence of Autorun.exe or RunCC.exe to automatic determine which method/bootcount to use.
There is no longer the need for two separate XDA_UC versions let alone a third.
.reg and .xml files will no be sent to renamed taskmanager "FS_TaskMgr.exe"
Added checking for cab files in "\Storage Card\XDA_UC\SD\", for those that don't have the luxury of changing the install paths in a cab file to hardcode these to Storage Card. So you get full user input to choose on these cabs.
V 1.0.03:
Todo's
Add Support For Diamond Internal Storage Need Someone with a Diamond to Test.
V 1.0.04:
Added Support for PimPackup files *.pib & .cer files.
Moved Disclaimer to the beginning and added an option to reset ad the end.
V 1.1.00:
Added extra Runs for Diamond and Samsung Internal Storage.
V 1.1.1B2:
Applied script improvements to reduce code used and make script a bit faster.
Removed Manila folder copy and replaced it with more general Copy2Root function/folder.
Added recognition of "REG: " command in SDConfig.txt parsing.
Added recognition of "CER: " command in SDConfig.txt parsing.
Testing:
Code:
If( FileExists( "\" & SDF & "\Cabs\pim.vol" ))
Kill("cprog.exe")
EndIf
During SDConfig.txt just before cpy1, cpy2 function.
V 1.1.1B3:
Mayor overhaul by new script from Serfer222
And then I started adding more crap and messing the new clean code up.
XCP1 & XCP2 commands for SDConfig.txt (Folder Copy with SDConfig.txt)
MCAB command for SDConfig.txt (Cabs that you want manual input for during SDConfig.txt)
SCAB command for SDConfig.txt (Cabs that you want installed to SD SemiAutomaticly during SDConfig.txt)
SC1 & SC2 commands for SDConfig.txt (Shortcut creation with SDConfig.txt)
KILL command for SDConfig.txt (Kill a running .exe/process)
EXEC: command for SDConfig.txt (Was already present but i removed the checking if the file is a .exe so anything can be executed and)
Del: Command for SDConfig.txt
.PROVXML now also get parsed in XDA_UC folder
Changed Serfer222's fix to parse mail xml files before PimBackup to "*mail*.*xml" so now if there's a file containing mail anywhere or is a .provxml get's parsed before PimBackUp.
RESET command for SDConfig.txt
WR1: & WR2: commands to write files using SDConfig.txt
Parse File containing "WiFi in it's name" Early like MyHomeWiFi.xml or MyHomeWiFi.provxml
Add a script to run and add XDA_UC to rom's without it.
"Manual" Folder in XDA_UC folder for Full Manual .cab Installs
"Storage Folder in XDA_UC folder for Semi Silent .cab installs to Storage
Early "*wifi*.*xml" parsing from XDA_UC for quick Wifi connecting.
Eauh maybe i forgot some stuff....
Bug Tracker for last Beta.
Wrong code for the WR1: & WR2: commands (Updated Beta Download with Fixed Script)
WR1: command needs a delete or else the next time it is run it will add text to the file instead of write a new one. Working on Fix. Fix Updated in original Download.
Changed XCP1: XCP2: commands into MOV1: & MOV2: to avoid confusion with CPY1: & CPY2: (TNX RoryB good one) Updated in original Beta Download.
Other Updates I'm looking into All Beta:
Changed Manila/Sense Script so it now Checks for manila.reg @ "\Storage Location\XDA_UC\Copy2Root\Windows\manila.reg" and runs the reg from there.
Test everything again
More optimisation of the code suggested by Serfer222
Call for Sashimi & PresetInstaller, so having Making an XDA UC Rom doesn't force users switching their preferred UC Setup.
Add DELT: command
Config.txt for Cooks (May not be included as it is partly redundant)
SDAutorun replacement without SDAutorun.exe
Information will be added about this in the future.
Some more changes to my method I thought I would share.
Run the items in SDConfig.txt without using SDAutorun. I do not have any tsk to run, but it would work the same. I put copy first since some EXECs like xcopy need to be copied before execution.
Code:
###############################
# SDConfig without SDAutoRun
###############################
; Wait 10 seconds to start to be sure SDCard can be accessed
Sleep( 10000 )
If( FileExists( "\Storage Card\SDConfig.txt" ))
xcount = ReadLine( "\Storage Card\SDConfig.txt" )
While( IsEmpty( xcount ) = FALSE )
If( SubStr( xcount, 1, 5 ) eq "CPY1:" )
xcopy1 = SubStr( xcount, 6 )
xcount = ReadLine( "\Storage Card\SDConfig.txt" )
If( SubStr( xcount, 1, 5 ) eq "CPY2:" )
xcopy2 = SubStr( xcount, 6 )
Copy( xcopy1, xcopy2, TRUE )
EndIf
ElseIf( SubStr( xcount, 1, 5 ) eq "CAB: " )
RunWait( "\windows\wceload.exe", "/nodelete /silent " & [COLOR=blue]"""" & [/COLOR]SubStr( xcount, 6 ) [COLOR=blue]& """" [/COLOR])
While( ProcExists ( "wceload.exe" ))
sleep( 3000 )
endwhile
Else[COLOR=red]if[/COLOR]( SubStr( xcount, 1, 5 ) eq "EXEC:" )
If( SubStr( xcount, -[COLOR=red]3[/COLOR] ) [COLOR=red]eq[/COLOR] [COLOR=black]"[/COLOR][COLOR=red]exe[/COLOR][COLOR=black]"[/COLOR] )
Run( SubStr( xcount, 6 ))
EndIf
[COLOR=red] ElseIf( SubStr( xcount, 1, 5 ) eq "XML: " )[/COLOR]
[COLOR=red] RunWait( "\windows\TaskMgr.exe", "/provxml " & SubStr( xcount, 6 ))[/COLOR]
[COLOR=red] While( ProcExists ( "TaskMgr.exe" ))[/COLOR]
[COLOR=red] sleep( 3000 )[/COLOR]
[COLOR=red] endwhile[/COLOR]
[COLOR=red] ElseIf( SubStr( xcount, 1, 5 ) eq "TSK: " )[/COLOR]
[COLOR=red] RunWait( "\windows\cusTSK.exe", SubStr( xcount, 6 ))[/COLOR]
[COLOR=red] While( ProcExists ( "cusTSK.exe" ))[/COLOR]
[COLOR=red] sleep( 3000 )[/COLOR]
[COLOR=red] endwhile[/COLOR]
[COLOR=red]Else[/COLOR]
EndIf
xcount = ReadLine( "\Storage Card\SDConfig.txt" )
EndWhile
EndIf
I have a mortscript I call user_C.mscr for some customizations that I used EXEC to run, but thought this way people could have multiple scripts.
Code:
If( DirExists( "\Storage Card\SDAUTO" ))
ForEach xscriptfile in Files( "\Storage Card\SDAUTO\*.mscr" )
CallScript( xscriptfile )
sleep( 3000 )
EndForEach
EndIf
Lastly, I have this final folder to hold cab files I want to install with user input. It also has a script to cleanup a few things from the cab install.
Code:
If( DirExists( "\Storage Card\SDAUTO\Final Files" ))
ForEach xcabfile in Files( "\Storage Card\SDAUTO\Final Files\*.cab" )
Runwait( "\Windows\wceload.exe", "/nodelete " & [COLOR=blue]"""" & [/COLOR]xcabfile [COLOR=blue]& """"[/COLOR] )
While( ProcExists ( "wceload.exe" ))
sleep( 3000 )
endwhile
EndForEach
ForEach xscriptfile in Files( "\Storage Card\SDAUTO\Final Files\*.mscr" )
CallScript( xscriptfile )
sleep( 3000 )
EndForEach
EndIf
I had to set config.txt to hide the overlay image and not lock the screen to allow seeing the messages and responding to them. Eventually I see this changing to have the first script copied to start up folder by an initflashfile and not even need AutoRun. Currently config.txt starts the mortscript and does nothing else.
Cook.mscr
If your cooking and want your own mortscript to also be run at first boot just name it cook.mscr and put it into Windows folder.
Update: From Version 1.2.0 Cook.mscr will be executed at the same moment as the rest of XDA_UC, so this is depended on if RunCC or Autorun is used.
Suggestion:
install the cabs in a known order, perhaps alphabetically, so that we can name the files in the order to install like so
10_MSVC.CAB
20_PIMBackup.Cab
etc means we can control the install order.
Reason I chose not to use the known "Cabs" folder is not to screw with that configuration.
(XDA_UC is backwards compatible with SDAutorun v2 SDConfig.txt)
Cabs will be automatically be parsed alphabetically that's a default when more cab's are being processed.
At least I think so
It's using MortScripts ForEach File command.
Almost Everything processed will be written to registry under.
HKLM\Software\XDA\UC
And no more hassle with cabs that need user interaction.
You just interact when they come up.
If it's a good idea I could also make it check for a present Welcomehead.png or the Existence of a TF3D folder to copy over personal TF3D files.
Uploaded the OEM and a Sample SD Test Package.
is there a way this could be done without removing the RUNCC?
Yes there is.
There's a few different solutions.
I have added your request to the first Posts.
It runs at second boot and skips a few things that RunCC takes care of like installing cabs present in the windows folder.
This way you can keep everything is with RunCC and the welcome.lnk in initflashfiles.dat
Personally I prefer the First method with no reboots at all but it does require some extra meddling in the Rom.
Hello,
I have some questions...
Noonski said:
(This Method is under Review as it seems the latest RunCC accepts config.txt files from SD)
Click to expand...
Click to collapse
Noonski said:
This didn't work in earlier versions i had my hands on.
Click to expand...
Click to collapse
Which version is this? 1.0.9.0?
RunCC can execute the same commands in config.txt? (EXEC, TSK, XML, CAB...)
I have yet to get a hold of the version l3v5y's using.
Yes RunCC can but it needs configuration. Now for a cook that isn't any problem. But for Simple users all they need to do is drop some cabs and tweaks they have collected throughout the forum into a folder not be annoyed by.
I posted a rom already that has runcc installing from sdcard's config.txt. Not too difficult at all, wonder why more cooks don't figure it out.
Because Earlier releases of RunCC from leaked roms did not except these commands.
I have just extracted a version of it from an official Rom and it's got the same version i was using before 1_0_9_0
So weird that it is now accepting it.
But looking back i did not use the addrun("RunExtra"
I did try the Run customer, and default tho.
(Slaps in his forehead)
But it's still not the same as i'm trying to offer here.
Noonski said:
Because Earlier release of RunCC from leaked roms did not except these commands.
I have just extracted a version of it from an official Rom and it's got the same version i was using before 1_0_9_0
Click to expand...
Click to collapse
Noonski said:
So weird that it is now accepting it.
But looking back i did not use the addrun("RunExtra"
I did try the Run customer, and default tho.
(Slaps in his forehead)
But it's still not the same as i'm trying to offer here.
Click to expand...
Click to collapse
What you're trying to offer here is IMHO a far better solution!
Sorry for not getting you my tweaked package, though you seem to have managed without...
I think having a complete solution, with automated install of all cabs in a folder would be great.
Well i also needed to Scour the new Roms for some updated OEMS and i needed to know for sure that welcomehead.192.png was named that way to add it to the process.
And maybe even a Copy User Preferred Manilla files from SD to device if present. There must be some other good ideas from people that like flashing, but are tired of installing their preferred skins, settings and Apps.
Unfortunately i found that the newer package of Connectionsetup asks for a reset where my previous VGA reskinned package did not.
All the Regs are te same (Except for two new unrelated ones).
I like the old non rebooting version better.
I know that a reboot isn't needed but i can see users unkowingly agree to that reboot. (But that's another subject)
I think i will change the package this weekend So it is only one method.
By default it is set to run at second boot, but it can easily be changed by the cook to run at first boot if that is the setup that one would prefer.
Also i'm still tinkering out the exact form of the XDA files.
But nice to hear i'm not on an island, l3v5y.
Noonski said:
Well i also needed to Scour the new Roms for some updated OEMS and i needed to know for sure that welcomehead.192.png was named that way to add it to the process.
And maybe even a Copy User Preferred Manilla files from SD to device if present. There must be some other good ideas from people that like flashing, but are tired of installing their preferred skins, settings and Apps.
Click to expand...
Click to collapse
Noonski said:
Unfortunately i found that the newer package of Connectionsetup asks for a reset where my previous VGA reskinned package did not.
All the Regs are te same (Except for two new unrelated ones).
I like the old non rebooting version better.
I know that a reboot isn't needed but i can see users unkowingly agree to that reboot. (But that's another subject)
I think i will change the package this weekend So it is only one method.
By default it is set to run at second boot, but it can easily be changed by the cook to run at first boot if that is the setup that one would prefer.
Also i'm still tinkering out the exact form of the XDA files.
But nice to hear i'm not on an island, l3v5y.
Click to expand...
Click to collapse
I think the "EXEC:" command waits for the process to close? If yes, then an application that runs some mortscripts could wait till all the mortscripts are run before continuing, so it can be run at first boot within RunCC. That saves the issue of an extra reboot...
Welcomehead.192.png is the file for VGA/WVGA devices, welcomehead.96.png is for QVGA devices, though it's actually set in the registry, so that could be checked at load time? (I'll find the registry key at some point...)
Something I've just thought of:
If there were a way for ROM cooks to block things that are known not to function or are included already, that would be quite useful. E.G. I include PIMBackup in ROMs, so why would anyone install an extra cab to do the same?
You could add a check for a specific .Cab name.
And if present change the extension.
Repeat and Rinse a few times.
Then at the end rename all .cabxx back to .cab
I think in general, not a lot of people change their cab names.
Unless like that previous post, someone likes to add numbers to them to control the order.
But in this Silent install method i can see that having one app being installed first could be useful as there's small pauses build into the script so the device isn't slow as hell the first minutes it boots.
I think it might get more error prone if it gets executed through RunCC.
With all the processes that get proccesed through the script.
It's using and starting, cusTSK.exe, TaskMgr.exe, wceload.exe and mortscript. But when Mortscript exitst it should be finished.
I would need to test this style to feel confident it doesn't reboot while there's still work in progress.
I Agree that getting it into the No Reboot style might be some extra work for cooks. And maybe i'm seeing this to much from my own perspective where i always remove and convert OEM configurations to straight forward packages.
Noonski said:
You could add a check for a specific .Cab name.
And if present change the extension.
Repeat and Rinse a few times.
Then at the end rename all .cabxx back to .cab
Click to expand...
Click to collapse
Noonski said:
I think in general, not a lot of people change their cab names.
Unless like that previous post, someone likes to add numbers to them to control the order.
But in this Silent install method i can see that having one app being installed first could be useful as there's small pauses build into the script so the device isn't slow as hell the first minutes it boots.
I think it might get more error prone if it gets executed through RunCC.
With all the processes that get proccesed through the script.
It's using and starting, cusTSK.exe, TaskMgr.exe, wceload.exe and mortscript. But when Mortscript exitst it should be finished.
I would need to test this style to feel confident it doesn't reboot while there's still work in progress.
I Agree that getting it into the No Reboot style might be some extra work for cooks. And maybe i'm seeing this to much from my own perspective where i always remove and convert OEM configurations to straight forward packages.
Click to expand...
Click to collapse
I personally hate having cabs installed, so in theory my ROMs should be good to go without the reset.
Based on what you said, it might be best if the number of complications are minimal, and device compatibility as great as possible. RunCC probably would make things more complex and error prone, so yes, I agree not having it as a dependency makes sense.
A mortscript could always recognise *cabname.cab, so even using an order flag at the front should work.
Silent install sounds like it could be great, although some of the cabs need user intervention... Also, having a flag settable somewhere that makes (or stops) a message box with "auto install is complete" would be useful...
At the moment i have G-Alarm in my SD folder for that User intervention.
It just pops up at the moment after it's install i know at first i waited for it, no i grab a beer and tap it when i arive but the script continues with the rest of the files present so it's not waiting on that user interaction.
The possible Pop up message would in theory come up at the moment the last cab is just starting to install but it should be possible to add a check if wceload is still active before it pops up.
Which reminds me i still need to contact some of the people that actually helped out a lot without knowing.
"Installation has Finished, if your in a good mood and were planning to get beer from the fridge choose yes to reset the device, If your not in the mood and need to actually use your phone right now, press no to reset whenever you feel like it"
Do you think that would fit in the screen