Questions to chef's and developers - Hero, G2 Touch Q&A, Help & Troubleshooting

Wanna get into cooking ROMs and etc. Just have some questions that would help me alot if answered:
Are there any good resources to start with as a new chef of android ROM development?
Can I change thing around in a update.zip ROM, resign it and then flash the update.zip or are there anything im missing?
What is the best signing tool for update.zip's (and apk's) if developing under Vista?
Do I have to use a linux enviroment to cook the ROM's in?
Thx in advance!

you can find some info regarding hero here: http://forum.xda-developers.com/showthread.php?t=551711&highlight=rom+cooking
also look in the dream and sapphire forums for more informations ;-)

enlightener said:
you can find some info regarding hero here: http://forum.xda-developers.com/showthread.php?t=551711&highlight=rom+cooking
also look in the dream and sapphire forums for more informations ;-)
Click to expand...
Click to collapse
I know read that thread b4. But just want to know if there are any possibilties on extracting the kernel and ramdisk on Vista? Or is the only way by using linux? and what distro is best if so?

Related

HTC kernel beginner

hello ... i'm a kernel rookie
besides the http://wiki.xda-developers.com/index.php?pagename=XanaduxDeveloperHome link for the developers on the xda-developers wiki, is there any other link pointing to more specific kernel HTC Oxygen info ?
THANKS !!!
PS: i mean a detailed description on every aspect regarding how the kernel get's loaded on the smartphone , how it interacts with every little piece of hardware on it ,etc...
Read the platform builder help files; I've been enjoying a good read in court for the last month
V
sorry if i'm superficial ... where are thoose help files ? on the [URL="http://wiki.xda-developers.com/index.php?pagename=Xanadux[/URL] wiki there are no "Oxygen HTC S310 / Dopod 310 / orange spv C100" links towards some other file ...
Are you talking about the ARM processor kernel docs out there ?? like source/linux-2.6.x.x/Documentation or "understanding the linux kernel" , "kernel development" 'n stuff ???
thanks
maybe i joined the wrong forum or what ???
i'm talking about porting the linux op
(i.e. XANADUx distro) on the HTC devices ...
Hi byteflowsoft,
Hare you refering to nk.exe (wince kernel) or porting Linux kernel to htc smartphones? I think VJ pointed you to platform builder because he thougt you where talking about wince kernel, if you're talking about linux kernel then this might be closer to what you're looking for:
http://wiki.xda-developers.com/index.php?pagename=Xanadux
http://vivien.chappelier.free.fr/typhoon/index.html
http://www.handhelds.org/moin/moin.cgi/HTC_2dPhones
http://www.handhelds.org/moin/moin.cgi/HardwareDocumentation
I recommend you going into #htc-linux on freenode, there's where all the development is discussed and there are really interesting conversations daily.
byteflowsoft said:
maybe i joined the wrong forum or what ???
i'm talking about porting the linux op
(i.e. XANADUx distro) on the HTC devices ...
Click to expand...
Click to collapse
No... you joined the right one
thanks a lot ...
is there a linux bootloader for the HTC Oxygen ? or for a starter like me it's ok to read the bootloader code for HTC Tornado due to the fact HTC tornado is quite similar to oxygen ?! ... i don't quite find specific hardware details about HTC tornado for example , not to talk about Oxygen details which are totally missing ... it's quite hard to go through the bootloader code without being superficial in the begining of the journey ... there is no detailed HTC smartphone architecture description . how did you start up ?
There is nothing Oxygen-specific yet, and as it is a quite new device the hardware is quite unknown until someone disassembles it. The Tornado Linux port should be quite similar to what has to be done for Oxygen... I'm sorry I can't help much with other specific questions as I am not a kernel hacker, go into IRC (#htc-linux) and ask there, cr2 is "the man" you're looking for, he's really good and has done almost all the kernel work for HTC universal, there are other persons that also help a lot in the linux development on HTC devices: lkcl and rob_w did great job on the BlueAngel, now lkcl is working on the Sable. The handhelds.org wiki has a lot of info on different devices, and xda-developers wiki has a lot of info on ASIC3 chips, GPIOs, etc...
appreciate your info ... !

Creating a Rom - Which program is better?

Hi there
i am making a rom for the touch pro
have been using PROvens rom for a long time now
but only today have i registered
Basically to cut a long story short what program would you recommend for creating the rom
i have the raphael kitchen from this website and also the ppc- Build os
are there any advantages to either one?
i have tried searching but i couldnt find a very helpfulll answer
also
for example if i wanted to base my rom on say PROvens
how would i extract the info from it
from what ive read it involves flashing it to the phone and then running the raphael kitchen extracter and getting the raw files
but isnt there a easier way to extract the info without flashing to a phone ?
sorry if the questions are a bit 'noobish'
thank you =]
Vish112 said:
Hi there
i am making a rom for the touch pro
have been using PROvens rom for a long time now
but only today have i registered
Basically to cut a long story short what program would you recommend for creating the rom
i have the raphael kitchen from this website and also the ppc- Build os
are there any advantages to either one?
i have tried searching but i couldnt find a very helpfulll answer
also
for example if i wanted to base my rom on say PROvens
how would i extract the info from it
from what ive read it involves flashing it to the phone and then running the raphael kitchen extracter and getting the raw files
but isnt there a easier way to extract the info without flashing to a phone ?
sorry if the questions are a bit 'noobish'
thank you =]
Click to expand...
Click to collapse
Is it not easier to put the PROven rom in the Baserom folder? And then extract?
Vish112 said:
Hi there
i am making a rom for the touch pro
have been using PROvens rom for a long time now
but only today have i registered
Basically to cut a long story short what program would you recommend for creating the rom
i have the raphael kitchen from this website and also the ppc- Build os
are there any advantages to either one?
i have tried searching but i couldnt find a very helpfulll answer
also
for example if i wanted to base my rom on say PROvens
how would i extract the info from it
from what ive read it involves flashing it to the phone and then running the raphael kitchen extracter and getting the raw files
but isnt there a easier way to extract the info without flashing to a phone ?
sorry if the questions are a bit 'noobish'
thank you =]
Click to expand...
Click to collapse
this might help http://forum.xda-developers.com/showthread.php?t=467943
Ill give you my useless opinion
If you are very new to cooking and only want to add or remove a few programs then ppc_buildos is very user friendly.
If your looking to majorly change a rom and want to get to the real internals of the OS you need to use the kitchens found here on xda.

Samsung kitchen?

happy to see there is a forum for android rom cooking now. but any ways i would like to know if there is any kitchen available for cooking roms, or any hacks for the behold 2. ive done alot of research but no luck. please help me!!!
dglowen23 said:
happy to see there is a forum for android rom cooking now. but any ways i would like to know if there is any kitchen available for cooking roms, or any hacks for the behold 2. ive done alot of research but no luck. please help me!!!
Click to expand...
Click to collapse
What format do Samsung Android ROMs use? If it uses the regular update.zip recovery menu method, then give my HTC Android Kitchen a shot.
I think it does use the .Zip files but wen flashing roms its usually using odin
you can also flash updates using the sprint flashing tool i have a custom kernel from sdx-developers on mine that lets you use the update zip method from the recovery menu and i think thats been the easiest to do it
Sent from my SPH-M900 using the XDA mobile application powered by Tapatalk
Ok thanks. Where can i find this tool? Is it possible if this tool isnt right For my fone it will get bricked?
if i were to try the htc kitchen with my Behold 2, what phone would i choose from? or does it even matter?
dglowen23 said:
if i were to try the htc kitchen with my Behold 2, what phone would i choose from? or does it even matter?
Click to expand...
Click to collapse
Doesn't matter, the kitchen will auto-detect the correct addresses for re-building the kernel. In other places, if it asks you for your device type, just select "other".
But.. all this depends on whether your device's ROM has a boot.img .. I don't know how the Samsung ROM is structured ;-)
Finally LeshaK ported recovery to Samsung i5700, so it can be updated with a .zip... But I don't know if the structure is the same. Do you want a link to a rom to take a look?
Thanks guys if I make any thing then ill keep u guys updated
any news
hi any news regarding Samsung kitchen?
Well from what i have read you will need the source code and samsung is giving out the 2.1-update-1 source so i figured from that we could setup a kitchen somehow...I am new to this and the forums so i myself would like help setting up a Samsung Kitchen. I know c++/c# and java and i know it takes time and patients to cook them but its something i have always wanted to learn ever sense my HTC Hero.
Thanks ahead of time for any help the dev's here can give
BlueDrgBlade said:
Well from what i have read you will need the source code and samsung is giving out the 2.1-update-1 source so i figured from that we could setup a kitchen somehow...I am new to this and the forums so i myself would like help setting up a Samsung Kitchen. I know c++/c# and java and i know it takes time and patients to cook them but its something i have always wanted to learn ever sense my HTC Hero.
Thanks ahead of time for any help the dev's here can give
Click to expand...
Click to collapse
I'm new to Samsung phones myself. I started on a G1, did some minor work on a Motorola Backflip & now I'm learning the Samsung Captivate. I rooted it with a simple update.zip flash from the stock recovery. I simply renamed the root.zip from the 1click-root I'm interested to find out if I can use my ANDROID Kitchen on the roms for it. Priv. Message me if you make any progress or if I can help.

Xperia x10 Kitchen (for innocent people willing to try)

Simply wanting to know what kind of tools (kitchen) people use to make the roms.
Cant seem to understand how to port from from other devices to the x10.
Really am willing to try and learn abit.
Have done alot of google searching but nothing comes up with xperia. Nothing i feel helps my needs. Just want to be on the same page as the developers in this site.
Give a brother a hand here.....
norkos said:
Simply wanting to know what kind of tools (kitchen) people use to make the roms.
Cant seem to understand how to port from from other devices to the x10.
Really am willing to try and learn abit.
Have done alot of google searching but nothing comes up with xperia. Nothing i feel helps my needs. Just want to be on the same page as the developers in this site.
Give a brother a hand here.....
Click to expand...
Click to collapse
Guess this is a good place to start...
http://forum.xda-developers.com/showthread.php?t=633246
telmoabff said:
Guess this is a good place to start...
http://forum.xda-developers.com/showthread.php?t=633246
Click to expand...
Click to collapse
Thing is that i have all that done, got the ubuntu running fine aswell, just dont understand how i can "lets say" port a 2.2 froyo to our x10? I really cant seem to understand this part. Do i have to place some system files? Any help would be appreciated.
Ty for your time mate
it is unix /linux stuff
currenly we are locked out to SE kernel, so you "just" have to mak froyo compatible to SE kernel .
It means to optimize , change, recompile modules, "drivers" and so on, of course debuging ,
thermoska said:
it is unix /linux stuff
currenly we are locked out to SE kernel, so you "just" have to mak froyo compatible to SE kernel .
It means to optimize , change, recompile modules, "drivers" and so on, of course debuging ,
Click to expand...
Click to collapse
okey, my question to you is i can take what ever rom i want out there and install it from xrecovery, and it will run? Becouse this is what i am wondering, how i can port another rom to x10. Ofc the bugs comes after but thats another thing i have to search for.
sorry, but everything was answered in my previous post
NO you can not.
Every phone have a different hardware, software modification is requred.You have to modifi "drivers" to the current hardware. I think you are Windows boy so better example is :Will your nvidia card works on ATI drivers ?
First you have know a bit more than basics from unix / linux world, like :
modules
kernel
drivers
libraries
filesystems
swap
mount points ... and so on ..
I can see you are not home in Linux /unix thema , if you will understand the basic rules from linux world, then just port your knowledge to the android.
And voila you are ready to cook .
Remeber there are many people with big knowledge and willingness to help. Just ask them, imho unix/linux people share their knowledge with hapiness .
thermoska said:
sorry, but everything was answered in my previous post
NO you can not.
Every phone have a different hardware, software modification is requred.You have to modifi "drivers" to the current hardware. I think you are Windows boy so better example is :Will your nvidia card works on ATI drivers ?
First you have know a bit more than basics from unix / linux world, like :
modules
kernel
drivers
libraries
filesystems
swap
mount points ... and so on ..
I can see you are not home in Linux /unix thema , if you will understand the basic rules from linux world, then just port your knowledge to the android.
And voila you are ready to cook .
Remeber there are many people with big knowledge and willingness to help. Just ask them, imho unix/linux people share their knowledge with hapiness .
Click to expand...
Click to collapse
I know small things about linux. But this is not my issue, i am willing to install another rom from another device. "How can i port the rom to? what kind of files do i "for sure" need to change. Please forcus on my problem rather then trying to disrespect my intellect. If you dont know the answer, simply dont post.
norkos said:
I know small things about linux. But this is not my issue, i am willing to install another rom from another device. "How can i port the rom to? what kind of files do i "for sure" need to change. Please forcus on my problem rather then trying to disrespect my intellect. If you dont know the answer, simply dont post.
Click to expand...
Click to collapse
I don't think he intended to disrespect. He is right when he say, the more you know about linux, the easier it'll be.
Anyway, the first step will be to change drivers for hardware support depending of your hardware.
As he said start with the kitchen from unlocker. And with that, all question you have will be answered here: http://developer.android.com/index.html
good info
I really dont think hes openly trying to insult your intellect and what he says is correct. Before you get to the actual porting and modifying your going to need some programming skills and a good understanding of how drivers and such work and how they can be modified. Remember that the idea is to get the software to talk to the hardware. Its unfortunately not as simple as just taking files and making a change here or there and then including that in your rom files.
Not trying to say dont learn it, just need to know where to start your journey of learning.
Happy programming! (Which is good because i have done programming and hate it with a passion)
Edit: also remember that a knowledge of linux IS the problem as android is simply linux.
Sent from my X10i using XDA App
norkos said:
I know small things about linux. But this is not my issue, i am willing to install another rom from another device. "How can i port the rom to? what kind of files do i "for sure" need to change. Please forcus on my problem rather then trying to disrespect my intellect. If you dont know the answer, simply dont post.
Click to expand...
Click to collapse
I do not want to disrespect your intelect or knowledge or harm you in any way ..
I only want to explain you what you can wait and what you will need.
As ttf said you need to modify hardware drivers first.(btw I said it before too), These drivers have to be modified to the actual X10 hardware, but also to our current kernel!
froyo have 2.32 kernel by default our x10 have 2.29(+ modified by SE).
Cyanogen have its own kernel and CM Rom will never work on its full beaty without CM Kernel . (if it is possible it will take enourmos time and effort)
ttf said:
I don't think he intended to disrespect.
Click to expand...
Click to collapse
+1. Might be best posting in HERE.

Simple informations about Android

Hello my friend,
I'm software developper and cooker on Windows Mobile.
I would like to begin my Android cooking and have reading many tips on XDA, thanks a lot for this.
Nevertheless, i have some little questions....
In order to cook rom for android, it's possible to edit the rom with a kitchen and build a final ZIP rom in order to update with recovery menu.
But, if i want to update the latest android build, what is the way ?
* Need i to download the android source code and buid it ?
* I'm so sorry for this noob question but it's very hard to find "simple" informations about the different way of cooking on android. It will be very nice if anyone could explain the different way of cooking and this amazing os
Thanks a lot my friends,
Regards,
Nixeus
WoW....
104 views and no answer...
Is Android an opensource community ?
I come from the Windows Mobile cooking, and people are better helpful
Nixeus said:
WoW....
104 views and no answer...
Is Android an opensource community ?
I come from the Windows Mobile cooking, and people are better helpful
Click to expand...
Click to collapse
That's no way to ask for help...
http://forum.xda-developers.com/showthread.php?t=633246
http://forum.xda-developers.com/showthread.php?t=697938
http://forum.xda-developers.com/showthread.php?t=667298
(all above links are in this subforum)
The build of android you cook is determined by the device you own. That's where you need to start.
1. Choose device
2. Look for device on xda forums
3. Look around the device forum you just selected, paying extra attention to the "<device-name> Android Development" subforum
4. Learn
Cooking for android (correctly) isn't learned overnight.
Thanks a lot

Categories

Resources