[Q] Use dsixda's android kitchen to port a rom ? - Android Q&A, Help & Troubleshooting

Hello all
There is an option to port a rom on the dsixda's android kitchen, but I'm wondering if someone could explain how - android kitchen ports - works.
It would be very nice and this could help many people.
Thanks you in advance .

kyle77680 said:
Hello all
There is an option to port a rom on the dsixda's android kitchen, but I'm wondering if someone could explain how - android kitchen ports - works.
It would be very nice and this could help many people.
Thanks you in advance .
Click to expand...
Click to collapse
The kitchen does a very basic port. It take the zImage (kernel), kernel modules, keyboard, vold.fstab (SD card), and a few other stuff from your original ROM (your device) and transplants it into the ROM you're trying to port from. Also renamed the .rc files to your device codename. Edits the build.prop to your device codename and board model. Ask if you want more or specifics.
私のEVO 3Dから送信される。

okay thanks very much
I'll see
Sent from my MB525 using XDA Premium App

kyle let me know if you get something going on or need a tester. i too have the mb525

dastin1015 said:
The kitchen does a very basic port. It take the zImage (kernel), kernel modules, keyboard, vold.fstab (SD card), and a few other stuff from your original ROM (your device) and transplants it into the ROM you're trying to port from. Also renamed the .rc files to your device codename. Edits the build.prop to your device codename and board model. Ask if you want more or specifics.
私のEVO 3Dから送信される。
Click to expand...
Click to collapse
Dastin dude, are sure about this? If so I can extract a kernel from ROM of phone build and transfer it to a ROM for same phone without probs. Saves lots of messing finding Kernels people hide. Easy extractor
Sent from my Desire HD using XDA Premium App

spikey68 said:
Dastin dude, are sure about this? If so I can extract a kernel from ROM of phone build and transfer it to a ROM for same phone without probs. Saves lots of messing finding Kernels people hide. Easy extractor
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
Yupp sure can
Sent from my ADR6350 using XDA App

hightech316 said:
Yupp sure can
Sent from my ADR6350 using XDA App
Click to expand...
Click to collapse
Kool tip dude. Thanks.
Sent from my Desire HD using XDA Premium App

Can i port a ROM for a device with similar specs as mine using dsixdA kitchen?
Press the THX BUTTON BELOW if I HELPED !!!
Contact me:
My website: Droidiser.in
Facebook
My Facebook Page
Add me to your circles
Twitter

droidiser said:
Can i port a ROM for a device with similar specs as mine using dsixdA kitchen?
Press the THX BUTTON BELOW if I HELPED !!!
Contact me:
My website: Droidiser.in
Facebook
My Facebook Page
Add me to your circles
Twitter
Click to expand...
Click to collapse
Yes, though nothing is foolproof. Always be prepared for it not working 100%
Sent from my SAMSUNG-SGH-I777 using xda premium

am using a LG Optimus Black. can i port a ROM from Galaxy SL i9003 using the kitchen?
as the title says....can i port the ROM to LG Optimus Black from Galaxy SL I9003???
they both are using same processor,same resolution,same clock speed,same chipset,same graphics (powerVR SGX530,512MB). can i port the ROM???
by the way, it is safe to mention,the optimus black can only have the CM7 as baseROM (we still do not have any other ROM)....waiting for a reply

My dsixdA kitchen is not working
It says application clear is not installed
On the faq section on the thread by dsixdA, he says check you've followed all steps correctly from the readme in cygwin-packages, I'm pretty sure i have followed them
Any ideas?
Press the THX BUTTON BELOW if I HELPED !!!
Contact me:
My website: Droidiser.in
Facebook
My Facebook Page
Add me to your circles
Twitter

droidiser said:
My dsixdA kitchen is not working
It says application clear is not installed
On the faq section on the thread by dsixdA, he says check you've followed all steps correctly from the readme in cygwin-packages, I'm pretty sure i have followed them
Any ideas?
Press the THX BUTTON BELOW if I HELPED !!!
Contact me:
My website: Droidiser.in
Facebook
My Facebook Page
Add me to your circles
Twitter
Click to expand...
Click to collapse
Do it again. You did something wrong.
Sent from my SGH-I777 using xda premium

Gosh, I've tried uninstall and reinstall a dozen of times, literally.
It's a pain in my a##
Press the THX BUTTON BELOW if I HELPED !!!
Contact me:
My website: Droidiser.in
Facebook
My Facebook Page
Add me to your circles
Twitter

droidiser said:
Gosh, I've tried uninstall and reinstall a dozen of times, literally.
It's a pain in my a##
Press the THX BUTTON BELOW if I HELPED !!!
Contact me:
My website: Droidiser.in
Facebook
My Facebook Page
Add me to your circles
Twitter
Click to expand...
Click to collapse
I only installed it on windows once. It worked fine. I use it in Linux mainly.
Sent from my SGH-I777 using xda premium

i tried to port Desire HD cyanogenmod rom to my galaxy s plus GT I9001 with stock firmware and kernel. and after flashing it is not booting i am getting follwing errors...
Code:
--------- beginning of /dev/log/main
I/rmt_storage( 104): rmt_storage user app start
I/rmt_storage( 104): rmt_storage open success
E/rmt_storage( 104): rmt_storage shared memory ioctl failed
I/rmt_storage( 118): rmt_storage user app start
I/rmt_storage( 118): rmt_storage open success
E/rmt_storage( 118): rmt_storage shared memory ioctl failed
I/rmt_storage( 120): rmt_storage user app start
I/rmt_storage( 120): rmt_storage open success
E/rmt_storage( 120): rmt_storage shared memory ioctl failed
Code:
Please somebody help me...

Ok, will try to make a Linux partition on my PC
Press the THX BUTTON BELOW if I HELPED !!!
Contact me:
My website: Droidiser.in
Facebook
My Facebook Page
Add me to your circles
Twitter

cygwin is the best method to run the kitchen through. Don't go through the linux way because it'll be too lengthy. Refer to the original thread.
Also most of the times, if you're porting through different brands such as samsung to htc or motorola to samsung, they have different file structures and only sharing same cpu and gpu specs doesn't mean anything because then the sensors, camera, screen and others are different therefore you'll need to port the same sensor for your phone from your model from somewhere. So don't think it's that easy to port through kitchen.
Kitchen may help devs starting off easy but it gets messy afterwards when you're exposed to the amount of bugs within the rom.

shad0wboss said:
cygwin is the best method to run the kitchen through. Don't go through the linux way because it'll be too lengthy. Refer to the original thread.
Also most of the times, if you're porting through different brands such as samsung to htc or motorola to samsung, they have different file structures and only sharing same cpu and gpu specs doesn't mean anything because then the sensors, camera, screen and others are different therefore you'll need to port the same sensor for your phone from your model from somewhere. So don't think it's that easy to port through kitchen.
Kitchen may help devs starting off easy but it gets messy afterwards when you're exposed to the amount of bugs within the rom.
Click to expand...
Click to collapse
Sorry. Your wrong or might need to re-phrase your statement. The kitchen is written in bash and sh. Which are native to nix not windows. While cygwin is a great alternative while using windows, the best method would be to run the kitchen native. No setting anything up. Just download and go. Any slight issue with your cygwin setup there goes your kitchen, then time spent troubleshooting. My suggestion is using a vm in a nix enviroment. That's the truly best way.
Lengthy? Install the vm. Run the kitchen. Maybe 20 mins. And no more then a few scripts.
Sent from my SGH-I777 using xda premium

lithid-cm said:
Sorry. Your wrong or might need to re-phrase your statement. The kitchen is written in bash and sh. Which are native to nix not windows. While cygwin is a great alternative while using windows, the best method would be to run the kitchen native. No setting anything up. Just download and go. Any slight issue with your cygwin setup there goes your kitchen, then time spent troubleshooting. My suggestion is using a vm in a nix enviroment. That's the truly best way.
Lengthy? Install the vm. Run the kitchen. Maybe 20 mins. And no more then a few scripts.
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
You're right, the shell scripts run much faster in Linux than in Cygwin. The other advantage is that you don't need to manually run applications like Ext2Explore to extract files from a ROM; in Linux it automatically mounts the ROM and grabs the files without user interaction.
However, running the kitchen in Virtual Box may be frustrating if you want to move files between Windows and Linux.. the instructions are in the FAQ but requires some work to get it right.
I found the Wubi Linux method the fastest for running the kitchen.

dsixda said:
You're right, the shell scripts run much faster in Linux than in Cygwin. The other advantage is that you don't need to manually run applications like Ext2Explore to extract files from a ROM; in Linux it automatically mounts the ROM and grabs the files without user interaction.
However, running the kitchen in Virtual Box may be frustrating if you want to move files between Windows and Linux.. the instructions are in the FAQ but requires some work to get it right.
I found the Wubi Linux method the fastest for running the kitchen.
Click to expand...
Click to collapse
Mount a shared folder to access the files. You can even mount a folder sharing the kitchen. Talking in a vm.
Sent from my SGH-I777 using xda premium

Related

[Q] Rom Porting

There is a rom for the hero that I am interested in porting to the eris. I have dsixda's kitchen, and have experimented with it. I just need a little bit of instruction or a guide through the porting process. I am also a little confused with update-scripts and updater-scripts. Any help would be appreciated.
Anyone? I was trying to port aospCMod, the gingerbread rom that has a working camera on the hero. I am confused in dsixda's ktchen when it asks about update scripts and updater scripts. Please somebody help.
Update: I tried it. I have no idea AT ALL if it works. If anyone wants to try it, PM me. However, do it at your own risk. I have no idea if it might mess up your phone. I'm too scared to try it on my own phone.
I tried port it also. I got it all working but the softkey and the button lights.
Sent from my Droid Eris using XDA App
Did you just use the port feature in the kitchen or did you edit anything in build.prop? I wasn't sure if I should change things from heroc to desirec in build.prop as well.
Sent from my FroyoEris using XDA App
I can post my build.prop if you like.
my build.prop is ok but I tried flashing mine last night but I got an update script error on line 83 installing busy box which I didn't even add to the rom. Any ideas?
Sent from my FroyoEris using XDA App
You changed it from "updater-script" to "update-script"?
Leave it as "updater-script".
So which option in the kitchen should I choose: concert the script, let the kitchen create it for me, or do nothing?
Sent from my FroyoEris using XDA App
Do nothing.
Ok I tried again this time there was a prop error so I assume that means my build.prop is wrong. Could you please post your build.prop like you mentioned before?
Edit: disregard that I know what's wrong I don't need it.
Sent from my FroyoEris using XDA App
If you guys don't mind, could you post your build.prop?
What build.prop edits have worked for ya'll? I've been experimenting but no luck yet.
Sent from my ERIS using XDA App
asiandrg0n said:
If you guys don't mind, could you post your build.prop?
Click to expand...
Click to collapse
You can extract build.prop files from any ROM you like by unpacking the "boot.img" file.
To unpack the boot.img file, the tools you need to do this are:
- split_bootimg.pl (which needs perl)
- gunzip, cpio, and perl
If you are exclusively on Windows, you can install Cygwin to get a Unix emulation shell (command window) with all of the above utilities. (The Cygwin installer is quite straightforward and easy to use).
You can find the "split_bootimg.pl" perl script plus a detailed tutorial on how to do this at this android-dls.com page
Apologies in advance if you already knew this.
bftb0

[Q] messing up the kitchen?

MAJOR NOOB ALERT!!!
Hello. Working on the theory that less is more, I'll get on with the questions...
1. I am trying to edit the .bash_profile file and I can't do it. Please help!
2. The reason I am trying to use the kitchen is to work on the excellent SFM 1.1 ROM for the wildfire. Can the kitchen be used this way, or can I try to port the SFM 1.2 from the Salsa?
I asked my mum why I was so special, but she didn't know...
builtonRock said:
MAJOR NOOB ALERT!!!
Hello. Working on the theory that less is more, I'll get on with the questions...
1. I am trying to edit the .bash_profile file and I can't do it. Please help!
2. The reason I am trying to use the kitchen is to work on the excellent SFM 1.1 ROM for the wildfire. Can the kitchen be used this way, or can I try to port the SFM 1.2 from the Salsa?
I asked my mum why I was so special, but she didn't know...
Click to expand...
Click to collapse
Read post #3 of the kitchen thread.
Sent from my HTC Hero making C.R.E.A.M.
I have read the third post of the kitchen
I can FIND the file, but when I open it in Wordpad and add the line on the end, cygwin still can't find my JAVA.
Sorry if this is a really noob mistake...
I did find the porting answer though
Thanks!!
Sent from my HTC Wildfire using XDA App
I have made a VERY noob mistake...
I have just realised that editing a file that is used in a LINEX enviroment in Wordpad isn't very clever - no wonder it's not working
Could somebody tell me how I can remove the Wordpad file association and how I need to edit it so that Cygwin can recognise it?
Sorry for my stupidity...
builtonRock said:
I have made a VERY noob mistake...
I have just realised that editing a file that is used in a LINEX enviroment in Wordpad isn't very clever - no wonder it's not working
Could somebody tell me how I can remove the Wordpad file association and how I need to edit it so that Cygwin can recognise it?
Sorry for my stupidity...
Click to expand...
Click to collapse
Just right click and click "Open With..."
Sent from my Ultima Weapon© using XDA App
I have installed gvim, edited the bash_profile file, and tried to run the kitchen, but then it says the clear command is not found.
I know this is covered in the FAQ's, but I have been over the installation, and am 99% sure I have done nothing wrong in installing cygwin. I followed the readme and the picture guide, and am getting very frustrated...
I only want to get the kitchen working...
(after that I'll go and hassle the guys in the wildfire forum!)
Just delete your entire cygwin dir and re install and all should be good.
By the sounds of it you did exactly the same as I did. Mines all sorted now after a re install.
Sent from my MB860 using XDA App

[Q] pls help im a new noob in this

so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
I too would love the help and for possibly someone to take me under their wing. I am very eager to learn. I'm always on my phone, and always trying to read, but sometimes the forums just contradict themselves, and let's face it, with all the drama going on in the forum, it can sometimes get a little frustrating trying to ask for help, especially when someone doesn't want to be bothered by a noob. Thanks in advance
Sent from my PG06100 using Tapatalk
solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
Not sure what you are asking. For the sdk tools, do you mean the android sdk? If so, follow the instructions on the sdk page. For the images, I assume you mean the boot.img and possibly system.img. You do not open these. If you have a system.img, that means you probably have a shipped rom. Use the kitchen to create working folder from rom, and choose this. It should auto extract the system partition. As for the boot.img, you don't generally need to extract this, but there is an option in the advanced settings of the kitchen. You can change your rom's kernel in the boot.img.
cbernardo13 said:
I too would love the help and for possibly someone to take me under their wing. I am very eager to learn. I'm always on my phone, and always trying to read, but sometimes the forums just contradict themselves, and let's face it, with all the drama going on in the forum, it can sometimes get a little frustrating trying to ask for help, especially when someone doesn't want to be bothered by a noob. Thanks in advance
Sent from my PG06100 using Tapatalk
Click to expand...
Click to collapse
Hey Guys!
First of all a bit of encouragement. The android kitchen sure as hell does not turn you into a rom developer. I decided i wanted to use the kitchen just over 2 weeks ago and run ubuntu in a virtual window. From then I decided I did not like windows anymore so installed linux as my main os and had to learn that (trust me getting the graphics card to work was a chore) I finally got the kitchen working tonight and decided to sign up to xda. Even with my limited knowledge I have been able to help someone on here tonight. Read Read Read and ask questions if you can not find the right answers on the forum. Research pays off eventually. (I now softmod nintendo wiis professionally from learning off a forum!!!!) Remember everyone has to start somewhere even if you are a noob and don't get disheartened if someone says you should have read this this and this. As long as you learn from ur mistake I'm sure people wont mind too much.
SFUK
aha... so let me understand i need ubuntu?
and i need to open system img fot the app edit
can someone pls answer yes im using android sdk and yes i use stock rom how to edit img? i need to edit system for app app folder edit i could open it at linux reader but icant edit its all written in hex
How long before bricked again...????
solain said:
can someone pls answer yes im using android sdk and yes i use stock rom how to edit img? i need to edit system for app app folder edit i could open it at linux reader but icant edit its all written in hex
Click to expand...
Click to collapse
Im about to take the dive myself, still rounding up the tools. Was about to dl virtual...unbuntu etc but read this just now and it makes sence so as much as i want to screwup my phine as fast as possible i think i will follow this advice.
You might have already seen and read but what the hell....
Originally Posted by cyanogen
I really dislike the "chef" moniker when it comes to Android, since we are more of an open-source community. I think it implies a "file pusher" mentality. But then again, I am biased against proprietary versions of Android like Sense, so feel free to disregard all of this.
Here's my advice for those looking to make their own Android ROMs.. Stop. Write an app or two first, learn how the system works from a developer standpoint. Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject.
Android Developer Guides: http://d.android.com
Working with AOSP source: http://source.android.com
Platform Developer Guide: http://pdk.android.com
Android Gitweb: http://android.git.kernel.org
Git Ready (Git tips and tricks): http://www.gitready.com/
Building CyanogenMod: http://wiki.cyanogenmod.com/index.ph...ng_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pla...5936;hb=master
The PDK site is absolutely vital if you are going to work on custom ROMs. Read every single page. Twice. Some of the info isn't up to date, but you'll get a really good idea about what goes into actually configuring Android to work on a real device.
dmeadows013 said:
Not sure what you are asking. For the sdk tools, do you mean the android sdk? If so, follow the instructions on the sdk page. For the images, I assume you mean the boot.img and possibly system.img. You do not open these. If you have a system.img, that means you probably have a shipped rom. Use the kitchen to create working folder from rom, and choose this. It should auto extract the system partition. As for the boot.img, you don't generally need to extract this, but there is an option in the advanced settings of the kitchen. You can change your rom's kernel in the boot.img.
Click to expand...
Click to collapse
can u shoot me a couple links for the kitchen/other tools download
solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
What version of Linux are you running? Are you running Ubuntu? I never had much luck using the Android Kitchen in a virtual environment for some reason. When I installed Ubuntu as my main OS, however, that made all the difference. From there you'll also need to make sure you have the Java Developers Kit (JDK) installed or at least open-jdk (Open source alternative) installed in order to run the Android Kitchen or the SDK for that matter.
There's a really good tutorial on how to set up the SDK on Ubuntu 10.10 or Ubuntu 11.04 which is what I had used to set up the SDK on linux for the first time. http://forum.xda-developers.com/showthread.php?t=921169
I prefer 10.10 just because I'm not huge on Ubuntu's newer Unity interface and my old laptop seems to run 10.10 a lot better than 11.04 or 11.10 but that's another story.
Once you have the SDK setup, you can then run the kitchen accordingly.
I use a tool called Android Utility by tommytomatoe which is essentially a collection of tools for creating custom ROMs, editing apk's, etc. It just happens to also include dsixda's kitchen which is a nice plus. You can download that here: http://rootzwiki.com/topic/3303-utility-android-utility-apktooldex2jarsmalimoremac-linuxoct09-2011/
Hope this helps. Good luck, dood!
**Edit** My bad... There's also a thread for Android Utility on XDA also....
http://forum.xda-developers.com/showthread.php?t=1167623

New developer Player

hello
i am a new developer i am starting to create ROMS and android kernel's. i am using Ubuntu 12 and any advise on tools and a starting point would be greatly appreciated. i use Heimdall to get the ROM's onto my device.
starter questions
1) how do i download the original android kernel to my system (linux)
2) best tool to view the kernel code.
i would like to be a productive XDA developer so any advise or direction would be great.
Cy83rn1nj4 said:
hello
i am a new developer i am starting to create ROMS and android kernel's. i am using Ubuntu 12 and any advise on tools and a starting point would be greatly appreciated. i use Heimdall to get the ROM's onto my device.
starter questions
1) how do i download the original android kernel to my system (linux)
2) best tool to view the kernel code.
i would like to be a productive XDA developer so any advise or direction would be great.
Click to expand...
Click to collapse
Here's the replies
1. That depends of the device you currently own
2. I use gedit but most people says that gedit and Vim are the best editors for ubuntu.
Also you would need the android sdk (for adb) also you will need jdk. If you want more informations don't be affraid to ask.
EDIT: I forgot to ask which languages you have learned?
im learning Python using google.com/edu great online webinars my company want me to also learn ruby as we develop our apps using rails.
thanks for the reply i will look for a standard android image i can decompile and test with.
Cy83rn1nj4 said:
im learning Python using google.com/edu great online webinars my company want me to also learn ruby as we develop our apps using rails.
thanks for the reply i will look for a standard android image i can decompile and test with.
Click to expand...
Click to collapse
You cant decompile any compiled to machine code program, its basic.. You can only get source code or deassemble to unreadable and unusable code.
Sent from my GT-I9000 using xda app-developers app

dsixda's Android kitchen 0.224 Standalone for Windows (Cygwin included)

I would like to add this as a reply of the thread but the thread is already closed, MODS please help to merge if it needed
dsixda's Android kitchen original xda thread:
http://forum.xda-developers.com/showthread.php?t=633246
I have merged Cygwin with the kitchen so you don't have do that complicated Cygwin installation anymore. However, you still need Java JDK installed on your computer at first, please refer the original thread.
Here is the download link Download and unzip it then run runme.bat and you are good to go :good:
Hey thx for the information :good: i wanna ask you how to unpack boot.img with this software? Thx
wasdf said:
I would like to add this as a reply of the thread but the thread is already closed, MODS please help to merge if it needed
dsixda's Android kitchen original xda thread:
http://forum.xda-developers.com/showthread.php?t=633246
I have merged Cygwin with the kitchen so you don't have do that complicated Cygwin installation anymore. However, you still need Java JDK installed on your computer at first, please refer the original thread.
Here is the download link Download and unzip it then run runme.bat and you are good to go :good:
Click to expand...
Click to collapse
You sir, are a lifesaver.
I've been dealing with that horrible cygwin installer for 3 days and still got nothing due to the unreliable speed of internet connection in here, Indonesia.
Don't want to derail the thread and awesome work by the op. There is a kitchen that works fine in windows with no need for linux what so ever. I won't link it out of respect for the op but if you search xda you'll find it
sawdoctor said:
Don't want to derail the thread and awesome work by the op. There is a kitchen that works fine in windows with no need for linux what so ever. I won't link it out of respect for the op but if you search xda you'll find it
Click to expand...
Click to collapse
What is the name of that kitchen
Sent from my SM-T800 using Tapatalk
Dvalin21 said:
What is the name of that kitchen
Sent from my SM-T800 using Tapatalk
Click to expand...
Click to collapse
There are 2 kitchens you can use in windows one is a merge of cygwin and dsixda so it's just a one install the other is ricki kitchen. Personaly I'd create a live linux USB stick and run linux from there if you don't want to install linux
Sent from my SM-G925F using Tapatalk
Thanks for your response. Between the two window ones, do you know anyone of them have been updates for the 64 SoC CpU?
Helped me a lot. :good:

Categories

Resources