New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sahilkhurana
Old
#1  
Senior Member - OP
Thanks Meter 12
Posts: 215
Join Date: Dec 2010
Location: Calicut
Default Kernel compilation for Galaxy Ace

Guys,
Before I raise some expectations, let me clarify that I am not an expert developer.
I was trying to compile the kernel for SGA and was using the source from http://opensource.samsung.com/ ( Samsung open source portal )

I had used the instructions given in the README and was using g++ from http://www.codesourcery.com/sgpp/lit...al/release1592

When I try to compile the kernel ( stock settings ), it dumps out zImage of around 3Mb.
When I try to flash it using SGS kernel flasher (https://market.android.com/details?i...=search_result) , it says file too big.

Any ideas where I might be going wrong.
Any help would be appreciated
 
peeter123
Old
#2  
Senior Member
Thanks Meter 45
Posts: 122
Join Date: Feb 2011
Location: Enschede

 
DONATE TO ME
Does the sgs flasher even work with the ace?

Sent from my GT-S5830 using XDA App
Samsung Galaxy Ace - S5830 | Get Dropbox Now
 
sahilkhurana
Old
#3  
Senior Member - OP
Thanks Meter 12
Posts: 215
Join Date: Dec 2010
Location: Calicut
The phones mentioned under supported were Samsung phones like Galaxy S. Captivate, Fascinate.

That is why, I thought I will give it a try. I have posted a query on SGS flasher thread and will get a reply soon.

Anyways,
Is there a way to know what is the limit on size of zImage supported by the device?
What are the other alternatives available for flashing this kernel ? Odin ?
Any way to check the sanity of this compiled kernel ( emulator )

Thanks in advance
 
tj_style
Old
#4  
tj_style's Avatar
Recognized Developer
Thanks Meter 1313
Posts: 808
Join Date: May 2010
Location: Gadog - Bogor
you can't flash zImage for galaxy ace with SGS kernel flasher.

the step that you must to do is:
-dump boot.img from phone or grab from official firmware .tar.md5.
-unpack the boot.img
-replace the zImage (kernel) and keep the ramdisk
-repack boot.img
-make tar.md5
-flash with odin

Sent from my Ideos

G+: tjstyle Github: tjstyle Twitter: tj_style

Like my work? Please award it with some donation..
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7JHEY7QERQUWU
 
sahilkhurana
Old
#5  
Senior Member - OP
Thanks Meter 12
Posts: 215
Join Date: Dec 2010
Location: Calicut
Thanks a lot for the info !!
Let me try it out..
 
rufik
Old
#6  
Member
Thanks Meter 4
Posts: 58
Join Date: Jan 2010
Location: Łódź
Quote:
Originally Posted by sahilkhurana View Post
Let me try it out..
And? Did you success flashing kernel?
 
code28h4p
Old
#7  
Member
Thanks Meter 101
Posts: 59
Join Date: Dec 2010
Quote:
Originally Posted by tj_style View Post
you can't flash zImage for galaxy ace with SGS kernel flasher.

the step that you must to do is:
-dump boot.img from phone or grab from official firmware .tar.md5.
-unpack the boot.img
-replace the zImage (kernel) and keep the ramdisk
-repack boot.img
-make tar.md5
-flash with odin

Sent from my Ideos
how did to do this? unpack and packing? any tutorial?

Tags
galaxy ace, kernel, s5830, samsung galaxy ace, sga

XDA PORTAL POSTS

Responses From Ubuntu Pouring Into Ubuntu Touch Q&A Thread

Ubuntu has become the most successful *nix distribution for a number of reasons, … more

Heimdall Suite 1.4.0 Released

The release version of Heimdall Suite 1.4.0 is now available after an epic wait. You may remember hearing about … more

A Guide to Paid Work on XDA-Developers

For the longest time, XDA has been a bastion, a pillar in the world of development. This is … more