[Q] messing up the kitchen? - Android

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

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] 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

Need Help with update-script

Hi friends im having trouble writing the update-script for a flashable zip with deodexed system/app & system/framework. this is my first attempt at one. could anyone tell me where im going wrong please ive been trying all day with no luck. But its not for my ray its for my j theres not many devs to help me on the j forum.
heres my zip: https://dl.dropbox.com/u/90938124/deodex_xj-signed.zip
gavster26 said:
Hi friends im having trouble writing the update-script for a flashable zip with deodexed system/app & system/framework. this is my first attempt at one. could anyone tell me where im going wrong please ive been trying all day with no luck. But its not for my ray its for my j theres not many devs to help me on the j forum.
heres my zip: https://dl.dropbox.com/u/90938124/deodex_xj-signed.zip
Click to expand...
Click to collapse
just give me the updater script. file
here it is thanks
There is no mount and unmout cmd's in the script..
Well iam on phone now...
Simple solution for u is to use any any existing mod's meta-inf folder in ur mod.
Sent from my SK17i using XDA Premium HD app
Have a look at a working updater-script and you will see a huge difference
For example you need a command like
Code:
extract_dir
More set perms and mounting/unmounting system. Please check out a "real" updater-script :good:
Sent from my Nexus 7 running Android 4.2.1
sandy7 said:
There is no mount and unmout cmd's in the script..
Well iam on phone now...
Simple solution for u is to use any any existing mod's meta-inf folder in ur mod.
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
ok i'll try thanks
mihahn said:
Have a look at a working updater-script and you will see a huge difference
For example you need a command like
Code:
extract_dir
More set perms and mounting/unmounting system. Please check out a "real" updater-script :good:
Sent from my Nexus 7 running Android 4.2.1
Click to expand...
Click to collapse
i think i'll just give up i'm no dev lol
my next attempt still cant get it right please someone help me
well here what u did wrong...updater script was a txt file...and there was no updater binary script.
so next time use Notepad++ to edit these files..
here i only fixed everything...it should work now....
http://d-h.st/Gai
sandy7 said:
well here what u did wrong...updater script was a txt file...and there was no updater binary script.
so next time use Notepad++ to edit these files..
here i only fixed everything...it should work now....
http://d-h.st/Gai
Click to expand...
Click to collapse
Thankyou so much for your efforts but its not flashing error status6 i looked it up and resigning fixes the problem but then it just aborts. i'll just forget about it i'm sure you all have better things to do than help silly nooby me lol. Thanks again.
gavster26 said:
Thankyou so much for your efforts but its not flashing error status6 i looked it up and resigning fixes the problem but then it just aborts. i'll just forget about it i'm sure you all have better things to do than help silly nooby me lol. Thanks again.
Click to expand...
Click to collapse
I think the best thread you can start to learn it: How to make a flashable zip
I started here too once a time...
Wechy
Wechy77 said:
I think the best thread you can start to learn it: How to make a flashable zip
I started here too once a time...
Wechy
Click to expand...
Click to collapse
thats where iv been trying to learn from but its not really explanatory enough for a noob. im just a factory worker lol not a dev all thought id love to be able to do all this. iv read other threds aswell but none of them said anything about the update binery either. i'm probably just not smart enough. i'll keep trying though
gavster26 said:
thats where iv been trying to learn from but its not really explanatory enough for a noob. im just a factory worker lol not a dev all thought id love to be able to do all this. iv read other threds aswell but none of them said anything about the update binery either. i'm probably just not smart enough. i'll keep trying though
Click to expand...
Click to collapse
Try download some flashable zips and view updater scripts with notepad++
This is the best way to understand how it works.
If I have some time I write a little guide
Sent from my Xperia Ray using xda premium
Wechy77 said:
Try download some flashable zips and view updater scripts with notepad++
This is the best way to understand how it works.
If I have some time I write a little guide
Sent from my Xperia Ray using xda premium
Click to expand...
Click to collapse
ok thanks. i'll study up lol. how would i remove the .txt extension on notepad++ when i save it turns into a txt file.
gavster26 said:
ok thanks. i'll study up lol. how would i remove the .txt extension on notepad++ when i save it turns into a txt file.
Click to expand...
Click to collapse
delete extension
but the best way is open one of the updater-script (download any flashable zip) and edit with notepad++
(be sure you edit with notepad++ othervise you will see status6 error when flashing)

[Q] Help!!! how to add new device in dsixda kitchen

How to add new device in dsxida kitchen?
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
soham jambhekar said:
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
klembo1957 said:
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
Click to expand...
Click to collapse
Nope, there is no such necessity
OK
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
klembo1957 said:
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
Click to expand...
Click to collapse
You put any custom ROM for your device in there, configure it for that file (meaning that show it the file you're working on), replace it's system folder with the stock deodexed system folder.
Now, you're ready. Do your modifications. Add features. Build. Zip
Now, the important part.
Kitchen updater-script doesn't work on our device in some case. Use any custom ROM updater-script (with permission and credit), and voila!
There is a complete guide on it in Development section too.
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
klembo1957 said:
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
Click to expand...
Click to collapse
Only thing is that it's updater-script doesn't work
You have to add yours
iamareebjamal said:
Only thing is that it's updater-script doesn't work
You have to add yours
Click to expand...
Click to collapse
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
klembo1957 said:
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
Click to expand...
Click to collapse
did it work ?

[Q] Edit .apk wirh winRAR possible?

Hey guys,
I was searching for a tool to edit an apk file and i found Apk Tool on xda but i think it's not
that much easy to work with this program. (for a n00b, like me.. )
I managed to open and edit te file with winRAR,
but is this program also capable of proper compiling the app again, ready to use?
I tried it and it worked well i think, but is this possible with any app or other kinds of changes?
If this is stupid or something, please tell me. I am not very experienced in these kinds of things.. (neither in english, sorry.. )
Somebody any ideas?
Thanks in advance!
bart1996 said:
Hey guys,
I was searching for a tool to edit an apk file and i found Apk Tool on xda but i think it's not
that much easy to work with this program. (for a n00b, like me.. )
I managed to open and edit te file with winRAR,
but is this program also capable of proper compiling the app again, ready to use?
I tried it and it worked well i think, but is this possible with any app or other kinds of changes?
If this is stupid or something, please tell me. I am not very experienced in these kinds of things.. (neither in english, sorry.. )
Somebody any ideas?
Thanks in advance!
Click to expand...
Click to collapse
It all depends on what you edit,obviously you didnt make a fatal change,so it must have been small,no its not possible to edit anything else as far as the manifest and xml files.You'll get a parsing error.
Diablo67 said:
It all depends on what you edit,obviously you didnt make a fatal change,so it must have been small,no its not possible to edit anything else as far as the manifest and xml files.You'll get a parsing error.
Click to expand...
Click to collapse
Okay, that's true i only changed those kinds of files and it wasn't a problem yet.
I changed somethings in an demo version of an app and now it recognizes it as the full version so winRAR can be pretty usefull for apk edit if you keep things simple like this..
bart1996 said:
Okay, that's true i only changed those kinds of files and it wasn't a problem yet.
I changed somethings in an demo version of an app and now it recognizes it as the full version so winRAR can be pretty usefull for apk edit if you keep things simple like this..
Click to expand...
Click to collapse
It only really works for editing images.
Admitting this is a nice way to get banned
Wayne Tech Nexus

Categories

Resources