[DEV] Official Kernel Sources for Xperia 2012 devices [posted at GITHUB] - Sony Xperia S, Acro S, Ion

------\\ IMP INFO //-------
LAST UPDATED:
25/March/2012
Latest Kernel Sources:
6.0.A.3.62
------// IMP INFO \\-------
hello guys,
i have pushed the Official kernel sources for various Xperia 2012 devices to my github account... to keep the various FW versions at same place i have created branches for each firmware kernel source... 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... and of-course a git repo is a much better way to browse source code than a tar ball
Xperia-2012-Official-Kernel-Sources
(INCLUDES THESE FW VERSIONS)
i will try my best to keep those sources updated
Request to MODS: may be u guys can sticky this as it will always be useful for devs/advance users
regards,
DooMLoRD

Kernel sources for following firmware:
6.0.A.3.62
6.0.A.4.1

I though Sony might introduce kernel 3.0 on Xperia S..

Hi Doomlord,
Do you have any idea when we could download youre new kernel for the xperia s and get a ics rom ???
Greets Remco

We want to make a new ICS rom for this, but without the phone it is very hard to do

without a phone or software what do you mean.... and maybe if you tell how it could be done make youre own rom we could help you

Without the sources and the phone i guess
DoomLord yet has to receive/buy his Xperia S, and it'll take time for the Devs to get their hands on their Xperia's
Wait for a while

updated kernel sources with 6.0.A.3.62 FW sources

Hi there Doomlord,
I there some progress on the rom`s and kernels ??

remco.k said:
Hi there Doomlord,
I there some progress on the rom`s and kernels ??
Click to expand...
Click to collapse
please stop asking such questions... we are all working on it... when they are ready u will see them in development section...

DooMLoRD said:
please stop asking such questions... we are all working on it... when they are ready u will see them in development section...
Click to expand...
Click to collapse
Very good try!!!
This is something useful in order to start "unlocking" this device.
I have it and i am very disapointed about the dev/cook options......

totalcmdext said:
Very good try!!!
This is something useful in order to start "unlocking" this device.
I have it and i am very disapointed about the dev/cook options......
Click to expand...
Click to collapse
The device is still not released in some markets... It's a very new device so Just hold on for sometime...
Sent from my LT18i using XDA

DooMLoRD said:
The device is still not released in some markets... It's a very new device so Just hold on for sometime...
Sent from my LT18i using XDA
Click to expand...
Click to collapse
Yep.I agree with you and you all should read this,
http://www.gsmarena.com/sony_xperia_s_starts_shipping_worldwide-news-4003.php

I'm selling my S2 for xperia s; the potential is indeed high, seems like sony have done it right this time. Wait for ICS to launch, give a crap about developing GB. /)

Related

Gingerbread Kernel Source Code Available; Homebrew Ports Coming?

Kernel Source for Google Nexus S Released
December 15, 2010 By: ElCondor
Android development for the Google Nexus S has now begun. The kernel source – originally made available upon the official phone release – has already been released by Brian Swetland, an Android kernel developer. This source code can be further investigated and explored by developers. Ultimately, this will lead to achieving development milestones much earlier than usual. One example is to root the phone just a few hours or days after it gets released.
Originally posted by supercurio
History for the Nexus S sources begins now.
Original source is here :
http://twitter.com/#!/dnaltews/status/14849739858116608
By Brian Swetland, Android kernel developer.
Thank you Brian !
XDA member supercurio created a thread in the Nexus S forums. Make sure to check it out to follow the discussion, or continue directly to the developer kernel site.
yeah.. it's out:
http://www.engadget.com/2010/12/17/android-2-3-gingerbreads-source-code-now-available/
i wonder why it takes to long to get a first build
Probably its just a matter of mili seconds before one pops up Cant wait >.<
d3sm0nd said:
yeah.. it's out:
http://www.engadget.com/2010/12/17/android-2-3-gingerbreads-source-code-now-available/
i wonder why it takes to long to get a first build
Click to expand...
Click to collapse
Long like more than half a day? Lol.
Don't you need the source for the rest of the OS as well to build a full system?
The source is available now.
tomhierl said:
The source is available now.
Click to expand...
Click to collapse
Here you can see whats going on with the CyanogenMod devs.
The question will soon become 'do I root and flash a custom Gingerbread rom... or wait to see if HTC release one...'
Lothaen said:
The question will soon become 'do I root and flash a custom Gingerbread rom... or wait to see if HTC release one...'
Click to expand...
Click to collapse
root anyway the custom roms are far superior
Theres a test build of Gingerbread in the oxygen thread
I'm unable to find it. Could you post a link?
Stretlow said:
root anyway the custom roms are far superior
Click to expand...
Click to collapse
Tempted, even if I just had a rooted stock and remove some of the junk that is in the rom's...
If you're happy with the stock ROM, don't bother. You'll end up flashing ROMs all the time, always trying the newest or different ones - which is fun for sure, but not really necessary and often quite frustrating.
Can't wait to boot 2.3 on my Desire!
schiznik said:
Theres a test build of Gingerbread in the oxygen thread
Click to expand...
Click to collapse
It's just a themed version I think.

SONY LT26i Kernel 3.4.0 for any JB based on stock

SONY XPERIA S.
Kernel 3.4.0+1.0.21100 by SONY.
CPU msm8260 192~1.728Mhz.
GPU Adreno 220 - 2D 160~266Mhz - 3D 200~320Mhz.
TWRP Recovery 2.8.7.0.
Support for recovery in FOTAkernel.
Support for run-parts in /system/etc/init.d/.
Support for IPtables.
Swap.
How to Flash Kernel:
0 - Download file and unzip.
1 - Unlock Boot Loader.
2 - Power off Phone.
3 - Start Flash Tools.
4 - Hold Vol+ while plug the USB cable, on led blue light, release the Vol+.
5 - on Flash Tools Start the Flash in Fast Boot Mode to Flash Kernel.
XDA:DevDB Information
[email protected], Kernel for the Sony Xperia S
Contributors
Rafael.Baugis
Source Code: https://github.com/RafaelBaugis/Kernel-nozomi
Kernel Special Features: OverClock, init.d, TWRP Recovery, IPtables, Swap
Version Information
Status: Stable
Created 2014-04-11
Last Updated 2015-11-08
Last Kernel: kernel-20151107.elf.zip
Hey,hey.. Please see Xperia ION users.
Thanks you.
Is like the ASK from doomlords? But with the new (And also better) Cwm by crazy_doz, right? it looks, pretty good, i'm gonna test it
Bem vindo amigo!
Welcome friend!
So much time passed since that time when you made my day by resurrecting that freaking ace
I'm pleased you come back
What are the other features of this kernel?
Nice MAN
Waiting u to upload it !!
Rafael.Baugis
Click to expand...
Click to collapse
Code:
Rafael.Baugis
amraasar said:
Nice MAN
Waiting u to upload it !!
Code:
Rafael.Baugis
Click to expand...
Click to collapse
Download link is working?
Rafael.Baugis said:
Download link is working?
Click to expand...
Click to collapse
Are you refering to the 2nd post link : https://docs.google.com/file/d/0B2xJmiwfYDFyUUFnZnhmQXozOG8/edit
Then yes, i can see 2 files and download them.
This is kernel from Sony stock rom? What rom? And what telephone?
Wysłane z mojego LT26i przy użyciu Tapatalka
@Rafael.Baugis, what r the special features of your kernel? can u include it at OP. or no new and its just like doomkernel?
slink722 said:
@Rafael.Baugis, what r the special features of your kernel? can u include it at OP. or no new and its just like doomkernel?
Click to expand...
Click to collapse
I start dev and now have a small features.
I was on DoomLord V6 Kernel and flashed this one, didn't really noticed anything (bad or good) just that the cpu is oc to 1.7ghz by default.
Looking forward for next features, thanks for still doing some dev on XS.
Glad....we've got a new kernel developer...
Umm...can you Import the features from this kernel...It's a really awesome kernel...!!
http://forum.xda-developers.com/showthread.php?t=1867265
And the undervolting feature too...^_^
GPL licencing
@Rafael.Baugis
Im quite sure its a part of forum rules last time i checked but you have to link source code in the thread
Mentioned here
http://forum.xda-developers.com/showthread.php?t=2310958
Envious_Data said:
@Rafael.Baugis
Im quite sure its a part of forum rules last time i checked but you have to link source code in the thread
Mentioned here
http://forum.xda-developers.com/showthread.php?t=2310958
Click to expand...
Click to collapse
Not forum rules. XDA is a proprietary as it gets and has no ties with FSF . Its the General Public Licence that its in fact the reason why you have to link source code. You are not allowed to modify that licence, you are allowed to distribute as long as the same licence is carried over and the source is made available. Since the Android system started as GPL, everything based after it will and must be GPL.
Have any source code?
o2xygen said:
Not forum rules. XDA is a proprietary as it gets and has no ties with FSF . Its the General Public Licence that its in fact the reason why you have to link source code. You are not allowed to modify that licence, you are allowed to distribute as long as the same licence is carried over and the source is made available. Since the Android system started as GPL, everything based after it will and must be GPL.
Click to expand...
Click to collapse
Source changes inside the .zip file
help needed
@Rafael.Baugis
hey hii i just wanna know, if u could develop a kernel for xperia ion LT28h based on the new Xperia Z2 4.4.2 stock rom
we r waiting to port the base stock rom (4.4.2) on our xperia ion
it would be my pleasure along with all the other xperia ion users for ur kind n generous help
thanks

[Q] [ROM][WiP][4.4] CM-11.0 | Xperia S OpenSEMC - BETA 3 - Any news??

Hi everyone,
About this rom with Cyanogenmod for Xperia S anyone has some information about future updates?
I wanna try this one, but i don't know how stable this version are.
Who use this one can leave some info about?
Rom link: http://forum.xda-developers.com/showthread.php?t=2555243 (credits: Arakmar and RaymanFX)
Thanks
monclarx said:
Hi everyone,
About this rom with Cyanogenmod for Xperia S anyone has some information about future updates?
I wanna try this one, but i don't know how stable this version are.
Who use this one can leave some info about?
Rom link: http://forum.xda-developers.com/showthread.php?t=2555243 (credits: Arakmar and RaymanFX)
Thanks
Click to expand...
Click to collapse
The last time I used this was back a couple of months ago. The reason I moved back to stock was random reboots on twonky beam app.
Other than that it was quite good. Though for me the ringtones were too quiet
Sent from my LT26i using Tapatalk
monclarx said:
Hi everyone,
About this rom with Cyanogenmod for Xperia S anyone has some information about future updates?
I wanna try this one, but i don't know how stable this version are.
Who use this one can leave some info about?
Rom link: http://forum.xda-developers.com/showthread.php?t=2555243 (credits: Arakmar and RaymanFX)
Thanks
Click to expand...
Click to collapse
Actually this ROM is too unstable for daily use, and some features are missing. Update: How the "XDA rule" says: Do NOT ask for ETA. RaymanFX has got some exams to pass it first, so be patient until he finishes those exams. But anyway. Before you make a topic, use the search function. I mean for this: http://forum.xda-developers.com/showthread.php?t=2571966

Unified kernel for msm8974 devices

Unified kernel for msm8974 devices
hi all
we are cooking 1 kernel for all msm8974 devices for all custom roms
Source
https://github.com/sonyxperiadev/kernel
feel free to fork, joyn and push back
XDA:DevDB Information
Unified kernel for msm8974 devices, Kernel for the Sony Xperia Z3
Contributors
jerpelea, Kali-
Kernel Special Features:
Version Information
Status: Testing
Created 2014-10-31
Last Updated 2014-10-31
new guides published
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
kernel is rebased
z3 platform (shinano) added to kernel
https://github.com/sonyxperiadev/kernel/
status
z1 - boots
z2 - boots
z3 - boots
yukon - boots
feel free to push fixes
jerpelea said:
kernel is rebased
z3 platform (shinano) added to kernel
https://github.com/sonyxperiadev/kernel/commits/aosp/LNX.LA.3.5.1-01110-8x74.0
status
z1 - bringup in progress
z2 - boots
z3 - boots
feel free to push fixes
Click to expand...
Click to collapse
Cool, thanks! Any love for the Z3C?
Can we do this for the T-Mobile Z3? I thought the boot loader is not able to be unlocked. If it is unlockable, I will get this device tomorrow.
Brilliant news, thanks for this. Now hope has grown for custom Roms coming sooner! Cheers
Sent from my D6603 using XDA Free mobile app
asianflavor said:
Can we do this for the T-Mobile Z3? I thought the boot loader is not able to be unlocked. If it is unlockable, I will get this device tomorrow.
Click to expand...
Click to collapse
I am 99% certain the T-Mobile Z3 will not be unlockable. Not very "un-carrier" of them.
HOWEVER:
For the first time in North American history, in addition to being available via carriers, a Sony flagship is being offered unlocked in a timely fashion in North America. If you're in the USA (which, since you're asking about T-Mo USA, I assume you are), you can get a SIM-unlocked (and hence bootloader-unlockable) Z3 at http://store.sony.com/xperia-z3-lte...atid-All-Unlocked-Phones?vva_ColorCode=FFFFFF
I'd love to get a pure AOSP build going on my Z3 Compact
Entropy512 said:
I am 99% certain the T-Mobile Z3 will not be unlockable. Not very "un-carrier" of them.
HOWEVER:
For the first time in North American history, in addition to being available via carriers, a Sony flagship is being offered unlocked in a timely fashion in North America. If you're in the USA (which, since you're asking about T-Mo USA, I assume you are), you can get a SIM-unlocked (and hence bootloader-unlockable) Z3 at http://store.sony.com/xperia-z3-lte...atid-All-Unlocked-Phones?vva_ColorCode=FFFFFF
Click to expand...
Click to collapse
Hi @Entropy512, if I well remember you are a senior dev (omni and in the past CM maintainer for SGS3 intl)?
How do you judge the information given by Sony to develop AOSP?
Why are the Original Android dev forum so empty in your opinion for this beast?
Sent from my Nexus 10 using Tapatalk
and the ball continues rolling
http://developer.sonymobile.com/2014/11/06/android-5-0-xperia-z3-running-aosp/
br
J
jerpelea said:
and the ball continues rolling
http://developer.sonymobile.com/2014/11/06/android-5-0-xperia-z3-running-aosp/
br
J
Click to expand...
Click to collapse
Add Z3 Compact support please I'll be your test guinea pig. How different would it be from the Z3 build besides the ram and screen everything else is the same correct?
del
iBuzman said:
Thx, I'm about to build Z3 AOSP rom following new guide, just need Z3 device binaries
appreciate the support given that allows us to do this :good: :good: :good:
Click to expand...
Click to collapse
please stay tuned and binaries will come
br
J
sry - didn't mean to edit after you quoted - I misread earlier post and thought z3 binaries were available already (and I got confused when the shinano git page instructions linked to a dead page ).
jerpelea said:
hi all
we are cooking 1 kernel for all msm8974 devices for all custom roms
Source
https://github.com/sonyxperiadev/kernel
feel free to fork, joyn and push back
XDA:DevDB Information
Unified kernel for msm8974 devices, Kernel for the Sony Xperia Z3
Contributors
jerpelea, Kali-
Kernel Special Features:
Version Information
Status: Testing
Created 2014-10-31
Last Updated 2014-10-31
Click to expand...
Click to collapse
Hi there i have a fix required to allow inline building with cm type roms, how do I push a fix, just git push?
Entropy512 said:
I am 99% certain the T-Mobile Z3 will not be unlockable. Not very "un-carrier" of them.
HOWEVER:
For the first time in North American history, in addition to being available via carriers, a Sony flagship is being offered unlocked in a timely fashion in North America. If you're in the USA (which, since you're asking about T-Mo USA, I assume you are), you can get a SIM-unlocked (and hence bootloader-unlockable) Z3 at http://store.sony.com/xperia-z3-lte...atid-All-Unlocked-Phones?vva_ColorCode=FFFFFF
Click to expand...
Click to collapse
Thanks, I didn't think you could unlock the T-mo version. Would love to buy the unlockable one from Sony but I have a wife that override that decision...lol. But made my decision on jumping to the Nexus 6 much easier. Thanks for the info!
nycbjr said:
Hi there i have a fix required to allow inline building with cm type roms, how do I push a fix, just git push?
Click to expand...
Click to collapse
you fork on your git
commit the change and then submit a push request from git interface
br
J
jerpelea said:
please stay tuned and binaries will come
br
J
Click to expand...
Click to collapse
now that lg g3 has lollipop would be nice to get our Z3 back up to the top of the news reports with aosp binaries update ~ I've got repos sync'd, patches applied, and device page bookmarked for periodical checking ✌
What toolchain are you guys using to compile the kernel of https://github.com/sonyxperiadev/kernel ?
could anyone compile a kernel with as modules and share the hid-sony.ko and hid-dr.ko module files?
I think that would help to have Remote Play PS4 in non Z3 and Z2 devices.
the option to compile those 2 modules as separate modules is in menuconfig > Device Drivers > HID Devices > Special HID Drivers and then
M in DragonRise Inc. game controller
M in Sony PS3 Controller
it would be much appreciated.
I would even pay if someone can share me those 2 files from the Z3 kernel source (or Z3 phone) as I tried to compile the kerel to get those files but I'm failing like a mother****er
use http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
kernel compile guide and you can succesfully compile it
br
J
MyPeople said:
What toolchain are you guys using to compile the kernel of https://github.com/sonyxperiadev/kernel ?
could anyone compile a kernel with as modules and share the hid-sony.ko and hid-dr.ko module files?
I think that would help to have Remote Play PS4 in non Z3 and Z2 devices.
the option to compile those 2 modules as separate modules is in menuconfig > Device Drivers > HID Devices > Special HID Drivers and then
M in DragonRise Inc. game controller
M in Sony PS3 Controller
it would be much appreciated.
I would even pay if someone can share me those 2 files from the Z3 kernel source (or Z3 phone) as I tried to compile the kerel to get those files but I'm failing like a mother****er
Click to expand...
Click to collapse

[Q] Compile kernel

I thought of developing a kernel so that i can use it with my CM11 that im going to port shortly. I thought I'll compile the stock kernel from source itself. I use android pre-built tool chain (arm-eabi-4.6)
I get a lot of compiler errors on stock kernel without any modifications itself...
Do i need to change my tool chain?
Sent from my One V using XDA Free mobile app
I never tried to build the stock kernel, but I think they did it with the android 4.0 toolchain.
To run CM, you need a CM-Kernel. You have to port things from the stock or a custom kernel (like Hellboy by maxwen) to the cm11 kernel.
Try to use rastomanchiks kernel sources (https://github.com/rastomanchik/android_kernel_htc_primou). This kernel is mostly working, stable and has a good battery life now.
I'd also like to build cm11, but my download speed is to slow to download the sources.
Exactly. Even my download speed is slow. And i have a cap also. After 8GB, my download speed drastically decreases. It takes ages to sync the sources...
Sent from my One V using XDA Free mobile app
How different is Cm kernel from stock? I mean what changes should i make?
Sent from my One V using XDA Free mobile app
Cm needs many features which aren't included in the stock kernel and also you should get ION memory allocator working.
Help
jonas2790 said:
Cm needs many features which aren't included in the stock kernel and also you should get ION memory allocator working.
Click to expand...
Click to collapse
Yeah. How do I port?
What happened to your CM12 project?
hehaichi said:
Yeah. How do I port?
What happened to your CM12 project?
Click to expand...
Click to collapse
I started working on cm12 again yesterday and finally have cm11 sources now, so expect a cm11 build in some days
I can't help you with porting, because all the porting work was done by rastomanchik and I chatted with him. You'd have to ask him about this, but he wasn't online the last weeks and can't speak english without google translator.
jonas2790 said:
I started working on cm12 again yesterday and finally have cm11 sources now, so expect a cm11 build in some days
I can't help you with porting, because all the porting work was done by rastomanchik and I chatted with him. You'd have to ask him about this, but he wasn't online the last weeks and can't speak english without google translator.
Click to expand...
Click to collapse
Actually I insist on porting myself so that I can learn building properly.
Actually these things are also interesting.. fixing bugs and all...
Have series of exams till May end. I cant build properly until then. I thought why not learn something..
Where did you learn about building and other stuff. Also I want to build the device tree on my own.
If you could specify some sources to learn, that would be grateful!
hehaichi said:
Actually I insist on porting myself so that I can learn building properly.
Actually these things are also interesting.. fixing bugs and all...
Have series of exams till May end. I cant build properly until then. I thought why not learn something..
Where did you learn about building and other stuff. Also I want to build the device tree on my own.
If you could specify some sources to learn, that would be grateful!
Click to expand...
Click to collapse
This is exactly the same point of view I had when I started some months ago
Sadly, there isn't much documentation about own device trees and own kernels out there.
There also is no reference device tree, so every dev does it in his own way. I'm always trying to have a clean, easy device tree and use the CM ones as a reference.
You can find some tutorials about building cm, but only with downloading a ready-to-use device config and kernel.
I just played around with it one or two weeks and learned the most.
If you have enough time, please at least try to get into this stuff, maybe we can get cm12 running.
You can reach me on irc in the channel #hov on freenode.
jonas2790 said:
This is exactly the same point of view I had when I started some months ago
Sadly, there isn't much documentation about own device trees and own kernels out there.
There also is no reference device tree, so every dev does it in his own way. I'm always trying to have a clean, easy device tree and use the CM ones as a reference.
You can find some tutorials about building cm, but only with downloading a ready-to-use device config and kernel.
I just played around with it one or two weeks and learned the most.
If you have enough time, please at least try to get into this stuff, maybe we can get cm12 running.
You can reach me on irc in the channel #hov on freenode.
Click to expand...
Click to collapse
I have sufficient time only after May. Till then I'll have to do some research and learn the basics.
I saw on the CM wiki page, it says you can run a prebuilt kernel also... So would it work if we could tweak the stock kernel a bit?
And how do I apply patches to the kernel?
hehaichi said:
I have sufficient time only after May. Till then I'll have to do some research and learn the basics.
I saw on the CM wiki page, it says you can run a prebuilt kernel also... So would it work if we could tweak the stock kernel a bit?
And how do I apply patches to the kernel?
Click to expand...
Click to collapse
Yes you can use a prebuilt kernel, but it will only work if the kernel supports you cm version.
You apply patches to a kernel by changing files or directories in the kernel. For example you can use another fs module (maybe with more functions) by copy and pasting the folder for the module from another kernel. The problem is, the new module may require some functions your kernel does not have so it won't compile.
Hey i had mailed rastomanchik and he said 3.4.x kernel is an impossibility for cm11? Why?
Sent from my One V
hehaichi said:
Hey i had mailed rastomanchik and he said 3.4.x kernel is an impossibility for cm11? Why?
Sent from my One V
Click to expand...
Click to collapse
1. It would be much, much, much work.
2. I think there are some device-specific drivers that only work with 3.0
I'm ready to do that work only if i knew how to...
Sent from my One V
hehaichi said:
I'm ready to do that work only if i knew how to...
Sent from my One V
Click to expand...
Click to collapse
Try to get into it yourself or talk with people who know about kernel developement, I'm also new to android developement.

Categories

Resources