Official AOSP project for Xperia Z1, Z1 Compact, Z Ultra, Z2, and Z2 soon? - Xperia Z1 Compact General

I think I have good news for some of you
There are some hints, that there will be official AOSP support from sony for our devices soon.
For all of you, who don't know: There is a official AOSP project for a few sony devices.
Our problem: Our devices aren't supported (yet?).
But there are good news:
1. The Sony Xperia Developer World github account has forked the rhine-common device tree from FreeXperia/Cyanogenmod. That means they are not uninterested.
2. It gets better: Alin Jerpelea, a member of the Sony Xperia Open Source team and member of FreeXperia, will give a talk about the future of the Sony AOSP support at xda devcon in half a month.
3. And now the best: The github repositority for Sony AOSP kernel recently got a new branch, which is at the same caf tag like our 14.4.A.108 kernel
I am really hoping this becomes truth in near future
Sources:
http://developer.sonymobile.com/201...-mobile-innovation-with-us-at-xdadevcon-2014/
https://github.com/sonyxperiadev/kernel-copyleft/commits/14.4.A.0.xxx
https://github.com/sonyxperiadev/kernel/tree/aosp/LNX.LA.3.5.1-01110-8x74.0
https://github.com/sonyxperiadev/android_device_sony_rhine-common
UPDATE: the latest git commits are proving it, we will get official aosp support
UPDATE: the latest commits prove that z2 and it's variants will also get official aosp(with the same kernel sources as us, congrulations)

That would be great :good:

Does this mean better camera drivers and stuff?

rob rich said:
Does this mean better camera drivers and stuff?
Click to expand...
Click to collapse
Potentially, lets hope so!

CoolDevelopment said:
I think I have good news for some of you
There are some hints, that there will be official AOSP support from sony for our devices soon.
Click to expand...
Click to collapse
First 4.3" high-end device and now official AOSP? Sony, you might just make me a Sony fanboy

Does that mean that it could be possible to flash aosp based roms with locked bootloader? Or am I completely wrong here?

AFAIK the repository for current AOSP devices from sony does not contain camera drivers (and others). So don't expect to much from this news.

vriz27 said:
Does that mean that it could be possible to flash aosp based roms with locked bootloader? Or am I completely wrong here?
Click to expand...
Click to collapse
Unfortunately not
See the latest commits at the git. They are proving the new kernel branch is for sony devices

CoolDevelopment said:
See the latest commits at the git. They are proving the new kernel branch is for sony devices
Click to expand...
Click to collapse
If I'm reading the commits right, and I'd like to think that I am, then we are witnessing the official AOSP bring-up for the rhine-platform!
There's over a thousand lines of new camera code here: https://github.com/sonyxperiadev/kernel/commit/f721c1a0585ab6b9d3eb75a84bc2cf79a7813741
Get excited guys!

Rekoil said:
If I'm reading the commits right, and I'd like to think that I am, then we are witnessing the official AOSP bring-up for the rhine-platform!
There's over a thousand lines of new camera code here: https://github.com/sonyxperiadev/kernel/commit/f721c1a0585ab6b9d3eb75a84bc2cf79a7813741
Get excited guys!
Click to expand...
Click to collapse
That are the same drivers as from the stock kernel, don't expect these commits to increase our camera.

TheQwertiest said:
First 4.3" high-end device and now official AOSP? Sony, you might just make me a Sony fanboy
Click to expand...
Click to collapse
:laugh:

The newest commits are hinting on aosp for z2 aswell

Holy $h13!
How did i not see that before!?
I wasn't interested in devcon all that much. However, now since i know something like official aosp support might be announced there, I can't wait!
SONY GIB UNS AOSP UNTERSTÜTZUNG JETZT!
Sorry, couldn't handle the excitement

Its now official for Z1 and Z2 ! :laugh:
Xperia™ Z2 and Xperia™ Z1 added to AOSP for Xperia on GitHub
And somes good news for our Z1 compact plus other devices :
Xperia Z1 and Z2 added to AOSP for Xperia project; plus unified kernel announced

official ground for AOSP, sweet

I have a question.
Is there any benefits from this for people who has phone with locked bootloader and with -no allowed status? Or i just can congrats people who has unlocked bootloader?

mosespl said:
I have a question.
Is there any benefits from this for people who has phone with locked bootloader and with -no allowed status? Or i just can congrats people who has unlocked bootloader?
Click to expand...
Click to collapse
Only for unlocked bootloaders.

Nice , Tat is a good news.

Thanks for this share. Looking forward for this!

Something it's moving.. https://github.com/sonyxperiadev/device-sony-amami

Related

LiquidSmooth Test Build Xperia Z1 Compact

I have made a LiquidSmooth Test build for the Amami (Xperia Z1 Compact), I do not own this device, but it is based off of the soon to be merged Official CM tree. If all is well with the build I will make a thread in Orig Development
Rom Download
Gapps
deadman96385 said:
I have made a LiquidSmooth Test build for the Amami (Xperia Z1 Compact), I do not own this device, but it is based off of the soon to be merged Official CM tree. If all is well with the build I will make a thread in Orig Development
Click to expand...
Click to collapse
Hey there!
I think you should still make the thread in the OrigDev section, but with some tags like [Alpha]\[Beta]\[Test]\smthing. Because a lot of people (myself included), who like flashing, just ignore the General and Q&A sections, and go straight to Dev\OrigDev. You might get more testers this way
PS: Thx for the ROM, I'll try to test it later this week =)
Everething is ok

[Discussion] PoC of a real DRM fix by munjeni

//Link to original thread: https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893/
munjeni got some progress going on at the Sony Cross General forum, this basically means that there's a chance that all the AOSP/CM ROMs of all (? correct me if I'm wrong) Sony Devices will have all features including a working camera in the near future!
Quote from munjeni:
And most better thing, we can use PoC with AOSP, CM or whatever for having trim area fully functional!!! That mean we can use stock camera blobs finaly with AOSP, CM or whatewer!!!
Click to expand...
Click to collapse
That's freaking huge, if these things are working smoothly in the near future, we can finally break out of the Sony Stock ROMs! And we're not dependent on the "fake" DRM fix anymore!
What are your thoughts about this topic?
I think POC it's useful using 3.4 kernel becase stock blobs are for stock kernel, based on 3.4 , but AOSP uses 3.10 kernel :S

[KERNEL][STOCK][SONY] PDesireCoreKernel 1.0, Every Sony device is a FLAGSHIP

THIS IS MY COMEBACK:
PDesireCoreKernel
Every Device is a Flagship
My target on these kernels is to make the old devices equal and even better than the flagships
This is a project for extremly many devices so I've seperated my OP in some sections:
Kitakami Family
CHANGELOG:
Code:
1.0:
PDesireAudio 10.0
Security and Memory patches by Google
Misc Patches by kernel.org
Backported commits from 4.9 and 3.12 kernel (stable)
Reducing crashes
RC3:
Added some missing Defconfig
Some Crypto and ARM64 patches
Added support for more Kitakami devices
RC2:
Rock Stable and Smooth like warm butter
PDesireAudio 6.0
KCAL Color Control
CPU OC
FSync included
Many Schedulers (like Tripndroid) included
Westwood (best TCP algorithm)
Voltage Table Control (use it with caution)
Adaptive Low Memory Killer
Updated WiFi driver
Many other patches for more battery and more stability
Compatibility to phh Superuser
DRM Patched
TWRP included
Busybox included
Rased on RyTekk's kernel for sumire
FUTURE:
Code:
FauxSound Control
if you have more, tell me
WHAT YOU NEED TO KNOW:
Every kernel just works on latest Nougat FW (376)
DOWNLOADS:
Downloads:
https://goo.gl/u5g1hz
Others comes soon, more information see here:
https://forum.xda-developers.com/showpost.php?p=71089034&postcount=2
SOURCE:
https://github.com/Team-DevElite/PDesireCoreKernel-Kitakami-RC
Shinano Family
Need some things from you before i can start, more info here:
https://forum.xda-developers.com/showpost.php?p=71089034&postcount=2
Rhine Family
Need some things from you before I can start, more info here:
https://forum.xda-developers.com/showpost.php?p=71089034&postcount=2
Tetra Family (Sony SmartWatch 3)
Coming Soon, more info here
HOWTO INSTALL:
Boot to recovery
Flash the downloaded zip
Reboot
FAQ
Where's my kernel?
Please read my second post, as long I don't have all ramdisks, no kernel for that device
Even though I am 17 years old, go to college 38 hours per week, and my life isn't easy at all so please take patience, for your patience you get the present then
CREDITS:
@zacharias.maladroit
@tobias.waldvogel
@RyTekk
@ShadowElite
@_LLJY
@perobot
@kavatzas7
@anjelz2012
@wulfiss
@Raz0Rfail
@V4LKyR
@[Fenix]
Every Commiter on my Repo
Team DevElite and the THDR Alliance​
So when you want i contribute for all devices listed here i need something from you:
Your kernel.elf extracted from your LATEST firmware
I need it for these devices:
Z1
Z1c
Z2
Z3 Dual
Z3c
Z3+
Z3+ Dual
Z4 Tablet
Z5 Dual
Z5c
Z5 Premium (not Dual)
Any help of you would be very appericated and gives you an placement into Credits
Xperia Z5 Premium
E6853
nougat .376
https://mega.nz/#!LQYVzbCS!I5AnILA9p6KJGSNj-HyVfYoiBgJTzCfnTnkfSGsBuyA
But it is a lot to ask would be interesting to enable 4k as default resolution, I am available for testing
Thank you:laugh:
Xperia Z1 Compact - D5503
14.6.A.1.236 Lolipop
http://www.mediafire.com/file/i4jp8z4kytz7hxd/kernel.elf
Great work sir @PDesire :good:
can you bring support to the z3 tablet? if you can't or don't want to bring support for it, there are no problems.
Hi
Hi, these are from the xperia z3 D6653 23.5.A.1.291
https://mega.nz/#F!M0cGXQRY!DWdEZSdGb7W5HefPAPRV-w
It would be awesome if you could support the application (Universal Kernel Manager to make use of the application [Synapse])
Https://forum.xda-developers.com/android/software/zip-synapse-script-universal-kernel-t2736986;)
wulfiss said:
can you bring support to the z3 tablet? if you can't or don't want to bring support for it, there are no problems.
Click to expand...
Click to collapse
Of course there's no problem. I think at the end I would've added support as I forgot it Only to add to the list
If you have the kernel.elf of it I can add it to the supported devices too
Your PDesire
perobot said:
Hi, these are from the xperia z3 D6653 23.5.A.1.291
https://mega.nz/#F!M0cGXQRY!DWdEZSdGb7W5HefPAPRV-w
It would be awesome if you could support the application (Universal Kernel Manager to make use of the application [Synapse])
Https://forum.xda-developers.com/android/software/zip-synapse-script-universal-kernel-t2736986;)
Click to expand...
Click to collapse
Do I have to add something for that support? Or does it work without any modification too?
And thanks for your help, you've earned a place on Credits
kavatzas7 said:
Xperia Z1 Compact - D5503
14.6.A.1.236 Lolipop
http://www.mediafire.com/file/i4jp8z4kytz7hxd/kernel.elf
Click to expand...
Click to collapse
Okay Thank-you. You will be added to the Credits
The Rhine project starts soon
anjelz2012 said:
Xperia Z5 Premium
E6853
nougat .376
https://mega.nz/#!LQYVzbCS!I5AnILA9p6KJGSNj-HyVfYoiBgJTzCfnTnkfSGsBuyA
But it is a lot to ask would be interesting to enable 4k as default resolution, I am available for testing
Thank you:laugh:
Click to expand...
Click to collapse
It's possible to force 4K but that would heat your phone and laggs like **** and it would kill your SoT
But I think I will try soon at least to add QHD support
And you get a place on Credits
Your PDesire
Added support now for Sumire (E6603/E6653)
Soon Satsuki (E6853) will come too
Your PDesire
where i download for xperia z2? THANKS
YamyYugi said:
where i download for xperia z2? THANKS
Click to expand...
Click to collapse
Isn't released yet, and i need a kernel.elf from latest FW of Z2 that i can make a kernel for it
Your PDesire
Hello,
The kernel ELF file for Xperia Z2 23.5.A.1.291 is here:
https://mega.nz/#!y50UWCRJ!MmFuZKmIY1xy2NPcJlD3d_YbN61C8esJTT9F7S4YkGc
Thanks for your future work!
@PDesire
The kernel says 6603.img is it safe to use it?
My phone is 6653.
Kernel from Z5c E5823
.305 last marshmallow
http://www2.zippyshare.com/v/TM2392Sh/file.html
.376 last nougat
http://www2.zippyshare.com/v/BFRhndAM/file.html
GeramanX said:
The kernel says 6603.img is it safe to use it?
My phone is 6653.
Click to expand...
Click to collapse
Yes E6653 and E6603 shares same Kernel
Your PDesire
PDesire said:
Of course there's no problem. I think at the end I would've added support as I forgot it Only to add to the list
If you have the kernel.elf of it I can add it to the supported devices too
Your PDesire
Click to expand...
Click to collapse
Oh great!.
here it go the kernel of the SPG611 23.5.A.1.291 https://mega.nz/#!1d5RURCK!VCsCJ7K4f0GTqN2bGFH-cRTAU-19iYa23oqDIwFFGWc
Thanks for your work!
Where I download for Z1 .236
Today the kernel will get Z5c (suzuran) and Z5P Single (satsuki) support
Your PDesire
never mind

No official Android 8.0 (Oreo) for the Z5 family

Source: https://blogs.sonymobile.com/2017/08/31/xperia-android-8-0-oreo/
Got nearly 2 years of updates, but not quite.
On a related note, official XZ1 Compact website is up. I'm thinking about getting one for my wife to replace her Z5C, UFS sounds delicious.
The list of devices in the blog is not final and it is possible that we will see Oreo on our device.
Even though stock will not support Oreo, Custom firmwares will usually always outlast stock
(Lineage and Carbon are using stock blobs on the Z5 Lineup so custom roms are nearly the same quality, if not better, then stock anyway)
nzzane said:
Even though stock will not support Oreo, Custom firmwares will usually always outlast stock
(Lineage and Carbon are using stock blobs on the Z5 Lineup so custom roms are nearly the same quality, if not better, then stock anyway)
Click to expand...
Click to collapse
I was wondering about this myself. Are the stock blobs sdk version specific, so in order to make a custom Oreo rom a stock Oreo ftf is needed first? Or should the nougat blobs potentially be used in an Oreo firmware? Same with hardware drivers that are unique to our device, like WiFi?
cyberwytch said:
I was wondering about this myself. Are the stock blobs sdk version specific, so in order to make a custom Oreo rom a stock Oreo ftf is needed first? Or should the nougat blobs potentially be used in an Oreo firmware? Same with hardware drivers that are unique to our device, like WiFi?
Click to expand...
Click to collapse
From memory, as long as the source is configured right it should be fine (Wifi drivers shouldn't be changing as its still the same hardware, same for screen and all) - Carbonrom and Lineage source are currently being updated to Oreo, along with some of the sony files being configured for it so hopes are high.
nzzane said:
From memory, as long as the source is configured right it should be fine - Carbonrom and Lineage source are currently being updated to Oreo, along with some of the sony files being configured for it so hopes are high.
Click to expand...
Click to collapse
Awesome sauce! I love your Lineage 14, can't wait to see what's next!
nzzane said:
Even though stock will not support Oreo, Custom firmwares will usually always outlast stock
(Lineage and Carbon are using stock blobs on the Z5 Lineup so custom roms are nearly the same quality, if not better, then stock anyway)
Click to expand...
Click to collapse
That's awesome news, I'll add "official" to the thread title for clarification.
They said it was because Qualcomm aren't great at after market support.
so we couldn't get 3.18, but, what would be interesting to do would be to make some interface to act like a middle man.
I'm currently doing something similar for my laptop running Server 2016, and am slowly making it run like a Desktop OS, by enabling all the other stuff left out that I can find
---------- Post added at 16:25 ---------- Previous post was at 16:21 ----------
nzzane said:
...
Click to expand...
Click to collapse
which linux kernel is LOS running?
NeoBeum said:
They said it was because Qualcomm aren't great at after market support.
so we couldn't get 3.18,
Click to expand...
Click to collapse
Where was this said, and why would we need 3.18 for the Z5 family?
A lot of the reporting being done on this has been bad (whatever happened to reading comprehension, especially in reporters??). According to the source being cited, only SoCs produced prior to 2017 (which the Snapdragon 810 is) AND that are being launched in new devices (which the Z5 series is NOT) are required to run on 3.18. Existing devices already designed and sold before the launch of Oreo (which, having launched in 2015, I think the Z5 family would qualify as) "can continue to use their original base kernel version if desired."
-- Nathan
nlra said:
Where was this said, and why would we need 3.18 for the Z5 family?
A lot of the reporting being done on this has been bad (whatever happened to reading comprehension, especially in reporters??). According to the source being cited, only SoCs produced prior to 2017 (which the Snapdragon 810 is) AND that are being launched in new devices (which the Z5 series is NOT) are required to run on 3.18. Existing devices already designed and sold before the launch of Oreo (which, having launched in 2015, I think the Z5 family would qualify as) "can continue to use their original base kernel version if desired."
-- Nathan
Click to expand...
Click to collapse
on github somewhere,
actually, ask and tag greyleshy, he was the one that asked about final kernel for us, and I found the convo somewhere trying to get Bluetooth junk sorted
there might be some msm8994 thing that sony needs but cant use for oreo or something. I dont know
NeoBeum said:
on github somewhere,
actually, ask and tag greyleshy, he was the one that asked about final kernel for us, and I found the convo somewhere trying to get Bluetooth junk sorted
there might be some msm8994 thing that sony needs but cant use for oreo or something. I dont know
Click to expand...
Click to collapse
Hmm, 'k; thanks. I'll do some more digging. But if true this would flatly contradict Google's own public statements (though I realize it's not like this would be a first for that kind of thing).
-- Nathan
NeoBeum said:
They said it was because Qualcomm aren't great at after market support.
so we couldn't get 3.18, but, what would be interesting to do would be to make some interface to act like a middle man.
Click to expand...
Click to collapse
Android Oreo supports Kernel 3.10, but need to patch the kernel (example: patch 1, patch 2).
It would be nice if msm8994 supported kernel 3.18 or 4.4, but it is not.
Apparently QCOM has not provided drivers for 3.18+ and therefore CodeAurora kernel was not released because of compatibility issues.
NeoBeum said:
which linux kernel is LOS running?
Click to expand...
Click to collapse
3.10, CAF kernel
nlra said:
Where was this said, and why would we need 3.18 for the Z5 family?
A lot of the reporting being done on this has been bad (whatever happened to reading comprehension, especially in reporters??). According to the source being cited, only SoCs produced prior to 2017 (which the Snapdragon 810 is) AND that are being launched in new devices (which the Z5 series is NOT) are required to run on 3.18. Existing devices already designed and sold before the launch of Oreo (which, having launched in 2015, I think the Z5 family would qualify as) "can continue to use their original base kernel version if desired."
-- Nathan
Click to expand...
Click to collapse
correct,
actually 4.4 kernel, it's only needed for newer SoCs
so we can go on with 3.10 kernel for now but we need to wait for (potential) CAF changes
GreyLeshy said:
Android Oreo supports Kernel 3.10, but need to patch the kernel (example: patch 1, patch 2).
It would be nice if msm8994 supported kernel 3.18 or 4.4, but it is not.
Apparently QCOM has not provided drivers for 3.18+ and therefore CodeAurora kernel was not released because of compatibility issues.
Click to expand...
Click to collapse
well, there's still Linux mainline / vanilla upstream support for msm8994 since 4.10 kernel in a very rough state with terminal only (AOSP)
and there's the (close to complete) bringup of msm8994 on 3.18 kernel sauce: https://github.com/sonyxperiadev/kernel/pull/972 (for AOSP)
yeah I basically read it as qualcomm have bad after market support
zacharias.maladroit said:
and there's the (close to complete) bringup of msm8994 on 3.18 kernel sauce: https://github.com/sonyxperiadev/kernel/pull/972 (for AOSP)
Click to expand...
Click to collapse
I might have something interesting to build then and I can stop lounging around
any news for official aosp 8.0 release for z5?
Enviado desde mi SGP712 mediante Tapatalk

[KERNEL] [DEV] Codeaurora(Experimental) and Unified (Testing) - Z1 to Z5 [WIP]

I decided it might be time to post this kernel as it's starting to take shape. It started life as an Xperiadev unified kernel with some modifications like memutils, it was used by Omnirom that saw a release for the Z1 using kernel 3.10, but had not seen an update since 2016 or so, since that's not something I could live with I decided on Codeaurora-msm-3.10-LA.BR.1.3.7_rb1.9 as a valid subject for purging updates from.
Currently my android-7.1 branch is stuck on the boot logo on Z1 (now led changes color and it reboots, instead of stick on logo before) and finding the issue has taken longer than expected, somewhat due to my relaxed approach this time. The code for supporting all Xperia devices all looks good but I have only Z1 and Z5 to test, for now I've focused on the Z1.
I've forked Xperiadev LA.BR.1.3.3_rb2.14 and testing changes, most surprisingly what i considered a small and important update to the iommu code resulted in a locked kernel, it is certainly not the easily spotted mistake i've been looking for that's at fault with my branch and so this will be my testbed for the code i find functional .
Results thus far:
Xperiadev unified LA.BR.1.3.3_rb2.14 with changes from Codeaurora merge:
https://github.com/threader/kernel , set default to LA.BR.1.3.3_rb2.14
git clone https://github.com/threader/kernel.git
https://github.com/threader/kernel
A speculative merge too far, so far:
git clone https://github.com/threader/android_kernel_sony_msm.git -b android-7.1
https://github.com/threader/android_kernel_sony_msm/tree/android-7.1?files=1
Used for updated qcom device driver code :
git clone git://codeaurora.org/quic/la/kernel/msm-3.10 -b LA.BR.1.3.7_rb1.9 (I also used LA.BR.1.3.7-01310-8976.0 )
threader said:
I decided it might be time to post this kernel as it's starting to take shape. It started life as an omnirom kernel for all Xperia devices, this had not seen an update since 2016 or so, since that's not something I could live with I decided on Codeaurora-msm-3.10-LA.BR.1.3.7_rb1.9 as a valid subject. Currently I'm stuck on the boot logo on Z1 and finding the issue has taken longer than expected, somewhat due to my relaxed approach this time. The code for supporting all Xperia devices all looks good but I have only Z1 and Z5 to test, for now I've focused on the Z1.
I'm working on the android-7.1 branch.
Any ideas?
https://github.com/threader/android_kernel_sony_msm/tree/android-7.1?files=1
Click to expand...
Click to collapse
Don't bother. That is based on Sony's Open Devices Project, which was a good concept but did not provide any sort of usability whatsoever for msm8974 devices. Stick to 3.4.x and forget about unification.
drakonizer said:
Don't bother. That is based on Sony's Open Devices Project, which was a good concept but did not provide any sort of usability whatsoever for msm8974 devices. Stick to 3.4.x and forget about unification.
Click to expand...
Click to collapse
I'm noting difficulties and riddles of #ifndef msm8974 but the omirom 3.10 kernel is not running badly, the camera has issues i noted, and i feel 3.4 has the attention of others.
Regarding the unified project, i started looking at the latest branch for legacy, if i remember correctly the correct branch for legacy is LA.BR.1.3.3_rb2.14, i feel i can compare and move code around with some confidence compared to an older version.
https://github.com/sonyxperiadev/kernel/tree/aosp/LA.BR.1.3.3_rb2.14

Categories

Resources