Update on Xperia™ open source archives
We are always striving to be as fast as we can with making the open source archives available after a software build has been released. Now, as we have released our first Jelly Bean SW for Xperia™ T, Xperia™ V and Xperia™ TX, we have seen quite a few requests for the latest open source archives – both for the Jelly Bean release for Xperia™ T, Xperia™ V and Xperia™ TX (SW build 9.1.A.0.489) and for the Xperia™ Z archives (SW build 10.1.A.1.350) for the Japanese launch. Read more about Xperia™ open source archives after the jump.
In our Xperia Z open source archives, you’ll find archives for all Xperia™ devices that are based on the Android™ operating system. These open source archives are made available as required by the software licensed under the GNU General Public License (GPL) or Lesser General Public License (LGPL), and provided for mobile app development, such as creating custom kernels. These archives are intended for experienced developers, and not for general phone users, so only download them if you need them. The code is typically provided in a compressed archive, such as a tarball (tar file).
How to build an archive
To build an archive, it is important to follow the README_Xperia doc file included in the compressed archive. The README identifies the configuration files you’ll be using, as well as the prerequisites and steps for building the archive. For example, here’s what you need to know for building the Xperia™ Z archive from the README.
Configuration files can be found in arch/arm/configs.
Xperia ZL -> fusion3_odin_defconfig
Xperia Z -> fusion3_yuga_defconfig
How to flash your kernel using Fastboot:
Prerequisites:
zImage – the kernel you built, located in arch/arm/boot (make ARCH=arm CROSS_COMPILE=/path_to_compiler/arm-eabi- fusion3_odin_defconfig; make -j8 ARCH=arm CROSS_COMPILE=/path_to_compiler/arm-eabi-)
ramdisk.img – root fs*
mkbootimg*
*How to obtain these files is beyond the scope of this document, but note that they should match the phone model and the rest of the software.
Steps:
1. Assemble flashable image:
$ mkbootimg --kernel zImage --ramdisk ramdisk.img --pagesize 2048 --base 0x80200000 \
--cmdline "androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=400M androidboot.emmc=true" \
--offset 0x02000000 --output boot.img
2. Flash:
$ fastboot flash boot boot.img
***
If there’s a build that you’re waiting for, keep checking the Xperia open source section, as we’re adding archives all the time. Leave us a message or comment below and let us know if you have a question about open source archives.
No comments: