Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,784,161 Members 41,422 Now Online
XDA Developers Android and Mobile Development Forum

[INFO] Building the Linux kernel for Xperia phones

Tip us?
 
KalleD
Old
#1  
Sony Mobile Developer - OP
Thanks Meter 607
Posts: 98
Join Date: May 2011
Default [INFO] Building the Linux kernel for Xperia phones

Hi all devs,
Please use this thread for questions related to the information in the article:
How to build a Linux kernel and flash it to the phone on Sony Ericsson Developer Blog.

We will try to monitor this thread, but we cannot guarantee an answer for every question asked.

Regards
/Karl-Johan Dahlström
Sony Ericsson Developer Program


For me more developer information please check out Developer World.
The Following 67 Users Say Thank You to KalleD For This Useful Post: [ Click to Expand ]
 
Juevani
Old
#2  
Senior Member
Thanks Meter 3
Posts: 100
Join Date: Dec 2008
Location: Oslo

 
DONATE TO ME
nice to se Sony getting involved with the costumers.. keep it that way
HTC DESIRE HD

PERMROOTED
ENG S-OFF
RADIO S-OFF
RADIO 26.04.02.17_M2
CID 11111111
KERNEL 2.6.32.27-cyanogenmod


LOOKING TO FREE YOUR PHONE? LOOK NO FURTHER, JUST FALLOW THE LINKS UNDER IN ORDER

1. Permroot your devices with VISIONary
2. One click S-OFF the easy way
3. One click Radio S-OFF or CID11111111 the easy way

IM NOT THE WRITER NOR THE MAKER OF THESE METHODS SO IM NOT
RESPONSIBLE FOR ANY DAMAGE THIS MAY DO TO YOUR DEVICE.
The Following User Says Thank You to Juevani For This Useful Post: [ Click to Expand ]
 
punkmonkey1984
Old
#3  
punkmonkey1984's Avatar
Senior Member
Thanks Meter 462
Posts: 1,462
Join Date: Aug 2008
Just need to tell us how to unlock the Sim-locked boot loaders now, and the whole world would be a sweeter place
Devices list >HTC Hero >Xperia Arc > Samsung Galaxy SII > Nexus 4
 
blunden
Old
#4  
Senior Member
Thanks Meter 97
Posts: 846
Join Date: Jun 2009
Location: Stockholm
Great to see you going all out with the new improved Android stategy. Just a nitpick though:

The "Why rebuild the kernel?" section doesn't really make sense. I'd say theming and removing apps is as far from kernel-related as you can get while staying within the confines of Android. :P I'm sure you know that as a developer and that it's just that the text has passed through the PR department a few times. Perhaps you can say something like "It allows you to add new features and get the latest security fixes".
 
MrHassell
Old
#5  
Senior Member
Thanks Meter 245
Posts: 391
Join Date: Dec 2010
Location: Melbourne

 
DONATE TO ME
Default Thank you for this :)

Very nice to see you on XDA :)

Phear not my friendly X10 phonez will see the light of day in this thread too!

Neo / Pro / Play
Code:
mkbootimg --base 0x00200000 --kernel kernel/arch/arm/boot/zImage --ramdisk ramdisk.img -o boot.img
X10
Refer back to this post to get thing's into context, there are custom kernels and the files provided by Bin4ry, Goroh and Jerpelea are available - *advanced development skills required* - It will be simplified and much work continues to make this happen for the community as AOSP.

http://forum.xda-developers.com/showthread.php?t=726813
You like my work? Feel free to buy me a cool beer
The Following 4 Users Say Thank You to MrHassell For This Useful Post: [ Click to Expand ]
 
coolbho3000
Old
#6  
Senior Recognized Developer
Thanks Meter 761
Posts: 886
Join Date: Dec 2008
Can someone please post a boot.img from the Arc, the Neo, and the Play?
Galaxy Nexus (GSM)
Control your Android phone's CPU! SetCPU for Root Users
Follow me on Twitter!

Like my work? Buy SetCPU on the market or buy me some [insert drink here].
 
sim-value
Old
#7  
Senior Member
Thanks Meter 4
Posts: 160
Join Date: Sep 2009
Hello there, im trying to build the kernel contained in the "3.0.A.2.181_182.tar.bz2" file.

I used the -i option because it halts at a warning:
Code:
cc1: warnings being treated as errors
init/main.c: In function 'do_one_initcall':
init/main.c:711:10: error: 'calltime.tv64' may be used uninitialized in this function
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
When used with -i it still doesn't build the zImage, because it cannot find a lot of files ?

Code:
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find init/main.o: No such file or directory
make[1]: [init/built-in.o] Error 1 (ignored)
  LD      .tmp_vmlinux1
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find init/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find arch/arm/mm/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find kernel/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find drivers/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find net/built-in.o: No such file or directory
make: [.tmp_vmlinux1] Error 1 (ignored)
  KSYM    .tmp_kallsyms1.S
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-nm: '.tmp_vmlinux1': No such file
No valid symbol.
make: [.tmp_kallsyms1.S] Error 1 (ignored)
  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find init/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find arch/arm/mm/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find kernel/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find drivers/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find net/built-in.o: No such file or directory
make: [.tmp_vmlinux2] Error 1 (ignored)
  KSYM    .tmp_kallsyms2.S
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-nm: '.tmp_vmlinux2': No such file
No valid symbol.
make: [.tmp_kallsyms2.S] Error 1 (ignored)
  AS      .tmp_kallsyms2.o
  LD      vmlinux
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find init/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find arch/arm/mm/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find kernel/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find drivers/built-in.o: No such file or directory
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-ld: cannot find net/built-in.o: No such file or directory
make: [vmlinux] Error 1 (ignored)
  SYSMAP  System.map
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-nm: 'vmlinux': No such file
make: [vmlinux] Error 1 (ignored)
  SYSMAP  .tmp_System.map
/home/sim/CodeSourcery/SGL/bin/arm-none-eabi-nm: '.tmp_vmlinux2': No such file
make: [vmlinux] Error 1 (ignored)
make[1]: *** No rule to make target `vmlinux', needed by `arch/arm/boot/Image'.  Stop.
make: [zImage] Error 2 (ignored)
The command I use to build is:
Code:
ARCH=arm CROSS_COMPILE=/home/sim/CodeSourcery/SGL/bin/arm-none-eabi- make
Am I doing something wrong?
 
DooMLoRD
Old
#8  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 38,257
Posts: 13,057
Join Date: Jul 2010
Location: Noida
@KalleD

seems that there is a 60 fps cap inbuilt into the Arc kernel... how to remove this fps cap?
 
im_iceman
Old
#9  
im_iceman's Avatar
Senior Member
Thanks Meter 131
Posts: 2,211
Join Date: Apr 2010
Location: Alsager
why would you need to?

Sent from The Arc!
Are you a silly Billy???

Previous Phones - Samsung Tocco; SE Xperia X10; Sony Ericsson Xperia Pro; SE Xperia arc -Bootloader UNLOCKED

Current Phone- Sony Xperia T - Stock.. for once!

Tablet- Sony Tablet S - SGPT111GB/S - looking to upgrade to something decent!
 
commodoor
Old
#10  
commodoor's Avatar
Senior Member
Thanks Meter 66
Posts: 911
Join Date: Mar 2008
Location: Venlo
Quote:
Originally Posted by im_iceman View Post
why would you need to?

Sent from The Arc!
Higher benchmarking and to see the full power ( i think)
Phone: Samsung Galaxy S II

G+ > http://gplus.to/commodoor

Phone History (old to new):
Nokia 5110, Nokia 8850, Nokia 8210, Nokia 3310, Nokia 8310, Nokia 5210, Nokia 8910, Nokia 3410, Nokia 7650, Motorola V70, Sony CMD J7, SE T610, Nokia N-gage, Nokia 6230, Nokia 6230i, Siemens SL65, Siemens C65, SE K750, Nokia n73, SE K800, HTC Touch, HTC Touch Dual, HTC TytnII, SE Xperia x1, SE 303i, I-mate SPL, HTC Hero, NexusOne, SE X10, HTC WildFire, SE Xperia Arc

Tags
boot loader, kernel, linux, se steps up!, sony ericsson, xperia
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes