Any custom kernels in the works? - Sony Xperia XA2 Questions & Answers

Hey, is anyone working on porting custom kernels that will allow the use of google camera at full 23 MP, well 20.5MP?

davidhozic said:
Hey, is anyone working on porting custom kernels that will allow the use of google camera at full 23 MP, well 20.5MP?
Click to expand...
Click to collapse
Not yet as far as we know

I have a xa2 ultra and I'm looking forward to building a unified custom kernel for the xa2(ultra), but there are no kernel sources yet for the latest 10.51 release. I've already asked jerpelea for them and he told me that they will come soon.

dani020110 said:
I have a xa2 ultra and I'm looking forward to building a unified custom kernel for the xa2(ultra), but there are no kernel sources yet for the latest 10.51 release. I've already asked jerpelea for them and he told me that they will come soon.
Click to expand...
Click to collapse
Any updates?

davidhozic said:
Any updates?
Click to expand...
Click to collapse
Nope, no kernel sources yet
If you want to know if the kernel sources are released straight from the Sony webpages, check here, in both look for the ones starting in 50 (that's the number for nile)
This one first, it's more important
https://developer.sony.com/develop/open-devices/downloads/open-source-archives/
https://github.com/sonyxperiadev/kernel-copyleft/branches
There are already some kernel sources for nile, but they are older ones, you should check for the newer ones that match our latest firmware releases

dani020110 said:
Nope, no kernel sources yet
If you want to know if the kernel sources are released straight from the Sony webpages, check here, in both look for the ones starting in 50 (that's the number for nile)
This one first, it's more important
https://developer.sony.com/develop/open-devices/downloads/open-source-archives/
https://github.com/sonyxperiadev/kernel-copyleft/branches
There are already some kernel sources for nile, but they are older ones, you should check for the newer ones that match our latest firmware releases
Click to expand...
Click to collapse
Do you need the latest sources to updste the kernel when you make it for example? Like does it become incompatible?

davidhozic said:
Hey, is anyone working on porting custom kernels that will allow the use of google camera at full 23 MP, well 20.5MP?
Click to expand...
Click to collapse
23MP works with HedgeCam 2 on LineageOS.

davidhozic said:
Do you need the latest sources to updste the kernel when you make it for example? Like does it become incompatible?
Click to expand...
Click to collapse
Well, while it might even boot, it's definitely better to use the latest one, because incompatibility issues might arise and it wouldn't pretty much make sense to run different versions
Finally, it will make it harder to update or add the security patches due to its age, when a kernel from a newer release likely have them.

schmatzler said:
23MP works with HedgeCam 2 on LineageOS.
Click to expand...
Click to collapse
Yeah i know but i'm like looking for sth that could utilize google's hdr cam without 95% of quality loss like on AOSP

dani020110 said:
Nope, no kernel sources yet
If you want to know if the kernel sources are released straight from the Sony webpages, check here, in both look for the ones starting in 50 (that's the number for nile)
This one first, it's more important
https://developer.sony.com/develop/open-devices/downloads/open-source-archives/
https://github.com/sonyxperiadev/kernel-copyleft/branches
There are already some kernel sources for nile, but they are older ones, you should check for the newer ones that match our latest firmware releases
Click to expand...
Click to collapse
Hey would this work? It's for xa2 plus but it is new i guess.
https://developer.sony.com/file/download/open-source-archive-for-50-1-a-11-40/

davidhozic said:
Hey would this work? It's for xa2 plus but it is new i guess.
https://developer.sony.com/file/download/open-source-archive-for-50-1-a-11-40/
Click to expand...
Click to collapse
This one may work
I'll take a look at it

Related

[DDK 1.9] OmniROM DDK 1.9 Test Version

Introduction
This is a test version of OmniROM with SGX DDK 1.9 graphics drivers, as well as many OMAP-related kernel updates. No, this isn't 3.4, but a LOT of TI updates were packed into the kernel. Currently, this is only for maguro, but anyone can build it for toro/toroplus with the sources.
Click to expand...
Click to collapse
Features
The ROM and the kernel has a stock feeling - no mods were added.
Most notable new features:
- SGX DDK [email protected]
- GPU governor
- Enabled 384 MHz GPU frequency (as a part of the OMAP updates)
- Tons of background changes for the kernel
Click to expand...
Click to collapse
Important notes
Camera and OMX is not working yet! This turned out to be a harder task for me to fix than implementing the new GPU drivers...
Other bugs are not known yet, but there may be some! Bug reports are welcome.
Thanks to everyone who helped me, especially Hashcode, as I used his repos as an example on how to set up things properly.
Click to expand...
Click to collapse
FAQ
How can I install this?
Just flash the ROM zip (and optionally GAPPS), and you're done.
Can I install this on top of Omni roms?
Yes, you should be able to do so without data loss.
Can I revert to non-1.9 Omni after this without data loss?
Yes.
Is this faster than the current ROMs/kernels?
As this is a stock-like ROM and kernel, not necessarily - there are no optimizations, etc added.
However, if one adds the optimizations used on current custom roms and kernels, this should be faster than them.
Can I install another kernel?
No, the new drivers require the ROM and the kernel side to match each other. Only this combination will work.
When will you fix camera?
I'm trying, but I don't have much success...
Can I help?
Sure, I appreciate any help, as I'm running out of ideas on how to fix camera and OMX.
Can I build this stuff myself?
Of course - everything needed is on my github. You'll need the following repos added to your Omni sources:
omni_android_device_samsung_tuna
omap (newpvr2 branch)
proprietary_vendor_samsung_tuna
Click to expand...
Click to collapse
XDA:DevDB Information
OmniROM DDK 1.9 Test, ROM for the Samsung Galaxy Nexus
Contributors
Ziyan
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.0.x
Based On: OmniROM
Version Information
Status: Testing
Created 2014-07-13
Last Updated 2014-07-13
Where is the download link?!
Sent from my Galaxy Nexus using Tapatalk
aliesz said:
Where is the download link?!
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Click on the downloads button above the thread title
If you're on tapatalk you'll need to go to Web view..
To see the download
Sent from the "DOG" pound
Yes I found it just seconds ago
Sent from my Galaxy Nexus using Tapatalk
Also OP there 3 types of gnexes...
You might want to add to the OP which one it is for
Sent from the "DOG" pound
cujo6801 said:
Also OP there 3 types of gnexes...
You might want to add to the OP which one it is for
Sent from the "DOG" pound
Click to expand...
Click to collapse
Thanks for the suggestion, added it to the introduction text.
Amazing! I will try out tommorow
I've installed it and it feels smooth, I've not encountered any bugs yet. Have you tried removing "kitkat workarounds" from frameworks/native?
Thanks for your awesome work
Nice work! Seems a lot more responsive although it may be placebo effect.
Thanks for posting this, I'm going to try building for toroplus, since we seem to get left out of the excitement so often. My internet connection is slow and so is my computer, so you will probably have everything fixed before I get a chance to even look for bugs.
Great work! I hope you manage to get camera working soon.
Amazing work bro, wishing u best of luck !!
I'm on F2Fs otherwise would have tested this asap...
Awesome work!
Thanks for the amazing work you've brought to the gnex, but since i'm on F2FS i was wondering if you could make a F2FS compatible version of this rom?
matoushybl said:
I've installed it and it feels smooth, I've not encountered any bugs yet. Have you tried removing "kitkat workarounds" from frameworks/native?
Thanks for your awesome work
Click to expand...
Click to collapse
Yeah, but the glitches are still there. Actually, that may be a bug in android itself (it affects a lot of devices), they may have fixed it on L... and those workarounds are really not important, as the problem only comes when taking screenshots. And since android takes screenshots for the rotation animation, etc, those glitches appear there as well. The workarounds just force it to take screenshots on CPU-path, they don't change anything else.
I think they fixed it in DDK 1.12 (which is the next version after 1.9), but that's another story, as I think it does not support our GPU (but it may in the future).
apollo07 said:
Thanks for the amazing work you've brought to the gnex, but since i'm on F2FS i was wondering if you could make a F2FS compatible version of this rom?
Click to expand...
Click to collapse
Not yet, I'm focusing on camera for now
Ziyan said:
The workarounds just force it to take screenshots on CPU-path, they don't change anything else.
Click to expand...
Click to collapse
How about using SurfaceFlinger's Sync framwork now?
https://github.com/omnirom/android_...mmit/d677ae87b2466b03a6ca1cda6ee532c6ba407f8c
@Ziyan https://gerrit.omnirom.org/#/c/8141/
https://gerrit.omnirom.org/#/c/8156/ cherypick those and recompile
Ziyan said:
Yeah, but the glitches are still there. Actually, that may be a bug in android itself (it affects a lot of devices), they may have fixed it on L... and those workarounds are really not important, as the problem only comes when taking screenshots. And since android takes screenshots for the rotation animation, etc, those glitches appear there as well. The workarounds just force it to take screenshots on CPU-path, they don't change anything else.
I think they fixed it in DDK 1.12 (which is the next version after 1.9), but that's another story, as I think it does not support our GPU (but it may in the future).
Not yet, I'm focusing on camera for now
Click to expand...
Click to collapse
Ziyan, thanks for the awesome work
It 's possible to have some screenshots?

[LOLLIPOP] Xperia AOSP Project

hi all
we have included this device in open devices project
you can check news about project on
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
feel free to fork, build, fix and push back
Br
J
PS.
in case latest software does not appear just press "all Services"
flash latest software available and on top new loader
Custom ROM We Want! (Xperia T3 D5102)
jerpelea said:
hi all
we have included this device in open devices project
you can check news about project on
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
feel free to fork, build, fix and push back
Br
J
Click to expand...
Click to collapse
Good news for T3 devices!
All we need now is cwm/twrp recovery and the show may begin!!
great lollipot binaries... so android 5.0 will finally come to T3 ;p
updated guide and blobs for android Lollypop version 5.0.1
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
How do we set up?
Berkant Ayhan Karabudak said:
How do we set up?
Click to expand...
Click to collapse
if you read the guide you will see
jerpelea said:
if you read the guide you will see
Click to expand...
Click to collapse
I am in turkey. My english is not so good.
Do you make installation guides?
AOSP 5.0.2 is published
http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/
http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/
- updated L build guide published
- new blob zip
- wifi is built into kernel
- media is built from source now
- NFC built from source
- audio built from source
- GPS built from source
enjoy
J
Error in sony.xml
<project path="device/sony/kernel" name="kernel" groups="device" remote="sony" revision="aosp/LNX.LA.3.5.2.2-03010-8x74.0 " />
Click to expand...
Click to collapse
You have a space after 8x74.0 and the "
jerpelea said:
hi all
we have included this device in open devices project
...
feel free to fork, build, fix and push back
Click to expand...
Click to collapse
It seems to be fine idea before (or instead?) official release will come.
How much unstable is it?
Ok. Checked.
Git fetched 32GB of data. The laptop wheezed ~9 h but finally it is done.
The system itself works fine. But.
It is completely nude. I've been trying to insert Google Play Services. Defeat.
So. There is no possibility to connect it with Google account and services.
I'm afraid aosp is going to be always to
experimental for regular use. As it is development version.
lalotche said:
It seems to be fine idea before (or instead?) official release will come.
How much unstable is it?
Ok. Checked.
Git fetched 32GB of data. The laptop wheezed ~9 h but finally it is done.
The system itself works fine. But.
It is completely nude. I've been trying to insert Google Play Services. Defeat.
So. There is no possibility to connect it with Google account and services.
I'm afraid aosp is going to be always to
experimental for regular use. As it is development version.
Click to expand...
Click to collapse
AOSP is intended to be a stable base for custom ROMs and developers
you can make your own ROM with all the apps you desire
br
J
build guide has been updated for easy reading
http://developer.sonymobile.com/kno...evices/how-to-build-and-flash-a-linux-kernel/
br
J
jerpelea said:
AOSP is intended to be a stable base for custom ROMs and developers
you can make your own ROM with all the apps you desire
br
J
Click to expand...
Click to collapse
That sounds better.
I have not enough time to make it seriously and full time but I've got a few ideas to try and of course - I'm going to check new aosps and new GServ. releases.
As Google services are essential for android functionality until I get it stable I won't try to build more complex set.
Sent from my D5103 using XDA Free mobile app hurray
First shot.
So. It was little trouble for google made geek.
After a few hours of hard fight (I mean hard googling) I've got rooted system and gaps working.
I decided to root it to easier play with system apps. I did not want to hack source tree as well.
Curious - make_ext4fs changes file privileges (I've needed to add some stuff into system.img).
I had to add some lines to init.rc to correct it.
There are some minor issues appearing in dmesg - could live with that.
And the one major problem - internal speaker is dumb.
Ear phones works right, but speaker is necessary - this is my only phone
l
custom rom for sony T3 D5102
please port custom rom for sony xperia T3 D5102:good::good::good::good:
So, considering I'm a new owner of a Xperia T3, we can say that 5.0.2 ROMs are working "ok" except from speaker and camera that are not working?
I'm considering install an AOSP ROM because I love pure android but I guess I'll give a try to Sony's one until this ROM is perfectly stable.
Have nice day!
Enviado desde mi XT1032 mediante Tapatalk
gbueno6 said:
So, considering I'm a new owner of a Xperia T3, we can say that 5.0.2 ROMs are working "ok" except from speaker and camera that are not working?
Click to expand...
Click to collapse
Yes. It looks, that everything else for D5103 is ok.
I checked headphones, microphone, gps and wi-fi.
I did not check bt, nfc and others (accelerator?) but nobody reported its faults.
For me speaker is necessary but if you like I've got even rooted 5.0.2 with gaps (git 2015-02-15).
l

GPL Source Request

Hi all,
I've created an issue on Motorola's kernel-msm repo that is a request for them to release the kernel sources for the G 5 Plus (Potter).
The post is here - https://github.com/MotorolaMobilityLLC/kernel-msm/issues/104
Please feel free to reply with similar requests so as to get Motorola moving on a proper GPL source release.
-Rob
bob2600 said:
Hi all,
I've created an issue on Motorola's kernel-msm repo that is a request for them to release the kernel sources for the G 5 Plus (Potter).
The post is here - https://github.com/MotorolaMobilityLLC/kernel-msm/issues/104
Please feel free to reply with similar requests so as to get Motorola moving on a proper GPL source release.
-Rob
Click to expand...
Click to collapse
https://github.com/MotorolaMobilityLLC/kernel-msm/blob/MMI-NPN25.137-15/arch/arm/configs/ext_config/mot8953-potter.config
:good:
The sources are already out....
Oh really? My bad... Can I just pull from that kernel-msm repo mentioned in the original post? Or is there a different repo just for Potter?
It looks like the source release for NPN25.137-15 is tagged here:
https://github.com/MotorolaMobilityLLC/kernel-msm/tree/MMI-NPN25.137-15/
It's a bit older than the version shipped with my phone but it could work. I'm going to see if I can compile it later.
bob2600 said:
It looks like the source release for NPN25.137-15 is tagged here:
https://github.com/MotorolaMobilityLLC/kernel-msm/tree/MMI-NPN25.137-15/
It's a bit older than the version shipped with my phone but it could work. I'm going to see if I can compile it later.
Click to expand...
Click to collapse
All the best. :good:
rayzen6 said:
All the best. :good:
Click to expand...
Click to collapse
Why'd you edit your post? I took a look at Alberto's repo and it looks like it would be compatible with our phones.
Seemed like a decent course of action to take. Did you try it yourself? Did it work? Don't just provide no reason, let's get hacking...
bob2600 said:
Why'd you edit your post? I took a look at Alberto's repo and it looks like it would be compatible with our phones.
Seemed like a decent course of action to take. Did you try it yourself? Did it work? Don't just provide no reason, let's get hacking...
Click to expand...
Click to collapse
Man yes let me mention the guy who successfully ​able to build with Alberto's sources. He is @i.snehal.kiran.
He has done this to compile but unfortunately for some reason he doesn't able to get the device to test. His msg is below
basically i have taken addison device tree ...just change the kernel path and defconfig name in boradconfig.mk ..makes it build boot.img
the source provided by motorola on github is full of errors..so use alberto's kernel for addison till you get official kernel from moto
https://github.com/Alberto97/android_kernel_motorola_msm8953
I edited the post bcz I thought u want to work with custom kernel for stock rom. And I thought this might not be useful.
bob2600 said:
Why'd you edit your post? I took a look at Alberto's repo and it looks like it would be compatible with our phones.
Seemed like a decent course of action to take. Did you try it yourself? Did it work? Don't just provide no reason, let's get hacking...
Click to expand...
Click to collapse
So what happened next? Did you tried something?
Edit:- btw one of the guy has replied positively on issue. :Good: I think we'll have a separate source soon.
rayzen6 said:
So what happened next? Did you tried something?
Edit:- btw one of the guy has replied positively on issue. :Good: I think we'll have a separate source soon.
Click to expand...
Click to collapse
I got as far as getting the LineageOS sources pulled for 14.1, had to do it twice since it was too big for my home directory so I had to create a new volume and run repo sync again. Took forever, but at least I have the OS sources downloaded. Now we're at the point of getting that kernel and setting up a device configuration for our device. Once we get that, then I can see if we can build and flash.
bob2600 said:
I got as far as getting the LineageOS sources pulled for 14.1, had to do it twice since it was too big for my home directory so I had to create a new volume and run repo sync again. Took forever, but at least I have the OS sources downloaded. Now we're at the point of getting that kernel and setting up a device configuration for our device. Once we get that, then I can see if we can build and flash.
Click to expand...
Click to collapse
Cool. Good work man. I'm in for testing.
Kernel sources are up
https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-NPN25.137-33

Resurrection Remix and Oreo

Ive been enjoying Resurrection Remix [Unofficial] rom and was wondering if they or any other rom for the Xperia Z5 P will support Oreo?
There is no kernel so unfortunately no
tset351 said:
There is no kernel so unfortunately no
Click to expand...
Click to collapse
???
zacharias.maladroit said:
???
Click to expand...
Click to collapse
Well there are no kernel sources nor binaries, blobs etc. so I guess there will no custom rom be available anytime soon but please correct me if I'm wrong. I would be glad to have Oreo on my Z5P.
tset351 said:
Well there are no kernel sources nor binaries, blobs etc. so I guess there will no custom rom be available anytime soon but please correct me if I'm wrong. I would be glad to have Oreo on my Z5P.
Click to expand...
Click to collapse
The developer seems to be busy so allow me to answer (though I'm not that experienced). I'm pretty sure that Sony always releases it's phone's kernel sources. Phone hardware doesn't change from an update so when the sources are released they can be used to create a kernel for any android version (basically developers need access to unique hardware). Blobs are like closed-source kernel modules. They're provided with the kernel source but the manufacturer doesn't want them to be copyrighted or tampered with. So I'm sure that Oreo will be available on your device, just give the developers some time. And please don't answer questions if you don't know what you're talking about (at least write that you're inexperienced).
Nik0laTesla said:
The developer seems to be busy so allow me to answer (though I'm not that experienced). I'm pretty sure that Sony always releases it's phone's kernel sources. Phone hardware doesn't change from an update so when the sources are released they can be used to create a kernel for any android version (basically developers need access to unique hardware). Blobs are like closed-source kernel modules. They're provided with the kernel source but the manufacturer doesn't want them to be copyrighted or tampered with. So I'm sure that Oreo will be available on your device, just give the developers some time. And please don't answer questions if you don't know what you're talking about (at least write that you're inexperienced).
Click to expand...
Click to collapse
I am a very inexperienced person.
For MSM8994 platform there is only 3.10 kernel sources available, at least on sony's developer page. On open devices resource list, there are binaries for Z5 premium for 5.1, 6.0, 6.0.1, 7.0 and 7.1 but unfortunately no 8.0 or 8.1. And well, developers can take their time - as long as they want because I don't use that cell phone anymore and I won't expect any custom Rom changes anytime soon especially for a 2015 Device which had very less development going on since its launch.
But once again, I am very inexperienced.
Nik0laTesla said:
The developer seems to be busy so allow me to answer (though I'm not that experienced). I'm pretty sure that Sony always releases it's phone's kernel sources. Phone hardware doesn't change from an update so when the sources are released they can be used to create a kernel for any android version (basically developers need access to unique hardware). Blobs are like closed-source kernel modules. They're provided with the kernel source but the manufacturer doesn't want them to be copyrighted or tampered with. So I'm sure that Oreo will be available on your device, just give the developers some time.
Click to expand...
Click to collapse
Ok, sorry I got a bit mixed up in the devices :laugh:. Either way Snapdragon provides up to date documentation on their SOC's (which is the most important hardware component on the device) so developers should still be able to provide Oreo. And you are right the Z5 premium is an old device and support usually drops as soon as the developer gets rid of that device. But it's weird how much attention different devices get. For example I have a Oneplus X (SD801, I know it's ancient) (didn't even get Nougat) and there are multiple Oreo 8.1 ROMs available.

difference between hardware binaries & kernel?

so what is the difference between hardware binaries & kernels?
i saw that the pixel hardware binaries are provided directly by google, & the kernel for the z2 play is on the motorola github
are the hardware binaries the same thing, or part of the kernel?
if not, where can I go to get the hardware binaries for the moto z2 play?
(new to development, but familiar w/ programming)
The "hardware binaries" are basically drivers that are part of the kernel. They should be included in the kernel source code of Motorola
The kernel itself it what manages interaction between software and hardware, so drivers are part of it, but the kernel is much more
Artim_96 said:
The "hardware binaries" are basically drivers that are part of the kernel. They should be included in the kernel source code of Motorola
The kernel itself it what manages interaction between software and hardware, so drivers are part of it, but the kernel is much more
Click to expand...
Click to collapse
awesome, thanks!
so would it be possible to build aosp from source (vanilla) with these binaries?
rivalDevYP said:
awesome, thanks!
so would it be possible to build aosp from source (vanilla) with these binaries?
Click to expand...
Click to collapse
Partially. But I doubt it's that easy
Artim_96 said:
Partially. But I doubt it's that easy
Click to expand...
Click to collapse
Other than the hardware binaries and a proper build environment
What else do you think I would need?
rivalDevYP said:
Other than the hardware binaries and a proper build environment
What else do you think I would need?
Click to expand...
Click to collapse
Look at the existing ROMs. If it would be that easy we would be running Pie for month. In theory those should be enough, but you still need a lot of work to get it right so it actually works

Categories

Resources