Starting to cook my own...missing some basics with packages - Touch Pro2, Tilt 2 Windows Mobile ROM Development

Hi Folks,
I'm sure the answers to my questions are somewhere on XDA, but I've not been able to find them. I've been trying to get some basic things working for a good few evenings now and I’m stuck
Using Erviuskitchen, packages creator 5.4 and EXT_PAckages_rebuilder I've been able to dump the HTC 6.5 base ROM to work from. Then put it all back together, pull some bits out, cook it and flash it to my phone....all went surprisingly well, my phone's still running and a bit more bloat-free!
What I'm stumped on though is adding things to my ROM, I'm good with packages found elsewhere, but nothing of my own.
I've got a bunch of .CABs which I'd like to 'cook in'... but when I create a package from the CAB file using packages creator 5.4 and EXT_PAckages_rebuilder and then flash it, I get no start menu icons. The app seems to be installed correctly, but without icons for it.
(my goal's to cook in a pre-configured copy of GuardMobile for if my phone's evey lost/stolen, but I'd like to be able to include other apps too).
What am I missing?
On a slightly different note: during my travels around here, I've seen various cooked ROMs which give you the option of uninstalling cooked-in apps as if they'd been installed using a .CAB file - how's this bit done?
Like I mentioned, I’m sure the these are pretty basic questions and the answers are around here somewhere, but I'm afraid my search-powers are failing me! (tbh, there's just too much info and I'm struggling to filter it down to what I need).
Any links or quick pointers would be greatly appreciated. Hey if my ROM turns out to be any good, I’ll put it up for others to use.
Thanks in anticipation!
'tunes

Most times when creating a package the shortcut created in the CAB is added to some .DAT file which you can edit using Notepad++ or any other text editor.
There should be some lines in this file like this:
Code:
Directory("\Windows"):-Directory("Start Menu\Programs")
Directory("\Windows\Start Menu\Programs"):-File("PROGRAMNAME.lnk","\Windows\SOURCESHORTCUT.lnk")
At least this is one way to do it. Con about this methode is that you need shortcuts (lnk) in your Windows folder to point to. Should be other ways. I use Mortscript in my ROM (not ready for release ) this allows me to create shortcuts without having shortcuts in my Windows folder.
EDIT:
Just did a quick search for you. THIS might help you (and us) out

Thanks mccune, I'll get reading...

Related

n00b question regarding CAB files.

I am going to upgrade to the shogun ala carte rom within this board because I am still running summiters 2.3 rom and it is a little buggy. There are several apps though, I would like to get the CABS for and wonder how can I extract them from his ROM executable?
Do I need to decompile using a VB app?
How does one do such a thing?
Best way is to install the ROM with the extended ROM you're interested in, then use Total Commander and navigate to \Extended_ROM folder. This exposes the "hidden" extended rom, and allows you to copy out cabs you want. As mentioned in a dozen places, you can't modify the extended rom this way without corrupting it and leading to a hard-reset in your near future. Good luck
what apps are you looking to save?
Thanks that was good info, I just copied and pasted all the cabs to a folder then moved it off to the PC.
Shogun, thanks very much for checking in, since I have the opportunity let me say it is great that you take time to build, I look forward to trying out the ROM you have up.
In answer to your question, it appears you have all the ones I am looking for within yours, I was asking in the interests of a back up plan, but I am simply looking for the apps included in Summiters 2.3 ROM. Here are the main ones that come to mind, sorry for the descriptions in lieu of actual names this is how I know them:
Annmar Wireless plugin
Task Manager
Overclockers
The Softkey app
AD2P (I think)
The USB Connector App
Again I was simly trying to hedge my bets here, I hope you do not take offense.
no its all good, i know mine has the wireless today plugin, A2DP, and the usb connector app, as well as OMAP to overclock.. i dont remember if it has the task manager or not or the softkey app.. been busy creating the new one that is in beta right now... that has EVERYTHING you list above, and then some

[Q] Custom Tab

Hi guys,
I don't know if this is the right forum to post on..
but I have a question relating to adding a Custom Tab in TF3D to display a custom program.
Is there an app out there that allows you to add your own custom tab? I would like to have a tab to run a third party app. Or is that a ROM thing?
Do I just change the registry in the manila files?
Also, is there a guide for noobs to understanding how TF3D works? I've had a look at the wiki and it lists all the manila files and their functions, but I'm not sure how they work (e.g.: Can I just 'add' an extra entry into a manila file and get an extra tab?)
Much appreciated if someone can point me in the right direction!
Really??? No one??
Wow....
Okay then, I'll give it a shot myself. I have basically no programming experience (aside from high school VB and a little HTML and I read a little C++ in 24 hours...I got to the 6th hour and got lost ) but it seems to me that editing various manila files (e.g.: 269*_manila) seems to be the way to go.
I'm on holidays at the moment, so I will get to it next week, but here's the plan of attack:
1) Find a manila file that lists the tabs and duplicate a tab entry but change the name (from various online readings it seems like it's 269**338_manila or something)
2) Find all the references and links that manila file has and duplicate those (obviously under a new name)
3) Duplicate the mode9 file, and see if I can't create a replicated tab of an existing tab
4) Change the mode9 file
5) Realise that I don't actually know how to do that, and find out how to use mode9editor as well as learn how to read the stuff that comes up
6) Cry a little
7) Play around some more
Any pointers from people who've tried? Or know more than I do (which, I am guessing, is most of you)
Oh, by all means, try yourself. And then post here.

[REQ] XML builder for Raph

Hi all
I was wondering how many people here would like to have some sort of way to build an xml which upon completion of a ROM update (which for some us are only day's apart) would change a load of settings to what we want for them
this is just a concept at the moment and i would like to work with someone or the community as a whole to produce a program to do this
the concept i have is as follows:
a simple windows exe Window which has inside it drop down menu's for all of the settings possible (cleartype/text size/regional settings/time zone/notification settings) fields (username for email/password/server addresses/screen name)
and if possible, something to allow us to drag and drop CAB file's into a window which would then also package up the cab's into a folder and spit out/generate the relevant SDCONFIG.txt file
is this at all possible? is there much interest in this?
I can go through and try to find as many of the settings possible and attempt to perhaps find the relevant registry settings even
i would really like to get the ball rolling with this, im sure it could work really well, not only on the raphael, but also on other devices perhaps
please post any interest on this project/concept here and i would really like to do something about this, im about to go and figure out the best way to even code this, however my coding knowledge is about zilch.lol!
.PROVXML files are the ideal place for last minute configuration changes. I'm just starting to explore this avenue and I've found tremendous flexibility in what one can change.
Have a look at the following information ... right from the source
Provisioning Using a ROM Configuration XML File
http://msdn.microsoft.com/en-us/library/bb737254.aspx
Configuration Service Provider Reference for Windows Mobile-Based Devices
http://msdn.microsoft.com/en-us/library/ms889539.aspx
There's also some excellent thread on XDA ... you'll have to do a bit of searching for them.
HTH,
have you looked at oemizer?
Assume this is the one you mean: http://tiermann.net
... takes the fun out of doing this the "manual way"
Cheers,
I don't use it personally. I came across it when I was learning with my M3100 (Hermes) and it provided a few useful insights at the time when I disected what it had created. I found a few problems and don't use it, but it seems like a similar attempt to what the OP is trying to achieve.
many thanks for the replies
im just looking into the oemizer that was posted and see how that works, however, i get the impression that its for rom cooking
Hi duke_stix,
That's where it's often used ... although, I have come across some posts about utilities that can re-initiate Provision XML files already present on the device or new ones placed on an SD card.
*EDIT* - Some examples
DotFred's Task Manager: http://www.dotfred.net/TaskMgr.htm
HTCustom: http://shadowmite.com/forum/viewtopic.php?f=28&t=2231&p=7890#p7890
Cheers,
I have not seen anything that does exactly what you suggest, but things to look at that are maybe related include
Sashimi
tier-autoinstall (or something like that)
They run the files but don't create them.
You can always just export the reg values and then import them after you flash...
or use a reg to xml program to add it to SDConfig
I'm working on a new app right now that might have the potential to cover what you're asking for, but the exact features necessary to pull off at least a part of it won't be available in the first release. Keep an eye out on the D&H forum in anywhere from a week to two weeks when I post it up there.

ROM dumping / extraction / kitchen building for the Rhodium platform

Hopefully this is a well known topic and I simply have not yet to locate the information - please try not to flame me too much I've been away for about a year and things have a tendancy to change real quick...
My baseline kitchen / ROM builds have always worked best off a stock OEM dumps - bloat and all. I'm hoping to come across such a gem with the new WWE 6.5 dumps coming available.
Ideally, a similar process could be done as Bepe did to the Hermes rom: Bepe's Big Storage. In this rom the extended and program memory was merged, giving it terrific space (not that I ever needed it ).
Also (and most important for ease of use), his rom dumps included the individual registry entries for each package with each folder - the file names escape me, but it made keeping the registry clean and specific very, very easy. This also makes making a personal kitchen for the masses to use much better as well.
So - has the dumping process for this rom evolved enough that we can replicate Bepe's actions (clean file/registry extraction and merging extended ROM space), do we simply use existing tools for a different platform (such as Touch Pro, Diamond, or whatnot) to extract our own, or is that no longer a driving practice with ROM building?
Thanks for schooling me on the latest ROM process - hopefully I can get one of my Naked builds together for those who perfer lean and fast, cause this bloated gadget is way too fat
Hopefully if there is enough info collected in one spot to either update the Wiki or put up a sticky for everyone to use
Here's a thread from the Raphael device, probably a good enough reference to get started - if it will work with this dump: [TUT] Sous-Chef's Guide to Aruppenthal's XIP Porting Kitchen 5.3
I just PM'd hilaireg - hopefully he has some info if there are hardware differences that would prevent the tools he'd referenced from working...
hi,
i found this thread regarding radio dump but it is for smartphone device (wings).
i haven't tried this yet.
hopefully the process can be used to our device.
edit:
also found this thread regarding rebuilding of dumped roms (raw files) from topaz.
just change the htcrt to our device config.
regards,
twisted
WB Matt!
I think things really have changed a lot from Wizard and Hermes days!
For Kaiser, I use OEM from 6.1 dump, and use 6.5 SYS files! It seems to work better for us Kaiser users.
I am not sure about old way if cooking though! New way is much easier, and real fast to switch between devices even.
But I know you have creative ideas to even make a noob cook! So I am looking forward to your contributions...
Here's hilaireg's response - he added a couple good links and info:
"Hi Matt,
I agree that the TP2 section of the forum is still somewhat sparse.
Arup's XIP porting process was tailored around PkgToolsBuildOS 5.3 which doesn't properly support WinMO 6.5 ... hence the release of Visual Kitchen by Ervius.
IMHO, I would suggest performing a dump of a TP2 official RUU's using the latest version (1.8.1) of Visual Kitchen and forgo using the old PkgToolsBuildOS.
I'm sure you've likely been following Da_G's threads on WinMO 6.5 ... just in case:
[OS][WM6.5.x] Latest Releases (23034), Porting, Tutorials, Tools, VM, etc.
http://forum.xda-developers.com/showthread.php?t=544445
There's this thread as well that may serve of use if you run into extraction issues using Visual Kitchen 1.8.1.
[APP][UTIL]nbImageTool .4 (Partition Dumper) support .nbh .nb .dio .fat .nb0 .payload
http://forum.xda-developers.com/showthread.php?t=548315
The utility may allow you to extract the portions you need (ex: XIP, .PAYLOAD,etc.) and have VK perform the SYS/OEM package extraction. From there, you may be able to piece together a "functional" kitchen from both extraction processes."
ai6908 / twisted - thanks! I did have a lot of success mixing OEM and SYS packages - but the fun was making every element of the ROM being optional, and allowing someone to build a completly empty ROM, or only adding exactly what they want. This way, they can balance bloat vs speed, and find their perfect balance. This flexibility keeps every mix clean and quick
Once I get a good grasp on what's going on, I'll redo the first post with a summary and process for this device, FYI Best way to learn
Good to see you here. I remember the pandora stuff and look forward to this.
Options around things like extendir might be good?
Things have changed quite a bit Matt. I remember your excellent tutorials and guidance from my Hermes days We don't have extended memory anymore and all packages get dumped with their corresponding dsm and rgu, it 's very easy. The newer "visual kitchen" made by bepe and erv, use app.reg and did away with dsm's. Da_G is working on a microsoft based kitchen that will enable us to update any file in the ROM without flashing the whole rom again and that will be possible by the reintroduction of DSM's in the cooking process. You can IM me if you want to chat about all this.. Top right corner
(Sorry for possible silly questions, but I'm still at Andrews for a couple more days and am without a PC )
Interesting... editing/deleting files in a live rom... gonna have to chew on that concept for a while. Wonder how this will effect page file settings. Wow...!
The .dsm/.rgu extraction being clean is good news - trying to break out the individual registry elements is a big pain.
Good as well is the lack of extended memory, but do we recover unused space if not used for the "program" - in that this space is usable to load apps into?
I'll still need to research more, but if we're using app.reg, will the compiler still add .rgu entries into the compiled hive? This will be important to keep package selection clean in a multiple selection kitchen, unless I am unaware of the new kitchen capabilities and this won't be an issue.
I do have some ideas, and a whole lot more programming under my belt than before. Can't wait to get home and get started
Please consider looking at the issue of activating MSVC with the bluetooth headset button if you can. I am not sure if this is fixed in 6.5 but cannot make it work in 6.1. The TP2 usues a different BT stack so I am told. This is allegedly a business phone and this is a mjor feature espcially with the current laws around mobile phones and driving in the UK.
Cheers, and looking forward to whatever you release.
Matt my old friend, I'm sorry for taking a while but i have successfully converted my hermes, kaiser, fuze kitchen to rhodium for you... i'll upload shortly when i get home and you can do what you want with it has all stock extracted rhodium and if you have questions buzz me and i'll answer
Also matt, add me to messenger, it would be an honor to help you with this. get you up to speed
mattk_r said:
(Sorry for possible silly questions, but I'm still at Andrews for a couple more days and am without a PC )
Interesting... editing/deleting files in a live rom... gonna have to chew on that concept for a while. Wonder how this will effect page file settings. Wow...!
The .dsm/.rgu extraction being clean is good news - trying to break out the individual registry elements is a big pain.
Good as well is the lack of extended memory, but do we recover unused space if not used for the "program" - in that this space is usable to load apps into?
I'll still need to research more, but if we're using app.reg, will the compiler still add .rgu entries into the compiled hive? This will be important to keep package selection clean in a multiple selection kitchen, unless I am unaware of the new kitchen capabilities and this won't be an issue.
I do have some ideas, and a whole lot more programming under my belt than before. Can't wait to get home and get started
Click to expand...
Click to collapse
if the rgu entries are in the OEM or sys folder sections of the new rom kitchen it will be added to hive.. App.reg is looked at in EXT folder of the kitchen now.

Possible to change cooked MS Office Mobile??

I have tried many roms, and have found my favourite to be: Williyung's ROM 826X Windows Mobile 6.5.5 build 23519.
I prefer it due to long battery life, and the finger friendly menu's of 6.5.5.
The only issue that I have with this rom is that it is using MS Office 10, which is good, however the excel regularly corrupts files of mine after using them.
What I basically mean is that I will use a file, save it, and go back to use it, and its saved at 0b, which no data what-so-ever.
This is frustrating to me, and I would like to try the older version of Office Mobile to see if it fixes the problem.
Is there any way for me to replace the cooked version on this rom?
shouldn't be a problem: the later installed one will get a separate installation folder under Start (I expect the current installation is located elsewhere)
you can, if you want, remove the cooked-in office, check via properties of \Windows\Start Menu\Programs\Office Mobile\*.lnk for location of executable files and delete them (if you want to save space)
or keep the files and simply adapt the above shortcuts to the new files/file location)
cheers
Thanks for the reply Draken.
Where would I be able to find a copy of the original office mobile? I have searched around and cant find a cab?
the cooked-in one? no idea what is the exact version he used, therefore hard to tell
but: if you don't delete it and only modify the shortcuts you can preserve it, shouldn't take up much space
if you want it removed: marketplace, search ([url=http://www.megaupload.com/?d=JNN2IRFM]beta, alternative[/URL]) or even pm williyung for his cab

Categories

Resources