Kernel Building....Where to get started? - Android Q&A, Help & Troubleshooting

So I've always wondered how to cook a kernel, if that is even what you call it. I'm definately not new to any of this though. I just don't know if you have to build kernels or if port them or what. I want to build a sense kernel for ICS, or more so help get one built. I know a couple devs only phone who would all be willing to help I just don't know what I'm doing and want to learn
Sent from my Incredible 2 using XDA App

Stove and pot ;-)
Sent from my HTC HD2 using GaBaGaBa

anyone? i really want to learn and ive been all over google all night

Related

GingerSense? And porting in general?

Im good with porting roms, so im not exactly asking anyone to do anything, just asking for some advice/help.
IF i were to port a Rom for the inspire or desire, with gingersense, miui, whatever, would the 4g work? Thats all i want to know. I can replace the icons that make it say 4g rather than 3g no problem but i need to know if porting would be easy while keeping the 4g radio working.
Any help would be appreciated
I bet it would be easy. The 4g capability is just another driver if I'm not mistaken. But we really won't know till someone tries it. Id love to see some ports though its nice to see you here trying to get involved. Thank you and I'm here if you need anything. Oh and id go on Twitter and ask @teamandirc about thunderbolt they know a lot more then most.
Sent from my ADR6400L using XDA Premium App
Bump cause I really wanna see this happen. But if I remember correctly it took cyanogen and co some time to get Wimax working on the evo
Sent from my ADR6400L using XDA App
papi92 said:
I bet it would be easy. The 4g capability is just another driver if I'm not mistaken. But we really won't know till someone tries it. Id love to see some ports though its nice to see you here trying to get involved. Thank you and I'm here if you need anything. Oh and id go on Twitter and ask @teamandirc about thunderbolt they know a lot more then most.
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
Thanks for the support i dont have my tbolt yet but i will sometime this week and i just wanted to get down on the whole rooting scene
Wimax is a whole different idea then lte. Cm has lte already partial working. It's just not routing right.
Sent from my ADR6400L using XDA Premium App
The only problem with GingerSense is that GB + the newer Sense will be available sometime in the next two months (or less), so we'll be seeing an official release with new features that a mere Sense 2.0 + AOSP GB combo cooked by an independent developer will lack.
I don't think we will see an update till June. HTC usually is a little slow. No harm is trying
Sent from my ADR6400L using XDA Premium App

HC leak and the View?

Anybody know if the any of the honeycomb rom's would work on the view? I am assuming that the 4G would not work unless the drivers were present but I don't know what else is different so I don't know if it would be too much of a difference to run on a View.
Us View owners just don't get any love do we? Did you ever find anything out. I would think the HC leak would work since if I recall right, it was a leak from a View wasn't it?
Are there even any View Custom Roms available yet?
I don't think there are any for us yet. What I really wish there was was a forum for us andi hate to beat a dead horse but I don't think there will be one any time soon. That sucks
Sent from my Evo View 4g
Ouch guys, talking like my rom doesn't exist
Sent from my SPH-D700 using XDA App
Don't feel that way. I for one am thankful for the custom rom's that you have released. This wasn't meant in that way. I have been asked this same question by view users that I know and I figured if anybody would know, this would be the place to get the answer. I personally am not that anxious for honeycomb. I have just started trying to develop and theme for GB and I am not in a hurry to change to a newer rom.
I was just kidding guys. As soon as they fix the tools for theming, my rom (and everyone elses probably) will go custom ;-)
Sent from my SPH-D700 using XDA App

[Q] Developing ICS for HTC Sensation

Hello.
I'm trying to get ICS working on my HTC sensation. I was wondering what I need to do to make it work on my device.
I have ICS working in the emulator but I want basicly port it to my sensation
Sent from my Sensation using XDA App
That's much work
You have to port device-specific things that's the trick.
If you aren't an expert on these things you should wait until CyanogenMod9 is released and then the developers will port it to all compatible devices
Yeah it is and its going to take 2 months for cm9 to come out plus I want learn how to do it...sooo as far as I know I need to port over the lib files, maybe egl for graphic, change the boot img, and other things
I have the basic knowledge of porting but I was just wondering if it also applies to the ics source code
m11kkaa said:
That's much work
You have to port device-specific things that's the trick.
If you aren't an expert on these things you should wait until CyanogenMod9 is released and then the developers will port it to all compatible devices
Click to expand...
Click to collapse
Sent from my Sensation using XDA App
I thought the Sensation was supposed to be getting an ICS update.
Sent from my Transformer TF101 using Tapatalk
But that's just an update I want something customizable like the cm7 sources
Spidey01 said:
I thought the Sensation was supposed to be getting an ICS update.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Sent from my Sensation using XDA App
So just get the update, use CM9 to figure out how to get the device specific parts, and go bananas on your own ROM. If that is to much, you should probably see what you can do to help CM (and learn along the way) or just buy an ICS device to hack.
It might be worth the kicking around for fun and education (that's why I would: curosity), but otherwise it's faster warm and fuzzies to spend $ and more benifit to everyone to expand an existing project, to learn more on how to do your own. Just my two cents but good luck, hope you get a nice ROM going for your wants.
Sent from my Transformer TF101 using Tapatalk
Thanks man that does help out... how can I help cm?
Spidey01 said:
So just get the update, use CM9 to figure out how to get the device specific parts, and go bananas on your own ROM. If that is to much, you should probably see what you can do to help CM (and learn along the way) or just buy an ICS device to hack.
It might be worth the kicking around for fun and education (that's why I would: curosity), but otherwise it's faster warm and fuzzies to spend $ and more benifit to everyone to expand an existing project, to learn more on how to do your own. Just my two cents but good luck, hope you get a nice ROM going for your wants.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Sent from my Sensation using XDA App
I assume like any other open source project, get involved. They seem to have a very handy wiki: wiki.cyanogenmod.com/index.php?title=Main_Page and issue trackers. You could probably walk into their IRC channel and ask if there is anything specific that needs help, and poke around the issue tracker. N.b. on IRC asking any question can take a few hours to get a reply though, depending on who is reading vs lurking.
Sent from my Transformer TF101 using Tapatalk
We're also working on a Sensation ICS port over here: http://forum.xda-developers.com/showthread.php?t=1349908
Do u have a github where I can access the code and is there anyway I can help ?
zorlin said:
We're also working on a Sensation ICS port over here: http://forum.xda-developers.com/showthread.php?t=1349908
Click to expand...
Click to collapse
Sent from my Sensation using XDA App

Not S-Off, Coders for Wifi Drivers!

Listen up, please don't post useless comments. And if people do, don't flame them for 5 pages because of it!​
I am not an expert, but this is what I have pieced together. I know this is rather long but this will roughly explain Kernels, S-Off, and why Development is lacking.
Here is the way I see community android development. There are themers, Rom chefs, kernel builders, and coders. Themers make most of the visual changes. Rom chefs take a little of everyones efforts and actually puts the Roms together. Kernel builders make the custom kernels for sense, aosp, and miui. The coders are the ones who really understand the code and make the complicated things work (S-off/Root Access/Incomplete drivers/new bootloaders/things like that). Now really everyone works together and there is some crossover in people's abilities but a community really needs all of these in order to fully develop.
Kernels/Drivers:
Think of it this way, the hardware talks to the drivers/kernel and the drivers/kernel talks to the Os. The drivers/kernels are like the translator between two different languages. The problem is that our current kernel made by Htc only knows how to translate from our hardware to Sense. We have to make custom kernels that can translate from our hardware to Aosp Gb, Aosp Ics, or Miui.
The problem:
Faux is extremely talented but here is what he has stated as the problem in making these custom kernels:
Amaze WiFi driver is a modified TI WiFi driver. The major problem is we don't know what HTC did to the WiFi driver for the Amaze.
Click to expand...
Click to collapse
Now I have talked to Htc and they said that they won't be releasing the full source code that includes the wifi drivers because of proprietary issues. My guess is that TI is the company that owns the original drivers and they don't want them released. Faux:
TI drivers are designed to work with OMAP Chipsets not Qualcomm chipsets, so HTC had to do some major hacks to make it work with Qualcomm chipset. It is NOT IMPOSSIBLE to reverse engineer what HTC did, it's very time consuming and tedious.
Click to expand...
Click to collapse
The Solution
I don't have a solution but that is what this thread is for. We need to brainstorm ideas to make this happen.
Here is a link to Htc Dev if you would like to bug them about it (though I'm not sure this would help)
http://htcdev.com/contact
The other solution is to focus on Coders that can reverse engineer the Wifi drivers. We don't need S-OFF yet! S-Off simply allows users to flash things like a kernel and radio directly to the phone through recovery. THAT IS ALL! It will not help bring Aosp faster! Here is Faux's opinion:
IMHO, S-Off at this stage does very little if at all at this moment. Having a working WiFi source is far more important and will increase development for Amaze than S-Off... S-On is just a minor annoyance...
Click to expand...
Click to collapse
I hope that this helps to clear up why development is so slow. We don't have anyone that wants to jump in and build the Wifi drivers so that Faux and Xboarder can make the Kernels for the Aosp Roms to run upon. Xboarder is still at work hacking and slashing at the code to get it working but I think we need someone with years of experience and knowledge to join the efforts. Xboarder is extremely talented but he isn't a code guru yet. Go to the forums of previous phones you have had and look around for people who have re engineered Lib files and phone drivers. Talk to some of the other Kernel builders to see if they are interested in building the driver. This is where we need to focus effort and money in order to stimulate development.
Wifi Driver
From Squish099:
@htcdev Amaze 4G needs missing wifi driver from /platform//hardware/ti/wlan/wl1283 and /wl1283_softAP. Both are missing from Amaze source.
Found it in an old tweet faux sent to htc just after thanksgiving.
Click to expand...
Click to collapse
craigtut said:
Listen up, please don't post useless comments. And if people do, don't flame them for 5 pages because of it!​
I am not an expert, but this is what I have pieced together. I know this is rather long but this will roughly explain Kernels, S-Off, and why Development is lacking.
Here is the way I see community android development. There are themers, Rom chefs, kernel builders, and coders. Themers make most of the visual changes. Rom chefs take a little of everyones efforts and actually puts the Roms together. Kernel builders make the custom kernels for sense, aosp, and miui. The coders are the ones who really understand the code and make the complicated things work (S-off/Root Access/Incomplete drivers/new bootloaders/things like that). Now really everyone works together and there is some crossover in people's abilities but a community really needs all of these in order to fully develop.
Kernels/Drivers:
Think of it this way, the hardware talks to the drivers/kernel and the drivers/kernel talks to the Os. The drivers/kernels are like the translator between two different languages. The problem is that our current kernel made by Htc only knows how to translate from our hardware to Sense. We have to make custom kernels that can translate from our hardware to Aosp Gb, Aosp Ics, or Miui.
The problem:
Faux is extremely talented but here is what he has stated as the problem in making these custom kernels:
Now I have talked to Htc and they said that they won't be releasing the full source code because of proprietary issues. My guess is that TI is the company that owns the original drivers and they don't want them released. Faux:
The Solution
I don't have a solution but that is what this thread is for. We need to brainstorm ideas to make this happen.
Here is a link to Htc Dev if you would like to bug them about it (though I'm not sure this would help)
http://htcdev.com/contact
The other solution is to focus on Coders that can reverse engineer the Wifi drivers. We don't need S-OFF yet! S-Off simply allows users to flash things like a kernel and radio directly to the phone through recovery. THAT IS ALL! It will not help bring Aosp faster! Here is Faux's opinion:
I hope that this helps to clear up why development is so slow. We don't have anyone that wants to jump in and build the Wifi drivers so that Faux and Xboarder can make the Kernels for the Aosp Roms to run upon. Xboarder is still at work hacking and slashing at the code to get it working but I think we need someone with years of experience and knowledge to join the efforts. Xboarder is extremely talented but he isn't a code guru yet. Go to the forums of previous phones you have had and look around for people who have re engineered Lib files and phone drivers. Talk to some of the other Kernel builders to see if they are interested in building the driver. This is where we need to focus effort and money in order to stimulate development.
Click to expand...
Click to collapse
Good post lots of info, s-off really isn't that much of a big deal. Interesting. The WiFi drivers really are important sucks how HTC handled the amaze, I'm really hoping they're more open with the HTC one thanks for the info.
Sent from my HTC_Amaze_4G using xda premium
I was able to flash kernel through recovery?
Sent from my HTC_Amaze_4G using XDA
knifeproz said:
I was able to flash kernel through recovery?
Sent from my HTC_Amaze_4G using XDA
Click to expand...
Click to collapse
Uhh no...?
Sent from my NRGized Amaze...
via xda premium
HTC really messed up, and they call them self dev friendly,
same people that has got s-off on the sensation had tried to do for the amaze but they backed off,
but as you made a point s-off isnt really the problem here, the problem seems to be the drivers that htc wont realease
really the only person we have working hard on this device is Xboarder and binary100100 is doing what he can.
and he has done a really good job, and noobs had got on his nerves. We can not afford to lose him.
i really wish this phone have more developers working on getting things right, like that saying says two brains is better than one
i really love my phone but in the other hand i love roms. and as this phone its not a worldwide phone like the sensation i can understand the lack of developers
as you all know that the sensation have 40+ roms,themes,radios,kernerls,tweaks
sometimes i regret of getting rid of it, but specks says this is a better one,
had you guys ever though about asking for help on the android development forum? we might get lucky and find somebody that is willing to help.
but anyways thank you for saying it like it is and get us understand more of the situation, and me as i think all of you, would do anything to help..
I'm no dev, but i have done something
I HAVE PMED TWO KERNEL DEVELOPERS , TO LOOK INTO THIS THREAD TO GIVE A GLANCE , IF THEY CAN GIVE ANY INPUT ABOUT IT..
If there is any reply from them , i'll let the community know..
I think this is one of the important thread, we should probably have it in Development section and should be made sticky.
Mafioso said:
I think this is one of the important thread, we should probably have it in Development section and should be made sticky.
Click to expand...
Click to collapse
Lol good luck finding an active moderator to do anything in this Amaze forum besides handing out infractions. Binary bounced
Sent from my Energized HTC Ruby using XDA-Premium or Tapatalk
glacierguy said:
Lol good luck finding an active moderator to do anything in this Amaze forum besides handing out infractions. Binary bounced
Sent from my Energized HTC Ruby using XDA-Premium or Tapatalk
Click to expand...
Click to collapse
yeah, you will have more luck if you are looking for trolls flaming moderators indeed
Anyway,we cant stick everything in development, but i will see what i can do
Edit: oké, i will make a sticky collection thread.
So we will have less thread's sticked.
One or two sticked with all important info
This thread should be priority one in the Amaze forum.
Max Krivonos has Wifi working on his CM9 build for Amaze. Once he gets everything else working (which is limited to the rest of the radios, camera, and USB charge detection), I imagine the source will be released for use.
Accophox said:
Max Krivonos has Wifi working on his CM9 build for Amaze. Once he gets everything else working (which is limited to the rest of the radios, camera, and USB charge detection), I imagine the source will be released for use.
Click to expand...
Click to collapse
agreed. football usually drops a leak well ahead of the time ota goes live. either way, once we get the ics kernel, im rocking cm9 for good
mrmako777 said:
agreed. football usually drops a leak well ahead of the time ota goes live. either way, once we get the ics kernel, im rocking cm9 for good
Click to expand...
Click to collapse
Official ota will help but I don't think it will work for aosp. It will still only work with the sense until faux does some of his magic to it.
Sent from my HTC_Amaze_4G using XDA
Once cm9 comes out ill use it till aosp is out. I wasn't a huge fan of cm9 for hd2 but might change for this device!
Sent from my HTC_Amaze_4G using XDA
craigtut said:
Official ota will help but I don't think it will work for aosp. It will still only work with the sense until faux does some of his magic to it.
Sent from my HTC_Amaze_4G using XDA
Click to expand...
Click to collapse
dont quote me, but i think max said once he got a hold of the ics leak, he could use the wifi drivers from there...or something to that effect
he already have wifi working on cm9, but not calls, and he wont take any help. this once used to be a family in devs working together trying to get things right but now its just a race on who release it first, same thing happened on the sensation
gypsy214 said:
he already have wifi working on cm9, but not calls, and he wont take any help. this once used to be a family in devs working together trying to get things right but now its just a race on who release it first, same thing happened on the sensation
Click to expand...
Click to collapse
If I was a Dev I would take any help I could get =\
Sent from my HTC Amaze 4G using XDA
Xxxpachaxxx is a kernel developer for dhd..he is looking into it but he wants to know what is the driver number for HTC amaze ...
Can some1 pleease tell me what it is ASAP!!
Is it bcm4329 ?? Fast please
Sent from my HTC_Amaze_4G using xda premium
dullhunk said:
Xxxpachaxxx is a kernel developer for dhd..he is looking into it but he wants to know what is the driver number for HTC amaze ...
Can some1 pleease tell me what it is ASAP!!
Is it bcm4329 ?? Fast please
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
I don't know what it is but you could pm Faux123 for the info.
gypsy214 said:
he already have wifi working on cm9, but not calls, and he wont take any help. this once used to be a family in devs working together trying to get things right but now its just a race on who release it first, same thing happened on the sensation
Click to expand...
Click to collapse
He's working with a dozen other CM devs on MSM 8x60 devices. He just doesn't care for XDA. And with what this forum is turning into, I don't blame him.
Sent from my HTC Amaze 4G using xda premium

do you guys want ics ports?

hey guys
if you want ics ports for eris, let me know. i can have ParanoidAndroid, MIUI 4.0.4, CM9 and AOKP for you guys very quickly, actually the roms are already done just need testers.
But if nobody is interested or around to use them, i wont spend the time bringing them and supporting them.
weigh in on this please
Hmm. I haven't really tried anything other than Gingerbread on my Eris 'cause it was already having a bit of bricking trouble on it's lonesome. You said you need testers.. Have you tried them out at all? I had trouble here and there running ICS on my Droid 2 Global and my Droid 3, so I wouldn't even really know where to begin wondering the plethora of issues it could have on an Eris. :Va
I guess I'm on the fence. :]
i dont have an eris so i cant test anything out
the eris, hero and heroc are so much alike though that im positive i can cook my heroc ics roms for eris though.
Yea! I can test everything that doesnt require me to activate it
dragonrazorz said:
Yea! I can test everything that doesnt require me to activate it
Click to expand...
Click to collapse
Same here
Sent from my Galaxy Nexus using xda premium
Ditto, I use my eris for fun.
Sent from my rezound
I have an activated Eris and I'd be interested in testing any and all ICS (or Jellybean) ports. And I do mean All. I enjoy testing things thoroughly (usually software under Windows) anyway and comparing their ups and downs.
tee hee
I wouldn't mind testing things out without activation, as it is currently my little gaming device, but if something needs radio I might be persuaded to make it happen. :]
I have 2 eris's one activated one not. I can do all kinds of testing .
Sent from my ADR6400L using xda app-developers app
I also Have an Eris i'm toying around with. I would be glad to test anything. Just got it as a backup from my bro. Still working on S-OFF but will test anything once I have it.

Categories

Resources