Go Back   Android Forums > Android Phones > HTC Evo 4G LTE > Evo 4G LTE - All Things Root

New Forums: Nexus 6 | Nexus Player | Nexus 9
Like Tree1Likes
  • 1 Post By Covert_Death

test: Reply
 
LinkBack Thread Tools
Old August 12th, 2012, 12:17 AM   #1 (permalink)
Dr. Feelgood
Thread Author (OP)
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 17,375
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 14,861
Thanked 12,631 Times in 7,288 Posts
Exclamation Anyone have any experience in building kernels? :p

The fun begins.....

So those of you who know me from the EVO 4G forums know I like to learn via experience. See my failed ROM building epic lol (Never got that darn thing booting. I now know that the 3D ROM I was porting was simply too big to fit into the EVO's tiny partitions the way I was trying to do it.)

Anyway, this is how I learn the inner workings of everything. So now that I'm fairly comfortable with ROMS its time to move onto kernels.

Problem is, most tutorials I try to follow seem to do things differently. I've got to the point where I've actually started making changes to the kernels, and I've added things like different governors (ex-SmartassV2).

Where I'm stuck is how to get this thing to compile Most threads I'm reading about building from source do it differently, and differences in devices aren't exactly making this transition easy.

At some point I hope to have a working kernel with at least a few customizations, so if you guys want to possibly brick your devices give me the heads up and you can be the first to test (kidding? )

Once I figure out how to make I can research more additions.




Time to start 'sperimentin

Edit:
Lithid may be to the rescue here. Forgot about his autocompiler. Lets see if I can make the changes to get it to compile my kernel

Advertisements
Rxpert83 is online now  
Last edited by Rxpert83; August 12th, 2012 at 12:32 AM.
Reply With Quote
sponsored links
Old August 12th, 2012, 08:53 AM   #2 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 86
 
Device(s):
Carrier: Not Provided

Thanks: 28
Thanked 20 Times in 16 Posts
Default

Quote:
Originally Posted by Rxpert83 View Post
The fun begins.....

So those of you who know me from the EVO 4G forums know I like to learn via experience. See my failed ROM building epic lol (Never got that darn thing booting. I now know that the 3D ROM I was porting was simply too big to fit into the EVO's tiny partitions the way I was trying to do it.)

Anyway, this is how I learn the inner workings of everything. So now that I'm fairly comfortable with ROMS its time to move onto kernels.

Problem is, most tutorials I try to follow seem to do things differently. I've got to the point where I've actually started making changes to the kernels, and I've added things like different governors (ex-SmartassV2).

Where I'm stuck is how to get this thing to compile Most threads I'm reading about building from source do it differently, and differences in devices aren't exactly making this transition easy.

At some point I hope to have a working kernel with at least a few customizations, so if you guys want to possibly brick your devices give me the heads up and you can be the first to test (kidding? )

Once I figure out how to make I can research more additions.




Time to start 'sperimentin

Edit:
Lithid may be to the rescue here. Forgot about his autocompiler. Lets see if I can make the changes to get it to compile my kernel
good luck let us know how if progresses.
Chris Broderick is offline  
Reply With Quote
Old August 12th, 2012, 11:00 AM   #3 (permalink)
Dr. Feelgood
Thread Author (OP)
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 17,375
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 14,861
Thanked 12,631 Times in 7,288 Posts
Default

I gave up around 2:30 this morning and went to bed haha. I think I need to completely scrap the project and start over fresh. The thing about linux is, if the working environment isnt set up correctly your screwed from the get go.

I think I need to backtrack, follow one of the guides for building a kernel from source and just use whatever source is in that guide and build the kernel for some other device without modifications. That way I at least know I have things set up properly.
Rxpert83 is online now  
Reply With Quote
Old August 12th, 2012, 08:00 PM   #4 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,831
 
Device(s): Nexus 7 (2012)
Carrier: Not Provided

Thanks: 6,012
Thanked 5,582 Times in 2,574 Posts
Default

Quote:
Originally Posted by Rxpert83 View Post
The thing about linux is, if the working environment isnt set up correctly your screwed from the get go.
so whats the issue? how can we help? what distro are you running and why? if the sky was green would we really have trouble finding out where to stop mowing?
__________________
All My Links In one Convenient Place
Asking simple questions can keep us from doing dumb things.
argedion is online now  
Reply With Quote
Old August 12th, 2012, 09:37 PM   #5 (permalink)
Dr. Feelgood
Thread Author (OP)
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 17,375
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 14,861
Thanked 12,631 Times in 7,288 Posts
Default

I'm in the middle of completely reinstalling my Linux os right now to try and give me some more space to work with and a fresh start. I contacted ca1ne and he said 12.04 should work..
It's my understanding that only 10.04 is officially supported by the guys at source.Android.Com


My slow Internet connection is going to make this a long process
Rxpert83 is online now  
Last edited by Rxpert83; August 12th, 2012 at 09:41 PM.
Reply With Quote
Old August 12th, 2012, 10:58 PM   #6 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: Austin, TX
Gender: Male
Posts: 2,074
 
Device(s): Current: Nexus 5 Old: Moto Droid MAXX, Verizon SGS4, EVO LTE 4g, EVO 4g (OG)
Carrier: AT&T

Thanks: 732
Thanked 666 Times in 338 Posts
Default

I have experience in POPPING kernels, about 200 a week or so, but cooking them is a different story, haven't mastered that yet.
3vodroid likes this.
Covert_Death is offline  
Reply With Quote
The Following User Says Thank You to Covert_Death For This Useful Post:
3vodroid (August 27th, 2012)
Old August 12th, 2012, 11:18 PM   #7 (permalink)
Dr. Feelgood
Thread Author (OP)
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 17,375
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 14,861
Thanked 12,631 Times in 7,288 Posts
Default

I've at least got the build tools I think I need installed now, source is just finishing up. What it comes down to I guess is I dont know the correct terminal commands to build the physical kernel.

I can untar it, make changes, and then thats the end of the line.

Some guides reference cross compiling, some want me to pull the current kernel config via adb, ect. I'm trying to limit the posts I'm reading to HTC specific phones, but thats easier said than done.


I was just wondering if anyone had any experience with this kind of thing. I'm such a linux noob haha
Rxpert83 is online now  
Last edited by Rxpert83; August 12th, 2012 at 11:22 PM.
Reply With Quote
Old August 12th, 2012, 11:52 PM   #8 (permalink)
Dr. Feelgood
Thread Author (OP)
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 17,375
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 14,861
Thanked 12,631 Times in 7,288 Posts
Default

I'm hacking my way through the errors and making (perceived) progress
Rxpert83 is online now  
Reply With Quote
Old August 13th, 2012, 12:26 AM   #9 (permalink)
The TechnoFrog
 
argedion's Avatar
 
Join Date: Jun 2011
Location: The Severed Garden
Posts: 5,831
 
Device(s): Nexus 7 (2012)
Carrier: Not Provided

Thanks: 6,012
Thanked 5,582 Times in 2,574 Posts
Default

Quote:
Originally Posted by Rxpert83 View Post
I'm hacking my way through the errors and making (perceived) progress
by all means keep hacking away. you'll learn both at once. It's the great thing with Linux no matter how bad you screw it up you can still fix it.
argedion is online now  
Reply With Quote
Old August 13th, 2012, 01:17 AM   #10 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,612
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,832
Thanked 57,358 Times in 23,082 Posts
Default

My advice, take it steps.

Create a virtual machine that you can use as a sandbox. Make backups of the virtual image as you go along.

Try building a module and adding it to the desktop kernel inside your virtual sandbox.

Work your way up to a full kernel build.

After you're comfortable then turn to cross-building.

Then turn to building a Linux kernel for Android.

That's not the only way, but that's how I would proceed.

Have you seen -

http://en.wikipedia.org/wiki/Linux_From_Scratch

http://www.linuxfromscratch.org/
__________________
|

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.

Links: Site Rules / Guidelines -and- Zero Tolerance Policy (All Members Read)


For right-on help, the Thanks button is on the right of the post.
For anything out in left field, the /!\ report button is to the left.

Remember, it's our forums and we're all in this together - so let's keep it cool!

Shoot the breeze at the best new gun forum!
EarlyMon is online now  
Last edited by EarlyMon; August 13th, 2012 at 02:30 AM.
Reply With Quote
The Following User Says Thank You to EarlyMon For This Useful Post:
Rxpert83 (August 13th, 2012)
sponsored links
Reply
Tags
bricking tool, noob, runawayfromthis


Go Back   Android Forums > Android Phones > HTC Evo 4G LTE > Evo 4G LTE - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:17 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.