Sony Mobile is committed to supporting the open developer community, and one way to show this is by publishing parts of our code as well as selected tools developed by our internal developers.
For some of the Xperia™ devices, we provide Android™ Open Source Project (AOSP) device configurations on GitHub. This means that the software will be open for you as a developer to use and contribute to. This is a way for us to support the open Android community, and it is also a tool for us to facilitate and verify contributions to AOSP.
If you want to build AOSP for your unlocked Xperia device, you find all the resources you need in the sections below.
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
Unified 3.10 kernel sources
https://github.com/sonyxperiadev/kernel
Project git
https://github.com/sonyxperiadev/
Now you have the opportunity to win Sony devices every 2 months
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/hero-open-source-developers/
Happy cooking
Good news for D2305 users here.
D2305 now working in unified kernel!
D2302 also fully booting, but probably needs additional changes to devicetree for dualsim support
a very good news, i cant be a developer but i will always follow blog or news for m2
M2 just got a new Touch Screen driver from 2015 M4 Aqua device
jerpelea said:
M2 just got a new Touch Screen driver from 2015 M4 Aqua device
Click to expand...
Click to collapse
Nice. What about campera? this is the only thing stopping me from using AOSP as daily driver.
lozohcum said:
Nice. What about campera? this is the only thing stopping me from using AOSP as daily driver.
Click to expand...
Click to collapse
it will come soon
br
J
jerpelea said:
it will come soon
br
J
Click to expand...
Click to collapse
I'm glad to hear that! I'll be first to test it
I always wanted to have AOSP since I got my first android device.
Sony has released AOSP binary of Android M!!
Sent from my D2303 using XDA Free mobile app
Will anyone try to build a ROM from binaries?Can it work for daily use?
Billys20 said:
Will anyone try to build a ROM from binaries?Can it work for daily use?
Click to expand...
Click to collapse
I am trying to build it for D2303, following the instructions from Sony but it fails with this error:
hardware/qcom/gps/loc_api/libloc_api_50001/loc.cpp:49:24: fatal error: pm-service.h: No such file or directory
#include <pm-service.h>
quake73 said:
I am trying to build it for D2303, following the instructions from Sony but it fails with this error:
hardware/qcom/gps/loc_api/libloc_api_50001/loc.cpp:49:24: fatal error: pm-service.h: No such file or directory
#include <pm-service.h>
Click to expand...
Click to collapse
It needs some patches to boot..i spoke with @erikcas and he mentioned some of them
Actually i used his sources and managed to boot MM but there was a problem with storage so i couldn't get screenshots
The only problem i came across,apart from storage,was NFC (it cant be turned on or off)
I tested only for a couple of hours,rebuilt kernel with that commit
Code:
https://github.com/sonyxperiadev/device-sony-yukon/commit/84a28f208734f269f563054a4662a7d7bdaf5664
But still storage was not working...
But the camera work on Android M?
Sent from my Xperia M2 using XDA Free mobile app
AssoDiPicche said:
But the camera work on Android M?
Sent from my Xperia M2 using XDA Free mobile app
Click to expand...
Click to collapse
not yet
Konstantinosj77 said:
It needs some patches to boot..i spoke with @erikcas and he mentioned some of them
Actually i used his sources and managed to boot MM but there was a problem with storage so i couldn't get screenshots
The only problem i came across,apart from storage,was NFC (it cant be turned on or off)
I tested only for a couple of hours,rebuilt kernel with that commit
Code:
https://github.com/sonyxperiadev/device-sony-yukon/commit/84a28f208734f269f563054a4662a7d7bdaf5664
But still storage was not working...
Click to expand...
Click to collapse
You were right....I finally got it to build but it is very, very far from usable...what i only did was, changed the Android.mk file in android/hardware/qcom/gps/loc_api/libloc_api_50001 to not #define MODEM_POWER_VOTE and surprisingly it built successfully
for the curious out there, android v6.0.60/D2303:
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!10456&authkey=!AIFbA3scoHYIC5A&ithint=file,zip
quake73 said:
You were right....I finally got it to build but it is very, very far from usable...what i only did was, changed the Android.mk file in android/hardware/qcom/gps/loc_api/libloc_api_50001 to not #define MODEM_POWER_VOTE and surprisingly it built successfully
for the curious out there, android v6.0.60/D2303:
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!10456&authkey=!AIFbA3scoHYIC5A&ithint=file,zip
Click to expand...
Click to collapse
Well, at least it boots
SIM is not recognized, and internal storage is not properly mounted I guess... It doesn't want to take screenshots, if not, I'd have taken some
Storage works thanks to @erikcas !!
Konstantinosj77 said:
Storage works thanks to @erikcas !!
Click to expand...
Click to collapse
donot forget to credit @davidteri91
quake73 said:
I am trying to build it for D2303, following the instructions from Sony but it fails with this error:
hardware/qcom/gps/loc_api/libloc_api_50001/loc.cpp:49:24: fatal error: pm-service.h: No such file or directory
#include <pm-service.h>
Click to expand...
Click to collapse
you need to patch gps to build it for msm8226
i will send soon a patch to aosp and add it to the build guide
br
Jerpelea
News about open camera
https://www.youtube.com/watch?v=E4amrzJ_fUY
Related
https://github.com/aquila-dev/mt6577_FULL_AOSP_SOURCE
Just.. enjoy
The device tree is on mediatek/config
The kernel is a 3.0.13 one
This is ICS 4.0.4 aosp
Use the makeMtk command to build an image
I didn't post it on "A110 Original Android Development" category because it's not an original source... it has been leaked from an other device "mytqu-832" codename baoxue.
I found it after many hours of searching in mediatek leaked documents on chinese website (i don't speak chinese [neither read]).. then i searched on github by taping the localpath of a mediatek specific config file.. and found that ! :3
And because all smartphones are now just SoC.. a lots of things (if not everything) found here should perfectly work on a110 and king.
[EDIT: March 2014]
Github restore my repo (so the first link works again) o/ I absolutly don't know why, but that's great !
If needed varunchitre15 forked it:
https://github.com/varunchitre15/mytqu-832
PREVIOUS EDIT:
The repo has been take down by a DMCA request..
And since the complete folder takes 8GB and my upload is at 60kB/s... this will take a long to reupload it.
I juste take the most interesting part (mediatek folder) which takes 800MB uncompressed, and it's already on mega:
https://mega.co.nz/#!BwZ1iT6B!JJp9Q2FCATKEaTWWWRI85RE-tJU_fp-S4XYXtHp5QVY
(use 7zip to extract it.. i think it should work)
The other parts (kernel/framework/prebuilt/external) will follow soon.. (3.2GB compressed to upload, will take something like 15hours to upload..)
PS: PLEASE !!!! if u're porting cyanogen and you already made significant work on the port.. (like a bootable build) Send me a message, i'm very busy, i can't work for it, but keep interrest for it. Please also don't send me private message like "how to compile the kernel.."
Well done, for finding this... will be helpful .. :thumbup:
Sent from my Cynus T2 using xda app-developers app
aquila-dev said:
https:// github.com /aquila-dev/mt6577_FULL_AOSP_SOURCE
Just.. enjoy
The device tree is on mediatek/config
The kernel is a 3.0.13 one
This is ICS 4.0.4 aosp
Use the makeMtk command to build an image
I didn't post it on "A110 Original Android Development" category because it's not an original source... it has been leaked from an other device "mytqu-832" codename baoxue.
I found it after many hours of searching in mediatek leaked documents on chinese website (i don't speak chinese [neither read]).. then i searched on github by taping the localpath of a mediatek specific config file.. and found that ! :3
And because all smartphones are now just a SoC.. a lots of things (if not everything) found here should perfectly work on a110 and king.
Click to expand...
Click to collapse
Well, is it the MTK's ALPS source??
I'm asking it bcoz only ALPS builds supports dual sims(i think).
Also baidu.com hosted several files on setting up the ALPS build environment......
You seem to be good in finding stuff
Will be useful in building CM9
See if you can find JB sources as well
Btw if you find kernel sources for MT6589, you can pm me
I am planning to buy the Micromax A116 but only if I get sources
aquila-dev said:
https:// github.com /aquila-dev/mt6577_FULL_AOSP_SOURCE
Just.. enjoy
The device tree is on mediatek/config
The kernel is a 3.0.13 one
This is ICS 4.0.4 aosp
Use the makeMtk command to build an image
I didn't post it on "A110 Original Android Development" category because it's not an original source... it has been leaked from an other device "mytqu-832" codename baoxue.
I found it after many hours of searching in mediatek leaked documents on chinese website (i don't speak chinese [neither read]).. then i searched on github by taping the localpath of a mediatek specific config file.. and found that ! :3
And because all smartphones are now just a SoC.. a lots of things (if not everything) found here should perfectly work on a110 and king.
Click to expand...
Click to collapse
GREAT !!!! :victory:
balamu96m said:
Well, is it the MTK's ALPS source??
I'm asking it bcoz only ALPS builds supports dual sims(i think).
Also baidu.com hosted several files on setting up the ALPS build environment......
Click to expand...
Click to collapse
Yes it supports the dual sim feature.
#
# MTK Build Info
#
MTK_BRANCH = ALPS.ICS2.MP
MTK_BUILD_VERNO = ALPS.ICS2.MP.V1.26
Click to expand...
Click to collapse
aquila-dev said:
Yes it supports the dual sim feature.
Click to expand...
Click to collapse
Awesome!
Bro can you start building cm9
aquila-dev said:
https://github.com/aquila-dev/mt6577_FULL_AOSP_SOURCE
Just.. enjoy
The device tree is on mediatek/config
The kernel is a 3.0.13 one
This is ICS 4.0.4 aosp
Use the makeMtk command to build an image
I didn't post it on "A110 Original Android Development" category because it's not an original source... it has been leaked from an other device "mytqu-832" codename baoxue.
I found it after many hours of searching in mediatek leaked documents on chinese website (i don't speak chinese [neither read]).. then i searched on github by taping the localpath of a mediatek specific config file.. and found that ! :3
And because all smartphones are now just SoC.. a lots of things (if not everything) found here should perfectly work on a110 and king.
Click to expand...
Click to collapse
With full source in hand, kindly start cm9 compiling process.....:silly:
btw, when i try to clone in windows they say source may be corrupted..any tip bro?:fingers-crossed:
nexi4droid said:
With full source in hand, kindly start cm9 compiling process.....:silly:
btw, when i try to clone in windows they say source may be corrupted..any tip bro?:fingers-crossed:
Click to expand...
Click to collapse
Why are you cloning it in windows bro?? We can't cross-compile Android in Windows environment....
Get a Linux distro and clone it there........
Anyway if you had completed cloning in windows, just copy the whole directory to your Linux......
can we expect cm 9 ???:silly:
Dj_cool said:
can we expect cm 9 ???:silly:
Click to expand...
Click to collapse
No it doesn't support dual sim
Sent from my HTC Explorer A310e using xda premium
DanceOff said:
No it doesn't support dual sim
Sent from my HTC Explorer A310e using xda premium
Click to expand...
Click to collapse
I am sure most of us are willing to sacrifice dual sim support if we are on cm or ubuntu!
Sent from my Micromax A110
Dj_cool said:
can we expect cm 9 ???:silly:
Click to expand...
Click to collapse
See here....very interesting
http://www.jetdroid.org/shanzhai/2012/11/21/mt6577-kernel-source-released/
https://github.com/wiko-sources/cink-king
Hmm...the source releases seem to be growing now
pradipsoman said:
See here....very interesting
http://www.jetdroid.org/shanzhai/2012/11/21/mt6577-kernel-source-released/
https://github.com/wiko-sources/cink-king
Hmm...the source releases seem to be growing now
Click to expand...
Click to collapse
this is ics kernel sources ryt .?
mmxa110user said:
this is ics kernel sources ryt .?
Click to expand...
Click to collapse
Yes... right
DanceOff said:
No it doesn't support dual sim
Sent from my HTC Explorer A310e using xda premium
Click to expand...
Click to collapse
Absolutly false.
Do you know what means override ?
How stupid am i ?
The device tree has been provided by wiko, i've cloned the source but i've didn't take a look to it..
https://github.com/aquila-dev/wiko_s9081_stock_kernel/tree/master/mediatek/config
aquila-dev said:
How stupid am i ?
The device tree has been provided by wiko, i've cloned the source but i've didn't take a look to it..
https://github.com/aquila-dev/wiko_s9081_stock_kernel/tree/master/mediatek/config
Click to expand...
Click to collapse
That means when they will release jb update they will provide jb aosp tree
Awesome
Btw any update abt jb release?
They just are waiting for google agreement..
@aquila-dev
we are also patiently waiting for the release of these kernel sources.
in order to fix some of the bugs with the cynus t2 rom on our phones, the a919.
specifically the accelerometer, gyroscope and the proximity sensors.
aquila, does the cynus t2 jb rom fully work on the cink king? without any sensor issues?
Complete Kernel Source Code is essential for building rom from scratch
what lenovo did it give us incomplete Code missing the important files and directories and hide the essential part
Lenovo should release kernel source in full, so we can look after our self
Kernel development doesn't take place unless we get the device's schematics and its corresponding defconfig.
Lenovo has hidden the caf tag inside the firmware. there is matching qcom caf kernel tag for the same chipset. But without the schematics of the device, we couldn't proceed in developing
until now the official source is incomplete
but some developers trying to fill the gaps from similar devices you can find these builds on github
here is the last source kernel from lenovo and github
Downloads:
kerenel source from github by Flour_Mo :
here
kerenel source from github by ramsudharsan updated 20/8/2015 :
Here
kerenel source from Lenovo updated 7/8/2015:
Here
XDA:DevDB Information
Towards a Complete Kernel Source Code For Lenovo A6000 / Plus, ROM for the Android General
Contributors
ED300
ROM OS Version: 5.1.1. Lollipop
Version Information
Status: Testing
Created 2015-08-24
Last Updated 2015-08-24
When u develop your own kernel?
sourav8434 said:
When u develop your own kernel?
Click to expand...
Click to collapse
when i have a complete source kernel
what are you making
For which rom you are working now and when u will release kernel for lenovo a6000
check this out please
check this link please if it is complete or not
xttp://lenovo-forums.ru/topic/11326-lenovo-a6000-%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9-%D0%BA%D0%BE%D0%B4-%D1%8F%D0%B4%D1%80%D0%B0/?hl=%2Ba6000+%2Bplus
change x to h
SIMBIOS said:
check this link please if it is complete or not
xttp://lenovo-forums.ru/topic/11326-lenovo-a6000-%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9-%D0%BA%D0%BE%D0%B4-%D1%8F%D0%B4%D1%80%D0%B0/?hl=%2Ba6000+%2Bplus
change x to h
Click to expand...
Click to collapse
this is the same incomplete lenovo source
sourav8434 said:
For which rom you are working now and when u will release kernel for lenovo a6000
Click to expand...
Click to collapse
don't worry good news coming in the way
what news
ED300 said:
don't worry good news coming in the way
Click to expand...
Click to collapse
Whats that news ed3000
bad news
ED300 said:
don't worry good news coming in the way
Click to expand...
Click to collapse
hey i just checked lenovo site now lollipop update is in september
whats the good news?
SIMBIOS said:
hey i just checked lenovo site now lollipop update is in september
whats the good news?
Click to expand...
Click to collapse
i can't confirm any thing now ,
but i think the coming days we will make progress to solve sim bug completely on CM12.1
missing things
Hi,
I find following things missing from stock kernel
1. whole kernel directory all together
2. Def-config (altough i managed to extract it from boot.img)
Do you what are other things that are missing?
I'm able to compile the kernel with some fixes from cm kernel, but now able to generate the dtb file. Any help will be appreciated.
Thanks
Chhapil
yay
ED300 said:
i can't confirm any thing now ,
but i think the coming days we will make progress to solve sim bug completely on CM12.1
Click to expand...
Click to collapse
good luck hope you fix it praying for u
Hello how can i fix my phone lenovo A6000 it always pop up please input puk code.. How can i remove it? Thanks
Penggot said:
Hello how can i fix my phone lenovo A6000 it always pop up please input puk code.. How can i remove it? Thanks
Click to expand...
Click to collapse
i think the problem on the sim try different sim and see what happen
chhapil said:
Hi,
I find following things missing from stock kernel
1. whole kernel directory all together
2. Def-config (altough i managed to extract it from boot.img)
Do you what are other things that are missing?
I'm able to compile the kernel with some fixes from cm kernel, but now able to generate the dtb file. Any help will be appreciated.
Thanks
Chhapil
Click to expand...
Click to collapse
good job chhapil
i gave links to kernel source from github it should be completed
you will find also at github the source for cynogenmod 12.1 if you want compile it
Here is the latest update from my side.
I'm able to create zimage from kernel, dtb from source. But the kernel fails to boot.
If I flash my kernel the phone restarts with blank screen and it mounts all the partitions when connected to pc.
I'm not very sure what's going wrong.
Sent from my GT-I9100 using XDA Free mobile app
chhapil said:
Here is the latest update from my side.
I'm able to create zimage from kernel, dtb from source. But the kernel fails to boot.
If I flash my kernel the phone restarts with blank screen and it mounts all the partitions when connected to pc.
I'm not very sure what's going wrong.
Sent from my GT-I9100 using XDA Free mobile app
Click to expand...
Click to collapse
try this link :
https://github.com/Silentlys/Cyanogenmod_device_lenovo_Kraft_T/tree/cm12.1
copy from kernel folder to kernel source and compile
you will find also zimage ready
kernel for lenovo a6000
chhapil said:
Here is the latest update from my side.
I'm able to create zimage from kernel, dtb from source. But the kernel fails to boot.
If I flash my kernel the phone restarts with blank screen and it mounts all the partitions when connected to pc.
I'm not very sure what's going wrong.
Sent from my GT-I9100 using XDA Free mobile app[/QUOTE.
Hey. Chhapil. When will you release kernel for lenovo a6000/plus?
Have u made if you made then post please
We will be thankful
Click to expand...
Click to collapse
There is no point releasing non working kernel.
Let's wait till ED300 posts a working build or Lenovo themselves.
Sent from my GT-I9100 using XDA Free mobile app
kernel boot issue
Hi,
Here is the issue i'm facing.
I created a new image from the KK stock kernel + the missing parts , repacked it the boot.img from the stock rom.
When i do
fastboot boot new-boot.img
the phone reboots and mounts the system partition and couple of other internal partitions with no display.
Do you know these symptoms?
Any Idea what could be going wrong here?
On the other note,
the LP source code compile good without any issues at all, but I'm using stock KK so there is NO room for to make tries with it.
So finally here it is, omnirom 5.1.1 for M2.
Changelog:
General:
sony kernel
omnirom
M2 specific:
device eagle
device yukon (msm8226 family)
Kernelsources for this rom you will find here
Installation:
In order to install one of my custom roms on your Sony Xperia, YOU MUST UNLOCK & UPDATE YOUR BOOTLOADER!
I wrote a little howto for installing, you will find it on this page of my website.
Known bugs:
camera
pink/green overlay on videoplayback
I labeled the rom as stable, even with the two bugs above. Imo these are value added services, phone is functioning rocksolid.
Known issues
There is an issue with a series of D230X / D240X devices with use different accelerometer and magnetometer then the device I have, and the FXP devs have. This issue is that the device bootloops. It is probably caused by the sensorhal which is provided by sony, i.e. we donot compile it from source.
There is a way to boot it, but you will have no sensors working (magno/accelero/proximity/light). This is relatively simple: Open up the zip (on win I advise 7zip), remove sensors.msm8226.so from system/vendor/lib/hw in the zip, and close the zip (click yes if prompted to save changes).
This issues kept me wake for weeks, but is yet not solved. You can read some more background info here
Awaiting all your feedback here. As I opted for D2303 to have official omni status, usefull input is important. But... Please donot report bugs without relevant logs and steps-to-reproduce. I will not look into that if I cannot reproduce it myself, if you report comes without a log
And at the end of this long story, we should not to forget to type a download link
>>>> DOWNLOAD HERE <<<<
Enjoy
Thanx are well in place for:
omnirom dev team
fxp dev team (especially to @kholk for simplifying things and @jerpelea for opening these opportunities for sony devices
@galaxyfreak
@Th3Ant (testing sensors over and over again)
my wife (there is allways enough coffee around here!)
And many I probably forgot but hey, this list is editable
XDA:DevDB Information
Omnirom 5.1.1 unofficial , ROM for the Sony Xperia M2
Contributors
erikcas
Source Code: https://github.com/erikcas?tab=repositories
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: OmniRom
Version Information
Status: Stable
Current Stable Version: pre official
Stable Release Date: 2015-08-30
Created 2015-08-31
Last Updated 2015-10-06
Download boot.img for D2305
preparing files for installation .
Thank you
the proximity sensor does not work for me.
vodafone call . 123
black screen and hang up is impossible
Installation according eric website
Updated bootloader .
back to the backup
Is a good rom!! Thank
Sent from my D2303 using XDA Free mobile app
In case you need to update your bootloader, you can simply use this FTF, it will allow you to write in the recovery partition (also compatible with models emma doesn't support, a.k.a. D2403)
Download here: https://mega.nz/#!ihojkCZD!kjZsxVWldI8QMGQhqmn8v_0xmPn02hu6N9ML8SY5Etk
BTW, very nice job erikcas, I'm going to test it right now
alba46d said:
preparing files for installation .
Thank you
the proximity sensor does not work for me.
vodafone call . 123
black screen and hang up is impossible
Installation according eric website
Updated bootloader .
back to the backup
Click to expand...
Click to collapse
Proximitymeter fine here. Can you post a logcat and a dmesg like requested in OP next time before you revert? I cannot solve what I cannot reproduce.
I just reported a proximitymeter problem for Z1C to jerpelea this morning with this problem.
But on my M2 all is fine
alba46d said:
preparing files for installation .
Thank you
the proximity sensor does not work for me.
vodafone call . 123
black screen and hang up is impossible
Installation according eric website
Updated bootloader .
back to the backup
Click to expand...
Click to collapse
Working like a charm on mine. I'll ping you on whatsapp. Wait.
erikcas said:
Proximitymeter fine here. Can you post a logcat and a dmesg like requested in OP next time before you revert? I cannot solve what I cannot reproduce.
I just reported a proximitymeter problem for Z1C to jerpelea this morning with this problem.
But on my M2 all is fine
Click to expand...
Click to collapse
I return later to install and you step logcat
Thank you!
erikcas said:
Proximitymeter fine here. Can you post a logcat and a dmesg like requested in OP next time before you revert? I cannot solve what I cannot reproduce.
I just reported a proximitymeter problem for Z1C to jerpelea this morning with this problem.
But on my M2 all is fine
Click to expand...
Click to collapse
Can I test this on D2302?
Gaurav007 said:
Can I test this on D2302?
Click to expand...
Click to collapse
I only tested on D2303 and D2403. I donot have a D2302, so I am not able to test nor debug on it
cant turn on after flashing boot.img in the zip,why?
You updated bootloader?
Verstuurd vanaf mijn Xperia Z1 Compact met Tapatalk
I use ftf from linuxct to update the bootloader, flash it using flashtool, my phone is d2305, is this rom support my model? Also I already deleted sensor file
AUDI97 said:
I use ftf from linuxct to update the bootloader, flash it using flashtool, my phone is d2305, is this rom support my model? Also I already deleted sensor file
Click to expand...
Click to collapse
See first post. I only test 2303 and 2403
Verstuurd vanaf mijn Xperia Z1 Compact met Tapatalk
Good job erickas! will test in my D2403...
I found out that you can't change screen brightness... the slider does nothing
But overall it is very good rom
Th3 Ant said:
I found out that you can't change screen brightness... the slider does nothing
But overall it is very good rom
Click to expand...
Click to collapse
No problems with that here.
Is your autobrightness working?
erikcas said:
No problems with that here.
Is your autobrightness working?
Click to expand...
Click to collapse
Not without sensors lib [emoji14]
Th3 Ant said:
Not without sensors lib [emoji14]
Click to expand...
Click to collapse
there.... I knew it
Just sent you boot.img
Anyway, I think I made a typo in a configfile. So I will recompile again later.
On autobrightness it is working flawless, on non-autobrightness min and max are 180 and 255 atm
I think I need to lower 180 to some 10 (stock value)
Just tested on "old" D2403
No problems with proximity
Great job erikcas!
Hi guys,
as @jerpelea recently posted it is possible for us to get the camera working.
(
all needed parts are open source and comunity can try to enable camera
br
J
)
As much as I know we have to enable it in the kernel source. I've already took a look into the one on official Sony Github(because their code is updated more often then Free Xperia ones) and found already a few interesting things that I'll Post the next days.
Maybe if a few of us work together we'll get it to work on our device
Sent from my Xperia E3 using XDA Free mobile app
Ok, most of the interesting stuff is in drivers/media/platform/msm/camera_v2/sensor (remember to select the correct branch). As much as I know our camera sensor is a s5k5e2 which many devices use as front camera.
Sent from my Xperia E3 using XDA Free mobile app
berni987654321 said:
Ok, most of the interesting stuff is in drivers/media/platform/msm/camera_v2/sensor (remember to select the correct branch). As much as I know our camera sensor is a s5k5e2 which many devices use as front camera.
Sent from my Xperia E3 using XDA Free mobile app
Click to expand...
Click to collapse
on fxpblog theres new version of 5.1 151203 soo it came out 28 days before have you tried flashing it? @edit:
and yes theres clearly a file for our xperia e3 s5k5e2.c and reference added to Kconfig and Makefile soo if someone build marshmallow or lollipop on that new files with addition of making sure he checked enabling that driver there should be everything good
-flashed it- nah... it has that deep sleep bug and no camera working but i think if someone manages to build rom now and consider enabling camera in kernel it should work (if we're not missing anything.)
Which kernel branch does sony use for various releases?
How about progress? Is the camera working on AOSP now?
Magnum44pl said:
How about progress? Is the camera working on AOSP now?
Click to expand...
Click to collapse
No. The problem is, noone except sony devs know how to implement the camera.
But things are moving: our overloard Jerpelea is working furiously on Lollipop and Marshmallow for all open devices, hopefully our E3 as well. Unfortunately no camera commits yet. Check out activity here: https://github.com/jerpelea?tab=activity
I totally support this, but since I have no experience with kernels I can be only tester.
Here is what jerpelea wrote, over at the sony open devices forum:
devjerpelea said:
Hi,
Camera has been released in the last Android 6.0 zip package
Regards
Alin
Click to expand...
Click to collapse
https://talk.sonymobile.com/t5/General-Discussion/Camera/m-p/1099324#M279
They are getting closer, but not quite there yet:
https://github.com/sonyxperiadev/kernel/commit/73f6de21d154a14d3733a3625c14aa20f0cf2c6b
If they forget about E3, because they don't have the hardware, I will start to cry :'(
Any update?
Nope still nothing regarding the camera implementation. They're still working on flamingo in general, but nothing related to the camera yet. I guess we'll have to keep coping with Sony's firmware. Let's just wait and see.
Hello, someone has tested the build 16 / 04 / 11?
Is know if some day will operate the camera?
pls get camera working ((
pls get camera working ((
On Xperia M2 now it works. I think the problem is in new bootloader. Could we port Marshmallow kernel to make it boot with old bootloader?
---------- Post added at 07:26 PM ---------- Previous post was at 07:23 PM ----------
Xperia M, which is not an open device, has alpha Android N working with camera.
As far as I know, problem is in kernel. You must enable camera there to make it works, but no one is willing to do it and I have no expirience in that part.
?
kiodo1981 said:
��
Click to expand...
Click to collapse
What you dont understand? And can you help us?
Edit:
Come on. We had same phones . I had Huawei G510 too and now Xperia E3
LotR656 said:
As far as I know, problem is in kernel. You must enable camera there to make it works, but no one is willing to do it and I have no expirience in that part.
Click to expand...
Click to collapse
Ok, it was only a theory becouse the camera only works on cm11 and stock, which use old bootloader.
In Jerpelea unified kernel our cameras' code is written.
But a dependency from driver is not enabled in flamingo's config, can it be the problem? I am trying to change that and recompile kernel to see if finally it works :laugh:.
But a dependency from driver is not enabled in flamingo's config, can it be the problem?
Click to expand...
Click to collapse
You can always ask some senior devs for other phones. I am sure they will help you.
Nice. I wasn't looking in code, but keep us updated. Even if we must to restart phone every time to use camera. Thanks man.
PAC ROM for D2303
https://onedrive.live.com/redir?res...19&authkey=!AIAixlfmiDf-uR8&ithint=folder,zip
(unfortunately, I have no idea what happened with my Ubuntu, the build process doesn't create a .zip file, you'll have to flash it with fastboot boot/userdata/system)
of all the main things: wifi, mobile data, gps, voice calls working...camera not
installed on d2303 things that do not work.
Camera
proximity sensor
.During the call screen does Not turn off
handsfree speaker
* The data connection works 3G and 4G
themes CM WORKING FINE
everything else PERFECT
great job
Try putting this and the other roms in the right xda section shouldn't they be in the original Android development forum with cm+omni ect just a thought like few screenshots wouldn't go amiss either
D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
[email protected] said:
Try putting this and the other roms in the right xda section shouldn't they be in the original Android development forum with cm+omni ect just a thought like few screenshots wouldn't go amiss either
D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
Click to expand...
Click to collapse
well, yeah, i honestly didnt know where to put them, because i didnt actually 'develop' them...the build process has errors that need to be fixed but i didnt think it is 'development' so i post them here
quake73 said:
well, yeah, i honestly didnt know where to put them, because i didnt actually 'develop' them...the build process has errors that need to be fixed but i didnt think it is 'development' so i post them here
Click to expand...
Click to collapse
So many roms..i bet your workspace is a mess right now
Local manifest you used for that rom? And can you post the errors? (use the "code" tag or paste them in pastebin and put link here)
Konstantinosj77 said:
So many roms..i bet your workspace is a mess right now
Local manifest you used for that rom? And can you post the errors? (use the "code" tag or paste them in pastebin and put link here)
Click to expand...
Click to collapse
xexe
about the errors that I had, I am more than glad to share them (I have a simple text file and write reminders there, to remember them and not "reinvent the wheel" every time)
For this one, PACROM, I think the only error was 'unsupported relloc 43', the cure is:
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld
(for a long time, i thought the cure was WITHOUT_HOST_CLANG=true)
the manifest is a mess but here it is...i also have created a file in vendor/pac/products and added cm.mk in device/sony/eagle...built it with "build-pac.sh eagle"
quake73 said:
xexe
about the errors that I had, I am more than glad to share them (I have a simple text file and write reminders there, to remember them and not "reinvent the wheel" every time)
For this one, PACROM, I think the only error was 'unsupported relloc 43', the cure is:
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld
(for a long time, i thought the cure was WITHOUT_HOST_CLANG=true)
the manifest is a mess but here it is...i also have created a file in vendor/pac/products and added cm.mk in device/sony/eagle...built it with "build-pac.sh eagle"
Click to expand...
Click to collapse
oh good old "unsupported relloc" i use arch linux and got it in every build.
It's fixed on AOSP master branch https://android-review.googlesource.com/#/c/223100/
CM13 uses this patch too
Konstantinosj77 said:
oh good old "unsupported relloc" i use arch linux and got it in every build.
It's fixed on AOSP master branch https://android-review.googlesource.com/#/c/223100/
CM13 uses this patch too
Click to expand...
Click to collapse
(mine is virtual Ubuntu 16)
i must admit, the 6.0 roms are building 'more flawlessly' than the 5.1 variants....and it seems that 5.1s are not getting any more fixes.
i dont know if you are trying to build any but...i tried building cm12.1 for 2 weeks, with every possible combination of device tree and vendor (SonyAOSP/SonyCM/xperiadev/CM, sony vendor files/Benevolent) and there is no mobile data connection, any ideas?
quake73 said:
(mine is virtual Ubuntu 16)
i must admit, the 6.0 roms are building 'more flawlessly' than the 5.1 variants....and it seems that 5.1s are not getting any more fixes.
i dont know if you are trying to build any but...i tried building cm12.1 for 2 weeks, with every possible combination of device tree and vendor (SonyAOSP/SonyCM/xperiadev/CM, sony vendor files/Benevolent) and there is no mobile data connection, any ideas?
Click to expand...
Click to collapse
Not a single idea...did you checked logcat or something?
Konstantinosj77 said:
Not a single idea...did you checked logcat or something?
Click to expand...
Click to collapse
nope but while building roms, I slowly dig deeper and deeper into the source code files, checking logs is what i fear will be next .
I already got too much addicted to this, my pc is building roms almost 24/7
quake73 said:
nope but while building roms, I slowly dig deeper and deeper into the source code files, checking logs is what i fear will be next .
I already got too much addicted to this, my pc is building roms almost 24/7
Click to expand...
Click to collapse
haha i suggest you to install ubuntu natively using dualboot
It's a lot faster
Konstantinosj77 said:
haha i suggest you to install ubuntu natively using dualboot
It's a lot faster
Click to expand...
Click to collapse
hehe, i had that crazy idea, too but....i'm a windows guy, the current setup is quite good...16gb ram (8 for ubuntu),
4 HDs, home/cache/out/swap distributed on different HDs, what more can I ask? It's an old pc, AMD x64 x4, 7-8 years but it serves me well...My heart doesnt let me replace it
What is jumpin in rom
quake73 said:
nope but while building roms, I slowly dig deeper and deeper into the source code files, checking logs is what i fear will be next .
I already got too much addicted to this, my pc is building roms almost 24/7
Click to expand...
Click to collapse
Quake that is not taking in Rom?
i think the thing make this rom has no camera working is boot.img 3.10.x because every rom using this kernel has no camera working and please show me how to make 3.4.x kernel is working inside this rom
vinz156 said:
i think the thing make this rom has no camera working is boot.img 3.10.x because every rom using this kernel has no camera working and please show me how to make 3.4.x kernel is working inside this rom
Click to expand...
Click to collapse
thats a good idea. I'll try to build again with one of the older kernels from sonyxperiadev.
quake73 said:
thats a good idea. I'll try to build again with one of the older kernels from sonyxperiadev.
Click to expand...
Click to collapse
It's not gonna work...
Only stock kernel and stock camera blobs can make camera work....
Konstantinosj77 said:
It's not gonna work...
Only stock kernel and stock camera blobs can make camera work....
Click to expand...
Click to collapse
How about cm12.1 what's make camera inside that rom is fully working
Sent from my Xperia M2 (AOSP) using XDA-Developers mobile app
vinz156 said:
How about cm12.1 what's make camera inside that rom is fully working
Sent from my Xperia M2 (AOSP) using XDA-Developers mobile app
Click to expand...
Click to collapse
Stock kernel and stock modules....
These are used for omni 5.1.1 with working camera
Code:
https://github.com/erikcas/android_kernel_sony_msm/tree/5.1-3.4
https://github.com/erikcas/vendor-sony/tree/r13-cam
https://github.com/erikcas/vendor-qcom/tree/r13-cam
Sometimes you have to make changes to the framework files of the ROM and to the device tree