Would this work? - TG01 ROM Development

Hi all,
im looking at the tg01 as a computer. with xp i can overwrite the whole windows folder with another install, and Albeit a few important folders, the whole lot is changed.
would this work on windows mobile? could we just overwrite the windows folder, registry and other folders with a 6.5.x install?
im not sure how the certificates would affect this.
it may be ugly but if it works then it would be a temprary fix for updating. tweaks can be performed as first run bats/exes to remove junk from defunct folders, registry would be merged with previous, cleaning up invalid entires and adding the tweaks for memory.
would this work or are the os's to different? i have heard of a protection removal thing for total commander, this could be used to faciltate an install, run it so it reboots the device into the program before windows is fully active and overwrites the folders that way.
im determined to try this tonight once i find a rom, and learned how to extract the windows folder and registry from the image
any help appreciated

i think the problem would be the same as if ud wanna do this on a desktop
the most important files are running so cant be changed on the run ...

i get that but by having a script run before any of the important stuff loads, it may get around the protection settings

Related

Removing Junk File??

How can i remove the junk files installed in my /windows directory? i saw many but i dont know if it is important. is there any programs that deletes any unusefull files or junk files? Thanks
your windows dir is filled with the files that windows contain
most are located in rom and can never be deleted
Some files like when i install a software and uninstall it some files will not be deleted. (ie. Help files, images, .txt etc)
got some exampes ?
i know that sometimes shortcuts are not removed from programs
and it's temp dir is also likely to get some temp files once in awhile
but i havent had issues with alot of space being lost to files not being removed
suppose you could always make a backup using activesync and then try
to remove stuff and softreset if it cause issues with programs or windows stuff then do a hardreset and restore your backup
maybe i was wrong. maybe the files that i saw is important and not a junk files. Thank You anyway.
There are utility programs like SpaceMaker and MemMaid which will do housekeeping for you. They delete the "junk" files from your device.
Ed

[DEV] ROM Tools

Hi,
I'm currently working on a few tools, and want to know what features would be liked by cooks/users or anyone really.
The first tool is an exe generator for hot fixes. Simply put, you plug some files into it, and it generates an exe that can be run on the target device which will do all the hot fixes.
The advantages it gives:
No more cabs!
Can use a custom icon for the exe if desired
Things like messing around with setup.dll files doesn't need to happen, and an application can be launched after install if wanted
Files can be deleted
File properties can be changed
Can use XMLs
Can edit registry
Can install files
Since it's written in native C++, it should run without a hitch on WM5+ devices, whether or not they have .Net whatever...
The second tool is an AutoRun/UC/whatever like system that simply searches through a folder, finds all cabs/xmls/provxmls and then installs them. This means there's no reliance on autorun for parsing config files, or any other requirements. Again, it's written in native C++ so is better
Any suggestions/ideas would be welcome!
Oh, and once I've got slightly further, both these will be released as open source. Probably.
l3v5y said:
Hi,
I'm currently working on a few tools, and want to know what features would be liked by cooks/users or anyone really.
The first tool is an exe generator for hot fixes. Simply put, you plug some files into it, and it generates an exe that can be run on the target device which will do all the hot fixes.
The advantages it gives:
No more cabs!
Can use a custom icon for the exe if desired
Things like messing around with setup.dll files doesn't need to happen, and an application can be launched after install if wanted
Files can be deleted
File properties can be changed
Can use XMLs
Can edit registry
Can install files
Since it's written in native C++, it should run without a hitch on WM5+ devices, whether or not they have .Net whatever...
The second tool is an AutoRun/UC/whatever like system that simply searches through a folder, finds all cabs/xmls/provxmls and then installs them. This means there's no reliance on autorun for parsing config files, or any other requirements. Again, it's written in native C++ so is better
Any suggestions/ideas would be welcome!
Oh, and once I've got slightly further, both these will be released as open source. Probably.
Click to expand...
Click to collapse
Wow, this sounds very very promising. Can't wait!
dwizzy130
yeah some user friendly and easy to understand specialy editing the rom or making add/remove programs EASILY is the best specialy to noobs like me when cooking ROMS all in one tool with advance AI for error checking
Sounds very attractive. go on my friend.....
Sounds good mate
I'm looking for a tool to easily make a setup.dll. Like setup.dll maker/generator/wizard.
Seems the only tools I can ever found is from e-pocketsetup, but that company was sold to another company and the product was never available since then.
I know cooks hate a cabs with a setup.dll. But seems without setup.dll a cab installer can not execute some little complicated actions. And it is impossible to make a setup.dll without grasp a computer language like c++.
Edit: Found another one: setupdllcreator , but it's not strong enough and not freeware.
Edit: If these can be realized, a setup.dll maker is much less needed:
No more cabs!
Can use a custom icon for the exe if desired
Things like messing around with setup.dll files doesn't need to happen, and an application can be launched after install if wanted
Files can be deleted
File properties can be changed
Can use XMLs
Can edit registry
Can install files
Click to expand...
Click to collapse
But we need above mentioned fubctionalities to be DYNAMIC, like:
Can detect availability of certain reg entries or installed apps, base on the result to decide which variants of install files to be installed, or whether some supporting apps like netcf or mortscript to be installed. Or can detect device id, resolutions, drivers to decide what to do.
Otherwise it still can not completely replace setup.dll.
But if dynamic actions can be executed, wow that's a dream of developers & hackers and even common users can benefit from that, a real revolution !
woww can wait for realese
l3v5y said:
Any suggestions/ideas would be welcome!
Click to expand...
Click to collapse
So I'm posting my requests again, the idea is this: It will be much helpful if I can know what is happening/changed in the registry after I did anything to my WM devices. So maybe you can develop a tool to monitor & log the real-time changes of registry. Or at least we can have a registry-comparision tool on ppc.
Another thing is it seems we don't have a file structure viewer on ppc, not the stuff like total commander etc., want to export the file structure to a file like .txt or .jpg.
Update: Now my idea is clearer for this, what I suggest would be a System Snopshot program to realize this:
Can make a system snapshot to record the registry content, file structure, ram usage etc.
The snapshot can be initialized in the similiar way of CapSure screen capture program, i.e., a hardwre button, a fixed time, a screen tap, a program launch, etc., defined by user.
Can choose a full system snapshot or only on selected part of registr, file system etc.
Can generate a file containing the recorded system condition.
Can compare any two system snapshot result and generate a comparision chart/change log.
So I've posted my requests as per your request, whether or not you'll do it is not my business lol.
Update: Found SK Tracker, cost EUR9.95, so forget this one. Why I did not know it in the past?!

Need Help Patching Manila w/ CFC GUI

hey guys,
I'm new to the whole windows mobile thing, but I have all kinds of experience over the last 15 years with computers. I've been on xda-dev constantly for the last week. I'm feeling pretty dumb as I can't even figure how to get started with cfc gui. I think once I know the basics I can catch on pretty quick.
I wanna start with patching manila to be able to use cfc images. As far as I can tell I need to copy the _manila files to a folder on my computer. I've tried that and point cfc gui to that directory. I've patched that. So then what? Copy allll of those files back over to the phone? or Storage card then phone? There has got to be an easier way. It seems like cfc gui should be able to start and stop the tf3d app on my phone somehow....
Can someone PLEASE point me in the right direction? Thanks!
Alright so I don't think I can copy the patched manila.exe and mode9.dll files over the original ones in windows directory. I've found chainfire's app unlock program, but it still will not overwrite files. Even if i uncheck tf3d in Today settings.
I'll still be researching, but if anyone has any advice I'm sure it will be helpful.
BTW I have a Verizon TP2 so I'm not sure if what I'm reading is for GSM or what.... Trying to make sure I have backups of everything...
Here's what I did.
1. Install ChainFire's AppUnlock cab.
2. Connect the device to PC via Activesync.
3. Open CFC-GUI and go to "Patch manila on device".
That's it. I didn't have to disable TF3D since CFC-GUI actually did that for me.
Yea, i havent tried that since i installed AppUnlock. I'll try that when i get back to my pc. Thanks for the info!

Help for total, 100% clueless beginner

Sorry for new thread, tried searching for things like a Beginner's Guide but no luck...
The HD2 is my first foray into WM phones and I just need a bit of help understanding how to install all the programs and tweaks you clever folks on here cook up. For starters I want to disable the clock flip animation when you switch to the Home screen:
1. You can disable this extra animation so it only flips when it needs to flips. Download the modified manila file at the end of this post.
Done
2. Disable HTC Sense in Today settings.
Done
3. Backup original Windows file (you are going to overwrite) to your SD card.
OK, this is where I fall down
4. Extract downloaded file to Windows directory on your device (overwriting the original).
Not sure here either, but I think this will be obvious once I connect to my PC...?
5. Enable HTC Sense again in today settings.
I'll be OK here
Also, in the Hints & Tips thread, it talks about installing a program to edit the registry for a lot of the tweaks. Would something like Total Commander (http://www.ghisler.com/pocketpc.htm) be OK for that?
search for cab file, on leo themes and app, 1sr row, the one with touch x . copy it to your phone/storage card , launch it and softreset. no need for backup
Download the cab-file called "Touch_X_Homescreen_Flip_clock_OFF.cab" from here:
http://forum.xda-developers.com/showthread.php?t=584415
Notice that this is a cab-file and not a rar/zip(/whatever)-file.
Cab-files are so to say "setup-files" for windows mobile.
That said, after you've downloaded the file to your computer, simply copy/move it to your mobile. Now from your mobile, run this file, and it will install as a program.
This means that you can uninstall it by going to settings->programs....
My first tip would be too make sure you install/store everything on the storage card and not the device. this is one mistake I made and you'll run out of space quickly.
Secondly, decide now if you're going to install the lastest ROM. best to do it now before you get into setting up and tweaking otherwise you'll be in my situation again where you'll have to clear everything and start from scratch.
And yes, it's easiest to download CABs to your PC, transfer them over USB to the storage card, then install from there.

How-To's For Nubs

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

Categories

Resources