Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,164 Members 49,794 Now Online
XDA Developers Android and Mobile Development Forum

Kernel compilation for Galaxy Ace

Tip us?
 
sahilkhurana
Old
#1  
Senior Member - OP
Thanks Meter 13
Posts: 231
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 61
Posts: 130
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
Huawei Ascend G615 - U9508 | Get Dropbox Now
 
sahilkhurana
Old
#3  
Senior Member - OP
Thanks Meter 13
Posts: 231
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 1,344
Posts: 812
Join Date: May 2010
Location: Gadog - Bogor

 
DONATE TO ME
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


https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q9UNPUJV87NXL
 
sahilkhurana
Old
#5  
Senior Member - OP
Thanks Meter 13
Posts: 231
Join Date: Dec 2010
Location: Calicut
Thanks a lot for the info !!
Let me try it out..
 
rufik
Old
#6  
Senior Member
Thanks Meter 13
Posts: 118
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: 60
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top 5 LG G3 MODs – XDA Developer TV

The LG G3 has been LG’s breakout hit of the summer. Using their knowledge frombuilding some … more

Make Your Calendar Widget Beautiful with Month

For some of us, summer vacation is alreadyover. For those getting ready to school, work, or … more

Integrate Social Networks Into Your Project With ASNE Library

Social network applications and services have developed into major parts ofour … more

Give Your Android Wear Device a Lock Screen with Lockable

Without a doubt,Android Wear is one of the most frequently talked abouttopics of … more