Trying out different roms, is it normal to have 9,000 files in the Windows directory? If not, how can i wipe completely everything and get a fresh start on my Tilt 2? Have done plenty of Hard resets....thanks guys
Do a hard reset, instructions in the Wiki
And please don´t forget to vote for Rhodium!!
Wait, you have over 9000 files? (I couldn't resist)
In all seriousness, it's normal to have a lot of files in \Windows, especially if you have Manila built into the ROM (as that alone consists of a few thousand files).
I guess it depends on the ROM you are using and the software you have installed.
The \Windows folder on NRG Manila 2.1 roms holds about 3000+ files after a fresh start. This is obviously not counting files from sub-folders under \Windows.
I suspect you might be calculating the total files uder \Windows including Sub-folders.
While on the subject, is there anyway that ROM chef's could move most of those files into additional sub-folders to clear up some of the clutter under \Windows especially the manilla files which amount to A LOT!
..thanks for al your reponses guys. i guess its just the stock reconstructed warranty rom on the Tilt2 that has all those files in win direct. Moved to the "PC PRO Series v4 Standard with HTC 3G DIALER(manila 2.1 only)" all those files are gone..like DaveTheTytnIIGuy said the manila built.
Thanks again, have a great day
Related
Hi Chefs,
I want to cook a BigStorage/Light Edition of the new O2 Germany Rom. What should i do?
My my first thoughts: I extract the os.nb of the exe file, load it in the Rom Koch...OK, now, it's getting difficult...I want to remove for example Feedback, ringtones, example pics and vids, old office, games, windows live, homezone plugin etc. I don't know, which files i have to delete. Is there a list, which files belong to which programms?
Can i brick my phone, if i delete a wrong file?
Is it dangerous to flash my hermes with a selfcoocked rom (BADBLOCKS)?
Is that the right way to create a big storage rom?
What shouldnt i forget?
thnx
PS: pleas don't flame me...
Pello
Nobody can me help a little?
pello said:
Nobody can me help a little?
Click to expand...
Click to collapse
if you have HardSPL as the bootloader before you flash and are just flashing OS only upgrades you should be ok...
http://wiki.xda-developers.com/index.php?pagename=HTC_Hermes
jepp...ok, thats nice, so i can try without bricking my hermes.
can i just delete the files without changing user/default registry/flashinitfiles?
Is there a documentation for which files belong to which app, for example WindowsLive?
Windows live stuff is normally in directories called "WindowsLive*" inside the SYS folder.
Just play about, it's a fun way to learn and with HardSPL you shouldn't brick your device (for example I messed up a splash screen creation by not adding the padding required for the hermes. Looked horrible, didn't boot, but put it into three color bootloader screen and was able to flash a fixed version easily).
sorry I didn't reply in the other thread.
the software is somewhat modular - in that if you remove all of the Windows Live folders or Entertainment folders, you should remove all of that component.
Under /SYS/SQM is a .rgu file. The first entry is "Enabled"=dword:00000001. Change that to 00000000 to disable feedback.
Note that some kitchens uses an options.xml to allow BuildOS to determine what gets installed. The one for the files in /SYS uses a single one in /SYS.
I'd suggest grabbing a kitchen and following the directions. If you got HardSPL installed, and are careful, you should do well.
I "bricked" my phone twice in the first hour I started because I tried flashing a Wizard formated extended rom to the Hermes... gotta learn somehow
thnx mattk...
can i use the bepes rom kitchen or pandoras rom kitchen only with the included WM6Rom or can i swap the OEM,SYS Folders and the os.nb with the included?
What should i do with the XIP Folder?
Hi. I've read hundreds of posts and followed dozens of tutorials. I'm aiming to gain an understanding of what actually happens during the rom cooking process and I think I'm getting there. I've used loads of different toolkits and kitchens and most recently I've been using 'romdonalds' which has given me a better understanding.
However I'm a bit confused about the difference between the dump directory with loads of files and folders, and the OEM/SYS versions of these which I've seen when using packagetool and buildos. I know how to go from the 'flat' structure to the oem/sys structure, but I don't know how to go back again.
I'd also like is to know what really happens behind the scenes when you click the go button in buildos.exe.
TIA
Matt
I could really use a little help to understand what's going on here. If there's some clear explanation of what actually happens during cooking that I've missed, could someone point it out to me please? I've searched thoroughly, read extensively, and pulled my hair painfully... but I just don't get it. I've analysed batch files in just about every kitchen there is but I've reached a point where I need some help.
If there's some unwritten quid-pro-quo requirement that I've missed before I can ask a question then tell me that too - I'm no freeloader, I've just donated to Slither2006 for his cube, and when I've fully grokked the process I'll write up everything I've learned in a really clear guide, I promise.
I'm not an idiot either - I was a technical architect at a large UK ISP until recently, doing stuff like building a huge virtualised server farm with custom management tools and a homebrewed iSCSI /LVM2 snapshot system that blows away anything commercially available, and now I work for myself... I've used HTC devices since the Blue Angel, also an Exec and now a hermes... but I could really use a hand here.
Thanks!
I suspect you are quite a bit ahead of me here, but here goes.
The OEM/Sys folders are just part of the Dump folder, but extracted and turned into a more logically arranged order for manipulation.
When you run buildos it just takes these and a few other bits such as the XIP section and puts it back in a format for rebuilding.
Best I can do I am afraid.
Thanks for your reply crazyc. It's getting a little clearer now. Can anyone else shed any light? Ideally I'd like to know exactly what buildos does to turn the organised folders back into the dumped ones.
Piecing it all together:
A: I know how to get the dump folder from a source rom (nbhextract->nbsplit->imgfsfromnb->imgfstodump).
B: I know how to make changes to the dump directory manually (add/delete files; extract/convert .hv files to .rgu; edit .rgu files and reconvert to .hv; edit initflashfiles.dat to create shortcuts on first boot)
C: I know that instead of all that I could convert the dump directory to the organised oem/sys pair (pkgtool) and know that in theory I could manage that with BuildOS.exe to integrate oem packages with the option.xml file in them - but I don't understand what's happening here relative to (B) above
D: I can turn the dumped folder (but not the oem/sys folder) back into a flashable rom (imgfsfromdump->imgfstonb->nbhtool)
Can someone who really understands what's going on explain where I'm confused?
Thanks
Matt
Here is my take about cooking....
When the dumped OS has all the rgu files in tact then spliting the dump folder as OEM and SYS will work.
Where as some OS do not have rgu file in them (some cooks prefer to cook this way...all OEM OS have rgu files). In this case you would have to use only the dump folder and edit default and user.hv to add and delete stuff. You cannot use package tool for this method.
You sure can turn OEM and SYS back to ROM, just use the right kitchen (Pandora, Bepe Kitchen, etc)
Hope this helps.
Hi, everyone! I´m still working on a Wizard (don´t want to touch my Hermes, yet). I´m pretty advanced... but
I dump the [latest] original cingular WM5. I rebuilt it with office 2007 and realize that the original shortcuts are still there. Of course, they are both useless (as I have new names for the apps) and annoying (because I can´t remove them before compiling).
This is the whole point: Those shortcuts are not coming from neither an xml update for the XIP nor an initflashfiles.txt
HOW ON EARTH DO I REMOVE THEM. I can´t find what is creating and copying those shortcuts
Are they embedded in the OS.nb file? If so, how do I take that file apart?
Any help is very much appreciated!
..provxml, m8..
Nope, had checked already
*.mopvxml, etc had been checked.
But... what did you mean by m8?.
BTW: I will check inside os.nb now, but please give me fresh ideas
You may also want to check for a file called initflashfiles.dat. That contains a lot of shortcut information as well. Especially for apps that are default for that particular ROM. It should be found in the OEM\OEM_LANG_* folder in the kitchen. The (*) is the locale number. For example, a WWE ROM would have the folder as OEM_LANG_0409.
Yep, solved (initflashfiles.dat)
Hey, thanks! You´re FAST!
I was about to post it. But thanks, you could have saved me hours
Anyways. If anyone ever reads this thread, remember: scavenging os.nb(a) isn´t that great. An automated kitchen does it all (Hypercore in this case).
I also found somebody claiming that certain shortcut came from a dll. Just keep as a sidenote.
Cheers!
im new to this cooking thing and wanted to make sure of somethings.
1. what exactly goes into the SYS folder? i read somewhere on the forums that the only folders needed in this folder are the .ROM, .VM, and the shell folder with the shell32 folder is all that is needed in there. is this true.
2. does the my programs and games i want to cook into the rom go in the OEM folder after i use the cab2oem program? oh yeah and where do i put the cab files that dont want to seem to convert?
3. what would i need to make my rom a RBSC rom and how do i get rid of the ULD partition?
4. where would i put the files in for like the different shells so that it starts up on these shells after it is flashed like for example: the iphone shell or http://forum.xda-developers.com/showthread.php?t=354866&highlight=SCLPF
I think thats about it. Oh and before you start scolding me and say "its called a search box" or "maybe you should look"...well just know that i have and cant find anything. I have been seeking these answers for about three days now.
Many answers to wich i know the meaning and knowledge...
1.-In sys folder goes all the OS Base...
What do i mean by this? well it depends on the kitchen you use... if ou can see on the kitchen of Josh its a modified kitchen betwen ervius visual and bepes platform rebuilder so not so much folders in it! the sys hs two folders more... 0409 and common... in this original kitchens you can do many lang OS or many devices OS, so thats why there is more folders than OLD School way... so there are so much folders in it like the office... the bronzeres the manilla 2d and many more...
in old school the OEM folders becomes sys when dump again the rom so imagine how many things must be on SYS!!!
the .rom .vm and shell and shell 32 is a way to port the sys... but is not ported well with this method. and yes that folders must be on SYS anyways.
2.- Yes exactly the programs you wish to add to the rom must be on OEM folder... and the cabs that dont wants to be converted into OEM must be in OEMOPERATORS to install them on first UC... you must to edit the config file like the SD config way...
3.-RBSC is related to the os.nb.payload... so get a dumped rom with RBSC and get it's os.nb.payload... and add it where this file must be... On ROM folder of the kitchen, to get rid of changing the ULD partition many people is working on it... so the modules can be added there to have more storage... wel its not so much i thing 3 MB of storage not RAM.
4.- Well dude that link is not a shell... but what do you mean by "SHELL"?
This is a program that emulates... the htc cube... that was an app too so it is not a shel but if you said you want a new theme... home plugin... or UI use them as it is a programm add it via OEM or cab thats all.
thank man that was really helpful that cleared my everyting up
Hi.
Does anyone know if it's possible to create a CAB file directly on my phone? I want to do it through C#, so either an assembly or command-line app would be ideal. I think I'm asking for something difficult here, but have my fingers crossed.
You can do it as sktools have software for phone that does the job all be it in a very tedious laborious way
Cheers mate. Nice to know that it can be done. Now just need to figure out how!
let me know if this one helps you out:
http://www.codeproject.com/KB/files/CABCompressExtract.aspx
Thanks RAMMANN.
At first that looked great, but then I read the following...
There are two completely different types of CAB files: The ones which this project supports are the "Microsoft CAB" files (also called "MS-CAB"). The internal pack format may be Microsoft's MSZIP or LZX. Some years later, InstallShield created the "InstallShield CAB" files. But these are absolutely incompatible with the MS-CAB files although they use the same file extension!
Click to expand...
Click to collapse
Since I'm looking to build cab installers, rather than just compressed & zipped files, it looks like I may be out of luck. I'll keep looking anyway.
Thanks for the suggestion mate.
???
I didn't know there's anything Installshield related on a mobile phone. Are you sure? I guess they are talking about PC installers. In your position I would try the sources to read an existing mobile CAB and you'll see if it's working.
Oh and btw I think that the mobile CABs are nothing but compressed archives but the installer extracts _setup.xml which is in all contemporary cabs and this contains all the installation infos needed.