[DEV DISCUSSION] Let's get camera working on AOSP - Sony Xperia E3

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.

Related

BOOTING ! XPERIA Z5 Lollipop 5.1.1 Rom - Porting need help

EDIT : PROJECT DELAYED
Trying to port a custom Xperia Z1 Rom to Nexus 5.
This custom Rom has all features from Xperia Z5.
Here is base rom : http://forum.xda-developers.com/xperia-z1/development/rom-z5mx-rom7-5-0extended-battery-t3224245
Edit : Advanced, see logcat
Edit 2 : fixed mediadrm fatal crash. Now, i need to fix SDCARD
Edit 3 : seems i need to fix sound
Edit 4 : Booting, as logcat says. The problem is : Google Logo stays displayed. Bootanimation doesnt displays and so, it seems it prevents phone from displaying Setup Wizard, and Android UI. Maybe the problem is "libsecureui.so" dlopen failed. I still didnt found the solution and any help would be greatly apreciated.
Heres logcat
Thanks for any help
Getting advanced a little. Now, getting an issue with sdcard. See OP
You should try removing all links to sdcard and just make it internal only, Nexus 5 don't have externalsd
Also, you'll better off porting z5 stuff to a cm12.1 base, its easier.
The official sony roms have a lot of proprietary kernel stuff that can't be ported, stamina mode is one
besides, camera wouldn't work
Do try first tho
TakuyaZ said:
You should try removing all links to sdcard and just make it internal only, Nexus 5 don't have externalsd
Also, you'll better off porting z5 stuff to a cm12.1 base, its easier.
The official sony roms have a lot of proprietary kernel stuff that can't be ported, stamina mode is one
besides, camera wouldn't work
Do try first tho
Click to expand...
Click to collapse
I see, man, thanks !
I did "ro.build.characteristics=nosdcard" into build.prop. tried some other stuff and got as far as here : http://pastebin.com/bmHJQ0ke
I tried Cm12.1 and got so much other issues and inarborded cm12.1 to use UntouchedAOSP as base now.
Maybe I need to port Xperia kernel too, as Xperia z1 has kinda same hardware as Nexus 5, and that's the reason I used a custom Xperia z1 ROM
dekefake said:
I see, man, thanks !
I did "ro.build.characteristics=nosdcard" into build.prop. tried some other stuff and got as far as here : http://pastebin.com/bmHJQ0ke
I tried Cm12.1 and got so much other issues and inarborded cm12.1 to use UntouchedAOSP as base now.
Maybe I need to port Xperia kernel too, as Xperia z1 has kinda same hardware as Nexus 5, and that's the reason I used a custom Xperia z1 ROM
Click to expand...
Click to collapse
I mean making a entirely new rom using cm12.1 as a base and just port sony's launcher, systemui, lockscreen. etc
Reading the logcat, it said unknown permission for nearly all jars/apks. did you break the signature or something?
Sorry i cannot help much, its been years since i last ported a entirely new rom to a different device
TakuyaZ said:
I mean making a entirely new rom using cm12.1 as a base and just port sony's launcher, systemui, lockscreen. etc
Reading the logcat, it said unknown permission for nearly all jars/apks. did you break the signature or something?
Sorry i cannot help much, its been years since i last ported a entirely new rom to a different device
Click to expand...
Click to collapse
I see. I don't know at all why theses permissions are fcked up. No problem man. Lollipop seems way more tricky to port. Maybe because Apk/jar are odexed
Can i use this on my Nexus 5
Can i use this rom on my Nexus 5 ?
vk4111 said:
Can i use this rom on my Nexus 5 ?
Click to expand...
Click to collapse
Man are u kidding me ? Its a thread about getting a port booting. It doesnt even work, so, obviously, you cant get it working on your Nexus 5.
Got mediadrm fixed. Need to fix sdcard, for sure. See logcat.
dekefake said:
Got mediadrm fixed. Need to fix sdcard, for sure. See logcat.
Click to expand...
Click to collapse
I see a lot of the custom rom's theme's errors.
have you tried to port the bone stock Xperia rom before this?
TakuyaZ said:
I see a lot of the custom rom's theme's errors.
have you tried to port the bone stock Xperia rom before this?
Click to expand...
Click to collapse
Yeah, tried, a while ago, but sticked to google logo too but didn't remember how far I gone with the logcat
Restarted the project. Here's logcat : http://pastebin.com/ACkZRAzd
Got progress. Please see OP
ROM not installing
The base Rom does not install on my nexus 5. TWRP and CWM show error. Does it have to do something with logcat?

[WIP][DEV][PORT] LG Framework for LG G2 AOSP/CM/CAF

[size=+4]LG F[/size][size=+3]RAMEWORK[/size]​
[size=+3]~~ A[/size][size=+2]NNOUNCEMENTS[/size][size=+3] ~~[/size]
Dec 4 2016
Deleted github repo (it's not helping)
Oct 23 2016
4K + HFR Mod by @defcomg (manual install only, flashable zip later)
Oct 9 2016
Project is now online, partially (GitHub) details below
Sep 10 2016
Experimental LG Camera port uploaded
Aug 15 2016
Opened our GDrive folder to public and overhauled OP
[size=+3]~~ A[/size][size=+2]BOUT THE PROJECT[/size][size=+3] ~~[/size]
LG Framework is the backbone of every bloat feature LG added and this project aims to re-inject those important things to be able to run again OEM-implemented features like QuickCover, QuickMemo, QuickSlide Apps, etc. (LG Camera included in the list)
AOSP delivers the performance that we sought, but with those improvements come sacrifices. Other features shipped by LG aren't included in those lovely projects. So here we are, the X7 Team, and our kind and brave testers, to bring forth LG's bloat work to the world of Open-Source Softwares (not to open-source or reverse engineer it)
[size=+3]~~ M[/size][size=+2]ISCELLANEOUS[/size][size=+3] ~~[/size]
| LG Framework and Related Works |
G2 Camera Chromatix Mod (second page)
| G2 Camera by @B!GBOY |​
[size=+1]What's Happening?[/size]
Currently testing the framework resource which is injected manually
The code part of LG Framework is now working to CM-based ROMs
(Low Priority) Bypass signature checks using selective exclusion to avoid security holes
Click to expand...
Click to collapse
[size=+2]Links[/size]​
[size=+2]4K Mod + 60/120 HFR[/size]​
Here's the zipped framework from CloudyG2: https://www.dropbox.com/s/ta3l3iwhdylkcwy/CloudyG2.zip?dl=0 Enjoy!
Startrek852 said:
Here's the zipped framework from CloudyG2: https://www.dropbox.com/s/ta3l3iwhdylkcwy/CloudyG2.zip?dl=0 Enjoy!
Click to expand...
Click to collapse
Thanks! But your account is overloaded by traffic :3
Well it's okay it doesn't matter as I already found the hard drive containing my CloudyG2 Backup recently and the backup was like years ago XD
Updating OP...
Well, if you want more up to date framework, here's the link: https://www.androidfilehost.com/?fid=24499762636001056
Just a little update here...
LG's framework seems to be properly named... their code's easy to track... LGCamera are disassembled... LGMemo are disassembled, LGMemo too... Maybe if I could just find "where" the hidden framework are ahahahhaha
So I will start porting the framework for running the most important!
STOCK LGCamera... (lemme re-emphasize ) "Stock" not ported LGCamera with all functions working
I already seen its possible since all codes are exposed... and native libraries are easy to modify too
Guys... we're seeing so much light here ahahahah
EDIT: BANG!!! Gotcha!!!
Code:
android.media.action.IMAGE_CAPTURE_OEM_MODE
xxoscarxx28 said:
Just a little update here...
LG's framework seems to be properly named... their code's easy to track... LGCamera are disassembled... LGMemo are disassembled, LGMemo too... Maybe if I could just find "where" the hidden framework are ahahahhaha
So I will start porting the framework for running the most important!
STOCK LGCamera... (lemme re-emphasize ) "Stock" not ported LGCamera with all functions working
I already seen its possible since all codes are exposed... and native libraries are easy to modify too
Guys... we're seeing so much light here ahahahah
EDIT: BANG!!! Gotcha!!!
Code:
android.media.action.IMAGE_CAPTURE_OEM_MODE
Click to expand...
Click to collapse
i really hope so thats what keeping me from going aosp. :good:
That's what's keeping all of us from going to AOSP, but as far as I know, this is not possible.
It's just not all open source.
Sent from my LG-D802 using Tapatalk
xxoscarxx28 said:
Just a little update here...
Click to expand...
Click to collapse
All our hopes are with you lol :fingers-crossed: keep us updated
If you are trying to port the camera and all the framework, you migh aswell have a look into the "advanced binaries 2.0.0" which XCAM uses that are ported from G Pro 2 LP 5.x.x. They seem to give overall better quality and you can get them as a .zip from the OT.
Keep us updated ^^
rdNNNN said:
If you are trying to port the camera and all the framework, you migh aswell have a look into the "advanced binaries 2.0.0" which XCAM uses that are ported from G Pro 2 LP 5.x.x. They seem to give overall better quality and you can get them as a .zip from the OT.
Keep us updated ^^
Click to expand...
Click to collapse
Dude, he's using a backup from CloudyG2 which already has an advanced camera driver.
Just a little clarification here... Even though a software is closed source, that doesn't mean you can't port it...
It is also open source... but in a hideous way Nothing can stop someone dedicated
And also that's why there are such a thing called "disassembly" and cross-referencing binaries ("diff" in short?)
Remember... someone already did port stock (Oxygen OS) camera binaries to CM for Oneplus One
I just realized that the framework used between Kitkat and Lollipop are so different... Ghash XD
But the function is pretty same, just refactored, and some are stripped out... Focusing now on just CloudyG2 3.3's framework...
Btw... does anyone here knows how to know the name of a library? XD
There is a library that LG Camera API uses which is named "hook_jni" in java interface but what *.so might it be looking? Who is "hook_jni"? Does anyone know?
Doing the lords work, sir!
For those who wants to be on the bleeding edge, you can have one now
But I can't ensure anything with this hyper alpha, stability, function, and safety... All of it is not assured... I haven't tried it also XD
Pm me if you want to try it
Wow u are amazing. Pls tell us if u try it
xxoscarxx28 said:
For those who wants to be on the bleeding edge, you can have one now
But I can't ensure anything with this hyper alpha, stability, function, and safety... All of it is not assured... I haven't tried it also XD
Pm me if you want to try it
Click to expand...
Click to collapse
Lollipop/Marshmallow/Doesn't matter?
YoDevil said:
Lollipop/Marshmallow/Doesn't matter?
Click to expand...
Click to collapse
As of now... only for CM13 as it is already a good base to start with and it is already CAF which means their software is already surpassing the qualities of an OEM one, but as always... OEMs have something we don't have :3
lollipo said:
Wow u are amazing. Pls tell us if u try it
Click to expand...
Click to collapse
Nope, I won't try it XD as I am pretty sure that it will cause havoc to CMSDK and to our precious SystemUI. I'll try it in a later stage
Those that already downloaded the alpha... I already tested it and it won't flash XD
And yeah I will let it now on the wilds (people demanded it so here it is now)... Its still the same software I just fixed updater error 6 (it was a syntax error, my bad)
[size=+2]Flash at your own risk, Haven't tested it yet, and is for CM13 only, MAKE NANDROID BACKUPS FIRST[/size]
LG Framework Fixed v0.01
EDIT: News here again, I tested it and then did another pass to the codes and my predictions are correct... I missed the permissions for executing the API inside so its like its worthless... but because LG seems to be exposing things too much, it seems that permissions are laid somewhere in /system/etc/permissions... @Startrek852 ???
Another news... It booted just fine testing for bugs but i think it booted fine because the whole framework is not allowed to execute ahahahha, will release again once this mess is fixed

[rom][d2303] pac-rom

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

[ROM][D2303] Resurrection Remix

RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
install it as usual, in TWRP...wipe system/data/cache...install .zip
(NFC drains the battery and doesn't work, uninstall it with some of the root uninstallers)
??
andres_vlc said:
??
Click to expand...
Click to collapse
ummm sorry for no more description
ResurrectionRemix ROM for D2303, camera doesnt work
quake73 said:
RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
Click to expand...
Click to collapse
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )
You can edit the post and explain the bugs and known issues
how to install? etc etc
Konstantinosj77 said:
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )
Click to expand...
Click to collapse
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with
quake73 said:
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with
Click to expand...
Click to collapse
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
)))....I havent reached that stage yet
and, if you ask me...the latest Sony software is the best rom for our phones.
nice work bro..but on your file just boot.img,system.img and userdata.img how to success instaal via trwp bro?
Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?
Omg RR rom [emoji38] but look you cant make camera work,i will wait until it work )
Sent from my D2305 using XDA-Developers mobile app
Nfc not work. Led not work
andres_vlc said:
Nfc not work. Led not work
Click to expand...
Click to collapse
true, corrected my first post, notified about nfc
Quake73 look Pm pls
quake73 said:
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?
Click to expand...
Click to collapse
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while
Konstantinosj77 said:
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while
Click to expand...
Click to collapse
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?
quake73 said:
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Click to expand...
Click to collapse
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
quake73 said:
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?
Click to expand...
Click to collapse
Yes but it's not that simple,you have to use CAF frameworks too
Konstantinosj77 said:
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
Click to expand...
Click to collapse
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?
quake73 said:
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?
Click to expand...
Click to collapse
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?
Konstantinosj77 said:
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?
Click to expand...
Click to collapse
NOOOO, NO WAY, OF COURSE NOT, THEY ARE MINE, THEY ARE PROPRIETARY!!!!
(ok ok here it is)
i experiment a lot but this is the manifest i used during building the posted RR5 rom. I'm not even sure if I need those qcom/common, media, display etc. Roms seem to build fine without them. SonyCM has some Init, I have no idea if it helps, as you can see, i'm just building blindly but it works
as you could see with pacrom, it is messy....the second half is remove-project, to help sync less (also use "repo sync ..... --depth=1", it helps a lot to keep the source at minimum)
And what do you think, is there a chance for the camera working in a MM rom since there isnt even a sony stock MM rom for M2? Or should we consider changing the phone?

[ROM][8.0][UNOFFICIAL] [lux]Lineage OS 15

Hi my dear friends ,
Long awaiting oreo rom for our aged MOTO X PLAY
All credits goes to developer.
Who made this ?
he is our new Moto X play god .here is the link for all his hidden work.
https://androidfilehost.com/?w=files&flid=202478
What's new ?
As that of same Android factory Oreo aosp changes in this rom.
Bluetooth,speakers,charging,call,wifi , hotspot.prerooted.all sensors are working without a glitch.
Substratum theme engine not tested.
Are working.
VOLTE connecting but no voice ,camera absolutely not working, sluggish most of the times.
I think it's not your daily driver.
Test it!
Is it really working after installation?
No bootloop,
Started successfully,
About VOLTE for jio customers?
Yes working but no sound.
Does GAPPS compatible?
Yes,just flash after flashing of LOS 15
Is that anything goes wrong after this ROM?
Never and ever.do it safely.
Myself tested work like charm.
Note
Please do a backup of your current rom.
Installation completely depends upon u .I am not a developer or team member ,i am just informer and an enthusiastic in tasting new Roms.
Where is the link??
https://androidfilehost.com/?fid=673368273298988478
I need more info about this rom?
I do have some info.please go with open community with G+
Still want more taste and develop further?
Wait for my update news oreo taste.
Thanks and regards
Dr narendra reddy
Installed it with gapps 8.0
---------- Post added at 12:06 PM ---------- Previous post was at 12:05 PM ----------
There is no camera app ? so camera is not working.
Rithik jain.com said:
Installed it with gapps 8.0
---------- Post added at 12:06 PM ---------- Previous post was at 12:05 PM ----------
There is no camera app so camera is not working.
Click to expand...
Click to collapse
Is 3rd party camera apps are working?
sahil00150 said:
Is 3rd party camera apps are working?
Click to expand...
Click to collapse
No.
Why is this thread here? OP did not test the ROM. Did not build it. Did not link the development scene (its on G+, you can find it, just Google). XDA is more of a community of developers intended to host discussions about software development than a repository of android development around the world. Such threads would still make sense in the General forum, there's one already for LOS 15, the ROM shared here is already linked over there.
I noticed similar posts by OP earlier too. While sharing is fair, let's not make it misleading.
wohh !!! He just gave a new life of a century old news ?? This build has been tested by many users like me and waiting for a stable version. Don't repost like this buddy, Have patience and wait for the devs to post. ☺
That ROM is incompatible with Dolby Atmos and Dolby Digital plus, It's sad to know that because I still can't update to Lineage OS 15
drnaren1 said:
Hi my dear friends ,
Long awaiting oreo rom for our aged MOTO X PLAY
All credits goes to developer.
Who made this ?
he is our new Moto X play god .here is the link for all his hidden work.
https://androidfilehost.com/?w=files&flid=202478
What's new ?
As that of same Android factory Oreo aosp changes in this rom.
Bluetooth,speakers,charging,call,wifi , hotspot.prerooted.all sensors are working without a glitch.
Substratum theme engine not tested.
Are working.
VOLTE connecting but no voice ,camera absolutely not working, sluggish most of the times.
I think it's not your daily driver.
Test it!
Is it really working after installation?
No bootloop,
Started successfully,
About VOLTE for jio customers?
Yes working but no sound.
Does GAPPS compatible?
Yes,just flash after flashing of LOS 15
Is that anything goes wrong after this ROM?
Never and ever.do it safely.
Myself tested work like charm.
Note
Please do a backup of your current rom.
Installation completely depends upon u .I am not a developer or team member ,i am just informer and an enthusiastic in tasting new Roms.
Where is the link??
https://androidfilehost.com/?fid=673368273298988478
I need more info about this rom?
I do have some info.please go with open community with G+
Still want more taste and develop further?
Wait for my update news oreo taste.
Thanks and regards
Dr narendra reddy
Click to expand...
Click to collapse
Mods....please delete
Friend please delete my post..
Things that works in this ROm
1 RIL
2 Bluetooth
2 WIFI
4 Substratum Themes
5 Video Playback Using MX Player Pro & HW+ Codec
Not Working
1 VoLTE ( Voice Call)
2 Camera
3 Keyboard glitch is there
4 MusicFX missing??
Screenshot Given Below
Hope camera should worked at an early
Sent from my XT1562
New update came today as lineage-15.0-lux-UNOFFICIAL-20171029.zip.
https://androidfilehost.com/?fid=817906626617942577
[email protected] said:
New update came today as lineage-15.0-lux-UNOFFICIAL-20171029.zip.
https://androidfilehost.com/?fid=817906626617942577
Click to expand...
Click to collapse
Is it camera working?
Sent from my XT1562
vijaymk said:
Is it camera working?
Sent from my XT1562
Click to expand...
Click to collapse
Partially working.
https://www.youtube.com/watch?v=YI6WFur_Brk&t=189s
vijaymk said:
Is it camera working?
Sent from my XT1562
Click to expand...
Click to collapse
Use Footage camera until it's get fixed.. currently there is a bugs in pre - installed camera
Try using this https://forum.xda-developers.com/moto-x-style/themes-apps/moto-camera-6-0-43-10-modded-apk-t3459690 for camera.
No camera patches working, torch not working,bk to stock N
Sent from my XT1562
vijaymk said:
No camera patches working, torch not working,bk to stock N
Sent from my XT1562
Click to expand...
Click to collapse
Use Footage Camera. It's working normally.
Reviews please
Sent from my XT1562
With the last update I can connect my phone to a Bluetooth device but I have no sound on it.
Verified with my headphone Bluetooth connection and in my car too.

Categories

Resources