[DEV] Official Kernel Sources & Ramdisk for Xperia 2011 devices [posted at GITHUB]

Search This thread

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
[DEV] Official Kernel Sources & Ramdisk for Xperia 2011 devices [posted at GITHUB]

------\\ IMP INFO //-------

LAST UPDATED:
26/March/2012

Latest Kernel Sources:
4.0.2.A.0.74

Latest Ramdisk:
4.0.2.A.0.42


------// IMP INFO \\-------


hello guys,

i have pushed the Official kernel sources and ramdisks for various Xperia 2011 devices to my github account... to keep the various FW versions at same place i have created branches for each kernel/ramdisk... i think this will help other dev/advance users as they can now easily get all relevant files at one place and easily compare changes in firmware sources...


Xperia-2011-Official-Kernel-Sources
(INCLUDES THESE FW VERSIONS)


Xperia-2011-Official-Ramdisks
(INCLUDES THESE FW VERSIONS)


i will try my best to keep those sources updated


regards,

DooMLoRD
 
Last edited:

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
Kernel sources for following firmware:
  • 4.0.2.A.0.74
  • 4.0.2.D.0.5
  • 4.1.C.0.7
  • 4.1.C.0.6
  • 4.0.2.A.0.61_62
  • 3.0.1.E.0.88
  • 4.0.2.A.0.58
  • 4.0.2.A.0.42
  • 4.0.2.A.0.9
  • 4.0.1.A.0.284
  • 4.0.1.A.0.283
  • 4.0.A.2.377
  • 4.0.A.2.368
  • 3.0.1.A.0.145_146_148
 
Last edited:

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
Ramdisks for following firmware:
  • 4.0.2.A.0.42
  • 4.0.1.A.0.283
  • 4.0.A.2.368
  • 3.0.1.A.0.145


Devices for which ramdisks are posted:
Code:
ST17 - coconut    - ACTIVE
LT15 - anzu       - ARC
LT18 - ayame      - ARC S
WT19 - satsuma    - LIVE WALKMAN
ST15 - smultron   - MINI
SK17 - mango      - MINI PRO
MT15 - hallon     - NEO
MT11 - haida      - NEO V
R800 - zeus,zeusc - PLAY
MK16 - iyokan     - PRO
ST18 - urushi     - RAY
 
Last edited:

alvaroag

Retired Forum Moderator
Nov 2, 2010
141
68
34
Lima
Yes, please, it would be nice :) and I can't find a way to get it from my phone
 
Last edited:

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
Yes, please, it would be nice :) and I can't find a way to get it from my phone

i was not able to get new firmware (kernel.sin file)...

since u have the device have u rooted it yet?

use this: http://xdaforums.com/showthread.php?t=1302037
and find the newest superuser update.zip

then after the device is rooted reboot it once... connect device to pc via adb and pull the following files:
Code:
/*
/sbin/*

e.g.: file list from ARC: https://github.com/DooMLoRD/Xperia-2011-Official-Ramdisks/tree/master/ARC
 
  • Like
Reactions: ChaosFirZen

alvaroag

Retired Forum Moderator
Nov 2, 2010
141
68
34
Lima
Finally, I managed to get the sin files from PC Companion. You can download the kernel SIN from:

http://soporte.opensysperu.com/downloads/kernel_S1-SW-LIVE-883F-PID1-0001-S1-PARTITION.sin

My build number is 4.0.1.A.0.283.

Also, as you have experience developing custom kernels, I would like to ask somethingto you(sorry if it's our of thread)... I've compiled a kernel based on the SE source code(just added the tun/tap driver as built in) following the instructions published by SE, then used the original ramdisk/taken from the kernel image, then used mkbootimg to create the bootable image, and finally booted into it with "fastboot boot boot.img". It showed the SE logo(just the words, not the bootanim) and then the phone turned off. The same happens when I used "fastboot boot" with the stock kernel image. I use "fastboot boot" instead of "fastboot flash kernel" so I can test the kernel without risk bricking my device... Is there somerthing I'm doing wrong? Thanks.
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
Finally, I managed to get the sin files from PC Companion. You can download the kernel SIN from:

http://soporte.opensysperu.com/downloads/kernel_S1-SW-LIVE-883F-PID1-0001-S1-PARTITION.sin

My build number is 4.0.1.A.0.283.

Also, as you have experience developing custom kernels, I would like to ask somethingto you(sorry if it's our of thread)... I've compiled a kernel based on the SE source code(just added the tun/tap driver as built in) following the instructions published by SE, then used the original ramdisk/taken from the kernel image, then used mkbootimg to create the bootable image, and finally booted into it with "fastboot boot boot.img". It showed the SE logo(just the words, not the bootanim) and then the phone turned off. The same happens when I used "fastboot boot" with the stock kernel image. I use "fastboot boot" instead of "fastboot flash kernel" so I can test the kernel without risk bricking my device... Is there somerthing I'm doing wrong? Thanks.


the link that u posted is for Xperia Pro right? i will update my gitrepo with the ramdisk from this device...

which defconfig did u use?

are u unpacking/repacking ramdisk or just using the stock ramdisk.cpio.gz and then mkbootimg?
 
  • Like
Reactions: alvaroag

alvaroag

Retired Forum Moderator
Nov 2, 2010
141
68
34
Lima
Yes, the image is for Xperia Pro(MK16a).

The exact command I'm using to configure the kernel is:

ARCH=arm CROSS_COMPILE=/opt/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi- make semc_iyokan_defconfig​

I've tried using the original ramdisk as well as unpack & repack(changing the logo.rle). The command I used to create the boot image is:

./mkbootimg --base 0x00200000 --kernel /usr/src/android/4.0.A.2.364/kernel/arch/arm/boot/zImage --ramdisk ramdisk.img -o boot.img​

Any idea? Thanks.
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
Yes, the image is for Xperia Pro(MK16a).

The exact command I'm using to configure the kernel is:

ARCH=arm CROSS_COMPILE=/opt/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi- make semc_iyokan_defconfig​

I've tried using the original ramdisk as well as unpack & repack(changing the logo.rle). The command I used to create the boot image is:

./mkbootimg --base 0x00200000 --kernel /usr/src/android/4.0.A.2.364/kernel/arch/arm/boot/zImage --ramdisk ramdisk.img -o boot.img​

Any idea? Thanks.

Use stock ramdisk as is

Sent from my LT15i using XDA App
 

alvaroag

Retired Forum Moderator
Nov 2, 2010
141
68
34
Lima
Use stock ramdisk as is

Sent from my LT15i using XDA App

I ran the following commands:

cd /usr/src/android/4.0.A.2.364/kernel
ARCH=arm CROSS_COMPILE=/opt/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi- make semc_iyokan_defconfig
nano -w .config
# Add CONFIG_TUN=y
ARCH=arm CROSS_COMPILE=/opt/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi- make
cd ../bootimg
cp /usr/src/android/4.0.A.2.364/kernel/arch/arm/boot/zImage .
./unpack-bootimg.pl kernel_S1-SW-LIVE-883F-PID1-0001-S1-PARTITION.sin
cp kernel_S1-SW-LIVE-883F-PID1-0001-S1-PARTITION.sin-ramdisk.cpio.gz ramdisk.cpio.gz
./mkbootimg --base 0x00200000 --kernel zImage --ramdisk ramdisk.cpio.gz -o boot.img
./fastboot boot boot.img

But it didn't worked. the workds "Sony Ericsson" appear, then the screen gets filled with black and finally the phone turns off.

I tried also with the kernel image, but still the same problem.
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
I ran the following commands:

cd /usr/src/android/4.0.A.2.364/kernel
ARCH=arm CROSS_COMPILE=/opt/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi- make semc_iyokan_defconfig
nano -w .config
# Add CONFIG_TUN=y
ARCH=arm CROSS_COMPILE=/opt/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi- make
cd ../bootimg
cp /usr/src/android/4.0.A.2.364/kernel/arch/arm/boot/zImage .
./unpack-bootimg.pl kernel_S1-SW-LIVE-883F-PID1-0001-S1-PARTITION.sin
cp kernel_S1-SW-LIVE-883F-PID1-0001-S1-PARTITION.sin-ramdisk.cpio.gz ramdisk.cpio.gz
./mkbootimg --base 0x00200000 --kernel zImage --ramdisk ramdisk.cpio.gz -o boot.img
./fastboot boot boot.img

But it didn't worked. the workds "Sony Ericsson" appear, then the screen gets filled with black and finally the phone turns off.

I tried also with the kernel image, but still the same problem.


unpack-bootimg.pl wont work directly on kernel.sin files


use this:
http://xdaforums.com/showthread.php?t=1262656
 
  • Like
Reactions: alvaroag

alvaroag

Retired Forum Moderator
Nov 2, 2010
141
68
34
Lima
I used your script to split the kernel.sin, get the ramdisk, deleted my old boot.img, and then ran mkbootimg again, but nothing, still the same simptom. Any idea?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    [DEV] Official Kernel Sources & Ramdisk for Xperia 2011 devices [posted at GITHUB]

    ------\\ IMP INFO //-------

    LAST UPDATED:
    26/March/2012

    Latest Kernel Sources:
    4.0.2.A.0.74

    Latest Ramdisk:
    4.0.2.A.0.42


    ------// IMP INFO \\-------


    hello guys,

    i have pushed the Official kernel sources and ramdisks for various Xperia 2011 devices to my github account... to keep the various FW versions at same place i have created branches for each kernel/ramdisk... i think this will help other dev/advance users as they can now easily get all relevant files at one place and easily compare changes in firmware sources...


    Xperia-2011-Official-Kernel-Sources
    (INCLUDES THESE FW VERSIONS)


    Xperia-2011-Official-Ramdisks
    (INCLUDES THESE FW VERSIONS)


    i will try my best to keep those sources updated


    regards,

    DooMLoRD
    11
    Kernel sources for following firmware:
    • 4.0.2.A.0.74
    • 4.0.2.D.0.5
    • 4.1.C.0.7
    • 4.1.C.0.6
    • 4.0.2.A.0.61_62
    • 3.0.1.E.0.88
    • 4.0.2.A.0.58
    • 4.0.2.A.0.42
    • 4.0.2.A.0.9
    • 4.0.1.A.0.284
    • 4.0.1.A.0.283
    • 4.0.A.2.377
    • 4.0.A.2.368
    • 3.0.1.A.0.145_146_148
    8
    Ramdisks for following firmware:
    • 4.0.2.A.0.42
    • 4.0.1.A.0.283
    • 4.0.A.2.368
    • 3.0.1.A.0.145


    Devices for which ramdisks are posted:
    Code:
    ST17 - coconut    - ACTIVE
    LT15 - anzu       - ARC
    LT18 - ayame      - ARC S
    WT19 - satsuma    - LIVE WALKMAN
    ST15 - smultron   - MINI
    SK17 - mango      - MINI PRO
    MT15 - hallon     - NEO
    MT11 - haida      - NEO V
    R800 - zeus,zeusc - PLAY
    MK16 - iyokan     - PRO
    ST18 - urushi     - RAY
    4
    Great work. Just to ask... Could you publish the one for Xperia Pro? Thanks.

    You want ramdisk for it?


    Sent from my LT15i using XDA App
    2
    Nice work,Doom:D