[question] Cooking installed app into rom - XPERIA X1 ROM Development

Hello folks,
what I want to accomplish is to create perfect image of all apps and settings I have already in phone and create a rom from it, so I can distribute all the actual settings to more phones and the settings will also survive hard reset.
I read some tutorials on cooking roms and it seemed too difficult, so I just wondered if there is a utility, that could create a rom from what is installed at the moment. Or if there is some utility, that allows me to just extract settings from applications, put it together with cab files from that apps, also some rom and cook it all together.
I dont need to make any changes to the rom, just preinstall and preconfigure some apps.
Thanks for your replies. If you know about somethink that could be helpful, please add link and maybe some quick steps.

lpgsk said:
Hello folks,
what I want to accomplish is to create perfect image of all apps and settings I have already in phone and create a rom from it, so I can distribute all the actual settings to more phones and the settings will also survive hard reset.
I read some tutorials on cooking roms and it seemed too difficult, so I just wondered if there is a utility, that could create a rom from what is installed at the moment. Or if there is some utility, that allows me to just extract settings from applications, put it together with cab files from that apps, also some rom and cook it all together.
I dont need to make any changes to the rom, just preinstall and preconfigure some apps.
Thanks for your replies. If you know about somethink that could be helpful, please add link and maybe some quick steps.
Click to expand...
Click to collapse
did you see the tutorial for complete rom backups? sticky section
sounds most reasonable for what you intend
cheers

I just read it yesterday. Wanted to ask if it would do the trick, but as new member I couldnt post links so I dropped. I think this would do the trick

lpgsk said:
I just read it yesterday. Wanted to ask if it would do the trick, but as new member I couldnt post links so I dropped. I think this would do the trick
Click to expand...
Click to collapse
as your motivation is to preserve (and pass to other phones) a fixed set of installed apps and customized settings on a static rom, that should exactly do the trick for you, yes

Related

Question on using the extended ROM properly

I'm just starting to get into the depths of my PDA2K and this site is GREAT!!!!!!! Since I'm just one step up from "The Village Idiot", I have a couple questions for all you pros.
After reading about using the extended ROM, and unlocking it and seeing what's in there, I think I've figured it out. Whatever CABs are listed in the config file will be installed upon a hard reset....correct? If true, and since I have only 3.5MB left in Ex ROM, can I put the other CABs I wanted installed in say /storage/CABs, list them in the config file and upon a hard reset they will be installed? Is there any reason to put them into Extended ROM rather than Storage? Is it alright to put CABs in from like games, Resco Explorer, WebIS Mail, etc.? Lastly is there a way to set the programs up where I don't have to go back and enter all the registration numbers again?
Thanks a ton for your help!!!
Tom
In extended rom they are not taking up your precious storage space on the device.
cruisin-thru said:
In extended rom they are not taking up your precious storage space on the device.
Click to expand...
Click to collapse
is it possible then to keep the installation cabs on storage card,
and also, can that path be set in the config file in ext rom?
what happens if a particular cab is not found after hard reset?
is the installation stuck or it just gives a warning and keeps on going to the next cab listed in the list.
Have a read of this
http://forum.xda-developers.com/viewtopic.php?p=83119#83119
It might be a bit to deep but should help you along the way.
1) You can keep a cab anywere you want
2) make sure your cab is read only as it can delete itsself after install.
3) to run a auto install from a differnet storage place you need to hack the reg (see thread).
In all if you have a sd card you could leave your EXt rom empty.
Hack the reg to the new postion and run the Autorun from there.
Have fun
Thanks for all the infor everyone! From what I've read in other threads I need to make sure that TPdisabled is set to off so that when programs like WebIS Mail and SplashID get installed I can touch the screen to make sure they install into the right place and other things. Correct? If this is correct, should I just remove TPdisabled all together?
Thanks again,
Tom
TPdisabled can't be set off, its either run or not run. So dump it and you wont have a problem
MDAIIIUser - Thanks for the link! I looked at it and you're right, it's pretty indepth and I'll have to read it more closely at a later time....like at work.
Question1: leochan2005 had a follow-up saying "why not use backup"? While I agree this would be easier, I'm assuming that by using your method one would get a much "cleaner" install than backing up all the crap that was on the system prior to the hard reset...correct?
Question2: It took me a long time to get my TMo settings setup on my PDA2K and I don't want to go thru that again. Is there a way to backup those settings so that they can be auto-configured at a later time? I read about making a personalsettings.CAB but haven't done it yet.
Thanks,
Tom
MDAIIIUser said:
TPdisabled can't be set off, its either run or not run. So dump it and you wont have a problem
Click to expand...
Click to collapse
Thanks! I take it it should be at the beginning of the config file so that I can access it. Correct?
q1)
Well the short of "why not use backup" is you can if you feel that:
1) Restoring Regedit values from a lower rom version
2) Restoring system applications form a lower rom version such as BT
are called for, wanted or even needed.
I fail to see that point as a upgrade is an upgrade and a backup is a backup. Now you could do a restore of your system data also (which you could also sync and that would be clean
Q2)
Most fo those settings are part of T-mobile.cabs found in Extrom, the rest would have been reg entries that you are going to have to hunt for and copy.
So sorry no way around reading the other thread (personalsettings.CAB)
MDAIIIUser - Maybe I should state what I'm trying to accomplish and you could give me a clue as to how to do it. A couple days ago I upgraded by BT on my PDA2K (generic from Expansys) to 1.0.0.3900 (or what ever the latest is) and I'm currently looking at upgrading my radio to 1.12, but that would require a hard reset. I'm not in the mood to go thru all the program installs and SMS/MMS tweaking again, so I'm trying to figure out the best way to get all my programs and configurations back after the hard reset. I thought by incorporating the personalsettings.cab (for my Tmo settings) and your method I would be up and running pretty quickly. Yes? I have Sprite Backup, but I'm not sure if that's going to overwrite anything after the radio upgrade????
Thoughts?
Thanks!
Well my logic (that could be wrong) would say that a restore of your backup would get you to were you are now.
That you would need a restore as you have to do a hard reset after the 1.12 radion install.
But I can't answer the question will the radio be restored as well,
I don't know, I don't know the settings in the backup application, so am sorry I will have to let somebody else answer this one.

Including custom reg changes into Extended ROM

Guys,
I have a requirement to provide a level of security on some corporate 8100/8125 devices.
I've proved that by implementing a couple of registry changes I can disable the SD and Camera devices which is exactly what I want to do.
The problem is that if a user Hard Resets the device and applies the customizations those registry changes are lost.
I've been told that I could put the registry changes into CAB files and install them in the Extended ROM, this way each time the user performs a hard reset the reg changes will be re-applied.
If someone has detailed instructions on how I could do that I'd be grateful.
Thanks
acowx said:
Guys,
I have a requirement to provide a level of security on some corporate 8100/8125 devices.
I've proved that by implementing a couple of registry changes I can disable the SD and Camera devices which is exactly what I want to do.
The problem is that if a user Hard Resets the device and applies the customizations those registry changes are lost.
I've been told that I could put the registry changes into CAB files and install them in the Extended ROM, this way each time the user performs a hard reset the reg changes will be re-applied.
If someone has detailed instructions on how I could do that I'd be grateful.
Thanks
Click to expand...
Click to collapse
How "secure" do you want this to be? A determined user could install a registry editor and re-enable the reg options you disable. If your users are sales and marketing folks, then they probably don't have the technical aptitude required to do such things (jk!), but if there's a desire, there's a way.
A slightly more secure way would be to not only disable the reg keys, but also remove the camera app and drivers and SD drivers from the OS. This requires building a custom ROM, which I could probably throw together for you relatively quickly.
If removing the reg entris is enough to satisfy you, you can create a cab file using wince cab manager or the cabwiz from Visual Studio. This could be placed into an extended ROM image which you can flash to the devices. I can do that for you as well, or you can look through the posts here regarding custom ext roms.
to do this you need to build a custom extended rom there is a whole post for this it is called home cooked roms how to http://forum.xda-developers.com/viewtopic.php?t=52564&highlight= you will need the tools on there as well as wince cab manager which costs a little bit to buy or you can use the trial version but it expires quick so make sure you have the time to figure out what you are doing before you go through starting to do it and here are the tools http://forum.xda-developers.com/viewtopic.php?t=54563&highlight=extended+rom
this should pretty much get you started all you need to do is take the files already in the extended rom and add your cab file to it and update the auto execute file the lists all the items to be automatically executed and then repack it and flash the extended rom to the phone and then hard reset then they should be applied
summiter said:
acowx said:
Guys,
I have a requirement to provide a level of security on some corporate 8100/8125 devices.
I've proved that by implementing a couple of registry changes I can disable the SD and Camera devices which is exactly what I want to do.
The problem is that if a user Hard Resets the device and applies the customizations those registry changes are lost.
I've been told that I could put the registry changes into CAB files and install them in the Extended ROM, this way each time the user performs a hard reset the reg changes will be re-applied.
If someone has detailed instructions on how I could do that I'd be grateful.
Thanks
Click to expand...
Click to collapse
How "secure" do you want this to be? A determined user could install a registry editor and re-enable the reg options you disable. If your users are sales and marketing folks, then they probably don't have the technical aptitude required to do such things (jk!), but if there's a desire, there's a way.
A slightly more secure way would be to not only disable the reg keys, but also remove the camera app and drivers and SD drivers from the OS. This requires building a custom ROM, which I could probably throw together for you relatively quickly.
If removing the reg entris is enough to satisfy you, you can create a cab file using wince cab manager or the cabwiz from Visual Studio. This could be placed into an extended ROM image which you can flash to the devices. I can do that for you as well, or you can look through the posts here regarding custom ext roms.
Click to expand...
Click to collapse
Hey, thanks for the speedy response.. from the top man in the forum too !
Given your comment about users being able to re-enable the reg settings I think you're right and I'd be grateful if you could produce a custom ROM based on the 2.25 ROM that Cingular provided for the 8100/8125 with all Camera and SD functions removed (and no other customizations)
In the meantime I'll trawl the documentation on here to work out how I can do this myself given.
Thanks man !
acowx said:
summiter said:
acowx said:
Guys,
I have a requirement to provide a level of security on some corporate 8100/8125 devices.
I've proved that by implementing a couple of registry changes I can disable the SD and Camera devices which is exactly what I want to do.
The problem is that if a user Hard Resets the device and applies the customizations those registry changes are lost.
I've been told that I could put the registry changes into CAB files and install them in the Extended ROM, this way each time the user performs a hard reset the reg changes will be re-applied.
If someone has detailed instructions on how I could do that I'd be grateful.
Thanks
Click to expand...
Click to collapse
How "secure" do you want this to be? A determined user could install a registry editor and re-enable the reg options you disable. If your users are sales and marketing folks, then they probably don't have the technical aptitude required to do such things (jk!), but if there's a desire, there's a way.
A slightly more secure way would be to not only disable the reg keys, but also remove the camera app and drivers and SD drivers from the OS. This requires building a custom ROM, which I could probably throw together for you relatively quickly.
If removing the reg entris is enough to satisfy you, you can create a cab file using wince cab manager or the cabwiz from Visual Studio. This could be placed into an extended ROM image which you can flash to the devices. I can do that for you as well, or you can look through the posts here regarding custom ext roms.
Click to expand...
Click to collapse
Hey, thanks for the speedy response.. from the top man in the forum too !
Given your comment about users being able to re-enable the reg settings I think you're right and I'd be grateful if you could produce a custom ROM based on the 2.25 ROM that Cingular provided for the 8100/8125 with all Camera and SD functions removed (and no other customizations)
In the meantime I'll trawl the documentation on here to work out how I can do this myself given.
Thanks man !
Click to expand...
Click to collapse
No worries - can you PM me a little reminder? I'll look into this tomorrow.

how to build custom extended ROM?

I've been debating trying my hand at cooking up my own ROM sometime here soon since I've not been entirely happy with the precooked ones. You know what they say, if you want something done right you just gotta do it yourself. ;-)
Anyways, I was thinking that I would probably like to install more software than I can put in just the ROM itself. I know I can do this through the extended ROM but I don't have the first clue where to begin and there doesn't seem to be any sort of tutorials floating around on the subject (or, indeed, of cooking in general). So how DO you create an extended ROM and add programs through it?
Avatar28 said:
I've been debating trying my hand at cooking up my own ROM sometime here soon since I've not been entirely happy with the precooked ones. You know what they say, if you want something done right you just gotta do it yourself. ;-)
Anyways, I was thinking that I would probably like to install more software than I can put in just the ROM itself. I know I can do this through the extended ROM but I don't have the first clue where to begin and there doesn't seem to be any sort of tutorials floating around on the subject (or, indeed, of cooking in general). So how DO you create an extended ROM and add programs through it?
Click to expand...
Click to collapse
There's a great kitchen that i got from the forum. I can't upload it right now, but hopefully someone has some bandwidth to get a link. Search for Wizard extended rom kitchen. I believe Faria put it together. Check out the .pdf it contains for instructions.
Basically, you'll use a tool called Winimage to "inject" files into a file called ext-rom-base.nb. In the image is a text file that tells the installer what to run.
Each file must be selected as "read only" after injecting, or it won't work.
Injecting is basically dragging and dropping cabs or exe's into the file, nothing fancy. Note that each file type is called differently, so watch out for that one.
Also - the cabs cannot require operator intervention - or the installer will hang. Make sure they run and tell you that they're done.
Then when you run nb2nbf_wizard, you can check Ext_rom, browse to the file ext-rom-base.nb, image name is Extension_ROM, and address is 9B000000.
You can create the nb.nbk to include just the extended rom, just the OS, just the Splash screens, or any combination you want.
A bit intimidating at first - but actually very easy. I never messed up my phone once working with the extended rom on the Wizard. I broke my Hermes twice already, and still can't figure it out
ftp://xda:[email protected]/Wizard/Extended_Roms/Extended_ROM_Kitchen/
Enjoy.
Post also moved to wizard upgrading.
hi guys,
I had problem when cooking ext rom. I got ''htc-wizard-ext-rom-maker-kit" by faria from ftp. I did exactly all the steps in faria pdf guide, but after hard reset it didn't work. I don't know why? Anyone help me pls.
My device:
IPL/ISL: 3.08
Radio: 2.19.11
ROM: TNT 3 Pro

In need of help

I have just got a 8925 but i want to add some roms to it: ultimate launch, pocket cm, ifonz, & iphone interface. I am not sure of the best way to do this. Should they be added all at the same time, or do i have to add them one by one? Also i am not sure how to unlock the phone so that I can add these apps to the device. I have searched the forums and I haven't found a tutorial for this.
Any ideas?
If you want to be really sure you won't get any problems, soft reset after every installation. This IS overkill, since apps that need a soft reset will ask for one, but it won't hurt you.
Install Kaisertweak first:
http://www.jongma.org/KaiserTweak/KaiserTweak.zip
Extract the zip to your phone and run the extracted .exe from your phone. One of the options found under "Security": "Not-certified Warning". Disable the warning and exit the program (hope you meant this by 'unlocking'). The nag you used to get will be gone.
Good luck!
I think you may mean you want to add some applications and not ROMs? You don't need to unlock your phoine to install applications on them. If you want to flash a different ROM, then you will have to use HardSPL and flash the ROM
Here's pocket CM:
http://www.pocketcm.com/contact.php
Ultimate Launcher:
http://www.ultimatelaunch.de/
As for the Iphone interface, there are plenty of icons floating around, and on the the 'post your today screen' thread on the Kaiser general section, there are massess of info from users on how to achieve an Iphone look to their Kaiser and has links to Iphone Icons
HTC Home customiser is the simplest programme I know where you can input iphone icons and themes to your phone
http://www.pocketemu.com/download4.html
Do i need to hardspl my device to add rom's or can i just softspl?
I suspect you haven't quite understood some basics.
ROM = like Windows. There are 'shipped' ROMs (factory/default/shipped ROMs) and custom ROMs (Dutty/Alex/.../homemade ROMs). You always have 1 ROM 'installed' on your device; otherwise your device wouldn't function (just like a PC without Windows)
CAB = applications. Ultimate Launch, PocketCM, iFonz, & iPhone interface are apps. On PC you need to execute an .exe file (mostly setup.exe) to install an applications. PocketPC's don't work with .exe installers, they work with .cab installers.
Given your posts, I think you only want to install some applications. That means installing .cab files. No need for any ****SPL here.
If you really are already thinking of replacing your shipped ROM, than you WILL NEED HardSPL. But given your explanation I don't think you were planning on doing that.
Hope this clears some things up.
Good luck and welcome...
Can you have more than one rom on a device and just switch back and forth whenever you want to use one or the other?
student174 said:
Can you have more than one rom on a device and just switch back and forth whenever you want to use one or the other?
Click to expand...
Click to collapse
Nope and why do you want to switch ROMs?
Dr. Strangelove said:
I suspect you haven't quite understood some basics.
ROM = like Windows. There are 'shipped' ROMs (factory/default/shipped ROMs) and custom ROMs (Dutty/Alex/.../homemade ROMs). You always have 1 ROM 'installed' on your device; otherwise your device wouldn't function (just like a PC without Windows)
CAB = applications. Ultimate Launch, PocketCM, iFonz, & iPhone interface are apps. On PC you need to execute an .exe file (mostly setup.exe) to install an applications. PocketPC's don't work with .exe installers, they work with .cab installers.
Given your posts, I think you only want to install some applications. That means installing .cab files. No need for any ****SPL here.
If you really are already thinking of replacing your shipped ROM, than you WILL NEED HardSPL. But given your explanation I don't think you were planning on doing that.
Hope this clears some things up.
Good luck and welcome...
Click to expand...
Click to collapse
Thats a good straight to the point summary

Custom ROM from existing ROM

Hi,
I would like to customize a ROM for myself but i would need your advice...
Is it possible to use a ROM (Lets say NRG ROM 2.5), and to customize it (reg tweaks, MMS config, Exchange Server config with password set by default, install some cab and put the registration keys by default....) ?
If this is possible, is it hard to update it ? for exemple if NRG updates his ROM, i also want to be up to date with mine, is it easy to "synchronize", or reapply all previous actions without too much hassle ?
Do you have any links i should read to start a Kitchen ?
Thanks in advance
It might be worth having a search around for SASHIMI. It'll let you collect .cabs and .reg files etc and automate running then after youve flashed a new ROM.
if you figure out how your reg details are kept for each piece of software (in the registry or a file etc.), you can get it to reinstate them after flashing too.
You could DL the latest verion of a ROM, pull it apart and change whatever you like and then flash it to your phone but it'd be a pain for pain version.
Using sashimi, its also easy to update your setup when indiviudual apps and settings change, without needing to reflash your phone and then re-sync etc.
The way I see it, sashimi only really needs setting up the once and then given a tweak when something changes rather than needing to be re-done as with a ROM...the only down-side I can really find is it needs running after a hard-reset, whereas if you cook the changes in they wouldnt (so its no good for 'find or nuke my stolen phone' type apps).
I believe a lot of cooked ROMs include 'User Customization' (UC) which does a similar thing, but i havent used it myself.
Also, I may be wrong, but i think you could need certain details from the original chef before you can pull apart a cooked ROM too (i remember reading about file somewhere in your kitchen, memory fails me though)-and, of course, the chefs permission
Let us know what you try out.
'tunes

Categories

Resources