yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] iamsuperuser:
The path to the toolchain is right upto the bin folder, in our case it is the bin folder in arm-linux-androideabi-4.7

So

go to the arm-linux-androideabi-4.7/bin folder (where you have downloaded the toolchain)

Copy the path

and paste it in the dotted line below.

#Android Toolchain PATH
export ARCH=arm
export CCOMPILE=$CROSS_COMPILE
export CROSS_COMPILE=arm-linux-androideabi-
export PATH=$PATH:...............................................................

After pasting the path

copy the whole code above

go to the home folder in your linux setup and press ctrl+h

open .bashrc file, paste the code at the end and save it.

Now your toolchain path is set. :)
[Sony Cross-Device General] Gustavo RD78:
Thanks for the help, I'll try as soon as I get home

Enviado de meu C6503 usando Tapatalk
[Sony Cross-Device General] Tommy-Geenexus:
Nice guide [MENTION=2784807]DooMLoRD[/MENTION] running my own kernel now :D

Gesendet von meinem C6603 mit Tapatalk
[Sony Cross-Device General] DooMLoRD:
[MENTION=325178]Gustavo[/MENTION]

Check paths!! It's not able to find the cross compiler binary
[Sony Cross-Device General] iamsuperuser:
Ok Copy the 'arm-linux-androideabi-4.7' folder from android_prebuilt_toolchains folder into your 'Home' folder and then try again !

This will not fix your toolchain paths but will do the job :)
[Sony Cross-Device General] Garcia98:
If you make a guide for NovaThor devices (Xperia U, P, Sola & Go) it would be awesome!

Enviado desde mi Xperia U mediante Tapatalk
[Sony Cross-Device General] Tommy-Geenexus:
How can i apply the fixes to the toolchain?(Xperia Z/GCC4.7) [MENTION=4218294]iamsuperuser[/MENTION]

Gesendet von meinem C6603 mit Tapatalk
[Sony Cross-Device General] iamsuperuser:
You mean fixing toolchain path?

But you already made your own kernel right?
[Sony Cross-Device General] Tommy-Geenexus:
Probably yes i mean the makefile and prima fix.

I could build the kernel and just left out these fixes.

Gesendet von meinem C6603 mit Tapatalk
[Sony Cross-Device General] iamsuperuser:
You cannot leave out makefile and prima fixes, without these fixes wifi won't work.
[Sony Cross-Device General] Tommy-Geenexus:
Are these fixes fixed when the toolchain path is set right?

Maybe they are already fixed, wifi works for me on my kernel

Gesendet von meinem C6603 mit Tapatalk
[Sony Cross-Device General] iamsuperuser:
Forget above error.

Where is the 'arm-linux-androideabi-4.7' folder?
[Sony Cross-Device General] Gustavo RD78:
in

/home/gustavo/android/toolchains/arm-linux-androideabi-4.7
[Sony Cross-Device General] iamsuperuser:
Copy(don't move) the 'arm-linux-androideabi-4.7 ' folder to /home/gustavo

Then the folder path is

/home/gustavo/arm-linux-androideabi-4.7

Now try again
[Sony Cross-Device General] Gustavo RD78:
I already did that and got the same output

just checking my path is in bash.rc:

#Android Toolchain PATH
export ARCH=arm
export CCOMPILE=$CROSS_COMPILE
export CROSS_COMPILE=arm-linux-androideabi-
export PATH=$PATH:/home/gustavo/android/toolchains/arm-linux-androideabi-4.7/bin

am I right?
[Sony Cross-Device General] iamsuperuser:
export PATH=$PATH:/home/gustavo/android/toolchains/android_prebuilt_toolchains/arm-linux-androideabi-4.7/bin

1. How did you download the doomlords toolchains?

2. Where is the android_prebuilt_toolchains folder ?

It is important because it has a bin folder that has some common binaries that are required.

3. Use the below command to make kernel not ' make -j8 '

ARCH=arm CROSS_COMPILE=~/arm-linux-androideabi-4.7/bin/arm-linux-androideabi- make -j8

Because ' make -j8 ' does not specify where the cross compiler binaries are.

I had the same problems with the folders and stuff but once you figure that out rest is easy ;)
[Sony Cross-Device General] Gustavo RD78:
okay

the problem was fixed by replacing my machine (now I'm running Ubuntu 10.13 64bit)

Then I built the zImage but to create boot.img I get this warning could not load ramdisk 'ramdisk.cpio.gz'

gustavo@gustavord78:~$ cd build_tools
gustavo@gustavord78:~/build_tools$ cd apq8064_fusion3
gustavo@gustavord78:~/build_tools/apq8064_fusion3$ ./mkbootimg --base 0x80200000 --kernel zImage --ramdisk_offset 0x02000000 --cmdline "androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=400M androidboot.emmc=true" --ramdisk ramdisk.cpio.gz -o boot.img
error: could not load ramdisk 'ramdisk.cpio.gz'
gustavo@gustavord78:~/build_tools/apq8064_fusion3$
[Sony Cross-Device General] Gustavo RD78:
ok, I returned to reading some previous posts and here

Enviado de meu C6503 usando Tapatalk
[Sony Cross-Device General] Z3PHYR:
I am trying to build a kernel for xperia play but every time I get this error

drivers/net/wireless/bcm4329/wl_iw.c: In function 'wl_iw_set_pmksa':
drivers/net/wireless/bcm4329/wl_iw.c:5335:5: error: array subscript is above array bounds [-Werror=array-bounds]
drivers/net/wireless/bcm4329/wl_iw.c:5338:5: error: array subscript is above array bounds [-Werror=array-bounds]
CC drivers/net/pppox.o
cc1: all warnings being treated as errors

make[4]: *** [drivers/net/wireless/bcm4329/wl_iw.o] Error 1
make[3]: *** [drivers/net/wireless/bcm4329] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Can someone help me?
[Sony Cross-Device General] Abhinav1997:
Can you share your - drivers/net/wireless/bcm4329/wl_iw.c file from the source? Also you sure u edited Makefile as given in instructions?

Cheers,

AJ
[Sony Cross-Device General] Abhinav1997:
I bet you are using linaro toolchain. It need xtables edited and remove the duplicate match and matchinfo args as shown in the error. Or for a work around you can use that file from some other kernel built using linaro for your device OR you could simply use gcc 4.4.3 toolchain for building :)

Cheers,

AJ
[Sony Cross-Device General] kodein:
Could anyone help me? I do not cope ...
[Sony Cross-Device General] avs333:
I've bought a Z1 Compact recently, it can indeed, but there's no cellular network when I hotboot!

(Even checked by dumping my boot partition and hotbooting it unmodified.) All other things seem to be okay. Unbelievable...

Does anybody experience similar problems? Any solution?
[Sony Cross-Device General] DooMLoRD:
havent experienced anything like this on my Z1
[Sony Cross-Device General] avs333:
Good, ie bad. seems to be a feature of recnet bootloaders....

-------

why on Earth
[Sony Cross-Device General] a2441918:
Trying to build carbon for the X10. I get an error like this.

target thumb C: libnetutils <= system/core/libnetutils/dhcp_utils.c

/home/a2441918/carbon/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3gcc: No such file or directory

Is your PATH set correctly?

I have only /carbon/prebuilts/linux-x86 directory. Where to change toolchain? Or should I sync prebuilt folder? Help me out please.
[Sony Cross-Device General] alwaysadeel:
create prebuilt folder and copy toolchain there

u might also want to edit boardconfig and add arm-eabi-4.4.3-
[Sony Cross-Device General] alwaysadeel:
see here /home/sonic/carbon/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3gcc ??

it should be /home/sonic/carbon/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc
[Sony Cross-Device General] a2441918:
First kept /home/sonic/carbon/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3, it said folder not found, then renamed to /home/sonic/carbon/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3gcc nd it proceede. anyways I will try again and report back.

---------- Post added at 11:42 PM ---------- Previous post was at 11:33 PM ----------

its not working man. Thanks. BTW how to change the toolchain to use 4.7 gcc? kindly enlighten me on this.
[Sony Cross-Device General] alwaysadeel:
open boardconfig and look for

TARGET_KERNEL_CUSTOM_TOOLCHAIN := blabla

change it to := arm-eabi-4.4.3/bin/arm-eabi-

or arm-eabi-4.7/bin/arm-eabi- for 4.7

this is specified in build\core\tasks\kernel.mk file
[Sony Cross-Device General] DooMLoRD:
Instructions for MSM8974AB

Latest sources available at:

I will soon be getting the Xperia Z2 and actively develop for it... i will keep the latest sources at my git repo:

https://github.com/DooMLoRD/android_kernel_sony_msm8974ab/commits/sony_sources

Recommended toolchain:

GCC 4.6

Fixes for 4.6 Toolchain:

Makefile fix 1

Makefile fix 2

Supported boards on this platform:

shinano- Xperia Z2

Building kernel (zImage):

for Xperia Z2 (sirius):

import defconfig

ARCH=arm CROSS_COMPILE=~/android-toolchain-eabi-linaro-4.6-2011.10/bin/arm-eabi- make shinano_sirius_defconfig

build zImage

ARCH=arm CROSS_COMPILE=~/android-toolchain-eabi-linaro-4.6-2011.10/bin/arm-eabi- make -j8

Instructions for building boot.img

first get the kernel built... once kernel is built u will get zImage and copy that zImage to the folder containing the build tools...

i have posted the build tools i use here:

https://github.com/DooMLoRD/build_tools/blob/master/msm8974ab_shinano

Sony uses slightly different boot.img format for this chipset...

building boot.img

MSM8974 onwards needed something new to build a kernel, this is called a dt.img.

to get the dt.img:

# path to kernel sources
KERNEL_SRC_PATH=~/android_kernel_sony_msm8974ab/

echo "generating device tree..."
./dtbTool --force-v2 -o dt.img -s 2048 -p {KERNEL_SRC_PATH}/scripts/dtc/ {KERNEL_SRC_PATH}/arch/arm/boot/

once u have the dt.img along with the zImage and ramdisk.cpio.gz use the following command:

./mkbootimg --base 0x00000000 --kernel zImage --ramdisk_offset 0x02000000 --tags_offset 0x01E00000 --pagesize 2048 --cmdline "androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y" --ramdisk ramdisk.cpio.gz --dt dt.img -o boot.img

corrected build tools are posted at my build tools repo

Special notes

boot.img SOMETIMES FAILS hotbooting (fastboot boot boot.img)

regards,

DooMLoRD
[Sony Cross-Device General] a2441918:
Get this error when trying to build vanir for the z1. Kindly help me out.
[Sony Cross-Device General] a2441918:
Where to execute these scripts. Kindly see above post for the error I encountered.
[Sony Cross-Device General] DooMLoRD:
you are using prebuilt kernel...

you need to compile kernel while building ROM...

i build kernel outside the CM build tree and then run those scripts
[Sony Cross-Device General] a2441918:
Thanks. Is there any way to fix the error I encounter? Kindly help me out.
[Sony Cross-Device General] MESA:
Hello. I am trying to compile a kernel for xperia V and i am on this step - building kernel.elf

python mkelf.py -o kernel.elf zImage@0x80208000 ramdisk.cpio.gz@0x81400000,ramdisk RPM_JB.bin@0x00020000,rpm bootcmd_JB@0x00000000,cmdline

Is this code the same for the xperia V(the numbers not the file names)? Using 4.3 (.210) source
[Sony Cross-Device General] mrhnet:
Hi! Thanks for the very useful guide..

For Xperia SP, command for making kernel.elf is mentioned like this..

python mkelf.py -o kernel.elf zImage@0x80208000 ramdisk.cpio.gz@[COLOR="Red"][B]0x81600000[/B][/COLOR],ramdisk RPM.bin@0x00020000,rpm bootcmd@0x00000000,cmdline

But, when extracting stock/your custom kernels of SP (android 4.3; .266/.201) with Flashtool, ramdisk load address mentioned looks different. The message that oocurs with Stock kernel..

04/057/2014 00:57:37 - INFO - Program Name : Image	size : 0x0063fa48	Load address: 0x80208000
04/057/2014 00:57:37 - INFO - Program Name : ramdisk.gz	size : 0x001947e4	Load address: [COLOR="red"][B]0x81900000[/B][/COLOR]
04/057/2014 00:57:37 - INFO - Program Name : rpm.bin	size : 0x000210b0	Load address: 0x00020000
04/057/2014 00:57:37 - INFO - Program Name : bootcmd	size : 0x0000007b	Load address: 0x00000000
04/057/2014 00:57:37 - INFO - Program Name : cert	size : 0x00000430	Load address: 0x00000000

Regarding load address of ramdisk, is it a typo in the guide or both values are acceptable? asking this for clarification. Thanks in advance.
[Sony Cross-Device General] pec0ra:
[MENTION=4414423]mrhnet[/MENTION]

The correct value is 81900000. 81600000 was apparently for 4.1

Btw thank you very much because that solved the problems I had :)
[Sony Cross-Device General] DooMLoRD:
ya i have to update it...

the RPM.bin has also changed... will update them when i get time...
[Sony Cross-Device General] DooMLoRD:
Ok so pushed new changes to git
[Sony Cross-Device General] Levered:
build/core/base_rules.mk:158: *** external/aac: MODULE.TARGET.STATIC_LIBRARIES.libFraunhoferAAC already defined by Desktop/android_prebuilt_toolchains-master/external/aac. Stop.

:confused::confused:
[Sony Cross-Device General] DooMLoRD:
You are building in Android tree and this seems to be compiling error there... Not in kernel sources...
[Sony Cross-Device General] Levered:
***
*** Can't find default configuration "arch/x86/configs/viskan_huashan_defconfig"!
***
make[1]: *** [viskan_huashan_defconfig] Error 1
make: *** [viskan_huashan_defconfig] Error 2

what's about this?
[Sony Cross-Device General] DooMLoRD:
dude your commands are entirely wrong!

its looking in:

arch/x86/

it has to look in

arch/arm

you are not directing it to arm cross-compiler!
[Sony Cross-Device General] DooMLoRD:
please READ THE ERROR MESSAGE:

[B][I]/home/levered/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: No such file or directory
Is your PATH set correctly?[/I][/B]

check if you the toolchain in that directory:

/home/levered/arm-linux-androideabi-4.7/
[Sony Cross-Device General] Levered:
okay.

i move toolchain arm-linux-androideabi-4.7 to home directory and now it's start compiling
[Sony Cross-Device General] a2441918:
Been trying to build aicp for the honami and I get this error.

realmake: *** No rule to make target `/home/audiogod/aicp/out/target/product/honami/recovery/bootrec-device', needed by `/home/audiogod/aicp/out/target/product/honami/boot.img'. Stop.

realmake: *** Waiting for unfinished jobs...

What can be done here? Carbon and other roms build fine.
[Sony Cross-Device General] DooMLoRD:
you are missing the device config files!!!
[Sony Cross-Device General] a2441918:
I have added the cm tree and made necessary changes to match aicp. I have the file in recovery folder yet I face this error.

Sent from my SOKP powered Galaxy S 4 i9500.
[Sony Cross-Device General] DooMLoRD:
"no rule"

so check you make files...

also this is beyond the scope of this thread!

this thread is ment for standalone kernel compilation and NOT integrated (AOSP/CM/etc) kernel compilation...
[Sony Cross-Device General] a2441918:
Sorry mate. I couldnt get any relevant answers anywhere so thought maybe you can help me out here.

Sent from my SOKP powered Galaxy S 4 i9500.
[Sony Cross-Device General] dsultan:
xperia M DUAL

trying to build M dual's kernel from http://developer.sonymobile.com/dow...ves/open-source-archive-for-build-15-2-a-2-5/

arch\arm\configs\ contains a few config defs:

-rw-r--r--. 1 dev dev 12679 Oct 30 2013 full_msm8960-perf_defconfig
-rw-r--r--. 1 dev dev 12759 Oct 30 2013 mako_defconfig
-rw-r--r--. 1 dev dev 14006 Oct 30 2013 msm8960_defconfig
-rw-r--r--. 1 dev dev 13087 Oct 30 2013 msm8960-perf_defconfig
-rw-r--r--. 1 dev dev 12811 Oct 30 2013 proj_S3A_defconfig
-rw-r--r--. 1 dev dev 12300 Oct 30 2013 proj_S3A_user_defconfig

I thought there should be something like nicki

which one should I build?

---------- Post added at 09:05 PM ---------- Previous post was at 08:11 PM ----------

trying to build full_msm8960-perf_defconfig

errors

gcc4.6

drivers/video/msm/msm_fb.c:1952:27: warning: unused variable 'mfd' [-Wunused-variable]
error, forbidden warning: msm_fb.c:1952

gcc4.3

drivers/gpu/msm/adreno.c:445: warning: the frame size of 1032 bytes is larger than 1024 bytes; see http://go/big_stack_frame
error, forbidden warning: adreno.c:445

gc4.7/4.8

drivers/hwmon/epm_adc.c:520:44: warning: '*((void *)&adc_data+2)' may be used uninitialized in this function [-Wmaybe-uninitialized]
error, forbidden warning: epm_adc.c:520

tried to build with -Wno-unused-variable on gcc4.6

another error:

LD .tmp_vmlinux1
drivers/built-in.o: In function `prepare_commands':
/home/dev/kernel/drivers/leds/fih_led.c:1481: undefined reference to `BST_init'
/home/dev/kernel/drivers/leds/fih_led.c:1493: undefined reference to `BST_add'
/home/dev/kernel/drivers/leds/fih_led.c:1496: undefined reference to `BST_sort'
drivers/built-in.o: In function `led_control':
/home/dev/kernel/drivers/leds/fih_led.c:1568: undefined reference to `get_para_from_buffer'
/home/dev/kernel/drivers/leds/fih_led.c:1574: undefined reference to `binary_search'
/home/dev/kernel/drivers/leds/fih_led.c:1582: undefined reference to `get_para_char_count'
/home/dev/kernel/drivers/leds/fih_led.c:1590: undefined reference to `get_para_from_buffer'
/home/dev/kernel/drivers/leds/fih_led.c:1596: undefined reference to `binary_search'
/home/dev/kernel/drivers/leds/fih_led.c:1604: undefined reference to `get_para_char_count'
/home/dev/kernel/drivers/leds/fih_led.c:1626: undefined reference to `get_para_from_buffer'
/home/dev/kernel/drivers/leds/fih_led.c:1629: undefined reference to `get_para_char_count'
drivers/built-in.o: In function `msm_pmic_led_probe':
/home/dev/kernel/drivers/leds/fih_led.c:1848: undefined reference to `BST_init'
/home/dev/kernel/drivers/leds/fih_led.c:1892: undefined reference to `BST_add'
/home/dev/kernel/drivers/leds/fih_led.c:1950: undefined reference to `BST_sort'
/home/dev/kernel/drivers/leds/fih_led.c:1978: undefined reference to `control_file_node_register'
drivers/built-in.o: In function `msm_pmic_led_remove':
/home/dev/kernel/drivers/leds/fih_led.c:1995: undefined reference to `control_file_node_unregister'
make: *** [.tmp_vmlinux1] Error 1

help please
[Sony Cross-Device General] stalin.sk2:
try with proj_S3A_user_defconfig
[Sony Cross-Device General] dsultan:
OMG, it's builded!

thanks
[Sony Cross-Device General] stalin.sk2:
Do you know that how to make boot.img with this zimage (Xperia m dual)?
[Sony Cross-Device General] dsultan:
yes, already flashed
[Sony Cross-Device General] stalin.sk2:
Help me I am stuck on it after createing zimage how to to do?
[Sony Cross-Device General] dsultan:
you need cwm-packer, get it http://xdaforums.com/showthread.php?t=2481864

it's working simple

echo "Place boot.gz under workdir/combinedroot/boot"
echo "These images has to be gziped cpio images."
echo "Place the kernel zimage as workdir/kernel"

boot.gz should be cpio packed ramdisk, extracted from kernel.sin

then you will get combined-boot.img

flash it via fastboot, and dont forget to unlock bootloader before
[Sony Cross-Device General] Abhinav1997:
Same will go for t2 ultra msm8928(I mean the dt.img part)? Here is an output of extraction of kernel.sin from flashtool-

22/014/2014 16:14:51 - INFO - File size : 7 Mb
22/014/2014 16:14:52 - INFO - Container generated. Now extracting data to container
22/014/2014 16:14:52 - INFO - Extraction finished to C:\Flashtool\msm8928\kernel.elf
22/015/2014 16:15:05 - INFO - Program Name : Image	size : 0x005b1520	Load address: 0x00008000
22/015/2014 16:15:05 - INFO - Program Name : ramdisk.gz	size : 0x0018f8aa	Load address: 0x02000000
22/015/2014 16:15:05 - INFO - Program Name : 3	size : 0x0006f800	Load address: 0x01e00000

So according to the load addresses the final command should be same(?) And will I use base as 0x00000000 or 0x01e00000 ? Also is this command line correct?-

androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 vmalloc=400M build_variant=user

Cheers,

AJ
[Sony Cross-Device General] DooMLoRD:
everything is already on my Git repo:

https://github.com/DooMLoRD/build_tools/tree/master/msm8226_tianchi

:)
[Sony Cross-Device General] abcdjdj:
Thanks Doom:)

One more thing, in rhine-common's BoardCommonConfig, the BOARD_KERNEL_PAGESIZE is set to 2048 but in android_kernel_sony_msm8974

/include/asm-generic/page.h , the PAGE_SIZE is defined as (1 << 12) which is equal to 4096. So how does the kernel stiil boot?

Edit:- I asked this because mkvendor.sh generated a device tree for tianchi with 2048 as the kernel page size but the page.h of tianchi also says that it should be 4096. Also, running a df on tianchi in the terminal shows blksize as 4096.

Thanks,

abcdjdj
[Sony Cross-Device General] Abhinav1997:
[MENTION=2784807]DooMLoRD[/MENTION] Any ideas about this error?

mkdir -p /home/abhinav2/cm/out/target/product/tianchi/obj/KERNEL_OBJ/arch/arm/boot;
Target dt image: /home/abhinav2/cm/out/target/product/tianchi/dt.img
DTB combiner:
Input directory: '/home/abhinav2/cm/out/target/product/tianchi/obj/KERNEL_OBJ/arch/arm/boot/'
Output file: '/home/abhinav2/cm/out/target/product/tianchi/dt.img'
=> Found 0 unique DTB(s)
error: could not load device tree image '/home/abhinav2/cm/out/target/product/tianchi/dt.img'
make: *** [/home/abhinav2/cm/out/target/product/tianchi/boot.img] Error 1

Here is my custombootimg.mk- http://pastebin.com/raw.php?i=KGbCpVF1 :)

Thanks,

AJ
[Sony Cross-Device General] a2441918:
well I think this thread explains the fix.

http://xdaforums.com/showthread.php?p=49218060

Sent from my SOKP powered Galaxy S 4 i9500.
[Sony Cross-Device General] Abhinav1997:
Well actually it couldn't find the dts files. Fixed it by renaming properly and compiled boot.img :)

Cheers,

AJ
[Sony Cross-Device General] Gold_Phenix:
Sorry my mistake I want write PM to DoomLord
[Sony Cross-Device General] sekac55:
I have problem by build kernel can someone help me? :)
[Sony Cross-Device General] DooMLoRD:
READ THE ERROR / WARNING!

and check the fixes posted in initial posts
[Sony Cross-Device General] nikhil18:
doomlord can i dowload your source which is under the branch kk 4.4.2 which has all the governor,overclocking and intelli thermal files to compile a custom kernel kernel for xperia zr 4.4 because i dont know how to add features like faux sound,gpu overclocking to sources downloaded from sony
[Sony Cross-Device General] DooMLoRD:
Only for personal use its OK... Don't release to public though...
[Sony Cross-Device General] nikhil18:
doomlord you havent merged the 4.4.2 sources to your kk branch
[Sony Cross-Device General] DooMLoRD:
Don't you think I know that? :\

Working on stuff
[Sony Cross-Device General] alkesh95:
Sources will be available once doomlord releases next kernel for z

Can't wait to compile my first kernel

Thanks doomlord for this thread

If you need help pm me or search

I will try my best to help you out
[Sony Cross-Device General] nikhil18:
doomlord i am trying to compile a cm11 kernel for xperia zr the kernel got compiled sucessfully without any errors but wifi is not working and the wlan.ko module is there in system/lib do i need to select modules in menuconfig
[Sony Cross-Device General] a2441918:
Yes kindly enable modules before you build.
[Sony Cross-Device General] alkesh95:
When i was compiling on x86 system i got "exec format error"

So do i need x64 system?

If you need help pm me or search

I will try my best to help you out
[Sony Cross-Device General] a2441918:
Yes you can only do it in a x64 system. Android version prior to GB can use x86 too.
[Sony Cross-Device General] mrhnet:
Actually I could compile the KERNEL (xperia sp) on a 32bit Ubuntu machine using a toolchain from Ubuntu repos. The pre-built toolchains posted in the OP are probably for 64bit systems (hence, causing an error). I could even build the kernel on the phone itself, with LinuxOnAndroid, without using any "cross-compiler" as such, because the architecture is same (arm).
[Sony Cross-Device General] nikhil18:
do you know the name for wifi modules for xperia zr apq8064 so that i can enable them in menuconfig why is this happening in cm11 while building kernel for stock rom i did not enable any wifi modules and wifi worked
[Sony Cross-Device General] alkesh95:
Thanks but can you pm me link for toolchain thanks

If you need help pm me or search

I will try my best to help you out
[Sony Cross-Device General] harrymason37:
Still lot of research for me