Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,305 Members 44,665 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: 227
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 52
Posts: 125
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 13
Posts: 227
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 1342
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: 227
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


XDA PORTAL POSTS

Mod Lets You Have Stereo Speakers on Your Sony Xperia Z1 (Sort Of)

The stereo speakers onthe Sony Xperia Z2areprobably a relatively large … more

Give Your Screen Some Color with HexaTime Live Wallpaper

We don’t often cover very many live wallpapers here on the XDA Portal. You may … more

Android Wear App Review: Command Google Now with Commandr – XDA Developer TV

OK Google. Make Me a sandwich. How many times have you … more

Play Your Hits and Learn the Lyrics with NextGen Music Player

There are plenty of music players for Android available in Play Store. They … more