HELP! cooking flashable zip into rom!!! - EVO 4G Q&A, Help & Troubleshooting

is there a way to take a .zip file that someone has posted, and cook it into the rom i'm building? its the droid x keyboard (themed). I took a look at the contents of the .zip and I'm not sure if I can just manually place the files or what? for instance in the system folder there is app/apk and lib/lib file. can i just take the apk and put it in /system/app and the lib file into /system/lib? and if so... what happens with the META-INF folder thats in there? and help is greatly appreciated!!

ok, you are trying to make a rom while you dont even know the components of a flashable zip???
in order to make the rom WORK, you will need to write about 275 lines of code (update-script), and thats just for amon-ra recovery (amend scripting). then, you also got edify scripting, which will be the norm soon. you will also need a 280 line edify script (updater-script) AND an edify binary coding page (update-binary). roms are not easy...
i would rethink making a rom, no offense meant.

thanks for you 2 cents. however irrelevant it may be. I'm not looking to write any code, either there is an easy way to place the .zip files in the rom or there isn't, in which case i will continue to flash through cwm

as cooking your own rom, do you mean releasing it publicly? if you mean just for yourself, then this might be a bit easier.

hell no man, i'm not nearly smart enough to release a public rom. i found the htc kitchen the other night and a stock rom download that i have been playing with, trying to tweak it to my liking, last thing needed is this keyboard to boot without a separate flash!

so thats where the confusion is coming from.
open up the META-INF/com/google/android/update-script file in the zip with a text editor. tell me what it says.

show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10

ok no symlinks ur safe. just copy the files into the directorys they are in in the zip. for example, keyboard.apk in /system/app/ would be put in /system/app/ on the rom. ignore the META-INF folder that is for the sigs and scripts.
sorry about my first post i assumed you meant to release a rom and were a bit over your head. hah there arent many skilled enough to make roms. thats why we are all here.

thanks buddy... i appreciate your help!

no problem... if you like the droid x kb you might want to check out the gingerbread one as well. thats nice too. i'm a swype guy tho.

I really like the gingerbread kb, I just got my evo yesterday, but I had the ginger kb on my epic. I just havent found my way around all the evo forums and found all the hidden gems yet lol. I assumed they had a port for the evo but wasn't too sure

wow just yesterday and you are already messing with the roms... i wonder where you will be in a month or two.

lol i had a hero for a long time... from what I'm seeing so far they aren't too much different in reguards to where things are. I guess only time will tell, but probably not for i don't know **** about code. Best I can do is delete and add some apk's and png's!

hah ok i assume you are rooted already? that must be hell coming from the hero.

yes I already have root and cwm installed. That was the first thing I did when I got home yesterday =)

ok. as a suggestion i would try out myns warm twopointtwo and caulkins EViO 2 (i kno sense, but i like them both) and i am hearing fantastic things about miui. i'll try that one tomorrow.
welcome to the evo crew.

yeah i read some good things about miui also. i like mikfroyo. but i haven't updated to .4 yet. I have been busy playin with stock and seeing what i can do with that kitchen. just flashed an update and that kb installed perfectly... thank you

hah no problem. i'm going to bed now so 'night and happy MLK day

Related

Here is my kitchen

If you add the .dz file into this kitchen, it will produce a ROM that will enable the S-Class UI.
There are 3 batch files to run:
prep
mix
bake
and then you'll have a FLASH2.bin ready for burninantion.
-Brian
so wait. what does this do?
... what it does
It enables UI that LG has on a few other phones (KM900, GM730). It gives you an option if you don't like the stock WinMo6 'Today' screen.
Like in the attached pictures..
Our phone came with the S-Class UI. Make one that will give us Sense 2.5
lol forget all that make us a rom with the newest 6.5.3!
does your newly created flash2.bin flash to the phone correctly? does everything work? if so talk to dark and spocky. they havent been able to flash a rom that is functional on the phone yet. great work btw. but i kinda agree with the others (and i never liked the S class) having something new and different would be sweet, however correcting the flash process to make sure its gonna work every time is a must. keep up the good work...
um so i used the kitchen to make the flash2.bin then i used dz create then i flashed it and its same as stock?
at least it worked i guess

[Q] making a rom..

seach is currently down.. i appologize..
so the past few weeks i've flashed what seems to be every rom that is out, and it's update.. i've sifted through them and narrowed it down to a few i switch between.. im to the point to where i'm curious as to the whole process and whats required to make a rom.. im sure there is a good deal that goes with it, but i'd just like to hear the jist of it all.. i currently run a windows xp os. im on a s-off droid incredible.. much thanks..
20twins10 said:
seach is currently down.. i appologize..
so the past few weeks i've flashed what seems to be every rom that is out, and it's update.. i've sifted through them and narrowed it down to a few i switch between.. im to the point to where i'm curious as to the whole process and whats required to make a rom.. im sure there is a good deal that goes with it, but i'd just like to hear the jist of it all.. i currently run a windows xp os. im on a s-off droid incredible.. much thanks..
Click to expand...
Click to collapse
Check out the chef central forum on this site. There is a kitchen that can be useful for modifying existing roms. Also, there is a topic titled "some advice" by cyanogen. That has some links that will help you get started. You should look into running some flavor of Linux (i prefer ubuntu, but you aren't limited to that distro). What is your experience so far?
sent from my Droid incredible using the xda app
I have no experience with any Linux distribution. Years back I always wanted to get into it just never did.. I'm good with taking pre existing code and learning it and adding to it.. I know I'd be going with a sense based rom, and try to add some functions from other existin told..
I will have to check out the chef forum here. I've never clicked over to it , bit it definitely sounds like it will ne helpful.. much thanks..
Sent from my ADR6300 using XDA App
*Any major linux distro
*Dsixda Kitchen: http://forum.xda-developers.com/showthread.php?t=633246
*ROM (comes in zip form)
*APKTool: Follow the video below to get that downloaded and setup on linux
The 4 basic things you will need, you can search the forums here for the Kitchen. Like previously stated you can use Ubuntu or Linux Mint which is based off Ubuntu.
A forum Member named Heyitslou made a tutorial on how to use the APKTool also: http://blip.tv/file/4382608.
The kitchen is pretty straight forward on what you can do with it...just follow the thread on how to set it up.
Remember be patient while you are making your ROM (some trial and error, best to work on a phone you dont rely on for important calls)...I have made my first ROM this weekend...I swear I had to cook it 50 times to get it working properly with what i wanted to change and add...so 50 ROM flashes=alot of time you wont be able to get calls... just a heads up. I am pretty sure next time I edit in some changes it will be faster and easier...The Kitchen is a great tool and does what you want..just got to know what not to do in the kitchen...it could be messy.
magneticzero said:
*Any major linux distro
*Dsixda Kitchen: http://forum.xda-developers.com/showthread.php?t=633246
*ROM (comes in zip form)
*APKTool: Follow the video below to get that downloaded and setup on linux
The 4 basic things you will need, you can search the forums here for the Kitchen. Like previously stated you can use Ubuntu or Linux Mint which is based off Ubuntu.
A forum Member named Heyitslou made a tutorial on how to use the APKTool also: http://blip.tv/file/4382608.
The kitchen is pretty straight forward on what you can do with it...just follow the thread on how to set it up.
Remember be patient while you are making your ROM (some trial and error, best to work on a phone you dont rely on for important calls)...I have made my first ROM this weekend...I swear I had to cook it 50 times to get it working properly with what i wanted to change and add...so 50 ROM flashes=alot of time you wont be able to get calls... just a heads up. I am pretty sure next time I edit in some changes it will be faster and easier...The Kitchen is a great tool and does what you want..just got to know what not to do in the kitchen...it could be messy.
Click to expand...
Click to collapse
im going to look into the Cygwin method as dsixda stated in the kitchen thread.. im anxious to getting to ripping out parts of roms and merging if possible..
so ima switch to the virtualbox/ubuntu method for this.. i think it will be easier for me to solve issues with community support this way..
20twins10 said:
so ima switch to the virtualbox/ubuntu method for this.. i think it will be easier for me to solve issues with community support this way..
Click to expand...
Click to collapse
I recommend just going ahead and installing the OS directly, but that's just what I would do.
sent from my Droid incredible using the xda app
maybe at some point in the future if my brain becomes that curious to the OS itself.. for now this method will do..
so i downloaded the java6 bin and jre, trying to install it via terminal i'm getting nowhere..
dpkg-i command not found
java installed
kitchen installed
now to go rip apart my laundry tub plumbing and replace it..
whats the nitty gritty on getting behind the scenes on a previously compiled ROM??

[Q]Gingerbread CRT Animation

I hope I'm not starting a thread thats been covered but I looked for a while before this. I really want this animation, and I know its available on cm7, but I kinda wanna stick with stock as much as possible. I found this on the droid x forums: http://forum.xda-developers.com/showthread.php?t=1014514. What I'm wondering is if there are specific xml files in the zip that control the screen off animation, and if i can pull my framework-res.apk and just overwrite those files and push it back. I'm pretty sure trying to just flash their zip is a bad idea.
If you're running stock rom with temp/perm-root you wont be able to do any of that. To put it simply, any changes that you make to /system in stock rom will undo itself upon reboot
From what I understand there is a bit more to it than just swapping a few files. If it was easy all of the roms would have it
[sig]My mission is to hit 1000 posts by 23/05/2011[sig]
thats disheartening. its not a necessity but i really want it.
I miss that animation! One of the things I really loved about cm7. But I have changed rom which I am more happy with so I can live without it. But I'm a little bit sad.
i was looking in the forums for other devices and they have a mod for the droid x to enable it. or a modified framework-res.apk for it anyway. l0st.prophet has a rom that has it for the incredible s, but he said he had to make a few changes to services.jar, framework-res.apk and HTC-resources.apk to enable it. maybe that could be a start? he advised the guy that asked to compare his rom's services.jar, frame-res.apk and htc-rec.apk with their stock ones, but since im not using an incredible s, i dont know how much the comparison would help. this is really burning my grits. i want the animation, dang it! haha

[Q] Build Question

When building an androidinstall.tar from scratch, do I need to include the META-INF file as well?
I will try without it as this build was for a different phone that I extracted and decompressed. I have already separated the apps and placed them in their own /data folder and removed them from the /system folder.
It is an unodexed build so no .odex files were included.
I was looking through other builds I have on hand and noticed no META-INF file, thats the reason for asking.
First error:
[ 127.061609] init: Unable to open persistent property directory /data/property errno: 2
Then a whole mess of kernel errors, possibly due to wrong system...
FIXED! Awaiting boot animation to finish.
Honeycomb boot animation is SO cool looking!
EDIT: NOT fixed, refuses to finish booting. Will work on it more to see if I can get it to boot up.
So far I've gotten to the point where the D-pad and keyboard light but boot animation continues.
Build is Android 3.0 Honeycomb with parts and drivers taken from "system_gingerbread_unodex" listed on sourceforge.
Someone tell me what I've missed here as it's about 80% finished booting and hangs after D-pad lights, animation continues until I pull the battery, about 10 minutes.
Getting an error "cannot execue /system/bin/leds.sh, no such file or directory", even though I made sure to copy it and went back and checked it.
Sorry if this looks like I'm using the forum as a sounding board, but I found an experimental build of Honeycomb for the MSM7201A and wanted to try it out.
Watch me cook the only Kaiser I have left...
All but giving up for now, will dig deeper. I know HC was NEVER meant to run on our Kaisers but it would be fun to see it happen.
Wow you are insane! (I mean that in a good way)
I have a Xoom tablet that runs honeycomb, but can't even imagine it running on our sweet Kaiser. Heck, I don't even like gingerbread: uses too much RAM.
Keep us posted, it sounds like a wonderful experiment.
I'm so close yet so far with it because I'm using more and more of Gingerbread in the build. I even ended up trying to change the build.prop file to accomidate some of the changes in dimensions and clock speeds...
I think I'm about 90% there, just have some issues with the bootanimation restarting, which I may change to the nexus for the smaller size. (HC boot animation is somewhere around 14mb compared to our partly 875kb nexus animation). That could be half the problem because the bootanim uses so much of the ram...
To be continued...
Ok This is a very interesting project
I am from the vogue forum but since my touch broke and the build process is identical I just sort of wander around trying to help with what I know.
So at one time I did a lot of porting and it appears according to your first post this is what you did. What phone did you take the rom from?
If its from the wildfire (I know there was a honeycomb movement in there for a while) I can definitely help because that is where I did most of my porting from
And the META-INF question... When I port I usually trash a bunch of folder straight away ... including META-INF
Good to know there are "floaters" around helping as needed.
BTW, it IS from the Wildfire port. Considering the MSM family is bascally the same, I'm trying to use that as a starting point.
The META-INF file contains certificates and what-not but isn't needed for our phones.
My biggest issue right now, as with any Gingerbread release, is finding drivers for our devices. Froyo drivers won't work because they lack the correct signature. Same as if someone tries to install the HTC flip clock on a plain android without the sense build, it just doesn't work.
I have this project and trying to port the kernel we use to the Raphael (Touch pro/Fuze), which is a major task in and of itself. I tried HaRet before with the Kaiser and I jus HATE it.
Biggest issue with the Fuze right now is to get it CID unlocked so I can try installing the kernel to NAND and go from there.
With that being said, I don't know what kind of progress I'll be making with HC in the near future, if any.
Ok, I went back and restarted the project from scratch. Someone else ported the bootanimtion and different aspects of HC to a Froyo port on the Xperia X1 forum.
I recompiled everything at first, moving the "app" folder inside a new folder named "data", since our NAND constraints limit the build size to under 102mb for /system.
Once again I am stuck at the boot animation. It will go full-speed for a minute then restart and run slow. The only parts taken from the X1 were the app folder and media/bootanimation.zip
I'll dig a little deeper, maybe ask around the X1 forum for help.
Would be nice to finally figure this out though.
Hi PoXFreak. It seems like you're a very good dev. Could i help you somehow or could you link me to somewhere where i could get all the tools for rom and kernel building. Im a C++ learner, i've written a few apps, but only big thing i've done in android is installed sdk and modified a rom to have apps i need after install. I'd rly like to improve our kaisers.
P.S. dou you put anynthing compilled by urself in android rom (without kernel)? And where are the drivers located? system/lib/modules/[kernelversion]/ or system/lib/modules/ ???
zxxxy said:
Hi PoXFreak. It seems like you're a very good dev. Could i help you somehow or could you link me to somewhere where i could get all the tools for rom and kernel building. Im a C++ learner, i've written a few apps, but only big thing i've done in android is installed sdk and modified a rom to have apps i need after install. I'd rly like to improve our kaisers.
P.S. dou you put anynthing compilled by urself in android rom (without kernel)? And where are the drivers located? system/lib/modules/[kernelversion]/ or system/lib/modules/ ???
Click to expand...
Click to collapse
The .so files go into /system/lib/modules/(kernelversion).
Sent from my Android on HTC Kaiser using XDA App
I have yet to make a complete working build from my work so no, I have nothing "new" to contribute to any android builds. All I'm doing is combining and rearranging/replacing/removing files already in builds.
To date, I have not had the time to work on this. I would like to be able to devote more time but I have too much on my plate already. Not to say I'm dropping the ball, just putting it on the rack for awhile.

[Q] Help Please Ported New Rom and lost

I just ported the Sensation Rom, using the dsixda kitchen. Everything seemed to be going fine until I flashed ROM and is giving me, "Can't open....... (bad)". thru the FAQ on the kitchen post it was stated I need to change the recovery menu, (I'm a flashaholic.. not a dev yet ) so how do I change the RM.....
Please help I would like to post this alpha tonight
*****if anyone wants the link******
it's the new sense 3.6 ics 4.0 Rom All help welcome
Now I'm probably totally wrong....
But looks to me like either a bad download or that things aren't signed properly.
I guess we'll both wait till someone more knowledgeable comes along
~ I'm a fungi
a senile fungus said:
Now I'm probably totally wrong....
But looks to me like either a bad download or that things aren't signed properly.
I guess we'll both wait till someone more knowledgeable comes along
~ I'm a fungi
Click to expand...
Click to collapse
OK will look at them again ...... and try to redo them...... thankss
(Do you think I should try to post in development forum also? )
ku_ said:
OK will look at them again ...... and try to redo them...... thankss
(Do you think I should try to post in development forum also? )
Click to expand...
Click to collapse
No, don't post in the Development forum, as this isn't Development (yet) - it's still a question.
I'll download your file and see what's going on.
EDIT: Well first off, the ROM is WAYYYYY too big. Did you remove anything from it? Did you set up any symlinks to the Data partition to make up for the space the EVO lacks on /system? How exactly did you port it? Did you only use the tools in the kitchen? Not only won't that give you a complete working (or booting, even) port, but you'll end up having duplicate files, for multiple devices. What kernel are you using? There isn't an ICS Sense kernel for the EVO, so I'm curious to know how you were able to mod the existing GB Sense kernel code (or maybe the modified ICS AOSP code?) to get it working.
EDIT 2: I see you're using the build.prop from the Sensation, which will cause problems. Also, the Sensation is a qHD device - did you resize anything for our WVGA screen? You're better off starting with trying to port the new Primo leak, but even then, you'll never get it to boot without an ICS Sense kernel.
Captain_Throwback said:
No, don't post in the Development forum, as this isn't Development (yet) - it's still a question.
I'll download your file and see what's going on.
EDIT: Well first off, the ROM is WAYYYYY too big. Did you remove anything from it? Did you set up any symlinks to the Data partition to make up for the space the EVO lacks on /system? How exactly did you port it? Did you only use the tools in the kitchen? Not only won't that give you a complete working (or booting, even) port, but you'll end up having duplicate files, for multiple devices. What kernel are you using? There isn't an ICS Sense kernel for the EVO, so I'm curious to know how you were able to mod the existing GB Sense kernel code (or maybe the modified ICS AOSP code?) to get it working.
EDIT 2: I see you're using the build.prop from the Sensation, which will cause problems. Also, the Sensation is a qHD device - did you resize anything for our WVGA screen? You're better off starting with trying to port the new Primo leak, but even then, you'll never get it to boot without an ICS Sense kernel.
Click to expand...
Click to collapse
Holy Shyznit batman!!!!!! ok i'm still learning Just wayy to eager to help out .... Capt.
I used the tools in the kitchen, this would've /is the alpha - all resizing and tweaks would have been done from alpha 1.0 (this 1) through the final.
Is there another kitchen I could use that will make this easier on the kid....lol
ku_ said:
Holy Shyznit batman!!!!!! ok i'm still learning Just wayy to eager to help out .... Capt.
I used the tools in the kitchen, this would've /is the alpha - all resizing and tweaks would have been done from alpha 1.0 (this 1) through the final.
Is there another kitchen I could use that will make this easier on the kid....lol
Click to expand...
Click to collapse
No. If you're just starting out porting, it's best to start with something that actually has a chance at working, so that you can understand how everything works and what everything does. Technically, you don't even need the kitchen to port a ROM - it makes it about as easy as it can, while recognizing that it's an experimental feature with limitations.
There's a thread about porting different versions of Sense that should help you with the files that you actually need to move, and the content in the (now closed) kitchen thread should help out if you have any issues (sd card won't mount, sound doesn't work, etc.).
I recommend you first try to port something close to the EVO, like a Shift ROM. Try to get Sense 2.1 working on the latest OTA. I bet that'll take a whole lot of work, if you can do it at all (different versions of GB). If you do, you'll definitely have some skills/tools that can help you in your quest for ICS Sense.
ku_ said:
Please help I would like to post this alpha tonight
Click to expand...
Click to collapse
Take it from someone who had cooked and posted literally hundreds of rums for multiple devices, and don't post anything until you've built at least 20 different (semi-)working roms for yourself first. You are opening the door to major criticisms (*****ing) and a lot of support work (which you may not be ready for) if you make your work public too prematurely.
Captain_Throwback said:
No. If you're just starting out porting, it's best to start with something that actually has a chance at working, so that you can understand how everything works and what everything does. Technically, you don't even need the kitchen to port a ROM - it makes it about as easy as it can, while recognizing that it's an experimental feature with limitations.
There's a thread about porting different versions of Sense that should help you with the files that you actually need to move, and the content in the (now closed) kitchen thread should help out if you have any issues (sd card won't mount, sound doesn't work, etc.).
I recommend you first try to port something close to the EVO, like a Shift ROM. Try to get Sense 2.1 working on the latest OTA. I bet that'll take a whole lot of work, if you can do it at all (different versions of GB). If you do, you'll definitely have some skills/tools that can help you in your quest for ICS Sense.
Click to expand...
Click to collapse
ok will do if I have a question or need help could I call you up, through gtalk?
indagroove said:
Take it from someone who had cooked and posted literally hundreds of rums for multiple devices, and don't post anything until you've built at least 20 different (semi-)working roms for yourself first. You are opening the door to major criticisms (*****ing) and a lot of support work (which you may not be ready for) if you make your work public too prematurely.
Click to expand...
Click to collapse
shhhhhooooooot *****ing ain't nothing new ..... lol I have tough skin But I do heed the warning and is grateful for the insight..... if night call you up also if possible.
haha you see?
I told you somebody more knowledgeable than me would come around...
Thanks guys
~ I'm a fungi
One major problem is there's not a fully functional kernel to boot ICSense soooo that's the first issue here, next would be if the dpi and images haven't been resized to match the evo's resolution there will be major visual flaws and possible won't boot, if you really want to start porting roms I'd suggest starting with a GB rom since they are stable and there's alot more info and tools out there to get it ported
________________________________
{We are legion, for we are many}
>Sent from my Anonymous DeathStar in the depths of GalaXy S2<
-Coming soon to an Evo4G near you?: [AoSP]EViL-MoD_FReEvO v0.1[Free your phone]-

Categories

Resources