[Q] Kernel zimage to CWM? - Xoom Q&A, Help & Troubleshooting

So I have spent the afternoon learning android development. I have modified a kernel and my learning mission is to compile and flash it successfully to my Motorola Xoom.
I have added a few features to try out. I've got as far as having it compiled to a zimage and my question is, how do I turn that into something I can flash in CWM?
Thanks for replies in advance.

Bump - Need some help as im stuck in progress at the moment.
EDIT - Solved by myself, for the people who stumble across this post and need answers I used this: https://github.com/bigrushdog/AnyKernel/tree/ Credits to bigrushdog

Related

G1/MT3G Video Drivers fo Eclair

If this is in the wrong thread I apologize. I didn't know if I should post this in Q & A because its a question relevant to something developed, I also didn't wanna invade anyones ROM thread.
I am creating a ROM which is a fusion of the Droid and Nexus one for the G1/MT3G. I am learning how to create ROMS and have been able to search and solve alot of problems on my own. This one however has me stumped and I've searched through a hundred threads but it seems no one is interested in this information but me.
Would someone explain to me how to implement the graphics driver that was designed for the G1/MT3G for Eclair 2.1. I can't seem to find any documentation/posts about how to implement this so that the camcorder works and the 3d gallery, those are my last 2 obstacles. I know ROMS such as CaNNoN202 Complete Eclair 2.2.1 or CyanogenMod-5 have it implemented. I have even looked through the ROMS but haven't found the drivers and have no idea where they would be.
If an experienced modder could help me get on my way to becoming a allround dev, please explain a few thing to me like in a pm or something. Like if they are kernel specific/dependent, what scripts are needed for the drivers to install, etc..
Please any help is very much appreciated.
EDIT:
I found a thread where CE developed a patch for his ROM which adds the support for 3D to the G1.
Gonna see if I can implement it that way. I will post results if I find anything.
Any info is still very welcome
Are you trying to build your own kernel or just a rom? The only reason you would need the drivers is if you are making your own kernel, which by the way you ask, I doubt you could do. Nothing against you, its just not easy.
Any kernel (mostly Cyanogens) has the drivers implemented after version 5.0.4 i think. You can just strip the boot.img out of any of those roms and slap it into your rom till you get it all to work.
Once you do that, then you may have the problems of no BT or wifi.
crypysmoker said:
Are you trying to build your own kernel or just a rom? The only reason you would need the drivers is if you are making your own kernel, which by the way you ask, I doubt you could do. Nothing against you, its just not easy.
Any kernel (mostly Cyanogens) has the drivers implemented after version 5.0.4 i think. You can just strip the boot.img out of any of those roms and slap it into your rom till you get it all to work.
Once you do that, then you may have the problems of no BT or wifi.
Click to expand...
Click to collapse
Yea I have been exploring these ROMS and seen the extra libraries and patches that have been implemented, but I haven't been able to get someone elses kernel to boot my ROM.
I have used the tutorial on theunlockr to set up a kitchen and been able to modify alot, but I am missing the true functionality of these ROMS if I don't understand the kernel and libraries that allow for these patches.
I think I am going to set up Eclipse in my linux and slowly learn the process of actually building these ROMS from scratch, I know its difficult but I'll search through old examples until I get on my feet.
Thanks for the info. If any ther experienced ROM maker has any tips to share I thank you in advanced.
The drivers you are looking for are in /system/lib
Note that in some cases, preload memory offsets need to be manipulated.
lbcoder said:
The drivers you are looking for are in /system/lib
Note that in some cases, preload memory offsets need to be manipulated.
Click to expand...
Click to collapse
Hey thanks for your info/help
I figured the libraries and modules needed to be ported over as well, didn't know anything about the memory offsets
I am trying to port Cyanogens kernel+system/libe+modules offer, hopefully it will fix all issues.
Will post update. Thanks you guys for helping a noob I'm really trying to learn and its very tough
Edit:
porting kernel either ends in bootloop or it ends in the settings and fc's like crazy
If I apply my modifications to cyanogens rom, the live wallpapers break, this is so wierd!

[Q] [Kernel] Help Making zImage Using KB7/KD1

Hello all,
FIXED: Update for search purposes
Reference: Galaxy S I9000 Q&A Post
Added CONFIG_INITRAMFS_SOURCE="{path to INTRAMFS}" to the make command...
Example:
Code:
CONFIG_INITRAMFS_SOURCE="/home/mark/samsung/drhonk-samsung-initramfs-58586e2/SGH-T959V"
I'm new to all this so please bear with me. I've compiled Samsung's SGH-T959v vanilla kernel (KB5/KB7 & KD1) but when I pushed it to my phone using Heimdall & recovery, it just boot looped.
Googing for the past few days, I think I'm missing initramfs or some sort of boot section because both my KB5 and KD1 kernels are 2.7MB while drhonk's kernels are ~6MB and Samsung's are ~4.8MB.
I've pulled drhonk's initramfs from github but I have no idea how to package it with my zImage.
Can anyone give me a tips/links/advice?
I've been googling for the past few days but have come up with nothing.
Happy 4th all,
Mark
MarkE08 said:
Hello all,
I'm new to all this so please bear with me. I've compiled Samsung's SGH-T959v vanilla kernel (KB5/KB7 & KD1) but when I pushed it to my phone using Heimdall & recovery, it just boot looped.
Googing for the past few days, I think I'm missing initramfs or some sort of boot section because both my KB5 and KD1 kernels are 2.7MB while drhonk's kernels are ~6MB and Samsung's are ~4.8MB.
I've pulled drhonk's initramfs from github but I have no idea how to package it with my zImage.
Can anyone give me a tips/links/advice?
I've been googling for the past few days but have come up with nothing.
Happy 4th all,
Mark
Click to expand...
Click to collapse
I wish I could help you but it is out of my grasp at the moment.
I think you have posted in the wrong section. This section is for Development. The Communities Development. I think you want to post in the General Section.
Good Luck Mark!
Happy INDEPENDENCE DAY!
why would the development of his kernel not belong in the development section. I believe u are incorrect in telling him this unless he does not intend to share with the community and i don't believe that is his intention. Happy 4th and good luck on the kernel! I will be anxious to test it if u would like Mark. If u get it up and running i would love to use the vannilla kernel!
fatherof4 said:
why would the development of his kernel not belong in the development section. I believe u are incorrect in telling him this unless he does not intend to share with the community and i don't believe that is his intention. Happy 4th and good luck on the kernel! I will be anxious to test it if u would like Mark. If u get it up and running i would love to use the vannilla kernel!
Click to expand...
Click to collapse
I am noob fatherof4. I thought that the Development Section was for something already developed and testable. Until today that has been my experience...I thought you had to post something that could be "used".. I should read the Rules again.
I made sure in my reply that I said "I THINK" he was in the wrong section and I thought I was helping him by sending him to the right section.
I am very sorry that I am wrong and I hope I did not mislead him. I too do not believe that he does not intend to share it.. In the future I will reframe and let more knowledgable members decide these things.
Sorry Mark! I will be Happy to test for you also and would love to use your kernel.
Happy Fourth Of July!
MarkE08 said:
Hello all,
I'm new to all this so please bear with me. I've compiled Samsung's SGH-T959v vanilla kernel (KB5/KB7 & KD1) but when I pushed it to my phone using Heimdall & recovery, it just boot looped.
Googing for the past few days, I think I'm missing initramfs or some sort of boot section because both my KB5 and KD1 kernels are 2.7MB while drhonk's kernels are ~6MB and Samsung's are ~4.8MB.
I've pulled drhonk's initramfs from github but I have no idea how to package it with my zImage.
Can anyone give me a tips/links/advice?
I've been googling for the past few days but have come up with nothing.
Happy 4th all,
Mark
Click to expand...
Click to collapse
What exactly are you trying to accomplish with this? It may be easier to pull the zimage from your phone. I believe the zimage source from android will be missing alot of information to run on the device. PM me I will see if I can help you.
Note: jerryd is actually correct this does belong in the general section. The development section is reserved for work completed or in testing.
Moved to proper forum.
apologies for my being wrong on the placement of a post like this. I learned something new.
Solved
Edited the original post with the solution. Sorry for putting this in the wrong forum.
I am doing this for educational purposes. If I find something useful, I will be sure to post my findings.
-Mark

Need help porting android.

I am not a noob at porting, or at least I thought I wasnt....
I need two things, How would I go about porting android to a palm pixi.
and the second is, I need help porting CM9 over the the pantech burst. (Thought I built it right, but for some reason I keep getting boot.img errors in recovery..)
please PM me or reply here. thank you.
not sure about the pixi but they found a way to make the boot.img boot-able. apparently you have to manually set the ramdisk address
Link

[Q] Having trouble compiling a kernel.

Hello everybody
Recently, I found this thread http://forum.xda-developers.com/showthread.php?t=2233282. After a while testing it with the new method, I found out I had some bugs. I then wanted to test the old method, aka compiling the kernel + module from the debian image. The problem is, even with http://oldwiki.cyanogenmod.org/wiki/Building_Kernel_from_source I don't understand what to do. Do I have to type every single line, replacing the source with the debian image, with botbrew, or am I missing something (I surely am).
tl,dr how do I compile a kernel for this
I'm really new to all this stuff, but curiosity makes me want to go further. I hope somebody can help me a little bit.
Thanks in advance.
My phone is a s2 i9100, cm10.1

SlimSaber help

Hey guys, so I came across this ROM a while back and I thought that someone would of compiled it by now but they haven't. So I have decided I will give it a shot. I know basic things about building Rom's but not much. I have set up my Ubuntu build environment and I'm ready to go. But I need help in the steps to make this ROM. So if anyone could help out I would really appreciate it. Thanks for reading and hope some of the top devs can help out here.

Categories

Resources