ROM Dev- adding/removing APK's from working_folder? - Desire Q&A, Help & Troubleshooting

quick question: do you just press 'Delete' to Delete the .apk and do you just copy&paste an .apk to just add and sign them?
Sorry my first ROM and dont want to brick my phone just cos I've Cooked with errors..
and I know how to remove from .zip but when using the kitchen to cook the ROM might be different.. so yeah
Thank you for Your time.

Related

How do you extract a ROMs contents?

I read the wikis but now I am even more confused then before. Do I need Pandora kitchen to decompile? Can someone direct me to the specific application as I know it can be done. I wanted to extract some cab files from the Schaps ROM but not sure how to go about this.
Thanks.
Use Pandora to build your own ROM from scratch, but use CorePro to work on a ROM you've downloaded and wish to add to (or cut down).
Remember that the only place you're likely to find cabs is in the extended ROM though - a ROM doesn't tend to contain cabs.
Enjoy.

[TUT]ROM for everyone (video tutorial to cook the ROM )

Hi all
I was looking for the way to cook my own ROM. There is a heaps of info for a Kiser but not a Diamond. I had decided to start a thread that will show and explain in plain language how to do it on the Diamond. The aim is to have perfectly clean ROM without any unwanted applications or tweaks. The ROM will only contain bare minimum to run PDA. Everything else can be installed with cab files. Also registry tweaks can be applied after installation.
What is more important I want this thread to be a simple to follow guide to cook a ROM so everyone can make one for themself. Since I’m not an expert I welcome any help from anyone.
I had managed to cook my 1st ROM. I had removed some applications without modifying anything else.
I have tested it and it worked ok. However you perform it on your own risk and I take no responsibility if you stuff it up. Do not remove everything at once. Remove 2-3 application and see if it works. If yyou unsure just leave it alone. When you are confident you can remove the rest of apps. Also if you want to remove Opera and TouchFlo you need to change a setup files so lets leave it for now.
You need a Kitchen and the ROM file.
Video Tutorial (rigt click and Save target as)
Extract kitchen files directly to C drive (not to desktop as shown on the screen shot)
IMAGE
Extract rom files into BaseROM folder in the kitchen.
IMAGE
Open !BEGIN and choose option 1
IMAGE
Just follow the prompts and press ENTER when asked. When you get to screen below just wait till asked to press ENTER again. This might take a while.
IMAGE
When you arrive to this screen
IMAGE
your rom preparations are complete.Hit the ENTER to close window.
Go to Kitchen folder and you notice that rom files and packages are extracted.
IMAGE
To remove unwanted applications from rom look into OEM and SYS folders. You need to delete all folders related to paticular application. (create separate folder and move all packages there instead deleting. Later on you can convert them to .cab files and install them if needed)
IMAGE
If you have some cab files and would like to add them into the rom you will need THIS application. Just start it, make sure that Remodule option is deselected, open cab file and program will create new folder containig packagage file. Make shure that PACKAGE_Diamond_ is in front of the filename. For example if you converted TomTom cab you should rename it to PACKAGE_Diamond_TomTom. Now copy the folder to OEM folder in the kitchen. Repeat process till you add everything you would like to have in the ROM.
When you delete/add everything you want start !Cook file
IMAGE
This will start OS building application. Just hit a green button and wait till it finishes. It will create os-new.nb file needed later. Close window on top (never close a DOS window) and rom building application will start.
IMAGE
Fill all the info as shown on the screenshot.
IMAGE
Use apropriate version rom (ie FR, ME etc...). As for the system select os-new.nb which is in the kitchen folder. Also you can select boot images and radios but for now we leave as it is. When ready hit Build ROM button.
Name your new rom (anything you want).
IMAGE
And hit SAVE.
A while later you should see screen below
IMAGE
Hit OK. Wait till everything finishes. Just press ENTER when asked. On the end you get message that rom is ready to flash. Hitting ENTER closes a window. All you need to do is flash it to your device.
PS Everyone is welcome to help. I need information how to update Framework and OS and where I can download it. Please post suggestions, registry tweaks and links to updated cab files for the apps removed from the rom. I will make a video tutorial after I have all info needed. I want to make easy for everyone who wants to have personalized rom.
Credits: Thank you to all who provided these great tools and these that helped in this thread.
EDIT: If you manage to create your own ROM please do not flood forum with new ROMs (unless it is something we never seen). There are experienced cooks that created really nice ROMs. Lets keep this forums clean.
There is a thread in this forum which has a simple to use kitchen. Using it is just easy as Steps 1-2-3.. But it doesn't work for some ROMs, atleast for me. By far, it is a great tool simplified in batch files.
Are you using the same tool or your own customised one?
Regards,
Carty..
lolek74 said:
Hi all
I was looking for the way to cook my own ROM. There is a heaps of info for a Kiser but not a Diamond. I had decided to start a thread that will show and explain in plain language how to do it on the Diamond. The aim is to have perfectly clean ROM without any unwanted applications or tweaks. The ROM will only contain bare minimum to run PDA. Everything else can be installed with cab files. Also registry tweaks can be applied after installation.
What is more important I want this thread to be a simple to follow guide to cook a ROM so everyone can make one for themself. Since I’m not an expert I welcome any help from anyone.
I had managed to cook my 1st ROM. I had removed some applications without modifying anything else.
I'm off to bed now. I'll post screenshots and info tomorrow. Please register your interest.
Click to expand...
Click to collapse
Could do my... i just finished my one yesterday a perfect clean rom not staffed wth litter....i used the surface kitchen and based on ce 0s 5.2 20273 wwe a bit customized the manila that's all....
Is it a clean ROM with most apps removed? Do you want to share please.
Good initiative!
I really want to know what is the true performance of the Diamond, running it with just the minimum required.
Even when disabling TF3D and other extras, I find it so slow compared to other WM phones having less MHz... I just don't understand why.
Uploading my ROM now. It is slow. I will post the link tomorrow.
Just a tip, A clean rom is very good if you going to stick with what you got in the rom and possible a few otther apps by cabs, If your going to installed the same apps which are in a full rom then the clean rom with those apps in will make you lose valuable storage space rather than them cooked in and sometimes device will start to feel sluggish but it all depends on how many cabs youre going to re-install.
TIps , there are certain apps which are cooked in doesnt take up any storage space but if install by cab you will then use up valuable space.
duttythroy said:
Just a tip, A clean rom is very good if you going to stick with what you got in the rom and possible a few otther apps by cabs, If your going to installed the same apps which are in a full rom then the clean rom with those apps in will make you lose valuable storage space rather than them cooked in and sometimes device will start to feel sluggish but it all depends on how many cabs youre going to re-install.
TIps , there are certain apps which are cooked in doesnt take up any storage space but if install by cab you will then use up valuable space.
Click to expand...
Click to collapse
Really? Dutty, could you please explain that a little bit further? Don't we have a set amount of storage space? i.e. If you cook some apps in, then you lose some of that space. If you add them later, you lose some of that space. But at least you could uninstall them.
So please correct me if I have misunderstood and I'm only guessing, but are you saying there is a part of the ROM that is only available to the OS 'image', and cannot be accessed in the normal way once the device is up and running? And are you using that space to install some apps? If so, how much space in the 'OS image' part of the ROM is available for that purpose? I would like to start cooking my own ROM's, but I don't want to waste ANY storage space that I am not forced to.
I would really appreciate if you could shed a little light on that for me! Cheers
Thanks, this is great.
salada2k said:
Really? Dutty, could you please explain that a little bit further? Don't we have a set amount of storage space? i.e. If you cook some apps in, then you lose some of that space. If you add them later, you lose some of that space. But at least you could uninstall them.
So please correct me if I have misunderstood and I'm only guessing, but are you saying there is a part of the ROM that is only available to the OS 'image', and cannot be accessed in the normal way once the device is up and running? And are you using that space to install some apps? If so, how much space in the 'OS image' part of the ROM is available for that purpose? I would like to start cooking my own ROM's, but I don't want to waste ANY storage space that I am not forced to.
I would really appreciate if you could shed a little light on that for me! Cheers
Click to expand...
Click to collapse
bascally there some programs which ar cooked in for e.g Remote desktop, If cook this in its 1.45mb I think, I will only use up only about .45mb and save 1mb of storage space, If i install this by cab I would use up all of the 1.45mb storage space
Perfect
I was hoping/loocking fopr a thread like this! BUT
Could anybody explaine to me how to dump a rom?
The one I am using right now is pretty good and I want to modify
it and loose all the unwanted programs...
But what happens to all the .cab programs I have installed at the moment?
Do they "get dumped" as well so I can preserve them as OEM? Or do I only dump the "base ROM"?
And what about the Reg tweaks? Do they get dumbed aswell?
Thanks for the help...
bascally there some programs which ar cooked in for e.g Remote desktop, If cook this in its 1.45mb I think, I will only use up only about .45mb and save 1mb of storage space, If i install this by cab I would use up all of the 1.45mb storage space
Click to expand...
Click to collapse
Thanks for the reply, so what is the reason behind that... How can that 1MB be shaved off? Is it compression?
duttythroy said:
bascally there some programs which ar cooked in for e.g Remote desktop, If cook this in its 1.45mb I think, I will only use up only about .45mb and save 1mb of storage space, If i install this by cab I would use up all of the 1.45mb storage space
Click to expand...
Click to collapse
And to top this, apps that are cooked run faster than an installed cab.
But for some, a ultra light rom works becouse they have not ,uch progs to use, and need to install less cabs.
gr.
Just a short notice, lolek:
I see you've extracted the kitchen to your profile folder.
You'd better extract it to the root of your drive, like C: or D:
batch files have a tendency to disliking spaces in file/folder names as well as names longer than 8+3.
surface_rom said:
And to top this, apps that are cooked run faster than an installed cab.
But for some, a ultra light rom works becouse they have not ,uch progs to use, and need to install less cabs.
gr.
Click to expand...
Click to collapse
exactly also if you look at some of the benchmarks as well the lite roms are not much better or even some of the full roms are faster, so its all about what u really need in the rom, if your going to install everything back in your rom with cabs, its better to go with a full rom
Thanks for the input. This is what I was hoping for. The aim is to have simple tutorial for anybody to create their own ROMs. I'm off to work tonight but I'll update 1st post tomorrow.
I have updated 1st post. It shows how to convert cab files to packages and add them to the rom. I apologize for the slow progress but I'm still learning myself.
I have asked around how to update framework and OS. As soon as I get reply and test it I’ll post it here.
I know there many experienced cooks so please don’t be shy and help create this guide.
When guide is complete I’ll make movie showing whole process.
lolek74 said:
I have updated 1st post. It shows how to convert cab files to packages and add them to the rom. I apologize for the slow progress but I'm still learning myself.
I have asked around how to update framework and OS. As soon as I get reply and test it I’ll post it here.
I know there many experienced cooks so please don’t be shy and help create this guide.
When guide is complete I’ll make movie showing whole process.
Click to expand...
Click to collapse
very nice man, keep it up!
this is very good idea to put together a tutorial to cook the ROM! cant wait to cook my own ROM with this.
thanks a lot man!
Having a Slight problem with the surface kitchen.
During the process of extracting a rom at the stage of '2a.ExtractDumpIMGFS.cmd'
'Recmod.exe' crashes.'
anyone know why and how i can solve this?
Thanks in advance

I780 important please...

hi can someone help to finf jump adresses of bintonb0.txt to fill input.txt? i am preparing 12mb pp size rom. when i finish it i will release it.
thanks
View attachment i780bintonb0.zip
I'd made a tool to automate this. Attached here....i think ironeagle is using this to generate input.txt using this for his roms, so should work
cheers
dreamtheater39 said:
I'd made a tool to automate this. Attached here....i think ironeagle is using this to generate input.txt using this for his roms, so should work
cheers
Click to expand...
Click to collapse
woooow thanks bro i will use it now!!
editing registry
hi dreamtheather93;
my 12mb pp size untouched pdxbi1 rom is ready i will upload here soon.however i wanna learn how can i delete unnecesarry programs from rom like cnn or rss reader? how can i delete registry of these programs from rom? and last one, i knwo cab extractor and it produces everything when u extract cab file like nitflashfiles.txt, option.xml, .dsm and .rgu for the kitchen ROM. but how can i add these settings to rom? i know too much questions but i like rom cooking and i wanna learn it
once you've dumped your rom and segregated them into OEM/SYS folders, you'll see most of your packages in your OEM folder, sometimes some cooks put them into SYS folders too!
So, find the proggie, and just get rid of the whole folder with the app.
To edit registry, open the corresponding .rgu file in the folder in notepad and edit it.
I use PackageCreator2.7 by ervius to create packages, pretty nice and simple to use...search for it!
To build the OS/rom, I use PkgToolsBuildOS-5.3
I'm still stuck at a problem myself and i haven't found the time yet to get it working....
good luck m8, looking forward to your roms! cheers
dreamtheater39 said:
once you've dumped your rom and segregated them into OEM/SYS folders, you'll see most of your packages in your OEM folder, sometimes some cooks put them into SYS folders too!
So, find the proggie, and just get rid of the whole folder with the app.
To edit registry, open the corresponding .rgu file in the folder in notepad and edit it.
I use PackageCreator2.7 by ervius to create packages, pretty nice and simple to use...search for it!
To build the OS/rom, I use PkgToolsBuildOS-5.3
I'm still stuck at a problem myself and i haven't found the time yet to get it working....
good luck m8, looking forward to your roms! cheers
Click to expand...
Click to collapse
thanks a lot buddy i will try i hope i will manage to do it.if not at least i try my chance by the way how to segregate the rom into oem/sys? coz when i use efn's kitchen it only dumps the rom.also i tried i900 kitchen and when i segregate the rom i found some dsm. missing files. is these dsm file important?
use PkgToolsBuildOS-5.3 Package_Tools tab to do this...
dreamtheater39 said:
use PkgToolsBuildOS-5.3 Package_Tools tab to do this...
Click to expand...
Click to collapse
thanks a lot ! i am sure that i make u bored coz of my questions well i seaerched google and i found it but all of them has virus.do uhave one without virus?

How to add or replace files in NBH file ?

Hi,
can someone explain to me how I can add or replace a file in a nbh file so I can flash it to my device ?
I am not a cook, but only want to customize existing roms to my own needs so I can install my cabs during install and need for instance to add the sdconfig.txt
I did several searches, but did not found what I was looking for.
So I hope someone can guide me here with a little help.
I was looking for the same but peoples told me its not so easy like we think because 1st you need to Dump the ROM extract it then edit it and make it again in nbh pack to be flashed also mostly the coocked rom`s are locked this mean its not posible to edit them.
tsalta said:
I was looking for the same but peoples told me its not so easy like we think because 1st you need to Dump the ROM extract it then edit it and make it again in nbh pack to be flashed also mostly the coocked rom`s are locked this mean its not posible to edit them.
Click to expand...
Click to collapse
There is an app around that lets you do exactly what you're looking to do. I don't remember what it's called but it definitely does exist. Keep looking and if I find it I'll post a link here.
EDIT::: Here it is - http://forum.xda-developers.com/attachment.php?attachmentid=159179&d=1235143207

Cooking a new ROM

Let's say i want to incorporate this ---> http://forum.xda-developers.com/showthread.php?t=1542773&highlight=toggle
into a ROM that i'm going to build, how do i go about doing it? Instead of flashing, can i just put in the "apps" and "framework" folders from the .ZIP file into the ROM's working folder, and just flash? Need some help from chefs or anyone with experience cooking ROMs.

Categories

Resources