Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sammypwns
Old
#1  
sammypwns's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 207
Join Date: Nov 2008
Location: The Woodlands, TX
Talking Rebuild Rogers kernel for tethering

I've got Ubuntu up and running and I'm willing to rebuild the kernel to enable tethering.

Problem 1 is that I have not received my Magic yet

Problem 2 is that I have no idea what I need to do

So who wants to help?
This is how I Fuze
 
hotweiss
Old
#2  
Senior Member
Thanks Meter 15
Posts: 1,428
Join Date: Jun 2009
Location: Warsaw
Quote:
Originally Posted by sammypwns View Post
I've got Ubuntu up and running and I'm willing to rebuild the kernel to enable tethering.

Problem 1 is that I have not received my Magic yet

Problem 2 is that I have no idea what I need to do

So who wants to help?
I'll help. I've got tethering working using Azilink, but it would be nice to get it working using the Hero's built-in tethering option. Here's my post at ubuntuforums.org:

http://ubuntuforums.org/showthread.php?t=1202059

So are you rebuilding the kernel to get the iptables? I can't even get to make Ubuntu see the Magic as a communications device now.
 
sammypwns
Old
#3  
sammypwns's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 207
Join Date: Nov 2008
Location: The Woodlands, TX
It took me about 15 minutes to get the SDK up and running on Ubuntu 32 bit but I don't know where to find the source for the kernel or evena copy of the kernel itself. Once I have those it shouldn't take more than 5 minutes to compile the kernel including iptables. In fact if I had the source to a kernel that does allow tethering it would be even faster because I could just drag and drop what I need into the build directory. I haven't seen the source but I think that the HTC branded kernel only differs by a few files and it might even be easier to move the HTC files to the Google kernel. Need more help and testers.
This is how I Fuze
 
hotweiss
Old
#4  
Senior Member
Thanks Meter 15
Posts: 1,428
Join Date: Jun 2009
Location: Warsaw
Quote:
Originally Posted by sammypwns View Post
It took me about 15 minutes to get the SDK up and running on Ubuntu 32 bit but I don't know where to find the source for the kernel or evena copy of the kernel itself. Once I have those it shouldn't take more than 5 minutes to compile the kernel including iptables. In fact if I had the source to a kernel that does allow tethering it would be even faster because I could just drag and drop what I need into the build directory. I haven't seen the source but I think that the HTC branded kernel only differs by a few files and it might even be easier to move the HTC files to the Google kernel. Need more help and testers.
Do you have the port tools? They allow you to unpack the boot.img. I'll upload the port tools for you:

http://www.mediafire.com/?fnzdtnj4gmy

Just put all of the tools in your /android/tools folder.

To unpack the boot.img, you just have to run this command:

Quote:
unpack-H.pl boot.img
That's it. Good-luck. Messing around with the kernel is way above my know-how.
 
sammypwns
Old
#5  
sammypwns's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 207
Join Date: Nov 2008
Location: The Woodlands, TX
@hotweiss thanks a bunch
This is how I Fuze
 
hotweiss
Old
#6  
Senior Member
Thanks Meter 15
Posts: 1,428
Join Date: Jun 2009
Location: Warsaw
This guide shows you how to push the IP tables on the Magic:

http://android-unleashed.com/2008/11...xy-needed.html
 
sammypwns
Old
#7  
sammypwns's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 207
Join Date: Nov 2008
Location: The Woodlands, TX
do I just need to incorprate the iptables binary with the kernel when I build it. Again I haven't seen either kernel to compare them.
This is how I Fuze
 
hotweiss
Old
#8  
Senior Member
Thanks Meter 15
Posts: 1,428
Join Date: Jun 2009
Location: Warsaw
Quote:
Originally Posted by sammypwns View Post
do I just need to incorprate the iptables binary with the kernel when I build it. Again I haven't seen either kernel to compare them.
Haven't done it myself yet, but it looks like it's just an issue of following a few steps. The biggest problem right now is to make Ubuntu see the Magic as a modem.
 
sammypwns
Old
(Last edited by sammypwns; 3rd July 2009 at 09:56 AM.)
#9  
sammypwns's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 207
Join Date: Nov 2008
Location: The Woodlands, TX
again I don't have my magic yet so I can't comment on that but if anyone has a google branded version could you please check and see if you can get ubuntu to recognize it as a modem. if so then we know that it has only to do with the kernel itself.

EDIT: Also I can't get unpack-H.pl to work, i keep getting bash: /home/sammy/android-sdk-linux_x86-1.5_r2/tools/unpack-H.pl: Permission denied
This is how I Fuze
 
hotweiss
Old
#10  
Senior Member
Thanks Meter 15
Posts: 1,428
Join Date: Jun 2009
Location: Warsaw
Quote:
Originally Posted by sammypwns View Post
again I don't have my magic yet so I can't comment on that but if anyone has a google branded version could you please check and see if you can get ubuntu to recognize it as a modem. if so then we know that it has only to do with the kernel itself.

EDIT: Also I can't get unpack-H.pl to work, i keep getting bash: /home/sammy/android-sdk-linux_x86-1.5_r2/tools/unpack-H.pl: Permission denied
right click on unpack-H.pl, set the permissions, and make it executable.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...

XDA PORTAL POSTS

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more