Which programmer "XML" to use for recovery/flashing? - General Questions and Answers

Hi everyone!
This being my first post of the year, I thought to make it an important one to me as I pondered this for many many months.
I'm trying to remember but whenever I'm trying to use something like QFIL, third-party or forensic software to either do recovery or flashing to a device it always asks for a programmer "XML" or something of the like. I explore the firmware's folder and there are usually a few of the same filename but with different variations.
I just don't know which one to choose from! ‍
Can someone help me or give some clarification on this matter? I just don't want to choose an XML only to find out it's not the correct one!
Hope this makes sense to you clever folk...and had a Happy New Year too!

Anyone at all may I ask?

Related

The PANTRY

Here are some thoughts and ramblings I have been doing. For weeks and months now I have been flashing a different ROM about every 2 or 3 days, trying to find just that special one I like the best and suits my needs, which hasn’t happened yet. Then came along the Kitchens with all the ways to make it just the way I want it. I love it, and have just started in the last few days cooking my own ROM’s that do meet my needs. For arguments sake, I am using the Core 2.0n base ROM, Core Pro Kitchen. Have a Cingular 8125, Use the AT&T/Cingular Network. 1gb RAM card, and live in the US ….
Here is what I have found. If I am way off base or doing something maybe wrong, please let me know, there might be an easier way already out there, but I haven’t found it yet. And as of today, I have not bricked my phone with anything I have done below.
OK, It seems every ROM I have flashed, there was that ONE little program that stood out and really made me happy. So what I have been doing is this. I find a ROM that has that little special program I want, and use the kitchen to rip it all apart. When all is said and done, instead of flashing it right then and there, I enter the C:\Core\Kitchen\OEM or C:\Core\Kitchen\SYS and find that one certain program/package I like and cut it out and save it to a temp directory. I do that with 7 or 8 different ROMs until I get all the little parts I want. Then I take the Basic Core 2.0n and use it as my base, do all the steps right up to the part where you BUILD, and then I go to that temp directory and move all those special programs to where they belong in the Kitchen. THEN BUILD. So far it has worked great.
BUT, here is where I get to the MAIN POINT of this topic. Thinking of the word KITCHEN, I was wondering where do I go to get all my FOOD so to speak to COOK? Well in my house I go to the PANTRY. So, I was wondering, is there a way or someone who could start the PANTRY? My thinking of what it would be is a place for all those programs out there that are added to the OEM and SYS folders SEPERATLY. Kind of like an FTP site or something.
Here is an example of what could be in the PANTRY, using Total Commander as my example. And would have a TotalCommander2.zip file in it, along with all those others out there.
This is what is in my Total Commander 2 Directory, which is ready for the BUILD step.
---------------------------------------------------------
C:\Core\Kitchen\SYS\TotalCommander2
cca7de97-9353-45c7-9006-0a73bec0575f.dsm
cca7de97-9353-45c7-9006-0a73bec0575f.rgu
cecmd.exe
ftp.tfx
initflashfiles.txt
LAN.tfx
registry.tfx
Total Commander
As you can see, it’s complete with the initflashfiles.txt. dsm and the .rgu, and everything else that’s needed. So why not take that directory and everything in it and zip it up, and add it to the PANTRY. That way, say someone wanted a BASE ROM , with just Total Commander and NOTHING ELSE, they could go to the PANTRY, download that zip file, unzip it and put it in their Kitchen’s directory and it’s done. I have read a lot about the topic “How To Create A Rom Package” and this seems to be the easiest way, since 90% of them out there that we use are already built. All they need is to be placed in a PANTRY for everyone to share ? ??
Just my thoughts…………….
DaKender
You're welcome to download the OEM pack from the kitchen thread, and contribute at will for others to use.
It's a collection of programs contributed and collected by the forum users.
While managing 50+ different downloadable files would be a pain, having it all in one directory is simple, it's not that big, and easily downloaded - and updated.
Heck, take it and start your own OEM pack thread - it's not mine to say you can't.

The case for a "loaded" cooked ROM?

Hey all...
So I have been in the Kaiser forums for about a week now and have played around with some of the ROMs out there. My previous device was a PPC-6700. On that device there was a ROM and an Extended ROM. To the best of my experience, I never played with the ROM, but I did unlock the extended ROM and remove many of the bloatware cabs. I also set up some file (I can't remember the name, but it was similar to the UC option) which would allow my own CABs placed in the extended ROM to be auto-installed. In this way we were able to distribute the phones to employees with only the software we wanted (for instance, with our company cert pre-loaded and TCPMP to play back cisco VMs).
While I understand the interest in "cooking" a ROM to get all the latest and greates components (WM version, Radio, etc.) from the various ROMs into one uber-ROM, I'm not sure I see the advantage of adding in all the additional pieces of software.
From my viewpoint, I would think that a ROM should be as clean as possible, this would present a nice base for users to customize. Instead of "cooking" all the files for other components (plugins, menu replacements, voice command, SIPs, etc) into the ROM, why not just provide these as CABs either within the ROM or as a separate download alongside the ROM?
This would allow not only users to choose what to add, but also allow them to remove an installed CAB if they no longer want to use it or if a new one comes along.
I understand part of the allure of a cooked ROM is that the cook has ensured all the components work together... and in my scenario this would still be the case. The ROM would be qualified and shipped with a certain set of applications, but that doesn't mean they all need to be installed.
Another argument I hear for using a cooked ROM is that all the apps are already installed and it doesn't take time to reinstall all the apps. However, with UC, can you not just load all CABs onto an SD and have them all autoinstall? I am pretty sure you can write a file that will install a set of cabs even from local storage. While I understand that this might take a couple minutes more initially, I think the time saved in the long run would be equal or more. For instance, it might take me 10 minutes after I re-flash a base ROM to load another 15 CABs that I want. But, when a new version comes out of my application, or another application I want to install conflicts with something on there, I can easily uninstall the CAB. Small changes to the configurations can also be made without cooking a new ROM.
Now I fully appreciate all the work the cooks on this site have done. I think their work is great. What I am suggesting is an alternative methodology and one that is certainly not new. I am the type of person who likes a very clean build, but also enjoy the many features that are offered with some of the busier ROMs. I feel that having a base build and then simple a suite of approved or offered CABs make the whole process cleaner.
I am trying to understand how the mindset evolved here to make these feature rich ROMs instead of the alternative. The main argument I have heard is that it is quicker to just flash a ROM with all apps rather than load each one. As I have addressed that above, I don't think that the time savings are significant in comparison to the flexibility of modular CABs.
Perhaps there are additional advantages to the current approach that I have overlooked and I would be interested in hearing them.
tell me your thoughts?
wow......all that writing and all you are suggesting that cooks put out some clean roms? arent those already available?
lmfao flash your own clean rom, flash your own choice of radio, tweak on your own, etc...
Do you ever contribute anything worthwhile to threads or do you just prefer to be a sarcastic jerk?
I realize there are some clean ROMs out there...that wasn't the full scope of the post.
The "clean" ROMs are indeed what I would prefer, however that leaves the user going around hunting for all the applications and additions they desire. (And don't use the argument that the user is lazy if they don't spend the time to do this...after all that is what the "cooked" roms allow the user to be...lazy).
The alternative is the loaded ROM which has everything chosen by the cook. The user can't uninstall a component he may not want, or if it causes conflicts with something else.
The middle ground is what I am advocating...a clean ROM but offered with either "built-in" cabs or a separate repository. This would allow the user to install what they wanted (or install it all...then removing what they don't find useful). This would also allow easier updates in between major cooked releases.
I am not stating one way is definitively better, just that at some point someone decided to cook it all in rather then just offer the cab files, and I am looking for the advantage over my alternative.
What would even be nice (and if I knew how to code for PPC I would look to do it!) would be a little menu app that could manage installs from a repository either on your SD card or even online! So you could browse a list of available apps, versions, and descriptions and load it right up. These repositories would then be what the cooks spent time compiling, even offering "Suites" of applications that complement each other well.
As I stated in my original post I am very thankful for the work that others have contributed here and am not belittling their accomplishments in any way. I am just trying to understand how and why things have evolved to their current situation since, if I were to have the time and knowledge I see my framework as more workable (IMHO).
My personal opinion
That's one of the best presented arguments I've seen in a while Bengalih.
Completely agree with all your reasons for preferring a clean ROM over a loaded one - particularly the ability to update applications as and when a new cab is released. While this is the best answer for you (as you state) and in all probability every person with the willingness to go and look for the latest version of everything, I personally still prefer the loaded ROM. I simply prefer the least amount of time between a Hard Reset and being fully back up and running - in my case as long as it takes me to type in my Exchange server details. I try to cook in applications without any bugs that do what I want, so I won't need that newer version (just want it) and if a newer version does come out I can easily bake it into another ROM and be back up and running from start to finish within half an hour (mostly).
While you're completely correct in everything you say - I'm one of the fundamentally lazy people (seriously, check out my ROM's v1.3 intro - that's the word I use to describe why I built it) and so I tend to prefer loaded ROMs.
the way i see it, we cook a rom to have our ideal base. Things where we meet the minimum. The minimum for me must have HTC home, office, tomtom, the games that I always play, which is a whole variety, pim backup, and battery status. When I have my clean base, I just add my packages, which doesn't even take me long at all. If something screws up, we flash our cooked rom, and we don't have to worry about flashing a clean base and adding all our cabs. My roms include a lot of apps, but thats what I expect from my base. Having cabs doesn't seem as clean. I see your point, but cooking your own rom, you don't feel like trying anyone elses roms because the rom is exactly the way you want it.
Thanks for your reply Stu...a perfect example of how one can disagree with an opinion while being completely civil. It seems many other members of this forum can learn from your example.
I'm still not 100% sure I agree with the time you save by having everything cooked in. As you admit, if you want to upgrade an app you would basically cook a fresh ROM with the new package in it and take up to 30 mins. To be honest I would think that you could load ALL your cabs in well under 30 minutes (the first time) and then it takes about 1 minute to upgrade a cab if a new version comes out.
Of course it depends on how often you do each. If you really find yourself reloading your ROM alot...let's say once a week, you might have saved yourself 10-20 mins each time since you don't need to load CABs. However if you instead wanted to upgrade 4 apps, you have saved yourself 30 mins each time from having to recook the ROM.
I guess another thing I don't understand about the argument for the fully loaded ROM is how often are you really re-flashing your ROM? While I understand someone may do this frequently if they are testing ROMs, how often do you really need to re-flash your ROM once it is running with the apps you like (and/or cooked in)?
Also, I believe your opinion is slanted (and not in a bad way) because you obviously cook your own ROMs. Because of this you can customize it the way you want since you have total control. Some of the cooks on here seem to be people like you who then just turn over their ROM for others to use, while other cooks seem to be making ROMs to please the population. Not saying either is a bad thing...just what I notice.
I haven't cooked my own ROM yet (though I have read through the tutorials). I believe however that even after I have decided on everything I want that I won't cook a loaded ROM (if i cook one at all). I would prefer to just put all the CABs i use in a directory and if i ever rebuild just load them all back on, or possibly create a UC script to load them all off my storage card.
Although I still don't really see the advantage of the fully loaded ROM (unless of course you tend to A) reflash your ROM frequently (for what reason?) and B) Tend to not want to upgrade CABs frequently)... to each his own.
thanks!
thomassster said:
Having cabs doesn't seem as clean. I see your point, but cooking your own rom, you don't feel like trying anyone elses roms because the rom is exactly the way you want it.
Click to expand...
Click to collapse
It's funny you say that thomas... because i feel opposite. I feel that with the cooked ROMs it seems that many things just get dumped into the Windows directory instead of being put into individual Program folders. In addition, with no uninstall option it gives me a non-clean feeling
I see your point of course on just building the base the way you want and it makes sense if you don't feel you will want to upgrade an individual component.
I guess I am generally they type that like to go and get the newest version of an app if it is available and would find the process quicker if i could just upgrade the CAB.
Also, as stated above, once I find a config I like I don't know why I would reflash my ROM on any type of frequent basis.
There are additional reasons why certain applications cooked into ROMs aren't always your best alternative.
This is when certain applications (e.g., TomTom, MobiTV & XMRadio) require specific directories for installation. If cooked into the ROM, it will occupy twice the amount of space, since all files are placed in \Windows and through initflashfiles.dat get copied to other locations (e.g., \Program Files\MobiTV). Chefs that know about this avoid cooking these apps into their ROMs.
As for ROMs & which way is better, it's a matter of personal taste. Some folks prefer different levels of clean, and others prefer different levels of full. Some people won't flash unless a cube is included. It's pretty much why I release 8 different versions...
Thanks _Alex_,
Yes that speaks to my point to a degree.
It seems that most cooks don't use INITFLASHFILES.TXT to move applications to a specific directory (under \Program Files) and just let everything sit in \Windows. I was under the impression that INITFLASHFILES could MOVE the files and not just COPY, so thanks for clearing that up. Would it not be possible to execute some sort of script to delete the unnecessary files from Windows and add reg entries to allow programs to be listed in add/remove? Of course this would be additional work for the cook but would really provide the best of both worlds.
I realize you have alot of time and experience invested in your methods (which we all appreciate). But, it would seem to me that instead of cooking 8 ROMs you could cook a base and then offer CAB installation suites as I mention. With either a custom menu install app like I suggest, or UC scripts the process can be automated.
I am not necessarily suggesting that you change how you do things (since you do it so well D), but I just throw this idea out there in case any experienced cooks, or even newcomers agree with my method they are welcome to give it a try.
thanks for your input
bengalih said:
Thanks _Alex_,
Yes that speaks to my point to a degree.
It seems that most cooks don't use INITFLASHFILES.TXT to move applications to a specific directory (under \Program Files) and just let everything sit in \Windows. I was under the impression that INITFLASHFILES could MOVE the files and not just COPY, so thanks for clearing that up. Would it not be possible to execute some sort of script to delete the unnecessary files from Windows and add reg entries to allow programs to be listed in add/remove? Of course this would be additional work for the cook but would really provide the best of both worlds.
I realize you have alot of time and experience invested in your methods (which we all appreciate). But, it would seem to me that instead of cooking 8 ROMs you could cook a base and then offer CAB installation suites as I mention. With either a custom menu install app like I suggest, or UC scripts the process can be automated.
I am not necessarily suggesting that you change how you do things (since you do it so well D), but I just throw this idea out there in case any experienced cooks, or even newcomers agree with my method they are welcome to give it a try.
thanks for your input
Click to expand...
Click to collapse
The method you describe has been mentioned before in other threads and quite possibly in its own thread. (The topic was UC packs, CAB packs or something like that)
There are three cons with that method:
Which cabs to include are subjective, so it's much easier for an individual to gather his/her own cabs
Creating CABs can be a serious pain in the ass, especially if you have 50 OEM packages that need converting and/or fixing for the specific ROM you're building
Cross ROM / device support, which frequently occurs when CABs are released.
On the other hand, with a cooked ROM, you know it works because the chef ( andhis beta tester(s) ) spent the time to test it on the same/similar device and on a specific OS build. ROMs give a better experience overall because of this testing.
FWIW, I've thought about doing what you mention above waaay back with my first UltraClean ROM, but as stated, serious PITA
*SHRUG* Perhaps I'll re-consider it in the future too...
edit: Alltheway used to offer UC packs. Not sure if he still does on his 4shared folder...
I have, personally, always preferred a clean ROM. Yes, it takes some time to set it up the way you want it but, at least, that way, I am not stuck with applications I do not use. If I were to cook a ROM, I would cook it the way I want it and then distribute it. Most cooks here do just that. I would be happy if every cooks released a clean ROM but that is not possible. If cooking ROMs were a full-time job for these cooks, then, I would definitely demand one. So, the way I feel it, if I am lazy or not good enough to cook my own ROMs then I should stick with what has been released and not complain.
@ sherpa:
Perhaps you should go back and re-read my posts. Not once did I "demand" or "complain" about anything that any cook has put out. In fact more than once did I thank and compliment them on all their work. The fact that you state you would "demand" a ROM a certain way if this was the cook's full time job show that it is you more than I who feel that they are, or might be, owed something from these contributors. I fully realize that many cooks are just putting out their own personal ROMs to the masses, but there are plenty of them out there that are also looking to please the community and offer something different. It was to these people that I thought my message might resonate and someone might want to try something like it. As _Alex_ suggested others have thought similarly at somepoint (including himself), so I am not alone in my thoughts. So before you accuse me of complaining, you should re-examine my own words and yours.
@_Alex_
Thanks for the thoughts. I see all the points you are making. However I would argue that point #1 and #3 happen whichever method you choose. A cook is subjective when choosing which CABs to add to a loaded ROM as well. In addition, a single ROM is also device dependent whether it is fully loaded or not. I feel your pain on point #2 about creating CABs... you helped me out in another thread as I created a CAB of the latest Remote Desktop client (with drive mapping support) from the latest AT&T test ROM. I agree that for the cook that would be an extra effort although in many cases most of the CABs are already out there.
Again, I am making a recommendation as to a new (or old?) way to approach this. It sounds like it would be good for the user, but more work for the cook. Of course the current methods are well established, so even if my idea has merits it would most likely encounter some resistance (and as seen already by some, accusations and ignorance.) I still like the idea of an online (or off) repository with a little front-end on the device. The repository can be loaded with approved CABs which can be loaded and unloaded off the device.
In the long run, I don't think it will matter much for me individually, as I will most likely use an available clean build, an RTM ROM, or maybe cook my own. But in any case, I will stick with CABs, and just hope that the ones i need are available or I am able to create them myself (which is exactly what I did for Remote Desktop).
thx!
Dude, I never accused you of complaining. When I wrote "not complain", I meant it to the general population who complain about what's included and what's not included.
No offense meant, no offense taken then. Based on how this thread started out I guess I was just in a defensive mind-set.
We all good
ok bro bengalish
you are just quiet right , i understand your point and i also think that thought cookers make a great work to interduce a room that is useful for everyone but it still better to get a clean room and that's because a simple reason , you will never be able to make everyone happy because simply everyone of us has his owen taste
but i would like to describe what a clean room means ..
i belive it should contain main updates that everyone will need i mean updates like camera , sound and system etc..
i have to thank you for this rich argue and much greeting for you
and i hope really everyone in this forum can show little respect and kindness for the others
cheers
Yes haam,
I would prefer to see more frequent ROMs that have all the base stuff updated (latest BT, VC, etc). And not have the cooks spend as much time with the additional applications as many people will want to do customization here. To the main point, I think there are alot more people out there who can cook an application CAB then cook a ROM with all the latest drivers properly implemented. In my framework the cooks can focus on an up to date clean ROM and the assistant chefs (many in the community) could work on CABs.
Of course I fully acknowledge that there is a segment here (cooks included) that they want everything loaded from the get go and don't really care about additional customization. If that is the majority then things will stay status quo. If not, maybe we will see more people working on UC or CAB packs or something to that effect.
thanks for everyone's thoughts!

electronic ID

not sure if any body thought of this what if chefs let users to sign their names addresses and finger print scan in the rom
1st will be thief deterent
2nd good hearted will return it if found
3rda phone will be a personal thing,chefs can leave their name somewhere for the smell and taste fo thier cooking
I'd think Chefs should also put a file in the \windows directory called release_notes with their ROM name and a forum link to their ROM thread.
Can't say how many times I've forgotten who's I've got flashed at any given time.
First, most chef's already put their name in the rom in one or more places, second , if you are using one of Alex's rom's used the kitchen & you can put whatever you want in it. Third, if somebody decent finds the device, your name & etc. is already in device owner info or can be looked up by your carrier with the serial or esn. Finally, if anyone else finds your device , it will take them all of 10 minutes to use Google & figure out how to flash a new rom. You could change the device ID to something nonexistent to make it harder to flash, but that's something better worked out by you & no Chef is gonna want to do that for every single person, not to metion that if he did, the thief would google & figure it out.
There is always ways around things, just ask AT&T, HTC & everybody at XDA
GSLEON3 said:
First, most chef's already put their name in the rom in one or more places, second , if you are using one of Alex's rom's used the kitchen & you can put whatever you want in it. Third, if somebody decent finds the device, your name & etc. is already in device owner info or can be looked up by your carrier with the serial or esn. Finally, if anyone else finds your device , it will take them all of 10 minutes to use Google & figure out how to flash a new rom. You could change the device ID to something nonexistent to make it harder to flash, but that's something better worked out by you & no Chef is gonna want to do that for every single person, not to metion that if he did, the thief would google & figure it out.
There is always ways around things, just ask AT&T, HTC & everybody at XDA
Click to expand...
Click to collapse
1st the whole idea is not about the phone getting lost rather than personlizing it ,to google or change that is why i said chefs should make it possible to ingrave it in the roms thiefs if they know all that they are nottheifs they won't find time to steal they will be cooking for us
actually, for anti-theft, I was thinking of a kit...
1) modified SPL; requires non-standard password and a signed NBH using your own custom certificate
2) OS is locked down with a trusted certificate of your own in the store so SSPL won't run at all... unless you sign it with your certificate
3) program that checks the SIMcard IMSI; if it changes then it sends an SMS to another number.
now... there are a few practical issues with 2) because it makes installing new apps a pain in the arse since they all need to be signed, so maybe a way of buggering up SSPL would be better.
ras said:
1st the whole idea is not about the phone getting lost rather than personlizing it ,to google or change that is why i said chefs should make it possible to ingrave it in the roms thiefs if they know all that they are nottheifs they won't find time to steal they will be cooking for us
Click to expand...
Click to collapse
A Chef that makes ROMs used by thousands is not gonna want to customize or personalize each one for every user. That said, with a donation, there are many that might consider it for you. Of course, you can always use a base ROM & the Kitchen to do it yourself. I do this.
Also, you can use provisioning xml's to customize or personalize them on a basic level using UC. Read Sleuth's thread on UC (User Customization).
@ Olipro, I really like the idea's 1 & 3. I have played a bit with CID locking to an imagined CID & with false Model ID's but of course while you then can't flash a ROM that's not customized to match, you could bypass it with SSPL, making it pointless against anyone half competent.
Your solution 1 & 3 would almost have to go hand in hand, having the password & a way to keep SSPL from jumping the password measures. Something like this, in conjunction with WIMP & UC in ROM, would be a great tool for security. Very Interesting indeed.

Editting the hardware keyboard layout

Hey guys,
does someone know a way how to change the layout of the hardware keyboard? I'm not talking about changing the hardware keys, i'm talking about editting a config file or something like this..
For example i want to change my QWERTY-keyboard in a QWERTZ one.
In addition, does someone know how to stop writing a capital latter after a dot. for example something like this: "blub. Blabla" to "blub. blabla"
Thank you very much
try:
http://forum.xda-developers.com/showthread.php?t=1113863
that might be a good place to get started with, searching for things along those lines may yield the result you are looking for.
Edit:
http://forum.xda-developers.com/showthread.php?t=982341
That post will probably be the beginning of your quest. We don't have CM7 on our phones, however it's apparently in development, so this should be easy to apply once that hits.
Meantime, though, you could probably take what they've done and figure out how to make it work for you, now that we have everything we need from HTC to actually work with this device.
I am interested in helping support other countries and languages, germanic languages being my foremost interest, so as I get the time i'd love to try to help you with this.
ty very much. are there any other suggestions?

collaborator / help /testing

i hope this ok to post this here
hey guys ive been around a while but was away at her majesties pleasure for several years, i recently got the samsung galaxy s22 ultra and ive created a tool = bat/exe file to make adb a little more automated for those new to xda, or a little less confident using adb commands, im no expert myself but know enough to survive
what im here asking is
if anyone is willing to test and/or collaborate with me in making this tool a little more polished and less device specific, i havent yet rooted my device for reasons i wont bore you with, but i will be soon.......
my original thread is here
Ii have atattched the text file and the exe below (the exe is in a .rar file)
one more question......
google keeps flagging my exe files as malicious, even though the code is safe, as you will see.
is it, do you think ? because my script opens a browser to my xda thread at some intervals of the process to offer guidance to those needing help with certain aspects of adb use
thanks for your time

Categories

Resources