Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,781 Members 48,466 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: 238
Join Date: Dec 2010
Location: Delhi
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: 238
Join Date: Dec 2010
Location: Delhi
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: 238
Join Date: Dec 2010
Location: Delhi
Thanks a lot for the info !!
Let me try it out..
 
rufik
Old
#6  
Senior Member
Thanks Meter 13
Posts: 120
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


Jair Player with a Major Update–Here’s What’s New!

Back in May, we talked a bit aboutJair Player, a nice looking music … more

Paid Android App Developers Will Soon Have to Provide Physical Address

Google has now changed its policies regarding paid app developers. … more

Windows Developers Rejoice! Dev Program’s $99 Yearly Fee is No More!

Microsoft rule in the mobile market, much like the giant dinosaurs … more

Add the Xperia Z2 Lock Screen to Your Favorite KitKat ROM

Almost every OEM adds its own unique flair to their stock firmwares. While some of … more