[Q] Rom Porting - Droid Eris Q&A, Help & Troubleshooting

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

Related

[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

[Question] How do I edit a ROM??

Hi, i'm new to the ROM building/editing stuff. I've read a lot about building ROM's from scratch, but thats not what i'm interested in. I would like to know if, and if i can how, i can edit an existing rom for the Samsung Infuse 4g such as the stock rom and replace stock apps. I want to just edit some of the system/apps like the stock launcher, stock messaging app, etc and replace them with different ones that i already have downloaded. I don't want to edit any of the really deep/internal stuff just the stock applications that are loaded on the phone. Pretty much i want to theme it i guess you could say. Can anyone help me out or point me in the right direction?? Thanks in advanced. I'm looking forward to working with custom ROM's.
bump. can anyone help a guy out??
3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA
How do you flash new rom on your samsung. Is it a .zip file and you flash it via cwm?
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600
cjtulowiecki said:
3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA
Click to expand...
Click to collapse
Assuming your file is a .zip file, you could just replace the applications you want (found in the "system/app" folder) on the zip, and sign it afterwards with a tool like AndroidSigner. It works for me
dsixda's kitchen
I haven't used this, but I have seen other ROM modders talk about this application called Kitchen (by dsixda). The link to the post is http://forum.xda-developers.com/showthread.php?t=633246
From the looks of it, it fits your bill.
you have Output the /system and do some work like change themes and other stuff and their is guys in Android Development and Hacking>Android Software Development
First off, thanks for all your replies, I appreciate getting some assistance. To answer most questions, yes I have the rom as a .zip file and flash it with cwm. I will try to replace the apps I want and then look into signing it ( which I don't know a whole lot about, but ill Google it.)
Sent from my SAMSUNG-SGH-I997 using XDA
Yeah so the apps are in /system/apps/ You can replace them easily, but You have to set good permisions
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600

dsixda kitchen?

i was wondering if the dsixda kitchen could work with the sgp. im just curious because i want to get into all this development stuff. if anybody has a simple tutorial link or something please share. thanks!
shahrukhraza said:
i was wondering if the dsixda kitchen could work with the sgp. im just curious because i want to get into all this development stuff. if anybody has a simple tutorial link or something please share. thanks!
Click to expand...
Click to collapse
Yes. I use that to cook my ROM. Have you looked at the official thread? There are plenty of instructions there.
http://forum.xda-developers.com/showthread.php?t=633246
and this one
http://forum.xda-developers.com/showthread.php?t=1227549
I've used it before, just for deodexing and zipaligning. The other features are supposedly meant for HTC roms only. But for some reason I get errors with busybox symlinks and the way terminal is set up using the kitchen so I don't use it to cook my rom.
Sent using Tapatalk
klin1344 said:
I've used it before, just for deodexing and zipaligning. The other features are supposedly meant for HTC roms only. But for some reason I get errors with busybox symlinks and the way terminal is set up using the kitchen so I don't use it to cook my rom.
Sent using Tapatalk
Click to expand...
Click to collapse
That's true. I only use that for the basic things and for packaging the whole thing into zip. As for busybox, I use busybox's --install option and it will generate all the symbolic links automatically.
No I get weird errors like this: http://forum.xda-developers.com/showthread.php?p=22732320
Sent using Tapatalk

Stock ROM modification.. Help please!!!!

Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
explain more
Help Building a CUSTOM(from STOCK ROM)
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
cheqolada said:
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
Click to expand...
Click to collapse
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Maybe this is what you search:
http://forum.xda-developers.com/showthread.php?t=1976412
yashwantpiduru said:
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
Click to expand...
Click to collapse
My Answer is for kagouro - Becouse i Don't see your post when I write.
If Your Phone is dedected in adb you can use logcat (adb logcat in windows cmd) if phone don't dedected in adb - flash recovery via fastboot, join in recovery , instal working rom and found bad files in rom (try add modyfication singly - first root, second busybox etc - in this metod you can see whad mod don't work - probably stupid method but work :cyclops
yashwantpiduru said:
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Click to expand...
Click to collapse
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
yashwantpiduru said:
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
Click to expand...
Click to collapse
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
yashwantpiduru said:
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
Click to expand...
Click to collapse
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks for the heads up... I am gonna check the updater script.
sent from my oc'd incS

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)

Categories

Resources